@ng-matero/extensions 18.1.0 → 18.1.1

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 (119) hide show
  1. package/checkbox-group/checkbox-group.d.ts +3 -3
  2. package/core/m2/_typography.scss +172 -0
  3. package/core/style/_elevation.scss +167 -0
  4. package/core/tokens/_m3-tokens.scss +10 -10
  5. package/core/tokens/_token-utils.scss +120 -30
  6. package/core/tokens/m2/mtx/_datetimepicker.scss +3 -3
  7. package/core/tokens/m2/mtx/_drawer.scss +2 -2
  8. package/core/tokens/m2/mtx/_select.scss +2 -4
  9. package/core/tokens/m3/definitions/_index.scss +8 -0
  10. package/core/tokens/m3/definitions/_md-ref-palette.scss +100 -0
  11. package/core/tokens/m3/definitions/_md-ref-typeface.scss +14 -0
  12. package/core/tokens/m3/definitions/_md-sys-color.scss +126 -0
  13. package/core/tokens/m3/definitions/_md-sys-elevation.scss +15 -0
  14. package/core/tokens/m3/definitions/_md-sys-motion.scss +46 -0
  15. package/core/tokens/m3/definitions/_md-sys-shape.scss +24 -0
  16. package/core/tokens/m3/definitions/_md-sys-state.scss +13 -0
  17. package/core/tokens/m3/definitions/_md-sys-typescale.scss +308 -0
  18. package/core/tokens/m3/mtx/_datetimepicker.scss +3 -3
  19. package/core/tokens/m3/mtx/_drawer.scss +2 -2
  20. package/core/tokens/m3/mtx/_select.scss +2 -2
  21. package/core/typography/_all-typography.scss +2 -2
  22. package/esm2022/alert/alert-module.mjs +4 -4
  23. package/esm2022/alert/alert.mjs +3 -3
  24. package/esm2022/button/button-loading.mjs +3 -3
  25. package/esm2022/button/button-module.mjs +4 -4
  26. package/esm2022/checkbox-group/checkbox-group-module.mjs +4 -4
  27. package/esm2022/checkbox-group/checkbox-group.mjs +3 -3
  28. package/esm2022/colorpicker/colorpicker-input.mjs +3 -3
  29. package/esm2022/colorpicker/colorpicker-module.mjs +4 -4
  30. package/esm2022/colorpicker/colorpicker-toggle.mjs +6 -6
  31. package/esm2022/colorpicker/colorpicker.mjs +6 -6
  32. package/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  33. package/esm2022/column-resize/column-resize-directives/column-resize.mjs +3 -3
  34. package/esm2022/column-resize/column-resize-module.mjs +4 -4
  35. package/esm2022/column-resize/column-resize-notifier.mjs +6 -6
  36. package/esm2022/column-resize/column-resize.mjs +3 -3
  37. package/esm2022/column-resize/column-size-store.mjs +3 -3
  38. package/esm2022/column-resize/event-dispatcher.mjs +3 -3
  39. package/esm2022/column-resize/overlay-handle.mjs +3 -3
  40. package/esm2022/column-resize/resizable.mjs +3 -3
  41. package/esm2022/column-resize/resize-strategy.mjs +9 -9
  42. package/esm2022/core/datetime/datetime.module.mjs +8 -8
  43. package/esm2022/core/datetime/native-datetime-adapter.mjs +3 -3
  44. package/esm2022/core/pipes/is-template-ref.pipe.mjs +3 -3
  45. package/esm2022/core/pipes/pipes.module.mjs +4 -4
  46. package/esm2022/core/pipes/to-observable.pipe.mjs +3 -3
  47. package/esm2022/datetimepicker/calendar-body.mjs +3 -3
  48. package/esm2022/datetimepicker/calendar.mjs +3 -3
  49. package/esm2022/datetimepicker/clock.mjs +3 -3
  50. package/esm2022/datetimepicker/datetimepicker-actions.mjs +12 -12
  51. package/esm2022/datetimepicker/datetimepicker-input.mjs +3 -3
  52. package/esm2022/datetimepicker/datetimepicker-intl.mjs +3 -3
  53. package/esm2022/datetimepicker/datetimepicker-module.mjs +4 -4
  54. package/esm2022/datetimepicker/datetimepicker-toggle.mjs +6 -6
  55. package/esm2022/datetimepicker/datetimepicker.mjs +6 -6
  56. package/esm2022/datetimepicker/month-view.mjs +3 -3
  57. package/esm2022/datetimepicker/multi-year-view.mjs +3 -3
  58. package/esm2022/datetimepicker/time.mjs +6 -6
  59. package/esm2022/datetimepicker/year-view.mjs +3 -3
  60. package/esm2022/dialog/dialog-container.mjs +3 -3
  61. package/esm2022/dialog/dialog-module.mjs +4 -4
  62. package/esm2022/dialog/dialog.mjs +3 -3
  63. package/esm2022/drawer/drawer-container.mjs +3 -3
  64. package/esm2022/drawer/drawer-module.mjs +4 -4
  65. package/esm2022/drawer/drawer.mjs +3 -3
  66. package/esm2022/grid/cell.mjs +3 -3
  67. package/esm2022/grid/column-menu.mjs +3 -3
  68. package/esm2022/grid/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  69. package/esm2022/grid/column-resize/column-resize-directives/column-resize.mjs +3 -3
  70. package/esm2022/grid/column-resize/column-resize-module.mjs +8 -8
  71. package/esm2022/grid/column-resize/overlay-handle.mjs +3 -3
  72. package/esm2022/grid/column-resize/resizable-directives/resizable.mjs +3 -3
  73. package/esm2022/grid/column-resize/resize-strategy.mjs +3 -3
  74. package/esm2022/grid/expansion-toggle.mjs +3 -3
  75. package/esm2022/grid/grid-module.mjs +4 -4
  76. package/esm2022/grid/grid-pipes.mjs +21 -21
  77. package/esm2022/grid/grid-utils.mjs +3 -3
  78. package/esm2022/grid/grid.mjs +3 -3
  79. package/esm2022/grid/selectable-cell.mjs +3 -3
  80. package/esm2022/loader/loader-module.mjs +4 -4
  81. package/esm2022/loader/loader.mjs +3 -3
  82. package/esm2022/photoviewer/photoviewer-module.mjs +4 -4
  83. package/esm2022/photoviewer/photoviewer.mjs +3 -3
  84. package/esm2022/popover/popover-content.mjs +6 -6
  85. package/esm2022/popover/popover-module.mjs +4 -4
  86. package/esm2022/popover/popover-target.mjs +3 -3
  87. package/esm2022/popover/popover-trigger.mjs +3 -3
  88. package/esm2022/popover/popover.mjs +3 -3
  89. package/esm2022/progress/progress-module.mjs +4 -4
  90. package/esm2022/progress/progress.mjs +3 -3
  91. package/esm2022/select/option.mjs +3 -3
  92. package/esm2022/select/select-module.mjs +4 -4
  93. package/esm2022/select/select.mjs +3 -3
  94. package/esm2022/select/templates.mjs +33 -33
  95. package/esm2022/split/split-module.mjs +4 -4
  96. package/esm2022/split/split-pane.mjs +3 -3
  97. package/esm2022/split/split.mjs +3 -3
  98. package/esm2022/tooltip/tooltip-module.mjs +4 -4
  99. package/esm2022/tooltip/tooltip.mjs +6 -6
  100. package/fesm2022/mtxAlert.mjs +7 -7
  101. package/fesm2022/mtxButton.mjs +7 -7
  102. package/fesm2022/mtxCheckboxGroup.mjs +7 -7
  103. package/fesm2022/mtxColorpicker.mjs +19 -19
  104. package/fesm2022/mtxColumnResize.mjs +40 -40
  105. package/fesm2022/mtxCore.mjs +21 -21
  106. package/fesm2022/mtxDatetimepicker.mjs +58 -58
  107. package/fesm2022/mtxDialog.mjs +10 -10
  108. package/fesm2022/mtxDrawer.mjs +10 -10
  109. package/fesm2022/mtxGrid.mjs +66 -66
  110. package/fesm2022/mtxLoader.mjs +7 -7
  111. package/fesm2022/mtxPhotoviewer.mjs +7 -7
  112. package/fesm2022/mtxPopover.mjs +19 -19
  113. package/fesm2022/mtxProgress.mjs +7 -7
  114. package/fesm2022/mtxSelect.mjs +43 -43
  115. package/fesm2022/mtxSplit.mjs +10 -10
  116. package/fesm2022/mtxTooltip.mjs +10 -10
  117. package/package.json +7 -7
  118. package/tooltip/_tooltip-theme.scss +19 -15
  119. package/core/typography/_typography.scss +0 -40
@@ -0,0 +1,308 @@
1
+ //
2
+ // Design system display name: Material 3
3
+ // Design system version: v0.161
4
+ //
5
+
6
+ @use 'sass:map';
7
+
8
+ @use './md-ref-typeface';
9
+
10
+ $_default: (
11
+ 'md-ref-typeface': md-ref-typeface.values(),
12
+ );
13
+
14
+ @function values($deps: $_default, $exclude-hardcoded-values: false) {
15
+ @return (
16
+ // Warning: risk of reduced fidelity from using this composite typography token.
17
+ // Tokens md.sys.typescale.body-large.tracking cannot be represented in the "font"
18
+ // property shorthand. Consider using the discrete properties instead.
19
+ 'body-large':
20
+ if(
21
+ $exclude-hardcoded-values,
22
+ null,
23
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
24
+ if($exclude-hardcoded-values, null, 1rem) #{'/'} if(
25
+ $exclude-hardcoded-values,
26
+ null,
27
+ 1.5rem
28
+ ) map.get($deps, 'md-ref-typeface', 'plain')
29
+ ),
30
+ 'body-large-font': map.get($deps, 'md-ref-typeface', 'plain'),
31
+ 'body-large-line-height': if($exclude-hardcoded-values, null, 1.5rem),
32
+ 'body-large-size': if($exclude-hardcoded-values, null, 1rem),
33
+ 'body-large-tracking': if($exclude-hardcoded-values, null, 0.031rem),
34
+ 'body-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
35
+
36
+ // Warning: risk of reduced fidelity from using this composite typography token.
37
+ // Tokens md.sys.typescale.body-medium.tracking cannot be represented in the "font"
38
+ // property shorthand. Consider using the discrete properties instead.
39
+ 'body-medium':
40
+ if(
41
+ $exclude-hardcoded-values,
42
+ null,
43
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
44
+ if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
45
+ $exclude-hardcoded-values,
46
+ null,
47
+ 1.25rem
48
+ ) map.get($deps, 'md-ref-typeface', 'plain')
49
+ ),
50
+ 'body-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
51
+ 'body-medium-line-height': if($exclude-hardcoded-values, null, 1.25rem),
52
+ 'body-medium-size': if($exclude-hardcoded-values, null, 0.875rem),
53
+ 'body-medium-tracking': if($exclude-hardcoded-values, null, 0.016rem),
54
+ 'body-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
55
+ // Warning: risk of reduced fidelity from using this composite typography token.
56
+ // Tokens md.sys.typescale.body-small.tracking cannot be represented in the "font"
57
+ // property shorthand. Consider using the discrete properties instead.
58
+ 'body-small':
59
+ if(
60
+ $exclude-hardcoded-values,
61
+ null,
62
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
63
+ if($exclude-hardcoded-values, null, 0.75rem) #{'/'} if(
64
+ $exclude-hardcoded-values,
65
+ null,
66
+ 1rem
67
+ ) map.get($deps, 'md-ref-typeface', 'plain')
68
+ ),
69
+ 'body-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
70
+ 'body-small-line-height': if($exclude-hardcoded-values, null, 1rem),
71
+ 'body-small-size': if($exclude-hardcoded-values, null, 0.75rem),
72
+ 'body-small-tracking': if($exclude-hardcoded-values, null, 0.025rem),
73
+ 'body-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
74
+ // Warning: risk of reduced fidelity from using this composite typography token.
75
+ // Tokens md.sys.typescale.display-large.tracking cannot be represented in the "font"
76
+ // property shorthand. Consider using the discrete properties instead.
77
+ 'display-large':
78
+ if(
79
+ $exclude-hardcoded-values,
80
+ null,
81
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
82
+ if($exclude-hardcoded-values, null, 3.562rem) #{'/'} if(
83
+ $exclude-hardcoded-values,
84
+ null,
85
+ 4rem
86
+ ) map.get($deps, 'md-ref-typeface', 'brand')
87
+ ),
88
+ 'display-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
89
+ 'display-large-line-height': if($exclude-hardcoded-values, null, 4rem),
90
+ 'display-large-size': if($exclude-hardcoded-values, null, 3.562rem),
91
+ 'display-large-tracking': if($exclude-hardcoded-values, null, -0.016rem),
92
+ 'display-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
93
+ // Warning: risk of reduced fidelity from using this composite typography token.
94
+ // Tokens md.sys.typescale.display-medium.tracking cannot be represented in the "font"
95
+ // property shorthand. Consider using the discrete properties instead.
96
+ 'display-medium':
97
+ if(
98
+ $exclude-hardcoded-values,
99
+ null,
100
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
101
+ if($exclude-hardcoded-values, null, 2.812rem) #{'/'} if(
102
+ $exclude-hardcoded-values,
103
+ null,
104
+ 3.25rem
105
+ ) map.get($deps, 'md-ref-typeface', 'brand')
106
+ ),
107
+ 'display-medium-font': map.get($deps, 'md-ref-typeface', 'brand'),
108
+ 'display-medium-line-height': if($exclude-hardcoded-values, null, 3.25rem),
109
+ 'display-medium-size': if($exclude-hardcoded-values, null, 2.812rem),
110
+ 'display-medium-tracking': if($exclude-hardcoded-values, null, 0),
111
+ 'display-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
112
+ // Warning: risk of reduced fidelity from using this composite typography token.
113
+ // Tokens md.sys.typescale.display-small.tracking cannot be represented in the "font"
114
+ // property shorthand. Consider using the discrete properties instead.
115
+ 'display-small':
116
+ if(
117
+ $exclude-hardcoded-values,
118
+ null,
119
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
120
+ if($exclude-hardcoded-values, null, 2.25rem) #{'/'} if(
121
+ $exclude-hardcoded-values,
122
+ null,
123
+ 2.75rem
124
+ ) map.get($deps, 'md-ref-typeface', 'brand')
125
+ ),
126
+ 'display-small-font': map.get($deps, 'md-ref-typeface', 'brand'),
127
+ 'display-small-line-height': if($exclude-hardcoded-values, null, 2.75rem),
128
+ 'display-small-size': if($exclude-hardcoded-values, null, 2.25rem),
129
+ 'display-small-tracking': if($exclude-hardcoded-values, null, 0),
130
+ 'display-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
131
+ // Warning: risk of reduced fidelity from using this composite typography token.
132
+ // Tokens md.sys.typescale.headline-large.tracking cannot be represented in the "font"
133
+ // property shorthand. Consider using the discrete properties instead.
134
+ 'headline-large':
135
+ if(
136
+ $exclude-hardcoded-values,
137
+ null,
138
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
139
+ if($exclude-hardcoded-values, null, 2rem) #{'/'} if(
140
+ $exclude-hardcoded-values,
141
+ null,
142
+ 2.5rem
143
+ ) map.get($deps, 'md-ref-typeface', 'brand')
144
+ ),
145
+ 'headline-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
146
+ 'headline-large-line-height': if($exclude-hardcoded-values, null, 2.5rem),
147
+ 'headline-large-size': if($exclude-hardcoded-values, null, 2rem),
148
+ 'headline-large-tracking': if($exclude-hardcoded-values, null, 0),
149
+ 'headline-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
150
+ // Warning: risk of reduced fidelity from using this composite typography token.
151
+ // Tokens md.sys.typescale.headline-medium.tracking cannot be represented in the "font"
152
+ // property shorthand. Consider using the discrete properties instead.
153
+ 'headline-medium':
154
+ if(
155
+ $exclude-hardcoded-values,
156
+ null,
157
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
158
+ if($exclude-hardcoded-values, null, 1.75rem) #{'/'} if(
159
+ $exclude-hardcoded-values,
160
+ null,
161
+ 2.25rem
162
+ ) map.get($deps, 'md-ref-typeface', 'brand')
163
+ ),
164
+ 'headline-medium-font': map.get($deps, 'md-ref-typeface', 'brand'),
165
+ 'headline-medium-line-height': if($exclude-hardcoded-values, null, 2.25rem),
166
+ 'headline-medium-size': if($exclude-hardcoded-values, null, 1.75rem),
167
+ 'headline-medium-tracking': if($exclude-hardcoded-values, null, 0),
168
+ 'headline-medium-weight':
169
+ map.get($deps, 'md-ref-typeface', 'weight-regular'),
170
+ // Warning: risk of reduced fidelity from using this composite typography token.
171
+ // Tokens md.sys.typescale.headline-small.tracking cannot be represented in the "font"
172
+ // property shorthand. Consider using the discrete properties instead.
173
+ 'headline-small':
174
+ if(
175
+ $exclude-hardcoded-values,
176
+ null,
177
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
178
+ if($exclude-hardcoded-values, null, 1.5rem) #{'/'} if(
179
+ $exclude-hardcoded-values,
180
+ null,
181
+ 2rem
182
+ ) map.get($deps, 'md-ref-typeface', 'brand')
183
+ ),
184
+ 'headline-small-font': map.get($deps, 'md-ref-typeface', 'brand'),
185
+ 'headline-small-line-height': if($exclude-hardcoded-values, null, 2rem),
186
+ 'headline-small-size': if($exclude-hardcoded-values, null, 1.5rem),
187
+ 'headline-small-tracking': if($exclude-hardcoded-values, null, 0),
188
+ 'headline-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
189
+ // Warning: risk of reduced fidelity from using this composite typography token.
190
+ // Tokens md.sys.typescale.label-large.tracking cannot be represented in the "font"
191
+ // property shorthand. Consider using the discrete properties instead.
192
+ 'label-large':
193
+ if(
194
+ $exclude-hardcoded-values,
195
+ null,
196
+ map.get($deps, 'md-ref-typeface', 'weight-medium')
197
+ if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
198
+ $exclude-hardcoded-values,
199
+ null,
200
+ 1.25rem
201
+ ) map.get($deps, 'md-ref-typeface', 'plain')
202
+ ),
203
+ 'label-large-font': map.get($deps, 'md-ref-typeface', 'plain'),
204
+ 'label-large-line-height': if($exclude-hardcoded-values, null, 1.25rem),
205
+ 'label-large-size': if($exclude-hardcoded-values, null, 0.875rem),
206
+ 'label-large-tracking': if($exclude-hardcoded-values, null, 0.006rem),
207
+ 'label-large-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
208
+ 'label-large-weight-prominent':
209
+ map.get($deps, 'md-ref-typeface', 'weight-bold'),
210
+ // Warning: risk of reduced fidelity from using this composite typography token.
211
+ // Tokens md.sys.typescale.label-medium.tracking cannot be represented in the "font"
212
+ // property shorthand. Consider using the discrete properties instead.
213
+ 'label-medium':
214
+ if(
215
+ $exclude-hardcoded-values,
216
+ null,
217
+ map.get($deps, 'md-ref-typeface', 'weight-medium')
218
+ if($exclude-hardcoded-values, null, 0.75rem) #{'/'} if(
219
+ $exclude-hardcoded-values,
220
+ null,
221
+ 1rem
222
+ ) map.get($deps, 'md-ref-typeface', 'plain')
223
+ ),
224
+ 'label-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
225
+ 'label-medium-line-height': if($exclude-hardcoded-values, null, 1rem),
226
+ 'label-medium-size': if($exclude-hardcoded-values, null, 0.75rem),
227
+ 'label-medium-tracking': if($exclude-hardcoded-values, null, 0.031rem),
228
+ 'label-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
229
+ 'label-medium-weight-prominent':
230
+ map.get($deps, 'md-ref-typeface', 'weight-bold'),
231
+ // Warning: risk of reduced fidelity from using this composite typography token.
232
+ // Tokens md.sys.typescale.label-small.tracking cannot be represented in the "font"
233
+ // property shorthand. Consider using the discrete properties instead.
234
+ 'label-small':
235
+ if(
236
+ $exclude-hardcoded-values,
237
+ null,
238
+ map.get($deps, 'md-ref-typeface', 'weight-medium')
239
+ if($exclude-hardcoded-values, null, 0.688rem) #{'/'} if(
240
+ $exclude-hardcoded-values,
241
+ null,
242
+ 1rem
243
+ ) map.get($deps, 'md-ref-typeface', 'plain')
244
+ ),
245
+ 'label-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
246
+ 'label-small-line-height': if($exclude-hardcoded-values, null, 1rem),
247
+ 'label-small-size': if($exclude-hardcoded-values, null, 0.688rem),
248
+ 'label-small-tracking': if($exclude-hardcoded-values, null, 0.031rem),
249
+ 'label-small-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
250
+ // Warning: risk of reduced fidelity from using this composite typography token.
251
+ // Tokens md.sys.typescale.title-large.tracking cannot be represented in the "font"
252
+ // property shorthand. Consider using the discrete properties instead.
253
+ 'title-large':
254
+ if(
255
+ $exclude-hardcoded-values,
256
+ null,
257
+ map.get($deps, 'md-ref-typeface', 'weight-regular')
258
+ if($exclude-hardcoded-values, null, 1.375rem) #{'/'} if(
259
+ $exclude-hardcoded-values,
260
+ null,
261
+ 1.75rem
262
+ ) map.get($deps, 'md-ref-typeface', 'brand')
263
+ ),
264
+ 'title-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
265
+ 'title-large-line-height': if($exclude-hardcoded-values, null, 1.75rem),
266
+ 'title-large-size': if($exclude-hardcoded-values, null, 1.375rem),
267
+ 'title-large-tracking': if($exclude-hardcoded-values, null, 0),
268
+ 'title-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
269
+ // Warning: risk of reduced fidelity from using this composite typography token.
270
+ // Tokens md.sys.typescale.title-medium.tracking cannot be represented in the "font"
271
+ // property shorthand. Consider using the discrete properties instead.
272
+ 'title-medium':
273
+ if(
274
+ $exclude-hardcoded-values,
275
+ null,
276
+ map.get($deps, 'md-ref-typeface', 'weight-medium')
277
+ if($exclude-hardcoded-values, null, 1rem) #{'/'} if(
278
+ $exclude-hardcoded-values,
279
+ null,
280
+ 1.5rem
281
+ ) map.get($deps, 'md-ref-typeface', 'plain')
282
+ ),
283
+ 'title-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
284
+ 'title-medium-line-height': if($exclude-hardcoded-values, null, 1.5rem),
285
+ 'title-medium-size': if($exclude-hardcoded-values, null, 1rem),
286
+ 'title-medium-tracking': if($exclude-hardcoded-values, null, 0.009rem),
287
+ 'title-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
288
+ // Warning: risk of reduced fidelity from using this composite typography token.
289
+ // Tokens md.sys.typescale.title-small.tracking cannot be represented in the "font"
290
+ // property shorthand. Consider using the discrete properties instead.
291
+ 'title-small':
292
+ if(
293
+ $exclude-hardcoded-values,
294
+ null,
295
+ map.get($deps, 'md-ref-typeface', 'weight-medium')
296
+ if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
297
+ $exclude-hardcoded-values,
298
+ null,
299
+ 1.25rem
300
+ ) map.get($deps, 'md-ref-typeface', 'plain')
301
+ ),
302
+ 'title-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
303
+ 'title-small-line-height': if($exclude-hardcoded-values, null, 1.25rem),
304
+ 'title-small-size': if($exclude-hardcoded-values, null, 0.875rem),
305
+ 'title-small-tracking': if($exclude-hardcoded-values, null, 0.006rem),
306
+ 'title-small-weight': map.get($deps, 'md-ref-typeface', 'weight-medium')
307
+ );
308
+ }
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use '@angular/material' as mat;
3
- @use '@material/elevation' as mdc-elevation;
4
3
  @use '../../token-utils';
4
+ @use '../../../style/elevation';
5
5
 
6
6
  // The prefix used to generate the fully qualified name for tokens in this file.
7
7
  $prefix: (mtx, datetimepicker);
@@ -70,8 +70,8 @@ $prefix: (mtx, datetimepicker);
70
70
  time-ampm-selected-state-text-color: map.get($systems, md-sys-color, on-tertiary-container),
71
71
  time-ampm-selected-state-background-color: map.get($systems, md-sys-color, tertiary-container),
72
72
 
73
- container-elevation-shadow: token-utils.hardcode(mdc-elevation.elevation-box-shadow(0), $exclude-hardcoded),
74
- container-touch-elevation-shadow: token-utils.hardcode(mdc-elevation.elevation-box-shadow(0), $exclude-hardcoded),
73
+ container-elevation-shadow: token-utils.hardcode(elevation.get-box-shadow(0), $exclude-hardcoded),
74
+ container-touch-elevation-shadow: token-utils.hardcode(elevation.get-box-shadow(0), $exclude-hardcoded),
75
75
  container-shape: map.get($systems, md-sys-shape, corner-large),
76
76
  container-touch-shape: map.get($systems, md-sys-shape, corner-extra-large),
77
77
  selector-container-shape: map.get($systems, md-sys-shape, corner-small),
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use '@material/elevation' as mdc-elevation;
2
+ @use '../../../style/elevation';
3
3
  @use '../../token-utils';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
@@ -13,7 +13,7 @@ $prefix: (mtx, drawer);
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
14
  $tokens: (
15
15
  container-shape: map.get($systems, md-sys-shape, corner-large),
16
- container-elevation-shadow: token-utils.hardcode(mdc-elevation.elevation-box-shadow(2), $exclude-hardcoded),
16
+ container-elevation-shadow: token-utils.hardcode(elevation.get-box-shadow(2), $exclude-hardcoded),
17
17
  container-background-color: map.get($systems, md-sys-color, surface),
18
18
  container-text-color: map.get($systems, md-sys-color, on-surface-variant),
19
19
  );
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use '@angular/material' as mat;
3
- @use '@material/elevation' as mdc-elevation;
4
3
  @use '../../token-utils';
4
+ @use '../../../style/elevation';
5
5
 
6
6
  // The prefix used to generate the fully qualified name for tokens in this file.
7
7
  $prefix: (mtx, select);
@@ -14,7 +14,7 @@ $prefix: (mtx, select);
14
14
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
15
15
  $tokens: ((
16
16
  container-shape: map.get($systems, md-sys-shape, corner-extra-small),
17
- container-elevation-shadow: token-utils.hardcode(mdc-elevation.elevation-box-shadow(2), $exclude-hardcoded),
17
+ container-elevation-shadow: token-utils.hardcode(elevation.get-box-shadow(2), $exclude-hardcoded),
18
18
 
19
19
  container-text-color: map.get($systems, md-sys-color, on-surface),
20
20
  placeholder-text-color: mat.private-safe-color-change(
@@ -1,5 +1,5 @@
1
1
  @use '@angular/material' as mat;
2
- @use './typography';
2
+ @use '../m2/typography' as m2-typography;
3
3
  @use '../../alert/alert-theme';
4
4
  @use '../../button/button-theme';
5
5
  @use '../../colorpicker/colorpicker-theme';
@@ -17,7 +17,7 @@
17
17
  @mixin all-component-typographies($theme: null) {
18
18
  // If no actual color configuration has been specified, create a default one.
19
19
  @if not mat.theme-has($theme, typography) {
20
- $theme: typography.define-typography-config();
20
+ $theme: m2-typography.define-typography-config();
21
21
  }
22
22
 
23
23
  @include alert-theme.typography($theme);
@@ -3,11 +3,11 @@ import { CommonModule } from '@angular/common';
3
3
  import { MtxAlert } from './alert';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MtxAlertModule {
6
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MtxAlertModule, imports: [CommonModule, MtxAlert], exports: [MtxAlert] }); }
8
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxAlertModule, imports: [CommonModule, MtxAlert] }); }
6
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MtxAlertModule, imports: [CommonModule, MtxAlert], exports: [MtxAlert] }); }
8
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxAlertModule, imports: [CommonModule, MtxAlert] }); }
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxAlertModule, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxAlertModule, decorators: [{
11
11
  type: NgModule,
12
12
  args: [{
13
13
  imports: [CommonModule, MtxAlert],
@@ -20,10 +20,10 @@ export class MtxAlert {
20
20
  this._changeDetectorRef.markForCheck();
21
21
  this.closed.emit(this);
22
22
  }
23
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxAlert, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
24
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: MtxAlert, isStandalone: true, selector: "mtx-alert", inputs: { type: "type", dismissible: ["dismissible", "dismissible", booleanAttribute], elevation: "elevation" }, outputs: { closed: "closed" }, host: { attributes: { "role": "alert" }, properties: { "class.mtx-alert-dismissible": "dismissible", "class": "this._hostClassList" }, classAttribute: "mtx-alert" }, exportAs: ["mtxAlert"], ngImport: i0, template: "<ng-content></ng-content>\n@if (dismissible) {\n <div class=\"mtx-alert-close\">\n <button mat-icon-button type=\"button\" aria-label=\"Close\" (click)=\"_onClosed()\">\n <svg viewBox=\"0 0 24 24\" width=\"24px\" height=\"24px\" fill=\"currentColor\" focusable=\"false\">\n <path d=\"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z\" />\n </svg>\n </button>\n </div>\n}\n", styles: [".mtx-alert{position:relative;display:block;padding:.75rem 1rem;margin-bottom:1rem;line-height:1.5;border:1px solid var(--mtx-alert-outline-color);border-radius:var(--mtx-alert-container-shape);background-color:var(--mtx-alert-background-color);color:var(--mtx-alert-text-color)}.mtx-alert.mtx-alert-info{border-color:var(--mtx-alert-info-outline-color);background-color:var(--mtx-alert-info-background-color);color:var(--mtx-alert-info-text-color)}.mtx-alert.mtx-alert-success{border-color:var(--mtx-alert-success-outline-color);background-color:var(--mtx-alert-success-background-color);color:var(--mtx-alert-success-text-color)}.mtx-alert.mtx-alert-warning{border-color:var(--mtx-alert-warning-outline-color);background-color:var(--mtx-alert-warning-background-color);color:var(--mtx-alert-warning-text-color)}.mtx-alert.mtx-alert-danger{border-color:var(--mtx-alert-danger-outline-color);background-color:var(--mtx-alert-danger-background-color);color:var(--mtx-alert-danger-text-color)}.mtx-alert-close{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:3rem;height:3rem}[dir=rtl] .mtx-alert-close{right:auto;left:0}.mtx-alert-dismissible{padding-right:3rem}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
23
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxAlert, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
24
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: MtxAlert, isStandalone: true, selector: "mtx-alert", inputs: { type: "type", dismissible: ["dismissible", "dismissible", booleanAttribute], elevation: "elevation" }, outputs: { closed: "closed" }, host: { attributes: { "role": "alert" }, properties: { "class.mtx-alert-dismissible": "dismissible", "class": "this._hostClassList" }, classAttribute: "mtx-alert" }, exportAs: ["mtxAlert"], ngImport: i0, template: "<ng-content></ng-content>\n@if (dismissible) {\n <div class=\"mtx-alert-close\">\n <button mat-icon-button type=\"button\" aria-label=\"Close\" (click)=\"_onClosed()\">\n <svg viewBox=\"0 0 24 24\" width=\"24px\" height=\"24px\" fill=\"currentColor\" focusable=\"false\">\n <path d=\"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z\" />\n </svg>\n </button>\n </div>\n}\n", styles: [".mtx-alert{position:relative;display:block;padding:.75rem 1rem;margin-bottom:1rem;line-height:1.5;border:1px solid var(--mtx-alert-outline-color);border-radius:var(--mtx-alert-container-shape);background-color:var(--mtx-alert-background-color);color:var(--mtx-alert-text-color)}.mtx-alert.mtx-alert-info{border-color:var(--mtx-alert-info-outline-color);background-color:var(--mtx-alert-info-background-color);color:var(--mtx-alert-info-text-color)}.mtx-alert.mtx-alert-success{border-color:var(--mtx-alert-success-outline-color);background-color:var(--mtx-alert-success-background-color);color:var(--mtx-alert-success-text-color)}.mtx-alert.mtx-alert-warning{border-color:var(--mtx-alert-warning-outline-color);background-color:var(--mtx-alert-warning-background-color);color:var(--mtx-alert-warning-text-color)}.mtx-alert.mtx-alert-danger{border-color:var(--mtx-alert-danger-outline-color);background-color:var(--mtx-alert-danger-background-color);color:var(--mtx-alert-danger-text-color)}.mtx-alert-close{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:3rem;height:3rem}[dir=rtl] .mtx-alert-close{right:auto;left:0}.mtx-alert-dismissible{padding-right:3rem}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxAlert, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxAlert, decorators: [{
27
27
  type: Component,
28
28
  args: [{ selector: 'mtx-alert', exportAs: 'mtxAlert', host: {
29
29
  'class': 'mtx-alert',
@@ -39,10 +39,10 @@ export class MatButtonLoading {
39
39
  this.spinner = null;
40
40
  }
41
41
  }
42
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatButtonLoading, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
43
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.0", type: MatButtonLoading, isStandalone: true, selector: "[mat-button][loading],\n [mat-raised-button][loading],\n [mat-stroked-button][loading],\n [mat-flat-button][loading],\n [mat-icon-button][loading],\n [mat-fab][loading],\n [mat-mini-fab][loading]", inputs: { loading: ["loading", "loading", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], color: "color" }, usesOnChanges: true, ngImport: i0 }); }
42
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MatButtonLoading, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
43
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.2", type: MatButtonLoading, isStandalone: true, selector: "[mat-button][loading],\n [mat-raised-button][loading],\n [mat-stroked-button][loading],\n [mat-flat-button][loading],\n [mat-icon-button][loading],\n [mat-fab][loading],\n [mat-mini-fab][loading]", inputs: { loading: ["loading", "loading", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], color: "color" }, usesOnChanges: true, ngImport: i0 }); }
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MatButtonLoading, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MatButtonLoading, decorators: [{
46
46
  type: Directive,
47
47
  args: [{
48
48
  selector: `[mat-button][loading],
@@ -5,11 +5,11 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
5
5
  import { MatButtonLoading } from './button-loading';
6
6
  import * as i0 from "@angular/core";
7
7
  export class MtxButtonModule {
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading], exports: [MatButtonLoading] }); }
10
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule] }); }
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading], exports: [MatButtonLoading] }); }
10
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule] }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxButtonModule, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxButtonModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading],
@@ -6,11 +6,11 @@ import { MtxPipesModule } from '@ng-matero/extensions/core';
6
6
  import { MtxCheckboxGroup } from './checkbox-group';
7
7
  import * as i0 from "@angular/core";
8
8
  export class MtxCheckboxGroupModule {
9
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxCheckboxGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MtxCheckboxGroupModule, imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup], exports: [MtxCheckboxGroup, MtxPipesModule] }); }
11
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxCheckboxGroupModule, imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup, MtxPipesModule] }); }
9
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxCheckboxGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MtxCheckboxGroupModule, imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup], exports: [MtxCheckboxGroup, MtxPipesModule] }); }
11
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxCheckboxGroupModule, imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup, MtxPipesModule] }); }
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxCheckboxGroupModule, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxCheckboxGroupModule, decorators: [{
14
14
  type: NgModule,
15
15
  args: [{
16
16
  imports: [CommonModule, FormsModule, MatCheckboxModule, MtxPipesModule, MtxCheckboxGroup],
@@ -177,8 +177,8 @@ export class MtxCheckboxGroup {
177
177
  }
178
178
  this._getSelectedItems(index);
179
179
  }
180
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxCheckboxGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
181
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: MtxCheckboxGroup, isStandalone: true, selector: "mtx-checkbox-group", inputs: { items: "items", bindLabel: "bindLabel", bindValue: "bindValue", showSelectAll: ["showSelectAll", "showSelectAll", booleanAttribute], selectAllLabel: "selectAllLabel", compareWith: "compareWith", disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { change: "change" }, host: { classAttribute: "mtx-checkbox-group" }, providers: [
180
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxCheckboxGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
181
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: MtxCheckboxGroup, isStandalone: true, selector: "mtx-checkbox-group", inputs: { items: "items", bindLabel: "bindLabel", bindValue: "bindValue", showSelectAll: ["showSelectAll", "showSelectAll", booleanAttribute], selectAllLabel: "selectAllLabel", compareWith: "compareWith", disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { change: "change" }, host: { classAttribute: "mtx-checkbox-group" }, providers: [
182
182
  {
183
183
  provide: NG_VALUE_ACCESSOR,
184
184
  useExisting: forwardRef((() => MtxCheckboxGroup)),
@@ -186,7 +186,7 @@ export class MtxCheckboxGroup {
186
186
  },
187
187
  ], queries: [{ propertyName: "_checkboxes", predicate: i0.forwardRef(() => MatCheckbox), descendants: true }], exportAs: ["mtxCheckboxGroup"], ngImport: i0, template: "@if (showSelectAll) {\n <mat-checkbox class=\"mtx-checkbox-master\"\n [checked]=\"selectAll\"\n [(indeterminate)]=\"selectAllIndeterminate\"\n [disabled]=\"disabled\"\n (change)=\"_updateMasterCheckboxState($event, -1)\">{{selectAllLabel}}</mat-checkbox>\n}\n\n@for (option of items; track option; let i = $index) {\n <mat-checkbox class=\"mtx-checkbox-normal\"\n [(ngModel)]=\"option.checked\"\n [ngModelOptions]=\"{standalone: true}\"\n [aria-describedby]=\"option.ariaDescribedby\"\n [aria-label]=\"option.ariaLabel\"\n [aria-labelledby]=\"option.ariaLabelledby\"\n [color]=\"option.color\"\n [disabled]=\"option.disabled || disabled\"\n [disableRipple]=\"option.disableRipple\"\n [labelPosition]=\"option.labelPosition\"\n [required]=\"option.required\"\n (change)=\"_updateNormalCheckboxState($event, i)\"\n >{{option[bindLabel] | toObservable | async}}</mat-checkbox>\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "pipe", type: MtxToObservablePipe, name: "toObservable" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
188
188
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxCheckboxGroup, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxCheckboxGroup, decorators: [{
190
190
  type: Component,
191
191
  args: [{ selector: 'mtx-checkbox-group', exportAs: 'mtxCheckboxGroup', host: {
192
192
  class: 'mtx-checkbox-group',
@@ -180,14 +180,14 @@ export class MtxColorpickerInput {
180
180
  _formatValue(value) {
181
181
  this._elementRef.nativeElement.value = value ? value : '';
182
182
  }
183
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerInput, deps: [{ token: i0.ElementRef }, { token: i1.MatFormField, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
184
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.0", type: MtxColorpickerInput, isStandalone: true, selector: "input[mtxColorpicker]", inputs: { mtxColorpicker: "mtxColorpicker", disabled: ["disabled", "disabled", booleanAttribute], value: "value", format: "format" }, outputs: { colorChange: "colorChange", colorInput: "colorInput" }, host: { listeners: { "input": "_onInput($event.target.value)", "change": "_onChange()", "blur": "_onBlur()", "keydown": "_onKeydown($event)" }, properties: { "attr.aria-haspopup": "_picker ? \"dialog\" : null", "attr.aria-owns": "(_picker?.opened && _picker.id) || null", "disabled": "disabled" }, classAttribute: "mtx-colorpicker-input" }, providers: [
183
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerInput, deps: [{ token: i0.ElementRef }, { token: i1.MatFormField, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
184
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.2", type: MtxColorpickerInput, isStandalone: true, selector: "input[mtxColorpicker]", inputs: { mtxColorpicker: "mtxColorpicker", disabled: ["disabled", "disabled", booleanAttribute], value: "value", format: "format" }, outputs: { colorChange: "colorChange", colorInput: "colorInput" }, host: { listeners: { "input": "_onInput($event.target.value)", "change": "_onChange()", "blur": "_onBlur()", "keydown": "_onKeydown($event)" }, properties: { "attr.aria-haspopup": "_picker ? \"dialog\" : null", "attr.aria-owns": "(_picker?.opened && _picker.id) || null", "disabled": "disabled" }, classAttribute: "mtx-colorpicker-input" }, providers: [
185
185
  MTX_COLORPICKER_VALUE_ACCESSOR,
186
186
  MTX_COLORPICKER_VALIDATORS,
187
187
  { provide: MAT_INPUT_VALUE_ACCESSOR, useExisting: MtxColorpickerInput },
188
188
  ], exportAs: ["mtxColorpickerInput"], ngImport: i0 }); }
189
189
  }
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerInput, decorators: [{
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerInput, decorators: [{
191
191
  type: Directive,
192
192
  args: [{
193
193
  selector: 'input[mtxColorpicker]',
@@ -10,8 +10,8 @@ import { MtxColorpickerInput } from './colorpicker-input';
10
10
  import { MtxColorpickerToggle, MtxColorpickerToggleIcon } from './colorpicker-toggle';
11
11
  import * as i0 from "@angular/core";
12
12
  export class MtxColorpickerModule {
13
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerModule, imports: [CommonModule,
13
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerModule, imports: [CommonModule,
15
15
  OverlayModule,
16
16
  A11yModule,
17
17
  PortalModule,
@@ -26,7 +26,7 @@ export class MtxColorpickerModule {
26
26
  MtxColorpickerInput,
27
27
  MtxColorpickerToggle,
28
28
  MtxColorpickerToggleIcon] }); }
29
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerModule, providers: [MTX_COLORPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [CommonModule,
29
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerModule, providers: [MTX_COLORPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [CommonModule,
30
30
  OverlayModule,
31
31
  A11yModule,
32
32
  PortalModule,
@@ -35,7 +35,7 @@ export class MtxColorpickerModule {
35
35
  MtxColorpickerContent,
36
36
  MtxColorpickerToggle] }); }
37
37
  }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerModule, decorators: [{
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerModule, decorators: [{
39
39
  type: NgModule,
40
40
  args: [{
41
41
  imports: [
@@ -4,10 +4,10 @@ import { Subscription, merge, of as observableOf } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  /** Can be used to override the icon of a `mtxColorpickerToggle`. */
6
6
  export class MtxColorpickerToggleIcon {
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerToggleIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: MtxColorpickerToggleIcon, isStandalone: true, selector: "[mtxColorpickerToggleIcon]", ngImport: i0 }); }
7
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerToggleIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: MtxColorpickerToggleIcon, isStandalone: true, selector: "[mtxColorpickerToggleIcon]", ngImport: i0 }); }
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerToggleIcon, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerToggleIcon, decorators: [{
11
11
  type: Directive,
12
12
  args: [{
13
13
  selector: '[mtxColorpickerToggleIcon]',
@@ -59,10 +59,10 @@ export class MtxColorpickerToggle {
59
59
  this._stateChanges.unsubscribe();
60
60
  this._stateChanges = merge(pickerDisabled, inputDisabled, pickerToggled).subscribe(() => this._changeDetectorRef.markForCheck());
61
61
  }
62
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }
63
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: MtxColorpickerToggle, isStandalone: true, selector: "mtx-colorpicker-toggle", inputs: { picker: ["for", "picker"], tabIndex: "tabIndex", ariaLabel: ["aria-label", "ariaLabel"], disabled: ["disabled", "disabled", booleanAttribute], disableRipple: ["disableRipple", "disableRipple", booleanAttribute] }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null", "class.mtx-colorpicker-toggle-active": "picker && picker.opened", "class.mat-accent": "picker && picker.color === \"accent\"", "class.mat-warn": "picker && picker.color === \"warn\"" }, classAttribute: "mtx-colorpicker-toggle" }, queries: [{ propertyName: "_customIcon", first: true, predicate: MtxColorpickerToggleIcon, descendants: true }], viewQueries: [{ propertyName: "_button", first: true, predicate: ["button"], descendants: true }], exportAs: ["mtxColorpickerToggle"], usesOnChanges: true, ngImport: i0, template: "<button #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"picker ? 'dialog' : null\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\">\n\n @if (!_customIcon) {\n <svg\n class=\"mtx-colorpicker-toggle-default-icon\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n height=\"24px\"\n fill=\"currentColor\"\n focusable=\"false\">\n <path d=\"M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z\" />\n </svg>\n }\n\n <ng-content select=\"[mtxColorpickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mtx-colorpicker-toggle{pointer-events:auto;color:var(--mtx-colorpicker-toggle-icon-color)}.mtx-colorpicker-toggle-active{color:var(--mtx-colorpicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mtx-colorpicker-toggle-default-icon{color:CanvasText}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
62
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component }); }
63
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: MtxColorpickerToggle, isStandalone: true, selector: "mtx-colorpicker-toggle", inputs: { picker: ["for", "picker"], tabIndex: "tabIndex", ariaLabel: ["aria-label", "ariaLabel"], disabled: ["disabled", "disabled", booleanAttribute], disableRipple: ["disableRipple", "disableRipple", booleanAttribute] }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null", "class.mtx-colorpicker-toggle-active": "picker && picker.opened", "class.mat-accent": "picker && picker.color === \"accent\"", "class.mat-warn": "picker && picker.color === \"warn\"" }, classAttribute: "mtx-colorpicker-toggle" }, queries: [{ propertyName: "_customIcon", first: true, predicate: MtxColorpickerToggleIcon, descendants: true }], viewQueries: [{ propertyName: "_button", first: true, predicate: ["button"], descendants: true }], exportAs: ["mtxColorpickerToggle"], usesOnChanges: true, ngImport: i0, template: "<button #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"picker ? 'dialog' : null\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\">\n\n @if (!_customIcon) {\n <svg\n class=\"mtx-colorpicker-toggle-default-icon\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n height=\"24px\"\n fill=\"currentColor\"\n focusable=\"false\">\n <path d=\"M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z\" />\n </svg>\n }\n\n <ng-content select=\"[mtxColorpickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mtx-colorpicker-toggle{pointer-events:auto;color:var(--mtx-colorpicker-toggle-icon-color)}.mtx-colorpicker-toggle-active{color:var(--mtx-colorpicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mtx-colorpicker-toggle-default-icon{color:CanvasText}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
64
64
  }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxColorpickerToggle, decorators: [{
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxColorpickerToggle, decorators: [{
66
66
  type: Component,
67
67
  args: [{ selector: 'mtx-colorpicker-toggle', host: {
68
68
  'class': 'mtx-colorpicker-toggle',