@watermarkinsights/ripple 5.11.0-5 → 5.11.0-7
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/{esm/global-f2ef720a.js → cjs/app-globals-b3f03eaa.js} +10 -1
- package/dist/cjs/{chartFunctions-b47a5431.js → chartFunctions-7314b414.js} +3 -3
- package/dist/cjs/{functions-e24249e6.js → functions-5ac8a62f.js} +104 -7
- package/dist/cjs/index-788526f5.js +1859 -0
- package/dist/cjs/{intl-a70cf8c2.js → intl-07aaf53c.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/priv-calendar.cjs.entry.js +6 -5
- package/dist/cjs/priv-chart-popover.cjs.entry.js +6 -5
- package/dist/cjs/priv-navigator-button.cjs.entry.js +4 -3
- package/dist/cjs/priv-navigator-item.cjs.entry.js +4 -3
- package/dist/cjs/priv-option-list.cjs.entry.js +5 -4
- package/dist/cjs/ripple.cjs.js +13 -12
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +9 -7
- package/dist/cjs/wm-button.cjs.entry.js +6 -5
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +7 -6
- package/dist/cjs/wm-date-range.cjs.entry.js +9 -8
- package/dist/cjs/wm-datepicker.cjs.entry.js +9 -8
- package/dist/cjs/wm-file-list.cjs.entry.js +4 -3
- package/dist/cjs/wm-file.cjs.entry.js +5 -4
- package/dist/cjs/wm-input.cjs.entry.js +6 -5
- package/dist/cjs/wm-line-chart.cjs.entry.js +16 -15
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +13 -10
- package/dist/cjs/wm-modal_3.cjs.entry.js +13 -10
- package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -10
- package/dist/cjs/wm-navigator.cjs.entry.js +4 -3
- package/dist/cjs/wm-nested-select.cjs.entry.js +8 -7
- package/dist/cjs/wm-optgroup.cjs.entry.js +5 -4
- package/dist/cjs/wm-option_2.cjs.entry.js +10 -8
- package/dist/cjs/wm-pagination.cjs.entry.js +5 -4
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +9 -7
- package/dist/cjs/wm-search.cjs.entry.js +7 -6
- package/dist/cjs/wm-snackbar.cjs.entry.js +7 -6
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +11 -8
- package/dist/cjs/wm-tag-input.cjs.entry.js +8 -7
- package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +6 -5
- package/dist/cjs/wm-timepicker.cjs.entry.js +6 -5
- package/dist/cjs/wm-toggletip.cjs.entry.js +34 -36
- package/dist/cjs/wm-uploader.cjs.entry.js +8 -7
- package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/charts/chartFunctions.js +1 -1
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
- package/dist/collection/components/charts/wm-chart/wm-chart.js +1 -1
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +10 -10
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +1 -1
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
- package/dist/collection/components/datepickers/wm-date-range.js +17 -13
- package/dist/collection/components/datepickers/wm-datepicker.js +17 -13
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -5
- 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 +2 -2
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
- package/dist/collection/components/wm-button/wm-button.css +1 -0
- 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-input/wm-input.js +1 -1
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +3 -0
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal.js +2 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
- package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
- package/dist/collection/components/wm-search/wm-search.js +5 -4
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
- package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +105 -34
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +31 -39
- package/dist/collection/components/wm-uploader/wm-uploader.css +1 -0
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/{cjs/global-6d269c79.js → esm/app-globals-100a3ed5.js} +7 -2
- package/dist/esm/{chartFunctions-d2ecde7f.js → chartFunctions-c273c613.js} +3 -3
- package/dist/esm/{functions-8800c690.js → functions-f39e6177.js} +105 -8
- package/dist/esm/index-130e07bb.js +1828 -0
- package/dist/esm/{intl-cf443c87.js → intl-a0ebf99e.js} +1 -1
- package/dist/esm/loader.js +6 -5
- package/dist/esm/priv-calendar.entry.js +6 -5
- package/dist/esm/priv-chart-popover.entry.js +6 -5
- package/dist/esm/priv-navigator-button.entry.js +4 -3
- package/dist/esm/priv-navigator-item.entry.js +4 -3
- package/dist/esm/priv-option-list.entry.js +5 -4
- package/dist/esm/ripple.js +14 -13
- package/dist/esm/wm-action-menu_2.entry.js +9 -7
- package/dist/esm/wm-button.entry.js +6 -5
- package/dist/esm/wm-chart-slice.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +7 -6
- package/dist/esm/wm-date-range.entry.js +9 -8
- package/dist/esm/wm-datepicker.entry.js +9 -8
- package/dist/esm/wm-file-list.entry.js +4 -3
- package/dist/esm/wm-file.entry.js +5 -4
- package/dist/esm/wm-input.entry.js +6 -5
- package/dist/esm/wm-line-chart.entry.js +16 -15
- package/dist/esm/wm-modal-pss_3.entry.js +13 -10
- package/dist/esm/wm-modal_3.entry.js +13 -10
- package/dist/esm/wm-navigation_3.entry.js +13 -10
- package/dist/esm/wm-navigator.entry.js +4 -3
- package/dist/esm/wm-nested-select.entry.js +8 -7
- package/dist/esm/wm-optgroup.entry.js +5 -4
- package/dist/esm/wm-option_2.entry.js +10 -8
- package/dist/esm/wm-pagination.entry.js +5 -4
- package/dist/esm/wm-progress-indicator_3.entry.js +9 -7
- package/dist/esm/wm-search.entry.js +7 -6
- package/dist/esm/wm-snackbar.entry.js +7 -6
- package/dist/esm/wm-tab-item_3.entry.js +11 -8
- package/dist/esm/wm-tag-input.entry.js +8 -7
- package/dist/esm/wm-tag-option.entry.js +2 -2
- package/dist/esm/wm-textarea.entry.js +6 -5
- package/dist/esm/wm-timepicker.entry.js +6 -5
- package/dist/esm/wm-toggletip.entry.js +34 -36
- package/dist/esm/wm-uploader.entry.js +8 -7
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-100a3ed5.js +1 -0
- package/dist/esm-es5/{chartFunctions-d2ecde7f.js → chartFunctions-c273c613.js} +1 -1
- package/dist/esm-es5/functions-f39e6177.js +1 -0
- package/dist/esm-es5/index-130e07bb.js +1 -0
- package/dist/esm-es5/{intl-cf443c87.js → intl-a0ebf99e.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.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-slice.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-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/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/loader/cdn.js +1 -2
- package/dist/loader/index.cjs.js +1 -2
- package/dist/loader/index.d.ts +3 -0
- package/dist/loader/index.es2017.js +1 -2
- package/dist/loader/index.js +1 -2
- package/dist/ripple/{p-65d26233.system.entry.js → p-043901ab.system.entry.js} +1 -1
- package/dist/ripple/p-05fbc327.entry.js +1 -0
- package/dist/ripple/p-0ed1e17e.entry.js +1 -0
- package/dist/ripple/{p-0e36d5b8.system.entry.js → p-0f09ccc6.system.entry.js} +1 -1
- package/dist/ripple/p-105e5721.system.entry.js +1 -0
- package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
- package/dist/ripple/p-152b20ae.entry.js +1 -0
- package/dist/ripple/{p-1a71d867.system.entry.js → p-165b5d3d.system.entry.js} +1 -1
- package/dist/ripple/{p-a9a22fe9.system.entry.js → p-165ce5ff.system.entry.js} +1 -1
- package/dist/ripple/{p-9dd401f8.entry.js → p-1bbd7c10.entry.js} +1 -1
- package/dist/ripple/{p-dd01bd48.entry.js → p-1bef5a45.system.entry.js} +1 -1
- package/dist/ripple/{p-f779ec68.system.entry.js → p-22dda578.system.entry.js} +1 -1
- package/dist/ripple/p-2a30d411.system.entry.js +1 -0
- package/dist/ripple/{p-55d837e7.system.entry.js → p-2c8f0e96.system.entry.js} +1 -1
- package/dist/ripple/{p-a04ef164.system.entry.js → p-3376581a.system.entry.js} +1 -1
- package/dist/ripple/{p-de272ae7.system.entry.js → p-35218430.system.entry.js} +1 -1
- package/dist/ripple/p-35c7696e.entry.js +1 -0
- package/dist/ripple/{p-544925c2.entry.js → p-362b19a2.entry.js} +1 -1
- package/dist/ripple/p-3744869a.js +1 -0
- package/dist/ripple/{p-608f69c1.system.entry.js → p-39dd3870.system.entry.js} +1 -1
- package/dist/ripple/{p-7b4af332.system.entry.js → p-3ceed568.entry.js} +1 -1
- package/dist/ripple/p-3dcdc247.entry.js +1 -0
- package/dist/ripple/p-3f486eed.system.js +1 -0
- package/dist/ripple/p-410373fc.entry.js +1 -0
- package/dist/ripple/{p-7478303e.entry.js → p-42596f25.entry.js} +1 -1
- package/dist/ripple/{p-d6e58820.system.entry.js → p-4410cab5.system.entry.js} +1 -1
- package/dist/ripple/{p-21b87733.system.entry.js → p-47f6c939.system.entry.js} +1 -1
- package/dist/ripple/p-4b8cb0a4.entry.js +1 -0
- package/dist/ripple/{p-e71ee9f4.system.js → p-4c1efa04.system.js} +1 -1
- package/dist/ripple/p-5107cac1.entry.js +1 -0
- package/dist/ripple/{p-68e04222.entry.js → p-5c25870c.entry.js} +1 -1
- package/dist/ripple/{p-e9b8a6a9.entry.js → p-5c62e26d.entry.js} +1 -1
- package/dist/ripple/p-5d8386b4.system.entry.js +1 -0
- package/dist/ripple/p-60895838.entry.js +1 -0
- package/dist/ripple/{p-1a4b6b02.system.entry.js → p-658f146a.system.entry.js} +1 -1
- package/dist/ripple/{p-c7e30eb0.system.entry.js → p-72e05203.system.entry.js} +1 -1
- package/dist/ripple/{p-b976c84b.entry.js → p-76d248e6.entry.js} +1 -1
- package/dist/ripple/p-76f9acec.entry.js +1 -0
- package/dist/ripple/{p-5415aaf9.system.entry.js → p-79a6b32f.system.entry.js} +1 -1
- package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
- package/dist/ripple/{p-55e9e0cb.entry.js → p-83d1c1fb.entry.js} +1 -1
- package/dist/ripple/p-86a5178d.entry.js +1 -0
- package/dist/ripple/{p-915289ac.system.entry.js → p-8918aa06.system.entry.js} +1 -1
- package/dist/ripple/p-89a2db02.js +1 -0
- package/dist/ripple/p-8d4f674f.entry.js +1 -0
- package/dist/ripple/{p-2b21c6f5.system.entry.js → p-9287d70b.system.entry.js} +1 -1
- package/dist/ripple/{p-6b014a04.system.entry.js → p-9513be67.system.entry.js} +1 -1
- package/dist/ripple/p-95dc8d71.entry.js +1 -0
- package/dist/ripple/{p-366920dc.js → p-96505312.js} +1 -1
- package/dist/ripple/{p-710c6115.js → p-9708c995.js} +1 -1
- package/dist/ripple/{p-743eb986.system.entry.js → p-9dcf2403.system.entry.js} +1 -1
- package/dist/ripple/{p-7cf5993c.system.entry.js → p-a3f9e2f6.system.entry.js} +1 -1
- package/dist/ripple/{p-704be1e8.system.entry.js → p-a40296fc.system.entry.js} +1 -1
- package/dist/ripple/{p-ba6705f0.system.entry.js → p-a65e54ed.system.entry.js} +1 -1
- package/dist/ripple/p-aa5947de.entry.js +1 -0
- package/dist/ripple/p-ac6b2cfe.entry.js +1 -0
- package/dist/ripple/p-b1265a17.system.js +1 -0
- package/dist/ripple/p-b4e7d63f.entry.js +1 -0
- package/dist/ripple/{p-3322823d.system.js → p-bb25b9af.system.js} +1 -1
- package/dist/ripple/p-bda9a663.system.entry.js +1 -0
- package/dist/ripple/{p-39a7a8c2.system.entry.js → p-bee47080.system.entry.js} +1 -1
- package/dist/ripple/{p-d57e8196.entry.js → p-c1c41694.system.entry.js} +1 -1
- package/dist/ripple/{p-4743176d.system.entry.js → p-c34c9cbb.system.entry.js} +1 -1
- package/dist/ripple/p-c5c31818.entry.js +1 -0
- package/dist/ripple/{p-e2c6052b.system.entry.js → p-cca7a151.system.entry.js} +1 -1
- package/dist/ripple/{p-88ebddd7.entry.js → p-cd0cc88d.entry.js} +1 -1
- package/dist/ripple/p-cef8a45b.system.js +2 -0
- package/dist/ripple/{p-878fd4af.system.entry.js → p-d0736520.system.entry.js} +1 -1
- package/dist/ripple/p-d528f5e4.entry.js +1 -0
- package/dist/ripple/{p-0021b81c.system.entry.js → p-d85c6d0d.system.entry.js} +1 -1
- package/dist/ripple/p-d9da0502.js +2 -0
- package/dist/ripple/p-da15c18e.entry.js +1 -0
- package/dist/ripple/p-da424bdb.entry.js +1 -0
- package/dist/ripple/{p-f6eff655.system.entry.js → p-ead461fe.system.entry.js} +1 -1
- package/dist/ripple/{p-b52742ca.system.entry.js → p-f2a3d851.entry.js} +1 -1
- package/dist/ripple/p-f39b556d.entry.js +1 -0
- package/dist/ripple/p-f98f9a32.entry.js +1 -0
- package/dist/ripple/p-f9a71cf6.entry.js +1 -0
- package/dist/ripple/p-ffeaea05.system.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +1 -3
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/package.json +1 -1
- package/dist/cjs/index-e86c28b6.js +0 -2649
- package/dist/collection/components/charts/chartFunctions.spec.js +0 -16
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +0 -81
- package/dist/collection/components/charts/screenshots.e2e.js +0 -96
- package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +0 -213
- package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +0 -37
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +0 -176
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +0 -163
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +0 -69
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +0 -79
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.spec.js +0 -89
- package/dist/collection/components/datepickers/wm-date-range.e2e.js +0 -443
- package/dist/collection/components/datepickers/wm-date-range.spec.js +0 -22
- package/dist/collection/components/datepickers/wm-datepicker.e2e.js +0 -382
- package/dist/collection/components/datepickers/wm-datepicker.spec.js +0 -21
- package/dist/collection/components/selects/wm-option/wm-option.e2e.js +0 -22
- package/dist/collection/components/selects/wm-option/wm-option.spec.js +0 -63
- package/dist/collection/components/selects/wm-select/wm-select.e2e.js +0 -521
- package/dist/collection/components/selects/wm-select/wm-select.spec.js +0 -271
- package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +0 -200
- package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +0 -48
- package/dist/collection/components/wm-button/wm-button.e2e.js +0 -55
- package/dist/collection/components/wm-button/wm-button.spec.js +0 -74
- package/dist/collection/components/wm-file/wm-file.spec.js +0 -194
- package/dist/collection/components/wm-file-list/wm-file-list.spec.js +0 -69
- package/dist/collection/components/wm-input/wm-input.e2e.js +0 -32
- package/dist/collection/components/wm-input/wm-input.spec.js +0 -173
- package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +0 -23
- package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +0 -54
- package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +0 -11
- package/dist/collection/components/wm-modal/wm-modal-header.spec.js +0 -8
- package/dist/collection/components/wm-modal/wm-modal.e2e.js +0 -104
- package/dist/collection/components/wm-modal/wm-modal.spec.js +0 -30
- package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +0 -102
- package/dist/collection/components/wm-navigation/wm-navigation.spec.js +0 -91
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +0 -50
- package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +0 -209
- package/dist/collection/components/wm-navigator/wm-navigator.spec.js +0 -177
- package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +0 -312
- package/dist/collection/components/wm-search/wm-search.e2e.js +0 -76
- package/dist/collection/components/wm-search/wm-search.spec.js +0 -71
- package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +0 -112
- package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +0 -9
- package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +0 -91
- package/dist/collection/components/wm-tabs/wm-tabs.spec.js +0 -12
- package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +0 -204
- package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +0 -195
- package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +0 -41
- package/dist/collection/components/wm-textarea/wm-textarea.spec.js +0 -79
- package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +0 -163
- package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +0 -147
- package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +0 -69
- package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +0 -21
- package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +0 -70
- package/dist/collection/components/wm-uploader/wm-uploader.spec.js +0 -234
- package/dist/collection/global/functions.spec.js +0 -126
- package/dist/collection/lang/lang.spec.js +0 -20
- package/dist/esm/index-558b5a82.js +0 -2618
- package/dist/esm-es5/functions-8800c690.js +0 -1
- package/dist/esm-es5/global-f2ef720a.js +0 -1
- package/dist/esm-es5/index-558b5a82.js +0 -1
- package/dist/ripple/p-159c4e96.entry.js +0 -1
- package/dist/ripple/p-1940a508.entry.js +0 -1
- package/dist/ripple/p-1c486c10.entry.js +0 -1
- package/dist/ripple/p-1fce9f27.entry.js +0 -1
- package/dist/ripple/p-32507c13.system.entry.js +0 -1
- package/dist/ripple/p-39e26322.entry.js +0 -1
- package/dist/ripple/p-3a1c61a9.entry.js +0 -1
- package/dist/ripple/p-3aeaedcc.entry.js +0 -1
- package/dist/ripple/p-417ee34d.entry.js +0 -1
- package/dist/ripple/p-44f426ad.entry.js +0 -1
- package/dist/ripple/p-4de728e1.entry.js +0 -1
- package/dist/ripple/p-4ff87702.system.entry.js +0 -1
- package/dist/ripple/p-568c595f.js +0 -2
- package/dist/ripple/p-5e1a53e9.system.js +0 -1
- package/dist/ripple/p-5e9c9f0d.entry.js +0 -1
- package/dist/ripple/p-64b1e73b.entry.js +0 -1
- package/dist/ripple/p-70bce4ef.system.entry.js +0 -1
- package/dist/ripple/p-727910d3.entry.js +0 -1
- package/dist/ripple/p-79043436.entry.js +0 -1
- package/dist/ripple/p-797d65b7.entry.js +0 -1
- package/dist/ripple/p-94495341.entry.js +0 -1
- package/dist/ripple/p-94717864.entry.js +0 -1
- package/dist/ripple/p-9eaa0acb.system.entry.js +0 -1
- package/dist/ripple/p-ab8d78cc.system.js +0 -2
- package/dist/ripple/p-adc254e6.entry.js +0 -1
- package/dist/ripple/p-b02048a9.entry.js +0 -1
- package/dist/ripple/p-b9718c79.js +0 -1
- package/dist/ripple/p-bc52ce59.entry.js +0 -1
- package/dist/ripple/p-d585c49a.entry.js +0 -1
- package/dist/ripple/p-d6732390.system.js +0 -1
- package/dist/ripple/p-dc77d98a.entry.js +0 -1
- package/dist/ripple/p-e9068226.entry.js +0 -1
- package/dist/ripple/p-eca78c2b.js +0 -1
- package/dist/ripple/p-edd87140.system.js +0 -1
|
@@ -96,9 +96,9 @@ export class Navigation {
|
|
|
96
96
|
} }));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { class: "tray" }, h("div", { class: "toggle-wrapper" }, h("wm-button", { 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: () => {
|
|
99
|
+
return (h(Host, { key: '07715708e3ce55d682922a541a2eb3ebc344e3f8', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: 'dc1605e10718db381d62277212075d66c449203a', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '5eac009e3b8ca72758876ba2854f08c0b628272e', class: "tray" }, h("div", { key: 'e55a956593076b1256dc2f9b5afff29bbb6ee02a', class: "toggle-wrapper" }, h("wm-button", { key: '87206deed2d58e192644a29f79b7e43c62cd9527', 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", { class: "navlist" }, h("slot",
|
|
101
|
+
} })), h("ul", { key: 'd556f415a4e448737cdd4330ee3b491bdb92406d', class: "navlist" }, h("slot", { key: '4afb84723d83cff39fba23769f84cfc03ee0b83d' }))), this.isCollapsible && (h("div", { key: '2b28fde2e59ffe93d48173f30682ace5297b9266', 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", { "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
|
|
12
|
+
return (h("button", { key: '36fe285b1142a492a6f41a7d4427f62dbd4ca938', "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", { class: `navoption ${selectedClass} ${focusedClass}` }, h("slot",
|
|
19
|
+
return (h("div", { key: 'c0120a6e1efa71fea0ebf431fa5b8db4cd284676', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '0a76e5acbd234f0c92983a24324a7e10f53bd893' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "priv-navigator-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -151,7 +151,7 @@ export class Pagination {
|
|
|
151
151
|
render() {
|
|
152
152
|
return (
|
|
153
153
|
// do not render the component if there's only one page
|
|
154
|
-
this.totalItems > this.itemsPerPage && (h("nav", { "aria-label": `Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
|
|
154
|
+
this.totalItems > this.itemsPerPage && (h("nav", { key: '4a9b64a4bbfa5da2d26b64c639054985826fc968', "aria-label": `Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '98de85ef66a0861f2f1997c7881b17f0a50509b9', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
|
|
155
155
|
}
|
|
156
156
|
static get is() { return "wm-pagination"; }
|
|
157
157
|
static get encapsulation() { return "shadow"; }
|
|
@@ -166,10 +166,10 @@ export class Search {
|
|
|
166
166
|
* End search and find render helpers
|
|
167
167
|
*/
|
|
168
168
|
render() {
|
|
169
|
-
return (h(Host,
|
|
169
|
+
return (h(Host, { key: '1ffec56e18aeda2b15741dd86adb2a0d2d131dfc' }, h("div", { key: '1253a6ac6923653d7bc5daceb3fa83f3eb3f45ea', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '20d3c4520fdf0fc511f7e2b7866e4089a4a58a71', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
|
|
170
170
|
id: "search.typeToFilterResults",
|
|
171
171
|
defaultMessage: "Type to filter the results",
|
|
172
|
-
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { 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()));
|
|
172
|
+
})}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '410a1c3e881bbdf76f9b8c3a6aaf3064e200c776', class: "svg-icon svg-search" }), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '51a68b524397adab5278394479a5059708629f2c', 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()));
|
|
173
173
|
}
|
|
174
174
|
static get is() { return "wm-search"; }
|
|
175
175
|
static get encapsulation() { return "shadow"; }
|
|
@@ -380,8 +380,9 @@ export class Search {
|
|
|
380
380
|
"complexType": {
|
|
381
381
|
"signature": "(value: string) => Promise<void>",
|
|
382
382
|
"parameters": [{
|
|
383
|
-
"
|
|
384
|
-
"
|
|
383
|
+
"name": "value",
|
|
384
|
+
"type": "string",
|
|
385
|
+
"docs": ""
|
|
385
386
|
}],
|
|
386
387
|
"references": {
|
|
387
388
|
"Promise": {
|
|
@@ -150,11 +150,11 @@ export class Snackbar {
|
|
|
150
150
|
}, 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" })))), h("button", { id: `close-button-${notification.id}`, "aria-label": "Close this notification", class: "closesnack", tabindex: notification.link ? 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 ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
|
-
return (h(Host,
|
|
153
|
+
return (h(Host, { key: '4a20ad18b5f35266c9bb1b2000c6dd4a56260850' }, h("div", { key: 'c732bd432d88c8522096491c4e28750e18912832', ref: (el) => (this.snackAreaEl = el), class: {
|
|
154
154
|
"list-wrapper": true,
|
|
155
155
|
"user-is-tabbing": this.isTabbing,
|
|
156
156
|
empty: this.parsedNotifications.length == 0,
|
|
157
|
-
} }, this.renderSnackbars()), h("div", { class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
157
|
+
} }, this.renderSnackbars()), h("div", { key: '88d92b97479e3914bd99958c3045e95048e527c2', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
|
|
158
158
|
}
|
|
159
159
|
static get is() { return "wm-snackbar"; }
|
|
160
160
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class TabItem {
|
|
|
40
40
|
"background-size": `calc(100% - ${bkgSize}${units}) 3px`,
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
return (h(Host, { role: "presentation" }, h("li", { class: "tab-item", role: "presentation" }, h("a", { class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot",
|
|
43
|
+
return (h(Host, { key: '03f7157e9d97d75d964bcf74bd3b22a6d4b134f7', role: "presentation" }, h("li", { key: '4c2f0e96555a70677c07e27a93bc8b32da016044', class: "tab-item", role: "presentation" }, h("a", { key: 'f433630cab179818bd2193b2fdac45a794e9f241', class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", { key: 'cbfdd92ef027ae9c1b73ffe9bbce37ab71007521' })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "wm-tab-item"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,7 +155,7 @@ export class TabList {
|
|
|
155
155
|
} }, t.textContent)));
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return h(Host, { class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
|
|
158
|
+
return h(Host, { key: '226fe27325450249c54dd968e987b830a6a9b2ef', class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "wm-tab-list"; }
|
|
161
161
|
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, { role: "tabpanel", class: { "tab-hidden": !this.active } });
|
|
15
|
+
return h(Host, { key: '0f98f2483566f5c10062cf2413ef5a03417f2e6e', role: "tabpanel", class: { "tab-hidden": !this.active } });
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "wm-tab-panel"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -858,12 +858,12 @@ export class TagInput {
|
|
|
858
858
|
}
|
|
859
859
|
}
|
|
860
860
|
render() {
|
|
861
|
-
return (h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, h("label", { class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))), h("div", { class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { class: "upper-row" }, h("div", { class: "svg-icon svg-search" }), h("div", { class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { 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-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
861
|
+
return (h("div", { key: 'af231128d260623c879ef2089b09027063499160', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '2f59f083c55296c78ed525a58d029bfc9b9529ee', class: "label-wrapper" }, h("label", { key: '635e5dd747f1d4efde1a69263852783233b2a5f0', class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { key: 'd320313704264ea92481fe5949dd7bb6d05c2a0d', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '0b4ba6ae8448bc0163400f6491afd3d9698e229e', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: '2a88752b7448ea96bb22f810f4eb836eb8c46396', class: "upper-row" }, h("div", { key: '2a651303dd7ae11a1d4b69ec8d2238858c60db70', class: "svg-icon svg-search" }), h("div", { key: '91bee9d946319fc824b7e8d16044b94b25d69a52', class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { key: '60e54382a3449bbc4cbeef5de986679201e4d019', 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-label": `${this.label} ${this.tagAreaInstructions}`, tabindex: this._tagEls.length > 0 ? 0 : -1, "aria-describedby": `info max-tags`, onFocus: (ev) => this.handleTagAreaFocus(ev), onBlur: (ev) => {
|
|
862
862
|
this.focusedTagIndex = undefined;
|
|
863
863
|
this.handleBlur(ev);
|
|
864
|
-
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""} max-tags`, "aria-label": `${this.label} ${this.isDropdown ? globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
|
|
864
|
+
}, onKeyDown: (ev) => this.handleTagAreaKeyDown(ev) }, this.renderTags()), h("input", { key: 'e967fb3dd1543cc71e689127a3ff4de287e63122', id: "input", class: "input", role: "combobox", ref: (el) => (this.inputEl = el), autocomplete: "off", "aria-required": this.requiredField ? "true" : null, "aria-controls": this.tagInputType, "aria-describedby": `help-text${this.errorMessage ? " error " : ""} max-tags`, "aria-label": `${this.label} ${this.isDropdown ? globalMessages.getCharacterLimit(this.characterLimit) : ""}`, "aria-expanded": this.isDropdown ? this.isExpanded.toString() : null, "aria-activedescendant": this.inputActiveDescendantId, placeholder: this.placeholder, maxLength: this.isDropdown ? this.characterLimit : undefined, onInput: (ev) => this.handleInputChanged(ev), onBlur: (ev) => {
|
|
865
865
|
this.handleBlur(ev);
|
|
866
|
-
}, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { id: "info", class: "info-text" }, this.info)), h("div", { id: "error" }, this.errorMessage), h("div", { class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
866
|
+
}, onFocus: () => this.handleInputFocus(), onKeyDown: (ev) => this.handleInputKeyDown(ev) })), this.isDropdown && (h("div", { key: '75b899bc274fd826a49dd70faa502ec2812e7ff7', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '94b40202dce3a7f9e28e2ef7efcfc696c5613ac7', id: "info", class: "info-text" }, this.info)), h("div", { key: '1351786b25c5c28c65a646393c8f93a2a9bdf2c1', id: "error" }, this.errorMessage), h("div", { key: '6704903361bdfd1412df5d95d28b1569d0b303ad', class: "sr-only", "aria-live": "polite", ref: (el) => (this.liveRegionEl = el), "aria-atomic": "true" }, this.liveRegionMessage), this.isTable && this.renderTable()));
|
|
867
867
|
}
|
|
868
868
|
static get is() { return "wm-tag-input"; }
|
|
869
869
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,7 +65,7 @@ export class Textarea {
|
|
|
65
65
|
this.announcement = message;
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, h("label", { htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))), h("div", { class: "inner-wrapper" }, h("div", { class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { 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", { id: "info", class: "info" }, this.info)), h("div", { id: "error", class: "error-message" }, this.errorMessage), h("div", { id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
68
|
+
return (h("div", { key: 'e2d740d8479a2c7fceafb2cd68d9f97eb876f785', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '2f410dc0729e16d0b18e614f376825f2046df597', class: "label-wrapper" }, h("label", { key: '42478a23be2991709f1225d29fc5b70f1c265e60', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: '075b4662280aca2fd60c0d9c1c5c55943432fa40', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: '04170738af7aed5c0c1c93e0514a0820ce95f45d', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '8c95a78fc48323b507f698b7a60e23ee695eafd5', class: "inner-wrapper" }, h("div", { key: 'f2d97022f110d272158a4b66b99823855e9446ee', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: '53c1dfdeaee25b4ead90e5077df55c5e75860510', 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: 'e6752b037381940fd2c02fc994b018bff40d0160', id: "info", class: "info" }, this.info)), h("div", { key: '207fc1dd5736e9c9a401daab3334e52f2dbdb7b5', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'a310af56a1bf1b1ba045707ee1b5b8fb7a0bd770', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "wm-textarea"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -275,13 +275,13 @@ export class Timepicker {
|
|
|
275
275
|
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))));
|
|
276
276
|
}
|
|
277
277
|
render() {
|
|
278
|
-
return (h(Host, { onBlur: () => this.close(false) }, h("div", { class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*"))))), h("div",
|
|
278
|
+
return (h(Host, { key: '6c9babdf2a8237a46321cc7fbb9185f23b6e73ee', onBlur: () => this.close(false) }, h("div", { key: '214da15a53ada6e5e1dbfb2d1d6bf73d9e0231b2', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '3179f94028e1645d63b047e33efe756cd337ce17', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '9d490705cd32b26bf5de757e6fd5889473a7c4c4', id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { key: '8e54d504e4ab76a03ef7a01cdf8e1fb161c37016', class: "required", "aria-hidden": "true" }, "*"))))), h("div", { key: '22b7b8c33679f6f7c194e9d3bc3c6794af4ddedd' }, h("div", { key: '4eb746fae7776b906053429059cec00c47ce31c4', class: "inner-wrapper" }, h("input", { key: '7f17b1dfedbf3d2f574247c0fa71b256ac094a79', 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: '1c3f6a403417b9baa4e0f17644cac84d7d6ea1af', 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()),
|
|
279
279
|
// This addresses an issue in Safari, where clicking buttons does not focus them
|
|
280
280
|
// if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
|
|
281
281
|
onMouseDown: (ev) => {
|
|
282
282
|
ev.preventDefault();
|
|
283
283
|
this.buttonEl.focus();
|
|
284
|
-
} }, h("span", { class: "svg-icon svg-time" })), h("ul", { 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", { id: "error", class: "error" }, this.errorMessage)), h("div", { id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
|
|
284
|
+
} }, h("span", { key: 'd679e16b6d81f07ecf96a76a5adac12ac41d75a0', class: "svg-icon svg-time" })), h("ul", { key: 'cc793abe39ce5de00299e8d03051424b43cd8bcc', 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: '3a82aa292fe4d5bfa374d7bcdb8a22bf9f7b3e45', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '11c037ef9b0e95bd6262a34cbdf86be79ef23beb', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
|
|
285
285
|
}
|
|
286
286
|
static get is() { return "wm-timepicker"; }
|
|
287
287
|
static get encapsulation() { return "shadow"; }
|
|
@@ -468,8 +468,9 @@ export class Timepicker {
|
|
|
468
468
|
"complexType": {
|
|
469
469
|
"signature": "(input: string) => Promise<boolean>",
|
|
470
470
|
"parameters": [{
|
|
471
|
-
"
|
|
472
|
-
"
|
|
471
|
+
"name": "input",
|
|
472
|
+
"type": "string",
|
|
473
|
+
"docs": ""
|
|
473
474
|
}],
|
|
474
475
|
"references": {
|
|
475
476
|
"Promise": {
|
|
@@ -488,11 +489,13 @@ export class Timepicker {
|
|
|
488
489
|
"complexType": {
|
|
489
490
|
"signature": "(format: \"12\" | \"24\", time: TimeFormat12 | TimeFormat24) => Promise<string>",
|
|
490
491
|
"parameters": [{
|
|
491
|
-
"
|
|
492
|
-
"
|
|
492
|
+
"name": "format",
|
|
493
|
+
"type": "\"12\" | \"24\"",
|
|
494
|
+
"docs": ""
|
|
493
495
|
}, {
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
+
"name": "time",
|
|
497
|
+
"type": "string",
|
|
498
|
+
"docs": ""
|
|
496
499
|
}],
|
|
497
500
|
"references": {
|
|
498
501
|
"Promise": {
|
|
@@ -853,6 +853,7 @@
|
|
|
853
853
|
align-items: center;
|
|
854
854
|
position: relative;
|
|
855
855
|
cursor: pointer;
|
|
856
|
+
anchor-name: --button;
|
|
856
857
|
}
|
|
857
858
|
:host .button .svg-info {
|
|
858
859
|
color: var(--wmcolor-toggletip-icon-background);
|
|
@@ -895,12 +896,25 @@
|
|
|
895
896
|
position: absolute;
|
|
896
897
|
max-width: 13.75rem;
|
|
897
898
|
width: max-content;
|
|
899
|
+
overflow: visible;
|
|
900
|
+
inset: auto;
|
|
901
|
+
margin: 0;
|
|
898
902
|
padding: 0.5rem 0.75rem;
|
|
903
|
+
border: none;
|
|
899
904
|
border-radius: 0.1875rem;
|
|
900
905
|
background: var(--wmcolor-toggletip-background);
|
|
901
906
|
color: var(--wmcolor-toggletip-text);
|
|
902
|
-
font-size:
|
|
903
|
-
|
|
907
|
+
font-size: 0.875rem;
|
|
908
|
+
position-anchor: --button;
|
|
909
|
+
}
|
|
910
|
+
:host .toggletip.hidden {
|
|
911
|
+
visibility: hidden;
|
|
912
|
+
}
|
|
913
|
+
:host .toggletip.top {
|
|
914
|
+
position-area: block-start center;
|
|
915
|
+
}
|
|
916
|
+
:host .toggletip.top.small {
|
|
917
|
+
translate: 0 -0.75rem;
|
|
904
918
|
}
|
|
905
919
|
:host .toggletip.top:before {
|
|
906
920
|
content: "";
|
|
@@ -917,6 +931,12 @@
|
|
|
917
931
|
margin-left: -0.375rem;
|
|
918
932
|
left: 50%;
|
|
919
933
|
}
|
|
934
|
+
:host .toggletip.bottom {
|
|
935
|
+
position-area: block-end center;
|
|
936
|
+
}
|
|
937
|
+
:host .toggletip.bottom.small {
|
|
938
|
+
translate: 0 0.75rem;
|
|
939
|
+
}
|
|
920
940
|
:host .toggletip.bottom:before {
|
|
921
941
|
content: "";
|
|
922
942
|
position: absolute;
|
|
@@ -932,6 +952,12 @@
|
|
|
932
952
|
margin-left: -0.375rem;
|
|
933
953
|
left: 50%;
|
|
934
954
|
}
|
|
955
|
+
:host .toggletip.right {
|
|
956
|
+
position-area: center inline-end;
|
|
957
|
+
}
|
|
958
|
+
:host .toggletip.right.small {
|
|
959
|
+
translate: 0.75rem 0;
|
|
960
|
+
}
|
|
935
961
|
:host .toggletip.right:before {
|
|
936
962
|
content: "";
|
|
937
963
|
position: absolute;
|
|
@@ -948,6 +974,12 @@
|
|
|
948
974
|
top: calc(50% - 6px);
|
|
949
975
|
left: -0.1875rem;
|
|
950
976
|
}
|
|
977
|
+
:host .toggletip.left {
|
|
978
|
+
position-area: center inline-start;
|
|
979
|
+
}
|
|
980
|
+
:host .toggletip.left.small {
|
|
981
|
+
translate: -0.75rem 0;
|
|
982
|
+
}
|
|
951
983
|
:host .toggletip.left:before {
|
|
952
984
|
content: "";
|
|
953
985
|
position: absolute;
|
|
@@ -964,6 +996,15 @@
|
|
|
964
996
|
top: calc(50% - 6px);
|
|
965
997
|
right: -0.1875rem;
|
|
966
998
|
}
|
|
999
|
+
:host .toggletip.bottom-right {
|
|
1000
|
+
position-area: end;
|
|
1001
|
+
}
|
|
1002
|
+
:host .toggletip.bottom-right.small {
|
|
1003
|
+
translate: -1.75rem 0.75rem;
|
|
1004
|
+
}
|
|
1005
|
+
:host .toggletip.bottom-right.large {
|
|
1006
|
+
translate: -2.5rem 0;
|
|
1007
|
+
}
|
|
967
1008
|
:host .toggletip.bottom-right:before {
|
|
968
1009
|
content: "";
|
|
969
1010
|
position: absolute;
|
|
@@ -981,6 +1022,15 @@
|
|
|
981
1022
|
margin-left: unset;
|
|
982
1023
|
left: 0.875rem;
|
|
983
1024
|
}
|
|
1025
|
+
:host .toggletip.bottom-left {
|
|
1026
|
+
position-area: block-end inline-start;
|
|
1027
|
+
}
|
|
1028
|
+
:host .toggletip.bottom-left.small {
|
|
1029
|
+
translate: 1.75rem 0.75rem;
|
|
1030
|
+
}
|
|
1031
|
+
:host .toggletip.bottom-left.large {
|
|
1032
|
+
translate: 2.5rem 0;
|
|
1033
|
+
}
|
|
984
1034
|
:host .toggletip.bottom-left:before {
|
|
985
1035
|
content: "";
|
|
986
1036
|
position: absolute;
|
|
@@ -999,6 +1049,15 @@
|
|
|
999
1049
|
margin-left: unset;
|
|
1000
1050
|
right: 0.875rem;
|
|
1001
1051
|
}
|
|
1052
|
+
:host .toggletip.top-right {
|
|
1053
|
+
position-area: block-start inline-end;
|
|
1054
|
+
}
|
|
1055
|
+
:host .toggletip.top-right.small {
|
|
1056
|
+
translate: -1.75rem -0.75rem;
|
|
1057
|
+
}
|
|
1058
|
+
:host .toggletip.top-right.large {
|
|
1059
|
+
translate: -2.5rem 0;
|
|
1060
|
+
}
|
|
1002
1061
|
:host .toggletip.top-right:before {
|
|
1003
1062
|
content: "";
|
|
1004
1063
|
position: absolute;
|
|
@@ -1016,6 +1075,15 @@
|
|
|
1016
1075
|
margin-left: unset;
|
|
1017
1076
|
left: 0.875rem;
|
|
1018
1077
|
}
|
|
1078
|
+
:host .toggletip.top-left {
|
|
1079
|
+
position-area: start;
|
|
1080
|
+
}
|
|
1081
|
+
:host .toggletip.top-left.small {
|
|
1082
|
+
translate: 1.75rem -0.75rem;
|
|
1083
|
+
}
|
|
1084
|
+
:host .toggletip.top-left.large {
|
|
1085
|
+
translate: 2.5rem 0;
|
|
1086
|
+
}
|
|
1019
1087
|
:host .toggletip.top-left:before {
|
|
1020
1088
|
content: "";
|
|
1021
1089
|
position: absolute;
|
|
@@ -1034,38 +1102,6 @@
|
|
|
1034
1102
|
margin-left: unset;
|
|
1035
1103
|
right: 0.875rem;
|
|
1036
1104
|
}
|
|
1037
|
-
:host .toggletip.hidden {
|
|
1038
|
-
transform: scale(0, 0) !important;
|
|
1039
|
-
visibility: hidden;
|
|
1040
|
-
}
|
|
1041
|
-
:host .toggletip {
|
|
1042
|
-
top: calc(var(--button-size) / 2);
|
|
1043
|
-
left: calc(var(--button-size) / 2);
|
|
1044
|
-
}
|
|
1045
|
-
:host .toggletip.top {
|
|
1046
|
-
transform: translate(-50%, calc(-100% - 18px));
|
|
1047
|
-
}
|
|
1048
|
-
:host .toggletip.bottom {
|
|
1049
|
-
transform: translate(-50%, 18px);
|
|
1050
|
-
}
|
|
1051
|
-
:host .toggletip.right {
|
|
1052
|
-
transform: translate(18px, -50%);
|
|
1053
|
-
}
|
|
1054
|
-
:host .toggletip.left {
|
|
1055
|
-
transform: translate(calc(-100% - 18px), -50%);
|
|
1056
|
-
}
|
|
1057
|
-
:host .toggletip.bottom-right {
|
|
1058
|
-
transform: translate(-20px, 18px);
|
|
1059
|
-
}
|
|
1060
|
-
:host .toggletip.bottom-left {
|
|
1061
|
-
transform: translate(calc(-100% + 20px), 18px);
|
|
1062
|
-
}
|
|
1063
|
-
:host .toggletip.top-right {
|
|
1064
|
-
transform: translate(-20px, calc(-100% - 18px));
|
|
1065
|
-
}
|
|
1066
|
-
:host .toggletip.top-left {
|
|
1067
|
-
transform: translate(calc(-100% + 20px), calc(-100% - 18px));
|
|
1068
|
-
}
|
|
1069
1105
|
:host .sr-only {
|
|
1070
1106
|
position: absolute !important;
|
|
1071
1107
|
width: 1px !important;
|
|
@@ -1077,4 +1113,39 @@
|
|
|
1077
1113
|
clip-path: inset(50%) !important;
|
|
1078
1114
|
white-space: nowrap !important;
|
|
1079
1115
|
margin: -1px !important;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
@supports not (top: anchor(bottom)) {
|
|
1119
|
+
:host {
|
|
1120
|
+
display: flex;
|
|
1121
|
+
align-items: center;
|
|
1122
|
+
justify-content: center;
|
|
1123
|
+
}
|
|
1124
|
+
:host .toggletip {
|
|
1125
|
+
z-index: 30;
|
|
1126
|
+
}
|
|
1127
|
+
:host .toggletip.top.small, :host .toggletip.top.large {
|
|
1128
|
+
translate: 0 -2.5rem;
|
|
1129
|
+
}
|
|
1130
|
+
:host .toggletip.bottom.small, :host .toggletip.bottom.large {
|
|
1131
|
+
translate: 0 2.5rem;
|
|
1132
|
+
}
|
|
1133
|
+
:host .toggletip.right.small, :host .toggletip.right.large {
|
|
1134
|
+
translate: 3.125rem 0;
|
|
1135
|
+
}
|
|
1136
|
+
:host .toggletip.left.small, :host .toggletip.left.large {
|
|
1137
|
+
translate: -2.75rem 0;
|
|
1138
|
+
}
|
|
1139
|
+
:host .toggletip.bottom-right.small, :host .toggletip.bottom-right.large {
|
|
1140
|
+
translate: calc(50% - 1.25rem) 2.5rem;
|
|
1141
|
+
}
|
|
1142
|
+
:host .toggletip.bottom-left.small, :host .toggletip.bottom-left.large {
|
|
1143
|
+
translate: calc(-50% + 1.25rem) 2.5rem;
|
|
1144
|
+
}
|
|
1145
|
+
:host .toggletip.top-right.small, :host .toggletip.top-right.large {
|
|
1146
|
+
translate: calc(50% - 1.25rem) -2.5rem;
|
|
1147
|
+
}
|
|
1148
|
+
:host .toggletip.top-left.small, :host .toggletip.top-left.large {
|
|
1149
|
+
translate: calc(-50% + 1.25rem) -2.5rem;
|
|
1150
|
+
}
|
|
1080
1151
|
}
|
|
@@ -10,7 +10,9 @@ export class Toggletip {
|
|
|
10
10
|
this.tooltip = undefined;
|
|
11
11
|
this.tooltipPosition = "bottom-right";
|
|
12
12
|
this.targetSize = "small";
|
|
13
|
-
|
|
13
|
+
}
|
|
14
|
+
get isOpen() {
|
|
15
|
+
return this.toggletipEl.matches(":popover-open");
|
|
14
16
|
}
|
|
15
17
|
componentWillLoad() {
|
|
16
18
|
const validTooltipPlacement = [
|
|
@@ -39,12 +41,12 @@ export class Toggletip {
|
|
|
39
41
|
ev.preventDefault();
|
|
40
42
|
if (this.isOpen) {
|
|
41
43
|
ev.stopPropagation(); // prevent closing modal if within one
|
|
42
|
-
this.
|
|
44
|
+
this.toggletipEl.hidePopover();
|
|
43
45
|
}
|
|
44
46
|
break;
|
|
45
47
|
case "Tab":
|
|
46
48
|
if (this.isOpen) {
|
|
47
|
-
this.
|
|
49
|
+
this.toggletipEl.hidePopover();
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
}
|
|
@@ -54,24 +56,35 @@ export class Toggletip {
|
|
|
54
56
|
// Re-announce if clicking any part of the component while open
|
|
55
57
|
this.announceToggletip();
|
|
56
58
|
}
|
|
57
|
-
else {
|
|
58
|
-
this.close();
|
|
59
|
-
}
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
open() {
|
|
63
62
|
hideTooltip();
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
requestAnimationFrame(() => {
|
|
64
|
+
// toggletip position
|
|
65
|
+
// Vertical
|
|
66
|
+
if (this.tooltipPosition.includes("bottom") && shouldOpenUp(this.el, this.toggletipEl.clientHeight)) {
|
|
67
|
+
this.tooltipPosition = this.tooltipPosition.replace("bottom", "top");
|
|
68
|
+
}
|
|
69
|
+
else if (this.tooltipPosition.includes("top") && shouldOpenDown(this.el, this.toggletipEl.clientHeight)) {
|
|
70
|
+
this.tooltipPosition = this.tooltipPosition.replace("top", "bottom");
|
|
71
|
+
}
|
|
72
|
+
// Horizontal
|
|
73
|
+
if (this.tooltipPosition.includes("left") && shouldShiftRight(this.el, this.toggletipEl.clientWidth)) {
|
|
74
|
+
this.tooltipPosition = this.tooltipPosition.replace("left", "right");
|
|
75
|
+
}
|
|
76
|
+
else if (this.tooltipPosition.includes("right") && shouldShiftLeft(this.el, this.toggletipEl.clientWidth)) {
|
|
77
|
+
this.tooltipPosition = this.tooltipPosition.replace("right", "left");
|
|
78
|
+
}
|
|
79
|
+
requestAnimationFrame(() => {
|
|
80
|
+
this.toggletipEl.classList.remove("hidden");
|
|
81
|
+
});
|
|
82
|
+
});
|
|
66
83
|
this.announceToggletip();
|
|
67
84
|
}
|
|
68
|
-
close() {
|
|
69
|
-
this.isOpen = false;
|
|
70
|
-
hideTooltip();
|
|
71
|
-
}
|
|
72
85
|
handleBlur() {
|
|
73
86
|
hideTooltip();
|
|
74
|
-
// clear
|
|
87
|
+
// clear live region on blur to prevent old announcement text from being picked up by screen readers
|
|
75
88
|
this.liveRegionEl.innerHTML = "";
|
|
76
89
|
}
|
|
77
90
|
announceToggletip() {
|
|
@@ -80,26 +93,10 @@ export class Toggletip {
|
|
|
80
93
|
this.liveRegionEl.innerHTML = this.tooltip;
|
|
81
94
|
}, 10);
|
|
82
95
|
}
|
|
83
|
-
setToggletipPosition(pos, el, toggletipHeight, toggletipWidth) {
|
|
84
|
-
// Vertical
|
|
85
|
-
if (pos.includes("bottom") && shouldOpenUp(el, toggletipHeight)) {
|
|
86
|
-
pos = pos.replace("bottom", "top");
|
|
87
|
-
}
|
|
88
|
-
else if (pos.includes("top") && shouldOpenDown(el, toggletipHeight)) {
|
|
89
|
-
pos = pos.replace("top", "bottom");
|
|
90
|
-
}
|
|
91
|
-
// Horizontal
|
|
92
|
-
if (pos.includes("left") && shouldShiftRight(el, toggletipWidth)) {
|
|
93
|
-
pos = pos.replace("left", "right");
|
|
94
|
-
}
|
|
95
|
-
else if (pos.includes("right") && shouldShiftLeft(el, toggletipWidth)) {
|
|
96
|
-
pos = pos.replace("right", "left");
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
96
|
render() {
|
|
100
|
-
return (h(Host, { class: `size-${this.targetSize}` }, h("button", { class: "button", type: "button", "aria-label": this.label, onClick: () => this.open(),
|
|
101
|
-
// In order to position the tooltip identically to the toggletip,
|
|
102
|
-
onMouseEnter: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, h("div", { class: "svg-icon svg-info" })), h("div", { ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.
|
|
97
|
+
return (h(Host, { key: '32543d13ba5bb35fa974fe8f65194260888e8f82', class: `size-${this.targetSize}` }, h("button", { key: 'ec07b4bd3e2c12b4011f551386a7dd677a18d6ec', class: "button", type: "button", "aria-label": this.label, popoverTarget: "toggletip", popoverTargetAction: "toggle", onClick: () => this.open(),
|
|
98
|
+
// In order to position the tooltip identically to the toggletip, its presence is determined by these four events
|
|
99
|
+
onMouseEnter: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }, h("div", { key: 'c5adc72bc9993bd38675ca3640d9cd899031a50d', class: "svg-icon svg-info" })), h("div", { key: '64fbe0df0fdfb1b84904a3b679b964811c6f36f6', popover: "", ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.tooltipPosition} ${this.targetSize} hidden`, id: "toggletip" }, this.tooltip), h("div", { key: '2e75edec08f5f05fa2016c3da53f6beaa3edb8d9', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
103
100
|
}
|
|
104
101
|
static get is() { return "wm-toggletip"; }
|
|
105
102
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +132,7 @@ export class Toggletip {
|
|
|
135
132
|
},
|
|
136
133
|
"tooltip": {
|
|
137
134
|
"type": "string",
|
|
138
|
-
"mutable":
|
|
135
|
+
"mutable": false,
|
|
139
136
|
"complexType": {
|
|
140
137
|
"original": "string",
|
|
141
138
|
"resolved": "string",
|
|
@@ -171,7 +168,7 @@ export class Toggletip {
|
|
|
171
168
|
"text": ""
|
|
172
169
|
},
|
|
173
170
|
"attribute": "tooltip-position",
|
|
174
|
-
"reflect":
|
|
171
|
+
"reflect": false,
|
|
175
172
|
"defaultValue": "\"bottom-right\""
|
|
176
173
|
},
|
|
177
174
|
"targetSize": {
|
|
@@ -194,11 +191,6 @@ export class Toggletip {
|
|
|
194
191
|
}
|
|
195
192
|
};
|
|
196
193
|
}
|
|
197
|
-
static get states() {
|
|
198
|
-
return {
|
|
199
|
-
"isOpen": {}
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
194
|
static get elementRef() { return "el"; }
|
|
203
195
|
static get listeners() {
|
|
204
196
|
return [{
|
|
@@ -300,9 +300,9 @@ export class Uploader {
|
|
|
300
300
|
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")))));
|
|
301
301
|
}
|
|
302
302
|
render() {
|
|
303
|
-
return (h(Host, { class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { 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
|
|
303
|
+
return (h(Host, { key: '05fa03d63ba14665a196bece2c82eabb4882ba82', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: 'fd2c2779cc8f5e8aab480fdb68ac0e482905785d', 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
|
|
304
304
|
,
|
|
305
|
-
"aria-atomic": "true" }), h("div", { ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
305
|
+
"aria-atomic": "true" }), h("div", { key: '2a5c1d00d2a98bd40fa9ac8dbc248209cca470ba', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
306
306
|
}
|
|
307
307
|
static get is() { return "wm-uploader"; }
|
|
308
308
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import './index-130e07bb.js';
|
|
2
2
|
|
|
3
|
-
const version = "5.11.0-
|
|
3
|
+
const version = "5.11.0-7";
|
|
4
4
|
|
|
5
5
|
// PRINT RIPPLE VERSION IN CONSOLE
|
|
6
6
|
// test envs return 0 for plugin.length
|
|
@@ -83,3 +83,8 @@ tooltipStyles.textContent = `
|
|
|
83
83
|
document.head.appendChild(tooltipStyles);
|
|
84
84
|
tooltipContainer.appendChild(tooltipEl);
|
|
85
85
|
document.querySelector("body").appendChild(tooltipContainer);
|
|
86
|
+
const globalFn = () => { };
|
|
87
|
+
|
|
88
|
+
const globalScripts = globalFn;
|
|
89
|
+
|
|
90
|
+
export { globalScripts as g };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-
|
|
1
|
+
import { h } from './index-130e07bb.js';
|
|
2
|
+
import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-f39e6177.js';
|
|
3
3
|
|
|
4
4
|
const colors = {
|
|
5
5
|
salmon: "#ff5f4e",
|
|
@@ -69,7 +69,7 @@ const allChartsDetails = {
|
|
|
69
69
|
bar5: {
|
|
70
70
|
size: 400,
|
|
71
71
|
colors: [
|
|
72
|
-
colors.gray,
|
|
72
|
+
colors.gray, // this is only used if prop notStartedColor is set
|
|
73
73
|
colors.lavender,
|
|
74
74
|
colors.midnight,
|
|
75
75
|
"#0089e4",
|