@uni-design-system/uni-core 10.0.0 → 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/CHANGELOG.md +103 -0
- package/dist/cjs/index.cjs +48 -9
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +48 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/types/concepts/component/component.types.d.ts +1 -1
- package/dist/types/concepts/component/component.types.d.ts.map +1 -1
- package/dist/types/concepts/theme/themes/base.theme.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1098,7 +1098,30 @@ var buildComponents = (c) => ({
|
|
|
1098
1098
|
divider: "light",
|
|
1099
1099
|
elevation: "menu",
|
|
1100
1100
|
padding: "md",
|
|
1101
|
-
backdrop: { background: "rgba(0, 0, 0, 0.4)" }
|
|
1101
|
+
backdrop: { background: "rgba(0, 0, 0, 0.4)" },
|
|
1102
|
+
scrim: true,
|
|
1103
|
+
background: "solid"
|
|
1104
|
+
} },
|
|
1105
|
+
drawerHeader: { options: {
|
|
1106
|
+
color: void 0,
|
|
1107
|
+
height: 56,
|
|
1108
|
+
padding: "md",
|
|
1109
|
+
textRole: "title-medium",
|
|
1110
|
+
textAlign: "left",
|
|
1111
|
+
divider: "light",
|
|
1112
|
+
closeButtonIcon: "close",
|
|
1113
|
+
closeButtonSize: "md"
|
|
1114
|
+
} },
|
|
1115
|
+
drawerButtons: { options: {
|
|
1116
|
+
gap: "sm",
|
|
1117
|
+
padding: "md",
|
|
1118
|
+
justifyContent: "flex-end",
|
|
1119
|
+
confirmButtonVariant: "primary",
|
|
1120
|
+
cancelButtonVariant: "quaternary",
|
|
1121
|
+
buttonSize: "md",
|
|
1122
|
+
divider: "light",
|
|
1123
|
+
stretch: false,
|
|
1124
|
+
reverseOrder: false
|
|
1102
1125
|
} },
|
|
1103
1126
|
avatar: {
|
|
1104
1127
|
options: {
|
|
@@ -1319,9 +1342,6 @@ var buildComponents = (c) => ({
|
|
|
1319
1342
|
} },
|
|
1320
1343
|
quantityStepper: {
|
|
1321
1344
|
options: {
|
|
1322
|
-
color: "primary-surface",
|
|
1323
|
-
border: "light",
|
|
1324
|
-
borderRadius: "xs",
|
|
1325
1345
|
incrementIcon: "plus",
|
|
1326
1346
|
decrementIcon: "minus",
|
|
1327
1347
|
deleteIcon: "delete",
|
|
@@ -1794,11 +1814,30 @@ var buildComponents = (c) => ({
|
|
|
1794
1814
|
grade: 0,
|
|
1795
1815
|
opticalSize: 24
|
|
1796
1816
|
} },
|
|
1797
|
-
toggle: {
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1817
|
+
toggle: {
|
|
1818
|
+
options: {
|
|
1819
|
+
trackColor: "surface-variant",
|
|
1820
|
+
knobColor: "surface",
|
|
1821
|
+
motion: "control"
|
|
1822
|
+
},
|
|
1823
|
+
sizes: {
|
|
1824
|
+
sm: {
|
|
1825
|
+
width: 28,
|
|
1826
|
+
height: 16,
|
|
1827
|
+
padding: 3
|
|
1828
|
+
},
|
|
1829
|
+
md: {
|
|
1830
|
+
width: 32,
|
|
1831
|
+
height: 18,
|
|
1832
|
+
padding: 3
|
|
1833
|
+
},
|
|
1834
|
+
lg: {
|
|
1835
|
+
width: 40,
|
|
1836
|
+
height: 20,
|
|
1837
|
+
padding: 2
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
},
|
|
1802
1841
|
tooltip: { options: {
|
|
1803
1842
|
border: void 0,
|
|
1804
1843
|
borderRadius: "xs",
|