@uni-design-system/uni-angular 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uni-design-system/uni-angular",
3
- "version": "10.0.0",
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": "^10.0.0"
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: {
@@ -1164,9 +1187,6 @@ var buildComponents = (c) => ({
1164
1187
  } },
1165
1188
  quantityStepper: {
1166
1189
  options: {
1167
- color: "primary-surface",
1168
- border: "light",
1169
- borderRadius: "xs",
1170
1190
  incrementIcon: "plus",
1171
1191
  decrementIcon: "minus",
1172
1192
  deleteIcon: "delete",
@@ -1639,11 +1659,30 @@ var buildComponents = (c) => ({
1639
1659
  grade: 0,
1640
1660
  opticalSize: 24
1641
1661
  } },
1642
- toggle: { options: {
1643
- size: 20,
1644
- trackColor: "surface-variant",
1645
- knobColor: "surface"
1646
- } },
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
+ },
1647
1686
  tooltip: { options: {
1648
1687
  border: void 0,
1649
1688
  borderRadius: "xs",
@@ -2086,7 +2125,7 @@ var UniThemes = {
2086
2125
  Object.keys(UniThemes)[0];
2087
2126
  //#endregion
2088
2127
  //#region package.json
2089
- var version = "10.0.0";
2128
+ var version = "10.1.0";
2090
2129
  //#endregion
2091
2130
  //#region schematics-src/ng-add/transforms.ts
2092
2131
  var addDependencies = (packageJsonText, deps) => {