@ng-matero/extensions 20.3.1 → 21.0.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 (57) hide show
  1. package/fesm2022/mtxAlert.mjs +8 -8
  2. package/fesm2022/mtxAlert.mjs.map +1 -1
  3. package/fesm2022/mtxButton.mjs +7 -7
  4. package/fesm2022/mtxButton.mjs.map +1 -1
  5. package/fesm2022/mtxCheckboxGroup.mjs +7 -7
  6. package/fesm2022/mtxCheckboxGroup.mjs.map +1 -1
  7. package/fesm2022/mtxColorpicker.mjs +27 -101
  8. package/fesm2022/mtxColorpicker.mjs.map +1 -1
  9. package/fesm2022/mtxColumnResize.mjs +43 -43
  10. package/fesm2022/mtxColumnResize.mjs.map +1 -1
  11. package/fesm2022/mtxCore.mjs +21 -21
  12. package/fesm2022/mtxCore.mjs.map +1 -1
  13. package/fesm2022/mtxDatetimepicker.mjs +72 -265
  14. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  15. package/fesm2022/mtxDialog.mjs +11 -11
  16. package/fesm2022/mtxDialog.mjs.map +1 -1
  17. package/fesm2022/mtxDrawer.mjs +27 -88
  18. package/fesm2022/mtxDrawer.mjs.map +1 -1
  19. package/fesm2022/mtxGrid.mjs +75 -75
  20. package/fesm2022/mtxGrid.mjs.map +1 -1
  21. package/fesm2022/mtxLoader.mjs +7 -7
  22. package/fesm2022/mtxLoader.mjs.map +1 -1
  23. package/fesm2022/mtxPhotoviewer.mjs +7 -7
  24. package/fesm2022/mtxPhotoviewer.mjs.map +1 -1
  25. package/fesm2022/mtxPopover.mjs +93 -188
  26. package/fesm2022/mtxPopover.mjs.map +1 -1
  27. package/fesm2022/mtxProgress.mjs +8 -8
  28. package/fesm2022/mtxProgress.mjs.map +1 -1
  29. package/fesm2022/mtxSelect.mjs +53 -60
  30. package/fesm2022/mtxSelect.mjs.map +1 -1
  31. package/fesm2022/mtxSplit.mjs +10 -10
  32. package/fesm2022/mtxSplit.mjs.map +1 -1
  33. package/fesm2022/mtxTooltip.mjs +38 -127
  34. package/fesm2022/mtxTooltip.mjs.map +1 -1
  35. package/package.json +34 -34
  36. package/prebuilt-themes/deeppurple-amber.css +1 -1
  37. package/prebuilt-themes/indigo-pink.css +1 -1
  38. package/prebuilt-themes/pink-bluegrey.css +1 -1
  39. package/prebuilt-themes/purple-green.css +1 -1
  40. package/{colorpicker/index.d.ts → types/mtxColorpicker.d.ts} +3 -29
  41. package/{datetimepicker/index.d.ts → types/mtxDatetimepicker.d.ts} +5 -33
  42. package/{drawer/index.d.ts → types/mtxDrawer.d.ts} +12 -13
  43. package/{grid/index.d.ts → types/mtxGrid.d.ts} +5 -6
  44. package/{popover/index.d.ts → types/mtxPopover.d.ts} +2 -38
  45. package/{select/index.d.ts → types/mtxSelect.d.ts} +2 -3
  46. package/{tooltip/index.d.ts → types/mtxTooltip.d.ts} +9 -41
  47. /package/{alert/index.d.ts → types/mtxAlert.d.ts} +0 -0
  48. /package/{button/index.d.ts → types/mtxButton.d.ts} +0 -0
  49. /package/{checkbox-group/index.d.ts → types/mtxCheckboxGroup.d.ts} +0 -0
  50. /package/{column-resize/index.d.ts → types/mtxColumnResize.d.ts} +0 -0
  51. /package/{core/index.d.ts → types/mtxCore.d.ts} +0 -0
  52. /package/{dialog/index.d.ts → types/mtxDialog.d.ts} +0 -0
  53. /package/{loader/index.d.ts → types/mtxLoader.d.ts} +0 -0
  54. /package/{photoviewer/index.d.ts → types/mtxPhotoviewer.d.ts} +0 -0
  55. /package/{progress/index.d.ts → types/mtxProgress.d.ts} +0 -0
  56. /package/{split/index.d.ts → types/mtxSplit.d.ts} +0 -0
  57. /package/{index.d.ts → types/ng-matero-extensions.d.ts} +0 -0
@@ -1,15 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnDestroy, AfterViewInit, ElementRef, TemplateRef, InjectionToken } from '@angular/core';
3
3
  import * as i1 from '@angular/cdk/a11y';
4
- import * as i2 from '@angular/common';
5
- import * as i3 from '@angular/cdk/overlay';
6
- import { OverlayRef, ConnectedPosition, OriginConnectionPosition, OverlayConnectionPosition, ScrollStrategy, Overlay } from '@angular/cdk/overlay';
7
- import * as i4 from '@angular/material/core';
8
- import * as i5 from '@ng-matero/extensions/core';
4
+ import * as i2 from '@angular/cdk/overlay';
5
+ import { OverlayRef, ConnectedPosition, OriginConnectionPosition, OverlayConnectionPosition, ScrollStrategy } from '@angular/cdk/overlay';
6
+ import * as i3 from '@ng-matero/extensions/core';
7
+ import * as i5 from '@angular/cdk/bidi';
9
8
  import { Directionality } from '@angular/cdk/bidi';
10
9
  import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
11
10
  import { Observable } from 'rxjs';
12
- import * as i7 from '@angular/cdk/scrolling';
11
+ import * as i6 from '@angular/cdk/scrolling';
13
12
 
14
13
  /** Possible positions for a tooltip. */
15
14
  type TooltipPosition = 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
@@ -29,28 +28,6 @@ declare const SCROLL_THROTTLE_MS = 20;
29
28
  declare function getMtxTooltipInvalidPositionError(position: string): Error;
30
29
  /** Injection token that determines the scroll handling while a tooltip is visible. */
31
30
  declare const MTX_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
32
- /**
33
- * @docs-private
34
- * @deprecated No longer used, will be removed.
35
- * @breaking-change 21.0.0
36
- */
37
- declare function MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
38
- /**
39
- * @docs-private
40
- * @deprecated No longer used, will be removed.
41
- * @breaking-change 21.0.0
42
- */
43
- declare const MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: {
44
- provide: InjectionToken<() => ScrollStrategy>;
45
- deps: (typeof Overlay)[];
46
- useFactory: typeof MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY;
47
- };
48
- /**
49
- * @docs-private
50
- * @deprecated No longer used, will be removed.
51
- * @breaking-change 21.0.0
52
- */
53
- declare function MTX_TOOLTIP_DEFAULT_OPTIONS_FACTORY(): MtxTooltipDefaultOptions;
54
31
  /** Injection token to be used to override the default options for `mtxTooltip`. */
55
32
  declare const MTX_TOOLTIP_DEFAULT_OPTIONS: InjectionToken<MtxTooltipDefaultOptions>;
56
33
  /** Default `mtxTooltip` options that can be overridden. */
@@ -101,9 +78,11 @@ declare class MtxTooltip implements OnDestroy, AfterViewInit {
101
78
  protected _dir: Directionality;
102
79
  private _injector;
103
80
  private _viewContainerRef;
81
+ private _animationsDisabled;
104
82
  private _defaultOptions;
105
83
  _overlayRef: OverlayRef | null;
106
84
  _tooltipInstance: TooltipComponent | null;
85
+ _overlayPanelClass: string[] | undefined;
107
86
  private _portal;
108
87
  private _position;
109
88
  private _positionAtOrigin;
@@ -278,7 +257,6 @@ declare class TooltipComponent implements OnDestroy {
278
257
  private readonly _showAnimation;
279
258
  /** Name of the hide animation and the class that toggles it. */
280
259
  private readonly _hideAnimation;
281
- constructor();
282
260
  /**
283
261
  * Shows the tooltip with an animation originating from the provided origin
284
262
  * @param delay Amount of milliseconds to the delay showing the tooltip.
@@ -329,19 +307,9 @@ declare class TooltipComponent implements OnDestroy {
329
307
 
330
308
  declare class MtxTooltipModule {
331
309
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxTooltipModule, never>;
332
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxTooltipModule, never, [typeof i1.A11yModule, typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.MatCommonModule, typeof i5.MtxPipesModule, typeof MtxTooltip, typeof TooltipComponent], [typeof MtxTooltip, typeof TooltipComponent, typeof i4.MatCommonModule, typeof i7.CdkScrollableModule]>;
310
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MtxTooltipModule, never, [typeof i1.A11yModule, typeof i2.OverlayModule, typeof i3.MtxPipesModule, typeof MtxTooltip, typeof TooltipComponent], [typeof MtxTooltip, typeof TooltipComponent, typeof i5.BidiModule, typeof i6.CdkScrollableModule]>;
333
311
  static ɵinj: i0.ɵɵInjectorDeclaration<MtxTooltipModule>;
334
312
  }
335
313
 
336
- /**
337
- * Animations used by MatTooltip.
338
- * @docs-private
339
- * @deprecated No longer being used, to be removed.
340
- * @breaking-change 21.0.0
341
- */
342
- declare const matTooltipAnimations: {
343
- readonly tooltipState: any;
344
- };
345
-
346
- export { MTX_TOOLTIP_DEFAULT_OPTIONS, MTX_TOOLTIP_DEFAULT_OPTIONS_FACTORY, MTX_TOOLTIP_SCROLL_STRATEGY, MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY, MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER, MtxTooltip, MtxTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, getMtxTooltipInvalidPositionError, matTooltipAnimations };
314
+ export { MTX_TOOLTIP_DEFAULT_OPTIONS, MTX_TOOLTIP_SCROLL_STRATEGY, MtxTooltip, MtxTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, getMtxTooltipInvalidPositionError };
347
315
  export type { MtxTooltipDefaultOptions, TooltipPosition, TooltipTouchGestures, TooltipVisibility };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes