@ulu/frontend 0.1.0-beta.13 → 0.1.0-beta.15

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 (166) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/ulu-frontend.min.css +1 -1
  3. package/docs-dev/changelog/index.html +5067 -0
  4. package/docs-dev/changelog/updates-and-changes/index.html +5109 -0
  5. package/docs-dev/demos/accordion/index.html +363 -297
  6. package/docs-dev/demos/button/index.html +363 -297
  7. package/docs-dev/demos/callout/index.html +363 -297
  8. package/docs-dev/demos/captioned-figure/index.html +363 -297
  9. package/docs-dev/demos/card/index.html +363 -297
  10. package/docs-dev/demos/css-icons/index.html +363 -297
  11. package/docs-dev/demos/data-grid/index.html +363 -297
  12. package/docs-dev/demos/data-table/index.html +388 -322
  13. package/docs-dev/demos/file-save/index.html +363 -297
  14. package/docs-dev/demos/flipcard/index.html +363 -297
  15. package/docs-dev/demos/form-theme/index.html +363 -297
  16. package/docs-dev/demos/index.html +363 -297
  17. package/docs-dev/demos/list-inline/index.html +363 -297
  18. package/docs-dev/demos/list-lines/index.html +363 -297
  19. package/docs-dev/demos/menu-stack/index.html +363 -297
  20. package/docs-dev/demos/modals/index.html +363 -297
  21. package/docs-dev/demos/nav-strip/index.html +363 -297
  22. package/docs-dev/demos/overlay-section/index.html +363 -297
  23. package/docs-dev/demos/popovers/index.html +363 -297
  24. package/docs-dev/demos/print/index.html +363 -297
  25. package/docs-dev/demos/pull-quote/index.html +363 -297
  26. package/docs-dev/demos/rule/index.html +363 -297
  27. package/docs-dev/demos/scrollpoints/index.html +363 -297
  28. package/docs-dev/demos/spoke-spinner/index.html +363 -297
  29. package/docs-dev/demos/tabs/index.html +363 -297
  30. package/docs-dev/demos/tag/index.html +363 -297
  31. package/docs-dev/demos/tiles/index.html +363 -297
  32. package/docs-dev/demos/tooltip/index.html +363 -297
  33. package/docs-dev/guide/building-stylesheet/index.html +363 -297
  34. package/docs-dev/guide/developing-ulu-scss-module/index.html +363 -297
  35. package/docs-dev/guide/index.html +363 -297
  36. package/docs-dev/guide/updates-and-changes/index.html +5033 -0
  37. package/docs-dev/index.html +363 -297
  38. package/docs-dev/javascript/events/index.html +360 -296
  39. package/docs-dev/javascript/index.html +363 -297
  40. package/docs-dev/javascript/settings/index.html +4907 -0
  41. package/docs-dev/javascript/ui-breakpoints/index.html +360 -296
  42. package/docs-dev/javascript/ui-collapsible/index.html +360 -296
  43. package/docs-dev/javascript/ui-dialog/index.html +360 -296
  44. package/docs-dev/javascript/ui-flipcard/index.html +360 -296
  45. package/docs-dev/javascript/ui-grid/index.html +360 -296
  46. package/docs-dev/javascript/ui-modal-builder/index.html +360 -296
  47. package/docs-dev/javascript/ui-overflow-scroller/index.html +360 -296
  48. package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +360 -296
  49. package/docs-dev/javascript/ui-page/index.html +360 -296
  50. package/docs-dev/javascript/ui-popover/index.html +360 -296
  51. package/docs-dev/javascript/ui-print/index.html +360 -296
  52. package/docs-dev/javascript/ui-print-details/index.html +360 -296
  53. package/docs-dev/javascript/ui-programmatic-modal/index.html +360 -296
  54. package/docs-dev/javascript/ui-proxy-click/index.html +360 -296
  55. package/docs-dev/javascript/ui-resizer/index.html +360 -296
  56. package/docs-dev/javascript/ui-scroll-slider/index.html +360 -296
  57. package/docs-dev/javascript/ui-scrollpoint/index.html +360 -296
  58. package/docs-dev/javascript/ui-slider/index.html +360 -296
  59. package/docs-dev/javascript/ui-tabs/index.html +360 -296
  60. package/docs-dev/javascript/ui-tooltip/index.html +360 -296
  61. package/docs-dev/javascript/utils-class-logger/index.html +360 -296
  62. package/docs-dev/javascript/utils-dom/index.html +360 -296
  63. package/docs-dev/javascript/utils-file-save/index.html +360 -296
  64. package/docs-dev/javascript/utils-floating-ui/index.html +360 -296
  65. package/docs-dev/javascript/utils-id/index.html +360 -296
  66. package/docs-dev/javascript/utils-pause-youtube-video/index.html +360 -296
  67. package/docs-dev/sass/base/color/index.html +360 -296
  68. package/docs-dev/sass/base/elements/index.html +360 -296
  69. package/docs-dev/sass/base/index/index.html +360 -296
  70. package/docs-dev/sass/base/index.html +363 -297
  71. package/docs-dev/sass/base/keyframes/index.html +360 -296
  72. package/docs-dev/sass/base/layout/index.html +360 -296
  73. package/docs-dev/sass/base/normalize/index.html +360 -296
  74. package/docs-dev/sass/base/print/index.html +360 -296
  75. package/docs-dev/sass/base/root/index.html +360 -296
  76. package/docs-dev/sass/base/typography/index.html +360 -296
  77. package/docs-dev/sass/components/accordion/index.html +360 -296
  78. package/docs-dev/sass/components/adaptive-spacing/index.html +360 -296
  79. package/docs-dev/sass/components/badge/index.html +360 -296
  80. package/docs-dev/sass/components/button/index.html +360 -296
  81. package/docs-dev/sass/components/button-verbose/index.html +360 -296
  82. package/docs-dev/sass/components/callout/index.html +360 -296
  83. package/docs-dev/sass/components/captioned-figure/index.html +360 -296
  84. package/docs-dev/sass/components/card/index.html +360 -296
  85. package/docs-dev/sass/components/card-grid/index.html +360 -296
  86. package/docs-dev/sass/components/css-icon/index.html +360 -296
  87. package/docs-dev/sass/components/data-grid/index.html +360 -296
  88. package/docs-dev/sass/components/data-table/index.html +360 -296
  89. package/docs-dev/sass/components/fill-context/index.html +360 -296
  90. package/docs-dev/sass/components/flipcard/index.html +360 -296
  91. package/docs-dev/sass/components/flipcard-grid/index.html +360 -296
  92. package/docs-dev/sass/components/form-theme/index.html +360 -296
  93. package/docs-dev/sass/components/hero/index.html +360 -296
  94. package/docs-dev/sass/components/horizontal-rule/index.html +360 -296
  95. package/docs-dev/sass/components/image-grid/index.html +360 -296
  96. package/docs-dev/sass/components/index/index.html +360 -296
  97. package/docs-dev/sass/components/index.html +363 -297
  98. package/docs-dev/sass/components/links/index.html +360 -296
  99. package/docs-dev/sass/components/list-inline/index.html +360 -296
  100. package/docs-dev/sass/components/list-lines/index.html +360 -296
  101. package/docs-dev/sass/components/list-ordered/index.html +360 -296
  102. package/docs-dev/sass/components/list-unordered/index.html +360 -296
  103. package/docs-dev/sass/components/menu-stack/index.html +360 -296
  104. package/docs-dev/sass/components/modal/index.html +360 -296
  105. package/docs-dev/sass/components/nav-strip/index.html +368 -304
  106. package/docs-dev/sass/components/overlay-section/index.html +360 -296
  107. package/docs-dev/sass/components/pager/index.html +360 -296
  108. package/docs-dev/sass/components/placeholder-block/index.html +360 -296
  109. package/docs-dev/sass/components/popover/index.html +360 -296
  110. package/docs-dev/sass/components/pull-quote/index.html +360 -296
  111. package/docs-dev/sass/components/ratio-box/index.html +360 -296
  112. package/docs-dev/sass/components/rule/index.html +360 -296
  113. package/docs-dev/sass/components/scroll-slider/index.html +360 -296
  114. package/docs-dev/sass/components/skip-link/index.html +360 -296
  115. package/docs-dev/sass/components/slider/index.html +362 -298
  116. package/docs-dev/sass/components/spoke-spinner/index.html +360 -296
  117. package/docs-dev/sass/components/tabs/index.html +360 -296
  118. package/docs-dev/sass/components/tag/index.html +360 -296
  119. package/docs-dev/sass/components/tile-button/index.html +360 -296
  120. package/docs-dev/sass/components/tile-grid/index.html +360 -296
  121. package/docs-dev/sass/components/tile-grid-overlay/index.html +360 -296
  122. package/docs-dev/sass/components/vignette/index.html +360 -296
  123. package/docs-dev/sass/components/wysiwyg/index.html +360 -296
  124. package/docs-dev/sass/core/breakpoint/index.html +360 -296
  125. package/docs-dev/sass/core/button/index.html +360 -296
  126. package/docs-dev/sass/core/color/index.html +360 -296
  127. package/docs-dev/sass/core/cssvar/index.html +360 -296
  128. package/docs-dev/sass/core/element/index.html +360 -296
  129. package/docs-dev/sass/core/index.html +360 -296
  130. package/docs-dev/sass/core/layout/index.html +360 -296
  131. package/docs-dev/sass/core/path/index.html +360 -296
  132. package/docs-dev/sass/core/selector/index.html +360 -296
  133. package/docs-dev/sass/core/typography/index.html +360 -296
  134. package/docs-dev/sass/core/units/index.html +360 -296
  135. package/docs-dev/sass/core/utils/index.html +360 -296
  136. package/docs-dev/sass/helpers/color/index.html +360 -296
  137. package/docs-dev/sass/helpers/display/index.html +360 -296
  138. package/docs-dev/sass/helpers/index/index.html +360 -296
  139. package/docs-dev/sass/helpers/index.html +363 -297
  140. package/docs-dev/sass/helpers/print/index.html +360 -296
  141. package/docs-dev/sass/helpers/typography/index.html +360 -296
  142. package/docs-dev/sass/helpers/units/index.html +360 -296
  143. package/docs-dev/sass/helpers/utilities/index.html +360 -296
  144. package/docs-dev/sass/index.html +363 -297
  145. package/js/index.js +1 -0
  146. package/js/settings.js +78 -0
  147. package/js/ui/modal-builder.js +3 -2
  148. package/js/ui/overflow-scroller.js +5 -4
  149. package/js/ui/slider.js +7 -6
  150. package/js/utils/font-awesome.js +18 -0
  151. package/js/utils/index.js +2 -1
  152. package/package.json +1 -1
  153. package/scss/components/_nav-strip.scss +2 -0
  154. package/scss/components/_slider.scss +6 -27
  155. package/types/index.d.ts +1 -0
  156. package/types/settings.d.ts +38 -0
  157. package/types/settings.d.ts.map +1 -0
  158. package/types/ui/modal-builder.d.ts +2 -2
  159. package/types/ui/modal-builder.d.ts.map +1 -1
  160. package/types/ui/overflow-scroller.d.ts +2 -2
  161. package/types/ui/overflow-scroller.d.ts.map +1 -1
  162. package/types/ui/slider.d.ts +2 -2
  163. package/types/ui/slider.d.ts.map +1 -1
  164. package/types/utils/font-awesome.d.ts +5 -0
  165. package/types/utils/font-awesome.d.ts.map +1 -0
  166. package/types/utils/index.d.ts +1 -0
package/js/index.js CHANGED
@@ -5,6 +5,7 @@
5
5
  // - Will not include things that aren't used in every site (those would need to
6
6
  // imported manually
7
7
 
8
+ export * as settings from "./settings.js";
8
9
  export * as events from "./events/index.js";
9
10
  export * as ui from "./ui/index.js";
10
11
  export * as utils from "./utils/index.js";
package/js/settings.js ADDED
@@ -0,0 +1,78 @@
1
+ /**
2
+ * @module settings
3
+ * @description Manages shared configuration for the library.
4
+ */
5
+
6
+ // Default configuration settings
7
+ const defaults = {
8
+ iconClassClose: "css-icon css-icon--close",
9
+ iconClassDragX: "css-icon css-icon--drag-x",
10
+ iconClassPrevious: "css-icon css-icon--angle-left",
11
+ iconClassNext: "css-icon css-icon--angle-right"
12
+ };
13
+
14
+ // Current configuration, initialized with defaults
15
+ let currentSettings = { ...defaults };
16
+
17
+ /**
18
+ * Retrieves a copy of the default settings.
19
+ * @returns {object} A copy of the default settings object.
20
+ */
21
+ export function getDefaultSettings() {
22
+ return { ...defaults };
23
+ }
24
+
25
+ /**
26
+ * Updates multiple configuration settings.
27
+ * @param {object} changes An object containing the settings to update.
28
+ */
29
+ export function updateSettings(changes) {
30
+ Object.assign(currentSettings, changes);
31
+ }
32
+
33
+ /**
34
+ * Retrieves a copy of the current configuration settings.
35
+ * @returns {object} A copy of the current settings object.
36
+ */
37
+ export function getSettings() {
38
+ return { ...currentSettings };
39
+ }
40
+
41
+ /**
42
+ * Retrieves a specific configuration setting by key.
43
+ * @param {string} key The key of the setting to retrieve.
44
+ * @returns {*} The value of the setting, or undefined if not found.
45
+ */
46
+ export function getSetting(key) {
47
+ if (!currentSettings.hasOwnProperty(key)) {
48
+ console.warn(`Attempted to access non-existent setting: ${key}`);
49
+ return undefined;
50
+ }
51
+ return currentSettings[key];
52
+ }
53
+
54
+ /**
55
+ * Updates a specific configuration setting.
56
+ * @param {string} key The key of the setting to update.
57
+ * @param {*} value The new value for the setting.
58
+ */
59
+ export function updateSetting(key, value) {
60
+ currentSettings[key] = value;
61
+ }
62
+
63
+ /**
64
+ * Creates a wrapped string representation of a configuration setting.
65
+ * This function returns an object with a `toString()` method that, when called,
66
+ * retrieves the current value of the specified setting. This allows the setting
67
+ * to be used as a string literal, dynamically retrieving its value.
68
+ *
69
+ * @param {string} key The key of the setting to wrap.
70
+ * @returns {object} An object with a `toString()` method that returns the setting value.
71
+ */
72
+ export function wrapSettingString(key) {
73
+ return {
74
+ toString() {
75
+ return getSetting(key);
76
+ }
77
+ };
78
+ }
@@ -4,6 +4,7 @@
4
4
 
5
5
  // Note this needs to be run before dialogs are initialized!
6
6
 
7
+ import { wrapSettingString } from "../settings.js";
7
8
  import { getName } from "../events/index.js";
8
9
  import { createElementFromHtml } from "@ulu/utils/browser/dom.js";
9
10
  import { Resizer } from "./resizer.js";
@@ -37,8 +38,8 @@ export const defaults = {
37
38
  print: false,
38
39
  noMinHeight: false,
39
40
  class: "",
40
- classCloseIcon: "css-icon css-icon--close",
41
- classResizerIcon: "css-icon css-icon--drag-x",
41
+ classCloseIcon: wrapSettingString("iconClassClose"),
42
+ classResizerIcon: wrapSettingString("iconClassDragX"),
42
43
  debug: false,
43
44
  templateCloseIcon(config) {
44
45
  return `<span class="modal__close-icon ${ config.classCloseIcon }" aria-hidden="true"></span>`;
@@ -10,6 +10,7 @@
10
10
  * @todo - Document that user could use something like [https://github.com/LachlanArthur/scroll-snap-api/tree/master/src] to have it go between items
11
11
  *
12
12
  */
13
+ import { wrapSettingString } from "../settings.js";
13
14
  import { hasRequiredProps } from '@ulu/utils/object.js';
14
15
  import { logError } from "../utils/class-logger.js";
15
16
  const requiredElements = [
@@ -26,8 +27,8 @@ export class OverflowScroller {
26
27
  offsetEnd: 100,
27
28
  amount: "auto",
28
29
  buttonClasses: ["button", "button--icon"],
29
- iconClassesPrevious: ["css-icon", "css-icon--angle-left"],
30
- iconClassesNext: ["css-icon", "css-icon--angle-right"]
30
+ iconClassPrevious: wrapSettingString("iconClassPrevious"),
31
+ iconClassNext: wrapSettingString("iconClassNext"),
31
32
  }
32
33
  constructor(elements, config) {
33
34
  this.options = Object.assign({}, OverflowScroller.defaults, config);
@@ -87,10 +88,10 @@ export class OverflowScroller {
87
88
  return button;
88
89
  }
89
90
  getControlContent(action) {
90
- const classes = this.options[action === "next" ? "iconClassesNext" : "iconClassesPrevious"];
91
+ const classes = this.options[action === "next" ? "iconClassNext" : "iconClassPrevious"];
91
92
  return `
92
93
  <span class="hidden-visually">${ action }</span>
93
- <span class="${ classes.join(' ') }" aria-hidden="true"></span>
94
+ <span class="${ classes }" aria-hidden="true"></span>
94
95
  `;
95
96
  }
96
97
  onScroll(event) {
package/js/ui/slider.js CHANGED
@@ -27,6 +27,7 @@
27
27
  // https://dev.opera.com/articles/css-will-change-property/
28
28
  // * Will Change use
29
29
 
30
+ import { wrapSettingString } from "../settings.js";
30
31
  import maintain from 'ally.js/maintain/_maintain';
31
32
  import { hasRequiredProps } from '@ulu/utils/object.js';
32
33
  import { trimWhitespace } from "@ulu/utils/string.js";
@@ -120,9 +121,9 @@ export class Slider {
120
121
  transitionDuration: 700,
121
122
  transitionDurationExit: 400,
122
123
  transitionTimingFunction: "ease-in-out",
123
- buttonClasses: ["Slider__control-icon", "button", "button--icon"],
124
- iconClassesPrevious: ["css-icon", "css-icon--angle-left"],
125
- iconClassesNext: ["css-icon", "css-icon--angle-right"]
124
+ buttonClasses: ["button", "button--icon"],
125
+ iconClassPrevious: wrapSettingString("iconClassPrevious"),
126
+ iconClassNext: wrapSettingString("iconClassNext"),
126
127
  // transition: true
127
128
  }
128
129
  // constructor(container, title, trackContainer, track, slides, config, debug = false) {
@@ -454,6 +455,7 @@ export class Slider {
454
455
  const button = document.createElement("button");
455
456
  button.classList.add(this.getClass("control-button"));
456
457
  button.classList.add(this.getClass(`control-button--${ action }`));
458
+
457
459
  button.classList.add(...this.options.buttonClasses);
458
460
  button.setAttribute("data-slider-control", action);
459
461
  button.setAttribute("type", "button");
@@ -514,12 +516,11 @@ export class Slider {
514
516
  button.addEventListener("click", this.goto.bind(this, index));
515
517
  return button;
516
518
  }
517
- // change to css-icon
518
519
  getControlContent(action) {
519
- const classes = this.options[action === "next" ? "iconClassesNext" : "iconClassesPrevious"];
520
+ const classes = this.options[action === "next" ? "iconClassNext" : "iconClassPrevious"];
520
521
  return `
521
522
  <span class="hidden-visually">${ action }</span>
522
- <span class="${ classes.join(' ') }" aria-hidden="true"></span>
523
+ <span class="${ this.getClass("control-icon") } ${ classes }" aria-hidden="true"></span>
523
524
  `;
524
525
  }
525
526
  getNavContent(number) {
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @module settings
3
+ * @description Utility module for setting up Font Awesome
4
+ */
5
+
6
+ import { updateSettings } from "../settings.js";
7
+
8
+ /**
9
+ * Sets icon settings to Font Awesome icons
10
+ */
11
+ export function configureIcons() {
12
+ updateSettings({
13
+ iconClassClose: "fas fa-xmark",
14
+ iconClassDragX: "fas fa-solid fa-grip-lines-vertical",
15
+ iconClassPrevious: "fas fa-solid fa-chevron-left",
16
+ iconClassNext: "fas fa-solid fa-chevron-right"
17
+ });
18
+ }
package/js/utils/index.js CHANGED
@@ -4,4 +4,5 @@ export * as floatingUi from "./floating-ui.js";
4
4
  export * as id from "./id.js";
5
5
  export * as index from "./index.js";
6
6
  export * as pauseYoutubeVideo from "./pause-youtube-video.js";
7
- export * as fileSave from "./file-save.js";
7
+ export * as fileSave from "./file-save.js";
8
+ export * as fontAwesome from "./font-awesome.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend",
3
- "version": "0.1.0-beta.13",
3
+ "version": "0.1.0-beta.15",
4
4
  "description": "Modular Sass Theming Library",
5
5
  "browser": "js/index.js",
6
6
  "main": "index.js",
@@ -10,6 +10,7 @@
10
10
  @use "../utils";
11
11
  @use "../color";
12
12
  @use "../selector";
13
+ @use "../layout";
13
14
  @use "../typography";
14
15
 
15
16
  /// Module Settings
@@ -88,6 +89,7 @@ $config: (
88
89
  overflow-x: auto;
89
90
  line-height: typography.get("line-height-dense");
90
91
  gap: get("margin-between");
92
+ @include layout.remove-scrollbar();
91
93
  }
92
94
  #{ $prefix }__item,
93
95
  #{ $prefix }--auto li {
@@ -37,7 +37,7 @@ $config: (
37
37
  "margin-bottom" : 3rem,
38
38
  "margin-top" : 1rem,
39
39
  "button-icon-offset-x" : 2rem,
40
- "button-icon-offset-y" : false,
40
+ "button-icon-offset-y" : null,
41
41
  "button-margin" : 2rem,
42
42
  "button-size" : 3rem,
43
43
  "button-height": 2.5rem,
@@ -97,11 +97,7 @@ $config: (
97
97
  top: 50%;
98
98
  transform: translateY(-50%);
99
99
  z-index: 10;
100
- }
101
- @if get("button-icon-offset-y") {
102
- #{ $prefix-plugin }__control-icon {
103
- margin-top: get("button-icon-offset-y");
104
- }
100
+ margin-top: get("button-icon-offset-y");
105
101
  }
106
102
  #{ $prefix-plugin }__nav {
107
103
  display: flex;
@@ -164,19 +160,11 @@ $config: (
164
160
  }
165
161
  #{ $prefix-plugin }__control-button--previous {
166
162
  left: 0;
167
- @if get("button-icon-offset-x") {
168
- #{ $prefix-plugin }__control-icon {
169
- margin-left: get("button-icon-offset-x");
170
- }
171
- }
163
+ margin-left: get("button-icon-offset-x");
172
164
  }
173
165
  #{ $prefix-plugin }__control-button--next {
174
166
  right: 0;
175
- @if get("button-icon-offset-x") {
176
- #{ $prefix-plugin }__control-icon {
177
- margin-right: get("button-icon-offset-x");
178
- }
179
- }
167
+ margin-right: get("button-icon-offset-x");
180
168
  }
181
169
  #{ $prefix }--inset-controls {
182
170
  #{ $prefix }__slide-gap-for-controls {
@@ -186,20 +174,11 @@ $config: (
186
174
  }
187
175
  #{ $prefix-plugin }__control-button--previous {
188
176
  left: 0;
189
- @if get("button-icon-offset-x") {
190
- &#{ $prefix-plugin }__control-icon {
191
- margin-left: get("button-icon-offset-x");
192
-
193
- }
194
- }
177
+ margin-left: get("button-icon-offset-x");
195
178
  }
196
179
  #{ $prefix-plugin }__control-button--next {
197
180
  right: 0;
198
- @if get("button-icon-offset-x") {
199
- &#{ $prefix-plugin }__control-icon {
200
- margin-right: get("button-icon-offset-x");
201
- }
202
- }
181
+ margin-right: get("button-icon-offset-x");
203
182
  }
204
183
  }
205
184
  }
package/types/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * as settings from "./settings.js";
1
2
  export * as events from "./events/index.js";
2
3
  export * as ui from "./ui/index.js";
3
4
  export * as utils from "./utils/index.js";
@@ -0,0 +1,38 @@
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
+ * @returns {object} An object with a `toString()` method that returns the setting value.
36
+ */
37
+ export function wrapSettingString(key: string): object;
38
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../js/settings.js"],"names":[],"mappings":"AAgBA;;;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;;;;;;;;GAQG;AACH,uCAHW,MAAM,GACJ,MAAM,CAQlB"}
@@ -38,8 +38,8 @@ export namespace defaults {
38
38
  export let noMinHeight: boolean;
39
39
  let _class: string;
40
40
  export { _class as class };
41
- export let classCloseIcon: string;
42
- export let classResizerIcon: string;
41
+ export let classCloseIcon: any;
42
+ export let classResizerIcon: any;
43
43
  export let debug: boolean;
44
44
  export function templateCloseIcon(config: any): string;
45
45
  export function templateResizerIcon(config: any): string;
@@ -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":"AAgGA;;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"}
@@ -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,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"}
@@ -20,8 +20,8 @@ export class Slider {
20
20
  transitionDurationExit: number;
21
21
  transitionTimingFunction: string;
22
22
  buttonClasses: string[];
23
- iconClassesPrevious: string[];
24
- iconClassesNext: string[];
23
+ iconClassPrevious: any;
24
+ iconClassNext: any;
25
25
  };
26
26
  constructor(elements: any, config: any, debug?: boolean);
27
27
  debug: boolean;
@@ -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":"AA+EA,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,oDAUC;IACD;;;;;;MAwBC;IACD;;;;MAmBC;IACD,2DAQC;IACD,uCAMC;IACD,mCAEC;IACD,iCAIC;CACF"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Sets icon settings to Font Awesome icons
3
+ */
4
+ export function configureIcons(): void;
5
+ //# sourceMappingURL=font-awesome.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font-awesome.d.ts","sourceRoot":"","sources":["../../js/utils/font-awesome.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,uCAOC"}
@@ -5,5 +5,6 @@ export * as id from "./id.js";
5
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
+ export * as fontAwesome from "./font-awesome.js";
8
9
  declare namespace ___Users_joescherben_Personal_Projects_ULU_frontend_js_utils_index_ { }
9
10
  //# sourceMappingURL=index.d.ts.map