@ulu/frontend 0.1.0-beta.8 → 0.1.0-beta.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +529 -0
- package/README.dev.md +3 -3
- package/README.md +14 -4
- package/dist/ulu-frontend.min.css +1 -1
- package/dist/ulu-frontend.min.js +35 -28
- package/docs-dev/assets/main.js +8290 -635
- package/docs-dev/assets/placeholder/icon-calendar.svg +1 -0
- package/docs-dev/assets/placeholder/icon-check.svg +1 -0
- package/docs-dev/assets/style.css +789 -338
- package/docs-dev/changelog/index.html +6553 -0
- package/docs-dev/demos/accordion/index.html +850 -328
- package/docs-dev/demos/badge/index.html +5265 -0
- package/docs-dev/demos/basic-hero/index.html +111 -0
- package/docs-dev/demos/breakpoints-manager/index.html +5276 -0
- package/docs-dev/demos/button/index.html +892 -328
- package/docs-dev/demos/button-verbose/index.html +5268 -0
- package/docs-dev/demos/callout/index.html +895 -332
- package/docs-dev/demos/captioned-figure/index.html +850 -327
- package/docs-dev/demos/card/index.html +930 -768
- package/docs-dev/demos/card-grid/index.html +5387 -0
- package/docs-dev/demos/counter-list/index.html +5270 -0
- package/docs-dev/demos/css-icons/index.html +850 -327
- package/docs-dev/demos/data-grid/index.html +870 -347
- package/docs-dev/demos/data-table/index.html +1024 -368
- package/docs-dev/demos/details-group/index.html +5297 -0
- package/docs-dev/demos/file-save/index.html +850 -327
- package/docs-dev/demos/flipcard/index.html +850 -327
- package/docs-dev/demos/form-theme/index.html +868 -358
- package/docs-dev/demos/hero/index.html +12 -4
- package/docs-dev/demos/image-grid/index.html +12 -4
- package/docs-dev/demos/index.html +851 -328
- package/docs-dev/demos/list-inline/index.html +850 -327
- package/docs-dev/demos/list-lines/index.html +850 -327
- package/docs-dev/demos/menu-stack/index.html +884 -346
- package/docs-dev/demos/modals/index.html +968 -330
- package/docs-dev/demos/nav-strip/index.html +850 -327
- package/docs-dev/demos/overlay-section/index.html +939 -346
- package/docs-dev/demos/popovers/index.html +1112 -347
- package/docs-dev/demos/print/index.html +850 -327
- package/docs-dev/demos/pull-quote/index.html +850 -327
- package/docs-dev/demos/rule/index.html +863 -328
- package/docs-dev/demos/scroll-slider/index.html +72 -106
- package/docs-dev/demos/scrollpoints/index.html +851 -328
- package/docs-dev/demos/slider/index.html +12 -4
- package/docs-dev/demos/spoke-spinner/index.html +850 -327
- package/docs-dev/demos/{list-inline.1 → sticky-list}/index.html +883 -357
- package/docs-dev/demos/tabs/index.html +886 -327
- package/docs-dev/demos/tag/index.html +850 -327
- package/docs-dev/demos/theme-toggle/index.html +5309 -0
- package/docs-dev/demos/tile-grid-overlay/index.html +12 -4
- package/docs-dev/demos/tiles/index.html +850 -327
- package/docs-dev/demos/tooltip/index.html +850 -327
- package/docs-dev/guide/building-stylesheet/index.html +850 -327
- package/docs-dev/guide/developing-ulu-scss-module/index.html +850 -327
- package/docs-dev/guide/index.html +850 -327
- package/docs-dev/index.html +850 -327
- package/docs-dev/javascript/events/index.html +847 -326
- package/docs-dev/javascript/index.html +850 -327
- package/docs-dev/javascript/settings/index.html +5430 -0
- package/docs-dev/javascript/ui-breakpoints/index.html +862 -341
- package/docs-dev/javascript/ui-collapsible/index.html +847 -326
- package/docs-dev/javascript/ui-details-group/index.html +5352 -0
- package/docs-dev/javascript/ui-dialog/index.html +879 -343
- package/docs-dev/javascript/ui-flipcard/index.html +908 -331
- package/docs-dev/javascript/ui-grid/index.html +857 -362
- package/docs-dev/javascript/ui-modal-builder/index.html +1047 -386
- package/docs-dev/javascript/ui-overflow-scroller/index.html +847 -326
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +847 -326
- package/docs-dev/javascript/ui-page/index.html +847 -326
- package/docs-dev/javascript/ui-popover/index.html +855 -338
- package/docs-dev/javascript/ui-print/index.html +847 -334
- package/docs-dev/javascript/ui-print-details/index.html +847 -326
- package/docs-dev/javascript/ui-programmatic-modal/index.html +847 -326
- package/docs-dev/javascript/ui-proxy-click/index.html +934 -328
- package/docs-dev/javascript/ui-resizer/index.html +847 -326
- package/docs-dev/javascript/ui-scroll-slider/index.html +885 -332
- package/docs-dev/javascript/ui-scrollpoint/index.html +853 -339
- package/docs-dev/javascript/ui-slider/index.html +1043 -331
- package/docs-dev/javascript/ui-tabs/index.html +858 -374
- package/docs-dev/javascript/ui-theme-toggle/index.html +5440 -0
- package/docs-dev/javascript/ui-tooltip/index.html +854 -337
- package/docs-dev/javascript/utils-class-logger/index.html +847 -326
- package/docs-dev/javascript/utils-css/index.html +5254 -0
- package/docs-dev/javascript/utils-dom/index.html +887 -446
- package/docs-dev/javascript/utils-file-save/index.html +847 -326
- package/docs-dev/javascript/utils-floating-ui/index.html +847 -326
- package/docs-dev/javascript/utils-id/index.html +847 -326
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +847 -326
- package/docs-dev/javascript/utils-system/index.html +5557 -0
- package/docs-dev/sass/base/color/index.html +847 -326
- package/docs-dev/sass/base/elements/index.html +847 -326
- package/docs-dev/sass/base/index/index.html +847 -326
- package/docs-dev/sass/base/index.html +850 -327
- package/docs-dev/sass/base/keyframes/index.html +847 -326
- package/docs-dev/sass/base/layout/index.html +847 -326
- package/docs-dev/sass/base/normalize/index.html +847 -326
- package/docs-dev/sass/base/print/index.html +847 -326
- package/docs-dev/sass/base/root/index.html +847 -326
- package/docs-dev/sass/base/typography/index.html +847 -326
- package/docs-dev/sass/components/accordion/index.html +866 -338
- package/docs-dev/sass/components/adaptive-spacing/index.html +847 -326
- package/docs-dev/sass/components/badge/index.html +869 -337
- package/docs-dev/sass/components/basic-hero/index.html +5415 -0
- package/docs-dev/sass/components/button/index.html +847 -326
- package/docs-dev/sass/components/button-verbose/index.html +933 -337
- package/docs-dev/sass/components/callout/index.html +958 -418
- package/docs-dev/sass/components/captioned-figure/index.html +970 -334
- package/docs-dev/sass/components/card/index.html +939 -346
- package/docs-dev/sass/components/card-grid/index.html +847 -326
- package/docs-dev/sass/components/counter-list/index.html +5497 -0
- package/docs-dev/sass/components/css-icon/index.html +864 -336
- package/docs-dev/sass/components/data-grid/index.html +868 -340
- package/docs-dev/sass/components/data-table/index.html +1063 -352
- package/docs-dev/sass/components/fill-context/index.html +847 -326
- package/docs-dev/sass/components/flipcard/index.html +888 -336
- package/docs-dev/sass/components/flipcard-grid/index.html +847 -326
- package/docs-dev/sass/components/form-theme/index.html +1063 -446
- package/docs-dev/sass/components/hero/index.html +903 -334
- package/docs-dev/sass/components/horizontal-rule/index.html +847 -326
- package/docs-dev/sass/components/image-grid/index.html +847 -326
- package/docs-dev/sass/components/index/index.html +860 -336
- package/docs-dev/sass/components/index.html +850 -327
- package/docs-dev/sass/components/links/index.html +847 -326
- package/docs-dev/sass/components/list-inline/index.html +847 -326
- package/docs-dev/sass/components/list-lines/index.html +847 -326
- package/docs-dev/sass/components/list-ordered/index.html +847 -326
- package/docs-dev/sass/components/list-unordered/index.html +847 -326
- package/docs-dev/sass/components/menu-stack/index.html +881 -347
- package/docs-dev/sass/components/modal/index.html +891 -342
- package/docs-dev/sass/components/nav-strip/index.html +855 -334
- package/docs-dev/sass/components/overlay-section/index.html +855 -334
- package/docs-dev/sass/components/pager/index.html +847 -326
- package/docs-dev/sass/components/placeholder-block/index.html +847 -326
- package/docs-dev/sass/components/popover/index.html +904 -347
- package/docs-dev/sass/components/pull-quote/index.html +859 -338
- package/docs-dev/sass/components/ratio-box/index.html +855 -334
- package/docs-dev/sass/components/rule/index.html +848 -327
- package/docs-dev/sass/components/scroll-slider/index.html +855 -346
- package/docs-dev/sass/components/skip-link/index.html +847 -326
- package/docs-dev/sass/components/slider/index.html +897 -388
- package/docs-dev/sass/components/spoke-spinner/index.html +849 -328
- package/docs-dev/sass/components/sticky-list/index.html +5633 -0
- package/docs-dev/sass/components/tabs/index.html +872 -336
- package/docs-dev/sass/components/tag/index.html +849 -328
- package/docs-dev/sass/components/tile-button/index.html +847 -326
- package/docs-dev/sass/components/tile-grid/index.html +847 -326
- package/docs-dev/sass/components/tile-grid-overlay/index.html +847 -326
- package/docs-dev/sass/components/vignette/index.html +861 -334
- package/docs-dev/sass/components/wysiwyg/index.html +847 -326
- package/docs-dev/sass/core/breakpoint/index.html +931 -358
- package/docs-dev/sass/core/button/index.html +847 -326
- package/docs-dev/sass/core/color/index.html +1019 -366
- package/docs-dev/sass/core/cssvar/index.html +847 -326
- package/docs-dev/sass/core/element/index.html +1108 -381
- package/docs-dev/sass/core/index.html +847 -326
- package/docs-dev/sass/core/layout/index.html +903 -363
- package/docs-dev/sass/core/path/index.html +847 -326
- package/docs-dev/sass/core/selector/index.html +847 -326
- package/docs-dev/sass/core/typography/index.html +847 -326
- package/docs-dev/sass/core/units/index.html +857 -330
- package/docs-dev/sass/core/utils/index.html +2104 -476
- package/docs-dev/sass/helpers/color/index.html +847 -326
- package/docs-dev/sass/helpers/display/index.html +848 -327
- package/docs-dev/sass/helpers/index/index.html +847 -326
- package/docs-dev/sass/helpers/index.html +850 -327
- package/docs-dev/sass/helpers/print/index.html +759 -298
- package/docs-dev/sass/helpers/typography/index.html +847 -326
- package/docs-dev/sass/helpers/units/index.html +847 -326
- package/docs-dev/sass/helpers/utilities/index.html +849 -328
- package/docs-dev/sass/index.html +850 -327
- package/js/index.js +1 -0
- package/js/settings.js +95 -0
- package/js/ui/breakpoints.js +19 -16
- package/js/ui/collapsible.js +8 -1
- package/js/ui/details-group.js +112 -0
- package/js/ui/dialog.js +85 -42
- package/js/ui/dialog.todo +2 -36
- package/js/ui/flipcard.js +37 -57
- package/js/ui/grid.js +15 -13
- package/js/ui/index.js +1 -0
- package/js/ui/modal-builder.js +105 -59
- package/js/ui/overflow-scroller.js +6 -4
- package/js/ui/page.js +2 -2
- package/js/ui/popover.js +38 -38
- package/js/ui/print.js +16 -25
- package/js/ui/programmatic-modal.js +9 -3
- package/js/ui/proxy-click.js +50 -36
- package/js/ui/scroll-slider.js +24 -30
- package/js/ui/scrollpoint.js +29 -64
- package/js/ui/slider.js +108 -63
- package/js/ui/tabs.js +23 -36
- package/js/ui/theme-toggle.js +332 -94
- package/js/ui/tooltip.js +27 -32
- package/js/utils/css.js +13 -0
- package/js/utils/dom.js +23 -64
- package/js/utils/font-awesome.js +18 -0
- package/js/utils/index.js +2 -1
- package/js/utils/system.js +155 -0
- package/package.json +23 -8
- package/scss/README.md +4 -0
- package/scss/_breakpoint.scss +38 -4
- package/scss/_color.scss +40 -9
- package/scss/_element.scss +108 -2
- package/scss/_layout.scss +7 -8
- package/scss/_units.scss +3 -2
- package/scss/_utils.scss +380 -16
- package/scss/components/README.todos +14 -0
- package/scss/components/_accordion.scss +33 -19
- package/scss/components/_badge.scss +23 -4
- package/scss/components/_basic-hero.scss +112 -0
- package/scss/components/_button-verbose.scss +100 -18
- package/scss/components/_callout.scss +125 -78
- package/scss/components/_captioned-figure.scss +17 -0
- package/scss/components/_card-grid.scss +1 -1
- package/scss/components/_card.scss +246 -74
- package/scss/components/_counter-list.scss +151 -0
- package/scss/components/_css-icon.scss +25 -21
- package/scss/components/_data-grid.scss +55 -9
- package/scss/components/_data-table.scss +39 -3
- package/scss/components/_flipcard.scss +8 -3
- package/scss/components/_form-theme.scss +119 -108
- package/scss/components/_hero.scss +12 -10
- package/scss/components/_index.scss +18 -0
- package/scss/components/_menu-stack.scss +42 -26
- package/scss/components/_modal.scss +42 -26
- package/scss/components/_nav-strip.scss +2 -0
- package/scss/components/_overlay-section.scss +2 -5
- package/scss/components/_popover.scss +165 -64
- package/scss/components/_pull-quote.scss +13 -13
- package/scss/components/_ratio-box.scss +2 -5
- package/scss/components/_rule.scss +1 -0
- package/scss/components/_scroll-slider.scss +1 -5
- package/scss/components/_slider.scss +49 -72
- package/scss/components/_spoke-spinner.scss +2 -2
- package/scss/components/_sticky-list.scss +206 -0
- package/scss/components/_tabs.scss +22 -4
- package/scss/components/_vignette.scss +3 -5
- package/scss/helpers/_display.scss +15 -18
- package/scss/helpers/_print.scss +12 -7
- package/scss/helpers/_utilities.scss +42 -32
- package/types/index.d.ts +1 -0
- package/types/settings.d.ts +66 -0
- package/types/settings.d.ts.map +1 -0
- package/types/ui/breakpoints.d.ts +14 -14
- package/types/ui/breakpoints.d.ts.map +1 -1
- package/types/ui/collapsible.d.ts.map +1 -1
- package/types/ui/details-group.d.ts +38 -0
- package/types/ui/details-group.d.ts.map +1 -0
- package/types/ui/dialog.d.ts +20 -14
- package/types/ui/dialog.d.ts.map +1 -1
- package/types/ui/flipcard.d.ts +16 -10
- package/types/ui/flipcard.d.ts.map +1 -1
- package/types/ui/grid.d.ts +4 -6
- package/types/ui/grid.d.ts.map +1 -1
- package/types/ui/index.d.ts +2 -1
- package/types/ui/modal-builder.d.ts +113 -11
- package/types/ui/modal-builder.d.ts.map +1 -1
- package/types/ui/overflow-scroller.d.ts +2 -2
- package/types/ui/overflow-scroller.d.ts.map +1 -1
- package/types/ui/popover.d.ts +6 -7
- package/types/ui/popover.d.ts.map +1 -1
- package/types/ui/print.d.ts +0 -4
- package/types/ui/print.d.ts.map +1 -1
- package/types/ui/programmatic-modal.d.ts.map +1 -1
- package/types/ui/proxy-click.d.ts +19 -3
- package/types/ui/proxy-click.d.ts.map +1 -1
- package/types/ui/scroll-slider.d.ts +5 -7
- package/types/ui/scroll-slider.d.ts.map +1 -1
- package/types/ui/scrollpoint.d.ts +3 -8
- package/types/ui/scrollpoint.d.ts.map +1 -1
- package/types/ui/slider.d.ts +33 -14
- package/types/ui/slider.d.ts.map +1 -1
- package/types/ui/tabs.d.ts +6 -8
- package/types/ui/tabs.d.ts.map +1 -1
- package/types/ui/theme-toggle.d.ts +51 -7
- package/types/ui/theme-toggle.d.ts.map +1 -1
- package/types/ui/tooltip.d.ts +3 -5
- package/types/ui/tooltip.d.ts.map +1 -1
- package/types/utils/css.d.ts +11 -0
- package/types/utils/css.d.ts.map +1 -0
- package/types/utils/dom.d.ts +12 -32
- package/types/utils/dom.d.ts.map +1 -1
- package/types/utils/font-awesome.d.ts +5 -0
- package/types/utils/font-awesome.d.ts.map +1 -0
- package/types/utils/index.d.ts +2 -1
- package/types/utils/system.d.ts +113 -0
- package/types/utils/system.d.ts.map +1 -0
|
@@ -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,9 +15,16 @@ 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;
|
|
25
|
+
export let titleClass: string;
|
|
26
|
+
export let labelledby: any;
|
|
27
|
+
export let describedby: any;
|
|
30
28
|
export let nonModal: boolean;
|
|
31
29
|
export let documentEnd: boolean;
|
|
32
30
|
export let allowResize: boolean;
|
|
@@ -38,8 +36,11 @@ export namespace defaults {
|
|
|
38
36
|
export let noMinHeight: boolean;
|
|
39
37
|
let _class: string;
|
|
40
38
|
export { _class as class };
|
|
41
|
-
export let
|
|
42
|
-
export let
|
|
39
|
+
export let baseClass: string;
|
|
40
|
+
export let footerElement: any;
|
|
41
|
+
export let footerHtml: any;
|
|
42
|
+
export let classCloseIcon: any;
|
|
43
|
+
export let classResizerIcon: any;
|
|
43
44
|
export let debug: boolean;
|
|
44
45
|
export function templateCloseIcon(config: any): string;
|
|
45
46
|
export function templateResizerIcon(config: any): string;
|
|
@@ -51,4 +52,105 @@ export namespace defaults {
|
|
|
51
52
|
*/
|
|
52
53
|
export function template(id: string, config: any): string;
|
|
53
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Default builder options (extends dialog defaults, watch name collisions)
|
|
57
|
+
* - Decided to extend defaults so the interface in HTML is singular
|
|
58
|
+
* - This is sometimes easier to template (merging and serializing options
|
|
59
|
+
* in twig for example)
|
|
60
|
+
*/
|
|
61
|
+
export type DefaultModalOptions = {
|
|
62
|
+
/**
|
|
63
|
+
* - The title of the modal. Defaults to `null`.
|
|
64
|
+
*/
|
|
65
|
+
title: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* - The class name for an icon to display in the title. Defaults to `null`.
|
|
68
|
+
*/
|
|
69
|
+
titleIcon: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* - Extra class/classes to add to title
|
|
72
|
+
*/
|
|
73
|
+
titleClass: string;
|
|
74
|
+
/**
|
|
75
|
+
* - Set the aria-labelledby attribute to a specific title within the modal, to connect to a custom title implementation, if using built in title this will be set automatically
|
|
76
|
+
*/
|
|
77
|
+
labelledby: string;
|
|
78
|
+
/**
|
|
79
|
+
* - Set the aria-describedby on the dialog, elements id, to tie a specific part of the content to be the accessible description
|
|
80
|
+
*/
|
|
81
|
+
describedby: string;
|
|
82
|
+
/**
|
|
83
|
+
* - If `true`, the modal will not prevent interaction with elements behind it. Defaults to `false`.
|
|
84
|
+
*/
|
|
85
|
+
nonModal: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* - If `true`, the modal will be appended to the end of the `document.body`. Defaults to `true`.
|
|
88
|
+
*/
|
|
89
|
+
documentEnd: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* - If `true`, the modal will be resizable. Defaults to `false`.
|
|
92
|
+
*/
|
|
93
|
+
allowResize: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* - The initial position of the modal. Defaults to `"center"`.
|
|
96
|
+
*/
|
|
97
|
+
position: "center" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
98
|
+
/**
|
|
99
|
+
* - If `true`, the modal body will fill the available space. Defaults to `false`.
|
|
100
|
+
*/
|
|
101
|
+
bodyFills: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* - If `true`, no backdrop will be displayed behind the modal. Defaults to `false`.
|
|
104
|
+
*/
|
|
105
|
+
noBackdrop: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* - The size of the modal. Defaults to `"default"`.
|
|
108
|
+
*/
|
|
109
|
+
size: "default" | "small" | "large" | "fullscreen";
|
|
110
|
+
/**
|
|
111
|
+
* - If `true`, the modal content will be optimized for printing. Defaults to `false`.
|
|
112
|
+
*/
|
|
113
|
+
print: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* - If `true`, the modal will not have a minimum height. Defaults to `false`.
|
|
116
|
+
*/
|
|
117
|
+
noMinHeight: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* - Additional CSS class(es) to add to the modal. Defaults to `""`.
|
|
120
|
+
*/
|
|
121
|
+
class: string;
|
|
122
|
+
/**
|
|
123
|
+
* - The base CSS class for the modal elements. Defaults to `"modal"`.
|
|
124
|
+
*/
|
|
125
|
+
baseClass: string;
|
|
126
|
+
/**
|
|
127
|
+
* - The class name for the close icon. Uses the wrapped setting string.
|
|
128
|
+
*/
|
|
129
|
+
classCloseIcon: string;
|
|
130
|
+
/**
|
|
131
|
+
* - The class name for the resizer icon. Uses the wrapped setting string.
|
|
132
|
+
*/
|
|
133
|
+
classResizerIcon: string;
|
|
134
|
+
/**
|
|
135
|
+
* - Element or selector to use as the footer (will be moved to dialog on creation, used for DOM API)
|
|
136
|
+
*/
|
|
137
|
+
footerElement: string | Node;
|
|
138
|
+
/**
|
|
139
|
+
* - Markup to use in the footer
|
|
140
|
+
*/
|
|
141
|
+
footerHtml: string | Node;
|
|
142
|
+
/**
|
|
143
|
+
* - Enables debug logging. Defaults to `false`.
|
|
144
|
+
*/
|
|
145
|
+
debug: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* - A function that returns the HTML for the close icon.
|
|
148
|
+
*/
|
|
149
|
+
templateCloseIcon: (arg0: object) => string;
|
|
150
|
+
/**
|
|
151
|
+
* - The resolved modal configuration object.
|
|
152
|
+
*/
|
|
153
|
+
config: (arg0: object) => string;
|
|
154
|
+
};
|
|
155
|
+
import { ComponentInitializer } from "../utils/system.js";
|
|
54
156
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"modal-builder.d.ts","sourceRoot":"","sources":["../../js/ui/modal-builder.js"],"names":[],"mappings":"AAgJA;;GAEG;AACH,gDAEC;AAED;;;GAGG;AACH,6BAQC;AAED;;;;GAIG;AACH,oCAHW,IAAI;;EA6Dd;AAvND;;GAEG;AACH,+CAGG;;;;;;;;;;;;;;;;;;;;;;;;IA8DD,uDAGC;IACD,yDAGC;IACD;;;;;OAKG;IACH,0DA2CC;;;;;;;;;;;;WA/GW,MAAM,GAAC,IAAI;;;;eACX,MAAM,GAAC,IAAI;;;;gBACX,MAAM;;;;gBACN,MAAM;;;;iBACN,MAAM;;;;cACN,OAAO;;;;iBACP,OAAO;;;;iBACP,OAAO;;;;cACP,QAAQ,GAAC,UAAU,GAAC,YAAY,GAAC,WAAW,GAAC,aAAa,GAAC,eAAe,GAAC,cAAc;;;;eACzF,OAAO;;;;gBACP,OAAO;;;;UACP,SAAS,GAAC,OAAO,GAAC,OAAO,GAAC,YAAY;;;;WACtC,OAAO;;;;iBACP,OAAO;;;;WACP,MAAM;;;;eACN,MAAM;;;;oBACN,MAAM;;;;sBACN,MAAM;;;;mBACN,MAAM,GAAC,IAAI;;;;gBACX,MAAM,GAAC,IAAI;;;;WACX,OAAO;;;;8BACE,MAAM,KAAG,MAAM;;;;mBACf,MAAM,KAAG,MAAM;;qCA5CD,oBAAoB"}
|
|
@@ -8,8 +8,8 @@ export class OverflowScroller {
|
|
|
8
8
|
offsetEnd: number;
|
|
9
9
|
amount: string;
|
|
10
10
|
buttonClasses: string[];
|
|
11
|
-
|
|
12
|
-
|
|
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":"
|
|
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"}
|
package/types/ui/popover.d.ts
CHANGED
|
@@ -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":"
|
|
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"}
|
package/types/ui/print.d.ts
CHANGED
package/types/ui/print.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../js/ui/print.js"],"names":[],"mappings":"
|
|
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":"
|
|
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
|
|
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
|
-
|
|
11
|
-
|
|
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":"
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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":"
|
|
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
|
-
*
|
|
7
|
+
* Scrollpoint Component Initializer
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
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":"
|
|
1
|
+
{"version":3,"file":"scrollpoint.d.ts","sourceRoot":"","sources":["../../js/ui/scrollpoint.js"],"names":[],"mappings":"AA2BA;;;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;qCAnQoC,oBAAoB"}
|
package/types/ui/slider.d.ts
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Initialize all sliders based on data attribute selectors
|
|
3
|
+
*/
|
|
1
4
|
export function init(): void;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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,14 @@ export class Slider {
|
|
|
20
30
|
transitionDurationExit: number;
|
|
21
31
|
transitionTimingFunction: string;
|
|
22
32
|
buttonClasses: string[];
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
iconClassPrevious: any;
|
|
34
|
+
iconClassNext: any;
|
|
35
|
+
swipeEnabled: boolean;
|
|
36
|
+
swipeOptions: {
|
|
37
|
+
preventScroll: boolean;
|
|
38
|
+
};
|
|
25
39
|
};
|
|
26
|
-
constructor(elements: any, config: any
|
|
27
|
-
debug: boolean;
|
|
40
|
+
constructor(elements: any, config: any);
|
|
28
41
|
options: any;
|
|
29
42
|
slide: {
|
|
30
43
|
element: any;
|
|
@@ -32,6 +45,9 @@ export class Slider {
|
|
|
32
45
|
number: number;
|
|
33
46
|
};
|
|
34
47
|
index: any;
|
|
48
|
+
swipeInstance: any;
|
|
49
|
+
swipeListener: (event: any) => void;
|
|
50
|
+
swipeImageListener: (event: any) => void;
|
|
35
51
|
transitioning: boolean;
|
|
36
52
|
slides: {
|
|
37
53
|
element: any;
|
|
@@ -102,6 +118,8 @@ export class Slider {
|
|
|
102
118
|
}): any;
|
|
103
119
|
goto(index: any, event: any, triggerType: any): void;
|
|
104
120
|
setup(): void;
|
|
121
|
+
setupSwipe(): void;
|
|
122
|
+
onSwipe(event: any): void;
|
|
105
123
|
trackContainerStyles(): string;
|
|
106
124
|
transitionCss(property: any): string;
|
|
107
125
|
trackCss(): string;
|
|
@@ -122,7 +140,8 @@ export class Slider {
|
|
|
122
140
|
};
|
|
123
141
|
createNavButton(slide: any, index: any): HTMLButtonElement;
|
|
124
142
|
getControlContent(action: any): string;
|
|
125
|
-
getNavContent(
|
|
143
|
+
getNavContent(slide: any): string;
|
|
126
144
|
emit(name: any, args: any): void;
|
|
127
145
|
}
|
|
146
|
+
import { ComponentInitializer } from "../utils/system.js";
|
|
128
147
|
//# sourceMappingURL=slider.d.ts.map
|
package/types/ui/slider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../js/ui/slider.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../js/ui/slider.js"],"names":[],"mappings":"AAyEA;;GAEG;AACH,6BASC;AAED;;;;GAIG;AACH,uCAHW,IAAI,sBAkBd;AAlED;;GAEG;AACH,+CAGG;AA8DH;;GAEG;AACH;IACE,wBAAsB;IACtB;;OAEG;IACH;;;;;;;;;;;;;;;;MAgBC;IACD,wCAmCC;IAjCC,aAAsB;IACtB;;;;MAAiB;IACjB,WAAiB;IACjB,mBAAyB;IACzB,oCAAyB;IACzB,yCAA8B;IAC9B,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,cAmBC;IACD,mBAsBC;IACD,0BAMC;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;qCAjiBoC,oBAAoB"}
|
package/types/ui/tabs.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Init all instances currently in document
|
|
3
|
-
* @param {Object} options Options to serve as defaults
|
|
4
3
|
*/
|
|
5
|
-
export function init(
|
|
6
|
-
/**
|
|
7
|
-
* Init all tabs within a certain context
|
|
8
|
-
* @param {Node} context Element to init within
|
|
9
|
-
* @param {Object} options Options to serve as defaults
|
|
10
|
-
*/
|
|
11
|
-
export function initWithin(context: Node, options?: any): void;
|
|
4
|
+
export function init(): void;
|
|
12
5
|
/**
|
|
13
6
|
*
|
|
14
7
|
* @param {Node} element Tablist Element
|
|
@@ -21,4 +14,9 @@ export function setup(element: Node, options?: Node): any;
|
|
|
21
14
|
* @type {Array}
|
|
22
15
|
*/
|
|
23
16
|
export const instances: any[];
|
|
17
|
+
/**
|
|
18
|
+
* Tabs Component Initializer
|
|
19
|
+
*/
|
|
20
|
+
export const initializer: ComponentInitializer;
|
|
21
|
+
import { ComponentInitializer } from "../utils/system.js";
|
|
24
22
|
//# sourceMappingURL=tabs.d.ts.map
|
package/types/ui/tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../js/ui/tabs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../js/ui/tabs.js"],"names":[],"mappings":"AA2BA;;GAEG;AACH,6BAoBC;AAED;;;;;GAKG;AACH,+BAJW,IAAI,YACJ,IAAI,OA2Bd;AArED;;;GAGG;AACH,8BAA4B;AAE5B;;GAEG;AACH,+CAGG;qCAdkC,oBAAoB"}
|
|
@@ -1,14 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {Object} options Change options used as default for dialogs, can then be overridden by data attribute settings on element
|
|
3
|
+
*/
|
|
4
|
+
export function setDefaults(options: any): void;
|
|
1
5
|
/**
|
|
2
6
|
* Initialize everything in document
|
|
3
7
|
* - This will only initialize elements once, it is safe to call on page changes
|
|
4
8
|
*/
|
|
5
9
|
export function init(): void;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Sets up a single toggle
|
|
12
|
+
* @param {HTMLElement} toggle A toggle to be setup
|
|
13
|
+
*/
|
|
14
|
+
export function setupToggle(toggle: HTMLElement, userOptions: any): {
|
|
15
|
+
destroy: () => void;
|
|
16
|
+
toggle: HTMLElement;
|
|
17
|
+
options: any;
|
|
18
|
+
toggleState: (event: any) => void;
|
|
19
|
+
setState(themeKey: any): void;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Theme Toggle Component Initializer
|
|
23
|
+
*/
|
|
24
|
+
export const initializer: ComponentInitializer;
|
|
25
|
+
export namespace defaults {
|
|
26
|
+
namespace themes {
|
|
27
|
+
namespace light {
|
|
28
|
+
let label: string;
|
|
29
|
+
let value: string;
|
|
30
|
+
let iconClass: string;
|
|
31
|
+
let targetClass: string;
|
|
32
|
+
let mediaQuery: string;
|
|
33
|
+
}
|
|
34
|
+
namespace dark {
|
|
35
|
+
let label_1: string;
|
|
36
|
+
export { label_1 as label };
|
|
37
|
+
let iconClass_1: string;
|
|
38
|
+
export { iconClass_1 as iconClass };
|
|
39
|
+
let targetClass_1: string;
|
|
40
|
+
export { targetClass_1 as targetClass };
|
|
41
|
+
let mediaQuery_1: string;
|
|
42
|
+
export { mediaQuery_1 as mediaQuery };
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
let target: string;
|
|
46
|
+
let group: any;
|
|
47
|
+
/**
|
|
48
|
+
* Optional callback to do something when the state changes
|
|
49
|
+
*/
|
|
50
|
+
function onChange(_ctx: any): void;
|
|
51
|
+
let initialState: string;
|
|
52
|
+
let checkMediaQuery: boolean;
|
|
53
|
+
let savePreference: boolean;
|
|
54
|
+
let storagePrefix: string;
|
|
55
|
+
let debug: boolean;
|
|
13
56
|
}
|
|
57
|
+
import { ComponentInitializer } from "../utils/system.js";
|
|
14
58
|
//# sourceMappingURL=theme-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../../js/ui/theme-toggle.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../../js/ui/theme-toggle.js"],"names":[],"mappings":"AAmGA;;GAEG;AACH,gDAEC;AAED;;;GAGG;AACH,6BASC;AAED;;;GAGG;AACH,oCAFW,WAAW;;;;;;EA+FrB;AAhND;;GAEG;AACH,+CAGG;;;;;;;;;;;;;;;;;;;;;;;IAmDD;;OAEG;IACH,mCAAiB;;;;;;;qCAlEkB,oBAAoB"}
|
package/types/ui/tooltip.d.ts
CHANGED
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export function init(): void;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* - Use this manually if needed
|
|
8
|
-
* - Won't setup a popover more than once
|
|
6
|
+
* Tooltip Component Initializer
|
|
9
7
|
*/
|
|
10
|
-
export
|
|
11
|
-
export function setupTrigger(trigger: any): Tooltip;
|
|
8
|
+
export const initializer: ComponentInitializer;
|
|
12
9
|
/**
|
|
13
10
|
* Tooltip
|
|
14
11
|
* - Provides basic tooltip functionality
|
|
@@ -95,4 +92,5 @@ export class Tooltip {
|
|
|
95
92
|
show(event: any): void;
|
|
96
93
|
hide(event: any): void;
|
|
97
94
|
}
|
|
95
|
+
import { ComponentInitializer } from "../utils/system.js";
|
|
98
96
|
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../js/ui/tooltip.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../js/ui/tooltip.js"],"names":[],"mappings":"AAuBA;;GAEG;AACH,6BAaC;AA5BD;;GAEG;AACH,+CAGG;AAwBH;;;;GAIG;AACH;IACE;;OAEG;IACH;QACE;;;;WAIG;;QAEH;;;WAGG;;;;;QAKH;;;WAGG;qBADO,SAAO,IAAI;QAGrB;;WAEG;;QAEH;;;WAGG;;QAEH;;;WAGG;oBADO,aAAc;QAGxB;;;WAGG;oBADO,aAAc;QAGxB;;;WAGG;;QAEH;;WAEG;;QAUH;;;WAGG;;MAIH;IACF,kCAEE;IACF,mEAaC;IAPC,aAA+D;IAC/D,qBAAyF;IACzF,cAA+B;IAC/B,aAAkB;IAClB,gBAAmB;IAIrB,cAIC;IACD,2BAKC;IACD,gBAGC;IACD,uBAcC;IACD,gCASC;IACD,6BAkBC;IACD,uBAiCC;IACD,wBAiBC;IACD,wCAmBC;IACD,sDAEC;IACD,+BAEC;IADC,0BAA4E;IAE9E,gCAKC;IACD,uBAEC;IACD,uBAEC;CACF;qCApRoC,oBAAoB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module utils/css
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Generates a CSS custom property name with a given prefix.
|
|
6
|
+
* @param {string} prefix The prefix to apply to the custom property name.
|
|
7
|
+
* @param {string} propertyName The base name of the custom property.
|
|
8
|
+
* @returns {string} The fully formed CSS custom property name (e.g., "--prefix-propertyName").
|
|
9
|
+
*/
|
|
10
|
+
export function getCustomProperty(prefix: string, propertyName: string): string;
|
|
11
|
+
//# sourceMappingURL=css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../js/utils/css.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;GAKG;AACH,0CAJW,MAAM,gBACN,MAAM,GACJ,MAAM,CAIlB"}
|
package/types/utils/dom.d.ts
CHANGED
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @param {
|
|
4
|
-
* @
|
|
5
|
-
* @returns {Object} Empty object or JSON object from dataset
|
|
2
|
+
* Converts a data attribute name to its corresponding dataset property name.
|
|
3
|
+
* @param {string} dataAttribute - The data attribute name (e.g., "data-ulu-dialog").
|
|
4
|
+
* @returns {string} - The dataset property name (e.g., "uluDialog").
|
|
6
5
|
*/
|
|
7
|
-
export function
|
|
8
|
-
/**
|
|
9
|
-
* Get an elements JSON dataset value that could potentially just be a single string
|
|
10
|
-
* - If JSON it will return the object else it will return the value directly
|
|
11
|
-
* @param {Node} element
|
|
12
|
-
* @param {String} key key in dataset object for element
|
|
13
|
-
* @returns {Object|String} JSON object or current dataset value (string or empty string if no value)
|
|
14
|
-
*/
|
|
15
|
-
export function getDatasetOptionalJson(element: Node, key: string): any | string;
|
|
16
|
-
/**
|
|
17
|
-
* Check if a pointer event x/y was outside an elements bounding box
|
|
18
|
-
*/
|
|
19
|
-
export function wasClickOutside(element: any, event: any): boolean;
|
|
6
|
+
export function dataAttributeToDatasetKey(attribute: any): string;
|
|
20
7
|
/**
|
|
21
8
|
* Sets up the positional classes that would come from the equal
|
|
22
9
|
* height module. Needs to be rerun by user when layout changes
|
|
@@ -29,20 +16,13 @@ export function wasClickOutside(element: any, event: any): boolean;
|
|
|
29
16
|
*/
|
|
30
17
|
export function setPositionClasses(parent: Node, classes?: any): void;
|
|
31
18
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @param {
|
|
34
|
-
* @
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*
|
|
39
|
-
* @param {Node} element The element that is the child of a scrollabel container
|
|
40
|
-
* @param {Node} container The container that can be scrolled
|
|
41
|
-
* @param {Stirng} propName Custom property to set
|
|
42
|
-
*/
|
|
43
|
-
export function addScrollbarProperty(element?: Node, container?: Node, propName?: Stirng): void;
|
|
44
|
-
/**
|
|
45
|
-
* @module utils/dom
|
|
19
|
+
* Resolves a class input (string or array) into a consistent array of class names.
|
|
20
|
+
* @param {string|string[]} input - The class input, which can be a string, an array of strings, or any other value.
|
|
21
|
+
* @returns {string[]} An array of class names. Returns an empty array for invalid or falsy input.
|
|
22
|
+
* @example
|
|
23
|
+
* resolveClassArray("fas fa-check my-class"); // Returns ["fas", "fa-check", "my-class"]
|
|
24
|
+
* resolveClassArray(["another-class", "yet-another-class"]); // Returns ["another-class", "yet-another-class"]
|
|
25
|
+
* resolveClassArray("single-class"); // Returns ["single-class"]
|
|
46
26
|
*/
|
|
47
|
-
export
|
|
27
|
+
export function resolveClasses(classes: any): string[];
|
|
48
28
|
//# sourceMappingURL=dom.d.ts.map
|
package/types/utils/dom.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../js/utils/dom.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../js/utils/dom.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,2DAFa,MAAM,CAIlB;AAED;;;;;;;;;GASG;AACH,2CAHa,IAAI,uBAoChB;AAED;;;;;;;;GAQG;AACH,8CANa,MAAM,EAAE,CAiBpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"font-awesome.d.ts","sourceRoot":"","sources":["../../js/utils/font-awesome.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,uCAOC"}
|