@clayui/css 3.95.1 → 3.97.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 (59) hide show
  1. package/lib/css/atlas.css +287 -94
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +115 -82
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css +0 -0
  6. package/lib/css/bootstrap.css.map +1 -1
  7. package/lib/css/cadmin.css +254 -82
  8. package/lib/css/cadmin.css.map +1 -1
  9. package/lib/images/icons/accessibility.svg +9 -0
  10. package/lib/images/icons/icons.svg +1 -1
  11. package/lib/images/icons/stars.svg +9 -0
  12. package/package.json +3 -2
  13. package/src/images/icons/accessibility.svg +9 -0
  14. package/src/images/icons/stars.svg +9 -0
  15. package/src/scss/_license-text.scss +1 -1
  16. package/src/scss/atlas/variables/_forms.scss +38 -0
  17. package/src/scss/atlas/variables/_menubar.scss +87 -9
  18. package/src/scss/atlas/variables/_pagination.scss +56 -4
  19. package/src/scss/atlas/variables/_tables.scss +4 -4
  20. package/src/scss/cadmin/components/_forms.scss +1 -25
  21. package/src/scss/cadmin/components/_grid.scss +0 -12
  22. package/src/scss/cadmin/components/_multi-step-nav.scss +1 -11
  23. package/src/scss/cadmin/components/_navbar.scss +1 -6
  24. package/src/scss/cadmin/components/_type.scss +0 -21
  25. package/src/scss/cadmin/components/_utilities-functional-important.scss +20 -4
  26. package/src/scss/cadmin/variables/_buttons.scss +12 -2
  27. package/src/scss/cadmin/variables/_forms.scss +31 -0
  28. package/src/scss/cadmin/variables/_menubar.scss +100 -45
  29. package/src/scss/cadmin/variables/_multi-step-nav.scss +18 -0
  30. package/src/scss/cadmin/variables/_navbar.scss +13 -0
  31. package/src/scss/cadmin/variables/_pagination.scss +48 -4
  32. package/src/scss/cadmin/variables/_tables.scss +4 -4
  33. package/src/scss/cadmin/variables/_utilities.scss +111 -1
  34. package/src/scss/components/_forms.scss +1 -25
  35. package/src/scss/components/_grid.scss +0 -10
  36. package/src/scss/components/_multi-step-nav.scss +9 -20
  37. package/src/scss/components/_navbar.scss +1 -6
  38. package/src/scss/components/_type.scss +0 -21
  39. package/src/scss/components/_utilities-functional-important.scss +27 -8
  40. package/src/scss/functions/_lx-icons-generated.scss +4 -0
  41. package/src/scss/mixins/_globals.scss +25 -1
  42. package/src/scss/mixins/_input-groups.scss +8 -0
  43. package/src/scss/mixins/_links.scss +44 -0
  44. package/src/scss/mixins/_type.scss +7 -3
  45. package/src/scss/variables/_buttons.scss +2 -0
  46. package/src/scss/variables/_forms.scss +48 -3
  47. package/src/scss/variables/_icons.scss +1 -1
  48. package/src/scss/variables/_menubar.scss +8 -10
  49. package/src/scss/variables/_multi-step-nav.scss +43 -1
  50. package/src/scss/variables/_navbar.scss +14 -0
  51. package/src/scss/variables/_utilities.scss +111 -36
  52. package/CHANGELOG.md +0 -2579
  53. package/LICENSES/Apache-2.0.txt +0 -73
  54. package/LICENSES/BSD-3-Clause.txt +0 -30
  55. package/LICENSES/LicenseRef-MIT-Bootstrap.txt +0 -22
  56. package/LICENSES/MIT.txt +0 -19
  57. package/lib/.DS_Store +0 -0
  58. package/lib/images/.DS_Store +0 -0
  59. package/lib/images/icons/.DS_Store +0 -0
@@ -202,7 +202,7 @@ $cadmin-table-title-link: map-deep-merge(
202
202
  (
203
203
  border-radius: 1px,
204
204
  color: $cadmin-gray-900,
205
- display: inline-block,
205
+ display: inline-flex,
206
206
  max-width: 100%,
207
207
  transition: box-shadow 0.15s ease-in-out,
208
208
  hover: (
@@ -223,7 +223,7 @@ $cadmin-table-link: map-deep-merge(
223
223
  (
224
224
  border-radius: 1px,
225
225
  color: $cadmin-gray-900,
226
- display: inline-block,
226
+ display: inline-flex,
227
227
  max-width: 100%,
228
228
  transition: box-shadow 0.15s ease-in-out,
229
229
  hover: (
@@ -641,7 +641,7 @@ $cadmin-table-list-title-link: map-deep-merge(
641
641
  (
642
642
  border-radius: 1px,
643
643
  color: $cadmin-gray-900,
644
- display: inline-block,
644
+ display: inline-flex,
645
645
  max-width: 100%,
646
646
  transition: box-shadow 0.15s ease-in-out,
647
647
  hover: (
@@ -662,7 +662,7 @@ $cadmin-table-list-link: map-deep-merge(
662
662
  (
663
663
  border-radius: 1px,
664
664
  color: $cadmin-gray-900,
665
- display: inline-block,
665
+ display: inline-flex,
666
666
  max-width: 100%,
667
667
  transition: box-shadow 0.15s ease-in-out,
668
668
  hover: (
@@ -577,7 +577,117 @@ $cadmin-text-decorations: map-deep-merge(
577
577
  $cadmin-text-decorations
578
578
  );
579
579
 
580
- // Transitions
580
+ // Text Truncate
581
+
582
+ $cadmin-text-truncate: () !default;
583
+ $cadmin-text-truncate: map-merge(
584
+ (
585
+ display: block,
586
+ overflow: hidden,
587
+ text-overflow: ellipsis,
588
+ white-space: nowrap,
589
+ ),
590
+ $cadmin-text-truncate
591
+ );
592
+
593
+ // Text Truncate Inline
594
+
595
+ $cadmin-text-truncate-inline: () !default;
596
+ $cadmin-text-truncate-inline: map-deep-merge(
597
+ (
598
+ display: inline-flex,
599
+ max-width: 100%,
600
+ text-truncate: (
601
+ display: inline-block,
602
+ max-width: 100%,
603
+ overflow: hidden,
604
+ text-overflow: ellipsis,
605
+ vertical-align: bottom,
606
+ white-space: nowrap,
607
+ word-wrap: normal,
608
+ ),
609
+ ),
610
+ $cadmin-text-truncate-inline
611
+ );
612
+
613
+ // C Prefers
614
+
615
+ $cadmin-c-prefers-link-underline: () !default;
616
+ $cadmin-c-prefers-link-underline: map-deep-merge(
617
+ (
618
+ '.c-prefers-link-underline': (
619
+ '[href]:not(.disabled):not([role="button"])': (
620
+ text-decoration: underline !important,
621
+ ),
622
+ '.btn-monospaced, .nav-btn-monospaced, .nav-link-monospaced': (
623
+ '&[href]:not(.disabled):not([role="button"]):not([role="tab"])::after':
624
+ (
625
+ content: '\00a0\00a0\00a0',
626
+ position: absolute,
627
+ text-decoration: underline !important,
628
+ ),
629
+ ),
630
+ '.multi-step-item.active, .multi-step-item.complete, .multi-step-item.error, .dropdown':
631
+ (
632
+ '.multi-step-icon[href]:not([role="button"])::after': (
633
+ content: '\00a0\00a0\00a0',
634
+ position: absolute,
635
+ text-decoration: underline !important,
636
+ ),
637
+ ),
638
+ '.multi-step-item.disabled .multi-step-icon[href]:not([role="button"])::after':
639
+ (
640
+ text-decoration: none !important,
641
+ ),
642
+ ),
643
+ ),
644
+ $cadmin-c-prefers-link-underline
645
+ );
646
+
647
+ $cadmin-c-prefers-letter-spacing: () !default;
648
+ $cadmin-c-prefers-letter-spacing: map-deep-merge(
649
+ (
650
+ '.c-prefers-letter-spacing-1': (
651
+ letter-spacing: 1px !important,
652
+ ),
653
+ ),
654
+ $cadmin-c-prefers-letter-spacing
655
+ );
656
+
657
+ $cadmin-displays-c-prefers-reduced-motion: () !default;
658
+ $cadmin-displays-c-prefers-reduced-motion: map-deep-merge(
659
+ (
660
+ d-block-c-prefers-reduced-motion: (
661
+ display: none !important,
662
+ ),
663
+ d-inline-block-c-prefers-reduced-motion: (
664
+ display: none !important,
665
+ ),
666
+ '@media (prefers-reduced-motion: reduce)': (
667
+ d-none-c-prefers-reduced-motion: (
668
+ display: none !important,
669
+ ),
670
+ d-block-c-prefers-reduced-motion: (
671
+ display: block !important,
672
+ ),
673
+ d-inline-block-c-prefers-reduced-motion: (
674
+ display: inline-block !important,
675
+ ),
676
+ ),
677
+ c-prefers-reduced-motion: (
678
+ d-none-c-prefers-reduced-motion: (
679
+ display: none !important,
680
+ ),
681
+ d-block-c-prefers-reduced-motion: (
682
+ display: block !important,
683
+ ),
684
+ d-inline-block-c-prefers-reduced-motion: (
685
+ display: inline-block !important,
686
+ ),
687
+ ),
688
+ ),
689
+ $cadmin-displays-c-prefers-reduced-motion
690
+ );
581
691
 
582
692
  $cadmin-c-prefers-reduced-motion: () !default;
583
693
  $cadmin-c-prefers-reduced-motion: map-merge(
@@ -119,31 +119,7 @@ fieldset[disabled] .form-control {
119
119
  // text (without any border, background color, focus indicator)
120
120
 
121
121
  .form-control-plaintext {
122
- background-clip: border-box;
123
- background-color: transparent;
124
- border-color: transparent;
125
- border-style: solid;
126
-
127
- border-bottom-width: $input-border-bottom-width;
128
- border-left-width: $input-border-left-width;
129
- border-right-width: $input-border-right-width;
130
- border-top-width: $input-border-top-width;
131
- color: $input-plaintext-color;
132
- display: block;
133
- font-size: $input-font-size;
134
- height: $input-height;
135
- line-height: $input-line-height;
136
-
137
- // match inputs if this class comes on inputs with default margins
138
-
139
- margin-bottom: 0;
140
- min-width: 0;
141
- padding-bottom: $input-padding-y;
142
- padding-left: 0;
143
- padding-right: 0;
144
- padding-top: $input-padding-y;
145
- text-overflow: ellipsis;
146
- width: 100%;
122
+ @include clay-form-control-variant($input-plaintext);
147
123
 
148
124
  @include clay-scale-component {
149
125
  font-size: $input-font-size-mobile;
@@ -214,16 +214,6 @@
214
214
 
215
215
  .container-form-lg {
216
216
  @include clay-container($container-form-lg);
217
-
218
- .menubar-vertical-expand-lg {
219
- $container-form-lg-breakpoint-down: clay-breakpoint-prev(
220
- map-get($container-form-lg, breakpoint-up)
221
- );
222
-
223
- @include media-breakpoint-down($container-form-lg-breakpoint-down) {
224
- margin-top: -(map-get($container-form-lg, padding-top-mobile));
225
- }
226
- }
227
217
  }
228
218
 
229
219
  .container-view {
@@ -33,16 +33,12 @@
33
33
  }
34
34
 
35
35
  .multi-step-title-center {
36
+ @include clay-css($multi-step-title-center);
37
+
36
38
  .multi-step-title {
37
- margin-left: calc(#{$multi-step-icon-size} * 0.5);
38
- max-width: $multi-step-title-max-width;
39
- overflow: hidden;
40
- position: relative;
41
- text-align: center;
42
- text-overflow: ellipsis;
43
- transform: translateX(-50%);
44
- white-space: nowrap;
45
- width: auto;
39
+ @include clay-text-typography(
40
+ map-get($multi-step-title-center, multi-step-title)
41
+ );
46
42
  }
47
43
  }
48
44
 
@@ -224,8 +220,7 @@
224
220
  }
225
221
 
226
222
  .multi-step-indicator {
227
- position: relative;
228
- width: $multi-step-indicator-width;
223
+ @include clay-css($multi-step-indicator);
229
224
 
230
225
  .dropdown-item-indicator,
231
226
  .dropdown-item-indicator-start,
@@ -242,15 +237,9 @@
242
237
  }
243
238
 
244
239
  .multi-step-indicator-label {
245
- color: $multi-step-indicator-label-color;
246
- font-size: $multi-step-indicator-label-font-size;
247
- font-weight: $multi-step-indicator-label-font-weight;
248
- left: 50%;
249
- max-width: $multi-step-indicator-label-max-width;
250
- position: absolute;
251
- transform: translateX(-50%);
252
-
253
- @include text-truncate;
240
+ @include clay-css(
241
+ map-get($multi-step-indicator, multi-step-indicator-label)
242
+ );
254
243
  }
255
244
  }
256
245
 
@@ -133,12 +133,7 @@
133
133
  }
134
134
 
135
135
  .navbar-text-truncate {
136
- display: inline-block;
137
- max-width: 100%;
138
- overflow: hidden;
139
- text-overflow: ellipsis;
140
- vertical-align: bottom;
141
- white-space: nowrap;
136
+ @include clay-css($navbar-text-truncate);
142
137
  }
143
138
 
144
139
  // Navbar Toggler
@@ -301,24 +301,3 @@ strong {
301
301
  .c-kbd-dark {
302
302
  @include clay-css($c-kbd-dark);
303
303
  }
304
-
305
- // Text Truncate
306
-
307
- .text-truncate {
308
- display: block;
309
- }
310
-
311
- .text-truncate-inline {
312
- display: inline-flex;
313
- max-width: 100%;
314
-
315
- .text-truncate {
316
- display: inline-block;
317
- max-width: 100%;
318
- overflow: hidden;
319
- text-overflow: ellipsis;
320
- vertical-align: bottom;
321
- white-space: nowrap;
322
- word-wrap: normal;
323
- }
324
- }
@@ -190,10 +190,6 @@
190
190
  display: none !important;
191
191
  }
192
192
 
193
- // Display C Reduced Motion
194
-
195
- @include clay-map-to-css($displays-c-prefers-reduced-motion);
196
-
197
193
  // Display Print
198
194
 
199
195
  @media print {
@@ -658,9 +654,11 @@
658
654
  }
659
655
 
660
656
  .text-truncate {
661
- overflow: hidden;
662
- text-overflow: ellipsis;
663
- white-space: nowrap;
657
+ @include clay-css($text-truncate);
658
+ }
659
+
660
+ .text-truncate-inline {
661
+ @include clay-map-to-css($text-truncate-inline);
664
662
  }
665
663
 
666
664
  // Responsive Text Alignment
@@ -833,7 +831,28 @@
833
831
  visibility: hidden !important;
834
832
  }
835
833
 
836
- // Transitions
834
+ // C Prefers Expanded Text
835
+
836
+ %c-prefers-expanded-text {
837
+ max-width: 100% !important;
838
+ overflow-wrap: break-word !important;
839
+ white-space: normal !important;
840
+ word-wrap: break-word !important;
841
+ }
842
+
843
+ // C Prefers Link Underline
844
+
845
+ @include clay-map-to-css($c-prefers-link-underline);
846
+
847
+ // C Prefers Letter Spacing
848
+
849
+ @include clay-map-to-css($c-prefers-letter-spacing);
850
+
851
+ // Display C Reduced Motion
852
+
853
+ @include clay-map-to-css($displays-c-prefers-reduced-motion);
854
+
855
+ // C Prefers Reduced Motion
837
856
 
838
857
  .c-prefers-reduced-motion {
839
858
  @include clay-css($c-prefers-reduced-motion);
@@ -6,6 +6,8 @@
6
6
  // prettier-ignore
7
7
  $lx-icons: (
8
8
 
9
+ 'accessibility': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" fill-rule="evenodd" clip-rule="evenodd" d="M473.6 256c0 120.177-97.423 217.6-217.6 217.6-120.177 0-217.6-97.423-217.6-217.6 0-120.177 97.423-217.6 217.6-217.6 120.177 0 217.6 97.423 217.6 217.6Zm38.4 0c0 141.385-114.615 256-256 256S0 397.385 0 256 114.615 0 256 0s256 114.615 256 256Zm-76.8 0c0 98.969-80.231 179.2-179.2 179.2S76.8 354.969 76.8 256 157.031 76.8 256 76.8 435.2 157.031 435.2 256ZM291.371 148.48c0 19.794-16.046 35.84-35.84 35.84-19.795 0-35.84-16.046-35.84-35.84 0-19.794 16.045-35.84 35.84-35.84 19.794 0 35.84 16.046 35.84 35.84Zm-120.984 43.299c55.881 18.626 114.501 18.594 170.287 0 21.039-7.013 31.249 25.424 10.752 32.256-14.59 4.863-29.364 8.898-44.433 11.704-8.882 1.654-15.67 9.218-16.011 18.247l-.051 1.346c-.706 18.598-1.444 38.031 4.763 55.083l23.491 64.541c7.905 21.717-25.774 33.975-33.679 12.258l-29.975-82.358-29.975 82.358c-7.905 21.717-41.584 9.459-33.679-12.258l23.491-64.541c6.207-17.052 5.469-36.485 4.763-55.083l-.051-1.346c-.341-9.028-7.129-16.592-16.011-18.247-15.069-2.806-29.843-6.841-44.434-11.704-20.497-6.832-10.287-39.269 10.752-32.256Z" fill="#{$color}"/></svg>',
10
+
9
11
  'add-cell': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-body" fill="none" d="M455.1 0H56.9C25.5 0 0 25.5 0 56.9v398.2C0 486.5 25.5 512 56.9 512h398.2c31.4 0 56.9-25.5 56.9-56.9V56.9C512 25.5 486.5 0 455.1 0z"/><path class="lexicon-icon-outline" d="M455.1 0H56.9C25.5 0 0 25.5 0 56.9v398.2C0 486.5 25.5 512 56.9 512h398.2c31.4 0 56.9-25.5 56.9-56.9V56.9C512 25.5 486.5 0 455.1 0zM160 448H64v-96h96v96zm0-128H64V192h96v128zm0-160H64V64h96v96zm160 288H192v-96h128v96zm0-288H192V64h128v96zm128 288h-96v-96h96v96zm0-128h-96V192h96v128zm0-160h-96V64h96v96z" fill="#{$color}"/></svg>',
10
12
 
11
13
  'add-column': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-body" fill="none" d="M0 56.9v398.2C0 486.5 25.5 512 56.9 512h398.2c31.4 0 56.9-25.5 56.9-56.9V56.9C512 25.5 486.5 0 455.1 0H56.9C25.5 0 0 25.5 0 56.9z"/><path class="lexicon-icon-outline" d="M0 56.9v398.2C0 486.5 25.5 512 56.9 512h398.2c31.4 0 56.9-25.5 56.9-56.9V56.9C512 25.5 486.5 0 455.1 0H56.9C25.5 0 0 25.5 0 56.9zM448 352v96h-96v-96h96zm-288 0v96H64v-96h96zm288-160v128h-96V192h96zm-288 0v128H64V192h96zM448 64v96h-96V64h96zm-288 0v96H64V64h96z" fill="#{$color}"/></svg>',
@@ -808,6 +810,8 @@
808
810
 
809
811
  'star': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-body" d="M508.753 190.647c-3.247-9.265-11.983-15.493-21.802-15.493H336.845L277.642 16.946c-3.378-9.027-12.01-14.992-21.644-14.992s-18.264 5.965-21.617 14.992l-59.203 158.208H25.047a23.087 23.087 0 0 0-21.802 15.493c-3.247 9.265-.264 19.558 7.417 25.682l120.966 96.234-55.534 162.88a23.104 23.104 0 0 0 7.285 25.365c7.47 6.097 17.975 6.889 26.316 1.979l146.173-86.204 150.317 90.163a22.936 22.936 0 0 0 11.877 3.299h.132c12.722-.422 23.2-10.32 23.2-23.095 0-3.853-.924-7.496-2.613-10.69l-58.252-163.83 120.807-96.103c7.68-6.097 10.663-16.417 7.417-25.682z"/><path class="lexicon-icon-outline" d="M418.1 510.1c-4.1 0-8.2-1.1-11.9-3.3l-150.3-90.2-146.2 86.2c-8.3 4.9-18.8 4.1-26.3-2s-10.4-16.2-7.3-25.4l55.5-162.9-121-96.2C3 210.2 0 199.9 3.3 190.6s12-15.5 21.8-15.5h150.1l59.2-158.2c3.4-9 12-15 21.6-15s18.2 6 21.6 15l59.2 158.2H487c9.8 0 18.6 6.2 21.8 15.5 3.2 9.3.3 19.6-7.4 25.7l-120.8 96.1 58.3 163.9c1.7 3.2 2.6 6.8 2.6 10.7 0 12.7-10.3 23.1-23.1 23.1h-.3zM256 366.6c4.1 0 8.2 1.1 11.9 3.3L374.7 434l-43.3-121.7c-3.3-9.3-.3-19.7 7.4-25.8l82-65.2h-100c-9.6 0-18.3-6-21.6-15L256 90.9l-43.2 115.4c-3.4 9-12 15-21.6 15h-100l82 65.2c7.6 6.1 10.6 16.3 7.5 25.5L140 431.3l104.3-61.5c3.6-2.1 7.6-3.2 11.7-3.2z" fill="#{$color}"/></svg>',
810
812
 
813
+ 'stars': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M352 96a19.518 19.518 0 0 0-19.138 15.689l-16.678 83.392a32 32 0 0 1-25.103 25.103l-83.392 16.678a19.518 19.518 0 0 0 0 38.276l83.392 16.678a32 32 0 0 1 25.103 25.103l16.678 83.392a19.518 19.518 0 0 0 38.276 0l16.678-83.392a32 32 0 0 1 25.103-25.103l83.392-16.678a19.518 19.518 0 0 0 0-38.276l-83.392-16.678a32 32 0 0 1-25.103-25.103l-16.678-83.392A19.518 19.518 0 0 0 352 96ZM96 0c-9.233 0-17.112 6.675-18.63 15.782l-5.04 30.243A32 32 0 0 1 46.024 72.33l-30.243 5.04C6.675 78.889 0 86.768 0 96s6.675 17.113 15.782 18.63l30.243 5.041a32 32 0 0 1 26.304 26.304l5.04 30.243C78.889 185.325 86.768 192 96 192s17.113-6.675 18.63-15.782l5.041-30.243a32.001 32.001 0 0 1 26.304-26.304l30.243-5.041C185.325 113.112 192 105.233 192 96c0-9.233-6.675-17.112-15.782-18.63l-30.243-5.04a32 32 0 0 1-26.304-26.305l-5.041-30.243C113.113 6.675 105.233 0 96 0Zm44.119 399.522c-3.877 15.511-13.422 24.804-28.597 28.597-20.185 5.047-20.185 34.715 0 39.762 15.175 3.793 24.72 13.086 28.597 28.597 5.047 20.185 34.715 20.185 39.762 0 3.793-15.175 13.086-24.72 28.597-28.597 20.185-5.047 20.185-34.715 0-39.762-15.175-3.793-24.72-13.086-28.597-28.597-5.047-20.185-34.715-20.185-39.762 0Z" fill="#{$color}"/></svg>',
814
+
811
815
  'sticky': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256 256-114.6 256-256S397.4 0 256 0zm145.4 246.4c-27.2 27.2-45.4 10.5-51.2 5.9L324.5 278c13.1 67.7-42.2 110.1-42.2 110.1-12.5 12.5-32.8 12.5-45.3 0L195.7 347l-66.5 54-17.8-18 53-67.3-40.6-40.6c-12.5-12.5-12.5-32.8 0-45.3 0 0 41.8-55.1 110.1-42.2l25.7-25.7c-2.1-2.1-23.6-21.7 6.4-51.8 20.7-20.7 39.6-15.1 50-4.7l90.5 90.5c5.5 6.7 21.2 24.2-5.1 50.5z"/></svg>',
812
816
 
813
817
  'strikethrough': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M511.999 224h-174.81a227.388 227.388 0 0 0-32.11-8.521l-68.462-13.129c-17.957-3.73-31.342-10.533-40.119-20.48-8.741-9.911-13.129-21.577-13.129-34.962 0-8.338 1.865-16.165 5.522-23.552 3.73-7.387 8.887-13.97 15.579-19.749 6.656-5.815 14.738-10.423 24.21-13.861 9.435-3.511 19.931-5.193 31.451-5.193 15.653 0 28.928 2.304 39.717 6.949 10.862 4.571 19.749 10.386 26.624 17.298 6.912 6.949 12.142 14.446 15.579 22.491s5.851 15.616 7.241 22.491l85.76-26.331c-2.743-13.824-7.973-28.233-15.579-43.301-7.607-14.994-18.286-28.709-32.146-41.216-13.824-12.471-31.232-22.711-52.224-30.793C314.148 4.059 288.95-.001 259.473-.001c-23.077 0-44.946 3.95-65.719 11.776-20.699 7.899-38.949 18.725-54.638 32.585-15.653 13.861-27.977 30.098-36.974 48.823s-13.495 38.912-13.495 60.599c0 26.843 6.254 50.139 18.213 70.18H-.002v64h192.913c7.79 2.487 15.799 4.754 24.357 6.473l68.424 13.861c19.419 3.657 34.158 10.715 44.288 21.102 10.13 10.423 15.177 22.784 15.177 37.083 0 17.518-6.802 31.963-20.37 43.301-13.605 11.337-33.317 16.969-59.136 16.969-17.518 0-32.731-2.523-45.641-7.607-12.873-5.083-23.735-11.886-32.475-20.48-8.777-8.521-15.579-18.322-20.407-29.44s-7.717-22.601-8.594-34.633l-88.502 23.515c1.792 17.591 6.912 35.474 15.177 53.723 8.265 18.213 20.37 34.743 36.279 49.518 15.909 14.811 35.621 26.953 59.136 36.352 23.515 9.545 51.602 14.299 84.333 14.299 28.599 0 53.797-4.389 75.666-13.129 21.906-8.777 40.338-20.187 55.296-34.267 15.031-14.08 26.405-30.281 34.267-48.53 7.826-18.213 11.776-36.827 11.776-55.771 0-17.079-3.035-33.499-8.997-49.152-3.109-8.119-6.985-15.799-11.557-23.113h90.587v-64.037z" fill="#{$color}"/></svg>',
@@ -292,6 +292,30 @@
292
292
  } @else if ($key == 'overflow-wrap') {
293
293
  overflow-wrap: $value;
294
294
  word-wrap: $value;
295
+ } @else if ($key == 'text-overflow') {
296
+ @if ($value == 'ellipsis') {
297
+ text-overflow: $value;
298
+
299
+ @at-root {
300
+ $selector: '.c-prefers-expanded-text &';
301
+
302
+ @if (variable-exists(cadmin-selector)) {
303
+ $selector: clay-insert-after(
304
+ '.cadmin ',
305
+ '.c-prefers-expanded-text '
306
+ );
307
+ $selector: clay-insert-after(
308
+ '.cadmin.',
309
+ 'c-prefers-expanded-text.',
310
+ $selector
311
+ );
312
+ }
313
+
314
+ #{$selector} {
315
+ @extend %c-prefers-expanded-text !optional;
316
+ }
317
+ }
318
+ }
295
319
  } @else if ($key == 'transition') {
296
320
  transition: $value;
297
321
 
@@ -344,7 +368,7 @@
344
368
  @each $key, $value in $map {
345
369
  @if not clay-is-map-unset($value) {
346
370
  @if (type-of($value) == 'map') {
347
- $valid-prefixes: '#', '&', '.', '>', '@';
371
+ $valid-prefixes: '#', '&', '.', '>', '@', '~', '+', '[';
348
372
 
349
373
  $selector: if(
350
374
  index($valid-prefixes, str-slice($key, 1, 1)),
@@ -300,6 +300,14 @@
300
300
  @if ($enabled) {
301
301
  @include clay-css($map);
302
302
 
303
+ &::before {
304
+ @include clay-css(map-get($map, before));
305
+ }
306
+
307
+ &::after {
308
+ @include clay-css(map-get($map, after));
309
+ }
310
+
303
311
  &.focus {
304
312
  @include clay-input-group-item-variant(
305
313
  map-deep-get($map, focus)
@@ -845,6 +845,50 @@
845
845
  &::after {
846
846
  @include clay-css(map-get($show, after));
847
847
  }
848
+
849
+ &:hover {
850
+ $_show-hover: setter(map-get($show, hover), ());
851
+
852
+ @include clay-css($_show-hover);
853
+
854
+ &::before {
855
+ @include clay-css(map-get($_show-hover, before));
856
+ }
857
+
858
+ &::after {
859
+ @include clay-css(map-get($_show-hover, after));
860
+ }
861
+ }
862
+
863
+ &:focus {
864
+ $_show-focus: setter(map-get($show, focus), ());
865
+
866
+ @include clay-css($_show-focus);
867
+
868
+ &::before {
869
+ @include clay-css(map-get($_show-focus, before));
870
+ }
871
+
872
+ &::after {
873
+ @include clay-css(map-get($_show-focus, after));
874
+ }
875
+ }
876
+
877
+ .inline-item {
878
+ @include clay-css(map-get($show, inline-item));
879
+ }
880
+
881
+ .inline-item-before {
882
+ @include clay-css(map-get($show, inline-item-before));
883
+ }
884
+
885
+ .inline-item-middle {
886
+ @include clay-css(map-get($show, inline-item-middle));
887
+ }
888
+
889
+ .inline-item-after {
890
+ @include clay-css(map-get($show, inline-item-after));
891
+ }
848
892
  }
849
893
 
850
894
  @if (map-get($c-inner, enabled)) {
@@ -50,9 +50,13 @@
50
50
  /// A Bootstrap 4 mixin for displaying ellipsis if text overflows its container. Requires other CSS properties to function properly depending on the `display` property. Clay CSS `truncate-text-inline` with `text-truncate` is a more fail safe pattern.
51
51
 
52
52
  @mixin text-truncate() {
53
- overflow: hidden;
54
- text-overflow: ellipsis;
55
- white-space: nowrap;
53
+ @include clay-css(
54
+ (
55
+ overflow: hidden,
56
+ text-overflow: ellipsis,
57
+ white-space: nowrap,
58
+ )
59
+ );
56
60
  }
57
61
 
58
62
  // Highlight inline text
@@ -45,6 +45,7 @@ $btn: map-deep-merge(
45
45
  font-family: $btn-font-family,
46
46
  font-size: $btn-font-size,
47
47
  font-weight: $btn-font-weight,
48
+ letter-spacing: inherit,
48
49
  line-height: $btn-line-height,
49
50
  padding-bottom: $btn-padding-y,
50
51
  padding-left: $btn-padding-x,
@@ -350,6 +351,7 @@ $btn-unstyled: map-deep-merge(
350
351
  cursor: $btn-cursor,
351
352
  font-size: inherit,
352
353
  font-weight: inherit,
354
+ letter-spacing: inherit,
353
355
  line-height: inherit,
354
356
  max-width: 100%,
355
357
  padding: 0,
@@ -70,13 +70,14 @@ $input: map-deep-merge(
70
70
  font-size: $input-font-size,
71
71
  font-weight: $input-font-weight,
72
72
  height: $input-height,
73
+ letter-spacing: inherit,
73
74
  line-height: $input-line-height,
74
75
  min-width: 0,
75
76
  padding-bottom: $input-padding-y,
76
77
  padding-left: $input-padding-x,
77
78
  padding-right: $input-padding-x,
78
79
  padding-top: $input-padding-y,
79
- transition: $input-transition,
80
+ transition: clay-enable-transitions($input-transition),
80
81
  width: 100%,
81
82
  mobile: (
82
83
  font-size: $input-font-size-mobile,
@@ -118,6 +119,36 @@ $input-palette: () !default;
118
119
 
119
120
  $input-plaintext-color: $body-color !default;
120
121
 
122
+ $input-plaintext: () !default;
123
+ $input-plaintext: map-deep-merge(
124
+ (
125
+ background-clip: border-box,
126
+ background-color: transparent,
127
+ border-bottom-width: $input-border-bottom-width,
128
+ border-color: transparent,
129
+ border-left-width: $input-border-left-width,
130
+ border-right-width: $input-border-right-width,
131
+ border-style: solid,
132
+ border-top-width: $input-border-top-width,
133
+ color: $input-plaintext-color,
134
+ display: block,
135
+ font-size: $input-font-size,
136
+ height: $input-height,
137
+ letter-spacing: inherit,
138
+ line-height: $input-line-height,
139
+ // match inputs if this class comes on inputs with default margins
140
+ margin-bottom: 0,
141
+ min-width: 0,
142
+ padding-bottom: $input-padding-y,
143
+ padding-left: 0,
144
+ padding-right: 0,
145
+ padding-top: $input-padding-y,
146
+ text-overflow: ellipsis,
147
+ width: 100%,
148
+ ),
149
+ $input-plaintext
150
+ );
151
+
121
152
  /// @deprecated with no replacement
122
153
 
123
154
  $input-height-border: calc(
@@ -339,7 +370,7 @@ $input-plaintext-readonly: map-deep-merge(
339
370
  (
340
371
  border-radius: $input-border-radius,
341
372
  outline: 0,
342
- transition: $input-transition,
373
+ transition: clay-enable-transitions($input-transition),
343
374
  focus: (
344
375
  box-shadow: $input-focus-box-shadow,
345
376
  ),
@@ -1433,9 +1464,23 @@ $input-group-item: map-deep-merge(
1433
1464
  margin-left: $input-group-item-margin-left,
1434
1465
  width: 1%,
1435
1466
  word-wrap: break-word,
1467
+ after: (
1468
+ border-radius: inherit,
1469
+ bottom: 0,
1470
+ content: '',
1471
+ display: block,
1472
+ left: 0,
1473
+ pointer-events: none,
1474
+ position: absolute,
1475
+ right: 0,
1476
+ top: 0,
1477
+ transition: clay-enable-transitions($input-transition),
1478
+ ),
1436
1479
  focus: (
1437
1480
  border-radius: clay-enable-rounded($input-border-radius),
1438
- box-shadow: $input-focus-box-shadow,
1481
+ after: (
1482
+ box-shadow: $input-focus-box-shadow,
1483
+ ),
1439
1484
  input-group-prepend: (
1440
1485
  border-bottom-right-radius: clay-enable-rounded(0),
1441
1486
  border-top-right-radius: clay-enable-rounded(0),
@@ -65,7 +65,7 @@ $collapse-icon-position-bottom: null !default;
65
65
  $collapse-icon-position-left: null !default;
66
66
  $collapse-icon-position-right: 0.9375rem !default; // 15px
67
67
  $collapse-icon-position-top: clay-collapse-icon-align(
68
- $nav-link-padding-y,
68
+ if(variable-exists(nav-link-padding-y), $nav-link-padding-y, 0.5rem),
69
69
  0.0625rem,
70
70
  0.9375em
71
71
  ) !default;
@@ -9,9 +9,7 @@ $menubar-vertical-expand-md: map-deep-merge(
9
9
  ),
10
10
  media-breakpoint-down: (
11
11
  sm: (
12
- margin-bottom: 1.5rem,
13
- margin-left: math-sign($grid-gutter-width * 0.5),
14
- margin-right: math-sign($grid-gutter-width * 0.5),
12
+ margin-bottom: 1rem,
15
13
  max-width: none,
16
14
  menubar-collapse: (
17
15
  border-color: transparent,
@@ -38,11 +36,13 @@ $menubar-vertical-expand-md: map-deep-merge(
38
36
  border-color: transparent,
39
37
  border-style: solid,
40
38
  border-width: 0.0625rem,
41
- display: flex,
39
+ display: inline-flex,
42
40
  height: 2rem,
43
41
  padding-left: 0.5rem,
44
42
  padding-right: 0.5rem,
45
43
  c-inner: (
44
+ margin-left: -0.5rem,
45
+ margin-right: -0.5rem,
46
46
  max-width: none,
47
47
  ),
48
48
  lexicon-icon: (
@@ -75,7 +75,6 @@ $menubar-vertical-transparent-md: map-deep-merge(
75
75
  ),
76
76
  media-breakpoint-down: (
77
77
  sm: (
78
- background-color: $gray-100,
79
78
  nav-link: (
80
79
  border-radius: clay-enable-rounded(0),
81
80
  color: $gray-900,
@@ -174,9 +173,7 @@ $menubar-vertical-expand-lg: map-deep-merge(
174
173
  ),
175
174
  media-breakpoint-down: (
176
175
  md: (
177
- margin-bottom: 1.5rem,
178
- margin-left: math-sign($grid-gutter-width * 0.5),
179
- margin-right: math-sign($grid-gutter-width * 0.5),
176
+ margin-bottom: 1rem,
180
177
  max-width: none,
181
178
  menubar-collapse: (
182
179
  border-color: transparent,
@@ -203,11 +200,13 @@ $menubar-vertical-expand-lg: map-deep-merge(
203
200
  border-color: transparent,
204
201
  border-style: solid,
205
202
  border-width: 0.0625rem,
206
- display: flex,
203
+ display: inline-flex,
207
204
  height: 2rem,
208
205
  padding-left: 0.5rem,
209
206
  padding-right: 0.5rem,
210
207
  c-inner: (
208
+ margin-left: -0.5rem,
209
+ margin-right: -0.5rem,
211
210
  max-width: none,
212
211
  ),
213
212
  lexicon-icon: (
@@ -240,7 +239,6 @@ $menubar-vertical-transparent-lg: map-deep-merge(
240
239
  ),
241
240
  media-breakpoint-down: (
242
241
  md: (
243
- background-color: $gray-100,
244
242
  nav-link: (
245
243
  border-radius: clay-enable-rounded(0),
246
244
  color: $gray-900,