@ascentgl/ads-ui 22.11.0 → 22.12.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.
Files changed (52) hide show
  1. package/README.md +7 -7
  2. package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs +2 -2
  3. package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs.map +1 -1
  4. package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs +2 -2
  5. package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs.map +1 -1
  6. package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +2 -2
  7. package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs.map +1 -1
  8. package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs.map +1 -1
  9. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs +2 -2
  10. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs.map +1 -1
  11. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs +2 -2
  12. package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs.map +1 -1
  13. package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs +2 -2
  14. package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs.map +1 -1
  15. package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs +2 -2
  16. package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs.map +1 -1
  17. package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +2 -2
  18. package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs.map +1 -1
  19. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs +2 -2
  20. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs.map +1 -1
  21. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +2 -2
  22. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs.map +1 -1
  23. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +2 -2
  24. package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs.map +1 -1
  25. package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +2 -2
  26. package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs.map +1 -1
  27. package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs +2 -2
  28. package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs.map +1 -1
  29. package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +2 -2
  30. package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs.map +1 -1
  31. package/fesm2022/ascentgl-ads-ui.mjs +264 -233
  32. package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
  33. package/package.json +1 -1
  34. package/src/assets/sass/ads-ui/abstracts/_functions.scss +18 -18
  35. package/src/assets/sass/ads-ui/abstracts/_mixins.scss +90 -90
  36. package/src/assets/sass/ads-ui/abstracts/_variables.scss +137 -137
  37. package/src/assets/sass/ads-ui/base/_reset.scss +19 -19
  38. package/src/assets/sass/ads-ui/base/_typography.scss +179 -179
  39. package/src/assets/sass/ads-ui/base/_utilities.scss +104 -104
  40. package/src/assets/sass/ads-ui/main.scss +8 -8
  41. package/src/assets/sass/ads-ui/overrides/_angular-material.scss +8 -8
  42. package/src/assets/sass/ads-ui/overrides/angular-material/_bottom-sheet.scss +12 -12
  43. package/src/assets/sass/ads-ui/overrides/angular-material/_datetimepicker.scss +248 -248
  44. package/src/assets/sass/ads-ui/overrides/angular-material/_dropdown.scss +60 -60
  45. package/src/assets/sass/ads-ui/overrides/angular-material/_html.scss +14 -14
  46. package/src/assets/sass/ads-ui/overrides/angular-material/_mat-list.scss +47 -47
  47. package/src/assets/sass/ads-ui/overrides/angular-material/_menu.scss +89 -89
  48. package/src/assets/sass/ads-ui/overrides/angular-material/_search-dropdown-modal.scss +34 -34
  49. package/src/assets/sass/ads-ui/overrides/angular-material/_snackbar.scss +40 -40
  50. package/src/assets/sass/ads-ui/overrides/angular-material/_tooltip.scss +76 -76
  51. package/src/assets/sass/ads-ui/themes/_ads-palette.scss +98 -98
  52. package/types/ascentgl-ads-ui.d.ts +15 -2
@@ -1,98 +1,98 @@
1
- $primary: (
2
- 50: #e0e9f1,
3
- 100: #b3c8db,
4
- 200: #80a4c3,
5
- 300: #4d80ab,
6
- 400: #266499,
7
- 500: #5756b3,
8
- 600: #00427f,
9
- 700: #003974,
10
- 800: #00316a,
11
- 900: #002157,
12
- A100: #89aaff,
13
- A200: #5685ff,
14
- A400: #2361ff,
15
- A700: #094fff,
16
- contrast: (
17
- 50: #000,
18
- 100: #000,
19
- 200: #000,
20
- 300: #fff,
21
- 400: #fff,
22
- 500: #fff,
23
- 600: #fff,
24
- 700: #fff,
25
- 800: #fff,
26
- 900: #fff,
27
- A100: #000,
28
- A200: #000,
29
- A400: #fff,
30
- A700: #fff,
31
- ),
32
- );
33
-
34
- $accent: (
35
- 50: #e0f3f9,
36
- 100: #b3e0f0,
37
- 200: #80cce6,
38
- 300: #4db8db,
39
- 400: #26a8d4,
40
- 500: #09c,
41
- 600: #0091c7,
42
- 700: #0086c0,
43
- 800: #007cb9,
44
- 900: #006bad,
45
- A100: #d7edff,
46
- A200: #a4d7ff,
47
- A400: #71c0ff,
48
- A700: #58b5ff,
49
- contrast: (
50
- 50: #000,
51
- 100: #000,
52
- 200: #000,
53
- 300: #000,
54
- 400: #000,
55
- 500: #fff,
56
- 600: #fff,
57
- 700: #fff,
58
- 800: #fff,
59
- 900: #fff,
60
- A100: #000,
61
- A200: #000,
62
- A400: #000,
63
- A700: #000,
64
- ),
65
- );
66
-
67
- $warn: (
68
- 50: #f7e0e2,
69
- 100: #ebb3b8,
70
- 200: #de8088,
71
- 300: #d04d58,
72
- 400: #c62635,
73
- 500: #bc0011,
74
- 600: #b6000f,
75
- 700: #ad000c,
76
- 800: #a5000a,
77
- 900: #970005,
78
- A100: #ffc2c2,
79
- A200: #ff8f90,
80
- A400: #ff5c5d,
81
- A700: #ff4244,
82
- contrast: (
83
- 50: #000,
84
- 100: #000,
85
- 200: #000,
86
- 300: #000,
87
- 400: #000,
88
- 500: #fff,
89
- 600: #fff,
90
- 700: #fff,
91
- 800: #fff,
92
- 900: #fff,
93
- A100: #000,
94
- A200: #000,
95
- A400: #000,
96
- A700: #000,
97
- ),
98
- );
1
+ $primary: (
2
+ 50: #e0e9f1,
3
+ 100: #b3c8db,
4
+ 200: #80a4c3,
5
+ 300: #4d80ab,
6
+ 400: #266499,
7
+ 500: #5756b3,
8
+ 600: #00427f,
9
+ 700: #003974,
10
+ 800: #00316a,
11
+ 900: #002157,
12
+ A100: #89aaff,
13
+ A200: #5685ff,
14
+ A400: #2361ff,
15
+ A700: #094fff,
16
+ contrast: (
17
+ 50: #000,
18
+ 100: #000,
19
+ 200: #000,
20
+ 300: #fff,
21
+ 400: #fff,
22
+ 500: #fff,
23
+ 600: #fff,
24
+ 700: #fff,
25
+ 800: #fff,
26
+ 900: #fff,
27
+ A100: #000,
28
+ A200: #000,
29
+ A400: #fff,
30
+ A700: #fff,
31
+ ),
32
+ );
33
+
34
+ $accent: (
35
+ 50: #e0f3f9,
36
+ 100: #b3e0f0,
37
+ 200: #80cce6,
38
+ 300: #4db8db,
39
+ 400: #26a8d4,
40
+ 500: #09c,
41
+ 600: #0091c7,
42
+ 700: #0086c0,
43
+ 800: #007cb9,
44
+ 900: #006bad,
45
+ A100: #d7edff,
46
+ A200: #a4d7ff,
47
+ A400: #71c0ff,
48
+ A700: #58b5ff,
49
+ contrast: (
50
+ 50: #000,
51
+ 100: #000,
52
+ 200: #000,
53
+ 300: #000,
54
+ 400: #000,
55
+ 500: #fff,
56
+ 600: #fff,
57
+ 700: #fff,
58
+ 800: #fff,
59
+ 900: #fff,
60
+ A100: #000,
61
+ A200: #000,
62
+ A400: #000,
63
+ A700: #000,
64
+ ),
65
+ );
66
+
67
+ $warn: (
68
+ 50: #f7e0e2,
69
+ 100: #ebb3b8,
70
+ 200: #de8088,
71
+ 300: #d04d58,
72
+ 400: #c62635,
73
+ 500: #bc0011,
74
+ 600: #b6000f,
75
+ 700: #ad000c,
76
+ 800: #a5000a,
77
+ 900: #970005,
78
+ A100: #ffc2c2,
79
+ A200: #ff8f90,
80
+ A400: #ff5c5d,
81
+ A700: #ff4244,
82
+ contrast: (
83
+ 50: #000,
84
+ 100: #000,
85
+ 200: #000,
86
+ 300: #000,
87
+ 400: #000,
88
+ 500: #fff,
89
+ 600: #fff,
90
+ 700: #fff,
91
+ 800: #fff,
92
+ 900: #fff,
93
+ A100: #000,
94
+ A200: #000,
95
+ A400: #000,
96
+ A700: #000,
97
+ ),
98
+ );
@@ -1359,6 +1359,13 @@ declare class AdsInputComponent extends AbstractInputComponent implements OnInit
1359
1359
  readOnly: boolean;
1360
1360
  /** Show search icon */
1361
1361
  showSearchIcon: boolean;
1362
+ /** Minimum allowed numeric value. When `type="number"`, sets the native `min` attribute
1363
+ * (limits spinner + browser validation) and blocks paste of values below it.
1364
+ * Also allows typing `-` when the min value is negative. */
1365
+ min?: number;
1366
+ /** Maximum allowed numeric value. When `type="number"`, sets the native `max` attribute
1367
+ * (limits spinner + browser validation) and blocks paste of values above it. */
1368
+ max?: number;
1362
1369
  /** Custom function to execute on focus event */
1363
1370
  onFocus: (event: FocusEvent) => void;
1364
1371
  /** Custom function to execute on blur event */
@@ -1376,12 +1383,14 @@ declare class AdsInputComponent extends AbstractInputComponent implements OnInit
1376
1383
  showHidePassword(): void;
1377
1384
  /** @ignore */
1378
1385
  restrictInput(event: KeyboardEvent): void;
1386
+ /** @ignore Prevents paste of values outside [min, max] or non-numeric text for number inputs. */
1387
+ handlePaste(event: ClipboardEvent): void;
1379
1388
  /** @ignore — prevents focus on read-only inputs */
1380
1389
  handleFocusInternal(event: FocusEvent): void;
1381
1390
  /** @ignore Prevent scroll wheel from changing number input value */
1382
1391
  preventScroll(event: WheelEvent): void;
1383
1392
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputComponent, never>;
1384
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputComponent, "ads-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "isPasswordField": { "alias": "isPasswordField"; "required": false; }; "showClockIcon": { "alias": "showClockIcon"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; }; "matAutocomplete": { "alias": "matAutocomplete"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showSearchIcon": { "alias": "showSearchIcon"; "required": false; }; "onFocus": { "alias": "onFocus"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "rightHint": { "alias": "rightHint"; "required": false; }; }, {}, never, never, true, never>;
1393
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputComponent, "ads-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "isPasswordField": { "alias": "isPasswordField"; "required": false; }; "showClockIcon": { "alias": "showClockIcon"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; }; "matAutocomplete": { "alias": "matAutocomplete"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showSearchIcon": { "alias": "showSearchIcon"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "onFocus": { "alias": "onFocus"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "rightHint": { "alias": "rightHint"; "required": false; }; }, {}, never, never, true, never>;
1385
1394
  }
1386
1395
 
1387
1396
  declare class AdsPhoneFieldComponent extends AbstractInputComponent implements OnInit, OnDestroy {
@@ -1461,6 +1470,10 @@ declare class AdsInputDropdownComponent extends AbstractInputComponent implement
1461
1470
  decimalMarker: "." | "," | [".", ","];
1462
1471
  /** Transform function applied to the model value before it is written to the FormControl */
1463
1472
  outputTransformFn: OutputTransformFn | null;
1473
+ /** Minimum allowed numeric value. Forwarded to the inner `ads-input` when `type="number"`. */
1474
+ min?: number;
1475
+ /** Maximum allowed numeric value. Forwarded to the inner `ads-input` when `type="number"`. */
1476
+ max?: number;
1464
1477
  /** Custom function to execute on blur event */
1465
1478
  onBlur: (event: FocusEvent) => void;
1466
1479
  /** Set to true if you want to enable option tooltip */
@@ -1479,7 +1492,7 @@ declare class AdsInputDropdownComponent extends AbstractInputComponent implement
1479
1492
  immediateValidation: SimpleChange;
1480
1493
  }): void;
1481
1494
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputDropdownComponent, never>;
1482
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputDropdownComponent, "ads-input-dropdown", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "dropdownControl": { "alias": "dropdownControl"; "required": false; }; "dropdownId": { "alias": "dropdownId"; "required": false; }; "dropdownLabel": { "alias": "dropdownLabel"; "required": false; }; "dropdownPlaceholder": { "alias": "dropdownPlaceholder"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "autoSelectSingleDropdownOption": { "alias": "autoSelectSingleDropdownOption"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayValueKey": { "alias": "displayValueKey"; "required": false; }; "hasEmptyValue": { "alias": "hasEmptyValue"; "required": false; }; "fitContent": { "alias": "fitContent"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "closeOnOutOfView": { "alias": "closeOnOutOfView"; "required": false; }; "outOfViewRootMargin": { "alias": "outOfViewRootMargin"; "required": false; }; }, {}, never, never, true, never>;
1495
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputDropdownComponent, "ads-input-dropdown", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "dropdownControl": { "alias": "dropdownControl"; "required": false; }; "dropdownId": { "alias": "dropdownId"; "required": false; }; "dropdownLabel": { "alias": "dropdownLabel"; "required": false; }; "dropdownPlaceholder": { "alias": "dropdownPlaceholder"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "autoSelectSingleDropdownOption": { "alias": "autoSelectSingleDropdownOption"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayValueKey": { "alias": "displayValueKey"; "required": false; }; "hasEmptyValue": { "alias": "hasEmptyValue"; "required": false; }; "fitContent": { "alias": "fitContent"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "dropSpecialCharacters": { "alias": "dropSpecialCharacters"; "required": false; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; }; "decimalMarker": { "alias": "decimalMarker"; "required": false; }; "outputTransformFn": { "alias": "outputTransformFn"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "closeOnOutOfView": { "alias": "closeOnOutOfView"; "required": false; }; "outOfViewRootMargin": { "alias": "outOfViewRootMargin"; "required": false; }; }, {}, never, never, true, never>;
1483
1496
  }
1484
1497
 
1485
1498
  declare class AdsCurrencyFieldComponent extends AbstractInputComponent {