@ulu/frontend 0.1.0-beta.7 → 0.1.0-beta.71

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 (286) hide show
  1. package/CHANGELOG.md +483 -2
  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 +28 -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 +6438 -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 +860 -327
  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 +850 -327
  23. package/docs-dev/demos/data-grid/index.html +974 -531
  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 +922 -329
  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 +847 -326
  58. package/docs-dev/javascript/index.html +850 -327
  59. package/docs-dev/javascript/settings/index.html +5430 -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 +1027 -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 +847 -326
  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 +847 -326
  83. package/docs-dev/javascript/utils-css/index.html +5254 -0
  84. package/docs-dev/javascript/utils-dom/index.html +1014 -359
  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 +1066 -353
  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 +854 -333
  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/index.js +1 -0
  172. package/js/settings.js +95 -0
  173. package/js/ui/breakpoints.js +19 -16
  174. package/js/ui/collapsible.js +8 -1
  175. package/js/ui/details-group.js +112 -0
  176. package/js/ui/dialog.js +90 -42
  177. package/js/ui/dialog.todo +2 -36
  178. package/js/ui/flipcard.js +37 -57
  179. package/js/ui/grid.js +15 -13
  180. package/js/ui/index.js +1 -0
  181. package/js/ui/modal-builder.js +76 -56
  182. package/js/ui/overflow-scroller.js +6 -4
  183. package/js/ui/popover.js +38 -38
  184. package/js/ui/print.js +16 -25
  185. package/js/ui/programmatic-modal.js +9 -3
  186. package/js/ui/proxy-click.js +50 -36
  187. package/js/ui/scroll-slider.js +24 -30
  188. package/js/ui/scrollpoint.js +29 -64
  189. package/js/ui/slider.js +108 -63
  190. package/js/ui/tabs.js +23 -36
  191. package/js/ui/theme-toggle.js +331 -94
  192. package/js/ui/tooltip.js +27 -32
  193. package/js/utils/css.js +13 -0
  194. package/js/utils/dom.js +85 -8
  195. package/js/utils/font-awesome.js +18 -0
  196. package/js/utils/index.js +2 -1
  197. package/js/utils/system.js +154 -0
  198. package/package.json +23 -8
  199. package/scss/README.md +4 -0
  200. package/scss/_breakpoint.scss +38 -4
  201. package/scss/_color.scss +40 -9
  202. package/scss/_element.scss +108 -2
  203. package/scss/_layout.scss +7 -8
  204. package/scss/_units.scss +3 -2
  205. package/scss/_utils.scss +380 -16
  206. package/scss/components/README.todos +14 -0
  207. package/scss/components/_accordion.scss +33 -19
  208. package/scss/components/_badge.scss +23 -4
  209. package/scss/components/_basic-hero.scss +112 -0
  210. package/scss/components/_button-verbose.scss +100 -18
  211. package/scss/components/_callout.scss +125 -78
  212. package/scss/components/_captioned-figure.scss +17 -0
  213. package/scss/components/_card-grid.scss +1 -1
  214. package/scss/components/_card.scss +246 -74
  215. package/scss/components/_counter-list.scss +151 -0
  216. package/scss/components/_css-icon.scss +25 -21
  217. package/scss/components/_data-grid.scss +55 -9
  218. package/scss/components/_data-table.scss +44 -4
  219. package/scss/components/_flipcard.scss +8 -3
  220. package/scss/components/_form-theme.scss +119 -108
  221. package/scss/components/_hero.scss +12 -10
  222. package/scss/components/_index.scss +18 -0
  223. package/scss/components/_menu-stack.scss +42 -26
  224. package/scss/components/_modal.scss +13 -6
  225. package/scss/components/_nav-strip.scss +2 -0
  226. package/scss/components/_overlay-section.scss +2 -5
  227. package/scss/components/_popover.scss +165 -64
  228. package/scss/components/_pull-quote.scss +13 -13
  229. package/scss/components/_ratio-box.scss +2 -5
  230. package/scss/components/_rule.scss +1 -0
  231. package/scss/components/_scroll-slider.scss +1 -5
  232. package/scss/components/_slider.scss +49 -72
  233. package/scss/components/_spoke-spinner.scss +2 -2
  234. package/scss/components/_sticky-list.scss +206 -0
  235. package/scss/components/_tabs.scss +24 -4
  236. package/scss/components/_vignette.scss +3 -5
  237. package/scss/helpers/_display.scss +15 -18
  238. package/scss/helpers/_print.scss +12 -7
  239. package/scss/helpers/_utilities.scss +42 -32
  240. package/types/index.d.ts +1 -0
  241. package/types/settings.d.ts +66 -0
  242. package/types/settings.d.ts.map +1 -0
  243. package/types/ui/breakpoints.d.ts +14 -14
  244. package/types/ui/breakpoints.d.ts.map +1 -1
  245. package/types/ui/collapsible.d.ts.map +1 -1
  246. package/types/ui/details-group.d.ts +38 -0
  247. package/types/ui/details-group.d.ts.map +1 -0
  248. package/types/ui/dialog.d.ts +20 -14
  249. package/types/ui/dialog.d.ts.map +1 -1
  250. package/types/ui/flipcard.d.ts +16 -10
  251. package/types/ui/flipcard.d.ts.map +1 -1
  252. package/types/ui/grid.d.ts +4 -6
  253. package/types/ui/grid.d.ts.map +1 -1
  254. package/types/ui/index.d.ts +2 -1
  255. package/types/ui/modal-builder.d.ts +93 -11
  256. package/types/ui/modal-builder.d.ts.map +1 -1
  257. package/types/ui/overflow-scroller.d.ts +2 -2
  258. package/types/ui/overflow-scroller.d.ts.map +1 -1
  259. package/types/ui/popover.d.ts +6 -7
  260. package/types/ui/popover.d.ts.map +1 -1
  261. package/types/ui/print.d.ts +0 -4
  262. package/types/ui/print.d.ts.map +1 -1
  263. package/types/ui/programmatic-modal.d.ts.map +1 -1
  264. package/types/ui/proxy-click.d.ts +19 -3
  265. package/types/ui/proxy-click.d.ts.map +1 -1
  266. package/types/ui/scroll-slider.d.ts +5 -7
  267. package/types/ui/scroll-slider.d.ts.map +1 -1
  268. package/types/ui/scrollpoint.d.ts +3 -8
  269. package/types/ui/scrollpoint.d.ts.map +1 -1
  270. package/types/ui/slider.d.ts +33 -14
  271. package/types/ui/slider.d.ts.map +1 -1
  272. package/types/ui/tabs.d.ts +6 -8
  273. package/types/ui/tabs.d.ts.map +1 -1
  274. package/types/ui/theme-toggle.d.ts +51 -7
  275. package/types/ui/theme-toggle.d.ts.map +1 -1
  276. package/types/ui/tooltip.d.ts +3 -5
  277. package/types/ui/tooltip.d.ts.map +1 -1
  278. package/types/utils/css.d.ts +11 -0
  279. package/types/utils/css.d.ts.map +1 -0
  280. package/types/utils/dom.d.ts +45 -6
  281. package/types/utils/dom.d.ts.map +1 -1
  282. package/types/utils/font-awesome.d.ts +5 -0
  283. package/types/utils/font-awesome.d.ts.map +1 -0
  284. package/types/utils/index.d.ts +2 -1
  285. package/types/utils/system.d.ts +113 -0
  286. package/types/utils/system.d.ts.map +1 -0
package/CHANGELOG.md CHANGED
@@ -1,9 +1,490 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.1.0-beta.71
4
+
5
+ - **scss/element**
6
+ - Add mixin "hide-focus-ring" which implements hidden focus ring unless it's needed (via :focus-visible)
7
+ - **scss/components/tabs**
8
+ - Hide focus ring on tabs when clicking
9
+
10
+ ## 0.1.0-beta.70
11
+
12
+ - **scss/components/accordion**
13
+ - Change defaults (add background color to summary) so that demo shows how no-border modifier is used
14
+ - Add borderless-margin-between
15
+ - Change modifier "no-border" to "borderless"
16
+ - **scss/components/tabs**
17
+ - Tweak defaults so that tab color hover matches "selected" color
18
+ - Add transitions to the indicator bar, and add setting to adjust it
19
+
20
+ ## 0.1.0-beta.69
21
+
22
+ - **scss/components/accordion**
23
+ - Set width on .accordion__summary so it works when using button element (when not details)
24
+ - Fixed minor things (missing selectors, etc)
25
+
26
+ ## 0.1.0-beta.68
27
+
28
+ - **scss/components/badge**
29
+ - Fix default config (so that default size is smaller than large)
30
+ - Add default sizes (small and large)
31
+ - Add font family option
32
+
33
+ ## 0.1.0-beta.67
34
+
35
+ - **scss/components/counter-list**
36
+ - Add extra-selector option to allow class wrapper which styles all ol's inside container.
37
+
38
+ ## 0.1.0-beta.66
39
+
40
+ - **scss/components/data-grid**
41
+ - Add missing row gutter breakpoint modifiers (so row gutters use breakpoint sizes)
42
+ - Add missing row gutter at breakpoint work with extra scales
43
+
44
+ ## 0.1.0-beta.65
45
+
46
+ - **scss/element**
47
+ - Add backdrop-filter-blur mixin
48
+
49
+ ## 0.1.0-beta.64
50
+
51
+ - **scss/components/counter-list**
52
+ - Fix mistake in "item-margin" property default value
53
+ - (should be space separated list or single number was comma separated)
54
+
55
+ ## 0.1.0-beta.63
56
+
57
+ - **js/ui/scrollpoints**
58
+ - Fixed error using for syncedElements option (Missing getElement, was moved to utils)
59
+
60
+
61
+ ## Versions 0.1.0-beta.59, 0.1.0-beta.60, 0.1.0-beta.61, 0.1.0-beta.62
62
+
63
+ - Update @ulu/utils dependency to latest
64
+
65
+ ## Version 0.1.0-beta.58
66
+
67
+ - **js/ui/slider**
68
+ - Change slider swipe to be on slides
69
+ - Add options for swipeOptions to configure ["swipe-listener"](https://www.npmjs.com/package/swipe-listener) library (see it's documentation for options)
70
+ - Adding preventScroll by default
71
+
72
+ ## Version 0.1.0-beta.57
73
+
74
+ - **js/ui/slider**
75
+ - Setup swipe listener and add option for swipeEnabled (true by default)
76
+
77
+ ## Version 0.1.0-beta.56
78
+
79
+ - **scss/components/counter-list**
80
+ - Add counter (font-family, font-weight)
81
+
82
+ ## Version 0.1.0-beta.55
83
+
84
+ - **scss/components/counter-list**
85
+ - Fix selector (was nested if using .counter-list__item), Updates for API for $config
86
+
87
+ ## Version 0.1.0-beta.54
88
+
89
+ - **js/ui/modal-builder**
90
+ - Add option for titleClass
91
+ - Fill in jsdoc documentation for defaults
92
+
93
+ ## Version 0.1.0-beta.53
94
+
95
+ - **scss/components/slider**
96
+ - Remove "button-height" option not setup in styles
97
+ - Change "button-icon-offset-x/y" to "button-offset-x/y" since it only controls the button offsets not related to an icon
98
+
99
+ ## Version 0.1.0-beta.52
100
+
101
+ - **scss/components/slider**
102
+ - Remove "button-size" option (was never hooked up)
103
+ - Change "dot-" prefixed options to "nav-" so it's not describing it visually
104
+ - Change "margin-bottom" and "margin-top" to singular margin rule
105
+
106
+ ## Version 0.1.0-beta.51
107
+
108
+ - **scss/components/slider**
109
+ - Add "dot-gap" and "nav-margin" options
110
+
111
+ ## Version 0.1.0-beta.50
112
+
113
+ - **scss/components/slider**
114
+ - Remove "dot-border-color-hover" option not setup in styles
115
+
116
+ ## Version 0.1.0-beta.49
117
+
118
+ - **scss/color**
119
+ - Allow color.get() to passthrough colors that are "color-mix()"
120
+
121
+ ## Version 0.1.0-beta.48
122
+
123
+ - **scss/color**
124
+ - **css-tint, css-shade** Make sure colors (base white/black) use color.get()
125
+
126
+ ## Version 0.1.0-beta.47
127
+
128
+ - **scss/components/card**
129
+ - Add card--fill modifier (expands to fit whatever element it's within). This was intended for use with data-grid but could be used this way for many layouts.
130
+
131
+ ## Version 0.1.0-beta.46
132
+
133
+ - **scss/color**
134
+ - **css-tint, css-shade** Add two new functions for tinting/shading in the browser (to support custom properties). In the future these may replace sass only tint/shade functions once they are more widely supported.
135
+
136
+ ## Version 0.1.0-beta.45
137
+
138
+ - **scss/units > set()**
139
+ - Adjust to use map-merge so you can configure how the map is merged (ie. overwrite for example)
140
+ - **scss/element > set-rule-margins()**
141
+ - Adjust to use map-merge so you can configure how the map is merged (ie. overwrite for example)
142
+
143
+ ## Version 0.1.0-beta.44
144
+
145
+ - **scss/components/card**
146
+ - Fix card body from shrinking when max-width is larger than body content
147
+ - Add card--horizontal-center modifier to center body of card
148
+
149
+ ## Version 0.1.0-beta.43
150
+
151
+ - **scss/components/card**
152
+ - Document all new aside configuration properties change toggle-aside-rule to aside-rule
153
+
154
+ ## Version 0.1.0-beta.42
155
+
156
+ - **scss/components/card**
157
+ - Adjusted defaults for new aside element (rule and background color) to match standard defaults (initial testing values were there before)
158
+
159
+ ## Version 0.1.0-beta.41
160
+
161
+ - **js/utils/dom**
162
+ - **addScrollbarProperty** - Change arguments to object, Add argument for "propertyElement" and make this function add property to html element by default (so it can be used with other custom properties in CSS :root selector)
163
+ - **scss/components/card.scss**
164
+ - card aside defaults changed ("aside-background-color" : transparent, "aside-rule-color": "rule",)
165
+
166
+ ## Version 0.1.0-beta.40
167
+
168
+ - **scss/components/counter-list**
169
+ - Add counter-list component and demo page
170
+ - **js/ui/dialog**
171
+ - Add option for triggers (preventScrollShift) which will add padding to the body when dialog with preventScroll is opened (so layout doesn't shift). Note this will not fix fixed position elements relative to the viewport jumping.
172
+
173
+ ## Version 0.1.0-beta.39
174
+
175
+ - **js/ui/scrollpoint.js**
176
+ - Fix attribute name for state to have ulu prefix (ie. data-scrollpoint-state is now data-ulu-scrollpoint-state)
177
+
178
+ ## Version 0.1.0-beta.38
179
+
180
+ - **scss/**
181
+ - **helpers/display**
182
+ - remove clearfix class styling
183
+ - **helpers/utilities, helpers/print, helpers/display**
184
+ - Add selector class replacing and prefixing
185
+
186
+ ## Version 0.1.0-beta.37
187
+
188
+ - **js/ui/slider.js**
189
+ - Implement classAccessiblyHidden option to allow users to customize its styling. Will still default to "hidden-visually."
190
+
191
+ ## Version 0.1.0-beta.36
192
+
193
+ - **scss/**
194
+ - **components/button-verbose**
195
+ - Add "border-width" and "border-color" options with ability to fallback to button defaults for each. No borders are added by default. Options descriptions added to sass api docs.
196
+ - **components/modal**
197
+ - Add fullscreen size modifier
198
+ - **components/data-grid**
199
+ - Create option "rule-fade-duration" which when enabled (can be disabled by passing false) will hide the rules for the grid until the grid's initialization script has finished (which gives positioning information about the column arrangement so the appropriate rules can be shown per column/row).
200
+ - **js**
201
+ - **settings**
202
+ - Update "wrapSettingString" function to have second argument for "transform" allowing default settings strings that can also be transformed. This was used in breakpoint module so user can match "cssvarPrefix" to create a default value of "--PREFIX-breakpoint" for example, where PREFIX is dynamic at time of string is used
203
+ - Add "cssvarPrefix" to match scss cssvar module's prefix value
204
+ - **ui/breakpoint**
205
+ - Fix all typos (options and methods) of "psuedo" to "pseudo" (valueFromPseudo, pseudoSelector)
206
+ - Bring in new setting (from settings.js) for "cssvarPrefix" for the breakpoint customProperty default value
207
+ - Create test for this in demos
208
+ - **ui/collapsibles**
209
+ - Fix bug with "focusoutCloses" check collapsible content for focus before closing (so only close if focusout led outside the content) which is the intended behavior. Note this is mechanism used to control popover's so it fixes the bug there as well
210
+ - **ui/modal-builder**
211
+ - Update all templates options (templateCloseIcon, templateResizerIcon, template) to include new option for "baseClass" so that base BEM selector can easily be changed (ie. .namespace-modal for example)
212
+ - **utils/css.js**
213
+ - Add new module to hold utility functions related to CSS, currently just new function getCustomProperty which is used in ui/breakpoints module
214
+
215
+ ## Version 0.1.0-beta.35
216
+
217
+ - **scss/**
218
+ - **components/card**
219
+ - add *card__aside* styling to enable sidebars
220
+ - added *card__main* wrapper to *card__title* and *card__content* to separate it from the *card__aside*
221
+ - added config options for *card__aside*
222
+ - toggle-aside-rule : toggles rule separating aside from main,
223
+ - aside-rule-width
224
+ - aside-background-color
225
+ - aside-rule-color
226
+ - remove padding from *card__image--icon*
227
+ - This was adding additional space on bottom of horizontal card. Most noticeably when using an aside background color and no footer.
228
+ - **elements/rule**
229
+ - Added "display: inline-block;" to short rule
230
+ - Note: user can use the old style by adding utility class "display-block"
231
+ - **js/**
232
+ - ui/scroll-slider
233
+ - Fix typo that introduced error in last update controls-context to control-context
234
+
235
+ ## Version 0.1.0-beta.34
236
+
237
+ - **scss/**
238
+ - **element**
239
+ - Add mixins for element.cap() and element.cap-appearance() which are used internally but can be used by users to add end caps to an element
240
+ - **utils**
241
+ - Add ensure-map(), units-match(), is-end(), is-side() functions
242
+ - **components/callout**
243
+ - Minor visual breaking change for those using cap
244
+ - Update how left-cap works (all properties have changed) now accepts common cap settings (see config)
245
+ - Caps can be set on any side now
246
+ - Callout styles map (for variations/modifiers of callout) will no longer output "border" configuration
247
+ - Use "border-width" or "border-color" to affect border appearance
248
+ - **components/button-verbose**
249
+ - Minor visual breaking change for those using cap
250
+ - left cap has changed to cap and accepts common cap options (see config)
251
+ - **components/accordion**
252
+ - remove static margin-bottom added to "--no-borders" modifier (was 4rem)
253
+ - Fix calc for accordion + accordion to be based on border-width setting (was static 1px)
254
+ - **components/slider**
255
+ - remove unused config options "button-background-color" and "button-background-color-hover"
256
+ - **components/accordion**
257
+ - Remove margin-bottom
258
+ - **components/data-table**
259
+ - Add config option "footer-color" to enable users to customize footer text color. Footer still defaults to "color" config option.
260
+ - **js/**
261
+ - **ui** (remove setup functions, using component initializer class now)
262
+ - **ui/slider**
263
+ - update createNavButton function to pass whole slide rather than just slide number. Update getNavContent to still print slide number as accessibility text by default.
264
+ - **ui/dialog**
265
+ - Added option preventScroll (defaults to true), used only for modal dialogs (ignored if nonModal)
266
+ - **ui/tooltip**
267
+ - Fix missing init attribute
268
+ - **ui/flipcard**
269
+ - Fix typo in method name "setVisiblity" to "setVisibility"
270
+ - **ui/tabs**
271
+ - Fix issue with initial click of a tab when using "openWithUrlHash" option
272
+ - Equal height checking was setting hidden attribute but aria-tablist library explicitly checks for hidden="hidden"
273
+
274
+ ## Version 0.1.0-beta.33
275
+
276
+ - scss
277
+ - Add layout.absolute-fill throughout components/styles so that CSS is printed the same way for compression
278
+ - Add layout.absolute-fill throughout components/styles so that CSS is printed the same way for compression
279
+ - scss/components/callout
280
+ - scss/components/button-verbose
281
+ - Add left-cap-match-radius to have the left cap style match the border radius of the parent container
282
+ -
283
+ ## Version 0.1.0-beta.32
284
+
285
+ - scss/components/button-verbose
286
+ - Add left-cap-match-radius to have the left cap style match the border radius of the parent container
287
+
288
+ ## Version 0.1.0-beta.31
289
+
290
+ - scss/components/button-verbose
291
+ - Change left-cap default to false off (like it was before the change in 0.1.0-beta.29)
292
+
293
+ ## Version 0.1.0-beta.30
294
+
295
+ - scss/components/button-verbose
296
+ - Add button-verbose__body element
297
+ - Allow title-margin to work if body is before title
298
+ - scss/component/popover
299
+ - Change new config property "arrow-mask" to "arrow-box-shadow", remove "arrow-mask-" properties as they are no longer needed. When "arrow-box-shadow" is enabled the popovers box-shadow will be used on the arrow along with a mask that has an overlap based on the box-shadow's size.
300
+ - scss/utils
301
+ - Add (is-list, is-map, is-number, is-string, is-color) functions to reduce logic based on type (ie. `if(utils.is-list($value), $something, $something-else))`
302
+ - Add is-even, and is-odd functions
303
+
304
+ ## Version 0.1.0-beta.29
305
+
306
+ - scss/components/button-verbose
307
+ - Setup optional selector changing (class base name)
308
+ - Add end cap option
309
+ - Adjust default options
310
+ - Make inline modifier remove margin right if last child
311
+ - scss/components/card
312
+ - Add cursor pointer to card__title-link and move default title hover styles from card__title to card__title-link
313
+ - Change default size of icon image max-width (from 30rem to 8rem)
314
+ - Remove transparent on card__image--icon (will have normal default background for image area now)
315
+ - scss/components/form-theme
316
+ - Add "description-line-height" option defaulting to typography line-height dense
317
+
318
+ ## Version 0.1.0-beta.28
319
+
320
+ - scss/components/popover
321
+ - Remove options (footer-box-shadow, footer-box-shadow-color) as it interferes with main popover box shadow and arrow box shadow.
322
+ - Added "footer-border-top" to separate footer from content (useful for showing overflow)
323
+
324
+ ## Version 0.1.0-beta.27
325
+
326
+ - scss/components/popover
327
+ - Add popover's content box-shadow to arrow (using the other pseudo to mask the shadow)
328
+ - scss/components/utils
329
+ - Fix number-info function, and add errors option
330
+ - Add function add-unit() to add unit to a number
331
+ - Add function hypotenuse() which returns hypotenuse of triangle
332
+
333
+ ## Version 0.1.0-beta.26
334
+
335
+ - scss/components/card
336
+ - Make modifier card--no-image, which is used to inform layout in the card when it doesn't have an image, now hides the image as well (with CSS)
337
+
338
+ ## Version 0.1.0-beta.25
339
+
340
+ - scss/components/accordion
341
+ - Make normal summary (when used without icon) flexbox for older browser support (uses :has() selector)
342
+ - scss/components/card
343
+ - Change how horizontal cards display when in horizontal
344
+ - Body and footer stack to the side of image
345
+ - Image fills height
346
+ - add card--image-fit modifier to all images to properly be contained in cards regardless of card size
347
+
348
+ ## Version 0.1.0-beta.24
349
+
350
+ - Minor, remove debug statement
351
+
352
+ ## Version 0.1.0-beta.23
353
+
354
+ - scss/component/sticky-list.scss
355
+ - Adjusts to new component (property name changes)
356
+
357
+ ## Version 0.1.0-beta.22
358
+
359
+ - scss/component/sticky-list.scss **new**
360
+ - Added basic CSS sticky list component
361
+
362
+ ## Version 0.1.0-beta.21
363
+
364
+ - scss/components/tabs.scss
365
+ - Minor: fix margin output (space separated list vs comma)
366
+ - Remove scrollbar in tablist
367
+
368
+ ## Version 0.1.0-beta.20
369
+
370
+ - scss/components/basic-hero **new**
371
+ - Added component for handling simple hero or header styling with text and media in container
372
+ - js/ui/theme-toggle.js (refactored to allow)
373
+ - Inverted the default icons so that the icon reflects the theme it will trigger
374
+ - Multiple instances of theme toggles
375
+ - Remote theme toggles (other toggles buttons that follow/match main toggle)
376
+ - If the toggle button is used in more than one place in UI
377
+ - Toggle and remote linked via 'group' option
378
+ - Allow targeting multiple containers to toggle theme on
379
+ - New options/API structure
380
+ - Now accepts themes object with settings on what it should toggle
381
+ - Allow callback for customizing behavior when changing state
382
+ - Add demo/tests
383
+ - js/utils/dom.js
384
+ - Add getElements() (matches getElement) but for multiple elements
385
+ - Add resolveClasses() to allow class options to be string or array form
386
+ - So that scripts using can easily resolve classes to consistent type for use in element.classList, etc
387
+ - js/ui/details-group.js
388
+ - Fix error in event pageModified (caused by passing event object to setup)
389
+
390
+ ## Version 0.1.0-beta.19
391
+
392
+ - js/ui/details-group.js
393
+ - Added new module to manage groups of details (just one open at time right now)
394
+
395
+ ## Version 0.1.0-beta.18
396
+
397
+ - scss/components/_button-verbose.scss
398
+ - Add text align left
399
+
400
+ ## Version 0.1.0-beta.17
401
+
402
+ - js/ui/programmatic-modal.js
403
+ - Add "classes" option to createAndOpen, to match legacy module's API
404
+
405
+ ## Version 0.1.0-beta.16
406
+
407
+ - js/ui/programmatic-modal.js
408
+ - Change createAndOpen config option "selector" to ambiguous name "element" to allow passing both selector or element (using getElement())
409
+
410
+ ## Version 0.1.0-beta.15
411
+
412
+ - JS
413
+ - Settings.js
414
+ - Setup new shared setting module (currently holds icon string settings)
415
+ - Setup common methods for dealing with settings
416
+ - Setup wrapped string get method for use in configuring defaults for other modules
417
+ - So we don't need to refactor for after runtime settings changes
418
+ - utils/font-awesome.js - Includes helper method for setting font-awesome icons (configureIcons)
419
+ - ui/modal-builder.js - Adjust to use settings to get icon defaults
420
+ - ui/overflow-scroller.js and js/ui/slider.js
421
+ - Change `iconClassesPrevious` and `iconClassesNext` to non array settings `iconClassPrevious` and iconClassNext
422
+ - Change the above defaults to pull from settings.js
423
+ - js/ui/slider.js
424
+ - Fix selector .Slider__control-icon was on .Slider__control-button is now moved to icon
425
+ - SCSS
426
+ - components/_slider.scss
427
+ - Fix incorrect selector .Slider__control-icon which was actually targeting the control-button
428
+
429
+ ## Version 0.1.0-beta.14
430
+
431
+ - SCSS > Components > Nav Strip
432
+ - Add remove-scrollbar() CSS to nav strip list
433
+
434
+ ## Version 0.1.0-beta.13
435
+
436
+ - SCSS > Components > Menu Stack
437
+ - Add options for line-height for link and label
438
+ - Change rule color to light by default
439
+
440
+ ## Version 0.1.0-beta.12
441
+
442
+ - SCSS > Components > Menu Stack
443
+ - Refactor menu-stack__checkbox selector to menu-stack__selectable so it works for both radio/checkbox layouts
444
+ - Added other selectors if needed menu-stack__selectable-[input/label], but it still works with native element selectors (ie. [type="checkbox"])
445
+ - Change config (checkbox-area-width to selectable-input-width)
446
+
447
+ ## Version 0.1.0-beta.11
448
+
449
+ - SCSS
450
+ - Components
451
+ - Card
452
+ - Set config options for settings that were hardcoded in
453
+ - Form Theme:
454
+ - Change config item "input-margin-y" to "item-margin-y" since that's what it affects.
455
+ - Add config options to hardcoded options in fieldset
456
+ - Remove fieldset span styling
457
+ - Replaced config defaults using color.get("error") to now use color.get("danger")
458
+ - Menu Stack
459
+ - Remove padding on container when set to hanging (incorrect)
460
+ - Data Table
461
+ - Add header-color option for thead th
462
+ - Callout
463
+ - Adjustments to left cap styling
464
+ - Left-cap height and horizontal positioning now include the border-width
465
+ - Left-cap mixin is now a private mixin
466
+ - **replaced "border" config option with "border-color" and "border-width"**
467
+ - Color
468
+ - New color options and adjusted colors error and warning.
469
+
470
+ ## Version 0.1.0-beta.10
471
+
472
+ - "scss/component/modal" - Add "width-left-right" for sidebar style width setting
473
+ - "scss/component/css-icons" - Add "drag-gap-multiplier" to adjust the gap between strokes
474
+ - "js/ui/modal-builder" - Fix css-icon class for resizer (to css-icon--drag-x)
475
+
476
+ ## Version 0.1.0-beta.9
477
+
478
+ - Updates to "scss/component/card" - Fix card overlay border-radius (body and footer), fix card border being conditional on interactive (proxy-click)
479
+
480
+ ## Version 0.1.0-beta.8
481
+
482
+ - Update "scss/components/data-table" to have border and no margin on caption by default, add caption config properties (caption-text-align, caption-background-color)
483
+
3
484
  ## Version 0.1.0-beta.7
4
485
 
5
- - Add "list-inline" component
6
- - Update "list-lines" component to have adjustable base selector
486
+ - Add "scss/components/list-inline" component
487
+ - Update "scss/components/list-lines" component to have adjustable base selector
7
488
 
8
489
  ## Version 0.1.0-beta.6
9
490
 
package/README.dev.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  ## Docs
10
10
 
11
- ## Updatiing SCSS
11
+ ## Updating SCSS
12
12
 
13
- - Udpate sassdocs markdown by `npm run docs:update:scss`
13
+ - Update sassdocs markdown by `npm run docs:update:scss`
14
14
 
15
15
  ## Updating JS Docs
16
16
 
@@ -19,4 +19,4 @@
19
19
 
20
20
  ## Building/Deploying
21
21
 
22
- - Use `npm run docs:build`
22
+ - Use `npm run docs:build`
package/README.md CHANGED
@@ -1,10 +1,20 @@
1
- # Frontend Library
1
+ # @ulu/frontend
2
2
 
3
- Front end development library (SCSS, JS)
3
+ Versatile frontend toolkit designed for a variety of web development scenarios.
4
+
5
+ [Full Documentation](https://jscherbe.github.io/frontend/)
6
+
7
+ ## key Features
8
+
9
+ - **Target Environment:** The JavaScript "UI" modules are specifically tailored for traditional sites, such as static websites and CMS-driven platforms. However, the comprehensive SCSS modules are fully compatible and can be utilized in modern JavaScript applications built with frameworks like React or Vue.
10
+ - **Configuration & Consistency:** The system's main goal is to allow for highly flexible, per-site configuration while maintaining a consistent set of accessible and high-quality components.
11
+ - **Flexible Usage:** This library is designed as a toolkit, offering the flexibility to be used as a complete stylesheet solution or to pick and choose individual SCSS modules and components as needed.
12
+ - **Integration Adaptability:** All SCSS base selectors (for components, utilities, etc.) can be easily adjusted, making it highly adaptable for seamless integration into pre-existing systems and diverse development environments.
13
+ - API Documentation for both SCSS and JS with examples
14
+
15
+ ## Related Links
4
16
 
5
17
  - [Documentation](https://jscherbe.github.io/frontend/)
6
18
  - [Change Log](CHANGELOG.md)
7
19
  - [Development Notes](README.dev.md)
8
20
 
9
-
10
-