@ulu/frontend 0.1.0-beta.8 → 0.1.0-beta.81

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 (294) hide show
  1. package/CHANGELOG.md +544 -0
  2. package/README.dev.md +3 -3
  3. package/README.md +14 -4
  4. package/dist/ulu-frontend.min.css +1 -1
  5. package/dist/ulu-frontend.min.js +34 -27
  6. package/docs-dev/assets/main.js +8290 -635
  7. package/docs-dev/assets/placeholder/icon-calendar.svg +1 -0
  8. package/docs-dev/assets/placeholder/icon-check.svg +1 -0
  9. package/docs-dev/assets/style.css +789 -338
  10. package/docs-dev/changelog/index.html +6593 -0
  11. package/docs-dev/demos/accordion/index.html +850 -328
  12. package/docs-dev/demos/badge/index.html +5265 -0
  13. package/docs-dev/demos/basic-hero/index.html +111 -0
  14. package/docs-dev/demos/breakpoints-manager/index.html +5276 -0
  15. package/docs-dev/demos/button/index.html +892 -328
  16. package/docs-dev/demos/button-verbose/index.html +5268 -0
  17. package/docs-dev/demos/callout/index.html +895 -332
  18. package/docs-dev/demos/captioned-figure/index.html +850 -327
  19. package/docs-dev/demos/card/index.html +930 -768
  20. package/docs-dev/demos/card-grid/index.html +5387 -0
  21. package/docs-dev/demos/counter-list/index.html +5270 -0
  22. package/docs-dev/demos/css-icons/index.html +873 -327
  23. package/docs-dev/demos/data-grid/index.html +870 -347
  24. package/docs-dev/demos/data-table/index.html +1024 -368
  25. package/docs-dev/demos/details-group/index.html +5297 -0
  26. package/docs-dev/demos/file-save/index.html +850 -327
  27. package/docs-dev/demos/flipcard/index.html +850 -327
  28. package/docs-dev/demos/form-theme/index.html +868 -358
  29. package/docs-dev/demos/hero/index.html +12 -4
  30. package/docs-dev/demos/image-grid/index.html +12 -4
  31. package/docs-dev/demos/index.html +851 -328
  32. package/docs-dev/demos/list-inline/index.html +850 -327
  33. package/docs-dev/demos/list-lines/index.html +850 -327
  34. package/docs-dev/demos/menu-stack/index.html +884 -346
  35. package/docs-dev/demos/modals/index.html +977 -331
  36. package/docs-dev/demos/nav-strip/index.html +850 -327
  37. package/docs-dev/demos/overlay-section/index.html +939 -346
  38. package/docs-dev/demos/popovers/index.html +1112 -347
  39. package/docs-dev/demos/print/index.html +850 -327
  40. package/docs-dev/demos/pull-quote/index.html +850 -327
  41. package/docs-dev/demos/rule/index.html +863 -328
  42. package/docs-dev/demos/scroll-slider/index.html +72 -106
  43. package/docs-dev/demos/scrollpoints/index.html +851 -328
  44. package/docs-dev/demos/slider/index.html +12 -4
  45. package/docs-dev/demos/spoke-spinner/index.html +850 -327
  46. package/docs-dev/demos/{list-inline.1 → sticky-list}/index.html +883 -357
  47. package/docs-dev/demos/tabs/index.html +886 -327
  48. package/docs-dev/demos/tag/index.html +850 -327
  49. package/docs-dev/demos/theme-toggle/index.html +5309 -0
  50. package/docs-dev/demos/tile-grid-overlay/index.html +12 -4
  51. package/docs-dev/demos/tiles/index.html +850 -327
  52. package/docs-dev/demos/tooltip/index.html +850 -327
  53. package/docs-dev/guide/building-stylesheet/index.html +850 -327
  54. package/docs-dev/guide/developing-ulu-scss-module/index.html +850 -327
  55. package/docs-dev/guide/index.html +850 -327
  56. package/docs-dev/index.html +850 -327
  57. package/docs-dev/javascript/events/index.html +888 -327
  58. package/docs-dev/javascript/index.html +850 -327
  59. package/docs-dev/javascript/settings/index.html +5435 -0
  60. package/docs-dev/javascript/ui-breakpoints/index.html +862 -341
  61. package/docs-dev/javascript/ui-collapsible/index.html +847 -326
  62. package/docs-dev/javascript/ui-details-group/index.html +5352 -0
  63. package/docs-dev/javascript/ui-dialog/index.html +879 -343
  64. package/docs-dev/javascript/ui-flipcard/index.html +908 -331
  65. package/docs-dev/javascript/ui-grid/index.html +857 -362
  66. package/docs-dev/javascript/ui-modal-builder/index.html +1047 -386
  67. package/docs-dev/javascript/ui-overflow-scroller/index.html +847 -326
  68. package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +847 -326
  69. package/docs-dev/javascript/ui-page/index.html +847 -326
  70. package/docs-dev/javascript/ui-popover/index.html +855 -338
  71. package/docs-dev/javascript/ui-print/index.html +847 -334
  72. package/docs-dev/javascript/ui-print-details/index.html +847 -326
  73. package/docs-dev/javascript/ui-programmatic-modal/index.html +847 -326
  74. package/docs-dev/javascript/ui-proxy-click/index.html +934 -328
  75. package/docs-dev/javascript/ui-resizer/index.html +926 -336
  76. package/docs-dev/javascript/ui-scroll-slider/index.html +885 -332
  77. package/docs-dev/javascript/ui-scrollpoint/index.html +853 -339
  78. package/docs-dev/javascript/ui-slider/index.html +1043 -331
  79. package/docs-dev/javascript/ui-tabs/index.html +858 -374
  80. package/docs-dev/javascript/ui-theme-toggle/index.html +5440 -0
  81. package/docs-dev/javascript/ui-tooltip/index.html +854 -337
  82. package/docs-dev/javascript/utils-class-logger/index.html +848 -327
  83. package/docs-dev/javascript/utils-css/index.html +5254 -0
  84. package/docs-dev/javascript/utils-dom/index.html +887 -446
  85. package/docs-dev/javascript/utils-file-save/index.html +847 -326
  86. package/docs-dev/javascript/utils-floating-ui/index.html +847 -326
  87. package/docs-dev/javascript/utils-id/index.html +847 -326
  88. package/docs-dev/javascript/utils-pause-youtube-video/index.html +847 -326
  89. package/docs-dev/javascript/utils-system/index.html +5557 -0
  90. package/docs-dev/sass/base/color/index.html +847 -326
  91. package/docs-dev/sass/base/elements/index.html +847 -326
  92. package/docs-dev/sass/base/index/index.html +847 -326
  93. package/docs-dev/sass/base/index.html +850 -327
  94. package/docs-dev/sass/base/keyframes/index.html +847 -326
  95. package/docs-dev/sass/base/layout/index.html +847 -326
  96. package/docs-dev/sass/base/normalize/index.html +847 -326
  97. package/docs-dev/sass/base/print/index.html +847 -326
  98. package/docs-dev/sass/base/root/index.html +847 -326
  99. package/docs-dev/sass/base/typography/index.html +847 -326
  100. package/docs-dev/sass/components/accordion/index.html +866 -338
  101. package/docs-dev/sass/components/adaptive-spacing/index.html +847 -326
  102. package/docs-dev/sass/components/badge/index.html +869 -337
  103. package/docs-dev/sass/components/basic-hero/index.html +5415 -0
  104. package/docs-dev/sass/components/button/index.html +847 -326
  105. package/docs-dev/sass/components/button-verbose/index.html +933 -337
  106. package/docs-dev/sass/components/callout/index.html +958 -418
  107. package/docs-dev/sass/components/captioned-figure/index.html +970 -334
  108. package/docs-dev/sass/components/card/index.html +939 -346
  109. package/docs-dev/sass/components/card-grid/index.html +847 -326
  110. package/docs-dev/sass/components/counter-list/index.html +5497 -0
  111. package/docs-dev/sass/components/css-icon/index.html +864 -336
  112. package/docs-dev/sass/components/data-grid/index.html +868 -340
  113. package/docs-dev/sass/components/data-table/index.html +1063 -352
  114. package/docs-dev/sass/components/fill-context/index.html +847 -326
  115. package/docs-dev/sass/components/flipcard/index.html +888 -336
  116. package/docs-dev/sass/components/flipcard-grid/index.html +847 -326
  117. package/docs-dev/sass/components/form-theme/index.html +1063 -446
  118. package/docs-dev/sass/components/hero/index.html +903 -334
  119. package/docs-dev/sass/components/horizontal-rule/index.html +847 -326
  120. package/docs-dev/sass/components/image-grid/index.html +847 -326
  121. package/docs-dev/sass/components/index/index.html +860 -336
  122. package/docs-dev/sass/components/index.html +850 -327
  123. package/docs-dev/sass/components/links/index.html +847 -326
  124. package/docs-dev/sass/components/list-inline/index.html +847 -326
  125. package/docs-dev/sass/components/list-lines/index.html +847 -326
  126. package/docs-dev/sass/components/list-ordered/index.html +847 -326
  127. package/docs-dev/sass/components/list-unordered/index.html +847 -326
  128. package/docs-dev/sass/components/menu-stack/index.html +881 -347
  129. package/docs-dev/sass/components/modal/index.html +898 -342
  130. package/docs-dev/sass/components/nav-strip/index.html +855 -334
  131. package/docs-dev/sass/components/overlay-section/index.html +855 -334
  132. package/docs-dev/sass/components/pager/index.html +847 -326
  133. package/docs-dev/sass/components/placeholder-block/index.html +847 -326
  134. package/docs-dev/sass/components/popover/index.html +904 -347
  135. package/docs-dev/sass/components/pull-quote/index.html +859 -338
  136. package/docs-dev/sass/components/ratio-box/index.html +855 -334
  137. package/docs-dev/sass/components/rule/index.html +848 -327
  138. package/docs-dev/sass/components/scroll-slider/index.html +855 -346
  139. package/docs-dev/sass/components/skip-link/index.html +847 -326
  140. package/docs-dev/sass/components/slider/index.html +897 -388
  141. package/docs-dev/sass/components/spoke-spinner/index.html +849 -328
  142. package/docs-dev/sass/components/sticky-list/index.html +5633 -0
  143. package/docs-dev/sass/components/tabs/index.html +872 -336
  144. package/docs-dev/sass/components/tag/index.html +849 -328
  145. package/docs-dev/sass/components/tile-button/index.html +847 -326
  146. package/docs-dev/sass/components/tile-grid/index.html +847 -326
  147. package/docs-dev/sass/components/tile-grid-overlay/index.html +847 -326
  148. package/docs-dev/sass/components/vignette/index.html +861 -334
  149. package/docs-dev/sass/components/wysiwyg/index.html +847 -326
  150. package/docs-dev/sass/core/breakpoint/index.html +931 -358
  151. package/docs-dev/sass/core/button/index.html +847 -326
  152. package/docs-dev/sass/core/color/index.html +1019 -366
  153. package/docs-dev/sass/core/cssvar/index.html +847 -326
  154. package/docs-dev/sass/core/element/index.html +1108 -381
  155. package/docs-dev/sass/core/index.html +847 -326
  156. package/docs-dev/sass/core/layout/index.html +903 -363
  157. package/docs-dev/sass/core/path/index.html +847 -326
  158. package/docs-dev/sass/core/selector/index.html +847 -326
  159. package/docs-dev/sass/core/typography/index.html +847 -326
  160. package/docs-dev/sass/core/units/index.html +857 -330
  161. package/docs-dev/sass/core/utils/index.html +2104 -476
  162. package/docs-dev/sass/helpers/color/index.html +847 -326
  163. package/docs-dev/sass/helpers/display/index.html +848 -327
  164. package/docs-dev/sass/helpers/index/index.html +847 -326
  165. package/docs-dev/sass/helpers/index.html +850 -327
  166. package/docs-dev/sass/helpers/print/index.html +759 -298
  167. package/docs-dev/sass/helpers/typography/index.html +847 -326
  168. package/docs-dev/sass/helpers/units/index.html +847 -326
  169. package/docs-dev/sass/helpers/utilities/index.html +849 -328
  170. package/docs-dev/sass/index.html +850 -327
  171. package/js/events/index.js +17 -5
  172. package/js/index.js +1 -0
  173. package/js/settings.js +97 -0
  174. package/js/ui/breakpoints.js +19 -16
  175. package/js/ui/collapsible.js +8 -1
  176. package/js/ui/details-group.js +112 -0
  177. package/js/ui/dialog.js +132 -45
  178. package/js/ui/dialog.todo +2 -36
  179. package/js/ui/flipcard.js +37 -57
  180. package/js/ui/grid.js +15 -13
  181. package/js/ui/index.js +1 -0
  182. package/js/ui/modal-builder.js +126 -69
  183. package/js/ui/overflow-scroller.js +6 -4
  184. package/js/ui/page.js +2 -2
  185. package/js/ui/popover.js +38 -38
  186. package/js/ui/print.js +16 -25
  187. package/js/ui/programmatic-modal.js +9 -3
  188. package/js/ui/proxy-click.js +50 -36
  189. package/js/ui/resizer.js +186 -36
  190. package/js/ui/scroll-slider.js +24 -30
  191. package/js/ui/scrollpoint.js +29 -64
  192. package/js/ui/slider.js +108 -63
  193. package/js/ui/tabs.js +23 -36
  194. package/js/ui/theme-toggle.js +332 -94
  195. package/js/ui/tooltip.js +27 -32
  196. package/js/utils/class-logger.js +3 -3
  197. package/js/utils/css.js +13 -0
  198. package/js/utils/dom.js +23 -64
  199. package/js/utils/font-awesome.js +19 -0
  200. package/js/utils/index.js +2 -1
  201. package/js/utils/system.js +155 -0
  202. package/package.json +23 -8
  203. package/scss/README.md +4 -0
  204. package/scss/_breakpoint.scss +38 -4
  205. package/scss/_color.scss +40 -9
  206. package/scss/_element.scss +108 -2
  207. package/scss/_layout.scss +7 -8
  208. package/scss/_units.scss +3 -2
  209. package/scss/_utils.scss +380 -16
  210. package/scss/components/README.todos +14 -0
  211. package/scss/components/_accordion.scss +33 -19
  212. package/scss/components/_badge.scss +23 -4
  213. package/scss/components/_basic-hero.scss +112 -0
  214. package/scss/components/_button-verbose.scss +100 -18
  215. package/scss/components/_callout.scss +125 -78
  216. package/scss/components/_captioned-figure.scss +17 -0
  217. package/scss/components/_card-grid.scss +1 -1
  218. package/scss/components/_card.scss +246 -74
  219. package/scss/components/_counter-list.scss +151 -0
  220. package/scss/components/_css-icon.scss +35 -21
  221. package/scss/components/_data-grid.scss +55 -9
  222. package/scss/components/_data-table.scss +39 -3
  223. package/scss/components/_flipcard.scss +8 -3
  224. package/scss/components/_form-theme.scss +119 -108
  225. package/scss/components/_hero.scss +12 -10
  226. package/scss/components/_index.scss +18 -0
  227. package/scss/components/_menu-stack.scss +42 -26
  228. package/scss/components/_modal.scss +58 -29
  229. package/scss/components/_nav-strip.scss +2 -0
  230. package/scss/components/_overlay-section.scss +2 -5
  231. package/scss/components/_popover.scss +165 -64
  232. package/scss/components/_pull-quote.scss +13 -13
  233. package/scss/components/_ratio-box.scss +2 -5
  234. package/scss/components/_rule.scss +1 -0
  235. package/scss/components/_scroll-slider.scss +1 -5
  236. package/scss/components/_slider.scss +49 -72
  237. package/scss/components/_spoke-spinner.scss +2 -2
  238. package/scss/components/_sticky-list.scss +206 -0
  239. package/scss/components/_tabs.scss +22 -4
  240. package/scss/components/_vignette.scss +3 -5
  241. package/scss/helpers/_display.scss +15 -18
  242. package/scss/helpers/_print.scss +12 -7
  243. package/scss/helpers/_utilities.scss +42 -32
  244. package/types/events/index.d.ts +10 -1
  245. package/types/events/index.d.ts.map +1 -1
  246. package/types/index.d.ts +1 -0
  247. package/types/settings.d.ts +70 -0
  248. package/types/settings.d.ts.map +1 -0
  249. package/types/ui/breakpoints.d.ts +14 -14
  250. package/types/ui/breakpoints.d.ts.map +1 -1
  251. package/types/ui/collapsible.d.ts.map +1 -1
  252. package/types/ui/details-group.d.ts +38 -0
  253. package/types/ui/details-group.d.ts.map +1 -0
  254. package/types/ui/dialog.d.ts +20 -14
  255. package/types/ui/dialog.d.ts.map +1 -1
  256. package/types/ui/flipcard.d.ts +16 -10
  257. package/types/ui/flipcard.d.ts.map +1 -1
  258. package/types/ui/grid.d.ts +4 -6
  259. package/types/ui/grid.d.ts.map +1 -1
  260. package/types/ui/index.d.ts +2 -1
  261. package/types/ui/modal-builder.d.ts +116 -11
  262. package/types/ui/modal-builder.d.ts.map +1 -1
  263. package/types/ui/overflow-scroller.d.ts +2 -2
  264. package/types/ui/overflow-scroller.d.ts.map +1 -1
  265. package/types/ui/popover.d.ts +6 -7
  266. package/types/ui/popover.d.ts.map +1 -1
  267. package/types/ui/print.d.ts +0 -4
  268. package/types/ui/print.d.ts.map +1 -1
  269. package/types/ui/programmatic-modal.d.ts.map +1 -1
  270. package/types/ui/proxy-click.d.ts +19 -3
  271. package/types/ui/proxy-click.d.ts.map +1 -1
  272. package/types/ui/resizer.d.ts +39 -12
  273. package/types/ui/resizer.d.ts.map +1 -1
  274. package/types/ui/scroll-slider.d.ts +5 -7
  275. package/types/ui/scroll-slider.d.ts.map +1 -1
  276. package/types/ui/scrollpoint.d.ts +3 -8
  277. package/types/ui/scrollpoint.d.ts.map +1 -1
  278. package/types/ui/slider.d.ts +33 -14
  279. package/types/ui/slider.d.ts.map +1 -1
  280. package/types/ui/tabs.d.ts +6 -8
  281. package/types/ui/tabs.d.ts.map +1 -1
  282. package/types/ui/theme-toggle.d.ts +51 -7
  283. package/types/ui/theme-toggle.d.ts.map +1 -1
  284. package/types/ui/tooltip.d.ts +3 -5
  285. package/types/ui/tooltip.d.ts.map +1 -1
  286. package/types/utils/css.d.ts +11 -0
  287. package/types/utils/css.d.ts.map +1 -0
  288. package/types/utils/dom.d.ts +12 -32
  289. package/types/utils/dom.d.ts.map +1 -1
  290. package/types/utils/font-awesome.d.ts +5 -0
  291. package/types/utils/font-awesome.d.ts.map +1 -0
  292. package/types/utils/index.d.ts +2 -1
  293. package/types/utils/system.d.ts +113 -0
  294. package/types/utils/system.d.ts.map +1 -0
@@ -19,12 +19,20 @@ $-fallbacks: (
19
19
  "link-border-radius" : (
20
20
  "function" : meta.get-function("get", false, "button"),
21
21
  "property" : "border-radius"
22
+ ),
23
+ "label-line-height" : (
24
+ "function" : meta.get-function("get", false, "typography"),
25
+ "property" : "line-height-dense"
26
+ ),
27
+ "link-line-height" : (
28
+ "function" : meta.get-function("get", false, "typography"),
29
+ "property" : "line-height-dense"
22
30
  )
23
31
  );
24
32
 
25
33
  /// Module Settings
26
34
  /// @type Map
27
- /// @prop {Dimension} checkbox-area-width [3em] The width of the checkbox are.
35
+ /// @prop {Dimension} selectable-input-width [3em] The width of the checkbox/radio input
28
36
  /// @prop {Boolean} link-separated-margin [false] Enables a margin between the items in the menu-stack.
29
37
  /// @prop {Boolean} link-separated-rule-style [false] Enables a rule between the items in the menu-stack.
30
38
  /// @prop {Dimension} nested-indent [0.5em] The indentation of child lists within the menu-stack.
@@ -36,7 +44,8 @@ $-fallbacks: (
36
44
  /// @prop {Color} label-color [null] The type color of the label.
37
45
  /// @prop {Dimension} label-margin [0.5em] The margin of the label.
38
46
  /// @prop {CssValue} label-text-transform [uppercase] Transforms the label text.
39
- /// @prop {CssValue} label-type-size [false] Adjusts the type size of the label.
47
+ /// @prop {CssValue} label-type-size [false] Adjusts the type size of the label. Only uses font-size from type size.
48
+ /// @prop {CssValue} label-line-height [true] Adjust the label line-height, defaults to typography line-height-dense
40
49
  /// @prop {list} link-active-selectors [(.is-active, '[aria-current=page]')] Selectors to apply active styling.
41
50
  /// @prop {Color} link-background-color [transparent] The background color of the menu-stack toggle.
42
51
  /// @prop {Color} link-background-color-active [rgb(219, 219, 219)] The background color of the menu-stack toggle when active.
@@ -46,6 +55,7 @@ $-fallbacks: (
46
55
  /// @prop {Color} link-color-active [black] The type color of the menu-stack toggle when active.
47
56
  /// @prop {String} link-color-hover [link-hover] The type color of the menu-stack toggle when hovered or focused. This uses color.scss, so the value of this option should be a color variable from color.scss.
48
57
  /// @prop {CssValue} link-font-weight [null] The font weight of the menu-stack toggle.
58
+ /// @prop {CssValue} label-line-height [true] Adjust the link line-height, defaults to typography line-height-dense
49
59
  /// @prop {Dimension} link-icon-margin [0.65em] Adds a right margin to the icon.
50
60
  /// @prop {Dimension} link-icon-width [1em] The width of the icon.
51
61
  /// @prop {Dimension} link-margin [0.2em] Margin for the menu-stack toggle.
@@ -53,34 +63,35 @@ $-fallbacks: (
53
63
  /// @prop {Dimension} link-padding-y [0.35em] Vertical padding for menu-stack toggle.
54
64
 
55
65
  $config: (
56
- "checkbox-area-width" : 3em,
66
+ "selectable-input-width" : 3em,
57
67
  "nested-indent" : 0.5em,
58
- "rule-style" : "default",
68
+ "rule-style" : "light",
59
69
  "rule-margin" : 0.5em,
60
- "link-separated-margin" : false,
61
- "link-separated-rule-style" : false,
62
70
  "toggle-icon-rotate" : false,
63
- "compact-link-padding-x": 0.75em,
64
- "compact-link-padding-y": 0.25em,
65
-
66
71
  "label-color" : null,
67
72
  "label-margin" : 0.5em,
68
73
  "label-text-transform" : uppercase,
69
74
  "label-type-size" : false,
75
+ "label-line-height" : true,
76
+ "link-separated-margin" : false,
77
+ "link-separated-rule-style" : false,
70
78
  "link-active-selectors" : (".is-active", '[aria-current="page"]'),
71
79
  "link-background-color" : transparent,
72
80
  "link-background-color-active" : rgb(219, 219, 219),
73
- "link-background-color-hover" : rgb(219, 219, 219),
81
+ "link-background-color-hover" : rgb(240, 240, 240),
74
82
  "link-border-radius" : true,
75
83
  "link-color" : "link",
76
84
  "link-color-active" : black,
77
85
  "link-color-hover" : "link-hover",
78
86
  "link-font-weight" : null,
87
+ "link-line-height" : true,
79
88
  "link-icon-margin" : 0.65em,
80
89
  "link-icon-width" : 1em,
81
90
  "link-margin" : 0.2em,
82
- "link-padding-x": 1em,
83
- "link-padding-y": 0.35em,
91
+ "link-padding-x": 1.25em,
92
+ "link-padding-y": 0.5em,
93
+ "compact-link-padding-x": 0.75em,
94
+ "compact-link-padding-y": 0.25em,
84
95
  ) !default;
85
96
 
86
97
 
@@ -116,6 +127,7 @@ $config: (
116
127
 
117
128
  @mixin styles {
118
129
  $prefix: selector.class("menu-stack");
130
+ $selectable-y: (get("link-padding-y") + get("link-margin"));
119
131
 
120
132
  #{ $prefix }--separated {
121
133
  border-top: element.get-rule-style(get("rule-style"));
@@ -126,6 +138,7 @@ $config: (
126
138
  text-transform: get("label-text-transform");
127
139
  padding-bottom: get("label-margin");
128
140
  color: color.get(get("label-color"));
141
+ line-height: get("label-line-height");
129
142
  @if (get("label-type-size")) {
130
143
  @include typography.size(get("label-type-size"), $only-font-size: true);
131
144
  }
@@ -150,7 +163,7 @@ $config: (
150
163
  // - Use the modifier "site-menu--contained" to keep the links within
151
164
  // the parent container (no optical alignment), should be within something that contains it
152
165
  #{ $prefix }__link,
153
- #{ $prefix }__checkbox,
166
+ #{ $prefix }__selectable,
154
167
  #{ $prefix }__toggle {
155
168
  width: 100%;
156
169
  display: flex;
@@ -159,6 +172,7 @@ $config: (
159
172
  margin: get("link-margin") 0;
160
173
  border-radius: get("link-border-radius");
161
174
  font-weight: get("link-font-weight");
175
+ line-height: get("link-line-height");
162
176
  color: color.get(get("link-color"));
163
177
  background-color: color.get(get("link-background-color"));
164
178
  box-sizing: border-box;
@@ -177,19 +191,21 @@ $config: (
177
191
  }
178
192
  }
179
193
  }
180
- #{ $prefix }__checkbox {
181
- $checkbox-y: (get("link-padding-y") + get("link-margin"));
194
+ #{ $prefix }__selectable {
182
195
  padding: 0;
183
196
  position: relative;
184
- [type="checkbox"] {
185
- position: absolute;
186
- top: $checkbox-y;
187
- left: get("link-padding-x");
188
- }
189
- label {
190
- width: 100%;
191
- padding: $checkbox-y get("link-padding-x") $checkbox-y get("checkbox-area-width");
192
- }
197
+ }
198
+ #{ $prefix }__selectable [type="checkbox"],
199
+ #{ $prefix }__selectable [type="radio"],
200
+ #{ $prefix }__selectable-input {
201
+ position: absolute;
202
+ top: $selectable-y;
203
+ left: get("link-padding-x");
204
+ }
205
+ #{ $prefix }__selectable label,
206
+ #{ $prefix }__selectable-label {
207
+ width: 100%;
208
+ padding: $selectable-y get("link-padding-x") $selectable-y get("selectable-input-width");
193
209
  }
194
210
  #{ $prefix }__link-text {
195
211
  display: block;
@@ -220,8 +236,8 @@ $config: (
220
236
 
221
237
  // Link buttons hang outside in margin so that text optically aligns
222
238
  #{ $prefix }--hanging {
223
- padding-left: get("link-padding-x");
224
- padding-right: get("link-padding-x");
239
+ // padding-left: get("link-padding-x");
240
+ // padding-right: get("link-padding-x");
225
241
  > #{ $prefix }__list > #{ $prefix }__item {
226
242
  > #{ $prefix }__link,
227
243
  >#{ $prefix }__collapsible > #{ $prefix }__toggle {
@@ -53,11 +53,16 @@ $-fallbacks: (
53
53
  /// @prop {CssValue} header-border-bottom [none] Bottom-border on the modal header.
54
54
  /// @prop {Color} header-color [white] Type color of the header.
55
55
  /// @prop {Dimension} header-padding [1rem] The padding of the modal header.
56
+ /// @prop {Dimension} footer-padding [(0.5rem 1rem)] The padding of the modal footer.
57
+ /// @prop {Color} footer-background-color [(0.5rem 1rem)] The background color of the footer
58
+ /// @prop {Color} footer-border-top [(0.5rem 1rem)] The border between body and footer
59
+ /// @prop {CssValue} footer-text-align [right] Text alignment for footer
56
60
  /// @prop {Color} resizer-background-color [rgb(221, 221, 221)] The background color of the resizer.
57
- /// @prop {Color} resizer-background-color-hover [rgb(66, 66, 66)] The background color of the resizer when hovered or focused.
58
- /// @prop {Color} resizer-color [black] The type color of the resizer.
61
+ /// @prop {Color} resizer-background-color-hover [rgb(192, 192, 192)] The background color of the resizer when hovered or focused.
62
+ /// @prop {Color} resizer-color [rgb(99, 99, 99)] The type color of the resizer.
59
63
  /// @prop {Color} resizer-color-hover [black] The type color of the resizer when hovered or focused.
60
64
  /// @prop {Dimension} resizer-width [1rem] The width of the resizer.
65
+ /// @prop {Dimension} resizer-center-size [1.65rem] The width/height of the resizer (in bottom right corner) used when position center with resize enabled
61
66
  /// @prop {Color} title-color [white] Type color of the title.
62
67
  /// @prop {CssValue} title-font-weight [bold] Font weight of the title.
63
68
  /// @prop {CssValue} title-font-family [null] Font family for title
@@ -69,14 +74,14 @@ $-fallbacks: (
69
74
  $config: (
70
75
  "backdrop-color" : true,
71
76
  "backdrop-blur" : 4px,
72
- "background-color": white,
73
- "body-padding": 1rem,
77
+ "background-color" : white,
78
+ "body-padding" : 1rem,
74
79
  "border-radius" : true,
75
80
  "box-shadow" : true,
76
81
  "height": 340px,
77
82
  "height-no-header": 100px,
78
83
  "width": 60rem,
79
-
84
+ "width-left-right" : 30rem,
80
85
  "animation-duration" : 300ms,
81
86
  "animation-duration-exit" : 150ms,
82
87
  "animation-timing-function" : cubic-bezier(0, 0, .2, 1),
@@ -91,11 +96,16 @@ $config: (
91
96
  "header-border-bottom": none,
92
97
  "header-color": white,
93
98
  "header-padding": 1rem,
99
+ "footer-padding" : (0.5rem 1rem),
100
+ "footer-background-color" : #f6f6f6,
101
+ "footer-border-top" : none,
102
+ "footer-text-align" : right,
94
103
  "resizer-background-color": rgb(221, 221, 221),
95
- "resizer-background-color-hover": rgb(66, 66, 66),
96
- "resizer-color": black,
104
+ "resizer-background-color-hover": rgb(192, 192, 192),
105
+ "resizer-color": rgb(99, 99, 99),
97
106
  "resizer-color-hover": black,
98
- "resizer-width": 1rem,
107
+ "resizer-width": 1.25rem,
108
+ "resizer-center-size" : 1.65rem,
99
109
  "title-color": white,
100
110
  "title-font-weight": bold,
101
111
  "title-font-family" : null,
@@ -142,6 +152,7 @@ $config: (
142
152
  #{ $prefix } {
143
153
  // Required for click outside
144
154
  position: fixed;
155
+ flex-direction: column;
145
156
  // Important: If you use the margin layout system (ie. auto) on dialogs they
146
157
  // can't animate out correctly (thinking it jumps from dialog display system
147
158
  // to normal block and doesn't work. This ALSO affects the z-index (seems to move from top-layer to normal layer). Z-index is for close
@@ -165,9 +176,8 @@ $config: (
165
176
  box-sizing: border-box;
166
177
  animation: uluModalCenterOut get("animation-duration-exit") get("animation-timing-function");
167
178
  &[open] {
168
- animation: uluModalCenterIn get("animation-duration") get("animation-timing-function");
169
179
  display: flex;
170
- flex-direction: column;
180
+ animation: uluModalCenterIn get("animation-duration") get("animation-timing-function");
171
181
  }
172
182
  &::backdrop {
173
183
  background: color.get(get("backdrop-color"));
@@ -190,6 +200,13 @@ $config: (
190
200
  overflow: auto;
191
201
  padding: get("body-padding");
192
202
  }
203
+ #{ $prefix }__footer {
204
+ flex: 0;
205
+ padding: get("footer-padding");
206
+ background-color: color.get(get("footer-background-color"));
207
+ border-top: get("footer-border-top");
208
+ text-align: get("footer-text-align");
209
+ }
193
210
  #{ $prefix }__title {
194
211
  display: flex;
195
212
  align-items: baseline;
@@ -224,6 +241,7 @@ $config: (
224
241
  }
225
242
  #{ $prefix }__resizer {
226
243
  position: absolute;
244
+ overflow: hidden;
227
245
  top: 0;
228
246
  bottom: 0;
229
247
  left: 0;
@@ -246,12 +264,16 @@ $config: (
246
264
  left: auto;
247
265
  right: 0;
248
266
  }
249
- }
250
- #{ $prefix }__content {
251
- margin-top: 2rem;
252
- margin-bottom: 2rem;
253
- line-height: 1.5;
254
- color: rgba(0,0,0,.8);
267
+ #{ $prefix }--center & {
268
+ left: auto;
269
+ right: 0;
270
+ bottom: 0;
271
+ top: auto;
272
+ height: get("resizer-center-size");
273
+ width: get("resizer-center-size");
274
+ background-color: transparent;
275
+ cursor: nwse-resize;
276
+ }
255
277
  }
256
278
 
257
279
  // Modifiers
@@ -260,10 +282,17 @@ $config: (
260
282
  width: $size-width;
261
283
  }
262
284
  }
285
+
286
+ #{ $prefix }--fullscreen {
287
+ width: 100%;
288
+ height: 100%;
289
+ border-radius: 0;
290
+ }
263
291
  #{ $prefix }--right,
264
292
  #{ $prefix }--left {
265
293
  border-radius: 0;
266
294
  height: 100vh;
295
+ width: get("width-left-right");
267
296
  top: 0;
268
297
  bottom: 0;
269
298
  transform: none;
@@ -313,15 +342,15 @@ $config: (
313
342
  }
314
343
  }
315
344
  #{ $prefix }--resize {
316
- &#{ $prefix }--center {
317
- resize: both;
318
- }
319
345
  &#{ $prefix }--right {
320
346
  padding-left: get("resizer-width");
321
347
  }
322
348
  &#{ $prefix }--left {
323
349
  padding-right: get("resizer-width");
324
350
  }
351
+ // &#{ $prefix }--center {
352
+ // resize: both;
353
+ // }
325
354
  }
326
355
  #{ $prefix }--body-fills {
327
356
  #{ $prefix }__header {
@@ -370,13 +399,13 @@ $config: (
370
399
  to {
371
400
  opacity: 1;
372
401
  transform: translate(-50%, -50%);
373
- display: block;
402
+ display: flex;
374
403
  }
375
404
  }
376
405
  @keyframes uluModalCenterOut {
377
406
  from {
378
407
  opacity: 1;
379
- display: block;
408
+ display: flex;
380
409
  transform: translate(-50%, -50%);
381
410
  }
382
411
  to {
@@ -394,13 +423,13 @@ $config: (
394
423
  to {
395
424
  opacity: 1;
396
425
  transform: translate(-50%, 0);
397
- display: block;
426
+ display: flex;
398
427
  }
399
428
  }
400
429
  @keyframes uluModalTopOut {
401
430
  from {
402
431
  opacity: 1;
403
- display: block;
432
+ display: flex;
404
433
  transform: translate(-50%, 0);
405
434
  }
406
435
  to {
@@ -418,13 +447,13 @@ $config: (
418
447
  to {
419
448
  opacity: 1;
420
449
  transform: translate(-50%, 0);
421
- display: block;
450
+ display: flex;
422
451
  }
423
452
  }
424
453
  @keyframes uluModalBottomOut {
425
454
  from {
426
455
  opacity: 1;
427
- display: block;
456
+ display: flex;
428
457
  transform: translate(-50%, 0);
429
458
  }
430
459
  to {
@@ -442,13 +471,13 @@ $config: (
442
471
  to {
443
472
  opacity: 1;
444
473
  transform: translateX(0);
445
- display: block;
474
+ display: flex;
446
475
  }
447
476
  }
448
477
  @keyframes uluModalLeftOut {
449
478
  from {
450
479
  opacity: 1;
451
- display: block;
480
+ display: flex;
452
481
  transform: translateX(0);
453
482
  }
454
483
  to {
@@ -466,13 +495,13 @@ $config: (
466
495
  to {
467
496
  opacity: 1;
468
497
  transform: translateX(0);
469
- display: block;
498
+ display: flex;
470
499
  }
471
500
  }
472
501
  @keyframes uluModalRightOut {
473
502
  from {
474
503
  opacity: 1;
475
- display: block;
504
+ display: flex;
476
505
  transform: translateX(0);
477
506
  }
478
507
  to {
@@ -10,6 +10,7 @@
10
10
  @use "../utils";
11
11
  @use "../color";
12
12
  @use "../selector";
13
+ @use "../layout";
13
14
  @use "../typography";
14
15
 
15
16
  /// Module Settings
@@ -88,6 +89,7 @@ $config: (
88
89
  overflow-x: auto;
89
90
  line-height: typography.get("line-height-dense");
90
91
  gap: get("margin-between");
92
+ @include layout.remove-scrollbar();
91
93
  }
92
94
  #{ $prefix }__item,
93
95
  #{ $prefix }--auto li {
@@ -9,6 +9,7 @@
9
9
  @use "../utils";
10
10
  @use "../breakpoint";
11
11
  @use "../color";
12
+ @use "../layout";
12
13
 
13
14
  /// Module Settings
14
15
  /// @type Map
@@ -81,11 +82,7 @@ $config: (
81
82
  }
82
83
  }
83
84
  .overlay-section__background {
84
- position: absolute;
85
- top: 0;
86
- left: 0;
87
- right: 0;
88
- bottom: 0;
85
+ @include layout.absolute-fill();
89
86
  img,
90
87
  video {
91
88
  object-fit: cover;