igniteui-theming 1.4.14 → 2.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.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/sass/themes/_functions.scss +5 -2
  3. package/sass/themes/_mixins.scss +4 -1
  4. package/sass/themes/schemas/components/light/_action-strip.scss +24 -8
  5. package/sass/themes/schemas/components/light/_avatar.scss +2 -2
  6. package/sass/themes/schemas/components/light/_badge.scss +2 -2
  7. package/sass/themes/schemas/components/light/_button-group.scss +18 -7
  8. package/sass/themes/schemas/components/light/_button.scss +90 -34
  9. package/sass/themes/schemas/components/light/_calendar.scss +60 -22
  10. package/sass/themes/schemas/components/light/_card.scss +18 -7
  11. package/sass/themes/schemas/components/light/_carousel.scss +12 -6
  12. package/sass/themes/schemas/components/light/_checkbox.scss +48 -16
  13. package/sass/themes/schemas/components/light/_chip.scss +12 -6
  14. package/sass/themes/schemas/components/light/_dialog.scss +18 -7
  15. package/sass/themes/schemas/components/light/_drop-down.scss +30 -13
  16. package/sass/themes/schemas/components/light/_expansion-panel.scss +12 -5
  17. package/sass/themes/schemas/components/light/_grid.scss +20 -9
  18. package/sass/themes/schemas/components/light/_icon.scss +0 -2
  19. package/sass/themes/schemas/components/light/_input-group.scss +54 -21
  20. package/sass/themes/schemas/components/light/_list.scss +24 -10
  21. package/sass/themes/schemas/components/light/_navdrawer.scss +18 -7
  22. package/sass/themes/schemas/components/light/_progress.scss +13 -7
  23. package/sass/themes/schemas/components/light/_snackbar.scss +18 -6
  24. package/sass/themes/schemas/components/light/_splitter.scss +6 -2
  25. package/sass/themes/schemas/components/light/_stepper.scss +28 -14
  26. package/sass/themes/schemas/components/light/_switch.scss +42 -15
  27. package/sass/themes/schemas/components/light/_tabs.scss +12 -4
  28. package/sass/themes/schemas/components/light/_time-picker.scss +42 -15
  29. package/sass/themes/schemas/components/light/_toast.scss +24 -8
  30. package/sass/themes/schemas/components/light/_tooltip.scss +18 -7
  31. package/sass/themes/schemas/components/light/_watermark.scss +24 -8
@@ -54,9 +54,9 @@
54
54
  /// @prop {Map} border-color [color: ('gray', 300)] - The calendar border color.
55
55
  /// @prop {Map} week-number-color [color: ('gray', 500)] - The text color of the week number column.
56
56
  /// @prop {Map} week-number-background [color: ('gray', 200)] - The background color of the week number column.
57
- /// @prop {Number} border-radius [4px] - The border radius used for calendar. Can be a fraction between 0 and 1, pixels, or percent.
58
- /// @prop {Number} date-border-radius [20px] - The border radius used for calendar date. Can be a fraction between 0 and 1, pixels, or percent.
59
- /// @prop {Number} month-border-radius [20px] - The border radius used for calendar month. Can be a fraction between 0 and 1, pixels, or percent.
57
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for calendar.
58
+ /// @prop {List} date-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for calendar date.
59
+ /// @prop {List} month-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for calendar month.
60
60
  $light-calendar: (
61
61
  content-background: (
62
62
  color: 'surface',
@@ -360,9 +360,21 @@ $light-calendar: (
360
360
  ),
361
361
  ),
362
362
 
363
- border-radius: rem(4px),
364
- date-border-radius: rem(20px),
365
- month-border-radius: rem(20px),
363
+ border-radius: (
364
+ rem(4px),
365
+ rem(0),
366
+ rem(20px),
367
+ ),
368
+ date-border-radius: (
369
+ rem(20px),
370
+ rem(0),
371
+ rem(20px),
372
+ ),
373
+ month-border-radius: (
374
+ rem(20px),
375
+ rem(0),
376
+ rem(20px),
377
+ ),
366
378
  );
367
379
 
368
380
  /// Generates a fluent calendar schema.
@@ -380,9 +392,9 @@ $light-calendar: (
380
392
  /// @prop {Map} date-current-hover-foreground [color: ('primary', 600)] - The hover text color for the current date.
381
393
  /// @prop {Map} date-current-focus-foreground [color: ('primary', 600)] - The focus text color for the current date.
382
394
  /// @prop {Map} date-selected-current-foreground [contrast-color: ('primary', 600)] - The text color for the selected/current date.
383
- /// @prop {Number} border-radius [0] - The border radius used for calendar. Can be a fraction between 0 and 1, pixels, or percent.
384
- /// @prop {Number} date-border-radius [0] - The border radius used for calendar date. Can be a fraction between 0 and 1, pixels, or percent.
385
- /// @prop {Number} month-border-radius [0] - The border radius used for calendar month. Can be a fraction between 0 and 1, pixels, or percent.
395
+ /// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for calendar.
396
+ /// @prop {List} date-border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for calendar date.
397
+ /// @prop {List} month-border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for calendar month.
386
398
  /// @requires {Map} $light-calendar
387
399
  $fluent-calendar: extend(
388
400
  $light-calendar,
@@ -491,9 +503,21 @@ $fluent-calendar: extend(
491
503
  ),
492
504
  ),
493
505
 
494
- border-radius: rem(0),
495
- date-border-radius: rem(0),
496
- month-border-radius: rem(0),
506
+ border-radius: (
507
+ rem(0),
508
+ rem(0),
509
+ rem(20px),
510
+ ),
511
+ date-border-radius: (
512
+ rem(0),
513
+ rem(0),
514
+ rem(20px),
515
+ ),
516
+ month-border-radius: (
517
+ rem(0),
518
+ rem(0),
519
+ rem(20px),
520
+ ),
497
521
  )
498
522
  );
499
523
 
@@ -530,9 +554,9 @@ $fluent-calendar: extend(
530
554
  /// @prop {Map} date-selected-current-focus-background [color: ('primary', 700)] - The focus background color for the selected/current date.
531
555
  /// @prop {Map} date-current-hover-foreground [color: ('surface')] - The hover text color for the current date.
532
556
  /// @prop {Map} date-current-focus-foreground [color: ('surface')] - The focus text color for the current date.
533
- /// @prop {Number} border-radius [4px] - The border radius used for calendar. Can be a fraction between 0 and 1, pixels, or percent.
534
- /// @prop {Number} date-border-radius [4px] - The border radius used for calendar date. Can be a fraction between 0 and 1, pixels, or percent.
535
- /// @prop {Number} month-border-radius [4px] - The border radius used for calendar month. Can be a fraction between 0 and 1, pixels, or percent.
557
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for calendar.
558
+ /// @prop {List} date-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for calendar date.
559
+ /// @prop {List} month-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for calendar month.
536
560
  /// @requires {Map} $light-calendar
537
561
  $bootstrap-calendar: extend(
538
562
  $light-calendar,
@@ -765,9 +789,21 @@ $bootstrap-calendar: extend(
765
789
  ),
766
790
  ),
767
791
 
768
- border-radius: rem(4px),
769
- date-border-radius: rem(4px),
770
- month-border-radius: rem(4px),
792
+ border-radius: (
793
+ rem(4px),
794
+ rem(0),
795
+ rem(20px),
796
+ ),
797
+ date-border-radius: (
798
+ rem(4px),
799
+ rem(0),
800
+ rem(20px),
801
+ ),
802
+ month-border-radius: (
803
+ rem(4px),
804
+ rem(0),
805
+ rem(20px),
806
+ ),
771
807
  )
772
808
  );
773
809
 
@@ -789,9 +825,7 @@ $bootstrap-calendar: extend(
789
825
  /// @prop {Map} date-selected-current-focus-foreground [contrast-color: ('primary', 500)] - The focus text color for the selected/current date.
790
826
  /// @prop {Map} date-current-hover-foreground [color: ('primary', 600)] - The hover text color for the current date.
791
827
  /// @prop {Map} date-current-focus-foreground [color: ('primary', 600)] - The focus text color for the current date.
792
- /// @prop {Number} border-radius [3px] - The border radius used for calendar. Can be a fraction between 0 and 1, pixels, or percent.
793
- /// @prop {Number} date-border-radius [20px] - The border radius used for calendar date. Can be a fraction between 0 and 1, pixels, or percent.
794
- /// @prop {Number} month-border-radius [20px] - The border radius used for calendar month. Can be a fraction between 0 and 1, pixels, or percent.
828
+ /// @prop {List} border-radius [(rem(3px), rem(0), rem(20px))] - The border radius used for calendar.
795
829
  /// @requires {Map} $light-calendar
796
830
  $indigo-calendar: extend(
797
831
  $light-calendar,
@@ -903,6 +937,10 @@ $indigo-calendar: extend(
903
937
  ),
904
938
  ),
905
939
 
906
- border-radius: rem(3px),
940
+ border-radius: (
941
+ rem(3px),
942
+ rem(0),
943
+ rem(20px),
944
+ ),
907
945
  )
908
946
  );
@@ -18,7 +18,7 @@
18
18
  /// @prop {Map} outline-color [color: ('gray', 400, .54)] - The outline color of an outlined type card.
19
19
  /// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
20
20
  /// @prop {Number} hover-elevation [8] - The elevation level, between 0-24, to be used for the hover state.
21
- /// @prop {Number} border-radius [4px] - The border radius used for card. Can be a fraction between 0 and 1, pixels, or percent.
21
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for card.
22
22
  /// @requires {Map} $default-elevation-card
23
23
  $light-card: extend(
24
24
  $default-elevation-card,
@@ -63,7 +63,11 @@ $light-card: extend(
63
63
  ),
64
64
  ),
65
65
 
66
- border-radius: rem(4px),
66
+ border-radius: (
67
+ rem(4px),
68
+ rem(0),
69
+ rem(24px),
70
+ ),
67
71
  )
68
72
  );
69
73
 
@@ -72,7 +76,7 @@ $light-card: extend(
72
76
  /// @prop {Map} outline-color [color: ('gray', 200)] - The outline color of an outlined type card.
73
77
  /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
74
78
  /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
75
- /// @prop {Number} border-radius [2px] - The border radius used for card. Can be a fraction between 0 and 1, pixels, or percent.
79
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(24px))] - The border radius used for card.
76
80
  /// @requires {Map} $light-card
77
81
  /// @requires {Map} $fluent-elevation-card
78
82
  $fluent-card: extend(
@@ -86,7 +90,11 @@ $fluent-card: extend(
86
90
  ),
87
91
  ),
88
92
 
89
- border-radius: rem(2px),
93
+ border-radius: (
94
+ rem(2px),
95
+ rem(0),
96
+ rem(24px),
97
+ ),
90
98
  )
91
99
  );
92
100
 
@@ -100,7 +108,6 @@ $fluent-card: extend(
100
108
  /// @prop {Map} actions-text-color [color: ('gray', 900)] - The text color of the card buttons.
101
109
  /// @prop {Number} resting-elevation [0] - The elevation level, between 0-24, to be used for the resting state.
102
110
  /// @prop {Number} hover-elevation [0] - The elevation level, between 0-24, to be used for the hover state.
103
- /// @prop {Number} border-radius [4px] - The border radius used for card. Can be a fraction between 0 and 1, pixels, or percent.
104
111
  /// @requires {Map} $light-card
105
112
  /// @requires {Map} $bootstrap-elevation-card
106
113
  $bootstrap-card: extend(
@@ -160,7 +167,7 @@ $bootstrap-card: extend(
160
167
  /// @prop {Map} actions-text-color [color: ('gray', 600)] - The text color of the card buttons.
161
168
  /// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
162
169
  /// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
163
- /// @prop {Number} border-radius [3px] - The border radius used for card. Can be a fraction between 0 and 1, pixels, or percent.
170
+ /// @prop {List} border-radius [(rem(3px), rem(0), rem(24px))] - The border radius used for card.
164
171
  /// @requires {Map} $light-card
165
172
  /// @requires {Map} $indigo-elevation-card
166
173
  $indigo-card: extend(
@@ -202,6 +209,10 @@ $indigo-card: extend(
202
209
  ),
203
210
  ),
204
211
 
205
- border-radius: rem(3px),
212
+ border-radius: (
213
+ rem(3px),
214
+ rem(0),
215
+ rem(24px),
216
+ ),
206
217
  )
207
218
  );
@@ -22,7 +22,7 @@
22
22
  /// @prop {Map} indicator-active-dot-color [color: ('gray', 50)] - The active indicator dot color.
23
23
  /// @prop {Map} indicator-active-border-color [color: ('gray', 50)] - The active indicator border color.
24
24
  /// @prop {Number} button-elevation [1] - The elevation level, between 0-24, to be used for the carousel buttons.
25
- /// @prop {Number} border-radius [0] - The border radius used for carousel. Can be a fraction between 0 and 1, pixels, or percent.
25
+ /// @prop {List} border-radius [(rem(0), rem(0), rem(36px))] - The border radius used for carousel.
26
26
  /// @requires {Map} $default-elevation-carousel
27
27
  $light-carousel: extend(
28
28
  $default-elevation-carousel,
@@ -98,13 +98,16 @@ $light-carousel: extend(
98
98
  ),
99
99
  ),
100
100
 
101
- border-radius: rem(0),
101
+ border-radius: (
102
+ rem(0),
103
+ rem(0),
104
+ rem(36px),
105
+ ),
102
106
  )
103
107
  );
104
108
 
105
109
  /// Generates a fluent carousel schema.
106
110
  /// @type {Map}
107
- /// @prop {Number} border-radius [0] - The border radius used for carousel. Can be a fraction between 0 and 1, pixels, or percent.
108
111
  /// @prop {Number} button-elevation [0] - The elevation level, between 0-24, to be used for the carousel buttons.
109
112
  /// @requires {Map} $light-carousel
110
113
  /// @requires {Map} $fluent-elevation-carousel
@@ -112,7 +115,7 @@ $fluent-carousel: extend($light-carousel, $fluent-elevation-carousel);
112
115
 
113
116
  /// Generates a bootstrap carousel schema.
114
117
  /// @type {Map}
115
- /// @prop {Number} border-radius [4px] - The border radius used for carousel. Can be a fraction between 0 and 1, pixels, or percent.
118
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(36px))] - The border radius used for carousel.
116
119
  /// @prop {Number} button-elevation [0] - The elevation level, between 0-24, to be used for the carousel buttons.
117
120
  /// @requires {Map} $light-carousel
118
121
  /// @requires {Map} $bootstrap-elevation-carousel
@@ -120,7 +123,11 @@ $bootstrap-carousel: extend(
120
123
  $light-carousel,
121
124
  $bootstrap-elevation-carousel,
122
125
  (
123
- border-radius: rem(4px),
126
+ border-radius: (
127
+ rem(4px),
128
+ rem(0),
129
+ rem(36px),
130
+ ),
124
131
  )
125
132
  );
126
133
 
@@ -134,7 +141,6 @@ $bootstrap-carousel: extend(
134
141
  /// @prop {Map} button-disabled-arrow-color [color: ('gray' 400)] - The previous/next buttons disabled color.
135
142
  /// @prop {Map} indicator-dot-color [color: ('surface', 500, .6)] - The idle indicator dot color.
136
143
  /// @prop {Map} indicator-active-dot-color [color: 'surface'] - The active indicator dot color.
137
- /// @prop {Number} border-radius [0] - The border radius used for carousel. Can be a fraction between 0 and 1, pixels, or percent.
138
144
  /// @prop {Number} button-elevation [0] - The elevation level, between 0-24, to be used for the carousel buttons.
139
145
  /// @requires {Map} $light-carousel
140
146
  /// @requires {Map} $indigo-elevation-carousel
@@ -22,8 +22,8 @@
22
22
  /// @prop {Map} disabled-color-label [color: ('gray', 500)] - The disabled color of the label.
23
23
  /// @prop {Map} error-color [color: ('error', 500)] - The border and fill colors in invalid state.
24
24
  /// @prop {Map} error-color-hover [color: ('error', 500)] - The border and fill colors in invalid state on hover.
25
- /// @prop {Number} border-radius [2px] - The border radius used for checkbox. Can be a fraction between 0 and 1, pixels, or percent.
26
- /// @prop {Number} border-radius-ripple [24px] - The border radius used for checkbox ripple. Can be a fraction between 0 and 1, pixels, or percent.
25
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(10px))] - The border radius used for checkbox.
26
+ /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
27
27
  $light-checkbox: (
28
28
  tick-color: (
29
29
  color: (
@@ -91,8 +91,16 @@ $light-checkbox: (
91
91
  500,
92
92
  ),
93
93
  ),
94
- border-radius: rem(2px),
95
- border-radius-ripple: rem(24px),
94
+ border-radius: (
95
+ rem(2px),
96
+ rem(0),
97
+ rem(10px),
98
+ ),
99
+ border-radius-ripple: (
100
+ rem(24px),
101
+ rem(0),
102
+ rem(24px),
103
+ ),
96
104
  );
97
105
 
98
106
  /// Generates a fluent checkbox schema.
@@ -104,8 +112,8 @@ $light-checkbox: (
104
112
  /// @prop {Map} disabled-color [color: ('gray', 400)] - The disabled border and fill colors.
105
113
  /// @prop {Map} focus-outline-color [color: ('gray', 800)] - The focus outlined color.
106
114
  /// @prop {Map} error-color-hover [color: ('error', 900)] - The border and fill colors in invalid state on hover.
107
- /// @prop {Number} border-radius [2px] - The border radius used for checkbox. Can be a fraction between 0 and 1, pixels, or percent.
108
- /// @prop {Number} border-radius-ripple [2px] - The border radius used for checkbox ripple. Can be a fraction between 0 and 1, pixels, or percent.
115
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(10px))] - The border radius used for checkbox.
116
+ /// @prop {List} border-radius-ripple [(rem(2px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
109
117
  /// @requires {Map} $light-checkbox
110
118
  $fluent-checkbox: extend(
111
119
  $light-checkbox,
@@ -152,8 +160,16 @@ $fluent-checkbox: extend(
152
160
  900,
153
161
  ),
154
162
  ),
155
- border-radius: rem(2px),
156
- border-radius-ripple: rem(2px),
163
+ border-radius: (
164
+ rem(2px),
165
+ rem(0),
166
+ rem(10px),
167
+ ),
168
+ border-radius-ripple: (
169
+ rem(2px),
170
+ rem(0),
171
+ rem(24px),
172
+ ),
157
173
  )
158
174
  );
159
175
 
@@ -165,8 +181,8 @@ $fluent-checkbox: extend(
165
181
  /// @prop {Map} disabled-color-label [color: ('gray', 400)] - The disabled color of the label.
166
182
  /// @prop {Map} focus-outline-color [color: ('primary', 200)] - The focus outlined color.
167
183
  /// @prop {Map} error-color-hover [color: ('error', 100)] - The focus outlined color in invalid state.
168
- /// @prop {Number} border-radius [4px] - The border radius used for checkbox. Can be a fraction between 0 and 1, pixels, or percent.
169
- /// @prop {Number} border-radius-ripple [4px] - The border radius used for checkbox ripple. Can be a fraction between 0 and 1, pixels, or percent.
184
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(10px))] - The border radius used for checkbox.
185
+ /// @prop {List} border-radius-ripple [(rem(4px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
170
186
  /// @requires {Map} $light-checkbox
171
187
  $bootstrap-checkbox: extend(
172
188
  $light-checkbox,
@@ -207,8 +223,16 @@ $bootstrap-checkbox: extend(
207
223
  100,
208
224
  ),
209
225
  ),
210
- border-radius: rem(4px),
211
- border-radius-ripple: rem(4px),
226
+ border-radius: (
227
+ rem(4px),
228
+ rem(0),
229
+ rem(10px),
230
+ ),
231
+ border-radius-ripple: (
232
+ rem(4px),
233
+ rem(0),
234
+ rem(24px),
235
+ ),
212
236
  )
213
237
  );
214
238
 
@@ -223,8 +247,8 @@ $bootstrap-checkbox: extend(
223
247
  /// @prop {Map} focus-outline-color [color: ('gray', 300)] - The focus outlined color.
224
248
  /// @prop {Map} focus-outline-color-focused [color: ('primary', 200)] - The focus outlined color for focused state.
225
249
  /// @prop {Map} error-color-hover [color: ('error', 200)] - The focus outlined color in invalid state.
226
- /// @prop {Number} border-radius [3px] - The border radius used for checkbox. Can be a fraction between 0 and 1, pixels, or percent.
227
- /// @prop {Number} border-radius-ripple [3px] - The border radius used for checkbox ripple. Can be a fraction between 0 and 1, pixels, or percent.
250
+ /// @prop {List} border-radius [(rem(3px), rem(0), rem(10px))] - The border radius used for checkbox.
251
+ /// @prop {List} border-radius-ripple [(rem(3px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
228
252
  /// @requires {Map} $light-checkbox
229
253
  $indigo-checkbox: extend(
230
254
  $light-checkbox,
@@ -277,7 +301,15 @@ $indigo-checkbox: extend(
277
301
  200,
278
302
  ),
279
303
  ),
280
- border-radius: rem(3px),
281
- border-radius-ripple: rem(3px),
304
+ border-radius: (
305
+ rem(3px),
306
+ rem(0),
307
+ rem(10px),
308
+ ),
309
+ border-radius-ripple: (
310
+ rem(3px),
311
+ rem(0),
312
+ rem(24px),
313
+ ),
282
314
  )
283
315
  );
@@ -10,7 +10,7 @@
10
10
 
11
11
  /// Generates a light chip schema.
12
12
  /// @type {Map}
13
- /// @prop {Number} border-radius [16px] - The border radius used for chip. Can be a fraction between 0 and 1, pixels, or percent.
13
+ /// @prop {List} border-radius [(rem(16px), rem(0), rem(16px))] - The border radius used for chip.
14
14
  /// @prop {Map} text-color [contrast-color: ('gray', 300)] - The chip text color.
15
15
  /// @prop {Map} background [color: ('gray', 300)] - The chip background color.
16
16
  /// @prop {Color} border-color [transparent] - The chip border color.
@@ -151,7 +151,11 @@ $light-chip: extend(
151
151
 
152
152
  focus-selected-border-color: transparent,
153
153
 
154
- border-radius: rem(16px),
154
+ border-radius: (
155
+ rem(16px),
156
+ rem(0),
157
+ rem(16px),
158
+ ),
155
159
  disabled-text-color: (
156
160
  color: (
157
161
  'gray',
@@ -191,7 +195,6 @@ $light-chip: extend(
191
195
  /// @prop {Map} focus-selected-text-color [contrast-color: ('primary', 700)] - The selected chip text focus color.
192
196
  /// @prop {Map} focus-selected-background [color: ('primary', 500)] - The selected chip focus background color.
193
197
  /// @prop {Number} ghost-elevation [2] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
194
- /// @prop {Number} border-radius [16px] - The border radius used for chip. Can be a fraction between 0 and 1, pixels, or percent.
195
198
  /// @requires {Map} $light-chip
196
199
  /// @requires {Map} $fluent-elevation-chip
197
200
  $fluent-chip: extend(
@@ -302,7 +305,7 @@ $fluent-chip: extend(
302
305
  /// @prop {Map} focus-selected-background [color: ('gray', 400)] - The selected chip focus background color.
303
306
  /// @prop {Map} focus-selected-text-color [contrast-color: ('gray', 400)] - The selected chip text focus color.
304
307
  /// @prop {Number} ghost-elevation [0] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
305
- /// @prop {Number} border-radius [4px] - The border radius used for chip. Can be a fraction between 0 and 1, pixels, or percent.
308
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for chip.
306
309
  /// @prop {Map} focus-outline-color [color: ('gray', 200)] - The chip focus outline color.
307
310
  /// @prop {Map} focus-selected-outline-color [color: ('primary', 200)] - The selected chip focus outline color.
308
311
  /// @requires {Map} $light-chip
@@ -381,14 +384,17 @@ $bootstrap-chip: extend(
381
384
  ),
382
385
  ),
383
386
 
384
- border-radius: rem(4px),
387
+ border-radius: (
388
+ rem(4px),
389
+ rem(0),
390
+ rem(16px),
391
+ ),
385
392
  )
386
393
  );
387
394
 
388
395
  /// Generates an indigo chip schema.
389
396
  /// @type {Map}
390
397
  /// @prop {Number} ghost-elevation [1] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
391
- /// @prop {Number} border-radius [16px] - The border radius used for chip. Can be a fraction between 0 and 1, pixels, or percent.
392
398
  /// @prop {Map} text-color [color: ('gray', 700)] - The chip text color.
393
399
  /// @prop {Map} background [color: ('surface')] - The chip background color.
394
400
  /// @prop {Map} ghost-background [color: ('surface')] - The chip ghost background color.
@@ -15,7 +15,7 @@
15
15
  /// @prop {Map} message-color [color: ('gray', 600)] - The dialog message text color.
16
16
  /// @prop {Color} border-color [transparent] - The border color for dialog component.
17
17
  /// @prop {Number} elevation [24] - The elevation level, between 0-24, to be used for the dialog.
18
- /// @prop {Number} border-radius [4px] - The border radius used for dialog. Can be a fraction between 0 and 1, pixels, or percent.
18
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(36px))] - The border radius used for dialog.
19
19
  /// @requires {Map} $default-elevation-dialog
20
20
  $light-dialog: extend(
21
21
  $default-elevation-dialog,
@@ -40,19 +40,27 @@ $light-dialog: extend(
40
40
 
41
41
  border-color: transparent,
42
42
 
43
- border-radius: rem(4px),
43
+ border-radius: (
44
+ rem(4px),
45
+ rem(0),
46
+ rem(36px),
47
+ ),
44
48
  )
45
49
  );
46
50
 
47
51
  /// Generates a fluent dialog schema.
48
52
  /// @type {Map}
49
- /// @prop {Number} border-radius [2px] - The border radius used for dialog. Can be a fraction between 0 and 1, pixels, or percent.
53
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(36px))] - The border radius used for dialog.
50
54
  /// @prop {Map} message-color [color: ('gray', 700)] - The dialog message text color.
51
55
  /// @requires {Map} $light-dialog
52
56
  $fluent-dialog: extend(
53
57
  $light-dialog,
54
58
  (
55
- border-radius: rem(2px),
59
+ border-radius: (
60
+ rem(2px),
61
+ rem(0),
62
+ rem(36px),
63
+ ),
56
64
  message-color: (
57
65
  color: (
58
66
  'gray',
@@ -66,7 +74,6 @@ $fluent-dialog: extend(
66
74
  /// @type {Map}
67
75
  /// @prop {Map} border-color [color: ('gray', 300)] - The border color for dialog component.
68
76
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the dialog.
69
- /// @prop {Number} border-radius [4px] - The border radius used for dialog. Can be a fraction between 0 and 1, pixels, or percent.
70
77
  /// @requires {Map} $light-dialog
71
78
  /// @requires {Map} $bootstrap-elevation-dialog
72
79
  $bootstrap-dialog: extend(
@@ -85,7 +92,7 @@ $bootstrap-dialog: extend(
85
92
  /// Generates an indigo dialog schema.
86
93
  /// @type {Map}
87
94
  /// @prop {Map} message-color [color: ('gray', 700)] - The dialog message text color.
88
- /// @prop {Number} border-radius [2px] - The border radius used for dialog. Can be a fraction between 0 and 1, pixels, or percent.
95
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(36px))] - The border radius used for dialog.
89
96
  /// @requires {Map} $light-dialog
90
97
  $indigo-dialog: extend(
91
98
  $light-dialog,
@@ -97,6 +104,10 @@ $indigo-dialog: extend(
97
104
  ),
98
105
  ),
99
106
 
100
- border-radius: rem(2px),
107
+ border-radius: (
108
+ rem(2px),
109
+ rem(0),
110
+ rem(36px),
111
+ ),
101
112
  )
102
113
  );
@@ -30,8 +30,8 @@
30
30
  /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the drop-down shadow.
31
31
  /// @prop {Number} border-width [0] - The border width used for drop-down component.
32
32
  /// @prop {Map} border-color [color: ('gray', 300)] - The border color used for drop-down component.
33
- /// @prop {Number} border-radius [4px] - The border radius used for drop-down component. Can be a fraction between 0 and 1, pixels, or percent.
34
- /// @prop {Number} item-border-radius [0] - The border radius used for the drop-down items. Can be a fraction between 0 and 1, pixels, or percent.
33
+ /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for drop-down component.
34
+ /// @prop {List} item-border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for the drop-down items.
35
35
  /// @requires {Map} $default-elevation-drop-down
36
36
  $light-drop-down: extend(
37
37
  $default-elevation-drop-down,
@@ -133,8 +133,16 @@ $light-drop-down: extend(
133
133
  ),
134
134
  ),
135
135
  border-width: 0,
136
- border-radius: rem(4px),
137
- item-border-radius: rem(0),
136
+ border-radius: (
137
+ rem(4px),
138
+ rem(0),
139
+ rem(20px),
140
+ ),
141
+ item-border-radius: (
142
+ rem(0),
143
+ rem(0),
144
+ rem(20px),
145
+ ),
138
146
  )
139
147
  );
140
148
 
@@ -147,8 +155,7 @@ $light-drop-down: extend(
147
155
  /// @prop {Map} selected-focus-item-background [color: ('gray', 200)] - The drop-down selected item focus background color.
148
156
  /// @prop {Map} selected-focus-item-text-color [contrast-color: ('gray', 200)] - The drop-down selected item focus text color.
149
157
  /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the drop-down shadow.
150
- /// @prop {Number} border-radius [2px] - The border radius used for drop-down component. Can be a fraction between 0 and 1, pixels, or percent.
151
- /// @prop {Number} item-border-radius [0] - The border radius used for the drop-down items. Can be a fraction between 0 and 1, pixels, or percent.
158
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for drop-down component.
152
159
  /// @requires {Map} $light-drop-down
153
160
  /// @requires {Map} $fluent-elevation-drop-down
154
161
  $fluent-drop-down: extend(
@@ -191,7 +198,11 @@ $fluent-drop-down: extend(
191
198
  200,
192
199
  ),
193
200
  ),
194
- border-radius: rem(2px),
201
+ border-radius: (
202
+ rem(2px),
203
+ rem(0),
204
+ rem(20px),
205
+ ),
195
206
  )
196
207
  );
197
208
 
@@ -208,8 +219,6 @@ $fluent-drop-down: extend(
208
219
  /// @prop {Map} selected-focus-item-background [color: ('primary', 600)] - The drop-down selected item focus background color.
209
220
  /// @prop {Map} selected-focus-item-text-color [contrast-color('primary', 600)] - The drop-down selected item focus text color.
210
221
  /// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the drop-down shadow.
211
- /// @prop {Number} border-radius [4px] - The border radius used for drop-down component. Can be a fraction between 0 and 1, pixels, or percent.
212
- /// @prop {Number} item-border-radius [0] - The border radius used for the drop-down items. Can be a fraction between 0 and 1, pixels, or percent.
213
222
  /// @prop {Number} border-width [1px] - The border width used for drop-down component.
214
223
  /// @requires {Map} $light-drop-down
215
224
  /// @requires {Map} $bootstrap-elevation-drop-down
@@ -300,8 +309,8 @@ $bootstrap-drop-down: extend(
300
309
  /// @prop {Map} selected-focus-item-background [color: ('primary', 400)] - The drop-down selected item focus background color.
301
310
  /// @prop {Color} selected-focus-item-text-color [#fff] - The drop-down selected item focus text color.
302
311
  /// @prop {Number} elevation [3] - The elevation level, between 0-24, to be used for the badge shadow.
303
- /// @prop {Number} border-radius [2px] - The border radius used for drop-down component. Can be a fraction between 0 and 1, pixels, or percent.
304
- /// @prop {Number} item-border-radius [2px] - The border radius used for the drop-down items. Can be a fraction between 0 and 1, pixels, or percent.
312
+ /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for drop-down component.
313
+ /// @prop {List} item-border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the drop-down items.
305
314
  /// @requires {Map} $light-drop-down
306
315
  /// @requires {Map} $indigo-elevation-drop-down
307
316
  $indigo-drop-down: extend(
@@ -370,7 +379,15 @@ $indigo-drop-down: extend(
370
379
  400,
371
380
  ),
372
381
  ),
373
- border-radius: rem(2px),
374
- item-border-radius: rem(2px),
382
+ border-radius: (
383
+ rem(2px),
384
+ rem(0),
385
+ rem(20px),
386
+ ),
387
+ item-border-radius: (
388
+ rem(2px),
389
+ rem(0),
390
+ rem(20px),
391
+ ),
375
392
  )
376
393
  );
@@ -17,7 +17,7 @@
17
17
  /// @prop {Map} header-icon-color [color: ('gray', 800)] - The panel header icon color.
18
18
  /// @prop {Map} body-color [color: ('gray', 900)] - The panel body text color.
19
19
  /// @prop {Map} disabled-color [color: ('gray', 500)] - The panel disabled text color.
20
- /// @prop {Number} border-radius [0] - The border radius used for expansion-panel. Can be a fraction between 0 and 1, pixels, or percent.
20
+ /// @prop {List} border-radius [(rem(0), rem(0), rem(16px))] - The border radius used for expansion-panel.
21
21
  /// @prop {Number} expanded-margin [8px] - The expansion panel margin in expanded state when positioned inside accordion.
22
22
  $light-expansion-panel: (
23
23
  header-background: (
@@ -75,7 +75,11 @@ $light-expansion-panel: (
75
75
  ),
76
76
 
77
77
  expanded-margin: rem(8px),
78
- border-radius: rem(0),
78
+ border-radius: (
79
+ rem(0),
80
+ rem(0),
81
+ rem(16px),
82
+ ),
79
83
  );
80
84
 
81
85
  /// Generates a fluent expansion panel schema.
@@ -106,7 +110,6 @@ $fluent-expansion-panel: extend(
106
110
  /// @type {Map}
107
111
  /// @prop {Map} header-title-color [color: ('gray', 800)] - The panel header title text color.
108
112
  /// @prop {Map} header-description-color [color: ('gray', 600)] - The panel header description text color.
109
- /// @prop {Number} border-radius [0] - The border radius used for expansion-panel. Can be a fraction between 0 and 1, pixels, or percent.
110
113
  /// @requires {Map} $light-expansion-panel
111
114
  $bootstrap-expansion-panel: extend(
112
115
  $light-expansion-panel,
@@ -133,7 +136,7 @@ $bootstrap-expansion-panel: extend(
133
136
  /// @prop {Map} header-description-color [color: ('gray', 500)] - The panel header description text color.
134
137
  /// @prop {Map} header-icon-color [color: ('gray', 600)] - The panel header icon color.
135
138
  /// @prop {Map} disabled-color [color: ('gray', 400)] - The panel disabled text color.
136
- /// @prop {Number} border-radius [3px] - The border radius used for expansion-panel. Can be a fraction between 0 and 1, pixels, or percent.
139
+ /// @prop {List} border-radius [(rem(3px), rem(0), rem(16px))] - The border radius used for expansion-panel.
137
140
  /// @requires {Map} $light-expansion-panel
138
141
  $indigo-expansion-panel: extend(
139
142
  $light-expansion-panel,
@@ -167,6 +170,10 @@ $indigo-expansion-panel: extend(
167
170
  ),
168
171
  ),
169
172
 
170
- border-radius: rem(3px),
173
+ border-radius: (
174
+ rem(3px),
175
+ rem(0),
176
+ rem(16px),
177
+ ),
171
178
  )
172
179
  );