@watermarkinsights/ripple 5.32.0-alpha.2 → 5.32.0-alpha.4
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/dist/cjs/{app-globals-773bf504.js → app-globals-7130267f.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
- package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/wm-button.cjs.entry.js +1 -1
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +1 -1
- package/dist/cjs/wm-flyout.cjs.entry.js +1 -1
- package/dist/cjs/wm-input.cjs.entry.js +1 -1
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-modal_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
- package/dist/cjs/wm-option_2.cjs.entry.js +5 -6
- package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
- package/dist/cjs/wm-search.cjs.entry.js +2 -2
- package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-tag-input.cjs.entry.js +3 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/wm-timepicker.cjs.entry.js +2 -2
- package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
- package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
- package/dist/collection/components/selects/wm-select/wm-select.css +0 -13
- package/dist/collection/components/selects/wm-select/wm-select.js +4 -5
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +3 -3
- package/dist/collection/components/wm-button/wm-button.js +1 -1
- package/dist/collection/components/wm-file/wm-file.js +1 -1
- package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
- package/dist/collection/components/wm-flyout/wm-flyout.js +1 -1
- package/dist/collection/components/wm-input/wm-input.js +1 -1
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal.js +2 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
- package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
- package/dist/collection/components/wm-search/wm-search.js +2 -2
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +3 -3
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -2
- package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/docs/docs.json +1 -1
- package/dist/esm/{app-globals-c7b000c8.js → app-globals-a3bef2e4.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/priv-navigator-button.entry.js +1 -1
- package/dist/esm/priv-navigator-item.entry.js +1 -1
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-action-menu_2.entry.js +4 -4
- package/dist/esm/wm-button.entry.js +1 -1
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +1 -1
- package/dist/esm/wm-flyout.entry.js +1 -1
- package/dist/esm/wm-input.entry.js +1 -1
- package/dist/esm/wm-modal-pss_3.entry.js +4 -4
- package/dist/esm/wm-modal_3.entry.js +4 -4
- package/dist/esm/wm-navigation_3.entry.js +4 -4
- package/dist/esm/wm-option_2.entry.js +5 -6
- package/dist/esm/wm-pagination.entry.js +1 -1
- package/dist/esm/wm-search.entry.js +2 -2
- package/dist/esm/wm-snackbar.entry.js +2 -2
- package/dist/esm/wm-tab-item_3.entry.js +6 -6
- package/dist/esm/wm-tag-input.entry.js +3 -2
- package/dist/esm/wm-textarea.entry.js +1 -1
- package/dist/esm/wm-timepicker.entry.js +2 -2
- package/dist/esm/wm-toggletip.entry.js +3 -3
- package/dist/esm/wm-uploader.entry.js +2 -2
- package/dist/esm-es5/{app-globals-c7b000c8.js → app-globals-a3bef2e4.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-flyout.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/ripple/{p-d96d80a5.system.entry.js → p-001b4c59.system.entry.js} +1 -1
- package/dist/ripple/{p-1e61f428.entry.js → p-06b52859.entry.js} +1 -1
- package/dist/ripple/{p-1ae5ff31.system.entry.js → p-0bed3ad0.system.entry.js} +1 -1
- package/dist/ripple/{p-eecae818.system.js → p-1bd81f6e.system.js} +1 -1
- package/dist/ripple/{p-45a8ce04.system.entry.js → p-1f4f52fb.system.entry.js} +1 -1
- package/dist/ripple/{p-bdad55a5.system.entry.js → p-2e96611c.system.entry.js} +1 -1
- package/dist/ripple/{p-24edf8cf.entry.js → p-33ec0d67.entry.js} +1 -1
- package/dist/ripple/{p-3c26dcf2.js → p-37f130df.js} +1 -1
- package/dist/ripple/{p-4adccf9b.entry.js → p-3949b30b.entry.js} +1 -1
- package/dist/ripple/{p-ed8f92d5.entry.js → p-3d2c6b0e.entry.js} +1 -1
- package/dist/ripple/p-3fce60a3.entry.js +1 -0
- package/dist/ripple/{p-6f4822c7.entry.js → p-42aa2b6d.entry.js} +1 -1
- package/dist/ripple/{p-82650151.system.entry.js → p-461d322f.system.entry.js} +1 -1
- package/dist/ripple/{p-f5be8dbb.system.entry.js → p-4a0148b3.system.entry.js} +1 -1
- package/dist/ripple/{p-83ee6ad0.system.js → p-4e2c39b3.system.js} +1 -1
- package/dist/ripple/{p-ed03d492.entry.js → p-50215f38.entry.js} +1 -1
- package/dist/ripple/{p-dc4c69b5.system.entry.js → p-5174e536.system.entry.js} +1 -1
- package/dist/ripple/{p-a040364d.entry.js → p-51e7977b.entry.js} +1 -1
- package/dist/ripple/{p-4cca044a.entry.js → p-52b390de.entry.js} +1 -1
- package/dist/ripple/{p-b43cc26c.system.entry.js → p-5740967a.system.entry.js} +1 -1
- package/dist/ripple/p-619edc41.entry.js +1 -0
- package/dist/ripple/{p-2178f227.system.entry.js → p-6601f7b8.system.entry.js} +1 -1
- package/dist/ripple/{p-2176e8fd.system.entry.js → p-6d281f9f.system.entry.js} +1 -1
- package/dist/ripple/{p-88f5a3d4.system.entry.js → p-701130e4.system.entry.js} +1 -1
- package/dist/ripple/{p-b252fb1b.system.entry.js → p-72adcdaa.system.entry.js} +1 -1
- package/dist/ripple/{p-27537e1c.system.entry.js → p-76d62392.system.entry.js} +1 -1
- package/dist/ripple/{p-7aba5fcd.entry.js → p-82bd2f84.entry.js} +1 -1
- package/dist/ripple/{p-90286c9f.system.entry.js → p-8856495a.system.entry.js} +1 -1
- package/dist/ripple/{p-d5dd3550.entry.js → p-8c5c6cc0.entry.js} +1 -1
- package/dist/ripple/{p-53433e48.entry.js → p-9ceae7ef.entry.js} +1 -1
- package/dist/ripple/{p-712684c7.entry.js → p-9e0733fa.entry.js} +1 -1
- package/dist/ripple/{p-fb594105.system.entry.js → p-a0c74b8a.system.entry.js} +1 -1
- package/dist/ripple/{p-fbc9bfd2.entry.js → p-a8fb54ca.entry.js} +1 -1
- package/dist/ripple/{p-f18aef8d.system.entry.js → p-ab3d8adc.system.entry.js} +1 -1
- package/dist/ripple/{p-de58531e.system.entry.js → p-ae47cdd0.system.entry.js} +1 -1
- package/dist/ripple/{p-caae008c.entry.js → p-b22a19f9.entry.js} +1 -1
- package/dist/ripple/{p-9af426d5.entry.js → p-b600d481.entry.js} +1 -1
- package/dist/ripple/{p-67497029.system.entry.js → p-bb2e1f06.system.entry.js} +1 -1
- package/dist/ripple/{p-1f94b206.system.entry.js → p-c31f1ed7.system.entry.js} +1 -1
- package/dist/ripple/{p-5bbf6b18.system.entry.js → p-cd5afad7.system.entry.js} +1 -1
- package/dist/ripple/{p-aa86963b.entry.js → p-e00505f0.entry.js} +1 -1
- package/dist/ripple/{p-d2fa7cde.entry.js → p-e5213add.entry.js} +1 -1
- package/dist/ripple/{p-d7681d5c.entry.js → p-e53ceb74.entry.js} +1 -1
- package/dist/ripple/{p-4c5d0502.entry.js → p-f40a624e.entry.js} +1 -1
- package/dist/ripple/{p-abb6fd0e.system.entry.js → p-f4c42427.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/package.json +2 -3
- package/dist/ripple/p-319b9b38.entry.js +0 -1
- package/dist/ripple/p-64d5a281.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-bb947bd5.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-7130267f.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -19,7 +19,7 @@ const PrivNavigatorButton = class {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const { handleClick, altText } = this;
|
|
22
|
-
return (index.h("button", { key: '
|
|
22
|
+
return (index.h("button", { key: 'dc162bf12e5dec1ceb7cf071b55d4d9da4deabe7', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
23
23
|
}
|
|
24
24
|
static get delegatesFocus() { return true; }
|
|
25
25
|
get el() { return index.getElement(this); }
|
|
@@ -26,7 +26,7 @@ const PrivNavigatorItem = class {
|
|
|
26
26
|
render() {
|
|
27
27
|
const selectedClass = this.selected ? "selected" : "";
|
|
28
28
|
const focusedClass = this.focused ? "focused" : "";
|
|
29
|
-
return (index.h("div", { key: '
|
|
29
|
+
return (index.h("div", { key: '90260a3dbfafec72c507d40e29a5f1d5e02149be', class: `navoption ${selectedClass} ${focusedClass}` }, index.h("slot", { key: 'c91b33f6c5fc8e563b69c1661b1c6f41d5c53225' })));
|
|
30
30
|
}
|
|
31
31
|
get el() { return index.getElement(this); }
|
|
32
32
|
};
|
package/dist/cjs/ripple.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-bb947bd5.js');
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
6
|
+
const appGlobals = require('./app-globals-7130267f.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -383,7 +383,7 @@ const ActionMenu = class {
|
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
render() {
|
|
386
|
-
return (index.h(index.Host, { key: '
|
|
386
|
+
return (index.h(index.Host, { key: '774dc2e1e827752250eb90498f1876654c73c6cc', onBlur: () => this.close(false) }, index.h("div", { key: '03ad944d9cff5bd5fef00098fb6251d2ca89388e', class: functions.getTextDir() }, index.h("button", { key: '773d631e6807e439ae1f7bc8bdee1f8695b5d5bb', ref: (el) => (this.menubtnEl = el), id: "menubtn", class: `wm-button -${this.internalButtonType}${this.darkMode ? " dark" : ""}${this.isTabbing ? " user-is-tabbing" : ""}`, disabled: this.disabled, "aria-label": this.internalButtonType === "icononly"
|
|
387
387
|
? this.labelForIdenticalButtons || this.tooltip
|
|
388
388
|
: this.labelForIdenticalButtons || undefined, "aria-expanded": this.isExpanded ? "true" : "false", "aria-haspopup": "menu", popoverTarget: "menu", popoverTargetAction: "toggle", onMouseEnter: () => this.actionMenuType === "icon" &&
|
|
389
389
|
functions.showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onMouseLeave: () => functions.hideTooltip(), onFocus: () => this.isTabbing &&
|
|
@@ -391,9 +391,9 @@ const ActionMenu = class {
|
|
|
391
391
|
functions.showTooltip(this.tooltipPosition || this.horizontalPosition, this.menubtnEl, this.tooltip), onBlur: (ev) => {
|
|
392
392
|
functions.hideTooltip();
|
|
393
393
|
this.handleButtonBlur(ev);
|
|
394
|
-
} }, this.resolvedIcon && this.renderIcon(), this.actionMenuType !== "icon" && index.h("span", { key: '
|
|
394
|
+
} }, this.resolvedIcon && this.renderIcon(), this.actionMenuType !== "icon" && index.h("span", { key: 'f8ee72d108992588520c332120f966fe124847d0', class: "button-text" }, this.buttonText), (this.actionMenuType === "selector" || this.actionMenuType === "selector-primary") && (index.h("div", { key: '4e147e6d505ada32055b87f8b9970b908d36738d', class: "selector-icon svg-icon svg-expand-more" }))), index.h("div", { key: '7664e096caf8898607414e47d52518ebd90344e1', class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "open-up" : ""} ${this.horizontalPosition}`, id: "menu", popover: "auto", tabindex: -1, role: "menu", style: { "--dropdown-max-width": this.maxWidth }, ref: (el) => (this.dropdownEl = el),
|
|
395
395
|
// @ts-ignore -- don't tell typescript but we're in the future
|
|
396
|
-
onToggle: (ev) => this.handleToggle(ev) }, index.h("slot", { key: '
|
|
396
|
+
onToggle: (ev) => this.handleToggle(ev) }, index.h("slot", { key: '6e76f40a983c31fd74686ead691b5c1e767155eb' })))));
|
|
397
397
|
}
|
|
398
398
|
static get delegatesFocus() { return true; }
|
|
399
399
|
get el() { return index.getElement(this); }
|
|
@@ -511,7 +511,7 @@ const Menuitem = class {
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
render() {
|
|
514
|
-
return (index.h(index.Host, { key: '
|
|
514
|
+
return (index.h(index.Host, { key: '4451d9cfcf568a7565adc1c4ef505f7807824a09', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, index.h("div", { key: 'c3abb271eae3acb4e272897ec6a98f63b5f2f32a', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, index.h("div", { key: '954f25744b081d8250ae32b2959a8c720b9bd73e', class: "main-text" }, this.icon && this.renderIcon(), this.el.textContent), this.description ? index.h("div", { class: "description" }, this.description) : "")));
|
|
515
515
|
}
|
|
516
516
|
get el() { return index.getElement(this); }
|
|
517
517
|
static get watchers() { return {
|
|
@@ -265,7 +265,7 @@ const Button = class {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
render() {
|
|
268
|
-
return (index.h(index.Host, { key: '
|
|
268
|
+
return (index.h(index.Host, { key: 'd196d0b439d6b73e37fc0f83e3867854bb47a22b', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, index.h("button", { key: '443dd1798281e68af26f2e5148bf25c61e498156', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-expanded": this.isAriaExpanded !== undefined ? this.isAriaExpanded.toString() : undefined, "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => functions.hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => functions.hideTooltip(), onClick: () => functions.hideTooltip() }, this.icon && this.renderIcon(), !this.buttonType.startsWith("navigational") && !this.buttonType.startsWith("icononly") && (index.h("span", { key: 'acca27d3cc39be5845259b78958f1e130de2e508', class: "button-text" }, index.h("slot", { key: '7bb49f66e9e0716b85c86ac161df77727c9a92de' }))), (this.buttonType == "selector" || this.buttonType == "selector-primary") && (index.h("div", { key: '101efe505a3883988ca0c5352301f44b2ee5d177', class: "selector-icon svg-icon svg-expand-more" })))));
|
|
269
269
|
}
|
|
270
270
|
static get delegatesFocus() { return true; }
|
|
271
271
|
get el() { return index.getElement(this); }
|
|
@@ -13,7 +13,7 @@ const FileList = class {
|
|
|
13
13
|
this.showInfo = "last-updated";
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h("div", { key: '
|
|
16
|
+
return (index.h("div", { key: '5e5b063af0d4845668a274a97571f52bfb8482aa', role: "list", class: "list-wrapper" }, index.h("slot", { key: '5e53878852fd55bdd22c922a4c7cecac79ccbb32' })));
|
|
17
17
|
}
|
|
18
18
|
static get delegatesFocus() { return true; }
|
|
19
19
|
get el() { return index.getElement(this); }
|
|
@@ -200,7 +200,7 @@ const File = class {
|
|
|
200
200
|
return (index.h("div", { class: `file-wrapper` }, index.h("div", { class: `file ${this.errorMessage ? "--error" : ""} ${this.isCondensed ? "condensed" : ""} ${this.isExtraCondensed ? "extra-condensed" : ""}` }, this.renderFileName(), showRightGroup && (index.h("div", { class: "right-group" }, !this.isExtraCondensed && this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (index.h("div", { class: "right-group" }, index.h("wm-button", { "permanently-delete": true, "button-type": "textonly", "label-for-identical-buttons": this.generateClearButtonLabel(this.name), onClick: () => this.wmFileErrorCleared.emit() }, this.clearButtonText))), this.progress == 100 && index.h("span", { class: "svg-icon svg-success" })), this.errorMessage && index.h("div", { class: "error-message" }, this.errorMessage)));
|
|
201
201
|
}
|
|
202
202
|
render() {
|
|
203
|
-
return index.h(index.Host, { key: '
|
|
203
|
+
return index.h(index.Host, { key: '1df873c1f1b95a6999b7deb8fdc2e70480e27b46', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
|
|
204
204
|
}
|
|
205
205
|
static get delegatesFocus() { return true; }
|
|
206
206
|
get el() { return index.getElement(this); }
|
|
@@ -165,7 +165,7 @@ const Flyout = class {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (index.h(index.Host, { key: '
|
|
168
|
+
return (index.h(index.Host, { key: '4b2a99c0d7e332b796909685860f7beea502fe4e' }, index.h("dialog", { key: '88d733e51cadc2258893e6524b0834c16224ac58', ref: (el) => (this.dialogEl = el), class: "flyout", "aria-labelledby": "heading", onClose: () => this.wmFlyoutCloseTriggered.emit(), onKeyDown: (ev) => this.handleKeyDown(ev) }, index.h("div", { key: '8f31242bf3d6d3e9323bf5502b454d2d9a1b42a5', tabindex: "0", class: "focus-trap", onFocus: () => this.lastFocusableEl.focus(), "aria-hidden": "true" }), this.renderHeader(), index.h("div", { key: 'b3880a2be67ca335752543f95dae9e0efd632e36', class: "flyout-content" }, index.h("slot", { key: '4703caea7c7075d20b56dfec49ef9c039395a4d5' })), this.renderFooter(), index.h("div", { key: '64281374edc41d209c1c67959f539a79c6d9c47b', tabindex: "0", class: "focus-trap", onFocus: () => this.handleEndBookendFocus(), "aria-hidden": "true" }))));
|
|
169
169
|
}
|
|
170
170
|
get el() { return index.getElement(this); }
|
|
171
171
|
static get watchers() { return {
|
|
@@ -117,7 +117,7 @@ const Input = class {
|
|
|
117
117
|
: `info error`;
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
|
-
return (index.h("div", { key: '
|
|
120
|
+
return (index.h("div", { key: 'c95455fb6668414ec09dbf301323f11fc7270e47', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, index.h("div", { key: 'de0ada2ec3c43c411924417df348ebe34a477e8e', class: "label-wrapper" }, index.h("label", { key: '04884ea505a88026aa311a38e30cbdf049b390c3', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => functions.hideTooltip() }, this.label, this.characterLimit && (index.h("span", { key: '1eedd2faffbfcc670ad3b87298465ab16328a1d3', class: "sr-only" }, " ", intl.globalMessages.getCharacterLimit(this.characterLimit)))), this.labelPosition !== "none" && this.requiredField && (index.h("div", { key: '51224587e46ef0132891dee01536d5cf07ea54f6', class: "required", "aria-hidden": "true" }, "*"))), index.h("div", { key: 'ed40b31ab7ab588f6165cc0af2ec52bb8d86509b', class: "inner-wrapper" }, index.h("div", { key: '67a06543806995e8b95db4186a4ea053d4d33b45', class: "text-after-wrapper" }, index.h("div", { key: '78ad09bd7849f5f7c422d36a6f01e156c9c6db5e', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (index.h("span", { key: '19a85ba9d2d9d17d634ac78179dbd90b378b2b7b', class: "symbol", id: "symbol-before" }, this.symbolBefore)), index.h("input", { key: 'f8a4b6d837abf040d9ca1237297836d066cd3f71', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (index.h("span", { key: '105dec7aa348f910b25db38b86eec650c943ef40', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (index.h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (index.h("span", { key: '2ea643f3a9bc736bb33200d5cf87600e14aa2f18', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (index.h("div", { key: '07e341cfc2b91a6bcf4880158aa735fd06ea51ea', id: "info", class: "info" }, this.info)), index.h("div", { key: '41f5fe8184dd6d15e868a9212c61f2a70dcdb9a9', id: "error", class: "error-message" }, this.errorMessage), index.h("div", { key: '860193d77a6576a5aec0c133f43bffe72a853e57', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
121
121
|
}
|
|
122
122
|
static get delegatesFocus() { return true; }
|
|
123
123
|
get el() { return index.getElement(this); }
|
|
@@ -129,9 +129,9 @@ const ModalPss = class {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (index.h(index.Host, { key: '
|
|
132
|
+
return (index.h(index.Host, { key: '5670d26d529d69cacf36c8755b5d328fb40c8938', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
|
|
133
133
|
this.focusLastElement.emit();
|
|
134
|
-
} }, index.h("div", { key: '
|
|
134
|
+
} }, index.h("div", { key: 'ca8956c8d821b6d12c501d8867a08d683a4bbb6a', class: "overlay", ref: (el) => (this.overlayEl = el) }), index.h("div", { key: 'fc2c63dc1264a0a29b3b049f76d363c1b2e6c8dc', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
135
135
|
this.focusFirstElement.emit();
|
|
136
136
|
} })));
|
|
137
137
|
}
|
|
@@ -174,7 +174,7 @@ const ModalPssFooter = class {
|
|
|
174
174
|
parentModal.emitSecondaryEvent();
|
|
175
175
|
}
|
|
176
176
|
render() {
|
|
177
|
-
return (index.h("div", { key: '
|
|
177
|
+
return (index.h("div", { key: '1fb457cc2cff44efb8abaa10575737b01ce70b20', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, index.h("div", { key: '62f807be71bdbac9c20569adf0a014de28d9df12', class: "wm-info", "aria-live": "polite" }, this.infoText), index.h("div", { key: '93437b4c93b2dc035f8d7d9b5533bed6093c6a5f', class: "wm-button-collection" }, this.secondaryText && (index.h("wm-button", { key: '1887d3cba0c762475837694f18c5804cb855d178', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), index.h("wm-button", { key: 'fe845d00a730f19f5f522b14a36dd397328d57d0', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
};
|
|
@@ -209,7 +209,7 @@ const ModalPssHeader = class {
|
|
|
209
209
|
// this.headingElement.focus();
|
|
210
210
|
// }
|
|
211
211
|
render() {
|
|
212
|
-
return (index.h(index.Host, { key: '
|
|
212
|
+
return (index.h(index.Host, { key: 'a3498139a3ec2cff1e40daeffaca7634cf5a484b' }, index.h("div", { key: '2380923b35880883b85ffce8ee58c887d23fe886', class: "wm-wrapper" }, index.h("div", { key: '7978d304ec86bd8df64c9d1e639216e5ff1edba4' }, index.h("h2", { key: 'e462040e5af094836cc38ec064faef408402fabf', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, index.h("span", { key: '1d5baad88628e7830c20983f40cf8de50b5b5f06', class: "subtitle" }, this.subheading))), index.h("wm-button", { key: 'e55d981a3e1dc49d3079b8b15661bdde227ff5e8', "button-type": "navigational", icon: "f156", tooltip: intl.globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
213
213
|
}
|
|
214
214
|
get el() { return index.getElement(this); }
|
|
215
215
|
};
|
|
@@ -144,11 +144,11 @@ const Modal = class {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (index.h("dialog", { key: '
|
|
147
|
+
return (index.h("dialog", { key: '332ceaa72a6cc1a73474d1c99c40498770a6ad27', class: `${"wm-" + this.modalType}`, "aria-labelledby": `wm-modal-heading-text-${this.uid}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, index.h("div", { key: '5016b11040de160c30d756c6e1b08ce1253e70a8', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
148
148
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
149
149
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
150
150
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
151
|
-
} }), !this.hasBrowserPopoverSupport && index.h("div", { key: '
|
|
151
|
+
} }), !this.hasBrowserPopoverSupport && index.h("div", { key: '903aac303f565e079e3453ac147e7148406da60a', class: "wm-tooltip" }), index.h("slot", { key: '5dfc482e5022d8da796fd2a24d5050861de5de22' }), index.h("div", { key: 'bab4f67544710ec4613160a60d948b8b6cee4bf2', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
152
152
|
this.focusFirstElement.emit();
|
|
153
153
|
} })));
|
|
154
154
|
}
|
|
@@ -195,7 +195,7 @@ const ModalFooter = class {
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
198
|
-
return (index.h("div", { key: '
|
|
198
|
+
return (index.h("div", { key: '01d9675f5ae7e80960cb1c3d966a7f662f24bd7d', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, index.h("div", { key: '066e6efe2c39d9873db4a9796e0666985583e99e', class: "wm-info", "aria-live": "polite" }, this.infoText), index.h("div", { key: '37ca1d537a4871193488abcbd625172db21da0b1', class: "wm-button-collection" }, this.secondaryText && (index.h("wm-button", { key: '1f8fa5963369b94c7e3dee94339772e155667913', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), index.h("wm-button", { key: '2eb0f06c4f1849b6e08eed2fa2a85952ae9cdc5f', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
|
|
199
199
|
}
|
|
200
200
|
get el() { return index.getElement(this); }
|
|
201
201
|
};
|
|
@@ -227,7 +227,7 @@ const ModalHeader = class {
|
|
|
227
227
|
parentModal.emitCloseEvent();
|
|
228
228
|
}
|
|
229
229
|
render() {
|
|
230
|
-
return (index.h(index.Host, { key: '
|
|
230
|
+
return (index.h(index.Host, { key: '9aa6f7ffd57907e412fb42f3ecc5fcb65ea37a48' }, index.h("div", { key: 'a404673f2172d71e1de498265d59abc37ecca16c', class: "wm-wrapper" }, index.h("div", { key: 'fdfd2a2d4b31effdd4742f520f2d00f6eb028b6b' }, index.h("h2", { key: 'b748ccfe42ccd233a918578251527fe78b112e41', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, index.h("span", { key: 'a09334a14fc61bc8756122e62741ed0d5e445820', class: "subtitle" }, this.subheading))), index.h("wm-button", { key: 'a89ca51890891a0534e97174fd841e13eb9dec68', "button-type": "navigational", icon: "#close", tooltip: intl.globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
231
231
|
}
|
|
232
232
|
get el() { return index.getElement(this); }
|
|
233
233
|
};
|
|
@@ -106,9 +106,9 @@ const Navigation = class {
|
|
|
106
106
|
} }));
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (index.h(index.Host, { key: '
|
|
109
|
+
return (index.h(index.Host, { key: '38f20313b339a81259115b164fee7a43f1c4efe5', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (index.h("div", { key: '8630d032614a02068dbcf650d304f6569e00df50', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), index.h("div", { key: '1657807eea4bb2687b5d18c4cb96448110cfa740', class: "tray" }, index.h("div", { key: '92ff3381acb3f959c3f63ca4d20b3e2e51cb81f7', class: "toggle-wrapper" }, index.h("wm-button", { key: 'e20e007c8d77d69ad529cd6d3cc4fafbdb1fc2f1', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? intl.globalMessages.close : intl.globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
110
110
|
this.open = !this.open;
|
|
111
|
-
} })), index.h("ul", { key: '
|
|
111
|
+
} })), index.h("ul", { key: 'e5ec6a2303ff3def1ddd4f3d5199c93a01895793', class: "navlist" }, index.h("slot", { key: 'b29379969f84e1cea3a3918ba97168420b1c4cbe' }))), this.isCollapsible && (index.h("div", { key: '176f724b791b7792caa5b5b519e79f48ccee2f6b', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
|
|
112
112
|
}
|
|
113
113
|
static get delegatesFocus() { return true; }
|
|
114
114
|
get el() { return index.getElement(this); }
|
|
@@ -157,7 +157,7 @@ const NavigationHamburger = class {
|
|
|
157
157
|
this.wmNavigationHamburgerClicked.emit();
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
|
-
return (index.h(index.Host, { key: '
|
|
160
|
+
return (index.h(index.Host, { key: '966bcd988f8ee460899519969a759ffb16459baa', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, index.h("button", { key: 'b1e5c3cd46106943102bf5509a9251953b164c56', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => functions.showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => functions.hideTooltip(), onFocus: () => this.isTabbing && functions.showTooltip("right", this.el, this.showNavMessage), onBlur: () => functions.hideTooltip(), onClick: () => this.handleClick() }, index.h("span", { key: 'a50f398cbdde9271cab48e6bc4eb9013fe8b4ba4', class: "svg-icon svg-menu" }))));
|
|
161
161
|
}
|
|
162
162
|
static get delegatesFocus() { return true; }
|
|
163
163
|
get el() { return index.getElement(this); }
|
|
@@ -176,7 +176,7 @@ const NavigationItem = class {
|
|
|
176
176
|
this.active = undefined;
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
|
-
return (index.h(index.Host, { key: '
|
|
179
|
+
return (index.h(index.Host, { key: '5c37c39e27b4602bcc53f2a1e118fb427b7a9a1a', role: "listitem" }, index.h("a", { key: 'ba3e7216ba1a5e7cb8d61dff61b353eeaaddee34', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, index.h("div", { key: '9a35a2bd7f3474a182e187f8fe4b35904cb00862', class: "icon", "aria-hidden": "true" }, index.h("slot", { key: 'fb6858dafb750fcee200e57757dd86bbfc05cd23' })), index.h("div", { key: '6b2c933f73fd07746c3f3bcb656f9fc9563e88cd', class: "text" }, this.text))));
|
|
180
180
|
}
|
|
181
181
|
static get delegatesFocus() { return true; }
|
|
182
182
|
get el() { return index.getElement(this); }
|