Skip to content

Commit 1f0bc38

Browse files
committed
...
2 parents 59141b7 + 36e5f43 commit 1f0bc38

592 files changed

Lines changed: 71688 additions & 36637 deletions

File tree

Some content is hidden

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

.github/workflows/deploy-npm.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Push to NuGet
2+
3+
on:
4+
release:
5+
types: [released]
6+
7+
jobs:
8+
verify:
9+
name: Verify
10+
if: github.event_name != 'pull_request'
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
# Check out the current repository
15+
- name: Fetch Sources
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: npm install
20+
21+
- name: Build
22+
run: npm run build
23+
24+
- name: Test
25+
run: npm test
26+
27+
publish:
28+
runs-on: ubuntu-latest
29+
needs: [ verify ]
30+
permissions:
31+
contents: write
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v4.2.2
35+
36+
- name: Install dependencies
37+
run: npm install
38+
39+
- name: Build Metro UI
40+
run: npm run build
41+
42+
- name: Build Metro UI
43+
run: npm run pub

.github/workflows/deploy-nuget.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Push to NuGet
2+
3+
on:
4+
release:
5+
types: [released]
6+
7+
jobs:
8+
verify:
9+
name: Verify
10+
if: github.event_name != 'pull_request'
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
# Check out the current repository
15+
- name: Fetch Sources
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: npm install
20+
21+
- name: Build
22+
run: npm run build
23+
24+
- name: Test
25+
run: npm test
26+
27+
publish:
28+
runs-on: ubuntu-latest
29+
needs: [ verify ]
30+
permissions:
31+
contents: write
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v4.2.2
35+
36+
- name: get-npm-version
37+
id: package-version
38+
uses: martinbeentjes/npm-get-version-action@v1.3.1
39+
40+
- name: Setup Nuget.exe
41+
uses: nuget/setup-nuget@v2
42+
with:
43+
nuget-version: 'latest'
44+
nuget-api-key: ${{ secrets.NUGET_KEY }}
45+
46+
- name: Install dependencies
47+
run: npm install
48+
49+
- name: Build Metro UI
50+
run: npm run build
51+
52+
- name: Set version
53+
id: update
54+
uses: vers-one/dotnet-project-version-updater@v1.7
55+
with:
56+
file: "metroui.nuspec"
57+
version: ${{ steps.package-version.outputs.current-version }}
58+
59+
- name: Create NuGet package
60+
run: nuget pack metroui.nuspec
61+
62+
- name: Push to NuGet
63+
run: nuget push metroui.nupkg -Source https://api.nuget.org/v3/index.json
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: draft-release.yml
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
verify:
8+
name: Verify
9+
if: github.event_name != 'pull_request'
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
# Check out the current repository
14+
- name: Fetch Sources
15+
uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: npm install
19+
20+
- name: Build
21+
run: npm run build
22+
23+
- name: Test
24+
run: npm test
25+
26+
releaseDraft:
27+
name: Release draft
28+
if: github.event_name != 'pull_request'
29+
needs: [ verify ]
30+
runs-on: ubuntu-latest
31+
permissions:
32+
contents: write
33+
steps:
34+
35+
# Check out the current repository
36+
- name: Fetch Sources
37+
uses: actions/checkout@v4
38+
39+
- name: Get Version
40+
id: get-version
41+
uses: beaconbrigade/package-json-version@v0.3.2
42+
with:
43+
path: .
44+
45+
- name: Read CHANGELOG.md
46+
id: changelog
47+
uses: jaywcjlove/github-action-read-file@main
48+
with:
49+
path: CHANGELOG.md
50+
51+
# Remove old release drafts by using the curl request for the available releases with a draft flag
52+
- name: Remove Old Release Drafts
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
run: |
56+
gh api repos/{owner}/{repo}/releases \
57+
--jq '.[] | select(.draft == true) | .id' \
58+
| xargs -I '{}' gh api -X DELETE repos/{owner}/{repo}/releases/{}
59+
60+
# Create a new release draft which is not publicly visible and requires manual acceptance
61+
- name: Create Release Draft
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
run: |
65+
gh release create "v${{ steps.get-version.outputs.version }}" \
66+
--draft \
67+
--title "v${{ steps.get-version.outputs.version }}" \
68+
--notes "$(cat << 'EOM'
69+
${{ steps.changelog.outputs.content }}
70+
EOM
71+
)"

CHANGELOG-HISTORY.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Changelog
2+
3+
### 5.1.3
4+
+ [x] Improved `audio-player` component
5+
+ [x] Fixed i18n for `clock` component
6+
+ [x] Fixed input `file` component
7+
+ [x] Fixed `resetWith` method in `countdown` component
8+
9+
### 5.1.2
10+
+ [x] Added new languages for `i18n` component: `de`, `es`, `fr`, `hi`, `it`, `pl`, `pt`, `zh`
11+
+ [x] Ukrainian language for `i18n` component renamed to `uk`
12+
+ [x] Updated `hotkey` component: arbitrary order of special keys: `ctrl+shift+alt+f`, added handler for `windows`/`command` key
13+
+ [x] Fixed icons for `wizard`
14+
+ [x] Added component `wizard-classic`
15+
+ [x] Minor fixes and improvements
16+
+ [x] Fixed `i18n` component
17+
18+
### 5.1.1
19+
+ [x] Added a combined hotkeys feature. Now you can create hotkey as: `alt+1 2`
20+
+ [x] Improved window caption buttons
21+
+ [x] Improved `ribbon-menu` component, added scrollable feature
22+
+ [x] Removed default transition property, update loading button
23+
+ [x] Fixed bug in `countdown` component
24+
25+
### 5.1.0
26+
+ [x] Updated color values, each color is worked by hand.
27+
+ [x] Added gradient backgrounds with `gr-COLOR`, `gr-light-COLOR`, and `gr-dark-COLOR`
28+
+ [x] Added new colors: `champagne`, `khaki`, `charcoal`, `cinnamon`, `glaucous`, `nude`, `terracotta`, `coral`, `army`, `seashell`
29+
+ [x] Renamed colors to `*-color`, `*-light-color`, `*-dark-color`
30+
+ [x] Improved progress bars
31+
+ [x] Added classes `.animated-border`, `.animated-border-COLOR`
32+
+ [x] Full refactoring
33+
+ [x] New components
34+
+ [x] Dark/Light themes for all components
35+
+ [x] Complete migration from JavaScript 5 to JavaScript 6+
36+
+ [x] New build engine with esbuild
37+
+ [x] New built-in libraries (Dom, Hooks, Html, Farme, Datetime, Guardian, -String, Router, Model)
38+
+ [x] Built-in Reactive Model with two ways binding
39+
+ [x] New i18n engine
40+
+ [x] And much, much more...
41+
42+
### 5.0.13
43+
+ [x] Update Sidenav Counter, added role, theme
44+
+ [x] Update NavView (save compact state)
45+
+ [x] Set the default size for body to `100vh`
46+
47+
### 5.0.12
48+
+ [x] Update components for themes
49+
+ [x] Update NavView (save compact state)
50+
+ [x] Update sizing css, added `h-10, h-66, h-80, h-90`
51+
+ [x] Improve Spinner button hold event
52+
+ [x] Fix Calendar duplicate day 27 for october
53+
54+
### 5.0.11
55+
+ [x] Fix G.number()
56+
+ [x] Bugs fixes
57+
58+
### 5.0.7
59+
+ [x] Update components for themes
60+
+ [x] Update Hooks
61+
+ [x] Update m4q
62+
+ [x] Update Farbe
63+
64+
65+
### 5.0.6
66+
+ [x] Fixed `app-bar-menu` for collapsed `appbar`
67+
+ [x] Redesign `navview` and upd for themes
68+
+ [x] Update `listview` for themes
69+
+ [x] Update `select` for themes
70+
+ [x] Redesign `grid`. Now used with grid gap instead of cell padding. You can compile old grid manually from file `grid-old.less`.
71+
72+
### 5.0.5
73+
+ [x] Update `dialog` for themes
74+
+ [x] Added color variables
75+
+ [x] Updated `m4q`, new methods: `$.curry`, `$.compose`, `$.pipe`
76+
+ [x] Redesign `treeview`
77+
78+
### 5.0.4
79+
+ [x] Improved `app-bar`, added `dark`, `light` themes
80+
+ [x] Improved `d-menu`, added `dark`, `light` themes
81+
+ [x] Fix `d-menu` in `app-bar`
82+
+ [x] Improved `collapse` components
83+
+ [x] Improved `panel`, added `dark`, `light` themes
84+
+ [x] `expand-button` renamed to `transofrm-button`, added new states `left`, `right`, `top`, `bottom`, `top-left`, `top-right`, `bottom-left`, `bottom-right`
85+
+ [x] Added component `theme-switcher`
86+
+ [x] Update `common css` for themes
87+
+ [x] Update `accordion` for themes
88+
+ [x] Update `calendar` for themes
89+
+ [x] Update `button-group` for themes
90+
+ [x] Update `checkbox` for themes, `style2` removed
91+
+ [x] Update `cards` for themes
92+
+ [x] Added class `error`
93+
+ [x] Updated `breadcrumbs default`, added new style `breadcrumbs arrow`
94+
95+
96+
### 5.0.3
97+
+ [x] Improved counter with `useEffect`
98+
+ [x] Improved `v-menu`
99+
+ [x] Update `core libs`
100+
+ [x] Added `grid2`
101+
102+
### 5.0.2
103+
+ [x] Improved `d-menu`, fix interacts with other components (`treeview`, `sidenav-m3`, `app-bar`)
104+
105+
### 5.0.1
106+
+ [x] Fixed button `outline` style
107+
+ [x] Improved `d-menu`
108+
109+
### 5.0.0
110+
+ [x] Added/updated libs `color`, `html`, `datetime`, `string`, `hooks`, `animation`, `m4q`
111+
+ [x] Improved any components (`treeview`)
112+
+ [x] Added `page-control`
113+
+ [x] Bugs fixed
114+
+ [x] Improved building with `rollup`

CHANGELOG.md

Lines changed: 5 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,5 @@
1-
# Changelog
2-
3-
### 5.1.0
4-
+ [x] Updated color values, each color is worked by hand.
5-
+ [x] Added gradient backgrounds with `gr-COLOR`, `gr-light-COLOR`, and `gr-dark-COLOR`
6-
+ [x] Added new colors: `champagne`, `khaki`, `charcoal`, `cinnamon`, `glaucous`, `nude`, `terracotta`, `coral`, `army`, `seashell`
7-
+ [x] Renamed colors to `*-color`, `*-light-color`, `*-dark-color`
8-
+ [x] Improved progress bars
9-
+ [x] Added classes `.animated-border`, `.animated-border-COLOR`
10-
11-
### 5.0.13
12-
+ [x] Update Sidenav Counter, added role, theme
13-
+ [x] Update NavView (save compact state)
14-
+ [x] Set the default size for body to `100vh`
15-
16-
### 5.0.12
17-
+ [x] Update components for themes
18-
+ [x] Update NavView (save compact state)
19-
+ [x] Update sizing css, added `h-10, h-66, h-80, h-90`
20-
+ [x] Improve Spinner button hold event
21-
+ [x] Fix Calendar duplicate day 27 for october
22-
23-
### 5.0.11
24-
+ [x] Fix G.number()
25-
+ [x] Bugs fixes
26-
27-
### 5.0.7
28-
+ [x] Update components for themes
29-
+ [x] Update Hooks
30-
+ [x] Update m4q
31-
+ [x] Update Farbe
32-
33-
34-
### 5.0.6
35-
+ [x] Fixed `app-bar-menu` for collapsed `appbar`
36-
+ [x] Redesign `navview` and upd for themes
37-
+ [x] Update `listview` for themes
38-
+ [x] Update `select` for themes
39-
+ [x] Redesign `grid`. Now used with grid gap instead of cell padding. You can compile old grid manually from file `grid-old.less`.
40-
41-
### 5.0.5
42-
+ [x] Update `dialog` for themes
43-
+ [x] Added color variables
44-
+ [x] Updated `m4q`, new methods: `$.curry`, `$.compose`, `$.pipe`
45-
+ [x] Redesign `treeview`
46-
47-
### 5.0.4
48-
+ [x] Improved `app-bar`, added `dark`, `light` themes
49-
+ [x] Improved `d-menu`, added `dark`, `light` themes
50-
+ [x] Fix `d-menu` in `app-bar`
51-
+ [x] Improved `collapse` components
52-
+ [x] Improved `panel`, added `dark`, `light` themes
53-
+ [x] `expand-button` renamed to `transofrm-button`, added new states `left`, `right`, `top`, `bottom`, `top-left`, `top-right`, `bottom-left`, `bottom-right`
54-
+ [x] Added component `theme-switcher`
55-
+ [x] Update `common css` for themes
56-
+ [x] Update `accordion` for themes
57-
+ [x] Update `calendar` for themes
58-
+ [x] Update `button-group` for themes
59-
+ [x] Update `checkbox` for themes, `style2` removed
60-
+ [x] Update `cards` for themes
61-
+ [x] Added class `error`
62-
+ [x] Updated `breadcrumbs default`, added new style `breadcrumbs arrow`
63-
64-
65-
### 5.0.3
66-
+ [x] Improved counter with `useEffect`
67-
+ [x] Improved `v-menu`
68-
+ [x] Update `core libs`
69-
+ [x] Added `grid2`
70-
71-
### 5.0.2
72-
+ [x] Improved `d-menu`, fix interacts with other components (`treeview`, `sidenav-m3`, `app-bar`)
73-
74-
### 5.0.1
75-
+ [x] Fixed button `outline` style
76-
+ [x] Improved `d-menu`
77-
78-
### 5.0.0
79-
+ [x] Added/updated libs `color`, `html`, `datetime`, `string`, `hooks`, `animation`, `m4q`
80-
+ [x] Improved any components (`treeview`)
81-
+ [x] Added `page-control`
82-
+ [x] Bugs fixed
83-
+ [x] Improved building with `rollup`
1+
### 5.1.3
2+
+ [x] Improved `audio-player` component
3+
+ [x] Fixed i18n for `clock` component
4+
+ [x] Fixed input `file` component
5+
+ [x] Fixed `resetWith` method in `countdown` component

0 commit comments

Comments
 (0)