@watermarkinsights/ripple 5.16.0-alpha.0 → 5.16.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-C-IAhycr.js +7 -0
- package/dist/cjs/{chartFunctions-439c6fd4.js → chartFunctions-C8PCmGmn.js} +2 -3
- package/dist/cjs/{functions-dd27bda3.js → functions-DfuY5Jtp.js} +74 -79
- package/dist/cjs/{index-788526f5.js → index-DwhNqnaT.js} +777 -410
- package/dist/cjs/{intl-6d72b4a0.js → intl-Bl-0Yn5n.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/priv-calendar.cjs.entry.js +6 -12
- package/dist/cjs/priv-chart-popover.cjs.entry.js +4 -8
- package/dist/cjs/priv-navigator-button.cjs.entry.js +3 -6
- package/dist/cjs/priv-navigator-item.cjs.entry.js +3 -6
- package/dist/cjs/priv-option-list.cjs.entry.js +10 -16
- package/dist/cjs/ripple.cjs.js +7 -7
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +11 -20
- package/dist/cjs/wm-button.cjs.entry.js +9 -17
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -8
- package/dist/cjs/wm-chart.cjs.entry.js +14 -18
- package/dist/cjs/wm-date-range.cjs.entry.js +10 -15
- package/dist/cjs/wm-datepicker.cjs.entry.js +18 -17
- package/dist/cjs/wm-file-list.cjs.entry.js +3 -6
- package/dist/cjs/wm-file.cjs.entry.js +6 -16
- package/dist/cjs/wm-flyout.cjs.entry.js +6 -17
- package/dist/cjs/wm-input.cjs.entry.js +13 -19
- package/dist/cjs/wm-line-chart.cjs.entry.js +18 -28
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +12 -18
- package/dist/cjs/wm-modal_3.cjs.entry.js +12 -19
- package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -22
- package/dist/cjs/wm-navigator.cjs.entry.js +17 -15
- package/dist/cjs/wm-nested-select.cjs.entry.js +21 -20
- package/dist/cjs/wm-optgroup.cjs.entry.js +3 -7
- package/dist/cjs/wm-option_2.cjs.entry.js +19 -20
- package/dist/cjs/wm-pagination.cjs.entry.js +11 -14
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +10 -27
- package/dist/cjs/wm-search.cjs.entry.js +27 -11
- package/dist/cjs/wm-snackbar.cjs.entry.js +10 -12
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +23 -19
- package/dist/cjs/wm-tag-input.cjs.entry.js +80 -31
- package/dist/cjs/wm-tag-option.cjs.entry.js +2 -8
- package/dist/cjs/wm-textarea.cjs.entry.js +13 -14
- package/dist/cjs/wm-timepicker.cjs.entry.js +18 -17
- package/dist/cjs/wm-toggletip.cjs.entry.js +9 -14
- package/dist/cjs/wm-uploader.cjs.entry.js +18 -22
- package/dist/cjs/wm-wrapper.cjs.entry.js +1 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +8 -4
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +15 -12
- package/dist/collection/components/charts/wm-chart/wm-chart.js +45 -22
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +52 -33
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +23 -16
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +9 -6
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +15 -12
- package/dist/collection/components/datepickers/datepicker.css +15 -40
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +21 -12
- package/dist/collection/components/datepickers/wm-date-range.js +39 -19
- package/dist/collection/components/datepickers/wm-datepicker.js +39 -19
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +27 -16
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +15 -9
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +56 -26
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +12 -5
- package/dist/collection/components/selects/wm-option/wm-option.js +15 -6
- package/dist/collection/components/selects/wm-select/wm-select.css +15 -9
- package/dist/collection/components/selects/wm-select/wm-select.js +50 -22
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +25 -16
- package/dist/collection/components/wm-button/wm-button.js +44 -23
- package/dist/collection/components/wm-file/wm-file.js +30 -19
- package/dist/collection/components/wm-file-list/wm-file-list.js +4 -2
- package/dist/collection/components/wm-flyout/wm-flyout.js +32 -20
- package/dist/collection/components/wm-input/wm-input.css +15 -9
- package/dist/collection/components/wm-input/wm-input.js +63 -30
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -31
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +11 -5
- package/dist/collection/components/wm-modal/wm-modal-footer.js +16 -6
- package/dist/collection/components/wm-modal/wm-modal-header.js +7 -3
- package/dist/collection/components/wm-modal/wm-modal.css +1 -1
- package/dist/collection/components/wm-modal/wm-modal.js +15 -9
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +16 -6
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +7 -3
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +16 -9
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +6 -5
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +10 -9
- package/dist/collection/components/wm-navigation/wm-navigation.js +6 -4
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -31
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +7 -3
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +10 -4
- package/dist/collection/components/wm-navigator/wm-navigator.js +34 -15
- package/dist/collection/components/wm-pagination/wm-pagination.css +0 -31
- package/dist/collection/components/wm-pagination/wm-pagination.js +22 -12
- package/dist/collection/components/wm-search/wm-search.css +0 -31
- package/dist/collection/components/wm-search/wm-search.js +47 -12
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -31
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +9 -6
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +19 -7
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +10 -7
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +13 -3
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +26 -17
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +117 -37
- package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +18 -10
- package/dist/collection/components/wm-textarea/wm-textarea.css +15 -9
- package/dist/collection/components/wm-textarea/wm-textarea.js +42 -18
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +15 -40
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +36 -18
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +21 -13
- package/dist/collection/components/wm-uploader/wm-uploader.css +21 -41
- package/dist/collection/components/wm-uploader/wm-uploader.js +47 -26
- package/dist/collection/global/intl.js +2 -2
- package/dist/esm/app-globals-CrcR41XQ.js +5 -0
- package/dist/esm/{chartFunctions-6749593d.js → chartFunctions-BocRhQ0T.js} +3 -4
- package/dist/esm/{functions-dabfd76f.js → functions-B9BrPorY.js} +75 -80
- package/dist/esm/{index-130e07bb.js → index-C20glyTb.js} +774 -406
- package/dist/esm/{intl-43676e71.js → intl-D-bH9lQF.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/priv-calendar.entry.js +6 -10
- package/dist/esm/priv-chart-popover.entry.js +4 -6
- package/dist/esm/priv-navigator-button.entry.js +3 -4
- package/dist/esm/priv-navigator-item.entry.js +3 -4
- package/dist/esm/priv-option-list.entry.js +10 -14
- package/dist/esm/ripple.js +6 -5
- package/dist/esm/wm-action-menu_2.entry.js +11 -18
- package/dist/esm/wm-button.entry.js +9 -15
- package/dist/esm/wm-chart-slice.entry.js +1 -6
- package/dist/esm/wm-chart.entry.js +14 -16
- package/dist/esm/wm-date-range.entry.js +10 -13
- package/dist/esm/wm-datepicker.entry.js +18 -15
- package/dist/esm/wm-file-list.entry.js +3 -4
- package/dist/esm/wm-file.entry.js +6 -14
- package/dist/esm/wm-flyout.entry.js +6 -15
- package/dist/esm/wm-input.entry.js +13 -17
- package/dist/esm/wm-line-chart.entry.js +18 -26
- package/dist/esm/wm-modal-pss_3.entry.js +12 -16
- package/dist/esm/wm-modal_3.entry.js +12 -17
- package/dist/esm/wm-navigation_3.entry.js +13 -20
- package/dist/esm/wm-navigator.entry.js +17 -13
- package/dist/esm/wm-nested-select.entry.js +21 -18
- package/dist/esm/wm-optgroup.entry.js +3 -5
- package/dist/esm/wm-option_2.entry.js +19 -18
- package/dist/esm/wm-pagination.entry.js +11 -12
- package/dist/esm/wm-progress-indicator_3.entry.js +10 -25
- package/dist/esm/wm-search.entry.js +27 -9
- package/dist/esm/wm-snackbar.entry.js +10 -10
- package/dist/esm/wm-tab-item_3.entry.js +23 -17
- package/dist/esm/wm-tag-input.entry.js +80 -29
- package/dist/esm/wm-tag-option.entry.js +2 -6
- package/dist/esm/wm-textarea.entry.js +13 -12
- package/dist/esm/wm-timepicker.entry.js +18 -15
- package/dist/esm/wm-toggletip.entry.js +9 -12
- package/dist/esm/wm-uploader.entry.js +18 -20
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/app-globals-CrcR41XQ.js +1 -0
- package/dist/esm-es5/chartFunctions-BocRhQ0T.js +1 -0
- package/dist/esm-es5/functions-B9BrPorY.js +1 -0
- package/dist/esm-es5/index-C20glyTb.js +1 -0
- package/dist/esm-es5/{intl-43676e71.js → intl-D-bH9lQF.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-flyout.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-tag-option.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/ripple/p-03e28e65.system.entry.js +1 -0
- package/dist/ripple/{p-f3df715f.entry.js → p-0616bd1c.entry.js} +1 -1
- package/dist/ripple/p-088a84b6.entry.js +1 -0
- package/dist/ripple/p-09116c34.entry.js +1 -0
- package/dist/ripple/{p-59591401.entry.js → p-0a9f8d0d.entry.js} +1 -1
- package/dist/ripple/{p-97ffaa7d.entry.js → p-1a96dc5e.entry.js} +1 -1
- package/dist/ripple/{p-b01f9572.system.entry.js → p-1b8f9ff1.system.entry.js} +1 -1
- package/dist/ripple/p-21728198.entry.js +1 -0
- package/dist/ripple/p-25227bec.entry.js +1 -0
- package/dist/ripple/p-264fb4fc.entry.js +1 -0
- package/dist/ripple/{p-61f9987d.system.entry.js → p-27c1933e.system.entry.js} +1 -1
- package/dist/ripple/p-27de107e.entry.js +1 -0
- package/dist/ripple/p-338835e6.entry.js +1 -0
- package/dist/ripple/p-3678e285.entry.js +1 -0
- package/dist/ripple/p-384f6dc8.entry.js +1 -0
- package/dist/ripple/{p-a5fb4171.system.entry.js → p-3fa20b7a.entry.js} +1 -1
- package/dist/ripple/{p-74f103dd.entry.js → p-476e2913.entry.js} +1 -1
- package/dist/ripple/{p-c699aec8.system.entry.js → p-4a50f797.system.entry.js} +1 -1
- package/dist/ripple/p-5026b7e8.entry.js +1 -0
- package/dist/ripple/{p-9b2281e2.system.entry.js → p-5166de03.system.entry.js} +1 -1
- package/dist/ripple/{p-bc4976e6.entry.js → p-5827cae3.system.entry.js} +1 -1
- package/dist/ripple/{p-65c8ef31.system.entry.js → p-59f7cfd7.system.entry.js} +1 -1
- package/dist/ripple/{p-b23c6351.system.entry.js → p-5a728ced.system.entry.js} +1 -1
- package/dist/ripple/p-5c8e802a.system.entry.js +1 -0
- package/dist/ripple/{p-cd0cc88d.entry.js → p-5cc5b46b.entry.js} +1 -1
- package/dist/ripple/{p-2f7ca1a7.system.entry.js → p-6c66e270.entry.js} +1 -1
- package/dist/ripple/p-6ffa9bfc.entry.js +1 -0
- package/dist/ripple/{p-043901ab.system.entry.js → p-70cdc5ce.system.entry.js} +1 -1
- package/dist/ripple/p-719b7087.system.entry.js +1 -0
- package/dist/ripple/{p-fe93b6b9.system.entry.js → p-734d06dc.system.entry.js} +1 -1
- package/dist/ripple/{p-4fb4deb9.entry.js → p-757b04eb.entry.js} +1 -1
- package/dist/ripple/{p-0bb576c5.system.entry.js → p-7ea000d6.system.entry.js} +1 -1
- package/dist/ripple/{p-30236be3.system.entry.js → p-81783193.system.entry.js} +1 -1
- package/dist/ripple/{p-36fd8aed.system.entry.js → p-82a66121.system.entry.js} +1 -1
- package/dist/ripple/p-85afd9bf.system.entry.js +1 -0
- package/dist/ripple/p-8eWf5O5Z.system.js +1 -0
- package/dist/ripple/p-90d11417.system.entry.js +1 -0
- package/dist/ripple/p-979cd9f4.entry.js +1 -0
- package/dist/ripple/p-B0uE_ID-.system.js +2 -0
- package/dist/ripple/p-B9BrPorY.js +1 -0
- package/dist/ripple/p-BOTV28v8.system.js +1 -0
- package/dist/ripple/{p-ba399879.system.js → p-BVUnLeDz.system.js} +1 -1
- package/dist/ripple/p-Bboe1S7O.js +1 -0
- package/dist/ripple/p-C20glyTb.js +2 -0
- package/dist/ripple/p-CKTNcFzW.system.js +1 -0
- package/dist/ripple/{p-49a347e1.js → p-DAuKYO5n.js} +1 -1
- package/dist/ripple/p-D_issjBT.system.js +1 -0
- package/dist/ripple/p-a1cd3c29.entry.js +1 -0
- package/dist/ripple/p-a634e9f5.entry.js +1 -0
- package/dist/ripple/p-b0653ac3.entry.js +1 -0
- package/dist/ripple/{p-89479d02.system.entry.js → p-b140b04d.system.entry.js} +1 -1
- package/dist/ripple/p-b2433a3c.system.entry.js +1 -0
- package/dist/ripple/{p-091fbc50.system.entry.js → p-b2604e2b.system.entry.js} +1 -1
- package/dist/ripple/{p-72ed488e.system.entry.js → p-b593e93c.system.entry.js} +1 -1
- package/dist/ripple/{p-9328023c.entry.js → p-c164a1cb.entry.js} +1 -1
- package/dist/ripple/p-c344e3c0.entry.js +1 -0
- package/dist/ripple/{p-1955c66a.system.entry.js → p-caef27f1.system.entry.js} +1 -1
- package/dist/ripple/{p-f8995a5e.system.entry.js → p-cf3defe6.system.entry.js} +1 -1
- package/dist/ripple/{p-4c2a044d.system.entry.js → p-d11e4c6e.system.entry.js} +1 -1
- package/dist/ripple/{p-c7d71181.system.entry.js → p-d17bf683.system.entry.js} +1 -1
- package/dist/ripple/{p-fe71ec64.system.entry.js → p-d1ea5d4c.system.entry.js} +1 -1
- package/dist/ripple/{p-c53f5914.entry.js → p-d293be99.system.entry.js} +1 -1
- package/dist/ripple/p-d3bc9393.entry.js +1 -0
- package/dist/ripple/{p-4e6b0a6e.system.entry.js → p-d3d5306c.system.entry.js} +1 -1
- package/dist/ripple/p-d5232e7d.entry.js +1 -0
- package/dist/ripple/{p-6a082957.entry.js → p-d61938ca.entry.js} +1 -1
- package/dist/ripple/p-dECFx5ly.js +1 -0
- package/dist/ripple/p-dc3e43aa.entry.js +1 -0
- package/dist/ripple/{p-57c25b63.entry.js → p-dca6cfbd.entry.js} +1 -1
- package/dist/ripple/{p-f9fa1506.system.entry.js → p-de4c51e2.system.entry.js} +1 -1
- package/dist/ripple/{p-8ec2e944.system.entry.js → p-e2e2929f.system.entry.js} +1 -1
- package/dist/ripple/p-e63b30bd.system.entry.js +1 -0
- package/dist/ripple/{p-2823d02b.system.entry.js → p-e6e4e23a.system.entry.js} +1 -1
- package/dist/ripple/p-e9b67596.entry.js +1 -0
- package/dist/ripple/p-ebd318c6.entry.js +1 -0
- package/dist/ripple/p-ee0e88ed.entry.js +1 -0
- package/dist/ripple/{p-92a50b38.system.entry.js → p-ef56fc5a.system.entry.js} +1 -1
- package/dist/ripple/{p-12d6ab73.system.entry.js → p-f878d184.system.entry.js} +1 -1
- package/dist/ripple/{p-c4896784.system.entry.js → p-fb4367a8.system.entry.js} +1 -1
- package/dist/ripple/p-fc35bcf9.entry.js +1 -0
- package/dist/ripple/p-ffd7de48.entry.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/datepickers/wm-datepicker.d.ts +1 -0
- package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +1 -0
- package/dist/types/components/selects/wm-select/wm-select.d.ts +1 -0
- package/dist/types/components/wm-input/wm-input.d.ts +1 -0
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +3 -0
- package/dist/types/components/wm-textarea/wm-textarea.d.ts +1 -0
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +1 -0
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +1 -0
- package/dist/types/components.d.ts +986 -0
- package/dist/types/stencil-public-runtime.d.ts +37 -2
- package/package.json +2 -2
- package/dist/cjs/app-globals-ff5fd9b0.js +0 -92
- package/dist/esm/app-globals-c63b9640.js +0 -90
- package/dist/esm-es5/app-globals-c63b9640.js +0 -1
- package/dist/esm-es5/chartFunctions-6749593d.js +0 -1
- package/dist/esm-es5/functions-dabfd76f.js +0 -1
- package/dist/esm-es5/index-130e07bb.js +0 -1
- package/dist/loader/package.json +0 -11
- package/dist/ripple/p-0189929d.entry.js +0 -1
- package/dist/ripple/p-0c89b82c.entry.js +0 -1
- package/dist/ripple/p-1396ff75.entry.js +0 -1
- package/dist/ripple/p-13b1d775.entry.js +0 -1
- package/dist/ripple/p-144ce232.entry.js +0 -1
- package/dist/ripple/p-1497ccfc.entry.js +0 -1
- package/dist/ripple/p-1a3037aa.entry.js +0 -1
- package/dist/ripple/p-22b55b6f.entry.js +0 -1
- package/dist/ripple/p-257d2d5c.entry.js +0 -1
- package/dist/ripple/p-30201dc9.entry.js +0 -1
- package/dist/ripple/p-36d2b888.entry.js +0 -1
- package/dist/ripple/p-3f98056c.js +0 -1
- package/dist/ripple/p-41120a33.system.js +0 -1
- package/dist/ripple/p-492aa9fe.system.entry.js +0 -1
- package/dist/ripple/p-4a29bb8c.entry.js +0 -1
- package/dist/ripple/p-4cebf2d7.entry.js +0 -1
- package/dist/ripple/p-56d54fe6.system.entry.js +0 -1
- package/dist/ripple/p-5cff41e0.entry.js +0 -1
- package/dist/ripple/p-5ef786db.system.entry.js +0 -1
- package/dist/ripple/p-6a03a172.entry.js +0 -1
- package/dist/ripple/p-6d12cfb7.system.entry.js +0 -1
- package/dist/ripple/p-81ce2697.entry.js +0 -1
- package/dist/ripple/p-823d7b4e.system.entry.js +0 -1
- package/dist/ripple/p-89316785.system.js +0 -1
- package/dist/ripple/p-8a569d3b.entry.js +0 -1
- package/dist/ripple/p-8f987f71.entry.js +0 -1
- package/dist/ripple/p-92cb12d3.entry.js +0 -1
- package/dist/ripple/p-94f776eb.entry.js +0 -1
- package/dist/ripple/p-a05f29f0.system.js +0 -1
- package/dist/ripple/p-a2c8937d.js +0 -1
- package/dist/ripple/p-b34552b0.system.entry.js +0 -1
- package/dist/ripple/p-b39ab477.entry.js +0 -1
- package/dist/ripple/p-bb9f6920.entry.js +0 -1
- package/dist/ripple/p-bd48c50a.entry.js +0 -1
- package/dist/ripple/p-c31e1379.entry.js +0 -1
- package/dist/ripple/p-c879e152.js +0 -1
- package/dist/ripple/p-cef8a45b.system.js +0 -2
- package/dist/ripple/p-d333d851.system.entry.js +0 -1
- package/dist/ripple/p-d9da0502.js +0 -2
- package/dist/ripple/p-fd6a59f5.system.js +0 -1
- /package/dist/cjs/{interfaces-85d78ae9.js → interfaces-C7YbtGnk.js} +0 -0
- /package/dist/esm/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
- /package/dist/esm-es5/{interfaces-cc5b177f.js → interfaces-COwzv5zO.js} +0 -0
- /package/dist/ripple/{p-2732bddd.js → p-COwzv5zO.js} +0 -0
- /package/dist/ripple/{p-42fa7a77.system.js → p-ClUp3GkF.system.js} +0 -0
- /package/dist/ripple/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
|
@@ -3,10 +3,8 @@ import { generateId } from "../../global/functions";
|
|
|
3
3
|
export class Modal {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.open = false;
|
|
6
|
-
this.elementToFocus = "";
|
|
6
|
+
this.elementToFocus = ""; // primary and secondary point to the corresponding buttons, otherwise focus based on element id
|
|
7
7
|
this.modalType = "modal";
|
|
8
|
-
this.uid = undefined;
|
|
9
|
-
this.returnFocusEl = undefined;
|
|
10
8
|
}
|
|
11
9
|
get closeButtonEl() {
|
|
12
10
|
return this.el.querySelector(`#wm-modal-close-${this.uid}`);
|
|
@@ -108,11 +106,11 @@ export class Modal {
|
|
|
108
106
|
}
|
|
109
107
|
}
|
|
110
108
|
render() {
|
|
111
|
-
return (h("dialog", { key: '
|
|
109
|
+
return (h("dialog", { key: '37c9534a1839dc5c6e2be8ca838fa9da956d34ba', class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'ce59adc5fa795c32da6fd374468c451147ccca38', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
|
|
112
110
|
const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
|
|
113
111
|
// no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
|
|
114
112
|
focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
|
|
115
|
-
} }), !this.hasBrowserPopoverSupport && h("div", { key: '
|
|
113
|
+
} }), !this.hasBrowserPopoverSupport && h("div", { key: 'c62753c1bba03d72707398899b68fe318d285bc8', class: "wm-tooltip" }), h("slot", { key: '24f8462de2987ddadc5a4573bb9ff0a4ad42d95a' }), h("div", { key: '390395f0b4bc778d6811276f2a7facfe3fd8f9da', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
|
|
116
114
|
this.focusFirstElement.emit();
|
|
117
115
|
} })));
|
|
118
116
|
}
|
|
@@ -131,6 +129,7 @@ export class Modal {
|
|
|
131
129
|
return {
|
|
132
130
|
"open": {
|
|
133
131
|
"type": "boolean",
|
|
132
|
+
"attribute": "open",
|
|
134
133
|
"mutable": true,
|
|
135
134
|
"complexType": {
|
|
136
135
|
"original": "boolean",
|
|
@@ -143,12 +142,14 @@ export class Modal {
|
|
|
143
142
|
"tags": [],
|
|
144
143
|
"text": ""
|
|
145
144
|
},
|
|
146
|
-
"
|
|
145
|
+
"getter": false,
|
|
146
|
+
"setter": false,
|
|
147
147
|
"reflect": true,
|
|
148
148
|
"defaultValue": "false"
|
|
149
149
|
},
|
|
150
150
|
"elementToFocus": {
|
|
151
151
|
"type": "string",
|
|
152
|
+
"attribute": "element-to-focus",
|
|
152
153
|
"mutable": true,
|
|
153
154
|
"complexType": {
|
|
154
155
|
"original": "\"primary\" | \"secondary\" | string",
|
|
@@ -161,12 +162,14 @@ export class Modal {
|
|
|
161
162
|
"tags": [],
|
|
162
163
|
"text": ""
|
|
163
164
|
},
|
|
164
|
-
"
|
|
165
|
+
"getter": false,
|
|
166
|
+
"setter": false,
|
|
165
167
|
"reflect": false,
|
|
166
168
|
"defaultValue": "\"\""
|
|
167
169
|
},
|
|
168
170
|
"modalType": {
|
|
169
171
|
"type": "string",
|
|
172
|
+
"attribute": "modal-type",
|
|
170
173
|
"mutable": false,
|
|
171
174
|
"complexType": {
|
|
172
175
|
"original": "\"modal\" | \"dialog\"",
|
|
@@ -179,12 +182,14 @@ export class Modal {
|
|
|
179
182
|
"tags": [],
|
|
180
183
|
"text": ""
|
|
181
184
|
},
|
|
182
|
-
"
|
|
185
|
+
"getter": false,
|
|
186
|
+
"setter": false,
|
|
183
187
|
"reflect": true,
|
|
184
188
|
"defaultValue": "\"modal\""
|
|
185
189
|
},
|
|
186
190
|
"uid": {
|
|
187
191
|
"type": "string",
|
|
192
|
+
"attribute": "uid",
|
|
188
193
|
"mutable": true,
|
|
189
194
|
"complexType": {
|
|
190
195
|
"original": "string",
|
|
@@ -197,7 +202,8 @@ export class Modal {
|
|
|
197
202
|
"tags": [],
|
|
198
203
|
"text": ""
|
|
199
204
|
},
|
|
200
|
-
"
|
|
205
|
+
"getter": false,
|
|
206
|
+
"setter": false,
|
|
201
207
|
"reflect": true
|
|
202
208
|
}
|
|
203
209
|
};
|
|
@@ -27,7 +27,7 @@ export class ModalPssFooter {
|
|
|
27
27
|
parentModal.emitSecondaryEvent();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: '1f7745220c7ad6d0aca3efd4b3cb8c334e680127', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '88168cdc61009781665a8a9edf365fa67907a770', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '2f2314c0cb6160b86e3ce361fd3a8536e06ad154', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '8cd98e5c43a01e42c38c54f8f9421cd20db4f34a', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '3b30db05b3a1101b6865b5986452c284f16733ef', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.primaryText))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "wm-modal-pss-footer"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -44,6 +44,7 @@ export class ModalPssFooter {
|
|
|
44
44
|
return {
|
|
45
45
|
"secondaryText": {
|
|
46
46
|
"type": "string",
|
|
47
|
+
"attribute": "secondary-text",
|
|
47
48
|
"mutable": false,
|
|
48
49
|
"complexType": {
|
|
49
50
|
"original": "string",
|
|
@@ -56,12 +57,14 @@ export class ModalPssFooter {
|
|
|
56
57
|
"tags": [],
|
|
57
58
|
"text": ""
|
|
58
59
|
},
|
|
59
|
-
"
|
|
60
|
+
"getter": false,
|
|
61
|
+
"setter": false,
|
|
60
62
|
"reflect": false,
|
|
61
63
|
"defaultValue": "\"\""
|
|
62
64
|
},
|
|
63
65
|
"primaryText": {
|
|
64
66
|
"type": "string",
|
|
67
|
+
"attribute": "primary-text",
|
|
65
68
|
"mutable": false,
|
|
66
69
|
"complexType": {
|
|
67
70
|
"original": "string",
|
|
@@ -74,12 +77,14 @@ export class ModalPssFooter {
|
|
|
74
77
|
"tags": [],
|
|
75
78
|
"text": ""
|
|
76
79
|
},
|
|
77
|
-
"
|
|
80
|
+
"getter": false,
|
|
81
|
+
"setter": false,
|
|
78
82
|
"reflect": false,
|
|
79
83
|
"defaultValue": "\"\""
|
|
80
84
|
},
|
|
81
85
|
"infoText": {
|
|
82
86
|
"type": "string",
|
|
87
|
+
"attribute": "info-text",
|
|
83
88
|
"mutable": false,
|
|
84
89
|
"complexType": {
|
|
85
90
|
"original": "string",
|
|
@@ -92,12 +97,14 @@ export class ModalPssFooter {
|
|
|
92
97
|
"tags": [],
|
|
93
98
|
"text": ""
|
|
94
99
|
},
|
|
95
|
-
"
|
|
100
|
+
"getter": false,
|
|
101
|
+
"setter": false,
|
|
96
102
|
"reflect": false,
|
|
97
103
|
"defaultValue": "\"\""
|
|
98
104
|
},
|
|
99
105
|
"primaryActionDisabled": {
|
|
100
106
|
"type": "boolean",
|
|
107
|
+
"attribute": "primary-action-disabled",
|
|
101
108
|
"mutable": false,
|
|
102
109
|
"complexType": {
|
|
103
110
|
"original": "boolean",
|
|
@@ -110,12 +117,14 @@ export class ModalPssFooter {
|
|
|
110
117
|
"tags": [],
|
|
111
118
|
"text": ""
|
|
112
119
|
},
|
|
113
|
-
"
|
|
120
|
+
"getter": false,
|
|
121
|
+
"setter": false,
|
|
114
122
|
"reflect": false,
|
|
115
123
|
"defaultValue": "false"
|
|
116
124
|
},
|
|
117
125
|
"deleteStyle": {
|
|
118
126
|
"type": "boolean",
|
|
127
|
+
"attribute": "delete-style",
|
|
119
128
|
"mutable": false,
|
|
120
129
|
"complexType": {
|
|
121
130
|
"original": "boolean",
|
|
@@ -128,7 +137,8 @@ export class ModalPssFooter {
|
|
|
128
137
|
"tags": [],
|
|
129
138
|
"text": ""
|
|
130
139
|
},
|
|
131
|
-
"
|
|
140
|
+
"getter": false,
|
|
141
|
+
"setter": false,
|
|
132
142
|
"reflect": false,
|
|
133
143
|
"defaultValue": "false"
|
|
134
144
|
}
|
|
@@ -25,7 +25,7 @@ export class ModalPssHeader {
|
|
|
25
25
|
// this.headingElement.focus();
|
|
26
26
|
// }
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '6298c005e1a4cc648e1311138858845bb121729d' }, h("div", { key: 'af42c86d168c9c5e2e77c39816f74f8801b39e53', class: "wm-wrapper" }, h("div", { key: '23e83cea157490d8db35b6f5b94e4aec59adccef' }, h("h2", { key: 'a2c95748bc7296ba241a1e0c6a6db7316d8c20de', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: '0aefd7af87247f19ee926ef097f4ea8f76d49faf', class: "subtitle" }, this.subheading))), h("wm-button", { key: '1a74cb3f9beb7f01a60ae686ac01659a1d8ca23c', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "wm-modal-pss-header"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -42,6 +42,7 @@ export class ModalPssHeader {
|
|
|
42
42
|
return {
|
|
43
43
|
"heading": {
|
|
44
44
|
"type": "string",
|
|
45
|
+
"attribute": "heading",
|
|
45
46
|
"mutable": false,
|
|
46
47
|
"complexType": {
|
|
47
48
|
"original": "string",
|
|
@@ -54,12 +55,14 @@ export class ModalPssHeader {
|
|
|
54
55
|
"tags": [],
|
|
55
56
|
"text": ""
|
|
56
57
|
},
|
|
57
|
-
"
|
|
58
|
+
"getter": false,
|
|
59
|
+
"setter": false,
|
|
58
60
|
"reflect": false,
|
|
59
61
|
"defaultValue": "\"\""
|
|
60
62
|
},
|
|
61
63
|
"subheading": {
|
|
62
64
|
"type": "string",
|
|
65
|
+
"attribute": "subheading",
|
|
63
66
|
"mutable": false,
|
|
64
67
|
"complexType": {
|
|
65
68
|
"original": "string",
|
|
@@ -72,7 +75,8 @@ export class ModalPssHeader {
|
|
|
72
75
|
"tags": [],
|
|
73
76
|
"text": ""
|
|
74
77
|
},
|
|
75
|
-
"
|
|
78
|
+
"getter": false,
|
|
79
|
+
"setter": false,
|
|
76
80
|
"reflect": false,
|
|
77
81
|
"defaultValue": "\"\""
|
|
78
82
|
}
|
|
@@ -3,11 +3,10 @@ import { checkForActiveElInShadow } from "../../global/functions";
|
|
|
3
3
|
import { generateId } from "../../global/functions";
|
|
4
4
|
export class ModalPss {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.bodyFocusListener = () => this.redirectFocusFromBody();
|
|
7
6
|
this.open = false;
|
|
8
|
-
this.elementToFocus = "";
|
|
7
|
+
this.elementToFocus = ""; // primary and secondary point to the corresponding buttons, otherwise focus based on element id
|
|
9
8
|
this.modalType = "modal";
|
|
10
|
-
this.
|
|
9
|
+
this.bodyFocusListener = () => this.redirectFocusFromBody();
|
|
11
10
|
}
|
|
12
11
|
get focusOnOpenEl() {
|
|
13
12
|
let customElementToFocus = null;
|
|
@@ -112,9 +111,9 @@ export class ModalPss {
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
render() {
|
|
115
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: 'bcd5fb7bf017cb1a5263e51a105fab47cb268bdf', 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: () => {
|
|
116
115
|
this.focusLastElement.emit();
|
|
117
|
-
} }, h("div", { key: '
|
|
116
|
+
} }, h("div", { key: '2398829034757b569a1f4f754ba46697f72b70e0', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: '06975360afd821c91ab816a2585f89f3c9b36565', class: "sr-only", tabIndex: 0, onFocus: () => {
|
|
118
117
|
this.focusFirstElement.emit();
|
|
119
118
|
} })));
|
|
120
119
|
}
|
|
@@ -133,6 +132,7 @@ export class ModalPss {
|
|
|
133
132
|
return {
|
|
134
133
|
"open": {
|
|
135
134
|
"type": "boolean",
|
|
135
|
+
"attribute": "open",
|
|
136
136
|
"mutable": true,
|
|
137
137
|
"complexType": {
|
|
138
138
|
"original": "boolean",
|
|
@@ -145,12 +145,14 @@ export class ModalPss {
|
|
|
145
145
|
"tags": [],
|
|
146
146
|
"text": ""
|
|
147
147
|
},
|
|
148
|
-
"
|
|
148
|
+
"getter": false,
|
|
149
|
+
"setter": false,
|
|
149
150
|
"reflect": true,
|
|
150
151
|
"defaultValue": "false"
|
|
151
152
|
},
|
|
152
153
|
"elementToFocus": {
|
|
153
154
|
"type": "string",
|
|
155
|
+
"attribute": "element-to-focus",
|
|
154
156
|
"mutable": true,
|
|
155
157
|
"complexType": {
|
|
156
158
|
"original": "\"primary\" | \"secondary\" | string",
|
|
@@ -163,12 +165,14 @@ export class ModalPss {
|
|
|
163
165
|
"tags": [],
|
|
164
166
|
"text": ""
|
|
165
167
|
},
|
|
166
|
-
"
|
|
168
|
+
"getter": false,
|
|
169
|
+
"setter": false,
|
|
167
170
|
"reflect": false,
|
|
168
171
|
"defaultValue": "\"\""
|
|
169
172
|
},
|
|
170
173
|
"modalType": {
|
|
171
174
|
"type": "string",
|
|
175
|
+
"attribute": "modal-type",
|
|
172
176
|
"mutable": false,
|
|
173
177
|
"complexType": {
|
|
174
178
|
"original": "\"modal\" | \"dialog\"",
|
|
@@ -181,12 +185,14 @@ export class ModalPss {
|
|
|
181
185
|
"tags": [],
|
|
182
186
|
"text": ""
|
|
183
187
|
},
|
|
184
|
-
"
|
|
188
|
+
"getter": false,
|
|
189
|
+
"setter": false,
|
|
185
190
|
"reflect": true,
|
|
186
191
|
"defaultValue": "\"modal\""
|
|
187
192
|
},
|
|
188
193
|
"uid": {
|
|
189
194
|
"type": "string",
|
|
195
|
+
"attribute": "uid",
|
|
190
196
|
"mutable": true,
|
|
191
197
|
"complexType": {
|
|
192
198
|
"original": "string",
|
|
@@ -199,7 +205,8 @@ export class ModalPss {
|
|
|
199
205
|
"tags": [],
|
|
200
206
|
"text": ""
|
|
201
207
|
},
|
|
202
|
-
"
|
|
208
|
+
"getter": false,
|
|
209
|
+
"setter": false,
|
|
203
210
|
"reflect": true
|
|
204
211
|
}
|
|
205
212
|
};
|
|
@@ -2,14 +2,13 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { intl, showTooltip, hideTooltip } from "../../global/functions";
|
|
3
3
|
export class NavigationHamburger {
|
|
4
4
|
constructor() {
|
|
5
|
+
this.isTabbing = false;
|
|
6
|
+
this.open = false;
|
|
5
7
|
this.showNavMessage = intl.formatMessage({
|
|
6
8
|
id: "navigation.showNavigation",
|
|
7
9
|
defaultMessage: "Show navigation",
|
|
8
10
|
description: "For user interface element opening a navigation menu",
|
|
9
11
|
});
|
|
10
|
-
this.navId = undefined;
|
|
11
|
-
this.isTabbing = false;
|
|
12
|
-
this.open = false;
|
|
13
12
|
}
|
|
14
13
|
toggleTabbingOn() {
|
|
15
14
|
this.isTabbing = true;
|
|
@@ -34,7 +33,7 @@ export class NavigationHamburger {
|
|
|
34
33
|
this.wmNavigationHamburgerClicked.emit();
|
|
35
34
|
}
|
|
36
35
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '2b4f6528c7ef852581d56121e8269a12129c8c1a', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: 'aa6041f59f4333b6ee68da53bfc7206d2733f059', "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: '6b58e7ef3f124ba2fc33437e183a9e60844a8cdc', class: "svg-icon svg-menu" }))));
|
|
38
37
|
}
|
|
39
38
|
static get is() { return "wm-navigation-hamburger"; }
|
|
40
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,6 +52,7 @@ export class NavigationHamburger {
|
|
|
53
52
|
return {
|
|
54
53
|
"navId": {
|
|
55
54
|
"type": "string",
|
|
55
|
+
"attribute": "nav-id",
|
|
56
56
|
"mutable": false,
|
|
57
57
|
"complexType": {
|
|
58
58
|
"original": "string",
|
|
@@ -65,7 +65,8 @@ export class NavigationHamburger {
|
|
|
65
65
|
"tags": [],
|
|
66
66
|
"text": ""
|
|
67
67
|
},
|
|
68
|
-
"
|
|
68
|
+
"getter": false,
|
|
69
|
+
"setter": false,
|
|
69
70
|
"reflect": false
|
|
70
71
|
}
|
|
71
72
|
};
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class NavigationItem {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.href = undefined;
|
|
5
|
-
this.text = undefined;
|
|
6
|
-
this.active = undefined;
|
|
7
|
-
}
|
|
8
3
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fa0d860cef87f2af8b3c8ed67b37a2eafd4229c9', role: "listitem" }, h("a", { key: '192898896ee4310c0fb741d8bf5ebe27e57ab8b3', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: 'b0df43e4aaa9786b2d8e57fbeb766eb5cf348336', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'dd4b646b3b48155163c8816344f3c947eb58403a' })), h("div", { key: 'a195cc9d6dc724553a9240896cddcfadceb7424c', class: "text" }, this.text))));
|
|
10
5
|
}
|
|
11
6
|
static get is() { return "wm-navigation-item"; }
|
|
12
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,6 +20,7 @@ export class NavigationItem {
|
|
|
25
20
|
return {
|
|
26
21
|
"href": {
|
|
27
22
|
"type": "string",
|
|
23
|
+
"attribute": "href",
|
|
28
24
|
"mutable": false,
|
|
29
25
|
"complexType": {
|
|
30
26
|
"original": "string",
|
|
@@ -37,11 +33,13 @@ export class NavigationItem {
|
|
|
37
33
|
"tags": [],
|
|
38
34
|
"text": ""
|
|
39
35
|
},
|
|
40
|
-
"
|
|
36
|
+
"getter": false,
|
|
37
|
+
"setter": false,
|
|
41
38
|
"reflect": false
|
|
42
39
|
},
|
|
43
40
|
"text": {
|
|
44
41
|
"type": "string",
|
|
42
|
+
"attribute": "text",
|
|
45
43
|
"mutable": false,
|
|
46
44
|
"complexType": {
|
|
47
45
|
"original": "string",
|
|
@@ -54,11 +52,13 @@ export class NavigationItem {
|
|
|
54
52
|
"tags": [],
|
|
55
53
|
"text": ""
|
|
56
54
|
},
|
|
57
|
-
"
|
|
55
|
+
"getter": false,
|
|
56
|
+
"setter": false,
|
|
58
57
|
"reflect": false
|
|
59
58
|
},
|
|
60
59
|
"active": {
|
|
61
60
|
"type": "boolean",
|
|
61
|
+
"attribute": "active",
|
|
62
62
|
"mutable": false,
|
|
63
63
|
"complexType": {
|
|
64
64
|
"original": "boolean",
|
|
@@ -71,7 +71,8 @@ export class NavigationItem {
|
|
|
71
71
|
"tags": [],
|
|
72
72
|
"text": ""
|
|
73
73
|
},
|
|
74
|
-
"
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false,
|
|
75
76
|
"reflect": false
|
|
76
77
|
}
|
|
77
78
|
};
|
|
@@ -3,13 +3,13 @@ import { intl, throttle } from "../../global/functions";
|
|
|
3
3
|
import { globalMessages } from "../../global/intl";
|
|
4
4
|
export class Navigation {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.open = false;
|
|
6
7
|
this.mainNavigationMessage = intl.formatMessage({
|
|
7
8
|
id: "navigation.mainNavigation",
|
|
8
9
|
defaultMessage: "Main",
|
|
9
10
|
description: "Label describing the site navigation, for screen reader users",
|
|
10
11
|
});
|
|
11
12
|
this.throttledRerender = throttle(() => forceUpdate(this.el), 50);
|
|
12
|
-
this.open = false;
|
|
13
13
|
}
|
|
14
14
|
get isCollapsible() {
|
|
15
15
|
return window.innerWidth < 1024;
|
|
@@ -96,9 +96,9 @@ export class Navigation {
|
|
|
96
96
|
} }));
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '4f3c6aaf5ad09e2274456a581f3cb5f1600eaac7', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '8bf94a53146229835eaec0aaf98e951b43ac799b', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: 'f76c5e0e70f98a4e5fa29e49509c879bac0292bf', class: "tray" }, h("div", { key: 'cfdfd3274efc3b99b0537ea7ca9bffa4f87d7b59', class: "toggle-wrapper" }, h("wm-button", { key: '96b6aa456c319bfa77d2180209c1175647404f5a', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "#close" : "#menu", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
|
|
100
100
|
this.open = !this.open;
|
|
101
|
-
} })), h("ul", { key: '
|
|
101
|
+
} })), h("ul", { key: '342b7a1980f6d9d978405a8c5574ef45fca49ce4', class: "navlist" }, h("slot", { key: '33d14865bb6c4d9602769344916d7d88ecbfa661' }))), this.isCollapsible && (h("div", { key: '4d600f2eb2525ce3238dd09e102063d448ef8526', 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"; }
|
|
@@ -117,6 +117,7 @@ export class Navigation {
|
|
|
117
117
|
return {
|
|
118
118
|
"open": {
|
|
119
119
|
"type": "boolean",
|
|
120
|
+
"attribute": "open",
|
|
120
121
|
"mutable": true,
|
|
121
122
|
"complexType": {
|
|
122
123
|
"original": "boolean",
|
|
@@ -129,7 +130,8 @@ export class Navigation {
|
|
|
129
130
|
"tags": [],
|
|
130
131
|
"text": ""
|
|
131
132
|
},
|
|
132
|
-
"
|
|
133
|
+
"getter": false,
|
|
134
|
+
"setter": false,
|
|
133
135
|
"reflect": true,
|
|
134
136
|
"defaultValue": "false"
|
|
135
137
|
}
|
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css
CHANGED
|
@@ -847,37 +847,6 @@
|
|
|
847
847
|
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath style='fill: var(--icon-fill, currentColor)' d='M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z'/%3E%3C/svg%3E%0A");
|
|
848
848
|
}
|
|
849
849
|
|
|
850
|
-
/* --------------------------------------
|
|
851
|
-
1. Box-shadow
|
|
852
|
-
-------------------------------------- */
|
|
853
|
-
/* --------------------------------------
|
|
854
|
-
2. Border-radius
|
|
855
|
-
-------------------------------------- */
|
|
856
|
-
/* --------------------------------------
|
|
857
|
-
3. Transforms
|
|
858
|
-
-------------------------------------- */
|
|
859
|
-
/* --------------------------------------
|
|
860
|
-
4. Button Focus
|
|
861
|
-
-------------------------------------- */
|
|
862
|
-
/* --------------------------------------
|
|
863
|
-
5. Flex
|
|
864
|
-
-------------------------------------- */
|
|
865
|
-
/* --------------------------------------
|
|
866
|
-
7. Screen Reader Only
|
|
867
|
-
-------------------------------------- */
|
|
868
|
-
/* --------------------------------------
|
|
869
|
-
8. Label styles
|
|
870
|
-
this mixin includes all the styles for the label
|
|
871
|
-
+ flex rules on the parent container to switch between top and left position
|
|
872
|
-
+ srOnly when label is hidden
|
|
873
|
-
Assumes the following markup:
|
|
874
|
-
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
875
|
-
.wrapper is for the flex rules
|
|
876
|
-
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
877
|
-
the input. It can't be done directly on .label because of possible line wrapping.
|
|
878
|
-
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
879
|
-
(they can't be aligned on the baseline because of possible description text and error message)
|
|
880
|
-
-------------------------------------- */
|
|
881
850
|
:host * {
|
|
882
851
|
box-sizing: border-box;
|
|
883
852
|
}
|
package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js
CHANGED
|
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const { handleClick, altText } = this;
|
|
12
|
-
return (h("button", { key: '
|
|
12
|
+
return (h("button", { key: '2f1ba167d864c88cbbd1f8f5f6192ba024fbb961', "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"; }
|
|
@@ -28,6 +28,7 @@ export class PrivNavigatorButton {
|
|
|
28
28
|
return {
|
|
29
29
|
"expanded": {
|
|
30
30
|
"type": "boolean",
|
|
31
|
+
"attribute": "expanded",
|
|
31
32
|
"mutable": true,
|
|
32
33
|
"complexType": {
|
|
33
34
|
"original": "boolean",
|
|
@@ -40,12 +41,14 @@ export class PrivNavigatorButton {
|
|
|
40
41
|
"tags": [],
|
|
41
42
|
"text": ""
|
|
42
43
|
},
|
|
43
|
-
"
|
|
44
|
+
"getter": false,
|
|
45
|
+
"setter": false,
|
|
44
46
|
"reflect": false,
|
|
45
47
|
"defaultValue": "false"
|
|
46
48
|
},
|
|
47
49
|
"altText": {
|
|
48
50
|
"type": "string",
|
|
51
|
+
"attribute": "alt-text",
|
|
49
52
|
"mutable": false,
|
|
50
53
|
"complexType": {
|
|
51
54
|
"original": "string",
|
|
@@ -58,7 +61,8 @@ export class PrivNavigatorButton {
|
|
|
58
61
|
"tags": [],
|
|
59
62
|
"text": ""
|
|
60
63
|
},
|
|
61
|
-
"
|
|
64
|
+
"getter": false,
|
|
65
|
+
"setter": false,
|
|
62
66
|
"reflect": false,
|
|
63
67
|
"defaultValue": "\"\""
|
|
64
68
|
}
|
|
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
|
|
|
16
16
|
render() {
|
|
17
17
|
const selectedClass = this.selected ? "selected" : "";
|
|
18
18
|
const focusedClass = this.focused ? "focused" : "";
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'd79d559b7d56f0411ed7a2949c841df1975ed626', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '5004ab186708dca16f92e1b71bdd6c95d1080b7d' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "priv-navigator-item"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,6 +34,7 @@ export class PrivNavigatorItem {
|
|
|
34
34
|
return {
|
|
35
35
|
"selected": {
|
|
36
36
|
"type": "boolean",
|
|
37
|
+
"attribute": "selected",
|
|
37
38
|
"mutable": true,
|
|
38
39
|
"complexType": {
|
|
39
40
|
"original": "boolean",
|
|
@@ -46,12 +47,14 @@ export class PrivNavigatorItem {
|
|
|
46
47
|
"tags": [],
|
|
47
48
|
"text": ""
|
|
48
49
|
},
|
|
49
|
-
"
|
|
50
|
+
"getter": false,
|
|
51
|
+
"setter": false,
|
|
50
52
|
"reflect": false,
|
|
51
53
|
"defaultValue": "false"
|
|
52
54
|
},
|
|
53
55
|
"focused": {
|
|
54
56
|
"type": "boolean",
|
|
57
|
+
"attribute": "focused",
|
|
55
58
|
"mutable": true,
|
|
56
59
|
"complexType": {
|
|
57
60
|
"original": "boolean",
|
|
@@ -64,12 +67,14 @@ export class PrivNavigatorItem {
|
|
|
64
67
|
"tags": [],
|
|
65
68
|
"text": ""
|
|
66
69
|
},
|
|
67
|
-
"
|
|
70
|
+
"getter": false,
|
|
71
|
+
"setter": false,
|
|
68
72
|
"reflect": false,
|
|
69
73
|
"defaultValue": "false"
|
|
70
74
|
},
|
|
71
75
|
"link": {
|
|
72
76
|
"type": "string",
|
|
77
|
+
"attribute": "link",
|
|
73
78
|
"mutable": true,
|
|
74
79
|
"complexType": {
|
|
75
80
|
"original": "string",
|
|
@@ -82,7 +87,8 @@ export class PrivNavigatorItem {
|
|
|
82
87
|
"tags": [],
|
|
83
88
|
"text": ""
|
|
84
89
|
},
|
|
85
|
-
"
|
|
90
|
+
"getter": false,
|
|
91
|
+
"setter": false,
|
|
86
92
|
"reflect": false,
|
|
87
93
|
"defaultValue": "\"\""
|
|
88
94
|
}
|