@watermarkinsights/ripple 5.28.1 → 5.29.0-alpha.2
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-0b8313f1.js → app-globals-4965a440.js} +1 -1
- package/dist/cjs/{chartFunctions-51660576.js → chartFunctions-608adb05.js} +1 -1
- package/dist/cjs/{functions-2041a1d8.js → functions-b188d5b3.js} +0 -32
- package/dist/cjs/{intl-02a445a1.js → intl-01531391.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-calendar.cjs.entry.js +4 -4
- package/dist/cjs/priv-chart-popover-old.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/ripple.cjs.js +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +5 -5
- package/dist/cjs/wm-button.cjs.entry.js +2 -2
- package/dist/cjs/wm-chart-bar.cjs.entry.js +3 -3
- package/dist/cjs/wm-chart-column.cjs.entry.js +3 -3
- package/dist/cjs/wm-chart.cjs.entry.js +3 -3
- package/dist/cjs/wm-date-range.cjs.entry.js +153 -115
- package/dist/cjs/wm-datepicker.cjs.entry.js +128 -91
- package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
- package/dist/cjs/wm-file.cjs.entry.js +2 -2
- package/dist/cjs/wm-flyout.cjs.entry.js +3 -3
- package/dist/cjs/wm-input.cjs.entry.js +3 -3
- package/dist/cjs/wm-line-chart.cjs.entry.js +3 -3
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-modal_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
- package/dist/cjs/wm-nested-select.cjs.entry.js +5 -5
- package/dist/cjs/wm-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/wm-option_2.cjs.entry.js +7 -7
- package/dist/cjs/wm-pagination.cjs.entry.js +3 -3
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/wm-search.cjs.entry.js +5 -5
- package/dist/cjs/wm-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/wm-tag-input.cjs.entry.js +4 -4
- package/dist/cjs/wm-tag-option.cjs.entry.js +1 -1
- package/dist/cjs/wm-textarea.cjs.entry.js +3 -3
- package/dist/cjs/wm-timepicker.cjs.entry.js +3 -3
- package/dist/cjs/wm-toggletip.cjs.entry.js +4 -4
- package/dist/cjs/wm-uploader.cjs.entry.js +4 -4
- package/dist/collection/components/datepickers/datepicker.css +4 -0
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +38 -21
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
- package/dist/collection/components/datepickers/wm-date-range.js +157 -140
- package/dist/collection/components/datepickers/wm-datepicker.js +132 -115
- 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 +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.css +2 -0
- 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 +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.js +2 -2
- package/dist/collection/global/functions.js +0 -30
- package/dist/esm/{app-globals-b5a717cb.js → app-globals-eba3c8fb.js} +1 -1
- package/dist/esm/{chartFunctions-ba9dc8bc.js → chartFunctions-4bc77b76.js} +1 -1
- package/dist/esm/{functions-2c952c7e.js → functions-de887809.js} +1 -31
- package/dist/esm/{intl-28a56253.js → intl-56b47a7b.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/priv-calendar.entry.js +4 -4
- package/dist/esm/priv-chart-popover-old.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/ripple.js +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +5 -5
- package/dist/esm/wm-button.entry.js +2 -2
- package/dist/esm/wm-chart-bar.entry.js +3 -3
- package/dist/esm/wm-chart-column.entry.js +3 -3
- package/dist/esm/wm-chart.entry.js +3 -3
- package/dist/esm/wm-date-range.entry.js +153 -115
- package/dist/esm/wm-datepicker.entry.js +128 -91
- package/dist/esm/wm-file-list.entry.js +1 -1
- package/dist/esm/wm-file.entry.js +2 -2
- package/dist/esm/wm-flyout.entry.js +3 -3
- package/dist/esm/wm-input.entry.js +3 -3
- package/dist/esm/wm-line-chart.entry.js +3 -3
- package/dist/esm/wm-modal-pss_3.entry.js +6 -6
- package/dist/esm/wm-modal_3.entry.js +6 -6
- package/dist/esm/wm-navigation_3.entry.js +6 -6
- package/dist/esm/wm-navigator.entry.js +1 -1
- package/dist/esm/wm-nested-select.entry.js +5 -5
- package/dist/esm/wm-optgroup.entry.js +2 -2
- package/dist/esm/wm-option_2.entry.js +7 -7
- package/dist/esm/wm-pagination.entry.js +3 -3
- package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
- package/dist/esm/wm-search.entry.js +5 -5
- package/dist/esm/wm-snackbar.entry.js +4 -4
- package/dist/esm/wm-tab-item_3.entry.js +7 -7
- package/dist/esm/wm-tag-input.entry.js +4 -4
- package/dist/esm/wm-tag-option.entry.js +1 -1
- package/dist/esm/wm-textarea.entry.js +3 -3
- package/dist/esm/wm-timepicker.entry.js +3 -3
- package/dist/esm/wm-toggletip.entry.js +4 -4
- package/dist/esm/wm-uploader.entry.js +4 -4
- package/dist/esm-es5/app-globals-eba3c8fb.js +1 -0
- package/dist/esm-es5/{chartFunctions-ba9dc8bc.js → chartFunctions-4bc77b76.js} +1 -1
- package/dist/esm-es5/{functions-2c952c7e.js → functions-de887809.js} +1 -1
- package/dist/esm-es5/{intl-28a56253.js → intl-56b47a7b.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-old.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-chart-bar.entry.js +1 -1
- package/dist/esm-es5/wm-chart-column.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.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-line-chart.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-navigator.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-progress-indicator_3.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-tag-option.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-4b1f77ac.entry.js → p-03a6850a.entry.js} +1 -1
- package/dist/ripple/{p-1827c07b.system.entry.js → p-0c3162d5.system.entry.js} +1 -1
- package/dist/ripple/{p-39c777f2.system.entry.js → p-0ec71f08.system.entry.js} +1 -1
- package/dist/ripple/{p-b47869f8.system.entry.js → p-1032c0db.system.entry.js} +1 -1
- package/dist/ripple/{p-aee33406.system.entry.js → p-13152ac1.system.entry.js} +1 -1
- package/dist/ripple/p-1318ae67.entry.js +1 -0
- package/dist/ripple/{p-6ec064ab.system.entry.js → p-137bf0c0.system.entry.js} +1 -1
- package/dist/ripple/{p-9a121a9f.entry.js → p-13bb6faf.entry.js} +1 -1
- package/dist/ripple/{p-a0f67c24.entry.js → p-16ff8110.entry.js} +1 -1
- package/dist/ripple/{p-1cf4994d.system.entry.js → p-1825d519.system.entry.js} +1 -1
- package/dist/ripple/{p-587c8c0b.entry.js → p-18417851.entry.js} +1 -1
- package/dist/ripple/p-1c655f6b.entry.js +1 -0
- package/dist/ripple/{p-3b335c30.system.entry.js → p-1ce77857.system.entry.js} +1 -1
- package/dist/ripple/{p-d8500a20.entry.js → p-1d76061a.entry.js} +1 -1
- package/dist/ripple/{p-6689ae84.system.entry.js → p-22b57f73.system.entry.js} +1 -1
- package/dist/ripple/{p-d4136c40.system.entry.js → p-24dfbf1d.system.entry.js} +1 -1
- package/dist/ripple/{p-2524203b.system.entry.js → p-28996d67.system.entry.js} +1 -1
- package/dist/ripple/{p-2e87a994.system.entry.js → p-30118d12.system.entry.js} +1 -1
- package/dist/ripple/{p-357b24b6.entry.js → p-32f3581a.entry.js} +1 -1
- package/dist/ripple/p-334d8711.system.js +1 -0
- package/dist/ripple/{p-640d450d.js → p-3c8c5933.js} +1 -1
- package/dist/ripple/{p-76646853.system.entry.js → p-436bf381.system.entry.js} +1 -1
- package/dist/ripple/{p-3fde7b17.system.entry.js → p-43843597.system.entry.js} +1 -1
- package/dist/ripple/{p-81eafe68.entry.js → p-48b596ae.entry.js} +1 -1
- package/dist/ripple/{p-c3710308.system.js → p-4bab5360.system.js} +1 -1
- package/dist/ripple/{p-bbaa0295.entry.js → p-4ff0db4d.entry.js} +1 -1
- package/dist/ripple/{p-c071456c.system.entry.js → p-57f1bafd.system.entry.js} +1 -1
- package/dist/ripple/{p-01055d26.entry.js → p-5b0e9165.entry.js} +1 -1
- package/dist/ripple/p-600b72ad.system.js +1 -0
- package/dist/ripple/{p-1a78f028.system.entry.js → p-6266fcbf.system.entry.js} +1 -1
- package/dist/ripple/{p-13730e2a.system.entry.js → p-646e22d3.system.entry.js} +1 -1
- package/dist/ripple/{p-7c5c3ec3.system.entry.js → p-6d2af8d9.system.entry.js} +1 -1
- package/dist/ripple/{p-ff2bf89a.system.entry.js → p-6d46f775.system.entry.js} +1 -1
- package/dist/ripple/{p-ca839c73.entry.js → p-6de0efee.entry.js} +1 -1
- package/dist/ripple/{p-2054d617.entry.js → p-7833db63.entry.js} +1 -1
- package/dist/ripple/p-7b7c32af.entry.js +1 -0
- package/dist/ripple/{p-ba6c13c7.entry.js → p-817aa29c.entry.js} +1 -1
- package/dist/ripple/{p-63c804c2.entry.js → p-82c9bd47.entry.js} +1 -1
- package/dist/ripple/{p-5bf97600.entry.js → p-8480138d.entry.js} +1 -1
- package/dist/ripple/{p-23750a8d.entry.js → p-85ef702d.entry.js} +1 -1
- package/dist/ripple/{p-e559b093.system.entry.js → p-86bcd942.system.entry.js} +1 -1
- package/dist/ripple/{p-f52ff657.entry.js → p-8799bce9.entry.js} +1 -1
- package/dist/ripple/{p-037e3c7a.entry.js → p-8dcc8c0c.entry.js} +1 -1
- package/dist/ripple/{p-8647ef67.entry.js → p-8fa572a8.entry.js} +1 -1
- package/dist/ripple/{p-18761ad7.js → p-904545cc.js} +1 -1
- package/dist/ripple/{p-57b566af.system.entry.js → p-90cb5d27.system.entry.js} +1 -1
- package/dist/ripple/p-9202ef69.system.entry.js +1 -0
- package/dist/ripple/{p-26b5b04e.system.entry.js → p-9f971522.system.entry.js} +1 -1
- package/dist/ripple/p-a235bc17.js +1 -0
- package/dist/ripple/{p-7851b16f.system.entry.js → p-a5dc49c1.system.entry.js} +1 -1
- package/dist/ripple/{p-fc9b09ba.system.entry.js → p-a73fb160.system.entry.js} +1 -1
- package/dist/ripple/{p-dcff6224.system.entry.js → p-a9580e7a.system.entry.js} +1 -1
- package/dist/ripple/p-b04a6351.entry.js +1 -0
- package/dist/ripple/{p-2fdaacf5.entry.js → p-b09998e1.entry.js} +1 -1
- package/dist/ripple/{p-c90dea3b.system.entry.js → p-b3a86ec4.system.entry.js} +1 -1
- package/dist/ripple/p-b501f06c.entry.js +1 -0
- package/dist/ripple/{p-1d528e60.entry.js → p-b957033b.entry.js} +1 -1
- package/dist/ripple/{p-f2f896b2.system.entry.js → p-ca3abcc0.system.entry.js} +1 -1
- package/dist/ripple/{p-a8b2b639.system.entry.js → p-cc455a6c.system.entry.js} +1 -1
- package/dist/ripple/{p-952f0628.entry.js → p-cdf9c0e9.entry.js} +1 -1
- package/dist/ripple/{p-81674b46.js → p-d4ae193e.js} +1 -1
- package/dist/ripple/{p-3a481357.system.js → p-d4d769a7.system.js} +1 -1
- package/dist/ripple/{p-eff5e623.system.entry.js → p-d6a9000f.system.entry.js} +1 -1
- package/dist/ripple/{p-6cdb2b26.entry.js → p-d6cd9f79.entry.js} +1 -1
- package/dist/ripple/{p-bfd74710.entry.js → p-d9e4335e.entry.js} +1 -1
- package/dist/ripple/{p-ef4e30c2.entry.js → p-dadf3ed3.entry.js} +1 -1
- package/dist/ripple/p-dc3684b5.entry.js +1 -0
- package/dist/ripple/{p-ae3aa9a6.entry.js → p-dca94e24.entry.js} +1 -1
- package/dist/ripple/{p-30ffd48a.system.entry.js → p-dcd6acc5.system.entry.js} +1 -1
- package/dist/ripple/{p-a0841eee.entry.js → p-dd81e308.entry.js} +1 -1
- package/dist/ripple/{p-e1ff0d63.system.entry.js → p-e11d9b06.system.entry.js} +1 -1
- package/dist/ripple/{p-7dc387b5.system.entry.js → p-e36e71dc.system.entry.js} +1 -1
- package/dist/ripple/{p-8634b2e1.entry.js → p-e6a81600.entry.js} +1 -1
- package/dist/ripple/{p-3b93eed7.system.entry.js → p-ef7d84da.system.entry.js} +1 -1
- package/dist/ripple/{p-118888bb.entry.js → p-f1de3153.entry.js} +1 -1
- package/dist/ripple/p-f3e84476.system.entry.js +1 -0
- package/dist/ripple/{p-3cd9160c.system.entry.js → p-f4d27fea.system.entry.js} +1 -1
- package/dist/ripple/p-fb062f04.system.js +1 -0
- package/dist/ripple/{p-1c08e803.system.entry.js → p-fcf4bd61.system.entry.js} +1 -1
- package/dist/ripple/{p-5af87cce.entry.js → p-fd02c124.entry.js} +1 -1
- package/dist/ripple/{p-097c7a49.entry.js → p-ffa20853.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/datepickers/wm-date-range.d.ts +13 -13
- package/dist/types/components/datepickers/wm-datepicker.d.ts +13 -12
- package/dist/types/global/functions.d.ts +0 -1
- package/package.json +2 -2
- package/dist/esm-es5/app-globals-b5a717cb.js +0 -1
- package/dist/ripple/p-001b65cb.system.js +0 -1
- package/dist/ripple/p-06ccdc10.entry.js +0 -1
- package/dist/ripple/p-0d882420.system.js +0 -1
- package/dist/ripple/p-0f86a48a.entry.js +0 -1
- package/dist/ripple/p-282564c9.entry.js +0 -1
- package/dist/ripple/p-5e285786.entry.js +0 -1
- package/dist/ripple/p-61d8d940.system.entry.js +0 -1
- package/dist/ripple/p-637bcbd6.system.js +0 -1
- package/dist/ripple/p-6b725bc9.entry.js +0 -1
- package/dist/ripple/p-8cf004ef.entry.js +0 -1
- package/dist/ripple/p-99baa733.system.entry.js +0 -1
- package/dist/ripple/p-9bd3eb06.js +0 -1
|
@@ -114,11 +114,11 @@ export class Modal {
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
|
-
return (h("dialog", { key: '
|
|
117
|
+
return (h("dialog", { key: '971cf1e1e2425c11876eb75503cf150ca10bdb40', 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: '8fe66f81867b79b593204fe0b775cde0a6fffe1a', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
118
118
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
119
119
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
120
120
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
121
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { key: '
|
|
121
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: 'c69f5898139dec832b9cb49ae6c68f972de3dcd6', class: "wm-tooltip" }), h("slot", { key: '56eb71ba84fa3b7069a0a1b4a7affeef82d29402' }), h("div", { key: '4469cdcbc90b969102e4007e4fab2f2b3232ac4f', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
122
122
|
this.focusFirstElement.emit();
|
|
123
123
|
} })));
|
|
124
124
|
}
|
|
@@ -27,7 +27,7 @@ export class ModalPssFooter {
|
|
|
27
27
|
parentModal.emitSecondaryEvent();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '76c744698ea11f3b3fe5f79face7e244434c0313', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: 'edb883c38b48c2b8d4cc4730abc1dd84e819eee5', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: 'b4d999febb44e7f66d4478d97036ae212a81e725', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '5b8e533074440e27ab3d7699503e7ba141656517', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '591a9af4a56b4c2ee728bbf6a32156c8cec2e7b7', "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))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "wm-modal-pss-footer"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -25,7 +25,7 @@ export class ModalPssHeader {
|
|
|
25
25
|
// this.headingElement.focus();
|
|
26
26
|
// }
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '5b2a1e64fae70aa2d3d0a21c10220ab1245f9e19' }, h("div", { key: '8dc7424514c03eb4e92923401ee0c8198a7cd09d', class: "wm-wrapper" }, h("div", { key: 'f4704086f9d9ab00b41e7e08a18714ccc5b8d48c' }, h("h2", { key: '7600665f4d4ab1baaf6272e87deb5ab3850e359f', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '0f72a252460f83bc37d7e2d3b96bd10786a8df1e', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'ea8006d8833dcd07d922d0db5361aa4fcab3e560', "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() }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "wm-modal-pss-header"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -115,9 +115,9 @@ export class ModalPss {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'e987843882728ea9f8bbead03b88072c25b48801', 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: () => {
|
|
119
119
|
this.focusLastElement.emit();
|
|
120
|
-
} }, h("div", { key: '
|
|
120
|
+
} }, h("div", { key: '3fc9383313c15153acf73353d1f22341e26ee8b7', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: '1af7e63fff723ff3e55b9b3b862e5f08b134d451', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
121
121
|
this.focusFirstElement.emit();
|
|
122
122
|
} })));
|
|
123
123
|
}
|
|
@@ -34,7 +34,7 @@ export class NavigationHamburger {
|
|
|
34
34
|
this.wmNavigationHamburgerClicked.emit();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '0c36ba5c8318675e3dc412116d9efed933f6768c', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: '51cead9339c6e8df93e6fc7ead55152fd7e6653f', "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: 'c77defeff79307eae76dee8af414874302d42a5e', class: "svg-icon svg-menu" }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "wm-navigation-hamburger"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class NavigationItem {
|
|
|
6
6
|
this.active = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '85a5d4e3e5d042f3961fbc55688869124991904c', role: "listitem" }, h("a", { key: '41308e7bf1e86da2969dd5fc9339259b69eae4cf', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '98eec3001c7681836be770c8eaaf32aec8c16cfc', class: "icon", "aria-hidden": "true" }, h("slot", { key: '03b2f056ffd7df357602f384d969e18d3f42ff59' })), h("div", { key: 'b403037938ae6369c903b1599f16455d110f2f3e', class: "text" }, this.text))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "wm-navigation-item"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,9 +96,9 @@ export class Navigation {
|
|
|
96
96
|
} }));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '2e20b00c29aaa3fd895b5f7828c91b16377d5867', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: 'f4b5b0180cb2aa7d73c0f503d3dae474664101b8', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '9dd5b9e07ff403bc8cfa3b1d926caa39954d375a', class: "tray" }, h("div", { key: 'dc2714d85cc7f872199cb60365bfbb45646a2385', class: "toggle-wrapper" }, h("wm-button", { key: '4917cdc9f9cde388fe180742c5fc52e2fcd9bc2e', 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: () => {
|
|
100
100
|
this.open = !this.open;
|
|
101
|
-
} })), h("ul", { key: '
|
|
101
|
+
} })), h("ul", { key: '102b37476e6b897c8e849bf4ab9faf0c98a04134', class: "navlist" }, h("slot", { key: '212b22589f75ed3455f3d52bd69e4fb456a6846f' }))), this.isCollapsible && (h("div", { key: 'd89b5341154495c670ad778d76c9dcbbf6aa2cd5', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "wm-navigation"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js
CHANGED
|
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const { handleClick, altText } = this;
|
|
12
|
-
return (h("button", { key: '
|
|
12
|
+
return (h("button", { key: 'b943992d2bf60c9a8dccd57f5e9c95a78a39ebc4', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "priv-navigator-button"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
|
|
|
16
16
|
render() {
|
|
17
17
|
const selectedClass = this.selected ? "selected" : "";
|
|
18
18
|
const focusedClass = this.focused ? "focused" : "";
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '8eabd1a4aa27b3f1c35501315f28409aec4c653d', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '899ef0e8bdd56b4b94fad094f5cdad4ae2e28ea7' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "priv-navigator-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -204,7 +204,7 @@ export class Pagination {
|
|
|
204
204
|
render() {
|
|
205
205
|
return (
|
|
206
206
|
// do not render the component if there's only one page
|
|
207
|
-
this.totalItems > this.itemsPerPage && (h("nav", { key: '
|
|
207
|
+
this.totalItems > this.itemsPerPage && (h("nav", { key: '5578175ac1a3c8f969cb3c525295324e27d3ed93', "aria-label": `${this.label || this.defaultLabel}. ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '88723035ba83424d3ef0febc2a0372d0c0371028', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
|
|
208
208
|
}
|
|
209
209
|
static get is() { return "wm-pagination"; }
|
|
210
210
|
static get encapsulation() { return "shadow"; }
|
|
@@ -897,6 +897,7 @@
|
|
|
897
897
|
}
|
|
898
898
|
:host .wm-search-wrapper {
|
|
899
899
|
border-radius: 3px;
|
|
900
|
+
overflow: clip;
|
|
900
901
|
position: relative;
|
|
901
902
|
border: 1px solid var(--wmcolor-border-dark);
|
|
902
903
|
display: flex;
|
|
@@ -917,6 +918,7 @@
|
|
|
917
918
|
width: 100%;
|
|
918
919
|
flex: 1;
|
|
919
920
|
font-family: inherit;
|
|
921
|
+
font-size: 0.875rem;
|
|
920
922
|
}
|
|
921
923
|
:host .wm-search-wrapper:focus-within {
|
|
922
924
|
outline: 2px solid var(--wmcolor-border-focus);
|
|
@@ -168,10 +168,10 @@ export class Search {
|
|
|
168
168
|
* End search and find render helpers
|
|
169
169
|
*/
|
|
170
170
|
render() {
|
|
171
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: 'ea897892c22169b3e0eca35877a71ca023f1d57d' }, h("div", { key: '82799fcd9270bd67d973d32fe19613109e4f6908', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '5d866059fd56e0b1799be743de518a15cfc1499b', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
|
|
172
172
|
id: "search.typeToFilterResults",
|
|
173
173
|
defaultMessage: "Type to filter the results",
|
|
174
|
-
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '
|
|
174
|
+
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '704d8e504047774ea57e43659b33b72de46027d2', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: 'f7ae1d60780b07483266ac1acd612f4e0f5780e1', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "wm-search"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -149,11 +149,11 @@ export class Snackbar {
|
|
|
149
149
|
}, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link), notification.newWindow && h("div", { class: "svg-icon svg-open-in-new" }))), (!notification.link && notification.action) && (h("button", { id: `action-${notification.id}`, class: "link", onClick: () => this.snackLinkClicked(notification), onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, notification.action))), h("button", { id: `close-button-${notification.id}`, "aria-label": this.closeSnackMessage, class: "closesnack", tabindex: notification.link || notification.action ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() }, h("div", { class: "svg-icon svg-close" }))), h("div", { class: "sr-only", tabindex: notification.link || notification.action ? 0 : -1, onFocus: () => (notification.link || notification.action) && this.snackDismissed(notification) })))));
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: '7f368facfe469c9f9581a2cce4a65cd0d9e52be2' }, h("div", { key: '04d52f03711d82f311915427891d1d1be1e56355', ref: (el) => (this.snackAreaEl = el), class: {
|
|
153
153
|
"list-wrapper": true,
|
|
154
154
|
"user-is-tabbing": this.isTabbing,
|
|
155
155
|
empty: this.parsedNotifications.length == 0,
|
|
156
|
-
} }, this.renderSnackbars()), h("div", { key: '
|
|
156
|
+
} }, this.renderSnackbars()), h("div", { key: 'bb86f402615305aa19b72192e1ec0a57112be2d0', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "wm-snackbar"; }
|
|
159
159
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,9 +27,9 @@ export class TabItem {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const isDark = this.parentTabList && this.parentTabList.customBackground == "dark";
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'd37b204809df4c19b26cf582b05c613b587281c7', role: "presentation" }, h("li", { key: 'e0cd110ee60ba7d4f4851b8f1234444dc5b9331c', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: 'ec18e038ddc344acebf8889163825386a91739f3', class: `tab`, role: "tab", ref: (el) => (this.linkEl = el), id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1, onClick: this.tabClicked, onFocus: () => {
|
|
31
31
|
this.wmIntTabFocused.emit({ tabItem: this.el });
|
|
32
|
-
} }, h("slot", { key: '
|
|
32
|
+
} }, h("slot", { key: 'c06c1f2ea952219a75f4b54f1f1b90768ed5ea58' })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "wm-tab-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -257,15 +257,15 @@ export class TabList {
|
|
|
257
257
|
this.announcement = message;
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: 'b9ad28e5f95356c3563be850e2c138c9ef15785f' }, h("div", { key: 'cefebd37c1de1c70a6a8b458398ebde182800658', class: "component-wrapper" }, h("wm-button", { key: 'ba39a280147b31c044c587d4cc1e1459a6566ca8', class: `left-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#previous", tooltip: intl.formatMessage({
|
|
261
261
|
id: "tabs.showPreviousTabs",
|
|
262
262
|
defaultMessage: "Show previous tabs",
|
|
263
263
|
description: "Tooltip for button scrolling tab group.",
|
|
264
|
-
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: '
|
|
264
|
+
}), onClick: (ev) => this.handleLeftArrowClick(ev) }), h("ul", { key: '2718d4671d8f901415646d5d89476a5b0a2646d0', id: "tablist", ref: (el) => (this.tabContainerEl = el), class: `tabcontainer ${this.customBackground || ""} ${this.containerFadeLeft ? "fade-left" : ""} ${this.containerFadeRight ? "fade-right" : ""}`, role: "tablist", tabIndex: -1 }, h("slot", { key: '81a1dbdbb0c81c942c4e404e92c1dcf573a30067' })), h("wm-button", { key: '4f928cc980a030abf23fba8fa061bcf034350f1a', class: `right-arrow ${this.scrollArrowsVisible ? "visible" : ""}`, "aria-controls": "tablist", customBackground: this.customBackground, buttonType: "navigational", icon: "#next", tooltip: intl.formatMessage({
|
|
265
265
|
id: "tabs.showNextTabs",
|
|
266
266
|
defaultMessage: "Show next tabs",
|
|
267
267
|
description: "Tooltip for button scrolling tab group.",
|
|
268
|
-
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: '
|
|
268
|
+
}), onClick: (ev) => this.handleRightArrowClick(ev) }), h("span", { key: '374a648cc8e379ef70ac7d037ee17f2bae7dd685', "aria-live": "assertive", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
269
269
|
}
|
|
270
270
|
static get is() { return "wm-tab-list"; }
|
|
271
271
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ export class TabPanel {
|
|
|
12
12
|
this.tabPanelLoaded.emit({ tabId: this.tabId });
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h(Host, { key: '
|
|
15
|
+
return h(Host, { key: 'ff91e352a439b04bf9371f9085f83fe0c8f8d1a4', role: "tabpanel", tabIndex: "-1", class: { "tab-hidden": !this.active } });
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "wm-tab-panel"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -927,10 +927,10 @@ export class TagInput {
|
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
render() {
|
|
930
|
-
return (h("div", { key: '
|
|
930
|
+
return (h("div", { key: '487a89339ede599f379c58bafeae76469d21a780', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'f849489b81e37460b4aefeec16624e246d2c8a2d', class: "label-wrapper" }, h("label", { key: '66ba79dc7d47e3cf8e0621a648d5488147a4e8a7', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'e56bff146fb718718892ec3ef65080a676d98330', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: 'c8f254c41f21d6e6b6a64269999177984b53c421', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: '7e20617627c57bbe0257a521e8d320e8a29af3c7', class: "upper-row" }, h("div", { key: '5ac0239866d948162dffab70b585baa987809229', class: "svg-icon svg-search" }), h("div", { key: 'a2118423ae068f8c8cf6ebc98bad2d257176fbed', class: `tags-and-input-wrapper` }, h("ul", { key: '58ecf075c9e6fb08094f8d7f28d537bc9dec9997', ref: (el) => (this.tagAreaEl = el), class: `tag-area ${this.taggedOptions.length === 0 && "empty"} ${this.isKeying ? "user-is-keying" : ""}`, role: "listbox", "aria-activedescendant": this.focusedTag ? this.focusedTag.id : null, "aria-orientation": "horizontal", "aria-labelledby": "sr-instructions", tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
931
931
|
this.focusedTagIndex = undefined;
|
|
932
932
|
this.handleBlur(ev);
|
|
933
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("div", { key: '
|
|
933
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("div", { key: '34790567a401667fefd54928235c5e22cafcf2bc', class: "sr-only", id: "sr-instructions" }, this.label, ". ", this.tagAreaInstructions), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: '3ad6fa7ae961b16bfaf28e0e2da722bafde7ed0c', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '00d080279460ffadcc1fdb265bc54b2b0a64c0f8', id: "info", class: "info-text" }, this.info)), h("div", { key: '694d807ce12dd203bb7e30bb4f742a395dee9caa', id: "error" }, this.errorMessage), h("div", { key: 'd02caba6dc7cdfc7f458cece08fa5170158125f2', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
934
934
|
}
|
|
935
935
|
static get is() { return "wm-tag-input"; }
|
|
936
936
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class Textarea {
|
|
|
71
71
|
this.announcement = message;
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h("div", { key: '
|
|
74
|
+
return (h("div", { key: '2fd29393226475a08d48caea245df639abdca2a8', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'a437bb99ec6cf4282ab73af86067b7428f221764', class: "label-wrapper" }, h("label", { key: '9fd90c62fef8522899fda9bbbf56f31696899536', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: 'e675b92e9bac9c8a91b8eaad4387085b83533425', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.labelPosition !== "none" && this.requiredField && (h("span", { key: '73dea353285d5e11c0e50ebbab4e45b780cc9bdf', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '614d3a0c6142140af8fc52f29cf44819aa91a2b9', class: "inner-wrapper" }, h("div", { key: '2e54edf082375e9bf6044cedc6a9b6c24b191dad', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '6fb2da50fd65c465c0a3501c6ae105fdc0a3175a', id: "inputfield", disabled: this.isDisabled, "aria-describedby": "info error", onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleBlur(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, value: this.value, rows: 3, style: { height: this.inputHeight } }), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: `character-count ${this.value.length > this.characterLimit ? "exceeded" : ""}` }, this.charCount, "/", this.characterLimit)) : ("")), this.info && (h("div", { key: 'c6b3ebb8216c9593dac5fdd1e6584628dd28c4b5', id: "info", class: "info" }, this.info)), h("div", { key: '2fb54fd6b9a0de90bebadd4a6483a375fd8d634b', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'e7683a6f5fb565fcc2d269232e3273806cc128d0', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "wm-textarea"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -281,13 +281,13 @@ export class Timepicker {
|
|
|
281
281
|
return this.times.map((time, index) => (h("li", { id: `option${index + 1}`, "data-time": time, role: "option", onClick: () => this.handleOptionClick(time) }, this.reformatTimeInternal("12", time))));
|
|
282
282
|
}
|
|
283
283
|
render() {
|
|
284
|
-
return (h(Host, { key: '
|
|
284
|
+
return (h(Host, { key: 'f057602385c3afa3fa41bfaede121e1a71046e04', onBlur: () => this.close(false) }, h("div", { key: 'ac40efb8246f22f8952e4a5719a86ad44d946125', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '63a8f7cc6531e0755e08d4828de669f8b4e7995b', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: 'cb8841c9d1cc202514f6de78e0c143dc905cb22e', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'ad989be822d6ebf295481098ea02b88c1983a680', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: 'c8cea84d56c4e198d9466820fb574090d62f4f82' }, h("div", { key: '02fdd089d088ec43a569ade536fde18ea31a39a9', class: "inner-wrapper" }, h("input", { key: '30080a9b2c5af94c17c278bd23c0123d1da95822', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: '90a7fd0188f1d590509579b013cc506150749f9e', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
|
|
285
285
|
// This addresses an issue in Safari, where clicking buttons does not focus them
|
|
286
286
|
// if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
|
|
287
287
|
onMouseDown: (ev) => {
|
|
288
288
|
ev.preventDefault();
|
|
289
289
|
this.buttonEl.focus();
|
|
290
|
-
} }, h("span", { key: '
|
|
290
|
+
} }, h("span", { key: 'b9b7f2326eaf2047ae3cfbbaa1b853c02f92013d', class: "svg-icon svg-time" })), h("ul", { key: '321445600548b008758c69b2246d6965e8e93a6a', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '18e73b79a9b9372eb498b6a0c3438ef785b846f8', id: "error", class: "error" }, this.errorMessage)), h("div", { key: 'c80be090a83309d0a23daad6d0ebe6191082597e', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
|
|
291
291
|
}
|
|
292
292
|
static get is() { return "wm-timepicker"; }
|
|
293
293
|
static get encapsulation() { return "shadow"; }
|
|
@@ -229,11 +229,11 @@ export class Toggletip {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
render() {
|
|
232
|
-
return (h(Host, { key: '
|
|
232
|
+
return (h(Host, { key: 'f092227f4bef97b0af667d65564c7b622e4869dd', class: `size-${this.targetSize}` }, h("button", { key: '534fe3691633dda67bcc62e8661416ff07ee1eee', ref: (el) => (this.buttonEl = el), class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
|
|
233
233
|
// In order to position the tooltip identically to the toggletip, its presence is determined by these four events
|
|
234
|
-
onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '
|
|
234
|
+
onMouseEnter: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => !this.isOpen && showTooltip(this.toggletipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, this.renderIcon()), h("div", { key: '193014bb248c664aa6249cab22717a512a74f6b6', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.targetSize} ${this.isHidden ? "hidden" : ""}`, id: "toggletip",
|
|
235
235
|
// @ts-ignore - despite what Typescript says, this is a valid event for popover elements
|
|
236
|
-
onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: '
|
|
236
|
+
onToggle: (ev) => this.handlePopoverToggle(ev) }, this.tooltip), h("div", { key: '6e5e17ccfcda3b26be9762841fc346419625e7c0', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
237
237
|
}
|
|
238
238
|
static get is() { return "wm-toggletip"; }
|
|
239
239
|
static get encapsulation() { return "shadow"; }
|
|
@@ -316,9 +316,9 @@ export class Uploader {
|
|
|
316
316
|
return (h("div", { class: `drop-area -${this.dropArea}`, ref: (el) => (this.dropAreaEl = el), onDragEnter: (ev) => this.handleDragEnter(ev), onDragOver: (ev) => this.handleDragOver(ev), onDragLeave: (ev) => this.handleDragLeave(ev), onDrop: (ev) => this.handleDrop(ev) }, this.dropArea == "page" && (h("div", { ref: (el) => (this.dropOverlayEl = el), class: "drop-overlay", popover: "manual" }, h("span", { class: "upload-arrow" }), h("span", null, "Drop to Upload")))));
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
|
-
return (h(Host, { key: '
|
|
319
|
+
return (h(Host, { key: 'ba107068957e362e4f7955665fb88ebf5b6cc496', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: '4f66e5d79375d338f5ac9927f92eecafe150505c', ref: (el) => (this.assertiveLiveRegionEl = el), class: "live-region sr-only", "aria-live": "assertive" // since it's directly linked to the action the user took, it should be read in priority. With polite, some messages get dismissed in favor of the page title
|
|
320
320
|
,
|
|
321
|
-
"aria-atomic": "true" }), h("div", { key: '
|
|
321
|
+
"aria-atomic": "true" }), h("div", { key: '976a43710c6b906925e5a081f1518890a901a644', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
322
322
|
}
|
|
323
323
|
static get is() { return "wm-uploader"; }
|
|
324
324
|
static get encapsulation() { return "shadow"; }
|
|
@@ -349,36 +349,6 @@ function positionTooltip(placement, anchorRect, tooltipHeight, tooltipWidth) {
|
|
|
349
349
|
horizontalPos = Math.max(horizontalPos, 24);
|
|
350
350
|
return [verticalPos, horizontalPos];
|
|
351
351
|
}
|
|
352
|
-
export function hasRoomRight(x, spaceNeeded) {
|
|
353
|
-
let horizOffset = 0;
|
|
354
|
-
// if (getTextDir() === "ltr") {
|
|
355
|
-
if (x.type === "click") {
|
|
356
|
-
// if it's a mouse event, deal with mouse coords
|
|
357
|
-
horizOffset = x.clientX;
|
|
358
|
-
// if it's a focus event, the offset is 0
|
|
359
|
-
}
|
|
360
|
-
else if (x.type === "focus") {
|
|
361
|
-
horizOffset = 0;
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
// otherwise an element was passed, calculate how far it is from the edge of the window
|
|
365
|
-
let el = x; // re-assignment is for clarity
|
|
366
|
-
while (el) {
|
|
367
|
-
if (el.tagName == "BODY") {
|
|
368
|
-
// deal with browser quirks with body/window/document and page scroll
|
|
369
|
-
var xScroll = el.scrollLeft || document.documentElement.scrollLeft;
|
|
370
|
-
horizOffset += el.offsetLeft - xScroll + el.clientLeft;
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
// for all other non-BODY elements
|
|
374
|
-
horizOffset += el.offsetLeft - el.scrollLeft + el.clientLeft;
|
|
375
|
-
}
|
|
376
|
-
el = el.offsetParent;
|
|
377
|
-
}
|
|
378
|
-
// }
|
|
379
|
-
}
|
|
380
|
-
return window.innerWidth - horizOffset >= spaceNeeded;
|
|
381
|
-
}
|
|
382
352
|
export function checkForActiveElInShadow(element) {
|
|
383
353
|
while (element && element.shadowRoot) {
|
|
384
354
|
element = element.shadowRoot.activeElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-ef50bc01.js';
|
|
2
|
-
import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-
|
|
2
|
+
import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-de887809.js';
|
|
3
3
|
|
|
4
4
|
const colors = {
|
|
5
5
|
salmon: "#ff5f4e",
|
|
@@ -10180,36 +10180,6 @@ function positionTooltip(placement, anchorRect, tooltipHeight, tooltipWidth) {
|
|
|
10180
10180
|
horizontalPos = Math.max(horizontalPos, 24);
|
|
10181
10181
|
return [verticalPos, horizontalPos];
|
|
10182
10182
|
}
|
|
10183
|
-
function hasRoomRight(x, spaceNeeded) {
|
|
10184
|
-
let horizOffset = 0;
|
|
10185
|
-
// if (getTextDir() === "ltr") {
|
|
10186
|
-
if (x.type === "click") {
|
|
10187
|
-
// if it's a mouse event, deal with mouse coords
|
|
10188
|
-
horizOffset = x.clientX;
|
|
10189
|
-
// if it's a focus event, the offset is 0
|
|
10190
|
-
}
|
|
10191
|
-
else if (x.type === "focus") {
|
|
10192
|
-
horizOffset = 0;
|
|
10193
|
-
}
|
|
10194
|
-
else {
|
|
10195
|
-
// otherwise an element was passed, calculate how far it is from the edge of the window
|
|
10196
|
-
let el = x; // re-assignment is for clarity
|
|
10197
|
-
while (el) {
|
|
10198
|
-
if (el.tagName == "BODY") {
|
|
10199
|
-
// deal with browser quirks with body/window/document and page scroll
|
|
10200
|
-
var xScroll = el.scrollLeft || document.documentElement.scrollLeft;
|
|
10201
|
-
horizOffset += el.offsetLeft - xScroll + el.clientLeft;
|
|
10202
|
-
}
|
|
10203
|
-
else {
|
|
10204
|
-
// for all other non-BODY elements
|
|
10205
|
-
horizOffset += el.offsetLeft - el.scrollLeft + el.clientLeft;
|
|
10206
|
-
}
|
|
10207
|
-
el = el.offsetParent;
|
|
10208
|
-
}
|
|
10209
|
-
// }
|
|
10210
|
-
}
|
|
10211
|
-
return window.innerWidth - horizOffset >= spaceNeeded;
|
|
10212
|
-
}
|
|
10213
10183
|
function checkForActiveElInShadow(element) {
|
|
10214
10184
|
while (element && element.shadowRoot) {
|
|
10215
10185
|
element = element.shadowRoot.activeElement;
|
|
@@ -10662,4 +10632,4 @@ const weekdays = [
|
|
|
10662
10632
|
intl.formatMessage({ id: "date.saturday", defaultMessage: "Saturday" }),
|
|
10663
10633
|
];
|
|
10664
10634
|
|
|
10665
|
-
export {
|
|
10635
|
+
export { getTextDir as A, throttle as B, isElOrChild as C, dateFind as D, calendar_months as E, getSmallestSkipInterval as F, transposeMatrix as G, wrapAround as H, calcPercentageInRange as I, getContextMeasurements as J, makeISO as K, clampDate as L, getMonthLength as M, weekdays as N, handleDisabledAttribute as a, triggerFormSubmit as b, checkForActiveElInShadow as c, debounce as d, safeMultiplyFloat as e, getPosition as f, generateId as g, hideTooltip as h, intl as i, findAllScrollableParents as j, dateToISO as k, truncateText as l, getLastFocusableDescendant as m, csvToArray as n, snakeCaseToCamelCase as o, getNewIndexToFocus as p, shouldOpenUp as q, getCumulativeScrollOffset as r, showTooltip as s, toBool as t, shouldOpenDown as u, shouldShiftRight as v, shouldShiftLeft as w, measureText as x, findNext as y, findPrev as z };
|