@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/file-upload/z-file-upload/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAgB,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AAC5G,OAAO,EAAgB,MAAM,EAAE,WAAW,EAAE,eAAe,EAAC,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAO/C,MAAM,OAAO,WAAW;;QAuDd,oBAAe,GAAG;YACxB,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,WAAW;YACf,QAAQ,EAAE,IAAI;SACf,CAAC;oBAxDsB,eAAe,CAAC,OAAO;;;;;;qBAwB/B,EAAE;8BAIQ,QAAQ;gCAIN,+CAA+C;8BAIhD,IAAI;;;IAsB/B,yDAAyD;IAEzD,kBAAkB,CAAC,CAAc;QAC/B,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAED,mEAAmE;IAEnE,mBAAmB,CAAC,CAAc;QAChC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,MAAM,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method} from \"@stencil/core\";\nimport {ButtonVariant, Device, DividerSize, ZFileUploadType} from \"../../../beans\";\nimport {getDevice} from \"../../../utils/utils\";\n\n@Component({\n tag: \"z-file-upload\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZFileUpload {\n /** Prop indicating the file upload type - can be default or dragdrop */\n @Prop({reflect: true})\n type: ZFileUploadType = ZFileUploadType.DEFAULT;\n\n /** Prop indicating the button variant*/\n @Prop()\n buttonVariant?: ButtonVariant;\n\n /** Prop indicating the accepted file type: ex \".pdf, .doc, .jpg\" */\n @Prop()\n acceptedFormat?: string;\n\n /** Max file dimension in Megabyte */\n @Prop()\n fileMaxSize?: number;\n\n /** Title */\n @Prop()\n mainTitle?: string;\n\n /** Description */\n @Prop()\n description?: string;\n\n /** Files added by the user */\n @State()\n files: File[] = [];\n\n /** upoload button label */\n @Prop()\n uploadBtnLabel?: string = \"allega\";\n\n /** drag & drop button label */\n @Prop()\n dragAndDropLabel?: string = \"Rilascia i file in questa area per allegarli.\";\n\n /** uploaded files history rendering */\n @Prop()\n hasFileSection?: boolean = true;\n\n /** List of files not allowed to be uploaded */\n @State()\n invalidFiles: Map<string, string[]>;\n\n @Element() el: HTMLZFileUploadElement;\n\n private input: HTMLInputElement;\n\n private button: HTMLZButtonElement;\n\n private errorModal: HTMLZModalElement;\n\n private uploadLink: HTMLSpanElement;\n\n private inputAttributes = {\n type: \"file\",\n id: \"file-elem\",\n multiple: true,\n };\n\n /** Listen removeFile event sent from z-file component */\n @Listen(\"removeFile\")\n removeFileListener(e: CustomEvent): void {\n this.removeFileHandler(e.detail);\n }\n\n /** Listen fileDropped event sent from z-dragdrop-area component */\n @Listen(\"fileDropped\")\n fileDroppedListener(e: CustomEvent): void {\n this.input.files = e.detail;\n this.fileInputHandler();\n }\n\n componentDidUpdate(): void {\n this.handleAccessibility();\n this.invalidFiles.size && this.errorModal.focus();\n }\n\n componentWillLoad(): void {\n this.invalidFiles = new Map<string, string[]>();\n }\n\n /** Emitted when user select one or more files */\n @Event()\n fileInput: EventEmitter;\n\n private fileInputHandler(): void {\n if (this.input.files.length) {\n this.invalidFiles = this.checkFiles(Array.from(this.input.files));\n }\n }\n\n /** get array of uploaded files */\n @Method()\n async getFiles(): Promise<File[]> {\n return this.files;\n }\n\n /** remove file from the array */\n @Method()\n async removeFile(fileName: string): Promise<void> {\n this.removeFileHandler(fileName);\n }\n\n private removeFileHandler(fileName: string): void {\n const files = this.files;\n const file = files.find((file) => file.name === fileName);\n if (file) {\n const index = files.indexOf(file);\n if (index >= 0) {\n files.splice(index, 1);\n this.files = [...files];\n }\n }\n }\n\n private getType(): ZFileUploadType {\n if (getDevice() !== Device.DESKTOP && getDevice() !== Device.DESKTOP_WIDE) {\n return ZFileUploadType.DEFAULT;\n }\n\n return this.type;\n }\n\n private handleAccessibility(): void {\n const lastFile = this.el.querySelector(\"z-file:last-child z-chip button\");\n if (this.files.length > 0 && lastFile) {\n (lastFile as HTMLElement).focus();\n } else {\n this.getType() === ZFileUploadType.DEFAULT\n ? this.button.querySelector(\"button\").focus()\n : this.uploadLink.focus();\n }\n }\n\n private checkFiles(files: File[]): Map<string, string[]> {\n const errors = new Map<string, string[]>();\n const sizeErrorString = `supera il limite di ${this.fileMaxSize}MB`;\n const formatErrorString = \" ha un formato non supportato\";\n files.forEach((file: File) => {\n const fileSize = file.size / 1024 / 1024;\n const fileFormatOk = this.acceptedFormat\n .split(\",\")\n .some((ext: string) => file.name.toLowerCase().endsWith(ext.trim()));\n const fileSizeOk = fileSize <= this.fileMaxSize;\n if (fileSizeOk && fileFormatOk) {\n if (!this.files.find((f) => f.name === file.name)) {\n this.files.push(file);\n this.fileInput.emit(file);\n this.input.value = \"\";\n }\n\n return;\n }\n errors.set(file.name, []);\n if (!fileSizeOk) {\n errors.get(file.name).push(sizeErrorString);\n }\n if (!fileFormatOk) {\n errors.get(file.name).push(formatErrorString);\n }\n });\n\n return errors;\n }\n\n private renderTitle(): HTMLElement {\n return <span id=\"title\">{this.mainTitle}</span>;\n }\n\n private renderDescription(cssClass): HTMLElement {\n return <span class={cssClass}>{this.description}</span>;\n }\n\n private renderAllowedFileExtensions(): HTMLElement {\n let fileFormatString = \"\";\n let fileWeightString = \"\";\n\n if (this.acceptedFormat) {\n const fileFormat = this.acceptedFormat\n .split(\", \")\n .map((string) => string.substring(1).toUpperCase())\n .join(\", \");\n fileFormatString = ` nei formati ${fileFormat}`;\n }\n\n if (this.fileMaxSize) {\n fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;\n }\n\n const finalString = `Puoi allegare file${fileFormatString}${fileWeightString}.`;\n\n return <span class=\"body-3\">{fileFormatString || fileWeightString ? finalString : null}</span>;\n }\n\n private renderFileSection(): HTMLElement {\n if (!this.hasFileSection) {\n return;\n }\n\n return (\n <section class={`files-container ${!this.files.length ? \"hidden\" : \"\"}`}>\n <span class=\"heading-4-sb\">File appena caricati</span>\n <div class=\"files-wrapper\">\n <slot name=\"files\" />\n </div>\n <z-divider size={DividerSize.MEDIUM} />\n </section>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n {...this.inputAttributes}\n onChange={() => this.fileInputHandler()}\n accept={this.acceptedFormat}\n ref={(val) => (this.input = val)}\n />\n );\n }\n\n private renderUploadButton(): unknown[] {\n return [\n this.renderInput(),\n <z-button\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n id=\"fileSelect\"\n variant={this.buttonVariant}\n icon=\"upload\"\n ref={(val) => (this.button = val)}\n >\n {this.uploadBtnLabel}\n </z-button>,\n ];\n }\n\n private renderUploadLink(): unknown[] {\n return [\n this.renderInput(),\n <span class=\"body-1 upload-link-text\">\n Trascina o{\" \"}\n <span\n tabIndex={0}\n class=\"body-1-sb upload-link\"\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n ref={(val) => (this.uploadLink = val)}\n >\n carica\n </span>{\" \"}\n dal tuo computer\n </span>,\n ];\n }\n\n private renderDefaultMode(): unknown[] {\n return [\n this.renderDescription(\"body-3-sb\"),\n this.renderAllowedFileExtensions(),\n this.renderFileSection(),\n this.renderUploadButton(),\n ];\n }\n\n private renderDragDropMode(): unknown[] {\n return [\n this.renderFileSection(),\n <z-dragdrop-area drag-and-drop-label={this.dragAndDropLabel}>\n <div class=\"text-container\">\n {this.renderDescription(\"body-1\")}\n {this.renderUploadLink()}\n {this.renderAllowedFileExtensions()}\n </div>\n </z-dragdrop-area>,\n ];\n }\n\n private formatErrorString(key, value): string {\n const bothErrors = value[0] && value[1] ? \" e \" : \"\";\n\n return (\n <span class=\"error-message\">\n Il file <span class=\"file-name\">{key}</span> {value[1] ?? \"\"}\n {bothErrors}\n {value[0] ?? \"\"}.\n </span>\n );\n }\n\n private handleErrorModalContent(): HTMLDivElement {\n return (\n <div slot=\"modalContent\">\n <div class=\"modal-wrapper\">\n <div class=\"files\">\n {Array.from(this.invalidFiles).map(([key, value]) => {\n return <span class=\"body-3\">{this.formatErrorString(key, value)}</span>;\n })}\n </div>\n </div>\n </div>\n );\n }\n\n render(): HTMLZFileUploadElement {\n return (\n <Host>\n <div\n tabIndex={0}\n class={`container ${this.getType()}`}\n >\n {this.mainTitle && this.renderTitle()}\n {this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()}\n </div>\n {!!this.invalidFiles.size && (\n <z-modal\n modalid={`file-upload-${this.type}-error-modal`}\n tabIndex={0}\n ref={(val) => (this.errorModal = val)}\n modaltitle=\"Errore di caricamento\"\n onModalClose={() => (this.invalidFiles = new Map<string, string[]>())}\n onModalBackgroundClick={() => (this.invalidFiles = new Map<string, string[]>())}\n >\n {this.handleErrorModalContent()}\n </z-modal>\n )}\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/file-upload/z-file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/C,QAAQ,EAAE,CAAC,EACX,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,EACrC,UAAU,EAAC,uBAAuB,EAClC,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,EAAoB,CAAC,EACrE,sBAAsB,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,EAAoB,CAAC,IAE9E,IAAI,CAAC,uBAAuB,EAAE,CACvB,CACX,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Host, Listen, Method, Prop, State, h} from \"@stencil/core\";\nimport {ButtonVariant, Device, DividerSize, ZFileUploadType} from \"../../../beans\";\nimport {getDevice} from \"../../../utils/utils\";\n\n@Component({\n tag: \"z-file-upload\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZFileUpload {\n /** Prop indicating the file upload type - can be default or dragdrop */\n @Prop({reflect: true})\n type: ZFileUploadType = ZFileUploadType.DEFAULT;\n\n /** Prop indicating the button variant*/\n @Prop()\n buttonVariant?: ButtonVariant;\n\n /** Prop indicating the accepted file type: ex \".pdf, .doc, .jpg\" */\n @Prop()\n acceptedFormat?: string;\n\n /** Max file dimension in Megabyte */\n @Prop()\n fileMaxSize?: number;\n\n /** Title */\n @Prop()\n mainTitle?: string;\n\n /** Description */\n @Prop()\n description?: string;\n\n /** Files added by the user */\n @State()\n files: File[] = [];\n\n /** upoload button label */\n @Prop()\n uploadBtnLabel?: string = \"allega\";\n\n /** drag & drop button label */\n @Prop()\n dragAndDropLabel?: string = \"Rilascia i file in questa area per allegarli.\";\n\n /** uploaded files history rendering */\n @Prop()\n hasFileSection?: boolean = true;\n\n /** List of files not allowed to be uploaded */\n @State()\n invalidFiles: Map<string, string[]>;\n\n @Element() el: HTMLZFileUploadElement;\n\n private input: HTMLInputElement;\n\n private button: HTMLZButtonElement;\n\n private errorModal: HTMLZModalElement;\n\n private uploadLink: HTMLSpanElement;\n\n private inputAttributes = {\n type: \"file\",\n id: \"file-elem\",\n multiple: true,\n };\n\n /** Listen removeFile event sent from z-file component */\n @Listen(\"removeFile\")\n removeFileListener(e: CustomEvent): void {\n this.removeFileHandler(e.detail);\n }\n\n /** Listen fileDropped event sent from z-dragdrop-area component */\n @Listen(\"fileDropped\")\n fileDroppedListener(e: CustomEvent): void {\n this.input.files = e.detail;\n this.fileInputHandler();\n }\n\n componentDidUpdate(): void {\n this.handleAccessibility();\n this.invalidFiles.size && this.errorModal.focus();\n }\n\n componentWillLoad(): void {\n this.invalidFiles = new Map<string, string[]>();\n }\n\n /** Emitted when user select one or more files */\n @Event()\n fileInput: EventEmitter;\n\n private fileInputHandler(): void {\n if (this.input.files.length) {\n this.invalidFiles = this.checkFiles(Array.from(this.input.files));\n }\n }\n\n /** get array of uploaded files */\n @Method()\n async getFiles(): Promise<File[]> {\n return this.files;\n }\n\n /** remove file from the array */\n @Method()\n async removeFile(fileName: string): Promise<void> {\n this.removeFileHandler(fileName);\n }\n\n private removeFileHandler(fileName: string): void {\n const files = this.files;\n const file = files.find((file) => file.name === fileName);\n if (file) {\n const index = files.indexOf(file);\n if (index >= 0) {\n files.splice(index, 1);\n this.files = [...files];\n }\n }\n }\n\n private getType(): ZFileUploadType {\n if (getDevice() !== Device.DESKTOP && getDevice() !== Device.DESKTOP_WIDE) {\n return ZFileUploadType.DEFAULT;\n }\n\n return this.type;\n }\n\n private handleAccessibility(): void {\n const lastFile = this.el.querySelector(\"z-file:last-child z-chip button\");\n if (this.files.length > 0 && lastFile) {\n (lastFile as HTMLElement).focus();\n } else {\n this.getType() === ZFileUploadType.DEFAULT\n ? this.button.querySelector(\"button\").focus()\n : this.uploadLink.focus();\n }\n }\n\n private checkFiles(files: File[]): Map<string, string[]> {\n const errors = new Map<string, string[]>();\n const sizeErrorString = `supera il limite di ${this.fileMaxSize}MB`;\n const formatErrorString = \" ha un formato non supportato\";\n files.forEach((file: File) => {\n const fileSize = file.size / 1024 / 1024;\n const fileFormatOk = this.acceptedFormat\n .split(\",\")\n .some((ext: string) => file.name.toLowerCase().endsWith(ext.trim()));\n const fileSizeOk = fileSize <= this.fileMaxSize;\n if (fileSizeOk && fileFormatOk) {\n if (!this.files.find((f) => f.name === file.name)) {\n this.files.push(file);\n this.fileInput.emit(file);\n this.input.value = \"\";\n }\n\n return;\n }\n errors.set(file.name, []);\n if (!fileSizeOk) {\n errors.get(file.name).push(sizeErrorString);\n }\n if (!fileFormatOk) {\n errors.get(file.name).push(formatErrorString);\n }\n });\n\n return errors;\n }\n\n private renderTitle(): HTMLElement {\n return <span id=\"title\">{this.mainTitle}</span>;\n }\n\n private renderDescription(cssClass): HTMLElement {\n return <span class={cssClass}>{this.description}</span>;\n }\n\n private renderAllowedFileExtensions(): HTMLElement {\n let fileFormatString = \"\";\n let fileWeightString = \"\";\n\n if (this.acceptedFormat) {\n const fileFormat = this.acceptedFormat\n .split(\", \")\n .map((string) => string.substring(1).toUpperCase())\n .join(\", \");\n fileFormatString = ` nei formati ${fileFormat}`;\n }\n\n if (this.fileMaxSize) {\n fileWeightString = ` per un massimo di ${this.fileMaxSize}MB di peso`;\n }\n\n const finalString = `Puoi allegare file${fileFormatString}${fileWeightString}.`;\n\n return <span class=\"body-3\">{fileFormatString || fileWeightString ? finalString : null}</span>;\n }\n\n private renderFileSection(): HTMLElement {\n if (!this.hasFileSection) {\n return;\n }\n\n return (\n <section class={`files-container ${!this.files.length ? \"hidden\" : \"\"}`}>\n <span class=\"heading-4-sb\">File appena caricati</span>\n <div class=\"files-wrapper\">\n <slot name=\"files\" />\n </div>\n <z-divider size={DividerSize.MEDIUM} />\n </section>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n {...this.inputAttributes}\n onChange={() => this.fileInputHandler()}\n accept={this.acceptedFormat}\n ref={(val) => (this.input = val)}\n />\n );\n }\n\n private renderUploadButton(): unknown[] {\n return [\n this.renderInput(),\n <z-button\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n id=\"fileSelect\"\n variant={this.buttonVariant}\n icon=\"upload\"\n ref={(val) => (this.button = val)}\n >\n {this.uploadBtnLabel}\n </z-button>,\n ];\n }\n\n private renderUploadLink(): unknown[] {\n return [\n this.renderInput(),\n <span class=\"body-1 upload-link-text\">\n Trascina o{\" \"}\n <span\n tabIndex={0}\n class=\"body-1-sb upload-link\"\n onClick={() => this.input.click()}\n onKeyPress={(e) => {\n if (e.code == \"Space\" || e.code == \"Enter\") {\n e.preventDefault();\n this.input.click();\n }\n }}\n ref={(val) => (this.uploadLink = val)}\n >\n carica\n </span>{\" \"}\n dal tuo computer\n </span>,\n ];\n }\n\n private renderDefaultMode(): unknown[] {\n return [\n this.renderDescription(\"body-3-sb\"),\n this.renderAllowedFileExtensions(),\n this.renderFileSection(),\n this.renderUploadButton(),\n ];\n }\n\n private renderDragDropMode(): unknown[] {\n return [\n this.renderFileSection(),\n <z-dragdrop-area drag-and-drop-label={this.dragAndDropLabel}>\n <div class=\"text-container\">\n {this.renderDescription(\"body-1\")}\n {this.renderUploadLink()}\n {this.renderAllowedFileExtensions()}\n </div>\n </z-dragdrop-area>,\n ];\n }\n\n private formatErrorString(key, value): string {\n const bothErrors = value[0] && value[1] ? \" e \" : \"\";\n\n return (\n <span class=\"error-message\">\n Il file <span class=\"file-name\">{key}</span> {value[1] ?? \"\"}\n {bothErrors}\n {value[0] ?? \"\"}.\n </span>\n );\n }\n\n private handleErrorModalContent(): HTMLDivElement {\n return (\n <div slot=\"modalContent\">\n <div class=\"modal-wrapper\">\n <div class=\"files\">\n {Array.from(this.invalidFiles).map(([key, value]) => {\n return <span class=\"body-3\">{this.formatErrorString(key, value)}</span>;\n })}\n </div>\n </div>\n </div>\n );\n }\n\n render(): HTMLZFileUploadElement {\n return (\n <Host>\n <div\n tabIndex={0}\n class={`container ${this.getType()}`}\n >\n {this.mainTitle && this.renderTitle()}\n {this.getType() == ZFileUploadType.DEFAULT ? this.renderDefaultMode() : this.renderDragDropMode()}\n </div>\n {!!this.invalidFiles.size && (\n <z-modal\n modalid={`file-upload-${this.type}-error-modal`}\n tabIndex={0}\n ref={(val) => (this.errorModal = val)}\n modaltitle=\"Errore di caricamento\"\n onModalClose={() => (this.invalidFiles = new Map<string, string[]>())}\n onModalBackgroundClick={() => (this.invalidFiles = new Map<string, string[]>())}\n >\n {this.handleErrorModalContent()}\n </z-modal>\n )}\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../../../src/components/file-upload/z-file-upload/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACtC,EAAE,CAAC,iCAAiC,EAAE,KAAK,IAAI,EAAE;QAC/C,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,WAAW,CAAC;YACzB,IAAI,EAAE;;;;;;8BAMkB;SACzB,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6Bb,CAAC,CAAC;IACrB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,kCAAkC,EAAE,KAAK,IAAI,EAAE;QAChD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,WAAW,CAAC;YACzB,IAAI,EAAE;;;;;8BAKkB;SACzB,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;aACd,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAoCI,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8DAA8D,EAAE,KAAK,IAAI,EAAE;QAC5E,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,WAAW,CAAC;YACzB,IAAI,EAAE;;;;;;;8BAOkB;SACzB,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0Bb,CAAC,CAAC;IACrB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {newSpecPage} from \"@stencil/core/testing\";\n\nimport {ZFileUpload} from \"./index\";\n\ndescribe(\"Suite test ZFileUpload\", () => {\n it(\"Test render ZFileUpload default\", async () => {\n const page = await newSpecPage({\n components: [ZFileUpload],\n html: `<z-file-upload type=\"default\"\n variant=\"primary\"\n main-title=\"Allega un file\"\n description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\"\n accepted-format= \".pdf, .doc, .tiff, .png, .jpg, .jpeg\"\n file-max-size=\"50\">>\n </z-file-upload>`,\n });\n expect(page.root).toEqualHtml(`\n <z-file-upload accepted-format=\".pdf, .doc, .tiff, .png, .jpg, .jpeg\" description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\" file-max-size=\"50\" main-title=\"Allega un file\" type=\"default\" variant=\"primary\">\n <mock:shadow-root>\n <div class=\"container default\" tabindex=\"0\">\n <span id=\"title\">\n Allega un file\n </span>\n <span class=\"body-3-sb\">\n Vuoi allegare un file per chiarire meglio la tua richiesta?\n </span>\n <span class=\"body-3\">\n Puoi allegare file nei formati PDF, DOC, TIFF, PNG, JPG, JPEG per un massimo di 50MB di peso.\n </span>\n <section class=\"files-container hidden\">\n <span class=\"heading-4-sb\">\n File appena caricati\n </span>\n <div class=\"files-wrapper\">\n <slot name=\"files\"></slot>\n </div>\n <z-divider size=\"medium\"></z-divider>\n </section>\n <input accept=\".pdf, .doc, .tiff, .png, .jpg, .jpeg\" id=\"file-elem\" multiple=\"\" type=\"file\">\n <z-button icon=\"upload\" id=\"fileSelect\">\n allega\n </z-button>\n </div>\n </mock:shadow-root>\n >\n </z-file-upload>`);\n });\n\n it(\"Test render ZFileUpload dragdrop\", async () => {\n const page = await newSpecPage({\n components: [ZFileUpload],\n html: `<z-file-upload type=\"dragdrop\"\n main-title=\"Allega un file\"\n description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\"\n accepted-format= \".pdf, .doc, .tiff, .png, .jpg, .jpeg\"\n file-max-size=\"50\">>\n </z-file-upload>`,\n });\n expect(page.root)\n .toEqualHtml(` <z-file-upload accepted-format=\".pdf, .doc, .tiff, .png, .jpg, .jpeg\" description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\" file-max-size=\"50\" main-title=\"Allega un file\" type=\"dragdrop\">\n <mock:shadow-root>\n <div class=\"container dragdrop\" tabindex=\"0\">\n <span id=\"title\">\n Allega un file\n </span>\n <section class=\"files-container hidden\">\n <span class=\"heading-4-sb\">\n File appena caricati\n </span>\n <div class=\"files-wrapper\">\n <slot name=\"files\"></slot>\n </div>\n <z-divider size=\"medium\"></z-divider>\n </section>\n <z-dragdrop-area drag-and-drop-label=\"Rilascia i file in questa area per allegarli.\">\n <div class=\"text-container\">\n <span class=\"body-1\">\n Vuoi allegare un file per chiarire meglio la tua richiesta?\n </span>\n <input accept=\".pdf, .doc, .tiff, .png, .jpg, .jpeg\" id=\"file-elem\" multiple=\"\" type=\"file\">\n <span class=\"body-1 upload-link-text\">\n Trascina o\n <span class=\"body-1-sb upload-link\" tabindex=\"0\">\n carica\n </span>\n dal tuo computer\n </span>\n <span class=\"body-3\">\n Puoi allegare file nei formati PDF, DOC, TIFF, PNG, JPG, JPEG per un massimo di 50MB di peso.\n </span>\n </div>\n </z-dragdrop-area>\n </div>\n </mock:shadow-root>\n >\n </z-file-upload>`);\n });\n\n it(\"Test render ZFileUpload with custom label and not main-title\", async () => {\n const page = await newSpecPage({\n components: [ZFileUpload],\n html: `<z-file-upload type=\"default\"\n variant=\"primary\"\n description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\"\n accepted-format=\".pdf, .doc, .tiff, .png, .jpg, .jpeg\"\n upload-btn-label=\"testo custom\"\n drag-and-drop-label=\"drag and drop custom label\"\n file-max-size=\"50\">>\n </z-file-upload>`,\n });\n expect(page.root).toEqualHtml(`\n <z-file-upload accepted-format=\".pdf, .doc, .tiff, .png, .jpg, .jpeg\" description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\" file-max-size=\"50\" upload-btn-label=\"testo custom\" drag-and-drop-label=\"drag and drop custom label\" type=\"default\" variant=\"primary\">\n <mock:shadow-root>\n <div class=\"container default\" tabindex=\"0\">\n <span class=\"body-3-sb\">\n Vuoi allegare un file per chiarire meglio la tua richiesta?\n </span>\n <span class=\"body-3\">\n Puoi allegare file nei formati PDF, DOC, TIFF, PNG, JPG, JPEG per un massimo di 50MB di peso.\n </span>\n <section class=\"files-container hidden\">\n <span class=\"heading-4-sb\">\n File appena caricati\n </span>\n <div class=\"files-wrapper\">\n <slot name=\"files\"></slot>\n </div>\n <z-divider size=\"medium\"></z-divider>\n </section>\n <input accept=\".pdf, .doc, .tiff, .png, .jpg, .jpeg\" id=\"file-elem\" multiple=\"\" type=\"file\">\n <z-button icon=\"upload\" id=\"fileSelect\">\n testo custom\n </z-button>\n </div>\n </mock:shadow-root>\n >\n </z-file-upload>`);\n });\n});\n"]}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { ButtonVariant, ZFileUploadType } from "../../../beans";
|
|
3
|
+
import "./index";
|
|
4
|
+
const StoryMeta = {
|
|
5
|
+
title: "ZFileUpload",
|
|
6
|
+
component: "z-file-upload",
|
|
7
|
+
argTypes: {
|
|
8
|
+
type: {
|
|
9
|
+
options: Object.values(ZFileUploadType),
|
|
10
|
+
control: {
|
|
11
|
+
type: "inline-radio",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
buttonVariant: {
|
|
15
|
+
options: Object.values(ButtonVariant),
|
|
16
|
+
control: {
|
|
17
|
+
type: "inline-radio",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
args: {
|
|
22
|
+
fileMaxSize: 50,
|
|
23
|
+
acceptedFormat: ".pdf, .doc, .tiff, .png, .jpg",
|
|
24
|
+
mainTitle: "Allega un file",
|
|
25
|
+
description: "Vuoi allegare un file per chiarire meglio la tua richiesta?",
|
|
26
|
+
uploadBtnLabel: "allega",
|
|
27
|
+
hasFileSection: true,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export default StoryMeta;
|
|
31
|
+
export const Default = {
|
|
32
|
+
args: {
|
|
33
|
+
buttonVariant: ButtonVariant.PRIMARY,
|
|
34
|
+
},
|
|
35
|
+
render: (args) => html `<h4 class="heading-4">
|
|
36
|
+
This story embeds a piece of js script to allow the component to work properly. Please refresh the page before
|
|
37
|
+
using it!
|
|
38
|
+
</h4>
|
|
39
|
+
<z-file-upload
|
|
40
|
+
type=${ZFileUploadType.DEFAULT}
|
|
41
|
+
.hasFileSection=${args.hasFileSection}
|
|
42
|
+
description="${args.description}"
|
|
43
|
+
.buttonVariant=${args.buttonVariant}
|
|
44
|
+
.fileMaxSize=${args.fileMaxSize}
|
|
45
|
+
.acceptedFormat=${args.acceptedFormat}
|
|
46
|
+
.mainTitle=${args.mainTitle}
|
|
47
|
+
.uploadBtnLabel=${args.uploadBtnLabel}
|
|
48
|
+
>
|
|
49
|
+
</z-file-upload>
|
|
50
|
+
<script>
|
|
51
|
+
let uploaderDefault = document.querySelector("z-file-upload");
|
|
52
|
+
let fileNumber = 0;
|
|
53
|
+
document.addEventListener("fileInput", (e) => {
|
|
54
|
+
fileNumber++;
|
|
55
|
+
const item = e.detail;
|
|
56
|
+
const chip = document.createElement("Z-FILE");
|
|
57
|
+
chip.setAttribute("slot", "files");
|
|
58
|
+
chip.setAttribute("file-number", fileNumber);
|
|
59
|
+
chip.setAttribute("file-name", item.name);
|
|
60
|
+
uploaderDefault.appendChild(chip);
|
|
61
|
+
});
|
|
62
|
+
</script>`,
|
|
63
|
+
};
|
|
64
|
+
export const Dragdrop = {
|
|
65
|
+
args: {
|
|
66
|
+
dragAndDropLabel: "Rilascia i file in questa area per allegarli.",
|
|
67
|
+
},
|
|
68
|
+
render: (args) => html `<h4 class="heading-4">
|
|
69
|
+
This story embeds a piece of js script to allow the component to work properly. Please refresh the page before
|
|
70
|
+
using it!
|
|
71
|
+
</h4>
|
|
72
|
+
<br />
|
|
73
|
+
<z-file-upload
|
|
74
|
+
type=${ZFileUploadType.DRAGDROP}
|
|
75
|
+
.hasFileSection=${args.hasFileSection}
|
|
76
|
+
description="${args.description}"
|
|
77
|
+
.fileMaxSize=${args.fileMaxSize}
|
|
78
|
+
.acceptedFormat=${args.acceptedFormat}
|
|
79
|
+
.mainTitle=${args.mainTitle}
|
|
80
|
+
.dragAndDropLabel=${args.dragAndDropLabel}
|
|
81
|
+
>
|
|
82
|
+
</z-file-upload>
|
|
83
|
+
<script>
|
|
84
|
+
const uploaderDragdrop = document.querySelector("z-file-upload");
|
|
85
|
+
document.addEventListener("fileInput", (e) => {
|
|
86
|
+
const item = e.detail;
|
|
87
|
+
const chip = document.createElement("Z-FILE");
|
|
88
|
+
chip.setAttribute("slot", "files");
|
|
89
|
+
chip.setAttribute("filetype", item.type);
|
|
90
|
+
chip.setAttribute("file-name", item.name);
|
|
91
|
+
uploaderDragdrop.appendChild(chip);
|
|
92
|
+
});
|
|
93
|
+
</script>`,
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=index.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../../src/components/file-upload/z-file-upload/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAC,aAAa,EAAE,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAC9D,OAAO,SAAS,CAAC;AAEjB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,eAAe;IAC1B,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC;YACvC,OAAO,EAAE;gBACP,IAAI,EAAE,cAAc;aACrB;SACF;QACD,aAAa,EAAE;YACb,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC;YACrC,OAAO,EAAE;gBACP,IAAI,EAAE,cAAc;aACrB;SACF;KACF;IACD,IAAI,EAAE;QACJ,WAAW,EAAE,EAAE;QACf,cAAc,EAAE,+BAA+B;QAC/C,SAAS,EAAE,gBAAgB;QAC3B,WAAW,EAAE,6DAA6D;QAC1E,cAAc,EAAE,QAAQ;QACxB,cAAc,EAAE,IAAI;KACrB;CAC0B,CAAC;AAE9B,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE;QACJ,aAAa,EAAE,aAAa,CAAC,OAAO;KACrC;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;;;;;eAKO,eAAe,CAAC,OAAO;0BACZ,IAAI,CAAC,cAAc;uBACtB,IAAI,CAAC,WAAW;yBACd,IAAI,CAAC,aAAa;uBACpB,IAAI,CAAC,WAAW;0BACb,IAAI,CAAC,cAAc;qBACxB,IAAI,CAAC,SAAS;0BACT,IAAI,CAAC,cAAc;;;;;;;;;;;;;;;gBAe7B;CACC,CAAC;AAElB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE;QACJ,gBAAgB,EAAE,+CAA+C;KAClE;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;;;;;;eAMO,eAAe,CAAC,QAAQ;0BACb,IAAI,CAAC,cAAc;uBACtB,IAAI,CAAC,WAAW;uBAChB,IAAI,CAAC,WAAW;0BACb,IAAI,CAAC,cAAc;qBACxB,IAAI,CAAC,SAAS;4BACP,IAAI,CAAC,gBAAgB;;;;;;;;;;;;;gBAajC;CACC,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZFileUpload} from \".\";\nimport {ButtonVariant, ZFileUploadType} from \"../../../beans\";\nimport \"./index\";\n\nconst StoryMeta = {\n title: \"ZFileUpload\",\n component: \"z-file-upload\",\n argTypes: {\n type: {\n options: Object.values(ZFileUploadType),\n control: {\n type: \"inline-radio\",\n },\n },\n buttonVariant: {\n options: Object.values(ButtonVariant),\n control: {\n type: \"inline-radio\",\n },\n },\n },\n args: {\n fileMaxSize: 50,\n acceptedFormat: \".pdf, .doc, .tiff, .png, .jpg\",\n mainTitle: \"Allega un file\",\n description: \"Vuoi allegare un file per chiarire meglio la tua richiesta?\",\n uploadBtnLabel: \"allega\",\n hasFileSection: true,\n },\n} satisfies Meta<ZFileUpload>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZFileUpload>;\n\nexport const Default = {\n args: {\n buttonVariant: ButtonVariant.PRIMARY,\n },\n render: (args) =>\n html`<h4 class=\"heading-4\">\n This story embeds a piece of js script to allow the component to work properly. Please refresh the page before\n using it!\n </h4>\n <z-file-upload\n type=${ZFileUploadType.DEFAULT}\n .hasFileSection=${args.hasFileSection}\n description=\"${args.description}\"\n .buttonVariant=${args.buttonVariant}\n .fileMaxSize=${args.fileMaxSize}\n .acceptedFormat=${args.acceptedFormat}\n .mainTitle=${args.mainTitle}\n .uploadBtnLabel=${args.uploadBtnLabel}\n >\n </z-file-upload>\n <script>\n let uploaderDefault = document.querySelector(\"z-file-upload\");\n let fileNumber = 0;\n document.addEventListener(\"fileInput\", (e) => {\n fileNumber++;\n const item = e.detail;\n const chip = document.createElement(\"Z-FILE\");\n chip.setAttribute(\"slot\", \"files\");\n chip.setAttribute(\"file-number\", fileNumber);\n chip.setAttribute(\"file-name\", item.name);\n uploaderDefault.appendChild(chip);\n });\n </script>`,\n} satisfies Story;\n\nexport const Dragdrop = {\n args: {\n dragAndDropLabel: \"Rilascia i file in questa area per allegarli.\",\n },\n render: (args) =>\n html`<h4 class=\"heading-4\">\n This story embeds a piece of js script to allow the component to work properly. Please refresh the page before\n using it!\n </h4>\n <br />\n <z-file-upload\n type=${ZFileUploadType.DRAGDROP}\n .hasFileSection=${args.hasFileSection}\n description=\"${args.description}\"\n .fileMaxSize=${args.fileMaxSize}\n .acceptedFormat=${args.acceptedFormat}\n .mainTitle=${args.mainTitle}\n .dragAndDropLabel=${args.dragAndDropLabel}\n >\n </z-file-upload>\n <script>\n const uploaderDragdrop = document.querySelector(\"z-file-upload\");\n document.addEventListener(\"fileInput\", (e) => {\n const item = e.detail;\n const chip = document.createElement(\"Z-FILE\");\n chip.setAttribute(\"slot\", \"files\");\n chip.setAttribute(\"filetype\", item.type);\n chip.setAttribute(\"file-name\", item.name);\n uploaderDragdrop.appendChild(chip);\n });\n </script>`,\n} satisfies Story;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.e2e.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"test.e2e.js","sourceRoot":"","sources":["../../../../../src/components/file-upload/z-file-upload/test.e2e.ts"],"names":[],"mappings":"AAA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{\n it(\"Test z-file-upload -> add z-file by click\", async () => {\n const page = await newE2EPage();\n\n await page.setContent(`\n <z-file-upload type=\"default\"\n button-variant=\"primary\"\n main-title=\"Allega un file\"\n description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\"\n accepted-format= \".pdf, .doc, .tiff, .png, .jpg, .jpeg\"\n file-max-size=\"50\">\n </z-file-upload>\n `);\n const zfu = await page.find(\"z-file-upload\");\n\n await zfu.setProperty(\"acceptedFormat\", \".md\");\n await page.waitForChanges();\n\n // simulate upload of file\n const button = await page.find(\"z-file-upload >>> div z-button >>> button\");\n button.click();\n const fileChooser = await page.waitForFileChooser();\n\n const fileInputEvent = await zfu.spyOnEvent(\"fileInput\");\n\n await fileChooser.accept([\"./readme.md\"]);\n await page.waitForChanges();\n\n expect(fileInputEvent).toHaveReceivedEvent();\n });\n\n it(\"Test z-file-upload -> add z-file by click ERROR: wrong file type\", async () => {\n const page = await newE2EPage();\n\n await page.setContent(`\n <z-file-upload type=\"default\"\n button-variant=\"primary\"\n main-title=\"Allega un file\"\n description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\"\n accepted-format= \".pdf, .doc, .tiff, .png, .jpg, .jpeg\"\n file-max-size=\"50\">\n </z-file-upload>\n `);\n const zfu = await page.find(\"z-file-upload\");\n\n // simulate upload of file\n const button = await page.find(\"z-file-upload >>> div z-button >>> button\");\n button.click();\n const fileChooser = await page.waitForFileChooser();\n\n const fileInputEvent = await zfu.spyOnEvent(\"fileInput\");\n\n await fileChooser.accept([\"./readme.md\"]);\n await page.waitForChanges();\n\n expect(fileInputEvent).not.toHaveReceivedEvent();\n\n const errorModal = await page.find(\"z-file-upload >>> z-modal\");\n expect(errorModal).not.toBeNull();\n });\n\n it(\"Test z-file-upload -> remove z-file\", async () => {\n const page = await newE2EPage();\n\n await page.setContent(`\n <z-file-upload type=\"default\"\n button-variant=\"primary\"\n main-title=\"Allega un file\"\n description=\"Vuoi allegare un file per chiarire meglio la tua richiesta?\"\n accepted-format= \".pdf, .doc, .tiff, .png, .jpg, .jpeg\"\n file-max-size=\"50\">\n <z-file slot=\"files\" class=\"hydrated\">Spike - Condivisione pagine Kitaboo-OK.pdf</z-file>\n </z-file-upload>\n `);\n\n const zf = await page.find(\"z-file-upload z-file\");\n\n expect(zf).not.toBeNull();\n\n page.evaluate(() => (document.querySelector(\"z-file-upload z-file z-chip z-icon\") as HTMLElement).click());\n await page.waitForChanges();\n const zfCheck = await page.find(\"z-file-upload z-file\");\n\n expect(zfCheck).toBeNull();\n });\n});\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,mBAAmB;AACnB,EAAE;AACF,oEAAoE;AACpE,iDAAiD;AACjD,EAAE;AACF,gBAAgB;AAChB,EAAE","sourcesContent":["//\n// Temp workaround:\n//\n// Empty file to prevent errors when importing beans in stencil apps\n// Stencil apps with React bindings will not work\n//\n// Must be fixed\n//\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
2
|
import { ListSize, ListType } from "../../../beans";
|
|
3
3
|
export class ZList {
|
|
4
4
|
constructor() {
|
|
@@ -18,7 +18,7 @@ export class ZList {
|
|
|
18
18
|
this.setChildrenSizeType();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'a5269da1127742a7a9e58e8b0e46174c4c990a39' }, h("slot", { key: 'ced862d8fb2e6e4d86212e9dd22ca1c12a184fe3' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "z-list"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,10 +91,10 @@ export class ZList {
|
|
|
91
91
|
"references": {}
|
|
92
92
|
},
|
|
93
93
|
"required": false,
|
|
94
|
-
"optional":
|
|
94
|
+
"optional": false,
|
|
95
95
|
"docs": {
|
|
96
96
|
"tags": [],
|
|
97
|
-
"text": "
|
|
97
|
+
"text": "Sets role of the element."
|
|
98
98
|
},
|
|
99
99
|
"attribute": "role",
|
|
100
100
|
"reflect": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/list/z-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAOlD,MAAM,OAAO,KAAK;;oBAOE,QAAQ,CAAC,MAAM;wBAMX,QAAQ,CAAC,IAAI;oBAM5B,MAAM;;IAEL,mBAAmB;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;QACpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;YAC5C,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;YACrD,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,uBAAuB,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxE,CAAC;IACH,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,8DAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Host, Prop, h} from \"@stencil/core\";\nimport {ListSize, ListType} from \"../../../beans\";\n\n@Component({\n tag: \"z-list\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZList {\n @Element() host: HTMLZListElement;\n\n /**\n * [optional] Sets size of inside elements.\n */\n @Prop({reflect: true})\n size?: ListSize = ListSize.MEDIUM;\n\n /**\n * [optional] type of the list marker for each element\n */\n @Prop({reflect: true})\n listType?: ListType = ListType.NONE;\n\n /**\n * Sets role of the element.\n */\n @Prop({reflect: true})\n role = \"list\";\n\n private setChildrenSizeType(): void {\n const children = this.host.children;\n for (let i = 0; i < children.length; i++) {\n children[i].setAttribute(\"size\", this.size);\n children[i].setAttribute(\"list-type\", this.listType);\n children[i].setAttribute(\"list-element-position\", (i + 1).toString());\n }\n }\n\n componentDidLoad(): void {\n this.setChildrenSizeType();\n }\n\n render(): HTMLZListElement {\n return (\n <Host>\n <slot />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../../../src/components/list/z-list/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,EAAE,CAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;QACjC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,KAAK,CAAC;YACnB,IAAI,EAAE,oDAAoD;SAC3D,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;KAO7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;QAC3C,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,KAAK,CAAC;YACnB,IAAI,EAAE,iEAAiE;SACxE,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;KAO7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {newSpecPage} from \"@stencil/core/testing\";\n\nimport {ZList} from \"./index\";\n\ndescribe(\"Suite test ZList\", () => {\n it(\"Test render ZList\", async () => {\n const page = await newSpecPage({\n components: [ZList],\n html: `<z-list><z-list-element></z-list-element></z-list>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-list list-type=\"none\" role=\"list\" size=\"medium\">\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n <z-list-element list-element-position=\"1\" list-type=\"none\" size=\"medium\"></z-list-element>\n </z-list>\n `);\n });\n\n it(\"Test render ZList size prop\", async () => {\n const page = await newSpecPage({\n components: [ZList],\n html: `<z-list size=\"large\"><z-list-element></z-list-element></z-list>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-list list-type=\"none\" role=\"list\" size=\"large\">\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n <z-list-element list-element-position=\"1\" list-type=\"none\" size=\"large\"></z-list-element>\n </z-list>\n `);\n });\n});\n"]}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { ListSize, ListType } from "../../../beans";
|
|
3
|
+
import "../z-list-element/index";
|
|
4
|
+
import "../z-list-group/index";
|
|
5
|
+
import "./index";
|
|
6
|
+
const StoryMeta = {
|
|
7
|
+
title: "ZList/ZList",
|
|
8
|
+
component: "z-list",
|
|
9
|
+
argTypes: {
|
|
10
|
+
size: {
|
|
11
|
+
control: {
|
|
12
|
+
type: "select",
|
|
13
|
+
},
|
|
14
|
+
options: Object.values(ListSize),
|
|
15
|
+
},
|
|
16
|
+
listType: {
|
|
17
|
+
control: {
|
|
18
|
+
type: "select",
|
|
19
|
+
},
|
|
20
|
+
options: Object.values(ListType),
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
args: {
|
|
24
|
+
size: ListSize.MEDIUM,
|
|
25
|
+
listType: ListType.NONE,
|
|
26
|
+
},
|
|
27
|
+
render: (args) => html `
|
|
28
|
+
<z-list
|
|
29
|
+
.listType=${args.listType}
|
|
30
|
+
size=${args.size}
|
|
31
|
+
>
|
|
32
|
+
<z-list-element
|
|
33
|
+
.listType=${args.listType}
|
|
34
|
+
size=${args.size}
|
|
35
|
+
>Elemento 1</z-list-element
|
|
36
|
+
>
|
|
37
|
+
<z-list-element
|
|
38
|
+
.listType=${args.listType}
|
|
39
|
+
size=${args.size}
|
|
40
|
+
>Elemento 2</z-list-element
|
|
41
|
+
>
|
|
42
|
+
<z-list-element
|
|
43
|
+
.listType=${args.listType}
|
|
44
|
+
size=${args.size}
|
|
45
|
+
>Elemento 3</z-list-element
|
|
46
|
+
>
|
|
47
|
+
</z-list>
|
|
48
|
+
`,
|
|
49
|
+
};
|
|
50
|
+
export default StoryMeta;
|
|
51
|
+
export const Default = {};
|
|
52
|
+
export const HeaderDivider = {
|
|
53
|
+
render: (args) => html `<z-list>
|
|
54
|
+
<z-list-group divider-type="header">
|
|
55
|
+
<div slot="header-title">Gruppo 1</div>
|
|
56
|
+
<z-list-element
|
|
57
|
+
.listType=${args.listType}
|
|
58
|
+
size=${args.size}
|
|
59
|
+
>Elemento 1</z-list-element
|
|
60
|
+
>
|
|
61
|
+
<z-list-element
|
|
62
|
+
.listType=${args.listType}
|
|
63
|
+
size=${args.size}
|
|
64
|
+
>Elemento 2</z-list-element
|
|
65
|
+
>
|
|
66
|
+
<z-list-element
|
|
67
|
+
.listType=${args.listType}
|
|
68
|
+
size=${args.size}
|
|
69
|
+
>Elemento 3</z-list-element
|
|
70
|
+
>
|
|
71
|
+
</z-list-group>
|
|
72
|
+
<z-list-group divider-type="header">
|
|
73
|
+
<div slot="header-title">Gruppo 2</div>
|
|
74
|
+
<z-list-element
|
|
75
|
+
.listType=${args.listType}
|
|
76
|
+
size=${args.size}
|
|
77
|
+
>Elemento 1</z-list-element
|
|
78
|
+
>
|
|
79
|
+
<z-list-element
|
|
80
|
+
.listType=${args.listType}
|
|
81
|
+
size=${args.size}
|
|
82
|
+
>Elemento 2</z-list-element
|
|
83
|
+
>
|
|
84
|
+
<z-list-element
|
|
85
|
+
.listType=${args.listType}
|
|
86
|
+
size=${args.size}
|
|
87
|
+
>Elemento 3</z-list-element
|
|
88
|
+
>
|
|
89
|
+
</z-list-group>
|
|
90
|
+
</z-list>`,
|
|
91
|
+
};
|
|
92
|
+
export const ElementDivider = {
|
|
93
|
+
render: (args) => html `<z-list>
|
|
94
|
+
<z-list-group divider-type="element">
|
|
95
|
+
<div slot="header-title">Gruppo 1</div>
|
|
96
|
+
<z-list-element
|
|
97
|
+
.listType=${args.listType}
|
|
98
|
+
size=${args.size}
|
|
99
|
+
>Elemento 1</z-list-element
|
|
100
|
+
>
|
|
101
|
+
<z-list-element
|
|
102
|
+
.listType=${args.listType}
|
|
103
|
+
size=${args.size}
|
|
104
|
+
>Elemento 2</z-list-element
|
|
105
|
+
>
|
|
106
|
+
<z-list-element
|
|
107
|
+
.listType=${args.listType}
|
|
108
|
+
size=${args.size}
|
|
109
|
+
>Elemento 3</z-list-element
|
|
110
|
+
>
|
|
111
|
+
</z-list-group>
|
|
112
|
+
<z-list-group divider-type="element">
|
|
113
|
+
<div slot="header-title">Gruppo 2</div>
|
|
114
|
+
<z-list-element
|
|
115
|
+
.listType=${args.listType}
|
|
116
|
+
size=${args.size}
|
|
117
|
+
>Elemento 1</z-list-element
|
|
118
|
+
>
|
|
119
|
+
<z-list-element
|
|
120
|
+
.listType=${args.listType}
|
|
121
|
+
size=${args.size}
|
|
122
|
+
>Elemento 2</z-list-element
|
|
123
|
+
>
|
|
124
|
+
<z-list-element
|
|
125
|
+
.listType=${args.listType}
|
|
126
|
+
size=${args.size}
|
|
127
|
+
>Elemento 3</z-list-element
|
|
128
|
+
>
|
|
129
|
+
</z-list-group>
|
|
130
|
+
</z-list>`,
|
|
131
|
+
};
|
|
132
|
+
export const ClickableElements = {
|
|
133
|
+
render: () => html `<z-list>
|
|
134
|
+
<z-list-group>
|
|
135
|
+
<z-list-element clickable>Elemento 1</z-list-element>
|
|
136
|
+
<z-list-element clickable>Elemento 2</z-list-element>
|
|
137
|
+
<z-list-element clickable>Elemento 3</z-list-element>
|
|
138
|
+
</z-list-group>
|
|
139
|
+
</z-list>`,
|
|
140
|
+
};
|
|
141
|
+
export const ExpandableElements = {
|
|
142
|
+
render: () => html `<z-list size="large">
|
|
143
|
+
<z-list-group divider-type="element">
|
|
144
|
+
<z-list-element
|
|
145
|
+
expandable
|
|
146
|
+
align-button="left"
|
|
147
|
+
expandable-style="accordion"
|
|
148
|
+
><span>Elemento 1</span><span slot="inner-content">INNER CONTENT 1 BUTTON LEFT</span></z-list-element
|
|
149
|
+
>
|
|
150
|
+
<z-list-element
|
|
151
|
+
expandable
|
|
152
|
+
align-button="right"
|
|
153
|
+
expandable-style="menu"
|
|
154
|
+
><span>Elemento 2</span><span slot="inner-content">INNER CONTENT 2</span></z-list-element
|
|
155
|
+
>
|
|
156
|
+
<z-list-element
|
|
157
|
+
expandable
|
|
158
|
+
align-button="right"
|
|
159
|
+
expandable-style="menu"
|
|
160
|
+
><span>Elemento 3</span><span slot="inner-content">INNER CONTENT 3</span></z-list-element
|
|
161
|
+
>
|
|
162
|
+
</z-list-group>
|
|
163
|
+
</z-list>`,
|
|
164
|
+
};
|
|
165
|
+
export const UnorderedIndex = {
|
|
166
|
+
parameters: {
|
|
167
|
+
controls: {
|
|
168
|
+
exclude: ["size", "listType"],
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
args: {
|
|
172
|
+
listType: ListType.UNORDERED,
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
export const OrderedIndex = {
|
|
176
|
+
parameters: {
|
|
177
|
+
controls: {
|
|
178
|
+
exclude: ["size", "listType"],
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
args: {
|
|
182
|
+
listType: ListType.ORDERED,
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
//# sourceMappingURL=index.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../../src/components/list/z-list/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,yBAAyB,CAAC;AACjC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,SAAS,CAAC;AAEjB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,aAAa;IACpB,SAAS,EAAE,QAAQ;IACnB,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;YACD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;SACjC;QACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;YACD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;SACjC;KACF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ,CAAC,MAAM;QACrB,QAAQ,EAAE,QAAQ,CAAC,IAAI;KACxB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;kBAEN,IAAI,CAAC,QAAQ;aAClB,IAAI,CAAC,IAAI;;;oBAGF,IAAI,CAAC,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X,IAAI,CAAA;;;;;;cAMM;CACG,CAAC;AAElB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,MAAM,EAAE,GAAG,EAAE,CACX,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;cAqBM;CACG,CAAC;AAElB,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;SAC9B;KACF;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ,CAAC,SAAS;KAC7B;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;SAC9B;KACF;IACD,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ,CAAC,OAAO;KAC3B;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {ZList} from \".\";\nimport {ListSize, ListType} from \"../../../beans\";\nimport \"../z-list-element/index\";\nimport \"../z-list-group/index\";\nimport \"./index\";\n\nconst StoryMeta = {\n title: \"ZList/ZList\",\n component: \"z-list\",\n argTypes: {\n size: {\n control: {\n type: \"select\",\n },\n options: Object.values(ListSize),\n },\n listType: {\n control: {\n type: \"select\",\n },\n options: Object.values(ListType),\n },\n },\n args: {\n size: ListSize.MEDIUM,\n listType: ListType.NONE,\n },\n render: (args) => html`\n <z-list\n .listType=${args.listType}\n size=${args.size}\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 1</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 2</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 3</z-list-element\n >\n </z-list>\n `,\n} satisfies Meta<ZList>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZList>;\n\nexport const Default = {} satisfies Story;\n\nexport const HeaderDivider = {\n render: (args) =>\n html`<z-list>\n <z-list-group divider-type=\"header\">\n <div slot=\"header-title\">Gruppo 1</div>\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 1</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 2</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 3</z-list-element\n >\n </z-list-group>\n <z-list-group divider-type=\"header\">\n <div slot=\"header-title\">Gruppo 2</div>\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 1</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 2</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 3</z-list-element\n >\n </z-list-group>\n </z-list>`,\n} satisfies Story;\n\nexport const ElementDivider = {\n render: (args) =>\n html`<z-list>\n <z-list-group divider-type=\"element\">\n <div slot=\"header-title\">Gruppo 1</div>\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 1</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 2</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 3</z-list-element\n >\n </z-list-group>\n <z-list-group divider-type=\"element\">\n <div slot=\"header-title\">Gruppo 2</div>\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 1</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 2</z-list-element\n >\n <z-list-element\n .listType=${args.listType}\n size=${args.size}\n >Elemento 3</z-list-element\n >\n </z-list-group>\n </z-list>`,\n} satisfies Story;\n\nexport const ClickableElements = {\n render: () =>\n html`<z-list>\n <z-list-group>\n <z-list-element clickable>Elemento 1</z-list-element>\n <z-list-element clickable>Elemento 2</z-list-element>\n <z-list-element clickable>Elemento 3</z-list-element>\n </z-list-group>\n </z-list>`,\n} satisfies Story;\n\nexport const ExpandableElements = {\n render: () =>\n html`<z-list size=\"large\">\n <z-list-group divider-type=\"element\">\n <z-list-element\n expandable\n align-button=\"left\"\n expandable-style=\"accordion\"\n ><span>Elemento 1</span><span slot=\"inner-content\">INNER CONTENT 1 BUTTON LEFT</span></z-list-element\n >\n <z-list-element\n expandable\n align-button=\"right\"\n expandable-style=\"menu\"\n ><span>Elemento 2</span><span slot=\"inner-content\">INNER CONTENT 2</span></z-list-element\n >\n <z-list-element\n expandable\n align-button=\"right\"\n expandable-style=\"menu\"\n ><span>Elemento 3</span><span slot=\"inner-content\">INNER CONTENT 3</span></z-list-element\n >\n </z-list-group>\n </z-list>`,\n} satisfies Story;\n\nexport const UnorderedIndex = {\n parameters: {\n controls: {\n exclude: [\"size\", \"listType\"],\n },\n },\n args: {\n listType: ListType.UNORDERED,\n },\n} satisfies Story;\n\nexport const OrderedIndex = {\n parameters: {\n controls: {\n exclude: [\"size\", \"listType\"],\n },\n },\n args: {\n listType: ListType.ORDERED,\n },\n} satisfies Story;\n"]}
|
|
@@ -115,7 +115,7 @@ export class ZListElement {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: 'b62c211ee47f6a05a2404a5f27d44aea4c4d3067', "aria-expanded": this.expandable ? this.showInnerContent : null, onClick: this.handleClick, onFocus: () => this.ariaDescendantFocus.emit(this.listElementId), onKeyDown: this.handleKeyDown, clickable: this.clickable && !this.disabled, tabIndex: this.htmlTabindex }, h("div", { key: '33ba57474a0a13545a14e9b94b7bda1f762a11b0', class: "container", style: { color: `var(--${this.color})` }, tabindex: "-1", id: `z-list-element-id-${this.listElementId}`, part: "list-item-container" }, h("div", { key: '1cfcd978c233414902faf1d4b624aa93cf3bcc11', class: "z-list-element-container" }, this.renderExpandableButton(), this.renderContent()), this.renderExpandedContent()), this.dividerType === ListDividerType.ELEMENT && (h("z-divider", { key: 'dbe033f9d3a796cb344b640d6a02b4e923bebd2b', color: this.dividerColor, size: this.dividerSize }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "z-list-element"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -409,10 +409,10 @@ export class ZListElement {
|
|
|
409
409
|
"references": {}
|
|
410
410
|
},
|
|
411
411
|
"required": false,
|
|
412
|
-
"optional":
|
|
412
|
+
"optional": false,
|
|
413
413
|
"docs": {
|
|
414
414
|
"tags": [],
|
|
415
|
-
"text": "
|
|
415
|
+
"text": "Sets element role."
|
|
416
416
|
},
|
|
417
417
|
"attribute": "role",
|
|
418
418
|
"reflect": true,
|