@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,oCAAoC,CAAC;AAC5C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAE7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,QAAQ;IACf,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE;QACJ,OAAO,EAAE,UAAU;QACnB,UAAU,EAAE,gBAAgB;QAC5B,aAAa,EAAE,mBAAmB;QAClC,gBAAgB,EAAE,eAAe;QACjC,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,IAAI;KACnB;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;QASX,KAAK,EAAE;KACV;KACF;CACqB,CAAC;AAEzB,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,gBAAgB;KAC1B;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;;;;;;;;;GASpC;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE;QACJ,OAAO,EAAE,eAAe;KACzB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HpC;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE;QACJ,OAAO,EAAE,wBAAwB;KAClC;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;;;;;;;;;;;;;;GAcpC;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZModal} from \".\";\nimport \"../date-picker/z-date-picker/index\";\nimport \"../z-button/index\";\nimport \"../z-select/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\nconst StoryMeta = {\n title: \"ZModal\",\n component: \"z-modal\",\n args: {\n modalid: \"my-modal\",\n modaltitle: \"My modal title\",\n modalsubtitle: \"My modal subtitle\",\n closeButtonLabel: \"chiudi modale\",\n alertdialog: false,\n closable: true,\n scrollInside: true,\n },\n decorators: [\n (Story) => html`\n <script>\n function openZModal() {\n document.querySelector(\"z-modal\").open();\n }\n function closeZModal() {\n document.querySelector(\"z-modal\").close();\n }\n </script>\n ${Story()}\n `,\n ],\n} satisfies Meta<ZModal>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZModal>;\n\nexport const ShortText = {\n args: {\n modalid: \"my-modal-short\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n >\n <div slot=\"modalContent\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n <br />\n <z-button onclick=\"closeZModal()\">close</z-button>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n\nexport const LongText = {\n args: {\n modalid: \"my-modal-long\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n >\n <div slot=\"modalContent\">\n <z-date-picker\n date-picker-id=\"cicciaCulo\"\n ariaLabel=\"stringaQualsiasi\"\n label=\"ancheLi\"\n ></z-date-picker>\n Provaaaaa Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne\n ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul,\n orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae\n volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete.\n Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec\n honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te\n enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset\n inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae\n superiori sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare\n sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio\n quem illum anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad\n animum, falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis\n ut et adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae,\n inquit Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil\n enim hoc differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem\n ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui\n dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec\n vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem,\n inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae\n dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem\n aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam,\n inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori\n sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent\n tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum\n anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum,\n falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et\n adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit\n Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc\n differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor\n sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra.\n <z-select\n items='[{\"id\":\"item_1\",\"name\":\"first item\",\"selected\":false},{\"id\":\"item_2\",\"name\":\"second item\",\"selected\":true},{\"id\":\"item_3\",\"name\":\"disabled item\",\"selected\":false,\"disabled\":true},{\"id\":\"item_4\",\"name\":\"fourth item\",\"selected\":false}]'\n label=\"this is the label\"\n aria-label=\"\"\n placeholder=\"select placeholder\"\n name=\"\"\n status=\"-\"\n message=\"helper text\"\n autocomplete=\"false\"\n noresultslabel=\"Nessun risultato\"\n disabled=\"false\"\n readonly=\"false\"\n htmlid=\"\"\n htmltitle=\"\"\n reset-item=\"\"\n isfixed=\"false\"\n size=\"big\"\n ></z-select>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n\nexport const SlottedCloseButton = {\n args: {\n modalid: \"my-modal-slotted-close\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n >\n <div slot=\"modalContent\">\n <div>Contenuto dello <b>slot</b></div>\n </div>\n <button\n slot=\"modalCloseButton\"\n aria-label=\"close\"\n onclick=\"closeZModal()\"\n >\n X\n </button>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n"]}
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { NavigationTabsKeyboardEvents, NavigationTabsOrientation, NavigationTabsSize } from "../../beans";
|
|
3
|
+
/**
|
|
4
|
+
* Navigation tabs component.
|
|
5
|
+
* To select a specific tab programmatically, set the `aria-selected` attribute to `true` on the desired tab.
|
|
6
|
+
* @slot - Main slot. Use `<button>` or `<a>` tags as children.
|
|
7
|
+
* @cssprop --z-navigation-tabs-nav-buttons-bg - Navigation buttons background color.
|
|
8
|
+
* @cssprop --z-navigation-tabs-nav-buttons-fg - Navigation buttons foreground color.
|
|
9
|
+
*/
|
|
10
|
+
export class ZNavigationTabs {
|
|
11
|
+
constructor() {
|
|
12
|
+
/**
|
|
13
|
+
* Index of the last tab that held focus.
|
|
14
|
+
*/
|
|
15
|
+
this.focusedTab = undefined;
|
|
16
|
+
this.ariaLabel = "";
|
|
17
|
+
this.orientation = NavigationTabsOrientation.HORIZONTAL;
|
|
18
|
+
this.size = NavigationTabsSize.BIG;
|
|
19
|
+
this.selectedTab = undefined;
|
|
20
|
+
this.canNavigate = undefined;
|
|
21
|
+
this.canNavigatePrev = undefined;
|
|
22
|
+
this.canNavigateNext = undefined;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Getter for the direction to check based on current orientation.
|
|
26
|
+
*/
|
|
27
|
+
get direction() {
|
|
28
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Left" : "Top";
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Getter for the dimension to check based on current orientation.
|
|
32
|
+
*/
|
|
33
|
+
get dimension() {
|
|
34
|
+
return this.orientation == NavigationTabsOrientation.HORIZONTAL ? "Width" : "Height";
|
|
35
|
+
}
|
|
36
|
+
get tabs() {
|
|
37
|
+
return Array.from(this.nav.children);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Scroll into view to center the tab.
|
|
41
|
+
*/
|
|
42
|
+
scrollToTab(tabElement) {
|
|
43
|
+
const scrollOptions = (this.orientation === NavigationTabsOrientation.HORIZONTAL
|
|
44
|
+
? { block: "nearest", inline: "center" }
|
|
45
|
+
: { block: "center", inline: "nearest" });
|
|
46
|
+
tabElement.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Scroll the navigation bar half of its size backward.
|
|
50
|
+
*/
|
|
51
|
+
navigateBackwards() {
|
|
52
|
+
this.nav.scrollBy({
|
|
53
|
+
[this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,
|
|
54
|
+
behavior: "smooth",
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Scroll the navigation bar half of its size forward.
|
|
59
|
+
*/
|
|
60
|
+
navigateForward() {
|
|
61
|
+
this.nav.scrollBy({
|
|
62
|
+
[this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,
|
|
63
|
+
behavior: "smooth",
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Check if a keyboard event was triggered by an arrow key.
|
|
68
|
+
*/
|
|
69
|
+
isArrowNavigation(e) {
|
|
70
|
+
return Object.values(NavigationTabsKeyboardEvents).includes(e.key);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Check if the navigation buttons are needed.
|
|
74
|
+
*/
|
|
75
|
+
checkScrollVisible() {
|
|
76
|
+
if (!this.nav) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Check if navigation buttons can be enabled for each direction.
|
|
83
|
+
*/
|
|
84
|
+
checkScrollEnabled() {
|
|
85
|
+
if (!this.nav) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
this.canNavigateNext =
|
|
89
|
+
this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];
|
|
90
|
+
this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.
|
|
94
|
+
*/
|
|
95
|
+
onTabSelected() {
|
|
96
|
+
this.tabs.forEach((tab, i) => {
|
|
97
|
+
const zicon = tab.querySelector("z-icon");
|
|
98
|
+
const strokeIcon = zicon === null || zicon === void 0 ? void 0 : zicon.getAttribute("name").replace("-filled", "");
|
|
99
|
+
if (i !== this.selectedTab) {
|
|
100
|
+
tab.setAttribute("aria-selected", "false");
|
|
101
|
+
tab.tabIndex = -1;
|
|
102
|
+
zicon === null || zicon === void 0 ? void 0 : zicon.setAttribute("name", strokeIcon);
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
zicon === null || zicon === void 0 ? void 0 : zicon.setAttribute("name", `${strokeIcon}-filled`);
|
|
106
|
+
tab.setAttribute("aria-selected", "true");
|
|
107
|
+
});
|
|
108
|
+
this.selected.emit(this.selectedTab);
|
|
109
|
+
if (this.selectedTab !== undefined) {
|
|
110
|
+
this.scrollToTab(this.tabs[this.selectedTab]);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Handle click on the tabs.
|
|
115
|
+
* @param event `click` event triggered by a child tab
|
|
116
|
+
*/
|
|
117
|
+
handleTabClick(event) {
|
|
118
|
+
const clickedTab = event.target.closest("[role='tab']");
|
|
119
|
+
if (!this.tabs.some((child) => child.contains(clickedTab))) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
this.selectedTab = this.tabs.indexOf(clickedTab);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.
|
|
126
|
+
*/
|
|
127
|
+
onTabFocusIn(event) {
|
|
128
|
+
const focused = this.tabs.findIndex((tab) => tab.contains(event.target));
|
|
129
|
+
if (focused === -1) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (this.selectedTab !== undefined) {
|
|
133
|
+
this.tabs[this.selectedTab].tabIndex = -1;
|
|
134
|
+
}
|
|
135
|
+
this.focusedTab = focused;
|
|
136
|
+
this.tabs[this.focusedTab].tabIndex = -1;
|
|
137
|
+
this.scrollToTab(this.tabs[this.focusedTab]);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Handle keyboard navigation through tabs with arrow keys.
|
|
141
|
+
*/
|
|
142
|
+
navigateThroughTabs(event) {
|
|
143
|
+
if (!this.tabs.some((tab) => tab.contains(event.target)) || !this.isArrowNavigation(event)) {
|
|
144
|
+
return true;
|
|
145
|
+
}
|
|
146
|
+
event.preventDefault();
|
|
147
|
+
if ((event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||
|
|
148
|
+
(event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)) {
|
|
149
|
+
// Move forward
|
|
150
|
+
this.focusedTab++;
|
|
151
|
+
if (this.focusedTab >= this.tabs.length) {
|
|
152
|
+
this.focusedTab = 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
else if ((event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||
|
|
156
|
+
(event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)) {
|
|
157
|
+
// Move backward
|
|
158
|
+
this.focusedTab--;
|
|
159
|
+
if (this.focusedTab < 0) {
|
|
160
|
+
this.focusedTab = this.tabs.length - 1;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
// Ignore disabled tabs
|
|
164
|
+
if (this.tabs[this.focusedTab].hasAttribute("disabled") &&
|
|
165
|
+
this.tabs[this.focusedTab].getAttribute("disabled") !== "false") {
|
|
166
|
+
return this.navigateThroughTabs(event);
|
|
167
|
+
}
|
|
168
|
+
this.tabs[this.focusedTab].focus();
|
|
169
|
+
this.scrollToTab(this.tabs[this.focusedTab]);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.
|
|
173
|
+
*/
|
|
174
|
+
onTabFocusOut(event) {
|
|
175
|
+
var _a;
|
|
176
|
+
if (!this.tabs.some((tab) => tab.contains(event.relatedTarget))) {
|
|
177
|
+
this.tabs[(_a = this.selectedTab) !== null && _a !== void 0 ? _a : 0].tabIndex = 0;
|
|
178
|
+
this.focusedTab = undefined;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
connectedCallback() {
|
|
182
|
+
this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());
|
|
183
|
+
}
|
|
184
|
+
componentDidLoad() {
|
|
185
|
+
var _a;
|
|
186
|
+
// Set role and tabindex to each slotted tab
|
|
187
|
+
this.tabs.forEach((tab) => {
|
|
188
|
+
tab.setAttribute("role", "tab");
|
|
189
|
+
tab.tabIndex = -1;
|
|
190
|
+
});
|
|
191
|
+
const preselectedTab = (_a = this.selectedTab) !== null && _a !== void 0 ? _a : this.tabs.findIndex((tab) => tab.ariaSelected === "true");
|
|
192
|
+
if (preselectedTab !== -1) {
|
|
193
|
+
this.selectedTab = preselectedTab;
|
|
194
|
+
this.tabs[preselectedTab].tabIndex = 0;
|
|
195
|
+
this.onTabSelected();
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
this.tabs[0].tabIndex = 0;
|
|
199
|
+
}
|
|
200
|
+
this.resizeObserver.observe(this.nav);
|
|
201
|
+
}
|
|
202
|
+
disconnectedCallback() {
|
|
203
|
+
var _a;
|
|
204
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
205
|
+
}
|
|
206
|
+
render() {
|
|
207
|
+
return (h(Host, { key: '0dfbe739542add5d05e82462f9ca115734f75ab7', class: {
|
|
208
|
+
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
209
|
+
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
210
|
+
}, scrollable: this.canNavigate }, h("button", { key: 'a679c4104ef79c5245a205e634872992ad6b7702', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '13b64410e78d66d28b9a2a870535a393b5361f06', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: 'ae01aa47ea6620209017d612b3b6e1b0664efcba', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: 'bd1f92fef8fde67a415964efd61b89d9895192a7' })), h("button", { key: '0b7a9b4ecf5773f576f25468a8f64118b57c4480', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: '91686040ca32ff9136c6a96ce70ed3ca20a6b753', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
211
|
+
}
|
|
212
|
+
static get is() { return "z-navigation-tabs"; }
|
|
213
|
+
static get originalStyleUrls() {
|
|
214
|
+
return {
|
|
215
|
+
"$": ["styles.css"]
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
static get styleUrls() {
|
|
219
|
+
return {
|
|
220
|
+
"$": ["styles.css"]
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
static get properties() {
|
|
224
|
+
return {
|
|
225
|
+
"ariaLabel": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"mutable": false,
|
|
228
|
+
"complexType": {
|
|
229
|
+
"original": "string",
|
|
230
|
+
"resolved": "string",
|
|
231
|
+
"references": {}
|
|
232
|
+
},
|
|
233
|
+
"required": false,
|
|
234
|
+
"optional": false,
|
|
235
|
+
"docs": {
|
|
236
|
+
"tags": [],
|
|
237
|
+
"text": "Set `aria-label` attribute to the internal `<nav>` element with `tablist` role."
|
|
238
|
+
},
|
|
239
|
+
"attribute": "aria-label",
|
|
240
|
+
"reflect": false,
|
|
241
|
+
"defaultValue": "\"\""
|
|
242
|
+
},
|
|
243
|
+
"orientation": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"mutable": false,
|
|
246
|
+
"complexType": {
|
|
247
|
+
"original": "NavigationTabsOrientation",
|
|
248
|
+
"resolved": "NavigationTabsOrientation.HORIZONTAL | NavigationTabsOrientation.VERTICAL",
|
|
249
|
+
"references": {
|
|
250
|
+
"NavigationTabsOrientation": {
|
|
251
|
+
"location": "import",
|
|
252
|
+
"path": "../../beans",
|
|
253
|
+
"id": "src/beans/index.tsx::NavigationTabsOrientation"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"required": false,
|
|
258
|
+
"optional": true,
|
|
259
|
+
"docs": {
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": "Navigation tabs orientation."
|
|
262
|
+
},
|
|
263
|
+
"attribute": "orientation",
|
|
264
|
+
"reflect": true,
|
|
265
|
+
"defaultValue": "NavigationTabsOrientation.HORIZONTAL"
|
|
266
|
+
},
|
|
267
|
+
"size": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"mutable": false,
|
|
270
|
+
"complexType": {
|
|
271
|
+
"original": "NavigationTabsSize",
|
|
272
|
+
"resolved": "NavigationTabsSize.BIG | NavigationTabsSize.SMALL",
|
|
273
|
+
"references": {
|
|
274
|
+
"NavigationTabsSize": {
|
|
275
|
+
"location": "import",
|
|
276
|
+
"path": "../../beans",
|
|
277
|
+
"id": "src/beans/index.tsx::NavigationTabsSize"
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"required": false,
|
|
282
|
+
"optional": true,
|
|
283
|
+
"docs": {
|
|
284
|
+
"tags": [],
|
|
285
|
+
"text": "Navigation tabs size."
|
|
286
|
+
},
|
|
287
|
+
"attribute": "size",
|
|
288
|
+
"reflect": true,
|
|
289
|
+
"defaultValue": "NavigationTabsSize.BIG"
|
|
290
|
+
},
|
|
291
|
+
"selectedTab": {
|
|
292
|
+
"type": "number",
|
|
293
|
+
"mutable": true,
|
|
294
|
+
"complexType": {
|
|
295
|
+
"original": "number",
|
|
296
|
+
"resolved": "number",
|
|
297
|
+
"references": {}
|
|
298
|
+
},
|
|
299
|
+
"required": false,
|
|
300
|
+
"optional": false,
|
|
301
|
+
"docs": {
|
|
302
|
+
"tags": [],
|
|
303
|
+
"text": "Index of the selected tab.\nUseful to programmatically select a tab.\nThe tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab."
|
|
304
|
+
},
|
|
305
|
+
"attribute": "selected-tab",
|
|
306
|
+
"reflect": false,
|
|
307
|
+
"defaultValue": "undefined"
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
static get states() {
|
|
312
|
+
return {
|
|
313
|
+
"canNavigate": {},
|
|
314
|
+
"canNavigatePrev": {},
|
|
315
|
+
"canNavigateNext": {}
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
static get events() {
|
|
319
|
+
return [{
|
|
320
|
+
"method": "selected",
|
|
321
|
+
"name": "selected",
|
|
322
|
+
"bubbles": true,
|
|
323
|
+
"cancelable": true,
|
|
324
|
+
"composed": true,
|
|
325
|
+
"docs": {
|
|
326
|
+
"tags": [],
|
|
327
|
+
"text": "Emitted when the selected tab changes.\nContains the index of the new selected tab in the `detail` of the event."
|
|
328
|
+
},
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "number",
|
|
331
|
+
"resolved": "number",
|
|
332
|
+
"references": {}
|
|
333
|
+
}
|
|
334
|
+
}];
|
|
335
|
+
}
|
|
336
|
+
static get elementRef() { return "host"; }
|
|
337
|
+
static get watchers() {
|
|
338
|
+
return [{
|
|
339
|
+
"propName": "canNavigate",
|
|
340
|
+
"methodName": "checkScrollEnabled"
|
|
341
|
+
}, {
|
|
342
|
+
"propName": "selectedTab",
|
|
343
|
+
"methodName": "onTabSelected"
|
|
344
|
+
}];
|
|
345
|
+
}
|
|
346
|
+
static get listeners() {
|
|
347
|
+
return [{
|
|
348
|
+
"name": "click",
|
|
349
|
+
"method": "handleTabClick",
|
|
350
|
+
"target": undefined,
|
|
351
|
+
"capture": false,
|
|
352
|
+
"passive": false
|
|
353
|
+
}, {
|
|
354
|
+
"name": "focusin",
|
|
355
|
+
"method": "onTabFocusIn",
|
|
356
|
+
"target": undefined,
|
|
357
|
+
"capture": false,
|
|
358
|
+
"passive": false
|
|
359
|
+
}, {
|
|
360
|
+
"name": "keydown",
|
|
361
|
+
"method": "navigateThroughTabs",
|
|
362
|
+
"target": undefined,
|
|
363
|
+
"capture": false,
|
|
364
|
+
"passive": false
|
|
365
|
+
}, {
|
|
366
|
+
"name": "focusout",
|
|
367
|
+
"method": "onTabFocusOut",
|
|
368
|
+
"target": undefined,
|
|
369
|
+
"capture": false,
|
|
370
|
+
"passive": false
|
|
371
|
+
}];
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-navigation-tabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC3G,OAAO,EAAC,4BAA4B,EAAE,yBAAyB,EAAE,kBAAkB,EAAC,MAAM,aAAa,CAAC;AAExG;;;;;;GAMG;AAKH,MAAM,OAAO,eAAe;;QAsD1B;;WAEG;QACK,eAAU,GAAG,SAAS,CAAC;yBApDnB,EAAE;2BAMC,yBAAyB,CAAC,UAAU;oBAM3C,kBAAkB,CAAC,GAAG;2BAQR,SAAS;;;;;IAuC/B;;OAEG;IACH,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IACvF,CAAC;IAED,IAAI,IAAI;QACN,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAkB,CAAC;IACxD,CAAC;IAID;;OAEG;IACK,WAAW,CAAC,UAAuB;QACzC,MAAM,aAAa,GAAG,CACpB,IAAI,CAAC,WAAW,KAAK,yBAAyB,CAAC,UAAU;YACvD,CAAC,CAAC,EAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC;YACtC,CAAC,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAC,CAChB,CAAC;QAE3B,UAAU,CAAC,cAAc,iBACvB,QAAQ,EAAE,QAAQ,IACf,aAAa,EAChB,CAAC;IACL,CAAC;IAED;;OAEG;IACK,iBAAiB;QACvB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;YAChB,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,CAAC;YAC3E,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACK,eAAe;QACrB,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;YAChB,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,CAAC;YAC7G,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACK,iBAAiB,CAAC,CAAgB;QACxC,OAAO,MAAM,CAAC,MAAM,CAAC,4BAA4B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAmC,CAAC,CAAC;IACrG,CAAC;IAED;;OAEG;IACK,kBAAkB;QACxB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACd,OAAO;QACT,CAAC;QAED,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED;;OAEG;IAEH,kBAAkB;QAChB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YACd,OAAO;QACT,CAAC;QAED,IAAI,CAAC,eAAe;YAClB,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QAClH,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC;IACjE,CAAC;IAED;;OAEG;IAEH,aAAa;QACX,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;YAC3B,MAAM,KAAK,GAAG,GAAG,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAC1C,MAAM,UAAU,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;YACtE,IAAI,CAAC,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC;gBAC3B,GAAG,CAAC,YAAY,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;gBAC3C,GAAG,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;gBAClB,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;gBAExC,OAAO;YACT,CAAC;YAED,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,CAAC,MAAM,EAAE,GAAG,UAAU,SAAS,CAAC,CAAC;YACpD,GAAG,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACrC,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;YACnC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IAED;;;OAGG;IAEH,cAAc,CAAC,KAAiB;QAC9B,MAAM,UAAU,GAAI,KAAK,CAAC,MAAsB,CAAC,OAAO,CAAc,cAAc,CAAC,CAAC;QACtF,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC;YAC3D,OAAO;QACT,CAAC;QAED,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACnD,CAAC;IAED;;OAEG;IAEH,YAAY,CAAC,KAAiB;QAC5B,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAqB,CAAC,CAAC,CAAC;QACxF,IAAI,OAAO,KAAK,CAAC,CAAC,EAAE,CAAC;YACnB,OAAO;QACT,CAAC;QAED,IAAI,IAAI,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;YACnC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;QAC5C,CAAC;QACD,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;QACzC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAC/C,CAAC;IAED;;OAEG;IAEH,mBAAmB,CAAC,KAAoB;QACtC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAqB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC;YAC1G,OAAO,IAAI,CAAC;QACd,CAAC;QAED,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,IACE,CAAC,KAAK,CAAC,GAAG,KAAK,4BAA4B,CAAC,KAAK,IAAI,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,UAAU,CAAC;YAC9G,CAAC,KAAK,CAAC,GAAG,KAAK,4BAA4B,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,QAAQ,CAAC,EAC3G,CAAC;YACD,eAAe;YACf,IAAI,CAAC,UAAU,EAAE,CAAC;YAClB,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBACxC,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC;YACtB,CAAC;QACH,CAAC;aAAM,IACL,CAAC,KAAK,CAAC,GAAG,KAAK,4BAA4B,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,UAAU,CAAC;YAC7G,CAAC,KAAK,CAAC,GAAG,KAAK,4BAA4B,CAAC,EAAE,IAAI,IAAI,CAAC,WAAW,IAAI,yBAAyB,CAAC,QAAQ,CAAC,EACzG,CAAC;YACD,gBAAgB;YAChB,IAAI,CAAC,UAAU,EAAE,CAAC;YAClB,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;gBACxB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;QACD,uBAAuB;QACvB,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC;YACnD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,OAAO,EAC/D,CAAC;YACD,OAAO,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC;QACzC,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,CAAC;QACnC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IAC/C,CAAC;IAED;;OAEG;IAEH,aAAa,CAAC,KAAiB;;QAC7B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,aAA4B,CAAC,CAAC,EAAE,CAAC;YAC/E,IAAI,CAAC,IAAI,CAAC,MAAA,IAAI,CAAC,WAAW,mCAAI,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;YAC9C,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;;QACd,4CAA4C;QAC5C,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACxB,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;YAChC,GAAG,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;QACpB,CAAC,CAAC,CAAC;QAEH,MAAM,cAAc,GAAG,MAAA,IAAI,CAAC,WAAW,mCAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,YAAY,KAAK,MAAM,CAAC,CAAC;QACrG,IAAI,cAAc,KAAK,CAAC,CAAC,EAAE,CAAC;YAC1B,IAAI,CAAC,WAAW,GAAG,cAAc,CAAC;YAClC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;YACvC,IAAI,CAAC,aAAa,EAAE,CAAC;QACvB,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC;QAC5B,CAAC;QAED,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IAED,oBAAoB;;QAClB,MAAA,IAAI,CAAC,cAAc,0CAAE,UAAU,EAAE,CAAC;IACpC,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDACH,KAAK,EAAE;gBACL,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,kBAAkB,CAAC,KAAK;gBACvD,eAAe,EAAE,IAAI,CAAC,IAAI,KAAK,kBAAkB,CAAC,KAAK;aACxD,EACD,UAAU,EAAE,IAAI,CAAC,WAAW;YAE5B,+DACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1C,QAAQ,EAAE,CAAC,CAAC,EACZ,QAAQ,EAAE,CAAC,IAAI,CAAC,eAAe,gBACpB,4BAA4B,EACvC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAW;gBAEzB,+DACE,IAAI,EAAE,IAAI,CAAC,WAAW,KAAK,yBAAyB,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,EAC/F,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK;YAET,4DACE,IAAI,EAAC,SAAS,gBACF,IAAI,CAAC,SAAS,EAC1B,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,GAAG,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,IAAI,CAAC,GAAG,CAAC,EACxC,QAAQ,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,sBAC1B,IAAI,CAAC,WAAW;gBAElC,8DAAa,CACT;YAEN,+DACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EACxC,QAAQ,EAAE,CAAC,CAAC,EACZ,QAAQ,EAAE,CAAC,IAAI,CAAC,eAAe,gBACpB,4BAA4B,EACvC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAW;gBAEzB,+DACE,IAAI,EAAE,IAAI,CAAC,WAAW,KAAK,yBAAyB,CAAC,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,EAClG,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,GACV,CACK,CACJ,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {NavigationTabsKeyboardEvents, NavigationTabsOrientation, NavigationTabsSize} from \"../../beans\";\n\n/**\n * Navigation tabs component.\n * To select a specific tab programmatically, set the `aria-selected` attribute to `true` on the desired tab.\n * @slot - Main slot. Use `<button>` or `<a>` tags as children.\n * @cssprop --z-navigation-tabs-nav-buttons-bg - Navigation buttons background color.\n * @cssprop --z-navigation-tabs-nav-buttons-fg - Navigation buttons foreground color.\n */\n@Component({\n tag: \"z-navigation-tabs\",\n styleUrl: \"styles.css\",\n})\nexport class ZNavigationTabs {\n /**\n * Set `aria-label` attribute to the internal `<nav>` element with `tablist` role.\n */\n @Prop()\n ariaLabel = \"\";\n\n /**\n * Navigation tabs orientation.\n */\n @Prop({reflect: true})\n orientation? = NavigationTabsOrientation.HORIZONTAL;\n\n /**\n * Navigation tabs size.\n */\n @Prop({reflect: true})\n size? = NavigationTabsSize.BIG;\n\n /**\n * Index of the selected tab.\n * Useful to programmatically select a tab.\n * The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.\n */\n @Prop({mutable: true})\n selectedTab: number = undefined;\n\n /**\n * Emitted when the selected tab changes.\n * Contains the index of the new selected tab in the `detail` of the event.\n */\n @Event()\n selected: EventEmitter<number>;\n\n /**\n * Whether to show navigation buttons.\n */\n @State()\n canNavigate: boolean;\n\n /**\n * Whether backwards navigation is allowed.\n */\n @State()\n canNavigatePrev: boolean;\n\n /**\n * Whether forward navigation is allowed.\n */\n @State()\n canNavigateNext: boolean;\n\n @Element() host: HTMLZNavigationTabsElement;\n\n /**\n * Index of the last tab that held focus.\n */\n private focusedTab = undefined;\n\n /**\n * Reference to the `<nav>` element\n */\n private nav: HTMLElement;\n\n /**\n * Getter for the direction to check based on current orientation.\n */\n get direction(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Left\" : \"Top\";\n }\n\n /**\n * Getter for the dimension to check based on current orientation.\n */\n get dimension(): string {\n return this.orientation == NavigationTabsOrientation.HORIZONTAL ? \"Width\" : \"Height\";\n }\n\n get tabs(): HTMLElement[] {\n return Array.from(this.nav.children) as HTMLElement[];\n }\n\n private resizeObserver: ResizeObserver;\n\n /**\n * Scroll into view to center the tab.\n */\n private scrollToTab(tabElement: HTMLElement): void {\n const scrollOptions = (\n this.orientation === NavigationTabsOrientation.HORIZONTAL\n ? {block: \"nearest\", inline: \"center\"}\n : {block: \"center\", inline: \"nearest\"}\n ) as ScrollIntoViewOptions;\n\n tabElement.scrollIntoView({\n behavior: \"smooth\",\n ...scrollOptions,\n });\n }\n\n /**\n * Scroll the navigation bar half of its size backward.\n */\n private navigateBackwards(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: 0 - this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Scroll the navigation bar half of its size forward.\n */\n private navigateForward(): void {\n this.nav.scrollBy({\n [this.direction.toLowerCase()]: this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] / 2,\n behavior: \"smooth\",\n });\n }\n\n /**\n * Check if a keyboard event was triggered by an arrow key.\n */\n private isArrowNavigation(e: KeyboardEvent): boolean {\n return Object.values(NavigationTabsKeyboardEvents).includes(e.key as NavigationTabsKeyboardEvents);\n }\n\n /**\n * Check if the navigation buttons are needed.\n */\n private checkScrollVisible(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];\n }\n\n /**\n * Check if navigation buttons can be enabled for each direction.\n */\n @Watch(\"canNavigate\")\n checkScrollEnabled(): void {\n if (!this.nav) {\n return;\n }\n\n this.canNavigateNext =\n this.nav[`scroll${this.direction}`] + this.nav[`client${this.dimension}`] < this.nav[`scroll${this.dimension}`];\n this.canNavigatePrev = this.nav[`scroll${this.direction}`] > 0;\n }\n\n /**\n * When the selected tab changes, update the `aria-selected` attribute on each tab and scroll to the selected tab.\n */\n @Watch(\"selectedTab\")\n onTabSelected(): void {\n this.tabs.forEach((tab, i) => {\n const zicon = tab.querySelector(\"z-icon\");\n const strokeIcon = zicon?.getAttribute(\"name\").replace(\"-filled\", \"\");\n if (i !== this.selectedTab) {\n tab.setAttribute(\"aria-selected\", \"false\");\n tab.tabIndex = -1;\n zicon?.setAttribute(\"name\", strokeIcon);\n\n return;\n }\n\n zicon?.setAttribute(\"name\", `${strokeIcon}-filled`);\n tab.setAttribute(\"aria-selected\", \"true\");\n });\n this.selected.emit(this.selectedTab);\n if (this.selectedTab !== undefined) {\n this.scrollToTab(this.tabs[this.selectedTab]);\n }\n }\n\n /**\n * Handle click on the tabs.\n * @param event `click` event triggered by a child tab\n */\n @Listen(\"click\")\n handleTabClick(event: MouseEvent): void {\n const clickedTab = (event.target as HTMLElement).closest<HTMLElement>(\"[role='tab']\");\n if (!this.tabs.some((child) => child.contains(clickedTab))) {\n return;\n }\n\n this.selectedTab = this.tabs.indexOf(clickedTab);\n }\n\n /**\n * When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.\n */\n @Listen(\"focusin\")\n onTabFocusIn(event: FocusEvent): void {\n const focused = this.tabs.findIndex((tab) => tab.contains(event.target as HTMLElement));\n if (focused === -1) {\n return;\n }\n\n if (this.selectedTab !== undefined) {\n this.tabs[this.selectedTab].tabIndex = -1;\n }\n this.focusedTab = focused;\n this.tabs[this.focusedTab].tabIndex = -1;\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * Handle keyboard navigation through tabs with arrow keys.\n */\n @Listen(\"keydown\")\n navigateThroughTabs(event: KeyboardEvent): void | boolean {\n if (!this.tabs.some((tab) => tab.contains(event.target as HTMLElement)) || !this.isArrowNavigation(event)) {\n return true;\n }\n\n event.preventDefault();\n if (\n (event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move forward\n this.focusedTab++;\n if (this.focusedTab >= this.tabs.length) {\n this.focusedTab = 0;\n }\n } else if (\n (event.key === NavigationTabsKeyboardEvents.LEFT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||\n (event.key === NavigationTabsKeyboardEvents.UP && this.orientation == NavigationTabsOrientation.VERTICAL)\n ) {\n // Move backward\n this.focusedTab--;\n if (this.focusedTab < 0) {\n this.focusedTab = this.tabs.length - 1;\n }\n }\n // Ignore disabled tabs\n if (\n this.tabs[this.focusedTab].hasAttribute(\"disabled\") &&\n this.tabs[this.focusedTab].getAttribute(\"disabled\") !== \"false\"\n ) {\n return this.navigateThroughTabs(event);\n }\n\n this.tabs[this.focusedTab].focus();\n this.scrollToTab(this.tabs[this.focusedTab]);\n }\n\n /**\n * If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.\n */\n @Listen(\"focusout\")\n onTabFocusOut(event: FocusEvent): void {\n if (!this.tabs.some((tab) => tab.contains(event.relatedTarget as HTMLElement))) {\n this.tabs[this.selectedTab ?? 0].tabIndex = 0;\n this.focusedTab = undefined;\n }\n }\n\n connectedCallback(): void {\n this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());\n }\n\n componentDidLoad(): void {\n // Set role and tabindex to each slotted tab\n this.tabs.forEach((tab) => {\n tab.setAttribute(\"role\", \"tab\");\n tab.tabIndex = -1;\n });\n\n const preselectedTab = this.selectedTab ?? this.tabs.findIndex((tab) => tab.ariaSelected === \"true\");\n if (preselectedTab !== -1) {\n this.selectedTab = preselectedTab;\n this.tabs[preselectedTab].tabIndex = 0;\n this.onTabSelected();\n } else {\n this.tabs[0].tabIndex = 0;\n }\n\n this.resizeObserver.observe(this.nav);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver?.disconnect();\n }\n\n render(): HTMLZNavigationTabsElement {\n return (\n <Host\n class={{\n \"interactive-2\": this.size === NavigationTabsSize.SMALL,\n \"interactive-1\": this.size !== NavigationTabsSize.SMALL,\n }}\n scrollable={this.canNavigate}\n >\n <button\n class=\"navigation-button\"\n onClick={this.navigateBackwards.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigatePrev}\n aria-label=\"Mostra elementi precedenti\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-left\" : \"chevron-up\"}\n width={16}\n height={16}\n />\n </button>\n\n <nav\n role=\"tablist\"\n aria-label={this.ariaLabel}\n ref={(el) => (this.nav = el ?? this.nav)}\n onScroll={this.checkScrollEnabled.bind(this)}\n aria-orientation={this.orientation}\n >\n <slot></slot>\n </nav>\n\n <button\n class=\"navigation-button\"\n onClick={this.navigateForward.bind(this)}\n tabIndex={-1}\n disabled={!this.canNavigateNext}\n aria-label=\"Mostra elementi successivi\"\n hidden={!this.canNavigate}\n >\n <z-icon\n name={this.orientation === NavigationTabsOrientation.HORIZONTAL ? \"chevron-right\" : \"chevron-down\"}\n width={16}\n height={16}\n />\n </button>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { styleMap } from "lit/directives/style-map.js";
|
|
3
|
+
import { NavigationTabsOrientation, NavigationTabsSize } from "../../beans/index";
|
|
4
|
+
import { getColorTokenArgConfig } from "../../utils/storybook-utils";
|
|
5
|
+
import "../z-icon/index";
|
|
6
|
+
import "./index";
|
|
7
|
+
import "./index.stories.css";
|
|
8
|
+
const StoryMeta = {
|
|
9
|
+
title: "ZNavigationTabs",
|
|
10
|
+
component: "z-navigation-tabs",
|
|
11
|
+
argTypes: {
|
|
12
|
+
"orientation": {
|
|
13
|
+
options: Object.values(NavigationTabsOrientation),
|
|
14
|
+
control: {
|
|
15
|
+
type: "inline-radio",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
"--z-navigation-tabs-nav-buttons-bg": getColorTokenArgConfig(),
|
|
19
|
+
"--z-navigation-tabs-nav-buttons-fg": getColorTokenArgConfig(),
|
|
20
|
+
},
|
|
21
|
+
args: {
|
|
22
|
+
"--z-navigation-tabs-nav-buttons-bg": undefined,
|
|
23
|
+
"--z-navigation-tabs-nav-buttons-fg": undefined,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
export default StoryMeta;
|
|
27
|
+
document.addEventListener("DOMContentLoaded", () => {
|
|
28
|
+
const tabs = document.querySelector("z-navigation-tabs");
|
|
29
|
+
tabs === null || tabs === void 0 ? void 0 : tabs.addEventListener("selected", ({ detail: selectedTab }) => {
|
|
30
|
+
var _a, _b;
|
|
31
|
+
const controlledPanel = (_b = (_a = tabs.querySelectorAll('[role="tab"]')) === null || _a === void 0 ? void 0 : _a[selectedTab]) === null || _b === void 0 ? void 0 : _b.getAttribute("aria-controls");
|
|
32
|
+
const panels = Array.from(document.querySelectorAll('[role="tabpanel"]'));
|
|
33
|
+
panels.forEach((panel) => (panel.hidden = true));
|
|
34
|
+
const panelToActivate = panels.find((panel) => panel.id === controlledPanel);
|
|
35
|
+
if (panelToActivate) {
|
|
36
|
+
panelToActivate.hidden = false;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
const tabsTemplate = () => html `<button>
|
|
41
|
+
<z-icon name="house"></z-icon>
|
|
42
|
+
<span>Home</span>
|
|
43
|
+
</button>
|
|
44
|
+
<button>
|
|
45
|
+
<z-icon name="map"></z-icon>
|
|
46
|
+
<span>Maps</span>
|
|
47
|
+
</button>
|
|
48
|
+
<button disabled>
|
|
49
|
+
<z-icon name="download"></z-icon>
|
|
50
|
+
<span>Download</span>
|
|
51
|
+
</button>
|
|
52
|
+
<button>
|
|
53
|
+
<z-icon name="user-avatar"></z-icon>
|
|
54
|
+
<span>Users</span>
|
|
55
|
+
</button>
|
|
56
|
+
<button>
|
|
57
|
+
<z-icon name="artist"></z-icon>
|
|
58
|
+
<span>Artisti</span>
|
|
59
|
+
</button>
|
|
60
|
+
<a
|
|
61
|
+
href="https://www.google.com"
|
|
62
|
+
target="_blank"
|
|
63
|
+
title="Vai a Google"
|
|
64
|
+
>
|
|
65
|
+
<z-icon name="arrow-quad-north-east"></z-icon>
|
|
66
|
+
<span>Link esterno</span>
|
|
67
|
+
</a>`;
|
|
68
|
+
export const Horizontal = {
|
|
69
|
+
argTypes: {
|
|
70
|
+
size: {
|
|
71
|
+
options: Object.values(NavigationTabsSize),
|
|
72
|
+
control: {
|
|
73
|
+
type: "inline-radio",
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
args: {
|
|
78
|
+
orientation: NavigationTabsOrientation.HORIZONTAL,
|
|
79
|
+
size: NavigationTabsSize.BIG,
|
|
80
|
+
ariaLabel: "",
|
|
81
|
+
},
|
|
82
|
+
parameters: {
|
|
83
|
+
controls: {
|
|
84
|
+
exclude: ["orientation"],
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
render: (args) => html `
|
|
88
|
+
<z-navigation-tabs
|
|
89
|
+
orientation=${args.orientation}
|
|
90
|
+
size=${args.size}
|
|
91
|
+
.ariaLabel=${args.ariaLabel}
|
|
92
|
+
style=${styleMap({
|
|
93
|
+
"--z-navigation-tabs-nav-buttons-bg": args["--z-navigation-tabs-nav-buttons-bg"],
|
|
94
|
+
"--z-navigation-tabs-nav-buttons-fg": args["--z-navigation-tabs-nav-buttons-fg"],
|
|
95
|
+
})}
|
|
96
|
+
>
|
|
97
|
+
${tabsTemplate()}
|
|
98
|
+
</z-navigation-tabs>
|
|
99
|
+
`,
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* When orientation is set to `VERTICAL`, the text of slotted tabs is hidden by default.
|
|
103
|
+
* Be sure to put an icon inside the tab to have something visible and don't forget to put an `aria-label` to provide a description for screen readers.
|
|
104
|
+
*/
|
|
105
|
+
export const Vertical = {
|
|
106
|
+
args: {
|
|
107
|
+
orientation: NavigationTabsOrientation.VERTICAL,
|
|
108
|
+
ariaLabel: "",
|
|
109
|
+
},
|
|
110
|
+
parameters: {
|
|
111
|
+
controls: {
|
|
112
|
+
exclude: ["orientation"],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
render: (args) => html `
|
|
116
|
+
<z-navigation-tabs
|
|
117
|
+
orientation=${args.orientation}
|
|
118
|
+
.ariaLabel=${args.ariaLabel}
|
|
119
|
+
style=${styleMap({
|
|
120
|
+
"--z-navigation-tabs-nav-buttons-bg": args["--z-navigation-tabs-nav-buttons-bg"],
|
|
121
|
+
"--z-navigation-tabs-nav-buttons-fg": args["--z-navigation-tabs-nav-buttons-fg"],
|
|
122
|
+
})}
|
|
123
|
+
>
|
|
124
|
+
${tabsTemplate()}
|
|
125
|
+
</z-navigation-tabs>
|
|
126
|
+
`,
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* This story provides an example of how to handle a `ZNavigationTabs` with switchable `tabpanel`s, which is the most common use for the navigation tabs.
|
|
130
|
+
* Each panel must have the `tabpanel` role and the `aria-labelledby` attribute, referencing the tab that controls it (unless a different label is provided using `aria-label`).
|
|
131
|
+
* Similarly, the `aria-controls` attribute must be set on the tabs with the `id` of the controlled panel.
|
|
132
|
+
*
|
|
133
|
+
* For more details check the documentation: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tab\_role
|
|
134
|
+
*/
|
|
135
|
+
export const Tabpanels = {
|
|
136
|
+
args: {
|
|
137
|
+
ariaLabel: "",
|
|
138
|
+
orientation: NavigationTabsOrientation.HORIZONTAL,
|
|
139
|
+
},
|
|
140
|
+
render: (args) => html `
|
|
141
|
+
<div class="panels-story-wrapper ${args.orientation}">
|
|
142
|
+
<z-navigation-tabs
|
|
143
|
+
orientation=${args.orientation}
|
|
144
|
+
size=${NavigationTabsSize.BIG}
|
|
145
|
+
.ariaLabel=${args.ariaLabel}
|
|
146
|
+
.selectedTab=${0}
|
|
147
|
+
style=${styleMap({
|
|
148
|
+
"--z-navigation-tabs-nav-buttons-bg": args["--z-navigation-tabs-nav-buttons-bg"],
|
|
149
|
+
"--z-navigation-tabs-nav-buttons-fg": args["--z-navigation-tabs-nav-buttons-fg"],
|
|
150
|
+
})}
|
|
151
|
+
>
|
|
152
|
+
<button
|
|
153
|
+
aria-controls="panel-1"
|
|
154
|
+
aria-label="home"
|
|
155
|
+
id="tab-1"
|
|
156
|
+
>
|
|
157
|
+
<z-icon name="house" />
|
|
158
|
+
<span>Home</span>
|
|
159
|
+
</button>
|
|
160
|
+
<button
|
|
161
|
+
aria-controls="panel-2"
|
|
162
|
+
aria-label="info"
|
|
163
|
+
id="tab-2"
|
|
164
|
+
>
|
|
165
|
+
<z-icon name="info" />
|
|
166
|
+
<span>Info</span>
|
|
167
|
+
</button>
|
|
168
|
+
</z-navigation-tabs>
|
|
169
|
+
<div
|
|
170
|
+
class="panel"
|
|
171
|
+
id="panel-1"
|
|
172
|
+
role="tabpanel"
|
|
173
|
+
aria-labelledby="tab-1"
|
|
174
|
+
>
|
|
175
|
+
<span>Pannello 1</span>
|
|
176
|
+
<span><z-icon name="house-filled" /></span>
|
|
177
|
+
</div>
|
|
178
|
+
<div
|
|
179
|
+
class="panel"
|
|
180
|
+
id="panel-2"
|
|
181
|
+
role="tabpanel"
|
|
182
|
+
aria-labelledby="tab-2"
|
|
183
|
+
hidden
|
|
184
|
+
>
|
|
185
|
+
<span>Pannello 2</span>
|
|
186
|
+
<span><z-icon name="info-filled" /></span>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
`,
|
|
190
|
+
};
|
|
191
|
+
//# sourceMappingURL=index.stories.js.map
|