@ng-matero/extensions 16.1.2 → 16.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 (114) hide show
  1. package/README.md +2 -2
  2. package/_index.scss +0 -3
  3. package/_theming.scss +0 -3
  4. package/alert/_alert-theme.scss +12 -28
  5. package/alert/alert.scss +28 -0
  6. package/colorpicker/_colorpicker-theme.scss +20 -8
  7. package/colorpicker/colorpicker-toggle.scss +23 -17
  8. package/core/style/_sass-utils.scss +49 -0
  9. package/core/theming/_all-theme.scss +0 -2
  10. package/core/tokens/_token-utils.scss +127 -0
  11. package/core/tokens/m2/_index.scss +49 -0
  12. package/core/tokens/m2/mdc/_plain-tooltip.scss +72 -0
  13. package/core/tokens/m2/mtx/_alert.scss +55 -0
  14. package/core/tokens/m2/mtx/_colorpicker.scss +55 -0
  15. package/core/tokens/m2/mtx/_datetimepicker.scss +155 -0
  16. package/core/tokens/m2/mtx/_drawer.scss +45 -0
  17. package/core/tokens/m2/mtx/_grid.scss +53 -0
  18. package/core/tokens/m2/mtx/_loader.scss +45 -0
  19. package/core/tokens/m2/mtx/_popover.scss +46 -0
  20. package/core/tokens/m2/mtx/_progress.scss +56 -0
  21. package/core/tokens/m2/mtx/_select.scss +83 -0
  22. package/core/tokens/m2/mtx/_split.scss +54 -0
  23. package/core/typography/_typography.scss +203 -36
  24. package/datetimepicker/_datetimepicker-theme.scss +31 -183
  25. package/datetimepicker/calendar-body.scss +81 -1
  26. package/datetimepicker/calendar.scss +33 -3
  27. package/datetimepicker/clock.scss +50 -10
  28. package/datetimepicker/datetimepicker-content.scss +12 -0
  29. package/datetimepicker/datetimepicker-toggle.scss +23 -17
  30. package/datetimepicker/time.scss +41 -1
  31. package/drawer/_drawer-theme.scss +6 -10
  32. package/drawer/drawer-container.scss +11 -0
  33. package/esm2022/alert/alert.mjs +4 -4
  34. package/esm2022/colorpicker/colorpicker-toggle.mjs +2 -2
  35. package/esm2022/datetimepicker/calendar-body.mjs +2 -2
  36. package/esm2022/datetimepicker/calendar.mjs +3 -3
  37. package/esm2022/datetimepicker/clock.mjs +2 -2
  38. package/esm2022/datetimepicker/datetimepicker-toggle.mjs +2 -2
  39. package/esm2022/datetimepicker/datetimepicker.mjs +3 -3
  40. package/esm2022/datetimepicker/time.mjs +3 -3
  41. package/esm2022/drawer/drawer-container.mjs +3 -3
  42. package/esm2022/grid/cell.mjs +6 -21
  43. package/esm2022/grid/grid-module.mjs +18 -9
  44. package/esm2022/grid/grid-utils.mjs +4 -2
  45. package/esm2022/grid/grid.mjs +20 -20
  46. package/esm2022/grid/image-preview.mjs +50 -0
  47. package/esm2022/grid/public-api.mjs +2 -1
  48. package/esm2022/loader/loader.mjs +2 -2
  49. package/esm2022/popover/popover.mjs +3 -3
  50. package/esm2022/progress/progress.mjs +4 -4
  51. package/esm2022/select/select.mjs +11 -3
  52. package/esm2022/split/split.mjs +2 -2
  53. package/esm2022/tooltip/tooltip.mjs +2 -2
  54. package/fesm2022/mtxAlert.mjs +3 -3
  55. package/fesm2022/mtxAlert.mjs.map +1 -1
  56. package/fesm2022/mtxColorpicker.mjs +2 -2
  57. package/fesm2022/mtxColorpicker.mjs.map +1 -1
  58. package/fesm2022/mtxDatetimepicker.mjs +12 -12
  59. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  60. package/fesm2022/mtxDrawer.mjs +2 -2
  61. package/fesm2022/mtxDrawer.mjs.map +1 -1
  62. package/fesm2022/mtxGrid.mjs +223 -182
  63. package/fesm2022/mtxGrid.mjs.map +1 -1
  64. package/fesm2022/mtxLoader.mjs +2 -2
  65. package/fesm2022/mtxLoader.mjs.map +1 -1
  66. package/fesm2022/mtxPopover.mjs +2 -2
  67. package/fesm2022/mtxPopover.mjs.map +1 -1
  68. package/fesm2022/mtxProgress.mjs +3 -3
  69. package/fesm2022/mtxProgress.mjs.map +1 -1
  70. package/fesm2022/mtxSelect.mjs +10 -2
  71. package/fesm2022/mtxSelect.mjs.map +1 -1
  72. package/fesm2022/mtxSplit.mjs +2 -2
  73. package/fesm2022/mtxSplit.mjs.map +1 -1
  74. package/fesm2022/mtxTooltip.mjs +2 -2
  75. package/fesm2022/mtxTooltip.mjs.map +1 -1
  76. package/grid/_grid-theme.scss +14 -84
  77. package/grid/cell.d.ts +0 -2
  78. package/grid/cell.scss +2 -1
  79. package/grid/grid-module.d.ts +22 -21
  80. package/grid/grid.d.ts +7 -7
  81. package/grid/grid.scss +104 -16
  82. package/grid/image-preview.d.ts +13 -0
  83. package/grid/public-api.d.ts +1 -0
  84. package/loader/_loader-theme.scss +6 -6
  85. package/loader/loader.scss +7 -0
  86. package/package.json +14 -20
  87. package/popover/_popover-theme.scss +6 -40
  88. package/popover/popover.scss +32 -2
  89. package/prebuilt-themes/deeppurple-amber.css +1 -1
  90. package/prebuilt-themes/indigo-pink.css +1 -1
  91. package/prebuilt-themes/pink-bluegrey.css +1 -1
  92. package/prebuilt-themes/purple-green.css +1 -1
  93. package/progress/_progress-theme.scss +6 -25
  94. package/progress/progress.scss +42 -0
  95. package/select/_select-theme.scss +19 -133
  96. package/select/select.d.ts +1 -0
  97. package/select/select.scss +147 -36
  98. package/split/_split-theme.scss +21 -18
  99. package/split/split.scss +13 -0
  100. package/tooltip/_tooltip-theme.scss +19 -24
  101. package/tooltip/tooltip.scss +18 -17
  102. package/esm2022/slider/mtxSlider.mjs +0 -5
  103. package/esm2022/slider/public-api.mjs +0 -3
  104. package/esm2022/slider/slider-module.mjs +0 -19
  105. package/esm2022/slider/slider.mjs +0 -1115
  106. package/fesm2022/mtxSlider.mjs +0 -1137
  107. package/fesm2022/mtxSlider.mjs.map +0 -1
  108. package/slider/_slider-theme.import.scss +0 -2
  109. package/slider/_slider-theme.scss +0 -232
  110. package/slider/index.d.ts +0 -5
  111. package/slider/public-api.d.ts +0 -2
  112. package/slider/slider-module.d.ts +0 -9
  113. package/slider/slider.d.ts +0 -277
  114. package/slider/slider.scss +0 -514
@@ -1,4 +1,8 @@
1
- @use '@angular/material' as mat;
1
+ @use '../core/style/elevation';
2
+ @use '../core/tokens/token-utils';
3
+ @use '../core/tokens/m2/mtx/select' as tokens-mtx-select;
4
+
5
+ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
2
6
 
3
7
  @mixin rtl {
4
8
  @at-root [dir='rtl'] #{&} {
@@ -15,13 +19,18 @@
15
19
  .ng-select-container {
16
20
  align-items: center;
17
21
 
22
+ @include token-utils.use-tokens($_tokens...) {
23
+ @include token-utils.create-token-slot(color, container-text-color);
24
+ }
25
+
18
26
  .ng-value-container {
19
27
  align-items: center;
20
28
 
21
29
  .ng-input {
22
- > input {
23
- font: inherit;
30
+ >input {
24
31
  padding: 0;
32
+ color: inherit;
33
+ font: inherit;
25
34
  }
26
35
  }
27
36
  }
@@ -36,6 +45,10 @@
36
45
  transition: opacity 200ms;
37
46
  opacity: 1;
38
47
 
48
+ @include token-utils.use-tokens($_tokens...) {
49
+ @include token-utils.create-token-slot(color, placeholder-text-color);
50
+ }
51
+
39
52
  .mat-form-field-hide-placeholder & {
40
53
  opacity: 0;
41
54
  }
@@ -45,6 +58,24 @@
45
58
  display: none;
46
59
  }
47
60
 
61
+ .ng-clear-wrapper {
62
+ @include token-utils.use-tokens($_tokens...) {
63
+ @include token-utils.create-token-slot(color, clear-icon-color);
64
+
65
+ &:hover .ng-clear {
66
+ @include token-utils.create-token-slot(color, clear-icon-hover-color);
67
+ }
68
+ }
69
+ }
70
+
71
+ &.ng-select-disabled {
72
+ .ng-value {
73
+ @include token-utils.use-tokens($_tokens...) {
74
+ @include token-utils.create-token-slot(color, disabled-text-color);
75
+ }
76
+ }
77
+ }
78
+
48
79
  &.ng-select-opened {
49
80
  .ng-arrow-wrapper {
50
81
  .ng-arrow {
@@ -86,11 +117,23 @@
86
117
  font-size: .875em;
87
118
  line-height: 18px;
88
119
 
120
+ @include token-utils.use-tokens($_tokens...) {
121
+ @include token-utils.create-token-slot(background-color, multiple-value-background-color);
122
+
123
+ $border-color: token-utils.get-token-variable(multiple-value-border-color);
124
+
125
+ border: 1px solid var($border-color);
126
+ }
127
+
89
128
  @include rtl {
90
129
  margin-right: auto;
91
130
  margin-left: 4px;
92
131
  }
93
132
 
133
+ &.ng-value-disabled {
134
+ opacity: .4;
135
+ }
136
+
94
137
  .ng-value-label {
95
138
  display: inline-block;
96
139
  margin: 0 8px;
@@ -120,6 +163,12 @@
120
163
  margin-left: auto;
121
164
  }
122
165
  }
166
+
167
+ &:hover {
168
+ @include token-utils.use-tokens($_tokens...) {
169
+ @include token-utils.create-token-slot(background-color, multiple-value-icon-hover-background-color);
170
+ }
171
+ }
123
172
  }
124
173
  }
125
174
  }
@@ -128,10 +177,33 @@
128
177
 
129
178
  .ng-arrow-wrapper {
130
179
  width: 10px;
180
+ }
181
+
182
+ @include token-utils.use-tokens($_tokens...) {
183
+ $enabled-arrow-color: token-utils.get-token-variable(enabled-arrow-color);
184
+ $disabled-arrow-color: token-utils.get-token-variable(disabled-arrow-color);
185
+ $invalid-arrow-color: token-utils.get-token-variable(invalid-arrow-color);
131
186
 
132
187
  .ng-arrow {
133
188
  border-width: 5px 5px 2px;
134
189
  border-style: solid;
190
+ border-color: var($enabled-arrow-color) transparent transparent;
191
+ }
192
+
193
+ &.ng-select-disabled .ng-arrow {
194
+ border-color: var($disabled-arrow-color) transparent transparent;
195
+ }
196
+
197
+ &.ng-select-invalid .ng-arrow {
198
+ border-color: var($invalid-arrow-color) transparent transparent;
199
+ }
200
+
201
+ &.ng-select-opened .ng-arrow {
202
+ border-color: transparent transparent var($enabled-arrow-color);
203
+ }
204
+
205
+ &.ng-select-opened.ng-select-invalid .ng-arrow {
206
+ border-color: transparent transparent var($invalid-arrow-color);
135
207
  }
136
208
  }
137
209
  }
@@ -142,7 +214,7 @@
142
214
  border-bottom-left-radius: 4px;
143
215
  border-bottom-right-radius: 4px;
144
216
 
145
- @include mat.elevation(4);
217
+ @include elevation.elevation(8);
146
218
  }
147
219
 
148
220
  &.ng-select-top {
@@ -150,7 +222,7 @@
150
222
  border-top-left-radius: 4px;
151
223
  border-top-right-radius: 4px;
152
224
 
153
- @include mat.elevation(4);
225
+ @include elevation.elevation(8);
154
226
  }
155
227
 
156
228
  .ng-dropdown-header,
@@ -158,48 +230,87 @@
158
230
  padding: 14px 16px;
159
231
  }
160
232
 
161
- .ng-dropdown-panel-items {
162
- .ng-optgroup {
163
- padding: 14px 16px;
164
- font-weight: 500;
165
- user-select: none;
166
- cursor: pointer;
233
+ @include token-utils.use-tokens($_tokens...) {
234
+ @include token-utils.create-token-slot(background-color, panel-background-color);
167
235
 
168
- &.ng-option-disabled {
169
- cursor: default;
170
- }
236
+ $border-color: token-utils.get-token-variable(panel-divider-color);
237
+
238
+ .ng-dropdown-header {
239
+ border-bottom: 1px solid var($border-color);
171
240
  }
172
241
 
173
- .ng-option {
174
- position: relative;
175
- padding: 14px 16px;
176
- text-overflow: ellipsis;
177
- text-decoration: none;
178
- text-align: left;
179
- white-space: nowrap;
180
- overflow: hidden;
242
+ .ng-dropdown-footer {
243
+ border-top: 1px solid var($border-color);
244
+ }
181
245
 
182
- @include rtl {
183
- text-align: right;
184
- }
246
+ .ng-dropdown-panel-items {
247
+ .ng-optgroup {
248
+ padding: 14px 16px;
249
+ font-weight: 500;
250
+ user-select: none;
251
+ cursor: pointer;
185
252
 
186
- &.ng-option-child {
187
- padding-left: 32px;
253
+ @include token-utils.create-token-slot(color, optgroup-label-text-color);
188
254
 
189
- @include rtl {
190
- padding-right: 32px;
191
- padding-left: 0;
255
+ &.ng-option-disabled {
256
+ cursor: default;
257
+ }
258
+
259
+ &.ng-option-marked {
260
+ @include token-utils.create-token-slot(background-color, option-hover-state-background-color);
261
+ }
262
+
263
+ &.ng-option-selected {
264
+ @include token-utils.create-token-slot(background-color, option-selected-state-background-color);
265
+ @include token-utils.create-token-slot(color, option-selected-state-text-color);
192
266
  }
193
267
  }
194
268
 
195
- .ng-tag-label {
196
- padding-right: 5px;
197
- font-size: 80%;
198
- font-weight: 400;
269
+ .ng-option {
270
+ position: relative;
271
+ padding: 14px 16px;
272
+ text-overflow: ellipsis;
273
+ text-decoration: none;
274
+ text-align: left;
275
+ white-space: nowrap;
276
+ overflow: hidden;
277
+
278
+ @include token-utils.create-token-slot(color, option-label-text-color);
279
+
280
+ &.ng-option-marked {
281
+ @include token-utils.create-token-slot(background-color, option-hover-state-background-color);
282
+ }
283
+
284
+ &.ng-option-selected {
285
+ @include token-utils.create-token-slot(background-color, option-selected-state-background-color);
286
+ @include token-utils.create-token-slot(color, option-selected-state-text-color);
287
+ }
288
+
289
+ &.ng-option-disabled {
290
+ @include token-utils.create-token-slot(color, option-disabled-state-text-color);
291
+ }
199
292
 
200
293
  @include rtl {
201
- padding-left: 5px;
202
- padding-right: 0;
294
+ text-align: right;
295
+ }
296
+
297
+ &.ng-option-child {
298
+ padding-left: 32px;
299
+
300
+ @include rtl {
301
+ padding-right: 32px;
302
+ padding-left: 0;
303
+ }
304
+ }
305
+
306
+ .ng-tag-label {
307
+ margin-right: 6px;
308
+ font-size: 80%;
309
+
310
+ @include rtl {
311
+ margin-left: 6px;
312
+ margin-right: 0;
313
+ }
203
314
  }
204
315
  }
205
316
  }
@@ -1,25 +1,25 @@
1
- @use 'sass:map';
2
1
  @use '../core/theming/theming';
2
+ @use '../core/style/sass-utils';
3
+ @use '../core/tokens/token-utils';
4
+ @use '../core/tokens/m2/mtx/split' as tokens-mtx-split;
3
5
 
4
6
  @mixin color($config-or-theme) {
5
7
  $config: theming.get-color-config($config-or-theme);
6
- $foreground: map.get($config, foreground);
7
8
 
8
- .mtx-split {
9
- > .mtx-split-gutter {
10
- background-color: theming.get-color-from-palette($foreground, divider, .12);
11
-
12
- &:hover {
13
- background-color: theming.get-color-from-palette(map.get($config, primary), text);
14
- }
9
+ @include sass-utils.current-selector-or-root() {
10
+ @include token-utils.create-token-values(tokens-mtx-split.$prefix,
11
+ tokens-mtx-split.get-color-tokens($config));
12
+ }
15
13
 
16
- &.mat-accent:hover {
17
- background-color: theming.get-color-from-palette(map.get($config, accent), text);
18
- }
14
+ .mtx-split>.mtx-split-gutter {
15
+ &.mat-accent:hover {
16
+ $accent-tokens: tokens-mtx-split.private-get-color-palette-color-tokens($config, accent);
17
+ @include token-utils.create-token-values(tokens-mtx-split.$prefix, $accent-tokens);
18
+ }
19
19
 
20
- &.mat-warn:hover {
21
- background-color: theming.get-color-from-palette(map.get($config, warn), text);
22
- }
20
+ &.mat-warn:hover {
21
+ $warn-tokens: tokens-mtx-split.private-get-color-palette-color-tokens($config, warn);
22
+ @include token-utils.create-token-values(tokens-mtx-split.$prefix, $warn-tokens);
23
23
  }
24
24
  }
25
25
  }
@@ -30,18 +30,21 @@
30
30
 
31
31
  @mixin theme($theme-or-color-config) {
32
32
  $theme: theming.private-legacy-get-theme($theme-or-color-config);
33
+
33
34
  @include theming.private-check-duplicate-theme-styles($theme, 'mtx-split') {
34
35
  $color: theming.get-color-config($theme);
35
36
  $density: theming.get-density-config($theme);
36
37
  $typography: theming.get-typography-config($theme);
37
38
 
38
- @if $color != null {
39
+ @if $color !=null {
39
40
  @include color($color);
40
41
  }
41
- @if $density != null {
42
+
43
+ @if $density !=null {
42
44
  @include density($density);
43
45
  }
44
- @if $typography != null {
46
+
47
+ @if $typography !=null {
45
48
  @include typography($typography);
46
49
  }
47
50
  }
package/split/split.scss CHANGED
@@ -1,7 +1,12 @@
1
+ @use '../core/tokens/token-utils';
2
+ @use '../core/tokens/m2/mtx/split' as tokens-mtx-split;
3
+
1
4
  $gutter-size: 4px;
2
5
  $handle-size: 8px;
3
6
  $handle-offset: ($handle-size - $gutter-size) * .5;
4
7
 
8
+ $_tokens: tokens-mtx-split.$prefix, tokens-mtx-split.get-token-slots();
9
+
5
10
  .mtx-split {
6
11
  display: flex;
7
12
  flex-wrap: nowrap;
@@ -19,6 +24,14 @@ $handle-offset: ($handle-size - $gutter-size) * .5;
19
24
  align-items: center;
20
25
  justify-content: center;
21
26
 
27
+ @include token-utils.use-tokens($_tokens...) {
28
+ @include token-utils.create-token-slot(background-color, gutter-background-color);
29
+
30
+ &:hover {
31
+ @include token-utils.create-token-slot(background-color, gutter-hover-state-background-color);
32
+ }
33
+ }
34
+
22
35
  > .mtx-split-gutter-handle {
23
36
  position: absolute;
24
37
  opacity: 0;
@@ -1,41 +1,36 @@
1
- @use 'sass:map';
2
- @use '@material/tooltip/plain-tooltip-theme';
3
- @use '@material/theme/theme-color' as mdc-theme-color;
4
- @use '@material/typography/typography' as mdc-typography;
1
+ @use '@material/tooltip/plain-tooltip-theme' as mdc-plain-tooltip-theme;
5
2
  @use '../core/theming/theming';
6
- @use '../core/theming/palette';
7
- @use '../core/mdc-helpers/mdc-helpers';
8
3
  @use '../core/typography/typography';
4
+ @use '../core/tokens/m2/mdc/plain-tooltip' as m2-mdc-plain-tooltip;
9
5
 
10
6
  @mixin color($config-or-theme) {
11
7
  $config: theming.get-color-config($config-or-theme);
12
- @include mdc-helpers.using-mdc-theme($config) {
13
- .mtx-mdc-tooltip {
14
- @include plain-tooltip-theme.theme((
15
- container-color: map.get(palette.$light-theme-background-palette, tooltip),
16
- supporting-text-color: mdc-theme-color.prop-value(text-primary-on-dark)
17
- ));
18
- }
8
+ $mdc-tooltip-color-tokens: m2-mdc-plain-tooltip.get-color-tokens($config);
9
+
10
+ // Add values for MDC tooltip tokens.
11
+ .mtx-mdc-tooltip {
12
+ @include mdc-plain-tooltip-theme.theme($mdc-tooltip-color-tokens);
19
13
  }
20
14
  }
21
15
 
22
16
  @mixin typography($config-or-theme) {
23
- $config: typography.private-typography-to-2018-config(
24
- theming.get-typography-config($config-or-theme));
25
- @include mdc-helpers.using-mdc-typography($config) {
26
- .mtx-mdc-tooltip {
27
- @include plain-tooltip-theme.theme((
28
- supporting-text-font: mdc-typography.get-font(caption),
29
- supporting-text-size: mdc-typography.get-size(caption),
30
- supporting-text-weight: mdc-typography.get-weight(caption),
31
- supporting-text-tracking: mdc-typography.get-tracking(caption),
32
- ));
33
- }
17
+ $config: typography.private-typography-to-2018-config(theming.get-typography-config($config-or-theme));
18
+ $mdc-tooltip-typography-tokens: m2-mdc-plain-tooltip.get-typography-tokens($config);
19
+
20
+ // Add values for MDC tooltip tokens.
21
+ .mtx-mdc-tooltip {
22
+ @include mdc-plain-tooltip-theme.theme($mdc-tooltip-typography-tokens);
34
23
  }
35
24
  }
36
25
 
37
26
  @mixin density($config-or-theme) {
38
27
  $density-scale: theming.get-density-config($config-or-theme);
28
+ $mdc-tooltip-density-tokens: m2-mdc-plain-tooltip.get-density-tokens($density-scale);
29
+
30
+ // Add values for MDC tooltip tokens.
31
+ .mtx-mdc-tooltip {
32
+ @include mdc-plain-tooltip-theme.theme($mdc-tooltip-density-tokens);
33
+ }
39
34
  }
40
35
 
41
36
  @mixin theme($theme-or-color-config) {
@@ -1,20 +1,21 @@
1
- @use '@material/tooltip/tooltip';
2
- @use '@material/tooltip/tooltip-theme';
3
- @use '@material/tooltip/plain-tooltip-theme';
4
- @use '../core/mdc-helpers/mdc-helpers';
5
-
6
- @include mdc-helpers.disable-mdc-fallback-declarations {
7
- // Only include the structural styles, because we handle the animation ourselves.
8
- @include tooltip.static-styles($query: structure);
9
- @include plain-tooltip-theme.theme-styles((
10
- container-shape: tooltip-theme.$border-radius,
11
- container-color: #fff,
12
- supporting-text-color: #000,
13
- supporting-text-font: inherit,
14
- supporting-text-size: inherit,
15
- supporting-text-tracking: inherit,
16
- supporting-text-weight: inherit,
17
- ));
1
+ @use '@material/theme/custom-properties' as mdc-custom-properties;
2
+ @use '@material/tooltip/tooltip' as mdc-tooltip;
3
+ @use '@material/tooltip/plain-tooltip-theme' as mdc-plain-tooltip-theme;
4
+ @use '../core/tokens/m2/mdc/plain-tooltip' as m2-mdc-plain-tooltip;
5
+
6
+ @include mdc-custom-properties.configure($emit-fallback-values: false, $emit-fallback-vars: false) {
7
+ $mdc-tooltip-token-slots: m2-mdc-plain-tooltip.get-token-slots();
8
+
9
+ // Add the MDC tooltip static styles.
10
+ @include mdc-tooltip.static-styles();
11
+
12
+ .mtx-mdc-tooltip {
13
+ // Add the official slots for the MDC tooltip.
14
+ @include mdc-plain-tooltip-theme.theme-styles($mdc-tooltip-token-slots);
15
+
16
+ // Add default values for MDC tooltip tokens that aren't outputted by the theming API.
17
+ @include mdc-plain-tooltip-theme.theme(m2-mdc-plain-tooltip.get-unthemable-tokens());
18
+ }
18
19
  }
19
20
 
20
21
  // Fix tooltip' positioning when mat-tooltip and mtx-tooltip coexist.
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXR4U2xpZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh0ZW5zaW9ucy9zbGlkZXIvbXR4U2xpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './slider-module';
2
- export * from './slider';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dGVuc2lvbnMvc2xpZGVyL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLFVBQVUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2xpZGVyLW1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3NsaWRlcic7XG4iXX0=
@@ -1,19 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { MatCommonModule } from '@angular/material/core';
4
- import { MtxSlider } from './slider';
5
- import * as i0 from "@angular/core";
6
- export class MtxSliderModule {
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MtxSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.7", ngImport: i0, type: MtxSliderModule, declarations: [MtxSlider], imports: [CommonModule, MatCommonModule], exports: [MtxSlider, MatCommonModule] }); }
9
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MtxSliderModule, imports: [CommonModule, MatCommonModule, MatCommonModule] }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.7", ngImport: i0, type: MtxSliderModule, decorators: [{
12
- type: NgModule,
13
- args: [{
14
- imports: [CommonModule, MatCommonModule],
15
- exports: [MtxSlider, MatCommonModule],
16
- declarations: [MtxSlider],
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLW1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dGVuc2lvbnMvc2xpZGVyL3NsaWRlci1tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxVQUFVLENBQUM7O0FBT3JDLE1BQU0sT0FBTyxlQUFlO2lJQUFmLGVBQWU7a0lBQWYsZUFBZSxpQkFGWCxTQUFTLGFBRmQsWUFBWSxFQUFFLGVBQWUsYUFDN0IsU0FBUyxFQUFFLGVBQWU7a0lBR3pCLGVBQWUsWUFKaEIsWUFBWSxFQUFFLGVBQWUsRUFDbEIsZUFBZTs7MkZBR3pCLGVBQWU7a0JBTDNCLFFBQVE7bUJBQUM7b0JBQ1IsT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLGVBQWUsQ0FBQztvQkFDeEMsT0FBTyxFQUFFLENBQUMsU0FBUyxFQUFFLGVBQWUsQ0FBQztvQkFDckMsWUFBWSxFQUFFLENBQUMsU0FBUyxDQUFDO2lCQUMxQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgTWF0Q29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvbWF0ZXJpYWwvY29yZSc7XG5pbXBvcnQgeyBNdHhTbGlkZXIgfSBmcm9tICcuL3NsaWRlcic7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIE1hdENvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtNdHhTbGlkZXIsIE1hdENvbW1vbk1vZHVsZV0sXG4gIGRlY2xhcmF0aW9uczogW010eFNsaWRlcl0sXG59KVxuZXhwb3J0IGNsYXNzIE10eFNsaWRlck1vZHVsZSB7fVxuIl19