@ng-matero/extensions 17.0.0 → 17.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 (197) hide show
  1. package/_index.scss +24 -12
  2. package/alert/alert-module.d.ts +3 -3
  3. package/alert/alert.d.ts +1 -1
  4. package/checkbox-group/checkbox-group-module.d.ts +6 -6
  5. package/checkbox-group/checkbox-group.d.ts +1 -1
  6. package/colorpicker/colorpicker-input.d.ts +1 -1
  7. package/colorpicker/colorpicker-module.d.ts +10 -10
  8. package/colorpicker/colorpicker-toggle.d.ts +2 -2
  9. package/colorpicker/colorpicker.d.ts +3 -3
  10. package/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
  11. package/column-resize/column-resize-directives/column-resize.d.ts +1 -1
  12. package/column-resize/column-resize-module.d.ts +1 -1
  13. package/core/color/_all-color.scss +3 -3
  14. package/core/datetime/datetime.module.d.ts +4 -1
  15. package/core/datetime/index.d.ts +5 -5
  16. package/core/density/_all-density.scss +2 -2
  17. package/core/pipes/is-template-ref.pipe.d.ts +1 -1
  18. package/core/pipes/pipes.module.d.ts +4 -4
  19. package/core/pipes/to-observable.pipe.d.ts +1 -1
  20. package/core/tokens/m2/mdc/_plain-tooltip.scss +6 -6
  21. package/core/tokens/m2/mtx/_select.scss +1 -42
  22. package/core/typography/_all-typography.scss +2 -2
  23. package/datetimepicker/calendar-body.d.ts +1 -1
  24. package/datetimepicker/calendar.d.ts +1 -1
  25. package/datetimepicker/clock.d.ts +1 -1
  26. package/datetimepicker/datetimepicker-input.d.ts +1 -1
  27. package/datetimepicker/datetimepicker-module.d.ts +16 -16
  28. package/datetimepicker/datetimepicker-toggle.d.ts +2 -2
  29. package/datetimepicker/datetimepicker.d.ts +3 -3
  30. package/datetimepicker/month-view.d.ts +1 -1
  31. package/datetimepicker/multi-year-view.d.ts +1 -1
  32. package/datetimepicker/time.d.ts +3 -3
  33. package/datetimepicker/year-view.d.ts +1 -1
  34. package/dialog/dialog-container.d.ts +1 -1
  35. package/dialog/dialog-module.d.ts +7 -7
  36. package/drawer/drawer-container.d.ts +1 -1
  37. package/drawer/drawer-module.d.ts +5 -5
  38. package/esm2022/alert/alert-module.mjs +6 -7
  39. package/esm2022/alert/alert.mjs +5 -5
  40. package/esm2022/button/button-loading.mjs +4 -4
  41. package/esm2022/button/button-module.mjs +4 -4
  42. package/esm2022/checkbox-group/checkbox-group-module.mjs +6 -7
  43. package/esm2022/checkbox-group/checkbox-group.mjs +9 -10
  44. package/esm2022/colorpicker/colorpicker-input.mjs +5 -4
  45. package/esm2022/colorpicker/colorpicker-module.mjs +20 -19
  46. package/esm2022/colorpicker/colorpicker-toggle.mjs +10 -9
  47. package/esm2022/colorpicker/colorpicker.mjs +25 -18
  48. package/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +5 -4
  49. package/esm2022/column-resize/column-resize-directives/column-resize.mjs +5 -4
  50. package/esm2022/column-resize/column-resize-module.mjs +6 -6
  51. package/esm2022/column-resize/column-resize-notifier.mjs +6 -6
  52. package/esm2022/column-resize/column-resize.mjs +4 -4
  53. package/esm2022/column-resize/column-size-store.mjs +3 -3
  54. package/esm2022/column-resize/event-dispatcher.mjs +4 -4
  55. package/esm2022/column-resize/overlay-handle.mjs +4 -4
  56. package/esm2022/column-resize/polyfill.mjs +1 -1
  57. package/esm2022/column-resize/resizable.mjs +4 -4
  58. package/esm2022/column-resize/resize-strategy.mjs +10 -10
  59. package/esm2022/core/datetime/datetime-adapter.mjs +1 -1
  60. package/esm2022/core/datetime/datetime.module.mjs +19 -23
  61. package/esm2022/core/datetime/index.mjs +6 -6
  62. package/esm2022/core/datetime/native-datetime-adapter.mjs +4 -4
  63. package/esm2022/core/pipes/is-template-ref.pipe.mjs +5 -5
  64. package/esm2022/core/pipes/pipes.module.mjs +6 -7
  65. package/esm2022/core/pipes/to-observable.pipe.mjs +5 -5
  66. package/esm2022/datetimepicker/calendar-body.mjs +5 -5
  67. package/esm2022/datetimepicker/calendar.mjs +19 -12
  68. package/esm2022/datetimepicker/clock.mjs +6 -7
  69. package/esm2022/datetimepicker/datetimepicker-errors.mjs +4 -3
  70. package/esm2022/datetimepicker/datetimepicker-input.mjs +6 -5
  71. package/esm2022/datetimepicker/datetimepicker-intl.mjs +3 -3
  72. package/esm2022/datetimepicker/datetimepicker-module.mjs +28 -11
  73. package/esm2022/datetimepicker/datetimepicker-toggle.mjs +10 -9
  74. package/esm2022/datetimepicker/datetimepicker.mjs +23 -19
  75. package/esm2022/datetimepicker/month-view.mjs +6 -7
  76. package/esm2022/datetimepicker/multi-year-view.mjs +6 -7
  77. package/esm2022/datetimepicker/time.mjs +11 -10
  78. package/esm2022/datetimepicker/year-view.mjs +6 -7
  79. package/esm2022/dialog/dialog-container.mjs +19 -10
  80. package/esm2022/dialog/dialog-module.mjs +23 -7
  81. package/esm2022/dialog/dialog.mjs +6 -5
  82. package/esm2022/drawer/drawer-container.mjs +5 -6
  83. package/esm2022/drawer/drawer-module.mjs +6 -7
  84. package/esm2022/drawer/drawer-ref.mjs +1 -1
  85. package/esm2022/drawer/drawer.mjs +6 -5
  86. package/esm2022/grid/cell.mjs +35 -13
  87. package/esm2022/grid/column-menu.mjs +31 -15
  88. package/esm2022/grid/column-resize/column-resize-directives/column-resize-flex.mjs +5 -4
  89. package/esm2022/grid/column-resize/column-resize-directives/column-resize.mjs +5 -4
  90. package/esm2022/grid/column-resize/column-resize-module.mjs +14 -14
  91. package/esm2022/grid/column-resize/index.mjs +8 -0
  92. package/esm2022/grid/column-resize/overlay-handle.mjs +5 -4
  93. package/esm2022/grid/column-resize/resizable-directives/resizable.mjs +5 -4
  94. package/esm2022/grid/column-resize/resize-strategy.mjs +3 -3
  95. package/esm2022/grid/expansion-toggle.mjs +5 -4
  96. package/esm2022/grid/grid-module.mjs +39 -37
  97. package/esm2022/grid/grid-pipes.mjs +29 -29
  98. package/esm2022/grid/grid-utils.mjs +6 -5
  99. package/esm2022/grid/grid.mjs +108 -76
  100. package/esm2022/loader/loader-module.mjs +6 -7
  101. package/esm2022/loader/loader.mjs +7 -7
  102. package/esm2022/photoviewer/photoviewer-module.mjs +6 -7
  103. package/esm2022/photoviewer/photoviewer.mjs +5 -4
  104. package/esm2022/popover/popover-content.mjs +8 -7
  105. package/esm2022/popover/popover-module.mjs +22 -7
  106. package/esm2022/popover/popover-target.mjs +5 -4
  107. package/esm2022/popover/popover-trigger.mjs +13 -6
  108. package/esm2022/popover/popover.mjs +7 -7
  109. package/esm2022/progress/progress-module.mjs +6 -7
  110. package/esm2022/progress/progress.mjs +6 -6
  111. package/esm2022/select/option.mjs +5 -4
  112. package/esm2022/select/select-module.mjs +20 -9
  113. package/esm2022/select/select.mjs +11 -11
  114. package/esm2022/select/templates.mjs +45 -45
  115. package/esm2022/split/split-module.mjs +6 -7
  116. package/esm2022/split/split-pane.mjs +5 -4
  117. package/esm2022/split/split.mjs +6 -6
  118. package/esm2022/split/utils.mjs +1 -1
  119. package/esm2022/tooltip/tooltip-module.mjs +24 -7
  120. package/esm2022/tooltip/tooltip.mjs +101 -114
  121. package/fesm2022/mtxAlert.mjs +9 -10
  122. package/fesm2022/mtxAlert.mjs.map +1 -1
  123. package/fesm2022/mtxButton.mjs +7 -7
  124. package/fesm2022/mtxButton.mjs.map +1 -1
  125. package/fesm2022/mtxCheckboxGroup.mjs +12 -16
  126. package/fesm2022/mtxCheckboxGroup.mjs.map +1 -1
  127. package/fesm2022/mtxColorpicker.mjs +462 -454
  128. package/fesm2022/mtxColorpicker.mjs.map +1 -1
  129. package/fesm2022/mtxColumnResize.mjs +43 -41
  130. package/fesm2022/mtxColumnResize.mjs.map +1 -1
  131. package/fesm2022/mtxCore.mjs +35 -40
  132. package/fesm2022/mtxCore.mjs.map +1 -1
  133. package/fesm2022/mtxDatetimepicker.mjs +814 -781
  134. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  135. package/fesm2022/mtxDialog.mjs +44 -22
  136. package/fesm2022/mtxDialog.mjs.map +1 -1
  137. package/fesm2022/mtxDrawer.mjs +14 -15
  138. package/fesm2022/mtxDrawer.mjs.map +1 -1
  139. package/fesm2022/mtxGrid.mjs +249 -180
  140. package/fesm2022/mtxGrid.mjs.map +1 -1
  141. package/fesm2022/mtxLoader.mjs +11 -14
  142. package/fesm2022/mtxLoader.mjs.map +1 -1
  143. package/fesm2022/mtxPhotoviewer.mjs +9 -9
  144. package/fesm2022/mtxPhotoviewer.mjs.map +1 -1
  145. package/fesm2022/mtxPopover.mjs +52 -29
  146. package/fesm2022/mtxPopover.mjs.map +1 -1
  147. package/fesm2022/mtxProgress.mjs +10 -12
  148. package/fesm2022/mtxProgress.mjs.map +1 -1
  149. package/fesm2022/mtxSelect.mjs +75 -64
  150. package/fesm2022/mtxSelect.mjs.map +1 -1
  151. package/fesm2022/mtxSplit.mjs +14 -15
  152. package/fesm2022/mtxSplit.mjs.map +1 -1
  153. package/fesm2022/mtxTooltip.mjs +124 -121
  154. package/fesm2022/mtxTooltip.mjs.map +1 -1
  155. package/grid/cell.d.ts +1 -1
  156. package/grid/column-menu.d.ts +1 -1
  157. package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
  158. package/grid/column-resize/column-resize-directives/column-resize.d.ts +1 -1
  159. package/grid/column-resize/column-resize-module.d.ts +7 -6
  160. package/grid/column-resize/index.d.ts +7 -0
  161. package/grid/column-resize/overlay-handle.d.ts +1 -1
  162. package/grid/column-resize/resizable-directives/resizable.d.ts +1 -1
  163. package/grid/expansion-toggle.d.ts +1 -1
  164. package/grid/grid-module.d.ts +25 -25
  165. package/grid/grid-pipes.d.ts +7 -7
  166. package/grid/grid.d.ts +24 -24
  167. package/loader/loader-module.d.ts +5 -5
  168. package/loader/loader.d.ts +1 -1
  169. package/package.json +17 -17
  170. package/photoviewer/photoviewer-module.d.ts +1 -1
  171. package/photoviewer/photoviewer.d.ts +1 -1
  172. package/popover/popover-content.d.ts +1 -1
  173. package/popover/popover-module.d.ts +8 -8
  174. package/popover/popover-target.d.ts +1 -1
  175. package/popover/popover-trigger.d.ts +1 -1
  176. package/popover/popover.d.ts +1 -1
  177. package/prebuilt-themes/deeppurple-amber.css +1 -1
  178. package/prebuilt-themes/indigo-pink.css +1 -1
  179. package/prebuilt-themes/pink-bluegrey.css +1 -1
  180. package/prebuilt-themes/purple-green.css +1 -1
  181. package/progress/progress-module.d.ts +3 -3
  182. package/progress/progress.d.ts +1 -1
  183. package/select/option.d.ts +1 -1
  184. package/select/select-module.d.ts +7 -7
  185. package/select/select.d.ts +1 -1
  186. package/select/select.scss +9 -10
  187. package/select/templates.d.ts +11 -11
  188. package/split/split-module.d.ts +4 -4
  189. package/split/split-pane.d.ts +1 -1
  190. package/split/split.d.ts +1 -1
  191. package/tooltip/tooltip-module.d.ts +7 -7
  192. package/tooltip/tooltip.d.ts +30 -44
  193. package/tooltip/tooltip.scss +2 -4
  194. package/core/mdc-helpers/_mdc-helpers.scss +0 -31
  195. package/core/style/_validation.scss +0 -43
  196. package/core/theming/_inspection.scss +0 -303
  197. package/core/theming/_m2-inspection.scss +0 -266
@@ -1,12 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./select";
3
- import * as i2 from "./option";
4
- import * as i3 from "./templates";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "@ng-select/ng-select";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "@ng-select/ng-select";
5
+ import * as i4 from "./select";
6
+ import * as i5 from "./option";
7
+ import * as i6 from "./templates";
8
8
  export declare class MtxSelectModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxSelectModule, [typeof i1.MtxSelect, typeof i2.MtxOption, typeof i3.MtxSelectOptgroupTemplate, typeof i3.MtxSelectOptionTemplate, typeof i3.MtxSelectLabelTemplate, typeof i3.MtxSelectMultiLabelTemplate, typeof i3.MtxSelectHeaderTemplate, typeof i3.MtxSelectFooterTemplate, typeof i3.MtxSelectNotFoundTemplate, typeof i3.MtxSelectTypeToSearchTemplate, typeof i3.MtxSelectLoadingTextTemplate, typeof i3.MtxSelectTagTemplate, typeof i3.MtxSelectLoadingSpinnerTemplate], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.NgSelectModule], [typeof i1.MtxSelect, typeof i2.MtxOption, typeof i3.MtxSelectOptgroupTemplate, typeof i3.MtxSelectOptionTemplate, typeof i3.MtxSelectLabelTemplate, typeof i3.MtxSelectMultiLabelTemplate, typeof i3.MtxSelectHeaderTemplate, typeof i3.MtxSelectFooterTemplate, typeof i3.MtxSelectNotFoundTemplate, typeof i3.MtxSelectTypeToSearchTemplate, typeof i3.MtxSelectLoadingTextTemplate, typeof i3.MtxSelectTagTemplate, typeof i3.MtxSelectLoadingSpinnerTemplate]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxSelectModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NgSelectModule, typeof i4.MtxSelect, typeof i5.MtxOption, typeof i6.MtxSelectOptgroupTemplate, typeof i6.MtxSelectOptionTemplate, typeof i6.MtxSelectLabelTemplate, typeof i6.MtxSelectMultiLabelTemplate, typeof i6.MtxSelectHeaderTemplate, typeof i6.MtxSelectFooterTemplate, typeof i6.MtxSelectNotFoundTemplate, typeof i6.MtxSelectTypeToSearchTemplate, typeof i6.MtxSelectLoadingTextTemplate, typeof i6.MtxSelectTagTemplate, typeof i6.MtxSelectLoadingSpinnerTemplate], [typeof i4.MtxSelect, typeof i5.MtxOption, typeof i6.MtxSelectOptgroupTemplate, typeof i6.MtxSelectOptionTemplate, typeof i6.MtxSelectLabelTemplate, typeof i6.MtxSelectMultiLabelTemplate, typeof i6.MtxSelectHeaderTemplate, typeof i6.MtxSelectFooterTemplate, typeof i6.MtxSelectNotFoundTemplate, typeof i6.MtxSelectTypeToSearchTemplate, typeof i6.MtxSelectLoadingTextTemplate, typeof i6.MtxSelectTagTemplate, typeof i6.MtxSelectLoadingSpinnerTemplate]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxSelectModule>;
12
12
  }
@@ -241,7 +241,7 @@ export declare class MtxSelect extends _MtxSelectMixinBase implements OnInit, On
241
241
  blur(): void;
242
242
  openChange(): void;
243
243
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelect, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
244
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxSelect, "mtx-select", ["mtxSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "addTagText": { "alias": "addTagText"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearOnBackspace": { "alias": "clearOnBackspace"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "groupValue": { "alias": "groupValue"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "labelForId": { "alias": "labelForId"; "required": false; }; "markFirst": { "alias": "markFirst"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "searchWhileComposing": { "alias": "searchWhileComposing"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "openOnEnter": { "alias": "openOnEnter"; "required": false; }; "minTermLength": { "alias": "minTermLength"; "required": false; }; "editableSearchTerm": { "alias": "editableSearchTerm"; "required": false; }; "keyDownFn": { "alias": "keyDownFn"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "typeToSearchText": { "alias": "typeToSearchText"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "items": { "alias": "items"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "blurEvent": "blur"; "focusEvent": "focus"; "changeEvent": "change"; "openEvent": "open"; "closeEvent": "close"; "searchEvent": "search"; "clearEvent": "clear"; "addEvent": "add"; "removeEvent": "remove"; "scroll": "scroll"; "scrollToEnd": "scrollToEnd"; }, ["optionTemplate", "optgroupTemplate", "labelTemplate", "multiLabelTemplate", "headerTemplate", "footerTemplate", "notFoundTemplate", "typeToSearchTemplate", "loadingTextTemplate", "tagTemplate", "loadingSpinnerTemplate", "mtxOptions"], never, false, never>;
244
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxSelect, "mtx-select", ["mtxSelect"], { "disabled": { "alias": "disabled"; "required": false; }; "addTag": { "alias": "addTag"; "required": false; }; "addTagText": { "alias": "addTagText"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "clearAllText": { "alias": "clearAllText"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearOnBackspace": { "alias": "clearOnBackspace"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "groupBy": { "alias": "groupBy"; "required": false; }; "groupValue": { "alias": "groupValue"; "required": false; }; "selectableGroup": { "alias": "selectableGroup"; "required": false; }; "selectableGroupAsModel": { "alias": "selectableGroupAsModel"; "required": false; }; "hideSelected": { "alias": "hideSelected"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "labelForId": { "alias": "labelForId"; "required": false; }; "markFirst": { "alias": "markFirst"; "required": false; }; "maxSelectedItems": { "alias": "maxSelectedItems"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "searchWhileComposing": { "alias": "searchWhileComposing"; "required": false; }; "selectOnTab": { "alias": "selectOnTab"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "inputAttrs": { "alias": "inputAttrs"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "openOnEnter": { "alias": "openOnEnter"; "required": false; }; "minTermLength": { "alias": "minTermLength"; "required": false; }; "editableSearchTerm": { "alias": "editableSearchTerm"; "required": false; }; "keyDownFn": { "alias": "keyDownFn"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "typeToSearchText": { "alias": "typeToSearchText"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "clearSearchOnAdd": { "alias": "clearSearchOnAdd"; "required": false; }; "items": { "alias": "items"; "required": false; }; "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "blurEvent": "blur"; "focusEvent": "focus"; "changeEvent": "change"; "openEvent": "open"; "closeEvent": "close"; "searchEvent": "search"; "clearEvent": "clear"; "addEvent": "add"; "removeEvent": "remove"; "scroll": "scroll"; "scrollToEnd": "scrollToEnd"; }, ["optionTemplate", "optgroupTemplate", "labelTemplate", "multiLabelTemplate", "headerTemplate", "footerTemplate", "notFoundTemplate", "typeToSearchTemplate", "loadingTextTemplate", "tagTemplate", "loadingSpinnerTemplate", "mtxOptions"], never, true, never>;
245
245
  static ngAcceptInputType_required: unknown;
246
246
  }
247
247
  export {};
@@ -12,20 +12,19 @@ $_tokens: tokens-mtx-select.$prefix, tokens-mtx-select.get-token-slots();
12
12
 
13
13
  .ng-select {
14
14
  @include token-utils.use-tokens($_tokens...) {
15
- $filled-padding-top: token-utils.get-token-variable(filled-padding-top);
16
- $filled-padding-bottom: token-utils.get-token-variable(filled-padding-bottom);
17
- $vertical-padding: token-utils.get-token-variable(vertical-padding);
15
+ $filled-padding-top: var(--mat-form-field-filled-with-label-container-padding-top);
16
+ $filled-padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom);
17
+ $vertical-padding: var(--mat-form-field-container-vertical-padding);
18
18
 
19
- // TODO: use `mat-form-field` token
20
- padding: var($filled-padding-top) 16px var($filled-padding-bottom);
21
- margin: calc(var($filled-padding-top) * -1) -16px calc(var($filled-padding-bottom) * -1);
19
+ padding: $filled-padding-top 16px $filled-padding-bottom;
20
+ margin: calc($filled-padding-top * -1) -16px calc($filled-padding-bottom * -1);
22
21
 
23
22
  .mdc-text-field--outlined &,
24
23
  .mdc-text-field--no-label & {
25
- padding-top: var($vertical-padding);
26
- padding-bottom: var($vertical-padding);
27
- margin-top: calc(var($vertical-padding) * -1);
28
- margin-bottom: calc(var($vertical-padding) * -1);
24
+ padding-top: $vertical-padding;
25
+ padding-bottom: $vertical-padding;
26
+ margin-top: calc($vertical-padding * -1);
27
+ margin-bottom: calc($vertical-padding * -1);
29
28
  }
30
29
 
31
30
  .ng-select-container {
@@ -4,65 +4,65 @@ export declare class MtxSelectOptionTemplate {
4
4
  template: TemplateRef<any>;
5
5
  constructor(template: TemplateRef<any>);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectOptionTemplate, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectOptionTemplate, "[ng-option-tmp]", never, {}, {}, never, never, false, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectOptionTemplate, "[ng-option-tmp]", never, {}, {}, never, never, true, never>;
8
8
  }
9
9
  export declare class MtxSelectOptgroupTemplate {
10
10
  template: TemplateRef<any>;
11
11
  constructor(template: TemplateRef<any>);
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectOptgroupTemplate, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectOptgroupTemplate, "[ng-optgroup-tmp]", never, {}, {}, never, never, false, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectOptgroupTemplate, "[ng-optgroup-tmp]", never, {}, {}, never, never, true, never>;
14
14
  }
15
15
  export declare class MtxSelectLabelTemplate {
16
16
  template: TemplateRef<any>;
17
17
  constructor(template: TemplateRef<any>);
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectLabelTemplate, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectLabelTemplate, "[ng-label-tmp]", never, {}, {}, never, never, false, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectLabelTemplate, "[ng-label-tmp]", never, {}, {}, never, never, true, never>;
20
20
  }
21
21
  export declare class MtxSelectMultiLabelTemplate {
22
22
  template: TemplateRef<any>;
23
23
  constructor(template: TemplateRef<any>);
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectMultiLabelTemplate, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectMultiLabelTemplate, "[ng-multi-label-tmp]", never, {}, {}, never, never, false, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectMultiLabelTemplate, "[ng-multi-label-tmp]", never, {}, {}, never, never, true, never>;
26
26
  }
27
27
  export declare class MtxSelectHeaderTemplate {
28
28
  template: TemplateRef<any>;
29
29
  constructor(template: TemplateRef<any>);
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectHeaderTemplate, never>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectHeaderTemplate, "[ng-header-tmp]", never, {}, {}, never, never, false, never>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectHeaderTemplate, "[ng-header-tmp]", never, {}, {}, never, never, true, never>;
32
32
  }
33
33
  export declare class MtxSelectFooterTemplate {
34
34
  template: TemplateRef<any>;
35
35
  constructor(template: TemplateRef<any>);
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectFooterTemplate, never>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectFooterTemplate, "[ng-footer-tmp]", never, {}, {}, never, never, false, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectFooterTemplate, "[ng-footer-tmp]", never, {}, {}, never, never, true, never>;
38
38
  }
39
39
  export declare class MtxSelectNotFoundTemplate {
40
40
  template: TemplateRef<any>;
41
41
  constructor(template: TemplateRef<any>);
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectNotFoundTemplate, never>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectNotFoundTemplate, "[ng-notfound-tmp]", never, {}, {}, never, never, false, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectNotFoundTemplate, "[ng-notfound-tmp]", never, {}, {}, never, never, true, never>;
44
44
  }
45
45
  export declare class MtxSelectTypeToSearchTemplate {
46
46
  template: TemplateRef<any>;
47
47
  constructor(template: TemplateRef<any>);
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectTypeToSearchTemplate, never>;
49
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectTypeToSearchTemplate, "[ng-typetosearch-tmp]", never, {}, {}, never, never, false, never>;
49
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectTypeToSearchTemplate, "[ng-typetosearch-tmp]", never, {}, {}, never, never, true, never>;
50
50
  }
51
51
  export declare class MtxSelectLoadingTextTemplate {
52
52
  template: TemplateRef<any>;
53
53
  constructor(template: TemplateRef<any>);
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectLoadingTextTemplate, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectLoadingTextTemplate, "[ng-loadingtext-tmp]", never, {}, {}, never, never, false, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectLoadingTextTemplate, "[ng-loadingtext-tmp]", never, {}, {}, never, never, true, never>;
56
56
  }
57
57
  export declare class MtxSelectTagTemplate {
58
58
  template: TemplateRef<any>;
59
59
  constructor(template: TemplateRef<any>);
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectTagTemplate, never>;
61
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectTagTemplate, "[ng-tag-tmp]", never, {}, {}, never, never, false, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectTagTemplate, "[ng-tag-tmp]", never, {}, {}, never, never, true, never>;
62
62
  }
63
63
  export declare class MtxSelectLoadingSpinnerTemplate {
64
64
  template: TemplateRef<any>;
65
65
  constructor(template: TemplateRef<any>);
66
66
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSelectLoadingSpinnerTemplate, never>;
67
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectLoadingSpinnerTemplate, "[ng-loadingspinner-tmp]", never, {}, {}, never, never, false, never>;
67
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSelectLoadingSpinnerTemplate, "[ng-loadingspinner-tmp]", never, {}, {}, never, never, true, never>;
68
68
  }
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./split";
3
- import * as i2 from "./split-pane";
4
- import * as i3 from "@angular/common";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./split";
4
+ import * as i3 from "./split-pane";
5
5
  export declare class MtxSplitModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSplitModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxSplitModule, [typeof i1.MtxSplit, typeof i2.MtxSplitPane], [typeof i3.CommonModule], [typeof i1.MtxSplit, typeof i2.MtxSplitPane]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxSplitModule, never, [typeof i1.CommonModule, typeof i2.MtxSplit, typeof i3.MtxSplitPane], [typeof i2.MtxSplit, typeof i3.MtxSplitPane]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxSplitModule>;
9
9
  }
@@ -34,5 +34,5 @@ export declare class MtxSplitPane implements OnInit, OnDestroy {
34
34
  unlockEvents(): void;
35
35
  ngOnDestroy(): void;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSplitPane, never>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSplitPane, "mtx-split-pane, [mtx-split-pane]", ["mtxSplitPane"], { "order": { "alias": "order"; "required": false; }; "size": { "alias": "size"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "lockSize": { "alias": "lockSize"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, false, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxSplitPane, "mtx-split-pane, [mtx-split-pane]", ["mtxSplitPane"], { "order": { "alias": "order"; "required": false; }; "size": { "alias": "size"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "lockSize": { "alias": "lockSize"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, never, never, true, never>;
38
38
  }
package/split/split.d.ts CHANGED
@@ -110,6 +110,6 @@ export declare class MtxSplit extends _MtxSplitBase implements AfterViewInit, On
110
110
  notify(type: 'start' | 'progress' | 'end' | 'click' | 'dblclick' | 'transitionEnd', gutterNum: number): void;
111
111
  ngOnDestroy(): void;
112
112
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxSplit, [null, null, null, null, { optional: true; }]>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxSplit, "mtx-split", ["mtxSplit"], { "color": { "alias": "color"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "gutterSize": { "alias": "gutterSize"; "required": false; }; "gutterStep": { "alias": "gutterStep"; "required": false; }; "restrictMove": { "alias": "restrictMove"; "required": false; }; "useTransition": { "alias": "useTransition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "gutterDblClickDuration": { "alias": "gutterDblClickDuration"; "required": false; }; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "gutterClick": "gutterClick"; "gutterDblClick": "gutterDblClick"; "transitionEnd": "transitionEnd"; }, never, ["*"], false, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxSplit, "mtx-split", ["mtxSplit"], { "color": { "alias": "color"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "gutterSize": { "alias": "gutterSize"; "required": false; }; "gutterStep": { "alias": "gutterStep"; "required": false; }; "restrictMove": { "alias": "restrictMove"; "required": false; }; "useTransition": { "alias": "useTransition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "gutterDblClickDuration": { "alias": "gutterDblClickDuration"; "required": false; }; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "gutterClick": "gutterClick"; "gutterDblClick": "gutterDblClick"; "transitionEnd": "transitionEnd"; }, never, ["*"], true, never>;
114
114
  }
115
115
  export {};
@@ -1,13 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./tooltip";
3
- import * as i2 from "@angular/cdk/a11y";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/cdk/overlay";
6
- import * as i5 from "@angular/material/core";
7
- import * as i6 from "@ng-matero/extensions/core";
2
+ import * as i1 from "@angular/cdk/a11y";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/cdk/overlay";
5
+ import * as i4 from "@angular/material/core";
6
+ import * as i5 from "@ng-matero/extensions/core";
7
+ import * as i6 from "./tooltip";
8
8
  import * as i7 from "@angular/cdk/scrolling";
9
9
  export declare class MtxTooltipModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxTooltipModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxTooltipModule, [typeof i1.MtxTooltip, typeof i1.TooltipComponent], [typeof i2.A11yModule, typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.MatCommonModule, typeof i6.MtxPipesModule], [typeof i1.MtxTooltip, typeof i1.TooltipComponent, typeof i5.MatCommonModule, typeof i7.CdkScrollableModule]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxTooltipModule, never, [typeof i1.A11yModule, typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.MatCommonModule, typeof i5.MtxPipesModule, typeof i6.MtxTooltip, typeof i6.TooltipComponent], [typeof i6.MtxTooltip, typeof i6.TooltipComponent, typeof i4.MatCommonModule, typeof i7.CdkScrollableModule]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxTooltipModule>;
13
13
  }
@@ -1,7 +1,7 @@
1
1
  import { AriaDescriber, FocusMonitor } from '@angular/cdk/a11y';
2
2
  import { Directionality } from '@angular/cdk/bidi';
3
3
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
4
- import { ComponentType, ConnectedPosition, OriginConnectionPosition, Overlay, OverlayConnectionPosition, OverlayRef, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
4
+ import { ConnectedPosition, OriginConnectionPosition, Overlay, OverlayConnectionPosition, OverlayRef, ScrollDispatcher, ScrollStrategy } from '@angular/cdk/overlay';
5
5
  import { Platform } from '@angular/cdk/platform';
6
6
  import { AfterViewInit, ChangeDetectorRef, ElementRef, InjectionToken, NgZone, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
7
7
  import { Observable } from 'rxjs';
@@ -62,7 +62,13 @@ export interface MtxTooltipDefaultOptions {
62
62
  * @breaking-change 13.0.0 remove this variable
63
63
  */
64
64
  export declare const TOOLTIP_PANEL_CLASS = "mtx-mdc-tooltip-panel";
65
- export declare abstract class _MtxTooltipBase<T extends _TooltipComponentBase> implements OnDestroy, AfterViewInit {
65
+ /**
66
+ * Directive that attaches a material design tooltip to the host element. Animates the showing and
67
+ * hiding of a tooltip provided position (defaults to below the element).
68
+ *
69
+ * https://material.io/design/components/tooltips.html
70
+ */
71
+ export declare class MtxTooltip implements OnDestroy, AfterViewInit {
66
72
  private _overlay;
67
73
  private _elementRef;
68
74
  private _scrollDispatcher;
@@ -74,7 +80,7 @@ export declare abstract class _MtxTooltipBase<T extends _TooltipComponentBase> i
74
80
  protected _dir: Directionality;
75
81
  private _defaultOptions;
76
82
  _overlayRef: OverlayRef | null;
77
- _tooltipInstance: T | null;
83
+ _tooltipInstance: TooltipComponent | null;
78
84
  private _portal;
79
85
  private _position;
80
86
  private _positionAtOrigin;
@@ -83,13 +89,17 @@ export declare abstract class _MtxTooltipBase<T extends _TooltipComponentBase> i
83
89
  private _scrollStrategy;
84
90
  private _viewInitialized;
85
91
  private _pointerExitEventsInitialized;
86
- protected abstract readonly _tooltipComponent: ComponentType<T>;
87
- protected _viewportMargin: number;
92
+ private readonly _tooltipComponent;
93
+ private _viewportMargin;
88
94
  private _currentPosition;
89
- protected readonly _cssClassPrefix: string;
95
+ private readonly _cssClassPrefix;
90
96
  /** Allows the user to define the position of the tooltip relative to the parent element */
91
97
  get position(): TooltipPosition;
92
98
  set position(value: TooltipPosition);
99
+ /**
100
+ * Whether tooltip should be relative to the click or touch origin
101
+ * instead of outside the element bounding box.
102
+ */
93
103
  get positionAtOrigin(): boolean;
94
104
  set positionAtOrigin(value: BooleanInput);
95
105
  /** Disables the display of the tooltip. */
@@ -201,25 +211,17 @@ export declare abstract class _MtxTooltipBase<T extends _TooltipComponentBase> i
201
211
  private _wheelListener;
202
212
  /** Disables the native browser gestures, based on how the tooltip has been configured. */
203
213
  private _disableNativeGesturesIfNecessary;
204
- static ɵfac: i0.ɵɵFactoryDeclaration<_MtxTooltipBase<any>, never>;
205
- static ɵdir: i0.ɵɵDirectiveDeclaration<_MtxTooltipBase<any>, never, never, { "position": { "alias": "mtxTooltipPosition"; "required": false; }; "positionAtOrigin": { "alias": "mtxTooltipPositionAtOrigin"; "required": false; }; "disabled": { "alias": "mtxTooltipDisabled"; "required": false; }; "showDelay": { "alias": "mtxTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "mtxTooltipHideDelay"; "required": false; }; "touchGestures": { "alias": "mtxTooltipTouchGestures"; "required": false; }; "message": { "alias": "mtxTooltip"; "required": false; }; "tooltipContext": { "alias": "mtxTooltipContext"; "required": false; }; "tooltipClass": { "alias": "mtxTooltipClass"; "required": false; }; }, {}, never, never, false, never>;
214
+ static ɵfac: i0.ɵɵFactoryDeclaration<MtxTooltip, [null, null, null, null, null, null, null, null, null, null, { optional: true; }, null]>;
215
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MtxTooltip, "[mtxTooltip]", ["mtxTooltip"], { "position": { "alias": "mtxTooltipPosition"; "required": false; }; "positionAtOrigin": { "alias": "mtxTooltipPositionAtOrigin"; "required": false; }; "disabled": { "alias": "mtxTooltipDisabled"; "required": false; }; "showDelay": { "alias": "mtxTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "mtxTooltipHideDelay"; "required": false; }; "touchGestures": { "alias": "mtxTooltipTouchGestures"; "required": false; }; "message": { "alias": "mtxTooltip"; "required": false; }; "tooltipContext": { "alias": "mtxTooltipContext"; "required": false; }; "tooltipClass": { "alias": "mtxTooltipClass"; "required": false; }; }, {}, never, never, true, never>;
206
216
  }
207
217
  /**
208
- * Directive that attaches a material design tooltip to the host element. Animates the showing and
209
- * hiding of a tooltip provided position (defaults to below the element).
210
- *
211
- * https://material.io/design/components/tooltips.html
218
+ * Internal component that wraps the tooltip's content.
219
+ * @docs-private
212
220
  */
213
- export declare class MtxTooltip extends _MtxTooltipBase<TooltipComponent> {
214
- protected readonly _tooltipComponent: typeof TooltipComponent;
215
- protected readonly _cssClassPrefix = "mtx-mdc";
216
- constructor(overlay: Overlay, elementRef: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, viewContainerRef: ViewContainerRef, ngZone: NgZone, platform: Platform, ariaDescriber: AriaDescriber, focusMonitor: FocusMonitor, scrollStrategy: any, dir: Directionality, defaultOptions: MtxTooltipDefaultOptions, _document: any);
217
- protected _addOffset(position: ConnectedPosition): ConnectedPosition;
218
- static ɵfac: i0.ɵɵFactoryDeclaration<MtxTooltip, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
219
- static ɵdir: i0.ɵɵDirectiveDeclaration<MtxTooltip, "[mtxTooltip]", ["mtxTooltip"], {}, {}, never, never, false, never>;
220
- }
221
- export declare abstract class _TooltipComponentBase implements OnDestroy {
221
+ export declare class TooltipComponent implements OnDestroy {
222
222
  private _changeDetectorRef;
223
+ protected _elementRef: ElementRef<HTMLElement>;
224
+ _isMultiline: boolean;
223
225
  /** Message to display in the tooltip */
224
226
  message: string | TemplateRef<any>;
225
227
  /** Context to be added to the tooltip */
@@ -239,7 +241,7 @@ export declare abstract class _TooltipComponentBase implements OnDestroy {
239
241
  /** Whether animations are currently disabled. */
240
242
  private _animationsDisabled;
241
243
  /** Reference to the internal tooltip element. */
242
- abstract _tooltip: ElementRef<HTMLElement>;
244
+ _tooltip: ElementRef<HTMLElement>;
243
245
  /** Whether interactions on the page should close the tooltip */
244
246
  private _closeOnInteraction;
245
247
  /** Whether the tooltip is currently visible. */
@@ -247,10 +249,10 @@ export declare abstract class _TooltipComponentBase implements OnDestroy {
247
249
  /** Subject for notifying that the tooltip has been hidden from the view */
248
250
  private readonly _onHide;
249
251
  /** Name of the show animation and the class that toggles it. */
250
- protected abstract readonly _showAnimation: string;
252
+ private readonly _showAnimation;
251
253
  /** Name of the hide animation and the class that toggles it. */
252
- protected abstract readonly _hideAnimation: string;
253
- constructor(_changeDetectorRef: ChangeDetectorRef, animationMode?: string);
254
+ private readonly _hideAnimation;
255
+ constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, animationMode?: string);
254
256
  /**
255
257
  * Shows the tooltip with an animation originating from the provided origin
256
258
  * @param delay Amount of milliseconds to the delay showing the tooltip.
@@ -285,6 +287,8 @@ export declare abstract class _TooltipComponentBase implements OnDestroy {
285
287
  * in the mdc-tooltip, not here.
286
288
  */
287
289
  protected _onShow(): void;
290
+ /** Whether the tooltip text has overflown to the next line */
291
+ private _isTooltipMultiline;
288
292
  /** Event listener dispatched when an animation on the tooltip finishes. */
289
293
  _handleAnimationEnd({ animationName }: AnimationEvent): void;
290
294
  /** Cancels any pending animation sequences. */
@@ -293,24 +297,6 @@ export declare abstract class _TooltipComponentBase implements OnDestroy {
293
297
  private _finalizeAnimation;
294
298
  /** Toggles the visibility of the tooltip element. */
295
299
  private _toggleVisibility;
296
- static ɵfac: i0.ɵɵFactoryDeclaration<_TooltipComponentBase, [null, { optional: true; }]>;
297
- static ɵdir: i0.ɵɵDirectiveDeclaration<_TooltipComponentBase, never, never, {}, {}, never, never, false, never>;
298
- }
299
- /**
300
- * Internal component that wraps the tooltip's content.
301
- * @docs-private
302
- */
303
- export declare class TooltipComponent extends _TooltipComponentBase {
304
- private _elementRef;
305
- _isMultiline: boolean;
306
- /** Reference to the internal tooltip element. */
307
- _tooltip: ElementRef<HTMLElement>;
308
- _showAnimation: string;
309
- _hideAnimation: string;
310
- constructor(changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, animationMode?: string);
311
- protected _onShow(): void;
312
- /** Whether the tooltip text has overflown to the next line */
313
- private _isTooltipMultiline;
314
300
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, [null, null, { optional: true; }]>;
315
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "mtx-tooltip-component", never, {}, {}, never, never, false, never>;
301
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "mtx-tooltip-component", never, {}, {}, never, never, true, never>;
316
302
  }
@@ -12,9 +12,6 @@
12
12
  .mtx-mdc-tooltip {
13
13
  // Add the official slots for the MDC tooltip.
14
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
15
  }
19
16
  }
20
17
 
@@ -65,7 +62,8 @@
65
62
  }
66
63
  }
67
64
 
68
- .mtx-mdc-tooltip-panel-non-interactive {
65
+ // We need the additional specificity here, because it can be overridden by `.cdk-overlay-panel`.
66
+ .mtx-mdc-tooltip-panel.mtx-mdc-tooltip-panel-non-interactive {
69
67
  pointer-events: none;
70
68
  }
71
69
 
@@ -1,31 +0,0 @@
1
- @use 'sass:map';
2
- @use '@material/typography' as mdc-typography;
3
- @use '../typography/typography';
4
-
5
- // Function to create an Angular Material typography config from MDC's predefined typography levels.
6
- // This is used for components where we accidentally ended up supporting null typography configs
7
- // that were silently falling back to MDC's typography. At the moment of writing this includes
8
- // `dialog`, `slider` and `tooltip`.
9
- // Important! We shouldn't introduce any new usages of this pattern and we should eventually clean
10
- // up any existing usages.
11
- @function private-fallback-typography-from-mdc() {
12
- // This is very close to what we have in `define-typography-config`, but we can't use it here,
13
- // because it would cause a circular import and moving it here doesn't make sense.
14
- $font-family: mdc-typography.$font-family;
15
- @return (
16
- font-family: $font-family,
17
- headline-1: typography.typography-config-level-from-mdc(headline1, $font-family),
18
- headline-2: typography.typography-config-level-from-mdc(headline2, $font-family),
19
- headline-3: typography.typography-config-level-from-mdc(headline3, $font-family),
20
- headline-4: typography.typography-config-level-from-mdc(headline4, $font-family),
21
- headline-5: typography.typography-config-level-from-mdc(headline5, $font-family),
22
- headline-6: typography.typography-config-level-from-mdc(headline6, $font-family),
23
- subtitle-1: typography.typography-config-level-from-mdc(subtitle1, $font-family),
24
- subtitle-2: typography.typography-config-level-from-mdc(subtitle2, $font-family),
25
- body-1: typography.typography-config-level-from-mdc(body1, $font-family),
26
- body-2: typography.typography-config-level-from-mdc(body2, $font-family),
27
- caption: typography.typography-config-level-from-mdc(caption, $font-family),
28
- button: typography.typography-config-level-from-mdc(button, $font-family),
29
- overline: typography.typography-config-level-from-mdc(overline, $font-family),
30
- );
31
- }
@@ -1,43 +0,0 @@
1
- @use 'sass:list';
2
- @use 'sass:meta';
3
-
4
- /// Validates that the object's type matches any of the expected types.
5
- /// @param {any} $obj The object to test
6
- /// @param {List} $types The expected types
7
- /// @return {String} null if no error, else the unexpected type.
8
- @function validate-type($obj, $types...) {
9
- $result: meta.type-of($obj);
10
- // A zero-length list is the same as a zero-length map.
11
- @if ($result == list and list.index($types, map) and list.length($obj) == 0) {
12
- @return null;
13
- }
14
- @return if(list.index($types, $result), null, $result);
15
- }
16
-
17
- /// Validates that a list contains only values from the allowed list of values.
18
- /// @param {List} $list The list to test
19
- /// @param {List} $allowed The allowed values
20
- /// @return {List} null if no error, else the list of non-allowed values.
21
- @function validate-allowed-values($list, $allowed...) {
22
- $invalid: ();
23
- @each $element in $list {
24
- @if not list.index($allowed, $element) {
25
- $invalid: list.append($invalid, $element);
26
- }
27
- }
28
- @return if(list.length($invalid) > 0, $invalid, null);
29
- }
30
-
31
- /// Validates that a list contains all values from the required list of values.
32
- /// @param {List} $list The list to test
33
- /// @param {List} $required The required values
34
- /// @return {List} null if no error, else the list of missing values.
35
- @function validate-required-values($list, $required...) {
36
- $invalid: ();
37
- @each $element in $required {
38
- @if not list.index($list, $element) {
39
- $invalid: list.append($invalid, $element);
40
- }
41
- }
42
- @return if(list.length($invalid) > 0, $invalid, null);
43
- }