@clayui/css 3.44.2 → 3.47.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 (76) hide show
  1. package/README.md +23 -69
  2. package/lib/css/atlas.css +457 -86
  3. package/lib/css/atlas.css.map +1 -1
  4. package/lib/css/base.css +411 -68
  5. package/lib/css/base.css.map +1 -1
  6. package/lib/css/cadmin.css +204 -90
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/add-cell.svg +1 -1
  9. package/lib/images/icons/corner-radius.svg +12 -0
  10. package/lib/images/icons/export.svg +11 -0
  11. package/lib/images/icons/font-family.svg +10 -0
  12. package/lib/images/icons/font-size.svg +10 -0
  13. package/lib/images/icons/icons.svg +1 -1
  14. package/lib/images/icons/shadow.svg +9 -0
  15. package/package.json +2 -2
  16. package/src/images/icons/add-cell.svg +1 -1
  17. package/src/images/icons/corner-radius.svg +12 -0
  18. package/src/images/icons/export.svg +11 -0
  19. package/src/images/icons/font-family.svg +10 -0
  20. package/src/images/icons/font-size.svg +10 -0
  21. package/src/images/icons/shadow.svg +9 -0
  22. package/src/scss/_components.scss +1 -0
  23. package/src/scss/_variables.scss +2 -0
  24. package/src/scss/atlas/variables/_buttons.scss +3 -0
  25. package/src/scss/atlas/variables/_cards.scss +12 -0
  26. package/src/scss/atlas/variables/_forms.scss +2 -1
  27. package/src/scss/atlas/variables/_globals.scss +42 -13
  28. package/src/scss/atlas/variables/_list-group.scss +28 -12
  29. package/src/scss/cadmin/_variables.scss +1 -0
  30. package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
  31. package/src/scss/cadmin/components/_cards.scss +10 -120
  32. package/src/scss/cadmin/components/_custom-forms.scss +4 -0
  33. package/src/scss/cadmin/components/_empty-state.scss +36 -0
  34. package/src/scss/cadmin/components/_forms.scss +1 -1
  35. package/src/scss/cadmin/components/_links.scss +1 -14
  36. package/src/scss/cadmin/components/_navs.scss +8 -0
  37. package/src/scss/cadmin/components/_treeview.scss +191 -210
  38. package/src/scss/cadmin/components/_type.scss +27 -42
  39. package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
  40. package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
  41. package/src/scss/cadmin/variables/_cards.scss +164 -1
  42. package/src/scss/cadmin/variables/_custom-forms.scss +3 -0
  43. package/src/scss/cadmin/variables/_empty-state.scss +23 -0
  44. package/src/scss/cadmin/variables/_forms.scss +3 -2
  45. package/src/scss/cadmin/variables/_globals.scss +173 -11
  46. package/src/scss/cadmin/variables/_links.scss +14 -0
  47. package/src/scss/cadmin/variables/_list-group.scss +32 -16
  48. package/src/scss/cadmin/variables/_sidebar.scss +1 -1
  49. package/src/scss/cadmin/variables/_treeview.scss +38 -17
  50. package/src/scss/cadmin/variables/_utilities.scss +42 -0
  51. package/src/scss/components/_aspect-ratio.scss +25 -38
  52. package/src/scss/components/_cards.scss +28 -122
  53. package/src/scss/components/_empty-state.scss +30 -0
  54. package/src/scss/components/_forms.scss +1 -1
  55. package/src/scss/components/_links.scss +12 -8
  56. package/src/scss/components/_tables.scss +0 -8
  57. package/src/scss/components/_treeview.scss +367 -0
  58. package/src/scss/components/_type.scss +27 -41
  59. package/src/scss/components/_utilities-functional-important.scss +35 -15
  60. package/src/scss/functions/_lx-icons-generated.scss +10 -0
  61. package/src/scss/mixins/_buttons.scss +4 -0
  62. package/src/scss/mixins/_cards.scss +59 -25
  63. package/src/scss/mixins/_grid.scss +29 -0
  64. package/src/scss/mixins/_links.scss +22 -2
  65. package/src/scss/variables/_aspect-ratio.scss +26 -0
  66. package/src/scss/variables/_buttons.scss +6 -0
  67. package/src/scss/variables/_cards.scss +158 -4
  68. package/src/scss/variables/_empty-state.scss +23 -0
  69. package/src/scss/variables/_forms.scss +3 -2
  70. package/src/scss/variables/_globals.scss +172 -11
  71. package/src/scss/variables/_links.scss +38 -3
  72. package/src/scss/variables/_list-group.scss +22 -12
  73. package/src/scss/variables/_sidebar.scss +3 -3
  74. package/src/scss/variables/_tables.scss +14 -0
  75. package/src/scss/variables/_treeview.scss +242 -0
  76. package/src/scss/variables/_utilities.scss +42 -0
@@ -12,65 +12,51 @@ h6,
12
12
  .h4,
13
13
  .h5,
14
14
  .h6 {
15
- color: $headings-color;
16
- font-family: $headings-font-family;
17
- font-weight: $headings-font-weight;
18
- line-height: $headings-line-height;
19
- margin-bottom: $headings-margin-bottom;
15
+ @include clay-css($headings);
16
+
17
+ @include clay-generate-media-breakpoints($headings);
20
18
  }
21
19
 
22
20
  h1,
23
21
  .h1 {
24
- font-size: $h1-font-size;
22
+ @include clay-css($h1);
25
23
 
26
- @include clay-scale-component {
27
- font-size: $h1-font-size-mobile;
28
- }
24
+ @include clay-generate-media-breakpoints($h1);
29
25
  }
30
26
 
31
27
  h2,
32
28
  .h2 {
33
- font-size: $h2-font-size;
29
+ @include clay-css($h2);
34
30
 
35
- @include clay-scale-component {
36
- font-size: $h2-font-size-mobile;
37
- }
31
+ @include clay-generate-media-breakpoints($h2);
38
32
  }
39
33
 
40
34
  h3,
41
35
  .h3 {
42
- font-size: $h3-font-size;
36
+ @include clay-css($h3);
43
37
 
44
- @include clay-scale-component {
45
- font-size: $h3-font-size-mobile;
46
- }
38
+ @include clay-generate-media-breakpoints($h3);
47
39
  }
48
40
 
49
41
  h4,
50
42
  .h4 {
51
- font-size: $h4-font-size;
43
+ @include clay-css($h4);
52
44
 
53
- @include clay-scale-component {
54
- font-size: $h4-font-size-mobile;
55
- }
45
+ @include clay-generate-media-breakpoints($h4);
56
46
  }
57
47
 
58
48
  h5,
59
49
  .h5 {
60
- font-size: $h5-font-size;
50
+ @include clay-css($h5);
61
51
 
62
- @include clay-scale-component {
63
- font-size: $h5-font-size-mobile;
64
- }
52
+ @include clay-generate-media-breakpoints($h5);
65
53
  }
66
54
 
67
55
  h6,
68
56
  .h6 {
69
- font-size: $h6-font-size;
57
+ @include clay-css($h6);
70
58
 
71
- @include clay-scale-component {
72
- font-size: $h6-font-size-mobile;
73
- }
59
+ @include clay-generate-media-breakpoints($h6);
74
60
  }
75
61
 
76
62
  .lead {
@@ -81,27 +67,27 @@ h6,
81
67
  // Type display classes
82
68
 
83
69
  .display-1 {
84
- font-size: $display1-size;
85
- font-weight: $display1-weight;
86
- line-height: $display-line-height;
70
+ @include clay-css($display-1);
71
+
72
+ @include clay-generate-media-breakpoints($display-1);
87
73
  }
88
74
 
89
75
  .display-2 {
90
- font-size: $display2-size;
91
- font-weight: $display2-weight;
92
- line-height: $display-line-height;
76
+ @include clay-css($display-2);
77
+
78
+ @include clay-generate-media-breakpoints($display-2);
93
79
  }
94
80
 
95
81
  .display-3 {
96
- font-size: $display3-size;
97
- font-weight: $display3-weight;
98
- line-height: $display-line-height;
82
+ @include clay-css($display-3);
83
+
84
+ @include clay-generate-media-breakpoints($display-3);
99
85
  }
100
86
 
101
87
  .display-4 {
102
- font-size: $display4-size;
103
- font-weight: $display4-weight;
104
- line-height: $display-line-height;
88
+ @include clay-css($display-4);
89
+
90
+ @include clay-generate-media-breakpoints($display-4);
105
91
  }
106
92
 
107
93
  // Horizontal rules
@@ -619,12 +619,6 @@
619
619
  }
620
620
  }
621
621
 
622
- // Text
623
-
624
- .text-monospace {
625
- font-family: $font-family-monospace !important;
626
- }
627
-
628
622
  // Text Alignment
629
623
 
630
624
  .text-justify {
@@ -681,34 +675,60 @@
681
675
 
682
676
  // Font Weight and Italics
683
677
 
684
- .font-weight-light {
685
- font-weight: $font-weight-light !important;
678
+ .font-weight-lighter,
679
+ .text-weight-lighter {
680
+ font-weight: $font-weight-lighter !important;
686
681
  }
687
682
 
688
- .font-weight-lighter {
689
- font-weight: $font-weight-lighter !important;
683
+ .font-weight-light,
684
+ .text-weight-light {
685
+ font-weight: $font-weight-light !important;
690
686
  }
691
687
 
692
- .font-weight-normal {
688
+ .font-weight-normal,
689
+ .text-weight-normal {
693
690
  font-weight: $font-weight-normal !important;
694
691
  }
695
692
 
696
- .font-weight-semi-bold {
693
+ .font-weight-semi-bold,
694
+ .text-weight-semi-bold {
697
695
  font-weight: $font-weight-semi-bold !important;
698
696
  }
699
697
 
700
- .font-weight-bold {
698
+ .font-weight-bold,
699
+ .text-weight-bold {
701
700
  font-weight: $font-weight-bold !important;
702
701
  }
703
702
 
704
- .font-weight-bolder {
703
+ .font-weight-bolder,
704
+ .text-weight-bolder {
705
705
  font-weight: $font-weight-bolder !important;
706
706
  }
707
707
 
708
- .font-italic {
708
+ .font-italic,
709
+ .text-italic {
709
710
  font-style: italic !important;
710
711
  }
711
712
 
713
+ .font-monospace,
714
+ .text-monospace {
715
+ font-family: $font-family-monospace !important;
716
+ }
717
+
718
+ // Font Sizes
719
+
720
+ @each $selector, $value in $font-sizes {
721
+ $selector: if(
722
+ starts-with($selector, '.') or starts-with($selector, '#'),
723
+ $selector,
724
+ str-insert($selector, '.', 1)
725
+ );
726
+
727
+ #{$selector} {
728
+ @include clay-css($value);
729
+ }
730
+ }
731
+
712
732
  // Contextual Colors
713
733
 
714
734
  .text-white {
@@ -194,6 +194,8 @@
194
194
 
195
195
  'copy': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-body" d="M412 128h-60V68c0-37.4-30.6-68-68-68H100C62.6 0 32 30.6 32 68v248c0 37.4 30.6 68 68 68h60v60c0 37.4 30.6 68 68 68h184c37.4 0 68-30.6 68-68V196c0-37.4-30.6-68-68-68z" fill="none"/><path class="lexicon-icon-outline" d="M412 128h-60V68c0-37.4-30.6-68-68-68H100C62.6 0 32 30.6 32 68v248c0 37.4 30.6 68 68 68h60v60c0 37.4 30.6 68 68 68h184c37.4 0 68-30.6 68-68V196c0-37.4-30.6-68-68-68zm-252 68v124H96V64h192v64h-60c-37.4 0-68 30.6-68 68zm256 252H224V192h192v256z" fill="#{$color}"/></svg>',
196
196
 
197
+ 'corner-radius': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline corner-radius-bottom-right" d="M448 384c0 35.3-28.7 64-64 64h-64v64h64c70.7 0 128-57.3 128-128v-64h-64v64z" fill="#{$color}"/><path class="lexicon-icon-outline corner-radius-top-right" d="M384 0h-64v64h64c35.3 0 64 28.7 64 64v64h64v-64C512 57.3 454.7 0 384 0z" fill="#{$color}"/><path class="lexicon-icon-outline corner-radius-top-left" d="M64 128c0-35.3 28.7-64 64-64h64V0h-64C57.3 0 0 57.3 0 128v64h64v-64z" fill="#{$color}"/><path class="lexicon-icon-outline corner-radius-bottom-left" d="M64 384v-64H0v64c0 70.7 57.3 128 128 128h64v-64h-64c-35.3 0-64-28.7-64-64z" fill="#{$color}"/></svg>',
198
+
197
199
  'credit-card': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-credit-card-border" d="M448 32.1 64 32C32 32 0 64.1 0 96v320.1c0 32 32 64 64 64h384c32 0 64-32 64-64V96c0-31.9-32-63.9-64-63.9zm0 384H64v-224h384v224zm0-288H64V96h384v32.1z" fill="#{$color}"/><path class="lexicon-icon-outline lx-credit-card-text" d="M304 288.1h64c62.7 0 63.3 96 0 96h-64c-63.3 0-64.3-96 0-96z" fill="#{$color}"/></svg>',
198
200
 
199
201
  'cursor': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M468.3 273.8 110.6 5.9c-20.2-15.1-48.7.8-46.5 25.9l40.4 453.6c2.4 27 37.2 36.4 52.8 14.2l106.5-151c5.1-7.2 13.2-11.8 22-12.3l166.7-10c27.2-1.7 37.5-36.2 15.8-52.5z" fill="#{$color}"/></svg>',
@@ -294,6 +296,8 @@
294
296
 
295
297
  'expand': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M64 128v-25.4l88 88c25.5 25.5 64.5-12.8 38.6-38.6l-88-88H128c42.6 0 42.6-64 0-64H32C16.4 0 0 14.4 0 32v96c0 42.7 64 42.6 64 0zm384 0v-25.4l-88 88c-25.5 25.5-64.5-12.8-38.6-38.6l88-88H384c-42.6 0-42.6-64 0-64h96c15.6 0 32 14.4 32 32v96c0 42.7-64 42.6-64 0zM64 384v25.4l88-88c25.5-25.5 64.5 12.8 38.6 38.6l-88 88H128c42.6 0 42.6 64 0 64H32c-15.6 0-32-14.4-32-32v-96c0-42.7 64-42.6 64 0zm384 0v25.4l-88-88c-25.5-25.5-64.5 12.8-38.6 38.6l88 88H384c-42.6 0-42.6 64 0 64h96c15.6 0 32-14.4 32-32v-96c0-42.7-64-42.6-64 0z" fill="#{$color}"/></svg>',
296
298
 
299
+ 'export': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline export-base" d="M448 256.3v191.8H64V256.3c0-41.6-64-41.6-64 0v191.8C0 483.2 28.8 512 64 512h384c35.2 0 64-28.8 64-63.9V256.3c0-44.8-64-41.6-64 0z" fill="#{$color}"/><path class="lexicon-icon-outline export-dash" d="M320 384.1H192c-41.6 0-41.6-63.9 0-63.9h128c41.6 0 44.8 63.9 0 63.9z" fill="#{$color}"/><path class="lexicon-icon-outline export-arrow-up" d="m233.6 10.1-64 63.9c-28.8 28.8 12.8 67.1 38.4 44.8l16-16v121.5c0 41.6 64 41.6 64 0V102.8l16 16c28.8 22.4 64-19.2 38.4-44.8l-64-63.9c-6.4-6.4-25.6-19.1-44.8 0z" fill="#{$color}"/></svg>',
300
+
297
301
  'fieldset': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-fieldset-bracket-start" d="M128 64c0-17.7-14.3-32-32-32H64C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V96h32c17.7 0 32-14.3 32-32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-bracket-end" d="M512 416c0 35.3-28.7 64-64 64h-32c-17.7 0-32-14.3-32-32s14.3-32 32-32h32V96h-32c-17.7 0-32-14.3-32-32s14.3-32 32-32h32c35.3 0 64 28.7 64 64v320z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-1-dot" d="M128 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-1-line" d="M224 160h160c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-2-dot" d="M384 288H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32s-14.3-32-32-32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-fieldset-line-2-line" d="M128 352c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z" fill="#{$color}"/></svg>',
298
302
 
299
303
  'file-script': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline file-script-border" d="M320 64v64c0 17.7 14.3 32 32 32h64v288H96V64h224zm5.5-64H96C60.7 0 32 28.7 32 64v384c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V154.5c0-33.5-18-44.5-63.5-90S360 0 325.5 0z" fill="#{$color}"/><path class="lexicon-icon-outline file-script-forward-slash" d="m212.2 409.2 69.1-187.5c7.7-20.7 37.7-7.7 30.1 10.9l-69.1 187.5C234 440 205 428 212.2 409.2z" fill="#{$color}"/><path class="lexicon-icon-outline file-script-angle-bracket-open" d="m160 320 35.9-35.9-22.6-22.6-35.9 35.9c-12.5 12.5-12.5 32.8 0 45.3l35.9 35.9 22.6-22.6-35.9-36z" fill="#{$color}"/><path class="lexicon-icon-outline file-script-angle-bracket-close" d="M355.9 320 320 284.1l22.6-22.6 35.9 35.9c12.5 12.5 12.5 32.8 0 45.3l-35.9 35.9-22.6-22.7 35.9-35.9z" fill="#{$color}"/></svg>',
@@ -412,6 +416,10 @@
412
416
 
413
417
  'folder': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M448 128h-96L241.1 44.8C230 36.5 216.5 32 202.7 32H64C28.7 32 0 60.7 0 96v320c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64z" fill="#{$color}"/></svg>',
414
418
 
419
+ 'font-family': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline font-family-capital-a" d="M264.4 375.1 175.6 126c-15.3-40.4-69.5-39.4-84.8 0l-89 249.2c-11.7 34.4 38.6 53.1 52.1 17.8l20.5-62.7h117.4l20.5 62.6c14.1 36.5 63.6 15.4 52.1-17.8zM88.6 286.7l43.9-134.4h1.1l43.9 134.4H88.6z" fill="#{$color}"/><path class="lexicon-icon-outline font-family-lowercase-a" d="M316.1 229.9c-8.5 34.1 46.5 36.9 49.9 12.4 5.8-37.3 100.5-52.5 90.3 25.1C176.5 251 345 517.6 456.4 374c-6.9 47.6 55.6 44.7 55.6 11.2V247c.1-96.9-170.5-108.8-195.9-17.1zm43.5 110.7c.8-33.3 32-39.8 96.9-36.1 5.5 88-96.9 82.2-96.9 36.1z" fill="#{$color}"/></svg>',
420
+
421
+ 'font-size': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline font-size-ns-resize" d="M455.4 348.5 441 362.9V151l14.4 13.6c33.9 29.2 75.9-17.1 46.9-46.2l-62.9-61.1c-12.9-12.5-33.7-12.5-46.6 0L330 118.5c-29.9 31.6 13.6 73.9 46.9 45l14.4-14.4V361l-14.4-13.6c-30.7-27.9-77.4 12.7-46.9 46.2l62.9 61.1c12.9 12.5 33.7 12.5 46.6 0l62.9-61.1c29.3-30.6-14.8-75.2-47-45.1z" fill="#{$color}"/><path class="lexicon-icon-outline font-size-lowercase-a" d="M14.8 183.6C4.9 223.4 69 226.7 73 198.1c6.8-43.5 117.2-61.3 105.4 29.3-326.5-19.2-129.9 291.8 0 124.3-8 55.5 64.9 52.2 64.9 13.1V203.6c.1-113.1-198.9-127-228.5-20zm50.7 129.1c.9-38.9 37.3-46.4 113-42.1 6.5 102.7-113 95.9-113 42.1z" fill="#{$color}"/></svg>',
422
+
415
423
  'form-extensions': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline lx-form-extensions-border-1" fill="#{$color}" d="M256 0h64v64h-64z"/><circle class="lexicon-icon-outline lx-form-extensions-circle-1" transform="rotate(-11.976 127.97 159.967)" cx="128" cy="160" fill="#{$color}" r="32"/><path class="lexicon-icon-outline lx-form-extensions-rectangle-1" d="M224 192h160c17.7 0 32-14.3 32-32s-14.3-32-32-32H224c-17.7 0-32 14.3-32 32s14.3 32 32 32z" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-rectangle-2" d="M384 224H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32s-14.3-32-32-32z" fill="#{$color}"/><circle class="lexicon-icon-outline lx-form-extensions-circle-2" transform="rotate(-61.894 128.006 255.995)" cx="128" cy="256" fill="#{$color}" r="32"/><path class="lexicon-icon-outline lx-form-extensions-rectangle-3" d="M416 354c0-17.7-14.3-32-32-32H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32z" fill="#{$color}"/><circle class="lexicon-icon-outline lx-form-extensions-circle-3" cx="128" cy="354" r="32" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-border-2" fill="#{$color}" d="M448 192h64v128h-64z"/><path class="lexicon-icon-outline lx-form-extensions-border-3" fill="#{$color}" d="M256 448h64v64h-64z"/><path class="lexicon-icon-outline lx-form-extensions-border-4" d="M64 64h128V0H64C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h128v-64H64V64z" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-border-5" d="M448 448h-64v64h64c35.3 0 64-28.7 64-64v-64h-64v64z" fill="#{$color}"/><path class="lexicon-icon-outline lx-form-extensions-border-6" d="M448 0h-64v64h64v64h64V64c0-35.3-28.7-64-64-64z" fill="#{$color}"/></svg>',
416
424
 
417
425
  'format': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="format-roller lexicon-icon-outline" d="M416 192H192c-35.3 0-64-28.7-64-64V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v64c0 35.3-28.7 64-64 64z" fill="#{$color}"/><path class="format-handle lexicon-icon-outline" d="M320 320v-64c0-17.7-14.3-32-32-32H96V96c0-43-64-43-64 0v160c0 17.7 14.3 32 32 32h192v32c-17.7 0-32 14.3-32 32v160h128V352c0-17.7-14.3-32-32-32z" fill="#{$color}"/></svg>',
@@ -668,6 +676,8 @@
668
676
 
669
677
  'separator': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline separator-content-2" d="M416 448H96c-17.7 0-32-14.3-32-32v-32c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32z" fill="#{$color}"/><path class="lexicon-icon-outline separator-divider" d="M464 272H48c-21.2 0-20.5-32 0-32h416c20.8 0 21.8 32 0 32z" fill="#{$color}"/><path class="lexicon-icon-outline separator-content-1" d="M416 160H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32z" fill="#{$color}"/></svg>',
670
678
 
679
+ 'shadow': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M453.4 51.3C361.2-33.7 187.7-18 136.6 136 14.2 172.8-55.8 335.2 56.4 455.4c126.2 118 290.4 32 319.5-79.9 150.5-52.9 175.9-229 77.5-324.2zM192.3 191.6c0-168.8 256-168.3 256 0 0 170.7-256 168.5-256 0z" fill="#{$color}"/></svg>',
680
+
671
681
  'share-alt': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M397.255 402.745a63.725 63.725 0 0 0-20.334-13.702C369.01 385.697 360.625 384 352 384s-17.01 1.697-24.921 5.043a64.4 64.4 0 0 0-7.587 3.822L215.135 288.508a64.019 64.019 0 0 0 3.822-7.587c3.346-7.911 5.042-16.296 5.042-24.922s-1.696-17.011-5.042-24.922a64.17 64.17 0 0 0-3.822-7.587l104.357-104.357a64.094 64.094 0 0 0 7.587 3.822c7.911 3.346 16.296 5.043 24.921 5.043s17.01-1.697 24.921-5.043c7.625-3.225 14.466-7.835 20.334-13.703s10.478-12.709 13.702-20.334C414.303 81.007 416 72.622 416 63.996s-1.697-17.011-5.043-24.922c-3.225-7.625-7.835-14.466-13.702-20.334S384.546 8.263 376.921 5.037C369.01 1.691 360.625-.006 352-.006s-17.01 1.696-24.921 5.043c-7.625 3.225-14.466 7.835-20.334 13.703s-10.478 12.709-13.702 20.334C289.697 46.985 288 55.37 288 63.996s1.697 17.011 5.043 24.922a64.324 64.324 0 0 0 3.822 7.587L192.508 200.862a63.943 63.943 0 0 0-7.587-3.822c-7.911-3.346-16.296-5.042-24.922-5.042s-17.011 1.696-24.922 5.042c-7.625 3.225-14.466 7.835-20.334 13.702s-10.478 12.709-13.703 20.334c-3.346 7.911-5.043 16.296-5.043 24.922s1.697 17.011 5.043 24.922c3.225 7.625 7.835 14.466 13.703 20.334s12.709 10.478 20.334 13.702c7.911 3.346 16.296 5.043 24.922 5.043s17.011-1.697 24.922-5.043a64.324 64.324 0 0 0 7.587-3.822l104.357 104.357a64.094 64.094 0 0 0-3.822 7.587c-3.346 7.911-5.043 16.296-5.043 24.921s1.697 17.01 5.043 24.921c3.225 7.625 7.835 14.466 13.702 20.334s12.709 10.478 20.334 13.702c7.911 3.346 16.296 5.042 24.921 5.042s17.01-1.697 24.921-5.043c7.625-3.225 14.466-7.835 20.334-13.702s10.478-12.709 13.702-20.334c3.346-7.911 5.043-16.296 5.043-24.921s-1.697-17.01-5.043-24.921a63.743 63.743 0 0 0-13.702-20.333zM352 32c17.673 0 32 14.327 32 32s-14.327 32-32 32-32-14.327-32-32 14.327-32 32-32zM160 288c-17.673 0-32-14.327-32-32s14.327-32 32-32 32 14.327 32 32-14.327 32-32 32zm192 192c-17.673 0-32-14.327-32-32s14.327-32 32-32 32 14.327 32 32-14.327 32-32 32z" fill="#{$color}"/></svg>',
672
682
 
673
683
  'share': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="m326.2 323.3-107.6-53.8c2.7-5.9 2.4-19.9 0-27.1l107.6-53.8c77.2 69.3 185.8 13 185.8-78.9C512 49.2 462.8 0 402.3 0S287 51.3 293.4 123.3l-107.6 53.8C113.3 108 0 161.7 0 256c0 100.3 118.3 143.7 185.8 78.9l107.6 53.8C285 460.7 341.8 512 402.3 512S512 462.8 512 402.3c0-88-105.7-150.3-185.8-79zm112.7-213.6c0 49-73.1 47.6-73.1 0-.1-49.4 73.1-47.7 73.1 0zM73.1 256c0-49 73.1-49 73.1 0 .1 47.3-73.1 49-73.1 0zm292.6 146.3c0-48.6 73.1-49 73.1 0 .1 48.7-73.1 47.4-73.1 0z" fill="#{$color}"/></svg>',
@@ -844,6 +844,10 @@
844
844
 
845
845
  .inline-item {
846
846
  @include clay-css($inline-item);
847
+
848
+ .lexicon-icon {
849
+ @include clay-css(map-get($inline-item, lexicon-icon));
850
+ }
847
851
  }
848
852
 
849
853
  .inline-item-before {
@@ -5,33 +5,30 @@
5
5
  /// A mixin that styles a Card Section (e.g., `.card-header`, `.card-body`, `.card-footer` or `.card-row`). This mixin is used by `clay-card-variant`.
6
6
  /// @param {Map} $map - A map of key-value pairs. The keys are defined in the mixin. Example below:
7
7
  /// @example
8
- /// enabled: {Bool}, // Set to false to prevent mixin styles from being output. Default: true
9
- /// bg: {Color | String | Null},
10
- /// border-color: {Color | String | List | Null},
11
- /// border-radius: {Number | String | List | Null},
12
- /// border-style: {String | List | Null},
13
- /// border-width: {Number | String | List | Null},
14
- /// display: {String | Null},
15
- /// flex-basis: {Number | String | Null},
16
- /// flex-direction: {String | Null},
17
- /// flex-grow: {Number | String | Null},
18
- /// flex-shrink: {Number | String | Null},
19
- /// flex-wrap: {String | Null},
20
- /// margin-bottom: {Number | String | Null},
21
- /// margin-left: {Number | String | Null},
22
- /// margin-right: {Number | String | Null},
23
- /// margin-top: {Number | String | Null},
24
- /// padding-bottom: {Number | String | Null},
25
- /// padding-left: {Number | String | Null},
26
- /// padding-right: {Number | String | Null},
27
- /// padding-top: {Number | String | Null},
28
- /// text-align: {String | Null},
29
- /// width: {Number | String | Null},
8
+ /// (
9
+ /// enabled: {Bool}, // Set to false to prevent mixin styles from being output. Default: true
10
+ /// // .card-section
11
+ /// before: (
12
+ /// // .card-section::before
13
+ /// ),
14
+ /// after: (
15
+ /// // .card-section::after
16
+ /// ),
17
+ /// first-child: (
18
+ /// // .card-section:first-child
19
+ /// ),
20
+ /// last-child: (
21
+ /// // .card-section:last-child
22
+ /// ),
23
+ /// autofit-col: (
24
+ /// // .card-section .autofit-col
25
+ /// ),
26
+ ///
27
+ /// )
28
+ /// -=-=-=-=-=- Deprecated -=-=-=-=-=-
29
+ /// bg: {Color | String | Null}, // deprecated after 3.9.0
30
30
  /// autofit-col-padding-left: {Number | String | Null},
31
31
  /// autofit-col-padding-right: {Number | String | Null},
32
- /// @todo
33
- /// - Add @example
34
- /// - Add @link to documentation
35
32
 
36
33
  @mixin clay-card-section-variant($map) {
37
34
  @if (type-of($map) == 'map') {
@@ -65,6 +62,22 @@
65
62
  @if ($enabled) {
66
63
  @include clay-css($base);
67
64
 
65
+ &::before {
66
+ @include clay-css(map-get($map, before));
67
+ }
68
+
69
+ &::after {
70
+ @include clay-css(map-get($map, after));
71
+ }
72
+
73
+ &:first-child {
74
+ @include clay-css(map-get($map, first-child));
75
+ }
76
+
77
+ &:last-child {
78
+ @include clay-css(map-get($map, last-child));
79
+ }
80
+
68
81
  .autofit-col {
69
82
  @include clay-css($autofit-col);
70
83
  }
@@ -187,6 +200,15 @@
187
200
  /// aspect-ratio-item-bottom-left: (
188
201
  /// // .card .aspect-ratio-item-bottom-left
189
202
  /// ),
203
+ /// hr: (
204
+ /// // .card > hr
205
+ /// before: (
206
+ /// // .card > hr::before
207
+ /// ),
208
+ /// after: (
209
+ /// // .card > hr::after
210
+ /// ),
211
+ /// ),
190
212
  /// sticker: (
191
213
  /// // .card .sticker
192
214
  /// ),
@@ -844,6 +866,18 @@
844
866
  @include clay-css(map-get($map, aspect-ratio-item-bottom-left));
845
867
  }
846
868
 
869
+ > hr {
870
+ @include clay-css(map-get($map, hr));
871
+
872
+ &::before {
873
+ @include clay-css(map-deep-get($map, hr, before));
874
+ }
875
+
876
+ &::after {
877
+ @include clay-css(map-deep-get($map, hr, after));
878
+ }
879
+ }
880
+
847
881
  .sticker {
848
882
  @include clay-sticker-variant(
849
883
  setter(map-get($map, sticker), ())
@@ -176,6 +176,35 @@
176
176
  }
177
177
  }
178
178
 
179
+ /// A mixin that generates media-breakpoint-{up|down} styles from a Sass map.
180
+ /// @param {Map} $map - A map of `key: value` pairs that is passed to the `clay-css` mixin
181
+
182
+ @mixin clay-generate-media-breakpoints($map) {
183
+ @if (map-get($map, media-breakpoint-up)) {
184
+ $media-breakpoint-up: map-get($map, media-breakpoint-up);
185
+
186
+ @each $breakpoint in map-keys($media-breakpoint-up) {
187
+ $breakpoint-up: map-get($map, $breakpoint);
188
+
189
+ @include media-breakpoint-up($breakpoint) {
190
+ @include clay-css($breakpoint-up);
191
+ }
192
+ }
193
+ }
194
+
195
+ @if (map-get($map, media-breakpoint-down)) {
196
+ $media-breakpoint-down: map-get($map, media-breakpoint-down);
197
+
198
+ @each $breakpoint in map-keys($map) {
199
+ $breakpoint-down: map-get($map, $breakpoint);
200
+
201
+ @include media-breakpoint-down($breakpoint) {
202
+ @include clay-css($breakpoint-down);
203
+ }
204
+ }
205
+ }
206
+ }
207
+
179
208
  /// A Bootstrap 4 mixin that generates the correct number of grid classes given any value of `$grid-columns`. This mixin is deprecated. This has been inlined into `components/_grid.scss`.
180
209
  /// @deprecated
181
210
  /// @param {Number} $columns[$grid-columns]
@@ -870,10 +870,30 @@
870
870
  $link: setter(map-get($map, link), ());
871
871
  $link: map-merge($link, $clay-link);
872
872
 
873
+ $href: setter(map-get($map, href), ());
874
+ $href: map-deep-merge($href, $link);
875
+
873
876
  @include clay-css($map);
874
877
 
875
- a {
876
- @include clay-link($link);
878
+ &::before {
879
+ @include clay-css(map-get($map, before));
880
+ }
881
+
882
+ &::after {
883
+ @include clay-css(map-get($map, after));
884
+ }
885
+
886
+ &:first-child {
887
+ @include clay-css(map-get($map, first-child));
888
+ }
889
+
890
+ &:last-child {
891
+ @include clay-css(map-get($map, last-child));
892
+ }
893
+
894
+ &[href],
895
+ [href] {
896
+ @include clay-link($href);
877
897
  }
878
898
  }
879
899
  }
@@ -0,0 +1,26 @@
1
+ $aspect-ratio-sizes: () !default;
2
+ $aspect-ratio-sizes: map-deep-merge(
3
+ (
4
+ aspect-ratio-3-to-2: (
5
+ height: 2,
6
+ width: 3,
7
+ ),
8
+ aspect-ratio-4-to-3: (
9
+ height: 3,
10
+ width: 4,
11
+ ),
12
+ aspect-ratio-8-to-3: (
13
+ height: 3,
14
+ width: 8,
15
+ ),
16
+ aspect-ratio-8-to-5: (
17
+ height: 5,
18
+ width: 8,
19
+ ),
20
+ aspect-ratio-16-to-9: (
21
+ height: 9,
22
+ width: 16,
23
+ ),
24
+ ),
25
+ $aspect-ratio-sizes
26
+ );
@@ -92,6 +92,9 @@ $btn: map-deep-merge(
92
92
  ),
93
93
  inline-item: (
94
94
  font-size: $btn-inline-item-font-size,
95
+ lexicon-icon: (
96
+ margin-top: 0,
97
+ ),
95
98
  ),
96
99
  btn-section: (
97
100
  display: block,
@@ -226,6 +229,9 @@ $btn-monospaced: map-deep-merge(
226
229
  height: $btn-monospaced-size-mobile,
227
230
  width: $btn-monospaced-size-mobile,
228
231
  ),
232
+ lexicon-icon: (
233
+ margin-top: 0,
234
+ ),
229
235
  c-inner: (
230
236
  align-items: center,
231
237
  display: flex,