@zanichelli/albe-web-components 2.41.0 → 2.42.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/dist/cjs/{index-dee3e21d.js → index-84b7063a.js} +182 -88
- package/dist/cjs/{index-15dc9f49.js → index-ef6dc2ee.js} +5 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-50477402.js → utils-d3a23e75.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 +2 -2
- 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-dragdrop-area_2.cjs.entry.js +49 -0
- package/dist/cjs/z-file-upload.cjs.entry.js +169 -0
- package/dist/cjs/z-file.cjs.entry.js +53 -0
- 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-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 +9 -7
- 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 +5 -0
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/buttons/z-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +5 -3
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +5 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +52 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +62 -0
- package/dist/collection/components/file-upload/z-file/index.js +109 -0
- package/dist/collection/components/file-upload/z-file/styles.css +61 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +329 -0
- package/dist/collection/components/file-upload/z-file-upload/styles.css +87 -0
- package/dist/collection/components/navigation/z-menu/index.js +4 -4
- package/dist/collection/components/notification/z-tooltip/index.js +2 -2
- package/dist/collection/themes/index.stories.js +38 -0
- package/dist/collection/utils/utils.js +2 -2
- package/dist/esm/{index-fa9e549c.js → index-90e18641.js} +182 -88
- package/dist/esm/{index-672bd95c.js → index-cda2110a.js} +6 -1
- 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-c01fe130.js → utils-436360f5.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 +2 -2
- 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-dragdrop-area_2.entry.js +44 -0
- package/dist/esm/z-file-upload.entry.js +165 -0
- package/dist/esm/z-file.entry.js +49 -0
- 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-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 +9 -7
- 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 +4 -0
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +9 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +18 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +49 -0
- package/dist/types/components.d.ts +102 -1
- 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-cf914ea7.entry.js → p-02474663.entry.js} +1 -1
- package/{www/build/p-4a414eb2.entry.js → dist/web-components-library/p-104b70e5.entry.js} +1 -1
- package/dist/web-components-library/{p-8deddec7.entry.js → p-105b82a6.entry.js} +1 -1
- package/dist/web-components-library/{p-d6d19aeb.entry.js → p-21a85d4f.entry.js} +1 -1
- package/dist/web-components-library/{p-bc5e78a8.entry.js → p-24d62d5d.entry.js} +1 -1
- package/{www/build/p-39f55fdd.entry.js → dist/web-components-library/p-26286e79.entry.js} +1 -1
- package/dist/web-components-library/{p-9af1322d.entry.js → p-2c836d42.entry.js} +1 -1
- package/dist/web-components-library/{p-698e18cf.entry.js → p-2c8e542b.entry.js} +1 -1
- package/dist/web-components-library/{p-5ed90426.entry.js → p-2d74660a.entry.js} +1 -1
- package/dist/web-components-library/{p-434512c4.entry.js → p-2edeb36b.entry.js} +1 -1
- package/dist/web-components-library/{p-2afdbac4.entry.js → p-32fbc96b.entry.js} +1 -1
- package/dist/web-components-library/{p-2feaa8e1.entry.js → p-3371604c.entry.js} +1 -1
- package/dist/web-components-library/{p-e1f1f39e.entry.js → p-3fc438b7.entry.js} +1 -1
- package/dist/web-components-library/{p-cfebc80e.entry.js → p-41c5beec.entry.js} +1 -1
- package/dist/web-components-library/{p-be40901d.entry.js → p-49fd1045.entry.js} +1 -1
- package/dist/web-components-library/{p-4a1404e2.entry.js → p-4aaf3433.entry.js} +1 -1
- package/dist/web-components-library/{p-4665d79f.entry.js → p-4d9667dc.entry.js} +1 -1
- package/{www/build/p-5558c49a.entry.js → dist/web-components-library/p-5590d187.entry.js} +1 -1
- package/dist/web-components-library/p-5651167f.entry.js +1 -0
- package/{www/build/p-c19e3c48.entry.js → dist/web-components-library/p-5683fb4a.entry.js} +1 -1
- package/dist/web-components-library/{p-ebcad010.entry.js → p-5789bbe7.entry.js} +1 -1
- package/dist/web-components-library/{p-140cc18f.entry.js → p-578a5ad1.entry.js} +1 -1
- package/dist/web-components-library/p-5dfad268.entry.js +1 -0
- package/dist/web-components-library/{p-f113a03a.entry.js → p-5e41c6c2.entry.js} +1 -1
- package/dist/web-components-library/{p-6583cbec.entry.js → p-6375f662.entry.js} +1 -1
- package/dist/web-components-library/{p-0dbee434.entry.js → p-654c1830.entry.js} +1 -1
- package/dist/web-components-library/{p-4c1dc891.entry.js → p-6baa8e33.entry.js} +1 -1
- package/dist/web-components-library/{p-1094e4de.entry.js → p-6bb8de3e.entry.js} +1 -1
- package/dist/web-components-library/{p-250926fe.entry.js → p-71e8c2af.entry.js} +1 -1
- package/dist/web-components-library/{p-2805c574.entry.js → p-729a98ab.entry.js} +1 -1
- package/dist/web-components-library/{p-71cc7ed0.entry.js → p-78e26102.entry.js} +1 -1
- package/{www/build/p-b008639f.entry.js → dist/web-components-library/p-7a3c0d01.entry.js} +1 -1
- package/dist/web-components-library/{p-b78fb152.entry.js → p-7ebb03d8.entry.js} +1 -1
- package/dist/web-components-library/{p-aa0f7169.entry.js → p-7f2fa336.entry.js} +1 -1
- package/dist/web-components-library/{p-b6ad7e23.entry.js → p-83dda293.entry.js} +1 -1
- package/dist/web-components-library/{p-240834e2.entry.js → p-8537e37d.entry.js} +1 -1
- package/dist/web-components-library/{p-4d35157e.entry.js → p-889bcfab.entry.js} +1 -1
- package/dist/web-components-library/{p-8303fd88.entry.js → p-8ddeda29.entry.js} +1 -1
- package/dist/web-components-library/{p-0ce6293a.entry.js → p-9260abad.entry.js} +1 -1
- package/dist/web-components-library/{p-ac3bc4c2.entry.js → p-9352da73.entry.js} +1 -1
- package/dist/web-components-library/{p-056f3b6a.entry.js → p-9409540b.entry.js} +1 -1
- package/dist/web-components-library/{p-d4e409ba.entry.js → p-96da0513.entry.js} +1 -1
- package/dist/web-components-library/p-98268a57.js +1 -0
- package/{www/build/p-6af9e8d7.entry.js → dist/web-components-library/p-98e15cf2.entry.js} +1 -1
- package/{www/build/p-a7733104.entry.js → dist/web-components-library/p-9c7cf598.entry.js} +1 -1
- package/dist/web-components-library/p-9dc8fdb1.entry.js +1 -0
- package/dist/web-components-library/{p-b8770504.entry.js → p-a61ee49c.entry.js} +1 -1
- package/dist/web-components-library/{p-c7af96eb.entry.js → p-a759ab46.entry.js} +1 -1
- package/dist/web-components-library/p-a785ff38.entry.js +1 -0
- package/dist/web-components-library/p-a90d876c.entry.js +1 -0
- package/dist/web-components-library/{p-db5863cf.entry.js → p-a9eea65b.entry.js} +1 -1
- package/dist/web-components-library/{p-a85195a4.entry.js → p-b359a48a.entry.js} +1 -1
- package/dist/web-components-library/{p-7af1b50c.entry.js → p-b48105a4.entry.js} +1 -1
- package/dist/web-components-library/{p-c52df17b.entry.js → p-b68c2b06.entry.js} +1 -1
- package/dist/web-components-library/{p-767c4094.entry.js → p-bc4df198.entry.js} +1 -1
- package/dist/web-components-library/{p-5ff60fcd.js → p-c17b64f1.js} +1 -1
- package/dist/web-components-library/{p-1c72783c.entry.js → p-c284139b.entry.js} +1 -1
- package/dist/web-components-library/p-c9c7071f.entry.js +1 -0
- package/dist/web-components-library/{p-cb2acc2e.entry.js → p-caa452fc.entry.js} +1 -1
- package/dist/web-components-library/{p-5bbbc979.entry.js → p-cb13d050.entry.js} +1 -1
- package/{www/build/p-778c843f.entry.js → dist/web-components-library/p-cf00f379.entry.js} +1 -1
- package/{www/build/p-fdfca9b7.entry.js → dist/web-components-library/p-d39c0372.entry.js} +1 -1
- package/dist/web-components-library/{p-8edb6b65.entry.js → p-d4927410.entry.js} +1 -1
- package/dist/web-components-library/{p-2ea470c2.entry.js → p-d59d1090.entry.js} +1 -1
- package/dist/web-components-library/p-d64c6f56.entry.js +1 -0
- package/{www/build/p-f15ca066.entry.js → dist/web-components-library/p-d97dd15a.entry.js} +1 -1
- package/dist/web-components-library/{p-74fb3d69.entry.js → p-e2560604.entry.js} +1 -1
- package/dist/web-components-library/p-e5602e1b.js +1 -0
- package/dist/web-components-library/p-f6a11970.entry.js +1 -0
- package/dist/web-components-library/{p-b9f91ea1.entry.js → p-fc2043f7.entry.js} +1 -1
- package/{www/build/p-cd6cfb85.entry.js → dist/web-components-library/p-fc5bb8d5.entry.js} +1 -1
- package/{www/build/p-6011c261.entry.js → dist/web-components-library/p-fd167bfb.entry.js} +1 -1
- package/dist/web-components-library/p-febe0261.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 +9 -9
- package/react/components.d.ts +3 -0
- package/react/components.js +5 -2
- 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/readme.md +1 -0
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-cf914ea7.entry.js → p-02474663.entry.js} +1 -1
- package/{dist/web-components-library/p-4a414eb2.entry.js → www/build/p-104b70e5.entry.js} +1 -1
- package/www/build/{p-8deddec7.entry.js → p-105b82a6.entry.js} +1 -1
- package/www/build/{p-d6d19aeb.entry.js → p-21a85d4f.entry.js} +1 -1
- package/www/build/{p-bc5e78a8.entry.js → p-24d62d5d.entry.js} +1 -1
- package/{dist/web-components-library/p-39f55fdd.entry.js → www/build/p-26286e79.entry.js} +1 -1
- package/www/build/{p-9af1322d.entry.js → p-2c836d42.entry.js} +1 -1
- package/www/build/{p-698e18cf.entry.js → p-2c8e542b.entry.js} +1 -1
- package/www/build/{p-5ed90426.entry.js → p-2d74660a.entry.js} +1 -1
- package/www/build/{p-434512c4.entry.js → p-2edeb36b.entry.js} +1 -1
- package/www/build/{p-2afdbac4.entry.js → p-32fbc96b.entry.js} +1 -1
- package/www/build/{p-2feaa8e1.entry.js → p-3371604c.entry.js} +1 -1
- package/www/build/{p-e1f1f39e.entry.js → p-3fc438b7.entry.js} +1 -1
- package/www/build/p-41b51e91.js +1 -0
- package/www/build/{p-cfebc80e.entry.js → p-41c5beec.entry.js} +1 -1
- package/www/build/{p-be40901d.entry.js → p-49fd1045.entry.js} +1 -1
- package/www/build/{p-4a1404e2.entry.js → p-4aaf3433.entry.js} +1 -1
- package/www/build/{p-4665d79f.entry.js → p-4d9667dc.entry.js} +1 -1
- package/{dist/web-components-library/p-5558c49a.entry.js → www/build/p-5590d187.entry.js} +1 -1
- package/www/build/p-5651167f.entry.js +1 -0
- package/{dist/web-components-library/p-c19e3c48.entry.js → www/build/p-5683fb4a.entry.js} +1 -1
- package/www/build/{p-ebcad010.entry.js → p-5789bbe7.entry.js} +1 -1
- package/www/build/{p-140cc18f.entry.js → p-578a5ad1.entry.js} +1 -1
- package/www/build/p-5dfad268.entry.js +1 -0
- package/www/build/{p-f113a03a.entry.js → p-5e41c6c2.entry.js} +1 -1
- package/www/build/{p-6583cbec.entry.js → p-6375f662.entry.js} +1 -1
- package/www/build/{p-0dbee434.entry.js → p-654c1830.entry.js} +1 -1
- package/www/build/{p-4c1dc891.entry.js → p-6baa8e33.entry.js} +1 -1
- package/www/build/{p-1094e4de.entry.js → p-6bb8de3e.entry.js} +1 -1
- package/www/build/{p-250926fe.entry.js → p-71e8c2af.entry.js} +1 -1
- package/www/build/{p-2805c574.entry.js → p-729a98ab.entry.js} +1 -1
- package/www/build/{p-71cc7ed0.entry.js → p-78e26102.entry.js} +1 -1
- package/{dist/web-components-library/p-b008639f.entry.js → www/build/p-7a3c0d01.entry.js} +1 -1
- package/www/build/{p-b78fb152.entry.js → p-7ebb03d8.entry.js} +1 -1
- package/www/build/{p-aa0f7169.entry.js → p-7f2fa336.entry.js} +1 -1
- package/www/build/{p-b6ad7e23.entry.js → p-83dda293.entry.js} +1 -1
- package/www/build/{p-240834e2.entry.js → p-8537e37d.entry.js} +1 -1
- package/www/build/{p-4d35157e.entry.js → p-889bcfab.entry.js} +1 -1
- package/www/build/p-88b56b6e.css +1 -0
- package/www/build/{p-8303fd88.entry.js → p-8ddeda29.entry.js} +1 -1
- package/www/build/{p-0ce6293a.entry.js → p-9260abad.entry.js} +1 -1
- package/www/build/{p-ac3bc4c2.entry.js → p-9352da73.entry.js} +1 -1
- package/www/build/{p-056f3b6a.entry.js → p-9409540b.entry.js} +1 -1
- package/www/build/{p-d4e409ba.entry.js → p-96da0513.entry.js} +1 -1
- package/www/build/p-98268a57.js +1 -0
- package/{dist/web-components-library/p-6af9e8d7.entry.js → www/build/p-98e15cf2.entry.js} +1 -1
- package/{dist/web-components-library/p-a7733104.entry.js → www/build/p-9c7cf598.entry.js} +1 -1
- package/www/build/p-9dc8fdb1.entry.js +1 -0
- package/www/build/{p-b8770504.entry.js → p-a61ee49c.entry.js} +1 -1
- package/www/build/{p-c7af96eb.entry.js → p-a759ab46.entry.js} +1 -1
- package/www/build/p-a785ff38.entry.js +1 -0
- package/www/build/p-a90d876c.entry.js +1 -0
- package/www/build/{p-db5863cf.entry.js → p-a9eea65b.entry.js} +1 -1
- package/www/build/{p-a85195a4.entry.js → p-b359a48a.entry.js} +1 -1
- package/www/build/{p-7af1b50c.entry.js → p-b48105a4.entry.js} +1 -1
- package/www/build/{p-c52df17b.entry.js → p-b68c2b06.entry.js} +1 -1
- package/www/build/{p-767c4094.entry.js → p-bc4df198.entry.js} +1 -1
- package/www/build/{p-5ff60fcd.js → p-c17b64f1.js} +1 -1
- package/www/build/{p-1c72783c.entry.js → p-c284139b.entry.js} +1 -1
- package/www/build/p-c9c7071f.entry.js +1 -0
- package/www/build/{p-cb2acc2e.entry.js → p-caa452fc.entry.js} +1 -1
- package/www/build/{p-5bbbc979.entry.js → p-cb13d050.entry.js} +1 -1
- package/{dist/web-components-library/p-778c843f.entry.js → www/build/p-cf00f379.entry.js} +1 -1
- package/{dist/web-components-library/p-fdfca9b7.entry.js → www/build/p-d39c0372.entry.js} +1 -1
- package/www/build/{p-8edb6b65.entry.js → p-d4927410.entry.js} +1 -1
- package/www/build/{p-2ea470c2.entry.js → p-d59d1090.entry.js} +1 -1
- package/www/build/p-d64c6f56.entry.js +1 -0
- package/{dist/web-components-library/p-f15ca066.entry.js → www/build/p-d97dd15a.entry.js} +1 -1
- package/www/build/{p-74fb3d69.entry.js → p-e2560604.entry.js} +1 -1
- package/www/build/p-e5602e1b.js +1 -0
- package/www/build/p-f6a11970.entry.js +1 -0
- package/www/build/{p-b9f91ea1.entry.js → p-fc2043f7.entry.js} +1 -1
- package/{dist/web-components-library/p-cd6cfb85.entry.js → www/build/p-fc5bb8d5.entry.js} +1 -1
- package/{dist/web-components-library/p-6011c261.entry.js → www/build/p-fd167bfb.entry.js} +1 -1
- package/www/build/p-febe0261.entry.js +1 -0
- 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 +1 -1
- package/www/pages/file-upload.html +236 -0
- package/CHANGELOG.md +0 -1399
- package/dist/cjs/z-heading.cjs.entry.js +0 -17
- package/dist/collection/themes/index.story.js +0 -18
- package/dist/esm/z-heading.entry.js +0 -13
- package/dist/web-components-library/p-007b2b1e.entry.js +0 -1
- package/dist/web-components-library/p-02956254.entry.js +0 -1
- package/dist/web-components-library/p-3ee697e5.entry.js +0 -1
- package/dist/web-components-library/p-483d10ba.entry.js +0 -1
- package/dist/web-components-library/p-48e0a763.entry.js +0 -1
- package/dist/web-components-library/p-904a85e4.js +0 -1
- package/dist/web-components-library/p-93c863d2.entry.js +0 -1
- package/dist/web-components-library/p-a1bb6af2.entry.js +0 -1
- package/dist/web-components-library/p-a321fe03.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-007b2b1e.entry.js +0 -1
- package/www/build/p-02956254.entry.js +0 -1
- package/www/build/p-3ee697e5.entry.js +0 -1
- package/www/build/p-41964367.js +0 -122
- package/www/build/p-483d10ba.entry.js +0 -1
- package/www/build/p-48e0a763.entry.js +0 -1
- package/www/build/p-904a85e4.js +0 -1
- package/www/build/p-93c863d2.entry.js +0 -1
- package/www/build/p-97a11655.css +0 -789
- package/www/build/p-a1bb6af2.entry.js +0 -1
- package/www/build/p-a321fe03.js +0 -1
|
@@ -666,7 +666,7 @@ export declare namespace JSXBase {
|
|
|
666
666
|
use: JSXBase.SVGAttributes;
|
|
667
667
|
view: JSXBase.SVGAttributes;
|
|
668
668
|
}
|
|
669
|
-
interface SlotAttributes {
|
|
669
|
+
interface SlotAttributes extends JSXAttributes {
|
|
670
670
|
name?: string;
|
|
671
671
|
slot?: string;
|
|
672
672
|
onSlotchange?: (event: Event) => void;
|
|
@@ -679,6 +679,7 @@ export declare namespace JSXBase {
|
|
|
679
679
|
media?: string;
|
|
680
680
|
rel?: string;
|
|
681
681
|
target?: string;
|
|
682
|
+
referrerPolicy?: ReferrerPolicy;
|
|
682
683
|
}
|
|
683
684
|
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
684
685
|
}
|
|
@@ -1166,87 +1167,87 @@ export declare namespace JSXBase {
|
|
|
1166
1167
|
unselectable?: boolean;
|
|
1167
1168
|
}
|
|
1168
1169
|
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
1169
|
-
|
|
1170
|
+
class?: string | {
|
|
1170
1171
|
[className: string]: boolean;
|
|
1171
1172
|
};
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1173
|
+
color?: string;
|
|
1174
|
+
height?: number | string;
|
|
1175
|
+
id?: string;
|
|
1176
|
+
lang?: string;
|
|
1177
|
+
max?: number | string;
|
|
1178
|
+
media?: string;
|
|
1179
|
+
method?: string;
|
|
1180
|
+
min?: number | string;
|
|
1181
|
+
name?: string;
|
|
1182
|
+
style?: {
|
|
1182
1183
|
[key: string]: string | undefined;
|
|
1183
1184
|
};
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1185
|
+
target?: string;
|
|
1186
|
+
type?: string;
|
|
1187
|
+
width?: number | string;
|
|
1188
|
+
role?: string;
|
|
1189
|
+
tabindex?: number;
|
|
1189
1190
|
'accent-height'?: number | string;
|
|
1190
|
-
|
|
1191
|
-
|
|
1191
|
+
accumulate?: 'none' | 'sum';
|
|
1192
|
+
additive?: 'replace' | 'sum';
|
|
1192
1193
|
'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1194
|
+
allowReorder?: 'no' | 'yes';
|
|
1195
|
+
alphabetic?: number | string;
|
|
1196
|
+
amplitude?: number | string;
|
|
1196
1197
|
'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1198
|
+
ascent?: number | string;
|
|
1199
|
+
attributeName?: string;
|
|
1200
|
+
attributeType?: string;
|
|
1201
|
+
autoReverse?: number | string;
|
|
1202
|
+
azimuth?: number | string;
|
|
1203
|
+
baseFrequency?: number | string;
|
|
1203
1204
|
'baseline-shift'?: number | string;
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1205
|
+
baseProfile?: number | string;
|
|
1206
|
+
bbox?: number | string;
|
|
1207
|
+
begin?: number | string;
|
|
1208
|
+
bias?: number | string;
|
|
1209
|
+
by?: number | string;
|
|
1210
|
+
calcMode?: number | string;
|
|
1210
1211
|
'cap-height'?: number | string;
|
|
1211
|
-
|
|
1212
|
+
clip?: number | string;
|
|
1212
1213
|
'clip-path'?: string;
|
|
1213
|
-
|
|
1214
|
+
clipPathUnits?: number | string;
|
|
1214
1215
|
'clip-rule'?: number | string;
|
|
1215
1216
|
'color-interpolation'?: number | string;
|
|
1216
1217
|
'color-interpolation-filters'?: 'auto' | 's-rGB' | 'linear-rGB' | 'inherit';
|
|
1217
1218
|
'color-profile'?: number | string;
|
|
1218
1219
|
'color-rendering'?: number | string;
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1220
|
+
contentScriptType?: number | string;
|
|
1221
|
+
contentStyleType?: number | string;
|
|
1222
|
+
cursor?: number | string;
|
|
1223
|
+
cx?: number | string;
|
|
1224
|
+
cy?: number | string;
|
|
1225
|
+
d?: string;
|
|
1226
|
+
decelerate?: number | string;
|
|
1227
|
+
descent?: number | string;
|
|
1228
|
+
diffuseConstant?: number | string;
|
|
1229
|
+
direction?: number | string;
|
|
1230
|
+
display?: number | string;
|
|
1231
|
+
divisor?: number | string;
|
|
1231
1232
|
'dominant-baseline'?: number | string;
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1233
|
+
dur?: number | string;
|
|
1234
|
+
dx?: number | string;
|
|
1235
|
+
dy?: number | string;
|
|
1235
1236
|
'edge-mode'?: number | string;
|
|
1236
|
-
|
|
1237
|
+
elevation?: number | string;
|
|
1237
1238
|
'enable-background'?: number | string;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1239
|
+
end?: number | string;
|
|
1240
|
+
exponent?: number | string;
|
|
1241
|
+
externalResourcesRequired?: number | string;
|
|
1242
|
+
fill?: string;
|
|
1242
1243
|
'fill-opacity'?: number | string;
|
|
1243
1244
|
'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1245
|
+
filter?: string;
|
|
1246
|
+
filterRes?: number | string;
|
|
1247
|
+
filterUnits?: number | string;
|
|
1247
1248
|
'flood-color'?: number | string;
|
|
1248
1249
|
'flood-opacity'?: number | string;
|
|
1249
|
-
|
|
1250
|
+
focusable?: number | string;
|
|
1250
1251
|
'font-family'?: string;
|
|
1251
1252
|
'font-size'?: number | string;
|
|
1252
1253
|
'font-size-adjust'?: number | string;
|
|
@@ -1254,113 +1255,113 @@ export declare namespace JSXBase {
|
|
|
1254
1255
|
'font-style'?: number | string;
|
|
1255
1256
|
'font-variant'?: number | string;
|
|
1256
1257
|
'font-weight'?: number | string;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1258
|
+
format?: number | string;
|
|
1259
|
+
from?: number | string;
|
|
1260
|
+
fx?: number | string;
|
|
1261
|
+
fy?: number | string;
|
|
1262
|
+
g1?: number | string;
|
|
1263
|
+
g2?: number | string;
|
|
1263
1264
|
'glyph-name'?: number | string;
|
|
1264
1265
|
'glyph-orientation-horizontal'?: number | string;
|
|
1265
1266
|
'glyph-orientation-vertical'?: number | string;
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1267
|
+
glyphRef?: number | string;
|
|
1268
|
+
gradientTransform?: string;
|
|
1269
|
+
gradientUnits?: string;
|
|
1270
|
+
hanging?: number | string;
|
|
1270
1271
|
'horiz-adv-x'?: number | string;
|
|
1271
1272
|
'horiz-origin-x'?: number | string;
|
|
1272
|
-
|
|
1273
|
-
|
|
1273
|
+
href?: string;
|
|
1274
|
+
ideographic?: number | string;
|
|
1274
1275
|
'image-rendering'?: number | string;
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1276
|
+
in2?: number | string;
|
|
1277
|
+
in?: string;
|
|
1278
|
+
intercept?: number | string;
|
|
1279
|
+
k1?: number | string;
|
|
1280
|
+
k2?: number | string;
|
|
1281
|
+
k3?: number | string;
|
|
1282
|
+
k4?: number | string;
|
|
1283
|
+
k?: number | string;
|
|
1284
|
+
kernelMatrix?: number | string;
|
|
1285
|
+
kernelUnitLength?: number | string;
|
|
1286
|
+
kerning?: number | string;
|
|
1287
|
+
keyPoints?: number | string;
|
|
1288
|
+
keySplines?: number | string;
|
|
1289
|
+
keyTimes?: number | string;
|
|
1290
|
+
lengthAdjust?: number | string;
|
|
1290
1291
|
'letter-spacing'?: number | string;
|
|
1291
1292
|
'lighting-color'?: number | string;
|
|
1292
|
-
|
|
1293
|
-
|
|
1293
|
+
limitingConeAngle?: number | string;
|
|
1294
|
+
local?: number | string;
|
|
1294
1295
|
'marker-end'?: string;
|
|
1295
|
-
|
|
1296
|
+
markerHeight?: number | string;
|
|
1296
1297
|
'marker-mid'?: string;
|
|
1297
1298
|
'marker-start'?: string;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1299
|
+
markerUnits?: number | string;
|
|
1300
|
+
markerWidth?: number | string;
|
|
1301
|
+
mask?: string;
|
|
1302
|
+
maskContentUnits?: number | string;
|
|
1303
|
+
maskUnits?: number | string;
|
|
1304
|
+
mathematical?: number | string;
|
|
1305
|
+
mode?: number | string;
|
|
1306
|
+
numOctaves?: number | string;
|
|
1307
|
+
offset?: number | string;
|
|
1308
|
+
opacity?: number | string;
|
|
1309
|
+
operator?: number | string;
|
|
1310
|
+
order?: number | string;
|
|
1311
|
+
orient?: number | string;
|
|
1312
|
+
orientation?: number | string;
|
|
1313
|
+
origin?: number | string;
|
|
1314
|
+
overflow?: number | string;
|
|
1314
1315
|
'overline-position'?: number | string;
|
|
1315
1316
|
'overline-thickness'?: number | string;
|
|
1316
1317
|
'paint-order'?: number | string;
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1318
|
+
panose1?: number | string;
|
|
1319
|
+
pathLength?: number | string;
|
|
1320
|
+
patternContentUnits?: string;
|
|
1321
|
+
patternTransform?: number | string;
|
|
1322
|
+
patternUnits?: string;
|
|
1322
1323
|
'pointer-events'?: number | string;
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1324
|
+
points?: string;
|
|
1325
|
+
pointsAtX?: number | string;
|
|
1326
|
+
pointsAtY?: number | string;
|
|
1327
|
+
pointsAtZ?: number | string;
|
|
1328
|
+
preserveAlpha?: number | string;
|
|
1329
|
+
preserveAspectRatio?: string;
|
|
1330
|
+
primitiveUnits?: number | string;
|
|
1331
|
+
r?: number | string;
|
|
1332
|
+
radius?: number | string;
|
|
1333
|
+
refX?: number | string;
|
|
1334
|
+
refY?: number | string;
|
|
1334
1335
|
'rendering-intent'?: number | string;
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1336
|
+
repeatCount?: number | string;
|
|
1337
|
+
repeatDur?: number | string;
|
|
1338
|
+
requiredextensions?: number | string;
|
|
1339
|
+
requiredFeatures?: number | string;
|
|
1340
|
+
restart?: number | string;
|
|
1341
|
+
result?: string;
|
|
1342
|
+
rotate?: number | string;
|
|
1343
|
+
rx?: number | string;
|
|
1344
|
+
ry?: number | string;
|
|
1345
|
+
scale?: number | string;
|
|
1346
|
+
seed?: number | string;
|
|
1346
1347
|
'shape-rendering'?: number | string;
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1348
|
+
slope?: number | string;
|
|
1349
|
+
spacing?: number | string;
|
|
1350
|
+
specularConstant?: number | string;
|
|
1351
|
+
specularExponent?: number | string;
|
|
1352
|
+
speed?: number | string;
|
|
1353
|
+
spreadMethod?: string;
|
|
1354
|
+
startOffset?: number | string;
|
|
1355
|
+
stdDeviation?: number | string;
|
|
1356
|
+
stemh?: number | string;
|
|
1357
|
+
stemv?: number | string;
|
|
1358
|
+
stitchTiles?: number | string;
|
|
1358
1359
|
'stop-color'?: string;
|
|
1359
1360
|
'stop-opacity'?: number | string;
|
|
1360
1361
|
'strikethrough-position'?: number | string;
|
|
1361
1362
|
'strikethrough-thickness'?: number | string;
|
|
1362
|
-
|
|
1363
|
-
|
|
1363
|
+
string?: number | string;
|
|
1364
|
+
stroke?: string;
|
|
1364
1365
|
'stroke-dasharray'?: string | number;
|
|
1365
1366
|
'stroke-dashoffset'?: string | number;
|
|
1366
1367
|
'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
|
|
@@ -1368,67 +1369,65 @@ export declare namespace JSXBase {
|
|
|
1368
1369
|
'stroke-miterlimit'?: string;
|
|
1369
1370
|
'stroke-opacity'?: number | string;
|
|
1370
1371
|
'stroke-width'?: number | string;
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1372
|
+
surfaceScale?: number | string;
|
|
1373
|
+
systemLanguage?: number | string;
|
|
1374
|
+
tableValues?: number | string;
|
|
1375
|
+
targetX?: number | string;
|
|
1376
|
+
targetY?: number | string;
|
|
1376
1377
|
'text-anchor'?: string;
|
|
1377
1378
|
'text-decoration'?: number | string;
|
|
1378
|
-
|
|
1379
|
+
textLength?: number | string;
|
|
1379
1380
|
'text-rendering'?: number | string;
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1381
|
+
to?: number | string;
|
|
1382
|
+
transform?: string;
|
|
1383
|
+
u1?: number | string;
|
|
1384
|
+
u2?: number | string;
|
|
1384
1385
|
'underline-position'?: number | string;
|
|
1385
1386
|
'underline-thickness'?: number | string;
|
|
1386
|
-
|
|
1387
|
+
unicode?: number | string;
|
|
1387
1388
|
'unicode-bidi'?: number | string;
|
|
1388
1389
|
'unicode-range'?: number | string;
|
|
1389
1390
|
'units-per-em'?: number | string;
|
|
1390
1391
|
'v-alphabetic'?: number | string;
|
|
1391
|
-
|
|
1392
|
+
values?: string;
|
|
1392
1393
|
'vector-effect'?: number | string;
|
|
1393
|
-
|
|
1394
|
+
version?: string;
|
|
1394
1395
|
'vert-adv-y'?: number | string;
|
|
1395
1396
|
'vert-origin-x'?: number | string;
|
|
1396
1397
|
'vert-origin-y'?: number | string;
|
|
1397
1398
|
'v-hanging'?: number | string;
|
|
1398
1399
|
'v-ideographic'?: number | string;
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1400
|
+
viewBox?: string;
|
|
1401
|
+
viewTarget?: number | string;
|
|
1402
|
+
visibility?: number | string;
|
|
1402
1403
|
'v-mathematical'?: number | string;
|
|
1403
|
-
|
|
1404
|
+
widths?: number | string;
|
|
1404
1405
|
'word-spacing'?: number | string;
|
|
1405
1406
|
'writing-mode'?: number | string;
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1407
|
+
x1?: number | string;
|
|
1408
|
+
x2?: number | string;
|
|
1409
|
+
x?: number | string;
|
|
1409
1410
|
'x-channel-selector'?: string;
|
|
1410
1411
|
'x-height'?: number | string;
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1412
|
+
xlinkActuate?: string;
|
|
1413
|
+
xlinkArcrole?: string;
|
|
1414
|
+
xlinkHref?: string;
|
|
1415
|
+
xlinkRole?: string;
|
|
1416
|
+
xlinkShow?: string;
|
|
1417
|
+
xlinkTitle?: string;
|
|
1418
|
+
xlinkType?: string;
|
|
1419
|
+
xmlBase?: string;
|
|
1420
|
+
xmlLang?: string;
|
|
1421
|
+
xmlns?: string;
|
|
1422
|
+
xmlSpace?: string;
|
|
1423
|
+
y1?: number | string;
|
|
1424
|
+
y2?: number | string;
|
|
1425
|
+
y?: number | string;
|
|
1426
|
+
yChannelSelector?: string;
|
|
1427
|
+
z?: number | string;
|
|
1428
|
+
zoomAndPan?: string;
|
|
1428
1429
|
}
|
|
1429
|
-
interface DOMAttributes<T
|
|
1430
|
-
key?: string | number;
|
|
1431
|
-
ref?: (elm?: T) => void;
|
|
1430
|
+
interface DOMAttributes<T> extends JSXAttributes<T> {
|
|
1432
1431
|
slot?: string;
|
|
1433
1432
|
part?: string;
|
|
1434
1433
|
exportparts?: string;
|
|
@@ -1549,6 +1548,10 @@ export declare namespace JSXBase {
|
|
|
1549
1548
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1550
1549
|
}
|
|
1551
1550
|
}
|
|
1551
|
+
export interface JSXAttributes<T = Element> {
|
|
1552
|
+
key?: string | number;
|
|
1553
|
+
ref?: (elm?: T) => void;
|
|
1554
|
+
}
|
|
1552
1555
|
export interface CustomElementsDefineOptions {
|
|
1553
1556
|
exclude?: string[];
|
|
1554
1557
|
resourcesUrl?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o}from"./p-
|
|
1
|
+
import{c as o}from"./p-c17b64f1.js";import"./p-e5602e1b.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r,h as o}from"./p-
|
|
1
|
+
import{r as t,c as r,h as o}from"./p-98268a57.js";const i=class{constructor(o){t(this,o),this.toggleClick=r(this,"toggleClick",7),this.isdisabled=!1,this.opened=!1}emitToggleClick(){this.isdisabled||(this.opened=!this.opened,this.toggleClick.emit(this.opened))}retrieveButtonClass(){let t=this.opened&&"isopen";return this.avoidclick&&(t+=" avoid-clicks"),t}render(){return o("button",{tabindex:this.avoidclick?"-1":"0",class:this.retrieveButtonClass(),disabled:this.isdisabled,onClick:()=>this.emitToggleClick()},o("z-icon",{name:this.opened?"chevron-down":"chevron-up",width:16,height:16}),this.label)}};i.style="button{font-family:var(--dashboard-font);font-weight:var(--font-sb);height:36px;border:var(--border-size-medium) solid;border-color:transparent;border-radius:var(--border-radius);color:var(--myz-blue);fill:var(--myz-blue);background-color:var(--bg-white);box-shadow:0px 0px 4px 0px rgba(0, 0, 0, 0.2);text-transform:uppercase;font-size:14px;outline:none;padding-left:0px;padding-right:calc(var(--space-unit) * 2);transition:all 200ms linear;cursor:pointer}button::-moz-focus-inner{border:0}button:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}button:focus{border-color:var(--myz-blue);color:var(--myz-blue);fill:var(--myz-blue);box-shadow:0px 0px 2px 2px var(--accent-dark)}button:active{border-color:var(--myz-blue-light);color:var(--myz-blue-light);fill:var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}button:disabled{color:var(--text-grey-700);fill:var(--text-grey-700)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";export{i as z_toggle_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as r,H as o}from"./p-
|
|
1
|
+
import{r as i,c as t,h as r,H as o}from"./p-98268a57.js";import{m as e}from"./p-d69e14fb.js";const n=class{constructor(r){i(this,r),this.userButtonClick=t(this,"userButtonClick",7),this.dropdownMenuLinkClick=t(this,"dropdownMenuLinkClick",7),this.useInverseColors=!1,this.isMenuOpen=!1,this.handleLoggedButtonClick=this.handleLoggedButtonClick.bind(this),this.emitDropdownMenuLinkClick=this.emitDropdownMenuLinkClick.bind(this)}componentDidLoad(){this.setMobileAndDivToResizeWidth()}componentWillUpdate(){this.setMobileAndDivToResizeWidth()}componentWillRender(){this.menuContent&&(this.linkArray="string"==typeof this.menuContent?JSON.parse(this.menuContent):this.menuContent)}setMobileAndDivToResizeWidth(){var i;this.divToResize&&(this.isMobile=window.screen.width<=e||window.innerWidth<=e,this.logged&&!this.isMobile&&this.isMenuOpen?this.divToResize.style.width=`${null===(i=this.userButton)||void 0===i?void 0:i.offsetWidth}px`:this.divToResize.removeAttribute("style"))}emitUserButtonClick(){this.userButtonClick.emit(this.isMenuOpen)}emitDropdownMenuLinkClick(i){this.isMenuOpen=!1,this.dropdownMenuLinkClick.emit({e:i,linkId:i.detail.linkId})}handleResize(){this.isMobile=window.innerWidth<=e}handleOrientationChange(){this.isMobile=screen.width<=e}handleClickOutside(i){"Z-USER-DROPDOWN"!==i.target.nodeName&&(this.isMenuOpen=!1)}handleLoggedButtonClick(){this.isMenuOpen=!this.isMenuOpen,this.emitUserButtonClick()}renderGuestButton(){return r("button",{id:"guestbutton",class:this.useInverseColors?"inverse":"",onClick:()=>this.emitUserButtonClick()},"ENTRA")}renderLoggedButton(){const i=this.isMenuOpen?"up":"down",t=this.useInverseColors?"inverse":"";return r("button",{ref:i=>this.userButton=i,title:this.userFullName,class:`${t} ${this.isMenuOpen?"open":""}`,onClick:this.handleLoggedButtonClick},r("div",null,r("div",{class:"firstline"},r("z-icon",{class:t,name:"user-avatar-filled",height:16,width:16}),!this.isMobile&&r("div",{class:`userfullname ${t}`},this.userFullName),r("z-icon",{class:t,name:`caret-${i}-filled`,height:16,width:16})),!this.isMobile&&this.isMenuOpen&&r("div",{class:`useremail ${t}`},this.userEmail)))}getZLinkTextcolor(){return this.isMobile?this.useInverseColors?"black":"white":this.useInverseColors?"white":"black"}renderDropdownMenu(){const i=this.useInverseColors?"inverse":"";return this.isMenuOpen&&r("ul",{class:i},this.isMobile&&r("li",{class:i},r("div",{class:`userfullname ${i}`},this.userFullName),r("div",{class:`useremail ${i}`},this.userEmail)),this.linkArray&&this.linkArray.map((t=>r("li",{id:t.id,class:i},r("z-link",{textcolor:this.getZLinkTextcolor(),href:t.link,htmlid:t.id,target:t.target,icon:t.icon,onZLinkClick:this.emitDropdownMenuLinkClick},t.label)))))}render(){const i=this.logged&&this.isMenuOpen?"open":"",t=this.useInverseColors?"inverse":"";return r(o,{class:t},r("div",{ref:i=>this.divToResize=i,class:i},r("div",{class:`${t} ${i}`},this.logged?this.renderLoggedButton():this.renderGuestButton(),this.logged&&this.renderDropdownMenu())))}};n.style=":host{background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}button{cursor:pointer;display:flex;flex-direction:column;width:100%;margin:0;background-color:var(--gray900);border:none;padding:0;letter-spacing:0.16px;white-space:nowrap}button.inverse{background-color:var(--color-white)}button div.firstline{display:flex;justify-content:flex-end;align-items:center;max-width:200px}button.open div.firstline{max-width:none}z-icon{padding:0 2px;fill:var(--color-white)}z-icon.inverse{fill:var(--gray900)}ul{box-sizing:border-box;position:absolute;left:0;padding:calc(var(--space-unit) / 2) calc(var(--space-unit) * 2) 0 calc(var(--space-unit) * 2);width:100%;margin:calc(var(--space-unit) * 1.5) 0 0 0;background-color:var(--gray900);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.3px}ul.inverse{background-color:var(--color-white)}ul>li{display:flex;justify-content:flex-end;white-space:nowrap;padding:calc(var(--space-unit) * 1.5 - 1px) 0;margin:0;border-bottom:var(--border-base) solid var(--gray700)}ul>li.inverse{border-bottom-color:var(--gray400)}ul>li:first-child{border-top:none;padding-top:0;padding-bottom:calc(var(--space-unit) + 6px);flex-direction:column;align-items:end}ul>li:last-child{border-bottom:none;margin-bottom:0}#guestbutton{box-sizing:border-box;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;width:100%;font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:1;letter-spacing:0.3px;border-width:var(--border-size-medium);border-style:solid;border-radius:var(--border-radius);vertical-align:middle;text-transform:uppercase;text-decoration:none;cursor:pointer;outline:none;fill:currentColor;height:32px;min-width:32px;padding:0 calc(var(--space-unit) * 2);background-color:var(--color-white);border-color:var(--color-white);color:var(--gray800)}#guestbutton.inverse{background-color:var(--gray800);border-color:var(--gray800);color:var(--color-white)}.userfullname{padding:0;overflow:hidden;max-width:250px;text-overflow:ellipsis;width:100%;color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:16px;line-height:24px;letter-spacing:0;text-align:right}.userfullname.inverse{color:var(--gray800)}.useremail{color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:12px;line-height:16px;letter-spacing:0.32px;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:right}.useremail.inverse{color:var(--gray800)}@media only screen and (min-width: 768px){:host{height:calc(var(--space-unit) * 4);background-color:var(--gray900)}:host(.inverse){background-color:var(--color-white)}:host>div{position:relative;top:50%;transform:translateY(-50%)}:host>div.open{top:auto;transform:none}:host>div>div{padding:0}:host>div>div.open{position:absolute;right:calc(var(--space-unit) * -1);box-shadow:0px 2px calc(var(--space-unit) * .5) 0px rgba(0, 0, 0, 0.5);background-color:var(--color-white);margin-top:calc(var(--space-unit) / 2);padding:calc(var(--space-unit) / 2 + 1px) var(--space-unit) 0 var(--space-unit);transform:translate(0, -4px)}:host>div>div.inverse.open{background-color:var(--gray800)}button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:end;align-content:center}button.open{background-color:var(--color-white);border-top:var(--border-size-small) solid var(--color-white);border-top-left-radius:calc(var(--space-unit) * .5);border-top-right-radius:calc(var(--space-unit) * .5);max-width:initial;margin-left:var(--space-unit);padding-right:var(--space-unit)}button.open.inverse{border-top-color:var(--gray800);background-color:var(--gray800)}button:not(.open) z-icon{fill:var(--color-white)}button:not(.open) z-icon.inverse{fill:var(--gray800)}button.open z-icon{fill:var(--gray800)}button.open z-icon.inverse{fill:var(--color-white)}.userfullname{font-family:var(--font-family-sans);font-weight:var(--font-sb);font-size:14px;line-height:20px;letter-spacing:0.16px;padding:0 calc(var(--space-unit) - 6px) 0 calc(var(--space-unit) - 2px);width:auto}.userfullname.inverse{color:var(--gray800)}button.open div.userfullname{color:var(--gray800);max-width:none;text-overflow:clip}button.open div.userfullname.inverse{color:var(--color-white)}.useremail{padding-right:calc(var(--space-unit) * 3 - 2px);box-sizing:border-box}button.open div.useremail{color:var(--gray800)}button.open div.useremail.inverse{color:var(--color-white)}ul{position:initial;left:initial;padding:0;width:100%;background-color:var(--color-white)}ul.inverse{border-bottom-color:var(--gray800);background-color:var(--gray800)}ul>li{color:var(--gray800);border-bottom:var(--border-base) solid var(--gray400);margin:0 var(--space-unit)}ul>li.inverse{color:var(--color-white)}ul>li:first-child{border-top:var(--border-base) solid var(--gray400);padding-top:calc(var(--space-unit) + 3px);padding-bottom:calc(var(--space-unit) + 5px)}}";export{n as z_user_dropdown}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,g as t}from"./p-
|
|
1
|
+
import{r as o,h as r,g as t}from"./p-98268a57.js";const a=class{constructor(r){o(this,r)}componentWillRender(){this.host.setAttribute("role","rowgroup"),Array.from(this.host.children).forEach(((o,r)=>o.setAttribute("aria-rowindex",`${r}`)))}render(){return r("slot",null)}get host(){return t(this)}};a.style=".sc-z-table-body-h{display:table-row-group;font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-table-body-h>z-table-row[expanded].sc-z-table-body+z-table-expanded-row.sc-z-table-body{display:table-row}";export{a as z_table_body}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as l}from"./p-
|
|
1
|
+
import{r as e,c as t,h as a,H as l}from"./p-98268a57.js";import{o as d}from"./p-e5602e1b.js";const r=class{constructor(a){e(this,a),this.expand=t(this,"expand",7),this.expandedType=d.none,this.expanded=!1}emitOnExpand(){this.expand.emit({expanded:this.expanded})}handleExpand(){this.expanded=!this.expanded,this.emitOnExpand()}renderExpandButton(){return a("z-table-cell",{style:{borderRight:"none"}},this.expandedType==d.expandable?a("z-icon",{name:this.expanded?"minus-circled":"plus-circled"}):a("div",{class:"z-icon-placeholder"}))}render(){return a(l,{role:"row",expanded:this.expanded,onClick:e=>{this.expandedType===d.expandable&&"Z-CONTEXTUAL-MENU"!==e.target.nodeName&&this.handleExpand()}},this.expandedType!==d.none&&this.renderExpandButton(),a("slot",null))}};r.style='z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type="expandable"]:hover{cursor:pointer}z-table-row[expanded-type="expandable"]>z-table-cell:first-child,z-table-row[expanded-type="padding"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type="expandable"]>z-table-cell:nth-child(2),z-table-row[expanded-type="padding"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}';export{r as z_table_row}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as a,g as o}from"./p-
|
|
1
|
+
import{r as t,h as i,H as a,g as o}from"./p-98268a57.js";import{m as e,n as s}from"./p-e5602e1b.js";const r=class{constructor(i){t(this,i),this.orientation=e.horizontal,this.size=s.big,this.direction=this.orientation==e.vertical?"Top":"Left",this.dimension=this.orientation==e.vertical?"Height":"Width"}setChildrenSize(){const t=this.host.children;for(let i=0;i<t.length;i++)t[i].setAttribute("size",this.size)}setChildrenOrientation(){const t=this.host.children;for(let i=0;i<t.length;i++)t[i].setAttribute("orientation",this.orientation)}checkScrollVisible(){this.tabsNav&&(this.canNavigate=this.tabsNav[`scroll${this.dimension}`]>this.tabsNav[`client${this.dimension}`],this.checkScrollEnabled())}checkScrollEnabled(){this.tabsNav&&(this.canNavigateNext=this.tabsNav[`scroll${this.direction}`]+this.tabsNav[`client${this.dimension}`]<this.tabsNav[`scroll${this.dimension}`],this.canNavigatePrev=this.tabsNav[`scroll${this.direction}`]>0)}selectedTabHandler(t){this.select(t.target)}select(t){const i=this.host.children;for(let a=0;a<i.length;a++){const o=i[a];"Z-NAVIGATION-TAB"===o.tagName&&o!==t&&(o.selected=!1)}}navigatePrevious(){this.tabsNav.scrollBy({[this.direction.toLowerCase()]:0-this.tabsNav[`client${this.dimension}`]/2,behavior:"smooth"})}navigateNext(){this.tabsNav.scrollBy({[this.direction.toLowerCase()]:this.tabsNav.scrollTop+this.tabsNav[`client${this.dimension}`]/2,behavior:"smooth"})}componentDidLoad(){this.setChildrenSize(),this.setChildrenOrientation(),this.checkScrollVisible()}render(){return i(a,{class:{"interactive-2":"small"===this.size,"interactive-1":"small"!==this.size},scrollable:this.canNavigate},this.canNavigate&&i("button",{class:"navigation",onClick:()=>this.navigatePrevious(),tabindex:"-1",disabled:!this.canNavigatePrev},i("z-icon",{name:"horizontal"==this.orientation?"chevron-left":"chevron-up",width:16,height:16})),i("nav",{role:"tablist",ref:t=>this.tabsNav=null!=t?t:this.tabsNav,onScroll:this.checkScrollEnabled.bind(this)},i("slot",null)),this.canNavigate&&i("button",{class:"navigation",onClick:()=>{this.navigateNext()},tabindex:"-1",disabled:!this.canNavigateNext},i("z-icon",{name:"horizontal"==this.orientation?"chevron-right":"chevron-down",width:16,height:16})))}get host(){return o(this)}static get watchers(){return{size:["setChildrenSize"],orientation:["setChildrenOrientation"],direction:["checkScrollEnabled"],dimension:["checkScrollEnabled"]}}};r.style=":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}button.navigation{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1}button.navigation:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}button.navigation:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);scroll-padding:var(--safe-scroll-area);scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) button.navigation{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) button.navigation:first-child{left:0;padding-left:var(--safe-scroll-area);box-shadow:5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='horizontal']) button.navigation:last-child{right:0;padding-right:4px;box-shadow:-5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']){flex-direction:column}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) button.navigation{left:0;width:100%;height:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='vertical']) button.navigation:first-child{top:0;padding-top:var(--safe-scroll-area);box-shadow:0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']) button.navigation:last-child{bottom:0;padding-bottom:var(--safe-scroll-area);box-shadow:0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([size='small'][orientation='vertical']) button.navigation{height:calc(var(--space-unit) * 4)}";export{r as z_navigation_tabs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as
|
|
1
|
+
import{r as t,c as i,h as e,H as s,g as a}from"./p-98268a57.js";import{p as n}from"./p-e5602e1b.js";import{m as r}from"./p-d69e14fb.js";import{h as o}from"./p-1d371408.js";import"./p-b68038b5.js";const l=class{constructor(e){t(this,e),this.toastClose=i(this,"toastClose",7),this.pauseonfocusloss=!0,this.isdraggable=!0,this.draggablepercentage=80,this.isCloseEventCalled=!1,this.visibilityChangeEventHandler=()=>{"hidden"===document.visibilityState?this.timeoutHandle&&this.onBlur():this.elapsedTime&&this.onFocus()}}watchPropIsdraggable(t){t?this.sliderManager.get("pan").set({enable:!0}):this.sliderManager.get("pan").set({enable:!1})}watchPropAutoclose(t){clearTimeout(this.timeoutHandle),this.startClosingTimeout(t)}watchPropPauseonfocusloss(t){this.autoclose&&(t?document.addEventListener("visibilitychange",this.visibilityChangeEventHandler):document.removeEventListener("visibilitychange",this.visibilityChangeEventHandler))}emitToastClose(t){this.timeoutHandle=null,this.elapsedTime=null,this.hostElement.classList.add(t),this.toastClose.emit()}componentWillLoad(){this.isMobile=window.innerWidth<=r,this.validateAutoclose()}componentDidLoad(){this.isTextLong=this.detectWrap()||this.toastText.offsetHeight>20,this.startTime=Date.now(),this.autoclose&&this.pauseonfocusloss&&document.addEventListener("visibilitychange",this.visibilityChangeEventHandler),this.isdraggable&&this.handleSlideOutDragAnimation(),this.percentage=0}validateAutoclose(){this.autoclose||this.closebutton||console.error("At least one between autoclose and closebutton must be present")}mapSlideOutClass(){switch(this.transition){case n.slideInDown:return n.slideOutUp;case n.slideInUp:return n.slideOutDown;case n.slideInLeft:return n.slideOutRight;case n.slideInRight:return n.slideOutLeft}}calculateDraggedPercentage(t){const i=this.hostElement.getBoundingClientRect();return Math.round(100*t.deltaX/i.width)}handleSlideOutDragAnimation(){this.sliderManager=new o(this.hostElement),this.sliderManager.get("pan").set({direction:o.DIRECTION_HORIZONTAL}),this.sliderManager.on("pan",(t=>{this.percentage=this.calculateDraggedPercentage(t),this.hostElement.style.transition="none",this.hostElement.classList.remove(this.transition);const i={translate:"translateX( "+this.percentage+"% )",translateBack:"translateX(0)"};this.hostElement.style.opacity=100-Math.abs(this.percentage)+"%",t.eventType!==o.DIRECTION_LEFT&&t.eventType!==o.DIRECTION_RIGHT||(this.hostElement.style.transform=i.translate,Math.abs(this.percentage)>this.draggablepercentage&&!this.isCloseEventCalled&&(this.isCloseEventCalled=!0,this.emitToastClose(t.direction===o.DIRECTION_LEFT?"slide-out-left":"slide-out-right"))),t.isFinal&&Math.abs(this.percentage)<this.draggablepercentage&&(this.hostElement.style.transform=i.translateBack,this.hostElement.style.transition="all 1s",this.hostElement.style.opacity="100%",this.percentage=0)}))}onFocus(){let t;t=this.autoclose,this.elapsedTime&&(t=this.autoclose-this.elapsedTime),t>0&&this.startClosingTimeout(t)}onBlur(){this.elapsedTime=Date.now()-this.startTime,clearTimeout(this.timeoutHandle)}startClosingTimeout(t){this.timeoutHandle=setTimeout((()=>this.emitToastClose(this.mapSlideOutClass())),t)}detectWrap(){const t=this.container.offsetWidth,i=this.container.children;let e=0;for(let t=0;t<i.length;t++)e+=i[t].offsetWidth;return e>t}renderText(){return e("div",{id:"text",ref:t=>this.toastText=t},e("span",{class:"title"},this.heading),e("span",{class:"message"},this.message))}renderButton(){return e("div",{id:"button"},e("slot",{name:"button"}))}renderCloseIcon(){return this.closebutton&&e("div",{id:"icon"},e("z-icon",{tabIndex:0,name:"multiply-circled",width:15,height:15,onClick:()=>this.emitToastClose(this.mapSlideOutClass()),onKeyPress:t=>{32!=t.keyCode&&13!=t.keyCode||(t.preventDefault(),this.emitToastClose(this.mapSlideOutClass()))}}))}renderContainer(){return e("div",{tabIndex:0,id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong},ref:t=>this.container=t},this.renderText(),this.renderButton(),this.renderCloseIcon())}renderMobileContainer(){return e("div",{id:"external-container",class:{[this.type]:!!this.type,"several-lines-padding":this.isTextLong,"mobile-wrapped":this.isTextLong}},e("div",{id:"flex-container",ref:t=>this.container=t},this.renderText(),this.renderButton()),this.renderCloseIcon())}render(){return e(s,{style:{"--percentuale":`${this.percentage}%`},class:this.transition?this.transition:n.slideInDown,onAnimationEnd:t=>{this.autoclose&&t.animationName.includes("slidein")&&this.startClosingTimeout(this.autoclose),t.animationName.includes("slideout")&&this.hostElement.parentNode.removeChild(this.hostElement)}},this.isMobile?this.renderMobileContainer():this.renderContainer())}get hostElement(){return a(this)}static get watchers(){return{isdraggable:["watchPropIsdraggable"],autoclose:["watchPropAutoclose"],pauseonfocusloss:["watchPropPauseonfocusloss"]}}};l.style=":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";export{l as z_toast_notification}
|