@zanichelli/albe-web-components 2.40.0 → 2.41.1
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 +38 -0
- package/dist/cjs/{index-25206491.js → index-15dc9f49.js} +10 -5
- package/dist/cjs/{index-e826b4ad.js → index-ec1433b8.js} +179 -91
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-6410fc7d.js → utils-50477402.js} +3 -3
- 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 +17 -0
- 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 +13 -12
- 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 +10 -5
- package/dist/collection/collection-manifest.json +3 -5
- package/dist/collection/components/buttons/z-button/index.js +3 -4
- package/dist/collection/components/buttons/z-toggle-switch/index.js +14 -11
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +19 -32
- 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/collection/utils/utils.js +2 -2
- package/dist/esm/{index-8782dff4.js → index-1877eca4.js} +179 -91
- package/dist/esm/{index-cca2b0d2.js → index-672bd95c.js} +11 -6
- 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-cdd5a909.js → utils-c01fe130.js} +3 -3
- 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 +13 -0
- 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 +13 -12
- 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 +8 -4
- package/dist/types/components/buttons/z-button/index.d.ts +1 -2
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +2 -2
- package/dist/types/components/z-offcanvas/index.d.ts +25 -0
- package/dist/types/components.d.ts +42 -102
- package/dist/types/stencil-public-runtime.d.ts +189 -186
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-d9a14771.entry.js → p-0084ea9f.entry.js} +1 -1
- package/dist/web-components-library/{p-18d36e2e.entry.js → p-0293d6c6.entry.js} +1 -1
- package/dist/web-components-library/{p-6a4dfee8.entry.js → p-02fa9e81.entry.js} +1 -1
- package/dist/web-components-library/{p-daec8d7f.entry.js → p-032bfb5c.entry.js} +1 -1
- package/dist/web-components-library/{p-c277d035.entry.js → p-04daa863.entry.js} +1 -1
- package/dist/web-components-library/{p-006a91ce.entry.js → p-07938fc2.entry.js} +1 -1
- package/dist/web-components-library/{p-db1508ed.entry.js → p-0948e843.entry.js} +1 -1
- package/dist/web-components-library/{p-b1e6a2ae.entry.js → p-09ded8b4.entry.js} +1 -1
- package/dist/web-components-library/{p-431d0295.entry.js → p-0b6bd214.entry.js} +1 -1
- package/dist/web-components-library/{p-824875b4.entry.js → p-1584dfb4.entry.js} +1 -1
- package/dist/web-components-library/{p-3830db49.entry.js → p-1bd60c44.entry.js} +1 -1
- package/dist/web-components-library/{p-031de7f3.entry.js → p-23c46ff2.entry.js} +1 -1
- package/{www/build/p-1c7ed895.entry.js → dist/web-components-library/p-24a2ecc0.entry.js} +1 -1
- package/dist/web-components-library/{p-7f866d57.entry.js → p-2c120632.entry.js} +1 -1
- package/dist/web-components-library/{p-68fab13e.entry.js → p-2cc0c93f.entry.js} +1 -1
- package/dist/web-components-library/p-3bbf16c8.entry.js +1 -0
- package/dist/web-components-library/{p-277f19e8.entry.js → p-3ea930a5.entry.js} +1 -1
- package/dist/web-components-library/{p-e8305a91.entry.js → p-40e6d79d.entry.js} +1 -1
- package/dist/web-components-library/{p-d1432a24.entry.js → p-45cbf885.entry.js} +1 -1
- package/{www/build/p-8fe1b60c.entry.js → dist/web-components-library/p-4b756d6a.entry.js} +1 -1
- package/dist/web-components-library/{p-1c66e50c.entry.js → p-4c7189d2.entry.js} +1 -1
- package/dist/web-components-library/{p-d950fcf8.entry.js → p-4e2763b2.entry.js} +1 -1
- package/dist/web-components-library/p-56640ea6.js +1 -0
- package/dist/web-components-library/{p-a5460f1e.entry.js → p-56fe8986.entry.js} +1 -1
- package/dist/web-components-library/{p-3504da90.entry.js → p-57aaa3d2.entry.js} +1 -1
- package/{www/build/p-99f59836.entry.js → dist/web-components-library/p-5fb435ca.entry.js} +1 -1
- package/dist/web-components-library/{p-42d64757.js → p-5ff60fcd.js} +1 -1
- package/dist/web-components-library/{p-8c298051.entry.js → p-61d066ee.entry.js} +1 -1
- package/dist/web-components-library/{p-d943ee16.entry.js → p-706eb92e.entry.js} +1 -1
- package/dist/web-components-library/{p-621a7fac.entry.js → p-732213f9.entry.js} +1 -1
- package/dist/web-components-library/{p-99f91860.entry.js → p-761eb0ec.entry.js} +1 -1
- package/dist/web-components-library/{p-ee432245.entry.js → p-77610e66.entry.js} +1 -1
- package/dist/web-components-library/{p-1a6b8d43.entry.js → p-779bc51a.entry.js} +1 -1
- package/dist/web-components-library/{p-a0fef4f3.entry.js → p-7bbf377b.entry.js} +1 -1
- package/dist/web-components-library/{p-7dcda694.entry.js → p-7d57c388.entry.js} +1 -1
- package/dist/web-components-library/{p-8497f556.entry.js → p-7e13c57d.entry.js} +1 -1
- package/dist/web-components-library/{p-95b95a4c.entry.js → p-82b2c47c.entry.js} +1 -1
- package/{www/build/p-823cbb37.entry.js → dist/web-components-library/p-8680baaf.entry.js} +1 -1
- package/dist/web-components-library/{p-a3820e7d.entry.js → p-8788a24f.entry.js} +1 -1
- package/dist/web-components-library/{p-d338e5a9.entry.js → p-8aa42057.entry.js} +1 -1
- package/dist/web-components-library/{p-6043d78f.entry.js → p-8b780334.entry.js} +1 -1
- package/dist/web-components-library/p-8b806916.entry.js +1 -0
- package/dist/web-components-library/{p-ee19d602.entry.js → p-915f59a5.entry.js} +1 -1
- package/dist/web-components-library/{p-d1a0cb4c.entry.js → p-979882a5.entry.js} +1 -1
- package/dist/web-components-library/{p-a73f0693.entry.js → p-9a764099.entry.js} +1 -1
- package/dist/web-components-library/p-a321fe03.js +1 -0
- package/dist/web-components-library/{p-836d2cb2.entry.js → p-a56f935f.entry.js} +1 -1
- package/dist/web-components-library/{p-f6bfde21.entry.js → p-a61ea96d.entry.js} +1 -1
- package/{www/build/p-8741a278.entry.js → dist/web-components-library/p-ad105cb1.entry.js} +1 -1
- package/dist/web-components-library/{p-b1e3a655.entry.js → p-af9c81d0.entry.js} +1 -1
- package/dist/web-components-library/{p-13a0a93a.entry.js → p-b33f83f6.entry.js} +1 -1
- package/dist/web-components-library/p-b4981c43.entry.js +1 -0
- package/dist/web-components-library/{p-2d45e45e.entry.js → p-b4bc83ea.entry.js} +1 -1
- package/dist/web-components-library/{p-39a787af.entry.js → p-b87c4984.entry.js} +1 -1
- package/dist/web-components-library/{p-97c04e0c.entry.js → p-bbc60b23.entry.js} +1 -1
- package/dist/web-components-library/{p-cddc1de0.entry.js → p-bd8a9e22.entry.js} +1 -1
- package/dist/web-components-library/p-c273c377.entry.js +1 -0
- package/{www/build/p-51957070.entry.js → dist/web-components-library/p-c932e698.entry.js} +1 -1
- package/dist/web-components-library/{p-016c1fd4.entry.js → p-cdf09ad7.entry.js} +1 -1
- package/dist/web-components-library/p-d0de0319.entry.js +1 -0
- package/dist/web-components-library/{p-335768cc.entry.js → p-d1d26026.entry.js} +1 -1
- package/dist/web-components-library/{p-f4062940.entry.js → p-d2848d7c.entry.js} +1 -1
- package/dist/web-components-library/{p-b0027b69.entry.js → p-dbbae18b.entry.js} +1 -1
- package/dist/web-components-library/p-df58b251.entry.js +1 -0
- package/dist/web-components-library/{p-e4739505.entry.js → p-e697181c.entry.js} +1 -1
- package/dist/web-components-library/{p-84f934a8.entry.js → p-e776d206.entry.js} +1 -1
- package/{www/build/p-70c7f657.entry.js → dist/web-components-library/p-f0913e02.entry.js} +1 -1
- package/dist/web-components-library/p-f52fb47b.entry.js +1 -0
- package/dist/web-components-library/{p-22e61c79.entry.js → p-f78ddbf1.entry.js} +1 -1
- package/dist/web-components-library/{p-152f95de.entry.js → p-f9a31c55.entry.js} +1 -1
- package/dist/web-components-library/p-f9e401fa.entry.js +1 -0
- 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 +0 -1
- package/package.json +1 -1
- package/react/components.d.ts +1 -3
- package/react/components.js +3 -5
- package/react/components.js.map +1 -1
- package/react/react-component-lib/createComponent.d.ts +1 -1
- package/react/react-component-lib/createComponent.js +42 -10
- package/react/react-component-lib/createComponent.js.map +1 -1
- package/react/react-component-lib/createOverlayComponent.d.ts +5 -4
- package/react/react-component-lib/createOverlayComponent.js +28 -8
- 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 +14 -12
- package/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/react/react-component-lib/utils/index.d.ts +4 -1
- package/react/react-component-lib/utils/index.js +20 -5
- package/react/react-component-lib/utils/index.js.map +1 -1
- package/www/assets/favicon.png +0 -0
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-d9a14771.entry.js → p-0084ea9f.entry.js} +1 -1
- package/www/build/{p-18d36e2e.entry.js → p-0293d6c6.entry.js} +1 -1
- package/www/build/{p-6a4dfee8.entry.js → p-02fa9e81.entry.js} +1 -1
- package/www/build/{p-daec8d7f.entry.js → p-032bfb5c.entry.js} +1 -1
- package/www/build/{p-c277d035.entry.js → p-04daa863.entry.js} +1 -1
- package/www/build/{p-006a91ce.entry.js → p-07938fc2.entry.js} +1 -1
- package/www/build/{p-db1508ed.entry.js → p-0948e843.entry.js} +1 -1
- package/www/build/{p-b1e6a2ae.entry.js → p-09ded8b4.entry.js} +1 -1
- package/www/build/{p-431d0295.entry.js → p-0b6bd214.entry.js} +1 -1
- package/www/build/{p-824875b4.entry.js → p-1584dfb4.entry.js} +1 -1
- package/www/build/{p-3830db49.entry.js → p-1bd60c44.entry.js} +1 -1
- package/www/build/p-1ef0dee5.js +129 -0
- package/www/build/{p-031de7f3.entry.js → p-23c46ff2.entry.js} +1 -1
- package/{dist/web-components-library/p-1c7ed895.entry.js → www/build/p-24a2ecc0.entry.js} +1 -1
- package/www/build/{p-7f866d57.entry.js → p-2c120632.entry.js} +1 -1
- package/www/build/{p-68fab13e.entry.js → p-2cc0c93f.entry.js} +1 -1
- package/www/build/p-3bbf16c8.entry.js +1 -0
- package/www/build/{p-277f19e8.entry.js → p-3ea930a5.entry.js} +1 -1
- package/www/build/{p-e8305a91.entry.js → p-40e6d79d.entry.js} +1 -1
- package/www/build/{p-d1432a24.entry.js → p-45cbf885.entry.js} +1 -1
- package/{dist/web-components-library/p-8fe1b60c.entry.js → www/build/p-4b756d6a.entry.js} +1 -1
- package/www/build/{p-1c66e50c.entry.js → p-4c7189d2.entry.js} +1 -1
- package/www/build/{p-d950fcf8.entry.js → p-4e2763b2.entry.js} +1 -1
- package/www/build/p-56640ea6.js +1 -0
- package/www/build/{p-a5460f1e.entry.js → p-56fe8986.entry.js} +1 -1
- package/www/build/{p-3504da90.entry.js → p-57aaa3d2.entry.js} +1 -1
- package/{dist/web-components-library/p-99f59836.entry.js → www/build/p-5fb435ca.entry.js} +1 -1
- package/www/build/{p-42d64757.js → p-5ff60fcd.js} +1 -1
- package/www/build/{p-8c298051.entry.js → p-61d066ee.entry.js} +1 -1
- package/www/build/{p-d943ee16.entry.js → p-706eb92e.entry.js} +1 -1
- package/www/build/{p-621a7fac.entry.js → p-732213f9.entry.js} +1 -1
- package/www/build/{p-99f91860.entry.js → p-761eb0ec.entry.js} +1 -1
- package/www/build/{p-ee432245.entry.js → p-77610e66.entry.js} +1 -1
- package/www/build/{p-1a6b8d43.entry.js → p-779bc51a.entry.js} +1 -1
- package/www/build/{p-a0fef4f3.entry.js → p-7bbf377b.entry.js} +1 -1
- package/www/build/{p-7dcda694.entry.js → p-7d57c388.entry.js} +1 -1
- package/www/build/{p-8497f556.entry.js → p-7e13c57d.entry.js} +1 -1
- package/www/build/{p-95b95a4c.entry.js → p-82b2c47c.entry.js} +1 -1
- package/{dist/web-components-library/p-823cbb37.entry.js → www/build/p-8680baaf.entry.js} +1 -1
- package/www/build/{p-a3820e7d.entry.js → p-8788a24f.entry.js} +1 -1
- package/www/build/{p-d338e5a9.entry.js → p-8aa42057.entry.js} +1 -1
- package/www/build/{p-6043d78f.entry.js → p-8b780334.entry.js} +1 -1
- package/www/build/p-8b806916.entry.js +1 -0
- package/www/build/{p-ee19d602.entry.js → p-915f59a5.entry.js} +1 -1
- package/www/build/{p-d1a0cb4c.entry.js → p-979882a5.entry.js} +1 -1
- package/www/build/{p-a73f0693.entry.js → p-9a764099.entry.js} +1 -1
- package/www/build/p-a321fe03.js +1 -0
- package/www/build/{p-836d2cb2.entry.js → p-a56f935f.entry.js} +1 -1
- package/www/build/{p-f6bfde21.entry.js → p-a61ea96d.entry.js} +1 -1
- package/{dist/web-components-library/p-8741a278.entry.js → www/build/p-ad105cb1.entry.js} +1 -1
- package/www/build/{p-b1e3a655.entry.js → p-af9c81d0.entry.js} +1 -1
- package/www/build/{p-13a0a93a.entry.js → p-b33f83f6.entry.js} +1 -1
- package/www/build/p-b4981c43.entry.js +1 -0
- package/www/build/{p-2d45e45e.entry.js → p-b4bc83ea.entry.js} +1 -1
- package/www/build/{p-39a787af.entry.js → p-b87c4984.entry.js} +1 -1
- package/www/build/{p-97c04e0c.entry.js → p-bbc60b23.entry.js} +1 -1
- package/www/build/{p-cddc1de0.entry.js → p-bd8a9e22.entry.js} +1 -1
- package/www/build/p-c273c377.entry.js +1 -0
- package/{dist/web-components-library/p-51957070.entry.js → www/build/p-c932e698.entry.js} +1 -1
- package/www/build/{p-016c1fd4.entry.js → p-cdf09ad7.entry.js} +1 -1
- package/www/build/p-d0de0319.entry.js +1 -0
- package/www/build/{p-335768cc.entry.js → p-d1d26026.entry.js} +1 -1
- package/www/build/{p-f4062940.entry.js → p-d2848d7c.entry.js} +1 -1
- package/www/build/{p-b0027b69.entry.js → p-dbbae18b.entry.js} +1 -1
- package/www/build/p-df58b251.entry.js +1 -0
- package/www/build/{p-e4739505.entry.js → p-e697181c.entry.js} +1 -1
- package/www/build/{p-84f934a8.entry.js → p-e776d206.entry.js} +1 -1
- package/{dist/web-components-library/p-70c7f657.entry.js → www/build/p-f0913e02.entry.js} +1 -1
- package/www/build/p-f52fb47b.entry.js +1 -0
- package/www/build/{p-22e61c79.entry.js → p-f78ddbf1.entry.js} +1 -1
- package/www/build/{p-152f95de.entry.js → p-f9a31c55.entry.js} +1 -1
- package/www/build/p-f9e401fa.entry.js +1 -0
- package/www/build/{p-97a11655.css → p-fcff1237.css} +24 -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 -39
- 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-dragdrop-area_2.cjs.entry.js +0 -49
- package/dist/cjs/z-file-upload.cjs.entry.js +0 -169
- package/dist/cjs/z-file.cjs.entry.js +0 -53
- 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/collection/components/file-upload/z-dragdrop-area/index.js +0 -52
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +0 -62
- package/dist/collection/components/file-upload/z-file/index.js +0 -108
- package/dist/collection/components/file-upload/z-file/styles.css +0 -61
- package/dist/collection/components/file-upload/z-file-upload/index.js +0 -329
- package/dist/collection/components/file-upload/z-file-upload/styles.css +0 -87
- 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 -35
- 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-dragdrop-area_2.entry.js +0 -44
- package/dist/esm/z-file-upload.entry.js +0 -165
- package/dist/esm/z-file.entry.js +0 -49
- 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/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -9
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -17
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -49
- package/dist/web-components-library/p-0e7fe7c1.js +0 -1
- package/dist/web-components-library/p-117c6e89.entry.js +0 -1
- package/dist/web-components-library/p-11d4e9b7.entry.js +0 -1
- package/dist/web-components-library/p-13abb76e.entry.js +0 -1
- package/dist/web-components-library/p-1acbd992.js +0 -1
- package/dist/web-components-library/p-1f439216.entry.js +0 -1
- package/dist/web-components-library/p-4ce434aa.entry.js +0 -1
- package/dist/web-components-library/p-5ff0b130.entry.js +0 -1
- package/dist/web-components-library/p-7076e9fd.entry.js +0 -1
- package/dist/web-components-library/p-73e8c323.entry.js +0 -1
- package/dist/web-components-library/p-8ed29309.entry.js +0 -1
- package/dist/web-components-library/p-9b4f979f.entry.js +0 -1
- package/dist/web-components-library/p-a3792cf0.entry.js +0 -1
- package/dist/web-components-library/p-a4b2df38.entry.js +0 -1
- package/dist/web-components-library/p-b10f1aaa.entry.js +0 -1
- package/dist/web-components-library/p-c1a7b740.entry.js +0 -1
- package/dist/web-components-library/p-db38494e.entry.js +0 -1
- package/dist/web-components-library/p-e5c89d9f.entry.js +0 -1
- package/dist/web-components-library/p-e88726bc.entry.js +0 -1
- package/dist/web-components-library/p-fc23b15f.entry.js +0 -1
- package/www/build/p-0e7fe7c1.js +0 -1
- package/www/build/p-117c6e89.entry.js +0 -1
- package/www/build/p-11d4e9b7.entry.js +0 -1
- package/www/build/p-13abb76e.entry.js +0 -1
- package/www/build/p-1acbd992.js +0 -1
- package/www/build/p-1f439216.entry.js +0 -1
- package/www/build/p-4ce434aa.entry.js +0 -1
- package/www/build/p-5ff0b130.entry.js +0 -1
- package/www/build/p-7076e9fd.entry.js +0 -1
- package/www/build/p-73e8c323.entry.js +0 -1
- package/www/build/p-7fab4941.js +0 -122
- package/www/build/p-8ed29309.entry.js +0 -1
- package/www/build/p-9b4f979f.entry.js +0 -1
- package/www/build/p-a3792cf0.entry.js +0 -1
- package/www/build/p-a4b2df38.entry.js +0 -1
- package/www/build/p-b10f1aaa.entry.js +0 -1
- package/www/build/p-c1a7b740.entry.js +0 -1
- package/www/build/p-db38494e.entry.js +0 -1
- package/www/build/p-e5c89d9f.entry.js +0 -1
- package/www/build/p-e88726bc.entry.js +0 -1
- package/www/build/p-fc23b15f.entry.js +0 -1
- package/www/pages/file-upload.html +0 -236
|
@@ -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-ec1433b8.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-ec1433b8.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
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-ec1433b8.js');
|
|
6
|
+
const utils = require('./utils-50477402.js');
|
|
7
|
+
const index$1 = require('./index-15dc9f49.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ".sc-z-toggle-switch
|
|
10
|
+
const stylesCss = ".wrapper.sc-z-toggle-switch{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}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
11
|
|
|
12
12
|
const ZToggleSwitch = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -16,25 +16,26 @@ const ZToggleSwitch = class {
|
|
|
16
16
|
this.disabled = false;
|
|
17
17
|
this.labelPosition = index$1.ZtoggleSwitchPositionEnum.left;
|
|
18
18
|
this.checked = false;
|
|
19
|
-
this.htmlid = `id-${utils.randomId()}`;
|
|
19
|
+
this.htmlid = `toggle-switch-id-${utils.randomId()}`;
|
|
20
20
|
}
|
|
21
|
-
emitToggleClick(
|
|
21
|
+
emitToggleClick() {
|
|
22
22
|
this.toggleClick.emit({
|
|
23
23
|
id: this.htmlid,
|
|
24
|
-
checked: checked,
|
|
24
|
+
checked: this.checked,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
handleClick(ev) {
|
|
28
28
|
if (this.disabled)
|
|
29
29
|
return;
|
|
30
30
|
this.checked = ev.target.checked;
|
|
31
|
-
this.emitToggleClick(
|
|
31
|
+
this.emitToggleClick();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
return (index.h("div", { class: "wrapper" }, index.h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }), index.h("label", { htmlFor: this.htmlid, class: this.labelPosition }, index.h("span", null, index.h("slot", null)), index.h("span", { class: {
|
|
35
|
+
container: true,
|
|
36
|
+
disabled: this.disabled,
|
|
37
|
+
checked: this.checked,
|
|
38
|
+
} }, index.h("span", { class: "circle" }, this.checked && (index.h("z-icon", { width: 12, height: 12, name: "checkmark" })))))));
|
|
38
39
|
}
|
|
39
40
|
};
|
|
40
41
|
ZToggleSwitch.style = stylesCss;
|
|
@@ -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-ec1433b8.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-ec1433b8.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-ec1433b8.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
|
|
|
@@ -258,11 +258,16 @@ export var ZAriaAlertMode;
|
|
|
258
258
|
ZAriaAlertMode["polite"] = "polite";
|
|
259
259
|
ZAriaAlertMode["assertive"] = "assertive";
|
|
260
260
|
})(ZAriaAlertMode || (ZAriaAlertMode = {}));
|
|
261
|
-
export var
|
|
262
|
-
(function (
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
})(
|
|
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 = {}));
|
|
266
271
|
export var ZChipType;
|
|
267
272
|
(function (ZChipType) {
|
|
268
273
|
ZChipType["default"] = "default";
|
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
"./components/buttons/z-chip/index.js",
|
|
8
8
|
"./components/buttons/z-toggle-button/index.js",
|
|
9
9
|
"./components/buttons/z-toggle-switch/index.js",
|
|
10
|
-
"./components/file-upload/z-dragdrop-area/index.js",
|
|
11
|
-
"./components/file-upload/z-file/index.js",
|
|
12
|
-
"./components/file-upload/z-file-upload/index.js",
|
|
13
10
|
"./components/footer/z-footer/index.js",
|
|
14
11
|
"./components/footer/z-footer-link/index.js",
|
|
15
12
|
"./components/footer/z-footer-section/index.js",
|
|
@@ -58,6 +55,7 @@
|
|
|
58
55
|
"./components/z-contextual-menu/index.js",
|
|
59
56
|
"./components/z-divider/index.js",
|
|
60
57
|
"./components/z-ghost-loading/index.js",
|
|
58
|
+
"./components/z-offcanvas/index.js",
|
|
61
59
|
"./components/z-popover/index.js",
|
|
62
60
|
"./components/z-status-tag/index.js",
|
|
63
61
|
"./components/z-table/z-table/index.js",
|
|
@@ -97,8 +95,8 @@
|
|
|
97
95
|
],
|
|
98
96
|
"compiler": {
|
|
99
97
|
"name": "@stencil/core",
|
|
100
|
-
"version": "2.
|
|
101
|
-
"typescriptVersion": "4.
|
|
98
|
+
"version": "2.15.1",
|
|
99
|
+
"typescriptVersion": "4.5.4"
|
|
102
100
|
},
|
|
103
101
|
"collections": [],
|
|
104
102
|
"bundles": []
|
|
@@ -15,9 +15,8 @@ export class ZButton {
|
|
|
15
15
|
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
16
16
|
this.size = ButtonSizeEnum.big;
|
|
17
17
|
/** Reduce button size (deprecated).
|
|
18
|
-
*
|
|
19
18
|
* @deprecated Use `size` prop.
|
|
20
|
-
|
|
19
|
+
*/
|
|
21
20
|
this.issmall = false;
|
|
22
21
|
/** Spy to render square button. */
|
|
23
22
|
this.square = false;
|
|
@@ -187,8 +186,8 @@ export class ZButton {
|
|
|
187
186
|
"optional": true,
|
|
188
187
|
"docs": {
|
|
189
188
|
"tags": [{
|
|
190
|
-
"
|
|
191
|
-
"
|
|
189
|
+
"name": "deprecated",
|
|
190
|
+
"text": "Use `size` prop."
|
|
192
191
|
}],
|
|
193
192
|
"text": "Reduce button size (deprecated)."
|
|
194
193
|
},
|
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
import { Component, Prop, h, Event } from "@stencil/core";
|
|
2
2
|
import { randomId } from "../../../utils/utils";
|
|
3
|
-
import { ZtoggleSwitchPositionEnum
|
|
3
|
+
import { ZtoggleSwitchPositionEnum } from "../../../beans";
|
|
4
4
|
export class ZToggleSwitch {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.disabled = false;
|
|
7
7
|
this.labelPosition = ZtoggleSwitchPositionEnum.left;
|
|
8
8
|
this.checked = false;
|
|
9
|
-
this.htmlid = `id-${randomId()}`;
|
|
9
|
+
this.htmlid = `toggle-switch-id-${randomId()}`;
|
|
10
10
|
}
|
|
11
|
-
emitToggleClick(
|
|
11
|
+
emitToggleClick() {
|
|
12
12
|
this.toggleClick.emit({
|
|
13
13
|
id: this.htmlid,
|
|
14
|
-
checked: checked,
|
|
14
|
+
checked: this.checked,
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
handleClick(ev) {
|
|
18
18
|
if (this.disabled)
|
|
19
19
|
return;
|
|
20
20
|
this.checked = ev.target.checked;
|
|
21
|
-
this.emitToggleClick(
|
|
21
|
+
this.emitToggleClick();
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return
|
|
24
|
+
return (h("div", { class: "wrapper" },
|
|
25
25
|
h("input", { id: this.htmlid, type: "checkbox", checked: this.checked, disabled: this.disabled, onChange: this.handleClick.bind(this) }),
|
|
26
26
|
h("label", { htmlFor: this.htmlid, class: this.labelPosition },
|
|
27
|
-
h("span",
|
|
27
|
+
h("span", null,
|
|
28
28
|
h("slot", null)),
|
|
29
|
-
h("span", { class:
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
h("span", { class: {
|
|
30
|
+
container: true,
|
|
31
|
+
disabled: this.disabled,
|
|
32
|
+
checked: this.checked,
|
|
33
|
+
} },
|
|
34
|
+
h("span", { class: "circle" }, this.checked && (h("z-icon", { width: 12, height: 12, name: "checkmark" })))))));
|
|
32
35
|
}
|
|
33
36
|
static get is() { return "z-toggle-switch"; }
|
|
34
37
|
static get encapsulation() { return "scoped"; }
|
|
@@ -114,7 +117,7 @@ export class ZToggleSwitch {
|
|
|
114
117
|
},
|
|
115
118
|
"attribute": "htmlid",
|
|
116
119
|
"reflect": false,
|
|
117
|
-
"defaultValue": "`id-${randomId()}`"
|
|
120
|
+
"defaultValue": "`toggle-switch-id-${randomId()}`"
|
|
118
121
|
}
|
|
119
122
|
}; }
|
|
120
123
|
static get events() { return [{
|
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
.wrapper {
|
|
2
2
|
font-family: var(--font-family-sans);
|
|
3
3
|
font-weight: var(--font-rg);
|
|
4
4
|
display: inline-flex;
|
|
5
|
-
position: relative;
|
|
6
5
|
}
|
|
7
6
|
|
|
8
7
|
label {
|
|
9
8
|
display: flex;
|
|
10
9
|
align-items: center;
|
|
11
10
|
flex-direction: row;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
label.left {
|
|
15
|
-
margin: 0 var(--space-unit) 0 0;
|
|
11
|
+
cursor: pointer;
|
|
16
12
|
}
|
|
17
13
|
|
|
18
14
|
label.right {
|
|
19
|
-
margin: 0 var(--space-unit) 0 0;
|
|
20
15
|
flex-direction: row-reverse;
|
|
21
16
|
}
|
|
22
17
|
|
|
23
|
-
label > span {
|
|
18
|
+
label > span:first-child {
|
|
24
19
|
letter-spacing: 0;
|
|
25
|
-
color: var(--
|
|
20
|
+
color: var(--color-text01);
|
|
26
21
|
}
|
|
27
22
|
|
|
28
|
-
label > span
|
|
23
|
+
label.left > span:first-child {
|
|
29
24
|
margin-right: var(--space-unit);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
|
-
label > span
|
|
27
|
+
label.right > span:first-child {
|
|
33
28
|
margin-left: var(--space-unit);
|
|
34
29
|
}
|
|
35
30
|
|
|
@@ -39,6 +34,8 @@ label > span.container {
|
|
|
39
34
|
}
|
|
40
35
|
|
|
41
36
|
label > span.container {
|
|
37
|
+
top: 1px;
|
|
38
|
+
left: 1px;
|
|
42
39
|
height: 18px;
|
|
43
40
|
width: calc(var(--space-unit) * 4);
|
|
44
41
|
border-radius: var(--space-unit);
|
|
@@ -49,16 +46,16 @@ label > span.container {
|
|
|
49
46
|
}
|
|
50
47
|
|
|
51
48
|
label > span.container.disabled,
|
|
52
|
-
label > span.container.
|
|
53
|
-
background-color: var(--
|
|
49
|
+
label > span.container.checked.disabled {
|
|
50
|
+
background-color: var(--color-disabled01);
|
|
54
51
|
cursor: default;
|
|
55
52
|
}
|
|
56
53
|
|
|
57
|
-
label > span.container.
|
|
58
|
-
fill: var(--
|
|
54
|
+
label > span.container.checked.disabled > span.circle > z-icon {
|
|
55
|
+
fill: var(--color-disabled01);
|
|
59
56
|
}
|
|
60
57
|
|
|
61
|
-
label > span.container.
|
|
58
|
+
label > span.container.checked {
|
|
62
59
|
background-color: var(--color-primary01);
|
|
63
60
|
fill: var(--color-primary01);
|
|
64
61
|
}
|
|
@@ -78,6 +75,8 @@ label > span.container:not(.disabled):hover {
|
|
|
78
75
|
}
|
|
79
76
|
|
|
80
77
|
label > span.container > span.circle {
|
|
78
|
+
top: 1px;
|
|
79
|
+
left: 1px;
|
|
81
80
|
position: absolute;
|
|
82
81
|
display: flex;
|
|
83
82
|
align-items: center;
|
|
@@ -86,13 +85,13 @@ label > span.container > span.circle {
|
|
|
86
85
|
height: calc(var(--space-unit) * 2);
|
|
87
86
|
width: calc(var(--space-unit) * 2);
|
|
88
87
|
border-radius: 7px;
|
|
89
|
-
background-color: var(--
|
|
90
|
-
box-shadow: var(--shadow-
|
|
88
|
+
background-color: var(--color-white);
|
|
89
|
+
box-shadow: var(--shadow-1);
|
|
91
90
|
transition: transform 0.3s ease;
|
|
92
91
|
}
|
|
93
92
|
|
|
94
|
-
label > span.container > span.circle
|
|
95
|
-
transform: translateX(100%);
|
|
93
|
+
label > span.container.checked > span.circle {
|
|
94
|
+
transform: translateX(calc(100% - 2px));
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
input[type="checkbox"] {
|
|
@@ -101,15 +100,3 @@ input[type="checkbox"] {
|
|
|
101
100
|
z-index: -1;
|
|
102
101
|
pointer-events: none;
|
|
103
102
|
}
|
|
104
|
-
|
|
105
|
-
/* Tablet breakpoint */
|
|
106
|
-
@media only screen and (min-width: 768px) {
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/* Desktop breakpoint */
|
|
110
|
-
@media only screen and (min-width: 1152px) {
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/* Wide breakpoint */
|
|
114
|
-
@media only screen and (min-width: 1366px) {
|
|
115
|
-
}
|
|
@@ -142,8 +142,8 @@ export class ZMenu {
|
|
|
142
142
|
"optional": true,
|
|
143
143
|
"docs": {
|
|
144
144
|
"tags": [{
|
|
145
|
-
"
|
|
146
|
-
"
|
|
145
|
+
"name": "default",
|
|
146
|
+
"text": "false"
|
|
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
|
+
"name": "default",
|
|
167
|
+
"text": "false"
|
|
168
168
|
}],
|
|
169
169
|
"text": "The opening state of the menu."
|
|
170
170
|
},
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Component, Element, Event, h, Prop, Watch } from "@stencil/core";
|
|
2
|
+
import { OffCanvasVariantsEnum, TransitionDirectionEnum } from "../../beans";
|
|
3
|
+
/**
|
|
4
|
+
* @slot canvasContent - set the content of the canvas
|
|
5
|
+
*/
|
|
6
|
+
export class ZOffcanvas {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Offcanvas variant.
|
|
10
|
+
* Can be one of "overlay", "pushcontent"
|
|
11
|
+
* Default variant: pushcontent
|
|
12
|
+
*/
|
|
13
|
+
this.variant = OffCanvasVariantsEnum.pushcontent;
|
|
14
|
+
/** open component. Default: false */
|
|
15
|
+
this.open = false;
|
|
16
|
+
/** open content transitioning in a specified direction left | right. Default: left */
|
|
17
|
+
this.transitiondirection = TransitionDirectionEnum.left;
|
|
18
|
+
}
|
|
19
|
+
componentWillLoad() {
|
|
20
|
+
this.handleOpenStatus();
|
|
21
|
+
}
|
|
22
|
+
onOpenChanged() {
|
|
23
|
+
this.handleOpenStatus();
|
|
24
|
+
this.canvasOpenStatusChanged.emit(this.open);
|
|
25
|
+
}
|
|
26
|
+
handleOpenStatus() {
|
|
27
|
+
if (this.open) {
|
|
28
|
+
this.hostElement.style.display = "flex";
|
|
29
|
+
}
|
|
30
|
+
else if (this.variant === OffCanvasVariantsEnum.pushcontent) {
|
|
31
|
+
this.hostElement.style.display = "none";
|
|
32
|
+
document.body.style.overflowX = "hidden";
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
handleAnimationEnd() {
|
|
36
|
+
if (this.hostElement.hasAttribute("open")) {
|
|
37
|
+
this.hostElement.querySelector(`.canvas-content`).focus();
|
|
38
|
+
}
|
|
39
|
+
else if (this.variant === OffCanvasVariantsEnum.overlay) {
|
|
40
|
+
this.hostElement.style.display = "none";
|
|
41
|
+
document.body.style.overflowX = "initial";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
render() {
|
|
45
|
+
return [
|
|
46
|
+
h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd() },
|
|
47
|
+
h("div", { class: "canvas-content", tabindex: "0" },
|
|
48
|
+
h("slot", { name: "canvasContent" }))),
|
|
49
|
+
h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => this.open = false })
|
|
50
|
+
];
|
|
51
|
+
}
|
|
52
|
+
static get is() { return "z-offcanvas"; }
|
|
53
|
+
static get encapsulation() { return "scoped"; }
|
|
54
|
+
static get originalStyleUrls() { return {
|
|
55
|
+
"$": ["styles.css"]
|
|
56
|
+
}; }
|
|
57
|
+
static get styleUrls() { return {
|
|
58
|
+
"$": ["styles.css"]
|
|
59
|
+
}; }
|
|
60
|
+
static get properties() { return {
|
|
61
|
+
"variant": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"mutable": false,
|
|
64
|
+
"complexType": {
|
|
65
|
+
"original": "OffCanvasVariantsEnum",
|
|
66
|
+
"resolved": "OffCanvasVariantsEnum.overlay | OffCanvasVariantsEnum.pushcontent",
|
|
67
|
+
"references": {
|
|
68
|
+
"OffCanvasVariantsEnum": {
|
|
69
|
+
"location": "import",
|
|
70
|
+
"path": "../../beans"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": true,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": "Offcanvas variant.\nCan be one of \"overlay\", \"pushcontent\"\nDefault variant: pushcontent"
|
|
79
|
+
},
|
|
80
|
+
"attribute": "variant",
|
|
81
|
+
"reflect": true,
|
|
82
|
+
"defaultValue": "OffCanvasVariantsEnum.pushcontent"
|
|
83
|
+
},
|
|
84
|
+
"open": {
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"mutable": true,
|
|
87
|
+
"complexType": {
|
|
88
|
+
"original": "boolean",
|
|
89
|
+
"resolved": "boolean",
|
|
90
|
+
"references": {}
|
|
91
|
+
},
|
|
92
|
+
"required": false,
|
|
93
|
+
"optional": false,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": "open component. Default: false"
|
|
97
|
+
},
|
|
98
|
+
"attribute": "open",
|
|
99
|
+
"reflect": true,
|
|
100
|
+
"defaultValue": "false"
|
|
101
|
+
},
|
|
102
|
+
"transitiondirection": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"mutable": false,
|
|
105
|
+
"complexType": {
|
|
106
|
+
"original": "TransitionDirectionEnum",
|
|
107
|
+
"resolved": "TransitionDirectionEnum.left | TransitionDirectionEnum.right",
|
|
108
|
+
"references": {
|
|
109
|
+
"TransitionDirectionEnum": {
|
|
110
|
+
"location": "import",
|
|
111
|
+
"path": "../../beans"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": true,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": "open content transitioning in a specified direction left | right. Default: left"
|
|
120
|
+
},
|
|
121
|
+
"attribute": "transitiondirection",
|
|
122
|
+
"reflect": true,
|
|
123
|
+
"defaultValue": "TransitionDirectionEnum.left"
|
|
124
|
+
}
|
|
125
|
+
}; }
|
|
126
|
+
static get events() { return [{
|
|
127
|
+
"method": "canvasOpenStatusChanged",
|
|
128
|
+
"name": "canvasOpenStatusChanged",
|
|
129
|
+
"bubbles": true,
|
|
130
|
+
"cancelable": true,
|
|
131
|
+
"composed": true,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": "emitted when open prop changes"
|
|
135
|
+
},
|
|
136
|
+
"complexType": {
|
|
137
|
+
"original": "any",
|
|
138
|
+
"resolved": "any",
|
|
139
|
+
"references": {}
|
|
140
|
+
}
|
|
141
|
+
}]; }
|
|
142
|
+
static get elementRef() { return "hostElement"; }
|
|
143
|
+
static get watchers() { return [{
|
|
144
|
+
"propName": "open",
|
|
145
|
+
"methodName": "onOpenChanged"
|
|
146
|
+
}]; }
|
|
147
|
+
}
|