@uni-design-system/uni-angular 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uni-design-system/uni-angular",
3
- "version": "9.0.0",
3
+ "version": "10.0.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": "^9.0.0"
25
+ "@uni-design-system/uni-core": "^10.0.0"
26
26
  },
27
27
  "module": "fesm2022/uni-design-system-uni-angular.mjs",
28
28
  "typings": "types/uni-design-system-uni-angular.d.ts",
@@ -1138,6 +1138,47 @@ var buildComponents = (c) => ({
1138
1138
  rows: 3,
1139
1139
  resize: "vertical"
1140
1140
  } },
1141
+ numberInput: { options: {
1142
+ stepperLayout: "stacked",
1143
+ incrementIcon: "plus",
1144
+ decrementIcon: "minus",
1145
+ stepUpIcon: "chevronUp",
1146
+ stepDownIcon: "chevronDown",
1147
+ stepperWidth: 32,
1148
+ minTouchTarget: 24,
1149
+ affixColor: "on-primary-surface-variant",
1150
+ affixGap: "xs",
1151
+ align: "start",
1152
+ tabularNumerals: true,
1153
+ repeatDelayMs: 500,
1154
+ repeatIntervalMs: 100,
1155
+ repeatFastIntervalMs: 25,
1156
+ repeatRampMs: 2e3
1157
+ } },
1158
+ numberRangeInput: { options: {
1159
+ partGap: "sm",
1160
+ dividerText: "–",
1161
+ dividerColor: "outline",
1162
+ affixColor: "on-primary-surface-variant",
1163
+ affixGap: "xs"
1164
+ } },
1165
+ quantityStepper: {
1166
+ options: {
1167
+ color: "primary-surface",
1168
+ border: "light",
1169
+ borderRadius: "xs",
1170
+ incrementIcon: "plus",
1171
+ decrementIcon: "minus",
1172
+ deleteIcon: "delete",
1173
+ tabularNumerals: true,
1174
+ valueWidth: "3ch"
1175
+ },
1176
+ sizes: {
1177
+ sm: { height: 24 },
1178
+ md: { height: 32 },
1179
+ lg: { height: 40 }
1180
+ }
1181
+ },
1141
1182
  tabs: { options: {
1142
1183
  typeface: "title-small",
1143
1184
  textColor: "on-surface-variant",
@@ -1561,11 +1602,21 @@ var buildComponents = (c) => ({
1561
1602
  gap: "xxs"
1562
1603
  } },
1563
1604
  slider: { options: {
1564
- color: "primary",
1565
- trackColor: "surface-variant",
1566
- borderRadius: "max",
1567
1605
  trackHeight: 4,
1568
- thumbSize: 16
1606
+ trackColor: "primary-container",
1607
+ borderRadius: "max",
1608
+ thumbSize: 16,
1609
+ thumbBorderRadius: "max",
1610
+ minTouchTarget: 24,
1611
+ markSize: 3,
1612
+ markColor: "on-primary-container",
1613
+ labelTypeface: "label",
1614
+ labelColor: "on-surface-variant",
1615
+ tooltipColor: "inverse-surface",
1616
+ tooltipTextColor: "on-inverse-surface",
1617
+ tooltipShadow: "menu",
1618
+ tooltipBorderRadius: "xs",
1619
+ transitionMs: 120
1569
1620
  } },
1570
1621
  skeleton: { options: {
1571
1622
  color: "surface-variant",
@@ -2035,7 +2086,7 @@ var UniThemes = {
2035
2086
  Object.keys(UniThemes)[0];
2036
2087
  //#endregion
2037
2088
  //#region package.json
2038
- var version = "9.0.0";
2089
+ var version = "10.0.0";
2039
2090
  //#endregion
2040
2091
  //#region schematics-src/ng-add/transforms.ts
2041
2092
  var addDependencies = (packageJsonText, deps) => {