@ng-matero/extensions 18.1.0 → 18.1.2

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 (120) hide show
  1. package/checkbox-group/checkbox-group.d.ts +3 -3
  2. package/core/m2/_typography.scss +172 -0
  3. package/core/style/_elevation.scss +167 -0
  4. package/core/tokens/_m3-tokens.scss +10 -10
  5. package/core/tokens/_token-utils.scss +120 -30
  6. package/core/tokens/m2/mtx/_datetimepicker.scss +3 -3
  7. package/core/tokens/m2/mtx/_drawer.scss +2 -2
  8. package/core/tokens/m2/mtx/_select.scss +2 -4
  9. package/core/tokens/m3/definitions/_index.scss +8 -0
  10. package/core/tokens/m3/definitions/_md-ref-palette.scss +100 -0
  11. package/core/tokens/m3/definitions/_md-ref-typeface.scss +14 -0
  12. package/core/tokens/m3/definitions/_md-sys-color.scss +126 -0
  13. package/core/tokens/m3/definitions/_md-sys-elevation.scss +15 -0
  14. package/core/tokens/m3/definitions/_md-sys-motion.scss +46 -0
  15. package/core/tokens/m3/definitions/_md-sys-shape.scss +24 -0
  16. package/core/tokens/m3/definitions/_md-sys-state.scss +13 -0
  17. package/core/tokens/m3/definitions/_md-sys-typescale.scss +308 -0
  18. package/core/tokens/m3/mtx/_datetimepicker.scss +3 -3
  19. package/core/tokens/m3/mtx/_drawer.scss +2 -2
  20. package/core/tokens/m3/mtx/_select.scss +2 -2
  21. package/core/typography/_all-typography.scss +2 -2
  22. package/esm2022/alert/alert-module.mjs +4 -4
  23. package/esm2022/alert/alert.mjs +3 -3
  24. package/esm2022/button/button-loading.mjs +3 -3
  25. package/esm2022/button/button-module.mjs +4 -4
  26. package/esm2022/checkbox-group/checkbox-group-module.mjs +4 -4
  27. package/esm2022/checkbox-group/checkbox-group.mjs +3 -3
  28. package/esm2022/colorpicker/colorpicker-input.mjs +3 -3
  29. package/esm2022/colorpicker/colorpicker-module.mjs +4 -4
  30. package/esm2022/colorpicker/colorpicker-toggle.mjs +6 -6
  31. package/esm2022/colorpicker/colorpicker.mjs +6 -6
  32. package/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  33. package/esm2022/column-resize/column-resize-directives/column-resize.mjs +3 -3
  34. package/esm2022/column-resize/column-resize-module.mjs +4 -4
  35. package/esm2022/column-resize/column-resize-notifier.mjs +6 -6
  36. package/esm2022/column-resize/column-resize.mjs +3 -3
  37. package/esm2022/column-resize/column-size-store.mjs +3 -3
  38. package/esm2022/column-resize/event-dispatcher.mjs +3 -3
  39. package/esm2022/column-resize/overlay-handle.mjs +3 -3
  40. package/esm2022/column-resize/resizable.mjs +3 -3
  41. package/esm2022/column-resize/resize-strategy.mjs +9 -9
  42. package/esm2022/core/datetime/datetime.module.mjs +8 -8
  43. package/esm2022/core/datetime/native-datetime-adapter.mjs +3 -3
  44. package/esm2022/core/pipes/is-template-ref.pipe.mjs +3 -3
  45. package/esm2022/core/pipes/pipes.module.mjs +4 -4
  46. package/esm2022/core/pipes/to-observable.pipe.mjs +3 -3
  47. package/esm2022/datetimepicker/calendar-body.mjs +3 -3
  48. package/esm2022/datetimepicker/calendar.mjs +3 -3
  49. package/esm2022/datetimepicker/clock.mjs +3 -3
  50. package/esm2022/datetimepicker/datetimepicker-actions.mjs +12 -12
  51. package/esm2022/datetimepicker/datetimepicker-input.mjs +3 -3
  52. package/esm2022/datetimepicker/datetimepicker-intl.mjs +3 -3
  53. package/esm2022/datetimepicker/datetimepicker-module.mjs +4 -4
  54. package/esm2022/datetimepicker/datetimepicker-toggle.mjs +6 -6
  55. package/esm2022/datetimepicker/datetimepicker.mjs +6 -6
  56. package/esm2022/datetimepicker/month-view.mjs +3 -3
  57. package/esm2022/datetimepicker/multi-year-view.mjs +3 -3
  58. package/esm2022/datetimepicker/time.mjs +8 -9
  59. package/esm2022/datetimepicker/year-view.mjs +3 -3
  60. package/esm2022/dialog/dialog-container.mjs +3 -3
  61. package/esm2022/dialog/dialog-module.mjs +4 -4
  62. package/esm2022/dialog/dialog.mjs +3 -3
  63. package/esm2022/drawer/drawer-container.mjs +3 -3
  64. package/esm2022/drawer/drawer-module.mjs +4 -4
  65. package/esm2022/drawer/drawer.mjs +3 -3
  66. package/esm2022/grid/cell.mjs +3 -3
  67. package/esm2022/grid/column-menu.mjs +3 -3
  68. package/esm2022/grid/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  69. package/esm2022/grid/column-resize/column-resize-directives/column-resize.mjs +3 -3
  70. package/esm2022/grid/column-resize/column-resize-module.mjs +8 -8
  71. package/esm2022/grid/column-resize/overlay-handle.mjs +3 -3
  72. package/esm2022/grid/column-resize/resizable-directives/resizable.mjs +3 -3
  73. package/esm2022/grid/column-resize/resize-strategy.mjs +3 -3
  74. package/esm2022/grid/expansion-toggle.mjs +3 -3
  75. package/esm2022/grid/grid-module.mjs +4 -4
  76. package/esm2022/grid/grid-pipes.mjs +21 -21
  77. package/esm2022/grid/grid-utils.mjs +3 -3
  78. package/esm2022/grid/grid.mjs +3 -3
  79. package/esm2022/grid/selectable-cell.mjs +3 -3
  80. package/esm2022/loader/loader-module.mjs +4 -4
  81. package/esm2022/loader/loader.mjs +3 -3
  82. package/esm2022/photoviewer/photoviewer-module.mjs +4 -4
  83. package/esm2022/photoviewer/photoviewer.mjs +3 -3
  84. package/esm2022/popover/popover-content.mjs +6 -6
  85. package/esm2022/popover/popover-module.mjs +4 -4
  86. package/esm2022/popover/popover-target.mjs +3 -3
  87. package/esm2022/popover/popover-trigger.mjs +3 -3
  88. package/esm2022/popover/popover.mjs +3 -3
  89. package/esm2022/progress/progress-module.mjs +4 -4
  90. package/esm2022/progress/progress.mjs +3 -3
  91. package/esm2022/select/option.mjs +3 -3
  92. package/esm2022/select/select-module.mjs +4 -4
  93. package/esm2022/select/select.mjs +3 -3
  94. package/esm2022/select/templates.mjs +33 -33
  95. package/esm2022/split/split-module.mjs +4 -4
  96. package/esm2022/split/split-pane.mjs +3 -3
  97. package/esm2022/split/split.mjs +3 -3
  98. package/esm2022/tooltip/tooltip-module.mjs +4 -4
  99. package/esm2022/tooltip/tooltip.mjs +6 -6
  100. package/fesm2022/mtxAlert.mjs +7 -7
  101. package/fesm2022/mtxButton.mjs +7 -7
  102. package/fesm2022/mtxCheckboxGroup.mjs +7 -7
  103. package/fesm2022/mtxColorpicker.mjs +19 -19
  104. package/fesm2022/mtxColumnResize.mjs +40 -40
  105. package/fesm2022/mtxCore.mjs +21 -21
  106. package/fesm2022/mtxDatetimepicker.mjs +59 -60
  107. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  108. package/fesm2022/mtxDialog.mjs +10 -10
  109. package/fesm2022/mtxDrawer.mjs +10 -10
  110. package/fesm2022/mtxGrid.mjs +66 -66
  111. package/fesm2022/mtxLoader.mjs +7 -7
  112. package/fesm2022/mtxPhotoviewer.mjs +7 -7
  113. package/fesm2022/mtxPopover.mjs +19 -19
  114. package/fesm2022/mtxProgress.mjs +7 -7
  115. package/fesm2022/mtxSelect.mjs +43 -43
  116. package/fesm2022/mtxSplit.mjs +10 -10
  117. package/fesm2022/mtxTooltip.mjs +10 -10
  118. package/package.json +14 -14
  119. package/tooltip/_tooltip-theme.scss +19 -15
  120. package/core/typography/_typography.scss +0 -40
@@ -801,10 +801,10 @@ class MtxSplit {
801
801
  ngOnDestroy() {
802
802
  this.stopDragging();
803
803
  }
804
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxSplit, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: MTX_SPLIT_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
805
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: MtxSplit, isStandalone: true, selector: "mtx-split", inputs: { color: "color", direction: "direction", unit: "unit", gutterSize: "gutterSize", gutterStep: "gutterStep", restrictMove: ["restrictMove", "restrictMove", booleanAttribute], useTransition: ["useTransition", "useTransition", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], dir: "dir", gutterDblClickDuration: "gutterDblClickDuration" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", gutterClick: "gutterClick", gutterDblClick: "gutterDblClick", transitionEnd: "transitionEnd" }, host: { classAttribute: "mtx-split" }, viewQueries: [{ propertyName: "gutterEls", predicate: ["gutterEls"], descendants: true }], exportAs: ["mtxSplit"], ngImport: i0, template: "<ng-content></ng-content>\r\n@for (area of displayedAreas; track area; let index = $index; let last = $last) {\r\n @if (!last) {\r\n <div #gutterEls class=\"mtx-split-gutter\" [class]=\"color ? 'mat-' + color : ''\"\r\n [style.flex-basis.px]=\"gutterSize\"\r\n [style.order]=\"index * 2 + 1\"\r\n (mousedown)=\"startDragging($event, index * 2 + 1, index + 1)\"\r\n (touchstart)=\"startDragging($event, index * 2 + 1, index + 1)\"\r\n (mouseup)=\"clickGutter($event, index + 1)\"\r\n (touchend)=\"clickGutter($event, index + 1)\">\r\n <div class=\"mtx-split-gutter-handle\"></div>\r\n </div>\r\n }\r\n}\r\n", styles: [".mtx-split{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}.mtx-split>.mtx-split-gutter{position:relative;display:flex;flex-grow:0;flex-shrink:0;align-items:center;justify-content:center;background-color:var(--mtx-split-gutter-background-color)}.mtx-split>.mtx-split-gutter:hover{background-color:var(--mtx-split-gutter-hover-state-background-color)}.mtx-split>.mtx-split-gutter>.mtx-split-gutter-handle{position:absolute;opacity:0}.mtx-split>.mtx-split-pane{flex-grow:0;flex-shrink:0;overflow:hidden auto}.mtx-split>.mtx-split-pane.mtx-split-pane-hidden{flex:0 1 0!important;overflow:hidden hidden}.mtx-split.mtx-split-horizontal{flex-direction:row}.mtx-split.mtx-split-horizontal>.mtx-split-gutter{flex-direction:row;height:100%;cursor:col-resize}.mtx-split.mtx-split-horizontal>.mtx-split-gutter>.mtx-split-gutter-handle{width:8px;height:100%;left:-2px;right:2px}.mtx-split.mtx-split-horizontal>.mtx-split-pane{height:100%}.mtx-split.mtx-split-vertical{flex-direction:column}.mtx-split.mtx-split-vertical>.mtx-split-gutter{flex-direction:column;width:100%;cursor:row-resize}.mtx-split.mtx-split-vertical>.mtx-split-gutter>.mtx-split-gutter-handle{width:100%;height:8px;top:-2px;bottom:2px}.mtx-split.mtx-split-vertical>.mtx-split-pane{width:100%}.mtx-split.mtx-split-vertical>.mtx-split-pane.mtx-split-pane-hidden{max-width:0}.mtx-split.mtx-split-disabled>.mtx-split-gutter{cursor:default}.mtx-split.mtx-split-disabled>.mtx-split-gutter .mtx-split-gutter-handle{background-image:none}.mtx-split.mtx-split-transition.mtx-split-init:not(.mtx-dragging)>.mtx-split-gutter,.mtx-split.mtx-split-transition.mtx-split-init:not(.mtx-dragging)>.mtx-split-pane{transition:flex-basis .3s}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
804
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxSplit, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: MTX_SPLIT_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
805
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: MtxSplit, isStandalone: true, selector: "mtx-split", inputs: { color: "color", direction: "direction", unit: "unit", gutterSize: "gutterSize", gutterStep: "gutterStep", restrictMove: ["restrictMove", "restrictMove", booleanAttribute], useTransition: ["useTransition", "useTransition", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], dir: "dir", gutterDblClickDuration: "gutterDblClickDuration" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", gutterClick: "gutterClick", gutterDblClick: "gutterDblClick", transitionEnd: "transitionEnd" }, host: { classAttribute: "mtx-split" }, viewQueries: [{ propertyName: "gutterEls", predicate: ["gutterEls"], descendants: true }], exportAs: ["mtxSplit"], ngImport: i0, template: "<ng-content></ng-content>\r\n@for (area of displayedAreas; track area; let index = $index; let last = $last) {\r\n @if (!last) {\r\n <div #gutterEls class=\"mtx-split-gutter\" [class]=\"color ? 'mat-' + color : ''\"\r\n [style.flex-basis.px]=\"gutterSize\"\r\n [style.order]=\"index * 2 + 1\"\r\n (mousedown)=\"startDragging($event, index * 2 + 1, index + 1)\"\r\n (touchstart)=\"startDragging($event, index * 2 + 1, index + 1)\"\r\n (mouseup)=\"clickGutter($event, index + 1)\"\r\n (touchend)=\"clickGutter($event, index + 1)\">\r\n <div class=\"mtx-split-gutter-handle\"></div>\r\n </div>\r\n }\r\n}\r\n", styles: [".mtx-split{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}.mtx-split>.mtx-split-gutter{position:relative;display:flex;flex-grow:0;flex-shrink:0;align-items:center;justify-content:center;background-color:var(--mtx-split-gutter-background-color)}.mtx-split>.mtx-split-gutter:hover{background-color:var(--mtx-split-gutter-hover-state-background-color)}.mtx-split>.mtx-split-gutter>.mtx-split-gutter-handle{position:absolute;opacity:0}.mtx-split>.mtx-split-pane{flex-grow:0;flex-shrink:0;overflow:hidden auto}.mtx-split>.mtx-split-pane.mtx-split-pane-hidden{flex:0 1 0!important;overflow:hidden hidden}.mtx-split.mtx-split-horizontal{flex-direction:row}.mtx-split.mtx-split-horizontal>.mtx-split-gutter{flex-direction:row;height:100%;cursor:col-resize}.mtx-split.mtx-split-horizontal>.mtx-split-gutter>.mtx-split-gutter-handle{width:8px;height:100%;left:-2px;right:2px}.mtx-split.mtx-split-horizontal>.mtx-split-pane{height:100%}.mtx-split.mtx-split-vertical{flex-direction:column}.mtx-split.mtx-split-vertical>.mtx-split-gutter{flex-direction:column;width:100%;cursor:row-resize}.mtx-split.mtx-split-vertical>.mtx-split-gutter>.mtx-split-gutter-handle{width:100%;height:8px;top:-2px;bottom:2px}.mtx-split.mtx-split-vertical>.mtx-split-pane{width:100%}.mtx-split.mtx-split-vertical>.mtx-split-pane.mtx-split-pane-hidden{max-width:0}.mtx-split.mtx-split-disabled>.mtx-split-gutter{cursor:default}.mtx-split.mtx-split-disabled>.mtx-split-gutter .mtx-split-gutter-handle{background-image:none}.mtx-split.mtx-split-transition.mtx-split-init:not(.mtx-dragging)>.mtx-split-gutter,.mtx-split.mtx-split-transition.mtx-split-init:not(.mtx-dragging)>.mtx-split-pane{transition:flex-basis .3s}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
806
806
  }
807
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxSplit, decorators: [{
807
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxSplit, decorators: [{
808
808
  type: Component,
809
809
  args: [{ selector: 'mtx-split', exportAs: 'mtxSplit', host: {
810
810
  class: 'mtx-split',
@@ -983,10 +983,10 @@ class MtxSplitPane {
983
983
  }
984
984
  this.split.removeArea(this);
985
985
  }
986
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxSplitPane, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: MtxSplit }], target: i0.ɵɵFactoryTarget.Directive }); }
987
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.0", type: MtxSplitPane, isStandalone: true, selector: "mtx-split-pane, [mtx-split-pane]", inputs: { order: "order", size: "size", minSize: "minSize", maxSize: "maxSize", lockSize: ["lockSize", "lockSize", booleanAttribute], visible: ["visible", "visible", booleanAttribute] }, exportAs: ["mtxSplitPane"], ngImport: i0 }); }
986
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxSplitPane, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: MtxSplit }], target: i0.ɵɵFactoryTarget.Directive }); }
987
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.2", type: MtxSplitPane, isStandalone: true, selector: "mtx-split-pane, [mtx-split-pane]", inputs: { order: "order", size: "size", minSize: "minSize", maxSize: "maxSize", lockSize: ["lockSize", "lockSize", booleanAttribute], visible: ["visible", "visible", booleanAttribute] }, exportAs: ["mtxSplitPane"], ngImport: i0 }); }
988
988
  }
989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxSplitPane, decorators: [{
989
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxSplitPane, decorators: [{
990
990
  type: Directive,
991
991
  args: [{
992
992
  selector: 'mtx-split-pane, [mtx-split-pane]',
@@ -1010,11 +1010,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
1010
1010
  }] } });
1011
1011
 
1012
1012
  class MtxSplitModule {
1013
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxSplitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1014
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MtxSplitModule, imports: [CommonModule, MtxSplit, MtxSplitPane], exports: [MtxSplit, MtxSplitPane] }); }
1015
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxSplitModule, imports: [CommonModule] }); }
1013
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxSplitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1014
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MtxSplitModule, imports: [CommonModule, MtxSplit, MtxSplitPane], exports: [MtxSplit, MtxSplitPane] }); }
1015
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxSplitModule, imports: [CommonModule] }); }
1016
1016
  }
1017
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxSplitModule, decorators: [{
1017
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxSplitModule, decorators: [{
1018
1018
  type: NgModule,
1019
1019
  args: [{
1020
1020
  imports: [CommonModule, MtxSplit, MtxSplitPane],
@@ -677,10 +677,10 @@ class MtxTooltip {
677
677
  style.webkitTapHighlightColor = 'transparent';
678
678
  }
679
679
  }
680
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxTooltip, deps: [{ token: i1.Overlay }, { token: i0.ElementRef }, { token: i1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.AriaDescriber }, { token: i3.FocusMonitor }, { token: MTX_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality }, { token: MTX_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
681
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: MtxTooltip, isStandalone: true, selector: "[mtxTooltip]", inputs: { position: ["mtxTooltipPosition", "position"], positionAtOrigin: ["mtxTooltipPositionAtOrigin", "positionAtOrigin"], disabled: ["mtxTooltipDisabled", "disabled"], showDelay: ["mtxTooltipShowDelay", "showDelay"], hideDelay: ["mtxTooltipHideDelay", "hideDelay"], touchGestures: ["mtxTooltipTouchGestures", "touchGestures"], message: ["mtxTooltip", "message"], tooltipContext: ["mtxTooltipContext", "tooltipContext"], tooltipClass: ["mtxTooltipClass", "tooltipClass"] }, host: { properties: { "class.mtx-mdc-tooltip-disabled": "disabled" }, classAttribute: "mtx-mdc-tooltip-trigger" }, exportAs: ["mtxTooltip"], ngImport: i0 }); }
680
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxTooltip, deps: [{ token: i1.Overlay }, { token: i0.ElementRef }, { token: i1.ScrollDispatcher }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i2.Platform }, { token: i3.AriaDescriber }, { token: i3.FocusMonitor }, { token: MTX_TOOLTIP_SCROLL_STRATEGY }, { token: i4.Directionality }, { token: MTX_TOOLTIP_DEFAULT_OPTIONS, optional: true }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
681
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.2", type: MtxTooltip, isStandalone: true, selector: "[mtxTooltip]", inputs: { position: ["mtxTooltipPosition", "position"], positionAtOrigin: ["mtxTooltipPositionAtOrigin", "positionAtOrigin"], disabled: ["mtxTooltipDisabled", "disabled"], showDelay: ["mtxTooltipShowDelay", "showDelay"], hideDelay: ["mtxTooltipHideDelay", "hideDelay"], touchGestures: ["mtxTooltipTouchGestures", "touchGestures"], message: ["mtxTooltip", "message"], tooltipContext: ["mtxTooltipContext", "tooltipContext"], tooltipClass: ["mtxTooltipClass", "tooltipClass"] }, host: { properties: { "class.mtx-mdc-tooltip-disabled": "disabled" }, classAttribute: "mtx-mdc-tooltip-trigger" }, exportAs: ["mtxTooltip"], ngImport: i0 }); }
682
682
  }
683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxTooltip, decorators: [{
683
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxTooltip, decorators: [{
684
684
  type: Directive,
685
685
  args: [{
686
686
  selector: '[mtxTooltip]',
@@ -892,10 +892,10 @@ class TooltipComponent {
892
892
  this._finalizeAnimation(isVisible);
893
893
  }
894
894
  }
895
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
896
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: TooltipComponent, isStandalone: true, selector: "mtx-tooltip-component", host: { attributes: { "aria-hidden": "true" }, listeners: { "mouseleave": "_handleMouseLeave($event)" }, properties: { "style.zoom": "isVisible() ? 1 : null" } }, viewQueries: [{ propertyName: "_tooltip", first: true, predicate: ["tooltip"], descendants: true, static: true }], ngImport: i0, template: "<div #tooltip\n class=\"mdc-tooltip mtx-mdc-tooltip\"\n [ngClass]=\"tooltipClass\"\n (animationend)=\"_handleAnimationEnd($event)\"\n [class.mdc-tooltip--multiline]=\"_isMultiline\">\n <div class=\"mtx-mdc-tooltip-surface mdc-tooltip__surface\">\n @if (message | isTemplateRef) {\n <ng-template [ngTemplateOutlet]=\"$any(message)\"\n [ngTemplateOutletContext]=\"{ $implicit: tooltipContext }\"></ng-template>\n } @else {\n {{message}}\n }\n </div>\n</div>\n", styles: [".mtx-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mtx-mdc-tooltip:before{content:\"\";inset:0;z-index:-1;position:absolute}.mtx-mdc-tooltip-panel-below .mtx-mdc-tooltip:before{top:-8px}.mtx-mdc-tooltip-panel-above .mtx-mdc-tooltip:before{bottom:-8px}.mtx-mdc-tooltip-panel-right .mtx-mdc-tooltip:before{left:-8px}.mtx-mdc-tooltip-panel-left .mtx-mdc-tooltip:before{right:-8px}.mtx-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mtx-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color);color:var(--mdc-plain-tooltip-supporting-text-color);border-radius:var(--mdc-plain-tooltip-container-shape);font-family:var(--mdc-plain-tooltip-supporting-text-font);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mtx-mdc-tooltip-surface:before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:\"\";pointer-events:none}.mdc-tooltip--multiline .mtx-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mtx-mdc-tooltip-surface{text-align:right}.mtx-mdc-tooltip-panel.mtx-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mtx-mdc-tooltip-show{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes mtx-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.mtx-mdc-tooltip-show{animation:mtx-mdc-tooltip-show .15s cubic-bezier(0,0,.2,1) forwards}.mtx-mdc-tooltip-hide{animation:mtx-mdc-tooltip-hide 75ms cubic-bezier(.4,0,1,1) forwards}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: MtxIsTemplateRefPipe, name: "isTemplateRef" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
895
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
896
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.2", type: TooltipComponent, isStandalone: true, selector: "mtx-tooltip-component", host: { attributes: { "aria-hidden": "true" }, listeners: { "mouseleave": "_handleMouseLeave($event)" }, properties: { "style.zoom": "isVisible() ? 1 : null" } }, viewQueries: [{ propertyName: "_tooltip", first: true, predicate: ["tooltip"], descendants: true, static: true }], ngImport: i0, template: "<div #tooltip\n class=\"mdc-tooltip mtx-mdc-tooltip\"\n [ngClass]=\"tooltipClass\"\n (animationend)=\"_handleAnimationEnd($event)\"\n [class.mdc-tooltip--multiline]=\"_isMultiline\">\n <div class=\"mtx-mdc-tooltip-surface mdc-tooltip__surface\">\n @if (message | isTemplateRef) {\n <ng-template [ngTemplateOutlet]=\"$any(message)\"\n [ngTemplateOutletContext]=\"{ $implicit: tooltipContext }\"></ng-template>\n } @else {\n {{message}}\n }\n </div>\n</div>\n", styles: [".mtx-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mtx-mdc-tooltip:before{content:\"\";inset:0;z-index:-1;position:absolute}.mtx-mdc-tooltip-panel-below .mtx-mdc-tooltip:before{top:-8px}.mtx-mdc-tooltip-panel-above .mtx-mdc-tooltip:before{bottom:-8px}.mtx-mdc-tooltip-panel-right .mtx-mdc-tooltip:before{left:-8px}.mtx-mdc-tooltip-panel-left .mtx-mdc-tooltip:before{right:-8px}.mtx-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mtx-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color);color:var(--mdc-plain-tooltip-supporting-text-color);border-radius:var(--mdc-plain-tooltip-container-shape);font-family:var(--mdc-plain-tooltip-supporting-text-font);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mtx-mdc-tooltip-surface:before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:\"\";pointer-events:none}.mdc-tooltip--multiline .mtx-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mtx-mdc-tooltip-surface{text-align:right}.mtx-mdc-tooltip-panel.mtx-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mtx-mdc-tooltip-show{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes mtx-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.mtx-mdc-tooltip-show{animation:mtx-mdc-tooltip-show .15s cubic-bezier(0,0,.2,1) forwards}.mtx-mdc-tooltip-hide{animation:mtx-mdc-tooltip-hide 75ms cubic-bezier(.4,0,1,1) forwards}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: MtxIsTemplateRefPipe, name: "isTemplateRef" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
897
897
  }
898
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: TooltipComponent, decorators: [{
898
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: TooltipComponent, decorators: [{
899
899
  type: Component,
900
900
  args: [{ selector: 'mtx-tooltip-component', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
901
901
  // Forces the element to have a layout in IE and Edge. This fixes issues where the element
@@ -919,21 +919,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
919
919
  }] } });
920
920
 
921
921
  class MtxTooltipModule {
922
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
923
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: MtxTooltipModule, imports: [A11yModule,
922
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
923
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.2", ngImport: i0, type: MtxTooltipModule, imports: [A11yModule,
924
924
  CommonModule,
925
925
  OverlayModule,
926
926
  MatCommonModule,
927
927
  MtxPipesModule,
928
928
  MtxTooltip,
929
929
  TooltipComponent], exports: [MtxTooltip, TooltipComponent, MatCommonModule, CdkScrollableModule] }); }
930
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxTooltipModule, providers: [MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule,
930
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxTooltipModule, providers: [MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [A11yModule,
931
931
  CommonModule,
932
932
  OverlayModule,
933
933
  MatCommonModule,
934
934
  MtxPipesModule, MatCommonModule, CdkScrollableModule] }); }
935
935
  }
936
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: MtxTooltipModule, decorators: [{
936
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImport: i0, type: MtxTooltipModule, decorators: [{
937
937
  type: NgModule,
938
938
  args: [{
939
939
  imports: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-matero/extensions",
3
- "version": "18.1.0",
3
+ "version": "18.1.2",
4
4
  "description": "Angular Material Extensions",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,7 +8,7 @@
8
8
  "author": "nzbin<nzb329@163.com>",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/ng-matero/extensions.git"
11
+ "url": "git+https://github.com/ng-matero/extensions.git"
12
12
  },
13
13
  "keywords": [
14
14
  "angular",
@@ -66,36 +66,36 @@
66
66
  "esm": "./esm2022/alert/mtxAlert.mjs",
67
67
  "default": "./fesm2022/mtxAlert.mjs"
68
68
  },
69
- "./checkbox-group": {
70
- "types": "./checkbox-group/index.d.ts",
71
- "esm2022": "./esm2022/checkbox-group/mtxCheckboxGroup.mjs",
72
- "esm": "./esm2022/checkbox-group/mtxCheckboxGroup.mjs",
73
- "default": "./fesm2022/mtxCheckboxGroup.mjs"
74
- },
75
69
  "./button": {
76
70
  "types": "./button/index.d.ts",
77
71
  "esm2022": "./esm2022/button/mtxButton.mjs",
78
72
  "esm": "./esm2022/button/mtxButton.mjs",
79
73
  "default": "./fesm2022/mtxButton.mjs"
80
74
  },
75
+ "./checkbox-group": {
76
+ "types": "./checkbox-group/index.d.ts",
77
+ "esm2022": "./esm2022/checkbox-group/mtxCheckboxGroup.mjs",
78
+ "esm": "./esm2022/checkbox-group/mtxCheckboxGroup.mjs",
79
+ "default": "./fesm2022/mtxCheckboxGroup.mjs"
80
+ },
81
81
  "./colorpicker": {
82
82
  "types": "./colorpicker/index.d.ts",
83
83
  "esm2022": "./esm2022/colorpicker/mtxColorpicker.mjs",
84
84
  "esm": "./esm2022/colorpicker/mtxColorpicker.mjs",
85
85
  "default": "./fesm2022/mtxColorpicker.mjs"
86
86
  },
87
- "./column-resize": {
88
- "types": "./column-resize/index.d.ts",
89
- "esm2022": "./esm2022/column-resize/mtxColumnResize.mjs",
90
- "esm": "./esm2022/column-resize/mtxColumnResize.mjs",
91
- "default": "./fesm2022/mtxColumnResize.mjs"
92
- },
93
87
  "./core": {
94
88
  "types": "./core/index.d.ts",
95
89
  "esm2022": "./esm2022/core/mtxCore.mjs",
96
90
  "esm": "./esm2022/core/mtxCore.mjs",
97
91
  "default": "./fesm2022/mtxCore.mjs"
98
92
  },
93
+ "./column-resize": {
94
+ "types": "./column-resize/index.d.ts",
95
+ "esm2022": "./esm2022/column-resize/mtxColumnResize.mjs",
96
+ "esm": "./esm2022/column-resize/mtxColumnResize.mjs",
97
+ "default": "./fesm2022/mtxColumnResize.mjs"
98
+ },
99
99
  "./datetimepicker": {
100
100
  "types": "./datetimepicker/index.d.ts",
101
101
  "esm2022": "./esm2022/datetimepicker/mtxDatetimepicker.mjs",
@@ -1,8 +1,8 @@
1
1
  @use 'sass:map';
2
- @use '@material/tooltip/plain-tooltip-theme' as mdc-plain-tooltip-theme;
3
2
  @use '@angular/material' as mat;
4
3
  @use '../core/theming/inspection';
5
4
  @use '../core/theming/validation';
5
+ @use '../core/tokens/token-utils';
6
6
  @use '../core/tokens/m2/mdc/plain-tooltip' as tokens-mdc-plain-tooltip;
7
7
 
8
8
  @mixin base($theme) {
@@ -12,7 +12,10 @@
12
12
  @else {
13
13
  // Add default values for tokens not related to color, typography, or density.
14
14
  @include mat.private-current-selector-or-root() {
15
- @include mdc-plain-tooltip-theme.theme(tokens-mdc-plain-tooltip.get-unthemable-tokens());
15
+ @include token-utils.create-token-values(
16
+ tokens-mdc-plain-tooltip.$prefix,
17
+ tokens-mdc-plain-tooltip.get-unthemable-tokens()
18
+ );
16
19
  }
17
20
  }
18
21
  }
@@ -22,11 +25,11 @@
22
25
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
23
26
  }
24
27
  @else {
25
- $mdc-tooltip-color-tokens: tokens-mdc-plain-tooltip.get-color-tokens($theme);
26
-
27
- // Add values for MDC tooltip tokens.
28
28
  @include mat.private-current-selector-or-root() {
29
- @include mdc-plain-tooltip-theme.theme($mdc-tooltip-color-tokens);
29
+ @include token-utils.create-token-values(
30
+ tokens-mdc-plain-tooltip.$prefix,
31
+ tokens-mdc-plain-tooltip.get-color-tokens($theme)
32
+ );
30
33
  }
31
34
  }
32
35
  }
@@ -36,11 +39,11 @@
36
39
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
37
40
  }
38
41
  @else {
39
- $mdc-tooltip-typography-tokens: tokens-mdc-plain-tooltip.get-typography-tokens($theme);
40
-
41
- // Add values for MDC tooltip tokens.
42
42
  @include mat.private-current-selector-or-root() {
43
- @include mdc-plain-tooltip-theme.theme($mdc-tooltip-typography-tokens);
43
+ @include token-utils.create-token-values(
44
+ tokens-mdc-plain-tooltip.$prefix,
45
+ tokens-mdc-plain-tooltip.get-typography-tokens($theme)
46
+ );
44
47
  }
45
48
  }
46
49
  }
@@ -50,11 +53,11 @@
50
53
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
51
54
  }
52
55
  @else {
53
- $mdc-tooltip-density-tokens: tokens-mdc-plain-tooltip.get-density-tokens($theme);
54
-
55
- // Add values for MDC tooltip tokens.
56
56
  @include mat.private-current-selector-or-root() {
57
- @include mdc-plain-tooltip-theme.theme($mdc-tooltip-density-tokens);
57
+ @include token-utils.create-token-values(
58
+ tokens-mdc-plain-tooltip.$prefix,
59
+ tokens-mdc-plain-tooltip.get-density-tokens($theme)
60
+ );
58
61
  }
59
62
  }
60
63
  }
@@ -83,6 +86,7 @@
83
86
  @include validation.selector-defined(
84
87
  'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
85
88
  @if $tokens != () {
86
- @include mdc-plain-tooltip-theme.theme(map.get($tokens, tokens-mdc-plain-tooltip.$prefix));
89
+ $tokens: token-utils.get-tokens-for($tokens, tokens-mdc-plain-tooltip.$prefix);
90
+ @include token-utils.create-token-values(tokens-mdc-plain-tooltip.$prefix, $tokens);
87
91
  }
88
92
  }
@@ -1,40 +0,0 @@
1
- @use '@material/typography' as mdc-typography;
2
- @use 'sass:map';
3
-
4
- /// Defines a typography level from the Material Design spec.
5
- /// @param {String} $font-size The font-size for this level.
6
- /// @param {String | Number} $line-height The line-height for this level.
7
- /// @param {String | Number} $font-weight The font-weight for this level.
8
- /// @param {String} $font-family The font-family for this level.
9
- /// @param {String} $letter-spacing The letter-spacing for this level.
10
- /// @returns {Map} A map representing the definition of this typographic level.
11
- @function define-typography-level(
12
- $font-size,
13
- $line-height: $font-size,
14
- $font-weight: 400,
15
- $font-family: null,
16
- $letter-spacing: normal) {
17
-
18
- @return (
19
- font-size: $font-size,
20
- line-height: $line-height,
21
- font-weight: $font-weight,
22
- font-family: $font-family,
23
- letter-spacing: $letter-spacing
24
- );
25
- }
26
-
27
- // Converts an MDC typography level config to an Angular Material one.
28
- @function typography-config-level-from-mdc($mdc-level, $font-family: null) {
29
- $mdc-level-config: map.get(mdc-typography.$styles, $mdc-level);
30
-
31
- // Explicitly default the font family to null since we'll apply it globally
32
- // through the `define-typgraphy-config`/`define-legacy-typography-config`.
33
- @return define-typography-level(
34
- $font-family: $font-family,
35
- $font-size: map.get($mdc-level-config, font-size),
36
- $line-height: map.get($mdc-level-config, line-height),
37
- $font-weight: map.get($mdc-level-config, font-weight),
38
- $letter-spacing: map.get($mdc-level-config, letter-spacing)
39
- );
40
- }