@watermarkinsights/ripple 5.30.0-alpha.3 → 5.30.0
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-52ab99e9.js → app-globals-f310dc82.js} +1 -1
- package/dist/cjs/{chartFunctions-fea69eeb.js → chartFunctions-351edf56.js} +1 -1
- package/dist/cjs/{functions-ac930ffe.js → functions-05cd64e3.js} +9 -9
- package/dist/cjs/{intl-d174fb3c.js → intl-140f6bea.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/priv-calendar.cjs.entry.js +9 -9
- 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 +18 -8
- 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 +7 -7
- package/dist/cjs/wm-datepicker.cjs.entry.js +7 -7
- 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 +24 -17
- 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/priv-calendar/priv-calendar.js +8 -8
- package/dist/collection/components/datepickers/wm-date-range.js +6 -6
- package/dist/collection/components/datepickers/wm-datepicker.js +6 -6
- 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 +51 -7
- 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 +7 -6
- 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.css +3 -0
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +24 -15
- 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/dev/button.js +12 -0
- package/dist/esm/{app-globals-155835b9.js → app-globals-0d90343d.js} +1 -1
- package/dist/esm/{chartFunctions-bae65d16.js → chartFunctions-295d929a.js} +1 -1
- package/dist/esm/{functions-cc58fbd9.js → functions-438e60c4.js} +9 -9
- package/dist/esm/{intl-9c28b1b5.js → intl-25f6dfb9.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/priv-calendar.entry.js +9 -9
- 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 +18 -8
- 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 +7 -7
- package/dist/esm/wm-datepicker.entry.js +7 -7
- 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 +25 -18
- 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-0d90343d.js +1 -0
- package/dist/esm-es5/{chartFunctions-bae65d16.js → chartFunctions-295d929a.js} +1 -1
- package/dist/esm-es5/functions-438e60c4.js +1 -0
- package/dist/esm-es5/{intl-9c28b1b5.js → intl-25f6dfb9.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-4eb982c6.system.entry.js → p-02c8bf15.system.entry.js} +1 -1
- package/dist/ripple/{p-e9a8f44c.entry.js → p-05dae6a0.entry.js} +1 -1
- package/dist/ripple/p-065b0134.entry.js +1 -0
- package/dist/ripple/{p-16634457.system.entry.js → p-09a44b14.system.entry.js} +1 -1
- package/dist/ripple/{p-88aa2b90.entry.js → p-09d5381c.entry.js} +1 -1
- package/dist/ripple/{p-67d8977e.system.entry.js → p-0db033c3.system.entry.js} +1 -1
- package/dist/ripple/{p-97ef6cea.system.entry.js → p-0feaaae9.system.entry.js} +1 -1
- package/dist/ripple/{p-b7a1fda2.system.entry.js → p-10aea5ee.system.entry.js} +1 -1
- package/dist/ripple/{p-c17b8d20.entry.js → p-131d57c3.entry.js} +1 -1
- package/dist/ripple/p-178ba906.js +1 -0
- package/dist/ripple/p-1f051611.system.js +1 -0
- package/dist/ripple/{p-904fa178.entry.js → p-1f79c42d.entry.js} +1 -1
- package/dist/ripple/{p-62481831.system.entry.js → p-1fc894ac.system.entry.js} +1 -1
- package/dist/ripple/p-210773eb.entry.js +1 -0
- package/dist/ripple/{p-76c95756.entry.js → p-227b0af9.entry.js} +1 -1
- package/dist/ripple/{p-3a08cf7c.system.entry.js → p-28b8a12e.system.entry.js} +1 -1
- package/dist/ripple/{p-f609118b.entry.js → p-2a03f658.entry.js} +1 -1
- package/dist/ripple/p-2f297bf8.js +1 -0
- package/dist/ripple/{p-d022520e.system.entry.js → p-332a3e3d.system.entry.js} +1 -1
- package/dist/ripple/{p-880a9ff7.entry.js → p-39bac42a.entry.js} +1 -1
- package/dist/ripple/{p-57f49361.entry.js → p-3bd8537c.entry.js} +1 -1
- package/dist/ripple/{p-a4bf0458.entry.js → p-3f69041f.entry.js} +1 -1
- package/dist/ripple/{p-e0ee2cea.system.entry.js → p-40e8071c.system.entry.js} +1 -1
- package/dist/ripple/{p-3617a99d.system.entry.js → p-444feb7d.system.entry.js} +1 -1
- package/dist/ripple/{p-f9fd5721.entry.js → p-4533241f.entry.js} +1 -1
- package/dist/ripple/{p-1a5be7f7.entry.js → p-463be5be.entry.js} +1 -1
- package/dist/ripple/{p-f674eef4.system.entry.js → p-4e7ae2c5.system.entry.js} +1 -1
- package/dist/ripple/{p-4ac7f6fc.entry.js → p-4f53544d.entry.js} +1 -1
- package/dist/ripple/{p-c5f150f4.system.entry.js → p-503330c1.system.entry.js} +1 -1
- package/dist/ripple/{p-b0f024ba.entry.js → p-5173359e.entry.js} +1 -1
- package/dist/ripple/{p-7d7623c3.js → p-5afc108c.js} +1 -1
- package/dist/ripple/{p-3c41157e.system.entry.js → p-5f092b39.system.entry.js} +1 -1
- package/dist/ripple/{p-62cfe06e.entry.js → p-6479b06b.entry.js} +1 -1
- package/dist/ripple/{p-474310b4.entry.js → p-680f5703.entry.js} +1 -1
- package/dist/ripple/p-6a7b26a1.system.js +1 -0
- package/dist/ripple/{p-8a6e13d9.entry.js → p-6de83c6f.entry.js} +1 -1
- package/dist/ripple/{p-a42960e1.system.entry.js → p-6f2d3297.system.entry.js} +1 -1
- package/dist/ripple/{p-a5d0d757.entry.js → p-709d1765.entry.js} +1 -1
- package/dist/ripple/{p-2970732e.system.entry.js → p-7ca0bb68.system.entry.js} +1 -1
- package/dist/ripple/{p-300cabee.entry.js → p-84e04896.entry.js} +1 -1
- package/dist/ripple/{p-628fd7bc.system.entry.js → p-86148143.system.entry.js} +1 -1
- package/dist/ripple/{p-c1419735.entry.js → p-8e6e868a.entry.js} +1 -1
- package/dist/ripple/{p-19ff9af0.entry.js → p-928b3e5e.entry.js} +1 -1
- package/dist/ripple/{p-1d64a21b.system.js → p-956cb6a9.system.js} +1 -1
- package/dist/ripple/{p-25f3270d.entry.js → p-9a5d11cb.entry.js} +1 -1
- package/dist/ripple/{p-72b7a4fa.system.entry.js → p-9d345fc7.system.entry.js} +1 -1
- package/dist/ripple/{p-d587a3da.system.entry.js → p-a0aba3e0.system.entry.js} +1 -1
- package/dist/ripple/{p-2936c3cb.system.entry.js → p-a3dd5204.system.entry.js} +1 -1
- package/dist/ripple/{p-ab3789d4.system.entry.js → p-a5a165c6.system.entry.js} +1 -1
- package/dist/ripple/{p-94c1096c.system.entry.js → p-a6aef87d.system.entry.js} +1 -1
- package/dist/ripple/{p-aadbb9f7.system.entry.js → p-a6ef995c.system.entry.js} +1 -1
- package/dist/ripple/{p-3dc29683.system.entry.js → p-a7e637a5.system.entry.js} +1 -1
- package/dist/ripple/{p-599dd379.system.entry.js → p-aafced54.system.entry.js} +1 -1
- package/dist/ripple/{p-58ccc222.system.entry.js → p-b11abb0d.system.entry.js} +1 -1
- package/dist/ripple/{p-f4260538.system.entry.js → p-b1924539.system.entry.js} +1 -1
- package/dist/ripple/{p-e5edae54.system.entry.js → p-b654743f.system.entry.js} +1 -1
- package/dist/ripple/{p-2ac68f77.system.entry.js → p-b974a535.system.entry.js} +1 -1
- package/dist/ripple/p-bb9f54cf.system.entry.js +1 -0
- package/dist/ripple/{p-6698e57e.entry.js → p-bd37dd6f.entry.js} +1 -1
- package/dist/ripple/{p-55555920.entry.js → p-bdb10d37.entry.js} +1 -1
- package/dist/ripple/{p-0431bb7a.entry.js → p-bf3eef42.entry.js} +1 -1
- package/dist/ripple/{p-3de3b34d.js → p-bff5c1d5.js} +1 -1
- package/dist/ripple/{p-4c813bbc.system.entry.js → p-c04d0eeb.system.entry.js} +1 -1
- package/dist/ripple/{p-5a64ca98.entry.js → p-c1abc58e.entry.js} +1 -1
- package/dist/ripple/{p-6ff3f70a.entry.js → p-cc028323.entry.js} +1 -1
- package/dist/ripple/{p-e180c6ff.entry.js → p-d05b7cd3.entry.js} +1 -1
- package/dist/ripple/p-d55bd2b9.entry.js +1 -0
- package/dist/ripple/{p-e28ac2de.entry.js → p-dab54a9d.entry.js} +1 -1
- package/dist/ripple/{p-7b3af4e4.system.entry.js → p-dbdae848.system.entry.js} +1 -1
- package/dist/ripple/{p-274592b5.system.entry.js → p-df9d5b14.system.entry.js} +1 -1
- package/dist/ripple/{p-4e8ac9fd.system.entry.js → p-e0c0e8b0.system.entry.js} +1 -1
- package/dist/ripple/{p-050aeacd.entry.js → p-e1a6ee77.entry.js} +1 -1
- package/dist/ripple/{p-7c3dec23.system.js → p-e6704efd.system.js} +1 -1
- package/dist/ripple/{p-c39e9f51.system.entry.js → p-e78f9572.system.entry.js} +1 -1
- package/dist/ripple/{p-e2d01adf.entry.js → p-ee26ba53.entry.js} +1 -1
- package/dist/ripple/{p-f04cecce.system.entry.js → p-ee729037.system.entry.js} +1 -1
- package/dist/ripple/{p-9aecafc6.entry.js → p-f51404f5.entry.js} +1 -1
- package/dist/ripple/p-f7fc6350.system.js +1 -0
- package/dist/ripple/{p-78d02ad6.entry.js → p-f94af31c.entry.js} +1 -1
- package/dist/ripple/p-fb6aee09.entry.js +1 -0
- package/dist/ripple/{p-f1fe253f.system.entry.js → p-ff6fd274.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-button/wm-button.d.ts +13 -0
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +3 -2
- package/dist/types/components.d.ts +16 -0
- package/package.json +2 -2
- package/dist/esm-es5/app-globals-155835b9.js +0 -1
- package/dist/esm-es5/functions-cc58fbd9.js +0 -1
- package/dist/ripple/p-02727181.system.entry.js +0 -1
- package/dist/ripple/p-106b39bb.system.js +0 -1
- package/dist/ripple/p-13822149.system.js +0 -1
- package/dist/ripple/p-1a6b35e8.system.js +0 -1
- package/dist/ripple/p-356cc61e.entry.js +0 -1
- package/dist/ripple/p-36431bb7.entry.js +0 -1
- package/dist/ripple/p-6946c33b.js +0 -1
- package/dist/ripple/p-82913757.entry.js +0 -1
- package/dist/ripple/p-88ad02cd.entry.js +0 -1
- package/dist/ripple/p-f5f3f89d.js +0 -1
|
@@ -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: '8de5b12e5695d10dd613903f686539d743659fe9' }, h("div", { key: '64316a6b7e6f254013e99d19f805e2cd9cdd5fa9', class: "wm-wrapper" }, h("div", { key: '24d7e5322e51a03af815ca52d96f97fcc3c248ab' }, h("h2", { key: '77be37c5914b42f32d84c69c1a7129c77612a380', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '17b87f65f5ef154dd04f4e814b54db3c9fefb5c2', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'cb32d3986b79bc75e14ae4cddaa96e8728117e29', "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: 'f88b5818e0bbd04790ebd3d2ad5ed7365cb4378e', 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: '716de7445a0492ff71faf681d58beb801eb985d4', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: '311087d52cee10763ed87f5532559dc7fc620a26', 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: 'e5fb73423c0af009ee5408853227f9cbd27d0a58', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'c07546a67d2e470b7172485f02f2897af6730745', "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: 'a3ae264912ba81685737ee0f15459a21342b128c', 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: 'cae324324ba502c4e438ed7d95d05b03c6e0abc8', role: "listitem" }, h("a", { key: '357321484d6f9ca76ae76588de0e0245bc429278', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '0c12bdfbb8db550d99cee869e6238bc2f842753f', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'ddd837246f782f9222e0f30d03a18e42d35221fa' })), h("div", { key: 'ca3a038c1b8c4e073fedb84f23a996c1e4556b59', 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: '728e290bb93236f900b6cee0ab9a7a864bd514cf', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '3997c9b2967adc85b41afc834bcbbe3f4e5c8067', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '960c41a5a0932757de5321ab2e21fe0dbad50f6e', class: "tray" }, h("div", { key: '6aaf6d8d88dbd243c0b84f11ce24d7f0202c6a70', class: "toggle-wrapper" }, h("wm-button", { key: 'e009a82b20fcd5ee7f7d045ba85e1a8265273f65', 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: 'abf01dbc15485f42dfc2fa5c8f87a895d4451c8e', class: "navlist" }, h("slot", { key: 'cc42697807c886c6fbec7b1b446206caa41b34e7' }))), this.isCollapsible && (h("div", { key: '020a258359a5f27cc62a44fb229735ed752eae83', 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: 'adfd184468176b7b9c025b5e4db3c86a1e857b4b', "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: 'b79461e5967f3e75c8bb4d4c5e9e66d6b870c84b', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '35f83b67f08a1d8fdc3aeaeba1acdef45e85fca1' })));
|
|
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: '535581d117f47eb9bf29853901e80554e3f29ea9', "aria-label": `${this.label || this.defaultLabel}. ${this.getCurrentPagesInView()}. ${this.currentPageAnnouncement(this.currentPage)}` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '571b1089d6fe9775168f48c69b489305b1142a77', 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"; }
|
|
@@ -903,6 +903,12 @@
|
|
|
903
903
|
display: flex;
|
|
904
904
|
justify-content: space-between;
|
|
905
905
|
align-items: center;
|
|
906
|
+
height: 2.5rem;
|
|
907
|
+
}
|
|
908
|
+
@media only screen and (max-width: 768px) {
|
|
909
|
+
:host .wm-search-wrapper {
|
|
910
|
+
height: 2.75rem;
|
|
911
|
+
}
|
|
906
912
|
}
|
|
907
913
|
:host .wm-search-wrapper .svg-search {
|
|
908
914
|
--icon-size: 1.125rem;
|
|
@@ -911,7 +917,7 @@
|
|
|
911
917
|
}
|
|
912
918
|
:host .wm-search-wrapper input {
|
|
913
919
|
border: none;
|
|
914
|
-
|
|
920
|
+
align-self: stretch;
|
|
915
921
|
padding: 0 1.75rem;
|
|
916
922
|
background: var(--wmcolor-background);
|
|
917
923
|
overflow: visible;
|
|
@@ -920,11 +926,6 @@
|
|
|
920
926
|
font-family: inherit;
|
|
921
927
|
font-size: 0.875rem;
|
|
922
928
|
}
|
|
923
|
-
@media only screen and (max-width: 768px) {
|
|
924
|
-
:host .wm-search-wrapper input {
|
|
925
|
-
height: 44px;
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
929
|
:host .wm-search-wrapper:focus-within {
|
|
929
930
|
outline: 2px solid var(--wmcolor-border-focus);
|
|
930
931
|
border-color: 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: '7bfd505862c5bef72dc333bc22fb99c04c513b3f' }, h("div", { key: '9d7f4cf04c5655df0bf4d9697622182f1eb717c8', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '88da025659c4c5f35ac3b4c7207ad734a115a85a', 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: 'c5834f5cc58a1fd6d7c6637604cbbb5a610e2476', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '243438ee1d91d8875ec3014f6b17532a283e7cdf', 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: '93b6fe6527a434f9639d914c5c835530144c60be' }, h("div", { key: '143acfd90a277c949e9ffbacbe5fc520572be1a7', 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: '44196aa826573f4515efbf23735a1e5f7d663aa6', 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: '71b3f6dac339c5ece826133f01d6d5f05089456a', role: "presentation" }, h("li", { key: '0823dff1b7394d6bbc34a7d0d932fd19d7c6c8d0', class: `tab-item ${isDark ? "dark" : ""}`, role: "presentation" }, h("a", { key: '9ad3118a0f6bf6741e73e18a3a12d435c4676619', 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: '64e9b75227c4294294635d49da0ad49b3c91d541' })))));
|
|
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: 'e5437df047efe61428f2116cbcc9f94042dd84bc' }, h("div", { key: 'd933cd096869ca9d0808cbfcbacca30dfd89a1fc', class: "component-wrapper" }, h("wm-button", { key: '224781b9a7c43fa49ef403484416a6037190bb10', 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: '8e826993aa2b0387587357b43250e20bda02acdf', 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: 'c17a7bc0e8fa17e9142de78713cfffa5b340dbb1' })), h("wm-button", { key: '651170ba9e2b4cd4d91256386032a780bfa3cdf2', 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: '83f0f5c60bb02b59e0e163a626be41ac18f1c4e2', "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: 'd1c5920b5b91b671adb2f1e503a5b6f676fcca5e', 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() {
|
|
@@ -1039,6 +1039,7 @@
|
|
|
1039
1039
|
display: flex;
|
|
1040
1040
|
align-items: center;
|
|
1041
1041
|
justify-content: center;
|
|
1042
|
+
flex: 0 0 fit-content;
|
|
1042
1043
|
min-width: 5rem;
|
|
1043
1044
|
background-color: var(--wmcolor-taginput-charcount-background);
|
|
1044
1045
|
font-size: 0.875rem;
|
|
@@ -1057,6 +1058,8 @@
|
|
|
1057
1058
|
display: flex;
|
|
1058
1059
|
flex: 1;
|
|
1059
1060
|
justify-content: space-between;
|
|
1061
|
+
overflow: clip;
|
|
1062
|
+
border-radius: 2px;
|
|
1060
1063
|
}
|
|
1061
1064
|
:host .upper-row .svg-search {
|
|
1062
1065
|
--icon-size: 1.125rem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { csvToArray, debounce, hideTooltip, intl, measureText, shouldOpenUp, showTooltip, truncateText, findPrev, findNext, } from "../../global/functions";
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class TagInput {
|
|
@@ -33,7 +33,7 @@ export class TagInput {
|
|
|
33
33
|
defaultMessage: "No results match your search.",
|
|
34
34
|
});
|
|
35
35
|
this.openUp = false;
|
|
36
|
-
this.
|
|
36
|
+
this.debouncedLayoutChange = debounce(() => this.handleLayoutChange(), 30);
|
|
37
37
|
this.label = undefined;
|
|
38
38
|
this.errorMessage = undefined;
|
|
39
39
|
this.info = undefined;
|
|
@@ -229,8 +229,7 @@ export class TagInput {
|
|
|
229
229
|
this.inputEl.focus();
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
|
-
|
|
233
|
-
const resizeObserver = new ResizeObserver(() => this.debouncedUpdate());
|
|
232
|
+
const resizeObserver = new ResizeObserver(() => this.debouncedLayoutChange());
|
|
234
233
|
resizeObserver.observe(this.el);
|
|
235
234
|
const lockedTags = [];
|
|
236
235
|
const regularTags = [];
|
|
@@ -270,24 +269,27 @@ export class TagInput {
|
|
|
270
269
|
}
|
|
271
270
|
handleChangeAnnouncement(mutationRecord) {
|
|
272
271
|
const tagOptionEl = mutationRecord.target;
|
|
272
|
+
let message = null;
|
|
273
273
|
if (mutationRecord.type == "childList" && mutationRecord.removedNodes.length > 0) {
|
|
274
274
|
// announce deselection of user-added tag, whose element removal is picked up
|
|
275
|
-
this.
|
|
275
|
+
message = this.tagRemovedMessage(mutationRecord.removedNodes[0].textContent);
|
|
276
276
|
}
|
|
277
277
|
else if (mutationRecord.type == "attributes") {
|
|
278
278
|
const tagName = this.getTagName(tagOptionEl);
|
|
279
279
|
// announce selection or deselection of all kinds of tags
|
|
280
280
|
if (tagOptionEl.selected) {
|
|
281
|
-
|
|
281
|
+
message = this.tagAddedMessage(tagName);
|
|
282
282
|
if (this.tagLimitReached) {
|
|
283
|
-
|
|
283
|
+
message += ` ${this.maxTagsReachedMessage}`;
|
|
284
284
|
}
|
|
285
|
-
this.announce(changeAnnouncement);
|
|
286
285
|
}
|
|
287
286
|
else {
|
|
288
|
-
this.
|
|
287
|
+
message = this.tagRemovedMessage(tagName);
|
|
289
288
|
}
|
|
290
289
|
}
|
|
290
|
+
if (message) {
|
|
291
|
+
this.announce(message);
|
|
292
|
+
}
|
|
291
293
|
}
|
|
292
294
|
handleOptionListChange(record) {
|
|
293
295
|
const addedNodes = Array.from(record.addedNodes);
|
|
@@ -307,6 +309,10 @@ export class TagInput {
|
|
|
307
309
|
const deselOption = ev.target;
|
|
308
310
|
this.tagsList = this.tagsList.filter((t) => t != deselOption);
|
|
309
311
|
}
|
|
312
|
+
handleTagsListChange() {
|
|
313
|
+
// when tags are added or removed, input position and truncation needs to be recalculated
|
|
314
|
+
this.debouncedLayoutChange();
|
|
315
|
+
}
|
|
310
316
|
handleTagListChange(mutationRecord) {
|
|
311
317
|
const addedTags = Array.from(mutationRecord.addedNodes);
|
|
312
318
|
if (!!addedTags) {
|
|
@@ -335,8 +341,7 @@ export class TagInput {
|
|
|
335
341
|
}
|
|
336
342
|
}
|
|
337
343
|
}
|
|
338
|
-
|
|
339
|
-
this.positionInput();
|
|
344
|
+
handleLayoutChange() {
|
|
340
345
|
// check each tag if truncation is needed
|
|
341
346
|
this._tagEls.forEach((tag) => {
|
|
342
347
|
const textEl = tag.querySelector(".tag-text");
|
|
@@ -351,6 +356,7 @@ export class TagInput {
|
|
|
351
356
|
textEl.textContent = truncateText(textEl, this.getTagName(optionEl), rightBound - leftBound, 5);
|
|
352
357
|
}
|
|
353
358
|
});
|
|
359
|
+
this.positionInput();
|
|
354
360
|
}
|
|
355
361
|
createPlaceholderDefault(addNew, hasOptions) {
|
|
356
362
|
const addAndSearchPlaceholder = intl.formatMessage({
|
|
@@ -909,7 +915,7 @@ export class TagInput {
|
|
|
909
915
|
const classes = {
|
|
910
916
|
focused: !!this._focusedCell && cellId === this._focusedCell.id,
|
|
911
917
|
};
|
|
912
|
-
return (h("td", { id: cellId, class: classes, role: "gridcell", "aria-describedby": `${cellId}-description`, "aria-selected": o.selected ? "true" : "false", "aria-readonly": o.locked ? "true" : null, onMouseEnter: (ev) => this.handleCellMouseEnter(ev), onMouseLeave: () => hideTooltip() }, h("div", { class: "column-label" }, colHeaders[idx] || `Column ${idx + 1}`), h("div", { class: `cell-content-wrapper ${overflowRule}` }, o.locked && idx == 0 && h("div", { class: "svg-icon svg-locked" }), val), h("div", { class: "description", id: `${cellId}-description` }, o.locked ? globalMessages.locked : "")));
|
|
918
|
+
return (h("td", { id: cellId, key: cellId, class: classes, role: "gridcell", "aria-describedby": `${cellId}-description`, "aria-selected": o.selected ? "true" : "false", "aria-readonly": o.locked ? "true" : null, onMouseEnter: (ev) => this.handleCellMouseEnter(ev), onMouseLeave: () => hideTooltip() }, h("div", { class: "column-label" }, colHeaders[idx] || `Column ${idx + 1}`), h("div", { class: `cell-content-wrapper ${overflowRule}` }, o.locked && idx == 0 && h("div", { class: "svg-icon svg-locked" }), val), h("div", { class: "description", id: `${cellId}-description` }, o.locked ? globalMessages.locked : "")));
|
|
913
919
|
});
|
|
914
920
|
}
|
|
915
921
|
renderTableRow(o) {
|
|
@@ -918,7 +924,7 @@ export class TagInput {
|
|
|
918
924
|
locked: o.locked,
|
|
919
925
|
focused: this.focusedOption && o === this.focusedOption ? true : false,
|
|
920
926
|
};
|
|
921
|
-
return (h("tr", { id: o.id, class: classes, onClick: (ev) => this.handleOptionClick(ev) }, this.renderTableCells(o)));
|
|
927
|
+
return (h("tr", { id: o.id, key: o.id, class: classes, onClick: (ev) => this.handleOptionClick(ev) }, this.renderTableCells(o)));
|
|
922
928
|
}
|
|
923
929
|
renderListItem(o) {
|
|
924
930
|
if (!!this.inputEl) {
|
|
@@ -927,10 +933,10 @@ export class TagInput {
|
|
|
927
933
|
}
|
|
928
934
|
}
|
|
929
935
|
render() {
|
|
930
|
-
return (h("div", { key: '
|
|
936
|
+
return (h("div", { key: 'c638aeac0c2e0489bf71cd6173b2f90221f7a6ef', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '1484441e157e25cd9787023177a2a60ef3c424bc', class: "label-wrapper" }, h("label", { key: 'd03dc310d99b485cf7646f577812d8aea2c6bf3e', class: "label", htmlFor: "input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '5fa23daa6bc6c89d2b6872cb78c5b95fc00d143c', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '3782fc2fd78096ea7c97cdcb6a8f8097c10a7c03', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: '4ead1f6246e4a20bf0031f9390da66619b1136d4', class: "upper-row" }, h("div", { key: '924ee6f8a8eef661d43ada82a2cd5b790661f1a3', class: "svg-icon svg-search" }), h("div", { key: 'e6e2cc491591c82a08436c9cec5e588a3a6c9e2c', class: `tags-and-input-wrapper` }, h("ul", { key: '30e763dadc1ae2c273053beb67964c45747ef0f6', 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
937
|
this.focusedTagIndex = undefined;
|
|
932
938
|
this.handleBlur(ev);
|
|
933
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("div", { key: '
|
|
939
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("div", { key: 'ad6c4adcc53f4d54d48d018a236a326edf9f9a80', class: "sr-only", id: "sr-instructions" }, this.label, ". ", this.tagAreaInstructions), this.isDropdown && this.renderDropdownInput(), this.isTable && this.renderTableInput()), this.isDropdown && (h("div", { key: 'f44b7837eeebd3234f8fccde00491404c4e7baad', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: 'f952e64ce8f546c8d2ac2d560c377a8431f06b50', id: "info", class: "info-text" }, this.info)), h("div", { key: '5ac26d03049f7f302a7d678b76534339b33c1033', id: "error" }, this.errorMessage), h("div", { key: '27817f3f1e5555220d61e3719e16c492cfca3789', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
934
940
|
}
|
|
935
941
|
static get is() { return "wm-tag-input"; }
|
|
936
942
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1224,6 +1230,9 @@ export class TagInput {
|
|
|
1224
1230
|
static get elementRef() { return "el"; }
|
|
1225
1231
|
static get watchers() {
|
|
1226
1232
|
return [{
|
|
1233
|
+
"propName": "tagsList",
|
|
1234
|
+
"methodName": "handleTagsListChange"
|
|
1235
|
+
}, {
|
|
1227
1236
|
"propName": "errorMessage",
|
|
1228
1237
|
"methodName": "announceError"
|
|
1229
1238
|
}];
|
|
@@ -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: '35c5048f918ab18bc0adc8223f2321e363bd12d6', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '856cc26989cc86d19274101b0a24827951dfe12a', class: "label-wrapper" }, h("label", { key: '28475801b5c51f4f92efa43a57b68baeb524b64b', htmlFor: "inputfield", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label, this.characterLimit && (h("span", { key: '90595c60a3cd63093fc2d8c342a1c496dfdb3f1e', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit)))), this.labelPosition !== "none" && this.requiredField && (h("span", { key: '1399946787ff019b38a5133cfffa48cab48f2acd', class: "required", "aria-hidden": "true" }, "*"))), h("div", { key: '041cdc66b73a247dc0024a025955db41a84c8cef', class: "inner-wrapper" }, h("div", { key: 'b072be6d0a5637eaff95a11210e045931e28aead', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '51a70fd2d2814f66e8d2767b98a78bba9f1c201f', 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: '10e8dffe7fa9ca8a0f2ee1eae1cb64c269ffd525', id: "info", class: "info" }, this.info)), h("div", { key: '8f5a778b2f9d29650b74815b976b98b9eaff2cee', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'a1eb19abf2ac8e09bab23e66a52c3b6a0fa7d456', 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: '41725899f3e7e7a125aa0e1d5134840af5c08312', onBlur: () => this.close(false) }, h("div", { key: 'dd62c1ed75e942c4dfb0a4672922cc9e36ffcfa0', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '8bb7976c75147040b386a64670883146b5cea3c6', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '16f4c69d31ba9378aa4ed143f80928f90ed0cdba', id: "label", class: "label", htmlFor: "time-input", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: 'c8b660189ca66ad9b3babc6c8db9df6dd399e247', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: 'f661fd356437e5436114223cc29a52eb3118a2a7' }, h("div", { key: 'bebf84a5162d0627df72859ea959b61ef70b00f1', class: "inner-wrapper" }, h("input", { key: '9688fcfe498c440294507e1c0ff2932f57077251', 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: 'd6368dac8c9623bb1d6fa4d9620c2ee4f3bd9f95', 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: '8ddfb5aa572f502289371b6beb019ef3175c7320', class: "svg-icon svg-time" })), h("ul", { key: 'ff8533f5da516e128f3dc94dd00f0c4389f1d081', 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: '11fd0c06d8e314c1e49994ae7c26c87dbc7a5256', id: "error", class: "error" }, this.errorMessage)), h("div", { key: 'd3064458d445c31f95dedfd6bd43d42dcfa9b0f7', 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: '81915f49745dada074e724bf80f94d0992a0ac9f', class: `size-${this.targetSize}` }, h("button", { key: '5e00d8e3b6d7a8c8141130ac14f6c2720d672ec2', 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: 'c5786961cb7691c17cc7ebb4f1333d9ec3155eec', 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: '407093c6d04a498b1ea201fe2ef52295ff111e98', 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: 'b648d4def7e7c2288b05f4a11979104c3d6a5c42', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: '44af23ab572d796da9e677861fa6f6463328d447', 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: '5ae821400d1b569698206a17b20d1bd1c0328d82', 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"; }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// DS-1574: toggle aria-expanded via setAttribute — exercises Stencil's attributeChangedCallback path.
|
|
2
|
+
const expandToggle = document.getElementById("aria-expanded-toggle");
|
|
3
|
+
const expandPanel = document.getElementById("aria-expanded-panel");
|
|
4
|
+
|
|
5
|
+
if (expandToggle && expandPanel) {
|
|
6
|
+
expandToggle.addEventListener("click", () => {
|
|
7
|
+
const expanded = expandToggle.getAttribute("aria-expanded-passthrough") === "true";
|
|
8
|
+
const next = !expanded;
|
|
9
|
+
expandToggle.setAttribute("aria-expanded-passthrough", String(next));
|
|
10
|
+
expandPanel.hidden = !next;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-3425d80d.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-438e60c4.js';
|
|
3
3
|
|
|
4
4
|
const colors = {
|
|
5
5
|
salmon: "#ff5f4e",
|
|
@@ -194,25 +194,25 @@ const en = {
|
|
|
194
194
|
"date.selectNextMonth": [
|
|
195
195
|
{
|
|
196
196
|
type: 0,
|
|
197
|
-
value: "
|
|
197
|
+
value: "Next month"
|
|
198
198
|
}
|
|
199
199
|
],
|
|
200
200
|
"date.selectNextYear": [
|
|
201
201
|
{
|
|
202
202
|
type: 0,
|
|
203
|
-
value: "
|
|
203
|
+
value: "Next year"
|
|
204
204
|
}
|
|
205
205
|
],
|
|
206
206
|
"date.selectPreviousMonth": [
|
|
207
207
|
{
|
|
208
208
|
type: 0,
|
|
209
|
-
value: "
|
|
209
|
+
value: "Previous month"
|
|
210
210
|
}
|
|
211
211
|
],
|
|
212
212
|
"date.selectPreviousYear": [
|
|
213
213
|
{
|
|
214
214
|
type: 0,
|
|
215
|
-
value: "
|
|
215
|
+
value: "Previous year"
|
|
216
216
|
}
|
|
217
217
|
],
|
|
218
218
|
"date.selectRange": [
|
|
@@ -3896,25 +3896,25 @@ const pig = {
|
|
|
3896
3896
|
"date.selectNextMonth": [
|
|
3897
3897
|
{
|
|
3898
3898
|
type: 0,
|
|
3899
|
-
value: "
|
|
3899
|
+
value: "Extnay onthmay"
|
|
3900
3900
|
}
|
|
3901
3901
|
],
|
|
3902
3902
|
"date.selectNextYear": [
|
|
3903
3903
|
{
|
|
3904
3904
|
type: 0,
|
|
3905
|
-
value: "
|
|
3905
|
+
value: "Extnay earyay"
|
|
3906
3906
|
}
|
|
3907
3907
|
],
|
|
3908
3908
|
"date.selectPreviousMonth": [
|
|
3909
3909
|
{
|
|
3910
3910
|
type: 0,
|
|
3911
|
-
value: "
|
|
3911
|
+
value: "Eviouspray onthmay"
|
|
3912
3912
|
}
|
|
3913
3913
|
],
|
|
3914
3914
|
"date.selectPreviousYear": [
|
|
3915
3915
|
{
|
|
3916
3916
|
type: 0,
|
|
3917
|
-
value: "
|
|
3917
|
+
value: "Eviouspray earyay"
|
|
3918
3918
|
}
|
|
3919
3919
|
],
|
|
3920
3920
|
"date.selectRange": [
|
|
@@ -4381,7 +4381,7 @@ const pig = {
|
|
|
4381
4381
|
"pagination.navLabel": [
|
|
4382
4382
|
{
|
|
4383
4383
|
type: 0,
|
|
4384
|
-
value: "Aginationpay avigationnay
|
|
4384
|
+
value: "Aginationpay avigationnay"
|
|
4385
4385
|
}
|
|
4386
4386
|
],
|
|
4387
4387
|
"pagination.nextPageButtonLabel": [
|