@ng-matero/extensions 19.4.1 → 20.0.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.
- package/_index.scss +1 -1
- package/alert/_alert-theme.scss +26 -31
- package/alert/_m2-alert.scss +59 -0
- package/alert/_m3-alert.scss +41 -0
- package/alert/alert.scss +27 -31
- package/alert/index.d.ts +30 -5
- package/button/index.d.ts +31 -5
- package/checkbox-group/index.d.ts +117 -5
- package/colorpicker/_colorpicker-theme.scss +31 -36
- package/{core/tokens/m2/mtx/_colorpicker.scss → colorpicker/_m2-colorpicker.scss} +6 -10
- package/colorpicker/_m3-colorpicker.scss +23 -0
- package/colorpicker/colorpicker-toggle.scss +4 -9
- package/colorpicker/index.d.ts +285 -3
- package/column-resize/index.d.ts +456 -3
- package/core/index.d.ts +147 -5
- package/core/theming/_color-api-backwards-compatibility.scss +8 -15
- package/core/theming/_definition.scss +81 -75
- package/core/theming/_palettes.scss +1036 -0
- package/core/tokens/{m2/_index.scss → _m2-tokens.scss} +22 -22
- package/core/tokens/_m2-utils.scss +108 -0
- package/core/tokens/_m3-system.scss +128 -106
- package/core/tokens/_m3-tokens.scss +36 -282
- package/core/tokens/_m3-utils.scss +48 -0
- package/core/tokens/_token-utils.scss +67 -239
- package/core/tokens/m3/_index.scss +7 -0
- package/core/tokens/m3/_md-sys-color.scss +156 -0
- package/core/tokens/m3/_md-sys-elevation.scss +15 -0
- package/core/tokens/m3/_md-sys-motion.scss +35 -0
- package/core/tokens/m3/_md-sys-shape.scss +21 -0
- package/core/tokens/m3/_md-sys-state.scss +13 -0
- package/core/tokens/m3/_md-sys-typescale.scss +128 -0
- package/core/tokens/m3/_theme.scss +47 -0
- package/datetimepicker/_datetimepicker-theme.scss +29 -39
- package/datetimepicker/_m2-datetimepicker.scss +149 -0
- package/datetimepicker/_m3-datetimepicker.scss +81 -0
- package/datetimepicker/calendar-body.scss +31 -56
- package/datetimepicker/calendar.scss +43 -79
- package/datetimepicker/clock.scss +28 -47
- package/datetimepicker/datetimepicker-content.scss +9 -15
- package/datetimepicker/datetimepicker-toggle.scss +4 -9
- package/datetimepicker/index.d.ts +1208 -3
- package/datetimepicker/time-view.scss +26 -32
- package/dialog/index.d.ts +54 -5
- package/drawer/_drawer-theme.scss +25 -30
- package/{core/tokens/m2/mtx/_drawer.scss → drawer/_m2-drawer.scss} +9 -12
- package/drawer/_m3-drawer.scss +24 -0
- package/drawer/drawer-container.scss +13 -24
- package/drawer/index.d.ts +221 -3
- package/fesm2022/mtxAlert.mjs +7 -7
- package/fesm2022/mtxAlert.mjs.map +1 -1
- package/fesm2022/mtxButton.mjs +11 -11
- package/fesm2022/mtxButton.mjs.map +1 -1
- package/fesm2022/mtxCheckboxGroup.mjs +7 -7
- package/fesm2022/mtxColorpicker.mjs +21 -21
- package/fesm2022/mtxColorpicker.mjs.map +1 -1
- package/fesm2022/mtxColumnResize.mjs +232 -103
- package/fesm2022/mtxColumnResize.mjs.map +1 -1
- package/fesm2022/mtxCore.mjs +21 -21
- package/fesm2022/mtxDatetimepicker.mjs +63 -67
- package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2022/mtxDialog.mjs +10 -10
- package/fesm2022/mtxDialog.mjs.map +1 -1
- package/fesm2022/mtxDrawer.mjs +10 -10
- package/fesm2022/mtxGrid.mjs +78 -77
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/fesm2022/mtxLoader.mjs +7 -7
- package/fesm2022/mtxPhotoviewer.mjs +7 -7
- package/fesm2022/mtxPopover.mjs +24 -25
- package/fesm2022/mtxPopover.mjs.map +1 -1
- package/fesm2022/mtxProgress.mjs +7 -7
- package/fesm2022/mtxSelect.mjs +54 -54
- package/fesm2022/mtxSelect.mjs.map +1 -1
- package/fesm2022/mtxSplit.mjs +10 -10
- package/fesm2022/mtxTooltip.mjs +13 -13
- package/fesm2022/mtxTooltip.mjs.map +1 -1
- package/grid/_grid-theme.scss +24 -34
- package/grid/_m2-grid.scss +66 -0
- package/grid/_m3-grid.scss +35 -0
- package/grid/column-menu.scss +6 -23
- package/grid/column-resize/_column-resize.scss +35 -30
- package/grid/grid.scss +41 -74
- package/grid/index.d.ts +799 -3
- package/index.d.ts +2 -5
- package/loader/_loader-theme.scss +26 -31
- package/{core/tokens/m2/mtx/_loader.scss → loader/_m2-loader.scss} +5 -10
- package/loader/_m3-loader.scss +20 -0
- package/loader/index.d.ts +43 -5
- package/loader/loader.scss +4 -5
- package/package.json +28 -28
- package/photoviewer/index.d.ts +26 -5
- package/{core/tokens/m2/mtx/_popover.scss → popover/_m2-popover.scss} +9 -12
- package/popover/_m3-popover.scss +26 -0
- package/popover/_popover-theme.scss +26 -31
- package/popover/index.d.ts +399 -3
- package/popover/popover.scss +23 -29
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress/_m2-progress.scss +53 -0
- package/progress/_m3-progress.scss +33 -0
- package/progress/_progress-theme.scss +22 -34
- package/progress/index.d.ts +35 -5
- package/progress/progress.scss +28 -43
- package/select/_m2-select.scss +79 -0
- package/select/_m3-select.scss +46 -0
- package/select/_select-theme.scss +27 -37
- package/select/index.d.ts +381 -3
- package/select/select.scss +189 -205
- package/{core/tokens/m2/mtx/_split.scss → split/_m2-split.scss} +6 -9
- package/split/_m3-split.scss +23 -0
- package/split/_split-theme.scss +31 -34
- package/split/index.d.ts +255 -3
- package/split/split.scss +8 -11
- package/tooltip/_m2-tooltip.scss +50 -0
- package/tooltip/_m3-tooltip.scss +28 -0
- package/tooltip/_tooltip-theme.scss +23 -47
- package/tooltip/index.d.ts +345 -3
- package/tooltip/tooltip.scss +11 -15
- package/alert/alert-module.d.ts +0 -8
- package/alert/alert.d.ts +0 -19
- package/alert/public-api.d.ts +0 -2
- package/button/button-loading.d.ts +0 -19
- package/button/button-module.d.ts +0 -10
- package/button/public-api.d.ts +0 -2
- package/checkbox-group/checkbox-group-module.d.ts +0 -11
- package/checkbox-group/checkbox-group.d.ts +0 -86
- package/checkbox-group/interfaces.d.ts +0 -17
- package/checkbox-group/public-api.d.ts +0 -3
- package/colorpicker/colorpicker-animations.d.ts +0 -9
- package/colorpicker/colorpicker-input.d.ts +0 -88
- package/colorpicker/colorpicker-module.d.ts +0 -15
- package/colorpicker/colorpicker-toggle.d.ts +0 -39
- package/colorpicker/colorpicker.d.ts +0 -140
- package/colorpicker/public-api.d.ts +0 -5
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -29
- package/column-resize/column-resize-directives/column-resize.d.ts +0 -29
- package/column-resize/column-resize-directives/constants.d.ts +0 -10
- package/column-resize/column-resize-module.d.ts +0 -12
- package/column-resize/column-resize-notifier.d.ts +0 -48
- package/column-resize/column-resize.d.ts +0 -39
- package/column-resize/column-size-store.d.ts +0 -12
- package/column-resize/event-dispatcher.d.ts +0 -35
- package/column-resize/overlay-handle.d.ts +0 -43
- package/column-resize/polyfill.d.ts +0 -9
- package/column-resize/public-api.d.ts +0 -12
- package/column-resize/resizable.d.ts +0 -63
- package/column-resize/resize-ref.d.ts +0 -17
- package/column-resize/resize-strategy.d.ts +0 -84
- package/column-resize/selectors.d.ts +0 -10
- package/core/datetime/datetime-adapter.d.ts +0 -45
- package/core/datetime/datetime-formats.d.ts +0 -22
- package/core/datetime/datetime.module.d.ts +0 -15
- package/core/datetime/index.d.ts +0 -5
- package/core/datetime/native-datetime-adapter.d.ts +0 -40
- package/core/datetime/native-datetime-formats.d.ts +0 -2
- package/core/pipes/index.d.ts +0 -3
- package/core/pipes/is-template-ref.pipe.d.ts +0 -7
- package/core/pipes/pipes.module.d.ts +0 -9
- package/core/pipes/to-observable.pipe.d.ts +0 -8
- package/core/public-api.d.ts +0 -2
- package/core/theming/_inspection.scss +0 -38
- package/core/theming/_validation.scss +0 -5
- package/core/tokens/_density.scss +0 -49
- package/core/tokens/_format-tokens.scss +0 -5
- package/core/tokens/_token-definition.scss +0 -271
- package/core/tokens/m2/mdc/_plain-tooltip.scss +0 -63
- package/core/tokens/m2/mtx/_alert.scss +0 -62
- package/core/tokens/m2/mtx/_datetimepicker.scss +0 -152
- package/core/tokens/m2/mtx/_grid.scss +0 -69
- package/core/tokens/m2/mtx/_progress.scss +0 -56
- package/core/tokens/m2/mtx/_select.scss +0 -82
- package/core/tokens/m3/definitions/_index.scss +0 -9
- package/core/tokens/m3/definitions/_md-comp-plain-tooltip.scss +0 -51
- package/core/tokens/m3/definitions/_md-ref-palette.scss +0 -100
- package/core/tokens/m3/definitions/_md-ref-typeface.scss +0 -14
- package/core/tokens/m3/definitions/_md-sys-color.scss +0 -126
- package/core/tokens/m3/definitions/_md-sys-elevation.scss +0 -15
- package/core/tokens/m3/definitions/_md-sys-motion.scss +0 -46
- package/core/tokens/m3/definitions/_md-sys-shape.scss +0 -24
- package/core/tokens/m3/definitions/_md-sys-state.scss +0 -13
- package/core/tokens/m3/definitions/_md-sys-typescale.scss +0 -308
- package/core/tokens/m3/index.scss +0 -47
- package/core/tokens/m3/mdc/_plain-tooltip.scss +0 -15
- package/core/tokens/m3/mtx/_alert.scss +0 -41
- package/core/tokens/m3/mtx/_colorpicker.scss +0 -19
- package/core/tokens/m3/mtx/_datetimepicker.scss +0 -140
- package/core/tokens/m3/mtx/_drawer.scss +0 -22
- package/core/tokens/m3/mtx/_grid.scss +0 -32
- package/core/tokens/m3/mtx/_loader.scss +0 -22
- package/core/tokens/m3/mtx/_popover.scss +0 -25
- package/core/tokens/m3/mtx/_progress.scss +0 -32
- package/core/tokens/m3/mtx/_select.scss +0 -76
- package/core/tokens/m3/mtx/_split.scss +0 -30
- package/datetimepicker/calendar-body.d.ts +0 -66
- package/datetimepicker/calendar.d.ts +0 -157
- package/datetimepicker/clock.d.ts +0 -101
- package/datetimepicker/datetimepicker-actions.d.ts +0 -36
- package/datetimepicker/datetimepicker-animations.d.ts +0 -11
- package/datetimepicker/datetimepicker-errors.d.ts +0 -2
- package/datetimepicker/datetimepicker-filtertype.d.ts +0 -5
- package/datetimepicker/datetimepicker-input.d.ts +0 -105
- package/datetimepicker/datetimepicker-intl.d.ts +0 -53
- package/datetimepicker/datetimepicker-module.d.ts +0 -22
- package/datetimepicker/datetimepicker-toggle.d.ts +0 -42
- package/datetimepicker/datetimepicker-types.d.ts +0 -6
- package/datetimepicker/datetimepicker.d.ts +0 -274
- package/datetimepicker/month-view.d.ts +0 -80
- package/datetimepicker/multi-year-view.d.ts +0 -86
- package/datetimepicker/public-api.d.ts +0 -16
- package/datetimepicker/time-view.d.ts +0 -147
- package/datetimepicker/year-view.d.ts +0 -68
- package/dialog/dialog-config.d.ts +0 -17
- package/dialog/dialog-container.d.ts +0 -11
- package/dialog/dialog-module.d.ts +0 -12
- package/dialog/dialog.d.ts +0 -15
- package/dialog/public-api.d.ts +0 -4
- package/drawer/drawer-animations.d.ts +0 -8
- package/drawer/drawer-config.d.ts +0 -63
- package/drawer/drawer-container.d.ts +0 -35
- package/drawer/drawer-module.d.ts +0 -10
- package/drawer/drawer-ref.d.ts +0 -53
- package/drawer/drawer.d.ts +0 -59
- package/drawer/public-api.d.ts +0 -6
- package/grid/cell.d.ts +0 -32
- package/grid/column-menu.d.ts +0 -39
- package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -24
- package/grid/column-resize/column-resize-directives/column-resize.d.ts +0 -24
- package/grid/column-resize/column-resize-directives/common.d.ts +0 -13
- package/grid/column-resize/column-resize-module.d.ts +0 -17
- package/grid/column-resize/index.d.ts +0 -7
- package/grid/column-resize/overlay-handle.d.ts +0 -32
- package/grid/column-resize/resizable-directives/common.d.ts +0 -19
- package/grid/column-resize/resizable-directives/resizable.d.ts +0 -32
- package/grid/column-resize/resize-strategy.d.ts +0 -20
- package/grid/expansion-toggle.d.ts +0 -17
- package/grid/grid-module.d.ts +0 -31
- package/grid/grid-pipes.d.ts +0 -39
- package/grid/grid-utils.d.ts +0 -33
- package/grid/grid.d.ts +0 -268
- package/grid/interfaces.d.ts +0 -180
- package/grid/public-api.d.ts +0 -17
- package/grid/selectable-cell.d.ts +0 -16
- package/loader/loader-module.d.ts +0 -10
- package/loader/loader.d.ts +0 -30
- package/loader/public-api.d.ts +0 -2
- package/photoviewer/photoviewer-module.d.ts +0 -7
- package/photoviewer/photoviewer.d.ts +0 -17
- package/photoviewer/public-api.d.ts +0 -2
- package/popover/popover-animations.d.ts +0 -11
- package/popover/popover-content.d.ts +0 -43
- package/popover/popover-errors.d.ts +0 -14
- package/popover/popover-interfaces.d.ts +0 -50
- package/popover/popover-module.d.ts +0 -13
- package/popover/popover-target.d.ts +0 -7
- package/popover/popover-trigger.d.ts +0 -132
- package/popover/popover-types.d.ts +0 -10
- package/popover/popover.d.ts +0 -147
- package/popover/public-api.d.ts +0 -8
- package/progress/progress-module.d.ts +0 -8
- package/progress/progress.d.ts +0 -24
- package/progress/public-api.d.ts +0 -2
- package/public-api.d.ts +0 -2
- package/select/option.d.ts +0 -21
- package/select/public-api.d.ts +0 -5
- package/select/select-intl.d.ts +0 -18
- package/select/select-module.d.ts +0 -12
- package/select/select.d.ts +0 -270
- package/select/templates.d.ts +0 -67
- package/split/interfaces.d.ts +0 -52
- package/split/public-api.d.ts +0 -5
- package/split/split-module.d.ts +0 -9
- package/split/split-pane.d.ts +0 -53
- package/split/split.d.ts +0 -133
- package/split/utils.d.ts +0 -13
- package/tooltip/public-api.d.ts +0 -3
- package/tooltip/tooltip-animations.d.ts +0 -9
- package/tooltip/tooltip-module.d.ts +0 -13
- package/tooltip/tooltip.d.ts +0 -321
package/split/index.d.ts
CHANGED
|
@@ -1,5 +1,257 @@
|
|
|
1
|
+
import { ThemePalette } from '@angular/material/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, OnDestroy, ElementRef, InjectionToken, AfterViewInit, EventEmitter } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
|
|
7
|
+
declare class MtxSplitPane implements OnInit, OnDestroy {
|
|
8
|
+
private ngZone;
|
|
9
|
+
private renderer;
|
|
10
|
+
private split;
|
|
11
|
+
elRef: ElementRef<any>;
|
|
12
|
+
/**
|
|
13
|
+
* Order of the area. Used to maintain the order of areas when toggling their visibility.
|
|
14
|
+
* Toggling area visibility without specifying an `order` leads to weird behavior.
|
|
15
|
+
*/
|
|
16
|
+
get order(): number | null;
|
|
17
|
+
set order(v: number | null);
|
|
18
|
+
private _order;
|
|
19
|
+
/**
|
|
20
|
+
* Size of the area in selected unit (percent/pixel).
|
|
21
|
+
* - Percent: All areas sizes should equal to `100`, If not, all areas will have the same size.
|
|
22
|
+
* - Pixel: An area with wildcard size (`size="*"`) is mandatory (only one) and
|
|
23
|
+
* can't have `visible="false"` or `minSize`/`maxSize`/`lockSize` properties.
|
|
24
|
+
*/
|
|
25
|
+
get size(): number | null;
|
|
26
|
+
set size(v: number | null);
|
|
27
|
+
private _size;
|
|
28
|
+
/** Minimum pixel or percent size, should be equal to or smaller than provided `size`. */
|
|
29
|
+
get minSize(): number | null;
|
|
30
|
+
set minSize(v: number | null);
|
|
31
|
+
private _minSize;
|
|
32
|
+
/** Maximum pixel or percent size, should be equal to or larger than provided `size`. */
|
|
33
|
+
get maxSize(): number | null;
|
|
34
|
+
set maxSize(v: number | null);
|
|
35
|
+
private _maxSize;
|
|
36
|
+
/** Lock area size, same as `minSize`=`maxSize`=`size`. */
|
|
37
|
+
get lockSize(): boolean;
|
|
38
|
+
set lockSize(v: boolean);
|
|
39
|
+
private _lockSize;
|
|
40
|
+
/** Hide area visually but still present in the DOM, use `ngIf` to completely remove it. */
|
|
41
|
+
get visible(): boolean;
|
|
42
|
+
set visible(v: boolean);
|
|
43
|
+
private _visible;
|
|
44
|
+
private transitionListener;
|
|
45
|
+
private readonly lockListeners;
|
|
46
|
+
constructor();
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
setStyleOrder(value: number): void;
|
|
49
|
+
setStyleFlex(grow: number, shrink: number, basis: string, isMin: boolean, isMax: boolean): void;
|
|
50
|
+
lockEvents(): void;
|
|
51
|
+
unlockEvents(): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxSplitPane, never>;
|
|
54
|
+
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>;
|
|
55
|
+
static ngAcceptInputType_lockSize: unknown;
|
|
56
|
+
static ngAcceptInputType_visible: unknown;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface MtxSplitPoint {
|
|
60
|
+
x: number;
|
|
61
|
+
y: number;
|
|
62
|
+
}
|
|
63
|
+
interface MtxSplitArea {
|
|
64
|
+
component: MtxSplitPane;
|
|
65
|
+
order: number;
|
|
66
|
+
size: number | null;
|
|
67
|
+
minSize: number | null;
|
|
68
|
+
maxSize: number | null;
|
|
69
|
+
}
|
|
70
|
+
interface MtxSplitSnapshot {
|
|
71
|
+
gutterNum: number;
|
|
72
|
+
allAreasSizePixel: number;
|
|
73
|
+
allInvolvedAreasSizePercent: number;
|
|
74
|
+
lastSteppedOffset: number;
|
|
75
|
+
areasBeforeGutter: MtxSplitAreaSnapshot[];
|
|
76
|
+
areasAfterGutter: MtxSplitAreaSnapshot[];
|
|
77
|
+
}
|
|
78
|
+
interface MtxSplitAreaSnapshot {
|
|
79
|
+
area: MtxSplitArea;
|
|
80
|
+
sizePixelAtStart: number;
|
|
81
|
+
sizePercentAtStart: number;
|
|
82
|
+
}
|
|
83
|
+
interface MtxSplitSideAbsorptionCapacity {
|
|
84
|
+
remain: number;
|
|
85
|
+
list: MtxSplitAreaAbsorptionCapacity[];
|
|
86
|
+
}
|
|
87
|
+
interface MtxSplitAreaAbsorptionCapacity {
|
|
88
|
+
areaSnapshot: MtxSplitAreaSnapshot;
|
|
89
|
+
pixelAbsorb: number;
|
|
90
|
+
percentAfterAbsorption: number;
|
|
91
|
+
pixelRemain: number;
|
|
92
|
+
}
|
|
93
|
+
interface MtxSplitOutputData {
|
|
94
|
+
gutterNum: number;
|
|
95
|
+
sizes: MtxSplitOutputAreaSizes;
|
|
96
|
+
}
|
|
97
|
+
type MtxSplitOutputAreaSizes = (number | '*')[];
|
|
98
|
+
interface MtxSplitDefaultOptions {
|
|
99
|
+
color?: ThemePalette;
|
|
100
|
+
dir?: 'ltr' | 'rtl';
|
|
101
|
+
direction?: 'horizontal' | 'vertical';
|
|
102
|
+
unit?: 'percent' | 'pixel';
|
|
103
|
+
gutterDblClickDuration?: number;
|
|
104
|
+
gutterSize?: number;
|
|
105
|
+
gutterStep?: number;
|
|
106
|
+
restrictMove?: boolean;
|
|
107
|
+
useTransition?: boolean;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare function getPointFromEvent(event: MouseEvent | TouchEvent): MtxSplitPoint | null;
|
|
111
|
+
declare function getElementPixelSize(elRef: ElementRef, direction: 'horizontal' | 'vertical'): number;
|
|
112
|
+
declare function getInputPositiveNumber<T>(v: any, defaultValue: T): number | T;
|
|
113
|
+
declare function isUserSizesValid(unit: 'percent' | 'pixel', sizes: number[]): boolean | number | void;
|
|
114
|
+
declare function getAreaMinSize(a: MtxSplitArea): null | number;
|
|
115
|
+
declare function getAreaMaxSize(a: MtxSplitArea): null | number;
|
|
116
|
+
declare function getGutterSideAbsorptionCapacity(unit: 'percent' | 'pixel', sideAreas: MtxSplitAreaSnapshot[], pixels: number, allAreasSizePixel: number): MtxSplitSideAbsorptionCapacity;
|
|
117
|
+
declare function getAreaAbsorptionCapacity(unit: 'percent' | 'pixel', areaSnapshot: MtxSplitAreaSnapshot, pixels: number, allAreasSizePixel: number): MtxSplitAreaAbsorptionCapacity | void;
|
|
118
|
+
declare function getAreaAbsorptionCapacityPercent(areaSnapshot: MtxSplitAreaSnapshot, pixels: number, allAreasSizePixel: number): MtxSplitAreaAbsorptionCapacity | void;
|
|
119
|
+
declare function getAreaAbsorptionCapacityPixel(areaSnapshot: MtxSplitAreaSnapshot, pixels: number, containerSizePixel: number): MtxSplitAreaAbsorptionCapacity | void;
|
|
120
|
+
declare function updateAreaSize(unit: 'percent' | 'pixel', item: MtxSplitAreaAbsorptionCapacity): void;
|
|
121
|
+
|
|
122
|
+
/** Injection token that can be used to specify default split options. */
|
|
123
|
+
declare const MTX_SPLIT_DEFAULT_OPTIONS: InjectionToken<MtxSplitDefaultOptions>;
|
|
1
124
|
/**
|
|
2
|
-
*
|
|
125
|
+
* mtx-split
|
|
126
|
+
*
|
|
127
|
+
*
|
|
128
|
+
* PERCENT MODE ([unit]="'percent'")
|
|
129
|
+
* ___________________________________________________________________________________________
|
|
130
|
+
* | A [g1] B [g2] C [g3] D [g4] E |
|
|
131
|
+
* |-------------------------------------------------------------------------------------------|
|
|
132
|
+
* | 20 30 20 15 15 | <-- [size]="x"
|
|
133
|
+
* | 10px 10px 10px 10px | <-- [gutterSize]="10"
|
|
134
|
+
* |calc(20% - 8px) calc(30% - 12px) calc(20% - 8px) calc(15% - 6px) calc(15% - 6px)| <-- CSS flex-basis property (with flex-grow&shrink at 0)
|
|
135
|
+
* | 152px 228px 152px 114px 114px | <-- el.getBoundingClientRect().width
|
|
136
|
+
* |___________________________________________________________________________________________|
|
|
137
|
+
* 800px <-- el.getBoundingClientRect().width
|
|
138
|
+
* flex-basis = calc( { area.size }% - { area.size/100 * nbGutter*gutterSize }px );
|
|
139
|
+
*
|
|
140
|
+
*
|
|
141
|
+
* PIXEL MODE ([unit]="'pixel'")
|
|
142
|
+
* ___________________________________________________________________________________________
|
|
143
|
+
* | A [g1] B [g2] C [g3] D [g4] E |
|
|
144
|
+
* |-------------------------------------------------------------------------------------------|
|
|
145
|
+
* | 100 250 * 150 100 | <-- [size]="y"
|
|
146
|
+
* | 10px 10px 10px 10px | <-- [gutterSize]="10"
|
|
147
|
+
* | 0 0 100px 0 0 250px 1 1 auto 0 0 150px 0 0 100px | <-- CSS flex property (flex-grow/flex-shrink/flex-basis)
|
|
148
|
+
* | 100px 250px 200px 150px 100px | <-- el.getBoundingClientRect().width
|
|
149
|
+
* |___________________________________________________________________________________________|
|
|
150
|
+
* 800px <-- el.getBoundingClientRect().width
|
|
151
|
+
*
|
|
3
152
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
153
|
+
declare class MtxSplit implements AfterViewInit, OnDestroy {
|
|
154
|
+
private ngZone;
|
|
155
|
+
private elRef;
|
|
156
|
+
private cdRef;
|
|
157
|
+
private renderer;
|
|
158
|
+
protected _defaultOptions: MtxSplitDefaultOptions | null;
|
|
159
|
+
color: ThemePalette;
|
|
160
|
+
/** The split direction. */
|
|
161
|
+
get direction(): "horizontal" | "vertical";
|
|
162
|
+
set direction(v: 'horizontal' | 'vertical');
|
|
163
|
+
private _direction;
|
|
164
|
+
/** The unit you want to specify area sizes. */
|
|
165
|
+
get unit(): "percent" | "pixel";
|
|
166
|
+
set unit(v: 'percent' | 'pixel');
|
|
167
|
+
private _unit;
|
|
168
|
+
/** Gutters's size (dragging elements) in pixels. */
|
|
169
|
+
get gutterSize(): number;
|
|
170
|
+
set gutterSize(v: number);
|
|
171
|
+
private _gutterSize;
|
|
172
|
+
/** Gutter step while moving in pixels. */
|
|
173
|
+
get gutterStep(): number;
|
|
174
|
+
set gutterStep(v: number);
|
|
175
|
+
private _gutterStep;
|
|
176
|
+
/** Set to true if you want to limit gutter move to adjacent areas only. */
|
|
177
|
+
restrictMove: boolean;
|
|
178
|
+
/** Add transition when toggling visibility using `visible` or `size` changes. */
|
|
179
|
+
get useTransition(): boolean;
|
|
180
|
+
set useTransition(v: boolean);
|
|
181
|
+
private _useTransition;
|
|
182
|
+
/**
|
|
183
|
+
* Disable the dragging feature (remove cursor/image on gutters).
|
|
184
|
+
* `gutterClick`/`gutterDblClick` still emits.
|
|
185
|
+
*/
|
|
186
|
+
get disabled(): boolean;
|
|
187
|
+
set disabled(v: boolean);
|
|
188
|
+
private _disabled;
|
|
189
|
+
/** Indicates the directionality of the areas. */
|
|
190
|
+
get dir(): "ltr" | "rtl";
|
|
191
|
+
set dir(v: 'ltr' | 'rtl');
|
|
192
|
+
private _dir;
|
|
193
|
+
/**
|
|
194
|
+
* Milliseconds to detect a double click on a gutter. Set it around 300-500ms if
|
|
195
|
+
* you want to use `gutterDblClick` event.
|
|
196
|
+
*/
|
|
197
|
+
get gutterDblClickDuration(): number;
|
|
198
|
+
set gutterDblClickDuration(v: number);
|
|
199
|
+
private _gutterDblClickDuration;
|
|
200
|
+
/** Event emitted when drag starts. */
|
|
201
|
+
dragStart: EventEmitter<MtxSplitOutputData>;
|
|
202
|
+
/** Event emitted when drag ends. */
|
|
203
|
+
dragEnd: EventEmitter<MtxSplitOutputData>;
|
|
204
|
+
/** Event emitted when user clicks on a gutter. */
|
|
205
|
+
gutterClick: EventEmitter<MtxSplitOutputData>;
|
|
206
|
+
/** Event emitted when user double clicks on a gutter. */
|
|
207
|
+
gutterDblClick: EventEmitter<MtxSplitOutputData>;
|
|
208
|
+
/**
|
|
209
|
+
* Event emitted when transition ends (could be triggered from `visible` or `size` changes).
|
|
210
|
+
* Only if `useTransition` equals true.
|
|
211
|
+
*/
|
|
212
|
+
get transitionEnd(): Observable<MtxSplitOutputAreaSizes>;
|
|
213
|
+
private transitionEndSubscriber;
|
|
214
|
+
private dragProgressSubject;
|
|
215
|
+
dragProgress$: Observable<MtxSplitOutputData>;
|
|
216
|
+
private isDragging;
|
|
217
|
+
private dragListeners;
|
|
218
|
+
private snapshot;
|
|
219
|
+
private startPoint;
|
|
220
|
+
private endPoint;
|
|
221
|
+
readonly displayedAreas: MtxSplitArea[];
|
|
222
|
+
private readonly hidedAreas;
|
|
223
|
+
private gutterEls;
|
|
224
|
+
constructor();
|
|
225
|
+
ngAfterViewInit(): void;
|
|
226
|
+
private getNbGutters;
|
|
227
|
+
addArea(component: MtxSplitPane): void;
|
|
228
|
+
removeArea(component: MtxSplitPane): void;
|
|
229
|
+
updateArea(component: MtxSplitPane, resetOrders: boolean, resetSizes: boolean): void;
|
|
230
|
+
showArea(component: MtxSplitPane): void;
|
|
231
|
+
hideArea(comp: MtxSplitPane): void;
|
|
232
|
+
getVisibleAreaSizes(): MtxSplitOutputAreaSizes;
|
|
233
|
+
setVisibleAreaSizes(sizes: MtxSplitOutputAreaSizes): boolean;
|
|
234
|
+
private build;
|
|
235
|
+
private refreshStyleSizes;
|
|
236
|
+
_clickTimeout: number | null;
|
|
237
|
+
clickGutter(event: MouseEvent | TouchEvent, gutterNum: number): void;
|
|
238
|
+
startDragging(event: MouseEvent | TouchEvent, gutterOrder: number, gutterNum: number): void;
|
|
239
|
+
private dragEvent;
|
|
240
|
+
private stopDragging;
|
|
241
|
+
notify(type: 'start' | 'progress' | 'end' | 'click' | 'dblclick' | 'transitionEnd', gutterNum: number): void;
|
|
242
|
+
ngOnDestroy(): void;
|
|
243
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxSplit, never>;
|
|
244
|
+
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>;
|
|
245
|
+
static ngAcceptInputType_restrictMove: unknown;
|
|
246
|
+
static ngAcceptInputType_useTransition: unknown;
|
|
247
|
+
static ngAcceptInputType_disabled: unknown;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare class MtxSplitModule {
|
|
251
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MtxSplitModule, never>;
|
|
252
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxSplitModule, never, [typeof i1.CommonModule, typeof MtxSplit, typeof MtxSplitPane], [typeof MtxSplit, typeof MtxSplitPane]>;
|
|
253
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MtxSplitModule>;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export { MTX_SPLIT_DEFAULT_OPTIONS, MtxSplit, MtxSplitModule, MtxSplitPane, getAreaAbsorptionCapacity, getAreaAbsorptionCapacityPercent, getAreaAbsorptionCapacityPixel, getAreaMaxSize, getAreaMinSize, getElementPixelSize, getGutterSideAbsorptionCapacity, getInputPositiveNumber, getPointFromEvent, isUserSizesValid, updateAreaSize };
|
|
257
|
+
export type { MtxSplitArea, MtxSplitAreaAbsorptionCapacity, MtxSplitAreaSnapshot, MtxSplitDefaultOptions, MtxSplitOutputAreaSizes, MtxSplitOutputData, MtxSplitPoint, MtxSplitSideAbsorptionCapacity, MtxSplitSnapshot };
|
package/split/split.scss
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use '../core/tokens/token-utils';
|
|
2
|
-
@use '
|
|
2
|
+
@use './m3-split';
|
|
3
|
+
|
|
4
|
+
$fallbacks: m3-split.get-tokens();
|
|
3
5
|
|
|
4
6
|
$gutter-size: 4px;
|
|
5
7
|
$handle-size: 8px;
|
|
6
|
-
$handle-offset: ($handle-size - $gutter-size) * .5;
|
|
7
|
-
|
|
8
|
-
$_tokens: tokens-mtx-split.$prefix, tokens-mtx-split.get-token-slots();
|
|
8
|
+
$handle-offset: ($handle-size - $gutter-size) * 0.5;
|
|
9
9
|
|
|
10
10
|
.mtx-split {
|
|
11
11
|
display: flex;
|
|
@@ -23,13 +23,10 @@ $_tokens: tokens-mtx-split.$prefix, tokens-mtx-split.get-token-slots();
|
|
|
23
23
|
flex-shrink: 0;
|
|
24
24
|
align-items: center;
|
|
25
25
|
justify-content: center;
|
|
26
|
+
background-color: token-utils.slot(split-gutter-background-color, $fallbacks);
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
&:hover {
|
|
31
|
-
@include token-utils.create-token-slot(background-color, gutter-hover-state-background-color);
|
|
32
|
-
}
|
|
28
|
+
&:hover {
|
|
29
|
+
background-color: token-utils.slot(split-gutter-hover-state-background-color, $fallbacks);
|
|
33
30
|
}
|
|
34
31
|
|
|
35
32
|
> .mtx-split-gutter-handle {
|
|
@@ -114,7 +111,7 @@ $_tokens: tokens-mtx-split.$prefix, tokens-mtx-split.get-token-slots();
|
|
|
114
111
|
&.mtx-split-transition.mtx-split-init:not(.mtx-dragging) {
|
|
115
112
|
> .mtx-split-gutter,
|
|
116
113
|
> .mtx-split-pane {
|
|
117
|
-
transition: flex-basis .3s;
|
|
114
|
+
transition: flex-basis 0.3s;
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '../core/tokens/m2-utils';
|
|
3
|
+
|
|
4
|
+
// Tokens that can't be configured through Angular Material's current theming API,
|
|
5
|
+
// but may be in a future version of the theming API.
|
|
6
|
+
//
|
|
7
|
+
// Tokens that are available in MDC, but not used in Angular Material should be mapped to `null`.
|
|
8
|
+
// `null` indicates that we are intentionally choosing not to emit a slot or value for the token in
|
|
9
|
+
// our CSS.
|
|
10
|
+
@function get-unthemable-tokens() {
|
|
11
|
+
@return (
|
|
12
|
+
tooltip-container-shape: 4px,
|
|
13
|
+
tooltip-supporting-text-line-height: 16px,
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Tokens that can be configured through Angular Material's color theming API.
|
|
18
|
+
@function get-color-tokens($theme) {
|
|
19
|
+
|
|
20
|
+
@return (
|
|
21
|
+
tooltip-container-color: mat.get-theme-color($theme, background, tooltip),
|
|
22
|
+
tooltip-supporting-text-color: #fff,
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Tokens that can be configured through Angular Material's typography theming API.
|
|
27
|
+
@function get-typography-tokens($theme) {
|
|
28
|
+
@return (
|
|
29
|
+
tooltip-supporting-text-font: mat.get-theme-typography($theme, caption, font-family),
|
|
30
|
+
tooltip-supporting-text-size: mat.get-theme-typography($theme, caption, font-size),
|
|
31
|
+
tooltip-supporting-text-weight: mat.get-theme-typography($theme, caption, font-weight),
|
|
32
|
+
tooltip-supporting-text-tracking: mat.get-theme-typography($theme, caption, letter-spacing),
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Tokens that can be configured through Angular Material's density theming API.
|
|
37
|
+
@function get-density-tokens($theme) {
|
|
38
|
+
@return ();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Combines the tokens generated by the above functions into a single map with placeholder values.
|
|
42
|
+
// This is used to create token slots.
|
|
43
|
+
@function get-token-slots() {
|
|
44
|
+
@return mat.private-deep-merge-all(
|
|
45
|
+
get-unthemable-tokens(),
|
|
46
|
+
get-color-tokens(m2-utils.$placeholder-color-config),
|
|
47
|
+
get-typography-tokens(m2-utils.$placeholder-typography-config),
|
|
48
|
+
get-density-tokens(m2-utils.$placeholder-density-config)
|
|
49
|
+
);
|
|
50
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../core/tokens/m3-utils';
|
|
3
|
+
@use '../core/tokens/m3';
|
|
4
|
+
|
|
5
|
+
/// Generates the tokens for MDC plain-tooltip
|
|
6
|
+
@function get-tokens($theme: m3.$sys-theme) {
|
|
7
|
+
$system: m3-utils.get-system($theme);
|
|
8
|
+
|
|
9
|
+
$tokens: (
|
|
10
|
+
base: (
|
|
11
|
+
tooltip-container-shape: map.get($system, corner-extra-small),
|
|
12
|
+
tooltip-supporting-text-line-height: map.get($system, body-small-line-height),
|
|
13
|
+
),
|
|
14
|
+
color: (
|
|
15
|
+
tooltip-container-color: map.get($system, inverse-surface),
|
|
16
|
+
tooltip-supporting-text-color: map.get($system, inverse-on-surface),
|
|
17
|
+
),
|
|
18
|
+
typography: (
|
|
19
|
+
tooltip-supporting-text-font: map.get($system, body-small-font),
|
|
20
|
+
tooltip-supporting-text-size: map.get($system, body-small-size),
|
|
21
|
+
tooltip-supporting-text-tracking: map.get($system, body-small-tracking),
|
|
22
|
+
tooltip-supporting-text-weight: map.get($system, body-small-weight),
|
|
23
|
+
),
|
|
24
|
+
density: (),
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
@return $tokens;
|
|
28
|
+
}
|
|
@@ -1,63 +1,46 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
|
-
@use '../core/theming/inspection';
|
|
4
|
-
@use '../core/theming/validation';
|
|
5
3
|
@use '../core/tokens/token-utils';
|
|
6
|
-
@use '
|
|
4
|
+
@use './m2-tooltip';
|
|
5
|
+
@use './m3-tooltip';
|
|
7
6
|
|
|
8
7
|
@mixin base($theme) {
|
|
9
8
|
@if mat.get-theme-version($theme) == 1 {
|
|
10
|
-
@include
|
|
11
|
-
}
|
|
12
|
-
@else {
|
|
9
|
+
@include token-utils.create-token-values(map.get(m3-tooltip.get-tokens($theme), base));
|
|
10
|
+
} @else {
|
|
13
11
|
// Add default values for tokens not related to color, typography, or density.
|
|
14
12
|
@include mat.private-current-selector-or-root() {
|
|
15
|
-
@include token-utils.create-token-values(
|
|
16
|
-
tokens-mdc-plain-tooltip.$prefix,
|
|
17
|
-
tokens-mdc-plain-tooltip.get-unthemable-tokens()
|
|
18
|
-
);
|
|
13
|
+
@include token-utils.create-token-values-mixed(m2-tooltip.get-unthemable-tokens());
|
|
19
14
|
}
|
|
20
15
|
}
|
|
21
16
|
}
|
|
22
17
|
|
|
23
18
|
@mixin color($theme) {
|
|
24
19
|
@if mat.get-theme-version($theme) == 1 {
|
|
25
|
-
@include
|
|
26
|
-
}
|
|
27
|
-
@else {
|
|
20
|
+
@include token-utils.create-token-values(map.get(m3-tooltip.get-tokens($theme), color));
|
|
21
|
+
} @else {
|
|
28
22
|
@include mat.private-current-selector-or-root() {
|
|
29
|
-
@include token-utils.create-token-values(
|
|
30
|
-
tokens-mdc-plain-tooltip.$prefix,
|
|
31
|
-
tokens-mdc-plain-tooltip.get-color-tokens($theme)
|
|
32
|
-
);
|
|
23
|
+
@include token-utils.create-token-values-mixed(m2-tooltip.get-color-tokens($theme));
|
|
33
24
|
}
|
|
34
25
|
}
|
|
35
26
|
}
|
|
36
27
|
|
|
37
28
|
@mixin typography($theme) {
|
|
38
29
|
@if mat.get-theme-version($theme) == 1 {
|
|
39
|
-
@include
|
|
40
|
-
}
|
|
41
|
-
@else {
|
|
30
|
+
@include token-utils.create-token-values(map.get(m3-tooltip.get-tokens($theme), typography));
|
|
31
|
+
} @else {
|
|
42
32
|
@include mat.private-current-selector-or-root() {
|
|
43
|
-
@include token-utils.create-token-values(
|
|
44
|
-
tokens-mdc-plain-tooltip.$prefix,
|
|
45
|
-
tokens-mdc-plain-tooltip.get-typography-tokens($theme)
|
|
46
|
-
);
|
|
33
|
+
@include token-utils.create-token-values-mixed(m2-tooltip.get-typography-tokens($theme));
|
|
47
34
|
}
|
|
48
35
|
}
|
|
49
36
|
}
|
|
50
37
|
|
|
51
38
|
@mixin density($theme) {
|
|
52
39
|
@if mat.get-theme-version($theme) == 1 {
|
|
53
|
-
@include
|
|
54
|
-
}
|
|
55
|
-
@else {
|
|
40
|
+
@include token-utils.create-token-values(map.get(m3-tooltip.get-tokens($theme), density));
|
|
41
|
+
} @else {
|
|
56
42
|
@include mat.private-current-selector-or-root() {
|
|
57
|
-
@include token-utils.create-token-values(
|
|
58
|
-
tokens-mdc-plain-tooltip.$prefix,
|
|
59
|
-
tokens-mdc-plain-tooltip.get-density-tokens($theme)
|
|
60
|
-
);
|
|
43
|
+
@include token-utils.create-token-values-mixed(m2-tooltip.get-density-tokens($theme));
|
|
61
44
|
}
|
|
62
45
|
}
|
|
63
46
|
}
|
|
@@ -66,22 +49,24 @@
|
|
|
66
49
|
@function _define-overrides() {
|
|
67
50
|
@return (
|
|
68
51
|
(
|
|
69
|
-
namespace:
|
|
70
|
-
tokens:
|
|
52
|
+
namespace: tooltip,
|
|
53
|
+
tokens: token-utils.get-overrides(m3-tooltip.get-tokens(), tooltip)
|
|
71
54
|
),
|
|
72
55
|
);
|
|
73
56
|
}
|
|
74
57
|
|
|
75
58
|
@mixin overrides($tokens: ()) {
|
|
76
|
-
|
|
59
|
+
@include token-utils.batch-create-token-values($tokens, _define-overrides());
|
|
77
60
|
}
|
|
78
61
|
|
|
79
62
|
@mixin theme($theme) {
|
|
80
|
-
@include mat.private-check-duplicate-theme-styles($theme, '
|
|
63
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-tooltip') {
|
|
81
64
|
@if mat.get-theme-version($theme) == 1 {
|
|
82
|
-
@include
|
|
83
|
-
|
|
84
|
-
|
|
65
|
+
@include base($theme);
|
|
66
|
+
@include color($theme);
|
|
67
|
+
@include density($theme);
|
|
68
|
+
@include typography($theme);
|
|
69
|
+
} @else {
|
|
85
70
|
@include base($theme);
|
|
86
71
|
@if mat.theme-has($theme, color) {
|
|
87
72
|
@include color($theme);
|
|
@@ -95,12 +80,3 @@
|
|
|
95
80
|
}
|
|
96
81
|
}
|
|
97
82
|
}
|
|
98
|
-
|
|
99
|
-
@mixin _theme-from-tokens($tokens) {
|
|
100
|
-
@include validation.selector-defined(
|
|
101
|
-
'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
|
|
102
|
-
@if $tokens != () {
|
|
103
|
-
$tokens: token-utils.get-tokens-for($tokens, tokens-mdc-plain-tooltip.$prefix);
|
|
104
|
-
@include token-utils.create-token-values(tokens-mdc-plain-tooltip.$prefix, $tokens);
|
|
105
|
-
}
|
|
106
|
-
}
|