@uni-design-system/uni-core 9.0.0 → 10.0.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 +228 -0
- package/dist/cjs/index.cjs +55 -4
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +55 -4
- 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 +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -1293,6 +1293,47 @@ var buildComponents = (c) => ({
|
|
|
1293
1293
|
rows: 3,
|
|
1294
1294
|
resize: "vertical"
|
|
1295
1295
|
} },
|
|
1296
|
+
numberInput: { options: {
|
|
1297
|
+
stepperLayout: "stacked",
|
|
1298
|
+
incrementIcon: "plus",
|
|
1299
|
+
decrementIcon: "minus",
|
|
1300
|
+
stepUpIcon: "chevronUp",
|
|
1301
|
+
stepDownIcon: "chevronDown",
|
|
1302
|
+
stepperWidth: 32,
|
|
1303
|
+
minTouchTarget: 24,
|
|
1304
|
+
affixColor: "on-primary-surface-variant",
|
|
1305
|
+
affixGap: "xs",
|
|
1306
|
+
align: "start",
|
|
1307
|
+
tabularNumerals: true,
|
|
1308
|
+
repeatDelayMs: 500,
|
|
1309
|
+
repeatIntervalMs: 100,
|
|
1310
|
+
repeatFastIntervalMs: 25,
|
|
1311
|
+
repeatRampMs: 2e3
|
|
1312
|
+
} },
|
|
1313
|
+
numberRangeInput: { options: {
|
|
1314
|
+
partGap: "sm",
|
|
1315
|
+
dividerText: "–",
|
|
1316
|
+
dividerColor: "outline",
|
|
1317
|
+
affixColor: "on-primary-surface-variant",
|
|
1318
|
+
affixGap: "xs"
|
|
1319
|
+
} },
|
|
1320
|
+
quantityStepper: {
|
|
1321
|
+
options: {
|
|
1322
|
+
color: "primary-surface",
|
|
1323
|
+
border: "light",
|
|
1324
|
+
borderRadius: "xs",
|
|
1325
|
+
incrementIcon: "plus",
|
|
1326
|
+
decrementIcon: "minus",
|
|
1327
|
+
deleteIcon: "delete",
|
|
1328
|
+
tabularNumerals: true,
|
|
1329
|
+
valueWidth: "3ch"
|
|
1330
|
+
},
|
|
1331
|
+
sizes: {
|
|
1332
|
+
sm: { height: 24 },
|
|
1333
|
+
md: { height: 32 },
|
|
1334
|
+
lg: { height: 40 }
|
|
1335
|
+
}
|
|
1336
|
+
},
|
|
1296
1337
|
tabs: { options: {
|
|
1297
1338
|
typeface: "title-small",
|
|
1298
1339
|
textColor: "on-surface-variant",
|
|
@@ -1716,11 +1757,21 @@ var buildComponents = (c) => ({
|
|
|
1716
1757
|
gap: "xxs"
|
|
1717
1758
|
} },
|
|
1718
1759
|
slider: { options: {
|
|
1719
|
-
color: "primary",
|
|
1720
|
-
trackColor: "surface-variant",
|
|
1721
|
-
borderRadius: "max",
|
|
1722
1760
|
trackHeight: 4,
|
|
1723
|
-
|
|
1761
|
+
trackColor: "primary-container",
|
|
1762
|
+
borderRadius: "max",
|
|
1763
|
+
thumbSize: 16,
|
|
1764
|
+
thumbBorderRadius: "max",
|
|
1765
|
+
minTouchTarget: 24,
|
|
1766
|
+
markSize: 3,
|
|
1767
|
+
markColor: "on-primary-container",
|
|
1768
|
+
labelTypeface: "label",
|
|
1769
|
+
labelColor: "on-surface-variant",
|
|
1770
|
+
tooltipColor: "inverse-surface",
|
|
1771
|
+
tooltipTextColor: "on-inverse-surface",
|
|
1772
|
+
tooltipShadow: "menu",
|
|
1773
|
+
tooltipBorderRadius: "xs",
|
|
1774
|
+
transitionMs: 120
|
|
1724
1775
|
} },
|
|
1725
1776
|
skeleton: { options: {
|
|
1726
1777
|
color: "surface-variant",
|