@zanichelli/albe-web-components 14.5.1 → 14.5.2-rc-anchor-navigation
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/elements/args-controls.js +78 -0
- package/dist/.storybook/elements/args-controls.js.map +1 -0
- package/dist/.storybook/elements/docs-template.js +11 -0
- package/dist/.storybook/elements/docs-template.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/breakpoints-5c22092a.js.map +1 -1
- package/dist/cjs/index-19279b08.js +20 -0
- package/dist/cjs/index-19279b08.js.map +1 -0
- package/dist/cjs/index-1ebcef6a.js +46 -0
- package/dist/cjs/index-1ebcef6a.js.map +1 -0
- package/dist/cjs/index-42d4c304.js +65 -0
- package/dist/cjs/index-42d4c304.js.map +1 -0
- package/dist/cjs/index-5dc4a8de.js +2211 -0
- package/dist/cjs/index-5dc4a8de.js.map +1 -0
- package/dist/cjs/index-94f7957c.js +21 -0
- package/dist/cjs/index-94f7957c.js.map +1 -0
- package/dist/cjs/index-be1c71c6.js +59 -0
- package/dist/cjs/index-be1c71c6.js.map +1 -0
- package/dist/cjs/index-f31d0e66.js +21 -0
- package/dist/cjs/index-f31d0e66.js.map +1 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/utils-2b313a8e.js.map +1 -1
- package/dist/cjs/utils-d0b10736.js.map +1 -1
- package/dist/cjs/web-components-library.cjs.js +32 -32
- package/dist/cjs/web-components-library.cjs.js.map +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +3 -3
- package/dist/cjs/z-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +14 -9
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +40 -31
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-aria-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +3 -3
- package/dist/cjs/z-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/z-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
- package/dist/cjs/z-button-sort.cjs.entry.js.map +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js.map +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/cjs/z-cover-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +7 -7
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js.map +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/cjs/z-info-box.cjs.entry.js +2 -2
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
- package/dist/cjs/z-logo.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/cjs/z-menu-section.cjs.entry.js.map +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/z-messages-pocket.cjs.entry.js +2 -2
- package/dist/cjs/z-messages-pocket.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list.cjs.entry.js.map +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -4
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-otp.cjs.entry.js.map +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +2 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +6 -6
- package/dist/cjs/z-pocket_3.cjs.entry.js.map +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-range-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js.map +1 -1
- package/dist/cjs/z-select.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js.map +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-skip-to-content.cjs.entry.js.map +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js.map +1 -1
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/z-table.cjs.entry.js +8 -8
- package/dist/cjs/z-table.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/z-toggle-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +4 -4
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +34 -34
- package/dist/collection/components/css-components/z-fab/index.stories.js +104 -0
- package/dist/collection/components/css-components/z-fab/index.stories.js.map +1 -0
- package/dist/collection/components/css-components/z-link/index.stories.js +75 -0
- package/dist/collection/components/css-components/z-link/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/utils.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.spec.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +100 -0
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js.map +1 -0
- package/dist/collection/components/date-picker/z-range-picker/index.js +4 -4
- package/dist/collection/components/date-picker/z-range-picker/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.spec.js.map +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +110 -0
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.spec.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.spec.js.map +1 -1
- package/dist/collection/components/file-upload/z-file/index.stories.js +17 -0
- package/dist/collection/components/file-upload/z-file/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/index.js +2 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.spec.js.map +1 -1
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +95 -0
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js.map +1 -0
- package/dist/collection/components/file-upload/z-file-upload/test.e2e.js.map +1 -1
- package/dist/collection/components/index.js.map +1 -1
- package/dist/collection/components/list/z-list/index.js +4 -4
- package/dist/collection/components/list/z-list/index.js.map +1 -1
- package/dist/collection/components/list/z-list/index.spec.js.map +1 -1
- package/dist/collection/components/list/z-list/index.stories.js +185 -0
- package/dist/collection/components/list/z-list/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-element/index.js +3 -3
- package/dist/collection/components/list/z-list-element/index.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.spec.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.stories.js +128 -0
- package/dist/collection/components/list/z-list-element/index.stories.js.map +1 -0
- package/dist/collection/components/list/z-list-group/index.js +3 -3
- package/dist/collection/components/list/z-list-group/index.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.spec.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.stories.js +118 -0
- package/dist/collection/components/list/z-list-group/index.stories.js.map +1 -0
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js.map +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js.map +1 -1
- package/dist/collection/components/table/z-table/index.js +3 -3
- package/dist/collection/components/table/z-table/index.js.map +1 -1
- package/dist/collection/components/table/z-table/index.stories.js +262 -0
- package/dist/collection/components/table/z-table/index.stories.js.map +1 -0
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js.map +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js.map +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js.map +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js.map +1 -1
- package/dist/collection/components/z-accordion/index.js +2 -2
- package/dist/collection/components/z-accordion/index.js.map +1 -1
- package/dist/collection/components/z-accordion/index.stories.js +165 -0
- package/dist/collection/components/z-accordion/index.stories.js.map +1 -0
- package/dist/collection/components/z-accordion/styles.css +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +32 -9
- package/dist/collection/components/z-anchor-navigation/index.js.map +1 -1
- package/dist/collection/components/z-anchor-navigation/index.stories.js +332 -0
- package/dist/collection/components/z-anchor-navigation/index.stories.js.map +1 -0
- package/dist/collection/components/z-anchor-navigation/styles.css +22 -34
- package/dist/collection/components/z-app-header/index.js +420 -0
- package/dist/collection/components/z-app-header/index.js.map +1 -0
- package/dist/collection/components/z-app-header/index.spec.js.map +1 -0
- package/dist/collection/components/z-app-header/index.stories.js +635 -0
- package/dist/collection/components/z-app-header/index.stories.js.map +1 -0
- package/dist/collection/components/z-aria-alert/index.js +2 -2
- package/dist/collection/components/z-aria-alert/index.js.map +1 -1
- package/dist/collection/components/z-aria-alert/index.spec.js.map +1 -1
- package/dist/collection/components/z-aria-alert/index.stories.js +76 -0
- package/dist/collection/components/z-aria-alert/index.stories.js.map +1 -0
- package/dist/collection/components/z-avatar/index.js +3 -3
- package/dist/collection/components/z-avatar/index.js.map +1 -1
- package/dist/collection/components/z-avatar/index.spec.js.map +1 -1
- package/dist/collection/components/z-avatar/index.stories.js +51 -0
- package/dist/collection/components/z-avatar/index.stories.js.map +1 -0
- package/dist/collection/components/z-book-card/index.js +1 -1
- package/dist/collection/components/z-book-card/index.js.map +1 -1
- package/dist/collection/components/z-book-card/index.spec.js.map +1 -1
- package/dist/collection/components/z-book-card/index.stories.js +397 -0
- package/dist/collection/components/z-book-card/index.stories.js.map +1 -0
- package/dist/collection/components/z-breadcrumb/index.js +3 -3
- package/dist/collection/components/z-breadcrumb/index.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.spec.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/index.stories.js +68 -0
- package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -0
- package/dist/collection/components/z-button/index.js +269 -0
- package/dist/collection/components/z-button/index.js.map +1 -0
- package/dist/collection/components/z-button/index.spec.js +101 -0
- package/dist/collection/components/z-button/index.spec.js.map +1 -0
- package/dist/collection/components/z-button/index.stories.js +90 -0
- package/dist/collection/components/z-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.js +221 -0
- package/dist/collection/components/z-button-sort/index.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.spec.js.map +1 -0
- package/dist/collection/components/z-button-sort/index.stories.js +31 -0
- package/dist/collection/components/z-button-sort/index.stories.js.map +1 -0
- package/dist/collection/components/z-button-sort/test.e2e.js.map +1 -0
- package/dist/collection/components/z-card/index.js +1 -1
- package/dist/collection/components/z-card/index.js.map +1 -1
- package/dist/collection/components/z-card/index.spec.js.map +1 -1
- package/dist/collection/components/z-card/index.stories.js +292 -0
- package/dist/collection/components/z-card/index.stories.js.map +1 -0
- package/dist/collection/components/z-carousel/index.js +2 -2
- package/dist/collection/components/z-carousel/index.js.map +1 -1
- package/dist/collection/components/z-carousel/index.stories.js +129 -0
- package/dist/collection/components/z-carousel/index.stories.js.map +1 -0
- package/dist/collection/components/z-chip/index.js +148 -0
- package/dist/collection/components/z-chip/index.js.map +1 -0
- package/dist/collection/components/z-chip/index.spec.js.map +1 -0
- package/dist/collection/components/z-chip/index.stories.js +70 -0
- package/dist/collection/components/z-chip/index.stories.js.map +1 -0
- package/dist/collection/components/z-combobox/index.js +643 -0
- package/dist/collection/components/z-combobox/index.js.map +1 -0
- package/dist/collection/components/z-combobox/index.spec.js.map +1 -0
- package/dist/collection/components/z-combobox/index.stories.js +78 -0
- package/dist/collection/components/z-combobox/index.stories.js.map +1 -0
- package/dist/collection/components/z-cover-hero/index.js +4 -4
- package/dist/collection/components/z-cover-hero/index.js.map +1 -1
- package/dist/collection/components/z-cover-hero/index.stories.js +256 -0
- package/dist/collection/components/z-cover-hero/index.stories.js.map +1 -0
- package/dist/collection/components/z-divider/index.js +3 -3
- package/dist/collection/components/z-divider/index.js.map +1 -1
- package/dist/collection/components/z-divider/index.spec.js.map +1 -1
- package/dist/collection/components/z-divider/index.stories.js +45 -0
- package/dist/collection/components/z-divider/index.stories.js.map +1 -0
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js.map +1 -1
- package/dist/collection/components/z-ghost-loading/index.spec.js.map +1 -1
- package/dist/collection/components/z-ghost-loading/index.stories.js +22 -0
- package/dist/collection/components/z-ghost-loading/index.stories.js.map +1 -0
- package/dist/collection/components/z-icon/index.js +122 -0
- package/dist/collection/components/z-icon/index.js.map +1 -0
- package/dist/collection/components/z-icon/index.spec.js +96 -0
- package/dist/collection/components/z-icon/index.spec.js.map +1 -0
- package/dist/collection/components/z-icon/index.stories.js +30 -0
- package/dist/collection/components/z-icon/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-box/index.js +86 -0
- package/dist/collection/components/z-info-box/index.js.map +1 -0
- package/dist/collection/components/z-info-box/index.spec.js.map +1 -0
- package/dist/collection/components/z-info-box/index.stories.js +20 -0
- package/dist/collection/components/z-info-box/index.stories.js.map +1 -0
- package/dist/collection/components/z-info-reveal/index.js +2 -2
- package/dist/collection/components/z-info-reveal/index.js.map +1 -1
- package/dist/collection/components/z-info-reveal/index.stories.js +59 -0
- package/dist/collection/components/z-info-reveal/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/index.js +959 -0
- package/dist/collection/components/z-input/index.js.map +1 -0
- package/dist/collection/components/z-input/index.stories.js +294 -0
- package/dist/collection/components/z-input/index.stories.js.map +1 -0
- package/dist/collection/components/z-input/styles-checkbox-radio.css +123 -0
- package/dist/collection/components/z-input/styles-general.css +154 -0
- package/dist/collection/components/z-input/styles-text.css +81 -0
- package/dist/collection/components/z-input/styles-textarea.css +35 -0
- package/dist/collection/components/z-input/test-checkbox.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-methods.spec.js +13 -0
- package/dist/collection/components/z-input/test-methods.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-radio.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-text.spec.js +347 -0
- package/dist/collection/components/z-input/test-text.spec.js.map +1 -0
- package/dist/collection/components/z-input/test-textarea.spec.js.map +1 -0
- package/dist/collection/components/z-input/test.e2e.js +180 -0
- package/dist/collection/components/z-input/test.e2e.js.map +1 -0
- package/dist/collection/components/z-input-message/index.js +93 -0
- package/dist/collection/components/z-input-message/index.js.map +1 -0
- package/dist/collection/components/z-input-message/index.spec.js.map +1 -0
- package/dist/collection/components/z-input-message/index.stories.js +37 -0
- package/dist/collection/components/z-input-message/index.stories.js.map +1 -0
- package/dist/collection/components/z-logo/index.js +140 -0
- package/dist/collection/components/z-logo/index.js.map +1 -0
- package/dist/collection/components/z-logo/index.spec.js.map +1 -0
- package/dist/collection/components/z-logo/index.stories.js +26 -0
- package/dist/collection/components/z-logo/index.stories.js.map +1 -0
- package/dist/collection/components/z-logo/test.e2e.js.map +1 -0
- package/dist/collection/components/z-menu/index.js +244 -0
- package/dist/collection/components/z-menu/index.js.map +1 -0
- package/dist/collection/components/z-menu/index.spec.js.map +1 -0
- package/dist/collection/components/z-menu/index.stories.js +129 -0
- package/dist/collection/components/z-menu/index.stories.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.js +131 -0
- package/dist/collection/components/z-menu-section/index.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.spec.js.map +1 -0
- package/dist/collection/components/z-menu-section/index.stories.js +41 -0
- package/dist/collection/components/z-menu-section/index.stories.js.map +1 -0
- package/dist/collection/components/z-modal/index.js +357 -0
- package/dist/collection/components/z-modal/index.js.map +1 -0
- package/dist/collection/components/z-modal/index.spec.js.map +1 -0
- package/dist/collection/components/z-modal/index.stories.js +224 -0
- package/dist/collection/components/z-modal/index.stories.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.js +374 -0
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js +191 -0
- package/dist/collection/components/z-navigation-tabs/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/index.js +194 -0
- package/dist/collection/components/z-notification/index.js.map +1 -0
- package/dist/collection/components/z-notification/index.spec.js.map +1 -0
- package/dist/collection/components/z-notification/index.stories.js +147 -0
- package/dist/collection/components/z-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-notification/test.e2e.js.map +1 -0
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.spec.js.map +1 -1
- package/dist/collection/components/z-offcanvas/index.stories.js +196 -0
- package/dist/collection/components/z-offcanvas/index.stories.js.map +1 -0
- package/dist/collection/components/z-offcanvas/styles.css +6 -2
- package/dist/collection/components/z-pagination/index.js +1 -1
- package/dist/collection/components/z-pagination/index.js.map +1 -1
- package/dist/collection/components/z-pagination/index.spec.js.map +1 -1
- package/dist/collection/components/z-pagination/index.stories.js +100 -0
- package/dist/collection/components/z-pagination/index.stories.js.map +1 -0
- package/dist/collection/components/z-pagination/styles.css +6 -2
- package/dist/collection/components/z-panel-elem/index.js +197 -0
- package/dist/collection/components/z-panel-elem/index.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.spec.js.map +1 -0
- package/dist/collection/components/z-panel-elem/index.stories.js +26 -0
- package/dist/collection/components/z-panel-elem/index.stories.js.map +1 -0
- package/dist/collection/components/z-popover/index.js +2 -2
- package/dist/collection/components/z-popover/index.js.map +1 -1
- package/dist/collection/components/z-popover/index.stories.js +103 -0
- package/dist/collection/components/z-popover/index.stories.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.js +616 -0
- package/dist/collection/components/z-searchbar/index.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.spec.js.map +1 -0
- package/dist/collection/components/z-searchbar/index.stories.js +198 -0
- package/dist/collection/components/z-searchbar/index.stories.js.map +1 -0
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js.map +1 -1
- package/dist/collection/components/z-section-title/index.spec.js +1 -1
- package/dist/collection/components/z-section-title/index.spec.js.map +1 -1
- package/dist/collection/components/z-section-title/index.stories.js +53 -0
- package/dist/collection/components/z-section-title/index.stories.js.map +1 -0
- package/dist/collection/components/z-select/index.js +778 -0
- package/dist/collection/components/z-select/index.js.map +1 -0
- package/dist/collection/components/z-select/index.spec.js.map +1 -0
- package/dist/collection/components/z-select/index.stories.js +187 -0
- package/dist/collection/components/z-select/index.stories.js.map +1 -0
- package/dist/collection/components/z-skip-to-content/index.js +3 -3
- package/dist/collection/components/z-skip-to-content/index.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.spec.js.map +1 -1
- package/dist/collection/components/z-skip-to-content/index.stories.js +41 -0
- package/dist/collection/components/z-skip-to-content/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper/index.js +22 -0
- package/dist/collection/components/z-stepper/index.js.map +1 -0
- package/dist/collection/components/z-stepper/index.spec.js.map +1 -0
- package/dist/collection/components/z-stepper/index.stories.js +38 -0
- package/dist/collection/components/z-stepper/index.stories.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.js +122 -0
- package/dist/collection/components/z-stepper-item/index.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.spec.js.map +1 -0
- package/dist/collection/components/z-stepper-item/index.stories.js +34 -0
- package/dist/collection/components/z-stepper-item/index.stories.js.map +1 -0
- package/dist/collection/components/z-tag/index.js +4 -4
- package/dist/collection/components/z-tag/index.js.map +1 -1
- package/dist/collection/components/z-tag/index.spec.js.map +1 -1
- package/dist/collection/components/z-tag/index.stories.js +60 -0
- package/dist/collection/components/z-tag/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.js +406 -0
- package/dist/collection/components/z-toast-notification/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.spec.js.map +1 -0
- package/dist/collection/components/z-toast-notification/index.stories.js +89 -0
- package/dist/collection/components/z-toast-notification/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.js +107 -0
- package/dist/collection/components/z-toast-notification-list/index.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.spec.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js +124 -0
- package/dist/collection/components/z-toast-notification-list/index.stories.js.map +1 -0
- package/dist/collection/components/z-toast-notification-list/test.e2e.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.js +146 -0
- package/dist/collection/components/z-toggle-button/index.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.spec.js.map +1 -0
- package/dist/collection/components/z-toggle-button/index.stories.js +23 -0
- package/dist/collection/components/z-toggle-button/index.stories.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.js +147 -0
- package/dist/collection/components/z-toggle-switch/index.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.spec.js.map +1 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js +27 -0
- package/dist/collection/components/z-toggle-switch/index.stories.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.js +151 -0
- package/dist/collection/components/z-tooltip/index.js.map +1 -0
- package/dist/collection/components/z-tooltip/index.stories.js +123 -0
- package/dist/collection/components/z-tooltip/index.stories.js.map +1 -0
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js.map +1 -1
- package/dist/collection/components/z-visually-hidden/index.spec.js.map +1 -1
- package/dist/collection/components/z-visually-hidden/index.stories.js +28 -0
- package/dist/collection/components/z-visually-hidden/index.stories.js.map +1 -0
- package/dist/collection/constants/breakpoints.js +1 -1
- package/dist/collection/constants/breakpoints.js.map +1 -1
- package/dist/collection/constants/icons.js.map +1 -1
- package/dist/collection/constants/iconset.js +873 -0
- package/dist/collection/constants/iconset.js.map +1 -0
- package/dist/collection/index.js +2 -2
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +72 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +24 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +24 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +128 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +6 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +28 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +9 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +16 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +22 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +22 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +18 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +14 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +18 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +28 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.stories.js +47 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.stories.js +51 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.stories.js +43 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +9 -3
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +2 -2
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.stories.js +15 -0
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.stories.js +36 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.stories.js +30 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-otp/index.stories.js +32 -0
- package/dist/collection/snowflakes/myz/z-otp/test.e2e.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.spec.js.map +1 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +16 -0
- package/dist/collection/utils/storybook-utils.js +52 -11
- package/dist/collection/utils/storybook-utils.js.map +1 -1
- package/dist/collection/utils/utils.js +14 -1
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/collection/utils/utils.spec.js.map +1 -1
- package/dist/components/breakpoints.js.map +1 -1
- package/dist/components/iconset.js +876 -0
- package/dist/components/iconset.js.map +1 -0
- package/dist/components/index.d.ts +25 -25
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +15 -6
- package/dist/components/index10.js.map +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index13.js.map +1 -1
- package/dist/components/index14.js +2 -2
- package/dist/components/index14.js.map +1 -1
- package/dist/components/index15.js +4 -4
- package/dist/components/index15.js.map +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index20.js.map +1 -1
- package/dist/components/index21.js +2 -2
- package/dist/components/index21.js.map +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index22.js.map +1 -1
- package/dist/components/index23.js +2 -2
- package/dist/components/index23.js.map +1 -1
- package/dist/components/index24.js +2 -2
- package/dist/components/index24.js.map +1 -1
- package/dist/components/index25.js +1 -1
- package/dist/components/index25.js.map +1 -1
- package/dist/components/index26.js +1 -1
- package/dist/components/index26.js.map +1 -1
- package/dist/components/index27.js +2 -2
- package/dist/components/index27.js.map +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index4.js.map +1 -1
- package/dist/components/index5.js +2 -2
- package/dist/components/index5.js.map +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index6.js.map +1 -1
- package/dist/components/index7.js +2 -2
- package/dist/components/index7.js.map +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index9.js +2 -2
- package/dist/components/index9.js.map +1 -1
- package/dist/components/utils.js.map +1 -1
- package/dist/components/utils2.js.map +1 -1
- package/dist/components/z-accordion.js +2 -2
- package/dist/components/z-accordion.js.map +1 -1
- package/dist/components/z-anchor-navigation.js +14 -8
- package/dist/components/z-anchor-navigation.js.map +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-app-header.js.map +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-aria-alert.js.map +1 -1
- package/dist/components/z-avatar.js +2 -2
- package/dist/components/z-avatar.js.map +1 -1
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +2 -2
- package/dist/components/z-breadcrumb.js.map +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-button-sort.js.map +1 -1
- package/dist/components/z-card.js.map +1 -1
- package/dist/components/z-carousel.js.map +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-cover-hero.js.map +1 -1
- package/dist/components/z-date-picker.js +1 -1
- package/dist/components/z-date-picker.js.map +1 -1
- package/dist/components/z-file-upload.js +1 -1
- package/dist/components/z-file-upload.js.map +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-file.js.map +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-box.js.map +1 -1
- package/dist/components/z-info-reveal.js +1 -1
- package/dist/components/z-info-reveal.js.map +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-logo.js.map +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-menu-section.js.map +1 -1
- package/dist/components/z-menu.js +1 -1
- package/dist/components/z-menu.js.map +1 -1
- package/dist/components/z-messages-pocket.js +1 -1
- package/dist/components/z-messages-pocket.js.map +1 -1
- package/dist/components/z-myz-card-alert.js +1 -1
- package/dist/components/z-myz-card-alert.js.map +1 -1
- package/dist/components/z-myz-card-dictionary.js +2 -2
- package/dist/components/z-myz-card-dictionary.js.map +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +2 -2
- package/dist/components/z-myz-card-footer.js.map +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +1 -1
- package/dist/components/z-myz-card-info.js.map +1 -1
- package/dist/components/z-myz-card-list.js +1 -1
- package/dist/components/z-myz-list.js +1 -1
- package/dist/components/z-myz-list.js.map +1 -1
- package/dist/components/z-navigation-tabs.js +3 -3
- package/dist/components/z-navigation-tabs.js.map +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-notification.js.map +1 -1
- package/dist/components/z-otp.js +2 -2
- package/dist/components/z-otp.js.map +1 -1
- package/dist/components/z-pagination.js +1 -1
- package/dist/components/z-pagination.js.map +1 -1
- package/dist/components/z-panel-elem.js +2 -2
- package/dist/components/z-panel-elem.js.map +1 -1
- package/dist/components/z-pocket-message.js +1 -1
- package/dist/components/z-range-picker.js +3 -3
- package/dist/components/z-range-picker.js.map +1 -1
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-section-title.js.map +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-select.js.map +1 -1
- package/dist/components/z-skip-to-content.js +2 -2
- package/dist/components/z-skip-to-content.js.map +1 -1
- package/dist/components/z-slideshow.js.map +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper-item.js.map +1 -1
- package/dist/components/z-stepper.js +1 -1
- package/dist/components/z-stepper.js.map +1 -1
- package/dist/components/z-table.js +2 -2
- package/dist/components/z-table.js.map +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-td.js.map +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-th.js.map +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification-list.js.map +1 -1
- package/dist/components/z-toast-notification.js +1 -1
- package/dist/components/z-toast-notification.js.map +1 -1
- package/dist/components/z-toggle-button.js +2 -2
- package/dist/components/z-toggle-button.js.map +1 -1
- package/dist/components/z-toggle-switch.js +4 -4
- package/dist/components/z-toggle-switch.js.map +1 -1
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tooltip.js.map +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tr.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/docs/grid/index.stories.js +47 -0
- package/dist/docs/grid/index.stories.js.map +1 -0
- package/dist/docs/iconset/index.stories.js +32 -0
- package/dist/docs/iconset/index.stories.js.map +1 -0
- package/dist/docs/themes/index.stories.js +87 -0
- package/dist/docs/themes/index.stories.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/breakpoints-680e0e56.js.map +1 -1
- package/dist/esm/index-2f0ea8a1.js +57 -0
- package/dist/esm/index-2f0ea8a1.js.map +1 -0
- package/dist/esm/index-41ee4016.js +18 -0
- package/dist/esm/index-41ee4016.js.map +1 -0
- package/dist/esm/index-ab5f1eaa.js +2181 -0
- package/dist/esm/index-ab5f1eaa.js.map +1 -0
- package/dist/esm/index-cfde9cec.js +19 -0
- package/dist/esm/index-cfde9cec.js.map +1 -0
- package/dist/esm/index-db930fad.js +63 -0
- package/dist/esm/index-db930fad.js.map +1 -0
- package/dist/esm/index-e194f4a7.js +44 -0
- package/dist/esm/index-e194f4a7.js.map +1 -0
- package/dist/esm/index-ea49e441.js +19 -0
- package/dist/esm/index-ea49e441.js.map +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +6 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/utils-7983d02c.js.map +1 -1
- package/dist/esm/utils-cd008fbc.js.map +1 -1
- package/dist/esm/web-components-library.js +33 -33
- package/dist/esm/web-components-library.js.map +1 -1
- package/dist/esm/z-accordion.entry.js +3 -3
- package/dist/esm/z-accordion.entry.js.map +1 -1
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-anchor-navigation.entry.js +14 -9
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
- package/dist/esm/z-app-header_12.entry.js +40 -31
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +2 -2
- package/dist/esm/z-aria-alert.entry.js.map +1 -1
- package/dist/esm/z-avatar.entry.js +3 -3
- package/dist/esm/z-avatar.entry.js.map +1 -1
- package/dist/esm/z-book-card.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +3 -3
- package/dist/esm/z-breadcrumb.entry.js.map +1 -1
- package/dist/esm/z-button-sort.entry.js +2 -2
- package/dist/esm/z-button-sort.entry.js.map +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-card.entry.js.map +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js.map +1 -1
- package/dist/esm/z-chip.entry.js +3 -3
- package/dist/esm/z-chip.entry.js.map +1 -1
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js.map +1 -1
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-cover-hero.entry.js.map +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-date-picker.entry.js.map +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +7 -7
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file-upload.entry.js.map +1 -1
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-file.entry.js.map +1 -1
- package/dist/esm/z-ghost-loading.entry.js +2 -2
- package/dist/esm/z-info-box.entry.js +2 -2
- package/dist/esm/z-info-box.entry.js.map +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-info-reveal.entry.js.map +1 -1
- package/dist/esm/z-logo.entry.js +2 -2
- package/dist/esm/z-logo.entry.js.map +1 -1
- package/dist/esm/z-menu-section.entry.js +2 -2
- package/dist/esm/z-menu-section.entry.js.map +1 -1
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-menu.entry.js.map +1 -1
- package/dist/esm/z-messages-pocket.entry.js +2 -2
- package/dist/esm/z-messages-pocket.entry.js.map +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +2 -2
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
- package/dist/esm/z-myz-card-dictionary.entry.js.map +1 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +3 -3
- package/dist/esm/z-myz-card-footer.entry.js.map +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js.map +1 -1
- package/dist/esm/z-myz-card-list.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-list-item.entry.js.map +1 -1
- package/dist/esm/z-myz-list.entry.js +2 -2
- package/dist/esm/z-myz-list.entry.js.map +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +4 -4
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/z-notification.entry.js +2 -2
- package/dist/esm/z-notification.entry.js.map +1 -1
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-otp.entry.js.map +1 -1
- package/dist/esm/z-pagination.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js.map +1 -1
- package/dist/esm/z-panel-elem.entry.js +3 -3
- package/dist/esm/z-panel-elem.entry.js.map +1 -1
- package/dist/esm/z-pocket-message.entry.js +2 -2
- package/dist/esm/z-pocket_3.entry.js +6 -6
- package/dist/esm/z-pocket_3.entry.js.map +1 -1
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-popover.entry.js.map +1 -1
- package/dist/esm/z-range-picker.entry.js +4 -4
- package/dist/esm/z-range-picker.entry.js.map +1 -1
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js.map +1 -1
- package/dist/esm/z-select.entry.js +2 -2
- package/dist/esm/z-select.entry.js.map +1 -1
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-skip-to-content.entry.js.map +1 -1
- package/dist/esm/z-slideshow.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js.map +1 -1
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js.map +1 -1
- package/dist/esm/z-stepper.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js.map +1 -1
- package/dist/esm/z-table.entry.js +8 -8
- package/dist/esm/z-table.entry.js.map +1 -1
- package/dist/esm/z-tbody.entry.js +2 -2
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +2 -2
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js.map +1 -1
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js.map +1 -1
- package/dist/esm/z-toggle-button.entry.js +3 -3
- package/dist/esm/z-toggle-button.entry.js.map +1 -1
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-toggle-switch.entry.js.map +1 -1
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js.map +1 -1
- package/dist/esm/z-tr.entry.js +4 -4
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/components/css-components/z-fab/index.stories.d.ts +63 -0
- package/dist/types/components/css-components/z-link/index.stories.d.ts +46 -0
- package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +33 -0
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +1 -1
- package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +51 -0
- package/dist/types/components/file-upload/z-file/index.stories.d.ts +14 -0
- package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +42 -0
- package/dist/types/components/list/z-list/index.d.ts +2 -2
- package/dist/types/components/list/z-list/index.stories.d.ts +62 -0
- package/dist/types/components/list/z-list-element/index.d.ts +2 -2
- package/dist/types/components/list/z-list-element/index.stories.d.ts +77 -0
- package/dist/types/components/list/z-list-group/index.d.ts +1 -1
- package/dist/types/components/list/z-list-group/index.stories.d.ts +46 -0
- package/dist/types/components/table/z-table/index.d.ts +2 -2
- package/dist/types/components/table/z-table/index.stories.d.ts +82 -0
- package/dist/types/components/z-accordion/index.d.ts +1 -1
- package/dist/types/components/z-accordion/index.stories.d.ts +142 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +12 -4
- package/dist/types/components/z-anchor-navigation/index.stories.d.ts +32 -0
- package/dist/types/components/z-app-header/index.d.ts +149 -0
- package/dist/types/components/z-app-header/index.stories.d.ts +118 -0
- package/dist/types/components/z-aria-alert/index.stories.d.ts +26 -0
- package/dist/types/components/z-avatar/index.stories.d.ts +42 -0
- package/dist/types/components/z-book-card/index.stories.d.ts +115 -0
- package/dist/types/components/z-breadcrumb/index.stories.d.ts +52 -0
- package/dist/types/components/z-button/index.d.ts +31 -0
- package/dist/types/components/z-button/index.stories.d.ts +66 -0
- package/dist/types/components/z-button-sort/index.d.ts +28 -0
- package/dist/types/components/z-button-sort/index.stories.d.ts +22 -0
- package/dist/types/components/z-card/index.stories.d.ts +70 -0
- package/dist/types/components/z-carousel/index.stories.d.ts +100 -0
- package/dist/types/components/z-chip/index.d.ts +18 -0
- package/dist/types/components/z-chip/index.stories.d.ts +46 -0
- package/dist/types/components/z-combobox/index.d.ts +84 -0
- package/dist/types/components/z-combobox/index.stories.d.ts +58 -0
- package/dist/types/components/z-cover-hero/index.d.ts +1 -1
- package/dist/types/components/z-cover-hero/index.stories.d.ts +113 -0
- package/dist/types/components/z-divider/index.d.ts +1 -1
- package/dist/types/components/z-divider/index.stories.d.ts +37 -0
- package/dist/types/components/z-ghost-loading/index.stories.d.ts +9 -0
- package/dist/types/components/z-icon/index.stories.d.ts +23 -0
- package/dist/types/components/z-info-box/index.d.ts +14 -0
- package/dist/types/components/z-info-box/index.stories.d.ts +12 -0
- package/dist/types/components/z-info-reveal/index.stories.d.ts +42 -0
- package/dist/types/components/z-input/index.d.ts +110 -0
- package/dist/types/components/z-input/index.stories.d.ts +126 -0
- package/dist/types/components/z-input-message/index.d.ts +12 -0
- package/dist/types/components/z-input-message/index.stories.d.ts +33 -0
- package/dist/types/components/z-logo/index.stories.d.ts +18 -0
- package/dist/types/components/z-menu/index.d.ts +61 -0
- package/dist/types/components/z-menu/index.stories.d.ts +27 -0
- package/dist/types/components/z-menu-section/index.d.ts +31 -0
- package/dist/types/components/z-menu-section/index.stories.d.ts +16 -0
- package/dist/types/components/z-modal/index.d.ts +49 -0
- package/dist/types/components/z-modal/index.stories.d.ts +39 -0
- package/dist/types/components/z-navigation-tabs/index.d.ts +114 -0
- package/dist/types/components/z-navigation-tabs/index.stories.d.ts +78 -0
- package/dist/types/components/z-notification/index.d.ts +32 -0
- package/dist/types/components/z-notification/index.stories.d.ts +61 -0
- package/dist/types/components/z-offcanvas/index.stories.d.ts +49 -0
- package/dist/types/components/z-pagination/index.stories.d.ts +40 -0
- package/dist/types/components/z-panel-elem/index.stories.d.ts +18 -0
- package/dist/types/components/z-popover/index.stories.d.ts +40 -0
- package/dist/types/components/z-searchbar/index.d.ts +80 -0
- package/dist/types/components/z-searchbar/index.stories.d.ts +94 -0
- package/dist/types/components/z-section-title/index.stories.d.ts +37 -0
- package/dist/types/components/z-select/index.d.ts +84 -0
- package/dist/types/components/z-select/index.stories.d.ts +60 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +1 -1
- package/dist/types/components/z-skip-to-content/index.stories.d.ts +31 -0
- package/dist/types/components/z-stepper/index.d.ts +6 -0
- package/dist/types/components/z-stepper/index.stories.d.ts +16 -0
- package/dist/types/components/z-stepper-item/index.stories.d.ts +21 -0
- package/dist/types/components/z-tag/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.stories.d.ts +35 -0
- package/dist/types/components/z-toast-notification/index.d.ts +56 -0
- package/dist/types/components/z-toast-notification/index.stories.d.ts +58 -0
- package/dist/types/components/z-toast-notification-list/index.d.ts +14 -0
- package/dist/types/components/z-toast-notification-list/index.stories.d.ts +81 -0
- package/dist/types/components/z-toggle-button/index.d.ts +17 -0
- package/dist/types/components/z-toggle-button/index.stories.d.ts +16 -0
- package/dist/types/components/z-toggle-switch/index.d.ts +17 -0
- package/dist/types/components/z-toggle-switch/index.stories.d.ts +22 -0
- package/dist/types/components/z-tooltip/index.d.ts +32 -0
- package/dist/types/components/z-tooltip/index.stories.d.ts +40 -0
- package/dist/types/components/z-visually-hidden/index.stories.d.ts +9 -0
- package/dist/types/components.d.ts +30 -22
- package/dist/types/constants/breakpoints.d.ts +1 -1
- package/dist/types/constants/iconset.d.ts +1577 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/args-controls.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/.storybook/elements/docs-template.d.ts +5 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/grid/index.stories.d.ts +9 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/iconset/index.stories.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +27 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/dist/types/utils/storybook-utils.d.ts +38 -8
- package/dist/types/utils/utils.d.ts +5 -0
- package/dist/web-components-library/index.esm.js.map +1 -1
- package/dist/web-components-library/p-025f494e.js.map +1 -1
- package/dist/web-components-library/p-060725ef.entry.js +2 -0
- package/dist/web-components-library/p-060725ef.entry.js.map +1 -0
- package/dist/web-components-library/p-0c2fdbe5.entry.js +2 -0
- package/dist/web-components-library/p-0c2fdbe5.entry.js.map +1 -0
- package/dist/web-components-library/p-17d072c7.entry.js +2 -0
- package/dist/web-components-library/p-17d072c7.entry.js.map +1 -0
- package/dist/web-components-library/p-1c5d8cac.js +2 -0
- package/dist/web-components-library/p-1c5d8cac.js.map +1 -0
- package/dist/web-components-library/p-2010d544.entry.js +2 -0
- package/dist/web-components-library/p-2010d544.entry.js.map +1 -0
- package/dist/web-components-library/p-2395b965.entry.js +2 -0
- package/dist/web-components-library/p-2395b965.entry.js.map +1 -0
- package/dist/web-components-library/p-25a85aec.js +2 -0
- package/dist/web-components-library/p-25a85aec.js.map +1 -0
- package/dist/web-components-library/p-2c886e8b.js.map +1 -1
- package/dist/web-components-library/p-2ed68ac5.entry.js +2 -0
- package/dist/web-components-library/p-2ed68ac5.entry.js.map +1 -0
- package/dist/web-components-library/p-36189235.entry.js +2 -0
- package/dist/web-components-library/p-36189235.entry.js.map +1 -0
- package/dist/web-components-library/p-37f05eab.entry.js +2 -0
- package/dist/web-components-library/p-37f05eab.entry.js.map +1 -0
- package/dist/web-components-library/p-39aeb320.entry.js +2 -0
- package/dist/web-components-library/p-39aeb320.entry.js.map +1 -0
- package/dist/web-components-library/p-4170f99b.entry.js +2 -0
- package/dist/web-components-library/p-4170f99b.entry.js.map +1 -0
- package/dist/web-components-library/p-493c652a.entry.js +2 -0
- package/dist/web-components-library/p-493c652a.entry.js.map +1 -0
- package/dist/web-components-library/p-49a35cf0.js.map +1 -1
- package/dist/web-components-library/p-4c70b69e.entry.js +2 -0
- package/dist/web-components-library/p-4c70b69e.entry.js.map +1 -0
- package/dist/web-components-library/p-54b0b04e.js.map +1 -1
- package/dist/web-components-library/p-5a2fddef.entry.js +2 -0
- package/dist/web-components-library/p-5a2fddef.entry.js.map +1 -0
- package/dist/web-components-library/p-5cf2fb58.js +2 -0
- package/dist/web-components-library/p-5cf2fb58.js.map +1 -0
- package/dist/web-components-library/p-5e734fd3.entry.js +2 -0
- package/dist/web-components-library/p-5e734fd3.entry.js.map +1 -0
- package/dist/web-components-library/p-5e9b3793.entry.js +2 -0
- package/dist/web-components-library/p-5e9b3793.entry.js.map +1 -0
- package/dist/web-components-library/p-62598750.entry.js +2 -0
- package/dist/web-components-library/p-62598750.entry.js.map +1 -0
- package/dist/web-components-library/p-67d49495.entry.js +2 -0
- package/dist/web-components-library/p-67d49495.entry.js.map +1 -0
- package/dist/web-components-library/p-680ee955.entry.js +2 -0
- package/dist/web-components-library/p-680ee955.entry.js.map +1 -0
- package/dist/web-components-library/p-70914d67.entry.js +2 -0
- package/dist/web-components-library/p-70914d67.entry.js.map +1 -0
- package/dist/web-components-library/p-737293b2.js +2 -0
- package/dist/web-components-library/p-737293b2.js.map +1 -0
- package/dist/web-components-library/p-7cba8558.entry.js +2 -0
- package/dist/web-components-library/p-7cba8558.entry.js.map +1 -0
- package/dist/web-components-library/p-7ce64686.entry.js +2 -0
- package/dist/web-components-library/p-7ce64686.entry.js.map +1 -0
- package/dist/web-components-library/p-7da88300.entry.js +2 -0
- package/dist/web-components-library/p-7da88300.entry.js.map +1 -0
- package/dist/web-components-library/p-810433b1.entry.js +2 -0
- package/dist/web-components-library/p-810433b1.entry.js.map +1 -0
- package/dist/web-components-library/p-8164f039.entry.js +2 -0
- package/dist/web-components-library/p-8164f039.entry.js.map +1 -0
- package/dist/web-components-library/p-82b845c3.entry.js +2 -0
- package/dist/web-components-library/p-82b845c3.entry.js.map +1 -0
- package/dist/web-components-library/p-82e3760c.entry.js +2 -0
- package/dist/web-components-library/p-82e3760c.entry.js.map +1 -0
- package/dist/web-components-library/p-85930223.entry.js +2 -0
- package/dist/web-components-library/p-85930223.entry.js.map +1 -0
- package/dist/web-components-library/p-89c1d12d.entry.js +2 -0
- package/dist/web-components-library/p-89c1d12d.entry.js.map +1 -0
- package/dist/web-components-library/p-8cedb801.entry.js +2 -0
- package/dist/web-components-library/p-8cedb801.entry.js.map +1 -0
- package/dist/web-components-library/p-93d39e70.entry.js +2 -0
- package/dist/web-components-library/p-93d39e70.entry.js.map +1 -0
- package/dist/web-components-library/p-955da62e.js.map +1 -1
- package/dist/web-components-library/p-965094e0.entry.js +2 -0
- package/dist/web-components-library/p-965094e0.entry.js.map +1 -0
- package/dist/web-components-library/p-96584abb.entry.js +2 -0
- package/dist/web-components-library/p-96584abb.entry.js.map +1 -0
- package/dist/web-components-library/p-9c50d9cc.entry.js +2 -0
- package/dist/web-components-library/p-9c50d9cc.entry.js.map +1 -0
- package/dist/web-components-library/p-9dc8cdd2.entry.js +17 -0
- package/dist/web-components-library/p-9dc8cdd2.entry.js.map +1 -0
- package/dist/web-components-library/p-9dd4a4a5.entry.js +2 -0
- package/dist/web-components-library/p-9dd4a4a5.entry.js.map +1 -0
- package/dist/web-components-library/p-a0893037.entry.js +2 -0
- package/dist/web-components-library/p-a0893037.entry.js.map +1 -0
- package/dist/web-components-library/p-a11e1d48.entry.js +2 -0
- package/dist/web-components-library/p-a11e1d48.entry.js.map +1 -0
- package/dist/web-components-library/p-a789b863.entry.js +2 -0
- package/dist/web-components-library/p-a789b863.entry.js.map +1 -0
- package/dist/web-components-library/p-a8265231.entry.js +2 -0
- package/dist/web-components-library/p-a8265231.entry.js.map +1 -0
- package/dist/web-components-library/p-b064878a.entry.js +2 -0
- package/dist/web-components-library/p-b064878a.entry.js.map +1 -0
- package/dist/web-components-library/p-b6d2f646.entry.js +2 -0
- package/dist/web-components-library/p-b6d2f646.entry.js.map +1 -0
- package/dist/web-components-library/p-b72193fc.entry.js +2 -0
- package/dist/web-components-library/p-b72193fc.entry.js.map +1 -0
- package/dist/web-components-library/p-b741a768.entry.js +2 -0
- package/dist/web-components-library/p-b741a768.entry.js.map +1 -0
- package/dist/web-components-library/p-b9078348.js +2 -0
- package/dist/web-components-library/p-b9078348.js.map +1 -0
- package/dist/web-components-library/p-bc552513.entry.js +2 -0
- package/dist/web-components-library/p-bc552513.entry.js.map +1 -0
- package/dist/web-components-library/p-bf7c05a8.entry.js +2 -0
- package/dist/web-components-library/p-bf7c05a8.entry.js.map +1 -0
- package/dist/web-components-library/p-bfb58cca.entry.js +2 -0
- package/dist/web-components-library/p-bfb58cca.entry.js.map +1 -0
- package/dist/web-components-library/p-c5127319.entry.js +2 -0
- package/dist/web-components-library/p-c5127319.entry.js.map +1 -0
- package/dist/web-components-library/p-cc3c02fe.js +3 -0
- package/dist/web-components-library/p-cc3c02fe.js.map +1 -0
- package/dist/web-components-library/p-d22d5fcb.entry.js +2 -0
- package/dist/web-components-library/p-d22d5fcb.entry.js.map +1 -0
- package/dist/web-components-library/p-d594caea.entry.js +2 -0
- package/dist/web-components-library/p-d594caea.entry.js.map +1 -0
- package/dist/web-components-library/p-d73386ae.entry.js +2 -0
- package/dist/web-components-library/p-d73386ae.entry.js.map +1 -0
- package/dist/web-components-library/p-d8413391.entry.js +2 -0
- package/dist/web-components-library/p-d8413391.entry.js.map +1 -0
- package/dist/web-components-library/p-dde9f76d.entry.js +2 -0
- package/dist/web-components-library/p-dde9f76d.entry.js.map +1 -0
- package/dist/web-components-library/p-e1255160.js +2 -0
- package/dist/web-components-library/p-e1255160.js.map +1 -0
- package/dist/web-components-library/p-e43b10db.entry.js +2 -0
- package/dist/web-components-library/p-e43b10db.entry.js.map +1 -0
- package/dist/web-components-library/p-eac17dfe.entry.js +2 -0
- package/dist/web-components-library/p-eac17dfe.entry.js.map +1 -0
- package/dist/web-components-library/p-ee290d4c.entry.js +2 -0
- package/dist/web-components-library/p-ee290d4c.entry.js.map +1 -0
- package/dist/web-components-library/p-f12d9a47.entry.js +2 -0
- package/dist/web-components-library/p-f12d9a47.entry.js.map +1 -0
- package/dist/web-components-library/p-f393de28.entry.js +2 -0
- package/dist/web-components-library/p-f393de28.entry.js.map +1 -0
- package/dist/web-components-library/p-f625d532.entry.js +2 -0
- package/dist/web-components-library/p-f625d532.entry.js.map +1 -0
- package/dist/web-components-library/p-f6b886ab.entry.js +2 -0
- package/dist/web-components-library/p-f6b886ab.entry.js.map +1 -0
- package/dist/web-components-library/p-f7180c65.entry.js +2 -0
- package/dist/web-components-library/p-f7180c65.entry.js.map +1 -0
- package/dist/web-components-library/p-f978d22d.entry.js +2 -0
- package/dist/web-components-library/p-f978d22d.entry.js.map +1 -0
- package/dist/web-components-library/p-fbad70dd.entry.js +2 -0
- package/dist/web-components-library/p-fbad70dd.entry.js.map +1 -0
- package/dist/web-components-library/p-fdd176e2.entry.js +2 -0
- package/dist/web-components-library/p-fdd176e2.entry.js.map +1 -0
- package/dist/web-components-library/p-feca4075.js +2 -0
- package/dist/web-components-library/p-feca4075.js.map +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/dist/web-components-library/web-components-library.esm.js.map +1 -1
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +37 -34
- package/react/components.js +80 -80
- package/react/components.js.map +1 -1
- package/react/index.js +5 -1
- package/react/index.js.map +1 -1
- package/react/react-component-lib/createComponent.d.ts +1 -1
- package/react/react-component-lib/createComponent.js +12 -8
- package/react/react-component-lib/createComponent.js.map +1 -1
- package/react/react-component-lib/createOverlayComponent.js +6 -6
- package/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/react/react-component-lib/utils/attachProps.d.ts +1 -1
- package/react/react-component-lib/utils/attachProps.js +5 -5
- package/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/react/react-component-lib/utils/dev.js +1 -1
- package/react/react-component-lib/utils/dev.js.map +1 -1
- package/react/react-component-lib/utils/index.d.ts +3 -3
- package/react/react-component-lib/utils/index.js +6 -2
- package/react/react-component-lib/utils/index.js.map +1 -1
- package/readme.md +8 -7
- package/www/build/index.esm.js.map +1 -1
- package/www/build/p-025f494e.js.map +1 -1
- package/www/build/p-060725ef.entry.js +2 -0
- package/www/build/p-060725ef.entry.js.map +1 -0
- package/www/build/p-0c2fdbe5.entry.js +2 -0
- package/www/build/p-0c2fdbe5.entry.js.map +1 -0
- package/www/build/p-17d072c7.entry.js +2 -0
- package/www/build/p-17d072c7.entry.js.map +1 -0
- package/www/build/p-1c5d8cac.js +2 -0
- package/www/build/p-1c5d8cac.js.map +1 -0
- package/www/build/p-2010d544.entry.js +2 -0
- package/www/build/p-2010d544.entry.js.map +1 -0
- package/www/build/p-2395b965.entry.js +2 -0
- package/www/build/p-2395b965.entry.js.map +1 -0
- package/www/build/p-25a85aec.js +2 -0
- package/www/build/p-25a85aec.js.map +1 -0
- package/www/build/p-2c886e8b.js.map +1 -1
- package/www/build/p-2ed68ac5.entry.js +2 -0
- package/www/build/p-2ed68ac5.entry.js.map +1 -0
- package/www/build/p-36189235.entry.js +2 -0
- package/www/build/p-36189235.entry.js.map +1 -0
- package/www/build/p-37f05eab.entry.js +2 -0
- package/www/build/p-37f05eab.entry.js.map +1 -0
- package/www/build/p-39aeb320.entry.js +2 -0
- package/www/build/p-39aeb320.entry.js.map +1 -0
- package/www/build/p-4170f99b.entry.js +2 -0
- package/www/build/p-4170f99b.entry.js.map +1 -0
- package/www/build/p-493c652a.entry.js +2 -0
- package/www/build/p-493c652a.entry.js.map +1 -0
- package/www/build/p-49a35cf0.js.map +1 -1
- package/www/build/p-4c70b69e.entry.js +2 -0
- package/www/build/p-4c70b69e.entry.js.map +1 -0
- package/www/build/p-54b0b04e.js.map +1 -1
- package/www/build/p-5a2fddef.entry.js +2 -0
- package/www/build/p-5a2fddef.entry.js.map +1 -0
- package/www/build/p-5cf2fb58.js +2 -0
- package/www/build/p-5cf2fb58.js.map +1 -0
- package/www/build/p-5e734fd3.entry.js +2 -0
- package/www/build/p-5e734fd3.entry.js.map +1 -0
- package/www/build/p-5e9b3793.entry.js +2 -0
- package/www/build/p-5e9b3793.entry.js.map +1 -0
- package/www/build/p-62598750.entry.js +2 -0
- package/www/build/p-62598750.entry.js.map +1 -0
- package/www/build/p-67d49495.entry.js +2 -0
- package/www/build/p-67d49495.entry.js.map +1 -0
- package/www/build/p-680ee955.entry.js +2 -0
- package/www/build/p-680ee955.entry.js.map +1 -0
- package/www/build/p-70914d67.entry.js +2 -0
- package/www/build/p-70914d67.entry.js.map +1 -0
- package/www/build/p-737293b2.js +2 -0
- package/www/build/p-737293b2.js.map +1 -0
- package/www/build/p-7cba8558.entry.js +2 -0
- package/www/build/p-7cba8558.entry.js.map +1 -0
- package/www/build/p-7ce64686.entry.js +2 -0
- package/www/build/p-7ce64686.entry.js.map +1 -0
- package/www/build/p-7da88300.entry.js +2 -0
- package/www/build/p-7da88300.entry.js.map +1 -0
- package/www/build/p-810433b1.entry.js +2 -0
- package/www/build/p-810433b1.entry.js.map +1 -0
- package/www/build/p-8164f039.entry.js +2 -0
- package/www/build/p-8164f039.entry.js.map +1 -0
- package/www/build/p-82b845c3.entry.js +2 -0
- package/www/build/p-82b845c3.entry.js.map +1 -0
- package/www/build/p-82e3760c.entry.js +2 -0
- package/www/build/p-82e3760c.entry.js.map +1 -0
- package/www/build/p-85930223.entry.js +2 -0
- package/www/build/p-85930223.entry.js.map +1 -0
- package/www/build/p-89c1d12d.entry.js +2 -0
- package/www/build/p-89c1d12d.entry.js.map +1 -0
- package/www/build/p-8cedb801.entry.js +2 -0
- package/www/build/p-8cedb801.entry.js.map +1 -0
- package/www/build/p-93d39e70.entry.js +2 -0
- package/www/build/p-93d39e70.entry.js.map +1 -0
- package/www/build/p-955da62e.js.map +1 -1
- package/www/build/p-965094e0.entry.js +2 -0
- package/www/build/p-965094e0.entry.js.map +1 -0
- package/www/build/p-96584abb.entry.js +2 -0
- package/www/build/p-96584abb.entry.js.map +1 -0
- package/www/build/p-9c50d9cc.entry.js +2 -0
- package/www/build/p-9c50d9cc.entry.js.map +1 -0
- package/www/build/p-9dc8cdd2.entry.js +17 -0
- package/www/build/p-9dc8cdd2.entry.js.map +1 -0
- package/www/build/p-9dd4a4a5.entry.js +2 -0
- package/www/build/p-9dd4a4a5.entry.js.map +1 -0
- package/www/build/p-a0893037.entry.js +2 -0
- package/www/build/p-a0893037.entry.js.map +1 -0
- package/www/build/p-a11e1d48.entry.js +2 -0
- package/www/build/p-a11e1d48.entry.js.map +1 -0
- package/www/build/p-a789b863.entry.js +2 -0
- package/www/build/p-a789b863.entry.js.map +1 -0
- package/www/build/p-a8265231.entry.js +2 -0
- package/www/build/p-a8265231.entry.js.map +1 -0
- package/www/build/p-b064878a.entry.js +2 -0
- package/www/build/p-b064878a.entry.js.map +1 -0
- package/www/build/p-b6d2f646.entry.js +2 -0
- package/www/build/p-b6d2f646.entry.js.map +1 -0
- package/www/build/p-b72193fc.entry.js +2 -0
- package/www/build/p-b72193fc.entry.js.map +1 -0
- package/www/build/p-b741a768.entry.js +2 -0
- package/www/build/p-b741a768.entry.js.map +1 -0
- package/www/build/p-b9078348.js +2 -0
- package/www/build/p-b9078348.js.map +1 -0
- package/www/build/p-bc552513.entry.js +2 -0
- package/www/build/p-bc552513.entry.js.map +1 -0
- package/www/build/p-bf7c05a8.entry.js +2 -0
- package/www/build/p-bf7c05a8.entry.js.map +1 -0
- package/www/build/p-bfb58cca.entry.js +2 -0
- package/www/build/p-bfb58cca.entry.js.map +1 -0
- package/www/build/p-c5127319.entry.js +2 -0
- package/www/build/p-c5127319.entry.js.map +1 -0
- package/www/build/p-cc3c02fe.js +3 -0
- package/www/build/p-cc3c02fe.js.map +1 -0
- package/www/build/p-d22d5fcb.entry.js +2 -0
- package/www/build/p-d22d5fcb.entry.js.map +1 -0
- package/www/build/p-d594caea.entry.js +2 -0
- package/www/build/p-d594caea.entry.js.map +1 -0
- package/www/build/p-d73386ae.entry.js +2 -0
- package/www/build/p-d73386ae.entry.js.map +1 -0
- package/www/build/p-d8413391.entry.js +2 -0
- package/www/build/p-d8413391.entry.js.map +1 -0
- package/www/build/p-d97a3b56.js +2 -0
- package/www/build/p-dde9f76d.entry.js +2 -0
- package/www/build/p-dde9f76d.entry.js.map +1 -0
- package/www/build/p-e1255160.js +2 -0
- package/www/build/p-e1255160.js.map +1 -0
- package/www/build/p-e43b10db.entry.js +2 -0
- package/www/build/p-e43b10db.entry.js.map +1 -0
- package/www/build/p-eac17dfe.entry.js +2 -0
- package/www/build/p-eac17dfe.entry.js.map +1 -0
- package/www/build/p-ee290d4c.entry.js +2 -0
- package/www/build/p-ee290d4c.entry.js.map +1 -0
- package/www/build/p-f12d9a47.entry.js +2 -0
- package/www/build/p-f12d9a47.entry.js.map +1 -0
- package/www/build/p-f393de28.entry.js +2 -0
- package/www/build/p-f393de28.entry.js.map +1 -0
- package/www/build/p-f625d532.entry.js +2 -0
- package/www/build/p-f625d532.entry.js.map +1 -0
- package/www/build/p-f6b886ab.entry.js +2 -0
- package/www/build/p-f6b886ab.entry.js.map +1 -0
- package/www/build/p-f7180c65.entry.js +2 -0
- package/www/build/p-f7180c65.entry.js.map +1 -0
- package/www/build/p-f978d22d.entry.js +2 -0
- package/www/build/p-f978d22d.entry.js.map +1 -0
- package/www/build/p-fbad70dd.entry.js +2 -0
- package/www/build/p-fbad70dd.entry.js.map +1 -0
- package/www/build/p-fdd176e2.entry.js +2 -0
- package/www/build/p-fdd176e2.entry.js.map +1 -0
- package/www/build/p-feca4075.js +2 -0
- package/www/build/p-feca4075.js.map +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.esm.js.map +1 -1
- package/www/index.html +1 -1
- package/www/pages/book-cards.html +1 -1
- package/www/pages/file-upload.html +1 -1
- package/www/pages/notification.html +1 -1
- package/dist/cjs/index-178a9413.js +0 -20
- package/dist/cjs/index-178a9413.js.map +0 -1
- package/dist/cjs/index-3836ecee.js +0 -46
- package/dist/cjs/index-3836ecee.js.map +0 -1
- package/dist/cjs/index-79559e1d.js +0 -21
- package/dist/cjs/index-79559e1d.js.map +0 -1
- package/dist/cjs/index-7c62141b.js +0 -59
- package/dist/cjs/index-7c62141b.js.map +0 -1
- package/dist/cjs/index-8eae84b7.js +0 -21
- package/dist/cjs/index-8eae84b7.js.map +0 -1
- package/dist/cjs/index-dc60bee7.js +0 -3140
- package/dist/cjs/index-dc60bee7.js.map +0 -1
- package/dist/cjs/index-e5ff8fd3.js +0 -65
- package/dist/cjs/index-e5ff8fd3.js.map +0 -1
- package/dist/collection/components/buttons/z-button/index.js +0 -268
- package/dist/collection/components/buttons/z-button/index.js.map +0 -1
- package/dist/collection/components/buttons/z-button/index.spec.js +0 -101
- package/dist/collection/components/buttons/z-button/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-button-sort/index.js +0 -221
- package/dist/collection/components/buttons/z-button-sort/index.js.map +0 -1
- package/dist/collection/components/buttons/z-button-sort/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-button-sort/test.e2e.js.map +0 -1
- package/dist/collection/components/buttons/z-chip/index.js +0 -148
- package/dist/collection/components/buttons/z-chip/index.js.map +0 -1
- package/dist/collection/components/buttons/z-chip/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-button/index.js +0 -146
- package/dist/collection/components/buttons/z-toggle-button/index.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-button/index.spec.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -147
- package/dist/collection/components/buttons/z-toggle-switch/index.js.map +0 -1
- package/dist/collection/components/buttons/z-toggle-switch/index.spec.js.map +0 -1
- package/dist/collection/components/icons/icons.js +0 -873
- package/dist/collection/components/icons/icons.js.map +0 -1
- package/dist/collection/components/icons/z-icon/index.js +0 -122
- package/dist/collection/components/icons/z-icon/index.js.map +0 -1
- package/dist/collection/components/icons/z-icon/index.spec.js +0 -96
- package/dist/collection/components/icons/z-icon/index.spec.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper/index.js +0 -22
- package/dist/collection/components/indicators/z-stepper/index.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper/index.spec.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper-item/index.js +0 -122
- package/dist/collection/components/indicators/z-stepper-item/index.js.map +0 -1
- package/dist/collection/components/indicators/z-stepper-item/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-combobox/index.js +0 -643
- package/dist/collection/components/inputs/z-combobox/index.js.map +0 -1
- package/dist/collection/components/inputs/z-combobox/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/index.js +0 -957
- package/dist/collection/components/inputs/z-input/index.js.map +0 -1
- package/dist/collection/components/inputs/z-input/styles.css +0 -397
- package/dist/collection/components/inputs/z-input/test-checkbox.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-methods.spec.js +0 -13
- package/dist/collection/components/inputs/z-input/test-methods.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-radio.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-text.spec.js +0 -347
- package/dist/collection/components/inputs/z-input/test-text.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test-textarea.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-input/test.e2e.js +0 -180
- package/dist/collection/components/inputs/z-input/test.e2e.js.map +0 -1
- package/dist/collection/components/inputs/z-input-message/index.js +0 -93
- package/dist/collection/components/inputs/z-input-message/index.js.map +0 -1
- package/dist/collection/components/inputs/z-input-message/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-searchbar/index.js +0 -616
- package/dist/collection/components/inputs/z-searchbar/index.js.map +0 -1
- package/dist/collection/components/inputs/z-searchbar/index.spec.js.map +0 -1
- package/dist/collection/components/inputs/z-select/index.js +0 -778
- package/dist/collection/components/inputs/z-select/index.js.map +0 -1
- package/dist/collection/components/inputs/z-select/index.spec.js.map +0 -1
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -107
- package/dist/collection/components/list/z-toast-notification-list/index.js.map +0 -1
- package/dist/collection/components/list/z-toast-notification-list/index.spec.js.map +0 -1
- package/dist/collection/components/list/z-toast-notification-list/test.e2e.js.map +0 -1
- package/dist/collection/components/logo/z-logo/index.js +0 -140
- package/dist/collection/components/logo/z-logo/index.js.map +0 -1
- package/dist/collection/components/logo/z-logo/index.spec.js.map +0 -1
- package/dist/collection/components/logo/z-logo/test.e2e.js.map +0 -1
- package/dist/collection/components/modal/z-modal/index.js +0 -357
- package/dist/collection/components/modal/z-modal/index.js.map +0 -1
- package/dist/collection/components/modal/z-modal/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-app-header/index.js +0 -420
- package/dist/collection/components/navigation/z-app-header/index.js.map +0 -1
- package/dist/collection/components/navigation/z-app-header/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-app-header/index.stories.js +0 -393
- package/dist/collection/components/navigation/z-menu/index.js +0 -244
- package/dist/collection/components/navigation/z-menu/index.js.map +0 -1
- package/dist/collection/components/navigation/z-menu/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-menu-section/index.js +0 -131
- package/dist/collection/components/navigation/z-menu-section/index.js.map +0 -1
- package/dist/collection/components/navigation/z-menu-section/index.spec.js.map +0 -1
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -373
- package/dist/collection/components/navigation/z-navigation-tabs/index.js.map +0 -1
- package/dist/collection/components/navigation/z-navigation-tabs/index.stories.js +0 -12
- package/dist/collection/components/notification/z-info-box/index.js +0 -86
- package/dist/collection/components/notification/z-info-box/index.js.map +0 -1
- package/dist/collection/components/notification/z-info-box/index.spec.js.map +0 -1
- package/dist/collection/components/notification/z-notification/index.js +0 -194
- package/dist/collection/components/notification/z-notification/index.js.map +0 -1
- package/dist/collection/components/notification/z-notification/index.spec.js.map +0 -1
- package/dist/collection/components/notification/z-notification/test.e2e.js.map +0 -1
- package/dist/collection/components/notification/z-toast-notification/index.js +0 -406
- package/dist/collection/components/notification/z-toast-notification/index.js.map +0 -1
- package/dist/collection/components/notification/z-toast-notification/index.spec.js.map +0 -1
- package/dist/collection/components/notification/z-tooltip/index.js +0 -151
- package/dist/collection/components/notification/z-tooltip/index.js.map +0 -1
- package/dist/collection/components/panel/z-panel-elem/index.js +0 -197
- package/dist/collection/components/panel/z-panel-elem/index.js.map +0 -1
- package/dist/collection/components/panel/z-panel-elem/index.spec.js.map +0 -1
- package/dist/components/icons.js +0 -876
- package/dist/components/icons.js.map +0 -1
- package/dist/esm/index-076dde65.js +0 -18
- package/dist/esm/index-076dde65.js.map +0 -1
- package/dist/esm/index-14aee9cb.js +0 -57
- package/dist/esm/index-14aee9cb.js.map +0 -1
- package/dist/esm/index-2d440333.js +0 -19
- package/dist/esm/index-2d440333.js.map +0 -1
- package/dist/esm/index-2ee978fb.js +0 -19
- package/dist/esm/index-2ee978fb.js.map +0 -1
- package/dist/esm/index-8db8e65f.js +0 -63
- package/dist/esm/index-8db8e65f.js.map +0 -1
- package/dist/esm/index-a3d19e3a.js +0 -44
- package/dist/esm/index-a3d19e3a.js.map +0 -1
- package/dist/esm/index-f16bc2ca.js +0 -3110
- package/dist/esm/index-f16bc2ca.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/components/buttons/z-button/index.d.ts +0 -31
- package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -28
- package/dist/types/components/buttons/z-chip/index.d.ts +0 -18
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -17
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -17
- package/dist/types/components/icons/icons.d.ts +0 -1577
- package/dist/types/components/indicators/z-stepper/index.d.ts +0 -6
- package/dist/types/components/inputs/z-combobox/index.d.ts +0 -84
- package/dist/types/components/inputs/z-input/index.d.ts +0 -110
- package/dist/types/components/inputs/z-input-message/index.d.ts +0 -12
- package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -80
- package/dist/types/components/inputs/z-select/index.d.ts +0 -84
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -14
- package/dist/types/components/modal/z-modal/index.d.ts +0 -49
- package/dist/types/components/navigation/z-app-header/index.d.ts +0 -149
- package/dist/types/components/navigation/z-menu/index.d.ts +0 -61
- package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -31
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -114
- package/dist/types/components/notification/z-info-box/index.d.ts +0 -14
- package/dist/types/components/notification/z-notification/index.d.ts +0 -32
- package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -56
- package/dist/types/components/notification/z-tooltip/index.d.ts +0 -32
- package/dist/web-components-library/p-05849d8d.entry.js +0 -2
- package/dist/web-components-library/p-05849d8d.entry.js.map +0 -1
- package/dist/web-components-library/p-10589629.entry.js +0 -2
- package/dist/web-components-library/p-10589629.entry.js.map +0 -1
- package/dist/web-components-library/p-10bb4f4b.js +0 -3
- package/dist/web-components-library/p-10bb4f4b.js.map +0 -1
- package/dist/web-components-library/p-118241ec.entry.js +0 -2
- package/dist/web-components-library/p-118241ec.entry.js.map +0 -1
- package/dist/web-components-library/p-11b26c59.entry.js +0 -2
- package/dist/web-components-library/p-11b26c59.entry.js.map +0 -1
- package/dist/web-components-library/p-12d181f4.entry.js +0 -2
- package/dist/web-components-library/p-12d181f4.entry.js.map +0 -1
- package/dist/web-components-library/p-13e18838.entry.js +0 -2
- package/dist/web-components-library/p-13e18838.entry.js.map +0 -1
- package/dist/web-components-library/p-1b870733.entry.js +0 -2
- package/dist/web-components-library/p-1b870733.entry.js.map +0 -1
- package/dist/web-components-library/p-217291fe.entry.js +0 -2
- package/dist/web-components-library/p-217291fe.entry.js.map +0 -1
- package/dist/web-components-library/p-27b0663c.entry.js +0 -2
- package/dist/web-components-library/p-27b0663c.entry.js.map +0 -1
- package/dist/web-components-library/p-2c05849f.entry.js +0 -2
- package/dist/web-components-library/p-2c05849f.entry.js.map +0 -1
- package/dist/web-components-library/p-2c1cbcf2.entry.js +0 -2
- package/dist/web-components-library/p-2c1cbcf2.entry.js.map +0 -1
- package/dist/web-components-library/p-2df79d5c.entry.js +0 -2
- package/dist/web-components-library/p-2df79d5c.entry.js.map +0 -1
- package/dist/web-components-library/p-2ebf9e17.js +0 -2
- package/dist/web-components-library/p-2ebf9e17.js.map +0 -1
- package/dist/web-components-library/p-2f2f460a.entry.js +0 -2
- package/dist/web-components-library/p-2f2f460a.entry.js.map +0 -1
- package/dist/web-components-library/p-3092c82f.entry.js +0 -2
- package/dist/web-components-library/p-3092c82f.entry.js.map +0 -1
- package/dist/web-components-library/p-3ba8b8e1.entry.js +0 -2
- package/dist/web-components-library/p-3ba8b8e1.entry.js.map +0 -1
- package/dist/web-components-library/p-3bae6330.entry.js +0 -2
- package/dist/web-components-library/p-3bae6330.entry.js.map +0 -1
- package/dist/web-components-library/p-410ec9a2.entry.js +0 -2
- package/dist/web-components-library/p-410ec9a2.entry.js.map +0 -1
- package/dist/web-components-library/p-414c9659.entry.js +0 -2
- package/dist/web-components-library/p-414c9659.entry.js.map +0 -1
- package/dist/web-components-library/p-4574595b.entry.js +0 -2
- package/dist/web-components-library/p-4574595b.entry.js.map +0 -1
- package/dist/web-components-library/p-45d7e54e.entry.js +0 -2
- package/dist/web-components-library/p-45d7e54e.entry.js.map +0 -1
- package/dist/web-components-library/p-48c16e8f.js +0 -2
- package/dist/web-components-library/p-48c16e8f.js.map +0 -1
- package/dist/web-components-library/p-4bc0818d.js +0 -2
- package/dist/web-components-library/p-4bc0818d.js.map +0 -1
- package/dist/web-components-library/p-4d2be9e5.entry.js +0 -2
- package/dist/web-components-library/p-4d2be9e5.entry.js.map +0 -1
- package/dist/web-components-library/p-4d2e328d.entry.js +0 -2
- package/dist/web-components-library/p-4d2e328d.entry.js.map +0 -1
- package/dist/web-components-library/p-4dd8d4e8.entry.js +0 -2
- package/dist/web-components-library/p-4dd8d4e8.entry.js.map +0 -1
- package/dist/web-components-library/p-5441ba83.entry.js +0 -2
- package/dist/web-components-library/p-5441ba83.entry.js.map +0 -1
- package/dist/web-components-library/p-54681ece.entry.js +0 -2
- package/dist/web-components-library/p-54681ece.entry.js.map +0 -1
- package/dist/web-components-library/p-5c50cc2d.entry.js +0 -2
- package/dist/web-components-library/p-5c50cc2d.entry.js.map +0 -1
- package/dist/web-components-library/p-6398da61.js +0 -2
- package/dist/web-components-library/p-6398da61.js.map +0 -1
- package/dist/web-components-library/p-64683cca.entry.js +0 -2
- package/dist/web-components-library/p-64683cca.entry.js.map +0 -1
- package/dist/web-components-library/p-6e8b7c93.entry.js +0 -2
- package/dist/web-components-library/p-6e8b7c93.entry.js.map +0 -1
- package/dist/web-components-library/p-6f023899.entry.js +0 -2
- package/dist/web-components-library/p-6f023899.entry.js.map +0 -1
- package/dist/web-components-library/p-7441b8f8.entry.js +0 -2
- package/dist/web-components-library/p-7441b8f8.entry.js.map +0 -1
- package/dist/web-components-library/p-74b2b9a0.entry.js +0 -2
- package/dist/web-components-library/p-74b2b9a0.entry.js.map +0 -1
- package/dist/web-components-library/p-771a4c2f.entry.js +0 -2
- package/dist/web-components-library/p-771a4c2f.entry.js.map +0 -1
- package/dist/web-components-library/p-7e442c5f.entry.js +0 -2
- package/dist/web-components-library/p-7e442c5f.entry.js.map +0 -1
- package/dist/web-components-library/p-7ef963d4.js +0 -2
- package/dist/web-components-library/p-7ef963d4.js.map +0 -1
- package/dist/web-components-library/p-a2b43ed1.entry.js +0 -2
- package/dist/web-components-library/p-a2b43ed1.entry.js.map +0 -1
- package/dist/web-components-library/p-a402854c.entry.js +0 -2
- package/dist/web-components-library/p-a402854c.entry.js.map +0 -1
- package/dist/web-components-library/p-a6fcefe7.entry.js +0 -2
- package/dist/web-components-library/p-a6fcefe7.entry.js.map +0 -1
- package/dist/web-components-library/p-b0ef19c7.js +0 -2
- package/dist/web-components-library/p-b0ef19c7.js.map +0 -1
- package/dist/web-components-library/p-b4ad044a.entry.js +0 -2
- package/dist/web-components-library/p-b4ad044a.entry.js.map +0 -1
- package/dist/web-components-library/p-b53e9a21.entry.js +0 -2
- package/dist/web-components-library/p-b53e9a21.entry.js.map +0 -1
- package/dist/web-components-library/p-b67887e7.entry.js +0 -2
- package/dist/web-components-library/p-b67887e7.entry.js.map +0 -1
- package/dist/web-components-library/p-b93c49a8.entry.js +0 -2
- package/dist/web-components-library/p-b93c49a8.entry.js.map +0 -1
- package/dist/web-components-library/p-b94b71b8.entry.js +0 -2
- package/dist/web-components-library/p-b94b71b8.entry.js.map +0 -1
- package/dist/web-components-library/p-c19aca30.entry.js +0 -2
- package/dist/web-components-library/p-c19aca30.entry.js.map +0 -1
- package/dist/web-components-library/p-c49ca2a9.entry.js +0 -2
- package/dist/web-components-library/p-c49ca2a9.entry.js.map +0 -1
- package/dist/web-components-library/p-c4e40901.entry.js +0 -2
- package/dist/web-components-library/p-c4e40901.entry.js.map +0 -1
- package/dist/web-components-library/p-d02bc360.entry.js +0 -2
- package/dist/web-components-library/p-d02bc360.entry.js.map +0 -1
- package/dist/web-components-library/p-d8c631d6.entry.js +0 -2
- package/dist/web-components-library/p-d8c631d6.entry.js.map +0 -1
- package/dist/web-components-library/p-d973f170.entry.js +0 -2
- package/dist/web-components-library/p-d973f170.entry.js.map +0 -1
- package/dist/web-components-library/p-d9f3ae73.entry.js +0 -2
- package/dist/web-components-library/p-d9f3ae73.entry.js.map +0 -1
- package/dist/web-components-library/p-dcd73f91.entry.js +0 -2
- package/dist/web-components-library/p-dcd73f91.entry.js.map +0 -1
- package/dist/web-components-library/p-dde6c887.entry.js +0 -2
- package/dist/web-components-library/p-dde6c887.entry.js.map +0 -1
- package/dist/web-components-library/p-e1b99a10.entry.js +0 -2
- package/dist/web-components-library/p-e1b99a10.entry.js.map +0 -1
- package/dist/web-components-library/p-e338f042.entry.js +0 -2
- package/dist/web-components-library/p-e338f042.entry.js.map +0 -1
- package/dist/web-components-library/p-e75ca94d.entry.js +0 -2
- package/dist/web-components-library/p-e75ca94d.entry.js.map +0 -1
- package/dist/web-components-library/p-ed1a5ee3.entry.js +0 -2
- package/dist/web-components-library/p-ed1a5ee3.entry.js.map +0 -1
- package/dist/web-components-library/p-ed65d0d2.entry.js +0 -2
- package/dist/web-components-library/p-ed65d0d2.entry.js.map +0 -1
- package/dist/web-components-library/p-edb8975a.entry.js +0 -2
- package/dist/web-components-library/p-edb8975a.entry.js.map +0 -1
- package/dist/web-components-library/p-ee03249d.entry.js +0 -2
- package/dist/web-components-library/p-ee03249d.entry.js.map +0 -1
- package/dist/web-components-library/p-ef43ca85.entry.js +0 -2
- package/dist/web-components-library/p-ef43ca85.entry.js.map +0 -1
- package/dist/web-components-library/p-f41da106.entry.js +0 -2
- package/dist/web-components-library/p-f41da106.entry.js.map +0 -1
- package/dist/web-components-library/p-f48575f1.entry.js +0 -2
- package/dist/web-components-library/p-f48575f1.entry.js.map +0 -1
- package/dist/web-components-library/p-f9edfd67.entry.js +0 -2
- package/dist/web-components-library/p-f9edfd67.entry.js.map +0 -1
- package/dist/web-components-library/p-fc4bd856.entry.js +0 -17
- package/dist/web-components-library/p-fc4bd856.entry.js.map +0 -1
- package/dist/web-components-library/p-feaee92d.entry.js +0 -2
- package/dist/web-components-library/p-feaee92d.entry.js.map +0 -1
- package/www/build/p-05849d8d.entry.js +0 -2
- package/www/build/p-05849d8d.entry.js.map +0 -1
- package/www/build/p-10589629.entry.js +0 -2
- package/www/build/p-10589629.entry.js.map +0 -1
- package/www/build/p-10bb4f4b.js +0 -3
- package/www/build/p-10bb4f4b.js.map +0 -1
- package/www/build/p-118241ec.entry.js +0 -2
- package/www/build/p-118241ec.entry.js.map +0 -1
- package/www/build/p-11b26c59.entry.js +0 -2
- package/www/build/p-11b26c59.entry.js.map +0 -1
- package/www/build/p-12d181f4.entry.js +0 -2
- package/www/build/p-12d181f4.entry.js.map +0 -1
- package/www/build/p-13e18838.entry.js +0 -2
- package/www/build/p-13e18838.entry.js.map +0 -1
- package/www/build/p-1b870733.entry.js +0 -2
- package/www/build/p-1b870733.entry.js.map +0 -1
- package/www/build/p-217291fe.entry.js +0 -2
- package/www/build/p-217291fe.entry.js.map +0 -1
- package/www/build/p-27b0663c.entry.js +0 -2
- package/www/build/p-27b0663c.entry.js.map +0 -1
- package/www/build/p-2c05849f.entry.js +0 -2
- package/www/build/p-2c05849f.entry.js.map +0 -1
- package/www/build/p-2c1cbcf2.entry.js +0 -2
- package/www/build/p-2c1cbcf2.entry.js.map +0 -1
- package/www/build/p-2df79d5c.entry.js +0 -2
- package/www/build/p-2df79d5c.entry.js.map +0 -1
- package/www/build/p-2ebf9e17.js +0 -2
- package/www/build/p-2ebf9e17.js.map +0 -1
- package/www/build/p-2f2f460a.entry.js +0 -2
- package/www/build/p-2f2f460a.entry.js.map +0 -1
- package/www/build/p-304150c5.js +0 -2
- package/www/build/p-3092c82f.entry.js +0 -2
- package/www/build/p-3092c82f.entry.js.map +0 -1
- package/www/build/p-3ba8b8e1.entry.js +0 -2
- package/www/build/p-3ba8b8e1.entry.js.map +0 -1
- package/www/build/p-3bae6330.entry.js +0 -2
- package/www/build/p-3bae6330.entry.js.map +0 -1
- package/www/build/p-410ec9a2.entry.js +0 -2
- package/www/build/p-410ec9a2.entry.js.map +0 -1
- package/www/build/p-414c9659.entry.js +0 -2
- package/www/build/p-414c9659.entry.js.map +0 -1
- package/www/build/p-4574595b.entry.js +0 -2
- package/www/build/p-4574595b.entry.js.map +0 -1
- package/www/build/p-45d7e54e.entry.js +0 -2
- package/www/build/p-45d7e54e.entry.js.map +0 -1
- package/www/build/p-48c16e8f.js +0 -2
- package/www/build/p-48c16e8f.js.map +0 -1
- package/www/build/p-4bc0818d.js +0 -2
- package/www/build/p-4bc0818d.js.map +0 -1
- package/www/build/p-4d2be9e5.entry.js +0 -2
- package/www/build/p-4d2be9e5.entry.js.map +0 -1
- package/www/build/p-4d2e328d.entry.js +0 -2
- package/www/build/p-4d2e328d.entry.js.map +0 -1
- package/www/build/p-4dd8d4e8.entry.js +0 -2
- package/www/build/p-4dd8d4e8.entry.js.map +0 -1
- package/www/build/p-5441ba83.entry.js +0 -2
- package/www/build/p-5441ba83.entry.js.map +0 -1
- package/www/build/p-54681ece.entry.js +0 -2
- package/www/build/p-54681ece.entry.js.map +0 -1
- package/www/build/p-5c50cc2d.entry.js +0 -2
- package/www/build/p-5c50cc2d.entry.js.map +0 -1
- package/www/build/p-6398da61.js +0 -2
- package/www/build/p-6398da61.js.map +0 -1
- package/www/build/p-64683cca.entry.js +0 -2
- package/www/build/p-64683cca.entry.js.map +0 -1
- package/www/build/p-6e8b7c93.entry.js +0 -2
- package/www/build/p-6e8b7c93.entry.js.map +0 -1
- package/www/build/p-6f023899.entry.js +0 -2
- package/www/build/p-6f023899.entry.js.map +0 -1
- package/www/build/p-7441b8f8.entry.js +0 -2
- package/www/build/p-7441b8f8.entry.js.map +0 -1
- package/www/build/p-74b2b9a0.entry.js +0 -2
- package/www/build/p-74b2b9a0.entry.js.map +0 -1
- package/www/build/p-771a4c2f.entry.js +0 -2
- package/www/build/p-771a4c2f.entry.js.map +0 -1
- package/www/build/p-7e442c5f.entry.js +0 -2
- package/www/build/p-7e442c5f.entry.js.map +0 -1
- package/www/build/p-7ef963d4.js +0 -2
- package/www/build/p-7ef963d4.js.map +0 -1
- package/www/build/p-a2b43ed1.entry.js +0 -2
- package/www/build/p-a2b43ed1.entry.js.map +0 -1
- package/www/build/p-a402854c.entry.js +0 -2
- package/www/build/p-a402854c.entry.js.map +0 -1
- package/www/build/p-a6fcefe7.entry.js +0 -2
- package/www/build/p-a6fcefe7.entry.js.map +0 -1
- package/www/build/p-b0ef19c7.js +0 -2
- package/www/build/p-b0ef19c7.js.map +0 -1
- package/www/build/p-b4ad044a.entry.js +0 -2
- package/www/build/p-b4ad044a.entry.js.map +0 -1
- package/www/build/p-b53e9a21.entry.js +0 -2
- package/www/build/p-b53e9a21.entry.js.map +0 -1
- package/www/build/p-b67887e7.entry.js +0 -2
- package/www/build/p-b67887e7.entry.js.map +0 -1
- package/www/build/p-b93c49a8.entry.js +0 -2
- package/www/build/p-b93c49a8.entry.js.map +0 -1
- package/www/build/p-b94b71b8.entry.js +0 -2
- package/www/build/p-b94b71b8.entry.js.map +0 -1
- package/www/build/p-c19aca30.entry.js +0 -2
- package/www/build/p-c19aca30.entry.js.map +0 -1
- package/www/build/p-c49ca2a9.entry.js +0 -2
- package/www/build/p-c49ca2a9.entry.js.map +0 -1
- package/www/build/p-c4e40901.entry.js +0 -2
- package/www/build/p-c4e40901.entry.js.map +0 -1
- package/www/build/p-d02bc360.entry.js +0 -2
- package/www/build/p-d02bc360.entry.js.map +0 -1
- package/www/build/p-d8c631d6.entry.js +0 -2
- package/www/build/p-d8c631d6.entry.js.map +0 -1
- package/www/build/p-d973f170.entry.js +0 -2
- package/www/build/p-d973f170.entry.js.map +0 -1
- package/www/build/p-d9f3ae73.entry.js +0 -2
- package/www/build/p-d9f3ae73.entry.js.map +0 -1
- package/www/build/p-dcd73f91.entry.js +0 -2
- package/www/build/p-dcd73f91.entry.js.map +0 -1
- package/www/build/p-dde6c887.entry.js +0 -2
- package/www/build/p-dde6c887.entry.js.map +0 -1
- package/www/build/p-e1b99a10.entry.js +0 -2
- package/www/build/p-e1b99a10.entry.js.map +0 -1
- package/www/build/p-e338f042.entry.js +0 -2
- package/www/build/p-e338f042.entry.js.map +0 -1
- package/www/build/p-e75ca94d.entry.js +0 -2
- package/www/build/p-e75ca94d.entry.js.map +0 -1
- package/www/build/p-ed1a5ee3.entry.js +0 -2
- package/www/build/p-ed1a5ee3.entry.js.map +0 -1
- package/www/build/p-ed65d0d2.entry.js +0 -2
- package/www/build/p-ed65d0d2.entry.js.map +0 -1
- package/www/build/p-edb8975a.entry.js +0 -2
- package/www/build/p-edb8975a.entry.js.map +0 -1
- package/www/build/p-ee03249d.entry.js +0 -2
- package/www/build/p-ee03249d.entry.js.map +0 -1
- package/www/build/p-ef43ca85.entry.js +0 -2
- package/www/build/p-ef43ca85.entry.js.map +0 -1
- package/www/build/p-f41da106.entry.js +0 -2
- package/www/build/p-f41da106.entry.js.map +0 -1
- package/www/build/p-f48575f1.entry.js +0 -2
- package/www/build/p-f48575f1.entry.js.map +0 -1
- package/www/build/p-f9edfd67.entry.js +0 -2
- package/www/build/p-f9edfd67.entry.js.map +0 -1
- package/www/build/p-fc4bd856.entry.js +0 -17
- package/www/build/p-fc4bd856.entry.js.map +0 -1
- package/www/build/p-feaee92d.entry.js +0 -2
- package/www/build/p-feaee92d.entry.js.map +0 -1
- /package/dist/collection/components/{navigation/z-app-header → z-app-header}/index.spec.js +0 -0
- /package/dist/collection/components/{navigation/z-app-header → z-app-header}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-button → z-button}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-button-sort → z-button-sort}/test.e2e.js +0 -0
- /package/dist/collection/components/{buttons/z-chip → z-chip}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-chip → z-chip}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-combobox → z-combobox}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-combobox → z-combobox}/styles.css +0 -0
- /package/dist/collection/components/{icons/z-icon → z-icon}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-info-box → z-info-box}/index.spec.js +0 -0
- /package/dist/collection/components/{notification/z-info-box → z-info-box}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-input → z-input}/test-checkbox.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input → z-input}/test-radio.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input → z-input}/test-textarea.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input-message → z-input-message}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-input-message → z-input-message}/styles.css +0 -0
- /package/dist/collection/components/{logo/z-logo → z-logo}/index.spec.js +0 -0
- /package/dist/collection/components/{logo/z-logo → z-logo}/styles.css +0 -0
- /package/dist/collection/components/{logo/z-logo → z-logo}/test.e2e.js +0 -0
- /package/dist/collection/components/{navigation/z-menu → z-menu}/index.spec.js +0 -0
- /package/dist/collection/components/{navigation/z-menu → z-menu}/styles.css +0 -0
- /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/index.spec.js +0 -0
- /package/dist/collection/components/{navigation/z-menu-section → z-menu-section}/styles.css +0 -0
- /package/dist/collection/components/{modal/z-modal → z-modal}/index.spec.js +0 -0
- /package/dist/collection/components/{modal/z-modal → z-modal}/styles.css +0 -0
- /package/dist/collection/components/{navigation/z-navigation-tabs → z-navigation-tabs}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-notification → z-notification}/index.spec.js +0 -0
- /package/dist/collection/components/{notification/z-notification → z-notification}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-notification → z-notification}/test.e2e.js +0 -0
- /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/index.spec.js +0 -0
- /package/dist/collection/components/{panel/z-panel-elem → z-panel-elem}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-searchbar → z-searchbar}/styles.css +0 -0
- /package/dist/collection/components/{inputs/z-select → z-select}/index.spec.js +0 -0
- /package/dist/collection/components/{inputs/z-select → z-select}/styles.css +0 -0
- /package/dist/collection/components/{indicators/z-stepper → z-stepper}/index.spec.js +0 -0
- /package/dist/collection/components/{indicators/z-stepper → z-stepper}/styles.css +0 -0
- /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/index.spec.js +0 -0
- /package/dist/collection/components/{indicators/z-stepper-item → z-stepper-item}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/index.spec.js +0 -0
- /package/dist/collection/components/{notification/z-toast-notification → z-toast-notification}/styles.css +0 -0
- /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/index.spec.js +0 -0
- /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/styles.css +0 -0
- /package/dist/collection/components/{list/z-toast-notification-list → z-toast-notification-list}/test.e2e.js +0 -0
- /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-toggle-button → z-toggle-button}/styles.css +0 -0
- /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/index.spec.js +0 -0
- /package/dist/collection/components/{buttons/z-toggle-switch → z-toggle-switch}/styles.css +0 -0
- /package/dist/collection/components/{notification/z-tooltip → z-tooltip}/styles.css +0 -0
- /package/dist/types/components/{icons/z-icon → z-icon}/index.d.ts +0 -0
- /package/dist/types/components/{logo/z-logo → z-logo}/index.d.ts +0 -0
- /package/dist/types/components/{panel/z-panel-elem → z-panel-elem}/index.d.ts +0 -0
- /package/dist/types/components/{indicators/z-stepper-item → z-stepper-item}/index.d.ts +0 -0
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot `descrSlotName` - description content
|
|
4
|
+
*/
|
|
5
|
+
export class ZPanelElem {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.elemid = undefined;
|
|
8
|
+
this.imgurl = undefined;
|
|
9
|
+
this.imgalt = undefined;
|
|
10
|
+
this.linkicon = undefined;
|
|
11
|
+
this.linklabel = undefined;
|
|
12
|
+
this.url = undefined;
|
|
13
|
+
this.target = "_blank";
|
|
14
|
+
this.isdisabled = false;
|
|
15
|
+
this.descrSlotName = undefined;
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
const elemId = this.elemid ? this.elemid : "";
|
|
19
|
+
return (h("div", { key: 'bbae0bd29656529b2019a66668d6dfbf66b9b0a1', class: "panel-elem-container" }, (this.imgurl || this.imgalt) && (h("div", { key: '620411ca326a5975d3cc21549cfc51a7d7eea519', "aria-hidden": "true", class: "panel-elem-icon" }, h("img", { key: '79a77af32280e5f1e58f794f07c1365da1fa30a7', src: this.imgurl, alt: this.imgalt }))), h("div", { key: '67ad3e575caab6d93bf8d0a17de138ae59fffb35', class: "panel-elem-link" }, h("a", { key: 'f79f44642cbceefd484bbe63e4af6ea03d197fec', class: {
|
|
20
|
+
"z-link": true,
|
|
21
|
+
"z-link-disabled": this.isdisabled,
|
|
22
|
+
"z-link-icon": true,
|
|
23
|
+
}, id: elemId + "link_id", href: this.url, target: this.target }, h("z-icon", { key: '0f112223c94273b9baa33da513c60a51dba33e7b', height: 14, width: 14, name: this.linkicon }), this.linklabel)), this.descrSlotName && (h("div", { key: '4ae5da7e8a2a92be4c801790a90b6907e7ffe6b3', class: "panel-elem-desc" }, h("slot", { key: '4c4e6872a2fe1cb443002a004b5aa1ce18a8f96f', name: this.descrSlotName })))));
|
|
24
|
+
}
|
|
25
|
+
static get is() { return "z-panel-elem"; }
|
|
26
|
+
static get encapsulation() { return "scoped"; }
|
|
27
|
+
static get originalStyleUrls() {
|
|
28
|
+
return {
|
|
29
|
+
"$": ["styles.css"]
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
static get styleUrls() {
|
|
33
|
+
return {
|
|
34
|
+
"$": ["styles.css"]
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
static get properties() {
|
|
38
|
+
return {
|
|
39
|
+
"elemid": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"mutable": false,
|
|
42
|
+
"complexType": {
|
|
43
|
+
"original": "string",
|
|
44
|
+
"resolved": "string",
|
|
45
|
+
"references": {}
|
|
46
|
+
},
|
|
47
|
+
"required": false,
|
|
48
|
+
"optional": true,
|
|
49
|
+
"docs": {
|
|
50
|
+
"tags": [],
|
|
51
|
+
"text": "html element id (optional)"
|
|
52
|
+
},
|
|
53
|
+
"attribute": "elemid",
|
|
54
|
+
"reflect": false
|
|
55
|
+
},
|
|
56
|
+
"imgurl": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "string",
|
|
61
|
+
"resolved": "string",
|
|
62
|
+
"references": {}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": true,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": "image url source (optional)"
|
|
69
|
+
},
|
|
70
|
+
"attribute": "imgurl",
|
|
71
|
+
"reflect": false
|
|
72
|
+
},
|
|
73
|
+
"imgalt": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "string",
|
|
78
|
+
"resolved": "string",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": true,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": "alternative image text (optional)"
|
|
86
|
+
},
|
|
87
|
+
"attribute": "imgalt",
|
|
88
|
+
"reflect": false
|
|
89
|
+
},
|
|
90
|
+
"linkicon": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "string",
|
|
95
|
+
"resolved": "string",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": true,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "icon link name (optional)"
|
|
103
|
+
},
|
|
104
|
+
"attribute": "linkicon",
|
|
105
|
+
"reflect": false
|
|
106
|
+
},
|
|
107
|
+
"linklabel": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"mutable": false,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "string",
|
|
112
|
+
"resolved": "string",
|
|
113
|
+
"references": {}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": "link label text"
|
|
120
|
+
},
|
|
121
|
+
"attribute": "linklabel",
|
|
122
|
+
"reflect": false
|
|
123
|
+
},
|
|
124
|
+
"url": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"mutable": false,
|
|
127
|
+
"complexType": {
|
|
128
|
+
"original": "string",
|
|
129
|
+
"resolved": "string",
|
|
130
|
+
"references": {}
|
|
131
|
+
},
|
|
132
|
+
"required": false,
|
|
133
|
+
"optional": false,
|
|
134
|
+
"docs": {
|
|
135
|
+
"tags": [],
|
|
136
|
+
"text": "link url"
|
|
137
|
+
},
|
|
138
|
+
"attribute": "url",
|
|
139
|
+
"reflect": false
|
|
140
|
+
},
|
|
141
|
+
"target": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"mutable": false,
|
|
144
|
+
"complexType": {
|
|
145
|
+
"original": "string",
|
|
146
|
+
"resolved": "string",
|
|
147
|
+
"references": {}
|
|
148
|
+
},
|
|
149
|
+
"required": false,
|
|
150
|
+
"optional": true,
|
|
151
|
+
"docs": {
|
|
152
|
+
"tags": [],
|
|
153
|
+
"text": "link target (optional)"
|
|
154
|
+
},
|
|
155
|
+
"attribute": "target",
|
|
156
|
+
"reflect": false,
|
|
157
|
+
"defaultValue": "\"_blank\""
|
|
158
|
+
},
|
|
159
|
+
"isdisabled": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "boolean",
|
|
164
|
+
"resolved": "boolean",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": true,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": "disabled status flag (optional)"
|
|
172
|
+
},
|
|
173
|
+
"attribute": "isdisabled",
|
|
174
|
+
"reflect": false,
|
|
175
|
+
"defaultValue": "false"
|
|
176
|
+
},
|
|
177
|
+
"descrSlotName": {
|
|
178
|
+
"type": "string",
|
|
179
|
+
"mutable": false,
|
|
180
|
+
"complexType": {
|
|
181
|
+
"original": "string",
|
|
182
|
+
"resolved": "string",
|
|
183
|
+
"references": {}
|
|
184
|
+
},
|
|
185
|
+
"required": false,
|
|
186
|
+
"optional": true,
|
|
187
|
+
"docs": {
|
|
188
|
+
"tags": [],
|
|
189
|
+
"text": "name of slot container (optional)"
|
|
190
|
+
},
|
|
191
|
+
"attribute": "descr-slot-name",
|
|
192
|
+
"reflect": false
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-panel-elem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAEjD;;GAEG;AAOH,MAAM,OAAO,UAAU;;;;;;;;sBA2BH,QAAQ;0BAIH,KAAK;;;IAM5B,MAAM;QACJ,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;QAE9C,OAAO,CACL,4DAAK,KAAK,EAAC,sBAAsB;YAC9B,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAC/B,2EACc,MAAM,EAClB,KAAK,EAAC,iBAAiB;gBAEvB,4DACE,GAAG,EAAE,IAAI,CAAC,MAAM,EAChB,GAAG,EAAE,IAAI,CAAC,MAAM,GAChB,CACE,CACP;YACD,4DAAK,KAAK,EAAC,iBAAiB;gBAC1B,0DACE,KAAK,EAAE;wBACL,QAAQ,EAAE,IAAI;wBACd,iBAAiB,EAAE,IAAI,CAAC,UAAU;wBAClC,aAAa,EAAE,IAAI;qBACpB,EACD,EAAE,EAAE,MAAM,GAAG,SAAS,EACtB,IAAI,EAAE,IAAI,CAAC,GAAG,EACd,MAAM,EAAE,IAAI,CAAC,MAAM;oBAEnB,+DACE,MAAM,EAAE,EAAE,EACV,KAAK,EAAE,EAAE,EACT,IAAI,EAAE,IAAI,CAAC,QAAQ,GACX;oBACT,IAAI,CAAC,SAAS,CACb,CACA;YACL,IAAI,CAAC,aAAa,IAAI,CACrB,4DAAK,KAAK,EAAC,iBAAiB;gBAC1B,6DAAM,IAAI,EAAE,IAAI,CAAC,aAAa,GAAI,CAC9B,CACP,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Prop, h} from \"@stencil/core\";\n\n/**\n * @slot `descrSlotName` - description content\n */\n@Component({\n tag: \"z-panel-elem\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZPanelElem {\n /** html element id (optional) */\n @Prop()\n elemid?: string;\n\n /** image url source (optional) */\n @Prop()\n imgurl?: string;\n\n /** alternative image text (optional) */\n @Prop()\n imgalt?: string;\n\n /** icon link name (optional) */\n @Prop()\n linkicon?: string;\n\n /** link label text*/\n @Prop()\n linklabel: string;\n\n /** link url */\n @Prop()\n url: string;\n\n /** link target (optional) */\n @Prop()\n target?: string = \"_blank\";\n\n /** disabled status flag (optional) */\n @Prop()\n isdisabled?: boolean = false;\n\n /** name of slot container (optional) */\n @Prop()\n descrSlotName?: string;\n\n render(): HTMLDivElement {\n const elemId = this.elemid ? this.elemid : \"\";\n\n return (\n <div class=\"panel-elem-container\">\n {(this.imgurl || this.imgalt) && (\n <div\n aria-hidden=\"true\"\n class=\"panel-elem-icon\"\n >\n <img\n src={this.imgurl}\n alt={this.imgalt}\n />\n </div>\n )}\n <div class=\"panel-elem-link\">\n <a\n class={{\n \"z-link\": true,\n \"z-link-disabled\": this.isdisabled,\n \"z-link-icon\": true,\n }}\n id={elemId + \"link_id\"}\n href={this.url}\n target={this.target}\n >\n <z-icon\n height={14}\n width={14}\n name={this.linkicon}\n ></z-icon>\n {this.linklabel}\n </a>\n </div>\n {this.descrSlotName && (\n <div class=\"panel-elem-desc\">\n <slot name={this.descrSlotName} />\n </div>\n )}\n </div>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../../src/components/z-panel-elem/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AAEnC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,EAAE,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;QAC5C,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,+BAA+B;SACtC,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;KAU7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;QACjE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,6EAA6E;SACpF,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;KAW7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE,KAAK,IAAI,EAAE;QAClD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,8FAA8F;SACrG,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;KAW7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE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C;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;KAgB7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;QACjE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,mJAAmJ;SAC1J,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;KAc7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;QACjE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,8JAA8J;SACrK,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;;KAc7B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {newSpecPage} from \"@stencil/core/testing\";\n\nimport {ZPanelElem} from \"./index\";\n\ndescribe(\"Suite test ZPanelElem\", () => {\n it(\"Test render ZPanelElem vuoto\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem>\n <div class=\"panel-elem-container\">\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" id=\"link_id\" target=\"_blank\">\n <z-icon height=\"14\" width=\"14\"></z-icon>\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with only mandatory params\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"link_id\" target=\"_blank\">\n <z-icon height=\"14\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with elemid\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" id=\"examplelink_id\" href=\"http://www.google.it\" id=\"link_id\" target=\"_blank\">\n <z-icon height=\"14\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with elemid and isdisabled\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem isdisabled elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem isdisabled elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-disabled z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_blank\">\n <z-icon height=\"14\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with target=_self\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem target=\"_self\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem target=\"_self\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_self\">\n <z-icon height=\"14\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with linkicon\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_blank\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with imgurl\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem imgurl=\"exampleImgUrl\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem imgurl=\"exampleImgUrl\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img src=\"exampleImgUrl\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_blank\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with imgurl and target=_self\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem imgurl=\"exampleImgUrl\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem imgurl=\"exampleImgUrl\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img src=\"exampleImgUrl\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_self\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with imgalt\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem imgalt=\"exampleDesc\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem imgalt=\"exampleDesc\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img alt=\"exampleDesc\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_blank\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with imgalt and target=_self\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem imgalt=\"exampleDesc\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem imgalt=\"exampleDesc\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img alt=\"exampleDesc\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_self\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with icon and slot name\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem descr-slot-name=\"slotname\" imgurl=\"exampleUrl\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\"></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem descr-slot-name=\"slotname\" imgurl=\"exampleUrl\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img src=\"exampleUrl\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_self\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n <div class=\"panel-elem-desc\">\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with icon and complete slot data\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem descrSlotName=\"slotname\" imgurl=\"exampleUrl\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ><div class=\"panel-elem-desc\"> <span slot=\"slotname\">Full application description</span> </div></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem descrslotname=\"slotname\" imgurl=\"exampleUrl\" target=\"_self\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-desc\">\n <span slot=\"slotname\">Full application description</span>\n </div>\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img src=\"exampleUrl\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_self\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with imgurl and isdisabled\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem isdisabled imgurl=\"exampleImgUrl\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" ></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem isdisabled imgurl=\"exampleImgUrl\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\">\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img src=\"exampleImgUrl\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon z-link-disabled\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_blank\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n\n it(\"Test render ZPanelElem with imgalt and isdisabled\", async () => {\n const page = await newSpecPage({\n components: [ZPanelElem],\n html: `<z-panel-elem isdisabled imgalt=\"exampleAlt\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" target=\"_self\"></z-panel-elem>`,\n });\n\n expect(page.root).toEqualHtml(`\n <z-panel-elem isdisabled imgalt=\"exampleAlt\" linkicon=\"example\" elemid=\"example\" linklabel=\"label\" url=\"http://www.google.it\" target=\"_self\">\n <div class=\"panel-elem-container\">\n <div aria-hidden=\"true\" class=\"panel-elem-icon\">\n <img alt=\"exampleAlt\" />\n </div>\n <div class=\"panel-elem-link\">\n <a class=\"z-link z-link-icon z-link-disabled\" href=\"http://www.google.it\" id=\"examplelink_id\" target=\"_self\">\n <z-icon height=\"14\" name=\"example\" width=\"14\"></z-icon>\n label\n </a>\n </div>\n </div>\n </z-panel-elem>\n `);\n });\n});\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import "./index";
|
|
3
|
+
const StoryMeta = {
|
|
4
|
+
title: "ZPanelElem",
|
|
5
|
+
component: "z-panel-elem",
|
|
6
|
+
args: {
|
|
7
|
+
imgurl: "https://staticdemomy.zanichelli.it/download/biblioteca.png",
|
|
8
|
+
linkicon: "arrow-quad-down",
|
|
9
|
+
linklabel: "Biblioteca",
|
|
10
|
+
url: "https://biblioteca.scuola.zanichelli.it/",
|
|
11
|
+
elemid: "elem_id",
|
|
12
|
+
isdisabled: false,
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
export default StoryMeta;
|
|
16
|
+
export const Default = {
|
|
17
|
+
render: (args) => html `<z-panel-elem
|
|
18
|
+
imgurl="${args.imgurl}"
|
|
19
|
+
linkicon="${args.linkicon}"
|
|
20
|
+
linklabel="${args.linklabel}"
|
|
21
|
+
url="${args.url}"
|
|
22
|
+
elemid="${args.elemid}"
|
|
23
|
+
isdisabled="${args.isdisabled}"
|
|
24
|
+
></z-panel-elem>`,
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-panel-elem/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,SAAS,CAAC;AAEjB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,YAAY;IACnB,SAAS,EAAE,cAAc;IACzB,IAAI,EAAE;QACJ,MAAM,EAAE,4DAA4D;QACpE,QAAQ,EAAE,iBAAiB;QAC3B,SAAS,EAAE,YAAY;QACvB,GAAG,EAAE,0CAA0C;QAC/C,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,KAAK;KAClB;CACyB,CAAC;AAC7B,eAAe,SAAS,CAAC;AAEzB,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CACf,IAAI,CAAA;gBACQ,IAAI,CAAC,MAAM;kBACT,IAAI,CAAC,QAAQ;mBACZ,IAAI,CAAC,SAAS;aACpB,IAAI,CAAC,GAAG;gBACL,IAAI,CAAC,MAAM;oBACP,IAAI,CAAC,UAAU;qBACd;CACW,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZPanelElem} from \".\";\nimport \"./index\";\n\nconst StoryMeta = {\n title: \"ZPanelElem\",\n component: \"z-panel-elem\",\n args: {\n imgurl: \"https://staticdemomy.zanichelli.it/download/biblioteca.png\",\n linkicon: \"arrow-quad-down\",\n linklabel: \"Biblioteca\",\n url: \"https://biblioteca.scuola.zanichelli.it/\",\n elemid: \"elem_id\",\n isdisabled: false,\n },\n} satisfies Meta<ZPanelElem>;\nexport default StoryMeta;\n\nexport const Default = {\n render: (args) =>\n html`<z-panel-elem\n imgurl=\"${args.imgurl}\"\n linkicon=\"${args.linkicon}\"\n linklabel=\"${args.linklabel}\"\n url=\"${args.url}\"\n elemid=\"${args.elemid}\"\n isdisabled=\"${args.isdisabled}\"\n ></z-panel-elem>`,\n} satisfies StoryObj<ZPanelElem>;\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { KeyboardCode, PopoverPosition } from "../../beans";
|
|
3
3
|
const DOCUMENT_ELEMENT = document.documentElement;
|
|
4
4
|
function getParentElement(element) {
|
|
5
5
|
if (element.parentNode.host) {
|
|
@@ -301,7 +301,7 @@ export class ZPopover {
|
|
|
301
301
|
this.onOpen();
|
|
302
302
|
}
|
|
303
303
|
render() {
|
|
304
|
-
return h("slot", { key: '
|
|
304
|
+
return h("slot", { key: 'a7a3830d93abc15bc7138815f9820bc8cda7ab35' });
|
|
305
305
|
}
|
|
306
306
|
static get is() { return "z-popover"; }
|
|
307
307
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-popover/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAe,MAAM,eAAe,CAAC;AACrG,OAAO,EAAC,eAAe,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAE1D,MAAM,gBAAgB,GAAG,QAAQ,CAAC,eAAe,CAAC;AAElD,SAAS,gBAAgB,CAAC,OAAgB;IACxC,IAAK,OAAO,CAAC,UAAyB,CAAC,IAAI,EAAE,CAAC;QAC5C,OAAQ,OAAO,CAAC,UAAyB,CAAC,IAAI,CAAC;IACjD,CAAC;IAED,OAAO,OAAO,CAAC,UAAqB,CAAC;AACvC,CAAC;AAED;;;;GAIG;AACH,SAAS,oBAAoB,CAAC,OAAgB;IAC5C,IAAI,MAAM,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAEvC,OAAO,MAAM,IAAI,MAAM,KAAK,gBAAgB,EAAE,CAAC;QAC7C,MAAM,EAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QACzE,IAAI,QAAQ,KAAK,QAAQ,IAAI,SAAS,KAA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IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,MAAM;QACJ,OAAO,8DAAa,CAAC;IACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Prop, h, Watch, Listen, Element, State, Event, EventEmitter} from \"@stencil/core\";\nimport {PopoverPosition, KeyboardCode} from \"../../beans\";\n\nconst DOCUMENT_ELEMENT = document.documentElement;\n\nfunction getParentElement(element: Element): ShadowRoot[\"host\"] {\n if ((element.parentNode as ShadowRoot).host) {\n return (element.parentNode as ShadowRoot).host;\n }\n\n return element.parentNode as Element;\n}\n\n/**\n * Find the closest scrollable parent of a node.\n *\n * @param {Element} element The node\n */\nfunction findScrollableParent(element: Element): Element {\n let parent = getParentElement(element);\n\n while (parent && parent !== DOCUMENT_ELEMENT) {\n const {overflow, overflowX, overflowY} = window.getComputedStyle(parent);\n if (overflow === \"hidden\" || overflowY === \"hidden\" || overflowX === \"hidden\") {\n return parent;\n }\n\n if (\n (parent.scrollHeight > parent.clientHeight && overflow !== \"visible\" && overflowY !== \"visible\") ||\n (parent.scrollWidth > parent.clientWidth && overflow !== \"visible\" && overflowX !== \"visible\")\n ) {\n return parent;\n }\n\n parent = getParentElement(parent);\n }\n\n return DOCUMENT_ELEMENT;\n}\n\n/**\n * Calculate computed offset.\n * It includes matrix transformations.\n * @param element The target element.\n * @param targetParentOffset The relative offset parent.\n * @return A client rect object.\n */\nfunction computeOffset(element: HTMLElement, targetParentOffset?: HTMLElement): Record<string, number> {\n const rect = element.getBoundingClientRect();\n const width = rect.width;\n const height = rect.height;\n\n let top = 0;\n let left = 0;\n let offsetParent = element;\n while (offsetParent && offsetParent != targetParentOffset) {\n left += offsetParent.offsetLeft;\n\n // document.body sometimes has offsetTop == 0 but still has an\n // offset because of children margins!\n if (offsetParent === document.body) {\n top += offsetParent.getBoundingClientRect().top + window.scrollY;\n } else {\n top += offsetParent.offsetTop;\n }\n\n if (window.DOMMatrix) {\n const style = window.getComputedStyle(offsetParent);\n const transform = style.transform || style.webkitTransform;\n const domMatrix = new DOMMatrix(transform);\n if (domMatrix) {\n left += domMatrix.m41;\n if (offsetParent !== document.body) {\n top += domMatrix.m42;\n }\n }\n }\n\n if (!offsetParent.offsetParent) {\n break;\n }\n\n offsetParent = offsetParent.offsetParent as HTMLElement;\n }\n\n let parentWidth: number;\n let parentHeight: number;\n if (offsetParent === document.body) {\n parentWidth = window.innerWidth;\n parentHeight = window.innerHeight;\n } else {\n parentWidth = offsetParent.offsetWidth;\n parentHeight = offsetParent.offsetHeight;\n }\n\n const right = parentWidth - left - rect.width;\n const bottom = parentHeight - top - rect.height;\n\n return {top, right, bottom, left, width, height};\n}\n\n/**\n * Popover component.\n *\n * @cssprop --z-popover-theme--surface - background color of the popover.\n * @cssprop --z-popover-theme--text - foreground color of the popover.\n * @cssprop --z-popover-padding - padding of the popover.\n * @cssprop --z-popover-shadow-filter - drop-shadow filter of the popover. Defaults to `drop-shadow(0 1px 2px var(--shadow-color-base))`.\n */\n@Component({\n tag: \"z-popover\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZPopover {\n /** Popover position. */\n @Prop({reflect: true})\n position: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * The open state of the popover.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * The selector or the element bound with the popover.\n * If string css selector is provided make sure to use a valid selector.\n */\n @Prop()\n bindTo?: string | HTMLElement;\n\n /**\n * Whether to show popover's arrow.\n */\n @Prop({reflect: true})\n showArrow = false;\n\n /**\n * Whether to center the popup on the main side (according to \"position\").\n */\n @Prop({reflect: true})\n center = false;\n\n /**\n * If true, the popover can be closed by clicking outside of it or pressing the escape key.\n * Otherwise, it will be closed only programmatically (by setting `open` to `false`).\n */\n @Prop()\n closable = true;\n\n /**\n * The current position of the popover.\n */\n @State()\n currentPosition?: PopoverPosition;\n\n /**\n * Position change event.\n */\n @Event()\n positionChange: EventEmitter;\n\n /**\n * Open change event.\n */\n @Event()\n openChange: EventEmitter;\n\n @Element() host: HTMLZPopoverElement;\n\n private animationFrameRequestId?: number;\n\n @Listen(\"keyup\", {target: \"window\"})\n closePopoverWithKeyboard(e: KeyboardEvent): void {\n if (this.closable && e.key === KeyboardCode.ESC) {\n this.open = false;\n }\n }\n\n /**\n * Close the popover when clicking outside of its content.\n * Stop event propagation if the click was fired by popover's trigger element,\n * to prevent close and reopen glitches.\n * @param {MouseEvent} e\n */\n @Listen(\"click\", {target: \"body\", capture: true})\n handleOutsideClick(e: MouseEvent): void {\n if (!this.closable || !this.open) {\n return;\n }\n\n if (!e.composedPath().includes(this.host)) {\n const target = e.target as HTMLElement;\n const triggerElemClicked =\n this.bindTo instanceof HTMLElement ? this.bindTo.contains(target) : target.closest(this.bindTo);\n if (triggerElemClicked) {\n e.stopPropagation();\n }\n\n this.open = false;\n this.positionChange.emit({position: this.currentPosition});\n }\n }\n\n @Watch(\"position\")\n validatePosition(newValue: PopoverPosition): void {\n if (newValue && !Object.values(PopoverPosition).includes(newValue as PopoverPosition)) {\n this.position = PopoverPosition.AUTO;\n }\n\n this.currentPosition = this.position;\n this.positionChange.emit({position: this.currentPosition});\n }\n\n /**\n * Setup popover behaviors on opening.\n */\n @Watch(\"open\")\n onOpen(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n if (this.open) {\n const setPosition = (): void => {\n if (this.open) {\n this.setPosition();\n this.animationFrameRequestId = requestAnimationFrame(setPosition);\n }\n };\n\n setPosition();\n } else if (this.host.hasAttribute(\"current-position\")) {\n this.host.removeAttribute(\"current-position\");\n this.currentPosition = undefined;\n }\n\n this.openChange.emit({open: this.open});\n }\n\n disconnectedCallback(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n }\n\n /**\n * Set the position of the popover.\n */\n private setPosition(): void {\n let element: HTMLElement;\n if (typeof this.bindTo === \"string\") {\n element = this.host.ownerDocument.querySelector(this.bindTo) as HTMLElement;\n } else if (this.bindTo) {\n element = this.bindTo;\n } else {\n element = this.host.parentElement as HTMLElement;\n }\n\n if (!element) {\n return;\n }\n\n const scrollContainer = findScrollableParent(element) as HTMLElement;\n const scrollingBoundingRect = scrollContainer.getBoundingClientRect();\n const offsetContainer = this.host.offsetParent as HTMLElement;\n\n const relativeBoundingRect = offsetContainer\n ? computeOffset(offsetContainer, scrollContainer)\n : {top: 0, right: 0, bottom: 0, left: 0};\n const boundingRect = computeOffset(element, scrollContainer);\n\n const top = boundingRect.top - scrollContainer.scrollTop;\n const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;\n const left = boundingRect.left - scrollContainer.scrollLeft;\n const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;\n\n const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);\n const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);\n\n const availableTop = Math.min(top, top + scrollingBoundingRect.top);\n const availableBottom = Math.min(bottom, bottom - overflowBottom);\n const availableLeft = Math.min(left, left + scrollingBoundingRect.left);\n const availableRight = Math.min(right, right - overflowRight);\n\n const availableHeight = availableTop + availableBottom + boundingRect.height;\n const availableWidth = availableLeft + availableRight + boundingRect.width;\n\n let position = this.currentPosition;\n const positions: PopoverPosition[] = [];\n if (this.position === PopoverPosition.AUTO) {\n /**\n * The `AUTO` position tries to place the popover in the 'safest' area,\n * where there's more space available.\n */\n if (availableLeft / availableWidth > 0.6) {\n positions.push(PopoverPosition.LEFT);\n } else if (availableLeft / availableWidth < 0.4) {\n positions.push(PopoverPosition.RIGHT);\n }\n\n if (availableTop / availableHeight > 0.9) {\n positions.unshift(PopoverPosition.TOP);\n } else if (availableTop / availableHeight > 0.6) {\n positions.push(PopoverPosition.TOP);\n } else if (availableTop / availableHeight < 0.1) {\n positions.unshift(PopoverPosition.BOTTOM);\n } else {\n positions.push(PopoverPosition.BOTTOM);\n }\n\n position = positions.join(\"_\") as PopoverPosition;\n }\n\n const style = this.host.style;\n style.position = \"absolute\";\n\n const offsetTop = boundingRect.top - relativeBoundingRect.top;\n const offsetRight = boundingRect.right - relativeBoundingRect.right;\n const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;\n const offsetLeft = boundingRect.left - relativeBoundingRect.left;\n const offsetModifier = this.center ? 0.5 : 0;\n const sizeModifier = this.center ? 0.5 : 0;\n\n if (position === PopoverPosition.TOP || position === PopoverPosition.TOP_RIGHT) {\n style.top = \"auto\";\n style.right = \"auto\";\n style.bottom = `${offsetBottom + boundingRect.height}px`;\n\n style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;\n style.maxHeight = `${availableTop}px`;\n if (position === PopoverPosition.TOP_RIGHT) {\n style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;\n }\n } else if (position === PopoverPosition.TOP_LEFT) {\n style.top = \"auto\";\n style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;\n style.bottom = `${offsetBottom + boundingRect.height}px`;\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableTop}px`;\n } else if (position === PopoverPosition.BOTTOM || position === PopoverPosition.BOTTOM_RIGHT) {\n style.top = `${offsetTop + boundingRect.height}px`;\n style.right = \"auto\";\n style.bottom = \"auto\";\n style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;\n style.maxHeight = `${availableBottom}px`;\n if (position === PopoverPosition.BOTTOM_RIGHT) {\n style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;\n }\n } else if (position === PopoverPosition.BOTTOM_LEFT) {\n style.top = `${offsetTop + boundingRect.height}px`;\n style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;\n style.bottom = \"auto\";\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableBottom}px`;\n } else if (position === PopoverPosition.RIGHT || position === PopoverPosition.RIGHT_BOTTOM) {\n style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;\n style.right = \"auto\";\n style.bottom = \"auto\";\n style.left = `${offsetLeft + boundingRect.width}px`;\n style.maxWidth = `${availableRight}px`;\n style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.RIGHT_TOP) {\n style.top = \"auto\";\n style.right = \"auto\";\n style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;\n style.left = `${offsetLeft + boundingRect.width}px`;\n style.maxWidth = `${availableRight}px`;\n style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.LEFT || position === PopoverPosition.LEFT_BOTTOM) {\n style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;\n style.right = `${offsetRight + boundingRect.width}px`;\n style.bottom = \"auto\";\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.LEFT_TOP) {\n style.top = \"auto\";\n style.right = `${offsetRight + boundingRect.width}px`;\n style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;\n }\n\n this.currentPosition = position || this.position;\n this.host.setAttribute(\"current-position\", this.currentPosition);\n }\n\n componentWillLoad(): void {\n this.validatePosition(this.position);\n this.onOpen();\n }\n\n render(): HTMLSlotElement {\n return <slot></slot>;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-popover/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAA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AY,CAAC,MAAM,GAAG,YAAY,IAAI,CAAC;QAChF,CAAC;aAAM,IAAI,QAAQ,KAAK,eAAe,CAAC,QAAQ,EAAE,CAAC;YACjD,KAAK,CAAC,GAAG,GAAG,MAAM,CAAC;YACnB,KAAK,CAAC,KAAK,GAAG,GAAG,WAAW,GAAG,YAAY,CAAC,KAAK,IAAI,CAAC;YACtD,KAAK,CAAC,MAAM,GAAG,GAAG,YAAY,GAAG,YAAY,CAAC,MAAM,GAAG,cAAc,IAAI,CAAC;YAC1E,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC;YACpB,KAAK,CAAC,QAAQ,GAAG,GAAG,aAAa,IAAI,CAAC;YACtC,KAAK,CAAC,SAAS,GAAG,GAAG,YAAY,GAAG,YAAY,CAAC,MAAM,GAAG,YAAY,IAAI,CAAC;QAC7E,CAAC;QAED,IAAI,CAAC,eAAe,GAAG,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;QACjD,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,kBAAkB,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IACnE,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,EAAE,CAAC;IAChB,CAAC;IAED,MAAM;QACJ,OAAO,8DAAa,CAAC;IACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Prop, State, Watch, h} from \"@stencil/core\";\nimport {KeyboardCode, PopoverPosition} from \"../../beans\";\n\nconst DOCUMENT_ELEMENT = document.documentElement;\n\nfunction getParentElement(element: Element): ShadowRoot[\"host\"] {\n if ((element.parentNode as ShadowRoot).host) {\n return (element.parentNode as ShadowRoot).host;\n }\n\n return element.parentNode as Element;\n}\n\n/**\n * Find the closest scrollable parent of a node.\n *\n * @param {Element} element The node\n */\nfunction findScrollableParent(element: Element): Element {\n let parent = getParentElement(element);\n\n while (parent && parent !== DOCUMENT_ELEMENT) {\n const {overflow, overflowX, overflowY} = window.getComputedStyle(parent);\n if (overflow === \"hidden\" || overflowY === \"hidden\" || overflowX === \"hidden\") {\n return parent;\n }\n\n if (\n (parent.scrollHeight > parent.clientHeight && overflow !== \"visible\" && overflowY !== \"visible\") ||\n (parent.scrollWidth > parent.clientWidth && overflow !== \"visible\" && overflowX !== \"visible\")\n ) {\n return parent;\n }\n\n parent = getParentElement(parent);\n }\n\n return DOCUMENT_ELEMENT;\n}\n\n/**\n * Calculate computed offset.\n * It includes matrix transformations.\n * @param element The target element.\n * @param targetParentOffset The relative offset parent.\n * @return A client rect object.\n */\nfunction computeOffset(element: HTMLElement, targetParentOffset?: HTMLElement): Record<string, number> {\n const rect = element.getBoundingClientRect();\n const width = rect.width;\n const height = rect.height;\n\n let top = 0;\n let left = 0;\n let offsetParent = element;\n while (offsetParent && offsetParent != targetParentOffset) {\n left += offsetParent.offsetLeft;\n\n // document.body sometimes has offsetTop == 0 but still has an\n // offset because of children margins!\n if (offsetParent === document.body) {\n top += offsetParent.getBoundingClientRect().top + window.scrollY;\n } else {\n top += offsetParent.offsetTop;\n }\n\n if (window.DOMMatrix) {\n const style = window.getComputedStyle(offsetParent);\n const transform = style.transform || style.webkitTransform;\n const domMatrix = new DOMMatrix(transform);\n if (domMatrix) {\n left += domMatrix.m41;\n if (offsetParent !== document.body) {\n top += domMatrix.m42;\n }\n }\n }\n\n if (!offsetParent.offsetParent) {\n break;\n }\n\n offsetParent = offsetParent.offsetParent as HTMLElement;\n }\n\n let parentWidth: number;\n let parentHeight: number;\n if (offsetParent === document.body) {\n parentWidth = window.innerWidth;\n parentHeight = window.innerHeight;\n } else {\n parentWidth = offsetParent.offsetWidth;\n parentHeight = offsetParent.offsetHeight;\n }\n\n const right = parentWidth - left - rect.width;\n const bottom = parentHeight - top - rect.height;\n\n return {top, right, bottom, left, width, height};\n}\n\n/**\n * Popover component.\n *\n * @cssprop --z-popover-theme--surface - background color of the popover.\n * @cssprop --z-popover-theme--text - foreground color of the popover.\n * @cssprop --z-popover-padding - padding of the popover.\n * @cssprop --z-popover-shadow-filter - drop-shadow filter of the popover. Defaults to `drop-shadow(0 1px 2px var(--shadow-color-base))`.\n */\n@Component({\n tag: \"z-popover\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZPopover {\n /** Popover position. */\n @Prop({reflect: true})\n position: PopoverPosition = PopoverPosition.AUTO;\n\n /**\n * The open state of the popover.\n */\n @Prop({reflect: true, mutable: true})\n open = false;\n\n /**\n * The selector or the element bound with the popover.\n * If string css selector is provided make sure to use a valid selector.\n */\n @Prop()\n bindTo?: string | HTMLElement;\n\n /**\n * Whether to show popover's arrow.\n */\n @Prop({reflect: true})\n showArrow = false;\n\n /**\n * Whether to center the popup on the main side (according to \"position\").\n */\n @Prop({reflect: true})\n center = false;\n\n /**\n * If true, the popover can be closed by clicking outside of it or pressing the escape key.\n * Otherwise, it will be closed only programmatically (by setting `open` to `false`).\n */\n @Prop()\n closable = true;\n\n /**\n * The current position of the popover.\n */\n @State()\n currentPosition?: PopoverPosition;\n\n /**\n * Position change event.\n */\n @Event()\n positionChange: EventEmitter;\n\n /**\n * Open change event.\n */\n @Event()\n openChange: EventEmitter;\n\n @Element() host: HTMLZPopoverElement;\n\n private animationFrameRequestId?: number;\n\n @Listen(\"keyup\", {target: \"window\"})\n closePopoverWithKeyboard(e: KeyboardEvent): void {\n if (this.closable && e.key === KeyboardCode.ESC) {\n this.open = false;\n }\n }\n\n /**\n * Close the popover when clicking outside of its content.\n * Stop event propagation if the click was fired by popover's trigger element,\n * to prevent close and reopen glitches.\n * @param {MouseEvent} e\n */\n @Listen(\"click\", {target: \"body\", capture: true})\n handleOutsideClick(e: MouseEvent): void {\n if (!this.closable || !this.open) {\n return;\n }\n\n if (!e.composedPath().includes(this.host)) {\n const target = e.target as HTMLElement;\n const triggerElemClicked =\n this.bindTo instanceof HTMLElement ? this.bindTo.contains(target) : target.closest(this.bindTo);\n if (triggerElemClicked) {\n e.stopPropagation();\n }\n\n this.open = false;\n this.positionChange.emit({position: this.currentPosition});\n }\n }\n\n @Watch(\"position\")\n validatePosition(newValue: PopoverPosition): void {\n if (newValue && !Object.values(PopoverPosition).includes(newValue as PopoverPosition)) {\n this.position = PopoverPosition.AUTO;\n }\n\n this.currentPosition = this.position;\n this.positionChange.emit({position: this.currentPosition});\n }\n\n /**\n * Setup popover behaviors on opening.\n */\n @Watch(\"open\")\n onOpen(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n if (this.open) {\n const setPosition = (): void => {\n if (this.open) {\n this.setPosition();\n this.animationFrameRequestId = requestAnimationFrame(setPosition);\n }\n };\n\n setPosition();\n } else if (this.host.hasAttribute(\"current-position\")) {\n this.host.removeAttribute(\"current-position\");\n this.currentPosition = undefined;\n }\n\n this.openChange.emit({open: this.open});\n }\n\n disconnectedCallback(): void {\n cancelAnimationFrame(this.animationFrameRequestId);\n }\n\n /**\n * Set the position of the popover.\n */\n private setPosition(): void {\n let element: HTMLElement;\n if (typeof this.bindTo === \"string\") {\n element = this.host.ownerDocument.querySelector(this.bindTo) as HTMLElement;\n } else if (this.bindTo) {\n element = this.bindTo;\n } else {\n element = this.host.parentElement as HTMLElement;\n }\n\n if (!element) {\n return;\n }\n\n const scrollContainer = findScrollableParent(element) as HTMLElement;\n const scrollingBoundingRect = scrollContainer.getBoundingClientRect();\n const offsetContainer = this.host.offsetParent as HTMLElement;\n\n const relativeBoundingRect = offsetContainer\n ? computeOffset(offsetContainer, scrollContainer)\n : {top: 0, right: 0, bottom: 0, left: 0};\n const boundingRect = computeOffset(element, scrollContainer);\n\n const top = boundingRect.top - scrollContainer.scrollTop;\n const bottom = scrollingBoundingRect.height - (boundingRect.top + boundingRect.height) + scrollContainer.scrollTop;\n const left = boundingRect.left - scrollContainer.scrollLeft;\n const right = scrollingBoundingRect.width - (boundingRect.left + boundingRect.width) + scrollContainer.scrollLeft;\n\n const overflowBottom = Math.max(0, scrollingBoundingRect.top + scrollingBoundingRect.height - window.innerHeight);\n const overflowRight = Math.max(0, scrollingBoundingRect.left + scrollingBoundingRect.width - window.innerWidth);\n\n const availableTop = Math.min(top, top + scrollingBoundingRect.top);\n const availableBottom = Math.min(bottom, bottom - overflowBottom);\n const availableLeft = Math.min(left, left + scrollingBoundingRect.left);\n const availableRight = Math.min(right, right - overflowRight);\n\n const availableHeight = availableTop + availableBottom + boundingRect.height;\n const availableWidth = availableLeft + availableRight + boundingRect.width;\n\n let position = this.currentPosition;\n const positions: PopoverPosition[] = [];\n if (this.position === PopoverPosition.AUTO) {\n /**\n * The `AUTO` position tries to place the popover in the 'safest' area,\n * where there's more space available.\n */\n if (availableLeft / availableWidth > 0.6) {\n positions.push(PopoverPosition.LEFT);\n } else if (availableLeft / availableWidth < 0.4) {\n positions.push(PopoverPosition.RIGHT);\n }\n\n if (availableTop / availableHeight > 0.9) {\n positions.unshift(PopoverPosition.TOP);\n } else if (availableTop / availableHeight > 0.6) {\n positions.push(PopoverPosition.TOP);\n } else if (availableTop / availableHeight < 0.1) {\n positions.unshift(PopoverPosition.BOTTOM);\n } else {\n positions.push(PopoverPosition.BOTTOM);\n }\n\n position = positions.join(\"_\") as PopoverPosition;\n }\n\n const style = this.host.style;\n style.position = \"absolute\";\n\n const offsetTop = boundingRect.top - relativeBoundingRect.top;\n const offsetRight = boundingRect.right - relativeBoundingRect.right;\n const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;\n const offsetLeft = boundingRect.left - relativeBoundingRect.left;\n const offsetModifier = this.center ? 0.5 : 0;\n const sizeModifier = this.center ? 0.5 : 0;\n\n if (position === PopoverPosition.TOP || position === PopoverPosition.TOP_RIGHT) {\n style.top = \"auto\";\n style.right = \"auto\";\n style.bottom = `${offsetBottom + boundingRect.height}px`;\n\n style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;\n style.maxHeight = `${availableTop}px`;\n if (position === PopoverPosition.TOP_RIGHT) {\n style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;\n }\n } else if (position === PopoverPosition.TOP_LEFT) {\n style.top = \"auto\";\n style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;\n style.bottom = `${offsetBottom + boundingRect.height}px`;\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableTop}px`;\n } else if (position === PopoverPosition.BOTTOM || position === PopoverPosition.BOTTOM_RIGHT) {\n style.top = `${offsetTop + boundingRect.height}px`;\n style.right = \"auto\";\n style.bottom = \"auto\";\n style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;\n style.maxHeight = `${availableBottom}px`;\n if (position === PopoverPosition.BOTTOM_RIGHT) {\n style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;\n }\n } else if (position === PopoverPosition.BOTTOM_LEFT) {\n style.top = `${offsetTop + boundingRect.height}px`;\n style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;\n style.bottom = \"auto\";\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableBottom}px`;\n } else if (position === PopoverPosition.RIGHT || position === PopoverPosition.RIGHT_BOTTOM) {\n style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;\n style.right = \"auto\";\n style.bottom = \"auto\";\n style.left = `${offsetLeft + boundingRect.width}px`;\n style.maxWidth = `${availableRight}px`;\n style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.RIGHT_TOP) {\n style.top = \"auto\";\n style.right = \"auto\";\n style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;\n style.left = `${offsetLeft + boundingRect.width}px`;\n style.maxWidth = `${availableRight}px`;\n style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.LEFT || position === PopoverPosition.LEFT_BOTTOM) {\n style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;\n style.right = `${offsetRight + boundingRect.width}px`;\n style.bottom = \"auto\";\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;\n } else if (position === PopoverPosition.LEFT_TOP) {\n style.top = \"auto\";\n style.right = `${offsetRight + boundingRect.width}px`;\n style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;\n style.left = \"auto\";\n style.maxWidth = `${availableLeft}px`;\n style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;\n }\n\n this.currentPosition = position || this.position;\n this.host.setAttribute(\"current-position\", this.currentPosition);\n }\n\n componentWillLoad(): void {\n this.validatePosition(this.position);\n this.onOpen();\n }\n\n render(): HTMLSlotElement {\n return <slot></slot>;\n }\n}\n"]}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { html } from "lit";
|
|
2
|
+
import { styleMap } from "lit/directives/style-map.js";
|
|
3
|
+
import { PopoverPosition } from "../../beans";
|
|
4
|
+
import { getColorTokenArgConfig } from "../../utils/storybook-utils";
|
|
5
|
+
import "../z-button/index";
|
|
6
|
+
import "../z-icon/index";
|
|
7
|
+
import "./index";
|
|
8
|
+
import "./index.stories.css";
|
|
9
|
+
/**
|
|
10
|
+
* To be sure the AUTO algorithm finds the right container when calculating the position, set its container's position to `position: relative;`
|
|
11
|
+
*/
|
|
12
|
+
const StoryMeta = {
|
|
13
|
+
title: "ZPopover",
|
|
14
|
+
component: "z-popover",
|
|
15
|
+
argTypes: {
|
|
16
|
+
"position": {
|
|
17
|
+
options: Object.values(PopoverPosition),
|
|
18
|
+
control: {
|
|
19
|
+
type: "select",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
"--z-popover-theme--surface": getColorTokenArgConfig(),
|
|
23
|
+
"--z-popover-theme--text": getColorTokenArgConfig(),
|
|
24
|
+
},
|
|
25
|
+
args: {
|
|
26
|
+
"--z-popover-theme--surface": "var(--color-surface01)",
|
|
27
|
+
"--z-popover-theme--text": "var(--color-default-text)",
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export default StoryMeta;
|
|
31
|
+
export const ContextualMenuLike = {
|
|
32
|
+
args: {
|
|
33
|
+
position: PopoverPosition.RIGHT_BOTTOM,
|
|
34
|
+
},
|
|
35
|
+
render: (args) => html `
|
|
36
|
+
<div class="popover-container">
|
|
37
|
+
<z-popover
|
|
38
|
+
style=${styleMap({
|
|
39
|
+
"--z-popover-theme--surface": args["--z-popover-theme--surface"],
|
|
40
|
+
"--z-popover-theme--text": args["--z-popover-theme--text"],
|
|
41
|
+
})}
|
|
42
|
+
.position=${args.position}
|
|
43
|
+
bind-to="#trigger"
|
|
44
|
+
>
|
|
45
|
+
<div class="container">
|
|
46
|
+
<z-button icon="gear">Impostazioni</z-button>
|
|
47
|
+
</div>
|
|
48
|
+
</z-popover>
|
|
49
|
+
<z-icon
|
|
50
|
+
id="trigger"
|
|
51
|
+
name="plus-square-filled"
|
|
52
|
+
></z-icon>
|
|
53
|
+
</div>
|
|
54
|
+
<script>
|
|
55
|
+
var iconTrigger = document.querySelector("#trigger");
|
|
56
|
+
var popover = document.querySelector("z-popover");
|
|
57
|
+
iconTrigger.addEventListener("click", () => {
|
|
58
|
+
if (popover.open) {
|
|
59
|
+
popover.open = false;
|
|
60
|
+
} else {
|
|
61
|
+
popover.open = true;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
</script>
|
|
65
|
+
`,
|
|
66
|
+
};
|
|
67
|
+
export const TooltipLike = {
|
|
68
|
+
args: {
|
|
69
|
+
position: PopoverPosition.RIGHT,
|
|
70
|
+
},
|
|
71
|
+
render: (args) => html `
|
|
72
|
+
<div class="popover-container popover-container-tooltip">
|
|
73
|
+
<z-popover
|
|
74
|
+
style=${styleMap({
|
|
75
|
+
"--z-popover-theme--surface": args["--z-popover-theme--surface"],
|
|
76
|
+
"--z-popover-theme--text": args["--z-popover-theme--text"],
|
|
77
|
+
})}
|
|
78
|
+
.position=${args.position}
|
|
79
|
+
center="true"
|
|
80
|
+
show-arrow="true"
|
|
81
|
+
bind-to="#trigger"
|
|
82
|
+
>
|
|
83
|
+
<div class="container">
|
|
84
|
+
<z-button icon="gear">Impostazioni</z-button>
|
|
85
|
+
</div>
|
|
86
|
+
</z-popover>
|
|
87
|
+
<z-icon
|
|
88
|
+
id="trigger"
|
|
89
|
+
name="plus-square-filled"
|
|
90
|
+
></z-icon>
|
|
91
|
+
</div>
|
|
92
|
+
<script>
|
|
93
|
+
document.querySelector("#trigger").addEventListener("click", () => {
|
|
94
|
+
if (document.querySelector("z-popover").open) {
|
|
95
|
+
document.querySelector("z-popover").open = false;
|
|
96
|
+
} else {
|
|
97
|
+
document.querySelector("z-popover").open = true;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
</script>
|
|
101
|
+
`,
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=index.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-popover/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAC,eAAe,EAAC,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAmB,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AACrF,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;AACzB,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE;QACR,UAAU,EAAE;YACV,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC;YACvC,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;aACf;SACF;QACD,4BAA4B,EAAE,sBAAsB,EAAE;QACtD,yBAAyB,EAAE,sBAAsB,EAAE;KACpD;IACD,IAAI,EAAE;QACJ,4BAA4B,EAAE,wBAAwB;QACtD,yBAAyB,EAAE,2BAA2B;KACvD;CACoG,CAAC;AAExG,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE;QACJ,QAAQ,EAAE,eAAe,CAAC,YAAY;KACvC;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;gBAGR,QAAQ,CAAC;QACf,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC;QAChE,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;KAC3D,CAAC;oBACU,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;GAuB9B;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE;QACJ,QAAQ,EAAE,eAAe,CAAC,KAAK;KAChC;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;;gBAGR,QAAQ,CAAC;QACf,4BAA4B,EAAE,IAAI,CAAC,4BAA4B,CAAC;QAChE,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;KAC3D,CAAC;oBACU,IAAI,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;GAuB9B;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {styleMap} from \"lit/directives/style-map.js\";\nimport {type ZPopover} from \".\";\nimport {PopoverPosition} from \"../../beans\";\nimport {CSSVarsArguments, getColorTokenArgConfig} from \"../../utils/storybook-utils\";\nimport \"../z-button/index\";\nimport \"../z-icon/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\n/**\n * To be sure the AUTO algorithm finds the right container when calculating the position, set its container's position to `position: relative;`\n */\nconst StoryMeta = {\n title: \"ZPopover\",\n component: \"z-popover\",\n argTypes: {\n \"position\": {\n options: Object.values(PopoverPosition),\n control: {\n type: \"select\",\n },\n },\n \"--z-popover-theme--surface\": getColorTokenArgConfig(),\n \"--z-popover-theme--text\": getColorTokenArgConfig(),\n },\n args: {\n \"--z-popover-theme--surface\": \"var(--color-surface01)\",\n \"--z-popover-theme--text\": \"var(--color-default-text)\",\n },\n} satisfies Meta<ZPopover & CSSVarsArguments<\"--z-popover-theme--surface\" | \"--z-popover-theme--text\">>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZPopover>;\n\nexport const ContextualMenuLike = {\n args: {\n position: PopoverPosition.RIGHT_BOTTOM,\n },\n render: (args) => html`\n <div class=\"popover-container\">\n <z-popover\n style=${styleMap({\n \"--z-popover-theme--surface\": args[\"--z-popover-theme--surface\"],\n \"--z-popover-theme--text\": args[\"--z-popover-theme--text\"],\n })}\n .position=${args.position}\n bind-to=\"#trigger\"\n >\n <div class=\"container\">\n <z-button icon=\"gear\">Impostazioni</z-button>\n </div>\n </z-popover>\n <z-icon\n id=\"trigger\"\n name=\"plus-square-filled\"\n ></z-icon>\n </div>\n <script>\n var iconTrigger = document.querySelector(\"#trigger\");\n var popover = document.querySelector(\"z-popover\");\n iconTrigger.addEventListener(\"click\", () => {\n if (popover.open) {\n popover.open = false;\n } else {\n popover.open = true;\n }\n });\n </script>\n `,\n} satisfies Story;\n\nexport const TooltipLike = {\n args: {\n position: PopoverPosition.RIGHT,\n },\n render: (args) => html`\n <div class=\"popover-container popover-container-tooltip\">\n <z-popover\n style=${styleMap({\n \"--z-popover-theme--surface\": args[\"--z-popover-theme--surface\"],\n \"--z-popover-theme--text\": args[\"--z-popover-theme--text\"],\n })}\n .position=${args.position}\n center=\"true\"\n show-arrow=\"true\"\n bind-to=\"#trigger\"\n >\n <div class=\"container\">\n <z-button icon=\"gear\">Impostazioni</z-button>\n </div>\n </z-popover>\n <z-icon\n id=\"trigger\"\n name=\"plus-square-filled\"\n ></z-icon>\n </div>\n <script>\n document.querySelector(\"#trigger\").addEventListener(\"click\", () => {\n if (document.querySelector(\"z-popover\").open) {\n document.querySelector(\"z-popover\").open = false;\n } else {\n document.querySelector(\"z-popover\").open = true;\n }\n });\n </script>\n `,\n} satisfies Story;\n"]}
|