@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
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1877eca4.js';
|
|
2
|
+
import { T as ThemeVariant, a as DividerOrientation, B as ButtonTypeEnum, b as ButtonVariantEnum, c as ButtonSizeEnum, C as CardVariants, d as DividerSize, O as OffCanvasVariantsEnum, e as TransitionDirectionEnum } from './index-672bd95c.js';
|
|
3
|
+
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
|
+
import { c as classnames } from './index-aa3a4feb.js';
|
|
5
|
+
import { i as icons } from './icons-bceeb196.js';
|
|
6
|
+
import './_commonjsHelpers-8b28c6fa.js';
|
|
7
|
+
|
|
8
|
+
const stylesCss$9 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}button{display:flex;justify-content:center;align-content:center;background-color:transparent;border:none;padding:0}button>z-icon{color:var(--bg-white);fill:currentColor}button>z-icon.light{color:var(--bg-grey-900);fill:currentColor}";
|
|
9
|
+
|
|
10
|
+
const ZAppSwitcher = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
registerInstance(this, hostRef);
|
|
13
|
+
this.appButtonClick = createEvent(this, "appButtonClick", 7);
|
|
14
|
+
/** theme variant, default 'dark' */
|
|
15
|
+
this.theme = ThemeVariant.dark;
|
|
16
|
+
this.isopen = false;
|
|
17
|
+
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
18
|
+
}
|
|
19
|
+
emitAppButtonClick() {
|
|
20
|
+
this.isopen = !this.isopen;
|
|
21
|
+
this.appButtonClick.emit({ isopen: this.isopen });
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return (h("button", { title: "app-switcher", onClick: () => this.emitAppButtonClick() }, h("z-icon", { name: "app-switcher", class: this.theme })));
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
ZAppSwitcher.style = stylesCss$9;
|
|
28
|
+
|
|
29
|
+
const stylesCss$8 = ":host{display:block;position:sticky;box-sizing:border-box;top:0;height:calc(var(--space-unit) * 6);padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2);border-radius:var(--border-no-radius);background-color:var(--gray900);z-index:99}:host(.light){background-color:var(--color-white)}:host>div{display:flex;justify-content:space-between;align-items:center}:host(.limited-width) #content-container{margin:auto;max-width:var(--mw)}.content-panel{display:flex;align-items:center}.content-panel>:not(:last-child){margin-right:calc(var(--space-unit) * 2)}#divider-container{display:none}z-link{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}@media only screen and (min-width: 768px){:host{padding:var(--space-unit) calc(var(--space-unit) * 2) var(--space-unit) var(--space-unit)}:host(.limited-width){padding:var(--space-unit)}#divider-container{display:block;height:calc(var(--space-unit) * 3)}}";
|
|
30
|
+
|
|
31
|
+
const ZAppTopbar = class {
|
|
32
|
+
constructor(hostRef) {
|
|
33
|
+
registerInstance(this, hostRef);
|
|
34
|
+
/** theme variant, default 'dark' */
|
|
35
|
+
this.theme = ThemeVariant.dark;
|
|
36
|
+
this.topbarLinks = [];
|
|
37
|
+
}
|
|
38
|
+
handleResize() {
|
|
39
|
+
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
40
|
+
}
|
|
41
|
+
componentWillLoad() {
|
|
42
|
+
this.isMobile = window.screen.width <= mobileBreakpoint || window.innerWidth <= mobileBreakpoint;
|
|
43
|
+
}
|
|
44
|
+
componentWillRender() {
|
|
45
|
+
if (this.topbarContent) {
|
|
46
|
+
this.topbarLinks = typeof this.topbarContent === "string" ? JSON.parse(this.topbarContent) : this.topbarContent;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
renderTopbarLinks() {
|
|
50
|
+
return this.topbarLinks.map((link) => h("z-link", { htmlid: link.id, textcolor: this.theme === ThemeVariant.light ? "black" : "white", href: link.link, target: link.target, icon: this.isMobile ? link.icon : undefined }, !this.isMobile && link.label));
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
return (h(Host, { class: {
|
|
54
|
+
[this.theme]: true,
|
|
55
|
+
"limited-width": !!this.contentMaxWidth
|
|
56
|
+
} }, h("div", { id: "content-container", style: this.contentMaxWidth ? { "--mw": `${this.contentMaxWidth}px` } : {} }, h("div", { id: "left-panel", class: "content-panel" }, h("z-logo", { mobileLogo: this.isMobile, width: this.isMobile ? 32 : 128, height: this.isMobile ? 40 : 32, imageAlt: "zanichelli-logo", link: this.logoLink, targetBlank: true }), this.isMobile && this.renderTopbarLinks()), h("div", { id: "right-panel", class: "content-panel" }, !this.isMobile && this.renderTopbarLinks(), this.showAppSwitcher && h("z-app-switcher", { theme: this.theme }), h("div", { id: "divider-container" }, h("z-divider", { orientation: DividerOrientation.vertical, color: this.theme === ThemeVariant.light ? "gray800" : "color-white" })), h("slot", { name: "login" })))));
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
ZAppTopbar.style = stylesCss$8;
|
|
60
|
+
|
|
61
|
+
const stylesCss$7 = ":host{display:inline-block;--z-icon-width:16px;--z-icon-height:16px;--z-icon-right-margin:var(--space-unit);--rgb-white:240, 240, 240}button:disabled,::slotted(button:disabled){pointer-events:none}button,::slotted(button),::slotted(a){box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--dashboard-font);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;white-space:nowrap;outline:none;fill:currentColor}button.big,:host([size=\"big\"]) ::slotted(button),:host([size=\"big\"]) ::slotted(a){height:44px;min-width:44px}button.small,:host([size=\"small\"]) ::slotted(button),:host([size=\"small\"]) ::slotted(a){height:36px;min-width:36px}button.issmall,:host([issmall]) ::slotted(button),:host([issmall]) ::slotted(a){height:36px;min-width:36px}button.x-small,:host([size=\"x-small\"]) ::slotted(button),:host([size=\"x-small\"]) ::slotted(a){height:32px;min-width:32px}button:not(.square),:host(:not([square])) ::slotted(button),:host(:not([square])) ::slotted(a){min-width:calc(var(--space-unit) * 8);padding:0 calc(var(--space-unit) * 2)}button.square,:host([square]){--z-icon-right-margin:0}button.primary,:host([variant=\"primary\"]) ::slotted(button),:host([variant=\"primary\"]) ::slotted(a){background-color:var(--color-primary01);border-color:var(--color-primary01);color:var(--color-text-inverse)}@media (hover: hover){button.primary:hover,:host([variant=\"primary\"]) ::slotted(button:hover),:host([variant=\"primary\"]) ::slotted(a:hover){background-color:var(--color-hover-primary);border-color:var(--color-hover-primary);color:var(--color-text-inverse)}}button:focus:focus-visible,::slotted(button:focus:focus-visible),::slotted(a:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}button.primary:active,:host([variant=\"primary\"]) ::slotted(button:active),:host([variant=\"primary\"]) ::slotted(a:active){background-color:var(--color-pressed-primary);border-color:var(--color-pressed-primary);color:var(--color-text-inverse);box-shadow:var(--shadow-2)}button.primary:disabled,:host([variant=\"primary\"]) ::slotted(button:disabled){background-color:var(--color-disabled01);border-color:var(--color-disabled01);color:var(--color-disabled02)}button.secondary,:host([variant=\"secondary\"]) ::slotted(button),:host([variant=\"secondary\"]) ::slotted(a){background-color:var(--color-surface01);border-color:var(--color-primary01);color:var(--color-primary01)}@media (hover: hover){button.secondary:hover,:host([variant=\"secondary\"]) ::slotted(button:hover),:host([variant=\"secondary\"]) ::slotted(a:hover){background-color:var(--color-surface01);border-color:var(--color-hover-primary);color:var(--color-hover-primary)}}button.secondary:active,:host([variant=\"secondary\"]) ::slotted(button:active),:host([variant=\"secondary\"]) ::slotted(a:active){background-color:var(--color-surface01);border-color:var(--color-pressed-primary);color:var(--color-pressed-primary);box-shadow:var(--shadow-2)}button.secondary:disabled,:host([variant=\"secondary\"]) ::slotted(button:disabled){background-color:var(--color-surface01);border-color:var(--color-disabled01);color:var(--color-disabled02)}button.tertiary,:host([variant=\"tertiary\"]) ::slotted(button),:host([variant=\"tertiary\"]) ::slotted(a){background-color:transparent;border-color:transparent;color:var(--color-primary01)}button.tertiary.hasContent{padding:0 var(--space-unit)}@media (hover: hover){button.tertiary:hover,:host([variant=\"tertiary\"]) ::slotted(button:hover),:host([variant=\"tertiary\"]) ::slotted(a:hover){background-color:var(--color-primary03);border-color:var(--color-primary03);color:var(--color-hover-primary)}}button.tertiary:focus:focus-visible,:host([variant=\"tertiary\"]) ::slotted(button:focus:focus-visible),:host([variant=\"tertiary\"]) ::slotted(a:focus:focus-visible){background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01)}button.tertiary:active,:host([variant=\"tertiary\"]) ::slotted(button:active),:host([variant=\"tertiary\"]) ::slotted(a:active){background-color:var(--color-surface01);border-color:var(--color-surface01);color:var(--color-primary01);box-shadow:var(--shadow-2)}button.tertiary:disabled,:host([variant=\"tertiary\"]) ::slotted(button:disabled){background-color:transparent;border-color:transparent;color:var(--color-disabled02)}button.dark-bg,:host([variant=\"dark-bg\"]) ::slotted(button),:host([variant=\"dark-bg\"]) ::slotted(a){background-color:rgba(var(--rgb-white), 0.2);border-color:transparent;color:var(--color-text04)}button.dark-bg.hasContent{padding:0 var(--space-unit)}@media (hover: hover){button.dark-bg:hover,:host([variant=\"dark-bg\"]) ::slotted(button:hover),:host([variant=\"dark-bg\"]) ::slotted(a:hover){background-color:rgba(var(--rgb-white), 0.1)}}button.dark-bg:active,:host([variant=\"dark-bg\"]) ::slotted(button:active),:host([variant=\"dark-bg\"]) ::slotted(a:active){background-color:rgba(var(--rgb-white), 0.3)}button.dark-bg:disabled,:host([variant=\"dark-bg\"]) ::slotted(button:disabled){color:var(--color-disabled03);background-color:rgba(var(--rgb-white), 0.05)}";
|
|
62
|
+
|
|
63
|
+
const ZButton = class {
|
|
64
|
+
constructor(hostRef) {
|
|
65
|
+
registerInstance(this, hostRef);
|
|
66
|
+
/** HTML button disabled attribute. */
|
|
67
|
+
this.disabled = false;
|
|
68
|
+
/** HTML button type attribute. */
|
|
69
|
+
this.type = ButtonTypeEnum.button;
|
|
70
|
+
/** Graphical variant: `primary`, `secondary`, `tertiary`, `dark-bg`. Defaults to `primary`. */
|
|
71
|
+
this.variant = ButtonVariantEnum.primary;
|
|
72
|
+
/** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */
|
|
73
|
+
this.size = ButtonSizeEnum.big;
|
|
74
|
+
/** Reduce button size (deprecated).
|
|
75
|
+
* @deprecated Use `size` prop.
|
|
76
|
+
*/
|
|
77
|
+
this.issmall = false;
|
|
78
|
+
/** Spy to render square button. */
|
|
79
|
+
this.square = false;
|
|
80
|
+
}
|
|
81
|
+
render() {
|
|
82
|
+
this.hostElement.style.pointerEvents = this.disabled ? "none" : "auto";
|
|
83
|
+
return (h("slot", { name: "element" }, h("button", { id: this.htmlid, name: this.name, type: this.type, disabled: this.disabled, class: classnames(this.variant, this.size, { issmall: this.issmall }, { square: this.square }) }, this.icon && h("z-icon", { name: this.icon, width: 16, height: 16 }), h("slot", null))));
|
|
84
|
+
}
|
|
85
|
+
get hostElement() { return getElement(this); }
|
|
86
|
+
};
|
|
87
|
+
ZButton.style = stylesCss$7;
|
|
88
|
+
|
|
89
|
+
const stylesCss$6 = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant='overlay'])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot='cover']),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:var(--space-unit)}::slotted([slot='metadata']),::slotted([slot='title']),::slotted([slot='text']){display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}::slotted([slot='title']:not(:last-child)),::slotted([slot='text']:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot='text']),::slotted([slot='actions']){margin:0}::slotted([slot='metadata']:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;text-transform:uppercase}::slotted([slot='title']){margin:0;font-weight:var(--font-sb);-webkit-line-clamp:2}::slotted([slot='text']){-webkit-line-clamp:3}.actions{display:flex;flex-direction:row;align-items:center}::slotted([slot='action']:not(:last-child)){margin-right:calc(var(--space-unit) * 1.5)}:host([clickable]){cursor:pointer}:host([clickable]:focus:focus-visible){outline:none}:host(:not([variant])[clickable]:focus:focus-visible){padding:calc(var(--space-unit) * 0.5);box-shadow:var(--shadow-focus-primary)}:host([variant='text']){background-color:var(--z-card--text-background);border:var(--z-card--text-border);border-radius:var(--z-card--text-border-radius)}:host([showshadow])>.content,:host([variant='border'])>.content,:host([variant='shadow'])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant='text'])>.content{padding:calc(var(--space-unit) * 2) var(--space-unit)}:host([variant='border']) .actions,:host([variant='shadow']) .actions{margin-top:auto}:host([variant='border']){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant='border'][clickable]:hover)>.content{background:var(--color-background)}:host([variant='border'][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant='border'][clickable]:active){border-color:transparent}:host([variant='shadow']),:host([showshadow]){box-shadow:var(--shadow-2)}:host([variant='shadow'][clickable]:hover),:host([clickable][showshadow]:hover){box-shadow:var(--shadow-4)}:host([variant='shadow'][clickable]:focus:focus-visible),:host([clickable][showshadow]:focus:focus-visible){box-shadow:var(--shadow-4)}:host([variant='shadow'][clickable]:active),:host([clickable][showshadow]:active){box-shadow:none}:host([variant='overlay']) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
|
|
90
|
+
|
|
91
|
+
const ZCard = class {
|
|
92
|
+
constructor(hostRef) {
|
|
93
|
+
registerInstance(this, hostRef);
|
|
94
|
+
this.cardClicked = createEvent(this, "cardClicked", 7);
|
|
95
|
+
/** Enable click interactions on the card. Default: false */
|
|
96
|
+
this.clickable = false;
|
|
97
|
+
/** Enable shadow. Default: false. */
|
|
98
|
+
this.showshadow = false;
|
|
99
|
+
}
|
|
100
|
+
onClick(ev) {
|
|
101
|
+
// Do nothing for clicks on actions.
|
|
102
|
+
if (ev.target.getAttribute('slot') === 'action') {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
if (!this.clickable) {
|
|
106
|
+
ev.preventDefault();
|
|
107
|
+
ev.stopPropagation();
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
this.cardClicked.emit();
|
|
111
|
+
}
|
|
112
|
+
componentWillLoad() {
|
|
113
|
+
this.hasCoverImage = !!this.host.querySelector('[slot="cover"]');
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Template for a card without image cover.
|
|
117
|
+
* A colored background replaces the image and some data is moved over it.
|
|
118
|
+
*/
|
|
119
|
+
renderColorCoverCard() {
|
|
120
|
+
return [
|
|
121
|
+
h("div", { class: "cover-container" }, h("div", { class: "color-cover" }, h("div", { class: "cover-content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" })))),
|
|
122
|
+
h("div", { class: "content" }, h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" })))
|
|
123
|
+
];
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Template for the content div.
|
|
127
|
+
*/
|
|
128
|
+
renderContentDiv() {
|
|
129
|
+
return (h("div", { class: "content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" }), h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))));
|
|
130
|
+
}
|
|
131
|
+
render() {
|
|
132
|
+
if (this.variant === CardVariants.text) {
|
|
133
|
+
return this.renderContentDiv();
|
|
134
|
+
}
|
|
135
|
+
if (this.variant === CardVariants.overlay || this.hasCoverImage) {
|
|
136
|
+
return [
|
|
137
|
+
h("div", { class: "cover-container" }, this.hasCoverImage && [
|
|
138
|
+
h("slot", { name: "cover" }),
|
|
139
|
+
(this.variant !== CardVariants.overlay) && this.coverIcon && h("z-icon", { name: this.coverIcon })
|
|
140
|
+
], !this.hasCoverImage && h("div", { class: "color-cover" })),
|
|
141
|
+
this.renderContentDiv()
|
|
142
|
+
];
|
|
143
|
+
}
|
|
144
|
+
return this.renderColorCoverCard();
|
|
145
|
+
}
|
|
146
|
+
get host() { return getElement(this); }
|
|
147
|
+
};
|
|
148
|
+
ZCard.style = stylesCss$6;
|
|
149
|
+
|
|
150
|
+
const stylesCss$5 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--z-carousel-gutter:0}.z-carousel-items-container{display:flex;overflow-x:scroll;padding-inline-start:0;margin:0;list-style:none;-ms-overflow-style:none;scrollbar-width:none;}.z-carousel-items-container::-webkit-scrollbar{display:none}.z-carousel-items-container>*:not(:last-child){margin-right:var(--z-carousel-gutter)}";
|
|
151
|
+
|
|
152
|
+
const ZCarousel = class {
|
|
153
|
+
constructor(hostRef) {
|
|
154
|
+
registerInstance(this, hostRef);
|
|
155
|
+
}
|
|
156
|
+
render() {
|
|
157
|
+
return (h("ul", { class: "z-carousel-items-container" }, h("slot", null)));
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
ZCarousel.style = stylesCss$5;
|
|
161
|
+
|
|
162
|
+
const stylesCss$4 = ".sc-z-divider-h{display:block;padding:0;margin:0}.divider-horizontal.sc-z-divider-h{width:100%}.divider-vertical.sc-z-divider-h{height:100%}.divider-small.divider-horizontal.sc-z-divider-h{height:var(--border-size-small)}.divider-medium.divider-horizontal.sc-z-divider-h{height:var(--border-size-medium)}.divider-large.divider-horizontal.sc-z-divider-h{height:var(--border-size-large)}.divider-small.divider-vertical.sc-z-divider-h{width:var(--border-size-small)}.divider-medium.divider-vertical.sc-z-divider-h{width:var(--border-size-medium)}.divider-large.divider-vertical.sc-z-divider-h{width:var(--border-size-large)}";
|
|
163
|
+
|
|
164
|
+
const ZDivider = class {
|
|
165
|
+
constructor(hostRef) {
|
|
166
|
+
registerInstance(this, hostRef);
|
|
167
|
+
/** [optional] Divider size */
|
|
168
|
+
this.size = DividerSize.small;
|
|
169
|
+
/** [optional] Divider color */
|
|
170
|
+
this.color = "gray200";
|
|
171
|
+
/** [optional] Divider orintation */
|
|
172
|
+
this.orientation = DividerOrientation.horizontal;
|
|
173
|
+
}
|
|
174
|
+
render() {
|
|
175
|
+
return (h(Host, { class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
ZDivider.style = stylesCss$4;
|
|
179
|
+
|
|
180
|
+
const stylesCss$3 = ":host{line-height:0;vertical-align:middle;margin-right:var(--z-icon-right-margin, 0);margin-left:var(--z-icon-left-margin, 0)}:host svg:not([width]){width:var(--z-icon-width, 18px)}:host svg:not([height]){height:var(--z-icon-height, 18px)}";
|
|
181
|
+
|
|
182
|
+
const ZIcon = class {
|
|
183
|
+
constructor(hostRef) {
|
|
184
|
+
registerInstance(this, hostRef);
|
|
185
|
+
}
|
|
186
|
+
selectPathOrPolygon(iconName) {
|
|
187
|
+
if (iconName && iconName.startsWith("M")) {
|
|
188
|
+
return h("path", { d: icons[this.name] });
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
return h("polygon", { points: icons[this.name] });
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
render() {
|
|
195
|
+
return (h("svg", { viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(icons[this.name])));
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
ZIcon.style = stylesCss$3;
|
|
199
|
+
|
|
200
|
+
const stylesCss$2 = ":host{--font-size-link:inherit;--font-weight-link:inherit}:host{font-family:var(--dashboard-font);font-weight:var(--font-weight-link);font-size:var(--font-size-link);line-height:inherit;outline:none}a{cursor:pointer;color:var(--color-link-primary);fill:var(--color-link-primary);display:inline-flex;align-items:center;text-decoration:none;padding:calc(var(--space-unit) * 0.5) 0;border-top:var(--border-size-medium) solid transparent;border-bottom:var(--border-size-medium) solid transparent}a:hover,a:focus,a:active{text-decoration:underline}a.active{color:var(--color-active-link);fill:var(--color-active-link)}a:hover,a:focus{color:var(--color-hover-link);fill:var(--color-hover-link)}a:active{color:var(--color-pressed-link);fill:var(--color-pressed-link)}a:visited{color:var(--color-visited-link);fill:var(--color-visited-link)}a.disabled,a.inverse.disabled{cursor:default;pointer-events:none;color:var(--color-disabled03);fill:var(--color-disabled03)}a.underline,a.underline:active,a.underline:hover,a.underline:visited,a.underline.disabled,a.underline.black,a.underline.white{text-decoration:underline}a.disabled,a.disabled:active,a.disabled:visited,a.disabled:hover{text-decoration:none}a.inverse{color:var(--color-inverse-link);fill:var(--color-inverse-link)}a.inverse.active{color:var(--color-inverse-active-link);fill:var(--color-inverse-active-link)}a.inverse:hover,a.inverse:focus{color:var(--color-inverse-hover-link);fill:var(--color-inverse-hover-link)}a.inverse:active{color:var(--color-inverse-pressed-link);fill:var(--color-inverse-pressed-link)}a.inverse:visited{color:var(--color-inverse-visited-link);fill:var(--color-inverse-visited-link)}a.black{color:var(--gray800);fill:var(--gray800);text-decoration:none}a.black:hover,a.black.active{color:var(--color-black);fill:var(--color-black)}a.black:visited{color:var(--gray800);fill:var(--gray800)}a.black:hover,a.black:focus,a.black:active{text-decoration:underline}a.black:active{color:var(--gray700);fill:var(--gray700)}a.white,a.white:active,a.white:hover,a.white.active{color:var(--bg-white);fill:var(--bg-white);text-decoration:none}a.white:visited{color:var(--bg-white);fill:var(--bg-white)}a.white:hover,a.white:focus,a.white:active{text-decoration:underline}a.white.disabled,a.black.disabled{color:var(--gray500);fill:var(--gray500)}a>z-icon:first-child{margin-right:8px}a>z-icon:last-child{margin-left:8px}";
|
|
201
|
+
|
|
202
|
+
const ZLink = class {
|
|
203
|
+
constructor(hostRef) {
|
|
204
|
+
registerInstance(this, hostRef);
|
|
205
|
+
this.zLinkClick = createEvent(this, "zLinkClick", 7);
|
|
206
|
+
/** link target (optional) */
|
|
207
|
+
this.target = "_self";
|
|
208
|
+
/** tabindex link attribute (optional) */
|
|
209
|
+
this.htmltabindex = 0;
|
|
210
|
+
/** disable link flag (optional) */
|
|
211
|
+
this.isdisabled = false;
|
|
212
|
+
/** active link flag (optional) */
|
|
213
|
+
this.isactive = false;
|
|
214
|
+
/** white variant flag (optional) */
|
|
215
|
+
this.iswhite = false;
|
|
216
|
+
/** link text variant (optional) */
|
|
217
|
+
this.textcolor = "primary";
|
|
218
|
+
/** big link version */
|
|
219
|
+
this.big = false;
|
|
220
|
+
/** link icon position (optional) */
|
|
221
|
+
this.iconposition = "left";
|
|
222
|
+
/** draw underline on text (optional) */
|
|
223
|
+
this.underline = false;
|
|
224
|
+
this.iconSize = 18;
|
|
225
|
+
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
226
|
+
this.emitZLinkInteraction = this.emitZLinkInteraction.bind(this);
|
|
227
|
+
}
|
|
228
|
+
componentWillRender() {
|
|
229
|
+
if (this.iswhite) {
|
|
230
|
+
console.warn("z-link iswhite prop is deprecated and will be dropped in a next release, please use textcolor prop instead");
|
|
231
|
+
}
|
|
232
|
+
if (this.big) {
|
|
233
|
+
console.warn("z-link big prop is deprecated and will be dropped in a next release, please override --font-size-link and --font-weight-link variables instead");
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
emitZLinkClick(e, linkId) {
|
|
237
|
+
this.emitZLinkInteraction(e, linkId);
|
|
238
|
+
}
|
|
239
|
+
emitZLinkInteraction(e, linkId) {
|
|
240
|
+
this.zLinkClick.emit({ e, linkId });
|
|
241
|
+
}
|
|
242
|
+
componentDidRender() {
|
|
243
|
+
if (this.icon) {
|
|
244
|
+
const height = parseFloat(window.getComputedStyle(this.hostElement).getPropertyValue('font-size'));
|
|
245
|
+
const currentSize = this.big ? 18 : Math.round(height * 1.125);
|
|
246
|
+
if (!Number.isNaN(currentSize) && this.iconSize !== currentSize) {
|
|
247
|
+
this.iconSize = currentSize;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
render() {
|
|
252
|
+
const style = this.big ? { "--font-size-link": "16px", "--font-weight-link": "600" } : {};
|
|
253
|
+
return (h(Host, { style: style }, h("a", { id: this.htmlid, href: this.href ? this.href : null, class: `${this.isdisabled ? "disabled" : ""}
|
|
254
|
+
${this.isactive ? "active" : ""}
|
|
255
|
+
${this.textcolor}
|
|
256
|
+
${this.iswhite ? "white" : ""}
|
|
257
|
+
${this.underline ? "underline" : ""}`, target: this.target, role: this.href ? "link" : "button", tabindex: this.isdisabled ? -1 : this.htmltabindex, onClick: (e) => this.emitZLinkClick(e, this.htmlid) }, this.iconposition === "right" && h("slot", null), this.icon &&
|
|
258
|
+
h("z-icon", { style: { "--z-icon-width": this.iconSize.toString(), "--z-icon-height": this.iconSize.toString() }, name: this.icon, height: this.iconSize, width: this.iconSize }), this.iconposition === "left" && h("slot", null))));
|
|
259
|
+
}
|
|
260
|
+
get hostElement() { return getElement(this); }
|
|
261
|
+
};
|
|
262
|
+
ZLink.style = stylesCss$2;
|
|
263
|
+
|
|
264
|
+
const stylesCss$1 = ":host{display:inline-block;vertical-align:top;width:255px;height:64px}img{display:block;margin:auto;width:100%;height:100%;content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='255px' height='64px' viewBox='0 0 255 64'%3E%3Cg id='Logo/Zanichelli/Centered-(reworked)' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Group'%3E%3Cpolygon id='Background' fill='%23E2001A' points='1.70530257e-13 64 254.39 64 254.39 0 1.70530257e-13 0'%3E%3C/polygon%3E%3Cpath d='M233.36,51.3553859 L242.390252,51.3553859 L242.390252,12.6427292 L233.36,12.6427292 L233.36,51.3553859 Z M211.120346,51.3553859 L230.477617,51.3553859 L230.477617,44.5040053 L220.685891,44.5040053 L220.685891,12.6427292 L211.120346,12.6427292 L211.120346,51.3553859 Z M188.880124,51.3553859 L208.23551,51.3553859 L208.23551,44.5040053 L198.445669,44.5040053 L198.445669,12.6427292 L188.880124,12.6427292 L188.880124,51.3553859 Z M165.354444,12.6427292 L165.354444,51.3553859 L185.999058,51.3553859 L185.999058,44.5021204 L175.027425,44.5021204 L175.027425,35.1778343 L185.377062,35.1778343 L185.377062,28.2699086 L175.027425,28.2699086 L175.027425,19.4978796 L185.999058,19.4978796 L185.999058,12.6427292 L165.354444,12.6427292 Z M136.666196,51.3553859 L146.239281,51.3553859 L146.239281,35.1778343 L152.902178,35.1778343 L152.902178,51.3553859 L162.473377,51.3553859 L162.473377,12.6427292 L152.902178,12.6427292 L152.902178,28.2717934 L146.239281,28.2717934 L146.239281,12.6427292 L136.666196,12.6427292 L136.666196,51.3553859 Z M96.064744,51.3553859 L105.098765,51.3553859 L105.098765,12.6427292 L96.064744,12.6427292 L96.064744,51.3553859 Z M53.2364527,36.5160682 L50.6824993,19.7429083 L48.0757704,36.5160682 L53.2364527,36.5160682 Z M65.4935444,51.3553859 L56.2710395,51.3553859 L54.9441146,42.5286966 L47.7101121,42.5286966 L46.3304118,51.3553859 L37.1060221,51.3553859 L45.0053718,12.6427292 L57.5960795,12.6427292 L65.4935444,51.3553859 Z M85.0468382,37.7581755 L76.7969089,12.6427292 L67.3764961,12.6427292 L67.3764961,51.3553859 L75.4040147,51.3553859 L75.4040147,26.132504 L83.5955141,51.3553859 L93.1855622,51.3553859 L93.1855622,12.6427292 L85.0468382,12.6427292 L85.0468382,37.7581755 Z M107.977948,32 C107.977948,34.5200264 107.977948,36.7893695 108.187165,39.1246819 C108.396382,41.4713034 108.818585,43.6878711 109.678071,45.6009801 C111.423429,49.487513 114.932995,52 121.708982,52 C129.508435,52 133.787014,48.4753558 133.787014,38.0220526 L133.787014,37.5640373 L124.937707,37.5640373 L124.922628,38.0050891 C124.894356,38.7571388 124.884931,39.6185091 124.826501,40.4855339 C124.769956,41.3431345 124.66629,42.1875412 124.460843,42.9301668 C124.048064,44.3965696 123.279051,45.3559514 121.708982,45.3559514 C117.743286,45.3559514 117.057205,42.0574875 117.057205,32 C117.057205,21.9425125 117.743286,18.6440486 121.708982,18.6440486 C123.605127,18.6440486 124.547546,20.0030157 124.547546,25.1806616 L124.547546,25.6424465 L133.344077,25.6424465 L133.361041,25.1995099 C133.689003,16.7855998 130.235982,12 121.708982,12 C114.934879,12 111.427199,14.4823297 109.678071,18.3594383 C108.818585,20.265008 108.396382,22.4778061 108.187165,24.830082 C107.977948,27.1710489 107.977948,29.4554707 107.977948,32 L107.977948,32 Z M34.9007634,12.6446141 L34.9007634,20.3196683 L21.6051268,44.5040053 L35.2268401,44.5040053 L35.2268401,51.3553859 L12,51.3553859 L12,43.7915371 L25.2975214,19.4997644 L13.683159,19.4997644 L13.683159,12.6446141 L34.9007634,12.6446141 Z' id='Logotipo-(reworked)' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}a{display:block;width:100%;height:100%}:host(.mobile){width:31px;height:40px}:host(.mobile) img{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31px' height='40px' viewBox='0 0 31 40'%3E%3Cg id='Symbols' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Topbar/Mobile/Logged' transform='translate(-16.000000, -4.000000)'%3E%3Cg id='Group' transform='translate(16.000000, 4.000000)'%3E%3Cpolygon id='Fill-1' fill='%23E2001A' points='0 40 30.625 40 30.625 0 0 0'%3E%3C/polygon%3E%3Cpolygon id='Fill-2' fill='%23FEFEFE' points='8.17111587 6.20689655 23.4311708 6.20689655 23.4311708 11.671267 13.8691261 28.9163861 23.6647727 28.9163861 23.6647727 33.7931034 6.96022727 33.7931034 6.96022727 28.408218 16.522272 11.0831673 8.17111587 11.0831673'%3E%3C/polygon%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E\")}";
|
|
265
|
+
|
|
266
|
+
const ZLogo = class {
|
|
267
|
+
constructor(hostRef) {
|
|
268
|
+
registerInstance(this, hostRef);
|
|
269
|
+
}
|
|
270
|
+
render() {
|
|
271
|
+
const style = {};
|
|
272
|
+
if (this.width) {
|
|
273
|
+
style["width"] = style["max-width"] = `${this.width}px`;
|
|
274
|
+
}
|
|
275
|
+
if (this.height) {
|
|
276
|
+
style["height"] = style["max-height"] = `${this.height}px`;
|
|
277
|
+
}
|
|
278
|
+
return (h(Host, { style: style, class: { "mobile": !!this.mobileLogo } }, this.link ?
|
|
279
|
+
h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt })) :
|
|
280
|
+
h("img", { alt: this.imageAlt })));
|
|
281
|
+
}
|
|
282
|
+
};
|
|
283
|
+
ZLogo.style = stylesCss$1;
|
|
284
|
+
|
|
285
|
+
const stylesCss = ".sc-z-offcanvas-h{--z-offcanvas--container-width:375px;--z-offcanvas--top-space:0px;z-index:1000;display:none;justify-content:end;height:100%;min-width:100%;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.canvas-container.sc-z-offcanvas{display:flex;flex-direction:column;z-index:1010;min-width:100%;height:100%;overflow:-moz-scrollbars-none;overflow:hidden;background:var(--color-surface01);transform:translateX(100%)}@keyframes enterRight{from{transform:translateX(100%)}to{transform:translateX(0)}}[open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitRight{from{transform:translateX(0)}to{transform:translateX(100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"]>.canvas-container.sc-z-offcanvas{animation-name:exitRight;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(100%)}[variant=\"overlay\"].sc-z-offcanvas-h{position:fixed;height:calc(100% - var(--z-offcanvas--top-space));top:var(--z-offcanvas--top-space);left:0;right:0;bottom:0}[variant=\"overlay\"].sc-z-offcanvas-h .canvas-background.sc-z-offcanvas{position:absolute;left:0;width:100%;height:100%;background-color:var(--gray900);opacity:0.7}[transitiondirection=\"right\"].sc-z-offcanvas-h{justify-content:start}[transitiondirection=\"right\"].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{transform:translateX(-100%)}@keyframes enterLeft{from{transform:translateX(-100%)}to{transform:translateX(0)}}[transitiondirection=\"right\"][open].sc-z-offcanvas-h>.canvas-container.sc-z-offcanvas{animation-name:enterLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(0)}@keyframes exitLeft{from{transform:translateX(0)}to{transform:translateX(-100%)}}.sc-z-offcanvas-h:not([open])[variant=\"overlay\"][transitiondirection=\"right\"]>.canvas-container.sc-z-offcanvas{animation-name:exitLeft;animation-duration:0.4s;animation-timing-function:ease-out;transform:translateX(-100%)}.canvas-container.sc-z-offcanvas>.canvas-content.sc-z-offcanvas{flex:1 auto;overflow:auto;overflow-x:hidden;padding:0 calc(var(--space-unit) * 2);margin:calc(var(--space-unit) * 2) calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar{background:linear-gradient(\n to right,\n transparent 0 3px,\n var(--gray200) 3px 7px,\n transparent 7px 10px\n );width:10px;border-radius:var(--border-radius)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-track{background-color:transparent}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--border-radius);width:10px}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas::-webkit-scrollbar-thumb:hover{background-color:var(--color-hover-primary)}.canvas-container.sc-z-offcanvas .canvas-content.sc-z-offcanvas{scrollbar-color:var(--color-primary01) transparent}@media only screen and (min-width: 768px){.sc-z-offcanvas-h{min-width:auto}.canvas-container.sc-z-offcanvas{width:auto;height:auto;min-width:max(var(--z-offcanvas--container-width), 375px);min-height:calc(var(--space-unit) * 40);max-width:max(var(--z-offcanvas--container-width), 375px)}@keyframes grow{from{width:0}to{width:max(var(--z-offcanvas--container-width), 375px)}}.sc-z-offcanvas-h:not([variant=\"overlay\"])[open]{animation-name:grow;animation-duration:0.4s;animation-timing-function:ease-out;width:auto}}";
|
|
286
|
+
|
|
287
|
+
const ZOffcanvas = class {
|
|
288
|
+
constructor(hostRef) {
|
|
289
|
+
registerInstance(this, hostRef);
|
|
290
|
+
this.canvasOpenStatusChanged = createEvent(this, "canvasOpenStatusChanged", 7);
|
|
291
|
+
/**
|
|
292
|
+
* Offcanvas variant.
|
|
293
|
+
* Can be one of "overlay", "pushcontent"
|
|
294
|
+
* Default variant: pushcontent
|
|
295
|
+
*/
|
|
296
|
+
this.variant = OffCanvasVariantsEnum.pushcontent;
|
|
297
|
+
/** open component. Default: false */
|
|
298
|
+
this.open = false;
|
|
299
|
+
/** open content transitioning in a specified direction left | right. Default: left */
|
|
300
|
+
this.transitiondirection = TransitionDirectionEnum.left;
|
|
301
|
+
}
|
|
302
|
+
componentWillLoad() {
|
|
303
|
+
this.handleOpenStatus();
|
|
304
|
+
}
|
|
305
|
+
onOpenChanged() {
|
|
306
|
+
this.handleOpenStatus();
|
|
307
|
+
this.canvasOpenStatusChanged.emit(this.open);
|
|
308
|
+
}
|
|
309
|
+
handleOpenStatus() {
|
|
310
|
+
if (this.open) {
|
|
311
|
+
this.hostElement.style.display = "flex";
|
|
312
|
+
}
|
|
313
|
+
else if (this.variant === OffCanvasVariantsEnum.pushcontent) {
|
|
314
|
+
this.hostElement.style.display = "none";
|
|
315
|
+
document.body.style.overflowX = "hidden";
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
handleAnimationEnd() {
|
|
319
|
+
if (this.hostElement.hasAttribute("open")) {
|
|
320
|
+
this.hostElement.querySelector(`.canvas-content`).focus();
|
|
321
|
+
}
|
|
322
|
+
else if (this.variant === OffCanvasVariantsEnum.overlay) {
|
|
323
|
+
this.hostElement.style.display = "none";
|
|
324
|
+
document.body.style.overflowX = "initial";
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
render() {
|
|
328
|
+
return [
|
|
329
|
+
h("div", { class: "canvas-container", onAnimationEnd: () => this.handleAnimationEnd() }, h("div", { class: "canvas-content", tabindex: "0" }, h("slot", { name: "canvasContent" }))),
|
|
330
|
+
h("div", { class: "canvas-background", "data-action": "canvasBackground", onClick: () => this.open = false })
|
|
331
|
+
];
|
|
332
|
+
}
|
|
333
|
+
get hostElement() { return getElement(this); }
|
|
334
|
+
static get watchers() { return {
|
|
335
|
+
"open": ["onOpenChanged"]
|
|
336
|
+
}; }
|
|
337
|
+
};
|
|
338
|
+
ZOffcanvas.style = stylesCss;
|
|
339
|
+
|
|
340
|
+
export { ZAppSwitcher as z_app_switcher, ZAppTopbar as z_app_topbar, ZButton as z_button, ZCard as z_card, ZCarousel as z_carousel, ZDivider as z_divider, ZIcon as z_icon, ZLink as z_link, ZLogo as z_logo, ZOffcanvas as z_offcanvas };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { Z as ZAriaAlertMode } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-1877eca4.js';
|
|
2
|
+
import { Z as ZAriaAlertMode } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const ZAriaAlert = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { A as AvatarSize } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-1877eca4.js';
|
|
2
|
+
import { A as AvatarSize } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);background-color:var(--bg-grey-700);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;text-transform:uppercase}:host(.small),:host(.small)>img{height:calc(var(--space-unit) * 3);width:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{height:calc(var(--space-unit) * 4);width:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{height:calc(var(--space-unit) * 5);width:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
2
|
-
import { I as InputTypeEnum, k as keybordKeyCodeEnum, h as InputStatusEnum } from './index-
|
|
3
|
-
import { r as randomId, b as getElementTree, h as handleKeyboardSubmit, d as getClickedElement } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-1877eca4.js';
|
|
2
|
+
import { I as InputTypeEnum, k as keybordKeyCodeEnum, h as InputStatusEnum } from './index-672bd95c.js';
|
|
3
|
+
import { r as randomId, b as getElementTree, h as handleKeyboardSubmit, d as getClickedElement } from './utils-c01fe130.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss$4 = "button.container{min-height:32px;line-height:32px;border:var(--border-size-small) solid var(--bg-grey-200);border-radius:16px;box-shadow:0px 2px 5px 0px var(--bg-neutral-300);-webkit-box-shadow:0px 2px 5px 0px var(--bg-neutral-300);-moz-box-shadow:0px 2px 5px 0px var(--bg-neutral-300);text-align:center;padding:0 calc(var(--space-unit) * 2);cursor:pointer;letter-spacing:0.17px;font-family:var(--dashboard-font);font-size:12px;font-weight:var(--font-sb);opacity:1;transition:all 200ms linear}button.container.small{min-height:24px;line-height:24px}button.container:focus{outline:0}button.container::-moz-focus-inner{border:0}.text-container{margin-left:4px}button.container,button.container:focus,button.container:hover{background-color:var(--bg-white);color:var(--text-grey-700);fill:var(--text-grey-700)}button.container.isactive{background-color:var(--bg-white);color:var(--myz-blue);fill:var(--myz-blue)}button.container.isactive:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button.container.isactive:focus{background-color:var(--myz-blue-dark);border-color:var(--myz-blue-dark);box-shadow:0px 0px 4px 0px var(--text-grey-800);color:var(--bg-white);fill:var(--bg-white)}button z-icon{display:inline-block}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-1877eca4.js';
|
|
2
2
|
import { t as tabletBreakpoint } from './breakpoints-c386984e.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host,button{max-width:100%}button{height:36px;border:var(--border-size-medium) solid var(--myz-blue);border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);outline:none;padding:0 var(--space-unit);cursor:pointer}button::-moz-focus-inner{border:0}button:hover{border-color:var(--myz-blue-dark);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.selected{border-color:var(--myz-blue-dark);background-color:var(--myz-blue-dark);color:var(--bg-white);fill:var(--bg-white)}button>label{cursor:pointer;font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;display:flex;align-items:center}button>label>span.ellipsis{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0;padding:0}button>label>span.counter{margin-left:calc(var(--space-unit) / 2);margin-right:calc(var(--space-unit) * 2)}button>label>span.sort{margin-right:var(--half-x1);white-space:nowrap}button>span{font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:14px;margin-right:calc(var(--space-unit) * 0.5)}button>z-icon{padding-top:calc(var(--space-unit) * 0.5)}@media only screen and (min-width: 768px){:host,button{max-width:325px}}@media only screen and (min-width: 1025px){:host,button{max-width:490px}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-1877eca4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center}:host>div{position:fixed;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;top:30vh;max-width:297px;height:fit-content;min-height:232px;z-index:1000;margin:auto;overflow:auto;overflow:-moz-scrollbars-none;-ms-overflow-style:none;background:var(--myz-blue-lighter);border-radius:calc(var(--space-unit) * .5);box-shadow:0px -2px 4px 0px rgba(66, 69, 72, 0.4)}@media only screen and (min-width: 768px){:host>div{position:initial;flex-wrap:nowrap;justify-content:space-between;align-items:center;align-content:stretch;position:fixed;top:auto;bottom:0;margin:0 auto;left:0;right:0;height:auto;min-height:138px;max-width:100%;border-radius:0px}}@media only screen and (min-width: 1152px){:host>div{min-height:122px}}";
|
|
4
4
|
|
package/dist/esm/z-chip.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-1877eca4.js';
|
|
2
|
+
import { f as ZChipType } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host>button{display:inline-block;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-medium) solid var(--bg-grey-200);color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:14px}:host>div{display:inline-block;min-height:28px;line-height:28px;padding:0 calc(var(--space-unit) * 1.5);background-color:var(--bg-white);border:var(--border-size-small) solid var(--bg-grey-200);border-radius:14px;color:var(--text-grey-800);fill:var(--text-grey-800);font-family:var(--dashboard-font);font-size:12px}.boldtext{font-weight:bold}:host>button:hover{color:var(--myz-blue-dark)}:host>button:disabled{border:var(--border-size-medium) solid var(--bg-grey-200);color:rgb(149, 153, 157);box-shadow:none}:host>button.default:focus:focus-visible,:host>button.mini:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host>button:not(:disabled):active{background-color:var(--gray50)}:host>button.default,:host>div.default{min-height:44px;border-radius:22px;line-height:44px}:host>button.mini,:host>div.mini{min-height:36px;border-radius:22px;line-height:36px}@media only screen and (min-width: 1152px){:host>button{font-size:12px}:host>button.default,:host>div.default{min-height:32px;border-radius:16px;line-height:32px}:host>button.mini,:host>div.mini{min-height:24px;border-radius:16px;line-height:24px}}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { I as InputTypeEnum, k as keybordKeyCodeEnum } from './index-
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-1877eca4.js';
|
|
2
|
+
import { I as InputTypeEnum, k as keybordKeyCodeEnum } from './index-672bd95c.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-c01fe130.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{display:block}:host>div.fixed{position:relative;height:42px}:host>div>.header{background-color:var(--bg-white);border-radius:var(--border-radius-small);border:var(--border-size-small) solid var(--bg-grey-700);position:relative;z-index:10;min-height:42px;margin:0;padding:0 calc(var(--space-unit) * 2);display:flex;justify-content:space-between;align-items:center;cursor:pointer}:host>div>.header:focus:focus-visible{border:var(--border-size-small) solid var(--blue500);box-shadow:var(--shadow-focus-primary);outline:none}:host>div>.header>z-body{margin:0;padding:var(--space-unit) 0;color:var(--text-grey-800)}:host>div>.header>z-body>span{font-weight:var(--font-sb)}:host>div>.header>z-icon{fill:var(--text-grey-800);transform:rotate(360deg);transition:all 200ms linear}:host>div.open>.header{border-radius:var(border-radius-small) var(border-radius-small) 0 0;border:var(--border-size-small) solid var(--blue500)}:host>div.open>.header>z-icon{fill:var(--text-grey-800);transform:rotate(180deg);transition:all 200ms linear}:host>div.open>div.openComboData{background-color:var(--bg-white);border-radius:0;border:var(--border-size-small) solid var(--gray200);border-top:0px;position:relative;z-index:12;padding:var(--space-unit) calc(var(--space-unit) * 2)}:host>div.open>div.openComboData>div{padding:0;max-height:235px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--gray200)}:host>div.open>div.openComboData>z-input{margin-bottom:calc(var(--space-unit) * 2);width:100%}:host>div.open>div.openComboData>div>ul{margin:0;padding:0 3px;max-height:235px}::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--bg-white) 2px,\n var(--bg-grey-200) 4px,\n var(--bg-white) 8px\n );border-radius:var(--border-radius);width:10px}::-webkit-scrollbar-thumb{background-color:var(--myz-blue);border-radius:var(--border-radius);width:10px}:host>div.open>z-input{color:var(--myz-blue);margin:0 calc(var(--space-unit) * 2);width:238px;position:relative;z-index:1}:host>div.open>div.openComboData>div.search{box-shadow:1px 1px 4px 2px rgba(217, 222, 227, 0.5);margin-top:0;max-height:auto;overflow:hidden}:host>div.open>div.openComboData>div.search>ul{padding:var(--space-unit) calc(var(--space-unit) * 2);max-height:180px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--myz-blue) var(--bg-grey-200)}:host>div.open>div.openComboData>div.search>div{display:flex;justify-content:center}:host>div.open>div.openComboData>div.search>div>a{display:inline-block;cursor:pointer;color:var(--myz-blue);font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:14px;height:44px;line-height:44px;text-align:center;text-transform:uppercase}:host>div.open>div.openComboData>div.checkAllWrapper{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * .5);text-align:left}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { P as PopoverPosition } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-1877eca4.js';
|
|
2
|
+
import { P as PopoverPosition } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:focus-within)>z-popover{box-shadow:var(--shadow-focus-primary)}.popover-content-container{min-width:112px;max-width:280px;white-space:nowrap;padding:calc(var(--space-unit) / 2) 0}.element-container:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.element-text{overflow:hidden;text-overflow:ellipsis;font-size:14px}.element-container,.disabled-element-container{display:flex;align-items:center;gap:var(--space-unit);fill:var(--color-disabled03);padding:calc(var(--space-unit) / 2) var(--space-unit);min-height:calc(var(--space-unit) * 4);box-sizing:border-box}.element-container{fill:var(--color-primary01)}.element-icon{display:flex}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-1877eca4.js';
|
|
2
|
+
import { b as ButtonVariantEnum } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}z-candybar.hidden{display:none}.content{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:space-between;color:var(--text-grey-800);border-radius:calc(var(--space-unit) * .5);font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}.content>div>h2{margin:0;padding:0;color:var(--text-grey-800);border-radius:0px;font-size:18px;font-weight:var(--font-sb);letter-spacing:0px}.content>div>div{padding:calc(var(--space-unit) * 3) 0;font-size:14px;letter-spacing:0.16px;line-height:20px}.content>div>div>p{margin:0}.content>div>div>p>a{cursor:pointer;font-weight:var(--font-sb);color:var(--text-grey-800);text-decoration:underline;height:14px;display:inline-flex}.content>div>div>p>a:visited{color:var(--text-grey-800);cursor:pointer;z-index:1000}.content>z-button{margin:0;width:100%}@media only screen and (min-width: 768px){.content{width:100%;flex-direction:row;align-items:center;font-size:16px;letter-spacing:0px;line-height:24px;padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 3)}.content>div{width:560px}.content>div>h2{height:calc(var(--space-unit) * 3.5)}.content>div>div{padding:0}.content>z-button{margin:0;width:initial}}@media only screen and (min-width: 1152px){.content>div{width:935px}}@media only screen and (min-width: 1366px){.content{padding-left:calc(var(--space-unit) * 4);padding-right:calc(var(--space-unit) * 4)}}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-1877eca4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss$2 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>a{display:inline-block;color:var(--color-white);padding:calc(var(--space-unit) / 2 * 3) 0;border-bottom:1px solid var(--gray50);text-decoration:none;font-size:14px;width:100%}@media only screen and (min-width: 768px){:host a{font-size:12px;border-bottom:none;text-decoration:underline;padding:0;width:initial}}";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-1877eca4.js';
|
|
2
|
+
import { b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;font-family:var(--font-family-sans);font-size:13px;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50)}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;margin:0;padding:0 calc(var(--space-unit) * 2);white-space:pre-line;font-size:12px}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 1;height:auto;width:auto;padding:calc(var(--space-unit) * 2) 0}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px);column-gap:12px;padding:0;margin-bottom:0px}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{margin:var(--space-unit) 0;padding:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;grid-template-columns:1fr;grid-row-gap:var(--space-unit);align-items:center}#extension z-divider{margin-top:var(--space-unit)}#extension z-button{margin-left:var(--space-unit)}div.limited-width{margin:auto;max-width:var(--mw)}@media only screen and (min-width: 768px){footer{padding:0}#top{background-color:var(--gray800);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3)}#top z-footer-section:last-child{display:none}#bottom{background-color:var(--gray900);padding:0 calc(var(--space-unit) * 3)}#bottom>div{grid-template-columns:repeat(4, 1fr);grid-column-gap:var(--grid-tablet-margin)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:block;grid-column:span 2;order:3}#bottom>div>div.bottom-links{display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px);grid-column-gap:var(--grid-tablet-margin);font-size:12px}#extension{margin:auto;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-template-columns:repeat(6, 1fr);grid-column-gap:var(--grid-desktop-margin)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0}#bottom>div>div.bottom-links{grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-desktop-margin);margin:0}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-1877eca4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{display:inline-block;width:100%;height:100%;background:var(--bg-neutral-100);overflow:hidden;border-radius:4px;transform:translate3d(0, 0, 0)}:host::after{content:' ';display:block;width:100%;height:100%;box-shadow:#e8ebee20 0px 0px 1px;background-image:linear-gradient(\n 90deg,\n var(--bg-neutral-100) 0%,\n var(--bg-neutral-150) 95%,\n var(--bg-neutral-100) 100%\n );animation:progress 1.6s ease-in-out infinite}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}";
|
|
4
4
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-1877eca4.js';
|
|
2
|
+
|
|
3
|
+
const ZHeading = class {
|
|
4
|
+
constructor(hostRef) {
|
|
5
|
+
registerInstance(this, hostRef);
|
|
6
|
+
this.variant = "regular";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return (h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, h("slot", null)));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { ZHeading as z_heading };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-1877eca4.js';
|
|
2
2
|
import { i as icons } from './icons-bceeb196.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host>div{display:flex;flex-flow:row wrap;justify-content:flex-start;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px}:host>div>div{width:300px;margin:5px}:host>div>div>label{margin:0 10px}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-1877eca4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{font-family:var(--dashboard-font);font-weight:var(--font-rg)}:host>div{background:var(--accent-lighter);padding:calc(var(--space-unit) * 2);border-radius:var(--border-radius);display:flex;width:inherit}:host>div>slot{color:var(--text-grey-800);font-size:14px}:host>div>z-icon{fill:var(--myz-blue);cursor:pointer;margin-left:calc(var(--space-unit) * 2)}";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-1877eca4.js';
|
|
2
|
+
import { r as ListSize, E as ExpandableListButtonAlign, s as ListDividerType, d as DividerSize, t as ExpandableListStyle, K as KeyboardKeys } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss$2 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:flex;flex-direction:column}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { k as keybordKeyCodeEnum } from './index-
|
|
3
|
-
import { b as getElementTree, h as handleKeyboardSubmit, d as getClickedElement } from './utils-
|
|
1
|
+
import { r as registerInstance, h } from './index-1877eca4.js';
|
|
2
|
+
import { k as keybordKeyCodeEnum } from './index-672bd95c.js';
|
|
3
|
+
import { b as getElementTree, h as handleKeyboardSubmit, d as getClickedElement } from './utils-c01fe130.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss$1 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:12px;height:32px;width:inherit;letter-spacing:0.17px}a,a:visited,a:active{color:inherit;text-decoration:none}:host>a{display:block;background:var(--bg-grey-050);color:var(--text-grey-800);border-radius:var(--border-radius);border:var(--border-size-small) solid transparent;outline:none}:host>a::-moz-focus-inner{border:0}:host>a:hover,:host>a.menu-opened:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host>a:focus{color:var(--myz-blue);fill:var(--myz-blue);border:var(--border-size-small) solid var(--myz-blue);box-shadow:0px 0px 2px 2px var(--myz-blue-light)}:host>a:active{color:var(--myz-blue-light);fill:var(--myz-blue-light);border:var(--border-size-small) solid var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}div.container{display:flex;align-items:center;justify-content:space-between;height:32px;position:relative;padding:0 var(--basex1)}div.container>span.user-wrapper{display:flex}div.container>span.user-wrapper>span.user{padding:0 var(--basex1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer;width:30px}div.container>span.arrow{display:flex;justify-content:center;align-items:center}div.container>span.arrow>z-icon{transform:rotate(360deg);transition:all 200ms linear}ul{list-style:none;padding:0 calc(var(--space-unit) * 2);margin:0px}li{height:var(--basex3);display:flex;align-items:center;padding:calc(var(--space-unit) / 4) 0;width:max-content}.menu-opened{padding-bottom:calc(var(--space-unit) * 2);width:auto !important;min-width:147px;position:inherit}.menu-opened a,.menu-opened a:active,.menu-opened a:visited{color:var(--myz-blue);fill:var(--myz-blue)}.menu-opened a:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.menu-opened>div.container{margin-bottom:var(--basex1)}.menu-opened>div.container>span.user-wrapper>span.user{width:auto}.menu-opened>div.container>span.arrow>z-icon{transform:rotate(180deg);transition:all 200ms linear}@media only screen and (min-width: 1152px){:host>a{width:147px;padding:0 calc(var(--space-unit) / 4)}:host>a.menu-opened{width:147px;padding-bottom:calc(var(--space-unit) * 2)}div.container>span.user-wrapper>span.user{width:80px}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1877eca4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;font-family:var(--font-family-sans)}:host,::slotted(*),*{box-sizing:border-box}::slotted(a){text-decoration:none}::slotted(*){font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-text01)}:host([active]) .label,:host([open]) .label,.label:hover{border-color:var(--color-secondary01)}.label{display:flex;align-items:center;width:100%;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);text-align:left;background:transparent;border-radius:0;border:0;border-bottom:var(--border-size-small) solid var(--color-surface05);cursor:pointer}.label ::slotted(*){width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25}.label:focus:focus-visible{outline:none;box-shadow:var(--shadow-focus-primary)}.label z-icon{margin-left:calc(var(--space-unit) * 4);fill:currentColor}.items{display:flex;flex-direction:column;width:100%;padding:calc(var(--space-unit) * 0.5);padding-bottom:calc(var(--space-unit) * 2)}.items>::slotted([slot='item']){display:inline-flex;margin:0;padding:calc(var(--space-unit) * 0.5);font-size:var(--font-size-2);line-height:1.4;outline:none}.items>::slotted([slot='item']:last-child){padding-bottom:0}.items>::slotted([slot='item']:focus:focus-visible){box-shadow:var(--shadow-focus-primary);color:var(--color-secondary01)}.items>::slotted([slot='item']:hover){color:var(--color-secondary01)}";
|
|
4
4
|
|
package/dist/esm/z-menu.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-1877eca4.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host,::slotted(*),*{box-sizing:border-box}:host{display:inline-flex;flex-direction:column;position:relative}::slotted(a){color:var(--color-text01);text-decoration:none}::slotted(*){font-family:var(--font-family-sans);font-weight:var(--font-rg)}.menu-label{margin:0;padding:0;color:inherit;background:transparent;border:0;border-radius:0;outline:none;text-align:left}button.menu-label{cursor:pointer}.menu-label:focus-within{z-index:1;box-shadow:var(--shadow-focus-primary);margin-right:calc(var(--space-unit) * -0.5);margin-left:calc(var(--space-unit) * -0.5);padding-right:calc(var(--space-unit) * 0.5);padding-left:calc(var(--space-unit) * 0.5)}.menu-label .menu-label-content{display:flex;align-items:center;padding:var(--space-unit) 0;border-bottom:var(--border-size-large) solid var(--color-surface05)}:host([active]) .menu-label-content,:host([open]) .menu-label-content,.menu-label:hover .menu-label-content,.menu-label:focus-within .menu-label-content{border-color:var(--color-secondary01)}.menu-label ::slotted(*){width:100%;margin:0;appearance:none;font-size:var(--font-size-5);line-height:1.2;outline:none}.menu-label z-icon{margin-left:calc(var(--space-unit) * 4);fill:currentColor}.content{background:var(--color-surface01)}.content[hidden]{display:none}:host([floating]) .content{width:375px;max-width:100vw;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host(:not([floating])) .content{width:100%}:host([floating]) .content{position:absolute;top:100%;left:0;box-shadow:var(--shadow-2);min-width:100%}.header{display:flex;align-items:center;padding:var(--space-unit) 0 calc(var(--space-unit) * 2)}.header ::slotted(img[slot='header']){width:calc(var(--space-unit) * 11.25);object-fit:contain;height:auto}.header ::slotted([slot='header']:not(:first-child)){margin:auto 0;margin-left:calc(var(--space-unit) * 2.5);font-weight:var(--font-sb);font-size:var(--font-size-3);line-height:1.5}.items{display:flex;flex-direction:column;align-items:flex-start;background:inherit}.items>::slotted([slot='item']){display:inline-flex;width:100%;margin:0;font-size:var(--font-size-3);line-height:1.25;outline:none}.items>::slotted([slot='item']:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}.items>::slotted([slot='item']:not(z-menu-section)){padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 0.5);border-bottom:var(--border-size-small) solid var(--color-surface05)}.items>::slotted([slot='item']:hover),.items>::slotted([slot='item']:active){border-color:var(--color-secondary01)}";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { g as PocketStatusEnum } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-1877eca4.js';
|
|
2
|
+
import { g as PocketStatusEnum } from './index-672bd95c.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{font-size:12px;font-weight:var(--font-sb);color:var(--color-primary01);fill:var(--color-primary01)}:host>z-pocket>z-pocket-header span.badge{background:var(--color-secondary02);color:var(--color-surface01);border-radius:50%;padding:0 calc(var(--space-unit)* 0.5);display:inline-block;margin-left:var(--space-unit)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;margin:0 var(--space-unit);padding:var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{background-image:linear-gradient(rgba(255, 0, 0, 0), white);position:absolute;top:0;left:0;right:0;bottom:0}:host>z-pocket.open>z-pocket-body>div.body{max-height:calc(100vh - 166px);overflow:auto;scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-width:thin;scrollbar-color:var(--color-primary01) var(--color-surface03)}:host ::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base);width:10px}:host ::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--radius-base);width:var(--space-unit)}}";
|
|
5
5
|
|