@clayui/css 3.116.1 → 3.118.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.
@@ -373,8 +373,21 @@
373
373
  @each $key, $value in $map {
374
374
  @if not clay-is-map-unset($value) {
375
375
  @if (type-of($value) == 'map') {
376
+ $pseudo-classes: 'active', 'disabled', 'first-child', 'focus',
377
+ 'hover', 'last-child', 'visited';
378
+
379
+ $pseudo-elements: 'after', 'before';
380
+
376
381
  $valid-prefixes: '#', '&', '.', '>', '@', '~', '+', '[';
377
382
 
383
+ @if (index($pseudo-classes, $key)) {
384
+ $key: str-insert($key, '&:', 1);
385
+ }
386
+
387
+ @if (index($pseudo-elements, $key)) {
388
+ $key: str-insert($key, '&::', 1);
389
+ }
390
+
378
391
  $selector: if(
379
392
  index($valid-prefixes, str-slice($key, 1, 1)),
380
393
  $key,
@@ -236,6 +236,10 @@
236
236
  }
237
237
  }
238
238
 
239
+ .label-item-expand {
240
+ @include clay-css(map-get($map, label-item-expand));
241
+ }
242
+
239
243
  .label-item-before {
240
244
  @include clay-css($label-item-before);
241
245
  }
@@ -691,6 +695,10 @@
691
695
  }
692
696
  }
693
697
 
698
+ .label-item-expand {
699
+ @include clay-css(map-get($map, label-item-expand));
700
+ }
701
+
694
702
  .label-item-before {
695
703
  @include clay-css($label-item-before);
696
704
  }
@@ -112,7 +112,7 @@ $colors: map-merge(
112
112
  $primary: $blue !default;
113
113
  $primary-d1: clay-darken($primary, 7.5) !default;
114
114
  $primary-d2: clay-darken($primary, 10) !default;
115
- $primary-l0: clay-lighten($primary, 13.92) !default;
115
+ $primary-l0: clay-lighten($primary, 17.06) !default;
116
116
  $primary-l1: clay-lighten($primary, 22.94) !default;
117
117
  $primary-l2: clay-lighten($primary, 32.94) !default;
118
118
  $primary-l3: clay-lighten($primary, 44.9) !default;
@@ -120,7 +120,7 @@ $primary-l3: clay-lighten($primary, 44.9) !default;
120
120
  $secondary: $gray-600 !default;
121
121
  $secondary-d1: clay-darken($secondary, 7.5) !default;
122
122
  $secondary-d2: clay-darken($secondary, 10) !default;
123
- $secondary-l0: clay-lighten($secondary, 11) !default;
123
+ $secondary-l0: clay-lighten($secondary, 15.29) !default;
124
124
  $secondary-l1: clay-lighten($secondary, 22.94) !default;
125
125
  $secondary-l2: clay-lighten($secondary, 32.94) !default;
126
126
  $secondary-l3: clay-lighten($secondary, 44.9) !default;
@@ -34,6 +34,22 @@ $list-group-item-flex-checkbox-offset-top: 0.1875rem !default;
34
34
  $list-group-item-flex-offset-top: 0.0625rem !default;
35
35
  $list-group-item-flex-list-group-title-offset-top: -0.25rem !default;
36
36
 
37
+ $list-group-item-flex: () !default;
38
+ $list-group-item-flex: map-deep-merge(
39
+ (
40
+ display: flex,
41
+ margin-bottom: math-sign($list-group-border-width),
42
+ padding-left: calc(#{$list-group-item-padding-x} * 0.5),
43
+ padding-right: calc(#{$list-group-item-padding-x} * 0.5),
44
+ autofit-col: (
45
+ justify-content: $list-group-item-flex-align-items,
46
+ padding-left: calc(#{$list-group-item-padding-x} * 0.5),
47
+ padding-right: calc(#{$list-group-item-padding-x} * 0.5),
48
+ ),
49
+ ),
50
+ $list-group-item-flex
51
+ );
52
+
37
53
  $list-group-active-bg: $component-active-bg !default;
38
54
  $list-group-active-border-color: $list-group-active-bg !default;
39
55
  $list-group-active-color: $component-active-color !default;
@@ -172,6 +188,25 @@ $list-group-link-color: null !default;
172
188
  $list-group-link-hover-color: null !default;
173
189
  $list-group-link-active-color: $white !default;
174
190
 
191
+ $list-group: () !default;
192
+ $list-group: map-deep-merge(
193
+ (
194
+ border-radius: clay-enable-rounded($list-group-border-radius),
195
+ box-shadow: clay-enable-shadows($list-group-box-shadow),
196
+ color: $list-group-color,
197
+ display: flex,
198
+ flex-direction: column,
199
+ font-size: $list-group-font-size,
200
+ margin-bottom: $list-group-margin-bottom,
201
+ margin-top: $list-group-margin-top,
202
+ padding-left: 0,
203
+ list-group: (
204
+ box-shadow: if($list-group-box-shadow != null, none, null),
205
+ ),
206
+ ),
207
+ $list-group
208
+ );
209
+
175
210
  // List Group Item Variants
176
211
 
177
212
  $list-group-item-theme-colors: () !default;
@@ -358,6 +358,9 @@ $modal: map-deep-merge(
358
358
  text-align: $modal-title-text-align,
359
359
  text-overflow: ellipsis,
360
360
  white-space: nowrap,
361
+ '[tabindex="-1"]': (
362
+ outline: 0,
363
+ ),
361
364
  ),
362
365
  modal-title-indicator: (
363
366
  display: inline-block,
@@ -79,6 +79,19 @@ $multi-step-title-font-weight: null !default;
79
79
  $multi-step-title-margin-bottom: 0.625rem !default; // 10px
80
80
  $multi-step-title-max-width: 100px !default;
81
81
 
82
+ $multi-step-title: () !default;
83
+ $multi-step-title: map-deep-merge(
84
+ (
85
+ color: $multi-step-title-color,
86
+ font-size: $multi-step-title-font-size,
87
+ font-weight: $multi-step-title-font-weight,
88
+ line-height: normal,
89
+ margin-bottom: $multi-step-title-margin-bottom,
90
+ word-wrap: break-word,
91
+ ),
92
+ $multi-step-title
93
+ );
94
+
82
95
  $multi-step-item-margin-bottom: 10px !default;
83
96
  $multi-step-item-width: 75px !default;
84
97
  $multi-step-item-fixed-width: 150px !default;
@@ -160,3 +173,11 @@ $multi-step-icon-disabled-focus-box-shadow: none !default;
160
173
  $multi-step-divider-disabled-bg: $multi-step-icon-disabled-bg !default;
161
174
  $multi-step-title-disabled-color: $multi-step-icon-disabled-color !default;
162
175
  $multi-step-indicator-label-disabled-color: $multi-step-title-disabled-color !default;
176
+
177
+ $multi-step-title-disabled: () !default;
178
+ $multi-step-title-disabled: map-deep-merge(
179
+ (
180
+ color: $multi-step-title-disabled-color,
181
+ ),
182
+ $multi-step-title-disabled
183
+ );