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

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