@uni-design-system/uni-angular 8.1.0 → 8.3.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": "8.1.0",
3
+ "version": "8.3.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": "^8.1.0"
25
+ "@uni-design-system/uni-core": "^8.3.0"
26
26
  },
27
27
  "module": "fesm2022/uni-design-system-uni-angular.mjs",
28
28
  "typings": "types/uni-design-system-uni-angular.d.ts",
@@ -973,6 +973,7 @@ var buildComponents = (c) => ({
973
973
  listColor: "primary-surface",
974
974
  listShadow: "menu",
975
975
  listBorderRadius: "xs",
976
+ activeColor: "primary-container",
976
977
  maxSuggestions: 8
977
978
  } },
978
979
  checkbox: { options: {
@@ -1055,6 +1056,22 @@ var buildComponents = (c) => ({
1055
1056
  }
1056
1057
  } }
1057
1058
  },
1059
+ popover: { options: {
1060
+ color: "primary-surface",
1061
+ border: "quaternary",
1062
+ borderRadius: "xs",
1063
+ shadow: "raised",
1064
+ typeface: "label",
1065
+ padding: "6px 12px",
1066
+ maxWidth: "38ch",
1067
+ offset: 7,
1068
+ arrowSize: 8,
1069
+ closeSymbol: "close",
1070
+ headerTypeface: "title-small",
1071
+ tooltipPadding: "4px 8px",
1072
+ tooltipOpenDelay: 500,
1073
+ tooltipCloseDelay: 150
1074
+ } },
1058
1075
  expand: { options: { transitionSpeed: .35 } },
1059
1076
  footer: { options: {
1060
1077
  height: 52,
@@ -1063,7 +1080,7 @@ var buildComponents = (c) => ({
1063
1080
  logoPadding: "md"
1064
1081
  } },
1065
1082
  input: { options: {
1066
- typeFace: "input",
1083
+ typeface: "input",
1067
1084
  color: "primary-surface",
1068
1085
  textColor: "on-primary-surface",
1069
1086
  disabledColor: "disabled-surface",
@@ -1174,6 +1191,7 @@ var buildComponents = (c) => ({
1174
1191
  listColor: "primary-surface",
1175
1192
  listShadow: "menu",
1176
1193
  listBorderRadius: "xs",
1194
+ activeColor: "primary-container",
1177
1195
  maxSuggestions: 8
1178
1196
  } },
1179
1197
  calendar: {
@@ -1209,6 +1227,17 @@ var buildComponents = (c) => ({
1209
1227
  }
1210
1228
  }
1211
1229
  },
1230
+ combobox: { options: {
1231
+ toggleIcon: "chevronDown",
1232
+ clearIcon: "close",
1233
+ selectedIcon: "check",
1234
+ listColor: "primary-surface",
1235
+ listShadow: "menu",
1236
+ listBorderRadius: "xs",
1237
+ activeColor: "primary-container",
1238
+ maxVisibleOptions: 8,
1239
+ descriptionColor: "on-primary-surface-variant"
1240
+ } },
1212
1241
  dateInput: { options: {
1213
1242
  toggleSymbol: "calendar_month",
1214
1243
  popupShadow: "menu",
@@ -1220,6 +1249,7 @@ var buildComponents = (c) => ({
1220
1249
  listColor: "primary-surface",
1221
1250
  listShadow: "menu",
1222
1251
  listBorderRadius: "xs",
1252
+ activeColor: "primary-container",
1223
1253
  maxVisibleOptions: 7
1224
1254
  } },
1225
1255
  dateTimeInput: { options: {
@@ -1527,6 +1557,27 @@ var buildComponents = (c) => ({
1527
1557
  shadow: "raised",
1528
1558
  color: "inverse-surface",
1529
1559
  typeface: "label"
1560
+ } },
1561
+ callout: { options: {
1562
+ color: "primary-surface",
1563
+ borderRadius: "xs",
1564
+ shadow: "menu",
1565
+ width: "320px",
1566
+ padding: "16px",
1567
+ headerTypeface: "title-small",
1568
+ typeface: "label",
1569
+ closeSymbol: "close",
1570
+ arrowSize: 8,
1571
+ offset: 12,
1572
+ scrimColor: "rgba(0, 0, 0, 0.45)",
1573
+ spotlightPadding: 6,
1574
+ spotlightRadius: "xs",
1575
+ ringWidth: 2,
1576
+ transitionMs: 250
1577
+ } },
1578
+ tour: { options: {
1579
+ progressStyle: "dots",
1580
+ footerGap: "sm"
1530
1581
  } }
1531
1582
  });
1532
1583
  var isRecord$1 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
@@ -1536,11 +1587,11 @@ var deepMerge = (base, override) => {
1536
1587
  for (const [key, value] of Object.entries(override)) out[key] = isRecord$1(value) && isRecord$1(out[key]) ? deepMerge(out[key], value) : value;
1537
1588
  return out;
1538
1589
  };
1539
- var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows = BaseShadows, borders, thicknesses, components }) => ({
1590
+ var createTheme = ({ id, name, colors, icons = {}, radii = BaseRadii, shadows = BaseShadows, typography, borders, thicknesses, components }) => ({
1540
1591
  id,
1541
1592
  name,
1542
1593
  colors,
1543
- typography: BaseTypography,
1594
+ typography: deepMerge(BaseTypography, typography),
1544
1595
  borders: deepMerge(buildBorders(colors), borders),
1545
1596
  radii,
1546
1597
  shadows,
@@ -1924,7 +1975,7 @@ var UniThemes = {
1924
1975
  Object.keys(UniThemes)[0];
1925
1976
  //#endregion
1926
1977
  //#region package.json
1927
- var version = "8.1.0";
1978
+ var version = "8.3.0";
1928
1979
  //#endregion
1929
1980
  //#region schematics-src/ng-add/transforms.ts
1930
1981
  var addDependencies = (packageJsonText, deps) => {