@ulu/frontend 0.1.0-beta.4 → 0.1.0-beta.41

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 (295) hide show
  1. package/CHANGELOG.md +337 -1
  2. package/dist/ulu-frontend.min.css +1 -1
  3. package/dist/ulu-frontend.min.js +28 -27
  4. package/docs-dev/assets/main.js +832 -421
  5. package/docs-dev/assets/placeholder/icon-calendar.svg +1 -0
  6. package/docs-dev/assets/placeholder/icon-check.svg +1 -0
  7. package/docs-dev/assets/style.css +629 -233
  8. package/docs-dev/changelog/index.html +6090 -0
  9. package/docs-dev/changelog/updates-and-changes/index.html +5109 -0
  10. package/docs-dev/demos/accordion/index.html +904 -321
  11. package/docs-dev/demos/basic-hero/index.html +111 -0
  12. package/docs-dev/demos/breakpoints-manager/index.html +5246 -0
  13. package/docs-dev/demos/button/index.html +916 -323
  14. package/docs-dev/demos/button-verbose/index.html +5238 -0
  15. package/docs-dev/demos/callout/index.html +951 -328
  16. package/docs-dev/demos/captioned-figure/index.html +904 -321
  17. package/docs-dev/demos/card/index.html +970 -748
  18. package/docs-dev/demos/card-grid/index.html +5357 -0
  19. package/docs-dev/demos/card-new/index.html +5088 -0
  20. package/docs-dev/demos/card-old/index.html +5223 -0
  21. package/docs-dev/demos/card.1/index.html +5223 -0
  22. package/docs-dev/demos/card.TRASH/index.html +5541 -0
  23. package/docs-dev/demos/counter-list/index.html +5224 -0
  24. package/docs-dev/demos/css-icons/index.html +904 -321
  25. package/docs-dev/demos/data-grid/index.html +1014 -511
  26. package/docs-dev/demos/data-table/index.html +1064 -348
  27. package/docs-dev/demos/details-group/index.html +5267 -0
  28. package/docs-dev/demos/file-save/index.html +904 -321
  29. package/docs-dev/demos/flipcard/index.html +904 -321
  30. package/docs-dev/demos/form-theme/index.html +922 -352
  31. package/docs-dev/demos/hero/index.html +12 -4
  32. package/docs-dev/demos/image-grid/index.html +12 -4
  33. package/docs-dev/demos/index.html +904 -321
  34. package/docs-dev/demos/list-inline/index.html +5220 -0
  35. package/docs-dev/demos/list-inline.1/index.html +4727 -0
  36. package/docs-dev/demos/list-lines/index.html +5210 -0
  37. package/docs-dev/demos/menu-stack/index.html +975 -377
  38. package/docs-dev/demos/modals/index.html +1010 -357
  39. package/docs-dev/demos/nav-strip/index.html +924 -377
  40. package/docs-dev/demos/overlay-section/index.html +979 -326
  41. package/docs-dev/demos/popovers/index.html +0 -4628
  42. package/docs-dev/demos/print/index.html +904 -321
  43. package/docs-dev/demos/pull-quote/index.html +904 -321
  44. package/docs-dev/demos/rule/index.html +952 -357
  45. package/docs-dev/demos/scroll-slider/index.html +72 -106
  46. package/docs-dev/demos/scrollpoints/index.html +905 -322
  47. package/docs-dev/demos/slider/index.html +12 -4
  48. package/docs-dev/demos/spoke-spinner/index.html +904 -321
  49. package/docs-dev/demos/sticky-list/index.html +5223 -0
  50. package/docs-dev/demos/tabs/index.html +944 -325
  51. package/docs-dev/demos/tag/index.html +904 -321
  52. package/docs-dev/demos/theme-toggle/index.html +5279 -0
  53. package/docs-dev/demos/tile-grid-overlay/index.html +12 -4
  54. package/docs-dev/demos/tiles/index.html +904 -321
  55. package/docs-dev/demos/tooltip/index.html +904 -321
  56. package/docs-dev/guide/building-stylesheet/index.html +904 -321
  57. package/docs-dev/guide/developing-ulu-scss-module/index.html +904 -321
  58. package/docs-dev/guide/index.html +904 -321
  59. package/docs-dev/guide/updates-and-changes/index.html +5033 -0
  60. package/docs-dev/index.html +904 -321
  61. package/docs-dev/javascript/events/index.html +901 -320
  62. package/docs-dev/javascript/index.html +904 -321
  63. package/docs-dev/javascript/settings/index.html +5400 -0
  64. package/docs-dev/javascript/ui-breakpoints/index.html +916 -335
  65. package/docs-dev/javascript/ui-collapsible/index.html +901 -320
  66. package/docs-dev/javascript/ui-details-group/index.html +5322 -0
  67. package/docs-dev/javascript/ui-dialog/index.html +967 -371
  68. package/docs-dev/javascript/ui-flipcard/index.html +964 -327
  69. package/docs-dev/javascript/ui-grid/index.html +913 -358
  70. package/docs-dev/javascript/ui-modal-builder/index.html +914 -354
  71. package/docs-dev/javascript/ui-overflow-scroller/index.html +901 -320
  72. package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +901 -320
  73. package/docs-dev/javascript/ui-page/index.html +901 -320
  74. package/docs-dev/javascript/ui-popover/index.html +911 -334
  75. package/docs-dev/javascript/ui-print/index.html +901 -328
  76. package/docs-dev/javascript/ui-print-details/index.html +901 -320
  77. package/docs-dev/javascript/ui-programmatic-modal/index.html +901 -320
  78. package/docs-dev/javascript/ui-proxy-click/index.html +990 -324
  79. package/docs-dev/javascript/ui-resizer/index.html +901 -320
  80. package/docs-dev/javascript/ui-scroll-slider/index.html +941 -328
  81. package/docs-dev/javascript/ui-scrollpoint/index.html +907 -333
  82. package/docs-dev/javascript/ui-slider/index.html +1099 -327
  83. package/docs-dev/javascript/ui-tabs/index.html +914 -370
  84. package/docs-dev/javascript/ui-theme-toggle/index.html +5410 -0
  85. package/docs-dev/javascript/ui-tooltip/index.html +940 -363
  86. package/docs-dev/javascript/utils-class-logger/index.html +901 -320
  87. package/docs-dev/javascript/utils-css/index.html +5224 -0
  88. package/docs-dev/javascript/utils-dom/index.html +1054 -339
  89. package/docs-dev/javascript/utils-file-save/index.html +901 -320
  90. package/docs-dev/javascript/utils-floating-ui/index.html +901 -320
  91. package/docs-dev/javascript/utils-id/index.html +901 -320
  92. package/docs-dev/javascript/utils-pause-youtube-video/index.html +901 -320
  93. package/docs-dev/javascript/utils-system/index.html +5527 -0
  94. package/docs-dev/sass/base/color/index.html +901 -320
  95. package/docs-dev/sass/base/elements/index.html +973 -392
  96. package/docs-dev/sass/base/index/index.html +959 -378
  97. package/docs-dev/sass/base/index.html +904 -321
  98. package/docs-dev/sass/base/keyframes/index.html +901 -320
  99. package/docs-dev/sass/base/layout/index.html +966 -385
  100. package/docs-dev/sass/base/normalize/index.html +901 -320
  101. package/docs-dev/sass/base/print/index.html +901 -320
  102. package/docs-dev/sass/base/root/index.html +901 -320
  103. package/docs-dev/sass/base/typography/index.html +901 -320
  104. package/docs-dev/sass/components/accordion/index.html +1026 -445
  105. package/docs-dev/sass/components/adaptive-spacing/index.html +1027 -446
  106. package/docs-dev/sass/components/badge/index.html +1005 -424
  107. package/docs-dev/sass/components/basic-hero/index.html +5385 -0
  108. package/docs-dev/sass/components/button/index.html +952 -371
  109. package/docs-dev/sass/components/button-verbose/index.html +1089 -433
  110. package/docs-dev/sass/components/callout/index.html +1086 -482
  111. package/docs-dev/sass/components/captioned-figure/index.html +1070 -374
  112. package/docs-dev/sass/components/card/index.html +1121 -491
  113. package/docs-dev/sass/components/card-grid/index.html +973 -392
  114. package/docs-dev/sass/components/counter-list/index.html +5458 -0
  115. package/docs-dev/sass/components/css-icon/index.html +1052 -464
  116. package/docs-dev/sass/components/data-grid/index.html +1087 -499
  117. package/docs-dev/sass/components/data-table/index.html +1154 -381
  118. package/docs-dev/sass/components/fill-context/index.html +901 -320
  119. package/docs-dev/sass/components/flipcard/index.html +1071 -459
  120. package/docs-dev/sass/components/flipcard-grid/index.html +960 -379
  121. package/docs-dev/sass/components/form-theme/index.html +1349 -672
  122. package/docs-dev/sass/components/hero/index.html +1016 -387
  123. package/docs-dev/sass/components/horizontal-rule/index.html +959 -378
  124. package/docs-dev/sass/components/image-grid/index.html +966 -385
  125. package/docs-dev/sass/components/index/index.html +1004 -419
  126. package/docs-dev/sass/components/index.html +904 -321
  127. package/docs-dev/sass/components/links/index.html +901 -320
  128. package/docs-dev/sass/components/list-inline/index.html +5399 -0
  129. package/docs-dev/sass/components/list-lines/index.html +1009 -432
  130. package/docs-dev/sass/components/list-ordered/index.html +903 -322
  131. package/docs-dev/sass/components/list-unordered/index.html +901 -320
  132. package/docs-dev/sass/components/menu-stack/index.html +1050 -456
  133. package/docs-dev/sass/components/modal/index.html +1032 -444
  134. package/docs-dev/sass/components/nav-strip/index.html +1023 -442
  135. package/docs-dev/sass/components/overlay-section/index.html +1010 -429
  136. package/docs-dev/sass/components/pager/index.html +1017 -436
  137. package/docs-dev/sass/components/placeholder-block/index.html +1017 -436
  138. package/docs-dev/sass/components/popover/index.html +1068 -451
  139. package/docs-dev/sass/components/pull-quote/index.html +1017 -436
  140. package/docs-dev/sass/components/ratio-box/index.html +969 -388
  141. package/docs-dev/sass/components/rule/index.html +972 -391
  142. package/docs-dev/sass/components/scroll-slider/index.html +1019 -450
  143. package/docs-dev/sass/components/skip-link/index.html +961 -380
  144. package/docs-dev/sass/components/slider/index.html +1023 -442
  145. package/docs-dev/sass/components/spoke-spinner/index.html +961 -380
  146. package/docs-dev/sass/components/sticky-list/index.html +5603 -0
  147. package/docs-dev/sass/components/tabs/index.html +1020 -439
  148. package/docs-dev/sass/components/tag/index.html +1064 -483
  149. package/docs-dev/sass/components/tile-button/index.html +1004 -423
  150. package/docs-dev/sass/components/tile-grid/index.html +1045 -464
  151. package/docs-dev/sass/components/tile-grid-overlay/index.html +940 -359
  152. package/docs-dev/sass/components/vignette/index.html +965 -378
  153. package/docs-dev/sass/components/wysiwyg/index.html +968 -387
  154. package/docs-dev/sass/core/breakpoint/index.html +1045 -450
  155. package/docs-dev/sass/core/button/index.html +1438 -857
  156. package/docs-dev/sass/core/color/index.html +1084 -496
  157. package/docs-dev/sass/core/cssvar/index.html +950 -369
  158. package/docs-dev/sass/core/element/index.html +1504 -782
  159. package/docs-dev/sass/core/index.html +901 -320
  160. package/docs-dev/sass/core/layout/index.html +1062 -462
  161. package/docs-dev/sass/core/path/index.html +953 -372
  162. package/docs-dev/sass/core/selector/index.html +952 -371
  163. package/docs-dev/sass/core/typography/index.html +1171 -590
  164. package/docs-dev/sass/core/units/index.html +984 -403
  165. package/docs-dev/sass/core/utils/index.html +1941 -500
  166. package/docs-dev/sass/helpers/color/index.html +901 -320
  167. package/docs-dev/sass/helpers/display/index.html +902 -321
  168. package/docs-dev/sass/helpers/index/index.html +956 -375
  169. package/docs-dev/sass/helpers/index.html +904 -321
  170. package/docs-dev/sass/helpers/print/index.html +843 -292
  171. package/docs-dev/sass/helpers/typography/index.html +901 -320
  172. package/docs-dev/sass/helpers/units/index.html +950 -369
  173. package/docs-dev/sass/helpers/utilities/index.html +903 -322
  174. package/docs-dev/sass/index.html +904 -321
  175. package/js/index.js +1 -0
  176. package/js/settings.js +95 -0
  177. package/js/ui/breakpoints.js +19 -16
  178. package/js/ui/collapsible.js +8 -1
  179. package/js/ui/details-group.js +112 -0
  180. package/js/ui/dialog.js +90 -42
  181. package/js/ui/dialog.todo +2 -36
  182. package/js/ui/flipcard.js +37 -57
  183. package/js/ui/grid.js +15 -13
  184. package/js/ui/index.js +1 -0
  185. package/js/ui/modal-builder.js +45 -54
  186. package/js/ui/overflow-scroller.js +6 -4
  187. package/js/ui/popover.js +38 -38
  188. package/js/ui/print.js +16 -25
  189. package/js/ui/programmatic-modal.js +9 -3
  190. package/js/ui/proxy-click.js +50 -36
  191. package/js/ui/scroll-slider.js +24 -30
  192. package/js/ui/scrollpoint.js +28 -64
  193. package/js/ui/slider.js +61 -62
  194. package/js/ui/tabs.js +23 -36
  195. package/js/ui/theme-toggle.js +331 -94
  196. package/js/ui/tooltip.js +27 -32
  197. package/js/utils/css.js +13 -0
  198. package/js/utils/dom.js +85 -8
  199. package/js/utils/font-awesome.js +18 -0
  200. package/js/utils/index.js +2 -1
  201. package/js/utils/system.js +154 -0
  202. package/package.json +10 -7
  203. package/scss/_breakpoint.scss +16 -3
  204. package/scss/_color.scss +9 -2
  205. package/scss/_element.scss +91 -0
  206. package/scss/_layout.scss +7 -8
  207. package/scss/_utils.scss +248 -13
  208. package/scss/components/README.todos +14 -0
  209. package/scss/components/_accordion.scss +18 -20
  210. package/scss/components/_badge.scss +3 -2
  211. package/scss/components/_basic-hero.scss +112 -0
  212. package/scss/components/_button-verbose.scss +102 -20
  213. package/scss/components/_callout.scss +127 -79
  214. package/scss/components/_captioned-figure.scss +23 -5
  215. package/scss/components/_card-grid.scss +1 -1
  216. package/scss/components/_card.scss +242 -88
  217. package/scss/components/_counter-list.scss +133 -0
  218. package/scss/components/_css-icon.scss +33 -28
  219. package/scss/components/_data-grid.scss +38 -9
  220. package/scss/components/_data-table.scss +44 -4
  221. package/scss/components/_flipcard.scss +21 -15
  222. package/scss/components/_form-theme.scss +146 -135
  223. package/scss/components/_hero.scss +12 -10
  224. package/scss/components/_index.scss +24 -0
  225. package/scss/components/_list-inline.scss +80 -0
  226. package/scss/components/_list-lines.scss +44 -33
  227. package/scss/components/_list-ordered.scss +0 -1
  228. package/scss/components/_menu-stack.scss +42 -26
  229. package/scss/components/_modal.scss +29 -19
  230. package/scss/components/_nav-strip.scss +25 -16
  231. package/scss/components/_overlay-section.scss +4 -6
  232. package/scss/components/_pager.scss +6 -6
  233. package/scss/components/_placeholder-block.scss +4 -4
  234. package/scss/components/_popover.scss +174 -73
  235. package/scss/components/_pull-quote.scss +13 -13
  236. package/scss/components/_ratio-box.scss +2 -5
  237. package/scss/components/_rule.scss +1 -1
  238. package/scss/components/_scroll-slider.scss +2 -6
  239. package/scss/components/_skip-link.scss +2 -1
  240. package/scss/components/_slider.scss +17 -38
  241. package/scss/components/_spoke-spinner.scss +2 -2
  242. package/scss/components/_sticky-list.scss +206 -0
  243. package/scss/components/_tabs.scss +4 -2
  244. package/scss/components/_tag.scss +1 -1
  245. package/scss/components/_vignette.scss +3 -5
  246. package/scss/helpers/_display.scss +15 -18
  247. package/scss/helpers/_print.scss +12 -7
  248. package/scss/helpers/_utilities.scss +42 -32
  249. package/types/index.d.ts +1 -0
  250. package/types/settings.d.ts +66 -0
  251. package/types/settings.d.ts.map +1 -0
  252. package/types/ui/breakpoints.d.ts +14 -14
  253. package/types/ui/breakpoints.d.ts.map +1 -1
  254. package/types/ui/collapsible.d.ts.map +1 -1
  255. package/types/ui/details-group.d.ts +38 -0
  256. package/types/ui/details-group.d.ts.map +1 -0
  257. package/types/ui/dialog.d.ts +20 -14
  258. package/types/ui/dialog.d.ts.map +1 -1
  259. package/types/ui/flipcard.d.ts +16 -10
  260. package/types/ui/flipcard.d.ts.map +1 -1
  261. package/types/ui/grid.d.ts +4 -6
  262. package/types/ui/grid.d.ts.map +1 -1
  263. package/types/ui/index.d.ts +1 -0
  264. package/types/ui/modal-builder.d.ts +8 -11
  265. package/types/ui/modal-builder.d.ts.map +1 -1
  266. package/types/ui/overflow-scroller.d.ts +2 -2
  267. package/types/ui/overflow-scroller.d.ts.map +1 -1
  268. package/types/ui/popover.d.ts +6 -7
  269. package/types/ui/popover.d.ts.map +1 -1
  270. package/types/ui/print.d.ts +0 -4
  271. package/types/ui/print.d.ts.map +1 -1
  272. package/types/ui/programmatic-modal.d.ts.map +1 -1
  273. package/types/ui/proxy-click.d.ts +19 -3
  274. package/types/ui/proxy-click.d.ts.map +1 -1
  275. package/types/ui/scroll-slider.d.ts +5 -7
  276. package/types/ui/scroll-slider.d.ts.map +1 -1
  277. package/types/ui/scrollpoint.d.ts +3 -8
  278. package/types/ui/scrollpoint.d.ts.map +1 -1
  279. package/types/ui/slider.d.ts +24 -14
  280. package/types/ui/slider.d.ts.map +1 -1
  281. package/types/ui/tabs.d.ts +6 -8
  282. package/types/ui/tabs.d.ts.map +1 -1
  283. package/types/ui/theme-toggle.d.ts +51 -7
  284. package/types/ui/theme-toggle.d.ts.map +1 -1
  285. package/types/ui/tooltip.d.ts +3 -5
  286. package/types/ui/tooltip.d.ts.map +1 -1
  287. package/types/utils/css.d.ts +11 -0
  288. package/types/utils/css.d.ts.map +1 -0
  289. package/types/utils/dom.d.ts +45 -6
  290. package/types/utils/dom.d.ts.map +1 -1
  291. package/types/utils/font-awesome.d.ts +5 -0
  292. package/types/utils/font-awesome.d.ts.map +1 -0
  293. package/types/utils/index.d.ts +1 -0
  294. package/types/utils/system.d.ts +113 -0
  295. package/types/utils/system.d.ts.map +1 -0
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Retrieves a copy of the default settings.
3
+ * @returns {object} A copy of the default settings object.
4
+ */
5
+ export function getDefaultSettings(): object;
6
+ /**
7
+ * Updates multiple configuration settings.
8
+ * @param {object} changes An object containing the settings to update.
9
+ */
10
+ export function updateSettings(changes: object): void;
11
+ /**
12
+ * Retrieves a copy of the current configuration settings.
13
+ * @returns {object} A copy of the current settings object.
14
+ */
15
+ export function getSettings(): object;
16
+ /**
17
+ * Retrieves a specific configuration setting by key.
18
+ * @param {string} key The key of the setting to retrieve.
19
+ * @returns {*} The value of the setting, or undefined if not found.
20
+ */
21
+ export function getSetting(key: string): any;
22
+ /**
23
+ * Updates a specific configuration setting.
24
+ * @param {string} key The key of the setting to update.
25
+ * @param {*} value The new value for the setting.
26
+ */
27
+ export function updateSetting(key: string, value: any): void;
28
+ /**
29
+ * Creates a wrapped string representation of a configuration setting.
30
+ * This function returns an object with a `toString()` method that, when called,
31
+ * retrieves the current value of the specified setting. This allows the setting
32
+ * to be used as a string literal, dynamically retrieving its value.
33
+ *
34
+ * @param {String} key The key of the setting to wrap.
35
+ * @param {Function} transform Optional function to transform the setting's
36
+ * value when its string representation is requested.
37
+ * @returns {Object} An object with a `toString()` method that returns the
38
+ * (optionally transformed) setting value as a string.
39
+ */
40
+ export function wrapSettingString(key: string, transform: Function): any;
41
+ /**
42
+ * Default settings
43
+ */
44
+ export type Defaults = {
45
+ /**
46
+ * - The CSS class string for the close icon
47
+ */
48
+ iconClassClose: string;
49
+ /**
50
+ * - The CSS class string for the drag X icon
51
+ */
52
+ iconClassDragX: string;
53
+ /**
54
+ * - The CSS class string for the previous icon
55
+ */
56
+ iconClassPrevious: string;
57
+ /**
58
+ * - The CSS class string for the next icon
59
+ */
60
+ iconClassNext: string;
61
+ /**
62
+ * - The prefix to use for CSS custom properties
63
+ */
64
+ cssvarPrefix: string;
65
+ };
66
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../js/settings.js"],"names":[],"mappings":"AA6BA;;;GAGG;AACH,sCAFa,MAAM,CAIlB;AAED;;;GAGG;AACH,wCAFW,MAAM,QAIhB;AAED;;;GAGG;AACH,+BAFa,MAAM,CAIlB;AAED;;;;GAIG;AACH,gCAHW,MAAM,OAShB;AAED;;;;GAIG;AACH,mCAHW,MAAM,oBAKhB;AAED;;;;;;;;;;;GAWG;AACH,yEAOC;;;;;;;;oBAtFa,MAAM;;;;oBACN,MAAM;;;;uBACN,MAAM;;;;mBACN,MAAM;;;;kBACN,MAAM"}
@@ -1,32 +1,32 @@
1
1
  /**
2
2
  * @class
3
3
  * Class that provides method for retrieving and acting on breakpoints passed
4
- * from CSS (using element psuedo content prop)
4
+ * from CSS (using element pseudo content prop)
5
5
  */
6
6
  export class BreakpointManager {
7
7
  static instances: any[];
8
8
  static defaults: {
9
9
  element: HTMLElement;
10
- valueFromPsuedo: boolean;
11
- customProperty: string;
12
- psuedoSelector: string;
10
+ valueFromPseudo: boolean;
11
+ customProperty: any;
12
+ pseudoSelector: string;
13
13
  order: string[];
14
14
  debug: boolean;
15
15
  };
16
16
  /**
17
- * @param {Object} config Configruation object
17
+ * @param {Object} config Configuration object
18
18
  * @param {Array} config.order Array of strings that correspond to the breakpoints setup in the styles, Breakpoints from smallest to largest, defaults to [small, medium, large]
19
19
  * @param {Array} config.customProperty Property to grab breakpoint from (default is --breakpoint)
20
- * @param {Array} config.valueFromPsuedo Use the legacy method of grabbing breakpoint from psuedo element, default uses custom property
21
- * @param {Node} config.element The element to retrieve active breakpoint from stylesheet. (default is html) For using the old psuedo method, adjust this to document.body
22
- * @param {String} config.psuedoSelector Change psuedo selector used to get the breakpoint from the psuedo's content property
20
+ * @param {Array} config.valueFromPseudo Use the legacy method of grabbing breakpoint from pseudo element, default uses custom property
21
+ * @param {Node} config.element The element to retrieve active breakpoint from stylesheet. (default is html) For using the old pseudo method, adjust this to document.body
22
+ * @param {String} config.pseudoSelector Change pseudo selector used to get the breakpoint from the pseudo's content property
23
23
  */
24
24
  constructor(config: {
25
25
  order: any[];
26
26
  customProperty: any[];
27
- valueFromPsuedo: any[];
27
+ valueFromPseudo: any[];
28
28
  element: Node;
29
- psuedoSelector: string;
29
+ pseudoSelector: string;
30
30
  });
31
31
  active: any;
32
32
  previous: any;
@@ -36,9 +36,9 @@ export class BreakpointManager {
36
36
  breakpoints: {};
37
37
  onChangeCallbacks: any[];
38
38
  /**
39
- * Add a callback for everytime a breakpoint changes
39
+ * Add a callback for every time a breakpoint changes
40
40
  * - Not recommended, possibly use to watch for changes, etc
41
- * - For more control use intance.at(name) with breakpoint methods
41
+ * - For more control use instance.at(name) with breakpoint methods
42
42
  * @param {Function} callback Function to call, passed one argument current instance which can be used to get information about breakpoints
43
43
  */
44
44
  onChange(callback: Function): void;
@@ -48,9 +48,9 @@ export class BreakpointManager {
48
48
  */
49
49
  removeOnChange(callback: Function): void;
50
50
  /**
51
- * Get breakpoint from a psuedo element
51
+ * Get breakpoint from a pseudo element
52
52
  */
53
- getBreakpointInPsuedo(): string;
53
+ getBreakpointInPseudo(): string;
54
54
  /**
55
55
  * Get breakpoint from a custom property
56
56
  */
@@ -1 +1 @@
1
- {"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../js/ui/breakpoints.js"],"names":[],"mappings":"AAeA;;;;GAIG;AACH;IACE,wBAAsB;IACtB;;;;;;;MAOC;IACD;;;;;;;OAOG;IACH;QANyB,KAAK;QACL,cAAc;QACd,eAAe;QAChB,OAAO,EAApB,IAAI;QACW,cAAc;OAevC;IAXC,YAAkB;IAClB,cAAoB;IACpB,iBAAuB;IACvB,wBAA2B;IAC3B,mBAAyB;IACzB,gBAAqB;IACrB,yBAA2B;IAM7B;;;;;OAKG;IACH,mCAEC;IACD;;;OAGG;IACH,yCAEC;IACD;;OAEG;IACH,gCAEC;IACD;;OAEG;IACH,kCAEC;IACD;;OAEG;IACH,wBAMC;IACD;;OAEG;IACH,eA6CC;IACD;;;;OAIG;IACH,kBAFY,UAAU,CAQrB;CACF;AAsED;;;GAGG;AACH;IACE,qCAQC;IAPC;;;;MAIC;IACD,cAAuB;IACvB,UAAgB;IAElB;;;;;OAKG;IACH,wDAEC;IACD;;;;;OAKG;IACH,6BAEC;IACD;;;;;OAKG;IACH,6BAEC;IACD;;;OAGG;IACH,8BAEC;IACD;;;;OAIG;IACH,mDAGC;IAED,yBAGC;CACF;AAnID;;;GAGG;AACH;IACE,6CAMC;IALC,eAA0B;IAC1B,gBAAmB;IACnB,UAAY;IACZ,WAAa;IACb,gBAA4B;IAE9B;;OAEG;IACH,sBAMC;IACD;;OAEG;IACH,4BAIC;IACD;;OAEG;IACH,+BAEC;IACD;;;;;OAKG;IACH,aAJW,cAAe,QAiBzB;IACD;;OAEG;IACH,2BAQC;CACF"}
1
+ {"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../js/ui/breakpoints.js"],"names":[],"mappings":"AAkBA;;;;GAIG;AACH;IACE,wBAAsB;IACtB;;;;;;;MAQC;IACD;;;;;;;OAOG;IACH;QANyB,KAAK;QACL,cAAc;QACd,eAAe;QAChB,OAAO,EAApB,IAAI;QACW,cAAc;OAevC;IAXC,YAAkB;IAClB,cAAoB;IACpB,iBAAuB;IACvB,wBAA2B;IAC3B,mBAAyB;IACzB,gBAAqB;IACrB,yBAA2B;IAM7B;;;;;OAKG;IACH,mCAEC;IACD;;;OAGG;IACH,yCAEC;IACD;;OAEG;IACH,gCAEC;IACD;;OAEG;IACH,kCAEC;IACD;;OAEG;IACH,wBAMC;IACD;;OAEG;IACH,eA4CC;IACD;;;;OAIG;IACH,kBAFY,UAAU,CAQrB;CACF;AAsED;;;GAGG;AACH;IACE,qCAQC;IAPC;;;;MAIC;IACD,cAAuB;IACvB,UAAgB;IAElB;;;;;OAKG;IACH,wDAEC;IACD;;;;;OAKG;IACH,6BAEC;IACD;;;;;OAKG;IACH,6BAEC;IACD;;;OAGG;IACH,8BAEC;IACD;;;;OAIG;IACH,mDAGC;IAED,yBAGC;CACF;AAnID;;;GAGG;AACH;IACE,6CAMC;IALC,eAA0B;IAC1B,gBAAmB;IACnB,UAAY;IACZ,WAAa;IACb,gBAA4B;IAE9B;;OAEG;IACH,sBAMC;IACD;;OAEG;IACH,4BAIC;IACD;;OAEG;IACH,+BAEC;IACD;;;;;OAKG;IACH,aAJW,cAAe,QAiBzB;IACD;;OAEG;IACH,2BAQC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../js/ui/collapsible.js"],"names":[],"mappings":"AAQA;;GAEG;AACH;IACE;;;;QAME;;WAEG;;QAGH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;MAKH;IACF;;;;;;OAMG;IACH;QAL0B,OAAO,EAAtB,IAAI;QACW,OAAO,EAAtB,IAAI;oBAsBd;IAXC;iBAZS,IAAI;iBACJ,IAAI;MAWW;IACxB,aAAsB;IACtB,gBAAmB;IACnB,aAAkB;IASpB,uBAaC;IAVC,mCAEC;IACD,sCAIC;IAIH,uBAIC;IACD,0BAEC;IACD,gBAGC;IACD,+BAIC;IACD,cAOC;IACD,sDAEC;IACD,wCAqBC;IACD;;OAEG;IACH,+BAoBC;IACD;;OAEG;IACH,iCAQC;IACD,uBAEC;IACD,wBAEC;IACD,yBAEC;CAqBF"}
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../js/ui/collapsible.js"],"names":[],"mappings":"AAQA;;GAEG;AACH;IACE;;;;QAME;;WAEG;;QAGH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;;MAKH;IACF;;;;;;OAMG;IACH;QAL0B,OAAO,EAAtB,IAAI;QACW,OAAO,EAAtB,IAAI;oBAsBd;IAXC;iBAZS,IAAI;iBACJ,IAAI;MAWW;IACxB,aAAsB;IACtB,gBAAmB;IACnB,aAAkB;IASpB,uBAoBC;IAjBC,mCAEC;IACD,sCAWC;IAIH,uBAIC;IACD,0BAEC;IACD,gBAGC;IACD,+BAIC;IACD,cAOC;IACD,sDAEC;IACD,wCAqBC;IACD;;OAEG;IACH,+BAoBC;IACD;;OAEG;IACH,iCAQC;IACD,uBAEC;IACD,wBAEC;IACD,yBAEC;CAqBF"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Initialize everything in document
3
+ * - This will only initialize elements once, it is safe to call on page changes
4
+ */
5
+ export function init(): void;
6
+ /**
7
+ * @typedef {Object} DetailsGroupInstance
8
+ * @property {Function} destroy A function to remove event listeners and attributes.
9
+ * @property {HTMLElement} element The parent element.
10
+ * @property {Function} setupChildren A function to initialize the child details elements.
11
+ */
12
+ /**
13
+ * Sets up a single group of details elements to manage their behavior.
14
+ * @param {HTMLElement} element - The parent element containing the details elements.
15
+ * @param {Object} options - The options for this group
16
+ * @returns {DetailsGroupInstance}
17
+ */
18
+ export function setupGroup(element: HTMLElement, userOptions: any): DetailsGroupInstance;
19
+ /**
20
+ * Dialog Component Initializer
21
+ */
22
+ export const initializer: ComponentInitializer;
23
+ export type DetailsGroupInstance = {
24
+ /**
25
+ * A function to remove event listeners and attributes.
26
+ */
27
+ destroy: Function;
28
+ /**
29
+ * The parent element.
30
+ */
31
+ element: HTMLElement;
32
+ /**
33
+ * A function to initialize the child details elements.
34
+ */
35
+ setupChildren: Function;
36
+ };
37
+ import { ComponentInitializer } from "../utils/system.js";
38
+ //# sourceMappingURL=details-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"details-group.d.ts","sourceRoot":"","sources":["../../js/ui/details-group.js"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,6BASC;AAED;;;;;GAKG;AAEH;;;;;GAKG;AACH,oCAJW,WAAW,qBAET,oBAAoB,CAgEhC;AAxGD;;GAEG;AACH,+CAGG;;;;;;;;;aA0BW,WAAW;;;;;;qCAlCY,oBAAoB"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @param {Object} options Change options used as default for dialogs, can then be overriden by data attribute settings on element
2
+ * @param {Object} options Change options used as default for dialogs, can then be overridden by data attribute settings on element
3
3
  */
4
4
  export function setDefaults(options: any): void;
5
5
  /**
@@ -7,36 +7,42 @@ export function setDefaults(options: any): void;
7
7
  * - This will only initialize elements once, it is safe to call on page changes
8
8
  */
9
9
  export function init(): void;
10
- /**
11
- * Setup dialogs and triggers
12
- */
13
- export function setup(): void;
14
10
  /**
15
11
  * Setup click handlers on a trigger
16
- * @param {Node} trigger
12
+ * @param {Node} trigger Trigger button element
13
+ * @param {String} dialogId The dialog's id to open
17
14
  */
18
- export function setupTrigger(trigger: Node): void;
15
+ export function setupTrigger(trigger: Node, dialogId: string): void;
19
16
  /**
20
17
  * Setup click handlers for a dialog
21
18
  * @param {Node} dialog
22
19
  */
23
- export function setupDialog(dialog: Node): void;
20
+ export function setupDialog(dialog: Node, userOptions: any): void;
24
21
  /**
25
22
  * For a given dialog, get it's options (from data attribute)
26
23
  * @param {Node} dialog
27
24
  * @returns {Object}
28
25
  */
29
26
  export function getDialogOptions(dialog: Node): any;
30
- export namespace attrs {
31
- let init: string;
32
- let dialog: string;
33
- let trigger: string;
34
- let close: string;
35
- }
27
+ /**
28
+ * Base attribute for a dialog
29
+ */
30
+ export const baseAttribute: "data-ulu-dialog";
31
+ /**
32
+ * Dialog Component Initializer
33
+ */
34
+ export const initializer: ComponentInitializer;
35
+ /**
36
+ * Attribute for close buttons within a dialog
37
+ */
38
+ export const closeAttribute: string;
36
39
  export namespace defaults {
37
40
  let nonModal: boolean;
38
41
  let documentEnd: boolean;
39
42
  let clickOutsideCloses: boolean;
40
43
  let pauseVideos: boolean;
44
+ let preventScroll: boolean;
45
+ let preventScrollShift: boolean;
41
46
  }
47
+ import { ComponentInitializer } from "../utils/system.js";
42
48
  //# sourceMappingURL=dialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../js/ui/dialog.js"],"names":[],"mappings":"AAkDA;;GAEG;AACH,gDAEC;AAED;;;GAGG;AACH,6BAGC;AAED;;GAEG;AACH,8BAOC;AAED;;;GAGG;AACH,sCAFW,IAAI,QAoBd;AAED;;;GAGG;AACH,oCAFW,IAAI,QA0Bd;AAED;;;;GAIG;AACH,yCAHW,IAAI,OAMd"}
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../js/ui/dialog.js"],"names":[],"mappings":"AA4DA;;GAEG;AACH,gDAEC;AAED;;;GAGG;AACH,6BAqBC;AAED;;;;GAIG;AACH,sCAHW,IAAI,0BA2Bd;AAED;;;GAGG;AACH,oCAFW,IAAI,0BAmDd;AAED;;;;GAIG;AACH,yCAHW,IAAI,OAKd;AAnLD;;GAEG;AACH,8CAA+C;AAE/C;;GAEG;AACH,+CAAuF;AAEvF;;GAEG;AACH,oCAAgE;;;;;;;;;qCAjB3B,oBAAoB"}
@@ -1,7 +1,19 @@
1
+ /**
2
+ * Initialize flipcards using data-ulu-flipcard attribute
3
+ */
1
4
  export function init(): void;
2
- export function setup(): void;
5
+ /**
6
+ * Flipcard Component Initializer
7
+ */
8
+ export const initializer: ComponentInitializer;
9
+ /**
10
+ * Flipcard class (creates flipcard instance and behaviors)
11
+ */
3
12
  export class Flipcard {
4
13
  static instances: any[];
14
+ /**
15
+ * Default options for Flipcard
16
+ */
5
17
  static defaults: {
6
18
  namespace: string;
7
19
  proxyClick: {
@@ -10,9 +22,8 @@ export class Flipcard {
10
22
  exclude: string;
11
23
  };
12
24
  };
13
- constructor(container: any, front: any, back: any, config: any, debug?: boolean);
25
+ constructor(container: any, front: any, back: any, config: any);
14
26
  options: any;
15
- debug: boolean;
16
27
  elements: {
17
28
  container: any;
18
29
  front: any;
@@ -32,14 +43,9 @@ export class Flipcard {
32
43
  }): void;
33
44
  getClass(child: any): any;
34
45
  createControlContent(): string;
35
- setVisiblity(visible: any): void;
46
+ setVisibility(visible: any): void;
36
47
  containerCss(): string;
37
48
  panelCss(zIndex?: number): string;
38
49
  }
39
- export namespace attrs {
40
- let init: string;
41
- let flipcard: string;
42
- let front: string;
43
- let back: string;
44
- }
50
+ import { ComponentInitializer } from "../utils/system.js";
45
51
  //# sourceMappingURL=flipcard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flipcard.d.ts","sourceRoot":"","sources":["../../js/ui/flipcard.js"],"names":[],"mappings":"AAmJA,6BAGC;AAED,8BAGC;AAjJD;IACE,wBAAsB;IACtB;;;;;;;MAOE;IACF,iFAgBC;IAZC,aAA2D;IAI3D,eAA+B;IAC/B;;;;MAA0C;IAC1C,gBAAmB;IACnB,YAA6D;IAC7D,kBAA0D;IAK5D,eAEC;IACD,cAqCC;IACD;;;OAGG;IACH;;aAQC;IACD,0BAGC;IACD,+BAIC;IACD,iCASC;IACD,uBAWC;IACD,kCAKC;CACF"}
1
+ {"version":3,"file":"flipcard.d.ts","sourceRoot":"","sources":["../../js/ui/flipcard.js"],"names":[],"mappings":"AAgBA;;GAEG;AACH,6BAYC;AAvBD;;GAEG;AACH,+CAGG;AAmBH;;GAEG;AACH;IACE,wBAAsB;IACtB;;OAEG;IACH;;;;;;;MAOE;IACF,gEAgBC;IAZC,aAA2D;IAK3D;;;;MAA0C;IAC1C,gBAAmB;IACnB,YAA6D;IAC7D,kBAA0D;IAK5D,eAEC;IACD,cAqCC;IACD;;;OAGG;IACH;;aAQC;IACD,0BAGC;IACD,+BAIC;IACD,kCASC;IACD,uBAWC;IACD,kCAKC;CACF;qCAzJoC,oBAAoB"}
@@ -1,13 +1,11 @@
1
1
  /**
2
2
  * Sets up document for grid position classes
3
- * @param {String} selector The selector for the parent element
4
3
  * @param {Object} classes Classes (optional) @see setPositionClasses
5
4
  */
6
- export function init(selector: string, classes: any): void;
5
+ export function init(classes: any): void;
7
6
  /**
8
- * Goes through document and finds elements that need to have positioning classes
9
- * @param {String} selector The selector for the parent element
10
- * @param {Object} classes Classes (optional) @see setPositionClasses
7
+ * Dialog Component Initializer
11
8
  */
12
- export function setup(selector: string, classes: any): void;
9
+ export const initializer: ComponentInitializer;
10
+ import { ComponentInitializer } from "../utils/system.js";
13
11
  //# sourceMappingURL=grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../js/ui/grid.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,2DAIC;AAED;;;;GAIG;AACH,4DAEC"}
1
+ {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../js/ui/grid.js"],"names":[],"mappings":"AAeA;;;GAGG;AACH,yCAQC;AApBD;;GAEG;AACH,+CAGG;qCATkC,oBAAoB"}
@@ -19,5 +19,6 @@ export * as print from "./print.js";
19
19
  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
+ export * as detailsGroup from "./details-group.js";
22
23
  declare namespace ___Users_joescherben_Personal_Projects_ULU_frontend_js_ui_index_ { }
23
24
  //# sourceMappingURL=index.d.ts.map
@@ -7,15 +7,6 @@ export function setDefaults(options: any): void;
7
7
  * - This will only initialize elements once, it is safe to call on page changes
8
8
  */
9
9
  export function init(): void;
10
- /**
11
- * Query and setup all builder
12
- */
13
- export function setup(): void;
14
- /**
15
- * Build a dialog for the given content
16
- * @param {Node} element
17
- */
18
- export function setupBuilder(element: Node): void;
19
10
  /**
20
11
  *
21
12
  * @param {Node} content Content element of the dialog (what is inserted into the body)
@@ -24,6 +15,10 @@ export function setupBuilder(element: Node): void;
24
15
  export function buildModal(content: Node, options: any): {
25
16
  modal: Element;
26
17
  };
18
+ /**
19
+ * Modal Builder Component Initializer
20
+ */
21
+ export const initializer: ComponentInitializer;
27
22
  export namespace defaults {
28
23
  export let title: any;
29
24
  export let titleIcon: any;
@@ -38,8 +33,9 @@ export namespace defaults {
38
33
  export let noMinHeight: boolean;
39
34
  let _class: string;
40
35
  export { _class as class };
41
- export let classCloseIcon: string;
42
- export let classResizerIcon: string;
36
+ export let baseClass: string;
37
+ export let classCloseIcon: any;
38
+ export let classResizerIcon: any;
43
39
  export let debug: boolean;
44
40
  export function templateCloseIcon(config: any): string;
45
41
  export function templateResizerIcon(config: any): string;
@@ -51,4 +47,5 @@ export namespace defaults {
51
47
  */
52
48
  export function template(id: string, config: any): string;
53
49
  }
50
+ import { ComponentInitializer } from "../utils/system.js";
54
51
  //# sourceMappingURL=modal-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal-builder.d.ts","sourceRoot":"","sources":["../../js/ui/modal-builder.js"],"names":[],"mappings":"AA+FA;;GAEG;AACH,gDAEC;AAED;;;GAGG;AACH,6BAGC;AAED;;GAEG;AACH,8BAGC;AAED;;;GAGG;AACH,sCAFW,IAAI,QAMd;AAED;;;;GAIG;AACH,oCAHW,IAAI;;EAmDd;;;;;;;;;;;;;;;;;;IA5IC,uDAEC;IACD,yDAEC;IACD;;;;;OAKG;IACH,0DAmCC"}
1
+ {"version":3,"file":"modal-builder.d.ts","sourceRoot":"","sources":["../../js/ui/modal-builder.js"],"names":[],"mappings":"AAmGA;;GAEG;AACH,gDAEC;AAED;;;GAGG;AACH,6BAQC;AAED;;;;GAIG;AACH,oCAHW,IAAI;;EAmDd;AAjKD;;GAEG;AACH,+CAGG;;;;;;;;;;;;;;;;;;;IAyBD,uDAGC;IACD,yDAGC;IACD;;;;;OAKG;IACH,0DAoCC;;qCAxFkC,oBAAoB"}
@@ -8,8 +8,8 @@ export class OverflowScroller {
8
8
  offsetEnd: number;
9
9
  amount: string;
10
10
  buttonClasses: string[];
11
- iconClassesPrevious: string[];
12
- iconClassesNext: string[];
11
+ iconClassPrevious: any;
12
+ iconClassNext: any;
13
13
  };
14
14
  constructor(elements: any, config: any);
15
15
  options: any;
@@ -1 +1 @@
1
- {"version":3,"file":"overflow-scroller.d.ts","sourceRoot":"","sources":["../../js/ui/overflow-scroller.js"],"names":[],"mappings":"AAkBA;IACE,wBAAsB;IACtB;;;;;;;;;;MAUC;IACD,wCAeC;IAdC,aAAmE;IAInE,cAGC;IACD,qBAAuB;IACvB,yBAA2B;IAC3B,gCAA4C;IAK9C,sBAGC;IADC,qBAAwD;IAE1D;;;;;;MA2BC;IACD,oDAQC;IACD,uCAMC;IACD,2BAGC;IACD,2BAiBC;IACD,8CAeC;IACD,6BAaC;IACD,aAMC;IACD,iBAMC;IACD,6BAGC;CACF"}
1
+ {"version":3,"file":"overflow-scroller.d.ts","sourceRoot":"","sources":["../../js/ui/overflow-scroller.js"],"names":[],"mappings":"AAmBA;IACE,wBAAsB;IACtB;;;;;;;;;;MAUC;IACD,wCAgBC;IAfC,aAAmE;IAKnE,cAGC;IACD,qBAAuB;IACvB,yBAA2B;IAC3B,gCAA4C;IAK9C,sBAGC;IADC,qBAAwD;IAE1D;;;;;;MA2BC;IACD,oDAQC;IACD,uCAMC;IACD,2BAGC;IACD,2BAiBC;IACD,8CAeC;IACD,6BAaC;IACD,aAMC;IACD,iBAMC;IACD,6BAGC;CACF"}
@@ -2,16 +2,10 @@
2
2
  * Initialize default popover
3
3
  */
4
4
  export function init(): void;
5
- /**
6
- * Query all popovers on current page and set them up
7
- * - Use this manually if needed
8
- * - Won't setup a popover more than once
9
- */
10
- export function setup(): void;
11
5
  /**
12
6
  * Find the popover's elements
13
7
  */
14
- export function resolve(trigger: any): false | {
8
+ export function resolve(trigger: any, userOptions: any): false | {
15
9
  elements: {
16
10
  trigger: any;
17
11
  content: any;
@@ -22,6 +16,10 @@ export function resolve(trigger: any): false | {
22
16
  floatingOptions: any;
23
17
  };
24
18
  export function getContentByTrigger(trigger: any): any;
19
+ /**
20
+ * Popover Component Initializer
21
+ */
22
+ export const initializer: ComponentInitializer;
25
23
  /**
26
24
  * Array of current instances
27
25
  */
@@ -36,5 +34,6 @@ export class Popover extends Collapsible {
36
34
  floatingCleanup: Function;
37
35
  destroyFloatingInstance(): void;
38
36
  }
37
+ import { ComponentInitializer } from "../utils/system.js";
39
38
  import { Collapsible } from "./collapsible.js";
40
39
  //# sourceMappingURL=popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../js/ui/popover.js"],"names":[],"mappings":"AA6BA;;GAEG;AACH,6BAGC;AAED;;;;GAIG;AACH,8BAWC;AAED;;GAEG;AACH;;;;;;;;;EAkBC;AAKD,uDAmBC;AA5FD;;GAEG;AACH,4BAAqC;AA4FrC;;GAEG;AACH;IACE,8DAIC;IADC,qBAA4C;IAa9C,+BAIC;IADC,0BAA+E;IAEjF,gCAKC;CACF;4BAhI2B,kBAAkB"}
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../js/ui/popover.js"],"names":[],"mappings":"AAgCA;;GAEG;AACH,6BAmBC;AAED;;GAEG;AACH;;;;;;;;;EAiBC;AAKD,uDAmBC;AA5FD;;GAEG;AACH,+CAGG;AAOH;;GAEG;AACH,4BAAqC;AA+ErC;;GAEG;AACH;IACE,8DAIC;IADC,qBAA4C;IAa9C,+BAIC;IADC,0BAA+E;IAEjF,gCAKC;CACF;qCAlIoC,oBAAoB;4BAE7B,kBAAkB"}
@@ -3,8 +3,4 @@
3
3
  * - This will only initialize elements once, it is safe to call on page changes
4
4
  */
5
5
  export function init(): void;
6
- export namespace attrs {
7
- let trigger: string;
8
- let init: string;
9
- }
10
6
  //# sourceMappingURL=print.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../js/ui/print.js"],"names":[],"mappings":"AA2BA;;;GAGG;AACH,6BAGC"}
1
+ {"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../js/ui/print.js"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,6BASC"}
@@ -1 +1 @@
1
- {"version":3,"file":"programmatic-modal.d.ts","sourceRoot":"","sources":["../../js/ui/programmatic-modal.js"],"names":[],"mappings":"AASA;IACE;;;MAGE;IACF,gCAeC;IAbC,aAAsB;IACtB,cAAoB;IACpB,mBAAyB;IAEzB,qCAGC;IACD,2BAEC;IAIH,sBAMC;IACD,gBAMC;IACD;;;;MA6CC;CACF"}
1
+ {"version":3,"file":"programmatic-modal.d.ts","sourceRoot":"","sources":["../../js/ui/programmatic-modal.js"],"names":[],"mappings":"AAUA;IACE;;;MAGE;IACF,gCAeC;IAbC,aAAsB;IACtB,cAAoB;IACpB,mBAAyB;IAEzB,qCAGC;IACD,2BAEC;IAIH,sBAMC;IACD,gBAMC;IACD;;;;MAkDC;CACF"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @param {Object} options Change options used as default for dialogs, can then be overriden by data attribute settings on element
2
+ * @param {Object} options Change options used as default for dialogs, can then be overridden by data attribute settings on element
3
3
  */
4
4
  export function setDefaults(options: any): void;
5
5
  /**
@@ -7,12 +7,28 @@ export function setDefaults(options: any): void;
7
7
  * - This will only initialize elements once, it is safe to call on page changes
8
8
  */
9
9
  export function init(): void;
10
- export function setup(context?: Document): void;
11
- export function attachHandlers(proxy: any, child: any, options: any): void;
10
+ /**
11
+ * Setup a single proxy click
12
+ * @param {Node} proxy The container who's click should proxy the click of inner element with options.selector (defaults to [data-ulu-proxy-click-source])
13
+ * @param {Object} userOptions Options to override defaults
14
+ */
15
+ export function setupProxy(proxy: Node, userOptions: any): void;
16
+ /**
17
+ * Main function for attaching behaviors that enable proxy click
18
+ * @param {Node} proxy The container who's click should proxy the click of inner element with options.selector (defaults to [data-ulu-proxy-click-source])
19
+ * @param {Node} child The element who is being proxied and will get clicked if the proxy is clicked (as long as not an interactive element within proxy)
20
+ * @param {Object} config Merged/final options object
21
+ */
22
+ export function attachHandlers(proxy: Node, child: Node, config: any): void;
23
+ /**
24
+ * Proxy Click Component Initializer
25
+ */
26
+ export const initializer: ComponentInitializer;
12
27
  export namespace defaults {
13
28
  let selector: string;
14
29
  let selectorPreventBase: string;
15
30
  let selectorPrevent: string;
16
31
  let mousedownDurationPrevent: number;
17
32
  }
33
+ import { ComponentInitializer } from "../utils/system.js";
18
34
  //# sourceMappingURL=proxy-click.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"proxy-click.d.ts","sourceRoot":"","sources":["../../js/ui/proxy-click.js"],"names":[],"mappings":"AAiCA;;GAEG;AACH,gDAEC;AACD;;;GAGG;AACH,6BAGC;AAED,gDAaC;AACD,2EAiBC"}
1
+ {"version":3,"file":"proxy-click.d.ts","sourceRoot":"","sources":["../../js/ui/proxy-click.js"],"names":[],"mappings":"AAkCA;;GAEG;AACH,gDAEC;AACD;;;GAGG;AACH,6BASC;AAED;;;;GAIG;AACH,kCAHW,IAAI,0BAWd;AAED;;;;;GAKG;AACH,sCAJW,IAAI,SACJ,IAAI,qBAoBd;AAhFD;;GAEG;AACH,+CAGG;;;;;;;qCARkC,oBAAoB"}
@@ -3,11 +3,9 @@
3
3
  * - This will only initialize elements once, it is safe to call on page changes
4
4
  */
5
5
  export function init(): void;
6
- export function setup(): void;
7
- export namespace attrs {
8
- let init: string;
9
- let slider: string;
10
- let track: string;
11
- let controls: string;
12
- }
6
+ /**
7
+ * Scroll Slider Component Initializer
8
+ */
9
+ export const initializer: ComponentInitializer;
10
+ import { ComponentInitializer } from "../utils/system.js";
13
11
  //# sourceMappingURL=scroll-slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scroll-slider.d.ts","sourceRoot":"","sources":["../../js/ui/scroll-slider.js"],"names":[],"mappings":"AA+BA;;;GAGG;AACH,6BAGC;AAED,8BAGC"}
1
+ {"version":3,"file":"scroll-slider.d.ts","sourceRoot":"","sources":["../../js/ui/scroll-slider.js"],"names":[],"mappings":"AAuBA;;;GAGG;AACH,6BASC;AA5BD;;GAEG;AACH,+CAGG;qCAVkC,oBAAoB"}
@@ -4,15 +4,9 @@
4
4
  */
5
5
  export function init(): void;
6
6
  /**
7
- * Setup all points and groups
7
+ * Scrollpoint Component Initializer
8
8
  */
9
- export function setup(): void;
10
- export namespace attrs {
11
- let init: string;
12
- let point: string;
13
- let group: string;
14
- let groupAnchors: string;
15
- }
9
+ export const initializer: ComponentInitializer;
16
10
  /**
17
11
  * Single scrollpoint
18
12
  * - Note "forward" and "reverse" refer to scroll directions
@@ -130,4 +124,5 @@ export class Scrollpoint {
130
124
  updateStateAttribute(isActive: any, isForward: any): void;
131
125
  destroy(): void;
132
126
  }
127
+ import { ComponentInitializer } from "../utils/system.js";
133
128
  //# sourceMappingURL=scrollpoint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrollpoint.d.ts","sourceRoot":"","sources":["../../js/ui/scrollpoint.js"],"names":[],"mappings":"AAyCA;;;GAGG;AACH,6BAGC;AAED;;GAEG;AACH,8BAqBC;;;;;;;AAID;;;;;;;GAOG;AACH;IACE;QACE;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;QAEH;;WAEG;;QAEH;;WAEG;;MAIH;IACF;;;;OAIG;IACH,qBAHW,IAAI,eAkCd;IArBC,aAAsB;IACtB,+BAAoB;IACpB,kBAAwB;IACxB,kBAAqB;IACrB,cAAsB;IACtB,sBAGC;IACD;;;;;;;MAOC;IAMH,kCAEC;IACD;;;;MAMC;IACD;;;OAGG;IACH,8BAkBC;IACD,sBAUC;IACD,kBAGC;IACD,8CAcC;IACD,qBAEC;IACD,mDAmBC;IACD,0DAMC;IACD,gBASC;CACF"}
1
+ {"version":3,"file":"scrollpoint.d.ts","sourceRoot":"","sources":["../../js/ui/scrollpoint.js"],"names":[],"mappings":"AA0BA;;;GAGG;AACH,6BAUC;AAtBD;;GAEG;AACH,+CAGG;AAkBH;;;;;;;GAOG;AACH;IACE;QACE;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;QAEH;;WAEG;;QAEH;;WAEG;;MAIH;IACF;;;;OAIG;IACH,qBAHW,IAAI,eAkCd;IArBC,aAAsB;IACtB,+BAAoB;IACpB,kBAAwB;IACxB,kBAAqB;IACrB,cAAsB;IACtB,sBAGC;IACD;;;;;;;MAOC;IAMH,kCAEC;IACD;;;;MAMC;IACD;;;OAGG;IACH,8BAkBC;IACD,sBAUC;IACD,kBAGC;IACD,8CAcC;IACD,qBAEC;IACD,mDAmBC;IACD,0DAMC;IACD,gBASC;CACF;qCAlQoC,oBAAoB"}
@@ -1,15 +1,25 @@
1
+ /**
2
+ * Initialize all sliders based on data attribute selectors
3
+ */
1
4
  export function init(): void;
2
- export function setup(): void;
3
- export function setupSlider(container: any): void;
4
- export namespace attrs {
5
- let init: string;
6
- let slider: string;
7
- let track: string;
8
- let trackContainer: string;
9
- let controls: string;
10
- }
5
+ /**
6
+ * Setup single slider instance from querying via data attribute selectors
7
+ * @param {Node} container The slide container to query children from
8
+ * @param {Object} options Options for slider class
9
+ */
10
+ export function setupSlider(container: Node, options: any): void;
11
+ /**
12
+ * Slider Component Initializer
13
+ */
14
+ export const initializer: ComponentInitializer;
15
+ /**
16
+ * Class that controls slider
17
+ */
11
18
  export class Slider {
12
19
  static instances: any[];
20
+ /**
21
+ * Default options for slider
22
+ */
13
23
  static defaults: {
14
24
  classAccessiblyHidden: string;
15
25
  namespace: string;
@@ -20,11 +30,10 @@ export class Slider {
20
30
  transitionDurationExit: number;
21
31
  transitionTimingFunction: string;
22
32
  buttonClasses: string[];
23
- iconClassesPrevious: string[];
24
- iconClassesNext: string[];
33
+ iconClassPrevious: any;
34
+ iconClassNext: any;
25
35
  };
26
- constructor(elements: any, config: any, debug?: boolean);
27
- debug: boolean;
36
+ constructor(elements: any, config: any);
28
37
  options: any;
29
38
  slide: {
30
39
  element: any;
@@ -122,7 +131,8 @@ export class Slider {
122
131
  };
123
132
  createNavButton(slide: any, index: any): HTMLButtonElement;
124
133
  getControlContent(action: any): string;
125
- getNavContent(number: any): string;
134
+ getNavContent(slide: any): string;
126
135
  emit(name: any, args: any): void;
127
136
  }
137
+ import { ComponentInitializer } from "../utils/system.js";
128
138
  //# sourceMappingURL=slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../js/ui/slider.js"],"names":[],"mappings":"AA8EA,6BAGC;AAED,8BAGC;AAED,kDAqBC;;;;;;;;AAED;IACE,wBAAsB;IACtB;;;;;;;;;;;;MAaC;IAED,yDAiCC;IA/BC,eAA+B;IAC/B,aAAsB;IACtB;;;;MAAiB;IACjB,WAAiB;IACjB,uBAA0B;IAQ1B;;;;QAME;IACF,cAIC;IAED;;;cACuF;IAMzF;;OAEG;IACH,qBAKC;IACD;;OAEG;IACH,2BAOC;IACD;;OAEG;IACH,uBAMC;IACD;;;;;;OAMG;IACH,8BAJW,MAAM,YACN,MAAM,kCAqChB;IACD;;OAEG;IACH,wCASC;IACD;;;OAGG;IACH,oDASC;IACD;;OAEG;IACH,yCAOC;IACD;;OAEG;IACH;;;;;;sBAoDC;IACD;;OAEG;IACH;;;sBAUC;IACD;;OAEG;IACH;;;YAOC;IACD,qDA0CC;IACD,cAYC;IACD,+BAKC;IACD,qCAOC;IACD,mBAQC;IACD,mBASC;IACD,yCASC;IACD,oDASC;IACD;;;;;;MAwBC;IACD;;;;MAmBC;IACD,2DAQC;IAED,uCAMC;IACD,mCAEC;IACD,iCAIC;CACF"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../js/ui/slider.js"],"names":[],"mappings":"AAsEA;;GAEG;AACH,6BASC;AAED;;;;GAIG;AACH,uCAHW,IAAI,sBAkBd;AAlED;;GAEG;AACH,+CAGG;AA8DH;;GAEG;AACH;IACE,wBAAsB;IACtB;;OAEG;IACH;;;;;;;;;;;;MAaC;IACD,wCAgCC;IA9BC,aAAsB;IACtB;;;;MAAiB;IACjB,WAAiB;IACjB,uBAA0B;IAQ1B;;;;QAME;IACF,cAIC;IAED;;;cACuF;IAMzF;;OAEG;IACH,qBAKC;IACD;;OAEG;IACH,2BAOC;IACD;;OAEG;IACH,uBAMC;IACD;;;;;;OAMG;IACH,8BAJW,MAAM,YACN,MAAM,kCAqChB;IACD;;OAEG;IACH,wCASC;IACD;;;OAGG;IACH,oDASC;IACD;;OAEG;IACH,yCAOC;IACD;;OAEG;IACH;;;;;;sBAoDC;IACD;;OAEG;IACH;;;sBAUC;IACD;;OAEG;IACH;;;YAOC;IACD,qDA0CC;IACD,cAYC;IACD,+BAKC;IACD,qCAOC;IACD,mBAQC;IACD,mBASC;IACD,yCASC;IACD,oDAUC;IACD;;;;;;MAwBC;IACD;;;;MAmBC;IACD,2DAQC;IACD,uCAMC;IACD,kCAEC;IACD,iCAIC;CACF;qCArfoC,oBAAoB"}