@watermarkinsights/ripple 5.23.0-alpha.1 → 5.23.0-alpha.5
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-d5560aa2.js → app-globals-7b533418.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-calendar.cjs.entry.js +25 -12
- package/dist/cjs/priv-chart-popover_2.cjs.entry.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/priv-option-list.cjs.entry.js +1 -1
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/wm-button.cjs.entry.js +2 -2
- 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-nested-select.cjs.entry.js +3 -3
- package/dist/cjs/wm-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
- package/dist/cjs/wm-pagination.cjs.entry.js +2 -2
- package/dist/cjs/wm-search.cjs.entry.js +3 -3
- package/dist/cjs/wm-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/wm-tag-input.cjs.entry.js +2 -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 +3 -3
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +10 -10
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +30 -12
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
- package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
- package/dist/collection/components/selects/wm-select/wm-select.js +4 -4
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
- package/dist/collection/components/wm-button/wm-button.css +14 -15
- 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.css +12 -17
- package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
- package/dist/collection/components/wm-search/wm-search.css +8 -8
- package/dist/collection/components/wm-search/wm-search.js +2 -2
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +10 -13
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +3 -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 +2 -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.css +23 -16
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/esm/{app-globals-2d0df1cb.js → app-globals-e00b1feb.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/priv-calendar.entry.js +26 -13
- package/dist/esm/priv-chart-popover_2.entry.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/priv-option-list.entry.js +1 -1
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +2 -2
- package/dist/esm/wm-button.entry.js +2 -2
- 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-nested-select.entry.js +3 -3
- package/dist/esm/wm-optgroup.entry.js +1 -1
- package/dist/esm/wm-option_2.entry.js +5 -5
- package/dist/esm/wm-pagination.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +3 -3
- package/dist/esm/wm-snackbar.entry.js +3 -3
- package/dist/esm/wm-tab-item_3.entry.js +7 -7
- package/dist/esm/wm-tag-input.entry.js +2 -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 +3 -3
- package/dist/esm-es5/{app-globals-2d0df1cb.js → app-globals-e00b1feb.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover_2.entry.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/priv-option-list.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-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.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-9dc0fcd6.system.entry.js → p-00a9e425.system.entry.js} +1 -1
- package/dist/ripple/p-02b50251.entry.js +1 -0
- package/dist/ripple/{p-26d92a96.system.entry.js → p-07b703b6.system.entry.js} +1 -1
- package/dist/ripple/{p-2f925b25.system.entry.js → p-08063ac2.system.entry.js} +1 -1
- package/dist/ripple/{p-377cf709.entry.js → p-0a226179.entry.js} +1 -1
- package/dist/ripple/{p-909f8797.entry.js → p-1641d37f.entry.js} +1 -1
- package/dist/ripple/p-1720b84f.entry.js +1 -0
- package/dist/ripple/{p-2e71fe42.entry.js → p-25c56231.entry.js} +1 -1
- package/dist/ripple/{p-15ab0cf9.system.entry.js → p-278accdb.system.entry.js} +1 -1
- package/dist/ripple/{p-78edd963.entry.js → p-30f1afd4.entry.js} +1 -1
- package/dist/ripple/{p-874cc540.system.js → p-38a6a099.system.js} +1 -1
- package/dist/ripple/{p-8d858325.system.entry.js → p-4934d53f.system.entry.js} +1 -1
- package/dist/ripple/{p-1c9c0cf2.system.entry.js → p-4eb3a4a9.system.entry.js} +1 -1
- package/dist/ripple/{p-1124978e.system.entry.js → p-55cdf672.system.entry.js} +1 -1
- package/dist/ripple/{p-84d88288.entry.js → p-5b0fe876.entry.js} +1 -1
- package/dist/ripple/{p-32f95573.system.entry.js → p-5f822c17.system.entry.js} +1 -1
- package/dist/ripple/{p-34574dc8.system.entry.js → p-6a6e4645.system.entry.js} +1 -1
- package/dist/ripple/{p-576f4d06.system.entry.js → p-6c01961b.system.entry.js} +1 -1
- package/dist/ripple/p-719ade3d.system.entry.js +1 -0
- package/dist/ripple/{p-35ef7bba.entry.js → p-73f81790.entry.js} +1 -1
- package/dist/ripple/{p-d4877cbc.system.entry.js → p-7457705b.system.entry.js} +1 -1
- package/dist/ripple/{p-0b2a0825.system.entry.js → p-74b5624a.system.entry.js} +1 -1
- package/dist/ripple/p-7616ddda.system.entry.js +1 -0
- package/dist/ripple/{p-bf83369d.system.entry.js → p-79e2e6f0.system.entry.js} +1 -1
- package/dist/ripple/{p-cf845266.entry.js → p-7e56aca4.entry.js} +1 -1
- package/dist/ripple/{p-c4e4a44c.entry.js → p-7f333b52.entry.js} +1 -1
- package/dist/ripple/{p-b089276a.entry.js → p-828afdbe.entry.js} +1 -1
- package/dist/ripple/{p-bc271e17.system.entry.js → p-83a41243.system.entry.js} +1 -1
- package/dist/ripple/{p-0ef91339.entry.js → p-842dcfd6.entry.js} +1 -1
- package/dist/ripple/{p-f2a1f116.entry.js → p-84d41f0e.entry.js} +1 -1
- package/dist/ripple/{p-7e0efb95.entry.js → p-8c0ba5b7.entry.js} +1 -1
- package/dist/ripple/{p-b313c3d3.system.entry.js → p-8f4fcdf4.system.entry.js} +1 -1
- package/dist/ripple/{p-d62f5fd3.entry.js → p-95677d9b.entry.js} +1 -1
- package/dist/ripple/{p-0d03f838.js → p-98b9e488.js} +1 -1
- package/dist/ripple/{p-966f2c9e.entry.js → p-9bcdb6ae.entry.js} +1 -1
- package/dist/ripple/{p-1802aedc.system.entry.js → p-a1f2ce53.system.entry.js} +1 -1
- package/dist/ripple/p-a35a0e24.entry.js +1 -0
- package/dist/ripple/{p-f6d60ed8.system.entry.js → p-acdfbdb8.system.entry.js} +1 -1
- package/dist/ripple/{p-21114d99.entry.js → p-aecb621d.entry.js} +1 -1
- package/dist/ripple/{p-575f24e8.system.entry.js → p-b200dc04.system.entry.js} +1 -1
- package/dist/ripple/{p-6646191c.entry.js → p-b7f12170.entry.js} +1 -1
- package/dist/ripple/{p-d6ca433c.entry.js → p-b9a55887.entry.js} +1 -1
- package/dist/ripple/{p-0ad87064.system.entry.js → p-bf42cf44.system.entry.js} +1 -1
- package/dist/ripple/{p-8aee3856.system.js → p-c9e6cb3d.system.js} +1 -1
- package/dist/ripple/{p-3e10eb3d.entry.js → p-d28816c9.entry.js} +1 -1
- package/dist/ripple/{p-cab65a05.system.entry.js → p-d404695d.system.entry.js} +1 -1
- package/dist/ripple/{p-21480984.entry.js → p-d4fe10ec.entry.js} +1 -1
- package/dist/ripple/{p-0abc1b51.system.entry.js → p-d5e5c55a.system.entry.js} +1 -1
- package/dist/ripple/{p-6394d25d.entry.js → p-dddeb54c.entry.js} +1 -1
- package/dist/ripple/{p-6d375c14.system.entry.js → p-e2a2f3ca.system.entry.js} +1 -1
- package/dist/ripple/{p-8c20ccd2.entry.js → p-e7615737.entry.js} +1 -1
- package/dist/ripple/{p-60aa6bec.system.entry.js → p-e7988695.system.entry.js} +1 -1
- package/dist/ripple/{p-ad8132aa.entry.js → p-f63ef9c1.entry.js} +1 -1
- package/dist/ripple/{p-8888e7f0.system.entry.js → p-fab7195d.system.entry.js} +1 -1
- package/dist/ripple/{p-51cd1c0f.entry.js → p-ff70ddd9.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +1 -1
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
- package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +5 -1
- package/package.json +3 -3
- package/dist/ripple/p-1430f504.entry.js +0 -1
- package/dist/ripple/p-157468c5.entry.js +0 -1
- package/dist/ripple/p-3989274d.system.entry.js +0 -1
- package/dist/ripple/p-7ee3f5ab.system.entry.js +0 -1
- package/dist/ripple/p-b4ce79cd.entry.js +0 -1
|
@@ -113,7 +113,7 @@ const Input = class {
|
|
|
113
113
|
: `info error`;
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h("div", { key: '
|
|
116
|
+
return (h("div", { key: '440534026de67cf3d4a3988a117e56947346fb5c', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: 'd0ae8862c9dcb63b77cc14890c652b06ad9f3c27', class: "label-wrapper" }, h("label", { key: '4e24aab7500503bd7eb98e077225769edba96f88', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: 'b004a2dd83dcdcfce1ecf3bc1d1d88a3ef59f96f', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.requiredField && (h("div", { key: '6bd8f84d7271ded3c08f07546e0a787527ff75af', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '8c2cbf7b3e33ecce61635274b411dae56a633af8', class: "inner-wrapper" }, h("div", { key: 'ee880eece5ac3c6b7d24316f21aa9c09bcb3e33b', class: "text-after-wrapper" }, h("div", { key: 'e5208c4ed4cbc34da95171a5f748901839373ae1', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '316f86011c89529f101769234f7cbd914eccc174', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '020bc74fd67239bfd6da162bba9c9fd3a7cf99c4', 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 && (h("span", { key: '1f8fb34695d89d882d3c04690b1196b6b1bd9a26', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: '0dbb52627a7fbb274b57b2191e6b7ca0614f40af', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: 'ca7f5a76086330bab897afa71233943bd97ee17b', id: "info", class: "info" }, this.info)), h("div", { key: '6ae93c211c1ac945aceea3a88cf8be773ff5860b', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '67ae836cbb27cb0c17531bf9a347cb64acb81197', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
117
117
|
}
|
|
118
118
|
static get delegatesFocus() { return true; }
|
|
119
119
|
get el() { return getElement(this); }
|
|
@@ -125,9 +125,9 @@ const ModalPss = class {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
render() {
|
|
128
|
-
return (h(Host, { key: '
|
|
128
|
+
return (h(Host, { key: '6a14c87f1f275d750663b26645cac0fb90f4e591', 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: () => {
|
|
129
129
|
this.focusLastElement.emit();
|
|
130
|
-
} }, h("div", { key: '
|
|
130
|
+
} }, h("div", { key: '0f5745cd9ec6f6ebbb79f48c40fd2284c8d1739e', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: '23784657cf165f160a396b14247f473e055f8b04', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
131
131
|
this.focusFirstElement.emit();
|
|
132
132
|
} })));
|
|
133
133
|
}
|
|
@@ -170,7 +170,7 @@ const ModalPssFooter = class {
|
|
|
170
170
|
parentModal.emitSecondaryEvent();
|
|
171
171
|
}
|
|
172
172
|
render() {
|
|
173
|
-
return (h("div", { key: '
|
|
173
|
+
return (h("div", { key: '791d8fddb2121d453a1e7221059342c9241a54d0', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '581dc035d64b04d0b684e3ce8e641407d62daf4f', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: 'fef39bd6ce9d01698476a123b4a0f3ed72434945', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '3cc32b27ae12037dbd9ae5d975d107bd5775272c', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '7188091c11e32f7a2d4372512a7c901069783405', "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))));
|
|
174
174
|
}
|
|
175
175
|
get el() { return getElement(this); }
|
|
176
176
|
};
|
|
@@ -205,7 +205,7 @@ const ModalPssHeader = class {
|
|
|
205
205
|
// this.headingElement.focus();
|
|
206
206
|
// }
|
|
207
207
|
render() {
|
|
208
|
-
return (h(Host, { key: '
|
|
208
|
+
return (h(Host, { key: '2d4dd3bbbb5413443b124fadc058195f5676abb7' }, h("div", { key: '8d56fc348b7fb879c58f1bd458ae8a9927c90bd7', class: "wm-wrapper" }, h("div", { key: '3f0601ddf471a1ac41dcbaf091dc8a797518e4c5' }, h("h2", { key: 'cb4dc227bc7b4bc8181d9bdcc503a7132df2b3f8', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '8c6fb51bd5f40211e3ca56f0e302e564e1002ece', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'b91805d20a64b345b7708b2732f63057c2ce18a3', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
209
209
|
}
|
|
210
210
|
get el() { return getElement(this); }
|
|
211
211
|
};
|
|
@@ -127,11 +127,11 @@ const Modal = class {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h("dialog", { key: '
|
|
130
|
+
return (h("dialog", { key: '7e79523b945c00909991a3dcfecfda79e92c882b', class: `${"wm-" + this.modalType}`, "aria-labelledby": `wm-modal-heading-text-${this.uid}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'c032006260d0c083a5b796e20705cb99f6fa44b9', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
131
131
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
132
132
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
133
133
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
134
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { key: '
|
|
134
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: '384ed4e4fa347e50d1f9c78a3c1d84d6dab9f34a', class: "wm-tooltip" }), h("slot", { key: '6ec6ba8b0b90db721ff1e29db8f259d2f1cff6d0' }), h("div", { key: '3795b7025286e5d4f542cfccad9c6851d2f22a8d', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
135
135
|
this.focusFirstElement.emit();
|
|
136
136
|
} })));
|
|
137
137
|
}
|
|
@@ -178,7 +178,7 @@ const ModalFooter = class {
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (h("div", { key: '
|
|
181
|
+
return (h("div", { key: '09a767c503fd0c29d548b626ce5d4e9f2dc05fab', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '2fb279caa8ab8d71959d218dbae28c614acce8e5', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '5f182514fc8bfa243ff630f6638ae27500f89c21', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: 'b27dc355a2794a0ca63774a80132aee49809762a', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: 'd03404a339209bae2fbd181227ac18c547667570', "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))));
|
|
182
182
|
}
|
|
183
183
|
get el() { return getElement(this); }
|
|
184
184
|
};
|
|
@@ -210,7 +210,7 @@ const ModalHeader = class {
|
|
|
210
210
|
parentModal.emitCloseEvent();
|
|
211
211
|
}
|
|
212
212
|
render() {
|
|
213
|
-
return (h(Host, { key: '
|
|
213
|
+
return (h(Host, { key: 'fdd199695b2ceb94f64a277ceae16c596b406071' }, h("div", { key: '40e435da7701bf5a174028a153b5a040338ec0ed', class: "wm-wrapper" }, h("div", { key: '51f7b66ec56a8e977bdc75e84734a63b869ba53b' }, h("h2", { key: '23abdc0aba1d5ee84a66c6cf9facaf6c61f8ccc2', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: 'bcbb5454236dc3e51f66e08ce156a28a13335eb7', class: "subtitle" }, this.subheading))), h("wm-button", { key: '9390af056a9a0ce8da6d8387409c73d6b5535942', "button-type": "navigational", icon: "#close", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
214
214
|
}
|
|
215
215
|
get el() { return getElement(this); }
|
|
216
216
|
};
|
|
@@ -102,9 +102,9 @@ const Navigation = class {
|
|
|
102
102
|
} }));
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '40e8ea08dd4de4b325b8157563b2053448ca90f5', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '906975fbaad775dde78cf94e7ace20caa32027f6', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '29a269e61ef8ca8bcccf1d4bbfe7d3c6f8ba2758', class: "tray" }, h("div", { key: '38b207f710cc26163b7eff2ad3eca963f5bdab3c', class: "toggle-wrapper" }, h("wm-button", { key: 'f5bae797529433205ec8abd0f025db335277e3df', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
106
106
|
this.open = !this.open;
|
|
107
|
-
} })), h("ul", { key: '
|
|
107
|
+
} })), h("ul", { key: '956f80bb6f1f873186e9787836c0748fbd6de708', class: "navlist" }, h("slot", { key: '4846ab62c5a8cd2d76b3b74f6fa9370ea12ff7de' }))), this.isCollapsible && (h("div", { key: '9639e7b704cc88fd8227aa4a30cd88d21951c015', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
|
|
108
108
|
}
|
|
109
109
|
static get delegatesFocus() { return true; }
|
|
110
110
|
get el() { return getElement(this); }
|
|
@@ -153,7 +153,7 @@ const NavigationHamburger = class {
|
|
|
153
153
|
this.wmNavigationHamburgerClicked.emit();
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (h(Host, { key: '
|
|
156
|
+
return (h(Host, { key: '37f512ffa18761c2a10204012171d5ba352c28ef', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: '755bce6170da2475c2bf6ef648cf16498ab60eeb', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: 'e66062eb9341bad68269b6e446a7b07478e9221a', class: "svg-icon svg-menu" }))));
|
|
157
157
|
}
|
|
158
158
|
static get delegatesFocus() { return true; }
|
|
159
159
|
get el() { return getElement(this); }
|
|
@@ -172,7 +172,7 @@ const NavigationItem = class {
|
|
|
172
172
|
this.active = undefined;
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: '4e606df3119b6f8ccaed56affc38852ceaea8c41', role: "listitem" }, h("a", { key: '7a29df7fc9f86c11322f05aef0640bd734074b36', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: 'd3d72b08a32e41f4fb27122d5dda1ca1a456e822', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'a92895fc556c0013348b5053c5eb53f18f70a8d5' })), h("div", { key: '341345b952f853c45253f61debed8cbff5bd5bdd', class: "text" }, this.text))));
|
|
176
176
|
}
|
|
177
177
|
static get delegatesFocus() { return true; }
|
|
178
178
|
get el() { return getElement(this); }
|
|
@@ -297,16 +297,16 @@ const NestedSelect = class {
|
|
|
297
297
|
this.isExpanded ? this.close() : this.open();
|
|
298
298
|
},
|
|
299
299
|
};
|
|
300
|
-
return (h(Host, { key: '
|
|
300
|
+
return (h(Host, { key: 'f9d5f5938c7616ca8a21830e26fa97389bedce0e', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: '101141bb02e455b57b0fc7a32cd14767281de1fe', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'deb21859c85dfdae5e9449785417142463fa653d', class: "label-wrapper" }, h("label", { key: 'ec765e72aac1232a99585c65d4187a390f675235', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
|
|
301
301
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
302
|
-
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : ("")), h("div", { key: '
|
|
302
|
+
this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : ("")), h("div", { key: '0735159dcea1c3cdf9145e18b224fedf90cd3ed7', class: "button-wrapper" }, h("button", Object.assign({ key: '4326702188583f9c210257f7e95dcee3d501825e' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev) }), h("span", { key: 'f3fb5f069b0ec70419c0ade0a1c520e8da79c453', class: "overflowcontrol" }, h("span", { key: '4da352b8a0312287ae27205731c7d46ff2cac88e', class: "button-text" }, this.renderButtonText())), h("div", { key: 'f85e648f0da497df4d906a262bba62b2fbe3c5db', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '7ab45a7201b3375d59ddef5ac86a2c0fea438662', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'a3153d330243404ed4c4dd931a182cc47f2a5672', class: `dropdown ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, this.renderClearSelectionButton(), h("div", { key: 'e106169ebfbe226b886d972f41e3a93d88ed8f26', ref: (el) => (this.menuEl = el), id: "menu", role: "menu", class: this.isGroupExpanded ? "hidden" : "", style: { "--max-height": this.constrainedMaxHeight }, tabIndex: -1 }, this.optgroupEls.map((optgroupEl) => {
|
|
303
303
|
return (h("button", { class: `menuitem group-btn ${optgroupEl.disabled ? "disabled" : ""}`, role: "menuitem", "data-label": optgroupEl.label, tabindex: -1, "aria-disabled": optgroupEl.disabled, onClick: () => {
|
|
304
304
|
if (!optgroupEl.disabled) {
|
|
305
305
|
optgroupEl.isExpanded = !optgroupEl.isExpanded;
|
|
306
306
|
forceUpdate(this.el);
|
|
307
307
|
}
|
|
308
308
|
}, onKeyDown: (ev) => this.handleMenuitemKeydown(ev) }, h("div", { class: "option-text" }, h("span", null, optgroupEl.label), this.renderSelectionCount(optgroupEl), optgroupEl.disabled && h("div", { class: "disabled-indication" }, "Disabled")), h("div", { class: "svg-icon svg-next" })));
|
|
309
|
-
})), h("div", { key: '
|
|
309
|
+
})), h("div", { key: 'ba3ad38b66537f365379921ebcec8f630c934a93', class: `option-list-wrapper ${this.isGroupExpanded ? "" : "hidden"}` }, h("slot", { key: 'b0083c7e49ba59f7a36459b599f79a89121c09e5' }))), h("div", { key: '4ccb451822e5ace5e34a96f2560d936b6c02b9ad', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage))), h("div", { key: 'cdca96e717a912c022096a9c781199fabc040a43', id: "nestedselect-announcement", "aria-live": "assertive", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
310
310
|
}
|
|
311
311
|
static get delegatesFocus() { return true; }
|
|
312
312
|
get el() { return getElement(this); }
|
|
@@ -57,7 +57,7 @@ const Optgroup = class {
|
|
|
57
57
|
handleDisabledAttribute(this.el, this.isDisabled);
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'f26edb066ca14bbad62dc07198651d180be2ed3b' }, h("div", { key: '202a27a0d33c34b861e28cfe08407225589905e9', class: `list-wrapper` }, h("priv-option-list", { key: '68a0f5992c24ee62ca7539ba900afeda25f313e5', ref: (el) => (this.optionListEl = el), multiple: this.parentNestedSelect.multiple, search: this.parentNestedSelect.search, maxHeight: this.parentNestedSelect.constrainedMaxHeight, searchPlaceholder: this.parentNestedSelect.searchPlaceholder, optgroupLabel: this.label, selectAll: this.parentNestedSelect.selectAll, onOptionListAllSelected: () => this.wmOptgroupAllSelected.emit(), onOptionListAllDeselected: () => this.wmOptgroupAllDeselected.emit() }, h("slot", { key: '8f445e06b048ccd6e49627beb989be9b6c55d651' })))));
|
|
61
61
|
}
|
|
62
62
|
static get delegatesFocus() { return true; }
|
|
63
63
|
get el() { return getElement(this); }
|
|
@@ -162,7 +162,7 @@ const Option = class {
|
|
|
162
162
|
this.parentOptionList.addEventListener("optionListSearchChanged", (ev) => this.handleSearch(ev));
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '0a31affb1b8ed02ba38fce11d11b4b0919b97d5c', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: 'b7ad9eef86983ba3ace177522f3a42a55a71bfdc', class: `option-wrapper ${this.parentOptionList.multiple ? "checkbox" : ""}` }, this.parentOptionList.multiple && (h("div", { key: '5876611c20af1169794db93b30577e48a6ce63df', class: `checkbox svg-icon ${this.selected ? "svg-checkbox-selected" : "svg-checkbox-blank"}` })), h("span", { key: 'aef00aca54b33552892d73c51f70c273d9ad4088', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: 'fb6306f9014205ce6f1d2a39ecdbd3f36141584d', class: "sr-only" }, this.el.textContent)), h("div", { key: 'af1894e912632a93255b5f90412990f6c0f0924b', class: "subinfo" }, this.subinfo)));
|
|
166
166
|
}
|
|
167
167
|
get el() { return getElement(this); }
|
|
168
168
|
static get watchers() { return {
|
|
@@ -511,14 +511,14 @@ const Select = class {
|
|
|
511
511
|
}
|
|
512
512
|
render() {
|
|
513
513
|
const showSubinfo = !this.multiple && this.selectedOptions.length > 0 && this.selectedOptions[0].subinfo;
|
|
514
|
-
return (h(Host, { key: '
|
|
514
|
+
return (h(Host, { key: '32eda81294981e2d46b283c469f7373f9984dbdd', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: 'dc3e7f782326beda2517cf8878516d4d23576bf3', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '0ddf3269d861b1d252876b587346739e978117fe', class: "label-wrapper" }, h("label", { key: '78493121ecada1718c1f0de42cdc09289d000bc9', class: "label", id: "label", htmlFor: "selectbtn", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label),
|
|
515
515
|
// we can't use aria-required because the listbox is in a sub-component and it is not announced
|
|
516
|
-
this.requiredField && (h("span", { key: '
|
|
516
|
+
this.requiredField && (h("span", { key: 'dfa3603962893e5fe6542924561fbe31828b694b', class: "required" }, h("span", { key: '478a6d2c7e9bb56dea7165a1e762bc3a136c7c1d', class: "sr-only" }, globalMessages.requiredField), h("span", { key: '8f3115f4a09dc109ed4580be49e3a704bd643ca0', "aria-hidden": "true" }, "*")))), h("div", { key: 'cbe6cc0600f11352dfc81a5a991805e757256906', class: "button-wrapper" }, h("button", { key: 'e943b99068a8822a65d8cc8ae6ab61999ac8a511', id: "selectbtn", disabled: this.isDisabled, "aria-labelledby": "label selectbtn", "aria-describedby": "error", popoverTarget: "dropdown", popoverTargetAction: "toggle", class: "displayedoption", ref: (el) => (this.buttonEl = el) }, h("span", { key: 'e914e5cc9eabfe311e4ed57ee92744b14e3828e4', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: '095981a63cea28e0dbcdc269401eb511694739f6', class: "button-text" }, this.setButtonText()), showSubinfo && h("span", { key: 'd006aadc9c414abf0dfefc05d8fbff9c0fc1c370', class: "subinfo" }, this.selectedOptions[0].subinfo)), h("div", { key: '77054ec91448bc021ce4a4bacfa5a1a8130e34d3', class: `expand-icon svg-icon ${this.isExpanded ? "svg-expand-less" : "svg-expand-more"}` }), this.renderOverflowCount(), h("div", { key: '1719132ac678c1a8a530e3b7f2fc3c67cd7c73ae', ref: (el) => (this.measurementAreaEl = el), class: "measurement-area", "aria-hidden": "true" })), h("div", { key: 'dc968de113b89cdf848d7a231b097a4d2308b357',
|
|
517
517
|
// is-open is for the CSS transition in modern browsers
|
|
518
518
|
// hidden is to wait for position calculations in Firefox
|
|
519
519
|
class: `dropdown ${this.isExpanded ? "is-open" : ""} ${this.isHidden ? "hidden" : ""} ${this.openUp ? "upward" : ""}`, id: "dropdown", popover: "auto", ref: (el) => (this.dropdownEl = el),
|
|
520
520
|
// @ts-ignore -- don't tell typescript but we're in the future
|
|
521
|
-
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '
|
|
521
|
+
onToggle: (ev) => this.handleToggle(ev) }, h("priv-option-list", { key: '64518e2aa66f3373417506a4126fcec27de552f5', ref: (el) => (this.optionListEl = el), multiple: this.multiple, search: this.search, selectAll: this.selectAll, maxHeight: this.maxHeight, searchPlaceholder: this.searchPlaceholder, onOptionListCloseRequested: () => {
|
|
522
522
|
this.dropdownEl.hidePopover();
|
|
523
523
|
}, onOptionListAllSelected: () => {
|
|
524
524
|
this.returnFocus = true;
|
|
@@ -526,7 +526,7 @@ const Select = class {
|
|
|
526
526
|
}, onOptionListAllDeselected: () => {
|
|
527
527
|
this.returnFocus = true;
|
|
528
528
|
this.wmSelectAllDeselected.emit();
|
|
529
|
-
} }, h("slot", { key: '
|
|
529
|
+
} }, h("slot", { key: '138d16484638a094fd0664982e30149888cc3270' }))), h("div", { key: 'fc644fe425fc73337558af6dc809893e0574ba9a', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: 'a6f373b32a1dc83a788bfd17ee410e23a6d53001', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
|
|
530
530
|
}
|
|
531
531
|
static get delegatesFocus() { return true; }
|
|
532
532
|
get el() { return getElement(this); }
|