@clayui/css 3.159.0 → 3.161.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 (304) hide show
  1. package/lib/css/atlas.css +3170 -3016
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +2952 -2786
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +1754 -1633
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/blue-print.svg +9 -0
  8. package/lib/images/icons/books-brush.svg +9 -0
  9. package/lib/images/icons/calculator.svg +10 -0
  10. package/lib/images/icons/icons.svg +1 -1
  11. package/lib/images/icons/layout-new-window.svg +10 -0
  12. package/lib/images/icons/medal.svg +10 -0
  13. package/lib/images/icons/megaphone.svg +9 -0
  14. package/lib/images/icons/price-list.svg +11 -0
  15. package/lib/images/icons/process-builder.svg +9 -0
  16. package/lib/images/icons/product-configuration.svg +10 -0
  17. package/lib/images/icons/product-menu-open.svg +2 -2
  18. package/lib/images/icons/products.svg +9 -0
  19. package/lib/images/icons/publications.svg +10 -0
  20. package/lib/images/icons/puzzle.svg +9 -0
  21. package/lib/images/icons/rocket.svg +11 -0
  22. package/lib/images/icons/submission.svg +10 -0
  23. package/lib/images/icons/synonyms.svg +9 -0
  24. package/package.json +1 -1
  25. package/src/images/icons/blue-print.svg +9 -0
  26. package/src/images/icons/books-brush.svg +9 -0
  27. package/src/images/icons/calculator.svg +10 -0
  28. package/src/images/icons/icons.svg +1 -1
  29. package/src/images/icons/layout-new-window.svg +10 -0
  30. package/src/images/icons/medal.svg +10 -0
  31. package/src/images/icons/megaphone.svg +9 -0
  32. package/src/images/icons/price-list.svg +11 -0
  33. package/src/images/icons/process-builder.svg +9 -0
  34. package/src/images/icons/product-configuration.svg +10 -0
  35. package/src/images/icons/product-menu-open.svg +2 -2
  36. package/src/images/icons/products.svg +9 -0
  37. package/src/images/icons/publications.svg +10 -0
  38. package/src/images/icons/puzzle.svg +9 -0
  39. package/src/images/icons/rocket.svg +11 -0
  40. package/src/images/icons/submission.svg +10 -0
  41. package/src/images/icons/synonyms.svg +9 -0
  42. package/src/scss/_license-text.scss +1 -1
  43. package/src/scss/atlas/_variables.scss +6 -4
  44. package/src/scss/atlas/variables/_alerts.scss +102 -11
  45. package/src/scss/atlas/variables/_application-bar.scss +7 -0
  46. package/src/scss/atlas/variables/_badges.scss +36 -8
  47. package/src/scss/atlas/variables/_breadcrumbs.scss +2 -1
  48. package/src/scss/atlas/variables/_cards.scss +5 -0
  49. package/src/scss/atlas/variables/_clay-color.scss +5 -0
  50. package/src/scss/atlas/variables/_custom-forms.scss +36 -5
  51. package/src/scss/atlas/variables/_date-picker.scss +14 -2
  52. package/src/scss/atlas/variables/_dropdowns.scss +9 -2
  53. package/src/scss/atlas/variables/_forms.scss +35 -5
  54. package/src/scss/atlas/variables/_globals.scss +120 -73
  55. package/src/scss/atlas/variables/_labels.scss +55 -0
  56. package/src/scss/atlas/variables/_links.scss +18 -0
  57. package/src/scss/atlas/variables/_list-group.scss +15 -4
  58. package/src/scss/atlas/variables/_management-bar.scss +11 -0
  59. package/src/scss/atlas/variables/_menubar.scss +70 -22
  60. package/src/scss/atlas/variables/_modals.scss +16 -0
  61. package/src/scss/atlas/variables/_navbar.scss +7 -0
  62. package/src/scss/atlas/variables/_navigation-bar.scss +25 -1
  63. package/src/scss/atlas/variables/_navs.scss +5 -2
  64. package/src/scss/atlas/variables/_pagination.scss +42 -22
  65. package/src/scss/atlas/variables/_panels.scss +7 -0
  66. package/src/scss/atlas/variables/_popovers.scss +6 -4
  67. package/src/scss/atlas/variables/_range.scss +6 -0
  68. package/src/scss/atlas/variables/_sheets.scss +1 -0
  69. package/src/scss/atlas/variables/_sidebar.scss +10 -0
  70. package/src/scss/atlas/variables/_tables.scss +27 -3
  71. package/src/scss/atlas/variables/_time.scss +1 -0
  72. package/src/scss/atlas/variables/_toggle-switch.scss +19 -7
  73. package/src/scss/atlas/variables/_utilities.scss +3 -0
  74. package/src/scss/atlas-custom-properties/_variables.scss +68 -0
  75. package/src/scss/atlas-custom-properties/variables/_alerts.scss +1212 -0
  76. package/src/scss/atlas-custom-properties/variables/_application-bar.scss +62 -0
  77. package/src/scss/atlas-custom-properties/variables/_aspect-ratio.scss +28 -0
  78. package/src/scss/atlas-custom-properties/variables/_badges.scss +352 -0
  79. package/src/scss/atlas-custom-properties/variables/_breadcrumbs.scss +205 -0
  80. package/src/scss/atlas-custom-properties/variables/_buttons.scss +1498 -0
  81. package/src/scss/atlas-custom-properties/variables/_c-root.scss +353 -0
  82. package/src/scss/atlas-custom-properties/variables/_cards.scss +1217 -0
  83. package/src/scss/atlas-custom-properties/variables/_clay-color.scss +647 -0
  84. package/src/scss/atlas-custom-properties/variables/_custom-forms.scss +1127 -0
  85. package/src/scss/atlas-custom-properties/variables/_date-picker.scss +701 -0
  86. package/src/scss/atlas-custom-properties/variables/_drilldown.scss +252 -0
  87. package/src/scss/atlas-custom-properties/variables/_dropdowns.scss +1250 -0
  88. package/src/scss/atlas-custom-properties/variables/_dual-listbox.scss +75 -0
  89. package/src/scss/atlas-custom-properties/variables/_empty-state.scss +104 -0
  90. package/src/scss/atlas-custom-properties/variables/_forms.scss +2342 -0
  91. package/src/scss/atlas-custom-properties/variables/_globals-z-index.scss +50 -0
  92. package/src/scss/atlas-custom-properties/variables/_globals.scss +846 -0
  93. package/src/scss/atlas-custom-properties/variables/_icons.scss +73 -0
  94. package/src/scss/atlas-custom-properties/variables/_images.scss +14 -0
  95. package/src/scss/atlas-custom-properties/variables/_labels.scss +1485 -0
  96. package/src/scss/atlas-custom-properties/variables/_links.scss +482 -0
  97. package/src/scss/atlas-custom-properties/variables/_list-group.scss +493 -0
  98. package/src/scss/atlas-custom-properties/variables/_loaders.scss +243 -0
  99. package/src/scss/atlas-custom-properties/variables/_management-bar.scss +153 -0
  100. package/src/scss/atlas-custom-properties/variables/_menubar.scss +836 -0
  101. package/src/scss/atlas-custom-properties/variables/_modals.scss +650 -0
  102. package/src/scss/atlas-custom-properties/variables/_multi-step-nav.scss +324 -0
  103. package/src/scss/atlas-custom-properties/variables/_navbar.scss +200 -0
  104. package/src/scss/atlas-custom-properties/variables/_navigation-bar.scss +473 -0
  105. package/src/scss/atlas-custom-properties/variables/_navs.scss +547 -0
  106. package/src/scss/atlas-custom-properties/variables/_pagination.scss +1101 -0
  107. package/src/scss/atlas-custom-properties/variables/_panels.scss +567 -0
  108. package/src/scss/atlas-custom-properties/variables/_popovers.scss +565 -0
  109. package/src/scss/atlas-custom-properties/variables/_progress-bars.scss +142 -0
  110. package/src/scss/atlas-custom-properties/variables/_quick-action.scss +27 -0
  111. package/src/scss/atlas-custom-properties/variables/_range.scss +267 -0
  112. package/src/scss/atlas-custom-properties/variables/_reorder.scss +91 -0
  113. package/src/scss/atlas-custom-properties/variables/_resizer.scss +26 -0
  114. package/src/scss/atlas-custom-properties/variables/_sheets.scss +301 -0
  115. package/src/scss/atlas-custom-properties/variables/_side-navigation.scss +4 -0
  116. package/src/scss/atlas-custom-properties/variables/_sidebar.scss +579 -0
  117. package/src/scss/atlas-custom-properties/variables/_slideout.scss +379 -0
  118. package/src/scss/atlas-custom-properties/variables/_stickers.scss +578 -0
  119. package/src/scss/atlas-custom-properties/variables/_tables.scss +1277 -0
  120. package/src/scss/atlas-custom-properties/variables/_tbar.scss +636 -0
  121. package/src/scss/atlas-custom-properties/variables/_time.scss +142 -0
  122. package/src/scss/atlas-custom-properties/variables/_timelines.scss +43 -0
  123. package/src/scss/atlas-custom-properties/variables/_toggle-switch.scss +706 -0
  124. package/src/scss/atlas-custom-properties/variables/_tooltip.scss +332 -0
  125. package/src/scss/atlas-custom-properties/variables/_treeview.scss +369 -0
  126. package/src/scss/atlas-custom-properties/variables/_type.scss +194 -0
  127. package/src/scss/atlas-custom-properties/variables/_utilities.scss +1016 -0
  128. package/src/scss/atlas-variables.scss +2 -0
  129. package/src/scss/atlas.scss +2 -0
  130. package/src/scss/base-variables.scss +2 -0
  131. package/src/scss/base.scss +2 -0
  132. package/src/scss/cadmin/components/_alerts.scss +3 -1
  133. package/src/scss/cadmin/components/_button-groups.scss +2 -2
  134. package/src/scss/cadmin/components/_cards.scss +2 -2
  135. package/src/scss/cadmin/components/_drilldown.scss +10 -10
  136. package/src/scss/cadmin/components/_dropdowns.scss +2 -2
  137. package/src/scss/cadmin/components/_forms.scss +2 -2
  138. package/src/scss/cadmin/components/_grid.scss +6 -6
  139. package/src/scss/cadmin/components/_icons.scss +10 -2
  140. package/src/scss/cadmin/components/_images.scss +1 -1
  141. package/src/scss/cadmin/components/_input-groups.scss +4 -4
  142. package/src/scss/cadmin/components/_list-group.scss +11 -10
  143. package/src/scss/cadmin/components/_modals.scss +5 -5
  144. package/src/scss/cadmin/components/_multi-step-nav.scss +45 -20
  145. package/src/scss/cadmin/components/_navbar.scss +14 -8
  146. package/src/scss/cadmin/components/_navs.scss +1 -1
  147. package/src/scss/cadmin/components/_panels.scss +51 -25
  148. package/src/scss/cadmin/components/_popovers.scss +25 -21
  149. package/src/scss/cadmin/components/_sheets.scss +40 -14
  150. package/src/scss/cadmin/components/_time.scss +6 -2
  151. package/src/scss/cadmin/components/_timelines.scss +15 -8
  152. package/src/scss/cadmin/components/_tooltip.scss +8 -7
  153. package/src/scss/cadmin/components/_treeview.scss +8 -1
  154. package/src/scss/cadmin/components/_type.scss +4 -2
  155. package/src/scss/cadmin/components/_utilities-functional-important.scss +5 -5
  156. package/src/scss/cadmin/components/_utilities.scss +13 -13
  157. package/src/scss/cadmin/variables/_alerts.scss +184 -34
  158. package/src/scss/cadmin/variables/_badges.scss +121 -21
  159. package/src/scss/cadmin/variables/_breadcrumbs.scss +18 -11
  160. package/src/scss/cadmin/variables/_buttons.scss +15 -10
  161. package/src/scss/cadmin/variables/_cards.scss +89 -32
  162. package/src/scss/cadmin/variables/_clay-color.scss +40 -18
  163. package/src/scss/cadmin/variables/_custom-forms.scss +49 -10
  164. package/src/scss/cadmin/variables/_date-picker.scss +47 -19
  165. package/src/scss/cadmin/variables/_dropdowns.scss +105 -49
  166. package/src/scss/cadmin/variables/_dual-listbox.scss +1 -1
  167. package/src/scss/cadmin/variables/_empty-state.scss +5 -2
  168. package/src/scss/cadmin/variables/_forms.scss +218 -74
  169. package/src/scss/cadmin/variables/_globals-z-index.scss +28 -5
  170. package/src/scss/cadmin/variables/_globals.scss +141 -71
  171. package/src/scss/cadmin/variables/_images.scss +1 -2
  172. package/src/scss/cadmin/variables/_labels.scss +99 -6
  173. package/src/scss/cadmin/variables/_links.scss +47 -11
  174. package/src/scss/cadmin/variables/_list-group.scss +25 -9
  175. package/src/scss/cadmin/variables/_loaders.scss +18 -2
  176. package/src/scss/cadmin/variables/_management-bar.scss +66 -26
  177. package/src/scss/cadmin/variables/_menubar.scss +137 -43
  178. package/src/scss/cadmin/variables/_modals.scss +75 -26
  179. package/src/scss/cadmin/variables/_multi-step-nav.scss +34 -14
  180. package/src/scss/cadmin/variables/_navbar.scss +22 -15
  181. package/src/scss/cadmin/variables/_navigation-bar.scss +73 -37
  182. package/src/scss/cadmin/variables/_navs.scss +65 -33
  183. package/src/scss/cadmin/variables/_pagination.scss +60 -22
  184. package/src/scss/cadmin/variables/_panels.scss +34 -16
  185. package/src/scss/cadmin/variables/_popovers.scss +66 -77
  186. package/src/scss/cadmin/variables/_progress-bars.scss +8 -3
  187. package/src/scss/cadmin/variables/_range.scss +29 -9
  188. package/src/scss/cadmin/variables/_reorder.scss +7 -6
  189. package/src/scss/cadmin/variables/_resizer.scss +5 -3
  190. package/src/scss/cadmin/variables/_sheets.scss +21 -12
  191. package/src/scss/cadmin/variables/_sidebar.scss +76 -5
  192. package/src/scss/cadmin/variables/_slideout.scss +88 -31
  193. package/src/scss/cadmin/variables/_stickers.scss +36 -8
  194. package/src/scss/cadmin/variables/_tables.scss +142 -51
  195. package/src/scss/cadmin/variables/_tbar.scss +79 -31
  196. package/src/scss/cadmin/variables/_time.scss +14 -12
  197. package/src/scss/cadmin/variables/_timelines.scss +4 -2
  198. package/src/scss/cadmin/variables/_toggle-switch.scss +117 -37
  199. package/src/scss/cadmin/variables/_tooltip.scss +47 -49
  200. package/src/scss/cadmin/variables/_treeview.scss +62 -10
  201. package/src/scss/cadmin/variables/_type.scss +11 -9
  202. package/src/scss/cadmin/variables/_utilities.scss +123 -6
  203. package/src/scss/components/_alerts.scss +1 -1
  204. package/src/scss/components/_button-groups.scss +2 -2
  205. package/src/scss/components/_cards.scss +10 -10
  206. package/src/scss/components/_carousel.scss +2 -2
  207. package/src/scss/components/_custom-forms.scss +23 -12
  208. package/src/scss/components/_drilldown.scss +8 -4
  209. package/src/scss/components/_forms.scss +6 -6
  210. package/src/scss/components/_grid.scss +7 -7
  211. package/src/scss/components/_icons.scss +10 -2
  212. package/src/scss/components/_images.scss +1 -1
  213. package/src/scss/components/_input-groups.scss +7 -5
  214. package/src/scss/components/_jumbotron.scss +2 -2
  215. package/src/scss/components/_list-group.scss +29 -14
  216. package/src/scss/components/_modals.scss +5 -5
  217. package/src/scss/components/_multi-step-nav.scss +32 -12
  218. package/src/scss/components/_navbar.scss +10 -6
  219. package/src/scss/components/_panels.scss +82 -51
  220. package/src/scss/components/_popovers.scss +21 -25
  221. package/src/scss/components/_sheets.scss +38 -14
  222. package/src/scss/components/_side-navigation.scss +2 -2
  223. package/src/scss/components/_time.scss +2 -2
  224. package/src/scss/components/_timelines.scss +16 -12
  225. package/src/scss/components/_tooltip.scss +8 -6
  226. package/src/scss/components/_treeview.scss +8 -1
  227. package/src/scss/components/_type.scss +2 -2
  228. package/src/scss/components/_utilities-functional-important.scss +5 -5
  229. package/src/scss/components/_utilities.scss +13 -13
  230. package/src/scss/functions/_global-functions.scss +8 -6
  231. package/src/scss/functions/_lx-icons-generated.scss +31 -1
  232. package/src/scss/mixins/_alerts.scss +10 -0
  233. package/src/scss/mixins/_aspect-ratio.scss +11 -0
  234. package/src/scss/mixins/_badges.scss +14 -2
  235. package/src/scss/mixins/_buttons.scss +68 -8
  236. package/src/scss/mixins/_cards.scss +81 -0
  237. package/src/scss/mixins/_close.scss +54 -4
  238. package/src/scss/mixins/_dropdown-menu.scss +55 -6
  239. package/src/scss/mixins/_forms.scss +150 -0
  240. package/src/scss/mixins/_globals.scss +101 -358
  241. package/src/scss/mixins/_grid.scss +21 -8
  242. package/src/scss/mixins/_highlight.scss +14 -0
  243. package/src/scss/mixins/_input-groups.scss +15 -0
  244. package/src/scss/mixins/_labels.scss +64 -10
  245. package/src/scss/mixins/_links.scss +55 -4
  246. package/src/scss/mixins/_list-group.scss +8 -4
  247. package/src/scss/mixins/_menubar.scss +80 -4
  248. package/src/scss/mixins/_modals.scss +10 -18
  249. package/src/scss/mixins/_nav.scss +19 -0
  250. package/src/scss/mixins/_navbar.scss +237 -49
  251. package/src/scss/mixins/_panels.scss +48 -4
  252. package/src/scss/mixins/_stickers.scss +8 -0
  253. package/src/scss/mixins/_tbar.scss +65 -10
  254. package/src/scss/mixins/_timelines.scss +21 -11
  255. package/src/scss/mixins/_toggle-switch.scss +4 -0
  256. package/src/scss/mixins/_utilities.scss +9 -0
  257. package/src/scss/variables/_alerts.scss +184 -29
  258. package/src/scss/variables/_application-bar.scss +11 -4
  259. package/src/scss/variables/_badges.scss +133 -35
  260. package/src/scss/variables/_breadcrumbs.scss +13 -4
  261. package/src/scss/variables/_buttons.scss +11 -10
  262. package/src/scss/variables/_cards.scss +131 -53
  263. package/src/scss/variables/_clay-color.scss +36 -18
  264. package/src/scss/variables/_custom-forms.scss +47 -12
  265. package/src/scss/variables/_date-picker.scss +41 -16
  266. package/src/scss/variables/_drilldown.scss +3 -3
  267. package/src/scss/variables/_dropdowns.scss +108 -49
  268. package/src/scss/variables/_dual-listbox.scss +1 -1
  269. package/src/scss/variables/_empty-state.scss +5 -2
  270. package/src/scss/variables/_forms.scss +200 -64
  271. package/src/scss/variables/_globals-z-index.scss +26 -5
  272. package/src/scss/variables/_globals.scss +153 -76
  273. package/src/scss/variables/_images.scss +1 -2
  274. package/src/scss/variables/_labels.scss +103 -6
  275. package/src/scss/variables/_links.scss +39 -10
  276. package/src/scss/variables/_list-group.scss +39 -13
  277. package/src/scss/variables/_loaders.scss +18 -2
  278. package/src/scss/variables/_management-bar.scss +23 -6
  279. package/src/scss/variables/_menubar.scss +86 -19
  280. package/src/scss/variables/_modals.scss +66 -25
  281. package/src/scss/variables/_multi-step-nav.scss +29 -11
  282. package/src/scss/variables/_navbar.scss +14 -8
  283. package/src/scss/variables/_navigation-bar.scss +26 -4
  284. package/src/scss/variables/_navs.scss +76 -44
  285. package/src/scss/variables/_pagination.scss +30 -5
  286. package/src/scss/variables/_panels.scss +77 -24
  287. package/src/scss/variables/_popovers.scss +65 -78
  288. package/src/scss/variables/_progress-bars.scss +11 -2
  289. package/src/scss/variables/_range.scss +35 -9
  290. package/src/scss/variables/_reorder.scss +7 -6
  291. package/src/scss/variables/_resizer.scss +5 -3
  292. package/src/scss/variables/_sheets.scss +21 -13
  293. package/src/scss/variables/_sidebar.scss +72 -4
  294. package/src/scss/variables/_slideout.scss +87 -31
  295. package/src/scss/variables/_stickers.scss +50 -9
  296. package/src/scss/variables/_tables.scss +125 -33
  297. package/src/scss/variables/_tbar.scss +79 -30
  298. package/src/scss/variables/_time.scss +13 -11
  299. package/src/scss/variables/_timelines.scss +2 -1
  300. package/src/scss/variables/_toggle-switch.scss +114 -30
  301. package/src/scss/variables/_tooltip.scss +46 -49
  302. package/src/scss/variables/_treeview.scss +63 -10
  303. package/src/scss/variables/_type.scss +9 -7
  304. package/src/scss/variables/_utilities.scss +124 -6
@@ -526,6 +526,47 @@
526
526
  )
527
527
  );
528
528
 
529
+ $base: map-remove(
530
+ $base,
531
+ 'bg',
532
+ 'bg-clip',
533
+ 'bg-image',
534
+ 'bg-position',
535
+ 'bg-repeat',
536
+ 'bg-size',
537
+ 'disabled-bg',
538
+ 'disabled-bg-image',
539
+ 'disabled-border-color',
540
+ 'disabled-box-shadow',
541
+ 'disabled-color',
542
+ 'disabled-cursor',
543
+ 'disabled-opacity',
544
+ 'disabled-placeholder-color',
545
+ 'focus-bg',
546
+ 'focus-bg-image',
547
+ 'focus-border-color',
548
+ 'focus-box-shadow',
549
+ 'focus-color',
550
+ 'focus-placeholder-color',
551
+ 'hover-bg',
552
+ 'hover-border-color',
553
+ 'hover-box-shadow',
554
+ 'hover-color',
555
+ 'hover-placeholder-color',
556
+ 'placeholder-color',
557
+ 'placeholder-opacity',
558
+ 'readonly-bg',
559
+ 'readonly-bg-image',
560
+ 'readonly-border-color',
561
+ 'readonly-box-shadow',
562
+ 'readonly-color',
563
+ 'readonly-cursor',
564
+ 'readonly-opacity',
565
+ 'readonly-placeholder-color',
566
+ 'selection-bg',
567
+ 'selection-color'
568
+ );
569
+
529
570
  @if ($enabled) {
530
571
  @if (length($base) != 0) {
531
572
  @include clay-css($base);
@@ -925,6 +966,32 @@
925
966
 
926
967
  $mobile: setter(map-get($map, mobile), ());
927
968
 
969
+ $base: map-remove(
970
+ $base,
971
+ 'bg',
972
+ 'bg-clip',
973
+ 'bg-image',
974
+ 'bg-position',
975
+ 'bg-repeat',
976
+ 'bg-size',
977
+ 'disabled-bg',
978
+ 'disabled-bg-image',
979
+ 'disabled-border-color',
980
+ 'disabled-box-shadow',
981
+ 'disabled-color',
982
+ 'disabled-cursor',
983
+ 'disabled-opacity',
984
+ 'focus-bg',
985
+ 'focus-bg-image',
986
+ 'focus-border-color',
987
+ 'focus-box-shadow',
988
+ 'focus-color',
989
+ 'hover-bg',
990
+ 'hover-border-color',
991
+ 'hover-box-shadow',
992
+ 'hover-color'
993
+ );
994
+
928
995
  @if ($enabled) {
929
996
  @if (length($base) != 0) {
930
997
  @include clay-css($base);
@@ -2528,6 +2595,87 @@
2528
2595
  )
2529
2596
  );
2530
2597
 
2598
+ $map: map-remove(
2599
+ $map,
2600
+ 'data-label-after-content',
2601
+ 'data-label-after-right',
2602
+ 'data-label-before-content',
2603
+ 'data-label-before-left',
2604
+ 'data-label-font-size',
2605
+ 'data-label-font-weight',
2606
+ 'data-label-line-height',
2607
+ 'data-label-margin-top',
2608
+ 'data-label-position',
2609
+ 'data-label-spacer',
2610
+ 'data-label-text-align',
2611
+ 'data-label-top',
2612
+ 'data-label-width',
2613
+ 'disabled-color',
2614
+ 'disabled-cursor',
2615
+ 'disabled-progress-bg',
2616
+ 'disabled-thumb-bg',
2617
+ 'disabled-thumb-box-shadow',
2618
+ 'disabled-track-bg',
2619
+ 'focus-outline',
2620
+ 'focus-thumb-box-shadow',
2621
+ 'form-control-appearance',
2622
+ 'form-control-bg',
2623
+ 'form-control-height',
2624
+ 'form-control-position',
2625
+ 'form-control-z-index',
2626
+ 'hover-cursor',
2627
+ 'hover-thumb-bg',
2628
+ 'progress-bg',
2629
+ 'progress-bg-image',
2630
+ 'progress-border-color',
2631
+ 'progress-border-radius',
2632
+ 'progress-border-style',
2633
+ 'progress-border-width',
2634
+ 'progress-height',
2635
+ 'progress-margin-top',
2636
+ 'progress-position',
2637
+ 'progress-top',
2638
+ 'progress-width',
2639
+ 'thumb-bg',
2640
+ 'thumb-bg-image',
2641
+ 'thumb-border-color',
2642
+ 'thumb-border-radius',
2643
+ 'thumb-border-style',
2644
+ 'thumb-border-width',
2645
+ 'thumb-box-shadow',
2646
+ 'thumb-height',
2647
+ 'thumb-width',
2648
+ 'tooltip-arrow-border-color',
2649
+ 'tooltip-arrow-border-style',
2650
+ 'tooltip-arrow-border-width',
2651
+ 'tooltip-arrow-offset',
2652
+ 'tooltip-arrow-size',
2653
+ 'tooltip-bg',
2654
+ 'tooltip-color',
2655
+ 'tooltip-line-height',
2656
+ 'tooltip-padding',
2657
+ 'tooltip-padding-bottom',
2658
+ 'tooltip-padding-left',
2659
+ 'tooltip-padding-right',
2660
+ 'tooltip-padding-top',
2661
+ 'tooltip-spacer-x',
2662
+ 'tooltip-spacer-y',
2663
+ 'tooltip-transition',
2664
+ 'tooltip-visibility',
2665
+ 'tooltip-white-space',
2666
+ 'track-bg',
2667
+ 'track-bg-image',
2668
+ 'track-border-color',
2669
+ 'track-border-radius',
2670
+ 'track-border-style',
2671
+ 'track-border-width',
2672
+ 'track-height',
2673
+ 'track-margin-top',
2674
+ 'track-position',
2675
+ 'track-top',
2676
+ 'track-width'
2677
+ );
2678
+
2531
2679
  @if ($enabled) {
2532
2680
  @if (length($map) != 0) {
2533
2681
  @include clay-css($map);
@@ -3008,6 +3156,8 @@
3008
3156
  )
3009
3157
  );
3010
3158
 
3159
+ $map: map-remove($map, 'tooltip-arrow-offset');
3160
+
3011
3161
  @if ($enabled) {
3012
3162
  @if (length($map) != 0) {
3013
3163
  @include clay-css($map);
@@ -10,269 +10,6 @@
10
10
 
11
11
  @mixin clay-css($map) {
12
12
  @if (type-of($map) == 'map') {
13
- $properties: (
14
- '-moz-appearance',
15
- '-moz-osx-font-smoothing',
16
- '-ms-overflow-style',
17
- '-webkit-appearance',
18
- '-webkit-font-smoothing',
19
- '-webkit-overflow-scrolling',
20
- '-webkit-tap-highlight-color',
21
- '-webkit-text-size-adjust',
22
- 'accent-color',
23
- 'align-content',
24
- 'align-items',
25
- 'align-self',
26
- 'animation',
27
- 'animation-delay',
28
- 'animation-direction',
29
- 'animation-duration',
30
- 'animation-fill-mode',
31
- 'animation-iteration-count',
32
- 'animation-name',
33
- 'animation-play-state',
34
- 'animation-timing-function',
35
- 'aspect-ratio',
36
- 'backdrop-filter',
37
- 'backface-visibility',
38
- 'background',
39
- 'background-attachment',
40
- 'background-blend-mode',
41
- 'background-clip',
42
- 'background-color',
43
- 'background-image',
44
- 'background-origin',
45
- 'background-position',
46
- 'background-repeat',
47
- 'background-size',
48
- 'border',
49
- 'border-bottom',
50
- 'border-bottom-color',
51
- 'border-bottom-left-radius',
52
- 'border-bottom-right-radius',
53
- 'border-bottom-style',
54
- 'border-bottom-width',
55
- 'border-collapse',
56
- 'border-color',
57
- 'border-image',
58
- 'border-image-outset',
59
- 'border-image-repeat',
60
- 'border-image-slice',
61
- 'border-image-source',
62
- 'border-image-width',
63
- 'border-left',
64
- 'border-left-color',
65
- 'border-left-style',
66
- 'border-left-width',
67
- 'border-radius',
68
- 'border-right',
69
- 'border-right-color',
70
- 'border-right-style',
71
- 'border-right-width',
72
- 'border-spacing',
73
- 'border-style',
74
- 'border-top',
75
- 'border-top-color',
76
- 'border-top-left-radius',
77
- 'border-top-right-radius',
78
- 'border-top-style',
79
- 'border-top-width',
80
- 'border-width',
81
- 'bottom',
82
- 'box-decoration-break',
83
- 'box-shadow',
84
- 'box-sizing',
85
- 'caption-side',
86
- 'caret-color',
87
- 'clear',
88
- 'clip',
89
- '-webkit-clip-path',
90
- 'clip-path',
91
- 'contain',
92
- 'container',
93
- 'container-name',
94
- 'container-type',
95
- 'color',
96
- 'column-count',
97
- 'column-fill',
98
- 'column-gap',
99
- 'column-rule',
100
- 'column-rule-color',
101
- 'column-rule-style',
102
- 'column-rule-width',
103
- 'column-span',
104
- 'column-width',
105
- 'columns',
106
- 'content',
107
- 'counter-increment',
108
- 'counter-reset',
109
- 'cursor',
110
- 'direction',
111
- 'display',
112
- 'empty-cells',
113
- 'fill',
114
- 'filter',
115
- 'flex',
116
- 'flex-basis',
117
- 'flex-direction',
118
- 'flex-flow',
119
- 'flex-grow',
120
- 'flex-shrink',
121
- 'flex-wrap',
122
- 'float',
123
- 'font',
124
- 'font-family',
125
- 'font-feature-settings',
126
- 'font-kerning',
127
- 'font-size',
128
- 'font-stretch',
129
- 'font-style',
130
- 'font-variant',
131
- 'font-variant-numeric',
132
- 'font-weight',
133
- 'gap',
134
- 'grid',
135
- 'grid-area',
136
- 'grid-auto-columns',
137
- 'grid-auto-flow',
138
- 'grid-auto-rows',
139
- 'grid-column',
140
- 'grid-column-end',
141
- 'grid-column-gap',
142
- 'grid-column-start',
143
- 'grid-gap',
144
- 'grid-row',
145
- 'grid-row-end',
146
- 'grid-row-gap',
147
- 'grid-row-start',
148
- 'grid-template',
149
- 'grid-template-areas',
150
- 'grid-template-columns',
151
- 'grid-template-rows',
152
- 'height',
153
- 'hyphens',
154
- 'inset',
155
- 'isolation',
156
- 'justify-content',
157
- 'left',
158
- 'letter-spacing',
159
- 'line-height',
160
- 'list-style',
161
- 'list-style-image',
162
- 'list-style-position',
163
- 'list-style-type',
164
- 'margin',
165
- 'margin-bottom',
166
- 'margin-left',
167
- 'margin-right',
168
- 'margin-top',
169
- '-webkit-mask',
170
- '-webkit-mask-clip',
171
- '-webkit-mask-composite',
172
- '-webkit-mask-image',
173
- '-webkit-mask-mode',
174
- '-webkit-mask-origin',
175
- '-webkit-mask-position',
176
- '-webkit-mask-repeat',
177
- '-webkit-mask-size',
178
- 'mask',
179
- 'mask-clip',
180
- 'mask-composite',
181
- 'mask-image',
182
- 'mask-mode',
183
- 'mask-origin',
184
- 'mask-position',
185
- 'mask-repeat',
186
- 'mask-size',
187
- 'max-height',
188
- 'max-width',
189
- 'min-height',
190
- 'min-width',
191
- 'mix-blend-mode',
192
- 'object-fit',
193
- 'object-position',
194
- 'opacity',
195
- 'order',
196
- 'outline',
197
- 'outline-color',
198
- 'outline-offset',
199
- 'outline-style',
200
- 'outline-width',
201
- 'overflow',
202
- 'overflow-x',
203
- 'overflow-y',
204
- 'overscroll-behavior',
205
- 'overscroll-behavior-x',
206
- 'overscroll-behavior-y',
207
- 'padding',
208
- 'padding-bottom',
209
- 'padding-left',
210
- 'padding-right',
211
- 'padding-top',
212
- 'page-break-after',
213
- 'page-break-before',
214
- 'page-break-inside',
215
- 'perspective',
216
- 'perspective-origin',
217
- 'place-content',
218
- 'place-items',
219
- 'place-self',
220
- 'pointer-events',
221
- 'position',
222
- 'resize',
223
- 'right',
224
- 'row-gap',
225
- 'scroll-behavior',
226
- 'scroll-margin',
227
- 'scroll-margin-bottom',
228
- 'scroll-margin-left',
229
- 'scroll-margin-right',
230
- 'scroll-margin-top',
231
- 'scroll-padding',
232
- 'scroll-padding-bottom',
233
- 'scroll-padding-left',
234
- 'scroll-padding-right',
235
- 'scroll-padding-top',
236
- 'scroll-snap-align',
237
- 'scroll-snap-stop',
238
- 'scroll-snap-type',
239
- 'scrollbar-width',
240
- 'table-layout',
241
- 'text-align',
242
- 'text-decoration',
243
- 'text-decoration-color',
244
- 'text-decoration-line',
245
- 'text-decoration-skip-ink',
246
- 'text-decoration-style',
247
- 'text-decoration-thickness',
248
- 'text-underline-offset',
249
- 'text-underline-position',
250
- 'text-indent',
251
- 'text-justify',
252
- 'text-overflow',
253
- 'text-shadow',
254
- 'text-transform',
255
- 'top',
256
- 'touch-action',
257
- 'transform',
258
- 'transform-origin',
259
- 'transform-style',
260
- 'transition',
261
- 'transition-delay',
262
- 'transition-duration',
263
- 'transition-property',
264
- 'transition-timing-function',
265
- 'vertical-align',
266
- 'visibility',
267
- 'white-space',
268
- 'width',
269
- 'will-change',
270
- 'word-break',
271
- 'word-spacing',
272
- 'writing-mode',
273
- 'z-index'
274
- );
275
-
276
13
  $enabled: setter(map-get($map, enabled), true);
277
14
 
278
15
  $_prefers-reduced-motion-media-query: if(
@@ -289,113 +26,119 @@
289
26
 
290
27
  @if ($enabled) {
291
28
  @each $key, $value in $map {
292
- @if ($value == clay-unset or $value == c-unset) {
293
- $value: null;
294
- }
29
+ // $variable: (); defaults to type `list`, convert empty maps
30
+ // to type map
295
31
 
296
- @if (starts-with($key, '--')) {
297
- #{$key}: $value;
32
+ @if (length($value) == 0 and type-of($value) == 'list') {
33
+ $value: map-new();
298
34
  }
299
35
 
300
- @if ($key == 'appearance') {
301
- -moz-appearance: $value;
302
- -webkit-appearance: $value;
36
+ @if (type-of($value) != 'map') {
37
+ @if ($key != 'enabled') {
38
+ @if ($value == clay-unset or $value == c-unset) {
39
+ $value: null;
40
+ } @else if ($key == 'appearance') {
41
+ -moz-appearance: $value;
42
+ -webkit-appearance: $value;
303
43
 
304
- &::-ms-expand {
305
- display: $value;
306
- }
307
-
308
- appearance: $value;
309
- } @else if ($key == 'animation') {
310
- animation: $value;
311
-
312
- @if ($value != 'none' and $value != null) {
313
- @if ($_prefers-reduced-motion-media-query) {
314
- @media (prefers-reduced-motion: reduce) {
315
- animation: none;
44
+ &::-ms-expand {
45
+ display: $value;
316
46
  }
317
- }
318
47
 
319
- @at-root {
320
- $selector: '.c-prefers-reduced-motion &';
321
-
322
- @if (variable-exists(cadmin-selector)) {
323
- $selector: clay-insert-before(
324
- '.cadmin',
325
- '.c-prefers-reduced-motion '
326
- );
48
+ appearance: $value;
49
+ } @else if ($key == 'animation') {
50
+ animation: $value;
51
+
52
+ @if ($value != 'none' and $value != null) {
53
+ @if ($_prefers-reduced-motion-media-query) {
54
+ @media (prefers-reduced-motion: reduce) {
55
+ animation: none;
56
+ }
57
+ }
58
+
59
+ @at-root {
60
+ $selector: '.c-prefers-reduced-motion &';
61
+
62
+ @if (variable-exists(cadmin-selector)) {
63
+ $selector: clay-insert-before(
64
+ '.cadmin',
65
+ '.c-prefers-reduced-motion '
66
+ );
67
+ }
68
+
69
+ #{$selector} {
70
+ animation: none;
71
+ }
72
+ }
327
73
  }
328
-
329
- #{$selector} {
330
- animation: none;
74
+ } @else if ($key == 'content') {
75
+ content: $value;
76
+ } @else if ($key == 'word-wrap') {
77
+ overflow-wrap: $value;
78
+ word-wrap: $value;
79
+ } @else if ($key == 'overflow-wrap') {
80
+ overflow-wrap: $value;
81
+ word-wrap: $value;
82
+ } @else if ($key == 'text-overflow') {
83
+ @if ($value == 'ellipsis') {
84
+ text-overflow: $value;
85
+
86
+ @at-root {
87
+ $selector: '.c-prefers-expanded-text &';
88
+
89
+ @if (variable-exists(cadmin-selector)) {
90
+ $selector: clay-insert-before(
91
+ '.cadmin',
92
+ '.c-prefers-expanded-text '
93
+ );
94
+ }
95
+
96
+ #{$selector} {
97
+ @extend %c-prefers-expanded-text
98
+ !optional;
99
+ }
100
+ }
331
101
  }
332
- }
333
- }
334
- } @else if ($key == 'content') {
335
- content: $value;
336
- } @else if ($key == 'word-wrap') {
337
- overflow-wrap: $value;
338
- word-wrap: $value;
339
- } @else if ($key == 'overflow-wrap') {
340
- overflow-wrap: $value;
341
- word-wrap: $value;
342
- } @else if ($key == 'text-overflow') {
343
- @if ($value == 'ellipsis') {
344
- text-overflow: $value;
345
-
346
- @at-root {
347
- $selector: '.c-prefers-expanded-text &';
348
-
349
- @if (variable-exists(cadmin-selector)) {
350
- $selector: clay-insert-before(
351
- '.cadmin',
352
- '.c-prefers-expanded-text '
353
- );
102
+ } @else if ($key == 'transition') {
103
+ transition: $value;
104
+
105
+ @if ($value != 'none' and $value != null) {
106
+ @if ($_prefers-reduced-motion-media-query) {
107
+ @media (prefers-reduced-motion: reduce) {
108
+ transition: none;
109
+ }
110
+ }
111
+
112
+ @at-root {
113
+ $selector: '.c-prefers-reduced-motion &';
114
+
115
+ @if (variable-exists(cadmin-selector)) {
116
+ $selector: clay-insert-before(
117
+ '.cadmin',
118
+ '.c-prefers-reduced-motion '
119
+ );
120
+ }
121
+
122
+ #{$selector} {
123
+ transition: none;
124
+ }
125
+ }
354
126
  }
355
-
356
- #{$selector} {
357
- @extend %c-prefers-expanded-text !optional;
358
- }
359
- }
360
- }
361
- } @else if ($key == 'transition') {
362
- transition: $value;
363
-
364
- @if ($value != 'none' and $value != null) {
365
- @if ($_prefers-reduced-motion-media-query) {
366
- @media (prefers-reduced-motion: reduce) {
367
- transition: none;
368
- }
369
- }
370
-
371
- @at-root {
372
- $selector: '.c-prefers-reduced-motion &';
373
-
374
- @if (variable-exists(cadmin-selector)) {
375
- $selector: clay-insert-before(
376
- '.cadmin',
377
- '.c-prefers-reduced-motion '
378
- );
379
- }
380
-
381
- #{$selector} {
382
- transition: none;
127
+ } @else if ($key == 'extend') {
128
+ @extend #{$value} !optional;
129
+ } @else if ($key == 'user-select') {
130
+ -ms-user-select: $value;
131
+ -moz-user-select: $value;
132
+ -webkit-user-select: $value;
133
+ user-select: $value;
134
+ } @else if ($key == 'aspect-ratio') {
135
+ @if (type-of($value) != 'map') {
136
+ aspect-ratio: $value;
383
137
  }
138
+ } @else {
139
+ #{$key}: #{$value};
384
140
  }
385
141
  }
386
- } @else if ($key == 'extend') {
387
- @extend #{$value} !optional;
388
- } @else if ($key == 'user-select') {
389
- -ms-user-select: $value;
390
- -moz-user-select: $value;
391
- -webkit-user-select: $value;
392
- user-select: $value;
393
- } @else if ($key == 'aspect-ratio') {
394
- @if (type-of($value) != 'map') {
395
- aspect-ratio: $value;
396
- }
397
- } @else if (index($properties, $key)) {
398
- #{$key}: #{$value};
399
142
  }
400
143
  }
401
144