igniteui-angular 20.0.7 → 20.0.9
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/fesm2022/igniteui-angular.mjs +143 -52
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +41 -5
- package/lib/core/styles/base/_index.scss +1 -0
- package/lib/core/styles/components/_index.scss +1 -0
- package/lib/core/styles/components/avatar/_avatar-theme.scss +0 -58
- package/lib/core/styles/components/badge/_badge-theme.scss +0 -72
- package/lib/core/styles/components/banner/_banner-theme.scss +0 -62
- package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +0 -100
- package/lib/core/styles/components/button/_button-theme.scss +0 -234
- package/lib/core/styles/components/button-group/_button-group-theme.scss +0 -293
- package/lib/core/styles/components/calendar/_calendar-theme.scss +0 -1075
- package/lib/core/styles/components/card/_card-theme.scss +0 -92
- package/lib/core/styles/components/carousel/_carousel-theme.scss +0 -218
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +0 -150
- package/lib/core/styles/components/chip/_chip-theme.scss +1 -265
- package/lib/core/styles/components/column-actions/_column-actions-theme.scss +0 -48
- package/lib/core/styles/components/combo/_combo-theme.scss +9 -125
- package/lib/core/styles/components/date-picker/_date-picker-theme.scss +4 -0
- package/lib/core/styles/components/date-range-picker/_date-range-picker-theme.scss +0 -30
- package/lib/core/styles/components/dialog/_dialog-theme.scss +0 -75
- package/lib/core/styles/components/divider/_divider-theme.scss +0 -39
- package/lib/core/styles/components/dock-manager/_dock-manager-theme.scss +0 -68
- package/lib/core/styles/components/drop-down/_drop-down-theme.scss +0 -211
- package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +0 -96
- package/lib/core/styles/components/grid/_excel-filtering-theme.scss +0 -1
- package/lib/core/styles/components/grid/_grid-theme.scss +44 -600
- package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +0 -84
- package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +0 -92
- package/lib/core/styles/components/highlight/highlight-theme.scss +0 -55
- package/lib/core/styles/components/icon/_icon-theme.scss +0 -43
- package/lib/core/styles/components/icon-button/_icon-button-theme.scss +0 -112
- package/lib/core/styles/components/input/_file-input-component.scss +72 -0
- package/lib/core/styles/components/input/_file-input-theme.scss +203 -0
- package/lib/core/styles/components/input/_input-group-component.scss +110 -126
- package/lib/core/styles/components/input/_input-group-theme.scss +409 -648
- package/lib/core/styles/components/label/_label-theme.scss +2 -35
- package/lib/core/styles/components/list/_list-theme.scss +0 -264
- package/lib/core/styles/components/navbar/_navbar-theme.scss +0 -89
- package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +0 -141
- package/lib/core/styles/components/overlay/_overlay-theme.scss +0 -38
- package/lib/core/styles/components/paginator/_paginator-theme.scss +0 -50
- package/lib/core/styles/components/progress/circular/_circular-theme.scss +0 -73
- package/lib/core/styles/components/progress/linear/_linear-theme.scss +0 -68
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +0 -101
- package/lib/core/styles/components/radio/_radio-theme.scss +0 -136
- package/lib/core/styles/components/rating/_rating-theme.scss +0 -43
- package/lib/core/styles/components/ripple/_ripple-theme.scss +0 -39
- package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +0 -82
- package/lib/core/styles/components/select/_select-theme.scss +0 -93
- package/lib/core/styles/components/slider/_slider-theme.scss +0 -187
- package/lib/core/styles/components/snackbar/_snackbar-theme.scss +0 -64
- package/lib/core/styles/components/splitter/_splitter-theme.scss +0 -71
- package/lib/core/styles/components/stepper/_stepper-theme.scss +0 -492
- package/lib/core/styles/components/switch/_switch-theme.scss +0 -264
- package/lib/core/styles/components/tabs/_tabs-theme.scss +2 -261
- package/lib/core/styles/components/time-picker/_time-picker-theme.scss +0 -156
- package/lib/core/styles/components/toast/_toast-theme.scss +0 -69
- package/lib/core/styles/components/tooltip/_tooltip-theme.scss +0 -62
- package/lib/core/styles/components/tree/_tree-theme.scss +0 -128
- package/lib/core/styles/components/watermark/_watermark-theme.scss +0 -60
- package/lib/core/styles/themes/_core.scss +2 -0
- package/lib/core/styles/themes/_index.scss +1 -0
- package/lib/core/styles/themes/generators/_base.scss +11 -0
- package/lib/core/styles/typography/_bootstrap.scss +4 -0
- package/lib/core/styles/typography/_fluent.scss +5 -0
- package/lib/core/styles/typography/_indigo.scss +6 -0
- package/lib/core/styles/typography/_material.scss +2 -0
- package/package.json +2 -2
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
- package/lib/core/styles/components/button/_contained-button-theme.scss +0 -302
- package/lib/core/styles/components/button/_fab-button-theme.scss +0 -296
- package/lib/core/styles/components/button/_flat-button-theme.scss +0 -356
- package/lib/core/styles/components/button/_outlined-button-theme.scss +0 -419
- package/lib/core/styles/components/icon-button/_contained-icon-button-theme.scss +0 -196
- package/lib/core/styles/components/icon-button/_flat-icon-button-theme.scss +0 -188
- package/lib/core/styles/components/icon-button/_outlined-icon-button-theme.scss +0 -232
|
@@ -1,497 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use 'sass:math';
|
|
3
2
|
@use '../../base' as *;
|
|
4
|
-
@use '../../themes/schemas' as *;
|
|
5
|
-
|
|
6
|
-
////
|
|
7
|
-
/// @group themes
|
|
8
|
-
/// @access public
|
|
9
|
-
/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a>
|
|
10
|
-
////
|
|
11
|
-
|
|
12
|
-
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
|
|
13
|
-
///
|
|
14
|
-
/// @param {Color} $content-foreground [null] - The foreground of the step content.
|
|
15
|
-
/// @param {Color} $step-background [null] - The background of the step header.
|
|
16
|
-
/// @param {Color} $step-hover-background [null] - The background of the step header on hover.
|
|
17
|
-
/// @param {Color} $step-focus-background [null] - The background of the step header on focus.
|
|
18
|
-
/// @param {Color} $title-color [null] - The color of the step title.
|
|
19
|
-
/// @param {Color} $title-hover-color [null] - The color of the step title on hover.
|
|
20
|
-
/// @param {Color} $title-focus-color [null] - The color of the step title on focus.
|
|
21
|
-
/// @param {Color} $subtitle-color [null] - The color of the step subtitle.
|
|
22
|
-
/// @param {Color} $subtitle-hover-color [null] - The color of the step subtitle on hover.
|
|
23
|
-
/// @param {Color} $subtitle-focus-color [null] - The color of the step subtitle on focus.
|
|
24
|
-
/// @param {Color} $indicator-color [null] - The text color of the step indicator.
|
|
25
|
-
/// @param {Color} $indicator-background [null] - The background color of the step indicator.
|
|
26
|
-
/// @param {Color} $indicator-outline [null] - The outline color of the step indicator.
|
|
27
|
-
///
|
|
28
|
-
/// @param {Color} $invalid-step-background [null] - The background of the invalid step header.
|
|
29
|
-
/// @param {Color} $invalid-step-hover-background [null] - The background of the invalid step header on hover.
|
|
30
|
-
/// @param {Color} $invalid-step-focus-background [null] - The background of the invalid step header on focus.
|
|
31
|
-
/// @param {Color} $invalid-title-color [null] - The color of the invalid step title.
|
|
32
|
-
/// @param {Color} $invalid-title-hover-color [null] - The color of the invalid step title on hover.
|
|
33
|
-
/// @param {Color} $invalid-title-focus-color [null] - The color of the invalid step title on focus.
|
|
34
|
-
/// @param {Color} $invalid-subtitle-color [null] - The color of the invalid step subtitle.
|
|
35
|
-
/// @param {Color} $invalid-subtitle-hover-color [null] - The color of the invalid step subtitle on hover.
|
|
36
|
-
/// @param {Color} $invalid-subtitle-focus-color [null] - The color of the invalid step subtitle on focus.
|
|
37
|
-
/// @param {Color} $invalid-indicator-color [null] - The color of the invalid step indicator.
|
|
38
|
-
/// @param {Color} $invalid-indicator-background [null] - The background color of the invalid step indicator.
|
|
39
|
-
/// @param {Color} $invalid-indicator-outline [null] - The outline color of the invalid step indicator.
|
|
40
|
-
///
|
|
41
|
-
/// @param {Color} $current-step-background [null] - The background of the current step header.
|
|
42
|
-
/// @param {Color} $current-step-hover-background [null] - The background of the current step header on hover.
|
|
43
|
-
/// @param {Color} $current-step-focus-background [null] - The background of the current step header on focus.
|
|
44
|
-
/// @param {Color} $current-title-color [null] - The color of the current step title.
|
|
45
|
-
/// @param {Color} $current-title-hover-color [null] - The color of the current step title on hover.
|
|
46
|
-
/// @param {Color} $current-title-focus-color [null] - The color of the current step title on focus.
|
|
47
|
-
/// @param {Color} $current-subtitle-color [null] - The color of the current step subtitle.
|
|
48
|
-
/// @param {Color} $current-subtitle-hover-color [null] - The color of the current step subtitle on hover.
|
|
49
|
-
/// @param {Color} $current-subtitle-focus-color [null] - The color of the current step subtitle on focus.
|
|
50
|
-
/// @param {Color} $current-indicator-color [null] - The color of the current step indicator.
|
|
51
|
-
/// @param {Color} $current-indicator-background [null] - The background color of the current step indicator.
|
|
52
|
-
/// @param {Color} $current-indicator-outline [null] - The outline color of the current step indicator.
|
|
53
|
-
///
|
|
54
|
-
/// @param {Color} $complete-step-background [null] - The background of the complete step header.
|
|
55
|
-
/// @param {Color} $complete-step-hover-background [null] - The background of the complete step header on hover.
|
|
56
|
-
/// @param {Color} $complete-step-focus-background [null] - The background of the complete step header on focus.
|
|
57
|
-
/// @param {Color} $complete-title-color [null] - The color of the complete step title.
|
|
58
|
-
/// @param {Color} $complete-title-hover-color [null] - The color of the complete step title on hover.
|
|
59
|
-
/// @param {Color} $complete-title-focus-color [null] - The color of the complete step title on focus.
|
|
60
|
-
/// @param {Color} $complete-subtitle-color [null] - The color of the complete step subtitle.
|
|
61
|
-
/// @param {Color} $complete-subtitle-hover-color [null] - The color of the complete step subtitle on hover.
|
|
62
|
-
/// @param {Color} $complete-subtitle-focus-color [null] - The color of the complete step subtitle on focus.
|
|
63
|
-
/// @param {Color} $complete-indicator-color [null] - The color of the completed step indicator.
|
|
64
|
-
/// @param {Color} $complete-indicator-background [null] - The background color of the completed step indicator.
|
|
65
|
-
/// @param {Color} $complete-indicator-outline [null] - The outline color of the completed step indicator.
|
|
66
|
-
///
|
|
67
|
-
/// @param {Color} $disabled-title-color [null] - The title color of the disabled step.
|
|
68
|
-
/// @param {Color} $disabled-subtitle-color [null] - The subtitle color of the disabled step.
|
|
69
|
-
/// @param {Color} $disabled-indicator-color [null] - The indicator color of the disabled step.
|
|
70
|
-
/// @param {Color} $disabled-indicator-background [null] - The indicator background of the disabled step.
|
|
71
|
-
/// @param {Color} $disabled-indicator-outline [null] - The indicator outline color of the disabled step.
|
|
72
|
-
///
|
|
73
|
-
/// @param {Color} $step-separator-color [null] - The separator border-color of between the steps.
|
|
74
|
-
/// @param {Color} $complete-step-separator-color [null] - The separator border-color between the completed steps.
|
|
75
|
-
///
|
|
76
|
-
/// @param {Color} $step-separator-style [null] - The separator border-style of between the steps.
|
|
77
|
-
/// @param {Color} $complete-step-separator-style [null] - The separator border-style between the completed steps.
|
|
78
|
-
///
|
|
79
|
-
/// @param {List} $border-radius-indicator [null] - The border-radius of the step indicator.
|
|
80
|
-
/// @param {List} $border-radius-step-header [null] - The border-radius of the step header.
|
|
81
|
-
///
|
|
82
|
-
/// @requires $light-material-schema
|
|
83
|
-
/// @example scss Set custom stepper colors
|
|
84
|
-
/// $my-stepper-theme: stepper-theme($step-hover-background: red);
|
|
85
|
-
/// // Pass the theme to the css-vars() mixin
|
|
86
|
-
/// @include css-vars($my-stepper-theme);
|
|
87
|
-
@function stepper-theme(
|
|
88
|
-
$schema: $light-material-schema,
|
|
89
|
-
|
|
90
|
-
$content-foreground: null,
|
|
91
|
-
|
|
92
|
-
$step-background: null,
|
|
93
|
-
$step-hover-background: null,
|
|
94
|
-
$step-focus-background: null,
|
|
95
|
-
|
|
96
|
-
$invalid-step-background: null,
|
|
97
|
-
$invalid-step-hover-background: null,
|
|
98
|
-
$invalid-step-focus-background: null,
|
|
99
|
-
|
|
100
|
-
$current-step-background: null,
|
|
101
|
-
$current-step-hover-background: null,
|
|
102
|
-
$current-step-focus-background: null,
|
|
103
|
-
|
|
104
|
-
$complete-step-background: null,
|
|
105
|
-
$complete-step-hover-background: null,
|
|
106
|
-
$complete-step-focus-background: null,
|
|
107
|
-
|
|
108
|
-
// Incomplete
|
|
109
|
-
$indicator-color: null,
|
|
110
|
-
$indicator-background: null,
|
|
111
|
-
$indicator-outline: null,
|
|
112
|
-
|
|
113
|
-
$title-color: null,
|
|
114
|
-
$title-hover-color: null,
|
|
115
|
-
$title-focus-color: null,
|
|
116
|
-
|
|
117
|
-
$subtitle-color: null,
|
|
118
|
-
$subtitle-hover-color: null,
|
|
119
|
-
$subtitle-focus-color: null,
|
|
120
|
-
|
|
121
|
-
// Invalid
|
|
122
|
-
$invalid-indicator-color: null,
|
|
123
|
-
$invalid-indicator-background: null,
|
|
124
|
-
$invalid-indicator-outline: null,
|
|
125
|
-
|
|
126
|
-
$invalid-title-color: null,
|
|
127
|
-
$invalid-title-hover-color: null,
|
|
128
|
-
$invalid-title-focus-color: null,
|
|
129
|
-
|
|
130
|
-
$invalid-subtitle-color: null,
|
|
131
|
-
$invalid-subtitle-hover-color: null,
|
|
132
|
-
$invalid-subtitle-focus-color: null,
|
|
133
|
-
|
|
134
|
-
// Current
|
|
135
|
-
$current-indicator-color: null,
|
|
136
|
-
$current-indicator-background: null,
|
|
137
|
-
$current-indicator-outline: null,
|
|
138
|
-
|
|
139
|
-
$current-title-color: null,
|
|
140
|
-
$current-title-hover-color: null,
|
|
141
|
-
$current-title-focus-color: null,
|
|
142
|
-
|
|
143
|
-
$current-subtitle-color: null,
|
|
144
|
-
$current-subtitle-hover-color: null,
|
|
145
|
-
$current-subtitle-focus-color: null,
|
|
146
|
-
|
|
147
|
-
// complete
|
|
148
|
-
$complete-indicator-color: null,
|
|
149
|
-
$complete-indicator-background: null,
|
|
150
|
-
$complete-indicator-outline: null,
|
|
151
|
-
|
|
152
|
-
$complete-title-color: null,
|
|
153
|
-
$complete-title-hover-color: null,
|
|
154
|
-
$complete-title-focus-color: null,
|
|
155
|
-
|
|
156
|
-
$complete-subtitle-color: null,
|
|
157
|
-
$complete-subtitle-hover-color: null,
|
|
158
|
-
$complete-subtitle-focus-color: null,
|
|
159
|
-
|
|
160
|
-
// Disabled
|
|
161
|
-
$disabled-indicator-color: null,
|
|
162
|
-
$disabled-indicator-background: null,
|
|
163
|
-
$disabled-indicator-outline: null,
|
|
164
|
-
$disabled-title-color: null,
|
|
165
|
-
$disabled-subtitle-color: null,
|
|
166
|
-
|
|
167
|
-
// Separator
|
|
168
|
-
$step-separator-color: null,
|
|
169
|
-
$complete-step-separator-color: null,
|
|
170
|
-
|
|
171
|
-
$step-separator-style: null,
|
|
172
|
-
$complete-step-separator-style: null,
|
|
173
|
-
|
|
174
|
-
// Border-radius
|
|
175
|
-
$border-radius-indicator: null,
|
|
176
|
-
$border-radius-step-header: null,
|
|
177
|
-
) {
|
|
178
|
-
$name: 'igx-stepper';
|
|
179
|
-
$selector: 'igx-stepper';
|
|
180
|
-
$stepper-schema: ();
|
|
181
|
-
|
|
182
|
-
@if map.has-key($schema, 'stepper') {
|
|
183
|
-
$stepper-schema: map.get($schema, 'stepper');
|
|
184
|
-
} @else {
|
|
185
|
-
$stepper-schema: $schema;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
$theme: digest-schema($stepper-schema);
|
|
189
|
-
|
|
190
|
-
//default step
|
|
191
|
-
@if not($step-hover-background) and $step-background {
|
|
192
|
-
$step-hover-background: hsl(from var(--step-background) h s calc(l * 0.8));
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
@if not($step-focus-background) and $step-background {
|
|
196
|
-
$step-focus-background: hsl(from var(--step-background) h s calc(l * 0.9));
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
@if not($indicator-background) and $step-background {
|
|
200
|
-
$indicator-background: hsla(from adaptive-contrast(var(--step-background)) h s l / .6);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
@if not($indicator-outline) and $indicator-background {
|
|
204
|
-
$indicator-outline: var(--indicator-background);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
@if not($indicator-color) and $indicator-background {
|
|
208
|
-
$indicator-color: adaptive-contrast(var(--indicator-background));
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
@if not($title-color) and $step-background {
|
|
212
|
-
$title-color: adaptive-contrast(var(--step-background));
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
@if not($subtitle-color) and $step-background {
|
|
216
|
-
$subtitle-color: adaptive-contrast(var(--step-background));
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
@if not($title-hover-color) and $step-hover-background {
|
|
220
|
-
$title-hover-color: adaptive-contrast(var(--step-hover-background));
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
@if not($subtitle-hover-color) and $step-hover-background {
|
|
224
|
-
$subtitle-hover-color: adaptive-contrast(var(--step-hover-background));
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
@if not($title-focus-color) and $step-focus-background {
|
|
228
|
-
$title-focus-color: adaptive-contrast(var(--step-focus-background));
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
@if not($subtitle-focus-color) and $step-focus-background {
|
|
232
|
-
$subtitle-focus-color: adaptive-contrast(var(--step-focus-background));
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
//current step
|
|
236
|
-
@if not($current-step-background) and $step-background {
|
|
237
|
-
$current-step-background: var(--step-background);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
@if not($current-step-hover-background) and $current-step-background {
|
|
241
|
-
$current-step-hover-background: hsl(from var(--current-step-background) h s calc(l * 0.8));
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
@if not($current-step-focus-background) and $current-step-background {
|
|
245
|
-
$current-step-focus-background: hsl(from var(--current-step-background) h s calc(l * 0.9));
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
@if not($current-indicator-background) and $current-step-background {
|
|
249
|
-
$current-indicator-background: hsl(from var(--current-step-background) h s calc(l * 0.6));
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
@if not($current-indicator-outline) and $current-indicator-background {
|
|
253
|
-
$current-indicator-outline: var(--current-indicator-background);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
@if not($current-indicator-color) and $current-indicator-background {
|
|
257
|
-
$current-indicator-color: adaptive-contrast(var(--current-indicator-background));
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@if not($current-title-color) and $current-step-background {
|
|
261
|
-
$current-title-color: adaptive-contrast(var(--current-step-background));
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
@if not($current-subtitle-color) and $current-step-background {
|
|
265
|
-
$current-subtitle-color: adaptive-contrast(var(--current-step-background));
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
@if not($current-title-hover-color) and $current-step-hover-background {
|
|
269
|
-
$current-title-hover-color: adaptive-contrast(var(--current-step-hover-background));
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
@if not($current-subtitle-hover-color) and $current-step-hover-background {
|
|
273
|
-
$current-subtitle-hover-color: adaptive-contrast(var(--current-step-hover-background));
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
@if not($current-title-focus-color) and $current-step-focus-background {
|
|
277
|
-
$current-title-focus-color: adaptive-contrast(var(--current-step-focus-background));
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
@if not($current-subtitle-focus-color) and $current-step-focus-background {
|
|
281
|
-
$current-subtitle-focus-color: adaptive-contrast(var(--current-step-focus-background));
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
//invalid step
|
|
285
|
-
@if not($invalid-step-background) and $step-background {
|
|
286
|
-
$invalid-step-background: var(--step-background);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
@if not($invalid-step-hover-background) and $invalid-step-background {
|
|
290
|
-
$invalid-step-hover-background: hsl(from var(--invalid-step-background) h s calc(l * 0.8));
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
@if not($invalid-step-focus-background) and $invalid-step-background {
|
|
294
|
-
$invalid-step-focus-background: hsl(from var(--invalid-step-background) h s calc(l * 0.9));
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
@if not($invalid-indicator-background) and not($step-background) and $invalid-step-background {
|
|
298
|
-
$invalid-indicator-background: adaptive-contrast(var(--invalid-step-background));
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
@if not($invalid-indicator-outline) and $invalid-indicator-background {
|
|
302
|
-
$invalid-indicator-outline: var(--invalid-indicator-background);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
@if not($invalid-indicator-color) and not($step-background) and $invalid-indicator-background {
|
|
306
|
-
$invalid-indicator-color: adaptive-contrast(var(--invalid-indicator-background));
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
@if not($invalid-title-color) and $invalid-indicator-background {
|
|
310
|
-
$invalid-title-color: var(--invalid-indicator-background);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
@if not($invalid-subtitle-color) and $invalid-indicator-background {
|
|
314
|
-
$invalid-subtitle-color: var(--invalid-indicator-background);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
@if not($invalid-title-hover-color) and $invalid-indicator-background {
|
|
318
|
-
$invalid-title-hover-color: var(--invalid-indicator-background);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
@if not($invalid-subtitle-hover-color) and $invalid-indicator-background {
|
|
322
|
-
$invalid-subtitle-hover-color: var(--invalid-indicator-background);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
@if not($invalid-title-focus-color) and $invalid-indicator-background {
|
|
326
|
-
$invalid-title-focus-color: var(--invalid-indicator-background);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
@if not($invalid-subtitle-focus-color) and $invalid-indicator-background {
|
|
330
|
-
$invalid-subtitle-focus-color: var(--invalid-indicator-background);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
//completed step
|
|
334
|
-
@if not($complete-step-background) and $step-background {
|
|
335
|
-
$complete-step-background: var(--step-background);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
@if not($complete-step-hover-background) and $complete-step-background {
|
|
339
|
-
$complete-step-hover-background: hsl(from var(--complete-step-background) h s calc(l * 0.8));
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
@if not($complete-step-focus-background) and $complete-step-background {
|
|
343
|
-
$complete-step-focus-background: hsl(from var(--complete-step-background) h s calc(l * 0.9));
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
@if not($complete-indicator-background) and $complete-step-background {
|
|
347
|
-
$complete-indicator-background: adaptive-contrast(var(--complete-step-background));
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
@if not($complete-indicator-color) and $complete-indicator-background {
|
|
351
|
-
$complete-indicator-color: adaptive-contrast(var(--complete-indicator-background));
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
@if not($complete-title-color) and $complete-step-background {
|
|
355
|
-
$complete-title-color: adaptive-contrast(var(--complete-step-background));
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
@if not($complete-subtitle-color) and $complete-step-background {
|
|
359
|
-
$complete-subtitle-color: adaptive-contrast(var(--complete-step-background));
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
@if not($complete-title-hover-color) and $complete-step-hover-background {
|
|
363
|
-
$complete-title-hover-color: adaptive-contrast(var(--complete-step-hover-background));
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
@if not($complete-subtitle-hover-color) and $complete-step-hover-background {
|
|
367
|
-
$complete-subtitle-hover-color: adaptive-contrast(var(--complete-step-hover-background));
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
@if not($complete-title-focus-color) and $complete-step-focus-background {
|
|
371
|
-
$complete-title-focus-color: adaptive-contrast(var(--complete-step-focus-background));
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
@if not($complete-subtitle-focus-color) and $complete-step-focus-background {
|
|
375
|
-
$complete-subtitle-focus-color: adaptive-contrast(var(--complete-step-focus-background));
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
//disabled step
|
|
379
|
-
@if not($disabled-indicator-background) and $step-background {
|
|
380
|
-
$disabled-indicator-background: hsla(from (adaptive-contrast(var(--step-background)) h s l / 0.5));
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
@if not($disabled-indicator-color) and $disabled-indicator-background {
|
|
384
|
-
$disabled-indicator-color: hsla(from (adaptive-contrast(var(--disabled-indicator-background)) h s l / 0.5));
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
@if not($disabled-indicator-outline) and $disabled-indicator-background {
|
|
388
|
-
$disabled-indicator-outline: var(--disabled-indicator-background);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
@if not($disabled-title-color) and $step-background {
|
|
392
|
-
$disabled-title-color: hsla(from (adaptive-contrast(var(--step-background)) h s l / 0.3));
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
@if not($disabled-subtitle-color) and $step-background {
|
|
396
|
-
$disabled-subtitle-color: hsla(from (adaptive-contrast(var(--step-background)) h s l / 0.3));
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
@if not($step-separator-color) and $step-background {
|
|
400
|
-
$step-separator-color: var(--step-background);
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
@if not($step-separator-color) and $indicator-background {
|
|
404
|
-
$step-separator-color: var(--indicator-background);
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
@if not($border-radius-indicator) {
|
|
408
|
-
$border-radius-indicator: map.get($theme, 'border-radius-indicator');
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
@if not($border-radius-step-header) {
|
|
412
|
-
$border-radius-step-header: map.get($theme, 'border-radius-step-header');
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
@return extend($theme, (
|
|
416
|
-
name: $name,
|
|
417
|
-
selector: $selector,
|
|
418
|
-
|
|
419
|
-
content-foreground: $content-foreground,
|
|
420
|
-
|
|
421
|
-
// Incomplete
|
|
422
|
-
step-background: $step-background,
|
|
423
|
-
step-hover-background: $step-hover-background,
|
|
424
|
-
step-focus-background: $step-focus-background,
|
|
425
|
-
indicator-color: $indicator-color,
|
|
426
|
-
indicator-background: $indicator-background,
|
|
427
|
-
indicator-outline: $indicator-outline,
|
|
428
|
-
title-color: $title-color,
|
|
429
|
-
title-hover-color: $title-hover-color,
|
|
430
|
-
title-focus-color: $title-focus-color,
|
|
431
|
-
subtitle-color: $subtitle-color,
|
|
432
|
-
subtitle-hover-color: $subtitle-hover-color,
|
|
433
|
-
subtitle-focus-color: $subtitle-focus-color,
|
|
434
|
-
|
|
435
|
-
// Invalid
|
|
436
|
-
invalid-step-background: $invalid-step-background,
|
|
437
|
-
invalid-step-hover-background: $invalid-step-hover-background,
|
|
438
|
-
invalid-step-focus-background: $invalid-step-focus-background,
|
|
439
|
-
invalid-indicator-color: $invalid-indicator-color,
|
|
440
|
-
invalid-indicator-background: $invalid-indicator-background,
|
|
441
|
-
invalid-indicator-outline: $invalid-indicator-outline,
|
|
442
|
-
invalid-title-color: $invalid-title-color,
|
|
443
|
-
invalid-title-hover-color: $invalid-title-hover-color,
|
|
444
|
-
invalid-title-focus-color: $invalid-title-focus-color,
|
|
445
|
-
invalid-subtitle-color: $invalid-subtitle-color,
|
|
446
|
-
invalid-subtitle-hover-color: $invalid-subtitle-hover-color,
|
|
447
|
-
invalid-subtitle-focus-color: $invalid-subtitle-focus-color,
|
|
448
|
-
|
|
449
|
-
// Current
|
|
450
|
-
current-step-background: $current-step-background,
|
|
451
|
-
current-step-hover-background: $current-step-hover-background,
|
|
452
|
-
current-step-focus-background: $current-step-focus-background,
|
|
453
|
-
current-indicator-color: $current-indicator-color,
|
|
454
|
-
current-indicator-background: $current-indicator-background,
|
|
455
|
-
current-indicator-outline: $current-indicator-outline,
|
|
456
|
-
current-title-color: $current-title-color,
|
|
457
|
-
current-title-hover-color: $current-title-hover-color,
|
|
458
|
-
current-title-focus-color: $current-title-focus-color,
|
|
459
|
-
current-subtitle-color: $current-subtitle-color,
|
|
460
|
-
current-subtitle-hover-color: $current-subtitle-hover-color,
|
|
461
|
-
current-subtitle-focus-color: $current-subtitle-focus-color,
|
|
462
|
-
|
|
463
|
-
// Complete
|
|
464
|
-
complete-step-background: $complete-step-background,
|
|
465
|
-
complete-step-hover-background: $complete-step-hover-background,
|
|
466
|
-
complete-step-focus-background: $complete-step-focus-background,
|
|
467
|
-
complete-indicator-color: $complete-indicator-color,
|
|
468
|
-
complete-indicator-background: $complete-indicator-background,
|
|
469
|
-
complete-indicator-outline: $complete-indicator-outline,
|
|
470
|
-
complete-title-color: $complete-title-color,
|
|
471
|
-
complete-title-hover-color: $complete-title-hover-color,
|
|
472
|
-
complete-title-focus-color: $complete-title-focus-color,
|
|
473
|
-
complete-subtitle-color: $complete-subtitle-color,
|
|
474
|
-
complete-subtitle-hover-color: $complete-subtitle-hover-color,
|
|
475
|
-
complete-subtitle-focus-color: $complete-subtitle-focus-color,
|
|
476
|
-
|
|
477
|
-
// Disabled
|
|
478
|
-
disabled-indicator-color: $disabled-indicator-color,
|
|
479
|
-
disabled-indicator-background: $disabled-indicator-background,
|
|
480
|
-
disabled-indicator-outline: $disabled-indicator-outline,
|
|
481
|
-
disabled-title-color: $disabled-title-color,
|
|
482
|
-
disabled-subtitle-color: $disabled-subtitle-color,
|
|
483
|
-
|
|
484
|
-
// Separator
|
|
485
|
-
step-separator-color: $step-separator-color,
|
|
486
|
-
complete-step-separator-color: $complete-step-separator-color,
|
|
487
|
-
step-separator-style: $step-separator-style,
|
|
488
|
-
complete-step-separator-style: $complete-step-separator-style,
|
|
489
|
-
|
|
490
|
-
// Border-radius
|
|
491
|
-
border-radius-indicator: $border-radius-indicator,
|
|
492
|
-
border-radius-step-header: $border-radius-step-header,
|
|
493
|
-
));
|
|
494
|
-
}
|
|
495
3
|
|
|
496
4
|
/// @deprecated Use the `css-vars` mixin instead.
|
|
497
5
|
/// @see {mixin} css-vars
|