@ng-matero/extensions 16.3.2 → 17.1.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 (251) hide show
  1. package/_index.scss +26 -13
  2. package/alert/_alert-theme.scss +54 -24
  3. package/alert/alert-module.d.ts +3 -3
  4. package/alert/alert.d.ts +4 -7
  5. package/alert/alert.scss +3 -3
  6. package/button/_button-theme.scss +6 -4
  7. package/button/button-loading.d.ts +5 -10
  8. package/button/button-module.d.ts +5 -5
  9. package/checkbox-group/checkbox-group-module.d.ts +6 -6
  10. package/checkbox-group/checkbox-group.d.ts +5 -10
  11. package/colorpicker/_colorpicker-theme.scss +62 -34
  12. package/colorpicker/colorpicker-input.d.ts +2 -4
  13. package/colorpicker/colorpicker-module.d.ts +10 -10
  14. package/colorpicker/colorpicker-toggle.d.ts +4 -5
  15. package/colorpicker/colorpicker.d.ts +8 -9
  16. package/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
  17. package/column-resize/column-resize-directives/column-resize.d.ts +1 -1
  18. package/column-resize/column-resize-module.d.ts +1 -1
  19. package/core/color/_all-color.scss +7 -18
  20. package/core/datetime/datetime.module.d.ts +4 -1
  21. package/core/density/_all-density.scss +17 -25
  22. package/core/pipes/is-template-ref.pipe.d.ts +1 -1
  23. package/core/pipes/pipes.module.d.ts +4 -4
  24. package/core/pipes/to-observable.pipe.d.ts +1 -1
  25. package/core/style/_sass-utils.scss +13 -1
  26. package/core/theming/_all-theme.scss +32 -17
  27. package/core/tokens/_token-utils.scss +4 -5
  28. package/core/tokens/m2/mdc/_plain-tooltip.scss +21 -29
  29. package/core/tokens/m2/mtx/_alert.scss +14 -15
  30. package/core/tokens/m2/mtx/_colorpicker.scss +8 -11
  31. package/core/tokens/m2/mtx/_datetimepicker.scss +38 -47
  32. package/core/tokens/m2/mtx/_drawer.scss +9 -10
  33. package/core/tokens/m2/mtx/_grid.scss +23 -22
  34. package/core/tokens/m2/mtx/_loader.scss +6 -6
  35. package/core/tokens/m2/mtx/_popover.scss +10 -11
  36. package/core/tokens/m2/mtx/_progress.scss +18 -17
  37. package/core/tokens/m2/mtx/_select.scss +23 -24
  38. package/core/tokens/m2/mtx/_split.scss +8 -11
  39. package/core/typography/_all-typography.scss +40 -0
  40. package/core/typography/_typography.scss +1 -579
  41. package/datetimepicker/_datetimepicker-theme.scss +75 -48
  42. package/datetimepicker/calendar-body.d.ts +1 -1
  43. package/datetimepicker/calendar.d.ts +8 -15
  44. package/datetimepicker/calendar.scss +16 -4
  45. package/datetimepicker/clock.d.ts +2 -3
  46. package/datetimepicker/datetimepicker-content.scss +3 -3
  47. package/datetimepicker/datetimepicker-input.d.ts +2 -3
  48. package/datetimepicker/datetimepicker-module.d.ts +16 -16
  49. package/datetimepicker/datetimepicker-toggle.d.ts +4 -5
  50. package/datetimepicker/datetimepicker.d.ts +16 -27
  51. package/datetimepicker/month-view.d.ts +2 -2
  52. package/datetimepicker/multi-year-view.d.ts +2 -2
  53. package/datetimepicker/time.d.ts +6 -8
  54. package/datetimepicker/time.scss +2 -2
  55. package/datetimepicker/year-view.d.ts +2 -2
  56. package/dialog/dialog-container.d.ts +1 -1
  57. package/dialog/dialog-module.d.ts +7 -7
  58. package/drawer/_drawer-theme.scss +55 -22
  59. package/drawer/drawer-container.d.ts +1 -1
  60. package/drawer/drawer-container.scss +25 -4
  61. package/drawer/drawer-module.d.ts +5 -5
  62. package/esm2022/alert/alert-module.mjs +6 -7
  63. package/esm2022/alert/alert.mjs +11 -18
  64. package/esm2022/button/button-loading.mjs +13 -23
  65. package/esm2022/button/button-module.mjs +6 -7
  66. package/esm2022/checkbox-group/checkbox-group-module.mjs +6 -7
  67. package/esm2022/checkbox-group/checkbox-group.mjs +19 -31
  68. package/esm2022/colorpicker/colorpicker-input.mjs +14 -14
  69. package/esm2022/colorpicker/colorpicker-module.mjs +20 -19
  70. package/esm2022/colorpicker/colorpicker-toggle.mjs +19 -18
  71. package/esm2022/colorpicker/colorpicker.mjs +46 -44
  72. package/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +6 -5
  73. package/esm2022/column-resize/column-resize-directives/column-resize.mjs +6 -5
  74. package/esm2022/column-resize/column-resize-module.mjs +6 -6
  75. package/esm2022/column-resize/column-resize-notifier.mjs +7 -7
  76. package/esm2022/column-resize/column-resize.mjs +4 -4
  77. package/esm2022/column-resize/column-size-store.mjs +3 -3
  78. package/esm2022/column-resize/event-dispatcher.mjs +5 -5
  79. package/esm2022/column-resize/overlay-handle.mjs +4 -4
  80. package/esm2022/column-resize/polyfill.mjs +1 -1
  81. package/esm2022/column-resize/resizable.mjs +4 -4
  82. package/esm2022/column-resize/resize-strategy.mjs +14 -14
  83. package/esm2022/core/datetime/datetime-adapter.mjs +1 -1
  84. package/esm2022/core/datetime/datetime.module.mjs +19 -23
  85. package/esm2022/core/datetime/native-datetime-adapter.mjs +6 -6
  86. package/esm2022/core/pipes/is-template-ref.pipe.mjs +5 -5
  87. package/esm2022/core/pipes/pipes.module.mjs +6 -7
  88. package/esm2022/core/pipes/to-observable.pipe.mjs +5 -5
  89. package/esm2022/datetimepicker/calendar-body.mjs +5 -6
  90. package/esm2022/datetimepicker/calendar.mjs +38 -48
  91. package/esm2022/datetimepicker/clock.mjs +11 -11
  92. package/esm2022/datetimepicker/datetimepicker-errors.mjs +4 -3
  93. package/esm2022/datetimepicker/datetimepicker-input.mjs +14 -14
  94. package/esm2022/datetimepicker/datetimepicker-intl.mjs +3 -3
  95. package/esm2022/datetimepicker/datetimepicker-module.mjs +28 -11
  96. package/esm2022/datetimepicker/datetimepicker-toggle.mjs +19 -18
  97. package/esm2022/datetimepicker/datetimepicker.mjs +70 -89
  98. package/esm2022/datetimepicker/month-view.mjs +8 -10
  99. package/esm2022/datetimepicker/multi-year-view.mjs +10 -11
  100. package/esm2022/datetimepicker/time.mjs +19 -24
  101. package/esm2022/datetimepicker/year-view.mjs +10 -11
  102. package/esm2022/dialog/dialog-container.mjs +21 -12
  103. package/esm2022/dialog/dialog-module.mjs +23 -7
  104. package/esm2022/dialog/dialog.mjs +7 -6
  105. package/esm2022/drawer/drawer-container.mjs +7 -8
  106. package/esm2022/drawer/drawer-module.mjs +6 -7
  107. package/esm2022/drawer/drawer-ref.mjs +1 -1
  108. package/esm2022/drawer/drawer.mjs +8 -7
  109. package/esm2022/grid/cell.mjs +36 -14
  110. package/esm2022/grid/column-menu.mjs +31 -15
  111. package/esm2022/grid/column-resize/column-resize-directives/column-resize-flex.mjs +6 -5
  112. package/esm2022/grid/column-resize/column-resize-directives/column-resize.mjs +6 -5
  113. package/esm2022/grid/column-resize/column-resize-module.mjs +14 -14
  114. package/esm2022/grid/column-resize/index.mjs +8 -0
  115. package/esm2022/grid/column-resize/overlay-handle.mjs +7 -6
  116. package/esm2022/grid/column-resize/resizable-directives/resizable.mjs +7 -6
  117. package/esm2022/grid/column-resize/resize-strategy.mjs +5 -5
  118. package/esm2022/grid/expansion-toggle.mjs +6 -5
  119. package/esm2022/grid/grid-module.mjs +39 -37
  120. package/esm2022/grid/grid-pipes.mjs +30 -30
  121. package/esm2022/grid/grid-utils.mjs +7 -6
  122. package/esm2022/grid/grid.mjs +175 -111
  123. package/esm2022/loader/loader-module.mjs +6 -7
  124. package/esm2022/loader/loader.mjs +17 -29
  125. package/esm2022/photoviewer/photoviewer-module.mjs +6 -7
  126. package/esm2022/photoviewer/photoviewer.mjs +8 -7
  127. package/esm2022/popover/popover-content.mjs +10 -9
  128. package/esm2022/popover/popover-module.mjs +22 -7
  129. package/esm2022/popover/popover-target.mjs +6 -5
  130. package/esm2022/popover/popover-trigger.mjs +15 -8
  131. package/esm2022/popover/popover.mjs +54 -139
  132. package/esm2022/progress/progress-module.mjs +6 -7
  133. package/esm2022/progress/progress.mjs +15 -26
  134. package/esm2022/select/option.mjs +12 -17
  135. package/esm2022/select/select-module.mjs +20 -9
  136. package/esm2022/select/select.mjs +19 -19
  137. package/esm2022/select/templates.mjs +56 -56
  138. package/esm2022/split/split-module.mjs +6 -7
  139. package/esm2022/split/split-pane.mjs +6 -5
  140. package/esm2022/split/split.mjs +8 -8
  141. package/esm2022/split/utils.mjs +1 -1
  142. package/esm2022/tooltip/tooltip-module.mjs +24 -7
  143. package/esm2022/tooltip/tooltip.mjs +104 -117
  144. package/fesm2022/mtxAlert.mjs +15 -23
  145. package/fesm2022/mtxAlert.mjs.map +1 -1
  146. package/fesm2022/mtxButton.mjs +17 -28
  147. package/fesm2022/mtxButton.mjs.map +1 -1
  148. package/fesm2022/mtxCheckboxGroup.mjs +22 -37
  149. package/fesm2022/mtxCheckboxGroup.mjs.map +1 -1
  150. package/fesm2022/mtxColorpicker.mjs +479 -474
  151. package/fesm2022/mtxColorpicker.mjs.map +1 -1
  152. package/fesm2022/mtxColumnResize.mjs +51 -49
  153. package/fesm2022/mtxColumnResize.mjs.map +1 -1
  154. package/fesm2022/mtxCore.mjs +36 -41
  155. package/fesm2022/mtxCore.mjs.map +1 -1
  156. package/fesm2022/mtxDatetimepicker.mjs +898 -905
  157. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  158. package/fesm2022/mtxDialog.mjs +47 -25
  159. package/fesm2022/mtxDialog.mjs.map +1 -1
  160. package/fesm2022/mtxDrawer.mjs +20 -21
  161. package/fesm2022/mtxDrawer.mjs.map +1 -1
  162. package/fesm2022/mtxGrid.mjs +330 -229
  163. package/fesm2022/mtxGrid.mjs.map +1 -1
  164. package/fesm2022/mtxLoader.mjs +21 -36
  165. package/fesm2022/mtxLoader.mjs.map +1 -1
  166. package/fesm2022/mtxPhotoviewer.mjs +12 -12
  167. package/fesm2022/mtxPhotoviewer.mjs.map +1 -1
  168. package/fesm2022/mtxPopover.mjs +103 -165
  169. package/fesm2022/mtxPopover.mjs.map +1 -1
  170. package/fesm2022/mtxProgress.mjs +19 -32
  171. package/fesm2022/mtxProgress.mjs.map +1 -1
  172. package/fesm2022/mtxSelect.mjs +99 -93
  173. package/fesm2022/mtxSelect.mjs.map +1 -1
  174. package/fesm2022/mtxSplit.mjs +17 -18
  175. package/fesm2022/mtxSplit.mjs.map +1 -1
  176. package/fesm2022/mtxTooltip.mjs +128 -125
  177. package/fesm2022/mtxTooltip.mjs.map +1 -1
  178. package/grid/_grid-theme.scss +58 -29
  179. package/grid/cell.d.ts +1 -1
  180. package/grid/column-menu.d.ts +1 -1
  181. package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
  182. package/grid/column-resize/column-resize-directives/column-resize.d.ts +1 -1
  183. package/grid/column-resize/column-resize-module.d.ts +7 -6
  184. package/grid/column-resize/index.d.ts +7 -0
  185. package/grid/column-resize/overlay-handle.d.ts +1 -1
  186. package/grid/column-resize/resizable-directives/resizable.d.ts +1 -1
  187. package/grid/expansion-toggle.d.ts +1 -1
  188. package/grid/grid-module.d.ts +25 -25
  189. package/grid/grid-pipes.d.ts +7 -7
  190. package/grid/grid.d.ts +57 -25
  191. package/grid/grid.scss +8 -1
  192. package/loader/_loader-theme.scss +55 -22
  193. package/loader/loader-module.d.ts +5 -5
  194. package/loader/loader.d.ts +5 -10
  195. package/loader/loader.scss +1 -1
  196. package/package.json +13 -19
  197. package/photoviewer/photoviewer-module.d.ts +1 -1
  198. package/photoviewer/photoviewer.d.ts +2 -1
  199. package/popover/_popover-theme.scss +55 -22
  200. package/popover/popover-content.d.ts +1 -1
  201. package/popover/popover-module.d.ts +8 -8
  202. package/popover/popover-target.d.ts +1 -1
  203. package/popover/popover-trigger.d.ts +1 -1
  204. package/popover/popover.d.ts +24 -55
  205. package/popover/popover.scss +1 -1
  206. package/prebuilt-themes/deeppurple-amber.css +1 -1
  207. package/prebuilt-themes/indigo-pink.css +1 -1
  208. package/prebuilt-themes/pink-bluegrey.css +1 -1
  209. package/prebuilt-themes/purple-green.css +1 -1
  210. package/progress/_progress-theme.scss +60 -22
  211. package/progress/progress-module.d.ts +3 -3
  212. package/progress/progress.d.ts +5 -10
  213. package/progress/progress.scss +3 -3
  214. package/select/_select-theme.scss +66 -34
  215. package/select/option.d.ts +3 -6
  216. package/select/select-module.d.ts +7 -7
  217. package/select/select.d.ts +2 -4
  218. package/select/select.scss +109 -109
  219. package/select/templates.d.ts +11 -11
  220. package/split/_split-theme.scss +62 -32
  221. package/split/split-module.d.ts +4 -4
  222. package/split/split-pane.d.ts +1 -1
  223. package/split/split.d.ts +1 -1
  224. package/split/split.scss +2 -4
  225. package/tooltip/_tooltip-theme.scss +66 -34
  226. package/tooltip/tooltip-module.d.ts +7 -7
  227. package/tooltip/tooltip.d.ts +30 -44
  228. package/tooltip/tooltip.scss +2 -4
  229. package/_theming.scss +0 -16
  230. package/alert/_alert-theme.import.scss +0 -2
  231. package/button/_button-theme.import.scss +0 -2
  232. package/colorpicker/_colorpicker-theme.import.scss +0 -2
  233. package/core/density/_compatibility.scss +0 -74
  234. package/core/mdc-helpers/_mdc-helpers.scss +0 -242
  235. package/core/style/_elevation.scss +0 -91
  236. package/core/style/_private.scss +0 -32
  237. package/core/style/_variables.scss +0 -44
  238. package/core/style/_vendor-prefixes.scss +0 -46
  239. package/core/theming/_palette.scss +0 -746
  240. package/core/theming/_theming.scss +0 -497
  241. package/core/typography/_typography-utils.scss +0 -101
  242. package/datetimepicker/_datetimepicker-theme.import.scss +0 -4
  243. package/drawer/_drawer-theme.import.scss +0 -2
  244. package/grid/_grid-theme.import.scss +0 -2
  245. package/loader/_loader-theme.import.scss +0 -2
  246. package/popover/_popover-theme.import.scss +0 -2
  247. package/progress/_progress-theme.import.scss +0 -2
  248. package/select/_select-density.scss +0 -68
  249. package/select/_select-theme.import.scss +0 -3
  250. package/split/_split-theme.import.scss +0 -2
  251. package/tooltip/_tooltip-theme.import.scss +0 -1
package/_index.scss CHANGED
@@ -1,16 +1,29 @@
1
- @forward './alert/alert-theme' as alert-* show alert-theme;
2
- @forward './button/button-theme' as button-* show button-theme;
3
- @forward './colorpicker/colorpicker-theme' as colorpicker-* show colorpicker-theme;
4
- @forward './datetimepicker/datetimepicker-theme' as datetimepicker-* show datetimepicker-theme;
5
- @forward './drawer/drawer-theme' as drawer-* show drawer-theme;
6
- @forward './grid/grid-theme' as grid-* show grid-theme;
7
- @forward './loader/loader-theme' as loader-* show loader-theme;
8
- @forward './popover/popover-theme' as popover-* show popover-theme;
9
- @forward './progress/progress-theme' as progress-* show progress-theme;
10
- @forward './select/select-theme' as select-* show select-theme;
11
- @forward './split/split-theme' as split-* show split-theme;
12
- @forward './tooltip/tooltip-theme' as tooltip-* show tooltip-theme;
1
+ @forward './alert/alert-theme' as alert-* show alert-theme,
2
+ alert-color, alert-typography, alert-density, alert-base;
3
+ @forward './button/button-theme' as button-* show button-theme,
4
+ button-color, button-typography, button-density, button-base;
5
+ @forward './colorpicker/colorpicker-theme' as colorpicker-* show colorpicker-theme,
6
+ colorpicker-color, colorpicker-typography, colorpicker-density, colorpicker-base;
7
+ @forward './datetimepicker/datetimepicker-theme' as datetimepicker-* show datetimepicker-theme,
8
+ datetimepicker-color, datetimepicker-typography, datetimepicker-density, datetimepicker-base;
9
+ @forward './drawer/drawer-theme' as drawer-* show drawer-theme,
10
+ drawer-color, drawer-typography, drawer-density, drawer-base;
11
+ @forward './grid/grid-theme' as grid-* show grid-theme,
12
+ grid-color, grid-typography, grid-density, grid-base;
13
+ @forward './loader/loader-theme' as loader-* show loader-theme,
14
+ loader-color, loader-typography, loader-density, loader-base;
15
+ @forward './popover/popover-theme' as popover-* show popover-theme,
16
+ popover-color, popover-typography, popover-density, popover-base;
17
+ @forward './progress/progress-theme' as progress-* show progress-theme,
18
+ progress-color, progress-typography, progress-density, progress-base;
19
+ @forward './select/select-theme' as select-* show select-theme,
20
+ select-color, select-typography, select-density, select-base;
21
+ @forward './split/split-theme' as split-* show split-theme,
22
+ split-color, split-typography, split-density, split-base;
23
+ @forward './tooltip/tooltip-theme' as tooltip-* show tooltip-theme,
24
+ tooltip-color, tooltip-typography, tooltip-density, tooltip-base;
13
25
 
14
- @forward './core/theming/all-theme' show all-component-themes;
26
+ @forward './core/theming/all-theme' show all-component-themes, all-component-bases;
15
27
  @forward './core/color/all-color' show all-component-colors;
28
+ @forward './core/typography/all-typography' show all-component-typographies;
16
29
  @forward './core/density/all-density' show all-component-densities;
@@ -1,39 +1,69 @@
1
+ @use '@angular/material' as mat;
1
2
  @use '../core/style/sass-utils';
2
- @use '../core/theming/theming';
3
3
  @use '../core/tokens/token-utils';
4
4
  @use '../core/tokens/m2/mtx/alert' as tokens-mtx-alert;
5
5
 
6
- @mixin color($config-or-theme) {
7
- $config: theming.get-color-config($config-or-theme);
8
-
9
- @include sass-utils.current-selector-or-root() {
10
- @include token-utils.create-token-values(tokens-mtx-alert.$prefix,
11
- tokens-mtx-alert.get-color-tokens($config));
6
+ @mixin base($theme) {
7
+ @if mat.get-theme-version($theme) == 1 {
8
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, base));
9
+ }
10
+ @else {
11
+ @include sass-utils.current-selector-or-root() {
12
+ @include token-utils.create-token-values(tokens-mtx-alert.$prefix,
13
+ tokens-mtx-alert.get-unthemable-tokens());
14
+ }
12
15
  }
13
16
  }
14
17
 
15
- @mixin typography($config-or-theme) {}
16
-
17
- @mixin density($config-or-theme) {}
18
+ @mixin color($theme) {
19
+ @if mat.get-theme-version($theme) == 1 {
20
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, color));
21
+ }
22
+ @else {
23
+ @include sass-utils.current-selector-or-root() {
24
+ @include token-utils.create-token-values(tokens-mtx-alert.$prefix,
25
+ tokens-mtx-alert.get-color-tokens($theme));
26
+ }
27
+ }
28
+ }
18
29
 
19
- @mixin theme($theme-or-color-config) {
20
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
30
+ @mixin typography($theme) {
31
+ @if mat.get-theme-version($theme) == 1 {
32
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, typography));
33
+ }
34
+ @else {}
35
+ }
21
36
 
22
- @include theming.private-check-duplicate-theme-styles($theme, 'mtx-alert') {
23
- $color: theming.get-color-config($theme);
24
- $density: theming.get-density-config($theme);
25
- $typography: theming.get-typography-config($theme);
37
+ @mixin density($theme) {
38
+ @if mat.get-theme-version($theme) == 1 {
39
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, density));
40
+ }
41
+ @else {}
42
+ }
26
43
 
27
- @if $color !=null {
28
- @include color($color);
44
+ @mixin theme($theme) {
45
+ @include mat.private-check-duplicate-theme-styles($theme, 'mtx-alert') {
46
+ @if mat.get-theme-version($theme) == 1 {
47
+ @include _theme-from-tokens(mat.get-theme-tokens($theme));
29
48
  }
30
-
31
- @if $density !=null {
32
- @include density($density);
49
+ @else {
50
+ @include base($theme);
51
+ @if mat.theme-has($theme, color) {
52
+ @include color($theme);
53
+ }
54
+ @if mat.theme-has($theme, density) {
55
+ @include density($theme);
56
+ }
57
+ @if mat.theme-has($theme, typography) {
58
+ @include typography($theme);
59
+ }
33
60
  }
61
+ }
62
+ }
34
63
 
35
- @if $typography !=null {
36
- @include typography($typography);
37
- }
64
+ @mixin _theme-from-tokens($tokens) {
65
+ @if ($tokens != ()) {
66
+ @include token-utils.create-token-values(tokens-mtx-alert.$prefix,
67
+ map.get($tokens, tokens-mtx-alert.$prefix));
38
68
  }
39
69
  }
@@ -1,8 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./alert";
3
- import * as i2 from "@angular/common";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./alert";
4
4
  export declare class MtxAlertModule {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxAlertModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxAlertModule, [typeof i1.MtxAlert], [typeof i2.CommonModule], [typeof i1.MtxAlert]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxAlertModule, never, [typeof i1.CommonModule, typeof i2.MtxAlert], [typeof i2.MtxAlert]>;
7
7
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxAlertModule>;
8
8
  }
package/alert/alert.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
- import { BooleanInput } from '@angular/cdk/coercion';
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export type MtxAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';
5
4
  export declare class MtxAlert {
@@ -8,16 +7,14 @@ export declare class MtxAlert {
8
7
  /** The alert's type. Can be `default`, `info`, `success`, `warning` or `danger`. */
9
8
  type: MtxAlertType;
10
9
  /** Whether to display an inline close button. */
11
- get dismissible(): boolean;
12
- set dismissible(value: boolean);
13
- private _dismissible;
10
+ dismissible: boolean;
14
11
  /** The alert's elevation (0~24). */
15
12
  elevation: number;
16
13
  /** Event emitted when the alert closed. */
17
14
  closed: EventEmitter<MtxAlert>;
18
15
  constructor(_changeDetectorRef: ChangeDetectorRef);
19
16
  _onClosed(): void;
20
- static ngAcceptInputType_dismissible: BooleanInput;
21
17
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxAlert, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxAlert, "mtx-alert", ["mtxAlert"], { "type": { "alias": "type"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "elevation": { "alias": "elevation"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxAlert, "mtx-alert", ["mtxAlert"], { "type": { "alias": "type"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "elevation": { "alias": "elevation"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
19
+ static ngAcceptInputType_dismissible: unknown;
23
20
  }
package/alert/alert.scss CHANGED
@@ -4,12 +4,12 @@
4
4
  .mtx-alert {
5
5
  position: relative;
6
6
  display: block;
7
- padding: .75rem 1.25rem;
8
- margin-bottom: 1rem;
7
+ padding: 12px 20px;
8
+ margin-bottom: 16px;
9
9
  border: 1px solid transparent;
10
- border-radius: .25rem;
11
10
 
12
11
  @include token-utils.use-tokens(tokens-mtx-alert.$prefix, tokens-mtx-alert.get-token-slots()) {
12
+ @include token-utils.create-token-slot(border-radius, container-shape);
13
13
  @include token-utils.create-token-slot(background-color, background-color);
14
14
  @include token-utils.create-token-slot(color, text-color);
15
15
 
@@ -1,9 +1,11 @@
1
1
  @use './button-loading.scss';
2
2
 
3
- @mixin color($config-or-theme) {}
3
+ @mixin base($theme) {}
4
4
 
5
- @mixin typography($config-or-theme) {}
5
+ @mixin color($theme) {}
6
6
 
7
- @mixin density($config-or-theme) {}
7
+ @mixin typography($theme) {}
8
8
 
9
- @mixin theme($theme-or-color-config) {}
9
+ @mixin density($theme) {}
10
+
11
+ @mixin theme($theme) {}
@@ -1,5 +1,4 @@
1
1
  import { ElementRef, OnChanges, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import { BooleanInput } from '@angular/cdk/coercion';
3
2
  import { ThemePalette } from '@angular/material/core';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class MatButtonLoading implements OnChanges {
@@ -7,19 +6,15 @@ export declare class MatButtonLoading implements OnChanges {
7
6
  private _viewContainerRef;
8
7
  private _renderer;
9
8
  private spinner;
10
- get loading(): boolean;
11
- set loading(value: boolean);
12
- private _loading;
13
- get disabled(): boolean;
14
- set disabled(value: boolean);
15
- private _disabled;
9
+ loading: boolean;
10
+ disabled: boolean;
16
11
  color: ThemePalette;
17
12
  constructor(_elementRef: ElementRef<HTMLButtonElement>, _viewContainerRef: ViewContainerRef, _renderer: Renderer2);
18
13
  ngOnChanges(changes: SimpleChanges): void;
19
14
  private createSpinner;
20
15
  private destroySpinner;
21
- static ngAcceptInputType_loading: BooleanInput;
22
- static ngAcceptInputType_disabled: BooleanInput;
23
16
  static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonLoading, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonLoading, "[mat-button][loading], [mat-raised-button][loading], [mat-stroked-button][loading], [mat-flat-button][loading], [mat-icon-button][loading], [mat-fab][loading], [mat-mini-fab][loading]", never, { "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonLoading, "[mat-button][loading], [mat-raised-button][loading], [mat-stroked-button][loading], [mat-flat-button][loading], [mat-icon-button][loading], [mat-fab][loading], [mat-mini-fab][loading]", never, { "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
18
+ static ngAcceptInputType_loading: unknown;
19
+ static ngAcceptInputType_disabled: unknown;
25
20
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./button-loading";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/button";
5
- import * as i4 from "@angular/material/progress-spinner";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/material/button";
4
+ import * as i3 from "@angular/material/progress-spinner";
5
+ import * as i4 from "./button-loading";
6
6
  export declare class MtxButtonModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxButtonModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxButtonModule, [typeof i1.MatButtonLoading], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatProgressSpinnerModule], [typeof i1.MatButtonLoading]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxButtonModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.MatProgressSpinnerModule, typeof i4.MatButtonLoading], [typeof i4.MatButtonLoading]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxButtonModule>;
10
10
  }
@@ -1,11 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./checkbox-group";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/material/checkbox";
6
- import * as i5 from "@ng-matero/extensions/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "@angular/material/checkbox";
5
+ import * as i4 from "@ng-matero/extensions/core";
6
+ import * as i5 from "./checkbox-group";
7
7
  export declare class MtxCheckboxGroupModule {
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxCheckboxGroupModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxCheckboxGroupModule, [typeof i1.MtxCheckboxGroup], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatCheckboxModule, typeof i5.MtxPipesModule], [typeof i1.MtxCheckboxGroup, typeof i5.MtxPipesModule]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxCheckboxGroupModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatCheckboxModule, typeof i4.MtxPipesModule, typeof i5.MtxCheckboxGroup], [typeof i5.MtxCheckboxGroup, typeof i4.MtxPipesModule]>;
10
10
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxCheckboxGroupModule>;
11
11
  }
@@ -1,5 +1,4 @@
1
1
  import { FocusMonitor } from '@angular/cdk/a11y';
2
- import { BooleanInput } from '@angular/cdk/coercion';
3
2
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
4
3
  import { ControlValueAccessor } from '@angular/forms';
5
4
  import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
@@ -21,16 +20,12 @@ export declare class MtxCheckboxGroup implements AfterViewInit, OnDestroy, Contr
21
20
  private _originalItems;
22
21
  bindLabel: string;
23
22
  bindValue: string;
24
- get showSelectAll(): boolean;
25
- set showSelectAll(value: boolean);
26
- private _showSelectAll;
23
+ showSelectAll: boolean;
27
24
  selectAllLabel: string;
28
25
  get compareWith(): ((o1: any, o2: any) => boolean) | undefined;
29
26
  set compareWith(fn: ((o1: any, o2: any) => boolean) | undefined);
30
27
  private _compareWith?;
31
- get disabled(): boolean;
32
- set disabled(value: boolean);
33
- private _disabled;
28
+ disabled: boolean;
34
29
  change: EventEmitter<{
35
30
  model: MtxCheckboxGroupOption[];
36
31
  index: number;
@@ -76,8 +71,8 @@ export declare class MtxCheckboxGroup implements AfterViewInit, OnDestroy, Contr
76
71
  _updateNormalCheckboxState(e: MatCheckboxChange, index: number): void;
77
72
  /** Handle master checkbox toggle */
78
73
  _updateMasterCheckboxState(e: MatCheckboxChange, index: number): void;
79
- static ngAcceptInputType_showSelectAll: BooleanInput;
80
- static ngAcceptInputType_disabled: BooleanInput;
81
74
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxCheckboxGroup, never>;
82
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxCheckboxGroup, "mtx-checkbox-group", ["mtxCheckboxGroup"], { "items": { "alias": "items"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, ["_checkboxes"], never, false, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxCheckboxGroup, "mtx-checkbox-group", ["mtxCheckboxGroup"], { "items": { "alias": "items"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, ["_checkboxes"], never, true, never>;
76
+ static ngAcceptInputType_showSelectAll: unknown;
77
+ static ngAcceptInputType_disabled: unknown;
83
78
  }
@@ -1,55 +1,83 @@
1
1
  @use 'sass:color';
2
2
  @use 'sass:map';
3
- @use '../core/theming/theming';
4
- @use '../core/typography/typography';
3
+ @use '@angular/material' as mat;
5
4
  @use '../core/style/sass-utils';
6
5
  @use '../core/tokens/token-utils';
7
6
  @use '../core/tokens/m2/mtx/colorpicker' as tokens-mtx-colorpicker;
8
7
 
9
- @mixin color($config-or-theme) {
10
- $config: theming.get-color-config($config-or-theme);
11
- $background: map.get($config, background);
12
-
13
- @include sass-utils.current-selector-or-root() {
14
- @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
15
- tokens-mtx-colorpicker.get-color-tokens($config));
8
+ @mixin base($theme) {
9
+ @if mat.get-theme-version($theme) == 1 {
10
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, base));
16
11
  }
12
+ @else {
13
+ @include sass-utils.current-selector-or-root() {
14
+ @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
15
+ tokens-mtx-colorpicker.get-unthemable-tokens());
16
+ }
17
+ }
18
+ }
17
19
 
18
- .mtx-colorpicker-toggle-active {
19
- &.mat-accent {
20
- $accent-tokens: tokens-mtx-colorpicker.private-get-toggle-color-palette-color-tokens($config, accent);
21
- @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix, $accent-tokens);
20
+ @mixin color($theme) {
21
+ @if mat.get-theme-version($theme) == 1 {
22
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, color));
23
+ }
24
+ @else {
25
+ @include sass-utils.current-selector-or-root() {
26
+ @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
27
+ tokens-mtx-colorpicker.get-color-tokens($theme));
22
28
  }
23
29
 
24
- &.mat-warn {
25
- $warn-tokens: tokens-mtx-colorpicker.private-get-toggle-color-palette-color-tokens($config, warn);
26
- @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix, $warn-tokens);
30
+ .mtx-colorpicker-toggle-active {
31
+ &.mat-accent {
32
+ $accent-tokens: tokens-mtx-colorpicker.private-get-toggle-color-palette-color-tokens($theme, accent);
33
+ @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix, $accent-tokens);
34
+ }
35
+
36
+ &.mat-warn {
37
+ $warn-tokens: tokens-mtx-colorpicker.private-get-toggle-color-palette-color-tokens($theme, warn);
38
+ @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix, $warn-tokens);
39
+ }
27
40
  }
28
41
  }
29
42
  }
30
43
 
31
- @mixin typography($config-or-theme) {}
32
-
33
- @mixin density($config-or-theme) {}
34
-
35
- @mixin theme($theme-or-color-config) {
36
- $theme: theming.private-legacy-get-theme($theme-or-color-config);
44
+ @mixin typography($theme) {
45
+ @if mat.get-theme-version($theme) == 1 {
46
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, typography));
47
+ }
48
+ @else {}
49
+ }
37
50
 
38
- @include theming.private-check-duplicate-theme-styles($theme, 'mtx-colorpicker') {
39
- $color: theming.get-color-config($theme);
40
- $density: theming.get-density-config($theme);
41
- $typography: theming.get-typography-config($theme);
51
+ @mixin density($theme) {
52
+ @if mat.get-theme-version($theme) == 1 {
53
+ @include _theme-from-tokens(mat.get-theme-tokens($theme, density));
54
+ }
55
+ @else {}
56
+ }
42
57
 
43
- @if $color !=null {
44
- @include color($color);
58
+ @mixin theme($theme) {
59
+ @include mat.private-check-duplicate-theme-styles($theme, 'mtx-colorpicker') {
60
+ @if mat.get-theme-version($theme) == 1 {
61
+ @include _theme-from-tokens(mat.get-theme-tokens($theme));
45
62
  }
46
-
47
- @if $density !=null {
48
- @include density($density);
63
+ @else {
64
+ @include base($theme);
65
+ @if mat.theme-has($theme, color) {
66
+ @include color($theme);
67
+ }
68
+ @if mat.theme-has($theme, density) {
69
+ @include density($theme);
70
+ }
71
+ @if mat.theme-has($theme, typography) {
72
+ @include typography($theme);
73
+ }
49
74
  }
75
+ }
76
+ }
50
77
 
51
- @if $typography !=null {
52
- @include typography($typography);
53
- }
78
+ @mixin _theme-from-tokens($tokens) {
79
+ @if ($tokens != ()) {
80
+ @include token-utils.create-token-values(tokens-mtx-colorpicker.$prefix,
81
+ map.get($tokens, tokens-mtx-colorpicker.$prefix));
54
82
  }
55
83
  }
@@ -1,4 +1,3 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
2
1
  import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
3
2
  import { AbstractControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
4
3
  import { ThemePalette } from '@angular/material/core';
@@ -85,8 +84,7 @@ export declare class MtxColorpickerInput implements ControlValueAccessor, AfterV
85
84
  getThemePalette(): ThemePalette;
86
85
  /** TODO: Formats a value and sets it on the input element. */
87
86
  private _formatValue;
88
- static ngAcceptInputType_value: any;
89
- static ngAcceptInputType_disabled: BooleanInput;
90
87
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerInput, [null, { optional: true; }]>;
91
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerInput, "input[mtxColorpicker]", ["mtxColorpickerInput"], { "mtxColorpicker": { "alias": "mtxColorpicker"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "colorChange": "colorChange"; "colorInput": "colorInput"; }, never, never, false, never>;
88
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerInput, "input[mtxColorpicker]", ["mtxColorpickerInput"], { "mtxColorpicker": { "alias": "mtxColorpicker"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "colorChange": "colorChange"; "colorInput": "colorInput"; }, never, never, true, never>;
89
+ static ngAcceptInputType_disabled: unknown;
92
90
  }
@@ -1,15 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./colorpicker";
3
- import * as i2 from "./colorpicker-input";
4
- import * as i3 from "./colorpicker-toggle";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/cdk/overlay";
7
- import * as i6 from "@angular/cdk/a11y";
8
- import * as i7 from "@angular/cdk/portal";
9
- import * as i8 from "@angular/material/button";
10
- import * as i9 from "ngx-color/chrome";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/cdk/overlay";
4
+ import * as i3 from "@angular/cdk/a11y";
5
+ import * as i4 from "@angular/cdk/portal";
6
+ import * as i5 from "@angular/material/button";
7
+ import * as i6 from "ngx-color/chrome";
8
+ import * as i7 from "./colorpicker";
9
+ import * as i8 from "./colorpicker-input";
10
+ import * as i9 from "./colorpicker-toggle";
11
11
  export declare class MtxColorpickerModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxColorpickerModule, [typeof i1.MtxColorpicker, typeof i1.MtxColorpickerContent, typeof i2.MtxColorpickerInput, typeof i3.MtxColorpickerToggle, typeof i3.MtxColorpickerToggleIcon], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.A11yModule, typeof i7.PortalModule, typeof i8.MatButtonModule, typeof i9.ColorChromeModule], [typeof i1.MtxColorpicker, typeof i1.MtxColorpickerContent, typeof i2.MtxColorpickerInput, typeof i3.MtxColorpickerToggle, typeof i3.MtxColorpickerToggleIcon]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxColorpickerModule, never, [typeof i1.CommonModule, typeof i2.OverlayModule, typeof i3.A11yModule, typeof i4.PortalModule, typeof i5.MatButtonModule, typeof i6.ColorChromeModule, typeof i7.MtxColorpicker, typeof i7.MtxColorpickerContent, typeof i8.MtxColorpickerInput, typeof i9.MtxColorpickerToggle, typeof i9.MtxColorpickerToggleIcon], [typeof i7.MtxColorpicker, typeof i7.MtxColorpickerContent, typeof i8.MtxColorpickerInput, typeof i9.MtxColorpickerToggle, typeof i9.MtxColorpickerToggleIcon]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxColorpickerModule>;
15
15
  }
@@ -1,4 +1,3 @@
1
- import { BooleanInput } from '@angular/cdk/coercion';
2
1
  import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
3
2
  import { MatButton } from '@angular/material/button';
4
3
  import { MtxColorpicker } from './colorpicker';
@@ -6,7 +5,7 @@ import * as i0 from "@angular/core";
6
5
  /** Can be used to override the icon of a `mtxColorpickerToggle`. */
7
6
  export declare class MtxColorpickerToggleIcon {
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggleIcon, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerToggleIcon, "[mtxColorpickerToggleIcon]", never, {}, {}, never, never, false, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxColorpickerToggleIcon, "[mtxColorpickerToggleIcon]", never, {}, {}, never, never, true, never>;
10
9
  }
11
10
  export declare class MtxColorpickerToggle implements AfterContentInit, OnChanges, OnDestroy {
12
11
  private _changeDetectorRef;
@@ -33,8 +32,8 @@ export declare class MtxColorpickerToggle implements AfterContentInit, OnChanges
33
32
  ngAfterContentInit(): void;
34
33
  _open(event: Event): void;
35
34
  private _watchStateChanges;
36
- static ngAcceptInputType_disabled: BooleanInput;
37
- static ngAcceptInputType_disableRipple: BooleanInput;
38
35
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerToggle, [null, { attribute: "tabindex"; }]>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerToggle, "mtx-colorpicker-toggle", ["mtxColorpickerToggle"], { "picker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_customIcon"], ["[mtxColorpickerToggleIcon]"], false, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerToggle, "mtx-colorpicker-toggle", ["mtxColorpickerToggle"], { "picker": { "alias": "for"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, {}, ["_customIcon"], ["[mtxColorpickerToggleIcon]"], true, never>;
37
+ static ngAcceptInputType_disabled: unknown;
38
+ static ngAcceptInputType_disableRipple: unknown;
40
39
  }
@@ -1,11 +1,10 @@
1
1
  import { Directionality } from '@angular/cdk/bidi';
2
- import { BooleanInput } from '@angular/cdk/coercion';
3
- import { ScrollStrategy, Overlay } from '@angular/cdk/overlay';
2
+ import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
4
3
  import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
5
4
  import { CanColor, ThemePalette } from '@angular/material/core';
6
5
  import { Subject } from 'rxjs';
7
- import { ColorFormat, MtxColorpickerInput } from './colorpicker-input';
8
6
  import { ColorEvent } from 'ngx-color';
7
+ import { ColorFormat, MtxColorpickerInput } from './colorpicker-input';
9
8
  import * as i0 from "@angular/core";
10
9
  /** Injection token that determines the scroll handling while the panel is open. */
11
10
  export declare const MTX_COLORPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
@@ -37,7 +36,7 @@ export declare class MtxColorpickerContent extends _MtxColorpickerContentBase im
37
36
  ngOnDestroy(): void;
38
37
  getColorString(e: ColorEvent): string;
39
38
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpickerContent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerContent, "mtx-colorpicker-content", ["mtxColorpickerContent"], { "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpickerContent, "mtx-colorpicker-content", ["mtxColorpickerContent"], { "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
41
40
  }
42
41
  export declare class MtxColorpicker implements OnChanges, OnDestroy {
43
42
  private _overlay;
@@ -65,9 +64,7 @@ export declare class MtxColorpicker implements OnChanges, OnDestroy {
65
64
  * Note that automatic focus restoration is an accessibility feature and it is recommended that
66
65
  * you provide your own equivalent, if you decide to turn it off.
67
66
  */
68
- get restoreFocus(): boolean;
69
- set restoreFocus(value: boolean);
70
- private _restoreFocus;
67
+ restoreFocus: boolean;
71
68
  /** Whether the panel is open. */
72
69
  get opened(): boolean;
73
70
  set opened(value: boolean);
@@ -126,8 +123,10 @@ export declare class MtxColorpicker implements OnChanges, OnDestroy {
126
123
  private _setConnectedPositions;
127
124
  /** Gets an observable that will emit when the overlay is supposed to be closed. */
128
125
  private _getCloseStream;
129
- static ngAcceptInputType_disabled: BooleanInput;
130
126
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxColorpicker, [null, null, null, null, { optional: true; }, { optional: true; }]>;
131
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpicker, "mtx-colorpicker", ["mtxColorpicker"], { "content": { "alias": "content"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "openedStream": "opened"; "closedStream": "closed"; }, never, never, false, never>;
127
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxColorpicker, "mtx-colorpicker", ["mtxColorpicker"], { "content": { "alias": "content"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "color": { "alias": "color"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "openedStream": "opened"; "closedStream": "closed"; }, never, never, true, never>;
128
+ static ngAcceptInputType_disabled: unknown;
129
+ static ngAcceptInputType_restoreFocus: unknown;
130
+ static ngAcceptInputType_opened: unknown;
132
131
  }
133
132
  export {};
@@ -24,5 +24,5 @@ export declare class CdkColumnResizeFlex extends ColumnResize {
24
24
  protected readonly table: CdkTable<unknown>;
25
25
  constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeFlex, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResizeFlex, "cdk-table[columnResize]", never, {}, {}, never, never, false, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResizeFlex, "cdk-table[columnResize]", never, {}, {}, never, never, true, never>;
28
28
  }
@@ -24,5 +24,5 @@ export declare class CdkColumnResize extends ColumnResize {
24
24
  protected readonly table: CdkTable<unknown>;
25
25
  constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResize, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResize, "table[cdk-table][columnResize]", never, {}, {}, never, never, false, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResize, "table[cdk-table][columnResize]", never, {}, {}, never, never, true, never>;
28
28
  }
@@ -7,6 +7,6 @@ import * as i2 from "./column-resize-directives/column-resize-flex";
7
7
  */
8
8
  export declare class CdkColumnResizeModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<CdkColumnResizeModule, [typeof i1.CdkColumnResize, typeof i2.CdkColumnResizeFlex], never, [typeof i1.CdkColumnResize, typeof i2.CdkColumnResizeFlex]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CdkColumnResizeModule, never, [typeof i1.CdkColumnResize, typeof i2.CdkColumnResizeFlex], [typeof i1.CdkColumnResize, typeof i2.CdkColumnResizeFlex]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<CdkColumnResizeModule>;
12
12
  }