@angular/material 21.1.0-next.1 → 21.1.0-next.3

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 (167) hide show
  1. package/core/focus-indicators/_private.scss +2 -2
  2. package/fesm2022/_animation-chunk.mjs.map +1 -1
  3. package/fesm2022/_date-formats-chunk.mjs.map +1 -1
  4. package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -1
  5. package/fesm2022/_error-options-chunk.mjs +6 -6
  6. package/fesm2022/_error-options-chunk.mjs.map +1 -1
  7. package/fesm2022/_error-state-chunk.mjs.map +1 -1
  8. package/fesm2022/_form-field-chunk.mjs +40 -40
  9. package/fesm2022/_form-field-chunk.mjs.map +1 -1
  10. package/fesm2022/_icon-button-chunk.mjs +8 -8
  11. package/fesm2022/_icon-button-chunk.mjs.map +1 -1
  12. package/fesm2022/_icon-registry-chunk.mjs +4 -4
  13. package/fesm2022/_icon-registry-chunk.mjs.map +1 -1
  14. package/fesm2022/_input-harness-chunk.mjs.map +1 -1
  15. package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -1
  16. package/fesm2022/_internal-form-field-chunk.mjs +4 -4
  17. package/fesm2022/_internal-form-field-chunk.mjs.map +1 -1
  18. package/fesm2022/_line-chunk.mjs +7 -7
  19. package/fesm2022/_line-chunk.mjs.map +1 -1
  20. package/fesm2022/_option-chunk.mjs +6 -6
  21. package/fesm2022/_option-chunk.mjs.map +1 -1
  22. package/fesm2022/_option-harness-chunk.mjs.map +1 -1
  23. package/fesm2022/_option-module-chunk.mjs +4 -4
  24. package/fesm2022/_option-module-chunk.mjs.map +1 -1
  25. package/fesm2022/_pseudo-checkbox-chunk.mjs +3 -3
  26. package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -1
  27. package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
  28. package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -1
  29. package/fesm2022/_public-api-chunk.mjs.map +1 -1
  30. package/fesm2022/_ripple-chunk.mjs +11 -11
  31. package/fesm2022/_ripple-chunk.mjs.map +1 -1
  32. package/fesm2022/_ripple-loader-chunk.mjs +3 -3
  33. package/fesm2022/_ripple-loader-chunk.mjs.map +1 -1
  34. package/fesm2022/_ripple-module-chunk.mjs +4 -4
  35. package/fesm2022/_ripple-module-chunk.mjs.map +1 -1
  36. package/fesm2022/_structural-styles-chunk.mjs +5 -5
  37. package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
  38. package/fesm2022/_tooltip-chunk.mjs +10 -11
  39. package/fesm2022/_tooltip-chunk.mjs.map +1 -1
  40. package/fesm2022/autocomplete-testing.mjs.map +1 -1
  41. package/fesm2022/autocomplete.mjs +21 -21
  42. package/fesm2022/autocomplete.mjs.map +1 -1
  43. package/fesm2022/badge-testing.mjs.map +1 -1
  44. package/fesm2022/badge.mjs +12 -12
  45. package/fesm2022/badge.mjs.map +1 -1
  46. package/fesm2022/bottom-sheet-testing.mjs.map +1 -1
  47. package/fesm2022/bottom-sheet.mjs +11 -11
  48. package/fesm2022/bottom-sheet.mjs.map +1 -1
  49. package/fesm2022/button-testing.mjs.map +1 -1
  50. package/fesm2022/button-toggle-testing.mjs.map +1 -1
  51. package/fesm2022/button-toggle.mjs +16 -16
  52. package/fesm2022/button-toggle.mjs.map +1 -1
  53. package/fesm2022/button.mjs +20 -20
  54. package/fesm2022/button.mjs.map +1 -1
  55. package/fesm2022/card-testing.mjs.map +1 -1
  56. package/fesm2022/card.mjs +46 -46
  57. package/fesm2022/card.mjs.map +1 -1
  58. package/fesm2022/checkbox-testing.mjs.map +1 -1
  59. package/fesm2022/checkbox.mjs +11 -11
  60. package/fesm2022/checkbox.mjs.map +1 -1
  61. package/fesm2022/chips-testing.mjs.map +1 -1
  62. package/fesm2022/chips.mjs +55 -55
  63. package/fesm2022/chips.mjs.map +1 -1
  64. package/fesm2022/core-testing.mjs.map +1 -1
  65. package/fesm2022/core.mjs +12 -12
  66. package/fesm2022/core.mjs.map +1 -1
  67. package/fesm2022/datepicker-testing.mjs.map +1 -1
  68. package/fesm2022/datepicker.mjs +143 -143
  69. package/fesm2022/datepicker.mjs.map +1 -1
  70. package/fesm2022/dialog-testing.mjs.map +1 -1
  71. package/fesm2022/dialog.mjs +26 -26
  72. package/fesm2022/dialog.mjs.map +1 -1
  73. package/fesm2022/divider-testing.mjs.map +1 -1
  74. package/fesm2022/divider.mjs +7 -7
  75. package/fesm2022/divider.mjs.map +1 -1
  76. package/fesm2022/expansion-testing.mjs.map +1 -1
  77. package/fesm2022/expansion.mjs +25 -25
  78. package/fesm2022/expansion.mjs.map +1 -1
  79. package/fesm2022/form-field-testing-control.mjs.map +1 -1
  80. package/fesm2022/form-field-testing.mjs.map +1 -1
  81. package/fesm2022/form-field.mjs +4 -4
  82. package/fesm2022/form-field.mjs.map +1 -1
  83. package/fesm2022/grid-list-testing.mjs.map +1 -1
  84. package/fesm2022/grid-list.mjs +22 -22
  85. package/fesm2022/grid-list.mjs.map +1 -1
  86. package/fesm2022/icon-testing.mjs +7 -7
  87. package/fesm2022/icon-testing.mjs.map +1 -1
  88. package/fesm2022/icon.mjs +9 -9
  89. package/fesm2022/icon.mjs.map +1 -1
  90. package/fesm2022/input-testing.mjs.map +1 -1
  91. package/fesm2022/input.mjs +12 -12
  92. package/fesm2022/input.mjs.map +1 -1
  93. package/fesm2022/list-testing.mjs.map +1 -1
  94. package/fesm2022/list.mjs +59 -59
  95. package/fesm2022/list.mjs.map +1 -1
  96. package/fesm2022/material.mjs.map +1 -1
  97. package/fesm2022/menu-testing.mjs.map +1 -1
  98. package/fesm2022/menu.mjs +24 -24
  99. package/fesm2022/menu.mjs.map +1 -1
  100. package/fesm2022/paginator-testing.mjs.map +1 -1
  101. package/fesm2022/paginator.mjs +10 -10
  102. package/fesm2022/paginator.mjs.map +1 -1
  103. package/fesm2022/progress-bar-testing.mjs.map +1 -1
  104. package/fesm2022/progress-bar.mjs +7 -7
  105. package/fesm2022/progress-bar.mjs.map +1 -1
  106. package/fesm2022/progress-spinner-testing.mjs.map +1 -1
  107. package/fesm2022/progress-spinner.mjs +7 -7
  108. package/fesm2022/progress-spinner.mjs.map +1 -1
  109. package/fesm2022/radio-testing.mjs.map +1 -1
  110. package/fesm2022/radio.mjs +12 -12
  111. package/fesm2022/radio.mjs.map +1 -1
  112. package/fesm2022/select-testing.mjs.map +1 -1
  113. package/fesm2022/select.mjs +10 -10
  114. package/fesm2022/select.mjs.map +1 -1
  115. package/fesm2022/sidenav-testing.mjs.map +1 -1
  116. package/fesm2022/sidenav.mjs +30 -30
  117. package/fesm2022/sidenav.mjs.map +1 -1
  118. package/fesm2022/slide-toggle-testing.mjs.map +1 -1
  119. package/fesm2022/slide-toggle.mjs +11 -11
  120. package/fesm2022/slide-toggle.mjs.map +1 -1
  121. package/fesm2022/slider-testing.mjs.map +1 -1
  122. package/fesm2022/slider.mjs +21 -21
  123. package/fesm2022/slider.mjs.map +1 -1
  124. package/fesm2022/snack-bar-testing.mjs.map +1 -1
  125. package/fesm2022/snack-bar.mjs +22 -22
  126. package/fesm2022/snack-bar.mjs.map +1 -1
  127. package/fesm2022/sort-testing.mjs.map +1 -1
  128. package/fesm2022/sort.mjs +13 -13
  129. package/fesm2022/sort.mjs.map +1 -1
  130. package/fesm2022/stepper-testing.mjs.map +1 -1
  131. package/fesm2022/stepper.mjs +38 -38
  132. package/fesm2022/stepper.mjs.map +1 -1
  133. package/fesm2022/table-testing.mjs.map +1 -1
  134. package/fesm2022/table.mjs +61 -75
  135. package/fesm2022/table.mjs.map +1 -1
  136. package/fesm2022/tabs-testing.mjs.map +1 -1
  137. package/fesm2022/tabs.mjs +48 -48
  138. package/fesm2022/tabs.mjs.map +1 -1
  139. package/fesm2022/timepicker-testing.mjs.map +1 -1
  140. package/fesm2022/timepicker.mjs +83 -88
  141. package/fesm2022/timepicker.mjs.map +1 -1
  142. package/fesm2022/toolbar-testing.mjs.map +1 -1
  143. package/fesm2022/toolbar.mjs +10 -10
  144. package/fesm2022/toolbar.mjs.map +1 -1
  145. package/fesm2022/tooltip-testing.mjs.map +1 -1
  146. package/fesm2022/tooltip.mjs +4 -4
  147. package/fesm2022/tooltip.mjs.map +1 -1
  148. package/fesm2022/tree-testing.mjs.map +1 -1
  149. package/fesm2022/tree.mjs +25 -25
  150. package/fesm2022/tree.mjs.map +1 -1
  151. package/package.json +2 -2
  152. package/schematics/ng-add/index.js +1 -1
  153. package/schematics/ng-add/setup-project.js +1 -39
  154. package/schematics/ng-add/setup-project.js.map +1 -1
  155. package/schematics/ng-add/theming/{create-custom-theme.d.ts → create-theme.d.ts} +2 -2
  156. package/schematics/ng-add/theming/{create-custom-theme.js → create-theme.js} +6 -4
  157. package/schematics/ng-add/theming/create-theme.js.map +1 -0
  158. package/schematics/ng-add/theming/theming.js +15 -15
  159. package/schematics/ng-add/theming/theming.js.map +1 -1
  160. package/types/_tooltip-chunk.d.ts +305 -0
  161. package/types/datepicker.d.ts +2 -2
  162. package/types/paginator.d.ts +1 -0
  163. package/types/stepper.d.ts +4 -4
  164. package/types/table.d.ts +7 -2
  165. package/types/timepicker.d.ts +2 -2
  166. package/types/tooltip.d.ts +7 -297
  167. package/schematics/ng-add/theming/create-custom-theme.js.map +0 -1
@@ -1,301 +1,12 @@
1
- import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
1
+ import { MatTooltip, TooltipComponent } from './_tooltip-chunk.js';
2
+ export { MAT_TOOLTIP_DEFAULT_OPTIONS, MAT_TOOLTIP_SCROLL_STRATEGY, MatTooltipDefaultOptions, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipPosition, TooltipTouchGestures, TooltipVisibility, getMatTooltipInvalidPositionError } from './_tooltip-chunk.js';
2
3
  import * as i0 from '@angular/core';
3
- import { InjectionToken, OnDestroy, AfterViewInit, ElementRef } from '@angular/core';
4
- import * as i2$1 from '@angular/cdk/bidi';
5
- import { Directionality } from '@angular/cdk/bidi';
6
- import * as i2 from '@angular/cdk/overlay';
7
- import { ScrollStrategy, OverlayRef, ConnectedPosition, OriginConnectionPosition, OverlayConnectionPosition } from '@angular/cdk/overlay';
8
- import { Observable } from 'rxjs';
9
4
  import * as i1 from '@angular/cdk/a11y';
5
+ import * as i2 from '@angular/cdk/overlay';
6
+ import * as i2$1 from '@angular/cdk/bidi';
10
7
  import * as i1$1 from '@angular/cdk/scrolling';
11
-
12
- /** Possible positions for a tooltip. */
13
- type TooltipPosition = 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
14
- /**
15
- * Options for how the tooltip trigger should handle touch gestures.
16
- * See `MatTooltip.touchGestures` for more information.
17
- */
18
- type TooltipTouchGestures = 'auto' | 'on' | 'off';
19
- /** Possible visibility states of a tooltip. */
20
- type TooltipVisibility = 'initial' | 'visible' | 'hidden';
21
- /** Time in ms to throttle repositioning after scroll events. */
22
- declare const SCROLL_THROTTLE_MS = 20;
23
- /**
24
- * Creates an error to be thrown if the user supplied an invalid tooltip position.
25
- * @docs-private
26
- */
27
- declare function getMatTooltipInvalidPositionError(position: string): Error;
28
- /** Injection token that determines the scroll handling while a tooltip is visible. */
29
- declare const MAT_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
30
- /** Injection token to be used to override the default options for `matTooltip`. */
31
- declare const MAT_TOOLTIP_DEFAULT_OPTIONS: InjectionToken<MatTooltipDefaultOptions>;
32
- /** Default `matTooltip` options that can be overridden. */
33
- interface MatTooltipDefaultOptions {
34
- /** Default delay when the tooltip is shown. */
35
- showDelay: number;
36
- /** Default delay when the tooltip is hidden. */
37
- hideDelay: number;
38
- /** Default delay when hiding the tooltip on a touch device. */
39
- touchendHideDelay: number;
40
- /** Time between the user putting the pointer on a tooltip trigger and the long press event being fired on a touch device. */
41
- touchLongPressShowDelay?: number;
42
- /** Default touch gesture handling for tooltips. */
43
- touchGestures?: TooltipTouchGestures;
44
- /** Default position for tooltips. */
45
- position?: TooltipPosition;
46
- /**
47
- * Default value for whether tooltips should be positioned near the click or touch origin
48
- * instead of outside the element bounding box.
49
- */
50
- positionAtOrigin?: boolean;
51
- /** Disables the ability for the user to interact with the tooltip element. */
52
- disableTooltipInteractivity?: boolean;
53
- /**
54
- * Default classes to be applied to the tooltip. These default classes will not be applied if
55
- * `tooltipClass` is defined directly on the tooltip element, as it will override the default.
56
- */
57
- tooltipClass?: string | string[];
58
- }
59
- /**
60
- * CSS class that will be attached to the overlay panel.
61
- * @deprecated
62
- * @breaking-change 13.0.0 remove this variable
63
- */
64
- declare const TOOLTIP_PANEL_CLASS = "mat-mdc-tooltip-panel";
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
- declare class MatTooltip implements OnDestroy, AfterViewInit {
72
- private _elementRef;
73
- private _ngZone;
74
- private _platform;
75
- private _ariaDescriber;
76
- private _focusMonitor;
77
- protected _dir: Directionality;
78
- private _injector;
79
- private _viewContainerRef;
80
- private _animationsDisabled;
81
- private _defaultOptions;
82
- _overlayRef: OverlayRef | null;
83
- _tooltipInstance: TooltipComponent | null;
84
- _overlayPanelClass: string[] | undefined;
85
- private _portal;
86
- private _position;
87
- private _positionAtOrigin;
88
- private _disabled;
89
- private _tooltipClass;
90
- private _viewInitialized;
91
- private _pointerExitEventsInitialized;
92
- private readonly _tooltipComponent;
93
- private _viewportMargin;
94
- private _currentPosition;
95
- private readonly _cssClassPrefix;
96
- private _ariaDescriptionPending;
97
- private _dirSubscribed;
98
- /** Allows the user to define the position of the tooltip relative to the parent element */
99
- get position(): TooltipPosition;
100
- set position(value: TooltipPosition);
101
- /**
102
- * Whether tooltip should be relative to the click or touch origin
103
- * instead of outside the element bounding box.
104
- */
105
- get positionAtOrigin(): boolean;
106
- set positionAtOrigin(value: BooleanInput);
107
- /** Disables the display of the tooltip. */
108
- get disabled(): boolean;
109
- set disabled(value: BooleanInput);
110
- /** The default delay in ms before showing the tooltip after show is called */
111
- get showDelay(): number;
112
- set showDelay(value: NumberInput);
113
- private _showDelay;
114
- /** The default delay in ms before hiding the tooltip after hide is called */
115
- get hideDelay(): number;
116
- set hideDelay(value: NumberInput);
117
- private _hideDelay;
118
- /**
119
- * How touch gestures should be handled by the tooltip. On touch devices the tooltip directive
120
- * uses a long press gesture to show and hide, however it can conflict with the native browser
121
- * gestures. To work around the conflict, Angular Material disables native gestures on the
122
- * trigger, but that might not be desirable on particular elements (e.g. inputs and draggable
123
- * elements). The different values for this option configure the touch event handling as follows:
124
- * - `auto` - Enables touch gestures for all elements, but tries to avoid conflicts with native
125
- * browser gestures on particular elements. In particular, it allows text selection on inputs
126
- * and textareas, and preserves the native browser dragging on elements marked as `draggable`.
127
- * - `on` - Enables touch gestures for all elements and disables native
128
- * browser gestures with no exceptions.
129
- * - `off` - Disables touch gestures. Note that this will prevent the tooltip from
130
- * showing on touch devices.
131
- */
132
- touchGestures: TooltipTouchGestures;
133
- /** The message to be displayed in the tooltip */
134
- get message(): string;
135
- set message(value: string | null | undefined);
136
- private _message;
137
- /** Classes to be passed to the tooltip. Supports the same syntax as `ngClass`. */
138
- get tooltipClass(): string | string[] | Set<string> | {
139
- [key: string]: any;
140
- };
141
- set tooltipClass(value: string | string[] | Set<string> | {
142
- [key: string]: any;
143
- });
144
- /** Manually-bound passive event listeners. */
145
- private readonly _passiveListeners;
146
- /** Timer started at the last `touchstart` event. */
147
- private _touchstartTimeout;
148
- /** Emits when the component is destroyed. */
149
- private readonly _destroyed;
150
- /** Whether ngOnDestroyed has been called. */
151
- private _isDestroyed;
152
- constructor(...args: unknown[]);
153
- ngAfterViewInit(): void;
154
- /**
155
- * Dispose the tooltip when destroyed.
156
- */
157
- ngOnDestroy(): void;
158
- /** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */
159
- show(delay?: number, origin?: {
160
- x: number;
161
- y: number;
162
- }): void;
163
- /** Hides the tooltip after the delay in ms, defaults to tooltip-delay-hide or 0ms if no input */
164
- hide(delay?: number): void;
165
- /** Shows/hides the tooltip */
166
- toggle(origin?: {
167
- x: number;
168
- y: number;
169
- }): void;
170
- /** Returns true if the tooltip is currently visible to the user */
171
- _isTooltipVisible(): boolean;
172
- /** Create the overlay config and position strategy */
173
- private _createOverlay;
174
- /** Detaches the currently-attached tooltip. */
175
- private _detach;
176
- /** Updates the position of the current tooltip. */
177
- private _updatePosition;
178
- /** Adds the configured offset to a position. Used as a hook for child classes. */
179
- protected _addOffset(position: ConnectedPosition): ConnectedPosition;
180
- /**
181
- * Returns the origin position and a fallback position based on the user's position preference.
182
- * The fallback position is the inverse of the origin (e.g. `'below' -> 'above'`).
183
- */
184
- _getOrigin(): {
185
- main: OriginConnectionPosition;
186
- fallback: OriginConnectionPosition;
187
- };
188
- /** Returns the overlay position and a fallback position based on the user's preference */
189
- _getOverlayPosition(): {
190
- main: OverlayConnectionPosition;
191
- fallback: OverlayConnectionPosition;
192
- };
193
- /** Updates the tooltip message and repositions the overlay according to the new message length */
194
- private _updateTooltipMessage;
195
- /** Updates the tooltip class */
196
- private _setTooltipClass;
197
- /** Inverts an overlay position. */
198
- private _invertPosition;
199
- /** Updates the class on the overlay panel based on the current position of the tooltip. */
200
- private _updateCurrentPositionClass;
201
- /** Binds the pointer events to the tooltip trigger. */
202
- private _setupPointerEnterEventsIfNeeded;
203
- private _setupPointerExitEventsIfNeeded;
204
- private _addListeners;
205
- private _platformSupportsMouseEvents;
206
- /** Listener for the `wheel` event on the element. */
207
- private _wheelListener;
208
- /** Disables the native browser gestures, based on how the tooltip has been configured. */
209
- private _disableNativeGesturesIfNecessary;
210
- /** Updates the tooltip's ARIA description based on it current state. */
211
- private _syncAriaDescription;
212
- static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltip, never>;
213
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatTooltip, "[matTooltip]", ["matTooltip"], { "position": { "alias": "matTooltipPosition"; "required": false; }; "positionAtOrigin": { "alias": "matTooltipPositionAtOrigin"; "required": false; }; "disabled": { "alias": "matTooltipDisabled"; "required": false; }; "showDelay": { "alias": "matTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "matTooltipHideDelay"; "required": false; }; "touchGestures": { "alias": "matTooltipTouchGestures"; "required": false; }; "message": { "alias": "matTooltip"; "required": false; }; "tooltipClass": { "alias": "matTooltipClass"; "required": false; }; }, {}, never, never, true, never>;
214
- }
215
- /**
216
- * Internal component that wraps the tooltip's content.
217
- * @docs-private
218
- */
219
- declare class TooltipComponent implements OnDestroy {
220
- private _changeDetectorRef;
221
- protected _elementRef: ElementRef<HTMLElement>;
222
- _isMultiline: boolean;
223
- /** Message to display in the tooltip */
224
- message: string;
225
- /** Classes to be added to the tooltip. Supports the same syntax as `ngClass`. */
226
- tooltipClass: string | string[] | Set<string> | {
227
- [key: string]: any;
228
- };
229
- /** The timeout ID of any current timer set to show the tooltip */
230
- private _showTimeoutId;
231
- /** The timeout ID of any current timer set to hide the tooltip */
232
- private _hideTimeoutId;
233
- /** Element that caused the tooltip to open. */
234
- _triggerElement: HTMLElement;
235
- /** Amount of milliseconds to delay the closing sequence. */
236
- _mouseLeaveHideDelay: number;
237
- /** Whether animations are currently disabled. */
238
- private _animationsDisabled;
239
- /** Reference to the internal tooltip element. */
240
- _tooltip: ElementRef<HTMLElement>;
241
- /** Whether interactions on the page should close the tooltip */
242
- private _closeOnInteraction;
243
- /** Whether the tooltip is currently visible. */
244
- private _isVisible;
245
- /** Subject for notifying that the tooltip has been hidden from the view */
246
- private readonly _onHide;
247
- /** Name of the show animation and the class that toggles it. */
248
- private readonly _showAnimation;
249
- /** Name of the hide animation and the class that toggles it. */
250
- private readonly _hideAnimation;
251
- constructor(...args: unknown[]);
252
- /**
253
- * Shows the tooltip with an animation originating from the provided origin
254
- * @param delay Amount of milliseconds to the delay showing the tooltip.
255
- */
256
- show(delay: number): void;
257
- /**
258
- * Begins the animation to hide the tooltip after the provided delay in ms.
259
- * @param delay Amount of milliseconds to delay showing the tooltip.
260
- */
261
- hide(delay: number): void;
262
- /** Returns an observable that notifies when the tooltip has been hidden from view. */
263
- afterHidden(): Observable<void>;
264
- /** Whether the tooltip is being displayed. */
265
- isVisible(): boolean;
266
- ngOnDestroy(): void;
267
- /**
268
- * Interactions on the HTML body should close the tooltip immediately as defined in the
269
- * material design spec.
270
- * https://material.io/design/components/tooltips.html#behavior
271
- */
272
- _handleBodyInteraction(): void;
273
- /**
274
- * Marks that the tooltip needs to be checked in the next change detection run.
275
- * Mainly used for rendering the initial text before positioning a tooltip, which
276
- * can be problematic in components with OnPush change detection.
277
- */
278
- _markForCheck(): void;
279
- _handleMouseLeave({ relatedTarget }: MouseEvent): void;
280
- /**
281
- * Callback for when the timeout in this.show() gets completed.
282
- * This method is only needed by the mdc-tooltip, and so it is only implemented
283
- * in the mdc-tooltip, not here.
284
- */
285
- protected _onShow(): void;
286
- /** Whether the tooltip text has overflown to the next line */
287
- private _isTooltipMultiline;
288
- /** Event listener dispatched when an animation on the tooltip finishes. */
289
- _handleAnimationEnd({ animationName }: AnimationEvent): void;
290
- /** Cancels any pending animation sequences. */
291
- _cancelPendingAnimations(): void;
292
- /** Handles the cleanup after an animation has finished. */
293
- private _finalizeAnimation;
294
- /** Toggles the visibility of the tooltip element. */
295
- private _toggleVisibility;
296
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
297
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "mat-tooltip-component", never, {}, {}, never, never, true, never>;
298
- }
8
+ import '@angular/cdk/coercion';
9
+ import 'rxjs';
299
10
 
300
11
  declare class MatTooltipModule {
301
12
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltipModule, never>;
@@ -303,5 +14,4 @@ declare class MatTooltipModule {
303
14
  static ɵinj: i0.ɵɵInjectorDeclaration<MatTooltipModule>;
304
15
  }
305
16
 
306
- export { MAT_TOOLTIP_DEFAULT_OPTIONS, MAT_TOOLTIP_SCROLL_STRATEGY, MatTooltip, MatTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, getMatTooltipInvalidPositionError };
307
- export type { MatTooltipDefaultOptions, TooltipPosition, TooltipTouchGestures, TooltipVisibility };
17
+ export { MatTooltip, MatTooltipModule, TooltipComponent };
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-custom-theme.js","sourceRoot":"","sources":["create-custom-theme.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAGH,8CA2CC;AA5CD,mEAAmE;AACnE,SAAgB,iBAAiB,CAAC,iBAAyB;IACzD,MAAM,aAAa,GAAG,IAAI,GAAG,CAA8C;QACzE,CAAC,YAAY,EAAE,EAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAC,CAAC;QACpD,CAAC,UAAU,EAAE,EAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAC,CAAC;QAChD,CAAC,gBAAgB,EAAE,EAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAC,CAAC;QAC5D,CAAC,aAAa,EAAE,EAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAC,CAAC;KACvD,CAAC,CAAC;IACH,OAAO;;;;;;;;;;;sBAWa,aAAa,CAAC,GAAG,CAAC,iBAAiB,CAAE,CAAC,OAAO;uBAC5C,aAAa,CAAC,GAAG,CAAC,iBAAiB,CAAE,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;CAuBpE,CAAC;AACF,CAAC"}