@ascentgl/ads-ui 22.13.0 → 22.14.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 +253 -239
  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 +51 -51
  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 -3
@@ -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
+ );
@@ -159,7 +159,7 @@ declare class AdsButtonComponent {
159
159
  /** Whether the button is a smaller version */
160
160
  size: i0.InputSignal<Size>;
161
161
  /** Sets the "type" attribute on the button */
162
- type: i0.InputSignal<"button" | "submit" | "reset">;
162
+ type: i0.InputSignal<"reset" | "submit" | "button">;
163
163
  /** Makes the button take 100% width of its container */
164
164
  fullWidth: i0.InputSignal<boolean>;
165
165
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonComponent, never>;
@@ -1925,8 +1925,6 @@ declare class AdsDatepickerComponent extends AdsDatetimepickerComponent implemen
1925
1925
  /** @ignore */
1926
1926
  private elementRef;
1927
1927
  /** @ignore */
1928
- private readonly overlayContainerRef;
1929
- /** @ignore */
1930
1928
  private intersectionObserver?;
1931
1929
  /** @ignore - Cleanup for scroll passthrough (pointerdown + scroll listeners) */
1932
1930
  private scrollPassthroughCleanup?;
@@ -1943,12 +1941,26 @@ declare class AdsDatepickerComponent extends AdsDatetimepickerComponent implemen
1943
1941
  * Disabling pointer events on the backdrop lets the browser handle scrolling
1944
1942
  * natively (preserving momentum / inertia). A document-level pointerdown
1945
1943
  * listener replaces the lost backdrop click-to-close behaviour.
1944
+ *
1945
+ * Everything here is scoped to *this* picker's own overlay via {@link getPopupRef}. Reading the
1946
+ * shared `OverlayContainer` instead returns whichever overlay was created first, so a picker used
1947
+ * inside a dialog silently operated on the dialog's backdrop and pane: the dialog lost its
1948
+ * click-outside behavior, and — because a calendar cell is not inside the dialog's pane — the
1949
+ * pointerdown listener treated every click on the calendar as "outside" and closed the picker
1950
+ * before it could select a date.
1946
1951
  */
1947
1952
  onOpened(): void;
1948
1953
  /** @ignore */
1949
1954
  onClosed(): void;
1950
1955
  /** @ignore */
1951
1956
  private setupScrollPassthrough;
1957
+ /**
1958
+ * @ignore - This picker's own calendar overlay, or undefined while it is closed.
1959
+ * `_popupRef` is private in `MatDatetimepickerComponent`, hence the cast; it is the only handle on
1960
+ * the overlay this picker created, and the only safe one — the `OverlayContainer` is shared by
1961
+ * every overlay on the page.
1962
+ */
1963
+ private getPopupRef;
1952
1964
  /** @ignore - Walk up the DOM to find the first ancestor with overflow-y: auto|scroll */
1953
1965
  private findScrollableAncestor;
1954
1966
  /** @ignore - Override to dispatch change event on blur when input was modified programmatically */