@ascentgl/ads-ui 22.18.4 → 22.18.5

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 +258 -242
  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 +73 -73
  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 +20 -6
@@ -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
+ );
@@ -96,7 +96,7 @@ declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
96
96
  /** provide icon name. NOTE: the icon must be registered in icon registry **/
97
97
  name: i0.InputSignal<adsIcon>;
98
98
  /** choose ads icon theme **/
99
- theme: i0.InputSignal<"primary" | "iconPrimary" | "success" | "warn" | "white">;
99
+ theme: i0.InputSignal<"iconPrimary" | "primary" | "success" | "warn" | "white">;
100
100
  /** set badge value as number **/
101
101
  value: i0.InputSignal<number>;
102
102
  /** @ignore **/
@@ -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<"submit" | "button" | "reset">;
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>;
@@ -168,7 +168,7 @@ declare class AdsButtonComponent {
168
168
 
169
169
  declare class AdsButtonContainerComponent {
170
170
  /** How buttons in the container should be placed */
171
- justify: i0.InputSignal<"flex-start" | "flex-end" | "center">;
171
+ justify: i0.InputSignal<"center" | "flex-start" | "flex-end">;
172
172
  /** The gap between elements */
173
173
  gap: i0.InputSignal<number>;
174
174
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsButtonContainerComponent, never>;
@@ -1728,6 +1728,20 @@ declare class AdsSearchDropdownComponent extends AbstractDropdownComponent imple
1728
1728
  private previousValueControlValue?;
1729
1729
  /** @ignore */
1730
1730
  private allOptions;
1731
+ /** @ignore - Map and sortOptions the cached displayedOptionsList was built from */
1732
+ private displayedOptionsListSource?;
1733
+ /** @ignore */
1734
+ private displayedOptionsListCache;
1735
+ /**
1736
+ * @ignore
1737
+ * displayedOptions as an ordered list for the template. The keyvalue pipe can't be used here:
1738
+ * its differ ignores a pure reorder of the same keys, so the panel kept the old order.
1739
+ * Every change to displayedOptions assigns a new Map, so the list is rebuilt per Map reference.
1740
+ */
1741
+ get displayedOptionsList(): {
1742
+ key: DropdownComponentOption;
1743
+ value: string;
1744
+ }[];
1731
1745
  private hostEl;
1732
1746
  private intersectionObserver?;
1733
1747
  constructor(cdr: ChangeDetectorRef, renderer: Renderer2, ref: ElementRef);
@@ -2864,7 +2878,7 @@ declare class AdsSortMenuComponent implements OnChanges, OnDestroy {
2864
2878
  /** All column sort/filter configs (all possible columns) */
2865
2879
  columnSortFilterConfigs: ColumnSortFilterConfig[];
2866
2880
  /** Current column sort states from the table */
2867
- columnSortStates: Map<string, "desc" | "asc" | null>;
2881
+ columnSortStates: Map<string, "asc" | "desc" | null>;
2868
2882
  /** Emits when sort configuration changes (order or direction) */
2869
2883
  sortChanged: EventEmitter<SortMenuChangeEvent>;
2870
2884
  /** Emits when sorts are removed for columns */
@@ -2981,7 +2995,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
2981
2995
  values: string[];
2982
2996
  }>;
2983
2997
  /** Event emitted when view mode changes between grid and list */
2984
- viewChanged: EventEmitter<"list" | "grid">;
2998
+ viewChanged: EventEmitter<"grid" | "list">;
2985
2999
  /** @ignore - Current view mode: grid or list */
2986
3000
  isListView: i0.WritableSignal<boolean>;
2987
3001
  /** @ignore - Cached filtered row data for list view */
@@ -3021,7 +3035,7 @@ declare class AdsTableComponent implements AfterViewInit, AfterViewChecked, OnCh
3021
3035
  /** @ignore */
3022
3036
  activeColumnMenu: i0.WritableSignal<string | null>;
3023
3037
  /** @ignore */
3024
- columnSortStates: i0.WritableSignal<Map<string, "desc" | "asc" | null>>;
3038
+ columnSortStates: i0.WritableSignal<Map<string, "asc" | "desc" | null>>;
3025
3039
  /** @ignore */
3026
3040
  columnFilterStates: i0.WritableSignal<Map<string, string[]>>;
3027
3041
  /** @ignore */