Skip to content

Commit 8acf190

Browse files
committed
Merge branch 'master' of github.com:nativescript-community/ui-material-components
# Conflicts: # docs/assets/search.js
2 parents d411b0a + 3ce3461 commit 8acf190

File tree

178 files changed

+2720
-1586
lines changed

Some content is hidden

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

178 files changed

+2720
-1586
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NativeScript
22
hooks/
33
node_modules/
4-
/platforms/
4+
platforms
55

66
# NativeScript Template
77
*.js.map
@@ -43,8 +43,10 @@ packages/**/*.d.ts
4343
bin
4444
build
4545
Pods
46-
!packages/platforms
46+
!packages/*/platforms
4747
/packages/**/*.aar
48+
/packages/**/*.framework
49+
/packages/**/*.xcframework
4850
/demo-snippets/**/*.aar
4951
*.xcuserdatad
5052
/packages/README.md

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
],
1515
"editor.snippetSuggestions": "top",
1616
"NE.enable.snippets": true,
17-
"java.configuration.updateBuildConfiguration": "disabled"
17+
"java.configuration.updateBuildConfiguration": "disabled",
18+
"typescript.tsdk": "node_modules/typescript/lib"
1819
}

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,66 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [7.2.40](https://github.com/nativescript-community/ui-material-component/compare/v7.2.39...v7.2.40) (2024-02-05)
7+
8+
**Note:** Version bump only for package @nativescript-community/ui-material-components
9+
10+
## [7.2.39](https://github.com/nativescript-community/ui-material-component/compare/v7.2.38...v7.2.39) (2024-02-05)
11+
12+
### Reverts
13+
14+
* Revert "chore(release): publish new version 7.2.38" ([feae655](https://github.com/nativescript-community/ui-material-component/commit/feae6558bba0d9620a79072499e45d3d2b89cea8))
15+
16+
**Note:** Version bump only for package @nativescript-community/ui-material-components
17+
18+
## [7.2.38](https://github.com/nativescript-community/ui-material-component/compare/v7.2.37...v7.2.38) (2024-02-05)
19+
20+
**Note:** Version bump only for package @nativescript-community/ui-material-components
21+
22+
## [7.2.37](https://github.com/nativescript-community/ui-material-component/compare/v7.2.36...v7.2.37) (2024-02-05)
23+
24+
### Features
25+
26+
* **progress,android:** new `trackCornerRadius` property ([53a9008](https://github.com/nativescript-community/ui-material-component/commit/53a900856c50c2e4cf8c071acc1e4f91b30931a0))
27+
28+
### Bug Fixes
29+
30+
* **android:** more views created using inflator allowing to customize the theme ([0387a46](https://github.com/nativescript-community/ui-material-component/commit/0387a46194e4c1995d36c9adacd69fc3b1bc779d))
31+
32+
## [7.2.36](https://github.com/nativescript-community/ui-material-component/compare/v7.2.35...v7.2.36) (2024-02-01)
33+
34+
### Bug Fixes
35+
36+
* **textfield,textview,android:** allow to override themes ([ead7592](https://github.com/nativescript-community/ui-material-component/commit/ead75925177dac800ad6af07eabdb7be9b3d043d))
37+
38+
## [7.2.35](https://github.com/nativescript-community/ui-material-component/compare/v7.2.34...v7.2.35) (2024-02-01)
39+
40+
### Bug Fixes
41+
42+
* **dialogs,ios:** ensure we try to hide the correct view controller on hide ([5da476d](https://github.com/nativescript-community/ui-material-component/commit/5da476deef156566b82d9ca7db67fcf31b7d93ea))
43+
* **textfield,android:** `strokeColor` was not applied correctly ([22ff0aa](https://github.com/nativescript-community/ui-material-component/commit/22ff0aaf7c2caff39a794b884b5d503212eb4944))
44+
* **textview,android:** `strokeColor` was not applied correctly ([359d908](https://github.com/nativescript-community/ui-material-component/commit/359d908a8bd2dc7f775b8b865508981942834931))
45+
46+
## [7.2.34](https://github.com/nativescript-community/ui-material-component/compare/v7.2.33...v7.2.34) (2024-01-18)
47+
48+
**Note:** Version bump only for package @nativescript-community/ui-material-components
49+
50+
## [7.2.33](https://github.com/nativescript-community/ui-material-component/compare/v7.2.32...v7.2.33) (2024-01-18)
51+
52+
### Bug Fixes
53+
54+
* **android:** renamed layout resources to easily keep then in minified production builds ([cfaac0f](https://github.com/nativescript-community/ui-material-component/commit/cfaac0f82dc527c516bf854ac8374f9aa9b27722))
55+
56+
## [7.2.32](https://github.com/nativescript-community/ui-material-component/compare/v7.2.31...v7.2.32) (2024-01-18)
57+
58+
**Note:** Version bump only for package @nativescript-community/ui-material-components
59+
60+
## [7.2.31](https://github.com/nativescript-community/ui-material-component/compare/v7.2.30...v7.2.31) (2024-01-18)
61+
62+
### Reverts
63+
64+
* Revert "fix: bump android native lib default version to 1.10.0" ([44c1da8](https://github.com/nativescript-community/ui-material-component/commit/44c1da836a0ca48f1d93fbd7cc580bfb4b7f9341))
65+
666
## [7.2.30](https://github.com/nativescript-community/ui-material-component/compare/v7.2.29...v7.2.30) (2024-01-16)
767

868
### Bug Fixes

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Ensure your Android Theme is inheriting from `MaterialComponents`.
1919
Inside ```App_resources/android/res/values/styles.xml``` replace all occurences of ```Theme.AppCompat``` with ```Theme.MaterialComponents```
2020
You can see an example in the demo-vue app.
2121

22+
### Production build
23+
If you are using proguard on Android build you need ensure some resource from this plugin are not minified. You need to add ` tools:keep="@layout/ns_*"` as explained [here](https://developer.android.com/build/shrink-code#keep-resources)
24+
2225

2326
[](#theming)
2427

demo-vue

docs/assets/main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/navigation.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/style.css

Lines changed: 46 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
--light-color-text-aside: #6e6e6e;
1212
--light-color-link: #1f70c2;
1313

14+
--light-color-ts-keyword: #056bd6;
1415
--light-color-ts-project: #b111c9;
1516
--light-color-ts-module: var(--light-color-ts-project);
1617
--light-color-ts-namespace: var(--light-color-ts-project);
@@ -28,7 +29,7 @@
2829
--light-color-ts-constructor-signature: var(--light-color-ts-constructor);
2930
--light-color-ts-parameter: var(--light-color-ts-variable);
3031
/* type literal not included as links will never be generated to it */
31-
--light-color-ts-type-parameter: var(--light-color-ts-type-alias);
32+
--light-color-ts-type-parameter: #a55c0e;
3233
--light-color-ts-accessor: var(--light-color-ts-property);
3334
--light-color-ts-get-signature: var(--light-color-ts-accessor);
3435
--light-color-ts-set-signature: var(--light-color-ts-accessor);
@@ -50,6 +51,7 @@
5051
--dark-color-text-aside: #dddddd;
5152
--dark-color-link: #00aff4;
5253

54+
--dark-color-ts-keyword: #3399ff;
5355
--dark-color-ts-project: #e358ff;
5456
--dark-color-ts-module: var(--dark-color-ts-project);
5557
--dark-color-ts-namespace: var(--dark-color-ts-project);
@@ -67,7 +69,7 @@
6769
--dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
6870
--dark-color-ts-parameter: var(--dark-color-ts-variable);
6971
/* type literal not included as links will never be generated to it */
70-
--dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
72+
--dark-color-ts-type-parameter: #e07d13;
7173
--dark-color-ts-accessor: var(--dark-color-ts-property);
7274
--dark-color-ts-get-signature: var(--dark-color-ts-accessor);
7375
--dark-color-ts-set-signature: var(--dark-color-ts-accessor);
@@ -91,6 +93,7 @@
9193
--color-text-aside: var(--light-color-text-aside);
9294
--color-link: var(--light-color-link);
9395

96+
--color-ts-keyword: var(--light-color-ts-keyword);
9497
--color-ts-module: var(--light-color-ts-module);
9598
--color-ts-namespace: var(--light-color-ts-namespace);
9699
--color-ts-enum: var(--light-color-ts-enum);
@@ -132,6 +135,7 @@
132135
--color-text-aside: var(--dark-color-text-aside);
133136
--color-link: var(--dark-color-link);
134137

138+
--color-ts-keyword: var(--dark-color-ts-keyword);
135139
--color-ts-module: var(--dark-color-ts-module);
136140
--color-ts-namespace: var(--dark-color-ts-namespace);
137141
--color-ts-enum: var(--dark-color-ts-enum);
@@ -180,6 +184,7 @@ body {
180184
--color-text-aside: var(--light-color-text-aside);
181185
--color-link: var(--light-color-link);
182186

187+
--color-ts-keyword: var(--light-color-ts-keyword);
183188
--color-ts-module: var(--light-color-ts-module);
184189
--color-ts-namespace: var(--light-color-ts-namespace);
185190
--color-ts-enum: var(--light-color-ts-enum);
@@ -219,6 +224,7 @@ body {
219224
--color-text-aside: var(--dark-color-text-aside);
220225
--color-link: var(--dark-color-link);
221226

227+
--color-ts-keyword: var(--dark-color-ts-keyword);
222228
--color-ts-module: var(--dark-color-ts-module);
223229
--color-ts-namespace: var(--dark-color-ts-namespace);
224230
--color-ts-enum: var(--dark-color-ts-enum);
@@ -260,12 +266,12 @@ h6 {
260266
line-height: 1.2;
261267
}
262268

263-
h1 > a,
264-
h2 > a,
265-
h3 > a,
266-
h4 > a,
267-
h5 > a,
268-
h6 > a {
269+
h1 > a:not(.link),
270+
h2 > a:not(.link),
271+
h3 > a:not(.link),
272+
h4 > a:not(.link),
273+
h5 > a:not(.link),
274+
h6 > a:not(.link) {
269275
text-decoration: none;
270276
color: var(--color-text);
271277
}
@@ -643,6 +649,28 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
643649
font-weight: bold;
644650
}
645651

652+
.tsd-full-hierarchy:not(:last-child) {
653+
margin-bottom: 1em;
654+
padding-bottom: 1em;
655+
border-bottom: 1px solid var(--color-accent);
656+
}
657+
.tsd-full-hierarchy,
658+
.tsd-full-hierarchy ul {
659+
list-style: none;
660+
margin: 0;
661+
padding: 0;
662+
}
663+
.tsd-full-hierarchy ul {
664+
padding-left: 1.5rem;
665+
}
666+
.tsd-full-hierarchy a {
667+
padding: 0.25rem 0 !important;
668+
font-size: 1rem;
669+
display: inline-flex;
670+
align-items: center;
671+
color: var(--color-text);
672+
}
673+
646674
.tsd-panel-group.tsd-index-group {
647675
margin-bottom: 0;
648676
}
@@ -708,12 +736,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
708736
}
709737
.tsd-navigation > a,
710738
.tsd-navigation .tsd-accordion-summary {
711-
width: calc(100% - 0.5rem);
739+
width: calc(100% - 0.25rem);
740+
display: flex;
741+
align-items: center;
712742
}
713743
.tsd-navigation a,
714744
.tsd-navigation summary > span,
715745
.tsd-page-navigation a {
716-
display: inline-flex;
746+
display: flex;
747+
width: calc(100% - 0.25rem);
717748
align-items: center;
718749
padding: 0.25rem;
719750
color: var(--color-text);
@@ -753,11 +784,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
753784
margin-left: -1.5rem;
754785
}
755786

756-
.tsd-nested-navigation > li > a,
757-
.tsd-nested-navigation > li > span {
758-
width: calc(100% - 1.75rem - 0.5rem);
759-
}
760-
761787
.tsd-page-navigation ul {
762788
padding-left: 1.75rem;
763789
}
@@ -984,6 +1010,11 @@ a.tsd-index-link {
9841010
overflow-x: auto;
9851011
}
9861012

1013+
.tsd-signature-keyword {
1014+
color: var(--color-ts-keyword);
1015+
font-weight: normal;
1016+
}
1017+
9871018
.tsd-signature-symbol {
9881019
color: var(--color-text-aside);
9891020
font-weight: normal;

0 commit comments

Comments
 (0)