igniteui-theming 6.3.0 → 6.4.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,18 +9,19 @@
9
9
 
10
10
  /// Generates a base light radio schema.
11
11
  /// @type {Map}
12
+ /// @prop {Color} empty-fill-color [transparent] - The fill of the empty radio.
12
13
  /// @prop {Color} hover-color [transparent] - The text color used for the label text.
13
14
  /// @prop {Map} label-color [color: ('gray', 900)] - The text color used for the label text.
14
15
  /// @prop {Map} label-color-hover [color: ('gray', 900)] - The text color used for the label text on hover.
15
- /// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
16
16
  /// @prop {Map} fill-color [color: ('primary', 500)] - The checked border and dot colors.
17
- /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and dot colors.
17
+ /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border color.
18
18
  /// @prop {Map} disabled-fill-color [color: ('gray', 400)] - The disabled checked border and dot colors.
19
- /// @prop {Map} disabled-label-color [color: ('gray', 400)] - The disabled label color.
19
+ /// @prop {Map} disabled-label-color [color: ('gray', 500)] - The disabled label color.
20
20
  /// @prop {Map} error-color [color: ('error', 500)] - The label, border and dot color in invalid state.
21
21
  /// @prop {Color} focus-outline-color-filled [transparent] - The focus outline color when radio is filled.
22
22
  /// @prop {Color} focus-outline-color-error [transparent] - The focus outline color when radio is filled and invalid.
23
23
  $light-radio: (
24
+ empty-fill-color: transparent,
24
25
  hover-color: transparent,
25
26
  label-color: (
26
27
  color: (
@@ -34,12 +35,6 @@ $light-radio: (
34
35
  900,
35
36
  ),
36
37
  ),
37
- empty-color: (
38
- color: (
39
- 'gray',
40
- 500,
41
- ),
42
- ),
43
38
  fill-color: (
44
39
  color: (
45
40
  'primary',
@@ -61,7 +56,7 @@ $light-radio: (
61
56
  disabled-label-color: (
62
57
  color: (
63
58
  'gray',
64
- 400,
59
+ 500,
65
60
  ),
66
61
  ),
67
62
  error-color: (
@@ -133,7 +128,6 @@ $material-radio: extend(
133
128
  /// @prop {Map} fill-color-hover [color: ('primary', 800)] - The checked border and dot colors on hover.
134
129
  /// @prop {Map} focus-outline-color [color: ('gray', 700)] - The focus outlined color.
135
130
  /// @prop {Map} error-color-hover [color: ('error', 700)] - The border and dot color in invalid state on hover.
136
- /// @prop {Map} disabled-label-color [color: ('gray', 500)] - The disabled label color.
137
131
  /// @requires {Map} $light-radio
138
132
  $fluent-radio: extend(
139
133
  $light-radio,
@@ -174,43 +168,53 @@ $fluent-radio: extend(
174
168
  700,
175
169
  ),
176
170
  ),
177
- disabled-label-color: (
178
- color: (
179
- 'gray',
180
- 500,
181
- ),
182
- ),
183
171
  )
184
172
  );
185
173
 
186
174
  /// Generates a bootstrap radio schema.
187
175
  /// @type {Map}
188
- /// @prop {Map} fill-hover-border-color [color: ('gray', 50)] - The checked dot border color on hover.
189
- /// @prop {Map} disabled-color [color: ('primary', 200)] - The disabled border and dot colors.
176
+ /// @prop {Map} empty-color [color: ('gray', 400)] - The unchecked border color.
177
+ /// @prop {Map} empty-fill-color [contrast-color: ('gray', 900)] - The fill of the empty radio.
178
+ /// @prop {Map} hover-color [color: ('gray', 500)] - The border color on hover.
179
+ /// @prop {Map} fill-hover-border-color [contrast-color: ('primary', 900)] - The checked dot border color on hover.
180
+ /// @prop {Map} disabled-color [color: ('gray', 300)] - The disabled border color.
190
181
  /// @prop {Map} disabled-fill-color [color: ('primary', 200)] - The disabled checked border and dot colors.
191
- /// @prop {Map} fill-color-hover [color: ('gray', 50)] - The checked border and dot colors on hover.
192
- /// @prop {Map} focus-outline-color [color: ('primary', 200)] - The focus outlined color.
193
- /// @prop {Map} error-color-hover [color: ('error', 100)] - The focus outlined color in invalid state.
182
+ /// @prop {Map} fill-color-hover [color: ('primary', 600)] - The checked border and dot colors on hover.
183
+ /// @prop {Map} focus-outline-color [color: ('primary', 200, 0.5)] - The focus outline color.
184
+ /// @prop {Map} focus-outline-color-error [color: ('error', 200, 0.5)] - The focus outline color when radio is invalid.
185
+ /// @prop {Map} error-color-hover [color: ('error', 600)] - The focus outlined color in invalid state.
194
186
  /// @requires {Map} $light-radio
195
187
  $bootstrap-radio: extend(
196
188
  $light-radio,
197
189
  (
198
- focus-outline-color: (
190
+ empty-color: (
199
191
  color: (
200
- 'primary',
201
- 200,
192
+ 'gray',
193
+ 400,
202
194
  ),
203
195
  ),
204
- fill-hover-border-color: (
196
+ empty-fill-color: (
197
+ contrast-color: (
198
+ 'gray',
199
+ 900,
200
+ ),
201
+ ),
202
+ hover-color: (
205
203
  color: (
206
204
  'gray',
207
- 50,
205
+ 500,
206
+ ),
207
+ ),
208
+ fill-hover-border-color: (
209
+ contrast-color: (
210
+ 'primary',
211
+ 900,
208
212
  ),
209
213
  ),
210
214
  disabled-color: (
211
215
  color: (
212
- 'primary',
213
- 200,
216
+ 'gray',
217
+ 300,
214
218
  ),
215
219
  ),
216
220
  disabled-fill-color: (
@@ -221,14 +225,28 @@ $bootstrap-radio: extend(
221
225
  ),
222
226
  fill-color-hover: (
223
227
  color: (
224
- 'gray',
225
- 50,
228
+ 'primary',
229
+ 600,
230
+ ),
231
+ ),
232
+ focus-outline-color: (
233
+ color: (
234
+ 'primary',
235
+ 200,
236
+ 0.5,
237
+ ),
238
+ ),
239
+ focus-outline-color-error: (
240
+ color: (
241
+ 'error',
242
+ 200,
243
+ 0.5,
226
244
  ),
227
245
  ),
228
246
  error-color-hover: (
229
247
  color: (
230
248
  'error',
231
- 100,
249
+ 600,
232
250
  ),
233
251
  ),
234
252
  )
@@ -236,21 +254,28 @@ $bootstrap-radio: extend(
236
254
 
237
255
  /// Generates an indigo radio schema.
238
256
  /// @type {Map}
257
+ /// @prop {Map} empty-color [color: ('gray', 500)] - The unchecked border color.
239
258
  /// @prop {Map} label-color [color: ('gray', 800)] - The text color used for the label text.
240
259
  /// @prop {Map} hover-color [color: ('gray', 600)] - The hover text color used for the label text.
241
260
  /// @prop {Map} focus-outline-color [color: ('gray', 900, .15)] - The focus outlined color.
242
261
  /// @prop {Map} focus-outline-color-filled [color: ('primary', 400, 0.5)] - The focus outline color when radio is filled.
243
262
  /// @prop {Map} fill-hover-border-color [color: ('primary', 400)] - The checked dot border color on hover.
244
263
  /// @prop {Map} fill-color-hover [color: ('primary', 400)] - The checked border and dot colors on hover.
245
- /// @prop {Map} disabled-color [color: ('gray', 900, .15)] - The disabled border and dot colors.
264
+ /// @prop {Map} disabled-color [color: ('gray', 900, .15)] - The disabled border color.
246
265
  /// @prop {Map} disabled-fill-color [color: ('primary', 400, .5)] - The disabled checked border and dot colors.
247
- /// @prop {Map} disabled-label-color [color: ('gray', 900, .20)] - The disabled label color.
266
+ /// @prop {Map} disabled-label-color [color: ('gray', 900, .2)] - The disabled label color.
248
267
  /// @prop {Map} error-color-hover [color: ('error', 400)] - The focus outlined color in invalid state.
249
268
  /// @prop {Map} focus-outline-color-error [color: ('error', 400, 0.5)] - The focus outline color when radio is filled and invalid.
250
269
  /// @requires {Map} $light-radio
251
270
  $indigo-radio: extend(
252
271
  $light-radio,
253
272
  (
273
+ empty-color: (
274
+ color: (
275
+ 'gray',
276
+ 500,
277
+ ),
278
+ ),
254
279
  label-color: (
255
280
  color: (
256
281
  'gray',
@@ -20,19 +20,14 @@
20
20
  /// @prop {Map} label-color [color: ('gray', 900)] - The color of the switch label.
21
21
  /// @prop {Map} label-hover-color [color: ('gray', 900)] - The color of the switch label on hover.
22
22
  /// @prop {Map} label-disabled-color [color: ('gray', 500)] - The color of the switch label when the switch is disabled
23
- /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
24
- /// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
25
- /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
26
- /// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
27
- /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
28
23
  /// @prop {Map} border-on-color [color: ('primary', 500)] - The border color of the on-switch.
29
24
  /// @prop {Map} label-invalid-color [color: ('gray', 900)] - The color of the switch label in invalid state.
30
25
  /// @prop {Map} track-on-disabled-color [color: ('secondary', 50)] - The color of the track when the switch is on and disabled.
31
26
  /// @prop {Map} track-error-color [color: ('gray', 500)] - The color of the track in invalid state when the switch is off.
32
27
  /// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
33
- /// @requires {Map} $default-elevation-switch
28
+ /// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
29
+ /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
34
30
  $light-switch: extend(
35
- $default-elevation-switch,
36
31
  (
37
32
  border-on-color: (
38
33
  color: (
@@ -124,6 +119,8 @@ $light-switch: extend(
124
119
  /// @prop {Color} focus-outline-color [transparent] - The focus outlined color.
125
120
  /// @prop {Color} border-color [transparent] - The border color of the switch.
126
121
  /// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
122
+ /// @prop {Color} focus-fill-color [transparent] - The focus fill color.
123
+ /// @prop {Color} focus-fill-hover-color [transparent] - The focus fill color on hover.
127
124
  /// @prop {Color} border-on-color [transparent] - The border color of the on-switch.
128
125
  /// @prop {Color} border-on-hover-color [transparent] - The hover border color when the switch is on.
129
126
  /// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
@@ -138,13 +135,20 @@ $light-switch: extend(
138
135
  /// @prop {Map} error-color [color: ('gray', 50)] - The color of the thumb in invalid state.
139
136
  /// @prop {Map} error-color-hover [color: ('gray', 500)] - The border color in invalid state on hover.
140
137
  /// @prop {List} border-radius-track [(rem(7px), rem(0), rem(7px))] - The border radius used for switch track.
138
+ /// @prop {Number} resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state.
139
+ /// @prop {Number} hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state.
140
+ /// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
141
141
  /// @requires {Map} $light-switch
142
+ /// @requires {Map} $default-elevation-switch
142
143
  $material-switch: extend(
143
144
  $light-switch,
145
+ $default-elevation-switch,
144
146
  (
145
147
  focus-outline-color: transparent,
146
148
  border-color: transparent,
147
149
  border-hover-color: transparent,
150
+ focus-fill-color: transparent,
151
+ focus-fill-hover-color: transparent,
148
152
  border-on-color: transparent,
149
153
  border-on-hover-color: transparent,
150
154
  border-disabled-color: transparent,
@@ -221,12 +225,16 @@ $material-switch: extend(
221
225
  /// Generates a fluent switch schema.
222
226
  /// @type {Map}
223
227
  /// @prop {Map} border-color [color: ('gray', 700)] - The border color of the switch.
224
- /// @prop {Map} border-hover-color [color: ('gray', 800)] - The border color of the switch on hover.
228
+ /// @prop {Map} border-hover-color [color: ('gray', 900)] - The border color of the switch on hover.
229
+ /// @prop {Map} focus-fill-color [color: ('gray', 700)] - The focus fill color.
230
+ /// @prop {Map} focus-fill-hover-color [color: ('gray', 900)] - The focus fill color on hover.
225
231
  /// @prop {Map} border-disabled-color [color: ('gray', 400)] - The border color of the disabled switch.
226
- /// @prop {Map} border-on-hover-color [color: ('primary', 800)] - The hover border color when the switch is on.
232
+ /// @prop {Map} border-on-hover-color [color: ('primary', 800)] - The border color of the on-switch.
227
233
  /// @prop {Map} thumb-off-color [color: ('gray', 700)] - The color of the thumb when the switch is off.
234
+ /// @prop {Map} track-disabled-color [contrast-color: ('primary', 800)] - The color of the track when the switch is disabled.
228
235
  /// @prop {Map} track-on-hover-color [color: ('primary', 800)] - The color of the track when the switch is on and hovered.
229
236
  /// @prop {Map} track-on-disabled-color [color: ('gray', 400)] - The color of the track when the switch is on and disabled.
237
+ /// @prop {Map} track-off-color [contrast-color: ('gray', 900)] - The color of the track when the switch is off.
230
238
  /// @prop {Map} thumb-disabled-color [color: ('gray', 400)] - The color of the thumb when the switch is disabled.
231
239
  /// @prop {Map} thumb-on-disabled-color [color: ('gray', 100)] - The color of the thumb when the switch is on and disabled.
232
240
  /// @prop {Map} focus-outline-color [color: ('gray', 700)] - The focus outlined color.
@@ -258,6 +266,24 @@ $fluent-switch: extend(
258
266
  border-hover-color: (
259
267
  color: (
260
268
  'gray',
269
+ 900,
270
+ ),
271
+ ),
272
+ focus-fill-color: (
273
+ color: (
274
+ 'gray',
275
+ 700,
276
+ ),
277
+ ),
278
+ focus-fill-hover-color: (
279
+ color: (
280
+ 'gray',
281
+ 900,
282
+ ),
283
+ ),
284
+ track-disabled-color: (
285
+ contrast-color: (
286
+ 'primary',
261
287
  800,
262
288
  ),
263
289
  ),
@@ -273,6 +299,12 @@ $fluent-switch: extend(
273
299
  800,
274
300
  ),
275
301
  ),
302
+ track-off-color: (
303
+ contrast-color: (
304
+ 'gray',
305
+ 900,
306
+ ),
307
+ ),
276
308
  track-on-disabled-color: (
277
309
  color: (
278
310
  'gray',
@@ -321,15 +353,19 @@ $fluent-switch: extend(
321
353
 
322
354
  /// Generates a bootstrap switch schema.
323
355
  /// @type {Map}
324
- /// @prop {Map} focus-outline-color [color: ('primary', 100)] - The focus outlined color.
356
+ /// @prop {Map} track-on-hover-color [color: ('primary', 600)] - The color of the track when the switch is on and hovered.
357
+ /// @prop {Map} focus-outline-color [color: ('primary', 200, 0.5)] - The focus outlined color.
325
358
  /// @prop {Map} focus-fill-color [color: ('primary', 200)] - The focus fill color.
326
- /// @prop {Map} border-color [color('gray', 400)] - The border color of the switch.
327
- /// @prop {Map} border-hover-color [color: ('gray', 400)] - The border color of the switch on hover.
359
+ /// @prop {Map} focus-fill-hover-color [color: ('primary', 300)] - The focus fill color on hover.
360
+ /// @prop {Map} border-color [color: ('gray', 400)] - The border color of the switch.
361
+ /// @prop {Map} border-hover-color [color: ('gray', 500)] - The border color of the switch on hover.
362
+ /// @prop {Map} border-on-hover-color [color: ('primary', 600)] - The border color of the on-switch.
328
363
  /// @prop {Map} border-disabled-color [color: ('gray', 300)] - The border color of the disabled switch.
364
+ /// @prop {Map} thumb-on-color [contrast-color: ('primary', 800)] - The color of the thumb when the switch is on.
329
365
  /// @prop {Map} thumb-off-color [color: ('gray', 400)] - The color of the thumb when the switch is off.
330
366
  /// @prop {Map} thumb-disabled-color [color: ('gray', 300)] - The color of the thumb when the switch is disabled.
331
367
  /// @prop {Map} track-on-disabled-color [color: ('primary', 200)] - The color of the track when the switch is on and disabled.
332
- /// @prop {Map} thumb-on-disabled-color [color: ('gray', 50)] - The color of the thumb when the switch is on and disabled.
368
+ /// @prop {Map} thumb-on-disabled-color [contrast-color: ('primary', 800)] - The color of the thumb when the switch is on and disabled.
333
369
  /// @prop {Map} error-color [color: ('gray', 400)] - The border and thumb color in invalid state.
334
370
  /// @prop {Map} error-color-hover [color: ('primary', 200)] - The border and thumb color in invalid state on hover.
335
371
  /// @prop {List} border-radius-track [(rem(32px), rem(0), rem(32px))] - The border radius used for switch track.
@@ -338,10 +374,17 @@ $fluent-switch: extend(
338
374
  $bootstrap-switch: extend(
339
375
  $fluent-switch,
340
376
  (
377
+ track-on-hover-color: (
378
+ color: (
379
+ 'primary',
380
+ 600,
381
+ ),
382
+ ),
341
383
  focus-outline-color: (
342
384
  color: (
343
385
  'primary',
344
- 100,
386
+ 200,
387
+ 0.5,
345
388
  ),
346
389
  ),
347
390
  focus-fill-color: (
@@ -350,6 +393,12 @@ $bootstrap-switch: extend(
350
393
  200,
351
394
  ),
352
395
  ),
396
+ focus-fill-hover-color: (
397
+ color: (
398
+ 'primary',
399
+ 300,
400
+ ),
401
+ ),
353
402
  border-color: (
354
403
  color: (
355
404
  'gray',
@@ -359,7 +408,13 @@ $bootstrap-switch: extend(
359
408
  border-hover-color: (
360
409
  color: (
361
410
  'gray',
362
- 400,
411
+ 500,
412
+ ),
413
+ ),
414
+ border-on-hover-color: (
415
+ color: (
416
+ 'primary',
417
+ 600,
363
418
  ),
364
419
  ),
365
420
  border-disabled-color: (
@@ -368,6 +423,12 @@ $bootstrap-switch: extend(
368
423
  300,
369
424
  ),
370
425
  ),
426
+ thumb-on-color: (
427
+ contrast-color: (
428
+ 'primary',
429
+ 800,
430
+ ),
431
+ ),
371
432
  thumb-off-color: (
372
433
  color: (
373
434
  'gray',
@@ -381,9 +442,9 @@ $bootstrap-switch: extend(
381
442
  ),
382
443
  ),
383
444
  thumb-on-disabled-color: (
384
- color: (
385
- 'gray',
386
- 50,
445
+ contrast-color: (
446
+ 'primary',
447
+ 800,
387
448
  ),
388
449
  ),
389
450
  track-on-disabled-color: (
@@ -517,6 +578,18 @@ $indigo-switch: extend(
517
578
  600,
518
579
  ),
519
580
  ),
581
+ focus-fill-color: (
582
+ color: (
583
+ 'gray',
584
+ 500,
585
+ ),
586
+ ),
587
+ focus-fill-hover-color: (
588
+ color: (
589
+ 'gray',
590
+ 500,
591
+ ),
592
+ ),
520
593
  border-disabled-color: (
521
594
  color: (
522
595
  'gray',