@zanichelli/albe-web-components 14.5.1 → 14.5.2-rc-anchor-navigation
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/.storybook/elements/args-controls.js +78 -0
- package/dist/.storybook/elements/args-controls.js.map +1 -0
- package/dist/.storybook/elements/docs-template.js +11 -0
- package/dist/.storybook/elements/docs-template.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/breakpoints-5c22092a.js.map +1 -1
- package/dist/cjs/index-19279b08.js +20 -0
- package/dist/cjs/index-19279b08.js.map +1 -0
- package/dist/cjs/index-1ebcef6a.js +46 -0
- package/dist/cjs/index-1ebcef6a.js.map +1 -0
- package/dist/cjs/index-42d4c304.js +65 -0
- package/dist/cjs/index-42d4c304.js.map +1 -0
- package/dist/cjs/index-5dc4a8de.js +2211 -0
- package/dist/cjs/index-5dc4a8de.js.map +1 -0
- package/dist/cjs/index-94f7957c.js +21 -0
- package/dist/cjs/index-94f7957c.js.map +1 -0
- package/dist/cjs/index-be1c71c6.js +59 -0
- package/dist/cjs/index-be1c71c6.js.map +1 -0
- package/dist/cjs/index-f31d0e66.js +21 -0
- package/dist/cjs/index-f31d0e66.js.map +1 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/utils-2b313a8e.js.map +1 -1
- package/dist/cjs/utils-d0b10736.js.map +1 -1
- package/dist/cjs/web-components-library.cjs.js +32 -32
- package/dist/cjs/web-components-library.cjs.js.map +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +3 -3
- package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +14 -9
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +40 -31
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +3 -3
- package/dist/cjs/z-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
- package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js.map +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/cjs/z-info-box.cjs.entry.js +2 -2
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
- package/dist/cjs/z-messages-pocket.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +2 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +6 -6
- package/dist/cjs/z-pocket_3.cjs.entry.js.map +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js.map +1 -1
- package/dist/cjs/z-select.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js.map +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/z-table.cjs.entry.js +8 -8
- package/dist/cjs/z-table.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +4 -4
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +34 -34
- package/dist/collection/components/css-components/z-fab/index.stories.js +104 -0
- package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-link/index.stories.js +75 -0
- package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/utils.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +100 -0
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.js +4 -4
- package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +110 -0
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.spec.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.stories.js +17 -0
- package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +2 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +95 -0
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +1 -1
- package/dist/collection/components/index.js.map +1 -1
- package/dist/collection/components/list/z-list/index.js +4 -4
- package/dist/collection/components/list/z-list/index.js.map +1 -1
- package/dist/collection/components/list/z-list/index.spec.js.map +1 -1
- package/dist/collection/components/list/z-list/index.stories.js +185 -0
- package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-element/index.js +3 -3
- package/dist/collection/components/list/z-list-element/index.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.spec.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.stories.js +128 -0
- package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-group/index.js +3 -3
- package/dist/collection/components/list/z-list-group/index.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.spec.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.stories.js +118 -0
- package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
- package/dist/collection/components/table/z-table/index.js +3 -3
- package/dist/collection/components/table/z-table/index.js.map +1 -1
- package/dist/collection/components/table/z-table/index.stories.js +262 -0
- package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js.map +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js.map +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js.map +1 -1
- package/dist/collection/components/z-accordion/index.js +2 -2
- package/dist/collection/components/z-accordion/index.js.map +1 -1
- package/dist/collection/components/z-accordion/index.stories.js +165 -0
- package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
- package/dist/collection/components/z-accordion/styles.css +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +32 -9
- package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
- package/dist/collection/components/z-anchor-navigation/index.stories.js +332 -0
- package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
- package/dist/collection/components/z-anchor-navigation/styles.css +22 -34
- package/dist/collection/components/z-app-header/index.js +420 -0
- package/dist/collection/components/z-app-header/index.js.map +1 -0
- package/dist/collection/components/z-app-header/index.spec.js.map +1 -0
- package/dist/collection/components/z-app-header/index.stories.js +635 -0
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
- package/dist/collection/components/z-aria-alert/index.js +2 -2
- package/dist/collection/components/z-aria-alert/index.js.map +1 -1
- package/dist/collection/components/z-aria-alert/index.spec.js.map +1 -1
- package/dist/collection/components/z-aria-alert/index.stories.js +76 -0
- package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
- package/dist/collection/components/z-avatar/index.js +3 -3
- package/dist/collection/components/z-avatar/index.js.map +1 -1
- package/dist/collection/components/z-avatar/index.spec.js.map +1 -1
- package/dist/collection/components/z-avatar/index.stories.js +51 -0
- package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
- package/dist/collection/components/z-book-card/index.js +1 -1
- package/dist/collection/components/z-book-card/index.js.map +1 -1
- package/dist/collection/components/z-book-card/index.spec.js.map +1 -1
- package/dist/collection/components/z-book-card/index.stories.js +397 -0
- package/dist/collection/components/z-book-card/index.stories.js.map +1 -0
- package/dist/collection/components/z-breadcrumb/index.js +3 -3
- package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.spec.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.stories.js +68 -0
- package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
- package/dist/collection/components/z-button/index.js +269 -0
- package/dist/collection/components/z-button/index.js.map +1 -0
- package/dist/collection/components/z-button/index.spec.js +101 -0
- package/dist/collection/components/z-button/index.spec.js.map +1 -0
- package/dist/collection/components/z-button/index.stories.js +90 -0
- package/dist/collection/components/z-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.js +221 -0
- package/dist/collection/components/z-button-sort/index.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.spec.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.stories.js +31 -0
- package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
- package/dist/collection/components/z-button-sort/test.e2e.js.map +1 -0
- package/dist/collection/components/z-card/index.js +1 -1
- package/dist/collection/components/z-card/index.js.map +1 -1
- package/dist/collection/components/z-card/index.spec.js.map +1 -1
- package/dist/collection/components/z-card/index.stories.js +292 -0
- package/dist/collection/components/z-card/index.stories.js.map +1 -0
- package/dist/collection/components/z-carousel/index.js +2 -2
- package/dist/collection/components/z-carousel/index.js.map +1 -1
- package/dist/collection/components/z-carousel/index.stories.js +129 -0
- package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
- package/dist/collection/components/z-chip/index.js +148 -0
- package/dist/collection/components/z-chip/index.js.map +1 -0
- package/dist/collection/components/z-chip/index.spec.js.map +1 -0
- package/dist/collection/components/z-chip/index.stories.js +70 -0
- package/dist/collection/components/z-chip/index.stories.js.map +1 -0
- package/dist/collection/components/z-combobox/index.js +643 -0
- package/dist/collection/components/z-combobox/index.js.map +1 -0
- package/dist/collection/components/z-combobox/index.spec.js.map +1 -0
- package/dist/collection/components/z-combobox/index.stories.js +78 -0
- package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
- package/dist/collection/components/z-cover-hero/index.js +4 -4
- package/dist/collection/components/z-cover-hero/index.js.map +1 -1
- package/dist/collection/components/z-cover-hero/index.stories.js +256 -0
- package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
- package/dist/collection/components/z-divider/index.js +3 -3
- package/dist/collection/components/z-divider/index.js.map +1 -1
- package/dist/collection/components/z-divider/index.spec.js.map +1 -1
- package/dist/collection/components/z-divider/index.stories.js +45 -0
- package/dist/collection/components/z-divider/index.stories.js.map +1 -0
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
- package/dist/collection/components/z-ghost-loading/index.spec.js.map +1 -1
- package/dist/collection/components/z-ghost-loading/index.stories.js +22 -0
- package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
- package/dist/collection/components/z-icon/index.js +122 -0
- package/dist/collection/components/z-icon/index.js.map +1 -0
- package/dist/collection/components/z-icon/index.spec.js +96 -0
- package/dist/collection/components/z-icon/index.spec.js.map +1 -0
- package/dist/collection/components/z-icon/index.stories.js +30 -0
- package/dist/collection/components/z-icon/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-box/index.js +86 -0
- package/dist/collection/components/z-info-box/index.js.map +1 -0
- package/dist/collection/components/z-info-box/index.spec.js.map +1 -0
- package/dist/collection/components/z-info-box/index.stories.js +20 -0
- package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-reveal/index.js +2 -2
- package/dist/collection/components/z-info-reveal/index.js.map +1 -1
- package/dist/collection/components/z-info-reveal/index.stories.js +59 -0
- package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/index.js +959 -0
- package/dist/collection/components/z-input/index.js.map +1 -0
- package/dist/collection/components/z-input/index.stories.js +294 -0
- package/dist/collection/components/z-input/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/styles-checkbox-radio.css +123 -0
- package/dist/collection/components/z-input/styles-general.css +154 -0
- package/dist/collection/components/z-input/styles-text.css +81 -0
- package/dist/collection/components/z-input/styles-textarea.css +35 -0
- package/dist/collection/components/z-input/test-checkbox.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-methods.spec.js +13 -0
- package/dist/collection/components/z-input/test-methods.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-radio.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-text.spec.js +347 -0
- package/dist/collection/components/z-input/test-text.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-textarea.spec.js.map +1 -0
- package/dist/collection/components/z-input/test.e2e.js +180 -0
- package/dist/collection/components/z-input/test.e2e.js.map +1 -0
- package/dist/collection/components/z-input-message/index.js +93 -0
- package/dist/collection/components/z-input-message/index.js.map +1 -0
- package/dist/collection/components/z-input-message/index.spec.js.map +1 -0
- package/dist/collection/components/z-input-message/index.stories.js +37 -0
- package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
- package/dist/collection/components/z-logo/index.js +140 -0
- package/dist/collection/components/z-logo/index.js.map +1 -0
- package/dist/collection/components/z-logo/index.spec.js.map +1 -0
- package/dist/collection/components/z-logo/index.stories.js +26 -0
- package/dist/collection/components/z-logo/index.stories.js.map +1 -0
- package/dist/collection/components/z-logo/test.e2e.js.map +1 -0
- package/dist/collection/components/z-menu/index.js +244 -0
- package/dist/collection/components/z-menu/index.js.map +1 -0
- package/dist/collection/components/z-menu/index.spec.js.map +1 -0
- package/dist/collection/components/z-menu/index.stories.js +129 -0
- package/dist/collection/components/z-menu/index.stories.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.js +131 -0
- package/dist/collection/components/z-menu-section/index.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.spec.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.stories.js +41 -0
- package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
- package/dist/collection/components/z-modal/index.js +357 -0
- package/dist/collection/components/z-modal/index.js.map +1 -0
- package/dist/collection/components/z-modal/index.spec.js.map +1 -0
- package/dist/collection/components/z-modal/index.stories.js +224 -0
- package/dist/collection/components/z-modal/index.stories.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.js +374 -0
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js +191 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/index.js +194 -0
- package/dist/collection/components/z-notification/index.js.map +1 -0
- package/dist/collection/components/z-notification/index.spec.js.map +1 -0
- package/dist/collection/components/z-notification/index.stories.js +147 -0
- package/dist/collection/components/z-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/test.e2e.js.map +1 -0
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.spec.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.stories.js +196 -0
- package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
- package/dist/collection/components/z-offcanvas/styles.css +6 -2
- package/dist/collection/components/z-pagination/index.js +1 -1
- package/dist/collection/components/z-pagination/index.js.map +1 -1
- package/dist/collection/components/z-pagination/index.spec.js.map +1 -1
- package/dist/collection/components/z-pagination/index.stories.js +100 -0
- package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
- package/dist/collection/components/z-pagination/styles.css +6 -2
- package/dist/collection/components/z-panel-elem/index.js +197 -0
- package/dist/collection/components/z-panel-elem/index.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.spec.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.stories.js +26 -0
- package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
- package/dist/collection/components/z-popover/index.js +2 -2
- package/dist/collection/components/z-popover/index.js.map +1 -1
- package/dist/collection/components/z-popover/index.stories.js +103 -0
- package/dist/collection/components/z-popover/index.stories.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.js +616 -0
- package/dist/collection/components/z-searchbar/index.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.spec.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.stories.js +198 -0
- package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js.map +1 -1
- package/dist/collection/components/z-section-title/index.spec.js +1 -1
- package/dist/collection/components/z-section-title/index.spec.js.map +1 -1
- package/dist/collection/components/z-section-title/index.stories.js +53 -0
- package/dist/collection/components/z-section-title/index.stories.js.map +1 -0
- package/dist/collection/components/z-select/index.js +778 -0
- package/dist/collection/components/z-select/index.js.map +1 -0
- package/dist/collection/components/z-select/index.spec.js.map +1 -0
- package/dist/collection/components/z-select/index.stories.js +187 -0
- package/dist/collection/components/z-select/index.stories.js.map +1 -0
- package/dist/collection/components/z-skip-to-content/index.js +3 -3
- package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.spec.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.stories.js +41 -0
- package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper/index.js +22 -0
- package/dist/collection/components/z-stepper/index.js.map +1 -0
- package/dist/collection/components/z-stepper/index.spec.js.map +1 -0
- package/dist/collection/components/z-stepper/index.stories.js +38 -0
- package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.js +122 -0
- package/dist/collection/components/z-stepper-item/index.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.spec.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.stories.js +34 -0
- package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
- package/dist/collection/components/z-tag/index.js +4 -4
- package/dist/collection/components/z-tag/index.js.map +1 -1
- package/dist/collection/components/z-tag/index.spec.js.map +1 -1
- package/dist/collection/components/z-tag/index.stories.js +60 -0
- package/dist/collection/components/z-tag/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.js +406 -0
- package/dist/collection/components/z-toast-notification/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.spec.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.stories.js +89 -0
- package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.js +107 -0
- package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.spec.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js +124 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.js +146 -0
- package/dist/collection/components/z-toggle-button/index.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.spec.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.stories.js +23 -0
- package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.js +147 -0
- package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.spec.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js +27 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.js +151 -0
- package/dist/collection/components/z-tooltip/index.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.stories.js +123 -0
- package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
- package/dist/collection/components/z-visually-hidden/index.spec.js.map +1 -1
- package/dist/collection/components/z-visually-hidden/index.stories.js +28 -0
- package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
- package/dist/collection/constants/breakpoints.js +1 -1
- package/dist/collection/constants/breakpoints.js.map +1 -1
- package/dist/collection/constants/icons.js.map +1 -1
- package/dist/collection/constants/iconset.js +873 -0
- package/dist/collection/constants/iconset.js.map +1 -0
- package/dist/collection/index.js +2 -2
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +72 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +24 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +24 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +128 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +6 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +28 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +9 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +16 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +22 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +22 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +18 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +14 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +18 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +28 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.stories.js +47 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.stories.js +51 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.stories.js +43 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +9 -3
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +2 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.stories.js +15 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.stories.js +36 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.stories.js +30 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.stories.js +32 -0
- package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +16 -0
- package/dist/collection/utils/storybook-utils.js +52 -11
- package/dist/collection/utils/storybook-utils.js.map +1 -1
- package/dist/collection/utils/utils.js +14 -1
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/collection/utils/utils.spec.js.map +1 -1
- package/dist/components/breakpoints.js.map +1 -1
- package/dist/components/iconset.js +876 -0
- package/dist/components/iconset.js.map +1 -0
- package/dist/components/index.d.ts +25 -25
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +15 -6
- package/dist/components/index10.js.map +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index13.js.map +1 -1
- package/dist/components/index14.js +2 -2
- package/dist/components/index14.js.map +1 -1
- package/dist/components/index15.js +4 -4
- package/dist/components/index15.js.map +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index20.js.map +1 -1
- package/dist/components/index21.js +2 -2
- package/dist/components/index21.js.map +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index22.js.map +1 -1
- package/dist/components/index23.js +2 -2
- package/dist/components/index23.js.map +1 -1
- package/dist/components/index24.js +2 -2
- package/dist/components/index24.js.map +1 -1
- package/dist/components/index25.js +1 -1
- package/dist/components/index25.js.map +1 -1
- package/dist/components/index26.js +1 -1
- package/dist/components/index26.js.map +1 -1
- package/dist/components/index27.js +2 -2
- package/dist/components/index27.js.map +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index4.js.map +1 -1
- package/dist/components/index5.js +2 -2
- package/dist/components/index5.js.map +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index6.js.map +1 -1
- package/dist/components/index7.js +2 -2
- package/dist/components/index7.js.map +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index9.js +2 -2
- package/dist/components/index9.js.map +1 -1
- package/dist/components/utils.js.map +1 -1
- package/dist/components/utils2.js.map +1 -1
- package/dist/components/z-accordion.js +2 -2
- package/dist/components/z-accordion.js.map +1 -1
- package/dist/components/z-anchor-navigation.js +14 -8
- package/dist/components/z-anchor-navigation.js.map +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-app-header.js.map +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-aria-alert.js.map +1 -1
- package/dist/components/z-avatar.js +2 -2
- package/dist/components/z-avatar.js.map +1 -1
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-breadcrumb.js.map +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-button-sort.js.map +1 -1
- package/dist/components/z-card.js.map +1 -1
- package/dist/components/z-carousel.js.map +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-cover-hero.js.map +1 -1
- package/dist/components/z-date-picker.js +1 -1
- package/dist/components/z-date-picker.js.map +1 -1
- package/dist/components/z-file-upload.js +1 -1
- package/dist/components/z-file-upload.js.map +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-file.js.map +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-box.js.map +1 -1
- package/dist/components/z-info-reveal.js +1 -1
- package/dist/components/z-info-reveal.js.map +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-logo.js.map +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-menu-section.js.map +1 -1
- package/dist/components/z-menu.js +1 -1
- package/dist/components/z-menu.js.map +1 -1
- package/dist/components/z-messages-pocket.js +1 -1
- package/dist/components/z-messages-pocket.js.map +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-alert.js.map +1 -1
- package/dist/components/z-myz-card-dictionary.js +2 -2
- package/dist/components/z-myz-card-dictionary.js.map +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +2 -2
- package/dist/components/z-myz-card-footer.js.map +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-info.js.map +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-myz-list.js.map +1 -1
- package/dist/components/z-navigation-tabs.js +3 -3
- package/dist/components/z-navigation-tabs.js.map +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-notification.js.map +1 -1
- package/dist/components/z-otp.js +2 -2
- package/dist/components/z-otp.js.map +1 -1
- package/dist/components/z-pagination.js +1 -1
- package/dist/components/z-pagination.js.map +1 -1
- package/dist/components/z-panel-elem.js +2 -2
- package/dist/components/z-panel-elem.js.map +1 -1
- package/dist/components/z-pocket-message.js +1 -1
- package/dist/components/z-range-picker.js +3 -3
- package/dist/components/z-range-picker.js.map +1 -1
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-section-title.js.map +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-select.js.map +1 -1
- package/dist/components/z-skip-to-content.js +2 -2
- package/dist/components/z-skip-to-content.js.map +1 -1
- package/dist/components/z-slideshow.js.map +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper-item.js.map +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-stepper.js.map +1 -1
- package/dist/components/z-table.js +2 -2
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-td.js.map +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-th.js.map +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification-list.js.map +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toast-notification.js.map +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-button.js.map +1 -1
- package/dist/components/z-toggle-switch.js +4 -4
- package/dist/components/z-toggle-switch.js.map +1 -1
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tooltip.js.map +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tr.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/docs/grid/index.stories.js +47 -0
- package/dist/docs/grid/index.stories.js.map +1 -0
- package/dist/docs/iconset/index.stories.js +32 -0
- package/dist/docs/iconset/index.stories.js.map +1 -0
- package/dist/docs/themes/index.stories.js +87 -0
- package/dist/docs/themes/index.stories.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/breakpoints-680e0e56.js.map +1 -1
- package/dist/esm/index-2f0ea8a1.js +57 -0
- package/dist/esm/index-2f0ea8a1.js.map +1 -0
- package/dist/esm/index-41ee4016.js +18 -0
- package/dist/esm/index-41ee4016.js.map +1 -0
- package/dist/esm/index-ab5f1eaa.js +2181 -0
- package/dist/esm/index-ab5f1eaa.js.map +1 -0
- package/dist/esm/index-cfde9cec.js +19 -0
- package/dist/esm/index-cfde9cec.js.map +1 -0
- package/dist/esm/index-db930fad.js +63 -0
- package/dist/esm/index-db930fad.js.map +1 -0
- package/dist/esm/index-e194f4a7.js +44 -0
- package/dist/esm/index-e194f4a7.js.map +1 -0
- package/dist/esm/index-ea49e441.js +19 -0
- package/dist/esm/index-ea49e441.js.map +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +6 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/utils-7983d02c.js.map +1 -1
- package/dist/esm/utils-cd008fbc.js.map +1 -1
- package/dist/esm/web-components-library.js +33 -33
- package/dist/esm/web-components-library.js.map +1 -1
- package/dist/esm/z-accordion.entry.js +3 -3
- package/dist/esm/z-accordion.entry.js.map +1 -1
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-anchor-navigation.entry.js +14 -9
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +40 -31
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-aria-alert.entry.js.map +1 -1
- package/dist/esm/z-avatar.entry.js +3 -3
- package/dist/esm/z-avatar.entry.js.map +1 -1
- package/dist/esm/z-book-card.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +3 -3
- package/dist/esm/z-breadcrumb.entry.js.map +1 -1
- package/dist/esm/z-button-sort.entry.js +2 -2
- package/dist/esm/z-button-sort.entry.js.map +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-card.entry.js.map +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js.map +1 -1
- package/dist/esm/z-chip.entry.js +3 -3
- package/dist/esm/z-chip.entry.js.map +1 -1
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js.map +1 -1
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-cover-hero.entry.js.map +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-date-picker.entry.js.map +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file-upload.entry.js.map +1 -1
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-file.entry.js.map +1 -1
- package/dist/esm/z-ghost-loading.entry.js +2 -2
- package/dist/esm/z-info-box.entry.js +2 -2
- package/dist/esm/z-info-box.entry.js.map +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-info-reveal.entry.js.map +1 -1
- package/dist/esm/z-logo.entry.js +2 -2
- package/dist/esm/z-logo.entry.js.map +1 -1
- package/dist/esm/z-menu-section.entry.js +2 -2
- package/dist/esm/z-menu-section.entry.js.map +1 -1
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-menu.entry.js.map +1 -1
- package/dist/esm/z-messages-pocket.entry.js +2 -2
- package/dist/esm/z-messages-pocket.entry.js.map +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
- package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +3 -3
- package/dist/esm/z-myz-card-footer.entry.js.map +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js.map +1 -1
- package/dist/esm/z-myz-card-list.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-list-item.entry.js.map +1 -1
- package/dist/esm/z-myz-list.entry.js +2 -2
- package/dist/esm/z-myz-list.entry.js.map +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +4 -4
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-notification.entry.js.map +1 -1
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-otp.entry.js.map +1 -1
- package/dist/esm/z-pagination.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js.map +1 -1
- package/dist/esm/z-panel-elem.entry.js +3 -3
- package/dist/esm/z-panel-elem.entry.js.map +1 -1
- package/dist/esm/z-pocket-message.entry.js +2 -2
- package/dist/esm/z-pocket_3.entry.js +6 -6
- package/dist/esm/z-pocket_3.entry.js.map +1 -1
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-popover.entry.js.map +1 -1
- package/dist/esm/z-range-picker.entry.js +4 -4
- package/dist/esm/z-range-picker.entry.js.map +1 -1
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js.map +1 -1
- package/dist/esm/z-select.entry.js +2 -2
- package/dist/esm/z-select.entry.js.map +1 -1
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-skip-to-content.entry.js.map +1 -1
- package/dist/esm/z-slideshow.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js.map +1 -1
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js.map +1 -1
- package/dist/esm/z-stepper.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js.map +1 -1
- package/dist/esm/z-table.entry.js +8 -8
- package/dist/esm/z-table.entry.js.map +1 -1
- package/dist/esm/z-tbody.entry.js +2 -2
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +2 -2
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js.map +1 -1
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js.map +1 -1
- package/dist/esm/z-toggle-button.entry.js +3 -3
- package/dist/esm/z-toggle-button.entry.js.map +1 -1
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-toggle-switch.entry.js.map +1 -1
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js.map +1 -1
- package/dist/esm/z-tr.entry.js +4 -4
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/components/css-components/z-fab/index.stories.d.ts +63 -0
- package/dist/types/components/css-components/z-link/index.stories.d.ts +46 -0
- package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +33 -0
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +1 -1
- package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +51 -0
- package/dist/types/components/file-upload/z-file/index.stories.d.ts +14 -0
- package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +42 -0
- package/dist/types/components/list/z-list/index.d.ts +2 -2
- package/dist/types/components/list/z-list/index.stories.d.ts +62 -0
- package/dist/types/components/list/z-list-element/index.d.ts +2 -2
- package/dist/types/components/list/z-list-element/index.stories.d.ts +77 -0
- package/dist/types/components/list/z-list-group/index.d.ts +1 -1
- package/dist/types/components/list/z-list-group/index.stories.d.ts +46 -0
- package/dist/types/components/table/z-table/index.d.ts +2 -2
- package/dist/types/components/table/z-table/index.stories.d.ts +82 -0
- package/dist/types/components/z-accordion/index.d.ts +1 -1
- package/dist/types/components/z-accordion/index.stories.d.ts +142 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +12 -4
- package/dist/types/components/z-anchor-navigation/index.stories.d.ts +32 -0
- package/dist/types/components/z-app-header/index.d.ts +149 -0
- package/dist/types/components/z-app-header/index.stories.d.ts +118 -0
- package/dist/types/components/z-aria-alert/index.stories.d.ts +26 -0
- package/dist/types/components/z-avatar/index.stories.d.ts +42 -0
- package/dist/types/components/z-book-card/index.stories.d.ts +115 -0
- package/dist/types/components/z-breadcrumb/index.stories.d.ts +52 -0
- package/dist/types/components/z-button/index.d.ts +31 -0
- package/dist/types/components/z-button/index.stories.d.ts +66 -0
- package/dist/types/components/z-button-sort/index.d.ts +28 -0
- package/dist/types/components/z-button-sort/index.stories.d.ts +22 -0
- package/dist/types/components/z-card/index.stories.d.ts +70 -0
- package/dist/types/components/z-carousel/index.stories.d.ts +100 -0
- package/dist/types/components/z-chip/index.d.ts +18 -0
- package/dist/types/components/z-chip/index.stories.d.ts +46 -0
- package/dist/types/components/z-combobox/index.d.ts +84 -0
- package/dist/types/components/z-combobox/index.stories.d.ts +58 -0
- package/dist/types/components/z-cover-hero/index.d.ts +1 -1
- package/dist/types/components/z-cover-hero/index.stories.d.ts +113 -0
- package/dist/types/components/z-divider/index.d.ts +1 -1
- package/dist/types/components/z-divider/index.stories.d.ts +37 -0
- package/dist/types/components/z-ghost-loading/index.stories.d.ts +9 -0
- package/dist/types/components/z-icon/index.stories.d.ts +23 -0
- package/dist/types/components/z-info-box/index.d.ts +14 -0
- package/dist/types/components/z-info-box/index.stories.d.ts +12 -0
- package/dist/types/components/z-info-reveal/index.stories.d.ts +42 -0
- package/dist/types/components/z-input/index.d.ts +110 -0
- package/dist/types/components/z-input/index.stories.d.ts +126 -0
- package/dist/types/components/z-input-message/index.d.ts +12 -0
- package/dist/types/components/z-input-message/index.stories.d.ts +33 -0
- package/dist/types/components/z-logo/index.stories.d.ts +18 -0
- package/dist/types/components/z-menu/index.d.ts +61 -0
- package/dist/types/components/z-menu/index.stories.d.ts +27 -0
- package/dist/types/components/z-menu-section/index.d.ts +31 -0
- package/dist/types/components/z-menu-section/index.stories.d.ts +16 -0
- package/dist/types/components/z-modal/index.d.ts +49 -0
- package/dist/types/components/z-modal/index.stories.d.ts +39 -0
- package/dist/types/components/z-navigation-tabs/index.d.ts +114 -0
- package/dist/types/components/z-navigation-tabs/index.stories.d.ts +78 -0
- package/dist/types/components/z-notification/index.d.ts +32 -0
- package/dist/types/components/z-notification/index.stories.d.ts +61 -0
- package/dist/types/components/z-offcanvas/index.stories.d.ts +49 -0
- package/dist/types/components/z-pagination/index.stories.d.ts +40 -0
- package/dist/types/components/z-panel-elem/index.stories.d.ts +18 -0
- package/dist/types/components/z-popover/index.stories.d.ts +40 -0
- package/dist/types/components/z-searchbar/index.d.ts +80 -0
- package/dist/types/components/z-searchbar/index.stories.d.ts +94 -0
- package/dist/types/components/z-section-title/index.stories.d.ts +37 -0
- package/dist/types/components/z-select/index.d.ts +84 -0
- package/dist/types/components/z-select/index.stories.d.ts +60 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +1 -1
- package/dist/types/components/z-skip-to-content/index.stories.d.ts +31 -0
- package/dist/types/components/z-stepper/index.d.ts +6 -0
- package/dist/types/components/z-stepper/index.stories.d.ts +16 -0
- package/dist/types/components/z-stepper-item/index.stories.d.ts +21 -0
- package/dist/types/components/z-tag/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.stories.d.ts +35 -0
- package/dist/types/components/z-toast-notification/index.d.ts +56 -0
- package/dist/types/components/z-toast-notification/index.stories.d.ts +58 -0
- package/dist/types/components/z-toast-notification-list/index.d.ts +14 -0
- package/dist/types/components/z-toast-notification-list/index.stories.d.ts +81 -0
- package/dist/types/components/z-toggle-button/index.d.ts +17 -0
- package/dist/types/components/z-toggle-button/index.stories.d.ts +16 -0
- package/dist/types/components/z-toggle-switch/index.d.ts +17 -0
- package/dist/types/components/z-toggle-switch/index.stories.d.ts +22 -0
- package/dist/types/components/z-tooltip/index.d.ts +32 -0
- package/dist/types/components/z-tooltip/index.stories.d.ts +40 -0
- package/dist/types/components/z-visually-hidden/index.stories.d.ts +9 -0
- package/dist/types/components.d.ts +30 -22
- package/dist/types/constants/breakpoints.d.ts +1 -1
- package/dist/types/constants/iconset.d.ts +1577 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +27 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/dist/types/utils/storybook-utils.d.ts +38 -8
- package/dist/types/utils/utils.d.ts +5 -0
- package/dist/web-components-library/index.esm.js.map +1 -1
- package/dist/web-components-library/p-025f494e.js.map +1 -1
- package/dist/web-components-library/p-060725ef.entry.js +2 -0
- package/dist/web-components-library/p-060725ef.entry.js.map +1 -0
- package/dist/web-components-library/p-0c2fdbe5.entry.js +2 -0
- package/dist/web-components-library/p-0c2fdbe5.entry.js.map +1 -0
- package/dist/web-components-library/p-17d072c7.entry.js +2 -0
- package/dist/web-components-library/p-17d072c7.entry.js.map +1 -0
- package/dist/web-components-library/p-1c5d8cac.js +2 -0
- package/dist/web-components-library/p-1c5d8cac.js.map +1 -0
- package/dist/web-components-library/p-2010d544.entry.js +2 -0
- package/dist/web-components-library/p-2010d544.entry.js.map +1 -0
- package/dist/web-components-library/p-2395b965.entry.js +2 -0
- package/dist/web-components-library/p-2395b965.entry.js.map +1 -0
- package/dist/web-components-library/p-25a85aec.js +2 -0
- package/dist/web-components-library/p-25a85aec.js.map +1 -0
- package/dist/web-components-library/p-2c886e8b.js.map +1 -1
- package/dist/web-components-library/p-2ed68ac5.entry.js +2 -0
- package/dist/web-components-library/p-2ed68ac5.entry.js.map +1 -0
- package/dist/web-components-library/p-36189235.entry.js +2 -0
- package/dist/web-components-library/p-36189235.entry.js.map +1 -0
- package/dist/web-components-library/p-37f05eab.entry.js +2 -0
- package/dist/web-components-library/p-37f05eab.entry.js.map +1 -0
- package/dist/web-components-library/p-39aeb320.entry.js +2 -0
- package/dist/web-components-library/p-39aeb320.entry.js.map +1 -0
- package/dist/web-components-library/p-4170f99b.entry.js +2 -0
- package/dist/web-components-library/p-4170f99b.entry.js.map +1 -0
- package/dist/web-components-library/p-493c652a.entry.js +2 -0
- package/dist/web-components-library/p-493c652a.entry.js.map +1 -0
- package/dist/web-components-library/p-49a35cf0.js.map +1 -1
- package/dist/web-components-library/p-4c70b69e.entry.js +2 -0
- package/dist/web-components-library/p-4c70b69e.entry.js.map +1 -0
- package/dist/web-components-library/p-54b0b04e.js.map +1 -1
- package/dist/web-components-library/p-5a2fddef.entry.js +2 -0
- package/dist/web-components-library/p-5a2fddef.entry.js.map +1 -0
- package/dist/web-components-library/p-5cf2fb58.js +2 -0
- package/dist/web-components-library/p-5cf2fb58.js.map +1 -0
- package/dist/web-components-library/p-5e734fd3.entry.js +2 -0
- package/dist/web-components-library/p-5e734fd3.entry.js.map +1 -0
- package/dist/web-components-library/p-5e9b3793.entry.js +2 -0
- package/dist/web-components-library/p-5e9b3793.entry.js.map +1 -0
- package/dist/web-components-library/p-62598750.entry.js +2 -0
- package/dist/web-components-library/p-62598750.entry.js.map +1 -0
- package/dist/web-components-library/p-67d49495.entry.js +2 -0
- package/dist/web-components-library/p-67d49495.entry.js.map +1 -0
- package/dist/web-components-library/p-680ee955.entry.js +2 -0
- package/dist/web-components-library/p-680ee955.entry.js.map +1 -0
- package/dist/web-components-library/p-70914d67.entry.js +2 -0
- package/dist/web-components-library/p-70914d67.entry.js.map +1 -0
- package/dist/web-components-library/p-737293b2.js +2 -0
- package/dist/web-components-library/p-737293b2.js.map +1 -0
- package/dist/web-components-library/p-7cba8558.entry.js +2 -0
- package/dist/web-components-library/p-7cba8558.entry.js.map +1 -0
- package/dist/web-components-library/p-7ce64686.entry.js +2 -0
- package/dist/web-components-library/p-7ce64686.entry.js.map +1 -0
- package/dist/web-components-library/p-7da88300.entry.js +2 -0
- package/dist/web-components-library/p-7da88300.entry.js.map +1 -0
- package/dist/web-components-library/p-810433b1.entry.js +2 -0
- package/dist/web-components-library/p-810433b1.entry.js.map +1 -0
- package/dist/web-components-library/p-8164f039.entry.js +2 -0
- package/dist/web-components-library/p-8164f039.entry.js.map +1 -0
- package/dist/web-components-library/p-82b845c3.entry.js +2 -0
- package/dist/web-components-library/p-82b845c3.entry.js.map +1 -0
- package/dist/web-components-library/p-82e3760c.entry.js +2 -0
- package/dist/web-components-library/p-82e3760c.entry.js.map +1 -0
- package/dist/web-components-library/p-85930223.entry.js +2 -0
- package/dist/web-components-library/p-85930223.entry.js.map +1 -0
- package/dist/web-components-library/p-89c1d12d.entry.js +2 -0
- package/dist/web-components-library/p-89c1d12d.entry.js.map +1 -0
- package/dist/web-components-library/p-8cedb801.entry.js +2 -0
- package/dist/web-components-library/p-8cedb801.entry.js.map +1 -0
- package/dist/web-components-library/p-93d39e70.entry.js +2 -0
- package/dist/web-components-library/p-93d39e70.entry.js.map +1 -0
- package/dist/web-components-library/p-955da62e.js.map +1 -1
- package/dist/web-components-library/p-965094e0.entry.js +2 -0
- package/dist/web-components-library/p-965094e0.entry.js.map +1 -0
- package/dist/web-components-library/p-96584abb.entry.js +2 -0
- package/dist/web-components-library/p-96584abb.entry.js.map +1 -0
- package/dist/web-components-library/p-9c50d9cc.entry.js +2 -0
- package/dist/web-components-library/p-9c50d9cc.entry.js.map +1 -0
- package/dist/web-components-library/p-9dc8cdd2.entry.js +17 -0
- package/dist/web-components-library/p-9dc8cdd2.entry.js.map +1 -0
- package/dist/web-components-library/p-9dd4a4a5.entry.js +2 -0
- package/dist/web-components-library/p-9dd4a4a5.entry.js.map +1 -0
- package/dist/web-components-library/p-a0893037.entry.js +2 -0
- package/dist/web-components-library/p-a0893037.entry.js.map +1 -0
- package/dist/web-components-library/p-a11e1d48.entry.js +2 -0
- package/dist/web-components-library/p-a11e1d48.entry.js.map +1 -0
- package/dist/web-components-library/p-a789b863.entry.js +2 -0
- package/dist/web-components-library/p-a789b863.entry.js.map +1 -0
- package/dist/web-components-library/p-a8265231.entry.js +2 -0
- package/dist/web-components-library/p-a8265231.entry.js.map +1 -0
- package/dist/web-components-library/p-b064878a.entry.js +2 -0
- package/dist/web-components-library/p-b064878a.entry.js.map +1 -0
- package/dist/web-components-library/p-b6d2f646.entry.js +2 -0
- package/dist/web-components-library/p-b6d2f646.entry.js.map +1 -0
- package/dist/web-components-library/p-b72193fc.entry.js +2 -0
- package/dist/web-components-library/p-b72193fc.entry.js.map +1 -0
- package/dist/web-components-library/p-b741a768.entry.js +2 -0
- package/dist/web-components-library/p-b741a768.entry.js.map +1 -0
- package/dist/web-components-library/p-b9078348.js +2 -0
- package/dist/web-components-library/p-b9078348.js.map +1 -0
- package/dist/web-components-library/p-bc552513.entry.js +2 -0
- package/dist/web-components-library/p-bc552513.entry.js.map +1 -0
- package/dist/web-components-library/p-bf7c05a8.entry.js +2 -0
- package/dist/web-components-library/p-bf7c05a8.entry.js.map +1 -0
- package/dist/web-components-library/p-bfb58cca.entry.js +2 -0
- package/dist/web-components-library/p-bfb58cca.entry.js.map +1 -0
- package/dist/web-components-library/p-c5127319.entry.js +2 -0
- package/dist/web-components-library/p-c5127319.entry.js.map +1 -0
- package/dist/web-components-library/p-cc3c02fe.js +3 -0
- package/dist/web-components-library/p-cc3c02fe.js.map +1 -0
- package/dist/web-components-library/p-d22d5fcb.entry.js +2 -0
- package/dist/web-components-library/p-d22d5fcb.entry.js.map +1 -0
- package/dist/web-components-library/p-d594caea.entry.js +2 -0
- package/dist/web-components-library/p-d594caea.entry.js.map +1 -0
- package/dist/web-components-library/p-d73386ae.entry.js +2 -0
- package/dist/web-components-library/p-d73386ae.entry.js.map +1 -0
- package/dist/web-components-library/p-d8413391.entry.js +2 -0
- package/dist/web-components-library/p-d8413391.entry.js.map +1 -0
- package/dist/web-components-library/p-dde9f76d.entry.js +2 -0
- package/dist/web-components-library/p-dde9f76d.entry.js.map +1 -0
- package/dist/web-components-library/p-e1255160.js +2 -0
- package/dist/web-components-library/p-e1255160.js.map +1 -0
- package/dist/web-components-library/p-e43b10db.entry.js +2 -0
- package/dist/web-components-library/p-e43b10db.entry.js.map +1 -0
- package/dist/web-components-library/p-eac17dfe.entry.js +2 -0
- package/dist/web-components-library/p-eac17dfe.entry.js.map +1 -0
- package/dist/web-components-library/p-ee290d4c.entry.js +2 -0
- package/dist/web-components-library/p-ee290d4c.entry.js.map +1 -0
- package/dist/web-components-library/p-f12d9a47.entry.js +2 -0
- package/dist/web-components-library/p-f12d9a47.entry.js.map +1 -0
- package/dist/web-components-library/p-f393de28.entry.js +2 -0
- package/dist/web-components-library/p-f393de28.entry.js.map +1 -0
- package/dist/web-components-library/p-f625d532.entry.js +2 -0
- package/dist/web-components-library/p-f625d532.entry.js.map +1 -0
- package/dist/web-components-library/p-f6b886ab.entry.js +2 -0
- package/dist/web-components-library/p-f6b886ab.entry.js.map +1 -0
- package/dist/web-components-library/p-f7180c65.entry.js +2 -0
- package/dist/web-components-library/p-f7180c65.entry.js.map +1 -0
- package/dist/web-components-library/p-f978d22d.entry.js +2 -0
- package/dist/web-components-library/p-f978d22d.entry.js.map +1 -0
- package/dist/web-components-library/p-fbad70dd.entry.js +2 -0
- package/dist/web-components-library/p-fbad70dd.entry.js.map +1 -0
- package/dist/web-components-library/p-fdd176e2.entry.js +2 -0
- package/dist/web-components-library/p-fdd176e2.entry.js.map +1 -0
- package/dist/web-components-library/p-feca4075.js +2 -0
- package/dist/web-components-library/p-feca4075.js.map +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +37 -34
- package/react/components.js +80 -80
- package/react/components.js.map +1 -1
- package/react/index.js +5 -1
- package/react/index.js.map +1 -1
- package/react/react-component-lib/createComponent.d.ts +1 -1
- package/react/react-component-lib/createComponent.js +12 -8
- package/react/react-component-lib/createComponent.js.map +1 -1
- package/react/react-component-lib/createOverlayComponent.js +6 -6
- 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 +5 -5
- package/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/react/react-component-lib/utils/dev.js +1 -1
- package/react/react-component-lib/utils/dev.js.map +1 -1
- package/react/react-component-lib/utils/index.d.ts +3 -3
- package/react/react-component-lib/utils/index.js +6 -2
- package/react/react-component-lib/utils/index.js.map +1 -1
- package/readme.md +8 -7
- package/www/build/index.esm.js.map +1 -1
- package/www/build/p-025f494e.js.map +1 -1
- package/www/build/p-060725ef.entry.js +2 -0
- package/www/build/p-060725ef.entry.js.map +1 -0
- package/www/build/p-0c2fdbe5.entry.js +2 -0
- package/www/build/p-0c2fdbe5.entry.js.map +1 -0
- package/www/build/p-17d072c7.entry.js +2 -0
- package/www/build/p-17d072c7.entry.js.map +1 -0
- package/www/build/p-1c5d8cac.js +2 -0
- package/www/build/p-1c5d8cac.js.map +1 -0
- package/www/build/p-2010d544.entry.js +2 -0
- package/www/build/p-2010d544.entry.js.map +1 -0
- package/www/build/p-2395b965.entry.js +2 -0
- package/www/build/p-2395b965.entry.js.map +1 -0
- package/www/build/p-25a85aec.js +2 -0
- package/www/build/p-25a85aec.js.map +1 -0
- package/www/build/p-2c886e8b.js.map +1 -1
- package/www/build/p-2ed68ac5.entry.js +2 -0
- package/www/build/p-2ed68ac5.entry.js.map +1 -0
- package/www/build/p-36189235.entry.js +2 -0
- package/www/build/p-36189235.entry.js.map +1 -0
- package/www/build/p-37f05eab.entry.js +2 -0
- package/www/build/p-37f05eab.entry.js.map +1 -0
- package/www/build/p-39aeb320.entry.js +2 -0
- package/www/build/p-39aeb320.entry.js.map +1 -0
- package/www/build/p-4170f99b.entry.js +2 -0
- package/www/build/p-4170f99b.entry.js.map +1 -0
- package/www/build/p-493c652a.entry.js +2 -0
- package/www/build/p-493c652a.entry.js.map +1 -0
- package/www/build/p-49a35cf0.js.map +1 -1
- package/www/build/p-4c70b69e.entry.js +2 -0
- package/www/build/p-4c70b69e.entry.js.map +1 -0
- package/www/build/p-54b0b04e.js.map +1 -1
- package/www/build/p-5a2fddef.entry.js +2 -0
- package/www/build/p-5a2fddef.entry.js.map +1 -0
- package/www/build/p-5cf2fb58.js +2 -0
- package/www/build/p-5cf2fb58.js.map +1 -0
- package/www/build/p-5e734fd3.entry.js +2 -0
- package/www/build/p-5e734fd3.entry.js.map +1 -0
- package/www/build/p-5e9b3793.entry.js +2 -0
- package/www/build/p-5e9b3793.entry.js.map +1 -0
- package/www/build/p-62598750.entry.js +2 -0
- package/www/build/p-62598750.entry.js.map +1 -0
- package/www/build/p-67d49495.entry.js +2 -0
- package/www/build/p-67d49495.entry.js.map +1 -0
- package/www/build/p-680ee955.entry.js +2 -0
- package/www/build/p-680ee955.entry.js.map +1 -0
- package/www/build/p-70914d67.entry.js +2 -0
- package/www/build/p-70914d67.entry.js.map +1 -0
- package/www/build/p-737293b2.js +2 -0
- package/www/build/p-737293b2.js.map +1 -0
- package/www/build/p-7cba8558.entry.js +2 -0
- package/www/build/p-7cba8558.entry.js.map +1 -0
- package/www/build/p-7ce64686.entry.js +2 -0
- package/www/build/p-7ce64686.entry.js.map +1 -0
- package/www/build/p-7da88300.entry.js +2 -0
- package/www/build/p-7da88300.entry.js.map +1 -0
- package/www/build/p-810433b1.entry.js +2 -0
- package/www/build/p-810433b1.entry.js.map +1 -0
- package/www/build/p-8164f039.entry.js +2 -0
- package/www/build/p-8164f039.entry.js.map +1 -0
- package/www/build/p-82b845c3.entry.js +2 -0
- package/www/build/p-82b845c3.entry.js.map +1 -0
- package/www/build/p-82e3760c.entry.js +2 -0
- package/www/build/p-82e3760c.entry.js.map +1 -0
- package/www/build/p-85930223.entry.js +2 -0
- package/www/build/p-85930223.entry.js.map +1 -0
- package/www/build/p-89c1d12d.entry.js +2 -0
- package/www/build/p-89c1d12d.entry.js.map +1 -0
- package/www/build/p-8cedb801.entry.js +2 -0
- package/www/build/p-8cedb801.entry.js.map +1 -0
- package/www/build/p-93d39e70.entry.js +2 -0
- package/www/build/p-93d39e70.entry.js.map +1 -0
- package/www/build/p-955da62e.js.map +1 -1
- package/www/build/p-965094e0.entry.js +2 -0
- package/www/build/p-965094e0.entry.js.map +1 -0
- package/www/build/p-96584abb.entry.js +2 -0
- package/www/build/p-96584abb.entry.js.map +1 -0
- package/www/build/p-9c50d9cc.entry.js +2 -0
- package/www/build/p-9c50d9cc.entry.js.map +1 -0
- package/www/build/p-9dc8cdd2.entry.js +17 -0
- package/www/build/p-9dc8cdd2.entry.js.map +1 -0
- package/www/build/p-9dd4a4a5.entry.js +2 -0
- package/www/build/p-9dd4a4a5.entry.js.map +1 -0
- package/www/build/p-a0893037.entry.js +2 -0
- package/www/build/p-a0893037.entry.js.map +1 -0
- package/www/build/p-a11e1d48.entry.js +2 -0
- package/www/build/p-a11e1d48.entry.js.map +1 -0
- package/www/build/p-a789b863.entry.js +2 -0
- package/www/build/p-a789b863.entry.js.map +1 -0
- package/www/build/p-a8265231.entry.js +2 -0
- package/www/build/p-a8265231.entry.js.map +1 -0
- package/www/build/p-b064878a.entry.js +2 -0
- package/www/build/p-b064878a.entry.js.map +1 -0
- package/www/build/p-b6d2f646.entry.js +2 -0
- package/www/build/p-b6d2f646.entry.js.map +1 -0
- package/www/build/p-b72193fc.entry.js +2 -0
- package/www/build/p-b72193fc.entry.js.map +1 -0
- package/www/build/p-b741a768.entry.js +2 -0
- package/www/build/p-b741a768.entry.js.map +1 -0
- package/www/build/p-b9078348.js +2 -0
- package/www/build/p-b9078348.js.map +1 -0
- package/www/build/p-bc552513.entry.js +2 -0
- package/www/build/p-bc552513.entry.js.map +1 -0
- package/www/build/p-bf7c05a8.entry.js +2 -0
- package/www/build/p-bf7c05a8.entry.js.map +1 -0
- package/www/build/p-bfb58cca.entry.js +2 -0
- package/www/build/p-bfb58cca.entry.js.map +1 -0
- package/www/build/p-c5127319.entry.js +2 -0
- package/www/build/p-c5127319.entry.js.map +1 -0
- package/www/build/p-cc3c02fe.js +3 -0
- package/www/build/p-cc3c02fe.js.map +1 -0
- package/www/build/p-d22d5fcb.entry.js +2 -0
- package/www/build/p-d22d5fcb.entry.js.map +1 -0
- package/www/build/p-d594caea.entry.js +2 -0
- package/www/build/p-d594caea.entry.js.map +1 -0
- package/www/build/p-d73386ae.entry.js +2 -0
- package/www/build/p-d73386ae.entry.js.map +1 -0
- package/www/build/p-d8413391.entry.js +2 -0
- package/www/build/p-d8413391.entry.js.map +1 -0
- package/www/build/p-d97a3b56.js +2 -0
- package/www/build/p-dde9f76d.entry.js +2 -0
- package/www/build/p-dde9f76d.entry.js.map +1 -0
- package/www/build/p-e1255160.js +2 -0
- package/www/build/p-e1255160.js.map +1 -0
- package/www/build/p-e43b10db.entry.js +2 -0
- package/www/build/p-e43b10db.entry.js.map +1 -0
- package/www/build/p-eac17dfe.entry.js +2 -0
- package/www/build/p-eac17dfe.entry.js.map +1 -0
- package/www/build/p-ee290d4c.entry.js +2 -0
- package/www/build/p-ee290d4c.entry.js.map +1 -0
- package/www/build/p-f12d9a47.entry.js +2 -0
- package/www/build/p-f12d9a47.entry.js.map +1 -0
- package/www/build/p-f393de28.entry.js +2 -0
- package/www/build/p-f393de28.entry.js.map +1 -0
- package/www/build/p-f625d532.entry.js +2 -0
- package/www/build/p-f625d532.entry.js.map +1 -0
- package/www/build/p-f6b886ab.entry.js +2 -0
- package/www/build/p-f6b886ab.entry.js.map +1 -0
- package/www/build/p-f7180c65.entry.js +2 -0
- package/www/build/p-f7180c65.entry.js.map +1 -0
- package/www/build/p-f978d22d.entry.js +2 -0
- package/www/build/p-f978d22d.entry.js.map +1 -0
- package/www/build/p-fbad70dd.entry.js +2 -0
- package/www/build/p-fbad70dd.entry.js.map +1 -0
- package/www/build/p-fdd176e2.entry.js +2 -0
- package/www/build/p-fdd176e2.entry.js.map +1 -0
- package/www/build/p-feca4075.js +2 -0
- package/www/build/p-feca4075.js.map +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/www/pages/book-cards.html +1 -1
- package/www/pages/file-upload.html +1 -1
- package/www/pages/notification.html +1 -1
- package/dist/cjs/index-178a9413.js +0 -20
- package/dist/cjs/index-178a9413.js.map +0 -1
- package/dist/cjs/index-3836ecee.js +0 -46
- package/dist/cjs/index-3836ecee.js.map +0 -1
- package/dist/cjs/index-79559e1d.js +0 -21
- package/dist/cjs/index-79559e1d.js.map +0 -1
- package/dist/cjs/index-7c62141b.js +0 -59
- package/dist/cjs/index-7c62141b.js.map +0 -1
- package/dist/cjs/index-8eae84b7.js +0 -21
- package/dist/cjs/index-8eae84b7.js.map +0 -1
- package/dist/cjs/index-dc60bee7.js +0 -3140
- package/dist/cjs/index-dc60bee7.js.map +0 -1
- package/dist/cjs/index-e5ff8fd3.js +0 -65
- package/dist/cjs/index-e5ff8fd3.js.map +0 -1
- package/dist/collection/components/buttons/z-button/index.js +0 -268
- package/dist/collection/components/buttons/z-button/index.js.map +0 -1
- package/dist/collection/components/buttons/z-button/index.spec.js +0 -101
- package/dist/collection/components/buttons/z-button/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-button-sort/index.js +0 -221
- package/dist/collection/components/buttons/z-button-sort/index.js.map +0 -1
- package/dist/collection/components/buttons/z-button-sort/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-button-sort/test.e2e.js.map +0 -1
- package/dist/collection/components/buttons/z-chip/index.js +0 -148
- package/dist/collection/components/buttons/z-chip/index.js.map +0 -1
- package/dist/collection/components/buttons/z-chip/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-button/index.js +0 -146
- package/dist/collection/components/buttons/z-toggle-button/index.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-button/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -147
- package/dist/collection/components/buttons/z-toggle-switch/index.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-switch/index.spec.js.map +0 -1
- package/dist/collection/components/icons/icons.js +0 -873
- package/dist/collection/components/icons/icons.js.map +0 -1
- package/dist/collection/components/icons/z-icon/index.js +0 -122
- package/dist/collection/components/icons/z-icon/index.js.map +0 -1
- package/dist/collection/components/icons/z-icon/index.spec.js +0 -96
- package/dist/collection/components/icons/z-icon/index.spec.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper/index.js +0 -22
- package/dist/collection/components/indicators/z-stepper/index.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper/index.spec.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -122
- package/dist/collection/components/indicators/z-stepper-item/index.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper-item/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-combobox/index.js +0 -643
- package/dist/collection/components/inputs/z-combobox/index.js.map +0 -1
- package/dist/collection/components/inputs/z-combobox/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/index.js +0 -957
- package/dist/collection/components/inputs/z-input/index.js.map +0 -1
- package/dist/collection/components/inputs/z-input/styles.css +0 -397
- package/dist/collection/components/inputs/z-input/test-checkbox.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-methods.spec.js +0 -13
- package/dist/collection/components/inputs/z-input/test-methods.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-radio.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-text.spec.js +0 -347
- package/dist/collection/components/inputs/z-input/test-text.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-textarea.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test.e2e.js +0 -180
- package/dist/collection/components/inputs/z-input/test.e2e.js.map +0 -1
- package/dist/collection/components/inputs/z-input-message/index.js +0 -93
- package/dist/collection/components/inputs/z-input-message/index.js.map +0 -1
- package/dist/collection/components/inputs/z-input-message/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-searchbar/index.js +0 -616
- package/dist/collection/components/inputs/z-searchbar/index.js.map +0 -1
- package/dist/collection/components/inputs/z-searchbar/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-select/index.js +0 -778
- package/dist/collection/components/inputs/z-select/index.js.map +0 -1
- package/dist/collection/components/inputs/z-select/index.spec.js.map +0 -1
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -107
- package/dist/collection/components/list/z-toast-notification-list/index.js.map +0 -1
- package/dist/collection/components/list/z-toast-notification-list/index.spec.js.map +0 -1
- package/dist/collection/components/list/z-toast-notification-list/test.e2e.js.map +0 -1
- package/dist/collection/components/logo/z-logo/index.js +0 -140
- package/dist/collection/components/logo/z-logo/index.js.map +0 -1
- package/dist/collection/components/logo/z-logo/index.spec.js.map +0 -1
- package/dist/collection/components/logo/z-logo/test.e2e.js.map +0 -1
- package/dist/collection/components/modal/z-modal/index.js +0 -357
- package/dist/collection/components/modal/z-modal/index.js.map +0 -1
- package/dist/collection/components/modal/z-modal/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-app-header/index.js +0 -420
- package/dist/collection/components/navigation/z-app-header/index.js.map +0 -1
- package/dist/collection/components/navigation/z-app-header/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-app-header/index.stories.js +0 -393
- package/dist/collection/components/navigation/z-menu/index.js +0 -244
- package/dist/collection/components/navigation/z-menu/index.js.map +0 -1
- package/dist/collection/components/navigation/z-menu/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -131
- package/dist/collection/components/navigation/z-menu-section/index.js.map +0 -1
- package/dist/collection/components/navigation/z-menu-section/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -373
- package/dist/collection/components/navigation/z-navigation-tabs/index.js.map +0 -1
- package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +0 -12
- package/dist/collection/components/notification/z-info-box/index.js +0 -86
- package/dist/collection/components/notification/z-info-box/index.js.map +0 -1
- package/dist/collection/components/notification/z-info-box/index.spec.js.map +0 -1
- package/dist/collection/components/notification/z-notification/index.js +0 -194
- package/dist/collection/components/notification/z-notification/index.js.map +0 -1
- package/dist/collection/components/notification/z-notification/index.spec.js.map +0 -1
- package/dist/collection/components/notification/z-notification/test.e2e.js.map +0 -1
- package/dist/collection/components/notification/z-toast-notification/index.js +0 -406
- package/dist/collection/components/notification/z-toast-notification/index.js.map +0 -1
- package/dist/collection/components/notification/z-toast-notification/index.spec.js.map +0 -1
- package/dist/collection/components/notification/z-tooltip/index.js +0 -151
- package/dist/collection/components/notification/z-tooltip/index.js.map +0 -1
- package/dist/collection/components/panel/z-panel-elem/index.js +0 -197
- package/dist/collection/components/panel/z-panel-elem/index.js.map +0 -1
- package/dist/collection/components/panel/z-panel-elem/index.spec.js.map +0 -1
- package/dist/components/icons.js +0 -876
- package/dist/components/icons.js.map +0 -1
- package/dist/esm/index-076dde65.js +0 -18
- package/dist/esm/index-076dde65.js.map +0 -1
- package/dist/esm/index-14aee9cb.js +0 -57
- package/dist/esm/index-14aee9cb.js.map +0 -1
- package/dist/esm/index-2d440333.js +0 -19
- package/dist/esm/index-2d440333.js.map +0 -1
- package/dist/esm/index-2ee978fb.js +0 -19
- package/dist/esm/index-2ee978fb.js.map +0 -1
- package/dist/esm/index-8db8e65f.js +0 -63
- package/dist/esm/index-8db8e65f.js.map +0 -1
- package/dist/esm/index-a3d19e3a.js +0 -44
- package/dist/esm/index-a3d19e3a.js.map +0 -1
- package/dist/esm/index-f16bc2ca.js +0 -3110
- package/dist/esm/index-f16bc2ca.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/components/buttons/z-button/index.d.ts +0 -31
- package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +0 -18
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -17
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -17
- package/dist/types/components/icons/icons.d.ts +0 -1577
- package/dist/types/components/indicators/z-stepper/index.d.ts +0 -6
- package/dist/types/components/inputs/z-combobox/index.d.ts +0 -84
- package/dist/types/components/inputs/z-input/index.d.ts +0 -110
- package/dist/types/components/inputs/z-input-message/index.d.ts +0 -12
- package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -80
- package/dist/types/components/inputs/z-select/index.d.ts +0 -84
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -14
- package/dist/types/components/modal/z-modal/index.d.ts +0 -49
- package/dist/types/components/navigation/z-app-header/index.d.ts +0 -149
- package/dist/types/components/navigation/z-menu/index.d.ts +0 -61
- package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -31
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -114
- package/dist/types/components/notification/z-info-box/index.d.ts +0 -14
- package/dist/types/components/notification/z-notification/index.d.ts +0 -32
- package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +0 -32
- package/dist/web-components-library/p-05849d8d.entry.js +0 -2
- package/dist/web-components-library/p-05849d8d.entry.js.map +0 -1
- package/dist/web-components-library/p-10589629.entry.js +0 -2
- package/dist/web-components-library/p-10589629.entry.js.map +0 -1
- package/dist/web-components-library/p-10bb4f4b.js +0 -3
- package/dist/web-components-library/p-10bb4f4b.js.map +0 -1
- package/dist/web-components-library/p-118241ec.entry.js +0 -2
- package/dist/web-components-library/p-118241ec.entry.js.map +0 -1
- package/dist/web-components-library/p-11b26c59.entry.js +0 -2
- package/dist/web-components-library/p-11b26c59.entry.js.map +0 -1
- package/dist/web-components-library/p-12d181f4.entry.js +0 -2
- package/dist/web-components-library/p-12d181f4.entry.js.map +0 -1
- package/dist/web-components-library/p-13e18838.entry.js +0 -2
- package/dist/web-components-library/p-13e18838.entry.js.map +0 -1
- package/dist/web-components-library/p-1b870733.entry.js +0 -2
- package/dist/web-components-library/p-1b870733.entry.js.map +0 -1
- package/dist/web-components-library/p-217291fe.entry.js +0 -2
- package/dist/web-components-library/p-217291fe.entry.js.map +0 -1
- package/dist/web-components-library/p-27b0663c.entry.js +0 -2
- package/dist/web-components-library/p-27b0663c.entry.js.map +0 -1
- package/dist/web-components-library/p-2c05849f.entry.js +0 -2
- package/dist/web-components-library/p-2c05849f.entry.js.map +0 -1
- package/dist/web-components-library/p-2c1cbcf2.entry.js +0 -2
- package/dist/web-components-library/p-2c1cbcf2.entry.js.map +0 -1
- package/dist/web-components-library/p-2df79d5c.entry.js +0 -2
- package/dist/web-components-library/p-2df79d5c.entry.js.map +0 -1
- package/dist/web-components-library/p-2ebf9e17.js +0 -2
- package/dist/web-components-library/p-2ebf9e17.js.map +0 -1
- package/dist/web-components-library/p-2f2f460a.entry.js +0 -2
- package/dist/web-components-library/p-2f2f460a.entry.js.map +0 -1
- package/dist/web-components-library/p-3092c82f.entry.js +0 -2
- package/dist/web-components-library/p-3092c82f.entry.js.map +0 -1
- package/dist/web-components-library/p-3ba8b8e1.entry.js +0 -2
- package/dist/web-components-library/p-3ba8b8e1.entry.js.map +0 -1
- package/dist/web-components-library/p-3bae6330.entry.js +0 -2
- package/dist/web-components-library/p-3bae6330.entry.js.map +0 -1
- package/dist/web-components-library/p-410ec9a2.entry.js +0 -2
- package/dist/web-components-library/p-410ec9a2.entry.js.map +0 -1
- package/dist/web-components-library/p-414c9659.entry.js +0 -2
- package/dist/web-components-library/p-414c9659.entry.js.map +0 -1
- package/dist/web-components-library/p-4574595b.entry.js +0 -2
- package/dist/web-components-library/p-4574595b.entry.js.map +0 -1
- package/dist/web-components-library/p-45d7e54e.entry.js +0 -2
- package/dist/web-components-library/p-45d7e54e.entry.js.map +0 -1
- package/dist/web-components-library/p-48c16e8f.js +0 -2
- package/dist/web-components-library/p-48c16e8f.js.map +0 -1
- package/dist/web-components-library/p-4bc0818d.js +0 -2
- package/dist/web-components-library/p-4bc0818d.js.map +0 -1
- package/dist/web-components-library/p-4d2be9e5.entry.js +0 -2
- package/dist/web-components-library/p-4d2be9e5.entry.js.map +0 -1
- package/dist/web-components-library/p-4d2e328d.entry.js +0 -2
- package/dist/web-components-library/p-4d2e328d.entry.js.map +0 -1
- package/dist/web-components-library/p-4dd8d4e8.entry.js +0 -2
- package/dist/web-components-library/p-4dd8d4e8.entry.js.map +0 -1
- package/dist/web-components-library/p-5441ba83.entry.js +0 -2
- package/dist/web-components-library/p-5441ba83.entry.js.map +0 -1
- package/dist/web-components-library/p-54681ece.entry.js +0 -2
- package/dist/web-components-library/p-54681ece.entry.js.map +0 -1
- package/dist/web-components-library/p-5c50cc2d.entry.js +0 -2
- package/dist/web-components-library/p-5c50cc2d.entry.js.map +0 -1
- package/dist/web-components-library/p-6398da61.js +0 -2
- package/dist/web-components-library/p-6398da61.js.map +0 -1
- package/dist/web-components-library/p-64683cca.entry.js +0 -2
- package/dist/web-components-library/p-64683cca.entry.js.map +0 -1
- package/dist/web-components-library/p-6e8b7c93.entry.js +0 -2
- package/dist/web-components-library/p-6e8b7c93.entry.js.map +0 -1
- package/dist/web-components-library/p-6f023899.entry.js +0 -2
- package/dist/web-components-library/p-6f023899.entry.js.map +0 -1
- package/dist/web-components-library/p-7441b8f8.entry.js +0 -2
- package/dist/web-components-library/p-7441b8f8.entry.js.map +0 -1
- package/dist/web-components-library/p-74b2b9a0.entry.js +0 -2
- package/dist/web-components-library/p-74b2b9a0.entry.js.map +0 -1
- package/dist/web-components-library/p-771a4c2f.entry.js +0 -2
- package/dist/web-components-library/p-771a4c2f.entry.js.map +0 -1
- package/dist/web-components-library/p-7e442c5f.entry.js +0 -2
- package/dist/web-components-library/p-7e442c5f.entry.js.map +0 -1
- package/dist/web-components-library/p-7ef963d4.js +0 -2
- package/dist/web-components-library/p-7ef963d4.js.map +0 -1
- package/dist/web-components-library/p-a2b43ed1.entry.js +0 -2
- package/dist/web-components-library/p-a2b43ed1.entry.js.map +0 -1
- package/dist/web-components-library/p-a402854c.entry.js +0 -2
- package/dist/web-components-library/p-a402854c.entry.js.map +0 -1
- package/dist/web-components-library/p-a6fcefe7.entry.js +0 -2
- package/dist/web-components-library/p-a6fcefe7.entry.js.map +0 -1
- package/dist/web-components-library/p-b0ef19c7.js +0 -2
- package/dist/web-components-library/p-b0ef19c7.js.map +0 -1
- package/dist/web-components-library/p-b4ad044a.entry.js +0 -2
- package/dist/web-components-library/p-b4ad044a.entry.js.map +0 -1
- package/dist/web-components-library/p-b53e9a21.entry.js +0 -2
- package/dist/web-components-library/p-b53e9a21.entry.js.map +0 -1
- package/dist/web-components-library/p-b67887e7.entry.js +0 -2
- package/dist/web-components-library/p-b67887e7.entry.js.map +0 -1
- package/dist/web-components-library/p-b93c49a8.entry.js +0 -2
- package/dist/web-components-library/p-b93c49a8.entry.js.map +0 -1
- package/dist/web-components-library/p-b94b71b8.entry.js +0 -2
- package/dist/web-components-library/p-b94b71b8.entry.js.map +0 -1
- package/dist/web-components-library/p-c19aca30.entry.js +0 -2
- package/dist/web-components-library/p-c19aca30.entry.js.map +0 -1
- package/dist/web-components-library/p-c49ca2a9.entry.js +0 -2
- package/dist/web-components-library/p-c49ca2a9.entry.js.map +0 -1
- package/dist/web-components-library/p-c4e40901.entry.js +0 -2
- package/dist/web-components-library/p-c4e40901.entry.js.map +0 -1
- package/dist/web-components-library/p-d02bc360.entry.js +0 -2
- package/dist/web-components-library/p-d02bc360.entry.js.map +0 -1
- package/dist/web-components-library/p-d8c631d6.entry.js +0 -2
- package/dist/web-components-library/p-d8c631d6.entry.js.map +0 -1
- package/dist/web-components-library/p-d973f170.entry.js +0 -2
- package/dist/web-components-library/p-d973f170.entry.js.map +0 -1
- package/dist/web-components-library/p-d9f3ae73.entry.js +0 -2
- package/dist/web-components-library/p-d9f3ae73.entry.js.map +0 -1
- package/dist/web-components-library/p-dcd73f91.entry.js +0 -2
- package/dist/web-components-library/p-dcd73f91.entry.js.map +0 -1
- package/dist/web-components-library/p-dde6c887.entry.js +0 -2
- package/dist/web-components-library/p-dde6c887.entry.js.map +0 -1
- package/dist/web-components-library/p-e1b99a10.entry.js +0 -2
- package/dist/web-components-library/p-e1b99a10.entry.js.map +0 -1
- package/dist/web-components-library/p-e338f042.entry.js +0 -2
- package/dist/web-components-library/p-e338f042.entry.js.map +0 -1
- package/dist/web-components-library/p-e75ca94d.entry.js +0 -2
- package/dist/web-components-library/p-e75ca94d.entry.js.map +0 -1
- package/dist/web-components-library/p-ed1a5ee3.entry.js +0 -2
- package/dist/web-components-library/p-ed1a5ee3.entry.js.map +0 -1
- package/dist/web-components-library/p-ed65d0d2.entry.js +0 -2
- package/dist/web-components-library/p-ed65d0d2.entry.js.map +0 -1
- package/dist/web-components-library/p-edb8975a.entry.js +0 -2
- package/dist/web-components-library/p-edb8975a.entry.js.map +0 -1
- package/dist/web-components-library/p-ee03249d.entry.js +0 -2
- package/dist/web-components-library/p-ee03249d.entry.js.map +0 -1
- package/dist/web-components-library/p-ef43ca85.entry.js +0 -2
- package/dist/web-components-library/p-ef43ca85.entry.js.map +0 -1
- package/dist/web-components-library/p-f41da106.entry.js +0 -2
- package/dist/web-components-library/p-f41da106.entry.js.map +0 -1
- package/dist/web-components-library/p-f48575f1.entry.js +0 -2
- package/dist/web-components-library/p-f48575f1.entry.js.map +0 -1
- package/dist/web-components-library/p-f9edfd67.entry.js +0 -2
- package/dist/web-components-library/p-f9edfd67.entry.js.map +0 -1
- package/dist/web-components-library/p-fc4bd856.entry.js +0 -17
- package/dist/web-components-library/p-fc4bd856.entry.js.map +0 -1
- package/dist/web-components-library/p-feaee92d.entry.js +0 -2
- package/dist/web-components-library/p-feaee92d.entry.js.map +0 -1
- package/www/build/p-05849d8d.entry.js +0 -2
- package/www/build/p-05849d8d.entry.js.map +0 -1
- package/www/build/p-10589629.entry.js +0 -2
- package/www/build/p-10589629.entry.js.map +0 -1
- package/www/build/p-10bb4f4b.js +0 -3
- package/www/build/p-10bb4f4b.js.map +0 -1
- package/www/build/p-118241ec.entry.js +0 -2
- package/www/build/p-118241ec.entry.js.map +0 -1
- package/www/build/p-11b26c59.entry.js +0 -2
- package/www/build/p-11b26c59.entry.js.map +0 -1
- package/www/build/p-12d181f4.entry.js +0 -2
- package/www/build/p-12d181f4.entry.js.map +0 -1
- package/www/build/p-13e18838.entry.js +0 -2
- package/www/build/p-13e18838.entry.js.map +0 -1
- package/www/build/p-1b870733.entry.js +0 -2
- package/www/build/p-1b870733.entry.js.map +0 -1
- package/www/build/p-217291fe.entry.js +0 -2
- package/www/build/p-217291fe.entry.js.map +0 -1
- package/www/build/p-27b0663c.entry.js +0 -2
- package/www/build/p-27b0663c.entry.js.map +0 -1
- package/www/build/p-2c05849f.entry.js +0 -2
- package/www/build/p-2c05849f.entry.js.map +0 -1
- package/www/build/p-2c1cbcf2.entry.js +0 -2
- package/www/build/p-2c1cbcf2.entry.js.map +0 -1
- package/www/build/p-2df79d5c.entry.js +0 -2
- package/www/build/p-2df79d5c.entry.js.map +0 -1
- package/www/build/p-2ebf9e17.js +0 -2
- package/www/build/p-2ebf9e17.js.map +0 -1
- package/www/build/p-2f2f460a.entry.js +0 -2
- package/www/build/p-2f2f460a.entry.js.map +0 -1
- package/www/build/p-304150c5.js +0 -2
- package/www/build/p-3092c82f.entry.js +0 -2
- package/www/build/p-3092c82f.entry.js.map +0 -1
- package/www/build/p-3ba8b8e1.entry.js +0 -2
- package/www/build/p-3ba8b8e1.entry.js.map +0 -1
- package/www/build/p-3bae6330.entry.js +0 -2
- package/www/build/p-3bae6330.entry.js.map +0 -1
- package/www/build/p-410ec9a2.entry.js +0 -2
- package/www/build/p-410ec9a2.entry.js.map +0 -1
- package/www/build/p-414c9659.entry.js +0 -2
- package/www/build/p-414c9659.entry.js.map +0 -1
- package/www/build/p-4574595b.entry.js +0 -2
- package/www/build/p-4574595b.entry.js.map +0 -1
- package/www/build/p-45d7e54e.entry.js +0 -2
- package/www/build/p-45d7e54e.entry.js.map +0 -1
- package/www/build/p-48c16e8f.js +0 -2
- package/www/build/p-48c16e8f.js.map +0 -1
- package/www/build/p-4bc0818d.js +0 -2
- package/www/build/p-4bc0818d.js.map +0 -1
- package/www/build/p-4d2be9e5.entry.js +0 -2
- package/www/build/p-4d2be9e5.entry.js.map +0 -1
- package/www/build/p-4d2e328d.entry.js +0 -2
- package/www/build/p-4d2e328d.entry.js.map +0 -1
- package/www/build/p-4dd8d4e8.entry.js +0 -2
- package/www/build/p-4dd8d4e8.entry.js.map +0 -1
- package/www/build/p-5441ba83.entry.js +0 -2
- package/www/build/p-5441ba83.entry.js.map +0 -1
- package/www/build/p-54681ece.entry.js +0 -2
- package/www/build/p-54681ece.entry.js.map +0 -1
- package/www/build/p-5c50cc2d.entry.js +0 -2
- package/www/build/p-5c50cc2d.entry.js.map +0 -1
- package/www/build/p-6398da61.js +0 -2
- package/www/build/p-6398da61.js.map +0 -1
- package/www/build/p-64683cca.entry.js +0 -2
- package/www/build/p-64683cca.entry.js.map +0 -1
- package/www/build/p-6e8b7c93.entry.js +0 -2
- package/www/build/p-6e8b7c93.entry.js.map +0 -1
- package/www/build/p-6f023899.entry.js +0 -2
- package/www/build/p-6f023899.entry.js.map +0 -1
- package/www/build/p-7441b8f8.entry.js +0 -2
- package/www/build/p-7441b8f8.entry.js.map +0 -1
- package/www/build/p-74b2b9a0.entry.js +0 -2
- package/www/build/p-74b2b9a0.entry.js.map +0 -1
- package/www/build/p-771a4c2f.entry.js +0 -2
- package/www/build/p-771a4c2f.entry.js.map +0 -1
- package/www/build/p-7e442c5f.entry.js +0 -2
- package/www/build/p-7e442c5f.entry.js.map +0 -1
- package/www/build/p-7ef963d4.js +0 -2
- package/www/build/p-7ef963d4.js.map +0 -1
- package/www/build/p-a2b43ed1.entry.js +0 -2
- package/www/build/p-a2b43ed1.entry.js.map +0 -1
- package/www/build/p-a402854c.entry.js +0 -2
- package/www/build/p-a402854c.entry.js.map +0 -1
- package/www/build/p-a6fcefe7.entry.js +0 -2
- package/www/build/p-a6fcefe7.entry.js.map +0 -1
- package/www/build/p-b0ef19c7.js +0 -2
- package/www/build/p-b0ef19c7.js.map +0 -1
- package/www/build/p-b4ad044a.entry.js +0 -2
- package/www/build/p-b4ad044a.entry.js.map +0 -1
- package/www/build/p-b53e9a21.entry.js +0 -2
- package/www/build/p-b53e9a21.entry.js.map +0 -1
- package/www/build/p-b67887e7.entry.js +0 -2
- package/www/build/p-b67887e7.entry.js.map +0 -1
- package/www/build/p-b93c49a8.entry.js +0 -2
- package/www/build/p-b93c49a8.entry.js.map +0 -1
- package/www/build/p-b94b71b8.entry.js +0 -2
- package/www/build/p-b94b71b8.entry.js.map +0 -1
- package/www/build/p-c19aca30.entry.js +0 -2
- package/www/build/p-c19aca30.entry.js.map +0 -1
- package/www/build/p-c49ca2a9.entry.js +0 -2
- package/www/build/p-c49ca2a9.entry.js.map +0 -1
- package/www/build/p-c4e40901.entry.js +0 -2
- package/www/build/p-c4e40901.entry.js.map +0 -1
- package/www/build/p-d02bc360.entry.js +0 -2
- package/www/build/p-d02bc360.entry.js.map +0 -1
- package/www/build/p-d8c631d6.entry.js +0 -2
- package/www/build/p-d8c631d6.entry.js.map +0 -1
- package/www/build/p-d973f170.entry.js +0 -2
- package/www/build/p-d973f170.entry.js.map +0 -1
- package/www/build/p-d9f3ae73.entry.js +0 -2
- package/www/build/p-d9f3ae73.entry.js.map +0 -1
- package/www/build/p-dcd73f91.entry.js +0 -2
- package/www/build/p-dcd73f91.entry.js.map +0 -1
- package/www/build/p-dde6c887.entry.js +0 -2
- package/www/build/p-dde6c887.entry.js.map +0 -1
- package/www/build/p-e1b99a10.entry.js +0 -2
- package/www/build/p-e1b99a10.entry.js.map +0 -1
- package/www/build/p-e338f042.entry.js +0 -2
- package/www/build/p-e338f042.entry.js.map +0 -1
- package/www/build/p-e75ca94d.entry.js +0 -2
- package/www/build/p-e75ca94d.entry.js.map +0 -1
- package/www/build/p-ed1a5ee3.entry.js +0 -2
- package/www/build/p-ed1a5ee3.entry.js.map +0 -1
- package/www/build/p-ed65d0d2.entry.js +0 -2
- package/www/build/p-ed65d0d2.entry.js.map +0 -1
- package/www/build/p-edb8975a.entry.js +0 -2
- package/www/build/p-edb8975a.entry.js.map +0 -1
- package/www/build/p-ee03249d.entry.js +0 -2
- package/www/build/p-ee03249d.entry.js.map +0 -1
- package/www/build/p-ef43ca85.entry.js +0 -2
- package/www/build/p-ef43ca85.entry.js.map +0 -1
- package/www/build/p-f41da106.entry.js +0 -2
- package/www/build/p-f41da106.entry.js.map +0 -1
- package/www/build/p-f48575f1.entry.js +0 -2
- package/www/build/p-f48575f1.entry.js.map +0 -1
- package/www/build/p-f9edfd67.entry.js +0 -2
- package/www/build/p-f9edfd67.entry.js.map +0 -1
- package/www/build/p-fc4bd856.entry.js +0 -17
- package/www/build/p-fc4bd856.entry.js.map +0 -1
- package/www/build/p-feaee92d.entry.js +0 -2
- package/www/build/p-feaee92d.entry.js.map +0 -1
- /package/dist/collection/components/{navigation/z-app-header → z-app-header}/index.spec.js +0 -0
- /package/dist/collection/components/{navigation/z-app-header → z-app-header}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-button → z-button}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/test.e2e.js +0 -0
- /package/dist/collection/components/{buttons/z-chip → z-chip}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-chip → z-chip}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-combobox → z-combobox}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-combobox → z-combobox}/styles.css +0 -0
- /package/dist/collection/components/{icons/z-icon → z-icon}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-info-box → z-info-box}/index.spec.js +0 -0
- /package/dist/collection/components/{notification/z-info-box → z-info-box}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-input → z-input}/test-checkbox.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input → z-input}/test-radio.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input → z-input}/test-textarea.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input-message → z-input-message}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input-message → z-input-message}/styles.css +0 -0
- /package/dist/collection/components/{logo/z-logo → z-logo}/index.spec.js +0 -0
- /package/dist/collection/components/{logo/z-logo → z-logo}/styles.css +0 -0
- /package/dist/collection/components/{logo/z-logo → z-logo}/test.e2e.js +0 -0
- /package/dist/collection/components/{navigation/z-menu → z-menu}/index.spec.js +0 -0
- /package/dist/collection/components/{navigation/z-menu → z-menu}/styles.css +0 -0
- /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/index.spec.js +0 -0
- /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/styles.css +0 -0
- /package/dist/collection/components/{modal/z-modal → z-modal}/index.spec.js +0 -0
- /package/dist/collection/components/{modal/z-modal → z-modal}/styles.css +0 -0
- /package/dist/collection/components/{navigation/z-navigation-tabs → z-navigation-tabs}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-notification → z-notification}/index.spec.js +0 -0
- /package/dist/collection/components/{notification/z-notification → z-notification}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-notification → z-notification}/test.e2e.js +0 -0
- /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/index.spec.js +0 -0
- /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-select → z-select}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-select → z-select}/styles.css +0 -0
- /package/dist/collection/components/{indicators/z-stepper → z-stepper}/index.spec.js +0 -0
- /package/dist/collection/components/{indicators/z-stepper → z-stepper}/styles.css +0 -0
- /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/index.spec.js +0 -0
- /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/index.spec.js +0 -0
- /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/styles.css +0 -0
- /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/index.spec.js +0 -0
- /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/styles.css +0 -0
- /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/test.e2e.js +0 -0
- /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-tooltip → z-tooltip}/styles.css +0 -0
- /package/dist/types/components/{icons/z-icon → z-icon}/index.d.ts +0 -0
- /package/dist/types/components/{logo/z-logo → z-logo}/index.d.ts +0 -0
- /package/dist/types/components/{panel/z-panel-elem → z-panel-elem}/index.d.ts +0 -0
- /package/dist/types/components/{indicators/z-stepper-item → z-stepper-item}/index.d.ts +0 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { styleMap } from "lit/directives/style-map.js";
|
|
3
|
+
import { CardVariant } from "../../beans";
|
|
4
|
+
import "../z-icon/index";
|
|
5
|
+
import "./index";
|
|
6
|
+
import "./index.stories.css";
|
|
7
|
+
const StoryMeta = {
|
|
8
|
+
title: "ZCard",
|
|
9
|
+
component: "z-card",
|
|
10
|
+
argTypes: {
|
|
11
|
+
variant: {
|
|
12
|
+
control: {
|
|
13
|
+
type: "inline-radio",
|
|
14
|
+
labels: {
|
|
15
|
+
null: "default",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
options: [null, ...Object.values(CardVariant)],
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
args: {
|
|
22
|
+
variant: null,
|
|
23
|
+
showShadow: false,
|
|
24
|
+
clickable: false,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
export default StoryMeta;
|
|
28
|
+
export const WithImage = {
|
|
29
|
+
render: (args) => html `
|
|
30
|
+
<z-card
|
|
31
|
+
class="demo-card"
|
|
32
|
+
.variant="${args.variant}"
|
|
33
|
+
.showShadow="${args.showShadow}"
|
|
34
|
+
.clickable="${args.clickable}"
|
|
35
|
+
>
|
|
36
|
+
<img
|
|
37
|
+
slot="cover"
|
|
38
|
+
src="https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg"
|
|
39
|
+
/>
|
|
40
|
+
<span
|
|
41
|
+
class="body-5"
|
|
42
|
+
slot="metadata"
|
|
43
|
+
>
|
|
44
|
+
metadata
|
|
45
|
+
</span>
|
|
46
|
+
<a
|
|
47
|
+
href="https://google.it"
|
|
48
|
+
target="_blank"
|
|
49
|
+
slot="title"
|
|
50
|
+
>
|
|
51
|
+
<span>Card title</span>
|
|
52
|
+
</a>
|
|
53
|
+
<p
|
|
54
|
+
class="body-3"
|
|
55
|
+
slot="text"
|
|
56
|
+
>
|
|
57
|
+
Some description for the content of the card.
|
|
58
|
+
</p>
|
|
59
|
+
<button slot="action"><z-icon name="share"></z-icon></button>
|
|
60
|
+
<button slot="action"><z-icon name="delete"></z-icon></button>
|
|
61
|
+
</z-card>
|
|
62
|
+
`,
|
|
63
|
+
};
|
|
64
|
+
export const WithImageAndIcon = {
|
|
65
|
+
args: {
|
|
66
|
+
coverIcon: "play-filled",
|
|
67
|
+
},
|
|
68
|
+
render: (args) => html `
|
|
69
|
+
<z-card
|
|
70
|
+
class="demo-card"
|
|
71
|
+
cover-icon="${args.coverIcon}"
|
|
72
|
+
.variant="${args.variant}"
|
|
73
|
+
.showShadow="${args.showShadow}"
|
|
74
|
+
.clickable="${args.clickable}"
|
|
75
|
+
>
|
|
76
|
+
<img
|
|
77
|
+
slot="cover"
|
|
78
|
+
src="https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg"
|
|
79
|
+
/>
|
|
80
|
+
<h2
|
|
81
|
+
class="body-5"
|
|
82
|
+
slot="metadata"
|
|
83
|
+
>
|
|
84
|
+
metadata
|
|
85
|
+
</h2>
|
|
86
|
+
<a
|
|
87
|
+
href="https://google.it"
|
|
88
|
+
target="_blank"
|
|
89
|
+
slot="title"
|
|
90
|
+
>
|
|
91
|
+
<span>Card title</span>
|
|
92
|
+
</a>
|
|
93
|
+
<p
|
|
94
|
+
class="body-3"
|
|
95
|
+
slot="text"
|
|
96
|
+
>
|
|
97
|
+
Some description for the content of the card.
|
|
98
|
+
</p>
|
|
99
|
+
<button slot="action"><z-icon name="share"></z-icon></button>
|
|
100
|
+
<button slot="action"><z-icon name="delete"></z-icon></button>
|
|
101
|
+
</z-card>
|
|
102
|
+
`,
|
|
103
|
+
};
|
|
104
|
+
export const ColorCover = {
|
|
105
|
+
args: {
|
|
106
|
+
"--z-card--color-cover-background": "var(--yellow500)",
|
|
107
|
+
},
|
|
108
|
+
render: (args) => html `
|
|
109
|
+
<z-card
|
|
110
|
+
class="demo-card"
|
|
111
|
+
.variant="${args.variant}"
|
|
112
|
+
.showShadow="${args.showShadow}"
|
|
113
|
+
.clickable="${args.clickable}"
|
|
114
|
+
style="--z-card--color-cover-background: ${args["--z-card--color-cover-background"]};"
|
|
115
|
+
>
|
|
116
|
+
<h2
|
|
117
|
+
class="body-5"
|
|
118
|
+
slot="metadata"
|
|
119
|
+
>
|
|
120
|
+
metadata
|
|
121
|
+
</h2>
|
|
122
|
+
<a
|
|
123
|
+
href="https://google.it"
|
|
124
|
+
target="_blank"
|
|
125
|
+
slot="title"
|
|
126
|
+
>
|
|
127
|
+
<span>Card title</span>
|
|
128
|
+
</a>
|
|
129
|
+
<p
|
|
130
|
+
class="body-3"
|
|
131
|
+
slot="text"
|
|
132
|
+
>
|
|
133
|
+
Some description for the content of the card.
|
|
134
|
+
</p>
|
|
135
|
+
<button slot="action"><z-icon name="share"></z-icon></button>
|
|
136
|
+
<button slot="action"><z-icon name="delete"></z-icon></button>
|
|
137
|
+
</z-card>
|
|
138
|
+
`,
|
|
139
|
+
};
|
|
140
|
+
export const TextVariantPrimaryBackground = {
|
|
141
|
+
args: {
|
|
142
|
+
"--z-card--text-border-radius": "4px",
|
|
143
|
+
},
|
|
144
|
+
parameters: {
|
|
145
|
+
controls: {
|
|
146
|
+
exclude: ["variant"],
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
render: (args) => html `
|
|
150
|
+
<z-card
|
|
151
|
+
class="text-variant-card"
|
|
152
|
+
variant="text"
|
|
153
|
+
.showShadow="${args.showShadow}"
|
|
154
|
+
.clickable="${args.clickable}"
|
|
155
|
+
style=${styleMap({
|
|
156
|
+
"--z-card--text-background": "var(--color-primary01)",
|
|
157
|
+
"--z-card--text-border-radius": `${args["--z-card--text-border-radius"]}`,
|
|
158
|
+
"color": "var(--color-text-inverse)",
|
|
159
|
+
})}
|
|
160
|
+
>
|
|
161
|
+
<h2
|
|
162
|
+
class="body-5"
|
|
163
|
+
slot="metadata"
|
|
164
|
+
>
|
|
165
|
+
metadata
|
|
166
|
+
</h2>
|
|
167
|
+
<a
|
|
168
|
+
href="https://google.it"
|
|
169
|
+
target="_blank"
|
|
170
|
+
slot="title"
|
|
171
|
+
>
|
|
172
|
+
<span>Card title</span>
|
|
173
|
+
</a>
|
|
174
|
+
<p
|
|
175
|
+
class="body-3"
|
|
176
|
+
slot="text"
|
|
177
|
+
>
|
|
178
|
+
Some description for the content of the card.
|
|
179
|
+
</p>
|
|
180
|
+
<button slot="action">
|
|
181
|
+
<z-icon
|
|
182
|
+
name="share"
|
|
183
|
+
fill="color-surface01"
|
|
184
|
+
></z-icon>
|
|
185
|
+
</button>
|
|
186
|
+
<button slot="action">
|
|
187
|
+
<z-icon
|
|
188
|
+
name="delete"
|
|
189
|
+
fill="color-surface01"
|
|
190
|
+
></z-icon>
|
|
191
|
+
</button>
|
|
192
|
+
</z-card>
|
|
193
|
+
`,
|
|
194
|
+
};
|
|
195
|
+
export const TextVariantWhiteBackgroundAndBordered = {
|
|
196
|
+
args: {
|
|
197
|
+
"--z-card--text-border": "2px solid var(--gray800)",
|
|
198
|
+
"--z-card--text-border-radius": "4px",
|
|
199
|
+
"--z-card--text-padding": "16px 8px",
|
|
200
|
+
},
|
|
201
|
+
parameters: {
|
|
202
|
+
controls: {
|
|
203
|
+
exclude: ["variant"],
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
render: (args) => html `<z-card
|
|
207
|
+
class="text-variant-card"
|
|
208
|
+
variant="text"
|
|
209
|
+
.showShadow="${args.showShadow}"
|
|
210
|
+
.clickable="${args.clickable}"
|
|
211
|
+
style=${styleMap({
|
|
212
|
+
"--z-card--text-background": `var(--color-white)`,
|
|
213
|
+
"--z-card--text-border": `${args["--z-card--text-border"]}`,
|
|
214
|
+
"--z-card--text-border-radius": `${args["--z-card--text-border-radius"]}`,
|
|
215
|
+
"--z-card--text-padding": `${args["--z-card--text-padding"]}`,
|
|
216
|
+
})}
|
|
217
|
+
>
|
|
218
|
+
<h2
|
|
219
|
+
class="body-5"
|
|
220
|
+
slot="metadata"
|
|
221
|
+
>
|
|
222
|
+
metadata
|
|
223
|
+
</h2>
|
|
224
|
+
<a
|
|
225
|
+
href="https://google.it"
|
|
226
|
+
target="_blank"
|
|
227
|
+
slot="title"
|
|
228
|
+
>
|
|
229
|
+
<span>Card title</span>
|
|
230
|
+
</a>
|
|
231
|
+
<p
|
|
232
|
+
class="body-3"
|
|
233
|
+
slot="text"
|
|
234
|
+
>
|
|
235
|
+
Some description for the content of the card.
|
|
236
|
+
</p>
|
|
237
|
+
<button slot="action">
|
|
238
|
+
<z-icon
|
|
239
|
+
name="share"
|
|
240
|
+
fill="color-primary01"
|
|
241
|
+
></z-icon>
|
|
242
|
+
</button>
|
|
243
|
+
<button slot="action">
|
|
244
|
+
<z-icon
|
|
245
|
+
name="delete"
|
|
246
|
+
fill="color-primary01"
|
|
247
|
+
></z-icon>
|
|
248
|
+
</button>
|
|
249
|
+
</z-card>`,
|
|
250
|
+
};
|
|
251
|
+
export const WithImageAndClick = {
|
|
252
|
+
render: (args) => html `
|
|
253
|
+
<script>
|
|
254
|
+
document.getElementById("btn-card").addEventListener("click", (e) => {
|
|
255
|
+
// emit event, do stuff
|
|
256
|
+
alert("Click on card");
|
|
257
|
+
});
|
|
258
|
+
</script>
|
|
259
|
+
<z-card
|
|
260
|
+
class="demo-card"
|
|
261
|
+
.variant="${args.variant}"
|
|
262
|
+
.showShadow="${args.showShadow}"
|
|
263
|
+
.clickable="${args.clickable}"
|
|
264
|
+
>
|
|
265
|
+
<img
|
|
266
|
+
slot="cover"
|
|
267
|
+
src="https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg"
|
|
268
|
+
/>
|
|
269
|
+
<span
|
|
270
|
+
class="body-5"
|
|
271
|
+
slot="metadata"
|
|
272
|
+
>
|
|
273
|
+
metadata
|
|
274
|
+
</span>
|
|
275
|
+
<button
|
|
276
|
+
id="btn-card"
|
|
277
|
+
slot="title"
|
|
278
|
+
>
|
|
279
|
+
<span>Card title</span>
|
|
280
|
+
</button>
|
|
281
|
+
<p
|
|
282
|
+
class="body-3"
|
|
283
|
+
slot="text"
|
|
284
|
+
>
|
|
285
|
+
Some description for the content of the card.
|
|
286
|
+
</p>
|
|
287
|
+
<button slot="action"><z-icon name="share"></z-icon></button>
|
|
288
|
+
<button slot="action"><z-icon name="delete"></z-icon></button>
|
|
289
|
+
</z-card>
|
|
290
|
+
`,
|
|
291
|
+
};
|
|
292
|
+
//# sourceMappingURL=index.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-card/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAU7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,QAAQ;IACnB,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE;gBACP,IAAI,EAAE,cAAc;gBACpB,MA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["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {styleMap} from \"lit/directives/style-map.js\";\nimport {ZCard} from \".\";\nimport {CardVariant} from \"../../beans\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZCardStoriesArgs = ZCard &\n CSSVarsArguments<\n | \"z-card--color-cover-background\"\n | \"z-card--color-cover-background\"\n | \"z-card--text-border\"\n | \"z-card--text-border-radius\"\n | \"z-card--text-padding\"\n >;\nconst StoryMeta = {\n title: \"ZCard\",\n component: \"z-card\",\n argTypes: {\n variant: {\n control: {\n type: \"inline-radio\",\n labels: {\n null: \"default\",\n },\n },\n options: [null, ...Object.values(CardVariant)],\n },\n },\n args: {\n variant: null,\n showShadow: false,\n clickable: false,\n },\n} satisfies Meta<ZCardStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZCardStoriesArgs>;\n\nexport const WithImage = {\n render: (args) => html`\n <z-card\n class=\"demo-card\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n >\n <img\n slot=\"cover\"\n src=\"https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg\"\n />\n <span\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </span>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const WithImageAndIcon = {\n args: {\n coverIcon: \"play-filled\",\n },\n render: (args) => html`\n <z-card\n class=\"demo-card\"\n cover-icon=\"${args.coverIcon}\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n >\n <img\n slot=\"cover\"\n src=\"https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg\"\n />\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const ColorCover = {\n args: {\n \"--z-card--color-cover-background\": \"var(--yellow500)\",\n },\n render: (args) => html`\n <z-card\n class=\"demo-card\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n style=\"--z-card--color-cover-background: ${args[\"--z-card--color-cover-background\"]};\"\n >\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const TextVariantPrimaryBackground = {\n args: {\n \"--z-card--text-border-radius\": \"4px\",\n },\n parameters: {\n controls: {\n exclude: [\"variant\"],\n },\n },\n render: (args) => html`\n <z-card\n class=\"text-variant-card\"\n variant=\"text\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n style=${styleMap({\n \"--z-card--text-background\": \"var(--color-primary01)\",\n \"--z-card--text-border-radius\": `${args[\"--z-card--text-border-radius\"]}`,\n \"color\": \"var(--color-text-inverse)\",\n })}\n >\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\">\n <z-icon\n name=\"share\"\n fill=\"color-surface01\"\n ></z-icon>\n </button>\n <button slot=\"action\">\n <z-icon\n name=\"delete\"\n fill=\"color-surface01\"\n ></z-icon>\n </button>\n </z-card>\n `,\n} satisfies Story;\n\nexport const TextVariantWhiteBackgroundAndBordered = {\n args: {\n \"--z-card--text-border\": \"2px solid var(--gray800)\",\n \"--z-card--text-border-radius\": \"4px\",\n \"--z-card--text-padding\": \"16px 8px\",\n },\n parameters: {\n controls: {\n exclude: [\"variant\"],\n },\n },\n render: (args) =>\n html`<z-card\n class=\"text-variant-card\"\n variant=\"text\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n style=${styleMap({\n \"--z-card--text-background\": `var(--color-white)`,\n \"--z-card--text-border\": `${args[\"--z-card--text-border\"]}`,\n \"--z-card--text-border-radius\": `${args[\"--z-card--text-border-radius\"]}`,\n \"--z-card--text-padding\": `${args[\"--z-card--text-padding\"]}`,\n })}\n >\n <h2\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </h2>\n <a\n href=\"https://google.it\"\n target=\"_blank\"\n slot=\"title\"\n >\n <span>Card title</span>\n </a>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\">\n <z-icon\n name=\"share\"\n fill=\"color-primary01\"\n ></z-icon>\n </button>\n <button slot=\"action\">\n <z-icon\n name=\"delete\"\n fill=\"color-primary01\"\n ></z-icon>\n </button>\n </z-card>`,\n} satisfies Story;\n\nexport const WithImageAndClick = {\n render: (args) => html`\n <script>\n document.getElementById(\"btn-card\").addEventListener(\"click\", (e) => {\n // emit event, do stuff\n alert(\"Click on card\");\n });\n </script>\n <z-card\n class=\"demo-card\"\n .variant=\"${args.variant}\"\n .showShadow=\"${args.showShadow}\"\n .clickable=\"${args.clickable}\"\n >\n <img\n slot=\"cover\"\n src=\"https://i.pinimg.com/originals/b9/fc/7e/b9fc7e6b2dd2ca128bcc3412e68994f0.jpg\"\n />\n <span\n class=\"body-5\"\n slot=\"metadata\"\n >\n metadata\n </span>\n <button\n id=\"btn-card\"\n slot=\"title\"\n >\n <span>Card title</span>\n </button>\n <p\n class=\"body-3\"\n slot=\"text\"\n >\n Some description for the content of the card.\n </p>\n <button slot=\"action\"><z-icon name=\"share\"></z-icon></button>\n <button slot=\"action\"><z-icon name=\"delete\"></z-icon></button>\n </z-card>\n `,\n} satisfies Story;\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CarouselArrowsPosition, CarouselProgressMode
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { ButtonVariant, CarouselArrowsPosition, CarouselProgressMode } from "../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* ZCarousel component.
|
|
5
5
|
* @cssprop --z-carousel-gutter - The gutter between items.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-carousel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAgB,KAAK,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,sBAAsB,EAAE,oBAAoB,EAAE,aAAa,EAAC,MAAM,aAAa,CAAC;AAExF;;;;;GAKG;AAMH,MAAM,OAAO,SAAS;;QAkEpB,wGAAwG;QAChG,gBAAW,GAAW,IAAI,CAAC;;;sBAtD1B,KAAK;;;2BAgBA,IAAI;kCAIG,GAAG;wBAIb,KAAK;uBAIN,CAAC;;;;;;IAiCX,aAAa;QACX,IAAI,CAAC,WAAW,CAAC,IA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,CAAC,CAAC,CAAC,gCAAgC,GAC1F,CACH,CACG,CACP,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop, Element, Watch, Event, EventEmitter, State, Host} from \"@stencil/core\";\nimport {CarouselArrowsPosition, CarouselProgressMode, ButtonVariant} from \"../../beans\";\n\n/**\n * ZCarousel component.\n * @cssprop --z-carousel-gutter - The gutter between items.\n * @cssprop --z-carousel-items-shadow - The shadow around the items.\n * @slot - Carousel items. Use `<li>` elements inside this slot.\n */\n@Component({\n tag: \"z-carousel\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZCarousel {\n @Element() host: HTMLZCarouselElement;\n\n /** The z-carousel is on loading state */\n @Prop()\n isLoading: boolean;\n\n /** The z-carousel title */\n @Prop()\n label?: string;\n\n /** Shows only one content at a time */\n @Prop({reflect: true})\n single = false;\n\n /** Arrow buttons position */\n @Prop({reflect: true})\n arrowsPosition?: CarouselArrowsPosition;\n\n /** Progress indicator type. Only available for `single` mode */\n @Prop()\n progressMode?: CarouselProgressMode;\n\n /**\n * Whether the navigation arrow buttons over the items are always visible or only on mouse hover.\n * If set to `false`, the arrows will not be visible on mobile.\n * Only meaningful with `arrowsPosition` set to `OVER`.\n */\n @Prop({reflect: true})\n fixedArrows = true;\n\n /** The height of the ghost loader (only visible when `isLoading` is set to `true`) */\n @Prop()\n ghostLoadingHeight = 100;\n\n /** When enabled, navigating next the last item will go back to the first item and vice versa. */\n @Prop()\n infinite = false;\n\n /** Current item index for single mode. */\n @State()\n current = 0;\n\n /** Items on the slider. */\n @State()\n items: HTMLLIElement[];\n\n /** Index of the indicator to highlight. */\n @State()\n highlightedIndicator: number;\n\n @State()\n canNavigatePrev: boolean;\n\n @State()\n canNavigateNext: boolean;\n\n /** Reference for the items container element. */\n protected itemsContainer: HTMLUListElement;\n\n /** Observer that handles current index change when scrolling on single mode. */\n private intersectionObserver: IntersectionObserver;\n\n /** Observer to check if navigation can still be enabled/showed when the size of the items' container changes */\n private resizeObserver: ResizeObserver;\n\n /** Flag indicating the items container is about to scroll programmatically towards the stored index. */\n private scrollingTo: number = null;\n\n /** Emitted on index change and only in `single` mode. */\n @Event()\n indexChange: EventEmitter<{currentItem: number}>;\n\n @Watch(\"current\")\n onIndexChange(): void {\n this.indexChange.emit({currentItem: this.current});\n }\n\n @Watch(\"single\")\n onSingleModeChange(): void {\n if (this.single && !this.intersectionObserver) {\n this.setIntersectionObserver();\n }\n }\n\n @Watch(\"infinite\")\n onInfiniteModeChange(): void {\n this.checkNavigationValidity();\n }\n\n /**\n * Set an intersection observer to:\n * - highlight the indicator of the intersecting item during scroll\n * - set the current item to the last intersecting item\n */\n private setIntersectionObserver(): void {\n this.intersectionObserver = new IntersectionObserver(\n (entries) => {\n const entry = entries.find(({isIntersecting}) => isIntersecting);\n if (!entry) {\n return;\n }\n\n const entryIndex = this.items.findIndex((item) => item === entry.target);\n this.highlightedIndicator = entryIndex;\n\n /* skip setting the current item if intersection has been triggered by a programmatic scroll\n (@see `goTo` function) and the final index has not been reached */\n if (this.scrollingTo !== null && entryIndex !== this.scrollingTo) {\n return;\n }\n\n this.scrollingTo = null;\n this.current = entryIndex;\n },\n {\n root: this.itemsContainer,\n threshold: 0.5,\n }\n );\n\n this.items.forEach((element) => this.intersectionObserver.observe(element));\n }\n\n /** Update items' list and check conditions to allow navigation */\n private onSlotChange(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.checkNavigationValidity();\n this.setIntersectionObserver();\n this.goTo(this.current);\n }\n\n private onPrev(): void {\n if (this.single) {\n this.goTo(this.infinite && this.current - 1 < 0 ? this.items.length - 1 : Math.max(0, this.current - 1));\n\n return;\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite && this.itemsContainer.scrollLeft == 0\n ? this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n : -this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n private onNext(): void {\n if (this.single) {\n const next =\n this.infinite && this.current + 1 > this.items.length - 1\n ? 0\n : Math.min(this.current + 1, this.items.length - 1);\n\n return this.goTo(next);\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite &&\n this.itemsContainer.scrollLeft == this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n ? -this.itemsContainer.scrollWidth\n : this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if navigation buttons can be enabled and set the related local states.\n */\n private checkNavigationValidity(): void {\n if (this.single) {\n this.canNavigatePrev = this.current > 0;\n this.canNavigateNext = this.current < this.items.length - 1;\n\n return;\n }\n\n this.canNavigatePrev = this.itemsContainer.scrollLeft > 0;\n this.canNavigateNext =\n this.itemsContainer.scrollLeft < this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth;\n }\n\n /**\n * Check if footer has to be rendered.\n */\n private canShowFooter(): boolean {\n if (!this.canNavigatePrev && !this.canNavigateNext) {\n return false;\n }\n\n return (\n this.arrowsPosition === CarouselArrowsPosition.BOTTOM ||\n this.progressMode === CarouselProgressMode.DOTS ||\n this.progressMode === CarouselProgressMode.NUMBERS\n );\n }\n\n /**\n * Set current item to passed index.\n * @param index Index to set\n */\n private goTo(index: number): void {\n if (this.current === index) {\n return;\n }\n\n this.scrollingTo = index;\n const left = this.items.slice(0, index).reduce((acc, item) => (acc += item.clientWidth), 0);\n // the scroll will trigger the IntersectionObserver and set the current item\n this.itemsContainer.scroll({\n left,\n behavior: \"smooth\",\n });\n }\n\n /** Check if navigation of at least one direction is enabled */\n private get canNavigate(): boolean {\n return this.canNavigatePrev || this.canNavigateNext;\n }\n\n private setupItems(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.items.forEach((item) => {\n item.setAttribute(\"role\", \"group\");\n item.setAttribute(\"aria-roledescription\", \"slide\");\n });\n }\n\n componentDidLoad(): void {\n this.itemsContainer?.addEventListener(\"scroll\", this.checkNavigationValidity.bind(this), {passive: true});\n this.resizeObserver = new ResizeObserver(this.checkNavigationValidity.bind(this));\n this.resizeObserver.observe(this.itemsContainer);\n this.setupItems();\n if (this.single) {\n this.setIntersectionObserver();\n }\n this.checkNavigationValidity();\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLDivElement | HTMLZCarouselElement {\n if (this.isLoading) {\n return (\n <div class=\"z-carousel-container\">\n {this.label && <div class=\"heading-3-sb z-carousel-title\">{this.label}</div>}\n <div style={{height: `${this.ghostLoadingHeight}px`}}>\n <z-ghost-loading></z-ghost-loading>\n </div>\n </div>\n );\n }\n\n return (\n <Host>\n <div\n class=\"z-carousel-container\"\n role=\"group\"\n aria-roledescription=\"carousel\"\n aria-label={this.label || \"Carousel\"}\n >\n {this.label && <div class=\"z-carousel-title heading-3-sb\">{this.label}</div>}\n <div class=\"z-carousel-wrapper\">\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"prev\"\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n <ul\n class=\"z-carousel-items-container\"\n aria-atomic=\"false\"\n aria-live=\"polite\"\n ref={(el) => (this.itemsContainer = el)}\n >\n <slot onSlotchange={this.onSlotChange.bind(this)} />\n </ul>\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"next\"\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n </div>\n </div>\n\n {this.canShowFooter() && (\n <div class=\"z-carousel-footer\">\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n )}\n {this.progressMode === CarouselProgressMode.DOTS && this.single && this.items && (\n <div class=\"dots-progress\">\n {this.items.map((_, index) => (\n <button\n type=\"button\"\n class={{current: this.highlightedIndicator === index}}\n aria-label={\n this.highlightedIndicator === index ? \"Elemento corrente\" : `Spostati all'elemento ${index + 1}`\n }\n onClick={() => this.goTo(index)}\n />\n ))}\n </div>\n )}\n {this.progressMode === CarouselProgressMode.NUMBERS && this.single && this.items && (\n <div class=\"numbers-progress interactive-1\">\n <span class=\"current\">{this.current + 1}</span>\n <span>di</span>\n <span>{this.items.length}</span>\n </div>\n )}\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n )}\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-carousel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,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Ac,KAAK,sBAAsB,CAAC,MAAM,IAAI,CACxD,gBACE,KAAK,EAAC,6BAA6B,EACnC,OAAO,EAAE,aAAa,CAAC,QAAQ,EAC/B,IAAI,EAAC,aAAa,EAClB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAC/B,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,eAAe,EACjD,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,gCAAgC,GAC1F,CACH,CACG,CACP,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h} from \"@stencil/core\";\nimport {ButtonVariant, CarouselArrowsPosition, CarouselProgressMode} from \"../../beans\";\n\n/**\n * ZCarousel component.\n * @cssprop --z-carousel-gutter - The gutter between items.\n * @cssprop --z-carousel-items-shadow - The shadow around the items.\n * @slot - Carousel items. Use `<li>` elements inside this slot.\n */\n@Component({\n tag: \"z-carousel\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZCarousel {\n @Element() host: HTMLZCarouselElement;\n\n /** The z-carousel is on loading state */\n @Prop()\n isLoading: boolean;\n\n /** The z-carousel title */\n @Prop()\n label?: string;\n\n /** Shows only one content at a time */\n @Prop({reflect: true})\n single = false;\n\n /** Arrow buttons position */\n @Prop({reflect: true})\n arrowsPosition?: CarouselArrowsPosition;\n\n /** Progress indicator type. Only available for `single` mode */\n @Prop()\n progressMode?: CarouselProgressMode;\n\n /**\n * Whether the navigation arrow buttons over the items are always visible or only on mouse hover.\n * If set to `false`, the arrows will not be visible on mobile.\n * Only meaningful with `arrowsPosition` set to `OVER`.\n */\n @Prop({reflect: true})\n fixedArrows = true;\n\n /** The height of the ghost loader (only visible when `isLoading` is set to `true`) */\n @Prop()\n ghostLoadingHeight = 100;\n\n /** When enabled, navigating next the last item will go back to the first item and vice versa. */\n @Prop()\n infinite = false;\n\n /** Current item index for single mode. */\n @State()\n current = 0;\n\n /** Items on the slider. */\n @State()\n items: HTMLLIElement[];\n\n /** Index of the indicator to highlight. */\n @State()\n highlightedIndicator: number;\n\n @State()\n canNavigatePrev: boolean;\n\n @State()\n canNavigateNext: boolean;\n\n /** Reference for the items container element. */\n protected itemsContainer: HTMLUListElement;\n\n /** Observer that handles current index change when scrolling on single mode. */\n private intersectionObserver: IntersectionObserver;\n\n /** Observer to check if navigation can still be enabled/showed when the size of the items' container changes */\n private resizeObserver: ResizeObserver;\n\n /** Flag indicating the items container is about to scroll programmatically towards the stored index. */\n private scrollingTo: number = null;\n\n /** Emitted on index change and only in `single` mode. */\n @Event()\n indexChange: EventEmitter<{currentItem: number}>;\n\n @Watch(\"current\")\n onIndexChange(): void {\n this.indexChange.emit({currentItem: this.current});\n }\n\n @Watch(\"single\")\n onSingleModeChange(): void {\n if (this.single && !this.intersectionObserver) {\n this.setIntersectionObserver();\n }\n }\n\n @Watch(\"infinite\")\n onInfiniteModeChange(): void {\n this.checkNavigationValidity();\n }\n\n /**\n * Set an intersection observer to:\n * - highlight the indicator of the intersecting item during scroll\n * - set the current item to the last intersecting item\n */\n private setIntersectionObserver(): void {\n this.intersectionObserver = new IntersectionObserver(\n (entries) => {\n const entry = entries.find(({isIntersecting}) => isIntersecting);\n if (!entry) {\n return;\n }\n\n const entryIndex = this.items.findIndex((item) => item === entry.target);\n this.highlightedIndicator = entryIndex;\n\n /* skip setting the current item if intersection has been triggered by a programmatic scroll\n (@see `goTo` function) and the final index has not been reached */\n if (this.scrollingTo !== null && entryIndex !== this.scrollingTo) {\n return;\n }\n\n this.scrollingTo = null;\n this.current = entryIndex;\n },\n {\n root: this.itemsContainer,\n threshold: 0.5,\n }\n );\n\n this.items.forEach((element) => this.intersectionObserver.observe(element));\n }\n\n /** Update items' list and check conditions to allow navigation */\n private onSlotChange(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.checkNavigationValidity();\n this.setIntersectionObserver();\n this.goTo(this.current);\n }\n\n private onPrev(): void {\n if (this.single) {\n this.goTo(this.infinite && this.current - 1 < 0 ? this.items.length - 1 : Math.max(0, this.current - 1));\n\n return;\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite && this.itemsContainer.scrollLeft == 0\n ? this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n : -this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n private onNext(): void {\n if (this.single) {\n const next =\n this.infinite && this.current + 1 > this.items.length - 1\n ? 0\n : Math.min(this.current + 1, this.items.length - 1);\n\n return this.goTo(next);\n }\n\n this.itemsContainer.scrollBy({\n left:\n this.infinite &&\n this.itemsContainer.scrollLeft == this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth\n ? -this.itemsContainer.scrollWidth\n : this.itemsContainer.clientWidth / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if navigation buttons can be enabled and set the related local states.\n */\n private checkNavigationValidity(): void {\n if (this.single) {\n this.canNavigatePrev = this.current > 0;\n this.canNavigateNext = this.current < this.items.length - 1;\n\n return;\n }\n\n this.canNavigatePrev = this.itemsContainer.scrollLeft > 0;\n this.canNavigateNext =\n this.itemsContainer.scrollLeft < this.itemsContainer.scrollWidth - this.itemsContainer.clientWidth;\n }\n\n /**\n * Check if footer has to be rendered.\n */\n private canShowFooter(): boolean {\n if (!this.canNavigatePrev && !this.canNavigateNext) {\n return false;\n }\n\n return (\n this.arrowsPosition === CarouselArrowsPosition.BOTTOM ||\n this.progressMode === CarouselProgressMode.DOTS ||\n this.progressMode === CarouselProgressMode.NUMBERS\n );\n }\n\n /**\n * Set current item to passed index.\n * @param index Index to set\n */\n private goTo(index: number): void {\n if (this.current === index) {\n return;\n }\n\n this.scrollingTo = index;\n const left = this.items.slice(0, index).reduce((acc, item) => (acc += item.clientWidth), 0);\n // the scroll will trigger the IntersectionObserver and set the current item\n this.itemsContainer.scroll({\n left,\n behavior: \"smooth\",\n });\n }\n\n /** Check if navigation of at least one direction is enabled */\n private get canNavigate(): boolean {\n return this.canNavigatePrev || this.canNavigateNext;\n }\n\n private setupItems(): void {\n this.items = Array.from(this.host.children) as HTMLLIElement[];\n this.items.forEach((item) => {\n item.setAttribute(\"role\", \"group\");\n item.setAttribute(\"aria-roledescription\", \"slide\");\n });\n }\n\n componentDidLoad(): void {\n this.itemsContainer?.addEventListener(\"scroll\", this.checkNavigationValidity.bind(this), {passive: true});\n this.resizeObserver = new ResizeObserver(this.checkNavigationValidity.bind(this));\n this.resizeObserver.observe(this.itemsContainer);\n this.setupItems();\n if (this.single) {\n this.setIntersectionObserver();\n }\n this.checkNavigationValidity();\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLDivElement | HTMLZCarouselElement {\n if (this.isLoading) {\n return (\n <div class=\"z-carousel-container\">\n {this.label && <div class=\"heading-3-sb z-carousel-title\">{this.label}</div>}\n <div style={{height: `${this.ghostLoadingHeight}px`}}>\n <z-ghost-loading></z-ghost-loading>\n </div>\n </div>\n );\n }\n\n return (\n <Host>\n <div\n class=\"z-carousel-container\"\n role=\"group\"\n aria-roledescription=\"carousel\"\n aria-label={this.label || \"Carousel\"}\n >\n {this.label && <div class=\"z-carousel-title heading-3-sb\">{this.label}</div>}\n <div class=\"z-carousel-wrapper\">\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"prev\"\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n <ul\n class=\"z-carousel-items-container\"\n aria-atomic=\"false\"\n aria-live=\"polite\"\n ref={(el) => (this.itemsContainer = el)}\n >\n <slot onSlotchange={this.onSlotChange.bind(this)} />\n </ul>\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.SECONDARY}\n data-direction=\"next\"\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n hidden={this.arrowsPosition !== CarouselArrowsPosition.OVER || !this.canNavigate}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n </div>\n </div>\n\n {this.canShowFooter() && (\n <div class=\"z-carousel-footer\">\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-left\"\n onClick={this.onPrev.bind(this)}\n disabled={!this.infinite && !this.canNavigatePrev}\n ariaLabel={this.single ? \"Mostra l'elemento precedente\" : \"Mostra gli elementi precedenti\"}\n />\n )}\n {this.progressMode === CarouselProgressMode.DOTS && this.single && this.items && (\n <div class=\"dots-progress\">\n {this.items.map((_, index) => (\n <button\n type=\"button\"\n class={{current: this.highlightedIndicator === index}}\n aria-label={\n this.highlightedIndicator === index ? \"Elemento corrente\" : `Spostati all'elemento ${index + 1}`\n }\n onClick={() => this.goTo(index)}\n />\n ))}\n </div>\n )}\n {this.progressMode === CarouselProgressMode.NUMBERS && this.single && this.items && (\n <div class=\"numbers-progress interactive-1\">\n <span class=\"current\">{this.current + 1}</span>\n <span>di</span>\n <span>{this.items.length}</span>\n </div>\n )}\n {this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (\n <z-button\n class=\"z-carousel-navigation-arrow\"\n variant={ButtonVariant.TERTIARY}\n icon=\"arrow-right\"\n onClick={this.onNext.bind(this)}\n disabled={!this.infinite && !this.canNavigateNext}\n ariaLabel={this.single ? \"Mostra l'elemento successivo\" : \"Mostra gli elementi successivi\"}\n />\n )}\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { repeat } from "lit/directives/repeat.js";
|
|
3
|
+
import { CarouselArrowsPosition, CarouselProgressMode } from "../../beans";
|
|
4
|
+
import "../z-ghost-loading/index";
|
|
5
|
+
import "./index";
|
|
6
|
+
import "./index.stories.css";
|
|
7
|
+
/**
|
|
8
|
+
* This component was conceived as a list of elements to respect the rules of accessibility (https://www.w3.org/WAI/tutorials/carousels/working-example/).
|
|
9
|
+
* Pass any number of elements inside its main `slot`.
|
|
10
|
+
* @example```html
|
|
11
|
+
* <z-carousel>
|
|
12
|
+
* <li>element</li>
|
|
13
|
+
* <li>element</li>
|
|
14
|
+
* <li>element</li>
|
|
15
|
+
* </z-carousel>
|
|
16
|
+
* ```
|
|
17
|
+
* > Note: always use `li` elements as direct children of `z-carousel`, as it wraps them with an `ul` element.
|
|
18
|
+
* You can set the gutter between the elements by using the `--z-carousel-gutter` custom property.
|
|
19
|
+
* @example```css
|
|
20
|
+
* z-carousel {
|
|
21
|
+
* --z-carousel-gutter: calc(var(--space-unit) * 2);
|
|
22
|
+
* }```
|
|
23
|
+
*/
|
|
24
|
+
const StoryMeta = {
|
|
25
|
+
title: "ZCarousel",
|
|
26
|
+
component: "z-carousel",
|
|
27
|
+
decorators: [(Story) => html `<div class="z-carousel-story-container">${Story()}</div>`],
|
|
28
|
+
};
|
|
29
|
+
export default StoryMeta;
|
|
30
|
+
export const SlideshowWithArrowsOver = {
|
|
31
|
+
args: {
|
|
32
|
+
"label": "",
|
|
33
|
+
"--z-carousel-gutter": "var(--space-unit)",
|
|
34
|
+
"infinite": false,
|
|
35
|
+
"fixedArrows": true,
|
|
36
|
+
"itemsCount": 8,
|
|
37
|
+
},
|
|
38
|
+
render: (args) => html `<z-carousel
|
|
39
|
+
.arrowsPosition=${CarouselArrowsPosition.OVER}
|
|
40
|
+
.fixedArrows=${args.fixedArrows}
|
|
41
|
+
.infinite=${args.infinite}
|
|
42
|
+
label=${args.label}
|
|
43
|
+
style="--z-carousel-gutter: ${args["--z-carousel-gutter"]}"
|
|
44
|
+
>
|
|
45
|
+
${repeat([...new Array(args.itemsCount)].map((_, i) => i), (i) => i, (_, index) => html `<li><div class="carousel-box">${index + 1}</div></li>`)}
|
|
46
|
+
</z-carousel>`,
|
|
47
|
+
};
|
|
48
|
+
export const SingleMode = {
|
|
49
|
+
parameters: {
|
|
50
|
+
layout: "centered",
|
|
51
|
+
},
|
|
52
|
+
argTypes: {
|
|
53
|
+
arrowsPosition: {
|
|
54
|
+
control: {
|
|
55
|
+
type: "inline-radio",
|
|
56
|
+
},
|
|
57
|
+
options: Object.values(CarouselArrowsPosition),
|
|
58
|
+
},
|
|
59
|
+
progressMode: {
|
|
60
|
+
control: {
|
|
61
|
+
type: "inline-radio",
|
|
62
|
+
},
|
|
63
|
+
options: Object.values(CarouselProgressMode),
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
args: {
|
|
67
|
+
label: "Carousel title",
|
|
68
|
+
progressMode: CarouselProgressMode.DOTS,
|
|
69
|
+
arrowsPosition: CarouselArrowsPosition.BOTTOM,
|
|
70
|
+
infinite: false,
|
|
71
|
+
fixedArrows: true,
|
|
72
|
+
itemsCount: 8,
|
|
73
|
+
},
|
|
74
|
+
render: (args) => html `<z-carousel
|
|
75
|
+
.arrowsPosition=${args.arrowsPosition}
|
|
76
|
+
.fixedArrows=${args.fixedArrows}
|
|
77
|
+
.infinite=${args.infinite}
|
|
78
|
+
.progressMode=${args.progressMode}
|
|
79
|
+
.single=${true}
|
|
80
|
+
label=${args.label}
|
|
81
|
+
>
|
|
82
|
+
${repeat([...new Array(args.itemsCount)].map((_, i) => i), (i) => i, (_, index) => html `<li><div class="carousel-box">${index + 1}</div></li>`)}
|
|
83
|
+
</z-carousel>`,
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* You can handle ghost loading for the whole z-carousel by setting two properties:
|
|
87
|
+
* - `isLoading` (boolean): to show a `z-ghost-loading` component instead of the carousel content.
|
|
88
|
+
* - `ghostLoadingHeight` (number): to set the height of the `z-ghost-loading` component.
|
|
89
|
+
* You can also manually handle ghost loading by putting <z-ghost-loading> elements as items.
|
|
90
|
+
*/
|
|
91
|
+
export const GhostLoading = {
|
|
92
|
+
args: {
|
|
93
|
+
label: "Carousel title",
|
|
94
|
+
ghostLoadingHeight: 265,
|
|
95
|
+
},
|
|
96
|
+
parameters: {
|
|
97
|
+
controls: {
|
|
98
|
+
exclude: ["infinite"],
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
render: (args) => html `<z-carousel
|
|
102
|
+
label=${args.label}
|
|
103
|
+
.isLoading=${true}
|
|
104
|
+
.ghostLoadingHeight=${args.ghostLoadingHeight}
|
|
105
|
+
></z-carousel>`,
|
|
106
|
+
};
|
|
107
|
+
export const LoadingItems = {
|
|
108
|
+
args: {
|
|
109
|
+
"label": "Carousel title",
|
|
110
|
+
"--z-carousel-gutter": "8px",
|
|
111
|
+
},
|
|
112
|
+
parameters: {
|
|
113
|
+
controls: {
|
|
114
|
+
exclude: ["infinite"],
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
render: (args) => html `<z-carousel
|
|
118
|
+
label=${args.label}
|
|
119
|
+
.infinite=${args.infinite}
|
|
120
|
+
style="--z-carousel-gutter: ${args["--z-carousel-gutter"]}"
|
|
121
|
+
>
|
|
122
|
+
${repeat(new Array(8), () => html `<li>
|
|
123
|
+
<div class="carousel-box-loading">
|
|
124
|
+
<z-ghost-loading></z-ghost-loading>
|
|
125
|
+
</div>
|
|
126
|
+
</li>`)}
|
|
127
|
+
</z-carousel>`,
|
|
128
|
+
};
|
|
129
|
+
//# sourceMappingURL=index.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-carousel/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAC,MAAM,EAAC,MAAM,0BAA0B,CAAC;AAEhD,OAAO,EAAC,sBAAsB,EAAE,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAEzE,OAAO,0BAA0B,CAAC;AAClC,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAI7B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,YAAY;IACvB,UAAU,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAA,2CAA2C,KAAK,EAAE,QAAQ,CAAC;CACnD,CAAC;AAEvC,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE;QACJ,OAAO,EAAE,EAAE;QACX,qBAAqB,EAAE,mBAAmB;QAC1C,UAAU,EAAE,KAAK;QACjB,aAAa,EAAE,IAAI;QACnB,YAAY,EAAE,CAAC;KAChB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;wBACgB,sBAAsB,CAAC,IAAI;qBAC9B,IAAI,CAAC,WAAW;kBACnB,IAAI,CAAC,QAAQ;cACjB,IAAI,CAAC,KAAK;oCACY,IAAI,CAAC,qBAAqB,CAAC;;QAEvD,MAAM,CACN,CAAC,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EACR,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,CAAA,iCAAi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AAG;KACxB;IACD,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,UAAU,CAAC;SACtB;KACF;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;cACM,IAAI,CAAC,KAAK;mBACL,IAAI;4BACK,IAAI,CAAC,kBAAkB;mBAChC;CACF,CAAC;AAElB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE;QACJ,OAAO,EAAE,gBAAgB;QACzB,qBAAqB,EAAE,KAAK;KAC7B;IACD,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,UAAU,CAAC;SACtB;KACF;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;cACM,IAAI,CAAC,KAAK;kBACN,IAAI,CAAC,QAAQ;oCACK,IAAI,CAAC,qBAAqB,CAAC;;QAEvD,MAAM,CACN,IAAI,KAAK,CAAC,CAAC,CAAC,EACZ,GAAG,EAAE,CACH,IAAI,CAAA;;;;gBAIE,CACT;kBACW;CACD,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {repeat} from \"lit/directives/repeat.js\";\nimport {type ZCarousel} from \".\";\nimport {CarouselArrowsPosition, CarouselProgressMode} from \"../../beans\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../z-ghost-loading/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZCarouselStoriesArgs = ZCarousel & {itemsCount: number} & CSSVarsArguments<\"z-carousel-gutter\">;\n\n/**\n * This component was conceived as a list of elements to respect the rules of accessibility (https://www.w3.org/WAI/tutorials/carousels/working-example/).\n * Pass any number of elements inside its main `slot`.\n * @example```html\n * <z-carousel>\n * <li>element</li>\n * <li>element</li>\n * <li>element</li>\n * </z-carousel>\n * ```\n * > Note: always use `li` elements as direct children of `z-carousel`, as it wraps them with an `ul` element.\n * You can set the gutter between the elements by using the `--z-carousel-gutter` custom property.\n * @example```css\n * z-carousel {\n * --z-carousel-gutter: calc(var(--space-unit) * 2);\n * }```\n */\nconst StoryMeta = {\n title: \"ZCarousel\",\n component: \"z-carousel\",\n decorators: [(Story) => html`<div class=\"z-carousel-story-container\">${Story()}</div>`],\n} satisfies Meta<ZCarouselStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZCarouselStoriesArgs>;\n\nexport const SlideshowWithArrowsOver = {\n args: {\n \"label\": \"\",\n \"--z-carousel-gutter\": \"var(--space-unit)\",\n \"infinite\": false,\n \"fixedArrows\": true,\n \"itemsCount\": 8,\n },\n render: (args) =>\n html`<z-carousel\n .arrowsPosition=${CarouselArrowsPosition.OVER}\n .fixedArrows=${args.fixedArrows}\n .infinite=${args.infinite}\n label=${args.label}\n style=\"--z-carousel-gutter: ${args[\"--z-carousel-gutter\"]}\"\n >\n ${repeat(\n [...new Array(args.itemsCount)].map((_, i) => i),\n (i) => i,\n (_, index) => html`<li><div class=\"carousel-box\">${index + 1}</div></li>`\n )}\n </z-carousel>`,\n} satisfies Story;\n\nexport const SingleMode = {\n parameters: {\n layout: \"centered\",\n },\n argTypes: {\n arrowsPosition: {\n control: {\n type: \"inline-radio\",\n },\n options: Object.values(CarouselArrowsPosition),\n },\n progressMode: {\n control: {\n type: \"inline-radio\",\n },\n options: Object.values(CarouselProgressMode),\n },\n },\n args: {\n label: \"Carousel title\",\n progressMode: CarouselProgressMode.DOTS,\n arrowsPosition: CarouselArrowsPosition.BOTTOM,\n infinite: false,\n fixedArrows: true,\n itemsCount: 8,\n },\n render: (args) =>\n html`<z-carousel\n .arrowsPosition=${args.arrowsPosition}\n .fixedArrows=${args.fixedArrows}\n .infinite=${args.infinite}\n .progressMode=${args.progressMode}\n .single=${true}\n label=${args.label}\n >\n ${repeat(\n [...new Array(args.itemsCount)].map((_, i) => i),\n (i) => i,\n (_, index) => html`<li><div class=\"carousel-box\">${index + 1}</div></li>`\n )}\n </z-carousel>`,\n} satisfies Story;\n\n/**\n * You can handle ghost loading for the whole z-carousel by setting two properties:\n * - `isLoading` (boolean): to show a `z-ghost-loading` component instead of the carousel content.\n * - `ghostLoadingHeight` (number): to set the height of the `z-ghost-loading` component.\n * You can also manually handle ghost loading by putting <z-ghost-loading> elements as items.\n */\nexport const GhostLoading = {\n args: {\n label: \"Carousel title\",\n ghostLoadingHeight: 265,\n },\n parameters: {\n controls: {\n exclude: [\"infinite\"],\n },\n },\n render: (args) =>\n html`<z-carousel\n label=${args.label}\n .isLoading=${true}\n .ghostLoadingHeight=${args.ghostLoadingHeight}\n ></z-carousel>`,\n} satisfies Story;\n\nexport const LoadingItems = {\n args: {\n \"label\": \"Carousel title\",\n \"--z-carousel-gutter\": \"8px\",\n },\n parameters: {\n controls: {\n exclude: [\"infinite\"],\n },\n },\n render: (args) =>\n html`<z-carousel\n label=${args.label}\n .infinite=${args.infinite}\n style=\"--z-carousel-gutter: ${args[\"--z-carousel-gutter\"]}\"\n >\n ${repeat(\n new Array(8),\n () =>\n html`<li>\n <div class=\"carousel-box-loading\">\n <z-ghost-loading></z-ghost-loading>\n </div>\n </li>`\n )}\n </z-carousel>`,\n} satisfies Story;\n"]}
|