@zanichelli/albe-web-components 2.39.0 → 2.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1399 -0
- package/dist/cjs/{index-dcab1bda.js → index-15dc9f49.js} +15 -0
- package/dist/cjs/{index-ec1433b8.js → index-dee3e21d.js} +88 -179
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-971854fc.js → utils-50477402.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header.cjs.entry.js +1 -1
- package/dist/cjs/z-app-switcher_10.cjs.entry.js +353 -0
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-body_2.cjs.entry.js +1 -1
- package/dist/cjs/z-button-filter_5.cjs.entry.js +3 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-candybar.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +3 -3
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +1 -1
- package/dist/cjs/z-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-heading.cjs.entry.js +1 -1
- package/dist/cjs/z-icon-package.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-list_3.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +3 -3
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +2 -2
- package/dist/cjs/z-modal.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-topbar.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-otp.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-page.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +3 -3
- package/dist/cjs/z-popover.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +3 -3
- package/dist/cjs/z-status-tag.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +1 -1
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +3 -3
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +47 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-user-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +15 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/buttons/z-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +141 -0
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +102 -0
- package/dist/collection/components/navigation/z-menu/index.js +4 -4
- package/dist/collection/components/notification/z-tooltip/index.js +2 -2
- package/dist/collection/components/z-offcanvas/index.js +147 -0
- package/dist/collection/components/z-offcanvas/styles.css +163 -0
- package/dist/esm/{index-6b86a3f1.js → index-672bd95c.js} +16 -1
- package/dist/esm/{index-1877eca4.js → index-fa9e549c.js} +88 -179
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{utils-351595e0.js → utils-c01fe130.js} +1 -1
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-app-header.entry.js +1 -1
- package/dist/esm/z-app-switcher_10.entry.js +340 -0
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-body_2.entry.js +1 -1
- package/dist/esm/z-button-filter_5.entry.js +3 -3
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-candybar.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +3 -3
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +2 -2
- package/dist/esm/z-footer-link_3.entry.js +1 -1
- package/dist/esm/z-footer.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-heading.entry.js +1 -1
- package/dist/esm/z-icon-package.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-list_3.entry.js +2 -2
- package/dist/esm/z-menu-dropdown_2.entry.js +3 -3
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-messages-pocket.entry.js +2 -2
- package/dist/esm/z-modal-login.entry.js +2 -2
- package/dist/esm/z-modal.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +2 -2
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-topbar.entry.js +2 -2
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -2
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-otp.entry.js +2 -2
- package/dist/esm/z-pagination-bar.entry.js +3 -3
- package/dist/esm/z-pagination-page.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +3 -3
- package/dist/esm/z-popover.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +3 -3
- package/dist/esm/z-status-tag.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +1 -1
- package/dist/esm/z-table-expanded-row.entry.js +1 -1
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +3 -3
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-table-sticky-footer.entry.js +1 -1
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +43 -0
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-user-dropdown.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +12 -0
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +12 -0
- package/dist/types/components/z-offcanvas/index.d.ts +25 -0
- package/dist/types/components.d.ts +64 -1
- package/dist/types/stencil-public-runtime.d.ts +186 -189
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-007b2b1e.entry.js +1 -0
- package/dist/web-components-library/p-02956254.entry.js +1 -0
- package/{www/build/p-c32cfd08.entry.js → dist/web-components-library/p-056f3b6a.entry.js} +1 -1
- package/dist/web-components-library/{p-761eb0ec.entry.js → p-0ce6293a.entry.js} +1 -1
- package/dist/web-components-library/{p-7359f441.entry.js → p-0dbee434.entry.js} +1 -1
- package/dist/web-components-library/{p-2cc0c93f.entry.js → p-1094e4de.entry.js} +1 -1
- package/dist/web-components-library/{p-7d57c388.entry.js → p-140cc18f.entry.js} +1 -1
- package/dist/web-components-library/{p-bd8a9e22.entry.js → p-1c72783c.entry.js} +1 -1
- package/dist/web-components-library/{p-045609ec.entry.js → p-240834e2.entry.js} +1 -1
- package/dist/web-components-library/{p-0b6bd214.entry.js → p-250926fe.entry.js} +1 -1
- package/dist/web-components-library/p-2805c574.entry.js +1 -0
- package/dist/web-components-library/{p-d8b37ea2.entry.js → p-2afdbac4.entry.js} +1 -1
- package/dist/web-components-library/{p-7047472a.entry.js → p-2ea470c2.entry.js} +1 -1
- package/dist/web-components-library/{p-49d7eb82.entry.js → p-2feaa8e1.entry.js} +1 -1
- package/dist/web-components-library/{p-ffa7d612.entry.js → p-39f55fdd.entry.js} +1 -1
- package/dist/web-components-library/{p-8c708c19.entry.js → p-3ee697e5.entry.js} +1 -1
- package/dist/web-components-library/{p-12143979.entry.js → p-434512c4.entry.js} +1 -1
- package/dist/web-components-library/{p-979882a5.entry.js → p-4665d79f.entry.js} +1 -1
- package/dist/web-components-library/{p-f9e401fa.entry.js → p-483d10ba.entry.js} +1 -1
- package/dist/web-components-library/{p-c273c377.entry.js → p-48e0a763.entry.js} +1 -1
- package/dist/web-components-library/{p-d2848d7c.entry.js → p-4a1404e2.entry.js} +1 -1
- package/{www/build/p-04daa863.entry.js → dist/web-components-library/p-4a414eb2.entry.js} +1 -1
- package/dist/web-components-library/{p-8aa42057.entry.js → p-4c1dc891.entry.js} +1 -1
- package/dist/web-components-library/{p-f8a4f737.entry.js → p-4d35157e.entry.js} +1 -1
- package/dist/web-components-library/{p-9df8c36c.entry.js → p-5558c49a.entry.js} +1 -1
- package/dist/web-components-library/{p-bbc60b23.entry.js → p-5bbbc979.entry.js} +1 -1
- package/dist/web-components-library/{p-89949594.entry.js → p-5ed90426.entry.js} +1 -1
- package/dist/web-components-library/p-5ff60fcd.js +1 -0
- package/dist/web-components-library/{p-f0a75232.entry.js → p-6011c261.entry.js} +1 -1
- package/dist/web-components-library/{p-d1d26026.entry.js → p-6583cbec.entry.js} +1 -1
- package/dist/web-components-library/{p-1bd60c44.entry.js → p-698e18cf.entry.js} +1 -1
- package/dist/web-components-library/{p-c3ef3d38.entry.js → p-6af9e8d7.entry.js} +1 -1
- package/dist/web-components-library/{p-cdf09ad7.entry.js → p-71cc7ed0.entry.js} +1 -1
- package/dist/web-components-library/{p-45cbf885.entry.js → p-74fb3d69.entry.js} +1 -1
- package/dist/web-components-library/{p-1189fec8.entry.js → p-767c4094.entry.js} +1 -1
- package/dist/web-components-library/{p-620511a7.entry.js → p-778c843f.entry.js} +1 -1
- package/dist/web-components-library/{p-c7584987.entry.js → p-7af1b50c.entry.js} +1 -1
- package/dist/web-components-library/{p-0b4b058a.entry.js → p-8303fd88.entry.js} +1 -1
- package/dist/web-components-library/{p-a61ea96d.entry.js → p-8deddec7.entry.js} +1 -1
- package/dist/web-components-library/{p-7e13c57d.entry.js → p-8edb6b65.entry.js} +1 -1
- package/dist/web-components-library/p-904a85e4.js +1 -0
- package/dist/web-components-library/p-93c863d2.entry.js +1 -0
- package/dist/web-components-library/{p-f78ddbf1.entry.js → p-9af1322d.entry.js} +1 -1
- package/dist/web-components-library/{p-3bbf16c8.entry.js → p-a1bb6af2.entry.js} +1 -1
- package/dist/web-components-library/p-a321fe03.js +1 -0
- package/{www/build/p-5fb435ca.entry.js → dist/web-components-library/p-a7733104.entry.js} +1 -1
- package/dist/web-components-library/{p-ebbd95f1.entry.js → p-a85195a4.entry.js} +1 -1
- package/dist/web-components-library/{p-b87c4984.entry.js → p-aa0f7169.entry.js} +1 -1
- package/dist/web-components-library/{p-09ded8b4.entry.js → p-ac3bc4c2.entry.js} +1 -1
- package/{www/build/p-8f26022a.entry.js → dist/web-components-library/p-b008639f.entry.js} +1 -1
- package/dist/web-components-library/{p-e7539b9d.entry.js → p-b6ad7e23.entry.js} +1 -1
- package/dist/web-components-library/{p-40e6d79d.entry.js → p-b78fb152.entry.js} +1 -1
- package/dist/web-components-library/{p-83e0e68a.entry.js → p-b8770504.entry.js} +1 -1
- package/dist/web-components-library/{p-3135d14b.entry.js → p-b9f91ea1.entry.js} +1 -1
- package/dist/web-components-library/{p-feef02c7.entry.js → p-bc5e78a8.entry.js} +1 -1
- package/dist/web-components-library/{p-17859c28.entry.js → p-be40901d.entry.js} +1 -1
- package/{www/build/p-552b4f1d.entry.js → dist/web-components-library/p-c19e3c48.entry.js} +1 -1
- package/dist/web-components-library/{p-b9da6425.entry.js → p-c52df17b.entry.js} +1 -1
- package/dist/web-components-library/{p-779bc51a.entry.js → p-c7af96eb.entry.js} +1 -1
- package/dist/web-components-library/{p-b3e1e83b.entry.js → p-cb2acc2e.entry.js} +1 -1
- package/{www/build/p-91d423bd.entry.js → dist/web-components-library/p-cd6cfb85.entry.js} +1 -1
- package/dist/web-components-library/{p-a56f935f.entry.js → p-cf914ea7.entry.js} +1 -1
- package/dist/web-components-library/{p-dbbae18b.entry.js → p-cfebc80e.entry.js} +1 -1
- package/dist/web-components-library/{p-ba6d55cb.entry.js → p-d4e409ba.entry.js} +1 -1
- package/dist/web-components-library/{p-73049484.entry.js → p-d6d19aeb.entry.js} +1 -1
- package/dist/web-components-library/{p-b4bc83ea.entry.js → p-db5863cf.entry.js} +1 -1
- package/dist/web-components-library/{p-0293d6c6.entry.js → p-e1f1f39e.entry.js} +1 -1
- package/dist/web-components-library/{p-57aaa3d2.entry.js → p-ebcad010.entry.js} +1 -1
- package/dist/web-components-library/{p-4b756d6a.entry.js → p-f113a03a.entry.js} +1 -1
- package/dist/web-components-library/{p-4c25dc1d.entry.js → p-f15ca066.entry.js} +1 -1
- package/dist/web-components-library/{p-af9c81d0.entry.js → p-fdfca9b7.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/index.d.ts +1 -0
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +3 -1
- package/react/components.js.map +1 -1
- package/react/react-component-lib/createComponent.d.ts +1 -1
- package/react/react-component-lib/createComponent.js +10 -42
- package/react/react-component-lib/createComponent.js.map +1 -1
- package/react/react-component-lib/createOverlayComponent.d.ts +4 -5
- package/react/react-component-lib/createOverlayComponent.js +8 -28
- package/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/react/react-component-lib/utils/attachProps.d.ts +1 -1
- package/react/react-component-lib/utils/attachProps.js +12 -14
- package/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/react/react-component-lib/utils/index.d.ts +1 -4
- package/react/react-component-lib/utils/index.js +5 -20
- package/react/react-component-lib/utils/index.js.map +1 -1
- package/src-react/index.ts +1 -0
- package/www/build/index.esm.js +1 -1
- package/www/build/p-007b2b1e.entry.js +1 -0
- package/www/build/p-02956254.entry.js +1 -0
- package/{dist/web-components-library/p-c32cfd08.entry.js → www/build/p-056f3b6a.entry.js} +1 -1
- package/www/build/{p-761eb0ec.entry.js → p-0ce6293a.entry.js} +1 -1
- package/www/build/{p-7359f441.entry.js → p-0dbee434.entry.js} +1 -1
- package/www/build/{p-2cc0c93f.entry.js → p-1094e4de.entry.js} +1 -1
- package/www/build/{p-7d57c388.entry.js → p-140cc18f.entry.js} +1 -1
- package/www/build/{p-bd8a9e22.entry.js → p-1c72783c.entry.js} +1 -1
- package/www/build/{p-045609ec.entry.js → p-240834e2.entry.js} +1 -1
- package/www/build/{p-0b6bd214.entry.js → p-250926fe.entry.js} +1 -1
- package/www/build/p-2805c574.entry.js +1 -0
- package/www/build/{p-d8b37ea2.entry.js → p-2afdbac4.entry.js} +1 -1
- package/www/build/{p-7047472a.entry.js → p-2ea470c2.entry.js} +1 -1
- package/www/build/{p-49d7eb82.entry.js → p-2feaa8e1.entry.js} +1 -1
- package/www/build/{p-ffa7d612.entry.js → p-39f55fdd.entry.js} +1 -1
- package/www/build/{p-8c708c19.entry.js → p-3ee697e5.entry.js} +1 -1
- package/www/build/p-41964367.js +122 -0
- package/www/build/{p-12143979.entry.js → p-434512c4.entry.js} +1 -1
- package/www/build/{p-979882a5.entry.js → p-4665d79f.entry.js} +1 -1
- package/www/build/{p-f9e401fa.entry.js → p-483d10ba.entry.js} +1 -1
- package/www/build/{p-c273c377.entry.js → p-48e0a763.entry.js} +1 -1
- package/www/build/{p-d2848d7c.entry.js → p-4a1404e2.entry.js} +1 -1
- package/{dist/web-components-library/p-04daa863.entry.js → www/build/p-4a414eb2.entry.js} +1 -1
- package/www/build/{p-8aa42057.entry.js → p-4c1dc891.entry.js} +1 -1
- package/www/build/{p-f8a4f737.entry.js → p-4d35157e.entry.js} +1 -1
- package/www/build/{p-9df8c36c.entry.js → p-5558c49a.entry.js} +1 -1
- package/www/build/{p-bbc60b23.entry.js → p-5bbbc979.entry.js} +1 -1
- package/www/build/{p-89949594.entry.js → p-5ed90426.entry.js} +1 -1
- package/www/build/p-5ff60fcd.js +1 -0
- package/www/build/{p-f0a75232.entry.js → p-6011c261.entry.js} +1 -1
- package/www/build/{p-d1d26026.entry.js → p-6583cbec.entry.js} +1 -1
- package/www/build/{p-1bd60c44.entry.js → p-698e18cf.entry.js} +1 -1
- package/www/build/{p-c3ef3d38.entry.js → p-6af9e8d7.entry.js} +1 -1
- package/www/build/{p-cdf09ad7.entry.js → p-71cc7ed0.entry.js} +1 -1
- package/www/build/{p-45cbf885.entry.js → p-74fb3d69.entry.js} +1 -1
- package/www/build/{p-1189fec8.entry.js → p-767c4094.entry.js} +1 -1
- package/www/build/{p-620511a7.entry.js → p-778c843f.entry.js} +1 -1
- package/www/build/{p-c7584987.entry.js → p-7af1b50c.entry.js} +1 -1
- package/www/build/{p-0b4b058a.entry.js → p-8303fd88.entry.js} +1 -1
- package/www/build/{p-a61ea96d.entry.js → p-8deddec7.entry.js} +1 -1
- package/www/build/{p-7e13c57d.entry.js → p-8edb6b65.entry.js} +1 -1
- package/www/build/p-904a85e4.js +1 -0
- package/www/build/p-93c863d2.entry.js +1 -0
- package/www/build/p-97a11655.css +789 -0
- package/www/build/{p-f78ddbf1.entry.js → p-9af1322d.entry.js} +1 -1
- package/www/build/{p-3bbf16c8.entry.js → p-a1bb6af2.entry.js} +1 -1
- package/www/build/p-a321fe03.js +1 -0
- package/{dist/web-components-library/p-5fb435ca.entry.js → www/build/p-a7733104.entry.js} +1 -1
- package/www/build/{p-ebbd95f1.entry.js → p-a85195a4.entry.js} +1 -1
- package/www/build/{p-b87c4984.entry.js → p-aa0f7169.entry.js} +1 -1
- package/www/build/{p-09ded8b4.entry.js → p-ac3bc4c2.entry.js} +1 -1
- package/{dist/web-components-library/p-8f26022a.entry.js → www/build/p-b008639f.entry.js} +1 -1
- package/www/build/{p-e7539b9d.entry.js → p-b6ad7e23.entry.js} +1 -1
- package/www/build/{p-40e6d79d.entry.js → p-b78fb152.entry.js} +1 -1
- package/www/build/{p-83e0e68a.entry.js → p-b8770504.entry.js} +1 -1
- package/www/build/{p-3135d14b.entry.js → p-b9f91ea1.entry.js} +1 -1
- package/www/build/{p-feef02c7.entry.js → p-bc5e78a8.entry.js} +1 -1
- package/www/build/{p-17859c28.entry.js → p-be40901d.entry.js} +1 -1
- package/{dist/web-components-library/p-552b4f1d.entry.js → www/build/p-c19e3c48.entry.js} +1 -1
- package/www/build/{p-b9da6425.entry.js → p-c52df17b.entry.js} +1 -1
- package/www/build/{p-779bc51a.entry.js → p-c7af96eb.entry.js} +1 -1
- package/www/build/{p-b3e1e83b.entry.js → p-cb2acc2e.entry.js} +1 -1
- package/{dist/web-components-library/p-91d423bd.entry.js → www/build/p-cd6cfb85.entry.js} +1 -1
- package/www/build/{p-a56f935f.entry.js → p-cf914ea7.entry.js} +1 -1
- package/www/build/{p-dbbae18b.entry.js → p-cfebc80e.entry.js} +1 -1
- package/www/build/{p-ba6d55cb.entry.js → p-d4e409ba.entry.js} +1 -1
- package/www/build/{p-73049484.entry.js → p-d6d19aeb.entry.js} +1 -1
- package/www/build/{p-b4bc83ea.entry.js → p-db5863cf.entry.js} +1 -1
- package/www/build/{p-0293d6c6.entry.js → p-e1f1f39e.entry.js} +1 -1
- package/www/build/{p-57aaa3d2.entry.js → p-ebcad010.entry.js} +1 -1
- package/www/build/{p-4b756d6a.entry.js → p-f113a03a.entry.js} +1 -1
- package/www/build/{p-4c25dc1d.entry.js → p-f15ca066.entry.js} +1 -1
- package/www/build/{p-af9c81d0.entry.js → p-fdfca9b7.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.js +1 -1
- package/www/index.html +32 -8
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -29
- package/dist/cjs/z-app-topbar.cjs.entry.js +0 -41
- package/dist/cjs/z-button.cjs.entry.js +0 -38
- package/dist/cjs/z-card.cjs.entry.js +0 -69
- package/dist/cjs/z-carousel.cjs.entry.js +0 -19
- package/dist/cjs/z-divider.cjs.entry.js +0 -26
- package/dist/cjs/z-icon.cjs.entry.js +0 -28
- package/dist/cjs/z-link.cjs.entry.js +0 -71
- package/dist/cjs/z-logo.cjs.entry.js +0 -28
- package/dist/esm/z-app-switcher.entry.js +0 -25
- package/dist/esm/z-app-topbar.entry.js +0 -37
- package/dist/esm/z-button.entry.js +0 -34
- package/dist/esm/z-card.entry.js +0 -65
- package/dist/esm/z-carousel.entry.js +0 -15
- package/dist/esm/z-divider.entry.js +0 -22
- package/dist/esm/z-icon.entry.js +0 -24
- package/dist/esm/z-link.entry.js +0 -67
- package/dist/esm/z-logo.entry.js +0 -24
- package/dist/web-components-library/p-1e16738e.entry.js +0 -1
- package/dist/web-components-library/p-2c324620.entry.js +0 -1
- package/dist/web-components-library/p-2e29b4b0.entry.js +0 -1
- package/dist/web-components-library/p-41517a90.entry.js +0 -1
- package/dist/web-components-library/p-474972e4.entry.js +0 -1
- package/dist/web-components-library/p-56640ea6.js +0 -1
- package/dist/web-components-library/p-684530fa.entry.js +0 -1
- package/dist/web-components-library/p-6934ea47.js +0 -1
- package/dist/web-components-library/p-96675782.entry.js +0 -1
- package/dist/web-components-library/p-b240dbda.entry.js +0 -1
- package/dist/web-components-library/p-c118e071.entry.js +0 -1
- package/dist/web-components-library/p-d945c8d2.js +0 -1
- package/dist/web-components-library/p-f1b20cc1.entry.js +0 -1
- package/dist/web-components-library/p-f59db8b2.entry.js +0 -1
- package/www/build/p-1e16738e.entry.js +0 -1
- package/www/build/p-2c324620.entry.js +0 -1
- package/www/build/p-2e29b4b0.entry.js +0 -1
- package/www/build/p-41517a90.entry.js +0 -1
- package/www/build/p-474972e4.entry.js +0 -1
- package/www/build/p-56640ea6.js +0 -1
- package/www/build/p-684530fa.entry.js +0 -1
- package/www/build/p-6934ea47.js +0 -1
- package/www/build/p-88b56b6e.css +0 -1
- package/www/build/p-96675782.entry.js +0 -1
- package/www/build/p-b240dbda.entry.js +0 -1
- package/www/build/p-c118e071.entry.js +0 -1
- package/www/build/p-d945c8d2.js +0 -1
- package/www/build/p-d967336b.js +0 -1
- package/www/build/p-f1b20cc1.entry.js +0 -1
- package/www/build/p-f59db8b2.entry.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ".sc-z-table-body-h{display:table-row-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";
|
|
8
8
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
7
7
|
const index$2 = require('./index-9651dba8.js');
|
|
8
8
|
require('./_commonjsHelpers-119ffc74.js');
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ":host{background-color:var(--gray50);display:none}:host>td>div.content-container{box-shadow:var(--shadow-2);margin-bottom:calc(var(--space-unit) / 2)}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ".sc-z-table-footer-h{display:table-footer-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ".sc-z-table-head-h{display:table-header-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = "z-table-header-row{display:table-row}z-table-header-row[expandable]>z-table-header:first-child{width:40px;user-select:none;box-sizing:border-box}z-table-header-row[expandable]>z-table-header:nth-child(2){padding-left:8px}";
|
|
8
8
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
const index$2 = require('./index-9651dba8.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const utils = require('./utils-
|
|
7
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
8
|
+
const utils = require('./utils-50477402.js');
|
|
9
9
|
require('./_commonjsHelpers-119ffc74.js');
|
|
10
10
|
require('./breakpoints-88c4fd6c.js');
|
|
11
11
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ".sc-z-table-sticky-footer-h{display:block;position:sticky;left:0;padding:var(--basex2);background-color:var(--bg-white);border-style:solid;border-color:var(--gray200);border-width:var(--border-size-small) 0 var(--border-base);font-weight:var(--font-rg)}";
|
|
8
8
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
7
7
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
8
|
|
|
9
9
|
const stylesCss = "z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
7
7
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
8
|
const hammer = require('./hammer-54230951.js');
|
|
9
9
|
require('./_commonjsHelpers-119ffc74.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = "button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
|
|
8
8
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const utils = require('./utils-50477402.js');
|
|
7
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
8
|
+
require('./breakpoints-88c4fd6c.js');
|
|
9
|
+
|
|
10
|
+
const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
|
|
11
|
+
|
|
12
|
+
const ZToggleSwitch = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.toggleClick = index.createEvent(this, "toggleClick", 7);
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.labelPosition = index$1.ZtoggleSwitchPositionEnum.left;
|
|
18
|
+
this.checked = false;
|
|
19
|
+
this.htmlid = `toggle-switch-id-${utils.randomId()}`;
|
|
20
|
+
}
|
|
21
|
+
emitToggleClick() {
|
|
22
|
+
this.toggleClick.emit({
|
|
23
|
+
id: this.htmlid,
|
|
24
|
+
checked: this.checked,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
handleClick(ev) {
|
|
28
|
+
if (this.disabled)
|
|
29
|
+
return;
|
|
30
|
+
this.checked = ev.target.checked;
|
|
31
|
+
this.emitToggleClick();
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
return [
|
|
35
|
+
index.h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
|
|
36
|
+
index.h("label", { htmlFor: this.htmlid, class: this.labelPosition }, index.h("span", null, index.h("slot", null)), index.h("span", { class: {
|
|
37
|
+
container: true,
|
|
38
|
+
disabled: this.disabled,
|
|
39
|
+
checked: this.checked,
|
|
40
|
+
} }, index.h("span", { class: "circle" }, this.checked &&
|
|
41
|
+
index.h("z-icon", { width: 12, height: 12, name: "checkmark" })))),
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
ZToggleSwitch.style = stylesCss;
|
|
46
|
+
|
|
47
|
+
exports.z_toggle_switch = ZToggleSwitch;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-dee3e21d.js');
|
|
6
6
|
|
|
7
7
|
const stylesCss = ":host{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:0 -1px -1px 0;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";
|
|
8
8
|
|
|
@@ -183,6 +183,11 @@ export var ExpandableListButtonAlign;
|
|
|
183
183
|
ExpandableListButtonAlign["right"] = "right";
|
|
184
184
|
ExpandableListButtonAlign["left"] = "left";
|
|
185
185
|
})(ExpandableListButtonAlign || (ExpandableListButtonAlign = {}));
|
|
186
|
+
export var ZtoggleSwitchPositionEnum;
|
|
187
|
+
(function (ZtoggleSwitchPositionEnum) {
|
|
188
|
+
ZtoggleSwitchPositionEnum["right"] = "right";
|
|
189
|
+
ZtoggleSwitchPositionEnum["left"] = "left";
|
|
190
|
+
})(ZtoggleSwitchPositionEnum || (ZtoggleSwitchPositionEnum = {}));
|
|
186
191
|
export var ListDividerType;
|
|
187
192
|
(function (ListDividerType) {
|
|
188
193
|
ListDividerType["none"] = "none";
|
|
@@ -253,6 +258,16 @@ export var ZAriaAlertMode;
|
|
|
253
258
|
ZAriaAlertMode["polite"] = "polite";
|
|
254
259
|
ZAriaAlertMode["assertive"] = "assertive";
|
|
255
260
|
})(ZAriaAlertMode || (ZAriaAlertMode = {}));
|
|
261
|
+
export var TransitionDirectionEnum;
|
|
262
|
+
(function (TransitionDirectionEnum) {
|
|
263
|
+
TransitionDirectionEnum["left"] = "left";
|
|
264
|
+
TransitionDirectionEnum["right"] = "right";
|
|
265
|
+
})(TransitionDirectionEnum || (TransitionDirectionEnum = {}));
|
|
266
|
+
export var OffCanvasVariantsEnum;
|
|
267
|
+
(function (OffCanvasVariantsEnum) {
|
|
268
|
+
OffCanvasVariantsEnum["overlay"] = "overlay";
|
|
269
|
+
OffCanvasVariantsEnum["pushcontent"] = "pushcontent";
|
|
270
|
+
})(OffCanvasVariantsEnum || (OffCanvasVariantsEnum = {}));
|
|
256
271
|
export var ZChipType;
|
|
257
272
|
(function (ZChipType) {
|
|
258
273
|
ZChipType["default"] = "default";
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"./components/buttons/z-button-sort/index.js",
|
|
7
7
|
"./components/buttons/z-chip/index.js",
|
|
8
8
|
"./components/buttons/z-toggle-button/index.js",
|
|
9
|
+
"./components/buttons/z-toggle-switch/index.js",
|
|
9
10
|
"./components/footer/z-footer/index.js",
|
|
10
11
|
"./components/footer/z-footer-link/index.js",
|
|
11
12
|
"./components/footer/z-footer-section/index.js",
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"./components/z-contextual-menu/index.js",
|
|
55
56
|
"./components/z-divider/index.js",
|
|
56
57
|
"./components/z-ghost-loading/index.js",
|
|
58
|
+
"./components/z-offcanvas/index.js",
|
|
57
59
|
"./components/z-popover/index.js",
|
|
58
60
|
"./components/z-status-tag/index.js",
|
|
59
61
|
"./components/z-table/z-table/index.js",
|
|
@@ -93,8 +95,8 @@
|
|
|
93
95
|
],
|
|
94
96
|
"compiler": {
|
|
95
97
|
"name": "@stencil/core",
|
|
96
|
-
"version": "2.
|
|
97
|
-
"typescriptVersion": "4.
|
|
98
|
+
"version": "2.6.0",
|
|
99
|
+
"typescriptVersion": "4.2.3"
|
|
98
100
|
},
|
|
99
101
|
"collections": [],
|
|
100
102
|
"bundles": []
|
|
@@ -186,8 +186,8 @@ export class ZButton {
|
|
|
186
186
|
"optional": true,
|
|
187
187
|
"docs": {
|
|
188
188
|
"tags": [{
|
|
189
|
-
"
|
|
190
|
-
"
|
|
189
|
+
"text": "Use `size` prop.",
|
|
190
|
+
"name": "deprecated"
|
|
191
191
|
}],
|
|
192
192
|
"text": "Reduce button size (deprecated)."
|
|
193
193
|
},
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { Component, Prop, h, Event } from "@stencil/core";
|
|
2
|
+
import { randomId } from "../../../utils/utils";
|
|
3
|
+
import { ZtoggleSwitchPositionEnum } from "../../../beans";
|
|
4
|
+
export class ZToggleSwitch {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.disabled = false;
|
|
7
|
+
this.labelPosition = ZtoggleSwitchPositionEnum.left;
|
|
8
|
+
this.checked = false;
|
|
9
|
+
this.htmlid = `toggle-switch-id-${randomId()}`;
|
|
10
|
+
}
|
|
11
|
+
emitToggleClick() {
|
|
12
|
+
this.toggleClick.emit({
|
|
13
|
+
id: this.htmlid,
|
|
14
|
+
checked: this.checked,
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
handleClick(ev) {
|
|
18
|
+
if (this.disabled)
|
|
19
|
+
return;
|
|
20
|
+
this.checked = ev.target.checked;
|
|
21
|
+
this.emitToggleClick();
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return [
|
|
25
|
+
h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
|
|
26
|
+
h("label", { htmlFor: this.htmlid, class: this.labelPosition },
|
|
27
|
+
h("span", null,
|
|
28
|
+
h("slot", null)),
|
|
29
|
+
h("span", { class: {
|
|
30
|
+
container: true,
|
|
31
|
+
disabled: this.disabled,
|
|
32
|
+
checked: this.checked,
|
|
33
|
+
} },
|
|
34
|
+
h("span", { class: "circle" }, this.checked &&
|
|
35
|
+
h("z-icon", { width: 12, height: 12, name: "checkmark" })))),
|
|
36
|
+
];
|
|
37
|
+
}
|
|
38
|
+
static get is() { return "z-toggle-switch"; }
|
|
39
|
+
static get encapsulation() { return "scoped"; }
|
|
40
|
+
static get originalStyleUrls() { return {
|
|
41
|
+
"$": ["styles.css"]
|
|
42
|
+
}; }
|
|
43
|
+
static get styleUrls() { return {
|
|
44
|
+
"$": ["styles.css"]
|
|
45
|
+
}; }
|
|
46
|
+
static get properties() { return {
|
|
47
|
+
"disabled": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"mutable": false,
|
|
50
|
+
"complexType": {
|
|
51
|
+
"original": "boolean",
|
|
52
|
+
"resolved": "boolean",
|
|
53
|
+
"references": {}
|
|
54
|
+
},
|
|
55
|
+
"required": false,
|
|
56
|
+
"optional": true,
|
|
57
|
+
"docs": {
|
|
58
|
+
"tags": [],
|
|
59
|
+
"text": ""
|
|
60
|
+
},
|
|
61
|
+
"attribute": "disabled",
|
|
62
|
+
"reflect": true,
|
|
63
|
+
"defaultValue": "false"
|
|
64
|
+
},
|
|
65
|
+
"labelPosition": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"mutable": false,
|
|
68
|
+
"complexType": {
|
|
69
|
+
"original": "ZtoggleSwitchPositionEnum",
|
|
70
|
+
"resolved": "ZtoggleSwitchPositionEnum.left | ZtoggleSwitchPositionEnum.right",
|
|
71
|
+
"references": {
|
|
72
|
+
"ZtoggleSwitchPositionEnum": {
|
|
73
|
+
"location": "import",
|
|
74
|
+
"path": "../../../beans"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"required": false,
|
|
79
|
+
"optional": true,
|
|
80
|
+
"docs": {
|
|
81
|
+
"tags": [],
|
|
82
|
+
"text": ""
|
|
83
|
+
},
|
|
84
|
+
"attribute": "label-position",
|
|
85
|
+
"reflect": true,
|
|
86
|
+
"defaultValue": "ZtoggleSwitchPositionEnum.left"
|
|
87
|
+
},
|
|
88
|
+
"checked": {
|
|
89
|
+
"type": "boolean",
|
|
90
|
+
"mutable": true,
|
|
91
|
+
"complexType": {
|
|
92
|
+
"original": "boolean",
|
|
93
|
+
"resolved": "boolean",
|
|
94
|
+
"references": {}
|
|
95
|
+
},
|
|
96
|
+
"required": false,
|
|
97
|
+
"optional": true,
|
|
98
|
+
"docs": {
|
|
99
|
+
"tags": [],
|
|
100
|
+
"text": ""
|
|
101
|
+
},
|
|
102
|
+
"attribute": "checked",
|
|
103
|
+
"reflect": false,
|
|
104
|
+
"defaultValue": "false"
|
|
105
|
+
},
|
|
106
|
+
"htmlid": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "string",
|
|
111
|
+
"resolved": "string",
|
|
112
|
+
"references": {}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": false,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": ""
|
|
119
|
+
},
|
|
120
|
+
"attribute": "htmlid",
|
|
121
|
+
"reflect": false,
|
|
122
|
+
"defaultValue": "`toggle-switch-id-${randomId()}`"
|
|
123
|
+
}
|
|
124
|
+
}; }
|
|
125
|
+
static get events() { return [{
|
|
126
|
+
"method": "toggleClick",
|
|
127
|
+
"name": "toggleClick",
|
|
128
|
+
"bubbles": true,
|
|
129
|
+
"cancelable": true,
|
|
130
|
+
"composed": true,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": ""
|
|
134
|
+
},
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "any",
|
|
137
|
+
"resolved": "any",
|
|
138
|
+
"references": {}
|
|
139
|
+
}
|
|
140
|
+
}]; }
|
|
141
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--font-family-sans);
|
|
3
|
+
font-weight: var(--font-rg);
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
label {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
flex-direction: row;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
label.right {
|
|
15
|
+
flex-direction: row-reverse;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
label > span:first-child {
|
|
19
|
+
letter-spacing: 0;
|
|
20
|
+
color: var(--color-text01);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
label.left > span:first-child {
|
|
24
|
+
margin-right: var(--space-unit);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
label.right > span:first-child {
|
|
28
|
+
margin-left: var(--space-unit);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
label > span.container {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
label > span.container {
|
|
37
|
+
top: 1px;
|
|
38
|
+
left: 1px;
|
|
39
|
+
height: 18px;
|
|
40
|
+
width: calc(var(--space-unit) * 4);
|
|
41
|
+
border-radius: var(--space-unit);
|
|
42
|
+
color: var(--gray500);
|
|
43
|
+
background-color: var(--gray500);
|
|
44
|
+
position: relative;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
label > span.container.disabled,
|
|
49
|
+
label > span.container.checked.disabled {
|
|
50
|
+
background-color: var(--color-disabled01);
|
|
51
|
+
cursor: default;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
label > span.container.checked.disabled > span.circle > z-icon {
|
|
55
|
+
fill: var(--color-disabled01);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
label > span.container.checked {
|
|
59
|
+
background-color: var(--color-primary01);
|
|
60
|
+
fill: var(--color-primary01);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
input:focus:focus-visible + label > span.container:not(.disabled) {
|
|
64
|
+
outline: none;
|
|
65
|
+
box-shadow: var(--shadow-focus-primary);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
input:focus:focus-visible + label > span.container.disabled {
|
|
69
|
+
outline: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
label > span.container:not(.disabled):hover {
|
|
73
|
+
background-color: var(--color-hover-primary);
|
|
74
|
+
fill: var(--color-hover-primary);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
label > span.container > span.circle {
|
|
78
|
+
top: 1px;
|
|
79
|
+
left: 1px;
|
|
80
|
+
position: absolute;
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
margin: 0;
|
|
85
|
+
height: calc(var(--space-unit) * 2);
|
|
86
|
+
width: calc(var(--space-unit) * 2);
|
|
87
|
+
border-radius: 7px;
|
|
88
|
+
background-color: var(--color-white);
|
|
89
|
+
box-shadow: var(--shadow-1);
|
|
90
|
+
transition: transform 0.3s ease;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
label > span.container.checked > span.circle {
|
|
94
|
+
transform: translateX(calc(100% - 2px));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
input[type="checkbox"] {
|
|
98
|
+
position: absolute;
|
|
99
|
+
opacity: 0;
|
|
100
|
+
z-index: -1;
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
}
|
|
@@ -142,8 +142,8 @@ export class ZMenu {
|
|
|
142
142
|
"optional": true,
|
|
143
143
|
"docs": {
|
|
144
144
|
"tags": [{
|
|
145
|
-
"
|
|
146
|
-
"
|
|
145
|
+
"text": "false",
|
|
146
|
+
"name": "default"
|
|
147
147
|
}],
|
|
148
148
|
"text": "Flag to set the display mode of the list.\nIf true, the list will be absolutely positioned under the menu label,\nstacked beneath it otherwise."
|
|
149
149
|
},
|
|
@@ -163,8 +163,8 @@ export class ZMenu {
|
|
|
163
163
|
"optional": false,
|
|
164
164
|
"docs": {
|
|
165
165
|
"tags": [{
|
|
166
|
-
"
|
|
167
|
-
"
|
|
166
|
+
"text": "false",
|
|
167
|
+
"name": "default"
|
|
168
168
|
}],
|
|
169
169
|
"text": "The opening state of the menu."
|
|
170
170
|
},
|