@ng-matero/extensions 19.4.0 → 20.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.
- 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 +7 -7
- 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 -63
- 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 +22 -35
- 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 -73
- 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 +29 -29
- 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
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
2
|
@use '@angular/cdk';
|
|
3
|
-
|
|
4
3
|
@use '../core/style/button-common';
|
|
5
4
|
@use '../core/tokens/token-utils';
|
|
6
|
-
@use '
|
|
5
|
+
@use './m3-datetimepicker';
|
|
6
|
+
|
|
7
|
+
$fallbacks: m3-datetimepicker.get-tokens();
|
|
7
8
|
|
|
8
9
|
$calendar-body-label-padding-start: 5% !default;
|
|
9
10
|
// We don't want the label to jump around when we switch between month and year views, so we use
|
|
@@ -21,13 +22,11 @@ $calendar-body-cell-radius: 999px !default;
|
|
|
21
22
|
$calendar-body-min-size: 7 * $calendar-body-cell-min-size !default;
|
|
22
23
|
$calendar-body-cell-content-size: 100% - $calendar-body-cell-content-margin * 2 !default;
|
|
23
24
|
|
|
24
|
-
$_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token-slots();
|
|
25
|
-
|
|
26
25
|
// Styles for a highlighted calendar cell (e.g. hovered or focused).
|
|
27
26
|
@mixin _highlighted-cell($token-name) {
|
|
28
|
-
|
|
27
|
+
& > .mtx-calendar-body-cell-content {
|
|
29
28
|
@include _unselected-cell {
|
|
30
|
-
|
|
29
|
+
background-color: token-utils.slot($token-name, $fallbacks);
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
32
|
}
|
|
@@ -45,9 +44,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
45
44
|
|
|
46
45
|
.mtx-calendar-body-today {
|
|
47
46
|
@include _unselected-cell {
|
|
48
|
-
|
|
49
|
-
@include token-utils.create-token-slot(border-color, calendar-date-today-outline-color);
|
|
50
|
-
}
|
|
47
|
+
border-color: token-utils.slot(datetimepicker-calendar-date-today-outline-color, $fallbacks);
|
|
51
48
|
}
|
|
52
49
|
}
|
|
53
50
|
|
|
@@ -57,12 +54,9 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
57
54
|
text-align: left;
|
|
58
55
|
padding-left: $calendar-body-label-side-padding;
|
|
59
56
|
padding-right: $calendar-body-label-side-padding;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
@include token-utils.create-token-slot(font-weight, calendar-body-label-text-weight);
|
|
64
|
-
@include token-utils.create-token-slot(color, calendar-body-label-text-color);
|
|
65
|
-
}
|
|
57
|
+
font-size: token-utils.slot(datetimepicker-calendar-body-label-text-size, $fallbacks);
|
|
58
|
+
font-weight: token-utils.slot(datetimepicker-calendar-body-label-text-weight, $fallbacks);
|
|
59
|
+
color: token-utils.slot(datetimepicker-calendar-body-label-text-color, $fallbacks);
|
|
66
60
|
|
|
67
61
|
[dir='rtl'] & {
|
|
68
62
|
text-align: right;
|
|
@@ -73,10 +67,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
73
67
|
height: 0;
|
|
74
68
|
line-height: 0;
|
|
75
69
|
font-weight: 400;
|
|
76
|
-
|
|
77
|
-
@include token-utils.use-tokens($_tokens...) {
|
|
78
|
-
@include token-utils.create-token-slot(color, calendar-body-week-number-text-color);
|
|
79
|
-
}
|
|
70
|
+
color: token-utils.slot(datetimepicker-calendar-body-week-number-text-color, $fallbacks);
|
|
80
71
|
}
|
|
81
72
|
|
|
82
73
|
.mtx-calendar-body-cell-container {
|
|
@@ -94,14 +85,10 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
94
85
|
background: none;
|
|
95
86
|
text-align: center;
|
|
96
87
|
outline: none;
|
|
97
|
-
font-family: inherit;
|
|
98
88
|
margin: 0;
|
|
99
|
-
|
|
100
89
|
// Needs to be repeated here in order to override the user agent styles.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
@include token-utils.create-token-slot(font-size, calendar-text-size);
|
|
104
|
-
}
|
|
90
|
+
font-family: token-utils.slot(datetimepicker-calendar-text-font, $fallbacks);
|
|
91
|
+
font-size: token-utils.slot(datetimepicker-calendar-text-size, $fallbacks);
|
|
105
92
|
|
|
106
93
|
@include button-common.reset();
|
|
107
94
|
}
|
|
@@ -110,14 +97,12 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
110
97
|
cursor: default;
|
|
111
98
|
pointer-events: none;
|
|
112
99
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
100
|
+
> .mtx-calendar-body-cell-content:not(.mtx-calendar-body-selected) {
|
|
101
|
+
color: token-utils.slot(datetimepicker-calendar-date-disabled-state-text-color, $fallbacks);
|
|
102
|
+
}
|
|
117
103
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
104
|
+
> .mtx-calendar-body-today:not(.mtx-calendar-body-selected) {
|
|
105
|
+
border-color: token-utils.slot(datetimepicker-calendar-date-disabled-state-text-color, $fallbacks);
|
|
121
106
|
}
|
|
122
107
|
|
|
123
108
|
// Fade out the disabled cells so that they can be distinguished from the enabled ones. Note that
|
|
@@ -146,11 +131,8 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
146
131
|
|
|
147
132
|
// Choosing a value clearly larger than the height ensures we get the correct capsule shape.
|
|
148
133
|
border-radius: $calendar-body-cell-radius;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
@include token-utils.create-token-slot(color, calendar-date-text-color);
|
|
152
|
-
@include token-utils.create-token-slot(border-color, calendar-date-outline-color);
|
|
153
|
-
}
|
|
134
|
+
color: token-utils.slot(datetimepicker-calendar-date-text-color, $fallbacks);
|
|
135
|
+
border-color: token-utils.slot(datetimepicker-calendar-date-outline-color, $fallbacks);
|
|
154
136
|
|
|
155
137
|
// Increase specificity because focus indicator styles are part of the `mat-core` mixin and can
|
|
156
138
|
// potentially overwrite the absolute position of the container.
|
|
@@ -164,35 +146,28 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
164
146
|
}
|
|
165
147
|
|
|
166
148
|
.mtx-calendar-body-active {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
@include _highlighted-cell(calendar-date-focus-state-background-color);
|
|
171
|
-
}
|
|
149
|
+
.cdk-keyboard-focused &,
|
|
150
|
+
.cdk-program-focused & {
|
|
151
|
+
@include _highlighted-cell(datetimepicker-calendar-date-focus-state-background-color);
|
|
172
152
|
}
|
|
173
153
|
}
|
|
174
154
|
|
|
175
155
|
@media (hover: hover) {
|
|
176
156
|
.mtx-calendar-body-cell:not(.mtx-calendar-body-disabled):hover {
|
|
177
|
-
@include
|
|
178
|
-
@include _highlighted-cell(calendar-date-hover-state-background-color);
|
|
179
|
-
}
|
|
157
|
+
@include _highlighted-cell(datetimepicker-calendar-date-hover-state-background-color);
|
|
180
158
|
}
|
|
181
159
|
}
|
|
182
160
|
|
|
183
161
|
.mtx-calendar-body-selected {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
@include token-utils.create-token-slot(color, calendar-date-selected-state-text-color);
|
|
187
|
-
|
|
188
|
-
.mtx-calendar-body-disabled>& {
|
|
189
|
-
@include token-utils.create-token-slot(background-color, calendar-date-selected-disabled-state-background-color);
|
|
190
|
-
}
|
|
162
|
+
background-color: token-utils.slot(datetimepicker-calendar-date-selected-state-background-color, $fallbacks);
|
|
163
|
+
color: token-utils.slot(datetimepicker-calendar-date-selected-state-text-color, $fallbacks);
|
|
191
164
|
|
|
192
|
-
|
|
193
|
-
|
|
165
|
+
.mtx-calendar-body-disabled > & {
|
|
166
|
+
background-color: token-utils.slot(datetimepicker-calendar-date-selected-disabled-state-background-color, $fallbacks);
|
|
167
|
+
}
|
|
194
168
|
|
|
195
|
-
|
|
196
|
-
|
|
169
|
+
&.mtx-calendar-body-today {
|
|
170
|
+
box-shadow: inset 0 0 0 1px
|
|
171
|
+
token-utils.slot(datetimepicker-calendar-date-today-selected-state-outline-color, $fallbacks);
|
|
197
172
|
}
|
|
198
173
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@use '../core/tokens/token-utils';
|
|
2
|
-
@use '
|
|
2
|
+
@use './m3-datetimepicker';
|
|
3
|
+
|
|
4
|
+
$fallbacks: m3-datetimepicker.get-tokens();
|
|
3
5
|
|
|
4
6
|
$calendar-padding: 8px !default;
|
|
5
7
|
|
|
@@ -17,7 +19,8 @@ $calendar-next-icon-transform: translateX(-2px) rotate(45deg);
|
|
|
17
19
|
|
|
18
20
|
$landscape-calendar-header-width: 144px;
|
|
19
21
|
|
|
20
|
-
$
|
|
22
|
+
$panel-corner: token-utils.slot(datetimepicker-container-shape, $fallbacks);
|
|
23
|
+
$panel-divider: token-utils.slot(datetimepicker-calendar-header-divider-color, $fallbacks);
|
|
21
24
|
|
|
22
25
|
@mixin landscape-calendar-header {
|
|
23
26
|
.mtx-calendar {
|
|
@@ -28,32 +31,18 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
28
31
|
min-width: $landscape-calendar-header-width;
|
|
29
32
|
padding: 16px 8px;
|
|
30
33
|
border-bottom-width: 0;
|
|
34
|
+
border-radius: $panel-corner 0 0 $panel-corner;
|
|
35
|
+
border-right: 1px solid $panel-divider;
|
|
31
36
|
|
|
32
|
-
|
|
33
|
-
border-
|
|
34
|
-
border-
|
|
35
|
-
|
|
36
|
-
$border-color: token-utils.get-token-variable(calendar-header-divider-color);
|
|
37
|
-
|
|
38
|
-
border-right: 1px solid $border-color;
|
|
39
|
-
|
|
40
|
-
@include token-utils.create-token-slot(border-top-left-radius, container-shape);
|
|
41
|
-
@include token-utils.create-token-slot(border-bottom-left-radius, container-shape);
|
|
42
|
-
|
|
43
|
-
[dir='rtl'] & {
|
|
44
|
-
border-top-left-radius: 0;
|
|
45
|
-
border-bottom-left-radius: 0;
|
|
46
|
-
border-right-width: 0;
|
|
47
|
-
border-left: 1px solid $border-color;
|
|
48
|
-
|
|
49
|
-
@include token-utils.create-token-slot(border-top-right-radius, container-shape);
|
|
50
|
-
@include token-utils.create-token-slot(border-bottom-right-radius, container-shape);
|
|
51
|
-
}
|
|
37
|
+
[dir='rtl'] & {
|
|
38
|
+
border-radius: 0 $panel-corner $panel-corner 0;
|
|
39
|
+
border-right-width: 0;
|
|
40
|
+
border-left: 1px solid $panel-divider;
|
|
52
41
|
}
|
|
53
42
|
}
|
|
54
43
|
|
|
55
|
-
.mtx-calendar-header-year
|
|
56
|
-
.mtx-calendar-header-date
|
|
44
|
+
.mtx-calendar-header-year + .mtx-calendar-header-date-time,
|
|
45
|
+
.mtx-calendar-header-date + .mtx-calendar-header-time {
|
|
57
46
|
margin-top: 4px;
|
|
58
47
|
}
|
|
59
48
|
|
|
@@ -81,7 +70,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
81
70
|
.mtx-calendar-header-ampm {
|
|
82
71
|
padding: 4px;
|
|
83
72
|
|
|
84
|
-
|
|
73
|
+
+ .mtx-calendar-header-ampm {
|
|
85
74
|
margin: 0 8px;
|
|
86
75
|
}
|
|
87
76
|
}
|
|
@@ -102,24 +91,17 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
102
91
|
width: $landscape-calendar-header-width;
|
|
103
92
|
height: 100%;
|
|
104
93
|
content: '';
|
|
94
|
+
border-right: 1px solid $panel-divider;
|
|
95
|
+
background-color: token-utils.slot(datetimepicker-calendar-header-background-color, $fallbacks);
|
|
96
|
+
border-bottom-left-radius: $panel-corner;
|
|
105
97
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
border-right:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
[dir='rtl'] & {
|
|
115
|
-
left: auto;
|
|
116
|
-
right: 0;
|
|
117
|
-
border-right-width: 0;
|
|
118
|
-
border-left: 1px solid $border-color;
|
|
119
|
-
border-bottom-left-radius: 0;
|
|
120
|
-
|
|
121
|
-
@include token-utils.create-token-slot(border-bottom-right-radius, container-shape);
|
|
122
|
-
}
|
|
98
|
+
[dir='rtl'] & {
|
|
99
|
+
left: auto;
|
|
100
|
+
right: 0;
|
|
101
|
+
border-right-width: 0;
|
|
102
|
+
border-left: 1px solid $panel-divider;
|
|
103
|
+
border-bottom-left-radius: 0;
|
|
104
|
+
border-bottom-right-radius: $panel-corner;
|
|
123
105
|
}
|
|
124
106
|
}
|
|
125
107
|
}
|
|
@@ -127,29 +109,20 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
127
109
|
.mtx-calendar {
|
|
128
110
|
display: block;
|
|
129
111
|
outline: none;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
@include token-utils.create-token-slot(font-family, calendar-text-font);
|
|
133
|
-
@include token-utils.create-token-slot(font-size, calendar-text-size);
|
|
134
|
-
}
|
|
112
|
+
font-family: token-utils.slot(datetimepicker-calendar-text-font, $fallbacks);
|
|
113
|
+
font-size: token-utils.slot(datetimepicker-calendar-text-size, $fallbacks);
|
|
135
114
|
}
|
|
136
115
|
|
|
137
116
|
.mtx-calendar-header {
|
|
117
|
+
--mat-button-text-container-shape: #{token-utils.slot(datetimepicker-selector-container-shape, $fallbacks)};
|
|
118
|
+
|
|
138
119
|
box-sizing: border-box;
|
|
139
120
|
padding: 8px;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
@include token-utils.create-token-slot(border-top-left-radius, container-shape);
|
|
147
|
-
@include token-utils.create-token-slot(border-top-right-radius, container-shape);
|
|
148
|
-
@include token-utils.create-token-slot(background-color, calendar-header-background-color);
|
|
149
|
-
@include token-utils.create-token-slot(color, calendar-header-text-color);
|
|
150
|
-
|
|
151
|
-
@include token-utils.create-token-slot(--mdc-text-button-container-shape, selector-container-shape);
|
|
152
|
-
}
|
|
121
|
+
border-bottom: 1px solid $panel-divider;
|
|
122
|
+
border-top-left-radius: $panel-corner;
|
|
123
|
+
border-top-right-radius: $panel-corner;
|
|
124
|
+
background-color: token-utils.slot(datetimepicker-calendar-header-background-color, $fallbacks);
|
|
125
|
+
color: token-utils.slot(datetimepicker-calendar-header-text-color, $fallbacks);
|
|
153
126
|
|
|
154
127
|
.mtx-calendar-header-year,
|
|
155
128
|
.mtx-calendar-header-date,
|
|
@@ -166,7 +139,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
166
139
|
font-weight: inherit;
|
|
167
140
|
letter-spacing: normal;
|
|
168
141
|
white-space: normal;
|
|
169
|
-
|
|
142
|
+
overflow-wrap: anywhere;
|
|
170
143
|
|
|
171
144
|
.mat-mdc-button-touch-target {
|
|
172
145
|
height: 100%;
|
|
@@ -189,7 +162,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
189
162
|
.mtx-calendar-header-minutes,
|
|
190
163
|
.mtx-calendar-header-ampm {
|
|
191
164
|
&:not(.active) {
|
|
192
|
-
opacity: .6;
|
|
165
|
+
opacity: 0.6;
|
|
193
166
|
}
|
|
194
167
|
|
|
195
168
|
&.not-clickable {
|
|
@@ -201,7 +174,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
201
174
|
display: inline-flex;
|
|
202
175
|
|
|
203
176
|
&:not(.active) {
|
|
204
|
-
opacity: .6;
|
|
177
|
+
opacity: 0.6;
|
|
205
178
|
|
|
206
179
|
.mtx-calendar-header-hours,
|
|
207
180
|
.mtx-calendar-header-minutes,
|
|
@@ -251,7 +224,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
251
224
|
margin: 0 $calendar-controls-side-margin;
|
|
252
225
|
|
|
253
226
|
.mat-icon-button:hover .mat-button-focus-overlay {
|
|
254
|
-
opacity: .04;
|
|
227
|
+
opacity: 0.04;
|
|
255
228
|
}
|
|
256
229
|
}
|
|
257
230
|
|
|
@@ -263,21 +236,15 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
263
236
|
border: 0;
|
|
264
237
|
background: transparent;
|
|
265
238
|
box-sizing: border-box;
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
@include token-utils.create-token-slot(font-size, calendar-period-button-text-size);
|
|
269
|
-
@include token-utils.create-token-slot(font-weight, calendar-period-button-text-weight);
|
|
270
|
-
}
|
|
239
|
+
font-size: token-utils.slot(datetimepicker-calendar-period-button-text-size, $fallbacks);
|
|
240
|
+
font-weight: token-utils.slot(datetimepicker-calendar-period-button-text-weight, $fallbacks);
|
|
271
241
|
}
|
|
272
242
|
|
|
273
243
|
.mtx-calendar-previous-button,
|
|
274
244
|
.mtx-calendar-next-button {
|
|
275
245
|
&.disabled {
|
|
276
246
|
pointer-events: none;
|
|
277
|
-
|
|
278
|
-
@include token-utils.use-tokens($_tokens...) {
|
|
279
|
-
@include token-utils.create-token-slot(color, calendar-date-disabled-state-text-color);
|
|
280
|
-
}
|
|
247
|
+
color: token-utils.slot(datetimepicker-calendar-date-disabled-state-text-color, $fallbacks);
|
|
281
248
|
}
|
|
282
249
|
|
|
283
250
|
svg {
|
|
@@ -299,10 +266,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
299
266
|
.mtx-calendar-table-header th {
|
|
300
267
|
text-align: center;
|
|
301
268
|
padding: $calendar-padding 0;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
@include token-utils.create-token-slot(font-size, calendar-table-header-text-size);
|
|
306
|
-
@include token-utils.create-token-slot(font-weight, calendar-table-header-text-weight);
|
|
307
|
-
}
|
|
269
|
+
color: token-utils.slot(datetimepicker-calendar-table-header-text-color, $fallbacks);
|
|
270
|
+
font-size: token-utils.slot(datetimepicker-calendar-table-header-text-size, $fallbacks);
|
|
271
|
+
font-weight: token-utils.slot(datetimepicker-calendar-table-header-text-weight, $fallbacks);
|
|
308
272
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@use '../core/tokens/token-utils';
|
|
2
|
-
@use '
|
|
2
|
+
@use './m3-datetimepicker';
|
|
3
|
+
|
|
4
|
+
$fallbacks: m3-datetimepicker.get-tokens();
|
|
3
5
|
|
|
4
6
|
$clock-min-size: 224px !default;
|
|
5
7
|
$clock-margin: 12px !default;
|
|
6
8
|
$clock-cell-size: 14.1666% !default;
|
|
7
9
|
|
|
8
|
-
$_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token-slots();
|
|
9
|
-
|
|
10
10
|
.mtx-clock {
|
|
11
11
|
position: relative;
|
|
12
12
|
display: block;
|
|
@@ -15,10 +15,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
user-select: none;
|
|
17
17
|
touch-action: none;
|
|
18
|
-
|
|
19
|
-
@include token-utils.use-tokens($_tokens...) {
|
|
20
|
-
@include token-utils.create-token-slot(font-size, clock-text-size);
|
|
21
|
-
}
|
|
18
|
+
font-size: token-utils.slot(datetimepicker-clock-text-size, $fallbacks);
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
.mtx-clock-wrapper {
|
|
@@ -27,10 +24,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
27
24
|
height: 0;
|
|
28
25
|
padding-top: 100%;
|
|
29
26
|
border-radius: 50%;
|
|
30
|
-
|
|
31
|
-
@include token-utils.use-tokens($_tokens...) {
|
|
32
|
-
@include token-utils.create-token-slot(background-color, clock-dial-background-color);
|
|
33
|
-
}
|
|
27
|
+
background-color: token-utils.slot(datetimepicker-clock-dial-background-color, $fallbacks);
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
.mtx-clock-center {
|
|
@@ -41,10 +35,7 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
41
35
|
height: 3%;
|
|
42
36
|
margin: -1.5%;
|
|
43
37
|
border-radius: 50%;
|
|
44
|
-
|
|
45
|
-
@include token-utils.use-tokens($_tokens...) {
|
|
46
|
-
@include token-utils.create-token-slot(background-color, clock-hand-background-color);
|
|
47
|
-
}
|
|
38
|
+
background-color: token-utils.slot(datetimepicker-clock-hand-background-color, $fallbacks);
|
|
48
39
|
}
|
|
49
40
|
|
|
50
41
|
.mtx-clock-hand {
|
|
@@ -53,23 +44,18 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
53
44
|
width: 2px;
|
|
54
45
|
margin: 0 auto;
|
|
55
46
|
transform-origin: bottom;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
border-radius: 50%;
|
|
68
|
-
|
|
69
|
-
@include token-utils.create-token-slot(background-color, clock-hand-background-color);
|
|
70
|
-
}
|
|
47
|
+
background-color: token-utils.slot(datetimepicker-clock-hand-background-color, $fallbacks);
|
|
48
|
+
|
|
49
|
+
&::before {
|
|
50
|
+
content: '';
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: -4px;
|
|
53
|
+
left: -3px; // 8px - 2px / 2
|
|
54
|
+
width: 8px;
|
|
55
|
+
height: 8px;
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
background-color: token-utils.slot(datetimepicker-clock-hand-background-color, $fallbacks);
|
|
71
58
|
}
|
|
72
|
-
|
|
73
59
|
}
|
|
74
60
|
|
|
75
61
|
.mtx-clock-hours,
|
|
@@ -105,24 +91,19 @@ $_tokens: tokens-mtx-datetimepicker.$prefix, tokens-mtx-datetimepicker.get-token
|
|
|
105
91
|
border-radius: 50%;
|
|
106
92
|
align-items: center;
|
|
107
93
|
cursor: pointer;
|
|
94
|
+
color: token-utils.slot(datetimepicker-clock-cell-text-color, $fallbacks);
|
|
108
95
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
color: white;
|
|
114
|
-
|
|
115
|
-
@include token-utils.create-token-slot(background-color, clock-hand-background-color);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&:not(.mtx-clock-cell-selected, .mtx-clock-cell-disabled):hover {
|
|
119
|
-
@include token-utils.create-token-slot(background-color, clock-cell-hover-state-background-color);
|
|
120
|
-
}
|
|
96
|
+
&.mtx-clock-cell-selected {
|
|
97
|
+
color: white;
|
|
98
|
+
background-color: token-utils.slot(datetimepicker-clock-hand-background-color, $fallbacks);
|
|
99
|
+
}
|
|
121
100
|
|
|
122
|
-
|
|
123
|
-
|
|
101
|
+
&:not(.mtx-clock-cell-selected, .mtx-clock-cell-disabled):hover {
|
|
102
|
+
background-color: token-utils.slot(datetimepicker-clock-cell-hover-state-background-color, $fallbacks);
|
|
103
|
+
}
|
|
124
104
|
|
|
125
|
-
|
|
126
|
-
|
|
105
|
+
&.mtx-clock-cell-disabled {
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
color: token-utils.slot(datetimepicker-clock-cell-disabled-state-text-color, $fallbacks);
|
|
127
108
|
}
|
|
128
109
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/* stylelint-disable keyframes-name-pattern */
|
|
2
2
|
@use '@angular/material' as mat;
|
|
3
3
|
@use '../core/tokens/token-utils';
|
|
4
|
-
@use '
|
|
4
|
+
@use './m3-datetimepicker';
|
|
5
|
+
|
|
6
|
+
$fallbacks: m3-datetimepicker.get-tokens();
|
|
5
7
|
|
|
6
8
|
$calendar-padding: 8px;
|
|
7
9
|
$non-touch-calendar-cell-size: 40px;
|
|
@@ -84,14 +86,10 @@ $touch-max-height: 850px;
|
|
|
84
86
|
|
|
85
87
|
.mtx-datetimepicker-content {
|
|
86
88
|
display: block;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
@include token-utils.create-token-slot(background-color, container-background-color);
|
|
92
|
-
@include token-utils.create-token-slot(box-shadow, container-elevation-shadow);
|
|
93
|
-
@include token-utils.create-token-slot(color, container-text-color);
|
|
94
|
-
}
|
|
89
|
+
border-radius: token-utils.slot(datetimepicker-container-shape, $fallbacks);
|
|
90
|
+
background-color: token-utils.slot(datetimepicker-container-background-color, $fallbacks);
|
|
91
|
+
box-shadow: token-utils.slot(datetimepicker-container-elevation-shadow, $fallbacks);
|
|
92
|
+
color: token-utils.slot(datetimepicker-container-text-color, $fallbacks);
|
|
95
93
|
|
|
96
94
|
&.mtx-datetimepicker-content-animations-enabled {
|
|
97
95
|
animation: _mtx-datetimepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1);
|
|
@@ -147,12 +145,8 @@ $touch-max-height: 850px;
|
|
|
147
145
|
.mtx-datetimepicker-content-touch {
|
|
148
146
|
display: block;
|
|
149
147
|
max-height: 84vh;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
tokens-mtx-datetimepicker.get-token-slots()) {
|
|
153
|
-
@include token-utils.create-token-slot(box-shadow, container-touch-elevation-shadow);
|
|
154
|
-
@include token-utils.create-token-slot(border-radius, container-touch-shape);
|
|
155
|
-
}
|
|
148
|
+
box-shadow: token-utils.slot(datetimepicker-container-touch-elevation-shadow, $fallbacks);
|
|
149
|
+
border-radius: token-utils.slot(datetimepicker-container-touch-shape, $fallbacks);
|
|
156
150
|
|
|
157
151
|
// Allows for the screen reader close button to be seen in touch UI mode.
|
|
158
152
|
position: relative;
|
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
@use '@angular/cdk';
|
|
2
2
|
@use '../core/tokens/token-utils';
|
|
3
|
-
@use '
|
|
3
|
+
@use './m3-datetimepicker';
|
|
4
4
|
|
|
5
|
-
$
|
|
5
|
+
$fallbacks: m3-datetimepicker.get-tokens();
|
|
6
6
|
|
|
7
7
|
// We support the case where the form field is disabled, but the datetimepicker is not.
|
|
8
8
|
// MDC sets `pointer-events: none` on disabled form fields which prevents clicks on the toggle.
|
|
9
9
|
.mtx-datetimepicker-toggle {
|
|
10
10
|
pointer-events: auto;
|
|
11
|
-
|
|
12
|
-
@include token-utils.use-tokens($_tokens...) {
|
|
13
|
-
@include token-utils.create-token-slot(color, toggle-icon-color);
|
|
14
|
-
}
|
|
11
|
+
color: token-utils.slot(datetimepicker-toggle-icon-color, $fallbacks);
|
|
15
12
|
}
|
|
16
13
|
|
|
17
14
|
.mtx-datetimepicker-toggle-active {
|
|
18
|
-
|
|
19
|
-
@include token-utils.create-token-slot(color, toggle-active-state-icon-color);
|
|
20
|
-
}
|
|
15
|
+
color: token-utils.slot(datetimepicker-toggle-active-state-icon-color, $fallbacks);
|
|
21
16
|
}
|
|
22
17
|
|
|
23
18
|
@include cdk.high-contrast(active, off) {
|