@ulu/frontend 0.1.0-beta.53 → 0.1.0-beta.55
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 +11 -0
- package/dist/ulu-frontend.min.css +1 -1
- package/dist/ulu-frontend.min.js +2 -2
- package/docs-dev/assets/main.js +7747 -503
- package/docs-dev/assets/style.css +221 -166
- package/docs-dev/changelog/index.html +6248 -0
- package/docs-dev/demos/accordion/index.html +5392 -0
- package/docs-dev/demos/basic-hero/index.html +111 -0
- package/docs-dev/demos/breakpoints-manager/index.html +5246 -0
- package/docs-dev/demos/button/index.html +5214 -0
- package/docs-dev/demos/button-verbose/index.html +5238 -0
- package/docs-dev/demos/callout/index.html +5284 -0
- package/docs-dev/demos/captioned-figure/index.html +5266 -0
- package/docs-dev/demos/card/index.html +5262 -0
- package/docs-dev/demos/card-grid/index.html +5357 -0
- package/docs-dev/demos/counter-list/index.html +5224 -0
- package/docs-dev/demos/css-icons/index.html +5855 -0
- package/docs-dev/demos/data-grid/index.html +6109 -0
- package/docs-dev/demos/data-table/index.html +5413 -0
- package/docs-dev/demos/details-group/index.html +5267 -0
- package/docs-dev/demos/file-save/index.html +5255 -0
- package/docs-dev/demos/flipcard/index.html +5804 -0
- package/docs-dev/demos/form-theme/index.html +5422 -0
- package/docs-dev/demos/hero/index.html +309 -0
- package/docs-dev/demos/image-grid/index.html +165 -0
- package/docs-dev/demos/index.html +5193 -0
- package/docs-dev/demos/list-inline/index.html +5220 -0
- package/docs-dev/demos/list-lines/index.html +5210 -0
- package/docs-dev/demos/menu-stack/index.html +5349 -0
- package/docs-dev/demos/modals/index.html +5371 -0
- package/docs-dev/demos/nav-strip/index.html +5305 -0
- package/docs-dev/demos/overlay-section/index.html +5281 -0
- package/docs-dev/demos/popovers/index.html +5453 -0
- package/docs-dev/demos/print/index.html +5213 -0
- package/docs-dev/demos/pull-quote/index.html +5212 -0
- package/docs-dev/demos/rule/index.html +5274 -0
- package/docs-dev/demos/scroll-slider/index.html +170 -0
- package/docs-dev/demos/scrollpoints/index.html +5231 -0
- package/docs-dev/demos/slider/index.html +172 -0
- package/docs-dev/demos/spoke-spinner/index.html +5208 -0
- package/docs-dev/demos/sticky-list/index.html +5223 -0
- package/docs-dev/demos/tabs/index.html +5333 -0
- package/docs-dev/demos/tag/index.html +5213 -0
- package/docs-dev/demos/theme-toggle/index.html +5279 -0
- package/docs-dev/demos/tile-grid-overlay/index.html +390 -0
- package/docs-dev/demos/tiles/index.html +5462 -0
- package/docs-dev/demos/tooltip/index.html +5241 -0
- package/docs-dev/guide/building-stylesheet/index.html +5262 -0
- package/docs-dev/guide/developing-ulu-scss-module/index.html +5314 -0
- package/docs-dev/guide/index.html +5195 -0
- package/docs-dev/index.html +5242 -0
- package/docs-dev/javascript/events/index.html +5351 -0
- package/docs-dev/javascript/index.html +5208 -0
- package/docs-dev/javascript/settings/index.html +5400 -0
- package/docs-dev/javascript/ui-breakpoints/index.html +5651 -0
- package/docs-dev/javascript/ui-collapsible/index.html +5318 -0
- package/docs-dev/javascript/ui-details-group/index.html +5322 -0
- package/docs-dev/javascript/ui-dialog/index.html +5367 -0
- package/docs-dev/javascript/ui-flipcard/index.html +5258 -0
- package/docs-dev/javascript/ui-grid/index.html +5233 -0
- package/docs-dev/javascript/ui-modal-builder/index.html +5461 -0
- package/docs-dev/javascript/ui-overflow-scroller/index.html +5191 -0
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +5209 -0
- package/docs-dev/javascript/ui-page/index.html +5206 -0
- package/docs-dev/javascript/ui-popover/index.html +5241 -0
- package/docs-dev/javascript/ui-print/index.html +5250 -0
- package/docs-dev/javascript/ui-print-details/index.html +5221 -0
- package/docs-dev/javascript/ui-programmatic-modal/index.html +5191 -0
- package/docs-dev/javascript/ui-scroll-slider/index.html +5252 -0
- package/docs-dev/javascript/ui-scrollpoint/index.html +5431 -0
- package/docs-dev/sass/base/color/index.html +5224 -0
- package/docs-dev/sass/base/elements/index.html +5395 -0
- package/docs-dev/sass/base/index/index.html +5394 -0
- package/docs-dev/sass/base/index.html +5202 -0
- package/docs-dev/sass/base/keyframes/index.html +5226 -0
- package/docs-dev/sass/base/layout/index.html +5386 -0
- package/docs-dev/sass/base/normalize/index.html +5234 -0
- package/docs-dev/sass/base/print/index.html +5230 -0
- package/docs-dev/sass/base/root/index.html +5250 -0
- package/docs-dev/sass/base/typography/index.html +5250 -0
- package/docs-dev/sass/components/accordion/index.html +5552 -0
- package/docs-dev/sass/components/adaptive-spacing/index.html +5495 -0
- package/docs-dev/sass/components/badge/index.html +5443 -0
- package/docs-dev/sass/components/basic-hero/index.html +5385 -0
- package/docs-dev/sass/components/button/index.html +5379 -0
- package/docs-dev/sass/components/button-verbose/index.html +5566 -0
- package/docs-dev/sass/components/callout/index.html +5541 -0
- package/docs-dev/sass/components/captioned-figure/index.html +5484 -0
- package/docs-dev/sass/components/card/index.html +5799 -0
- package/docs-dev/sass/components/card-grid/index.html +5393 -0
- package/docs-dev/sass/components/counter-list/index.html +5458 -0
- package/docs-dev/sass/components/css-icon/index.html +5497 -0
- package/docs-dev/sass/components/data-grid/index.html +5632 -0
- package/docs-dev/sass/components/data-table/index.html +5568 -0
- package/docs-dev/sass/components/fill-context/index.html +5259 -0
- package/docs-dev/sass/components/flipcard/index.html +5560 -0
- package/docs-dev/sass/components/flipcard-grid/index.html +5380 -0
- package/docs-dev/sass/components/form-theme/index.html +6105 -0
- package/docs-dev/sass/components/hero/index.html +5429 -0
- package/docs-dev/sass/components/horizontal-rule/index.html +5378 -0
- package/docs-dev/sass/components/image-grid/index.html +5385 -0
- package/docs-dev/sass/components/index/index.html +5433 -0
- package/docs-dev/sass/components/index.html +5202 -0
- package/docs-dev/sass/components/links/index.html +5229 -0
- package/docs-dev/sass/components/list-inline/index.html +5399 -0
- package/docs-dev/sass/components/list-lines/index.html +5420 -0
- package/docs-dev/sass/components/list-ordered/index.html +5225 -0
- package/docs-dev/sass/components/list-unordered/index.html +5229 -0
- package/docs-dev/sass/components/menu-stack/index.html +5572 -0
- package/docs-dev/sass/components/modal/index.html +5613 -0
- package/docs-dev/sass/components/nav-strip/index.html +5479 -0
- package/docs-dev/sass/components/overlay-section/index.html +5423 -0
- package/docs-dev/sass/components/pager/index.html +5541 -0
- package/docs-dev/sass/components/placeholder-block/index.html +5463 -0
- package/docs-dev/sass/components/popover/index.html +5574 -0
- package/docs-dev/sass/components/pull-quote/index.html +5437 -0
- package/docs-dev/sass/components/ratio-box/index.html +5383 -0
- package/docs-dev/sass/components/rule/index.html +5385 -0
- package/docs-dev/sass/components/scroll-slider/index.html +5484 -0
- package/docs-dev/sass/components/skip-link/index.html +5369 -0
- package/docs-dev/sass/components/slider/index.html +5493 -0
- package/docs-dev/sass/components/spoke-spinner/index.html +5443 -0
- package/docs-dev/sass/components/sticky-list/index.html +5603 -0
- package/docs-dev/sass/components/tabs/index.html +5519 -0
- package/docs-dev/sass/components/tag/index.html +5544 -0
- package/docs-dev/sass/components/tile-button/index.html +5424 -0
- package/docs-dev/sass/components/tile-grid/index.html +5559 -0
- package/docs-dev/sass/components/tile-grid-overlay/index.html +5360 -0
- package/docs-dev/sass/components/vignette/index.html +5379 -0
- package/docs-dev/sass/components/wysiwyg/index.html +5389 -0
- package/docs-dev/sass/core/breakpoint/index.html +5996 -0
- package/docs-dev/sass/core/button/index.html +6116 -0
- package/docs-dev/sass/core/color/index.html +6099 -0
- package/docs-dev/sass/core/cssvar/index.html +5991 -0
- package/docs-dev/sass/core/element/index.html +6261 -0
- package/docs-dev/sass/core/index.html +5189 -0
- package/docs-dev/sass/core/layout/index.html +5968 -0
- package/docs-dev/sass/core/path/index.html +5358 -0
- package/docs-dev/sass/core/selector/index.html +5437 -0
- package/docs-dev/sass/core/typography/index.html +6363 -0
- package/docs-dev/sass/core/units/index.html +5402 -0
- package/docs-dev/sass/core/utils/index.html +7697 -0
- package/docs-dev/sass/helpers/color/index.html +5224 -0
- package/docs-dev/sass/helpers/display/index.html +5229 -0
- package/docs-dev/sass/helpers/index/index.html +5391 -0
- package/docs-dev/sass/helpers/index.html +5202 -0
- package/docs-dev/sass/helpers/typography/index.html +5252 -0
- package/docs-dev/sass/helpers/units/index.html +5398 -0
- package/docs-dev/sass/helpers/utilities/index.html +5229 -0
- package/docs-dev/sass/index.html +5253 -0
- package/js/ui/modal-builder.js +32 -3
- package/package.json +1 -1
- package/scss/components/_counter-list.scss +46 -46
- package/types/ui/index.d.ts +1 -1
- package/types/ui/modal-builder.d.ts +85 -0
- package/types/ui/modal-builder.d.ts.map +1 -1
- package/types/utils/index.d.ts +1 -1
- package/docs-dev/changelog/updates-and-changes/index.html +0 -5109
- package/docs-dev/demos/card-new/index.html +0 -5088
- package/docs-dev/demos/card-old/index.html +0 -5223
- package/docs-dev/demos/card.1/index.html +0 -5223
- package/docs-dev/demos/card.TRASH/index.html +0 -5541
- package/docs-dev/demos/list-inline.1/index.html +0 -4727
- package/docs-dev/guide/updates-and-changes/index.html +0 -5033
package/js/ui/modal-builder.js
CHANGED
|
@@ -21,12 +21,41 @@ export const initializer = new ComponentInitializer({
|
|
|
21
21
|
/**
|
|
22
22
|
* Default builder options (extends dialog defaults, watch name collisions)
|
|
23
23
|
* - Decided to extend defaults so the interface in HTML is singular
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* - This is sometimes easier to template (merging and serializing options
|
|
25
|
+
* in twig for example)
|
|
26
|
+
* @typedef {object} DefaultModalOptions
|
|
27
|
+
* @property {string|null} title - The title of the modal. Defaults to `null`.
|
|
28
|
+
* @property {string|null} titleIcon - The class name for an icon to display in the title. Defaults to `null`.
|
|
29
|
+
* @property {string} titleClass - Extra class/classes to add to title
|
|
30
|
+
* @property {boolean} nonModal - If `true`, the modal will not prevent interaction with elements behind it. Defaults to `false`.
|
|
31
|
+
* @property {boolean} documentEnd - If `true`, the modal will be appended to the end of the `document.body`. Defaults to `true`.
|
|
32
|
+
* @property {boolean} allowResize - If `true`, the modal will be resizable. Defaults to `false`.
|
|
33
|
+
* @property {"center"|"top-left"|"top-center"|"top-right"|"bottom-left"|"bottom-center"|"bottom-right"} position - The initial position of the modal. Defaults to `"center"`.
|
|
34
|
+
* @property {boolean} bodyFills - If `true`, the modal body will fill the available space. Defaults to `false`.
|
|
35
|
+
* @property {boolean} noBackdrop - If `true`, no backdrop will be displayed behind the modal. Defaults to `false`.
|
|
36
|
+
* @property {"default"|"small"|"large"|"fullscreen"} size - The size of the modal. Defaults to `"default"`.
|
|
37
|
+
* @property {boolean} print - If `true`, the modal content will be optimized for printing. Defaults to `false`.
|
|
38
|
+
* @property {boolean} noMinHeight - If `true`, the modal will not have a minimum height. Defaults to `false`.
|
|
39
|
+
* @property {string} class - Additional CSS class(es) to add to the modal. Defaults to `""`.
|
|
40
|
+
* @property {string} baseClass - The base CSS class for the modal elements. Defaults to `"modal"`.
|
|
41
|
+
* @property {string} classCloseIcon - The class name for the close icon. Uses the wrapped setting string.
|
|
42
|
+
* @property {string} classResizerIcon - The class name for the resizer icon. Uses the wrapped setting string.
|
|
43
|
+
* @property {boolean} debug - Enables debug logging. Defaults to `false`.
|
|
44
|
+
* @property {function(object): string} templateCloseIcon - A function that returns the HTML for the close icon.
|
|
45
|
+
* @property {function(object): string} templateCloseIcon.config - The resolved modal configuration object.
|
|
46
|
+
* @returns {string} The HTML string for the close icon.
|
|
47
|
+
* @property {function(object): string} templateResizerIcon - A function that returns the HTML for the resizer icon.
|
|
48
|
+
* @property {function(object): string} templateResizerIcon.config - The resolved modal configuration object.
|
|
49
|
+
* @returns {string} The HTML string for the resizer icon.
|
|
50
|
+
* @property {function(string, DefaultModalOptions): string} template - The default modal template function.
|
|
51
|
+
* @param {string} template.id - The ID for the new modal.
|
|
52
|
+
* @param {DefaultModalOptions} template.config - The resolved modal options.
|
|
53
|
+
* @returns {string} Markup for the modal.
|
|
26
54
|
*/
|
|
27
55
|
export const defaults = {
|
|
28
56
|
title: null,
|
|
29
57
|
titleIcon: null,
|
|
58
|
+
titleClass: "",
|
|
30
59
|
nonModal: false,
|
|
31
60
|
documentEnd: true,
|
|
32
61
|
allowResize: false,
|
|
@@ -72,7 +101,7 @@ export const defaults = {
|
|
|
72
101
|
<dialog id="${ id }" class="${ classes.join(" ") }">
|
|
73
102
|
${ config.title ? `
|
|
74
103
|
<header class="${ baseClass }__header">
|
|
75
|
-
<h2 class="${ baseClass }__title">
|
|
104
|
+
<h2 class="${ baseClass }__title ${ config.titleClass }">
|
|
76
105
|
${ config.titleIcon ?
|
|
77
106
|
`<span class="${ baseClass }__title-icon ${ config.titleIcon }" aria-hidden="true"></span>` : ""
|
|
78
107
|
}
|
package/package.json
CHANGED
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
|
|
11
11
|
/// Module Settings
|
|
12
12
|
/// @type Map
|
|
13
|
-
/// @prop {List} margin [(2rem 0)] The top and bottom margin of the list.
|
|
14
|
-
/// @prop {List} item-margin [(0, 0, 1rem, 0)] The margin applied to each list item.
|
|
13
|
+
/// @prop {List|CssUnit} margin [(2rem 0)] The top and bottom margin of the list.
|
|
14
|
+
/// @prop {List|CssUnit} item-margin [(0, 0, 1rem, 0)] The margin applied to each list item.
|
|
15
15
|
/// @prop {Keyword} align-items [baseline] How to align the counter (flexbox align-items values)
|
|
16
|
-
/// @prop {
|
|
17
|
-
/// @prop {
|
|
18
|
-
/// @prop {
|
|
16
|
+
/// @prop {CssUnit} counter-width [2.4em] The width and height (if height is falsy)
|
|
17
|
+
/// @prop {CssUnit} counter-height [null] The height (optional)
|
|
18
|
+
/// @prop {CssUnit} counter-gap [1em] The gap between the counter and the list item content.
|
|
19
19
|
/// @prop {String} counter-style [numeric] The list-style-type used for the counter.
|
|
20
20
|
/// @prop {Keyword|Percentage} counter-border-radius [50%] The border-radius of the counter element.
|
|
21
|
-
/// @prop {
|
|
22
|
-
/// @prop {String} counter-color [white] The text color of the counter. Accepts color names or hex codes.
|
|
23
|
-
/// @prop {String} counter-background-color ["accent"] The background color of the counter. Refers to a color in the color module.
|
|
21
|
+
/// @prop {CssUnit} counter-font-size [1.2em] The font-size of the counter text.
|
|
22
|
+
/// @prop {Color|String} counter-color [white] The text color of the counter. Accepts color names or hex codes.
|
|
23
|
+
/// @prop {Color|String} counter-background-color ["accent"] The background color of the counter. Refers to a color in the color module.
|
|
24
24
|
|
|
25
25
|
$config: (
|
|
26
26
|
"margin" : (2rem 0),
|
|
@@ -71,47 +71,47 @@ $config: (
|
|
|
71
71
|
#{ $prefix } {
|
|
72
72
|
margin: get("margin");
|
|
73
73
|
counter-reset: ulu-counter-list;
|
|
74
|
+
}
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
#{ $prefix } > li,
|
|
77
|
+
#{ $prefix }__item {
|
|
78
|
+
display: flex;
|
|
79
|
+
gap: get("counter-gap");
|
|
80
|
+
align-items: get("align-items");
|
|
81
|
+
margin: get("item-margin");
|
|
82
|
+
min-height: $height;
|
|
83
|
+
&::before {
|
|
77
84
|
display: flex;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
counter-increment: ulu-counter-list;
|
|
90
|
-
content: counter(ulu-counter-list, get("counter-style"));
|
|
91
|
-
font-size: get("counter-font-size");
|
|
92
|
-
color: color.get(get("counter-color"));
|
|
93
|
-
background-color: color.get(get("counter-background-color"));
|
|
94
|
-
border-radius: get("counter-border-radius");
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Keeping this could be useful
|
|
98
|
-
// but we need to think about how its setup
|
|
99
|
-
// - Probably should be a modifier (choice)
|
|
100
|
-
// - May need either option for how align-items is set (flex-start vs center)
|
|
101
|
-
// - This could be useful when used in grid
|
|
102
|
-
// - May need to be pervasive and not linked to a breakpoint (alternate style)
|
|
103
|
-
// - It's also just useful to know you could override the layout like this
|
|
104
|
-
// to get useful variations (maybe we don't need to include it but users
|
|
105
|
-
// can do specific)
|
|
106
|
-
// @if ( get("counter-mobile-toggle") ) {
|
|
107
|
-
// @include breakpoint.max("small") {
|
|
108
|
-
// padding-left: 0;
|
|
109
|
-
// padding-top: calc(get("counter-width") + get("counter-gap-mobile"));
|
|
110
|
-
// flex-direction: column;
|
|
111
|
-
// align-items: center;
|
|
112
|
-
// }
|
|
113
|
-
// }
|
|
85
|
+
align-items: center;
|
|
86
|
+
justify-content: center;
|
|
87
|
+
width: $width;
|
|
88
|
+
height: $height;
|
|
89
|
+
flex: 0 0 $width;
|
|
90
|
+
counter-increment: ulu-counter-list;
|
|
91
|
+
content: counter(ulu-counter-list, get("counter-style"));
|
|
92
|
+
font-size: get("counter-font-size");
|
|
93
|
+
color: color.get(get("counter-color"));
|
|
94
|
+
background-color: color.get(get("counter-background-color"));
|
|
95
|
+
border-radius: get("counter-border-radius");
|
|
114
96
|
}
|
|
97
|
+
|
|
98
|
+
// Keeping this could be useful
|
|
99
|
+
// but we need to think about how its setup
|
|
100
|
+
// - Probably should be a modifier (choice)
|
|
101
|
+
// - May need either option for how align-items is set (flex-start vs center)
|
|
102
|
+
// - This could be useful when used in grid
|
|
103
|
+
// - May need to be pervasive and not linked to a breakpoint (alternate style)
|
|
104
|
+
// - It's also just useful to know you could override the layout like this
|
|
105
|
+
// to get useful variations (maybe we don't need to include it but users
|
|
106
|
+
// can do specific)
|
|
107
|
+
// @if ( get("counter-mobile-toggle") ) {
|
|
108
|
+
// @include breakpoint.max("small") {
|
|
109
|
+
// padding-left: 0;
|
|
110
|
+
// padding-top: calc(get("counter-width") + get("counter-gap-mobile"));
|
|
111
|
+
// flex-direction: column;
|
|
112
|
+
// align-items: center;
|
|
113
|
+
// }
|
|
114
|
+
// }
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
// Modifiers
|
package/types/ui/index.d.ts
CHANGED
|
@@ -20,5 +20,5 @@ export * as printDetails from "./print-details.js";
|
|
|
20
20
|
export * as scrollSlider from "./scroll-slider.js";
|
|
21
21
|
export * as themeToggle from "./theme-toggle.js";
|
|
22
22
|
export * as detailsGroup from "./details-group.js";
|
|
23
|
-
declare namespace
|
|
23
|
+
declare namespace ___Users_joe_Projects_Personal_Github_frontend_js_ui_index_ { }
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -22,6 +22,7 @@ export const initializer: ComponentInitializer;
|
|
|
22
22
|
export namespace defaults {
|
|
23
23
|
export let title: any;
|
|
24
24
|
export let titleIcon: any;
|
|
25
|
+
export let titleClass: string;
|
|
25
26
|
export let nonModal: boolean;
|
|
26
27
|
export let documentEnd: boolean;
|
|
27
28
|
export let allowResize: boolean;
|
|
@@ -47,5 +48,89 @@ export namespace defaults {
|
|
|
47
48
|
*/
|
|
48
49
|
export function template(id: string, config: any): string;
|
|
49
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Default builder options (extends dialog defaults, watch name collisions)
|
|
53
|
+
* - Decided to extend defaults so the interface in HTML is singular
|
|
54
|
+
* - This is sometimes easier to template (merging and serializing options
|
|
55
|
+
* in twig for example)
|
|
56
|
+
*/
|
|
57
|
+
export type DefaultModalOptions = {
|
|
58
|
+
/**
|
|
59
|
+
* - The title of the modal. Defaults to `null`.
|
|
60
|
+
*/
|
|
61
|
+
title: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* - The class name for an icon to display in the title. Defaults to `null`.
|
|
64
|
+
*/
|
|
65
|
+
titleIcon: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* - Extra class/classes to add to title
|
|
68
|
+
*/
|
|
69
|
+
titleClass: string;
|
|
70
|
+
/**
|
|
71
|
+
* - If `true`, the modal will not prevent interaction with elements behind it. Defaults to `false`.
|
|
72
|
+
*/
|
|
73
|
+
nonModal: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* - If `true`, the modal will be appended to the end of the `document.body`. Defaults to `true`.
|
|
76
|
+
*/
|
|
77
|
+
documentEnd: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* - If `true`, the modal will be resizable. Defaults to `false`.
|
|
80
|
+
*/
|
|
81
|
+
allowResize: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* - The initial position of the modal. Defaults to `"center"`.
|
|
84
|
+
*/
|
|
85
|
+
position: "center" | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
86
|
+
/**
|
|
87
|
+
* - If `true`, the modal body will fill the available space. Defaults to `false`.
|
|
88
|
+
*/
|
|
89
|
+
bodyFills: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* - If `true`, no backdrop will be displayed behind the modal. Defaults to `false`.
|
|
92
|
+
*/
|
|
93
|
+
noBackdrop: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* - The size of the modal. Defaults to `"default"`.
|
|
96
|
+
*/
|
|
97
|
+
size: "default" | "small" | "large" | "fullscreen";
|
|
98
|
+
/**
|
|
99
|
+
* - If `true`, the modal content will be optimized for printing. Defaults to `false`.
|
|
100
|
+
*/
|
|
101
|
+
print: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* - If `true`, the modal will not have a minimum height. Defaults to `false`.
|
|
104
|
+
*/
|
|
105
|
+
noMinHeight: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* - Additional CSS class(es) to add to the modal. Defaults to `""`.
|
|
108
|
+
*/
|
|
109
|
+
class: string;
|
|
110
|
+
/**
|
|
111
|
+
* - The base CSS class for the modal elements. Defaults to `"modal"`.
|
|
112
|
+
*/
|
|
113
|
+
baseClass: string;
|
|
114
|
+
/**
|
|
115
|
+
* - The class name for the close icon. Uses the wrapped setting string.
|
|
116
|
+
*/
|
|
117
|
+
classCloseIcon: string;
|
|
118
|
+
/**
|
|
119
|
+
* - The class name for the resizer icon. Uses the wrapped setting string.
|
|
120
|
+
*/
|
|
121
|
+
classResizerIcon: string;
|
|
122
|
+
/**
|
|
123
|
+
* - Enables debug logging. Defaults to `false`.
|
|
124
|
+
*/
|
|
125
|
+
debug: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* - A function that returns the HTML for the close icon.
|
|
128
|
+
*/
|
|
129
|
+
templateCloseIcon: (arg0: object) => string;
|
|
130
|
+
/**
|
|
131
|
+
* - The resolved modal configuration object.
|
|
132
|
+
*/
|
|
133
|
+
config: (arg0: object) => string;
|
|
134
|
+
};
|
|
50
135
|
import { ComponentInitializer } from "../utils/system.js";
|
|
51
136
|
//# 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":"AAgIA;;GAEG;AACH,gDAEC;AAED;;;GAGG;AACH,6BAQC;AAED;;;;GAIG;AACH,oCAHW,IAAI;;EAmDd;AA9LD;;GAEG;AACH,+CAGG;;;;;;;;;;;;;;;;;;;;IAsDD,uDAGC;IACD,yDAGC;IACD;;;;;OAKG;IACH,0DAoCC;;;;;;;;;;;;WAhGW,MAAM,GAAC,IAAI;;;;eACX,MAAM,GAAC,IAAI;;;;gBACX,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;;;;WACN,OAAO;;;;8BACE,MAAM,KAAG,MAAM;;;;mBACf,MAAM,KAAG,MAAM;;qCAvCD,oBAAoB"}
|
package/types/utils/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export * as index from "./index.js";
|
|
|
6
6
|
export * as pauseYoutubeVideo from "./pause-youtube-video.js";
|
|
7
7
|
export * as fileSave from "./file-save.js";
|
|
8
8
|
export * as fontAwesome from "./font-awesome.js";
|
|
9
|
-
declare namespace
|
|
9
|
+
declare namespace ___Users_joe_Projects_Personal_Github_frontend_js_utils_index_ { }
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|