@clayui/css 3.145.0 → 3.148.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.
Files changed (38) hide show
  1. package/lib/css/atlas.css +81 -293
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +81 -276
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +45 -276
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/icons.svg +1 -1
  8. package/package.json +2 -2
  9. package/src/scss/_license-text.scss +1 -1
  10. package/src/scss/atlas/variables/_globals.scss +1 -0
  11. package/src/scss/atlas/variables/_pagination.scss +5 -1
  12. package/src/scss/cadmin/components/_form-validation.scss +4 -0
  13. package/src/scss/cadmin/components/_forms.scss +19 -0
  14. package/src/scss/cadmin/components/_pagination.scss +8 -6
  15. package/src/scss/cadmin/components/_slideout.scss +0 -12
  16. package/src/scss/cadmin/components/_utilities.scss +4 -0
  17. package/src/scss/cadmin/variables/_forms.scss +22 -0
  18. package/src/scss/cadmin/variables/_globals.scss +6 -5
  19. package/src/scss/cadmin/variables/_pagination.scss +2 -0
  20. package/src/scss/cadmin/variables/_sidebar.scss +2 -2
  21. package/src/scss/cadmin/variables/_slideout.scss +96 -30
  22. package/src/scss/cadmin/variables/_stickers.scss +15 -0
  23. package/src/scss/cadmin/variables/_utilities.scss +11 -0
  24. package/src/scss/components/_form-validation.scss +4 -0
  25. package/src/scss/components/_forms.scss +16 -0
  26. package/src/scss/components/_pagination.scss +8 -6
  27. package/src/scss/components/_slideout.scss +3 -11
  28. package/src/scss/components/_utilities.scss +4 -0
  29. package/src/scss/mixins/_globals.scss +8 -0
  30. package/src/scss/mixins/_sidebar.scss +67 -0
  31. package/src/scss/mixins/_slideout.scss +16 -0
  32. package/src/scss/variables/_drilldown.scss +1 -1
  33. package/src/scss/variables/_forms.scss +22 -0
  34. package/src/scss/variables/_globals.scss +6 -5
  35. package/src/scss/variables/_pagination.scss +2 -0
  36. package/src/scss/variables/_slideout.scss +96 -30
  37. package/src/scss/variables/_stickers.scss +15 -0
  38. package/src/scss/variables/_utilities.scss +11 -0
@@ -92,6 +92,20 @@ $cadmin-sticker-xl: map-deep-merge(
92
92
  $cadmin-sticker-xl
93
93
  );
94
94
 
95
+ $cadmin-sticker-xxl: () !default;
96
+ $cadmin-sticker-xxl: map-deep-merge(
97
+ (
98
+ font-size: 2.5rem,
99
+ height: 5rem,
100
+ line-height: 5rem,
101
+ width: 5rem,
102
+ lexicon-icon: (
103
+ font-size: 1.5rem,
104
+ ),
105
+ ),
106
+ $cadmin-sticker-xxl
107
+ );
108
+
95
109
  $cadmin-sticker-sizes: () !default;
96
110
  $cadmin-sticker-sizes: map-deep-merge(
97
111
  (
@@ -104,6 +118,7 @@ $cadmin-sticker-sizes: map-deep-merge(
104
118
  sticker-sm: $cadmin-sticker-sm,
105
119
  sticker-lg: $cadmin-sticker-lg,
106
120
  sticker-xl: $cadmin-sticker-xl,
121
+ sticker-xxl: $cadmin-sticker-xxl,
107
122
  ),
108
123
  $cadmin-sticker-sizes
109
124
  );
@@ -1,5 +1,16 @@
1
1
  $cadmin-bg-checkered-fg: $cadmin-gray-300 !default;
2
2
 
3
+ $cadmin-c-focus-trap: () !default;
4
+ $cadmin-c-focus-trap: map-merge(
5
+ (
6
+ background: inherit,
7
+ color: inherit,
8
+ display: contents,
9
+ font: inherit,
10
+ ),
11
+ $cadmin-c-focus-trap
12
+ );
13
+
3
14
  // .inline-scroller
4
15
 
5
16
  $cadmin-inline-scroller-max-height: 125px !default;
@@ -60,6 +60,10 @@
60
60
  }
61
61
  }
62
62
 
63
+ .form-help-text {
64
+ @include clay-css($form-help-text);
65
+ }
66
+
63
67
  @if ($enable-bs4-deprecated) {
64
68
  .was-validated .form-control:valid,
65
69
  .was-validated .form-control.is-valid {
@@ -33,10 +33,26 @@ label {
33
33
  @include clay-css(map-get($input-label, for));
34
34
  }
35
35
 
36
+ $_form-feedback-group: map-get($input-label, '+ .form-feedback-group');
37
+
38
+ @if ($_form-feedback-group) {
39
+ + .form-feedback-group {
40
+ @include clay-css($_form-feedback-group);
41
+ }
42
+ }
43
+
36
44
  + .form-text {
37
45
  @include clay-css(map-get($input-label, form-text));
38
46
  }
39
47
 
48
+ $_form-help-text: map-get($input-label, form-help-text);
49
+
50
+ @if ($_form-help-text) {
51
+ .form-help-text {
52
+ @include clay-css($_form-help-text);
53
+ }
54
+ }
55
+
40
56
  .reference-mark {
41
57
  @include clay-css(map-get($input-label, reference-mark));
42
58
  }
@@ -56,12 +56,14 @@
56
56
  @include clay-css($pagination-results);
57
57
  }
58
58
 
59
- // Pagination Sizes
59
+ /// @deprecated Pagination Sizes as of v3.146.0
60
60
 
61
- .pagination-sm {
62
- @include clay-pagination-variant($pagination-sm);
63
- }
61
+ @if ($enable-pagination-sizes) {
62
+ .pagination-sm {
63
+ @include clay-pagination-variant($pagination-sm);
64
+ }
64
65
 
65
- .pagination-lg {
66
- @include clay-pagination-variant($pagination-lg);
66
+ .pagination-lg {
67
+ @include clay-pagination-variant($pagination-lg);
68
+ }
67
69
  }
@@ -28,26 +28,18 @@
28
28
 
29
29
  .c-slideout {
30
30
  @include clay-slideout-variant($c-slideout);
31
+ }
31
32
 
32
- @include media-breakpoint-down(sm) {
33
- @include clay-slideout-variant($c-slideout-sm-down);
34
- }
33
+ .c-slideout-fluid {
34
+ @include clay-slideout-variant($c-slideout-fluid);
35
35
  }
36
36
 
37
37
  .c-slideout-start {
38
38
  @include clay-slideout-variant($c-slideout-start);
39
-
40
- @include media-breakpoint-down(sm) {
41
- @include clay-slideout-variant($c-slideout-start-sm-down);
42
- }
43
39
  }
44
40
 
45
41
  .c-slideout-end {
46
42
  @include clay-slideout-variant($c-slideout-end);
47
-
48
- @include media-breakpoint-down(sm) {
49
- @include clay-slideout-variant($c-slideout-end-sm-down);
50
- }
51
43
  }
52
44
 
53
45
  .c-slideout-height-full {
@@ -19,6 +19,10 @@
19
19
  }
20
20
  }
21
21
 
22
+ .c-focus-trap {
23
+ @include clay-map-to-css($c-focus-trap);
24
+ }
25
+
22
26
  // Autofit Row
23
27
 
24
28
  %autofit-row {
@@ -451,6 +451,14 @@
451
451
  }
452
452
  }
453
453
  }
454
+ } @else if (starts-with($selector, '@supports ')) {
455
+ @supports #{clay-str-replace(
456
+ '#{$selector}',
457
+ '@supports ',
458
+ ''
459
+ )} {
460
+ @include clay-map-to-css($value);
461
+ }
454
462
  } @else {
455
463
  #{$selector} {
456
464
  @include clay-map-to-css($value);
@@ -112,6 +112,12 @@
112
112
  )
113
113
  );
114
114
 
115
+ @each $key, $value in $base {
116
+ @if (type-of($value) != 'map') {
117
+ $map: map-remove($map, $key);
118
+ }
119
+ }
120
+
115
121
  $panel: map-merge(
116
122
  setter(map-get($map, sidebar-panel), ()),
117
123
  setter(map-get($map, panel), ())
@@ -128,40 +134,57 @@
128
134
  )
129
135
  );
130
136
 
137
+ $map: map-remove($map, sidebar-panel, panel);
138
+
131
139
  $header: map-merge(
132
140
  setter(map-get($map, sidebar-header), ()),
133
141
  setter(map-get($map, header), ())
134
142
  );
135
143
 
144
+ $map: map-remove($map, sidebar-header, header);
145
+
136
146
  $header-component-title: map-merge(
137
147
  setter(map-get($header, component-title), ()),
138
148
  setter(map-get($map, component-header-title), ())
139
149
  );
140
150
 
151
+ $map: map-remove($map, component-title, component-header-title);
152
+
141
153
  $header-component-subtitle: map-merge(
142
154
  setter(map-get($header, component-subtitle), ()),
143
155
  setter(map-get($map, component-header-subtitle), ())
144
156
  );
145
157
 
158
+ $map: map-remove($map, component-subtitle, component-header-subtitle);
159
+
146
160
  $body: map-merge(
147
161
  setter(map-get($map, sidebar-body), ()),
148
162
  setter(map-get($map, body), ())
149
163
  );
150
164
 
165
+ $map: map-remove($map, sidebar-body, body);
166
+
151
167
  $footer: map-merge(
152
168
  setter(map-get($map, sidebar-footer), ()),
153
169
  setter(map-get($map, footer), ())
154
170
  );
155
171
 
172
+ $map: map-remove($map, sidebar-footer, footer);
173
+
156
174
  $dt: map-merge(
157
175
  setter(map-get($map, sidebar-dt), ()),
158
176
  setter(map-get($map, dt), ())
159
177
  );
178
+
179
+ $map: map-remove($map, sidebar-dt, dt);
180
+
160
181
  $dd: map-merge(
161
182
  setter(map-get($map, sidebar-dd), ()),
162
183
  setter(map-get($map, dd), ())
163
184
  );
164
185
 
186
+ $map: map-remove($map, sidebar-dd, dd);
187
+
165
188
  $nav-nested: setter(map-get($map, nav-nested), ());
166
189
 
167
190
  $nav-nested-nav-link: map-merge(
@@ -169,8 +192,12 @@
169
192
  setter(map-get($map, nav-nested-link), ())
170
193
  );
171
194
 
195
+ $map: map-remove($map, nav-link, nav-nested, nav-nested-link);
196
+
172
197
  $sidebar-list-group: setter(map-get($map, sidebar-list-group), ());
173
198
 
199
+ $map: map-remove($map, sidebar-list-group);
200
+
174
201
  $sidebar-list-group-item: setter(
175
202
  map-get($sidebar-list-group, list-group-item),
176
203
  ()
@@ -199,36 +226,63 @@
199
226
  )
200
227
  );
201
228
 
229
+ $map: map-remove(
230
+ $map,
231
+ list-group-item,
232
+ sidebar-list-group-item-bg,
233
+ sidebar-list-group-item-border-color
234
+ );
235
+
202
236
  $sidebar-list-group-title: map-merge(
203
237
  setter(map-get($sidebar-list-group, list-group-title), ()),
204
238
  setter(map-get($map, sidebar-list-group-title), ())
205
239
  );
206
240
 
241
+ $map: map-remove($map, list-group-title, sidebar-list-group-title);
242
+
207
243
  $sidebar-list-group-subtitle: map-merge(
208
244
  setter(map-get($sidebar-list-group, list-group-subtitle), ()),
209
245
  setter(map-get($map, sidebar-list-group-subtitle), ())
210
246
  );
211
247
 
248
+ $map: map-remove(
249
+ $map,
250
+ list-group-subtitle,
251
+ sidebar-list-group-subtitle
252
+ );
253
+
212
254
  $sidebar-list-group-text: map-merge(
213
255
  setter(map-get($sidebar-list-group, list-group-text), ()),
214
256
  setter(map-get($map, sidebar-list-group-text), ())
215
257
  );
216
258
 
259
+ $map: map-remove($map, list-group-text, sidebar-list-group-text);
260
+
217
261
  $sidebar-list-group-subtext: map-merge(
218
262
  setter(map-get($sidebar-list-group, list-group-subtext), ()),
219
263
  setter(map-get($map, sidebar-list-group-subtext), ())
220
264
  );
221
265
 
266
+ $map: map-remove($map, list-group-subtext, sidebar-list-group-subtext);
267
+
222
268
  $sidebar-list-group-sticker: map-deep-merge(
223
269
  map-get($sidebar-list-group, sticker),
224
270
  map-get($map, sidebar-list-group-sticker)
225
271
  );
226
272
 
273
+ $map: map-remove($map, sticker, sidebar-list-group-sticker);
274
+
227
275
  $sidebar-list-group-sticker-secondary: map-deep-merge(
228
276
  map-get($sidebar-list-group, sticker-secondary),
229
277
  map-get($map, sidebar-list-group-sticker-secondary)
230
278
  );
231
279
 
280
+ $map: map-remove(
281
+ $map,
282
+ sticker-secondary,
283
+ sidebar-list-group-sticker-secondary
284
+ );
285
+
232
286
  @if ($enabled) {
233
287
  @if (length($base) != 0) {
234
288
  @include clay-css($base);
@@ -236,6 +290,7 @@
236
290
 
237
291
  @at-root {
238
292
  $_sidenav-start: map-get($map, sidenav-start);
293
+ $map: map-remove($map, sidenav-start);
239
294
 
240
295
  @if ($_sidenav-start) {
241
296
  #{clay-insert-before(clay-parent(&), '.sidenav-start ')},
@@ -255,6 +310,7 @@
255
310
  }
256
311
 
257
312
  $_sidenav-end: map-get($map, sidenav-right);
313
+ $map: map-remove($map, sidenav-right);
258
314
 
259
315
  @if ($_sidenav-end) {
260
316
  #{clay-insert-before(clay-parent(&), '.sidenav-end ')},
@@ -275,6 +331,7 @@
275
331
  }
276
332
 
277
333
  $_focus: map-get($map, focus);
334
+ $map: map-remove($map, focus);
278
335
 
279
336
  @if ($_focus) {
280
337
  @at-root {
@@ -287,6 +344,7 @@
287
344
  }
288
345
 
289
346
  $_component-link: map-get($map, component-link);
347
+ $map: map-remove($map, component-link);
290
348
 
291
349
  @if ($_component-link) {
292
350
  .component-link {
@@ -295,6 +353,7 @@
295
353
  }
296
354
 
297
355
  $_close: map-get($map, close);
356
+ $map: map-remove($map, close);
298
357
 
299
358
  @if ($_close) {
300
359
  .close {
@@ -427,6 +486,7 @@
427
486
  }
428
487
 
429
488
  $_panel-unstyled: map-get($map, panel-unstyled);
489
+ $map: map-remove($map, panel-unstyled);
430
490
 
431
491
  @if ($_panel-unstyled) {
432
492
  .panel-unstyled {
@@ -435,6 +495,7 @@
435
495
  }
436
496
 
437
497
  $_component-navigation-bar: map-get($map, component-navigation-bar);
498
+ $map: map-remove($map, component-navigation-bar);
438
499
 
439
500
  @if ($_component-navigation-bar) {
440
501
  .component-navigation-bar {
@@ -443,6 +504,7 @@
443
504
  }
444
505
 
445
506
  $_panel-group: map-get($map, panel-group);
507
+ $map: map-remove($map, panel-group);
446
508
 
447
509
  @if ($_panel-group) {
448
510
  .panel-group {
@@ -451,6 +513,7 @@
451
513
  }
452
514
 
453
515
  $_btn: map-get($map, btn);
516
+ $map: map-remove($map, btn);
454
517
 
455
518
  @if ($_btn) {
456
519
  .btn {
@@ -459,6 +522,7 @@
459
522
  }
460
523
 
461
524
  $_form-control: map-get($map, form-control);
525
+ $map: map-remove($map, form-control);
462
526
 
463
527
  @if ($_form-control) {
464
528
  .form-control {
@@ -467,6 +531,7 @@
467
531
  }
468
532
 
469
533
  $_form-control-select: map-get($map, form-control-select);
534
+ $map: map-remove($map, form-control-select);
470
535
 
471
536
  @if ($_form-control-select) {
472
537
  select.form-control,
@@ -476,6 +541,7 @@
476
541
  }
477
542
 
478
543
  $_form-control-tag-group: map-get($map, form-control-tag-group);
544
+ $map: map-remove($map, form-control-tag-group);
479
545
 
480
546
  @if ($_form-control-tag-group) {
481
547
  .form-control-tag-group {
@@ -484,6 +550,7 @@
484
550
  }
485
551
 
486
552
  $_input-group: map-get($map, input-group);
553
+ $map: map-remove($map, input-group);
487
554
 
488
555
  @if ($_input-group) {
489
556
  .input-group {
@@ -25,6 +25,22 @@
25
25
  @include clay-css($map);
26
26
  }
27
27
 
28
+ $_c-slideout-push-start: map-get($map, '&.c-slideout-push-start');
29
+
30
+ @if ($_c-slideout-push-start) {
31
+ &.c-slideout-push-start {
32
+ @include clay-css($_c-slideout-push-start);
33
+ }
34
+ }
35
+
36
+ $_c-slideout-push-end: map-get($map, '&.c-slideout-push-end');
37
+
38
+ @if ($_c-slideout-push-end) {
39
+ &.c-slideout-push-end {
40
+ @include clay-css($_c-slideout-push-end);
41
+ }
42
+ }
43
+
28
44
  $_c-slideout-shown: map-get($map, c-slideout-shown);
29
45
 
30
46
  @if ($_c-slideout-shown) {
@@ -14,7 +14,6 @@ $drilldown-inner: map-merge(
14
14
  (
15
15
  display: flex,
16
16
  flex-grow: 1,
17
- overflow: hidden,
18
17
  transition: $drilldown-inner-transition,
19
18
  ),
20
19
  $drilldown-inner
@@ -59,6 +58,7 @@ $drilldown-dropdown-menu-drilldown-inner: () !default;
59
58
  $drilldown-dropdown-menu-drilldown-inner: map-merge(
60
59
  (
61
60
  min-height: 266px,
61
+ overflow: hidden,
62
62
  ),
63
63
  $drilldown-dropdown-menu-drilldown-inner
64
64
  );
@@ -296,10 +296,21 @@ $input-label: map-deep-merge(
296
296
  for: (
297
297
  cursor: $input-label-for-cursor,
298
298
  ),
299
+ '+ .form-feedback-group': (
300
+ margin-bottom: 0.75rem,
301
+ ),
299
302
  form-text: (
300
303
  margin-bottom: $input-label-margin-bottom,
301
304
  margin-top: 0,
302
305
  ),
306
+ form-help-text: (
307
+ color: $secondary-l0,
308
+ display: inline,
309
+ font-size: 0.875rem,
310
+ font-weight: $font-weight-normal,
311
+ margin-left: 0.5rem,
312
+ margin-top: 0,
313
+ ),
303
314
  reference-mark: (
304
315
  color: $input-label-reference-mark-color,
305
316
  font-size: $input-label-reference-mark-font-size,
@@ -717,6 +728,17 @@ $form-text: map-merge(
717
728
  $form-text
718
729
  );
719
730
 
731
+ $form-help-text: () !default;
732
+ $form-help-text: map-deep-merge(
733
+ (
734
+ color: $secondary,
735
+ display: block,
736
+ font-size: 0.875rem,
737
+ margin-top: 0.25rem,
738
+ ),
739
+ $form-help-text
740
+ );
741
+
720
742
  // .form-feedback-item
721
743
 
722
744
  $form-feedback-font-size: $small-font-size !default;
@@ -40,17 +40,18 @@ $scaling-breakpoint-down: sm !default;
40
40
  $enable-clay-color-functions-process-fallback: false !default;
41
41
 
42
42
  $enable-caret: false !default;
43
- $enable-rounded: true !default;
44
- $enable-shadows: false !default;
43
+ $enable-deprecation-messages: true !default;
45
44
  $enable-gradients: false !default;
46
- $enable-transitions: true !default;
47
- $enable-prefers-reduced-motion-media-query: true !default;
48
45
  $enable-grid-classes: true !default;
46
+ $enable-pagination-sizes: false !default;
49
47
  $enable-pointer-cursor-for-buttons: true !default;
48
+ $enable-prefers-reduced-motion-media-query: true !default;
50
49
  $enable-print-styles: true !default;
51
50
  $enable-responsive-font-sizes: false !default;
51
+ $enable-rounded: true !default;
52
+ $enable-shadows: false !default;
53
+ $enable-transitions: true !default;
52
54
  $enable-validation-icons: false !default;
53
- $enable-deprecation-messages: true !default;
54
55
 
55
56
  // Deprecated, no longer affects any compiled CSS
56
57
 
@@ -401,6 +401,8 @@ $pagination-results: map-merge(
401
401
  $pagination-results
402
402
  );
403
403
 
404
+ /// @deprecated Pagination Sizes as of v3.146.0
405
+
404
406
  // .pagination-sm
405
407
 
406
408
  $pagination-font-size-sm: $font-size-sm !default;