Skip to content

Commit 76fffe3

Browse files
committed
Moved UI components from MADE.NET to MADE Uno
1 parent 9635182 commit 76fffe3

File tree

166 files changed

+9422
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+9422
-2
lines changed

.editorconfig

Lines changed: 464 additions & 0 deletions
Large diffs are not rendered by default.

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# These owners will be the default owners for everything in the repo.
2+
* @MADE-Apps/core-team

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: [jamesmcroft]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: ['buymeacoffee.com/jamesmcroft']

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Bug
2+
description: Log a bug to help us improve
3+
title: "[Bug] "
4+
labels: [bug]
5+
body:
6+
- type: textarea
7+
validations:
8+
required: true
9+
attributes:
10+
label: Describe the bug
11+
description: Please describe below the details of the issue and steps taken to reproduce.
12+
- type: textarea
13+
attributes:
14+
label: What is the expected behavior?
15+
description: Please describe below what you expected to happen.
16+
- type: dropdown
17+
attributes:
18+
label: Package
19+
options:
20+
- "UI"
21+
- "UI.Controls.DropDownList"
22+
- "UI.Controls.FilePicker"
23+
- "UI.Controls.Validator"
24+
- "UI.Styling"
25+
- "UI.ViewManagement"
26+
- "UI.Views.Dialogs"
27+
- "UI.Views.Navigation"
28+
- "UI.Views.Navigation.Mvvm"
29+
- type: textarea
30+
attributes:
31+
label: Other information
32+
description: Please provide any additional information, links, screenshots, or projects with reproduced issues below if applicable

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Feature
2+
description: Suggest a new feature or idea
3+
title: "[Feature] "
4+
labels: [feature-request]
5+
body:
6+
- type: textarea
7+
validations:
8+
required: true
9+
attributes:
10+
label: Describe the feature
11+
description: Please describe below a summary of your feature request.
12+
- type: textarea
13+
validations:
14+
required: true
15+
attributes:
16+
label: Rationale for the feature
17+
description: Please describe a list of reasons why the feature should be added.
18+
- type: textarea
19+
attributes:
20+
label: Scope of the feature
21+
description: Please describe a list of must, should, could, and won't capabilities for the feature.
22+
- type: textarea
23+
attributes:
24+
label: Open questions
25+
description: Please provide any questions that you may have around this feature that are not currently answered.
26+
- type: textarea
27+
attributes:
28+
label: Other information
29+
description: Please provide any additional information, links, screenshots, or samples below if applicable.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Fixes #
2+
<!-- Add the issue ID after the '#' to automatically close the issue once the PR is merged -->
3+
4+
<!-- Please provide a description below of the changes made and how it has been tested -->
5+
6+
## PR checklist
7+
8+
- [ ] Samples have been added/updated (where applicable)
9+
- [ ] Tests have been added/updated (where applicable) and pass
10+
- [ ] Documentation has been added/updated for changes
11+
- [ ] Code styling has been met on new source file changes
12+
- [ ] Contains **NO** breaking changes
13+
14+
<!-- If a breaking change has been made, please provide a detailed description below of the impact and the migration path -->
15+
16+
## Other information
17+
<!-- Please provide any additional information, links, or screenshots below if applicable -->

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: nuget
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- main
9+
paths:
10+
- src/**
11+
- samples/**
12+
- tests/**
13+
- build/**
14+
- .github/workflows/ci.yml
15+
- global.json
16+
pull_request:
17+
branches:
18+
- main
19+
paths:
20+
- src/**
21+
- samples/**
22+
- tests/**
23+
- build/**
24+
- .github/workflows/ci.yml
25+
- global.json
26+
workflow_dispatch:
27+
28+
jobs:
29+
build:
30+
31+
env:
32+
BUILD_CONFIG: 'Release'
33+
SOLUTION: 'MADE-Uno.NoSamples.slnf'
34+
35+
runs-on: windows-latest
36+
37+
steps:
38+
- uses: actions/checkout@v2
39+
40+
- name: Get Build Version
41+
run: |
42+
Import-Module .\build\GetBuildVersion.psm1
43+
Write-Host $Env:GITHUB_REF
44+
$version = GetBuildVersion -VersionString $Env:GITHUB_REF
45+
echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
46+
shell: pwsh
47+
48+
- name: Setup .NET 5.0
49+
uses: actions/setup-dotnet@v1
50+
with:
51+
dotnet-version: 5.0.x
52+
53+
- name: Setup .NET 6.0
54+
uses: actions/setup-dotnet@v1
55+
with:
56+
dotnet-version: 6.0.x
57+
58+
- name: Setup NuGet
59+
uses: NuGet/setup-nuget@v1.0.5
60+
61+
- name: Restore dependencies
62+
run: nuget restore $SOLUTION
63+
64+
- name: Setup MSBuild
65+
uses: microsoft/setup-msbuild@v1.0.2
66+
67+
- name: Build
68+
run: msbuild $env:SOLUTION /p:Configuration=$env:BUILD_CONFIG /p:Platform="Any CPU" -p:Version=$env:BUILD_VERSION
69+
70+
- name: Run tests
71+
run: dotnet test /p:Configuration=$env:BUILD_CONFIG /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --no-restore --no-build --verbosity normal
72+
73+
- name: Publish
74+
if: startsWith(github.ref, 'refs/tags/v')
75+
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}

CODE_OF_CONDUCT.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting through our [online contact form][contactform]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/
47+
[contactform]: http://jamescroft.co.uk/contact/

0 commit comments

Comments
 (0)