@clayui/css 3.39.0 → 3.42.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 (109) hide show
  1. package/lib/css/atlas.css +1127 -1387
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +908 -1138
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +1021 -1148
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/filter.svg +1 -1
  9. package/lib/images/icons/icons.svg +1 -1
  10. package/package.json +2 -2
  11. package/src/images/icons/filter.svg +1 -1
  12. package/src/scss/_mixins.scss +2 -0
  13. package/src/scss/atlas/variables/_alerts.scss +10 -0
  14. package/src/scss/atlas/variables/_application-bar.scss +32 -12
  15. package/src/scss/atlas/variables/_breadcrumbs.scss +4 -2
  16. package/src/scss/atlas/variables/_cards.scss +2 -2
  17. package/src/scss/atlas/variables/_dropdowns.scss +179 -12
  18. package/src/scss/atlas/variables/_forms.scss +33 -1
  19. package/src/scss/atlas/variables/_globals.scss +13 -0
  20. package/src/scss/atlas/variables/_labels.scss +88 -56
  21. package/src/scss/atlas/variables/_management-bar.scss +53 -21
  22. package/src/scss/atlas/variables/_navigation-bar.scss +104 -18
  23. package/src/scss/atlas/variables/_navs.scss +20 -8
  24. package/src/scss/atlas/variables/_pagination.scss +4 -2
  25. package/src/scss/atlas/variables/_sheets.scss +4 -2
  26. package/src/scss/atlas/variables/_sidebar.scss +1 -1
  27. package/src/scss/atlas/variables/_tables.scss +58 -28
  28. package/src/scss/cadmin/components/_alerts.scss +1 -17
  29. package/src/scss/cadmin/components/_cards.scss +12 -14
  30. package/src/scss/cadmin/components/_dropdowns.scss +66 -196
  31. package/src/scss/cadmin/components/_form-validation.scss +10 -237
  32. package/src/scss/cadmin/components/_icons.scss +1 -6
  33. package/src/scss/cadmin/components/_input-groups.scss +17 -14
  34. package/src/scss/cadmin/components/_pagination.scss +20 -236
  35. package/src/scss/cadmin/components/_popovers.scss +31 -252
  36. package/src/scss/cadmin/components/_reboot.scss +1 -8
  37. package/src/scss/cadmin/components/_toggle-switch.scss +20 -358
  38. package/src/scss/cadmin/components/_tooltip.scss +29 -167
  39. package/src/scss/cadmin/components/_type.scss +9 -1
  40. package/src/scss/cadmin/variables/_alerts.scss +35 -11
  41. package/src/scss/cadmin/variables/_breadcrumbs.scss +10 -6
  42. package/src/scss/cadmin/variables/_cards.scss +91 -23
  43. package/src/scss/cadmin/variables/_dropdowns.scss +440 -71
  44. package/src/scss/cadmin/variables/_forms.scss +353 -2
  45. package/src/scss/cadmin/variables/_globals.scss +14 -0
  46. package/src/scss/cadmin/variables/_icons.scss +15 -2
  47. package/src/scss/cadmin/variables/_labels.scss +104 -72
  48. package/src/scss/cadmin/variables/_links.scss +9 -7
  49. package/src/scss/cadmin/variables/_management-bar.scss +70 -30
  50. package/src/scss/cadmin/variables/_navigation-bar.scss +118 -22
  51. package/src/scss/cadmin/variables/_pagination.scss +274 -68
  52. package/src/scss/cadmin/variables/_popovers.scss +410 -0
  53. package/src/scss/cadmin/variables/_sidebar.scss +17 -5
  54. package/src/scss/cadmin/variables/_toggle-switch.scss +404 -1
  55. package/src/scss/cadmin/variables/_tooltip.scss +299 -0
  56. package/src/scss/cadmin/variables/_type.scss +3 -0
  57. package/src/scss/components/_alerts.scss +5 -17
  58. package/src/scss/components/_button-groups.scss +6 -6
  59. package/src/scss/components/_cards.scss +5 -5
  60. package/src/scss/components/_dropdowns.scss +52 -200
  61. package/src/scss/components/_form-validation.scss +8 -237
  62. package/src/scss/components/_forms.scss +61 -4
  63. package/src/scss/components/_icons.scss +4 -9
  64. package/src/scss/components/_input-groups.scss +17 -14
  65. package/src/scss/components/_multi-step-nav.scss +12 -8
  66. package/src/scss/components/_pagination.scss +18 -234
  67. package/src/scss/components/_popovers.scss +30 -237
  68. package/src/scss/components/_reboot.scss +3 -39
  69. package/src/scss/components/_toggle-switch.scss +36 -351
  70. package/src/scss/components/_tooltip.scss +29 -164
  71. package/src/scss/components/_type.scss +9 -1
  72. package/src/scss/functions/_global-functions.scss +18 -0
  73. package/src/scss/functions/_lx-icons-generated.scss +1 -1
  74. package/src/scss/mixins/_alerts.scss +25 -0
  75. package/src/scss/mixins/_buttons.scss +827 -384
  76. package/src/scss/mixins/_cards.scss +610 -114
  77. package/src/scss/mixins/_close.scss +0 -1
  78. package/src/scss/mixins/_custom-forms.scss +46 -34
  79. package/src/scss/mixins/_dropdown-menu.scss +139 -53
  80. package/src/scss/mixins/_forms.scss +686 -252
  81. package/src/scss/mixins/_globals.scss +244 -234
  82. package/src/scss/mixins/_labels.scss +1 -1
  83. package/src/scss/mixins/_links.scss +795 -329
  84. package/src/scss/mixins/_navbar.scss +759 -140
  85. package/src/scss/mixins/_pagination.scss +422 -0
  86. package/src/scss/mixins/_popovers.scss +90 -0
  87. package/src/scss/mixins/_toggle-switch.scss +1140 -14
  88. package/src/scss/mixins/_tooltip.scss +70 -0
  89. package/src/scss/variables/_alerts.scss +34 -10
  90. package/src/scss/variables/_application-bar.scss +18 -6
  91. package/src/scss/variables/_breadcrumbs.scss +8 -4
  92. package/src/scss/variables/_cards.scss +40 -2
  93. package/src/scss/variables/_dropdowns.scss +570 -62
  94. package/src/scss/variables/_forms.scss +303 -1
  95. package/src/scss/variables/_globals.scss +53 -0
  96. package/src/scss/variables/_icons.scss +60 -9
  97. package/src/scss/variables/_labels.scss +120 -88
  98. package/src/scss/variables/_links.scss +15 -13
  99. package/src/scss/variables/_management-bar.scss +45 -12
  100. package/src/scss/variables/_navigation-bar.scss +95 -14
  101. package/src/scss/variables/_navs.scss +33 -13
  102. package/src/scss/variables/_pagination.scss +267 -65
  103. package/src/scss/variables/_popovers.scss +392 -0
  104. package/src/scss/variables/_sheets.scss +4 -2
  105. package/src/scss/variables/_sidebar.scss +17 -5
  106. package/src/scss/variables/_tables.scss +24 -8
  107. package/src/scss/variables/_toggle-switch.scss +404 -5
  108. package/src/scss/variables/_tooltip.scss +299 -0
  109. package/src/scss/variables/_type.scss +3 -0
@@ -0,0 +1,70 @@
1
+ ////
2
+ /// @group tooltip
3
+ ////
4
+
5
+ /// A mixin to help create `.tooltip` variants.
6
+ /// @param {Map} $map - A map of `key: value` pairs. The keys and value types are listed below:
7
+ /// @example
8
+ /// (
9
+ /// enabled: {Bool}, // Set to false to prevent mixin styles from being output. Default: true
10
+ /// // .tooltip
11
+ /// show: (
12
+ /// // .tooltip.show
13
+ /// ),
14
+ /// arrow: (
15
+ /// // .tooltip .arrow
16
+ /// before: (
17
+ /// // .tooltip .arrow::before
18
+ /// ),
19
+ /// after: (
20
+ /// // .tooltip .arrow::after
21
+ /// ),
22
+ /// ),
23
+ /// tooltip-inner: (
24
+ /// // .tooltip .tooltip-inner
25
+ /// ),
26
+ /// )
27
+
28
+ @mixin clay-tooltip-variant($map) {
29
+ @if (type-of($map) == 'map') {
30
+ $enabled: setter(map-get($map, enabled), true);
31
+
32
+ @if ($enabled) {
33
+ @include clay-css($map);
34
+
35
+ &.show {
36
+ @include clay-css(map-get($map, show));
37
+ }
38
+
39
+ .arrow {
40
+ @include clay-css(map-get($map, arrow));
41
+
42
+ &::before {
43
+ @include clay-css(map-deep-get($map, arrow, before));
44
+ }
45
+
46
+ &::after {
47
+ @include clay-css(map-deep-get($map, arrow, after));
48
+ }
49
+ }
50
+
51
+ .tooltip-arrow {
52
+ @include clay-css(map-get($map, tooltip-arrow));
53
+
54
+ &::before {
55
+ @include clay-css(
56
+ map-deep-get($map, tooltip-arrow, before)
57
+ );
58
+ }
59
+
60
+ &::after {
61
+ @include clay-css(map-deep-get($map, tooltip-arrow, after));
62
+ }
63
+ }
64
+
65
+ .tooltip-inner {
66
+ @include clay-css(map-get($map, tooltip-inner));
67
+ }
68
+ }
69
+ }
70
+ }
@@ -218,26 +218,30 @@ $alert-dismissible: map-deep-merge(
218
218
 
219
219
  // Alert Fluid
220
220
 
221
+ /// @deprecated use the Sass map `$alert-fluid` instead
222
+
221
223
  $alert-fluid-border-bottom-width: 1px !default;
224
+
225
+ /// @deprecated use the Sass map `$alert-fluid` instead
226
+
222
227
  $alert-fluid-border-left-width: 0 !default;
228
+
229
+ /// @deprecated use the Sass map `$alert-fluid` instead
230
+
223
231
  $alert-fluid-border-right-width: 0 !default;
232
+
233
+ /// @deprecated use the Sass map `$alert-fluid` instead
234
+
224
235
  $alert-fluid-border-top-width: 0 !default;
225
236
 
237
+ /// @deprecated use the Sass map `$alert-fluid` instead
238
+
226
239
  $alert-fluid-border-width: $alert-fluid-border-top-width
227
240
  $alert-fluid-border-right-width $alert-fluid-border-bottom-width
228
241
  $alert-fluid-border-left-width !default;
229
242
  $alert-fluid-margin-bottom: 0 !default;
230
243
 
231
- $alert-fluid: () !default;
232
- $alert-fluid: map-merge(
233
- (
234
- border-radius: 0,
235
- border-width: $alert-fluid-border-width,
236
- margin-bottom: $alert-fluid-margin-bottom,
237
- padding: 0,
238
- ),
239
- $alert-fluid
240
- );
244
+ /// @deprecated use the Sass map `$alert-fluid` instead
241
245
 
242
246
  $alert-fluid-container: () !default;
243
247
  $alert-fluid-container: map-merge(
@@ -250,6 +254,8 @@ $alert-fluid-container: map-merge(
250
254
  $alert-fluid-container
251
255
  );
252
256
 
257
+ /// @deprecated use the Sass map `$alert-fluid` instead
258
+
253
259
  $alert-fluid-dismissible-container: () !default;
254
260
  $alert-fluid-dismissible-container: map-merge(
255
261
  (
@@ -267,6 +273,8 @@ $alert-fluid-dismissible-container: map-merge(
267
273
 
268
274
  // .alert-fluid .close
269
275
 
276
+ /// @deprecated use the Sass map `$alert-fluid` instead
277
+
270
278
  $alert-fluid-close: () !default;
271
279
  $alert-fluid-close: map-deep-merge(
272
280
  (
@@ -275,6 +283,22 @@ $alert-fluid-close: map-deep-merge(
275
283
  $alert-fluid-close
276
284
  );
277
285
 
286
+ $alert-fluid: () !default;
287
+ $alert-fluid: map-deep-merge(
288
+ (
289
+ border-radius: 0,
290
+ border-width: $alert-fluid-border-width,
291
+ margin-bottom: $alert-fluid-margin-bottom,
292
+ padding: 0,
293
+ alert-dismissible: (
294
+ container-fluid: $alert-fluid-dismissible-container,
295
+ ),
296
+ container-fluid: $alert-fluid-container,
297
+ close: $alert-fluid-close,
298
+ ),
299
+ $alert-fluid
300
+ );
301
+
278
302
  // .alert-notifications-absolute
279
303
 
280
304
  $alert-notifications-absolute-bottom: null !default;
@@ -21,13 +21,25 @@ $application-bar-base: () !default;
21
21
  $application-bar-dark: () !default;
22
22
  $application-bar-dark: map-deep-merge(
23
23
  (
24
- bg: $dark,
24
+ background-color: $dark,
25
25
  color: $navbar-dark-color,
26
- link-color: $navbar-dark-color,
27
- link-hover-color: $navbar-dark-hover-color,
28
- link-active-color: $navbar-dark-active-color,
29
- link-disabled-color: $navbar-dark-disabled-color,
30
- link-disabled-opacity: 1,
26
+ navbar-nav: (
27
+ nav-link: (
28
+ color: $navbar-dark-color,
29
+ hover: (
30
+ color: $navbar-dark-hover-color,
31
+ ),
32
+ active: (
33
+ color: $navbar-dark-active-color,
34
+ ),
35
+ disabled: (
36
+ color: $navbar-dark-disabled-color,
37
+ opacity: 1,
38
+ ),
39
+ ),
40
+ ),
41
+ media-breakpoint-down: (),
42
+ media-breakpoint-up: (),
31
43
  ),
32
44
  $application-bar-dark
33
45
  );
@@ -37,10 +37,14 @@ $breadcrumb-link: map-deep-merge(
37
37
  display: block,
38
38
  text-decoration: $breadcrumb-link-text-decoration,
39
39
  text-transform: $breadcrumb-text-transform,
40
- hover-color: $breadcrumb-link-hover-color,
41
- hover-text-decoration: $breadcrumb-link-hover-text-decoration,
42
- focus-color: $breadcrumb-link-hover-color,
43
- focus-text-decoration: $breadcrumb-link-hover-text-decoration,
40
+ hover: (
41
+ color: $breadcrumb-link-hover-color,
42
+ text-decoration: $breadcrumb-link-hover-text-decoration,
43
+ ),
44
+ focus: (
45
+ color: $breadcrumb-link-hover-color,
46
+ text-decoration: $breadcrumb-link-hover-text-decoration,
47
+ ),
44
48
  ),
45
49
  $breadcrumb-link
46
50
  );
@@ -327,13 +327,51 @@ $card-interactive-secondary: map-deep-merge(
327
327
  $card-type-asset: () !default;
328
328
  $card-type-asset: map-deep-merge(
329
329
  (
330
+ aspect-ratio: (
331
+ border-color: $card-border-color,
332
+ border-style: solid,
333
+ border-width: 0 0 0.0625rem 0,
334
+ horizontal: 16,
335
+ vertical: 9,
336
+ custom-control: (
337
+ label: (
338
+ bottom: 0,
339
+ cursor: $link-cursor,
340
+ left: 0,
341
+ position: absolute,
342
+ right: 0,
343
+ top: 0,
344
+ ),
345
+ ),
346
+ ),
330
347
  card-type-asset-icon: (
348
+ width: 22.225%,
349
+ inline-item: (
350
+ bottom: 0,
351
+ left: 0,
352
+ position: absolute,
353
+ right: 0,
354
+ top: 0,
355
+ ),
356
+ lexicon-icon: (
357
+ height: 100%,
358
+ width: 100%,
359
+ ),
331
360
  sticker: (
361
+ border-radius: 50%,
332
362
  display: block,
363
+ font-size: 2vw,
333
364
  padding-bottom: 100%,
334
365
  width: 100%,
335
366
  ),
336
367
  ),
368
+ card-row: (
369
+ align-items: flex-start,
370
+ ),
371
+ dropdown-action: (
372
+ margin-right: -0.5rem,
373
+ margin-top: -0.1875rem,
374
+ ),
337
375
  ),
338
376
  $card-type-asset
339
377
  );
@@ -347,7 +385,7 @@ $image-card: () !default;
347
385
  $file-card: () !default;
348
386
  $file-card: map-deep-merge(
349
387
  (
350
- asset-icon: (
388
+ card-type-asset-icon: (
351
389
  color: $gray-600,
352
390
  ),
353
391
  ),
@@ -385,7 +423,7 @@ $product-card: map-deep-merge(
385
423
  $user-card: () !default;
386
424
  $user-card: map-deep-merge(
387
425
  (
388
- asset-icon: (
426
+ card-type-asset-icon: (
389
427
  max-width: 80px,
390
428
  min-width: 48px,
391
429
  width: 30%,