@watermarkinsights/ripple 3.8.0-3 → 3.8.0-4
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/README.md +3 -3
- package/dist/cjs/{functions-9b5b7f3c.js → functions-1f0edc61.js} +533 -487
- package/dist/cjs/{global-fad306c8.js → global-80d74e31.js} +65 -65
- package/dist/cjs/{http-service-494d81de.js → http-service-9e8c4dd5.js} +49 -49
- package/dist/cjs/{index-cd179539.js → index-0e7e3668.js} +96 -64
- package/dist/cjs/{interfaces-a3338581.js → interfaces-30a74c1f.js} +29 -29
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/priv-chart-popover.cjs.entry.js +79 -79
- package/dist/cjs/priv-datepicker.cjs.entry.js +674 -674
- package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
- package/dist/cjs/priv-navigator-item.cjs.entry.js +24 -24
- package/dist/cjs/ripple.cjs.js +4 -4
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +342 -342
- package/dist/cjs/wm-button.cjs.entry.js +228 -228
- package/dist/cjs/wm-chart-slice.cjs.entry.js +14 -14
- package/dist/cjs/wm-chart.cjs.entry.js +475 -475
- package/dist/cjs/wm-datepicker.cjs.entry.js +273 -273
- package/dist/cjs/wm-input.cjs.entry.js +136 -136
- package/dist/cjs/wm-modal-footer.cjs.entry.js +32 -32
- package/dist/cjs/wm-modal-header.cjs.entry.js +35 -35
- package/dist/cjs/wm-modal.cjs.entry.js +164 -164
- package/dist/cjs/wm-navigation_3.cjs.entry.js +239 -0
- package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
- package/dist/cjs/wm-network-uploader.cjs.entry.js +422 -422
- package/dist/cjs/wm-option_2.cjs.entry.js +497 -497
- package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
- package/dist/cjs/wm-search.cjs.entry.js +233 -233
- package/dist/cjs/wm-snackbar.cjs.entry.js +172 -172
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +297 -297
- package/dist/cjs/wm-tag-input.cjs.entry.js +581 -581
- package/dist/cjs/wm-timepicker.cjs.entry.js +385 -385
- package/dist/cjs/wm-toggletip.cjs.entry.js +126 -126
- package/dist/cjs/wm-uploader.cjs.entry.js +348 -348
- package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
- package/dist/collection/collection-manifest.json +12 -2
- package/dist/collection/components/wm-action-menu/wm-action-menu.css +0 -1
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +460 -460
- package/dist/collection/components/wm-button/wm-button.css +1 -3
- package/dist/collection/components/wm-button/wm-button.js +491 -491
- package/dist/collection/components/wm-chart/priv-chart-popover/priv-chart-popover.css +0 -1
- package/dist/collection/components/wm-chart/priv-chart-popover/priv-chart-popover.js +232 -232
- package/dist/collection/components/wm-chart/wm-chart-slice.js +115 -115
- package/dist/collection/components/wm-chart/wm-chart.css +0 -1
- package/dist/collection/components/wm-chart/wm-chart.js +718 -718
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.css +3 -5
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1039 -1039
- package/dist/collection/components/wm-datepicker/wm-datepicker.css +1 -3
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +483 -483
- package/dist/collection/components/wm-input/wm-input.css +1 -3
- package/dist/collection/components/wm-input/wm-input.js +423 -423
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -1
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
- package/dist/collection/components/wm-modal/wm-modal-footer.css +0 -1
- package/dist/collection/components/wm-modal/wm-modal-footer.js +141 -141
- package/dist/collection/components/wm-modal/wm-modal-header.css +0 -1
- package/dist/collection/components/wm-modal/wm-modal-header.js +92 -92
- package/dist/collection/components/wm-modal/wm-modal.css +0 -1
- package/dist/collection/components/wm-modal/wm-modal.js +461 -461
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +87 -0
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +152 -0
- package/dist/collection/components/wm-navigation/wm-navigation-item.css +85 -0
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +105 -0
- package/dist/collection/components/wm-navigation/wm-navigation.css +122 -0
- package/dist/collection/components/wm-navigation/wm-navigation.js +193 -0
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -1
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +0 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
- package/dist/collection/components/wm-navigator/wm-navigator.css +0 -1
- package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
- package/dist/collection/components/wm-option/wm-option.css +2 -4
- package/dist/collection/components/wm-option/wm-option.js +422 -422
- package/dist/collection/components/wm-pagination/wm-pagination.css +0 -1
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.css +0 -1
- package/dist/collection/components/wm-search/wm-search.js +480 -480
- package/dist/collection/components/wm-select/wm-select.css +2 -4
- package/dist/collection/components/wm-select/wm-select.js +720 -720
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +2 -4
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +0 -1
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +0 -1
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +0 -1
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
- package/dist/collection/components/wm-tag-input/wm-tag-input.css +2 -4
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +2 -4
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +1 -3
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.css +1 -3
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +753 -753
- package/dist/collection/components/wm-uploader/wm-uploader.css +1 -3
- package/dist/collection/components/wm-uploader/wm-uploader.js +748 -748
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
- package/dist/collection/dev/scripts.js +20 -20
- package/dist/collection/global/__mocks__/functions.js +6 -6
- package/dist/collection/global/functions.js +468 -449
- package/dist/collection/global/global.js +72 -72
- package/dist/collection/global/interfaces.js +49 -49
- package/dist/collection/global/services/__mocks__/http-service.js +130 -130
- package/dist/collection/global/services/http-service.js +50 -50
- package/dist/collection/lang/lang.js +5 -5
- package/dist/collection/lang/missing.js +39 -39
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{functions-a8d1ed3e.js → functions-b130b95f.js} +533 -488
- package/dist/esm/{global-191b6775.js → global-22a1aa43.js} +65 -65
- package/dist/esm/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +49 -49
- package/dist/esm/{index-66f8130e.js → index-cd8f9ae2.js} +96 -64
- package/dist/esm/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +29 -29
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- 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-chart-popover.entry.js +79 -79
- package/dist/esm/priv-datepicker.entry.js +674 -674
- package/dist/esm/priv-navigator-button.entry.js +19 -19
- package/dist/esm/priv-navigator-item.entry.js +24 -24
- package/dist/esm/ripple.js +4 -4
- package/dist/esm/wm-action-menu_2.entry.js +342 -342
- package/dist/esm/wm-button.entry.js +228 -228
- package/dist/esm/wm-chart-slice.entry.js +14 -14
- package/dist/esm/wm-chart.entry.js +475 -475
- package/dist/esm/wm-datepicker.entry.js +273 -273
- package/dist/esm/wm-input.entry.js +136 -136
- package/dist/esm/wm-modal-footer.entry.js +32 -32
- package/dist/esm/wm-modal-header.entry.js +35 -35
- package/dist/esm/wm-modal.entry.js +164 -164
- package/dist/esm/wm-navigation_3.entry.js +233 -0
- package/dist/esm/wm-navigator.entry.js +269 -269
- package/dist/esm/wm-network-uploader.entry.js +422 -422
- package/dist/esm/wm-option_2.entry.js +497 -497
- package/dist/esm/wm-pagination.entry.js +168 -168
- package/dist/esm/wm-search.entry.js +233 -233
- package/dist/esm/wm-snackbar.entry.js +172 -172
- package/dist/esm/wm-tab-item_3.entry.js +297 -297
- package/dist/esm/wm-tag-input.entry.js +581 -581
- package/dist/esm/wm-timepicker.entry.js +385 -385
- package/dist/esm/wm-toggletip.entry.js +126 -126
- package/dist/esm/wm-uploader.entry.js +348 -348
- package/dist/esm/wm-wrapper.entry.js +13 -13
- package/dist/esm-es5/functions-b130b95f.js +15 -0
- package/dist/esm-es5/{global-191b6775.js → global-22a1aa43.js} +1 -1
- package/dist/esm-es5/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +1 -1
- package/dist/esm-es5/index-cd8f9ae2.js +1 -0
- package/dist/esm-es5/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-datepicker.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/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-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
- package/dist/esm-es5/wm-modal-header.entry.js +1 -1
- package/dist/esm-es5/wm-modal.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -0
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-network-uploader.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-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-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/index.d.ts +0 -1
- package/dist/ripple/{p-831c3da1.system.entry.js → p-040262af.system.entry.js} +1 -1
- package/dist/ripple/{p-cde0c4bd.system.entry.js → p-08987f25.system.entry.js} +1 -1
- package/dist/ripple/{p-f5df5903.system.js → p-08b7ec08.system.js} +0 -0
- package/dist/ripple/p-08f8a387.system.js +15 -0
- package/dist/ripple/p-11e94b56.system.entry.js +1 -0
- package/dist/ripple/{p-1fa979d7.system.entry.js → p-12bd075c.system.entry.js} +1 -1
- package/dist/ripple/p-16b81b95.system.entry.js +1 -0
- package/dist/ripple/p-1aa63d75.entry.js +1 -0
- package/dist/ripple/p-1bc95574.system.entry.js +1 -0
- package/dist/ripple/p-20856a2d.system.js +1 -0
- package/dist/ripple/p-244877c8.entry.js +1 -0
- package/dist/ripple/{p-ee93660f.system.js → p-26d5f144.system.js} +1 -1
- package/dist/ripple/p-28c23453.system.entry.js +1 -0
- package/dist/ripple/p-313b6073.system.js +1 -0
- package/dist/ripple/p-38062c39.js +1 -0
- package/dist/ripple/p-3ba3afca.entry.js +1 -0
- package/dist/ripple/p-3faf2b4d.entry.js +1 -0
- package/dist/ripple/p-4372e470.entry.js +1 -0
- package/dist/ripple/{p-fd991998.system.entry.js → p-450d329a.system.entry.js} +1 -1
- package/dist/ripple/p-4be373bc.entry.js +1 -0
- package/dist/ripple/{p-7bc744bf.system.entry.js → p-504579c2.system.entry.js} +1 -1
- package/dist/ripple/p-5345ef2c.entry.js +1 -0
- package/dist/ripple/p-5866f8c0.entry.js +1 -0
- package/dist/ripple/p-64176f58.entry.js +1 -0
- package/dist/ripple/p-6aa11b0c.system.entry.js +1 -0
- package/dist/ripple/{p-2d63611b.system.entry.js → p-6b8753b3.system.entry.js} +1 -1
- package/dist/ripple/p-6c1a8429.system.entry.js +1 -0
- package/dist/ripple/{p-f04fb2d2.system.entry.js → p-6eed4845.system.entry.js} +1 -1
- package/dist/ripple/p-764fa608.entry.js +1 -0
- package/dist/ripple/p-7e118839.entry.js +1 -0
- package/dist/ripple/p-880d231c.system.js +1 -0
- package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
- package/dist/ripple/p-8a0450fd.entry.js +1 -0
- package/dist/ripple/p-8dd28361.entry.js +1 -0
- package/dist/ripple/p-91e122c6.entry.js +1 -0
- package/dist/ripple/p-97909b0f.entry.js +1 -0
- package/dist/ripple/{p-2d49a016.system.entry.js → p-9a9743f5.system.entry.js} +1 -1
- package/dist/ripple/{p-b3ce2033.system.entry.js → p-a5177480.system.entry.js} +1 -1
- package/dist/ripple/p-a6cc08a5.system.entry.js +1 -0
- package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
- package/dist/ripple/p-a8584619.system.entry.js +1 -0
- package/dist/ripple/p-a9dd6fe1.entry.js +1 -0
- package/dist/ripple/p-add208d8.entry.js +1 -0
- package/dist/ripple/p-b3568fc3.system.entry.js +1 -0
- package/dist/ripple/p-b635fdfe.system.entry.js +1 -0
- package/dist/ripple/p-bfef8d9c.entry.js +1 -0
- package/dist/ripple/p-c0fd9e19.system.entry.js +1 -0
- package/dist/ripple/{p-261ea633.system.entry.js → p-c19298a5.system.entry.js} +1 -1
- package/dist/ripple/p-ce80b46d.entry.js +1 -0
- package/dist/ripple/p-d0ab4cf2.entry.js +1 -0
- package/dist/ripple/p-d0d3421d.system.entry.js +1 -0
- package/dist/ripple/p-d43a4e01.entry.js +1 -0
- package/dist/ripple/p-d4e46468.entry.js +1 -0
- package/dist/ripple/{p-616d11c9.system.entry.js → p-db4f099c.system.entry.js} +1 -1
- package/dist/ripple/p-ddf5044a.entry.js +1 -0
- package/dist/ripple/p-e03a7b17.entry.js +1 -0
- package/dist/ripple/{p-7f41b5fc.js → p-e2398de1.js} +1 -1
- package/dist/ripple/{p-7a9aac92.system.entry.js → p-e758db14.system.entry.js} +1 -1
- package/dist/ripple/p-ea22b946.js +16 -0
- package/dist/ripple/p-eb63bbcb.system.entry.js +1 -0
- package/dist/ripple/p-ef344252.entry.js +1 -0
- package/dist/ripple/p-f44803ff.system.entry.js +1 -0
- package/dist/ripple/p-fa35e47b.entry.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +48 -48
- package/dist/types/components/wm-button/wm-button.d.ts +43 -43
- package/dist/types/components/wm-chart/priv-chart-popover/priv-chart-popover.d.ts +23 -23
- package/dist/types/components/wm-chart/wm-chart-slice.d.ts +11 -11
- package/dist/types/components/wm-chart/wm-chart.d.ts +82 -82
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
- package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +42 -42
- package/dist/types/components/wm-input/wm-input.d.ts +46 -46
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +15 -15
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +12 -12
- package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +20 -0
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +11 -0
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -0
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
- package/dist/types/components/wm-option/wm-option.d.ts +32 -32
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
- package/dist/types/components/wm-search/wm-search.d.ts +86 -86
- package/dist/types/components/wm-select/wm-select.d.ts +66 -66
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
- package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +80 -80
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
- package/dist/types/components.d.ts +76 -24
- package/dist/types/global/__mocks__/functions.d.ts +6 -6
- package/dist/types/global/functions.d.ts +42 -41
- package/dist/types/global/global.d.ts +1 -1
- package/dist/types/global/interfaces.d.ts +34 -34
- package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
- package/dist/types/global/services/http-service.d.ts +4 -4
- package/dist/types/lang/lang.d.ts +5 -5
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/package.json +47 -47
- package/dist/esm-es5/functions-a8d1ed3e.js +0 -15
- package/dist/esm-es5/index-66f8130e.js +0 -1
- package/dist/ripple/p-04bd5281.entry.js +0 -1
- package/dist/ripple/p-07353b27.system.js +0 -1
- package/dist/ripple/p-0b2a9a9a.entry.js +0 -1
- package/dist/ripple/p-0c58f50d.entry.js +0 -1
- package/dist/ripple/p-0d8bd4ee.entry.js +0 -1
- package/dist/ripple/p-0deeb79c.system.entry.js +0 -1
- package/dist/ripple/p-2145d012.entry.js +0 -1
- package/dist/ripple/p-2544cbd6.system.entry.js +0 -1
- package/dist/ripple/p-29a232bc.entry.js +0 -1
- package/dist/ripple/p-32733046.entry.js +0 -1
- package/dist/ripple/p-39b93119.entry.js +0 -1
- package/dist/ripple/p-3fb2fff9.entry.js +0 -1
- package/dist/ripple/p-510c5446.system.entry.js +0 -1
- package/dist/ripple/p-566a8814.entry.js +0 -1
- package/dist/ripple/p-5f3e2db4.entry.js +0 -1
- package/dist/ripple/p-639ad0f5.system.entry.js +0 -1
- package/dist/ripple/p-6a4cc1e1.system.entry.js +0 -1
- package/dist/ripple/p-6facd692.entry.js +0 -1
- package/dist/ripple/p-764def28.system.entry.js +0 -1
- package/dist/ripple/p-78473c96.system.entry.js +0 -1
- package/dist/ripple/p-7a684273.entry.js +0 -1
- package/dist/ripple/p-7c879f30.system.entry.js +0 -1
- package/dist/ripple/p-7d6552fb.entry.js +0 -1
- package/dist/ripple/p-80d598f9.js +0 -16
- package/dist/ripple/p-835d8720.system.entry.js +0 -1
- package/dist/ripple/p-8b0eb05e.entry.js +0 -1
- package/dist/ripple/p-8dab4579.entry.js +0 -1
- package/dist/ripple/p-99548d58.system.js +0 -1
- package/dist/ripple/p-99db8501.entry.js +0 -1
- package/dist/ripple/p-9baa3039.js +0 -1
- package/dist/ripple/p-9d02957d.system.js +0 -1
- package/dist/ripple/p-a9a28ef6.entry.js +0 -1
- package/dist/ripple/p-aa5c6a4a.system.entry.js +0 -1
- package/dist/ripple/p-b2f08d3e.system.entry.js +0 -1
- package/dist/ripple/p-b6d1ab55.entry.js +0 -1
- package/dist/ripple/p-c6ac6f80.entry.js +0 -1
- package/dist/ripple/p-d0643c9b.entry.js +0 -1
- package/dist/ripple/p-d064dbb9.entry.js +0 -1
- package/dist/ripple/p-d0d5fd00.entry.js +0 -1
- package/dist/ripple/p-eb446a26.system.entry.js +0 -1
- package/dist/ripple/p-f10fbff8.entry.js +0 -1
- package/dist/ripple/p-f3c8868c.entry.js +0 -1
- package/dist/ripple/p-fc0f044d.system.entry.js +0 -1
- package/dist/ripple/p-fe4dd552.system.js +0 -15
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* --------------------------------------
|
|
2
|
+
1. Box-shadow
|
|
3
|
+
-------------------------------------- */
|
|
4
|
+
/* --------------------------------------
|
|
5
|
+
2. Border-radius
|
|
6
|
+
-------------------------------------- */
|
|
7
|
+
/* --------------------------------------
|
|
8
|
+
3. Transforms
|
|
9
|
+
-------------------------------------- */
|
|
10
|
+
/* --------------------------------------
|
|
11
|
+
4. Button Focus
|
|
12
|
+
-------------------------------------- */
|
|
13
|
+
/* --------------------------------------
|
|
14
|
+
5. Flex
|
|
15
|
+
-------------------------------------- */
|
|
16
|
+
/* --------------------------------------
|
|
17
|
+
6. Button Hover
|
|
18
|
+
-------------------------------------- */
|
|
19
|
+
/* --------------------------------------
|
|
20
|
+
7. Screen Reader Only
|
|
21
|
+
-------------------------------------- */
|
|
22
|
+
/* --------------------------------------
|
|
23
|
+
8. Label styles
|
|
24
|
+
this mixin includes all the styles for the label
|
|
25
|
+
+ flex rules on the parent container to switch between top and left position
|
|
26
|
+
+ srOnly when label is hidden
|
|
27
|
+
Assumes the following markup:
|
|
28
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
29
|
+
.wrapper is for the flex rules
|
|
30
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
31
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
32
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
33
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
34
|
+
-------------------------------------- */
|
|
35
|
+
/********************************************************************************************/
|
|
36
|
+
/* DO NOT USE THESE DIRECTLY, ASSIGN THEM TO VARIABLES NAMED AFTER FUNCTIONALITY, SEE BELOW */
|
|
37
|
+
/********************************************************************************************/
|
|
38
|
+
/* BELOW IS BEFORE WE HAD THE COLOR PALETTE FROM UI */
|
|
39
|
+
/* TODO: replace with vars above whenever possible */
|
|
40
|
+
/* Buttons */
|
|
41
|
+
/* VIA */
|
|
42
|
+
:host {
|
|
43
|
+
width: 3.75rem;
|
|
44
|
+
height: 3.75rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
button {
|
|
48
|
+
display: none;
|
|
49
|
+
width: 100%;
|
|
50
|
+
height: 100%;
|
|
51
|
+
border: none;
|
|
52
|
+
box-shadow: none;
|
|
53
|
+
transition: background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
54
|
+
background-color: transparent;
|
|
55
|
+
outline: none;
|
|
56
|
+
padding: 0;
|
|
57
|
+
}
|
|
58
|
+
button.user-is-tabbing:focus {
|
|
59
|
+
-webkit-box-shadow: 0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;
|
|
60
|
+
-moz-box-shadow: 0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;
|
|
61
|
+
box-shadow: 0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;
|
|
62
|
+
}
|
|
63
|
+
button.user-is-tabbing:focus::-moz-focus-inner {
|
|
64
|
+
border: 0;
|
|
65
|
+
}
|
|
66
|
+
button:hover {
|
|
67
|
+
background-color: #d7d6d9;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.icon:before {
|
|
71
|
+
display: inline-block;
|
|
72
|
+
font: normal normal normal 24px/1 "Material Design Icons";
|
|
73
|
+
font-size: inherit;
|
|
74
|
+
text-rendering: auto;
|
|
75
|
+
line-height: inherit;
|
|
76
|
+
-webkit-font-smoothing: antialiased;
|
|
77
|
+
-moz-osx-font-smoothing: grayscale;
|
|
78
|
+
content: "\f35c";
|
|
79
|
+
font-size: 1.5rem;
|
|
80
|
+
color: #575195;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@media screen and (max-width: 1023px) {
|
|
84
|
+
button {
|
|
85
|
+
display: initial;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { h, Component, Element, Host, Prop, Listen, State } from "@stencil/core";
|
|
2
|
+
import { intl } from "../../global/functions";
|
|
3
|
+
export class NavigationHamburger {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.tooltipVisible = false; // this is not part of the documented API but we need to expose as prop in order to change it from the focus method defined in WillLoad()
|
|
6
|
+
this.isTabbing = false;
|
|
7
|
+
this.open = false;
|
|
8
|
+
this.showNavMessage = intl.formatMessage({
|
|
9
|
+
id: "navigation.showNavigation",
|
|
10
|
+
defaultMessage: "Show navigation",
|
|
11
|
+
description: "For user interface element opening a navigation menu",
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
get tooltipEl() {
|
|
15
|
+
return document.getElementById("wm-tooltip");
|
|
16
|
+
}
|
|
17
|
+
toggleTabbingOn() {
|
|
18
|
+
this.isTabbing = true;
|
|
19
|
+
}
|
|
20
|
+
toggleTabbingOff() {
|
|
21
|
+
this.isTabbing = false;
|
|
22
|
+
}
|
|
23
|
+
// this also works on initial load because event is fired then
|
|
24
|
+
handleNavigationStateChanged(ev) {
|
|
25
|
+
this.open = ev.target.open;
|
|
26
|
+
}
|
|
27
|
+
componentWillLoad() {
|
|
28
|
+
this.el.focus = function () {
|
|
29
|
+
// if (!this.disabled) {
|
|
30
|
+
this.shadowRoot.querySelector("button").focus();
|
|
31
|
+
// prevent tooltip from showing on programmatic focus
|
|
32
|
+
requestAnimationFrame(() => {
|
|
33
|
+
this.tooltipVisible = false;
|
|
34
|
+
});
|
|
35
|
+
// }
|
|
36
|
+
};
|
|
37
|
+
if (document.body.classList.contains("wmcl-user-is-tabbing")) {
|
|
38
|
+
this.toggleTabbingOn();
|
|
39
|
+
}
|
|
40
|
+
if (!this.navId) {
|
|
41
|
+
console.error("wm-navigation-hamburger: nav-id is a required prop");
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
componentDidLoad() {
|
|
45
|
+
this.nav = document.getElementById(this.navId);
|
|
46
|
+
if (!this.nav) {
|
|
47
|
+
console.error(`wm-navigation-hamburger: wm-navigation with id ${this.navId} was not found`);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
showTooltip() {
|
|
51
|
+
this.tooltipEl.textContent = this.showNavMessage;
|
|
52
|
+
this.tooltipEl.style.top = "1.125rem";
|
|
53
|
+
this.tooltipEl.style.left = "2.75rem";
|
|
54
|
+
this.tooltipEl.style.transitionDelay = "500ms";
|
|
55
|
+
this.tooltipEl.style.opacity = "1";
|
|
56
|
+
// tooltip is only visible after the transition delay.
|
|
57
|
+
// This also fixes an issue for keyboard users:
|
|
58
|
+
// if they tab to a button out of screen bounds, the page scrolls
|
|
59
|
+
// and hideTooltip() would be triggered before the tooltip would show
|
|
60
|
+
setTimeout(() => {
|
|
61
|
+
this.tooltipVisible = true;
|
|
62
|
+
}, 500);
|
|
63
|
+
}
|
|
64
|
+
hideTooltip() {
|
|
65
|
+
this.tooltipEl.style.transitionDelay = "0s";
|
|
66
|
+
this.tooltipEl.style.opacity = "0";
|
|
67
|
+
this.tooltipVisible = false;
|
|
68
|
+
}
|
|
69
|
+
showTooltipForKeyboardUsers() {
|
|
70
|
+
if (this.isTabbing) {
|
|
71
|
+
this.showTooltip();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
handleClick() {
|
|
75
|
+
this.hideTooltip();
|
|
76
|
+
this.nav.open = !this.nav.open;
|
|
77
|
+
}
|
|
78
|
+
render() {
|
|
79
|
+
return (h(Host, { class: this.open ? "nav-open" : "nav-closed" },
|
|
80
|
+
h("button", { class: this.isTabbing ? "user-is-tabbing" : undefined, "aria-expanded": this.open, "aria-controls": this.navId, "aria-label": this.showNavMessage, onMouseEnter: () => this.showTooltip(), onMouseLeave: () => this.hideTooltip(), onFocus: () => this.showTooltipForKeyboardUsers(), onBlur: () => this.hideTooltip(), onClick: () => this.handleClick() },
|
|
81
|
+
h("span", { class: "icon" }))));
|
|
82
|
+
}
|
|
83
|
+
static get is() { return "wm-navigation-hamburger"; }
|
|
84
|
+
static get encapsulation() { return "shadow"; }
|
|
85
|
+
static get originalStyleUrls() { return {
|
|
86
|
+
"$": ["wm-navigation-hamburger.scss"]
|
|
87
|
+
}; }
|
|
88
|
+
static get styleUrls() { return {
|
|
89
|
+
"$": ["wm-navigation-hamburger.css"]
|
|
90
|
+
}; }
|
|
91
|
+
static get properties() { return {
|
|
92
|
+
"navId": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"mutable": false,
|
|
95
|
+
"complexType": {
|
|
96
|
+
"original": "string",
|
|
97
|
+
"resolved": "string | undefined",
|
|
98
|
+
"references": {}
|
|
99
|
+
},
|
|
100
|
+
"required": false,
|
|
101
|
+
"optional": true,
|
|
102
|
+
"docs": {
|
|
103
|
+
"tags": [],
|
|
104
|
+
"text": ""
|
|
105
|
+
},
|
|
106
|
+
"attribute": "nav-id",
|
|
107
|
+
"reflect": false
|
|
108
|
+
},
|
|
109
|
+
"tooltipVisible": {
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"mutable": true,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "boolean",
|
|
114
|
+
"resolved": "boolean",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": ""
|
|
122
|
+
},
|
|
123
|
+
"attribute": "tooltip-visible",
|
|
124
|
+
"reflect": false,
|
|
125
|
+
"defaultValue": "false"
|
|
126
|
+
}
|
|
127
|
+
}; }
|
|
128
|
+
static get states() { return {
|
|
129
|
+
"isTabbing": {},
|
|
130
|
+
"open": {}
|
|
131
|
+
}; }
|
|
132
|
+
static get elementRef() { return "el"; }
|
|
133
|
+
static get listeners() { return [{
|
|
134
|
+
"name": "wmUserIsTabbing",
|
|
135
|
+
"method": "toggleTabbingOn",
|
|
136
|
+
"target": "window",
|
|
137
|
+
"capture": false,
|
|
138
|
+
"passive": false
|
|
139
|
+
}, {
|
|
140
|
+
"name": "wmUserIsNotTabbing",
|
|
141
|
+
"method": "toggleTabbingOff",
|
|
142
|
+
"target": "window",
|
|
143
|
+
"capture": false,
|
|
144
|
+
"passive": false
|
|
145
|
+
}, {
|
|
146
|
+
"name": "wmNavigationStateChanged",
|
|
147
|
+
"method": "handleNavigationStateChanged",
|
|
148
|
+
"target": "document",
|
|
149
|
+
"capture": false,
|
|
150
|
+
"passive": false
|
|
151
|
+
}]; }
|
|
152
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* --------------------------------------
|
|
2
|
+
1. Box-shadow
|
|
3
|
+
-------------------------------------- */
|
|
4
|
+
/* --------------------------------------
|
|
5
|
+
2. Border-radius
|
|
6
|
+
-------------------------------------- */
|
|
7
|
+
/* --------------------------------------
|
|
8
|
+
3. Transforms
|
|
9
|
+
-------------------------------------- */
|
|
10
|
+
/* --------------------------------------
|
|
11
|
+
4. Button Focus
|
|
12
|
+
-------------------------------------- */
|
|
13
|
+
/* --------------------------------------
|
|
14
|
+
5. Flex
|
|
15
|
+
-------------------------------------- */
|
|
16
|
+
/* --------------------------------------
|
|
17
|
+
6. Button Hover
|
|
18
|
+
-------------------------------------- */
|
|
19
|
+
/* --------------------------------------
|
|
20
|
+
7. Screen Reader Only
|
|
21
|
+
-------------------------------------- */
|
|
22
|
+
/* --------------------------------------
|
|
23
|
+
8. Label styles
|
|
24
|
+
this mixin includes all the styles for the label
|
|
25
|
+
+ flex rules on the parent container to switch between top and left position
|
|
26
|
+
+ srOnly when label is hidden
|
|
27
|
+
Assumes the following markup:
|
|
28
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
29
|
+
.wrapper is for the flex rules
|
|
30
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
31
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
32
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
33
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
34
|
+
-------------------------------------- */
|
|
35
|
+
/********************************************************************************************/
|
|
36
|
+
/* DO NOT USE THESE DIRECTLY, ASSIGN THEM TO VARIABLES NAMED AFTER FUNCTIONALITY, SEE BELOW */
|
|
37
|
+
/********************************************************************************************/
|
|
38
|
+
/* BELOW IS BEFORE WE HAD THE COLOR PALETTE FROM UI */
|
|
39
|
+
/* TODO: replace with vars above whenever possible */
|
|
40
|
+
/* Buttons */
|
|
41
|
+
/* VIA */
|
|
42
|
+
.link {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
color: inherit;
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
min-height: 4.5rem;
|
|
49
|
+
text-align: center;
|
|
50
|
+
padding: 1.25rem 0.5rem;
|
|
51
|
+
font-weight: 500;
|
|
52
|
+
outline: none;
|
|
53
|
+
position: relative;
|
|
54
|
+
}
|
|
55
|
+
.link:hover {
|
|
56
|
+
background-color: #f2f2f2;
|
|
57
|
+
}
|
|
58
|
+
.link .icon {
|
|
59
|
+
font-size: 1.375rem;
|
|
60
|
+
color: #6b6b6b;
|
|
61
|
+
}
|
|
62
|
+
.link .text {
|
|
63
|
+
font-size: 0.875rem;
|
|
64
|
+
}
|
|
65
|
+
.link.user-is-tabbing:focus {
|
|
66
|
+
box-shadow: inset 0 2px 2px 0 rgba(244, 243, 246, 0.2), inset 0 2px 2px 0 rgba(0, 0, 0, 0.1), inset 0 0 4px 3px #61279e;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.link.active {
|
|
70
|
+
background-color: #e9e7ec;
|
|
71
|
+
}
|
|
72
|
+
.link.active:before {
|
|
73
|
+
content: "";
|
|
74
|
+
background-color: #575195;
|
|
75
|
+
position: absolute;
|
|
76
|
+
height: 100%;
|
|
77
|
+
width: 5px;
|
|
78
|
+
left: 0;
|
|
79
|
+
}
|
|
80
|
+
.link.active .text {
|
|
81
|
+
color: #575195;
|
|
82
|
+
}
|
|
83
|
+
.link.active .icon {
|
|
84
|
+
color: #575195;
|
|
85
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { h, Component, Prop, Element, Host, State, Listen } from "@stencil/core";
|
|
2
|
+
export class NavigationItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.isTabbing = false;
|
|
5
|
+
}
|
|
6
|
+
toggleTabbingOn() {
|
|
7
|
+
this.isTabbing = true;
|
|
8
|
+
}
|
|
9
|
+
toggleTabbingOff() {
|
|
10
|
+
this.isTabbing = false;
|
|
11
|
+
}
|
|
12
|
+
componentWillLoad() {
|
|
13
|
+
this.el.focus = function () {
|
|
14
|
+
this.shadowRoot.querySelector(".link").focus();
|
|
15
|
+
};
|
|
16
|
+
if (document.body.classList.contains("wmcl-user-is-tabbing")) {
|
|
17
|
+
this.toggleTabbingOn();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h(Host, { role: "listitem" },
|
|
22
|
+
h("a", { class: `link ${this.active ? "active" : ""} ${this.isTabbing ? "user-is-tabbing" : ""}`, href: this.href },
|
|
23
|
+
h("div", { class: "icon", "aria-hidden": "true" },
|
|
24
|
+
h("slot", null)),
|
|
25
|
+
h("div", { class: "text" }, this.text))));
|
|
26
|
+
}
|
|
27
|
+
static get is() { return "wm-navigation-item"; }
|
|
28
|
+
static get encapsulation() { return "shadow"; }
|
|
29
|
+
static get originalStyleUrls() { return {
|
|
30
|
+
"$": ["wm-navigation-item.scss"]
|
|
31
|
+
}; }
|
|
32
|
+
static get styleUrls() { return {
|
|
33
|
+
"$": ["wm-navigation-item.css"]
|
|
34
|
+
}; }
|
|
35
|
+
static get properties() { return {
|
|
36
|
+
"href": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "string",
|
|
41
|
+
"resolved": "string | undefined",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": true,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": ""
|
|
49
|
+
},
|
|
50
|
+
"attribute": "href",
|
|
51
|
+
"reflect": false
|
|
52
|
+
},
|
|
53
|
+
"text": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"mutable": false,
|
|
56
|
+
"complexType": {
|
|
57
|
+
"original": "string",
|
|
58
|
+
"resolved": "string | undefined",
|
|
59
|
+
"references": {}
|
|
60
|
+
},
|
|
61
|
+
"required": false,
|
|
62
|
+
"optional": true,
|
|
63
|
+
"docs": {
|
|
64
|
+
"tags": [],
|
|
65
|
+
"text": ""
|
|
66
|
+
},
|
|
67
|
+
"attribute": "text",
|
|
68
|
+
"reflect": false
|
|
69
|
+
},
|
|
70
|
+
"active": {
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"mutable": false,
|
|
73
|
+
"complexType": {
|
|
74
|
+
"original": "boolean",
|
|
75
|
+
"resolved": "boolean | undefined",
|
|
76
|
+
"references": {}
|
|
77
|
+
},
|
|
78
|
+
"required": false,
|
|
79
|
+
"optional": true,
|
|
80
|
+
"docs": {
|
|
81
|
+
"tags": [],
|
|
82
|
+
"text": ""
|
|
83
|
+
},
|
|
84
|
+
"attribute": "active",
|
|
85
|
+
"reflect": false
|
|
86
|
+
}
|
|
87
|
+
}; }
|
|
88
|
+
static get states() { return {
|
|
89
|
+
"isTabbing": {}
|
|
90
|
+
}; }
|
|
91
|
+
static get elementRef() { return "el"; }
|
|
92
|
+
static get listeners() { return [{
|
|
93
|
+
"name": "wmUserIsTabbing",
|
|
94
|
+
"method": "toggleTabbingOn",
|
|
95
|
+
"target": "window",
|
|
96
|
+
"capture": false,
|
|
97
|
+
"passive": false
|
|
98
|
+
}, {
|
|
99
|
+
"name": "wmUserIsNotTabbing",
|
|
100
|
+
"method": "toggleTabbingOff",
|
|
101
|
+
"target": "window",
|
|
102
|
+
"capture": false,
|
|
103
|
+
"passive": false
|
|
104
|
+
}]; }
|
|
105
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* --------------------------------------
|
|
2
|
+
1. Box-shadow
|
|
3
|
+
-------------------------------------- */
|
|
4
|
+
/* --------------------------------------
|
|
5
|
+
2. Border-radius
|
|
6
|
+
-------------------------------------- */
|
|
7
|
+
/* --------------------------------------
|
|
8
|
+
3. Transforms
|
|
9
|
+
-------------------------------------- */
|
|
10
|
+
/* --------------------------------------
|
|
11
|
+
4. Button Focus
|
|
12
|
+
-------------------------------------- */
|
|
13
|
+
/* --------------------------------------
|
|
14
|
+
5. Flex
|
|
15
|
+
-------------------------------------- */
|
|
16
|
+
/* --------------------------------------
|
|
17
|
+
6. Button Hover
|
|
18
|
+
-------------------------------------- */
|
|
19
|
+
/* --------------------------------------
|
|
20
|
+
7. Screen Reader Only
|
|
21
|
+
-------------------------------------- */
|
|
22
|
+
/* --------------------------------------
|
|
23
|
+
8. Label styles
|
|
24
|
+
this mixin includes all the styles for the label
|
|
25
|
+
+ flex rules on the parent container to switch between top and left position
|
|
26
|
+
+ srOnly when label is hidden
|
|
27
|
+
Assumes the following markup:
|
|
28
|
+
div.wrapper[.label-left.invalid] > div.label-wrapper > label.label > span.required
|
|
29
|
+
.wrapper is for the flex rules
|
|
30
|
+
.label-wrapper is to set the height of the label when positioned left so it's the same height as
|
|
31
|
+
the input. It can't be done directly on .label because of possible line wrapping.
|
|
32
|
+
When the label is on top there's no line wrapping at all to ensure proper alignment of inlined elements
|
|
33
|
+
(they can't be aligned on the baseline because of possible description text and error message)
|
|
34
|
+
-------------------------------------- */
|
|
35
|
+
/********************************************************************************************/
|
|
36
|
+
/* DO NOT USE THESE DIRECTLY, ASSIGN THEM TO VARIABLES NAMED AFTER FUNCTIONALITY, SEE BELOW */
|
|
37
|
+
/********************************************************************************************/
|
|
38
|
+
/* BELOW IS BEFORE WE HAD THE COLOR PALETTE FROM UI */
|
|
39
|
+
/* TODO: replace with vars above whenever possible */
|
|
40
|
+
/* Buttons */
|
|
41
|
+
/* VIA */
|
|
42
|
+
:host {
|
|
43
|
+
z-index: 10;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host(.collapsible) {
|
|
47
|
+
z-index: 5000;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.nav {
|
|
51
|
+
-webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.14);
|
|
52
|
+
-moz-box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.14);
|
|
53
|
+
box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.14);
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
width: 7.5625rem;
|
|
57
|
+
background-color: #fff;
|
|
58
|
+
overflow-x: hidden;
|
|
59
|
+
overflow-y: auto;
|
|
60
|
+
-webkit-overflow-scrolling: touch;
|
|
61
|
+
font-size: 0.875rem;
|
|
62
|
+
height: 100%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.navlist {
|
|
66
|
+
margin: 0;
|
|
67
|
+
padding: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.toggle-wrapper {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* COLLAPSIBLE STYLES */
|
|
75
|
+
@media screen and (max-width: 1023px) {
|
|
76
|
+
.nav {
|
|
77
|
+
-ms-transition: transform 0.33s ease;
|
|
78
|
+
-webkit-transition: transform 0.33s ease;
|
|
79
|
+
-moz-transition: transform 0.33s ease;
|
|
80
|
+
transition: transform 0.33s ease;
|
|
81
|
+
position: fixed;
|
|
82
|
+
top: 0;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
left: 0;
|
|
85
|
+
transform: translateX(-100%);
|
|
86
|
+
}
|
|
87
|
+
.nav ul {
|
|
88
|
+
visibility: hidden;
|
|
89
|
+
}
|
|
90
|
+
.nav[aria-expanded=true] {
|
|
91
|
+
transform: translateX(0);
|
|
92
|
+
}
|
|
93
|
+
.nav[aria-expanded=true] ul {
|
|
94
|
+
visibility: visible;
|
|
95
|
+
}
|
|
96
|
+
.nav .toggle-wrapper {
|
|
97
|
+
display: inline-block;
|
|
98
|
+
min-height: 5rem;
|
|
99
|
+
width: 100%;
|
|
100
|
+
display: flex;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
align-items: center;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.overlay {
|
|
106
|
+
width: 100vw;
|
|
107
|
+
height: 100vh;
|
|
108
|
+
max-width: none;
|
|
109
|
+
max-height: none;
|
|
110
|
+
position: fixed !important;
|
|
111
|
+
top: 0;
|
|
112
|
+
bottom: 0;
|
|
113
|
+
left: 0;
|
|
114
|
+
right: 0;
|
|
115
|
+
transform: translate(0%, 0%);
|
|
116
|
+
background-color: rgba(25, 25, 25, 0.4);
|
|
117
|
+
-ms-transition: opacity 0.5s ease-out;
|
|
118
|
+
-webkit-transition: opacity 0.5s ease-out;
|
|
119
|
+
-moz-transition: opacity 0.5s ease-out;
|
|
120
|
+
transition: opacity 0.5s ease-out;
|
|
121
|
+
}
|
|
122
|
+
}
|