@uni-design-system/uni-angular 9.0.1 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uni-design-system/uni-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@angular/core": "^21.2.0",
|
|
23
23
|
"@angular/forms": "^21.2.0",
|
|
24
24
|
"@emotion/css": "^11.0.0",
|
|
25
|
-
"@uni-design-system/uni-core": "^
|
|
25
|
+
"@uni-design-system/uni-core": "^10.1.0"
|
|
26
26
|
},
|
|
27
27
|
"module": "fesm2022/uni-design-system-uni-angular.mjs",
|
|
28
28
|
"typings": "types/uni-design-system-uni-angular.d.ts",
|
|
@@ -943,7 +943,30 @@ var buildComponents = (c) => ({
|
|
|
943
943
|
divider: "light",
|
|
944
944
|
elevation: "menu",
|
|
945
945
|
padding: "md",
|
|
946
|
-
backdrop: { background: "rgba(0, 0, 0, 0.4)" }
|
|
946
|
+
backdrop: { background: "rgba(0, 0, 0, 0.4)" },
|
|
947
|
+
scrim: true,
|
|
948
|
+
background: "solid"
|
|
949
|
+
} },
|
|
950
|
+
drawerHeader: { options: {
|
|
951
|
+
color: void 0,
|
|
952
|
+
height: 56,
|
|
953
|
+
padding: "md",
|
|
954
|
+
textRole: "title-medium",
|
|
955
|
+
textAlign: "left",
|
|
956
|
+
divider: "light",
|
|
957
|
+
closeButtonIcon: "close",
|
|
958
|
+
closeButtonSize: "md"
|
|
959
|
+
} },
|
|
960
|
+
drawerButtons: { options: {
|
|
961
|
+
gap: "sm",
|
|
962
|
+
padding: "md",
|
|
963
|
+
justifyContent: "flex-end",
|
|
964
|
+
confirmButtonVariant: "primary",
|
|
965
|
+
cancelButtonVariant: "quaternary",
|
|
966
|
+
buttonSize: "md",
|
|
967
|
+
divider: "light",
|
|
968
|
+
stretch: false,
|
|
969
|
+
reverseOrder: false
|
|
947
970
|
} },
|
|
948
971
|
avatar: {
|
|
949
972
|
options: {
|
|
@@ -1138,6 +1161,44 @@ var buildComponents = (c) => ({
|
|
|
1138
1161
|
rows: 3,
|
|
1139
1162
|
resize: "vertical"
|
|
1140
1163
|
} },
|
|
1164
|
+
numberInput: { options: {
|
|
1165
|
+
stepperLayout: "stacked",
|
|
1166
|
+
incrementIcon: "plus",
|
|
1167
|
+
decrementIcon: "minus",
|
|
1168
|
+
stepUpIcon: "chevronUp",
|
|
1169
|
+
stepDownIcon: "chevronDown",
|
|
1170
|
+
stepperWidth: 32,
|
|
1171
|
+
minTouchTarget: 24,
|
|
1172
|
+
affixColor: "on-primary-surface-variant",
|
|
1173
|
+
affixGap: "xs",
|
|
1174
|
+
align: "start",
|
|
1175
|
+
tabularNumerals: true,
|
|
1176
|
+
repeatDelayMs: 500,
|
|
1177
|
+
repeatIntervalMs: 100,
|
|
1178
|
+
repeatFastIntervalMs: 25,
|
|
1179
|
+
repeatRampMs: 2e3
|
|
1180
|
+
} },
|
|
1181
|
+
numberRangeInput: { options: {
|
|
1182
|
+
partGap: "sm",
|
|
1183
|
+
dividerText: "–",
|
|
1184
|
+
dividerColor: "outline",
|
|
1185
|
+
affixColor: "on-primary-surface-variant",
|
|
1186
|
+
affixGap: "xs"
|
|
1187
|
+
} },
|
|
1188
|
+
quantityStepper: {
|
|
1189
|
+
options: {
|
|
1190
|
+
incrementIcon: "plus",
|
|
1191
|
+
decrementIcon: "minus",
|
|
1192
|
+
deleteIcon: "delete",
|
|
1193
|
+
tabularNumerals: true,
|
|
1194
|
+
valueWidth: "3ch"
|
|
1195
|
+
},
|
|
1196
|
+
sizes: {
|
|
1197
|
+
sm: { height: 24 },
|
|
1198
|
+
md: { height: 32 },
|
|
1199
|
+
lg: { height: 40 }
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1141
1202
|
tabs: { options: {
|
|
1142
1203
|
typeface: "title-small",
|
|
1143
1204
|
textColor: "on-surface-variant",
|
|
@@ -1561,11 +1622,21 @@ var buildComponents = (c) => ({
|
|
|
1561
1622
|
gap: "xxs"
|
|
1562
1623
|
} },
|
|
1563
1624
|
slider: { options: {
|
|
1564
|
-
color: "primary",
|
|
1565
|
-
trackColor: "surface-variant",
|
|
1566
|
-
borderRadius: "max",
|
|
1567
1625
|
trackHeight: 4,
|
|
1568
|
-
|
|
1626
|
+
trackColor: "primary-container",
|
|
1627
|
+
borderRadius: "max",
|
|
1628
|
+
thumbSize: 16,
|
|
1629
|
+
thumbBorderRadius: "max",
|
|
1630
|
+
minTouchTarget: 24,
|
|
1631
|
+
markSize: 3,
|
|
1632
|
+
markColor: "on-primary-container",
|
|
1633
|
+
labelTypeface: "label",
|
|
1634
|
+
labelColor: "on-surface-variant",
|
|
1635
|
+
tooltipColor: "inverse-surface",
|
|
1636
|
+
tooltipTextColor: "on-inverse-surface",
|
|
1637
|
+
tooltipShadow: "menu",
|
|
1638
|
+
tooltipBorderRadius: "xs",
|
|
1639
|
+
transitionMs: 120
|
|
1569
1640
|
} },
|
|
1570
1641
|
skeleton: { options: {
|
|
1571
1642
|
color: "surface-variant",
|
|
@@ -1588,11 +1659,30 @@ var buildComponents = (c) => ({
|
|
|
1588
1659
|
grade: 0,
|
|
1589
1660
|
opticalSize: 24
|
|
1590
1661
|
} },
|
|
1591
|
-
toggle: {
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1662
|
+
toggle: {
|
|
1663
|
+
options: {
|
|
1664
|
+
trackColor: "surface-variant",
|
|
1665
|
+
knobColor: "surface",
|
|
1666
|
+
motion: "control"
|
|
1667
|
+
},
|
|
1668
|
+
sizes: {
|
|
1669
|
+
sm: {
|
|
1670
|
+
width: 28,
|
|
1671
|
+
height: 16,
|
|
1672
|
+
padding: 3
|
|
1673
|
+
},
|
|
1674
|
+
md: {
|
|
1675
|
+
width: 32,
|
|
1676
|
+
height: 18,
|
|
1677
|
+
padding: 3
|
|
1678
|
+
},
|
|
1679
|
+
lg: {
|
|
1680
|
+
width: 40,
|
|
1681
|
+
height: 20,
|
|
1682
|
+
padding: 2
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1596
1686
|
tooltip: { options: {
|
|
1597
1687
|
border: void 0,
|
|
1598
1688
|
borderRadius: "xs",
|
|
@@ -2035,7 +2125,7 @@ var UniThemes = {
|
|
|
2035
2125
|
Object.keys(UniThemes)[0];
|
|
2036
2126
|
//#endregion
|
|
2037
2127
|
//#region package.json
|
|
2038
|
-
var version = "
|
|
2128
|
+
var version = "10.1.0";
|
|
2039
2129
|
//#endregion
|
|
2040
2130
|
//#region schematics-src/ng-add/transforms.ts
|
|
2041
2131
|
var addDependencies = (packageJsonText, deps) => {
|