@ulu/frontend 0.1.0-beta.83 → 0.1.0-beta.84

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 (186) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/ulu-frontend.min.css +1 -1
  3. package/docs-dev/assets/main.js +494 -7738
  4. package/docs-dev/assets/style.css +166 -221
  5. package/docs-dev/changelog/index.html +294 -3
  6. package/docs-dev/changelog/updates-and-changes/index.html +5109 -0
  7. package/docs-dev/demos/accordion/index.html +240 -0
  8. package/docs-dev/demos/badge/index.html +240 -0
  9. package/docs-dev/demos/breakpoints-manager/index.html +240 -0
  10. package/docs-dev/demos/button/index.html +240 -0
  11. package/docs-dev/demos/button-group/index.html +5502 -0
  12. package/docs-dev/demos/button-verbose/index.html +240 -0
  13. package/docs-dev/demos/callout/index.html +240 -0
  14. package/docs-dev/demos/captioned-figure/index.html +240 -0
  15. package/docs-dev/demos/card/index.html +256 -16
  16. package/docs-dev/demos/card-grid/index.html +240 -0
  17. package/docs-dev/demos/card-new/index.html +5088 -0
  18. package/docs-dev/demos/card-old/index.html +5223 -0
  19. package/docs-dev/demos/card.1/index.html +5223 -0
  20. package/docs-dev/demos/card.TRASH/index.html +5541 -0
  21. package/docs-dev/demos/counter-list/index.html +240 -0
  22. package/docs-dev/demos/css-icons/index.html +240 -0
  23. package/docs-dev/demos/data-grid/index.html +240 -0
  24. package/docs-dev/demos/data-table/index.html +340 -100
  25. package/docs-dev/demos/details-group/index.html +240 -0
  26. package/docs-dev/demos/file-save/index.html +240 -0
  27. package/docs-dev/demos/flipcard/index.html +240 -0
  28. package/docs-dev/demos/form-theme/index.html +240 -0
  29. package/docs-dev/demos/headline-label/index.html +5472 -0
  30. package/docs-dev/demos/index.html +240 -0
  31. package/docs-dev/demos/list-inline/index.html +240 -0
  32. package/docs-dev/demos/list-inline.1/index.html +4727 -0
  33. package/docs-dev/demos/list-lines/index.html +240 -0
  34. package/docs-dev/demos/menu-stack/index.html +240 -0
  35. package/docs-dev/demos/modals/index.html +240 -0
  36. package/docs-dev/demos/nav-strip/index.html +240 -0
  37. package/docs-dev/demos/overlay-section/index.html +240 -0
  38. package/docs-dev/demos/panel/index.html +5532 -0
  39. package/docs-dev/demos/popovers/index.html +240 -0
  40. package/docs-dev/demos/print/index.html +240 -0
  41. package/docs-dev/demos/pull-quote/index.html +240 -0
  42. package/docs-dev/demos/rail/index.html +5568 -0
  43. package/docs-dev/demos/rule/index.html +240 -0
  44. package/docs-dev/demos/scrollpoints/index.html +240 -0
  45. package/docs-dev/demos/spoke-spinner/index.html +240 -0
  46. package/docs-dev/demos/sticky-list/index.html +240 -0
  47. package/docs-dev/demos/tabs/index.html +240 -0
  48. package/docs-dev/demos/tag/index.html +240 -0
  49. package/docs-dev/demos/theme-toggle/index.html +240 -0
  50. package/docs-dev/demos/tiles/index.html +240 -0
  51. package/docs-dev/demos/tooltip/index.html +240 -0
  52. package/docs-dev/guide/building-stylesheet/index.html +240 -0
  53. package/docs-dev/guide/developing-ulu-scss-module/index.html +240 -0
  54. package/docs-dev/guide/index.html +240 -0
  55. package/docs-dev/guide/updates-and-changes/index.html +5033 -0
  56. package/docs-dev/index.html +240 -0
  57. package/docs-dev/javascript/events/index.html +240 -0
  58. package/docs-dev/javascript/index.html +240 -0
  59. package/docs-dev/javascript/settings/index.html +240 -0
  60. package/docs-dev/javascript/ui-breakpoints/index.html +240 -0
  61. package/docs-dev/javascript/ui-collapsible/index.html +240 -0
  62. package/docs-dev/javascript/ui-details-group/index.html +240 -0
  63. package/docs-dev/javascript/ui-dialog/index.html +240 -0
  64. package/docs-dev/javascript/ui-flipcard/index.html +240 -0
  65. package/docs-dev/javascript/ui-grid/index.html +240 -0
  66. package/docs-dev/javascript/ui-modal-builder/index.html +240 -0
  67. package/docs-dev/javascript/ui-overflow-scroller/index.html +240 -0
  68. package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +240 -0
  69. package/docs-dev/javascript/ui-page/index.html +240 -0
  70. package/docs-dev/javascript/ui-popover/index.html +240 -0
  71. package/docs-dev/javascript/ui-print/index.html +240 -0
  72. package/docs-dev/javascript/ui-print-details/index.html +240 -0
  73. package/docs-dev/javascript/ui-programmatic-modal/index.html +240 -0
  74. package/docs-dev/javascript/ui-proxy-click/index.html +240 -0
  75. package/docs-dev/javascript/ui-resizer/index.html +240 -0
  76. package/docs-dev/javascript/ui-scroll-slider/index.html +240 -0
  77. package/docs-dev/javascript/ui-scrollpoint/index.html +240 -0
  78. package/docs-dev/javascript/ui-slider/index.html +240 -0
  79. package/docs-dev/javascript/ui-tabs/index.html +240 -0
  80. package/docs-dev/javascript/ui-theme-toggle/index.html +240 -0
  81. package/docs-dev/javascript/ui-tooltip/index.html +240 -0
  82. package/docs-dev/javascript/utils-class-logger/index.html +240 -0
  83. package/docs-dev/javascript/utils-css/index.html +240 -0
  84. package/docs-dev/javascript/utils-dom/index.html +240 -0
  85. package/docs-dev/javascript/utils-file-save/index.html +240 -0
  86. package/docs-dev/javascript/utils-floating-ui/index.html +240 -0
  87. package/docs-dev/javascript/utils-id/index.html +240 -0
  88. package/docs-dev/javascript/utils-pause-youtube-video/index.html +240 -0
  89. package/docs-dev/javascript/utils-system/index.html +240 -0
  90. package/docs-dev/sass/base/color/index.html +240 -0
  91. package/docs-dev/sass/base/elements/index.html +240 -0
  92. package/docs-dev/sass/base/index/index.html +240 -0
  93. package/docs-dev/sass/base/index.html +240 -0
  94. package/docs-dev/sass/base/keyframes/index.html +240 -0
  95. package/docs-dev/sass/base/layout/index.html +240 -0
  96. package/docs-dev/sass/base/normalize/index.html +240 -0
  97. package/docs-dev/sass/base/print/index.html +240 -0
  98. package/docs-dev/sass/base/root/index.html +240 -0
  99. package/docs-dev/sass/base/typography/index.html +240 -0
  100. package/docs-dev/sass/components/accordion/index.html +240 -0
  101. package/docs-dev/sass/components/adaptive-spacing/index.html +240 -0
  102. package/docs-dev/sass/components/badge/index.html +240 -0
  103. package/docs-dev/sass/components/basic-hero/index.html +240 -0
  104. package/docs-dev/sass/components/button/index.html +240 -0
  105. package/docs-dev/sass/components/button-group/index.html +5653 -0
  106. package/docs-dev/sass/components/button-verbose/index.html +240 -0
  107. package/docs-dev/sass/components/callout/index.html +240 -0
  108. package/docs-dev/sass/components/captioned-figure/index.html +240 -0
  109. package/docs-dev/sass/components/card/index.html +240 -0
  110. package/docs-dev/sass/components/card-grid/index.html +240 -0
  111. package/docs-dev/sass/components/counter-list/index.html +240 -0
  112. package/docs-dev/sass/components/css-icon/index.html +240 -0
  113. package/docs-dev/sass/components/data-grid/index.html +254 -14
  114. package/docs-dev/sass/components/data-table/index.html +240 -0
  115. package/docs-dev/sass/components/fill-context/index.html +240 -0
  116. package/docs-dev/sass/components/flipcard/index.html +240 -0
  117. package/docs-dev/sass/components/flipcard-grid/index.html +240 -0
  118. package/docs-dev/sass/components/form-theme/index.html +240 -0
  119. package/docs-dev/sass/components/headline-label/index.html +5683 -0
  120. package/docs-dev/sass/components/hero/index.html +240 -0
  121. package/docs-dev/sass/components/horizontal-rule/index.html +240 -0
  122. package/docs-dev/sass/components/image-grid/index.html +240 -0
  123. package/docs-dev/sass/components/index/index.html +254 -10
  124. package/docs-dev/sass/components/index.html +240 -0
  125. package/docs-dev/sass/components/links/index.html +240 -0
  126. package/docs-dev/sass/components/list-inline/index.html +240 -0
  127. package/docs-dev/sass/components/list-lines/index.html +240 -0
  128. package/docs-dev/sass/components/list-ordered/index.html +240 -0
  129. package/docs-dev/sass/components/list-unordered/index.html +240 -0
  130. package/docs-dev/sass/components/menu-stack/index.html +240 -0
  131. package/docs-dev/sass/components/modal/index.html +240 -0
  132. package/docs-dev/sass/components/nav-strip/index.html +240 -0
  133. package/docs-dev/sass/components/overlay-section/index.html +240 -0
  134. package/docs-dev/sass/components/pager/index.html +240 -0
  135. package/docs-dev/sass/components/panel/index.html +5883 -0
  136. package/docs-dev/sass/components/placeholder-block/index.html +240 -0
  137. package/docs-dev/sass/components/popover/index.html +240 -0
  138. package/docs-dev/sass/components/pull-quote/index.html +240 -0
  139. package/docs-dev/sass/components/rail/index.html +5670 -0
  140. package/docs-dev/sass/components/ratio-box/index.html +240 -0
  141. package/docs-dev/sass/components/rule/index.html +240 -0
  142. package/docs-dev/sass/components/scroll-slider/index.html +240 -0
  143. package/docs-dev/sass/components/skip-link/index.html +240 -0
  144. package/docs-dev/sass/components/slider/index.html +240 -0
  145. package/docs-dev/sass/components/spoke-spinner/index.html +240 -0
  146. package/docs-dev/sass/components/sticky-list/index.html +240 -0
  147. package/docs-dev/sass/components/tabs/index.html +240 -0
  148. package/docs-dev/sass/components/tag/index.html +240 -0
  149. package/docs-dev/sass/components/tile-button/index.html +240 -0
  150. package/docs-dev/sass/components/tile-grid/index.html +240 -0
  151. package/docs-dev/sass/components/tile-grid-overlay/index.html +240 -0
  152. package/docs-dev/sass/components/vignette/index.html +240 -0
  153. package/docs-dev/sass/components/wysiwyg/index.html +240 -0
  154. package/docs-dev/sass/core/breakpoint/index.html +241 -1
  155. package/docs-dev/sass/core/button/index.html +272 -30
  156. package/docs-dev/sass/core/color/index.html +240 -0
  157. package/docs-dev/sass/core/cssvar/index.html +240 -0
  158. package/docs-dev/sass/core/element/index.html +346 -30
  159. package/docs-dev/sass/core/index.html +240 -0
  160. package/docs-dev/sass/core/layout/index.html +240 -0
  161. package/docs-dev/sass/core/path/index.html +240 -0
  162. package/docs-dev/sass/core/selector/index.html +240 -0
  163. package/docs-dev/sass/core/typography/index.html +240 -0
  164. package/docs-dev/sass/core/units/index.html +240 -0
  165. package/docs-dev/sass/core/utils/index.html +358 -76
  166. package/docs-dev/sass/helpers/color/index.html +240 -0
  167. package/docs-dev/sass/helpers/display/index.html +240 -0
  168. package/docs-dev/sass/helpers/index/index.html +240 -0
  169. package/docs-dev/sass/helpers/index.html +240 -0
  170. package/docs-dev/sass/helpers/typography/index.html +240 -0
  171. package/docs-dev/sass/helpers/units/index.html +240 -0
  172. package/docs-dev/sass/helpers/utilities/index.html +240 -0
  173. package/docs-dev/sass/index.html +240 -0
  174. package/package.json +1 -1
  175. package/scss/_breakpoint.scss +1 -1
  176. package/scss/_button.scss +7 -5
  177. package/scss/_element.scss +16 -0
  178. package/scss/_utils.scss +7 -0
  179. package/scss/components/_button-group.scss +90 -0
  180. package/scss/components/_data-grid.scss +0 -3
  181. package/scss/components/_headline-label.scss +83 -0
  182. package/scss/components/_index.scss +24 -0
  183. package/scss/components/_panel.scss +246 -0
  184. package/scss/components/_rail.scss +120 -0
  185. package/types/ui/index.d.ts +1 -1
  186. package/types/utils/index.d.ts +1 -1
@@ -0,0 +1,120 @@
1
+ ////
2
+ /// @group rail
3
+ ////
4
+ /// A horizontal, flexible container for arranging diverse inline elements.
5
+ /// It provides a consistent layout for icons, labels, buttons, or other
6
+ /// modular components, aligning content to either end or centering it.
7
+ /// Item spacing is controlled via margins, allowing for individual item gap adjustments.
8
+
9
+ @use "sass:map";
10
+ @use "sass:meta";
11
+ @use "sass:math";
12
+
13
+ @use "../utils";
14
+ @use "../color";
15
+ @use "../selector";
16
+ @use "../layout";
17
+ @use "../element";
18
+
19
+ // Used for function fallback
20
+ $-fallbacks: (
21
+ "separator" : (
22
+ "function" : meta.get-function("get-rule-style", false, "element"),
23
+ "arguments" : ("light",)
24
+ ),
25
+ );
26
+
27
+
28
+ /// Module Settings
29
+ /// @type Map
30
+ /// @prop {Dimension} gap [1em] The default space between items in the rail
31
+ /// @prop {Map} gap-modifiers [("small" : 0.5em, "large" : 2em )] Alternate gaps (use child modifiers .rail__item--gap-[name], these apply gap changes between the item and the item before it
32
+ /// @prop {Dimension} margin-bottom [1em] The default space after rail
33
+ /// @prop {CssValue} separator [true] Pass border property for separator, defaults to element rule style light
34
+
35
+ $config: (
36
+ "gap" : 1em,
37
+ "margin-bottom" : 1em,
38
+ "separator" : true,
39
+ "gap-modifiers": (
40
+ "small" : 0.5em,
41
+ "none" : 0,
42
+ "large" : 2em
43
+ ),
44
+ ) !default;
45
+
46
+ /// Change modules $config
47
+ /// @param {Map} $changes Map of changes
48
+ /// @example scss
49
+ /// @include ulu.component-rail-set(( "gap" : 1.5em ));
50
+
51
+ @mixin set($changes) {
52
+ $config: map.merge($config, $changes) !global;
53
+ }
54
+
55
+ /// Get a config option
56
+ /// @param {Map} $name Name of property
57
+ /// @example scss
58
+ /// @include ulu.component-rail-get("gap");
59
+
60
+ @function get($name) {
61
+ $value: utils.require-map-get($config, $name, "rail [config]");
62
+ @return utils.function-fallback($name, $value, $-fallbacks);
63
+ }
64
+
65
+ /// Prints component styles
66
+ /// @example scss
67
+ /// @include ulu.component-rail-styles();
68
+
69
+ @mixin styles {
70
+ $prefix: selector.class("rail");
71
+ $gap: get("gap");
72
+
73
+ #{ $prefix } {
74
+ display: flex;
75
+ align-items: center;
76
+ flex-wrap: wrap;
77
+ gap: $gap;
78
+ margin-bottom: get("margin-bottom");
79
+ max-width: 100%;
80
+ }
81
+
82
+ // Modifiers
83
+ // - Note: Originally had mods for each type of flexbox layout
84
+ // simplified to just agnostic naming and only what is currently needed
85
+ // can update this in the future to add more alignment options if
86
+ // use cases come up
87
+
88
+ #{ $prefix }--justified {
89
+ justify-content: space-between;
90
+ }
91
+ #{ $prefix }--baseline {
92
+ align-items: baseline;
93
+ }
94
+ #{ $prefix }--nowrap {
95
+ flex-wrap: nowrap;
96
+ overflow-x: auto;
97
+ }
98
+
99
+ // Item level modifiers
100
+ #{ $prefix }__item--pull {
101
+ margin-inline-start: auto;
102
+ }
103
+ #{ $prefix }__item--separator {
104
+ border-inline-start: get("separator");
105
+ padding-inline-start: $gap;
106
+ }
107
+
108
+ @each $name, $value in get("gap-modifiers") {
109
+
110
+ $calc-gap: $value - $gap;
111
+
112
+ #{ $prefix }__item--gap-#{ $name } {
113
+ margin-inline-start: $calc-gap;
114
+
115
+ &#{ $prefix }__item--separator {
116
+ padding-inline-start: $value;
117
+ }
118
+ }
119
+ }
120
+ }
@@ -20,5 +20,5 @@ export * as printDetails from "./print-details.js";
20
20
  export * as scrollSlider from "./scroll-slider.js";
21
21
  export * as themeToggle from "./theme-toggle.js";
22
22
  export * as detailsGroup from "./details-group.js";
23
- declare namespace ___Users_joe_Projects_Personal_Github_frontend_js_ui_index_ { }
23
+ declare namespace ___Users_joescherben_Personal_Projects_ULU_frontend_js_ui_index_ { }
24
24
  //# sourceMappingURL=index.d.ts.map
@@ -6,5 +6,5 @@ export * as index from "./index.js";
6
6
  export * as pauseYoutubeVideo from "./pause-youtube-video.js";
7
7
  export * as fileSave from "./file-save.js";
8
8
  export * as fontAwesome from "./font-awesome.js";
9
- declare namespace ___Users_joe_Projects_Personal_Github_frontend_js_utils_index_ { }
9
+ declare namespace ___Users_joescherben_Personal_Projects_ULU_frontend_js_utils_index_ { }
10
10
  //# sourceMappingURL=index.d.ts.map