@ng-matero/extensions 20.1.1 → 20.2.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 (45) hide show
  1. package/_index.scss +0 -1
  2. package/alert/_alert-theme.scss +19 -28
  3. package/alert/_m2-alert.scss +34 -51
  4. package/colorpicker/_colorpicker-theme.scss +24 -31
  5. package/colorpicker/_m2-colorpicker.scss +12 -35
  6. package/column-resize/index.d.ts +0 -1
  7. package/core/index.d.ts +1 -2
  8. package/core/tokens/_m2-utils.scss +17 -100
  9. package/core/tokens/_token-utils.scss +7 -27
  10. package/datetimepicker/_datetimepicker-theme.scss +24 -48
  11. package/datetimepicker/_m2-datetimepicker.scss +81 -131
  12. package/datetimepicker/_m3-datetimepicker.scss +18 -15
  13. package/datetimepicker/index.d.ts +10 -28
  14. package/drawer/_drawer-theme.scss +17 -26
  15. package/drawer/_m2-drawer.scss +12 -34
  16. package/fesm2022/mtxButton.mjs +13 -2
  17. package/fesm2022/mtxButton.mjs.map +1 -1
  18. package/fesm2022/mtxColumnResize.mjs +1 -1
  19. package/fesm2022/mtxColumnResize.mjs.map +1 -1
  20. package/fesm2022/mtxCore.mjs.map +1 -1
  21. package/fesm2022/mtxDatetimepicker.mjs +4 -4
  22. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  23. package/fesm2022/mtxTooltip.mjs.map +1 -1
  24. package/grid/_grid-theme.scss +17 -26
  25. package/grid/_m2-grid.scss +37 -56
  26. package/loader/_loader-theme.scss +17 -26
  27. package/loader/_m2-loader.scss +9 -32
  28. package/package.json +28 -28
  29. package/popover/_m2-popover.scss +15 -37
  30. package/popover/_popover-theme.scss +16 -24
  31. package/prebuilt-themes/deeppurple-amber.css +1 -1
  32. package/prebuilt-themes/indigo-pink.css +1 -1
  33. package/prebuilt-themes/pink-bluegrey.css +1 -1
  34. package/prebuilt-themes/purple-green.css +1 -1
  35. package/progress/_m2-progress.scss +29 -44
  36. package/progress/_progress-theme.scss +17 -26
  37. package/select/_m2-select.scss +40 -67
  38. package/select/_m3-select.scss +2 -1
  39. package/select/_select-theme.scss +22 -29
  40. package/split/_m2-split.scss +13 -34
  41. package/split/_split-theme.scss +21 -30
  42. package/tooltip/_m2-tooltip.scss +18 -43
  43. package/tooltip/_tooltip-theme.scss +16 -21
  44. package/tooltip/index.d.ts +2 -2
  45. package/core/tokens/_m2-tokens.scss +0 -71
@@ -1,149 +1,99 @@
1
1
  @use 'sass:color';
2
2
  @use 'sass:map';
3
3
  @use 'sass:meta';
4
- @use '@angular/material' as mat;
5
4
  @use '../core/tokens/m2-utils';
5
+ @use '../core/tokens/m3-utils';
6
6
  @use '../core/style/elevation';
7
7
 
8
- $_selected-fade-amount: .6;
9
- $_today-fade-amount: .2;
10
-
11
- @function private-get-calendar-color-palette-color-tokens($theme, $palette-name) {
12
- $palette-color: mat.get-theme-color($theme, $palette-name);
13
- $default-contrast: mat.get-theme-color($theme, $palette-name, default-contrast);
14
- $active-background-color: mat.get-theme-color($theme, $palette-name, 0.3);
15
- $active-disabled-color: null;
16
-
17
- @if (meta.type-of($palette-color) == color) {
18
- $active-disabled-color: color.adjust($palette-color, $alpha: -$_selected-fade-amount);
19
- }
20
- @else {
21
- $active-disabled-color: mat.get-theme-color($theme, foreground, disabled-button);
22
- }
8
+ @function get-tokens($theme) {
9
+ $system: m2-utils.get-system($theme);
23
10
 
24
11
  @return (
25
- datetimepicker-calendar-header-background-color: $palette-color,
26
-
27
- datetimepicker-calendar-date-selected-state-text-color: $default-contrast,
28
- datetimepicker-calendar-date-selected-state-background-color: $palette-color,
29
- datetimepicker-calendar-date-selected-disabled-state-background-color: $active-disabled-color,
30
- datetimepicker-calendar-date-today-selected-state-outline-color: $default-contrast,
31
- datetimepicker-calendar-date-focus-state-background-color: $active-background-color,
32
- datetimepicker-calendar-date-hover-state-background-color: $active-background-color,
33
-
34
- datetimepicker-clock-hand-background-color: $palette-color,
35
- datetimepicker-clock-cell-selected-state-background-color: $palette-color,
36
-
37
- datetimepicker-time-input-active-state-text-color: $palette-color,
38
- datetimepicker-time-input-active-state-background-color: mat.get-theme-color($theme, $palette-name, 0.2),
39
- datetimepicker-time-input-focus-state-outline-color: $palette-color,
40
- datetimepicker-time-input-focus-state-placeholder-text-color: mat.get-theme-color($theme, $palette-name, 0.6),
41
-
42
- datetimepicker-time-ampm-selected-state-background-color: mat.get-theme-color($theme, $palette-name, 0.2),
43
- );
44
- }
45
-
46
- @function private-get-toggle-color-palette-color-tokens($theme, $palette-name) {
47
- @return (
48
- datetimepicker-toggle-active-state-icon-color: mat.get-theme-color($theme, $palette-name, text),
49
- );
50
- }
51
-
52
- // Tokens that can't be configured through Angular Material's current theming API,
53
- // but may be in a future version of the theming API.
54
- @function get-unthemable-tokens() {
55
- @return (
56
- datetimepicker-container-elevation-shadow: elevation.get-box-shadow(4),
57
- datetimepicker-container-touch-elevation-shadow: elevation.get-box-shadow(24),
58
- datetimepicker-container-shape: 4px,
59
- datetimepicker-container-touch-shape: 4px,
60
- datetimepicker-selector-container-shape: 4px,
12
+ base: (
13
+ datetimepicker-container-elevation-shadow: elevation.get-box-shadow(4),
14
+ datetimepicker-container-touch-elevation-shadow: elevation.get-box-shadow(24),
15
+ datetimepicker-container-shape: 4px,
16
+ datetimepicker-container-touch-shape: 4px,
17
+ datetimepicker-selector-container-shape: 4px,
18
+ ),
19
+ color: private-get-color-palette-color-tokens($theme, primary),
20
+ typography: (
21
+ datetimepicker-calendar-text-font: map.get($system, body-large-font),
22
+ datetimepicker-calendar-text-size: 13px,
23
+ datetimepicker-calendar-body-label-text-size: map.get($system, label-small-size),
24
+ datetimepicker-calendar-body-label-text-weight: map.get($system, label-small-weight),
25
+ datetimepicker-calendar-period-button-text-size: map.get($system, label-small-size),
26
+ datetimepicker-calendar-period-button-text-weight: map.get($system, label-small-weight),
27
+ datetimepicker-calendar-table-header-text-size: 11px,
28
+ datetimepicker-calendar-table-header-text-weight: map.get($system, body-large-weight),
29
+ datetimepicker-clock-text-size: 14px,
30
+ ),
31
+ density: ()
61
32
  );
62
33
  }
63
34
 
64
35
  // Tokens that can be configured through Angular Material's color theming API.
65
- @function get-color-tokens($theme) {
66
- $inactive-icon-color: mat.get-theme-color($theme, foreground, icon);
67
- $text-color: mat.get-theme-color($theme, foreground, text);
68
- $secondary-text-color: mat.get-theme-color($theme, foreground, secondary-text);
69
- $disabled-text-color: mat.get-theme-color($theme, foreground, disabled-text);
70
- $divider-color: mat.get-theme-color($theme, foreground, divider);
71
- $hint-text-color: mat.get-theme-color($theme, foreground, hint-text);
72
- $preview-outline-color: $divider-color;
73
- $today-disabled-outline-color: null;
74
-
75
- $primary-color: mat.get-theme-color($theme, primary);
76
- $calendar-tokens: private-get-calendar-color-palette-color-tokens($theme, primary);
77
- $toggle-tokens: private-get-toggle-color-palette-color-tokens($theme, primary);
78
-
79
- @return mat.private-merge-all($calendar-tokens, $toggle-tokens, (
80
- datetimepicker-toggle-icon-color: $inactive-icon-color,
81
- datetimepicker-calendar-body-label-text-color: $secondary-text-color,
82
- datetimepicker-calendar-body-week-number-text-color: $secondary-text-color,
83
- // datetimepicker-calendar-period-button-icon-color: $inactive-icon-color,
84
- // datetimepicker-calendar-navigation-button-icon-color: $inactive-icon-color,
85
- datetimepicker-calendar-header-text-color: white,
86
- datetimepicker-calendar-header-divider-color: transparent,
87
- datetimepicker-calendar-table-header-text-color: $secondary-text-color,
88
-
89
- // Note: though it's not text, the border is a hint about the fact
90
- // that this is today's date, so we use the hint color.
91
- datetimepicker-calendar-date-today-outline-color: $hint-text-color,
92
- // datetimepicker-calendar-date-today-disabled-state-outline-color: $today-disabled-outline-color,
93
- datetimepicker-calendar-date-text-color: $text-color,
94
- datetimepicker-calendar-date-outline-color: transparent,
95
- datetimepicker-calendar-date-disabled-state-text-color: $disabled-text-color,
96
- // datetimepicker-calendar-date-preview-state-outline-color: $preview-outline-color,
97
-
98
- datetimepicker-container-background-color: mat.get-theme-color($theme, background, card),
99
- datetimepicker-container-text-color: $text-color,
100
-
101
- datetimepicker-clock-dial-background-color: $divider-color,
102
- datetimepicker-clock-cell-text-color: $text-color,
103
- datetimepicker-clock-cell-hover-state-background-color: mat.get-theme-color($theme, background, hover),
104
- datetimepicker-clock-cell-disabled-state-text-color: $disabled-text-color,
36
+ @function private-get-color-palette-color-tokens($theme, $color-variant) {
37
+ $system: m2-utils.get-system($theme);
38
+ $system: m3-utils.replace-colors-with-variant($system, primary, $color-variant);
39
+ $disabled: m3-utils.color-with-opacity(map.get($system, on-surface), 38%);
105
40
 
106
- datetimepicker-time-input-text-color: $text-color,
107
- datetimepicker-time-input-background-color: $divider-color,
108
- datetimepicker-time-input-focus-state-background-color: mat.get-theme-color($theme, background, background),
109
- datetimepicker-time-input-warn-state-outline-color: mat.get-theme-color($theme, warn),
110
- datetimepicker-time-ampm-text-color: mat.get-theme-color($theme, foreground, text, .75),
111
- datetimepicker-time-ampm-outline-color: $hint-text-color,
112
- datetimepicker-time-ampm-selected-state-text-color: $text-color,
113
- ));
114
- }
115
-
116
- // Tokens that can be configured through Angular Material's typography theming API.
117
- @function get-typography-tokens($theme) {
118
41
  @return (
119
- datetimepicker-calendar-text-font: mat.get-theme-typography($theme, body-1, font-family),
120
- datetimepicker-calendar-text-size: 13px,
121
-
122
- datetimepicker-calendar-body-label-text-size: mat.get-theme-typography($theme, button, font-size),
123
- datetimepicker-calendar-body-label-text-weight: mat.get-theme-typography($theme, button, font-weight),
124
-
125
- datetimepicker-calendar-period-button-text-size: mat.get-theme-typography($theme, button, font-size),
126
- datetimepicker-calendar-period-button-text-weight: mat.get-theme-typography($theme, button, font-weight),
127
-
128
- datetimepicker-calendar-table-header-text-size: 11px,
129
- datetimepicker-calendar-table-header-text-weight: mat.get-theme-typography($theme, body-1, font-weight),
130
-
131
- datetimepicker-clock-text-size: 14px,
132
- );
133
- }
42
+ datetimepicker-calendar-date-selected-state-text-color: map.get($system, on-primary),
43
+ datetimepicker-calendar-date-selected-state-background-color: map.get($system, primary),
44
+ datetimepicker-calendar-date-selected-disabled-state-background-color: m3-utils.color-with-opacity(
45
+ map.get($system, primary), 38%),
46
+ datetimepicker-calendar-date-today-selected-state-outline-color: map.get($system, on-primary),
47
+ datetimepicker-calendar-date-focus-state-background-color: m3-utils.color-with-opacity(
48
+ map.get($system, primary), map.get($system, focus-state-layer-opacity)),
49
+ datetimepicker-calendar-date-hover-state-background-color: m3-utils.color-with-opacity(
50
+ map.get($system, primary), map.get($system, focus-state-layer-opacity)),
51
+
52
+ datetimepicker-toggle-active-state-icon-color: map.get($system, primary),
53
+ datetimepicker-toggle-icon-color: map.get($system, on-surface-variant),
54
+ datetimepicker-calendar-body-label-text-color: map.get($system, on-surface-variant),
55
+ // datepicker-calendar-period-button-text-color: map.get($system, on-surface),
56
+ // datepicker-calendar-period-button-icon-color: map.get($system, on-surface-variant),
57
+ // datepicker-calendar-navigation-button-icon-color: map.get($system, on-surface-variant),
58
+ datetimepicker-calendar-header-divider-color: transparent,
59
+ datetimepicker-calendar-header-text-color: white,
134
60
 
135
- // Tokens that can be configured through Angular Material's density theming API.
136
- @function get-density-tokens($theme) {
137
- @return ();
138
- }
61
+ datetimepicker-calendar-body-week-number-text-color: map.get($system, on-surface-variant),
62
+ datetimepicker-calendar-header-background-color: map.get($system, primary),
63
+ datetimepicker-calendar-table-header-text-color: map.get($system, on-surface-variant),
139
64
 
140
- // Combines the tokens generated by the above functions into a single map with placeholder values.
141
- // This is used to create token slots.
142
- @function get-token-slots() {
143
- @return mat.private-deep-merge-all(
144
- get-unthemable-tokens(),
145
- get-color-tokens(m2-utils.$placeholder-color-config),
146
- get-typography-tokens(m2-utils.$placeholder-typography-config),
147
- get-density-tokens(m2-utils.$placeholder-density-config)
65
+ datetimepicker-calendar-date-today-outline-color: map.get($system, on-surface-variant),
66
+ // datetimepicker-calendar-date-today-disabled-state-outline-color: $disabled,
67
+ datetimepicker-calendar-date-text-color: map.get($system, on-surface),
68
+ datetimepicker-calendar-date-outline-color: transparent,
69
+ datetimepicker-calendar-date-disabled-state-text-color: $disabled,
70
+ // datetimepicker-calendar-date-preview-state-outline-color: map.get($system, on-surface-variant),
71
+
72
+ datetimepicker-container-background-color: map.get($system, surface),
73
+ datetimepicker-container-text-color: map.get($system, on-surface),
74
+
75
+ datetimepicker-clock-dial-background-color: map.get($system, outline),
76
+ datetimepicker-clock-cell-text-color: map.get($system, on-surface),
77
+ datetimepicker-clock-cell-hover-state-background-color: m3-utils.color-with-opacity(
78
+ map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
79
+ datetimepicker-clock-cell-disabled-state-text-color: $disabled,
80
+ datetimepicker-clock-cell-selected-state-background-color: map.get($system, primary),
81
+ datetimepicker-clock-hand-background-color: map.get($system, primary),
82
+
83
+ datetimepicker-time-input-active-state-text-color: map.get($system, primary),
84
+ datetimepicker-time-input-active-state-background-color: m3-utils.color-with-opacity(
85
+ map.get($system, primary), 20%),
86
+ datetimepicker-time-input-focus-state-outline-color: map.get($system, primary),
87
+ datetimepicker-time-input-focus-state-placeholder-text-color: m3-utils.color-with-opacity(
88
+ map.get($system, primary), 60%),
89
+ datetimepicker-time-input-text-color: map.get($system, on-surface),
90
+ datetimepicker-time-input-background-color: map.get($system, outline),
91
+ datetimepicker-time-input-focus-state-background-color: map.get($system, primary-container),
92
+ datetimepicker-time-input-warn-state-outline-color: map.get($system, error),
93
+ datetimepicker-time-ampm-text-color: m3-utils.color-with-opacity(map.get($system, on-surface), 75%),
94
+ datetimepicker-time-ampm-outline-color: m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
95
+ datetimepicker-time-ampm-selected-state-text-color: map.get($system, on-surface),
96
+ datetimepicker-time-ampm-selected-state-background-color: m3-utils.color-with-opacity(
97
+ map.get($system, primary), 20%),
148
98
  );
149
99
  }
@@ -13,22 +13,24 @@
13
13
  }
14
14
 
15
15
  $tokens: (
16
- base: (datetimepicker-container-elevation-shadow: elevation.get-box-shadow(0),
16
+ base: (
17
+ datetimepicker-container-elevation-shadow: elevation.get-box-shadow(0),
17
18
  datetimepicker-container-touch-elevation-shadow: elevation.get-box-shadow(0),
18
19
  datetimepicker-container-shape: map.get($system, corner-large),
19
20
  datetimepicker-container-touch-shape: map.get($system, corner-extra-large),
20
21
  datetimepicker-selector-container-shape: map.get($system, corner-small),
21
22
  ),
22
- color: (datetimepicker-calendar-header-background-color: transparent,
23
+ color: (
24
+ datetimepicker-calendar-header-background-color: transparent,
23
25
  datetimepicker-calendar-date-selected-state-text-color: map.get($system, on-primary),
24
26
  datetimepicker-calendar-date-selected-state-background-color: map.get($system, primary),
25
- datetimepicker-calendar-date-selected-disabled-state-background-color:
26
- m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
27
+ datetimepicker-calendar-date-selected-disabled-state-background-color: m3-utils.color-with-opacity(
28
+ map.get($system, on-surface), 38%),
27
29
  datetimepicker-calendar-date-today-selected-state-outline-color: map.get($system, primary),
28
- datetimepicker-calendar-date-focus-state-background-color:
29
- m3-utils.color-with-opacity(map.get($system, on-surface), map.get($system, focus-state-layer-opacity)),
30
- datetimepicker-calendar-date-hover-state-background-color:
31
- m3-utils.color-with-opacity(map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
30
+ datetimepicker-calendar-date-focus-state-background-color: m3-utils.color-with-opacity(
31
+ map.get($system, on-surface), map.get($system, focus-state-layer-opacity)),
32
+ datetimepicker-calendar-date-hover-state-background-color: m3-utils.color-with-opacity(
33
+ map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
32
34
  datetimepicker-toggle-active-state-icon-color: map.get($system, on-surface-variant),
33
35
  datetimepicker-toggle-icon-color: map.get($system, on-surface-variant),
34
36
  datetimepicker-calendar-body-label-text-color: map.get($system, on-surface),
@@ -39,16 +41,16 @@
39
41
  datetimepicker-calendar-date-today-outline-color: map.get($system, primary),
40
42
  datetimepicker-calendar-date-text-color: map.get($system, on-surface),
41
43
  datetimepicker-calendar-date-outline-color: transparent,
42
- datetimepicker-calendar-date-disabled-state-text-color:
43
- m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
44
+ datetimepicker-calendar-date-disabled-state-text-color: m3-utils.color-with-opacity(
45
+ map.get($system, on-surface), 38%),
44
46
  datetimepicker-container-background-color: map.get($system, surface-container-high),
45
47
  datetimepicker-container-text-color: map.get($system, on-surface),
46
48
  datetimepicker-clock-dial-background-color: map.get($system, surface-container-highest),
47
49
  datetimepicker-clock-cell-text-color: map.get($system, on-surface),
48
- datetimepicker-clock-cell-hover-state-background-color:
49
- m3-utils.color-with-opacity(map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
50
- datetimepicker-clock-cell-disabled-state-text-color:
51
- m3-utils.color-with-opacity(map.get($system, on-surface), 38%),
50
+ datetimepicker-clock-cell-hover-state-background-color: m3-utils.color-with-opacity(
51
+ map.get($system, on-surface), map.get($system, hover-state-layer-opacity)),
52
+ datetimepicker-clock-cell-disabled-state-text-color: m3-utils.color-with-opacity(
53
+ map.get($system, on-surface), 38%),
52
54
  datetimepicker-clock-cell-selected-state-background-color: map.get($system, primary),
53
55
  datetimepicker-clock-hand-background-color: map.get($system, primary),
54
56
  datetimepicker-time-input-active-state-text-color: map.get($system, on-primary-container),
@@ -64,7 +66,8 @@
64
66
  datetimepicker-time-ampm-selected-state-text-color: map.get($system, on-tertiary-container),
65
67
  datetimepicker-time-ampm-selected-state-background-color: map.get($system, tertiary-container),
66
68
  ),
67
- typography: (datetimepicker-calendar-text-font: map.get($system, body-medium-font),
69
+ typography: (
70
+ datetimepicker-calendar-text-font: map.get($system, body-medium-font),
68
71
  datetimepicker-calendar-text-size: map.get($system, body-medium-size),
69
72
  datetimepicker-calendar-body-label-text-size: map.get($system, title-small-size),
70
73
  datetimepicker-calendar-body-label-text-weight: map.get($system, title-small-weight),
@@ -229,8 +229,7 @@ declare class MtxMonthView<D> implements AfterContentInit {
229
229
  narrow: string;
230
230
  id: number;
231
231
  }[];
232
- /** Inserted by Angular inject() migration for backwards compatibility */
233
- constructor(...args: unknown[]);
232
+ constructor();
234
233
  private _activeDate;
235
234
  /**
236
235
  * The date to display in this month view (everything other than the month and year is ignored).
@@ -298,8 +297,7 @@ declare class MtxMultiYearView<D> implements AfterContentInit {
298
297
  * Null if the selected Date is in a different range.
299
298
  */
300
299
  _selectedYear: number | null;
301
- /** Inserted by Angular inject() migration for backwards compatibility */
302
- constructor(...args: unknown[]);
300
+ constructor();
303
301
  /** The date to display in this multi year view */
304
302
  get activeDate(): D;
305
303
  set activeDate(value: D);
@@ -415,8 +413,7 @@ declare class MtxTimeInput implements OnDestroy {
415
413
  private keyDownListener;
416
414
  private keyPressListener;
417
415
  private inputEventListener;
418
- /** Inserted by Angular inject() migration for backwards compatibility */
419
- constructor(...args: unknown[]);
416
+ constructor();
420
417
  get hasFocus(): any;
421
418
  get inputElement(): HTMLInputElement;
422
419
  get valid(): boolean;
@@ -512,8 +509,7 @@ declare class MtxTimeView<D> implements OnChanges, OnDestroy {
512
509
  get hour(): string;
513
510
  get minute(): string;
514
511
  prefixWithZero(value: number): string;
515
- /** Inserted by Angular inject() migration for backwards compatibility */
516
- constructor(...args: unknown[]);
512
+ constructor();
517
513
  ngOnChanges(changes: SimpleChanges): void;
518
514
  ngOnDestroy(): void;
519
515
  /** Handles keydown events on the calendar body when calendar is in clock view. */
@@ -569,8 +565,7 @@ declare class MtxYearView<D> implements AfterContentInit {
569
565
  * Null if the selected Date is in a different year.
570
566
  */
571
567
  _selectedMonth: number | null;
572
- /** Inserted by Angular inject() migration for backwards compatibility */
573
- constructor(...args: unknown[]);
568
+ constructor();
574
569
  /** The date to display in this year view (everything other than the year is ignored). */
575
570
  get activeDate(): D;
576
571
  set activeDate(value: D);
@@ -656,8 +651,7 @@ declare class MtxCalendar<D> implements AfterViewChecked, AfterContentInit, OnDe
656
651
  * for Angular to re-evaluate the view children.
657
652
  */
658
653
  private _moveFocusOnNextTick;
659
- /** Inserted by Angular inject() migration for backwards compatibility */
660
- constructor(...args: unknown[]);
654
+ constructor();
661
655
  /** The display type of datetimepicker. */
662
656
  get type(): MtxDatetimepickerType;
663
657
  set type(value: MtxDatetimepickerType);
@@ -785,8 +779,7 @@ declare class MtxDatetimepickerInput<D> implements AfterContentInit, ControlValu
785
779
  private _localeSubscription;
786
780
  /** Whether the last value set on the input was valid. */
787
781
  private _lastValueValid;
788
- /** Inserted by Angular inject() migration for backwards compatibility */
789
- constructor(...args: unknown[]);
782
+ constructor();
790
783
  /** The datetimepicker that this input is associated with. */
791
784
  set mtxDatetimepicker(value: MtxDatetimepicker<D>);
792
785
  set mtxDatetimepickerFilter(filter: (date: D | null, type: MtxDatetimepickerFilterType) => boolean);
@@ -929,8 +922,7 @@ declare class MtxDatetimepickerContent<D> implements AfterViewInit, OnDestroy {
929
922
  /** Whether the close button currently has focus. */
930
923
  _closeButtonFocused: boolean;
931
924
  _viewChanged(view: MtxCalendarView): void;
932
- /** Inserted by Angular inject() migration for backwards compatibility */
933
- constructor(...args: unknown[]);
925
+ constructor();
934
926
  ngAfterViewInit(): void;
935
927
  ngOnDestroy(): void;
936
928
  _startExitAnimation(): void;
@@ -1013,8 +1005,7 @@ declare class MtxDatetimepicker<D> implements OnDestroy {
1013
1005
  _actionsPortal: TemplatePortal | null;
1014
1006
  /** Previous selected value. */
1015
1007
  oldValue: D | null;
1016
- /** Inserted by Angular inject() migration for backwards compatibility */
1017
- constructor(...args: unknown[]);
1008
+ constructor();
1018
1009
  /** The date to open the calendar to initially. */
1019
1010
  get startAt(): D | null;
1020
1011
  set startAt(date: D | null);
@@ -1141,8 +1132,7 @@ declare class MtxDatetimepickerToggle<D> implements AfterContentInit, OnChanges,
1141
1132
  _customIcon: MtxDatetimepickerToggleIcon;
1142
1133
  /** Underlying button element. */
1143
1134
  _button: MatButton;
1144
- /** Inserted by Angular inject() migration for backwards compatibility */
1145
- constructor(...args: unknown[]);
1135
+ constructor();
1146
1136
  ngOnChanges(changes: SimpleChanges): void;
1147
1137
  ngOnDestroy(): void;
1148
1138
  ngAfterContentInit(): void;
@@ -1156,22 +1146,16 @@ declare class MtxDatetimepickerToggle<D> implements AfterContentInit, OnChanges,
1156
1146
 
1157
1147
  declare class MtxDatetimepickerApply<D> {
1158
1148
  _datetimepicker: MtxDatetimepicker<D>;
1159
- /** Inserted by Angular inject() migration for backwards compatibility */
1160
- constructor(...args: unknown[]);
1161
1149
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerApply<any>, never>;
1162
1150
  static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerApply<any>, "[mtxDatetimepickerApply]", never, {}, {}, never, never, true, never>;
1163
1151
  }
1164
1152
  declare class MtxDatetimepickerCancel<D> {
1165
1153
  _datetimepicker: MtxDatetimepicker<D>;
1166
- /** Inserted by Angular inject() migration for backwards compatibility */
1167
- constructor(...args: unknown[]);
1168
1154
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerCancel<any>, never>;
1169
1155
  static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerCancel<any>, "[mtxDatetimepickerCancel]", never, {}, {}, never, never, true, never>;
1170
1156
  }
1171
1157
  declare class MtxDatetimepickerClear<D> {
1172
1158
  _datetimepicker: MtxDatetimepicker<D>;
1173
- /** Inserted by Angular inject() migration for backwards compatibility */
1174
- constructor(...args: unknown[]);
1175
1159
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerClear<any>, never>;
1176
1160
  static ɵdir: i0.ɵɵDirectiveDeclaration<MtxDatetimepickerClear<any>, "[mtxDatetimepickerClear]", never, {}, {}, never, never, true, never>;
1177
1161
  }
@@ -1180,8 +1164,6 @@ declare class MtxDatetimepickerActions<D> implements AfterViewInit, OnDestroy {
1180
1164
  private _viewContainerRef;
1181
1165
  _template: TemplateRef<unknown>;
1182
1166
  private _portal;
1183
- /** Inserted by Angular inject() migration for backwards compatibility */
1184
- constructor(...args: unknown[]);
1185
1167
  ngAfterViewInit(): void;
1186
1168
  ngOnDestroy(): void;
1187
1169
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxDatetimepickerActions<any>, never>;
@@ -5,47 +5,39 @@
5
5
  @use './m3-drawer';
6
6
 
7
7
  @mixin base($theme) {
8
+ $tokens: map.get(m2-drawer.get-tokens($theme), base);
8
9
  @if mat.get-theme-version($theme) == 1 {
9
- @include token-utils.create-token-values(map.get(m3-drawer.get-tokens($theme), base));
10
- }
11
- @else {
12
- @include mat.private-current-selector-or-root() {
13
- @include token-utils.create-token-values-mixed(m2-drawer.get-unthemable-tokens());
14
- }
10
+ $tokens: map.get(m3-drawer.get-tokens($theme), base);
15
11
  }
12
+
13
+ @include token-utils.values($tokens);
16
14
  }
17
15
 
18
16
  @mixin color($theme) {
17
+ $tokens: map.get(m2-drawer.get-tokens($theme), color);
19
18
  @if mat.get-theme-version($theme) == 1 {
20
- @include token-utils.create-token-values(map.get(m3-drawer.get-tokens($theme), color));
21
- }
22
- @else {
23
- @include mat.private-current-selector-or-root() {
24
- @include token-utils.create-token-values-mixed(m2-drawer.get-color-tokens($theme));
25
- }
19
+ $tokens: map.get(m3-drawer.get-tokens($theme), color);
26
20
  }
21
+
22
+ @include token-utils.values($tokens);
27
23
  }
28
24
 
29
25
  @mixin typography($theme) {
26
+ $tokens: map.get(m2-drawer.get-tokens($theme), typography);
30
27
  @if mat.get-theme-version($theme) == 1 {
31
- @include token-utils.create-token-values(map.get(m3-drawer.get-tokens($theme), typography));
32
- }
33
- @else {
34
- @include mat.private-current-selector-or-root() {
35
- @include token-utils.create-token-values-mixed(m2-drawer.get-typography-tokens($theme));
36
- }
28
+ $tokens: map.get(m3-drawer.get-tokens($theme), typography);
37
29
  }
30
+
31
+ @include token-utils.values($tokens);
38
32
  }
39
33
 
40
34
  @mixin density($theme) {
35
+ $tokens: map.get(m2-drawer.get-tokens($theme), density);
41
36
  @if mat.get-theme-version($theme) == 1 {
42
- @include token-utils.create-token-values(map.get(m3-drawer.get-tokens($theme), density));
43
- }
44
- @else {
45
- @include mat.private-current-selector-or-root() {
46
- @include token-utils.create-token-values-mixed(m2-drawer.get-density-tokens($theme));
47
- }
37
+ $tokens: map.get(m3-drawer.get-tokens($theme), density);
48
38
  }
39
+
40
+ @include token-utils.values($tokens);
49
41
  }
50
42
 
51
43
  /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
@@ -68,8 +60,7 @@
68
60
  @include color($theme);
69
61
  @include density($theme);
70
62
  @include typography($theme);
71
- }
72
- @else {
63
+ } @else {
73
64
  @include base($theme);
74
65
  @if mat.theme-has($theme, color) {
75
66
  @include color($theme);
@@ -1,42 +1,20 @@
1
1
  @use 'sass:map';
2
- @use '@angular/material' as mat;
3
2
  @use '../core/tokens/m2-utils';
4
3
  @use '../core/style/elevation';
5
4
 
6
- // Tokens that can't be configured through Angular Material's current theming API,
7
- // but may be in a future version of the theming API.
8
- @function get-unthemable-tokens() {
9
- @return (
10
- drawer-container-shape: 0,
11
- drawer-container-elevation-shadow: elevation.get-box-shadow(16),
12
- );
13
- }
5
+ @function get-tokens($theme) {
6
+ $system: m2-utils.get-system($theme);
14
7
 
15
- // Tokens that can be configured through Angular Material's color theming API.
16
- @function get-color-tokens($theme) {
17
8
  @return (
18
- drawer-container-background-color: mat.get-theme-color($theme, background, dialog),
19
- drawer-container-text-color: mat.get-theme-color($theme, foreground, text),
20
- );
21
- }
22
-
23
- // Tokens that can be configured through Angular Material's typography theming API.
24
- @function get-typography-tokens($theme) {
25
- @return ();
26
- }
27
-
28
- // Tokens that can be configured through Angular Material's density theming API.
29
- @function get-density-tokens($theme) {
30
- @return ();
31
- }
32
-
33
- // Combines the tokens generated by the above functions into a single map with placeholder values.
34
- // This is used to create token slots.
35
- @function get-token-slots() {
36
- @return mat.private-deep-merge-all(
37
- get-unthemable-tokens(),
38
- get-color-tokens(m2-utils.$placeholder-color-config),
39
- get-typography-tokens(m2-utils.$placeholder-typography-config),
40
- get-density-tokens(m2-utils.$placeholder-density-config)
9
+ base: (
10
+ drawer-container-shape: 0,
11
+ drawer-container-elevation-shadow: elevation.get-box-shadow(16),
12
+ ),
13
+ color: (
14
+ drawer-container-background-color: map.get($system, surface),
15
+ drawer-container-text-color: map.get($system, on-surface),
16
+ ),
17
+ typography: (),
18
+ density: ()
41
19
  );
42
20
  }
@@ -9,6 +9,7 @@ class MatButtonLoading {
9
9
  this._elementRef = inject(ElementRef);
10
10
  this._viewContainerRef = inject(ViewContainerRef);
11
11
  this._renderer = inject(Renderer2);
12
+ this.spinner = null;
12
13
  this.loading = false;
13
14
  this.disabled = false;
14
15
  }
@@ -18,12 +19,22 @@ class MatButtonLoading {
18
19
  }
19
20
  if (changes.loading.currentValue) {
20
21
  this._elementRef.nativeElement.classList.add('mat-button-loading');
21
- setTimeout(() => this._elementRef.nativeElement.setAttribute('disabled', ''));
22
+ if (!this.disabled) {
23
+ setTimeout(() => {
24
+ this._elementRef.nativeElement.classList.add('mat-mdc-button-disabled');
25
+ this._elementRef.nativeElement.setAttribute('disabled', 'true');
26
+ });
27
+ }
22
28
  this.createSpinner();
23
29
  }
24
30
  else if (!changes.loading.firstChange) {
25
31
  this._elementRef.nativeElement.classList.remove('mat-button-loading');
26
- setTimeout(() => this._elementRef.nativeElement.removeAttribute('disabled'));
32
+ if (!this.disabled) {
33
+ setTimeout(() => {
34
+ this._elementRef.nativeElement.classList.remove('mat-mdc-button-disabled');
35
+ this._elementRef.nativeElement.removeAttribute('disabled');
36
+ });
37
+ }
27
38
  this.destroySpinner();
28
39
  }
29
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"mtxButton.mjs","sources":["../../../projects/extensions/button/button-loading.ts","../../../projects/extensions/button/button-module.ts","../../../projects/extensions/button/mtxButton.ts"],"sourcesContent":["import {\n ComponentRef,\n Directive,\n ElementRef,\n Input,\n OnChanges,\n Renderer2,\n SimpleChanges,\n ViewContainerRef,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { ThemePalette } from '@angular/material/core';\nimport { MatProgressSpinner } from '@angular/material/progress-spinner';\n\n@Directive({\n selector: `[mat-button][loading], [matButton][loading],\n [mat-raised-button][loading],\n [mat-stroked-button][loading],\n [mat-flat-button][loading],\n [mat-icon-button][loading], [matIconButton][loading],\n [mat-fab][loading], [matFab][loading],\n [mat-mini-fab][loading], [matMiniFab][loading]`,\n})\nexport class MatButtonLoading implements OnChanges {\n private _elementRef = inject<ElementRef<HTMLButtonElement>>(ElementRef);\n private _viewContainerRef = inject(ViewContainerRef);\n private _renderer = inject(Renderer2);\n\n private spinner!: ComponentRef<MatProgressSpinner> | null;\n\n @Input({ transform: booleanAttribute }) loading = false;\n\n @Input({ transform: booleanAttribute }) disabled = false;\n\n @Input() color: ThemePalette;\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!changes.loading) {\n return;\n }\n if (changes.loading.currentValue) {\n this._elementRef.nativeElement.classList.add('mat-button-loading');\n setTimeout(() => this._elementRef.nativeElement.setAttribute('disabled', ''));\n this.createSpinner();\n } else if (!changes.loading.firstChange) {\n this._elementRef.nativeElement.classList.remove('mat-button-loading');\n setTimeout(() => this._elementRef.nativeElement.removeAttribute('disabled'));\n this.destroySpinner();\n }\n }\n\n private createSpinner(): void {\n if (!this.spinner) {\n this.spinner = this._viewContainerRef.createComponent(MatProgressSpinner);\n this.spinner.instance.color = this.color;\n this.spinner.instance.diameter = 24;\n this.spinner.instance.mode = 'indeterminate';\n this._renderer.appendChild(\n this._elementRef.nativeElement,\n this.spinner.instance._elementRef.nativeElement\n );\n }\n }\n\n private destroySpinner(): void {\n if (this.spinner) {\n this.spinner.destroy();\n this.spinner = null;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatButtonLoading } from './button-loading';\n\n@NgModule({\n imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading],\n exports: [MatButtonLoading],\n})\nexport class MtxButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAwBa,gBAAgB,CAAA;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A,CAAA;kIAAf,eAAe,EAAA,OAAA,EAAA,CAHhB,YAAY,EAAE,eAAe,EAAE,wBAAwB,EAAE,gBAAgB,CAAA,EAAA,OAAA,EAAA,CACzE,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAEf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAHhB,OAAA,EAAA,CAAA,YAAY,EAAE,eAAe,EAAE,wBAAwB,CAAA,EAAA,CAAA,CAAA;;2FAGtD,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;oBACpF,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"mtxButton.mjs","sources":["../../../projects/extensions/button/button-loading.ts","../../../projects/extensions/button/button-module.ts","../../../projects/extensions/button/mtxButton.ts"],"sourcesContent":["import {\n ComponentRef,\n Directive,\n ElementRef,\n Input,\n OnChanges,\n Renderer2,\n SimpleChanges,\n ViewContainerRef,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { ThemePalette } from '@angular/material/core';\nimport { MatProgressSpinner } from '@angular/material/progress-spinner';\n\n@Directive({\n selector: `[mat-button][loading], [matButton][loading],\n [mat-raised-button][loading],\n [mat-stroked-button][loading],\n [mat-flat-button][loading],\n [mat-icon-button][loading], [matIconButton][loading],\n [mat-fab][loading], [matFab][loading],\n [mat-mini-fab][loading], [matMiniFab][loading]`,\n})\nexport class MatButtonLoading implements OnChanges {\n private _elementRef = inject<ElementRef<HTMLButtonElement>>(ElementRef);\n private _viewContainerRef = inject(ViewContainerRef);\n private _renderer = inject(Renderer2);\n\n private spinner: ComponentRef<MatProgressSpinner> | null = null;\n\n @Input({ transform: booleanAttribute }) loading = false;\n\n @Input({ transform: booleanAttribute }) disabled = false;\n\n @Input() color: ThemePalette;\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!changes.loading) {\n return;\n }\n\n if (changes.loading.currentValue) {\n this._elementRef.nativeElement.classList.add('mat-button-loading');\n\n if (!this.disabled) {\n setTimeout(() => {\n this._elementRef.nativeElement.classList.add('mat-mdc-button-disabled');\n this._elementRef.nativeElement.setAttribute('disabled', 'true');\n });\n }\n\n this.createSpinner();\n } else if (!changes.loading.firstChange) {\n this._elementRef.nativeElement.classList.remove('mat-button-loading');\n\n if (!this.disabled) {\n setTimeout(() => {\n this._elementRef.nativeElement.classList.remove('mat-mdc-button-disabled');\n this._elementRef.nativeElement.removeAttribute('disabled');\n });\n }\n\n this.destroySpinner();\n }\n }\n\n private createSpinner(): void {\n if (!this.spinner) {\n this.spinner = this._viewContainerRef.createComponent(MatProgressSpinner);\n this.spinner.instance.color = this.color;\n this.spinner.instance.diameter = 24;\n this.spinner.instance.mode = 'indeterminate';\n this._renderer.appendChild(\n this._elementRef.nativeElement,\n this.spinner.instance._elementRef.nativeElement\n );\n }\n }\n\n private destroySpinner(): void {\n if (this.spinner) {\n this.spinner.destroy();\n this.spinner = null;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatButtonLoading } from './button-loading';\n\n@NgModule({\n imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading],\n exports: [MatButtonLoading],\n})\nexport class MtxButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAwBa,gBAAgB,CAAA;AAT7B,IAAA,WAAA,GAAA;AAUU,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAg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EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAEE,QAAQ,EAAA,CAAA;sBAA/C,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAE7B,KAAK,EAAA,CAAA;sBAAb;;;MCxBU,eAAe,CAAA;iIAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kIAAf,eAAe,EAAA,OAAA,EAAA,CAHhB,YAAY,EAAE,eAAe,EAAE,wBAAwB,EAAE,gBAAgB,CAAA,EAAA,OAAA,EAAA,CACzE,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAEf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAHhB,OAAA,EAAA,CAAA,YAAY,EAAE,eAAe,EAAE,wBAAwB,CAAA,EAAA,CAAA,CAAA;;2FAGtD,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;oBACpF,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACVD;;AAEG;;;;"}
@@ -323,7 +323,7 @@ class _CoalescedStyleScheduler {
323
323
  }
324
324
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{
325
325
  type: Injectable
326
- }], ctorParameters: () => [] });
326
+ }] });
327
327
 
328
328
  /**
329
329
  * @license