@watermarkinsights/ripple 5.7.0-10 → 5.7.0-12
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-687694e4.js → cjs/app-globals-4843dce4.js} +10 -1
- package/dist/cjs/{chartFunctions-995023b1.js → chartFunctions-d2a1f4c7.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-5aeba788.js → intl-57d1cfd1.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -3
- 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 +18 -6
- package/dist/cjs/ripple.cjs.js +12 -11
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +8 -6
- package/dist/cjs/wm-button.cjs.entry.js +5 -4
- 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 +15 -14
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +31 -27
- 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 +6 -5
- package/dist/cjs/wm-uploader.cjs.entry.js +7 -6
- 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 +9 -9
- 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.css +9 -0
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +19 -6
- 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.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.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.css +12 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +2 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +12 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +3 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +16 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +14 -13
- 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.js +2 -2
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/collection/dev/pss-modal.js +8 -0
- package/dist/collection/dev/scripts.js +12 -15
- package/dist/{cjs/global-d1944ab2.js → esm/app-globals-f82e2e43.js} +7 -2
- package/dist/esm/{chartFunctions-dfcb1edf.js → chartFunctions-580870de.js} +3 -3
- package/dist/esm/{functions-b791a892.js → functions-f39e6177.js} +105 -8
- package/dist/esm/index-130e07bb.js +1828 -0
- package/dist/esm/{intl-f2f7ce8b.js → intl-dda73e98.js} +1 -1
- package/dist/esm/loader.js +5 -4
- 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 +18 -6
- package/dist/esm/ripple.js +13 -12
- package/dist/esm/wm-action-menu_2.entry.js +8 -6
- package/dist/esm/wm-button.entry.js +5 -4
- 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 +15 -14
- package/dist/esm/wm-modal-pss_3.entry.js +29 -25
- 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 +6 -5
- package/dist/esm/wm-uploader.entry.js +7 -6
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-f82e2e43.js +1 -0
- package/dist/esm-es5/{chartFunctions-dfcb1edf.js → chartFunctions-580870de.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-f2f7ce8b.js → intl-dda73e98.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-07728274.system.entry.js +1 -0
- package/dist/ripple/{p-c1e3c2fb.entry.js → p-08f8d514.entry.js} +1 -1
- package/dist/ripple/{p-db9657eb.system.entry.js → p-09a2b674.system.entry.js} +1 -1
- package/dist/ripple/p-0a34fcb5.entry.js +1 -0
- package/dist/ripple/{p-c853e185.system.entry.js → p-0ddae2a9.system.entry.js} +1 -1
- package/dist/ripple/p-0e2a22ae.system.entry.js +1 -0
- package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
- package/dist/ripple/p-1db0e425.system.entry.js +1 -0
- package/dist/ripple/p-25876f66.system.entry.js +1 -0
- package/dist/ripple/{p-c2e00d4a.system.entry.js → p-26f0e002.system.entry.js} +1 -1
- package/dist/ripple/{p-eddbcb21.js → p-28f57d27.js} +1 -1
- package/dist/ripple/p-29d4515a.system.entry.js +1 -0
- package/dist/ripple/p-302fdc48.system.js +1 -0
- package/dist/ripple/p-3f486eed.system.js +1 -0
- package/dist/ripple/p-43328b55.entry.js +1 -0
- package/dist/ripple/p-45ecb7c2.system.entry.js +1 -0
- package/dist/ripple/p-46423187.entry.js +1 -0
- package/dist/ripple/p-47ae626d.entry.js +1 -0
- package/dist/ripple/p-4c4f6975.system.entry.js +1 -0
- package/dist/ripple/p-5012dbbd.system.entry.js +1 -0
- package/dist/ripple/p-582f31de.entry.js +1 -0
- package/dist/ripple/p-59062511.entry.js +1 -0
- package/dist/ripple/p-5e8e65a4.entry.js +1 -0
- package/dist/ripple/{p-5284791c.entry.js → p-5eac85ef.entry.js} +1 -1
- package/dist/ripple/p-5edde9c7.system.entry.js +1 -0
- package/dist/ripple/p-611ae855.entry.js +1 -0
- package/dist/ripple/{p-f90e4094.entry.js → p-6353196c.entry.js} +1 -1
- package/dist/ripple/p-640ad470.system.entry.js +1 -0
- package/dist/ripple/p-65817387.entry.js +1 -0
- package/dist/ripple/p-66c550ee.system.entry.js +1 -0
- package/dist/ripple/{p-e687176d.entry.js → p-695915d1.entry.js} +1 -1
- package/dist/ripple/p-6a44fb2e.system.entry.js +1 -0
- package/dist/ripple/{p-5a9e3108.system.entry.js → p-7373746a.system.entry.js} +1 -1
- package/dist/ripple/{p-21d372ed.js → p-73ce9af7.js} +1 -1
- package/dist/ripple/{p-5300b15d.entry.js → p-76d248e6.entry.js} +1 -1
- package/dist/ripple/p-78f2e1a4.entry.js +1 -0
- package/dist/ripple/{p-828adbf1.system.js → p-80893d2c.system.js} +1 -1
- package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
- package/dist/ripple/p-84ba26d4.entry.js +1 -0
- package/dist/ripple/p-88351f28.entry.js +1 -0
- package/dist/ripple/p-89a2db02.js +1 -0
- package/dist/ripple/p-8c5a6222.system.entry.js +1 -0
- package/dist/ripple/p-8f5755ba.system.entry.js +1 -0
- package/dist/ripple/{p-0b1c6965.system.entry.js → p-9673d4bb.system.entry.js} +1 -1
- package/dist/ripple/p-98722601.system.entry.js +1 -0
- package/dist/ripple/{p-45f9ad09.entry.js → p-98df2c1b.entry.js} +1 -1
- package/dist/ripple/p-9fce2ede.entry.js +1 -0
- package/dist/ripple/p-a792027f.system.entry.js +1 -0
- package/dist/ripple/{p-a3c01e10.system.entry.js → p-aacc2eb4.system.entry.js} +1 -1
- package/dist/ripple/p-aae2d577.entry.js +1 -0
- package/dist/ripple/p-ab4a5b31.system.entry.js +1 -0
- package/dist/ripple/p-abb112f9.entry.js +1 -0
- package/dist/ripple/{p-ca971eac.system.entry.js → p-abcabbcd.system.entry.js} +1 -1
- package/dist/ripple/p-ad7c0be3.entry.js +1 -0
- package/dist/ripple/p-b0888c07.entry.js +1 -0
- package/dist/ripple/{p-81c2df85.system.js → p-b0dddc8b.system.js} +1 -1
- package/dist/ripple/p-bd3d8207.entry.js +1 -0
- package/dist/ripple/p-be03eb42.entry.js +1 -0
- package/dist/ripple/p-c1861e9f.js +1 -0
- package/dist/ripple/p-c1f0c657.entry.js +1 -0
- package/dist/ripple/{p-fa4f1030.system.entry.js → p-c34c9cbb.system.entry.js} +1 -1
- package/dist/ripple/p-c497187e.entry.js +1 -0
- package/dist/ripple/p-c8ecf28b.system.entry.js +1 -0
- package/dist/ripple/{p-88ebddd7.entry.js → p-cd0cc88d.entry.js} +1 -1
- package/dist/ripple/{p-505eca1c.system.entry.js → p-ce5548d8.system.entry.js} +1 -1
- package/dist/ripple/p-cef8a45b.system.js +2 -0
- package/dist/ripple/p-d60c6330.system.entry.js +1 -0
- package/dist/ripple/p-d9da0502.js +2 -0
- package/dist/ripple/p-dbc96051.entry.js +1 -0
- package/dist/ripple/p-df694f7b.system.entry.js +1 -0
- package/dist/ripple/p-e11f755d.system.js +1 -0
- package/dist/ripple/p-e364d638.entry.js +1 -0
- package/dist/ripple/{p-72165bd2.entry.js → p-e803fb5c.entry.js} +1 -1
- package/dist/ripple/p-e883a4e2.entry.js +1 -0
- package/dist/ripple/p-f096fd7b.entry.js +1 -0
- package/dist/ripple/{p-3e415c49.system.entry.js → p-f5e126a7.system.entry.js} +1 -1
- package/dist/ripple/p-fdcdcf81.system.entry.js +1 -0
- package/dist/ripple/p-ffddb512.system.entry.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +1 -1
- package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +1 -1
- package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +33 -0
- 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-b791a892.js +0 -1
- package/dist/esm-es5/global-687694e4.js +0 -1
- package/dist/esm-es5/index-558b5a82.js +0 -1
- package/dist/ripple/p-012cab20.entry.js +0 -1
- package/dist/ripple/p-021ff5fa.system.entry.js +0 -1
- package/dist/ripple/p-02deae76.entry.js +0 -1
- package/dist/ripple/p-1389302e.system.entry.js +0 -1
- package/dist/ripple/p-149a22bf.entry.js +0 -1
- package/dist/ripple/p-16f65bf4.js +0 -1
- package/dist/ripple/p-1d18d9d2.system.entry.js +0 -1
- package/dist/ripple/p-1e625a5e.entry.js +0 -1
- package/dist/ripple/p-215793a4.entry.js +0 -1
- package/dist/ripple/p-226fe4e0.entry.js +0 -1
- package/dist/ripple/p-236af552.entry.js +0 -1
- package/dist/ripple/p-2e79fa49.entry.js +0 -1
- package/dist/ripple/p-30b905eb.system.entry.js +0 -1
- package/dist/ripple/p-311923b2.system.entry.js +0 -1
- package/dist/ripple/p-3d50db36.entry.js +0 -1
- package/dist/ripple/p-3deaf4d9.system.entry.js +0 -1
- package/dist/ripple/p-41550baa.entry.js +0 -1
- package/dist/ripple/p-568c595f.js +0 -2
- package/dist/ripple/p-6cc07645.system.entry.js +0 -1
- package/dist/ripple/p-6d129ef8.system.entry.js +0 -1
- package/dist/ripple/p-6e725656.system.entry.js +0 -1
- package/dist/ripple/p-6fdfe9f4.system.entry.js +0 -1
- package/dist/ripple/p-725230dd.system.entry.js +0 -1
- package/dist/ripple/p-749597da.system.entry.js +0 -1
- package/dist/ripple/p-77e48f61.system.entry.js +0 -1
- package/dist/ripple/p-83be63f6.entry.js +0 -1
- package/dist/ripple/p-84ba5b74.entry.js +0 -1
- package/dist/ripple/p-902a54c5.entry.js +0 -1
- package/dist/ripple/p-a0ecb6d7.system.entry.js +0 -1
- package/dist/ripple/p-ab8d78cc.system.js +0 -2
- package/dist/ripple/p-ad1bdcd6.js +0 -1
- package/dist/ripple/p-add3ab3d.system.js +0 -1
- package/dist/ripple/p-ade3d9a9.entry.js +0 -1
- package/dist/ripple/p-ae82b3d2.system.js +0 -1
- package/dist/ripple/p-aea13873.entry.js +0 -1
- package/dist/ripple/p-b01f9998.system.entry.js +0 -1
- package/dist/ripple/p-b9dbf1f4.entry.js +0 -1
- package/dist/ripple/p-bf7d98d8.entry.js +0 -1
- package/dist/ripple/p-c47fab48.entry.js +0 -1
- package/dist/ripple/p-c885c7f9.entry.js +0 -1
- package/dist/ripple/p-c9543950.system.entry.js +0 -1
- package/dist/ripple/p-ca397ba6.system.js +0 -1
- package/dist/ripple/p-cad0c5f9.system.entry.js +0 -1
- package/dist/ripple/p-cff5d7e9.system.entry.js +0 -1
- package/dist/ripple/p-df157138.entry.js +0 -1
- package/dist/ripple/p-e081fdc2.system.entry.js +0 -1
- package/dist/ripple/p-ed1f6b8d.system.entry.js +0 -1
- package/dist/ripple/p-f13b034e.entry.js +0 -1
- package/dist/ripple/p-f2101a0d.entry.js +0 -1
- package/dist/ripple/p-f24572f5.entry.js +0 -1
- package/dist/ripple/p-f3f4620c.entry.js +0 -1
- package/dist/ripple/p-f40e1468.system.entry.js +0 -1
- package/dist/ripple/p-f4bcee58.system.entry.js +0 -1
- package/dist/ripple/p-ff1ed90f.entry.js +0 -1
|
@@ -34,8 +34,17 @@ wm-modal-pss {
|
|
|
34
34
|
--wmcolor-modal-border: var(--wmcolor-border);
|
|
35
35
|
--wmcolor-modal-heading: var(--wmcolor-text);
|
|
36
36
|
--wmcolor-modal-overlay: var(--wmcolor-overlay);
|
|
37
|
+
display: -webkit-box;
|
|
38
|
+
display: -webkit-flex;
|
|
39
|
+
display: -ms-flexbox;
|
|
37
40
|
display: flex;
|
|
41
|
+
-webkit-box-pack: center;
|
|
42
|
+
-ms-flex-pack: center;
|
|
43
|
+
-webkit-justify-content: center;
|
|
38
44
|
justify-content: center;
|
|
45
|
+
-webkit-box-align: center;
|
|
46
|
+
-webkit-align-items: center;
|
|
47
|
+
-ms-flex-align: center;
|
|
39
48
|
align-items: center;
|
|
40
49
|
flex-direction: column;
|
|
41
50
|
position: fixed;
|
|
@@ -46,6 +55,8 @@ wm-modal-pss {
|
|
|
46
55
|
width: 80vw;
|
|
47
56
|
max-width: 750px;
|
|
48
57
|
max-height: 80vh;
|
|
58
|
+
-webkit-box-shadow: 0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);
|
|
59
|
+
-moz-box-shadow: 0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);
|
|
49
60
|
box-shadow: 0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);
|
|
50
61
|
}
|
|
51
62
|
wm-modal-pss * {
|
|
@@ -61,7 +72,7 @@ wm-modal-pss > *:focus {
|
|
|
61
72
|
}
|
|
62
73
|
wm-modal-pss wm-modal-pss-header,
|
|
63
74
|
wm-modal-pss wm-modal-pss-footer {
|
|
64
|
-
padding:
|
|
75
|
+
padding: 1.25rem 1.875rem;
|
|
65
76
|
}
|
|
66
77
|
wm-modal-pss wm-modal-pss-header {
|
|
67
78
|
z-index: 2003;
|
|
@@ -96,7 +107,7 @@ wm-modal-pss.wm-modal wm-modal-pss-footer {
|
|
|
96
107
|
}
|
|
97
108
|
}
|
|
98
109
|
wm-modal-pss.wm-dialog > :not(wm-modal-pss-header):not(wm-modal-pss-footer) {
|
|
99
|
-
padding: 0
|
|
110
|
+
padding: 0 1.875rem 1.25rem 1.875rem;
|
|
100
111
|
font-size: 0.875rem;
|
|
101
112
|
border: none;
|
|
102
113
|
}
|
|
@@ -112,6 +123,9 @@ wm-modal-pss .overlay {
|
|
|
112
123
|
right: 1;
|
|
113
124
|
transform: translate(0%, 0%);
|
|
114
125
|
background-color: var(--wmcolor-modal-overlay);
|
|
126
|
+
-ms-transition: opacity 0.5s ease-out;
|
|
127
|
+
-webkit-transition: opacity 0.5s ease-out;
|
|
128
|
+
-moz-transition: opacity 0.5s ease-out;
|
|
115
129
|
transition: opacity 0.5s ease-out;
|
|
116
130
|
z-index: 2000;
|
|
117
131
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
|
|
2
|
+
import { checkForActiveElInShadow } from "../../global/functions";
|
|
3
|
+
import { generateId } from "../../global/functions";
|
|
4
|
+
export class ModalPss {
|
|
3
5
|
constructor() {
|
|
4
6
|
this.bodyFocusListener = () => this.redirectFocusFromBody();
|
|
5
7
|
this.open = false;
|
|
@@ -24,6 +26,12 @@ export class Modal {
|
|
|
24
26
|
toggleModal() {
|
|
25
27
|
this.open ? this.showModal() : this.hideModal();
|
|
26
28
|
}
|
|
29
|
+
//The below not implemented in light of the fact that the app does often need to keep track of the modal's state itself so that it can update the data displayed in the body:
|
|
30
|
+
//App can also open modal by emitting wmShowModal event. Event needs to include the modal's unique id as the event detail, or else all modals on the page will open when wmShowModal event is dispatched.
|
|
31
|
+
// @Listen("wmShowModal", { target: "window" })
|
|
32
|
+
// doesEventMatchId(ev: CustomEvent) {
|
|
33
|
+
// ev.detail === this.uid && this.showModal();
|
|
34
|
+
// }
|
|
27
35
|
handleClick(ev) {
|
|
28
36
|
this.open && ev.target === this.overlayEl && this.focusOnOpenEl.focus();
|
|
29
37
|
}
|
|
@@ -58,14 +66,13 @@ export class Modal {
|
|
|
58
66
|
componentWillLoad() {
|
|
59
67
|
if (this.elementToFocus === "primary" || this.elementToFocus === "secondary") {
|
|
60
68
|
if (!this.el.id) {
|
|
61
|
-
console.error("
|
|
69
|
+
console.error("You are telling the modal to focus an element in the footer when it opens. That's fine! But when you do that, you also need to give the wm-modal-wrapper an ID and set the ID of the modal body to 'content-[id of wm-modal-wrapper]. This is for accessibility purposes.");
|
|
62
70
|
}
|
|
63
71
|
}
|
|
64
72
|
this.el.focus = () => {
|
|
65
73
|
this.focusOnOpenEl.focus();
|
|
66
74
|
};
|
|
67
|
-
|
|
68
|
-
this.uid = this.el.id ? this.el.id : generatedId;
|
|
75
|
+
this.uid = this.el.id ? this.el.id : generateId();
|
|
69
76
|
}
|
|
70
77
|
componentDidLoad() {
|
|
71
78
|
if (this.open) {
|
|
@@ -96,13 +103,7 @@ export class Modal {
|
|
|
96
103
|
this.focusOnCloseEl = elToFocus.parentElement;
|
|
97
104
|
}
|
|
98
105
|
else {
|
|
99
|
-
|
|
100
|
-
while (elToFocus && elToFocus.shadowRoot) {
|
|
101
|
-
el = elToFocus.shadowRoot.activeElement;
|
|
102
|
-
}
|
|
103
|
-
if (el) {
|
|
104
|
-
this.focusOnCloseEl = el;
|
|
105
|
-
}
|
|
106
|
+
this.focusOnCloseEl = checkForActiveElInShadow(elToFocus);
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
redirectFocusFromBody() {
|
|
@@ -111,9 +112,9 @@ export class Modal {
|
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
render() {
|
|
114
|
-
return (h(Host, { 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: () => {
|
|
115
|
+
return (h(Host, { key: '95cba8f98f359a1bf9fa8ffa1f1b808e4057fd13', 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: () => {
|
|
115
116
|
this.focusLastElement.emit();
|
|
116
|
-
} }, h("div", { class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
117
|
+
} }, h("div", { key: '7ff7bb8191f9ce9c20a40e43ea302ed79f485369', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'b646215d4ce43b477784d5c4285fcae624fb092b', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
117
118
|
this.focusFirstElement.emit();
|
|
118
119
|
} })));
|
|
119
120
|
}
|
|
@@ -34,7 +34,7 @@ export class NavigationHamburger {
|
|
|
34
34
|
this.wmNavigationHamburgerClicked.emit();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { "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", { class: "icon" }))));
|
|
37
|
+
return (h(Host, { key: 'cec5d76701a7994ed1c399036b9f712e2243aba6', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: '361bddc1e8c6640919e01718ea831d1f66b6021f', "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: '74e61eef336884c3dd646f431e95db47739c5841', class: "icon" }))));
|
|
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, { role: "listitem" }, h("a", { class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { class: "icon", "aria-hidden": "true" }, h("slot",
|
|
9
|
+
return (h(Host, { key: 'fa1c38ce497c4332f878c383bfcce4b2ee33bcef', role: "listitem" }, h("a", { key: 'f285af446d3a06ffb22c618b5f95fb0b1419b4ec', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '688d0f2d35cbc14e7a6402ddf4cbd466ba19eecb', class: "icon", "aria-hidden": "true" }, h("slot", { key: '356b2720b53c0e313ebebae77b5851d78f9f9aff' })), h("div", { key: '9fd50c3c4e41d8c1c034a57bcb394cdf5bbd4557', 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, { 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 ? "f156" : "f35c", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
99
|
+
return (h(Host, { key: 'f40466fff74f6a00b404951bb266a628c8b32c07', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: 'aac52d10b84470dc6b30f4ee9bf445460a80b16f', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: '167657cf8f574fe2900572edeaa996ab6545c17e', class: "tray" }, h("div", { key: '66648b75a130b603a00043fa0f58d64afe3b2601', class: "toggle-wrapper" }, h("wm-button", { key: '3c90d7f7f7940e3fbdc529fe6702a4e00f454e84', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "f156" : "f35c", "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: 'de126d3aa8a9eba6eba34e4c2c96d881784a6fa0', class: "navlist" }, h("slot", { key: '3303c9d08f0f99d30709aa55e1d2509eb3eef559' }))), this.isCollapsible && (h("div", { key: 'deea47af7ea71f340d6254400c01efa1a9cfeaee', 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: '73893a867aa202e3e18017d9d22b533ab1d445fb', "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: '3cdcf5b5342bc9cdb88bc84dc370e1f0c2b71e24', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '3e47c1cc1bb5acbc79232b14e94eeafc59ef7bc3' })));
|
|
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: '63c466506ec66587e30679201369b272078e75c5', "aria-label": `Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '949e8b5ab870166b1aed5681a6169c297f1602d8', 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: '76bb66886291c31583f250fd0be96af46a6df62d' }, h("div", { key: '5c8977d2729452a32fedbafc0cc99f9cbd855da5', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '33f513d7b915802db202b10f5ee44254148ddb20', 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: "mdi search-icon" }, String.fromCodePoint(parseInt(`0xf349`))), 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: 'd7344cf2e71c8550830e2a189d71958eec7e377c', class: "mdi search-icon" }, String.fromCodePoint(parseInt(`0xf349`))), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: 'ec8c38009642cc41db096e24f28250527c032eec', 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)))), 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: "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: 'a70ff73f29da54fb2ac7053a703376487a5c63c7' }, h("div", { key: '1d8af83ac7850425f7c055e0febdf48ad9c06147', 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: '3a5581614b29f465c468ffb0410d9674e9bd8e77', 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: '338aeaac2b375e4d54f91ceaf59fc982bdd8d0c9', role: "presentation" }, h("li", { key: '4fc9b22d082ca8671fbca4fa0aea008b489f4839', class: "tab-item", role: "presentation" }, h("a", { key: '5ebadc382cb413b64d7f0a28ac778d4762babbb8', 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: 'bd3afb70af3a6c7cbdbc068b1e0426064539bd21' })))));
|
|
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: 'e3a4554e5cc7cba0b7adfcdb02e0c3516b7aa4c4', 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: '226ef677c8182f0ebdc250cc6f65f00de0a957c5', 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: `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: '6058b8a56991ad05ba4d76a5104f633dce54cf3c', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '72df6b2d37ee02e3d360f2e1fed73cb900ee7729', class: "label-wrapper" }, h("label", { key: '7489177598b1ef1a430534885d9d7f1980e0a8a4', class: "label", htmlFor: "input" }, this.label, this.requiredField && (h("span", { key: '50a038aa296251c6889c01606029f920bc71f67c', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: 'd0f5891cef75462680b996d89dee75e287c2ad3a', class: `field-wrapper ${this.el.shadowRoot.activeElement === this.inputEl ? "focused" : ""} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.fieldWrapperEl = el) }, h("div", { key: '785f948e8cb93584cbed16b68c1d2ad806f33d28', class: "upper-row" }, h("div", { key: 'b9d48f1f7f21944eb613c07713de588e41821cca', class: `tags-and-input-wrapper ${this.inModal ? "in-modal" : ""}` }, h("ul", { key: 'b03ebefd19f78a3c36ca5206ac7a34cc305945d5', 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: 'b3a7284087955857816e4fbafefaf0dc3bb8a651', 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: 'e049fab182d913b956e6d125a1d7f624c3234cd3', class: "character-count" }, this.charCount, "/", this.characterLimit))), this.renderTagCounter(), this.isDropdown && this.renderDropdown()), this.info && (h("div", { key: '1162f7e874d40ff6f7ffef2f5abb6a3a8352563d', id: "info", class: "info-text" }, this.info)), h("div", { key: '512f2df413919649bbd4836cb4caa002cd975c90', id: "error" }, this.errorMessage), h("div", { key: '5c364c12b80d6e917acbf56f8659b32908b2b3ea', 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: 'b11ff0259cd7c4e2a5d2dd21528b3da7d6d47728', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'de349496453b9cbb002c8935b67eb0aa97302ec2', class: "label-wrapper" }, h("label", { key: '46088245bcf4cb1d03327e797f84086352f32afc', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: 'ad52c4c2560035673ad2f937104f1582a89ca2b3', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: '825895eb97edd8207ca02885b1ecd6f2a96e3222', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '4e8b1cd57485457bc85b2f72f77d90d8f1440db0', class: "inner-wrapper" }, h("div", { key: '7b9d4d8bb6759d84c92d13db82635f74e831687d', class: `inputfield-wrapper ${this.errorMessage ? "invalid" : ""}`, style: this.inputWidth ? { width: this.inputWidth } : {} }, h("textarea", { key: 'cccf7d17c7874d7f5ba381b993f182f80844133f', 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: 'f95e4caea4c75c4b4f5b2651698d59cdb52b36d9', id: "info", class: "info" }, this.info)), h("div", { key: 'ab82e8439ea6e306d20a68a8ea5758d887578eaf', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '2723fe5a5dd340ff42067ebeb69db51f24a29ddd', 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: '89d1f25419ff7fc00f2bb61587f3642229fdc676', onBlur: () => this.close(false) }, h("div", { key: 'f23e818daa1b5c9568562c3a3f9ebade07159c90', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '05196632217fe821f336f36cb5c3a1a882d6648c', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: 'f8b1e4d218c3e1a4ec39f8a940e5b705d4d45004', id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { key: 'bc6fb4479e7dbd8a19a1cd7a2b5167feec97dd42', class: "required", "aria-hidden": "true" }, "*"))))), h("div", { key: '3e1fcdd5e8a26a1ef3cab06740017d13692db47f' }, h("div", { key: '9015f4954369f7d9518e57888d26ab4caa3d976c', class: "inner-wrapper" }, h("input", { key: 'ff083fa436f904fc36a20a6eb4aad5a7883cd2db', 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: '1ba99ff64c13f701984a6e26332d89de5160b8a0', 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: "clock" })), 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: '22dbb195e4854a8b90d5a0dfd4f961918da5e879', class: "clock" })), h("ul", { key: '8a91f59d26722bf3365f505391ce7126bb05ffe1', 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: '65872cffe047c854775349326e393bc720c3e4ca', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '61afdc5c5d7097d558c20b13d71e64507f40e234', 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": {
|
|
@@ -97,9 +97,9 @@ export class Toggletip {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(Host, { class: `size-${this.targetSize}` }, h("button", { class: "button", type: "button", "aria-label": this.label, onClick: () => this.open(),
|
|
100
|
+
return (h(Host, { key: '5f0302e10656ceb9a40ac96c3720900fd89ddbfb', class: `size-${this.targetSize}` }, h("button", { key: 'dae548b98a778deb84cf8ae0bed4c0b30687360e', class: "button", type: "button", "aria-label": this.label, onClick: () => this.open(),
|
|
101
101
|
// In order to position the tooltip identically to the toggletip, it's presence is determined by these four events
|
|
102
|
-
onMouseEnter: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }), h("div", { ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.isOpen ? "" : "hidden"} ${this.tooltipPosition}` }, this.tooltip), h("div", { ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
102
|
+
onMouseEnter: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onMouseLeave: () => hideTooltip(), onFocus: () => showTooltip(this.tooltipPosition, this.el, this.tooltipMessage), onBlur: () => this.handleBlur() }), h("div", { key: '0cbcdd2c3103c9c4c53b72d160270ef2b3edd853', ref: (el) => (this.toggletipEl = el), class: `toggletip ${this.isOpen ? "" : "hidden"} ${this.tooltipPosition}` }, this.tooltip), h("div", { key: '6033c7693d770c6f5c55fc67c60167ee0b63e704', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", role: "status", "aria-live": "polite", "aria-atomic": "true" })));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "wm-toggletip"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -195,9 +195,9 @@ export class Uploader {
|
|
|
195
195
|
return (h("div", { class: `wrapper ${this.errorMessage ? "invalid" : ""}` }, h("div", { id: "label", class: `label` }, this.label, this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))));
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
198
|
-
return (h(Host,
|
|
198
|
+
return (h(Host, { key: '8dc6e65405a6fda6c898d89c8db9de62305f9c5b' }, this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: 'cdfb1fbb0bac15b8910ee6b63781cf2c472304cc', 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
|
|
199
199
|
,
|
|
200
|
-
"aria-atomic": "true" }), h("div", { ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
200
|
+
"aria-atomic": "true" }), h("div", { key: '37d81932b7fe8b33bb3b87bd88471035dd25ede6', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
|
|
201
201
|
}
|
|
202
202
|
static get is() { return "wm-uploader"; }
|
|
203
203
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
setTimeout(() => {
|
|
2
|
+
const modals = document.querySelectorAll(["wm-modal", "wm-modal-pss"]);
|
|
3
|
+
modals.forEach((modal) => {
|
|
4
|
+
modal.addEventListener("wmModalCloseTriggered", (ev) => closeModal(ev));
|
|
5
|
+
modal.addEventListener("wmModalPrimaryTriggered", (ev) => closeModal(ev));
|
|
6
|
+
modal.addEventListener("wmModalSecondaryTriggered", (ev) => closeModal(ev));
|
|
7
|
+
});
|
|
8
|
+
}, 50);
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
function openModal() {
|
|
2
|
-
document.querySelector("wm-modal").open = "true";
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
function closeModal() {
|
|
6
|
-
document.querySelector("wm-modal").open = "false";
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
evNames = ["wmModalCloseTriggered", "wmModalPrimaryTriggered", "wmModalSecondaryTriggered"];
|
|
10
|
-
evNames.forEach((evName) =>
|
|
11
|
-
document.addEventListener(evName, () => {
|
|
12
|
-
closeModal();
|
|
13
|
-
})
|
|
14
|
-
);
|
|
15
|
-
|
|
16
1
|
const snackbar = document.getElementById("info");
|
|
17
2
|
let notifications = snackbar && JSON.parse(snackbar.notifications || "[]");
|
|
18
3
|
|
|
@@ -50,3 +35,15 @@ function dismissSnack(ev) {
|
|
|
50
35
|
}
|
|
51
36
|
|
|
52
37
|
snackbar.addEventListener("wmSnackbarSnackFinished", dismissSnack);
|
|
38
|
+
|
|
39
|
+
function openModal(id) {
|
|
40
|
+
console.log("open modal", id);
|
|
41
|
+
const modal = document.getElementById(id);
|
|
42
|
+
modal.open = true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function closeModal(ev) {
|
|
46
|
+
const modal = ev.target;
|
|
47
|
+
console.log("close modal", modal);
|
|
48
|
+
modal.open = false;
|
|
49
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import './index-130e07bb.js';
|
|
2
2
|
|
|
3
|
-
const version = "5.7.0-
|
|
3
|
+
const version = "5.7.0-12";
|
|
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
|
|
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",
|