@zanichelli/albe-web-components 17.3.0-RC1 → 18.0.0
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/CHANGELOG.md +2 -0
- package/dist/cjs/{index-a6593d82.js → index-0cb5e57a.js} +2 -2
- package/dist/cjs/{index-a6593d82.js.map → index-0cb5e57a.js.map} +1 -1
- package/dist/cjs/{index-4e2d222e.js → index-1c3f7a64.js} +2 -2
- package/dist/cjs/{index-4e2d222e.js.map → index-1c3f7a64.js.map} +1 -1
- package/dist/cjs/{index-117cd3b0.js → index-24b23a97.js} +5 -5
- package/dist/cjs/{index-117cd3b0.js.map → index-24b23a97.js.map} +1 -1
- package/dist/cjs/{index-7191c0cc.js → index-41d3dc9e.js} +2 -2
- package/dist/cjs/{index-7191c0cc.js.map → index-41d3dc9e.js.map} +1 -1
- package/dist/cjs/{index-9b8b105e.js → index-48540995.js} +3 -3
- package/dist/cjs/{index-9b8b105e.js.map → index-48540995.js.map} +1 -1
- package/dist/cjs/{index-a465bca8.js → index-4f18c0e2.js} +1 -6
- package/{www/build/p-2b309f57.js.map → dist/cjs/index-4f18c0e2.js.map} +1 -1
- package/dist/cjs/{index-d6c4fda2.js → index-f9fe3768.js} +3 -3
- package/dist/cjs/{index-d6c4fda2.js.map → index-f9fe3768.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -8
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-873dd0ae.js → utils-67ea6e35.js} +2 -2
- package/dist/cjs/{utils-873dd0ae.js.map → utils-67ea6e35.js.map} +1 -1
- package/dist/cjs/{utils-ee8e5b38.js → utils-a6d8a0b7.js} +2 -2
- package/dist/cjs/{utils-ee8e5b38.js.map → utils-a6d8a0b7.js.map} +1 -1
- package/dist/cjs/web-components-library.cjs.js +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-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
- package/dist/cjs/z-anchor-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header_12.cjs.entry.js +19 -19
- 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-avatar.cjs.entry.js +3 -3
- package/dist/cjs/z-book-card-app.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-book-card.cjs.entry.js +44 -90
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +5 -5
- 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 +2 -2
- package/dist/cjs/z-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +3 -3
- package/dist/cjs/z-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +6 -6
- 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-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js.map +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/cjs/z-ghost-loading.cjs.entry.js.map +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +2 -2
- package/dist/cjs/z-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-list.cjs.entry.js +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 +4 -4
- 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 +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-range-picker.cjs.entry.js +5 -5
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +4 -4
- 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-slideshow.cjs.entry.js +2 -2
- 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 +9 -9
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
- 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-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tr.cjs.entry.js +5 -5
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +0 -5
- package/dist/collection/beans/index.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/book-card/z-book-card/index.js +72 -267
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
- package/dist/collection/components/book-card/z-book-card/index.stories.js +100 -106
- package/dist/collection/components/book-card/z-book-card/index.stories.js.map +1 -1
- package/dist/collection/components/book-card/z-book-card/styles.css +76 -140
- package/dist/collection/components/book-card/z-book-card-app/index.js +1 -1
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js +2 -2
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +1 -1
- package/dist/collection/components/date-picker/z-range-picker/index.js +3 -3
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +1 -14
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js.map +1 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +1 -1
- package/dist/collection/components/list/z-list-element/index.js +1 -1
- package/dist/collection/components/list/z-list-element/styles.css +6 -5
- package/dist/collection/components/list/z-list-group/index.js +2 -2
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-accordion/styles.css +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/styles.css +3 -2
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-app-header/styles.css +1 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-breadcrumb/index.stories.js +1 -1
- package/dist/collection/components/z-breadcrumb/index.stories.js.map +1 -1
- package/dist/collection/components/z-breadcrumb/styles.css +2 -0
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-button-sort/styles.css +5 -5
- package/dist/collection/components/z-card/index.stories.js +2 -2
- package/dist/collection/components/z-card/index.stories.js.map +1 -1
- package/dist/collection/components/z-card/styles.css +1 -2
- 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-chip/index.js +2 -2
- package/dist/collection/components/z-chip/styles.css +4 -8
- package/dist/collection/components/z-combobox/index.js +3 -3
- package/dist/collection/components/z-combobox/index.js.map +1 -1
- package/dist/collection/components/z-combobox/styles.css +35 -18
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/styles.css +3 -3
- package/dist/collection/components/z-icon/index.js +1 -1
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -1
- package/dist/collection/components/z-input/index.js +1 -1
- package/dist/collection/components/z-input/styles.css +9 -6
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-input-message/styles.css +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +7 -7
- package/dist/collection/components/z-modal/index.js.map +1 -1
- package/dist/collection/components/z-modal/index.stories.js +1 -1
- package/dist/collection/components/z-modal/index.stories.js.map +1 -1
- package/dist/collection/components/z-modal/styles.css +5 -6
- package/dist/collection/components/z-navigation-tabs/index.js +2 -2
- package/dist/collection/components/z-navigation-tabs/styles.css +1 -1
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-notification/styles.css +6 -6
- package/dist/collection/components/z-offcanvas/index.js +1 -1
- package/dist/collection/components/z-pagination/styles.css +1 -1
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-popover/index.stories.js +2 -1
- package/dist/collection/components/z-popover/index.stories.js.map +1 -1
- package/dist/collection/components/z-searchbar/index.js +1 -1
- package/dist/collection/components/z-section-title/index.js +1 -1
- package/dist/collection/components/z-select/index.js +1 -1
- package/dist/collection/components/z-select/styles.css +14 -8
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-stepper/index.js +1 -1
- package/dist/collection/components/z-stepper/index.stories.js +42 -12
- package/dist/collection/components/z-stepper/index.stories.js.map +1 -1
- package/dist/collection/components/z-stepper/styles.css +1 -1
- package/dist/collection/components/z-stepper-item/index.js +1 -1
- package/dist/collection/components/z-stepper-item/styles.css +6 -6
- package/dist/collection/components/z-tag/index.js +2 -2
- package/dist/collection/components/z-toast-notification/index.js +1 -1
- package/dist/collection/components/z-toast-notification/styles.css +5 -5
- package/dist/collection/components/z-toast-notification-list/index.js +1 -1
- package/dist/collection/components/z-toggle-button/index.js +2 -2
- package/dist/collection/components/z-toggle-button/styles.css +1 -1
- package/dist/collection/components/z-toggle-switch/index.js +3 -3
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +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-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/index.js +1 -1
- package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -2
- package/dist/collection/snowflakes/myz/z-otp/styles.css +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +2 -2
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +2 -2
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index14.js +2 -2
- package/dist/components/index14.js.map +1 -1
- package/dist/components/index15.js +2 -2
- package/dist/components/index16.js +5 -5
- package/dist/components/index16.js.map +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/index2.js +1 -6
- package/dist/components/index2.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index22.js +1 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index24.js +1 -1
- package/dist/components/index25.js +2 -2
- package/dist/components/index3.js +2 -2
- package/dist/components/index3.js.map +1 -1
- package/dist/components/index5.js +3 -3
- package/dist/components/index5.js.map +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index7.js +2 -2
- package/dist/components/index8.js +2 -2
- package/dist/components/index8.js.map +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/z-accordion.js +3 -3
- package/dist/components/z-accordion.js.map +1 -1
- package/dist/components/z-anchor-navigation.js +2 -2
- package/dist/components/z-anchor-navigation.js.map +1 -1
- package/dist/components/z-app-header-deprecated.js +1 -1
- package/dist/components/z-app-header.js +2 -2
- package/dist/components/z-app-header.js.map +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +2 -2
- package/dist/components/z-book-card-app.js +1 -1
- package/dist/components/z-book-card-deprecated.js +1 -1
- package/dist/components/z-book-card.js +53 -117
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-breadcrumb.js +3 -3
- package/dist/components/z-breadcrumb.js.map +1 -1
- package/dist/components/z-button-sort.js +2 -2
- package/dist/components/z-button-sort.js.map +1 -1
- package/dist/components/z-card.js +1 -1
- package/dist/components/z-card.js.map +1 -1
- package/dist/components/z-carousel.js +2 -2
- package/dist/components/z-carousel.js.map +1 -1
- package/dist/components/z-combobox.js +16 -22
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +2 -2
- package/dist/components/z-date-picker.js +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-deprecated.js +1 -1
- package/dist/components/z-menu-section-deprecated.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-myz-card-alert.js +2 -2
- package/dist/components/z-myz-card-alert.js.map +1 -1
- package/dist/components/z-myz-card-dictionary.js +1 -1
- package/dist/components/z-myz-card-footer-sections.js +1 -1
- package/dist/components/z-myz-card-footer.js +1 -1
- package/dist/components/z-myz-card-icon.js +1 -1
- package/dist/components/z-myz-card-info.js +2 -2
- 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-navigation-tabs.js +3 -3
- package/dist/components/z-navigation-tabs.js.map +1 -1
- package/dist/components/z-notification.js +2 -2
- package/dist/components/z-notification.js.map +1 -1
- package/dist/components/z-otp.js +3 -3
- 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-range-picker.js +3 -3
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +2 -2
- package/dist/components/z-select.js.map +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-stepper-item.js +2 -2
- package/dist/components/z-stepper-item.js.map +1 -1
- package/dist/components/z-stepper.js +2 -2
- package/dist/components/z-stepper.js.map +1 -1
- package/dist/components/z-table.js +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +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.js +2 -2
- package/dist/components/z-toast-notification.js.map +1 -1
- package/dist/components/z-toggle-button.js +3 -3
- package/dist/components/z-toggle-button.js.map +1 -1
- package/dist/components/z-toggle-switch.js +3 -3
- package/dist/components/z-tooltip.js +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/docs/themes/index.stories.js +7 -15
- package/dist/docs/themes/index.stories.js.map +1 -1
- package/dist/esm/{index-5dff449e.js → index-0ebe53c2.js} +2 -2
- package/dist/esm/{index-5dff449e.js.map → index-0ebe53c2.js.map} +1 -1
- package/dist/esm/{index-678ea09c.js → index-7ff7476c.js} +5 -5
- package/dist/esm/{index-678ea09c.js.map → index-7ff7476c.js.map} +1 -1
- package/dist/esm/{index-04335eea.js → index-8965837f.js} +2 -2
- package/dist/esm/{index-04335eea.js.map → index-8965837f.js.map} +1 -1
- package/dist/esm/{index-9adfcd0d.js → index-dfd97928.js} +2 -2
- package/dist/esm/{index-9adfcd0d.js.map → index-dfd97928.js.map} +1 -1
- package/dist/esm/{index-dac83244.js → index-f75609c5.js} +3 -3
- package/dist/esm/{index-dac83244.js.map → index-f75609c5.js.map} +1 -1
- package/dist/esm/{index-5c567adb.js → index-f87879d9.js} +3 -3
- package/dist/esm/{index-5c567adb.js.map → index-f87879d9.js.map} +1 -1
- package/dist/esm/{index-c9fd4a10.js → index-fe87283d.js} +2 -7
- package/dist/esm/index-fe87283d.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-1a6a53d2.js → utils-ae56fbe5.js} +2 -2
- package/dist/esm/{utils-1a6a53d2.js.map → utils-ae56fbe5.js.map} +1 -1
- package/dist/esm/{utils-cd97a95b.js → utils-c7062cf7.js} +2 -2
- package/dist/esm/{utils-cd97a95b.js.map → utils-c7062cf7.js.map} +1 -1
- package/dist/esm/web-components-library.js +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-alert.entry.js.map +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +3 -3
- package/dist/esm/z-anchor-navigation.entry.js.map +1 -1
- package/dist/esm/z-app-header-deprecated.entry.js +2 -2
- package/dist/esm/z-app-header_12.entry.js +19 -19
- 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-avatar.entry.js +3 -3
- package/dist/esm/z-book-card-app.entry.js +2 -2
- package/dist/esm/z-book-card-deprecated.entry.js +3 -3
- package/dist/esm/z-book-card.entry.js +45 -91
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-breadcrumb.entry.js +5 -5
- 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 +2 -2
- package/dist/esm/z-card.entry.js.map +1 -1
- package/dist/esm/z-carousel.entry.js +3 -3
- package/dist/esm/z-carousel.entry.js.map +1 -1
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-chip.entry.js.map +1 -1
- package/dist/esm/z-combobox.entry.js +6 -6
- package/dist/esm/z-combobox.entry.js.map +1 -1
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-date-picker.entry.js +3 -3
- package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
- package/dist/esm/z-dragdrop-area_2.entry.js.map +1 -1
- package/dist/esm/z-file-upload.entry.js +1 -1
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js.map +1 -1
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section-deprecated.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +2 -2
- package/dist/esm/z-menu.entry.js +2 -2
- package/dist/esm/z-myz-card-alert.entry.js +3 -3
- package/dist/esm/z-myz-card-alert.entry.js.map +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-info.entry.js.map +1 -1
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +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 +4 -4
- 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 +2 -2
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-range-picker.entry.js +5 -5
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +4 -4
- 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-slideshow.entry.js +2 -2
- 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 +9 -9
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +3 -3
- 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-tooltip.entry.js +2 -2
- package/dist/esm/z-tr.entry.js +5 -5
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/beans/index.d.ts +0 -12
- package/dist/types/components/book-card/z-book-card/index.d.ts +28 -42
- package/dist/types/components/book-card/z-book-card/index.stories.d.ts +35 -32
- package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +1 -1
- package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +1 -10
- package/dist/types/components/z-breadcrumb/index.stories.d.ts +1 -1
- package/dist/types/components/z-card/index.stories.d.ts +1 -1
- package/dist/types/components/z-modal/index.d.ts +3 -3
- package/dist/types/components/z-popover/index.stories.d.ts +5 -2
- package/dist/types/components/z-stepper/index.stories.d.ts +3 -0
- package/dist/types/components.d.ts +57 -76
- package/dist/types/home/runner/work/design-system/design-system/.stencil/docs/themes/index.stories.d.ts +1 -12
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/index.esm.js.map +1 -1
- package/{www/build/p-b22d3c7d.js → dist/web-components-library/p-00e88046.js} +2 -2
- package/dist/web-components-library/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
- package/dist/web-components-library/{p-7b375bca.js → p-0cb113f9.js} +2 -2
- package/{www/build/p-c3c99202.js → dist/web-components-library/p-0d9f1574.js} +2 -2
- package/dist/web-components-library/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
- package/dist/web-components-library/p-1bbf185c.js +2 -0
- package/dist/web-components-library/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
- package/{www/build/p-5b6dd467.entry.js → dist/web-components-library/p-1cbc1b08.entry.js} +2 -2
- package/dist/web-components-library/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
- package/dist/web-components-library/p-1ece11f1.entry.js +2 -0
- package/dist/web-components-library/p-1ece11f1.entry.js.map +1 -0
- package/dist/web-components-library/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
- package/{www/build/p-2dde9b84.entry.js.map → dist/web-components-library/p-2467913e.entry.js.map} +1 -1
- package/dist/web-components-library/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
- package/dist/web-components-library/p-28c972c6.entry.js +2 -0
- package/dist/web-components-library/p-301b56f1.entry.js +2 -0
- package/dist/web-components-library/p-301b56f1.entry.js.map +1 -0
- package/dist/web-components-library/p-30677b5c.entry.js +2 -0
- package/dist/web-components-library/p-30677b5c.entry.js.map +1 -0
- package/{www/build/p-31c5b39d.entry.js → dist/web-components-library/p-37a34984.entry.js} +2 -2
- package/dist/web-components-library/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
- package/dist/web-components-library/p-3a42612f.entry.js +2 -0
- package/dist/web-components-library/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
- package/dist/web-components-library/p-431f5871.js +2 -0
- package/{www/build/p-6230c432.entry.js → dist/web-components-library/p-4de706ad.entry.js} +2 -2
- package/dist/web-components-library/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
- package/dist/web-components-library/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
- package/{www/build/p-c7df6a63.entry.js → dist/web-components-library/p-5a24e268.entry.js} +2 -2
- package/dist/web-components-library/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
- package/dist/web-components-library/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
- package/dist/web-components-library/p-61a83529.entry.js +2 -0
- package/dist/web-components-library/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
- package/dist/web-components-library/p-6a573d57.entry.js +2 -0
- package/dist/web-components-library/p-6a573d57.entry.js.map +1 -0
- package/dist/web-components-library/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
- package/dist/web-components-library/p-7b13eeff.entry.js +2 -0
- package/dist/web-components-library/p-7b13eeff.entry.js.map +1 -0
- package/dist/web-components-library/p-7ce5ca87.entry.js +2 -0
- package/dist/web-components-library/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
- package/dist/web-components-library/p-7df942c9.entry.js +2 -0
- package/dist/web-components-library/p-7df942c9.entry.js.map +1 -0
- package/{www/build/p-c2af9a71.entry.js → dist/web-components-library/p-816fd6dc.entry.js} +2 -2
- package/dist/web-components-library/p-838b298b.entry.js +2 -0
- package/dist/web-components-library/p-838b298b.entry.js.map +1 -0
- package/dist/web-components-library/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
- package/dist/web-components-library/p-8d043fc0.entry.js +7 -0
- package/dist/web-components-library/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
- package/dist/web-components-library/p-8eb94125.entry.js +2 -0
- package/{www/build/p-8e544914.entry.js.map → dist/web-components-library/p-8eb94125.entry.js.map} +1 -1
- package/dist/web-components-library/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
- package/{www/build/p-d29f9574.entry.js.map → dist/web-components-library/p-8fa23b47.entry.js.map} +1 -1
- package/dist/web-components-library/p-8fdf9453.entry.js +2 -0
- package/dist/web-components-library/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
- package/{www/build/p-29a297ed.entry.js → dist/web-components-library/p-996446e2.entry.js} +2 -2
- package/dist/web-components-library/p-996446e2.entry.js.map +1 -0
- package/{www/build/p-96be6eae.entry.js → dist/web-components-library/p-99a6c92f.entry.js} +2 -2
- package/dist/web-components-library/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
- package/dist/web-components-library/p-9bad1dbc.entry.js +2 -0
- package/dist/web-components-library/p-9bad1dbc.entry.js.map +1 -0
- package/dist/web-components-library/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
- package/{www/build/p-6337614a.entry.js.map → dist/web-components-library/p-9fcc8e5d.entry.js.map} +1 -1
- package/dist/web-components-library/p-aaab7f44.entry.js +2 -0
- package/dist/web-components-library/p-abc08ea3.entry.js +2 -0
- package/{www/build/p-475a2ba2.entry.js → dist/web-components-library/p-abd3b914.entry.js} +2 -2
- package/dist/web-components-library/p-acee5500.entry.js +2 -0
- package/dist/web-components-library/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
- package/{www/build/p-0d60cc5e.entry.js.map → dist/web-components-library/p-adb5caab.entry.js.map} +1 -1
- package/dist/web-components-library/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
- package/{www/build/p-cc775eee.entry.js → dist/web-components-library/p-b1cbb20d.entry.js} +2 -2
- package/dist/web-components-library/p-b4018dab.entry.js +2 -0
- package/dist/web-components-library/p-b4018dab.entry.js.map +1 -0
- package/dist/web-components-library/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
- package/dist/web-components-library/{p-a1b6184f.js → p-bc408f39.js} +2 -2
- package/dist/web-components-library/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
- package/dist/web-components-library/p-bc71a934.entry.js +2 -0
- package/dist/web-components-library/p-bc71a934.entry.js.map +1 -0
- package/dist/web-components-library/p-cfbef2c3.entry.js +2 -0
- package/dist/web-components-library/p-d20df54b.entry.js +2 -0
- package/dist/web-components-library/p-d20df54b.entry.js.map +1 -0
- package/{www/build/p-bd5b0bce.entry.js → dist/web-components-library/p-d8d7db0e.entry.js} +2 -2
- package/dist/web-components-library/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
- package/{www/build/p-8e6760d9.entry.js → dist/web-components-library/p-df97df54.entry.js} +2 -2
- package/dist/web-components-library/p-df9f25a1.entry.js +2 -0
- package/dist/web-components-library/p-df9f25a1.entry.js.map +1 -0
- package/dist/web-components-library/p-dfcf9936.js +2 -0
- package/dist/web-components-library/p-dfcf9936.js.map +1 -0
- package/dist/web-components-library/p-e5ce98e0.entry.js +2 -0
- package/dist/web-components-library/p-e5ce98e0.entry.js.map +1 -0
- package/dist/web-components-library/p-e7eedf8b.entry.js +2 -0
- package/dist/web-components-library/p-e7eedf8b.entry.js.map +1 -0
- package/dist/web-components-library/p-ec8f8ac8.entry.js +2 -0
- package/dist/web-components-library/p-ec8f8ac8.entry.js.map +1 -0
- package/dist/web-components-library/{p-e087f05f.js → p-f3145212.js} +2 -2
- package/dist/web-components-library/p-f73d8a87.entry.js +2 -0
- package/dist/web-components-library/p-f73d8a87.entry.js.map +1 -0
- package/dist/web-components-library/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
- package/dist/web-components-library/p-f8d49a59.entry.js +2 -0
- package/dist/web-components-library/p-f9f98130.entry.js +2 -0
- package/dist/web-components-library/p-f9f98130.entry.js.map +1 -0
- package/dist/web-components-library/p-fad6ea09.entry.js +2 -0
- package/dist/web-components-library/p-fad6ea09.entry.js.map +1 -0
- package/dist/web-components-library/web-components-library.css +142 -175
- 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/package.json +2 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/index.esm.js.map +1 -1
- package/{dist/web-components-library/p-b22d3c7d.js → www/build/p-00e88046.js} +2 -2
- package/www/build/{p-7ef2c4ce.entry.js → p-0bf8d989.entry.js} +2 -2
- package/www/build/{p-7b375bca.js → p-0cb113f9.js} +2 -2
- package/{dist/web-components-library/p-c3c99202.js → www/build/p-0d9f1574.js} +2 -2
- package/www/build/{p-fca17517.entry.js → p-121f2960.entry.js} +2 -2
- package/www/build/p-1bbf185c.js +2 -0
- package/www/build/{p-7f0cbe57.entry.js → p-1c51153b.entry.js} +2 -2
- package/{dist/web-components-library/p-5b6dd467.entry.js → www/build/p-1cbc1b08.entry.js} +2 -2
- package/www/build/{p-c7f8b628.entry.js → p-1e25d225.entry.js} +2 -2
- package/www/build/p-1ece11f1.entry.js +2 -0
- package/www/build/p-1ece11f1.entry.js.map +1 -0
- package/www/build/{p-2dde9b84.entry.js → p-2467913e.entry.js} +2 -2
- package/{dist/web-components-library/p-2dde9b84.entry.js.map → www/build/p-2467913e.entry.js.map} +1 -1
- package/www/build/{p-ad74941b.entry.js → p-25be56d1.entry.js} +2 -2
- package/www/build/p-28c972c6.entry.js +2 -0
- package/www/build/p-301b56f1.entry.js +2 -0
- package/www/build/p-301b56f1.entry.js.map +1 -0
- package/www/build/p-30677b5c.entry.js +2 -0
- package/www/build/p-30677b5c.entry.js.map +1 -0
- package/{dist/web-components-library/p-31c5b39d.entry.js → www/build/p-37a34984.entry.js} +2 -2
- package/www/build/{p-195c19a5.entry.js → p-390bbfd4.entry.js} +2 -2
- package/www/build/p-3a42612f.entry.js +2 -0
- package/www/build/{p-4f33d4f4.entry.js → p-3d8cdd34.entry.js} +2 -2
- package/www/build/p-431f5871.js +2 -0
- package/{dist/web-components-library/p-6230c432.entry.js → www/build/p-4de706ad.entry.js} +2 -2
- package/www/build/{p-f49171aa.entry.js → p-53a2995c.entry.js} +2 -2
- package/www/build/{p-22d56699.entry.js → p-55fad9b1.entry.js} +2 -2
- package/{dist/web-components-library/p-c7df6a63.entry.js → www/build/p-5a24e268.entry.js} +2 -2
- package/www/build/{p-0a149188.entry.js → p-5d7bbd82.entry.js} +2 -2
- package/www/build/{p-42559870.entry.js → p-5ed87dec.entry.js} +2 -2
- package/www/build/p-61a83529.entry.js +2 -0
- package/www/build/{p-9187ce36.entry.js → p-6655e19b.entry.js} +2 -2
- package/www/build/p-6a573d57.entry.js +2 -0
- package/www/build/p-6a573d57.entry.js.map +1 -0
- package/www/build/{p-bbdb67db.entry.js → p-7314c74b.entry.js} +2 -2
- package/www/build/p-7b13eeff.entry.js +2 -0
- package/www/build/p-7b13eeff.entry.js.map +1 -0
- package/www/build/p-7ce5ca87.entry.js +2 -0
- package/www/build/{p-6f5f2d56.entry.js → p-7d2ecca2.entry.js} +2 -2
- package/www/build/p-7df942c9.entry.js +2 -0
- package/www/build/p-7df942c9.entry.js.map +1 -0
- package/{dist/web-components-library/p-c2af9a71.entry.js → www/build/p-816fd6dc.entry.js} +2 -2
- package/www/build/p-838b298b.entry.js +2 -0
- package/www/build/p-838b298b.entry.js.map +1 -0
- package/www/build/{p-2dcf53b3.entry.js → p-8c5dcab3.entry.js} +2 -2
- package/www/build/p-8d043fc0.entry.js +7 -0
- package/www/build/{p-2c5f77f2.entry.js.map → p-8d043fc0.entry.js.map} +1 -1
- package/www/build/p-8eb94125.entry.js +2 -0
- package/{dist/web-components-library/p-8e544914.entry.js.map → www/build/p-8eb94125.entry.js.map} +1 -1
- package/www/build/{p-d29f9574.entry.js → p-8fa23b47.entry.js} +2 -2
- package/{dist/web-components-library/p-d29f9574.entry.js.map → www/build/p-8fa23b47.entry.js.map} +1 -1
- package/www/build/p-8fdf9453.entry.js +2 -0
- package/www/build/{p-3243015c.entry.js.map → p-8fdf9453.entry.js.map} +1 -1
- package/{dist/web-components-library/p-29a297ed.entry.js → www/build/p-996446e2.entry.js} +2 -2
- package/www/build/p-996446e2.entry.js.map +1 -0
- package/{dist/web-components-library/p-96be6eae.entry.js → www/build/p-99a6c92f.entry.js} +2 -2
- package/www/build/{p-cdc51108.entry.js → p-9b2e5033.entry.js} +3 -3
- package/www/build/p-9bad1dbc.entry.js +2 -0
- package/www/build/p-9bad1dbc.entry.js.map +1 -0
- package/www/build/{p-6337614a.entry.js → p-9fcc8e5d.entry.js} +2 -2
- package/{dist/web-components-library/p-6337614a.entry.js.map → www/build/p-9fcc8e5d.entry.js.map} +1 -1
- package/www/build/{p-5fcad73f.css → p-a69c66e4.css} +142 -175
- package/www/build/p-aaab7f44.entry.js +2 -0
- package/www/build/p-abc08ea3.entry.js +2 -0
- package/{dist/web-components-library/p-475a2ba2.entry.js → www/build/p-abd3b914.entry.js} +2 -2
- package/www/build/p-acee5500.entry.js +2 -0
- package/www/build/{p-0d60cc5e.entry.js → p-adb5caab.entry.js} +2 -2
- package/{dist/web-components-library/p-0d60cc5e.entry.js.map → www/build/p-adb5caab.entry.js.map} +1 -1
- package/www/build/{p-f9fb6005.entry.js → p-ae1b5e23.entry.js} +2 -2
- package/{dist/web-components-library/p-cc775eee.entry.js → www/build/p-b1cbb20d.entry.js} +2 -2
- package/www/build/p-b4018dab.entry.js +2 -0
- package/www/build/p-b4018dab.entry.js.map +1 -0
- package/www/build/{p-7091a1fc.entry.js → p-b94e0513.entry.js} +2 -2
- package/www/build/{p-a1b6184f.js → p-bc408f39.js} +2 -2
- package/www/build/{p-b6de174b.entry.js → p-bc57b3c3.entry.js} +2 -2
- package/www/build/p-bc71a934.entry.js +2 -0
- package/www/build/p-bc71a934.entry.js.map +1 -0
- package/www/build/p-cfbef2c3.entry.js +2 -0
- package/www/build/p-d20df54b.entry.js +2 -0
- package/www/build/p-d20df54b.entry.js.map +1 -0
- package/{dist/web-components-library/p-bd5b0bce.entry.js → www/build/p-d8d7db0e.entry.js} +2 -2
- package/www/build/{p-30170218.entry.js → p-d9fdc804.entry.js} +2 -2
- package/{dist/web-components-library/p-8e6760d9.entry.js → www/build/p-df97df54.entry.js} +2 -2
- package/www/build/p-df9f25a1.entry.js +2 -0
- package/www/build/p-df9f25a1.entry.js.map +1 -0
- package/www/build/p-dfcf9936.js +2 -0
- package/www/build/p-dfcf9936.js.map +1 -0
- package/www/build/p-e5ce98e0.entry.js +2 -0
- package/www/build/p-e5ce98e0.entry.js.map +1 -0
- package/www/build/p-e7eedf8b.entry.js +2 -0
- package/www/build/p-e7eedf8b.entry.js.map +1 -0
- package/www/build/p-e98541af.js +2 -0
- package/www/build/p-ec8f8ac8.entry.js +2 -0
- package/www/build/p-ec8f8ac8.entry.js.map +1 -0
- package/www/build/{p-e087f05f.js → p-f3145212.js} +2 -2
- package/www/build/p-f73d8a87.entry.js +2 -0
- package/www/build/p-f73d8a87.entry.js.map +1 -0
- package/www/build/{p-4c462e7f.js → p-f7f2beae.js} +2 -2
- package/www/build/p-f8d49a59.entry.js +2 -0
- package/www/build/p-f9f98130.entry.js +2 -0
- package/www/build/p-f9f98130.entry.js.map +1 -0
- package/www/build/p-fad6ea09.entry.js +2 -0
- package/www/build/p-fad6ea09.entry.js.map +1 -0
- package/www/build/web-components-library.css +142 -175
- 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 +251 -250
- package/dist/cjs/index-a465bca8.js.map +0 -1
- package/dist/esm/index-c9fd4a10.js.map +0 -1
- package/dist/web-components-library/p-011fa0c8.entry.js +0 -2
- package/dist/web-components-library/p-011fa0c8.entry.js.map +0 -1
- package/dist/web-components-library/p-035807e3.entry.js +0 -2
- package/dist/web-components-library/p-035807e3.entry.js.map +0 -1
- package/dist/web-components-library/p-08d8f935.entry.js +0 -2
- package/dist/web-components-library/p-0e3ec0b2.entry.js +0 -2
- package/dist/web-components-library/p-0e3ec0b2.entry.js.map +0 -1
- package/dist/web-components-library/p-0fce007b.entry.js +0 -2
- package/dist/web-components-library/p-20e4a601.entry.js +0 -2
- package/dist/web-components-library/p-20e4a601.entry.js.map +0 -1
- package/dist/web-components-library/p-29a297ed.entry.js.map +0 -1
- package/dist/web-components-library/p-2aeb2a94.entry.js +0 -2
- package/dist/web-components-library/p-2b309f57.js +0 -2
- package/dist/web-components-library/p-2b309f57.js.map +0 -1
- package/dist/web-components-library/p-2c5f77f2.entry.js +0 -7
- package/dist/web-components-library/p-3243015c.entry.js +0 -2
- package/dist/web-components-library/p-384baa02.entry.js +0 -2
- package/dist/web-components-library/p-384baa02.entry.js.map +0 -1
- package/dist/web-components-library/p-3a6f069c.entry.js +0 -2
- package/dist/web-components-library/p-3a6f069c.entry.js.map +0 -1
- package/dist/web-components-library/p-4df7de6b.entry.js +0 -2
- package/dist/web-components-library/p-4df7de6b.entry.js.map +0 -1
- package/dist/web-components-library/p-5f04d9eb.entry.js +0 -2
- package/dist/web-components-library/p-5f04d9eb.entry.js.map +0 -1
- package/dist/web-components-library/p-6e1ba2f0.entry.js +0 -2
- package/dist/web-components-library/p-7095262b.entry.js +0 -2
- package/dist/web-components-library/p-7095262b.entry.js.map +0 -1
- package/dist/web-components-library/p-7779ebce.entry.js +0 -2
- package/dist/web-components-library/p-78626225.entry.js +0 -2
- package/dist/web-components-library/p-78626225.entry.js.map +0 -1
- package/dist/web-components-library/p-898fcd66.entry.js +0 -2
- package/dist/web-components-library/p-898fcd66.entry.js.map +0 -1
- package/dist/web-components-library/p-8e544914.entry.js +0 -2
- package/dist/web-components-library/p-9ec778dc.entry.js +0 -2
- package/dist/web-components-library/p-9ec778dc.entry.js.map +0 -1
- package/dist/web-components-library/p-a4ddeb5f.entry.js +0 -2
- package/dist/web-components-library/p-b38be247.entry.js +0 -2
- package/dist/web-components-library/p-b539c9be.entry.js +0 -2
- package/dist/web-components-library/p-b659f139.entry.js +0 -2
- package/dist/web-components-library/p-b659f139.entry.js.map +0 -1
- package/dist/web-components-library/p-b7cf2442.entry.js +0 -2
- package/dist/web-components-library/p-b7cf2442.entry.js.map +0 -1
- package/dist/web-components-library/p-bbd492d3.entry.js +0 -2
- package/dist/web-components-library/p-bbd492d3.entry.js.map +0 -1
- package/dist/web-components-library/p-c13ef624.js +0 -2
- package/dist/web-components-library/p-cb8aec27.entry.js +0 -2
- package/dist/web-components-library/p-dbcc4906.entry.js +0 -2
- package/dist/web-components-library/p-dbcc4906.entry.js.map +0 -1
- package/dist/web-components-library/p-ea36d666.entry.js +0 -2
- package/dist/web-components-library/p-ea36d666.entry.js.map +0 -1
- package/dist/web-components-library/p-fb06a5d8.entry.js +0 -2
- package/dist/web-components-library/p-fb06a5d8.entry.js.map +0 -1
- package/dist/web-components-library/p-feb84d36.js +0 -2
- package/www/build/p-011fa0c8.entry.js +0 -2
- package/www/build/p-011fa0c8.entry.js.map +0 -1
- package/www/build/p-035807e3.entry.js +0 -2
- package/www/build/p-035807e3.entry.js.map +0 -1
- package/www/build/p-08d8f935.entry.js +0 -2
- package/www/build/p-0e3ec0b2.entry.js +0 -2
- package/www/build/p-0e3ec0b2.entry.js.map +0 -1
- package/www/build/p-0fce007b.entry.js +0 -2
- package/www/build/p-20e4a601.entry.js +0 -2
- package/www/build/p-20e4a601.entry.js.map +0 -1
- package/www/build/p-29a297ed.entry.js.map +0 -1
- package/www/build/p-2aeb2a94.entry.js +0 -2
- package/www/build/p-2b309f57.js +0 -2
- package/www/build/p-2c5f77f2.entry.js +0 -7
- package/www/build/p-3243015c.entry.js +0 -2
- package/www/build/p-384baa02.entry.js +0 -2
- package/www/build/p-384baa02.entry.js.map +0 -1
- package/www/build/p-3a6f069c.entry.js +0 -2
- package/www/build/p-3a6f069c.entry.js.map +0 -1
- package/www/build/p-4df7de6b.entry.js +0 -2
- package/www/build/p-4df7de6b.entry.js.map +0 -1
- package/www/build/p-5f04d9eb.entry.js +0 -2
- package/www/build/p-5f04d9eb.entry.js.map +0 -1
- package/www/build/p-6e1ba2f0.entry.js +0 -2
- package/www/build/p-7095262b.entry.js +0 -2
- package/www/build/p-7095262b.entry.js.map +0 -1
- package/www/build/p-7779ebce.entry.js +0 -2
- package/www/build/p-78626225.entry.js +0 -2
- package/www/build/p-78626225.entry.js.map +0 -1
- package/www/build/p-898fcd66.entry.js +0 -2
- package/www/build/p-898fcd66.entry.js.map +0 -1
- package/www/build/p-8e544914.entry.js +0 -2
- package/www/build/p-9ec778dc.entry.js +0 -2
- package/www/build/p-9ec778dc.entry.js.map +0 -1
- package/www/build/p-a0155994.js +0 -2
- package/www/build/p-a4ddeb5f.entry.js +0 -2
- package/www/build/p-b38be247.entry.js +0 -2
- package/www/build/p-b539c9be.entry.js +0 -2
- package/www/build/p-b659f139.entry.js +0 -2
- package/www/build/p-b659f139.entry.js.map +0 -1
- package/www/build/p-b7cf2442.entry.js +0 -2
- package/www/build/p-b7cf2442.entry.js.map +0 -1
- package/www/build/p-bbd492d3.entry.js +0 -2
- package/www/build/p-bbd492d3.entry.js.map +0 -1
- package/www/build/p-c13ef624.js +0 -2
- package/www/build/p-cb8aec27.entry.js +0 -2
- package/www/build/p-dbcc4906.entry.js +0 -2
- package/www/build/p-dbcc4906.entry.js.map +0 -1
- package/www/build/p-ea36d666.entry.js +0 -2
- package/www/build/p-ea36d666.entry.js.map +0 -1
- package/www/build/p-fb06a5d8.entry.js +0 -2
- package/www/build/p-fb06a5d8.entry.js.map +0 -1
- package/www/build/p-feb84d36.js +0 -2
- /package/dist/web-components-library/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
- /package/dist/web-components-library/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
- /package/dist/web-components-library/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
- /package/dist/web-components-library/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
- /package/dist/web-components-library/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
- /package/dist/web-components-library/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
- /package/dist/web-components-library/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
- /package/dist/web-components-library/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
- /package/dist/web-components-library/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
- /package/www/build/{p-b22d3c7d.js.map → p-00e88046.js.map} +0 -0
- /package/www/build/{p-7ef2c4ce.entry.js.map → p-0bf8d989.entry.js.map} +0 -0
- /package/www/build/{p-7b375bca.js.map → p-0cb113f9.js.map} +0 -0
- /package/www/build/{p-c3c99202.js.map → p-0d9f1574.js.map} +0 -0
- /package/www/build/{p-fca17517.entry.js.map → p-121f2960.entry.js.map} +0 -0
- /package/www/build/{p-c13ef624.js.map → p-1bbf185c.js.map} +0 -0
- /package/www/build/{p-7f0cbe57.entry.js.map → p-1c51153b.entry.js.map} +0 -0
- /package/www/build/{p-5b6dd467.entry.js.map → p-1cbc1b08.entry.js.map} +0 -0
- /package/www/build/{p-c7f8b628.entry.js.map → p-1e25d225.entry.js.map} +0 -0
- /package/www/build/{p-ad74941b.entry.js.map → p-25be56d1.entry.js.map} +0 -0
- /package/www/build/{p-7779ebce.entry.js.map → p-28c972c6.entry.js.map} +0 -0
- /package/www/build/{p-31c5b39d.entry.js.map → p-37a34984.entry.js.map} +0 -0
- /package/www/build/{p-195c19a5.entry.js.map → p-390bbfd4.entry.js.map} +0 -0
- /package/www/build/{p-0fce007b.entry.js.map → p-3a42612f.entry.js.map} +0 -0
- /package/www/build/{p-4f33d4f4.entry.js.map → p-3d8cdd34.entry.js.map} +0 -0
- /package/www/build/{p-feb84d36.js.map → p-431f5871.js.map} +0 -0
- /package/www/build/{p-6230c432.entry.js.map → p-4de706ad.entry.js.map} +0 -0
- /package/www/build/{p-f49171aa.entry.js.map → p-53a2995c.entry.js.map} +0 -0
- /package/www/build/{p-22d56699.entry.js.map → p-55fad9b1.entry.js.map} +0 -0
- /package/www/build/{p-c7df6a63.entry.js.map → p-5a24e268.entry.js.map} +0 -0
- /package/www/build/{p-0a149188.entry.js.map → p-5d7bbd82.entry.js.map} +0 -0
- /package/www/build/{p-42559870.entry.js.map → p-5ed87dec.entry.js.map} +0 -0
- /package/www/build/{p-2aeb2a94.entry.js.map → p-61a83529.entry.js.map} +0 -0
- /package/www/build/{p-9187ce36.entry.js.map → p-6655e19b.entry.js.map} +0 -0
- /package/www/build/{p-bbdb67db.entry.js.map → p-7314c74b.entry.js.map} +0 -0
- /package/www/build/{p-cb8aec27.entry.js.map → p-7ce5ca87.entry.js.map} +0 -0
- /package/www/build/{p-6f5f2d56.entry.js.map → p-7d2ecca2.entry.js.map} +0 -0
- /package/www/build/{p-c2af9a71.entry.js.map → p-816fd6dc.entry.js.map} +0 -0
- /package/www/build/{p-2dcf53b3.entry.js.map → p-8c5dcab3.entry.js.map} +0 -0
- /package/www/build/{p-96be6eae.entry.js.map → p-99a6c92f.entry.js.map} +0 -0
- /package/www/build/{p-cdc51108.entry.js.map → p-9b2e5033.entry.js.map} +0 -0
- /package/www/build/{p-6e1ba2f0.entry.js.map → p-aaab7f44.entry.js.map} +0 -0
- /package/www/build/{p-a4ddeb5f.entry.js.map → p-abc08ea3.entry.js.map} +0 -0
- /package/www/build/{p-475a2ba2.entry.js.map → p-abd3b914.entry.js.map} +0 -0
- /package/www/build/{p-08d8f935.entry.js.map → p-acee5500.entry.js.map} +0 -0
- /package/www/build/{p-f9fb6005.entry.js.map → p-ae1b5e23.entry.js.map} +0 -0
- /package/www/build/{p-cc775eee.entry.js.map → p-b1cbb20d.entry.js.map} +0 -0
- /package/www/build/{p-7091a1fc.entry.js.map → p-b94e0513.entry.js.map} +0 -0
- /package/www/build/{p-a1b6184f.js.map → p-bc408f39.js.map} +0 -0
- /package/www/build/{p-b6de174b.entry.js.map → p-bc57b3c3.entry.js.map} +0 -0
- /package/www/build/{p-b38be247.entry.js.map → p-cfbef2c3.entry.js.map} +0 -0
- /package/www/build/{p-bd5b0bce.entry.js.map → p-d8d7db0e.entry.js.map} +0 -0
- /package/www/build/{p-30170218.entry.js.map → p-d9fdc804.entry.js.map} +0 -0
- /package/www/build/{p-8e6760d9.entry.js.map → p-df97df54.entry.js.map} +0 -0
- /package/www/build/{p-e087f05f.js.map → p-f3145212.js.map} +0 -0
- /package/www/build/{p-4c462e7f.js.map → p-f7f2beae.js.map} +0 -0
- /package/www/build/{p-b539c9be.entry.js.map → p-f8d49a59.entry.js.map} +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
display: block;
|
|
3
|
+
color: var(--color-form-default-text);
|
|
4
|
+
fill: var(--color-form-default-icon);
|
|
3
5
|
font-family: var(--font-family-sans);
|
|
4
6
|
}
|
|
5
7
|
|
|
@@ -15,7 +17,7 @@
|
|
|
15
17
|
align-items: center;
|
|
16
18
|
justify-content: space-between;
|
|
17
19
|
padding: 0 calc(var(--space-unit) * 1.5);
|
|
18
|
-
border: var(--border-size-small) solid var(--color-surface04);
|
|
20
|
+
border: var(--border-size-small) solid var(--color-form-surface04);
|
|
19
21
|
margin: 0;
|
|
20
22
|
background-color: var(--color-form-background);
|
|
21
23
|
border-radius: var(--border-radius-small);
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
:host > div > .header:hover {
|
|
40
|
-
outline: var(--border-size-medium) solid var(--color-surface04);
|
|
42
|
+
outline: var(--border-size-medium) solid var(--color-form-surface04);
|
|
41
43
|
outline-offset: -2px;
|
|
42
44
|
}
|
|
43
45
|
|
|
@@ -50,7 +52,6 @@
|
|
|
50
52
|
:host > div > .header > p.body-3 {
|
|
51
53
|
padding: var(--space-unit) 0;
|
|
52
54
|
margin: 0;
|
|
53
|
-
color: var(--color-default-text);
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
:host > div > .header > p.body-3 > span {
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
:host > div > .header > z-icon {
|
|
61
|
-
fill: var(--color-default-icon);
|
|
62
|
+
fill: var(--color-form-default-icon);
|
|
62
63
|
transform: rotate(360deg);
|
|
63
64
|
transition: all 200ms linear;
|
|
64
65
|
}
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
:host > div.open > .header {
|
|
73
|
-
border: var(--border-size-small) solid var(--color-
|
|
74
|
+
border: var(--border-size-small) solid var(--color-form-active-primary);
|
|
74
75
|
border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
|
|
75
76
|
}
|
|
76
77
|
|
|
@@ -79,20 +80,20 @@
|
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
:host > div.disabled .header {
|
|
82
|
-
border-color: var(--color-
|
|
83
|
-
fill: var(--color-disabled01);
|
|
83
|
+
border-color: var(--color-form-disabled03);
|
|
84
|
+
fill: var(--color-form-disabled01-icon);
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
:host > div.disabled .header > p.body-3 {
|
|
87
|
-
color: var(--color-disabled03);
|
|
88
|
+
color: var(--color-form-disabled03);
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
:host > div.disabled .header > z-icon:last-child {
|
|
91
|
-
fill: var(--color-disabled01);
|
|
92
|
+
fill: var(--color-form-disabled01-icon);
|
|
92
93
|
}
|
|
93
94
|
|
|
94
95
|
:host > div.open > .header > z-icon {
|
|
95
|
-
fill: var(--color-default-icon);
|
|
96
|
+
fill: var(--color-form-default-icon);
|
|
96
97
|
transform: rotate(180deg);
|
|
97
98
|
transition: all 200ms linear;
|
|
98
99
|
}
|
|
@@ -101,10 +102,15 @@
|
|
|
101
102
|
position: relative;
|
|
102
103
|
z-index: 12;
|
|
103
104
|
padding: var(--space-unit) calc(var(--space-unit) * 2);
|
|
104
|
-
border: var(--border-size-small) solid var(--
|
|
105
|
+
border: var(--border-size-small) solid var(--color-form-surface03);
|
|
105
106
|
border-top: 0;
|
|
106
107
|
background-color: var(--color-form-background);
|
|
107
108
|
border-radius: 0;
|
|
109
|
+
box-shadow: var(--shadow-2);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:host .open .open-combo-data z-input .input-label {
|
|
113
|
+
color: var(--color-form-default-text);
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
:host > div.open > div.open-combo-data > div > div {
|
|
@@ -124,6 +130,12 @@
|
|
|
124
130
|
margin: 0;
|
|
125
131
|
}
|
|
126
132
|
|
|
133
|
+
:host .open-combo-data z-list-element {
|
|
134
|
+
--background-color-list-element: var(--color-form-background);
|
|
135
|
+
--background-hover-color-list-element: var(--color-form-surface03);
|
|
136
|
+
--background-active-color-list-element: var(--color-form-surface03);
|
|
137
|
+
}
|
|
138
|
+
|
|
127
139
|
::-webkit-scrollbar {
|
|
128
140
|
width: 6px;
|
|
129
141
|
background: linear-gradient(to right, transparent 0 1px, var(--gray200) 1px 5px, transparent 5px 6px);
|
|
@@ -149,14 +161,13 @@
|
|
|
149
161
|
z-index: 1;
|
|
150
162
|
width: 238px;
|
|
151
163
|
margin: 0 calc(var(--space-unit) * 2);
|
|
152
|
-
color: var(--color-
|
|
164
|
+
color: var(--color-form-active-primary);
|
|
153
165
|
}
|
|
154
166
|
|
|
155
167
|
:host > div.open > div.open-combo-data > div > div.search {
|
|
156
168
|
overflow: hidden;
|
|
157
|
-
max-height:
|
|
169
|
+
max-height: none;
|
|
158
170
|
margin-top: 0;
|
|
159
|
-
box-shadow: 1px 1px 4px 2px rgb(217 222 227 / 50%);
|
|
160
171
|
}
|
|
161
172
|
|
|
162
173
|
:host > div.open > div.open-combo-data > div > div.search > ul {
|
|
@@ -165,15 +176,21 @@
|
|
|
165
176
|
padding: var(--space-unit) calc(var(--space-unit) * 2);
|
|
166
177
|
}
|
|
167
178
|
|
|
168
|
-
:host
|
|
179
|
+
:host .open .open-combo-data .search .no-results {
|
|
180
|
+
display: flex;
|
|
181
|
+
align-items: center;
|
|
182
|
+
column-gap: var(--space-unit);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
:host > .open > .open-combo-data .search .close-search {
|
|
169
186
|
display: flex;
|
|
170
187
|
justify-content: center;
|
|
171
188
|
}
|
|
172
189
|
|
|
173
|
-
:host > div.open > div.open-combo-data > div > div.search
|
|
190
|
+
:host > div.open > div.open-combo-data > div > div.search .close-search > a {
|
|
174
191
|
display: inline-block;
|
|
175
192
|
height: 44px;
|
|
176
|
-
color: var(--color-
|
|
193
|
+
color: var(--color-form-active-primary);
|
|
177
194
|
cursor: pointer;
|
|
178
195
|
font-size: 14px;
|
|
179
196
|
font-weight: var(--font-sb);
|
|
@@ -182,7 +199,7 @@
|
|
|
182
199
|
text-transform: uppercase;
|
|
183
200
|
}
|
|
184
201
|
|
|
185
|
-
:host > div.open > div.open-combo-data > div > div.search
|
|
202
|
+
:host > div.open > div.open-combo-data > div > div.search .close-search > a:focus:focus-visible {
|
|
186
203
|
box-shadow: var(--shadow-focus-primary);
|
|
187
204
|
outline: none;
|
|
188
205
|
}
|
|
@@ -35,9 +35,9 @@ export class ZCoverHero {
|
|
|
35
35
|
return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '11ffb259d4b5a22dae6b1a801ca6c89a72c4cc6d' }, this.variant === CoverHeroVariant.STACKED &&
|
|
39
39
|
this.contentPosition === CoverHeroContentPosition.TOP &&
|
|
40
|
-
this.renderContent(), h("div", { key: '
|
|
40
|
+
this.renderContent(), h("div", { key: 'b2e67125f868a827f09169ded6a0389de343f81a', class: "main-container" }, h("div", { key: '95d9a59c065594d013bf50da27ae9925af56cc58', class: "cover-container" }, h("slot", { key: 'eb9e31c65be9bc2f7b74a5c526d1fb606de2fd49', name: "cover" })), h("slot", { key: '58e2b737f877c61bd86c26b28e1e5f03ddea0d17', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
|
|
41
41
|
this.contentPosition === CoverHeroContentPosition.BOTTOM &&
|
|
42
42
|
this.renderContent()));
|
|
43
43
|
}
|
|
@@ -7,7 +7,7 @@ export class ZDivider {
|
|
|
7
7
|
this.orientation = DividerOrientation.HORIZONTAL;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '436edbe3dc08f9a9b103838920c4bd0186fd48b7', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "z-divider"; }
|
|
13
13
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ZGhostLoading {
|
|
3
3
|
render() {
|
|
4
|
-
return h(Host, { key: '
|
|
4
|
+
return h(Host, { key: '3bb2943f271b8c4ba5ac15a19c49d25ff1431611' });
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "z-ghost-loading"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: 100%;
|
|
5
5
|
height: 100%;
|
|
6
|
-
background: var(--color-
|
|
6
|
+
background: var(--color-surface02);
|
|
7
7
|
border-radius: var(--border-radius);
|
|
8
8
|
transform: translate3d(0, 0, 0);
|
|
9
9
|
}
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
animation: progress 1.6s ease-in-out infinite;
|
|
16
16
|
background-image: linear-gradient(
|
|
17
17
|
90deg,
|
|
18
|
-
var(--color-
|
|
18
|
+
var(--color-surface02) 0%,
|
|
19
19
|
var(--color-surface03) 95%,
|
|
20
|
-
var(--color-
|
|
20
|
+
var(--color-surface02) 100%
|
|
21
21
|
);
|
|
22
22
|
content: "";
|
|
23
23
|
filter: blur(6px);
|
|
@@ -15,7 +15,7 @@ export class ZIcon {
|
|
|
15
15
|
return h("polygon", { points: ICONS[this.name] });
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'fdf876a0af1632805ab24af1c593ef5bff78271a', "aria-hidden": "true" }, h("svg", { key: 'fc339ba7c96345b920c370f8476be850332c3eed', viewBox: "0 0 1000 1000", width: this.width, height: this.height, id: this.iconid, fill: this.fill ? `var(--${this.fill})` : "" }, this.selectPathOrPolygon(ICONS[this.name]))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "z-icon"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class ZInfoBox {
|
|
|
11
11
|
this.infoBoxClose.emit({ boxid: this.boxid });
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '7a806511823b922e582c3483a3dc65390be55ae5', id: this.boxid }, h("slot", { key: '28e118a66bccb3ed840144b8c79d8fe438ab9674', name: "content" }), this.isclosable && (h("z-icon", { key: '6b679334c2bd8ed64a3227129d44e2ea75170fe6', name: "multiply", "data-action": "infoBoxClose", onClick: () => this.emitInfoBoxClose() }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "z-info-box"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,7 +47,7 @@ export class ZInfoReveal {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '8e5a375431679fcf9219cbde4270e9fcab1df7c8', open: this.open }, h("button", { key: '97d2fd4aac009ea0616f720dca6ad728620f7186', class: "z-info-reveal-trigger", type: "button", onClick: this.togglePanel.bind(this), "aria-label": !this.label ? this.ariaLabel : undefined, "aria-expanded": this.open ? "true" : "false", "aria-controls": "z-info-reveal-panel" }, this.icon && h("z-icon", { key: 'fbd4e69149dd005940be5349fc1d2041c661638f', name: this.icon }), this.label && h("span", { key: 'df8beb235d6828aeb4ab79536f448d7c40f3932f', class: "z-info-reveal-label" }, this.label)), h("div", { key: '6f62c1a2ca907b29db9e0ac378c81683ae6be0d6', class: "z-info-reveal-panel", id: "z-info-reveal-panel", ref: (el) => (this.panel = el), hidden: !this.open }, h("slot", { key: 'fc2924de0815a8d99f21b009a9aae2ae714494cc' }), h("button", { key: '04f599f951cae4d1f94d510b5233a58e9719846b', class: "z-info-reveal-close", type: "button", onClick: this.closePanel.bind(this), "aria-label": "Chiudi pannello informazioni" }, h("z-icon", { key: 'bd9890b640631d7d0dfa64b0bdc84a06dbdb21d6', name: "multiply" })))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "z-info-reveal"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -259,7 +259,7 @@ export class ZInput {
|
|
|
259
259
|
default:
|
|
260
260
|
input = this.renderInputText(this.type);
|
|
261
261
|
}
|
|
262
|
-
return h(Host, { key: '
|
|
262
|
+
return h(Host, { key: 'c12976593b469cc583a73265519866c8a75c7a03' }, input);
|
|
263
263
|
}
|
|
264
264
|
static get is() { return "z-input"; }
|
|
265
265
|
static get encapsulation() { return "scoped"; }
|
|
@@ -267,6 +267,9 @@ label.input-label {
|
|
|
267
267
|
width: 100%;
|
|
268
268
|
height: 100%;
|
|
269
269
|
padding: calc(var(--space-unit) * 1.5);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.textarea-wrapper:not(.input-error, .input-success, .input-warning) {
|
|
270
273
|
background-color: var(--color-form-background);
|
|
271
274
|
}
|
|
272
275
|
|
|
@@ -286,15 +289,15 @@ textarea {
|
|
|
286
289
|
display: inline-flex;
|
|
287
290
|
flex-direction: row;
|
|
288
291
|
align-items: center;
|
|
289
|
-
color: var(--color-
|
|
290
|
-
fill: var(--color-
|
|
292
|
+
color: var(--color-default-text);
|
|
293
|
+
fill: var(--color-primary01);
|
|
291
294
|
font-family: var(--font-family-sans);
|
|
292
295
|
}
|
|
293
296
|
|
|
294
297
|
.radio-wrapper:hover,
|
|
295
298
|
.checkbox-wrapper:hover {
|
|
296
|
-
color: var(--color-
|
|
297
|
-
fill:
|
|
299
|
+
color: var(--color-hover-primary);
|
|
300
|
+
fill: var(--color-hover-primary-icon);
|
|
298
301
|
}
|
|
299
302
|
|
|
300
303
|
.radio-wrapper > input,
|
|
@@ -402,12 +405,12 @@ textarea {
|
|
|
402
405
|
/* disabled */
|
|
403
406
|
.radio-wrapper > input:disabled + .radio-label,
|
|
404
407
|
.checkbox-wrapper > input:disabled + .checkbox-label {
|
|
405
|
-
color: var(--color-
|
|
408
|
+
color: var(--color-disabled03);
|
|
406
409
|
}
|
|
407
410
|
|
|
408
411
|
.radio-wrapper > input:disabled + .radio-label > z-icon,
|
|
409
412
|
.checkbox-wrapper > input:disabled + .checkbox-label > z-icon {
|
|
410
413
|
cursor: default;
|
|
411
|
-
fill: var(--color-
|
|
414
|
+
fill: var(--color-disabled01);
|
|
412
415
|
}
|
|
413
416
|
|
|
@@ -18,7 +18,7 @@ export class ZInputMessage {
|
|
|
18
18
|
this.onMessageChange();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, Object.assign({ key: '
|
|
21
|
+
return (h(Host, Object.assign({ key: 'f9b9c27362dadbbb1641b659e5f1e5cb5877dcbd' }, this.statusRole, { "aria-label": this.message }), this.statusIcons[this.status] && this.message && h("z-icon", { key: 'ca06d2a52de026b1828860b3ef4718c10a9752cd', name: this.statusIcons[this.status] }), h("span", { key: '53a1e7e17e09b55e0d7a881ba33961140eb92db2', innerHTML: this.message })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "z-input-message"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class ZLogo {
|
|
|
16
16
|
if (this.height) {
|
|
17
17
|
style["height"] = style["max-height"] = `${this.height}px`;
|
|
18
18
|
}
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '9aed92865ad9a66ad0b2996afe6ca52c61df37c1', style: style, class: { mobile: !!this.mobileLogo } }, this.link ? (h("a", { href: this.link, target: this.targetBlank ? "_blank" : "_self" }, h("img", { alt: this.imageAlt }))) : (h("img", { alt: this.imageAlt }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "z-logo"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -171,7 +171,7 @@ export class ZMenuSection {
|
|
|
171
171
|
this.onItemsChange();
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return (h(Host, { key: '
|
|
174
|
+
return (h(Host, { key: 'afebd732b174678d4768c47d64f353e1642ca893', open: this.open }, h("button", { key: '9dbc8821467edff6d455f1858e117f1f63e8bf78', ref: (el) => (this.label = el), class: "label", "aria-haspopup": `${!!this.hasItems}`, "aria-expanded": `${!!this.open}`, role: "menuitem", tabindex: this.htmlTabindex, onClick: this.onLabelClick, onKeyDown: this.onLabelKeydown }, h("slot", { key: '18de192f07c716364daef6837e616a674cd62d84', onSlotchange: this.onLabelSlotChange }), this.hasItems && h("z-icon", { key: '157b9e12cdfca3695c297b3a9a94eb908fb7edb9', name: this.open ? "chevron-up" : "chevron-down" })), h("div", { key: '1f48178a296e0e85e5b288d7c205bbe4bf16e1d9', class: "items", role: "menu", hidden: !this.open }, h("slot", { key: 'e3807411b3f9fd40ec627b93a09b8237aa1e89e7', name: "section", onSlotchange: this.onItemsChange }))));
|
|
175
175
|
}
|
|
176
176
|
static get is() { return "z-menu-section"; }
|
|
177
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,9 +3,9 @@ import dialogPolyfill from "dialog-polyfill";
|
|
|
3
3
|
import { KeyboardCode } from "../../beans";
|
|
4
4
|
const FOCUSABLE_ELEMENTS_SELECTOR = ':is(button, input, select, textarea, [contenteditable=""], [contenteditable="true"], a[href], [tabindex], summary):not([disabled], [disabled=""], [tabindex="-1"], [aria-hidden="true"], [hidden])';
|
|
5
5
|
/**
|
|
6
|
-
* @slot modalCloseButton -
|
|
7
|
-
* @slot modalContent -
|
|
8
|
-
* @cssprop --z-modal-content-padding -
|
|
6
|
+
* @slot modalCloseButton - slot for custom close button
|
|
7
|
+
* @slot modalContent - slot for the content of the modal
|
|
8
|
+
* @cssprop --z-modal-content-padding - padding of the modal's content. The default is 16px (--space-unit * 2)
|
|
9
9
|
*/
|
|
10
10
|
export class ZModal {
|
|
11
11
|
constructor() {
|
|
@@ -123,16 +123,16 @@ export class ZModal {
|
|
|
123
123
|
e.preventDefault();
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h("dialog", { key: '
|
|
126
|
+
return (h("dialog", { key: '891584aa046910f9a46a48c4798b4b9d8b108a8a', class: {
|
|
127
127
|
"modal-dialog": !this.scrollInside,
|
|
128
|
-
}, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: '
|
|
128
|
+
}, "aria-labelledby": "modal-title", "aria-describedby": "modal-content", role: this.alertdialog ? "alertdialog" : undefined, ref: (el) => (this.dialog = el), onClose: () => this.emitModalClose(), onCancel: (e) => this.handleEscape(e) }, h("div", { key: 'cef8896c3e959b3b1e9b7569c402d004f8d31179', class: {
|
|
129
129
|
"modal-container": true,
|
|
130
130
|
"modal-container-scroll-inside": this.scrollInside,
|
|
131
131
|
"modal-container-scroll-outside": !this.scrollInside,
|
|
132
|
-
}, id: this.modalid }, h("header", { key: '
|
|
132
|
+
}, id: this.modalid }, h("header", { key: '7029c9cc01133c42aab53cd22d6f2d55fec0385c', onClick: this.emitModalHeaderActive.bind(this) }, h("div", { key: '526364617b04825b22a237e8d3610f86861fb060' }, this.modaltitle && h("h1", { key: 'dd5b71fe7592198edad53af5af35da0b38d0e031', id: "modal-title" }, this.modaltitle), this.closeButtonSlot()), this.modalsubtitle && (h("div", { key: '62dbd9bd2d2b9fed310a27d9afaac145d83214de', class: "subtitle", id: "modal-subtitle" }, this.modalsubtitle))), h("div", { key: 'd75082bdc2272154551ad37bf6b83604e0935ec0', class: {
|
|
133
133
|
"modal-content-scroll-inside": this.scrollInside,
|
|
134
134
|
"modal-content-scroll-outside": !this.scrollInside,
|
|
135
|
-
}, id: "modal-content" }, h("slot", { key: '
|
|
135
|
+
}, id: "modal-content" }, h("slot", { key: 'ffcb2de26ee419117b3e97fc8d7d7a88b404aa05', name: "modalContent" }))), h("div", { key: '5ad1f027a8b96c297db7293be3235a456e4bd70a', class: {
|
|
136
136
|
"modal-background": true,
|
|
137
137
|
"modal-background-scroll-outside": !this.scrollInside,
|
|
138
138
|
}, "data-action": "modalBackground", "data-modal": this.modalid, onClick: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,MAAM,2BAA2B,GAC/B,oMAAoM,CAAC;AAEvM;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;;;;gCAeE,eAAe;2BAIV,KAAK;wBAIR,IAAI;4BAIA,IAAI;8BAIF,IAAI;;IAUvB,cAAc;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YAC9C,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;IAMO,qBAAqB;QAC3B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;IACvD,CAAC;IAMO,mBAAmB;QACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YACxD,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,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;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - accept custom close button\n * @slot modalContent - set the content of the modal\n * @cssprop --z-modal-content-padding - set a default padding for the modal content slot to 16px\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n /** if true, the page scroll is locked when the modal is open (optional, default is true) */\n @Prop()\n lockPageScroll?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n private resetPageScroll(): void {\n if (this.lockPageScroll && document.body.style.overflowY === \"hidden\") {\n document.body.style.overflowY = \"\";\n }\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n if (this.lockPageScroll) {\n requestAnimationFrame(() => (document.body.style.overflowY = \"hidden\"));\n }\n }\n\n disconnectedCallback(): void {\n this.resetPageScroll();\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n if (this.lockPageScroll) {\n document.body.style.overflowY = \"hidden\";\n }\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n this.resetPageScroll();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAEzC,MAAM,2BAA2B,GAC/B,oMAAoM,CAAC;AAEvM;;;;GAIG;AAMH,MAAM,OAAO,MAAM;;;;;gCAeE,eAAe;2BAIV,KAAK;wBAIR,IAAI;4BAIA,IAAI;8BAIF,IAAI;;IAUvB,cAAc;QACpB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YAC9C,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;IAMO,qBAAqB;QAC3B,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;IACvD,CAAC;IAMO,mBAAmB;QACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAC,CAAC,CAAC;YACxD,IAAI,CAAC,eAAe,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;IAEO,eAAe;QACrB,IAAI,IAAI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Event, EventEmitter, Listen, Method, Prop, h} from \"@stencil/core\";\nimport dialogPolyfill from \"dialog-polyfill\";\nimport {KeyboardCode} from \"../../beans\";\n\nconst FOCUSABLE_ELEMENTS_SELECTOR =\n ':is(button, input, select, textarea, [contenteditable=\"\"], [contenteditable=\"true\"], a[href], [tabindex], summary):not([disabled], [disabled=\"\"], [tabindex=\"-1\"], [aria-hidden=\"true\"], [hidden])';\n\n/**\n * @slot modalCloseButton - slot for custom close button\n * @slot modalContent - slot for the content of the modal\n * @cssprop --z-modal-content-padding - padding of the modal's content. The default is 16px (--space-unit * 2)\n */\n@Component({\n tag: \"z-modal\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZModal {\n /** unique id */\n @Prop()\n modalid: string;\n\n /** title text (optional) */\n @Prop()\n modaltitle?: string;\n\n /** subtitle (optional) */\n @Prop()\n modalsubtitle?: string;\n\n /** aria-label for close button (optional) */\n @Prop()\n closeButtonLabel = \"chiudi modale\";\n\n /** add role \"alertdialog\" to dialog (optional, default is false) */\n @Prop()\n alertdialog?: boolean = false;\n\n /** if true, the modal is closable (optional, default is true) */\n @Prop()\n closable?: boolean = true;\n\n /** if true, the modal can scroll inside, if false the viewport can scroll */\n @Prop()\n scrollInside?: boolean = true;\n\n /** if true, the page scroll is locked when the modal is open (optional, default is true) */\n @Prop()\n lockPageScroll?: boolean = true;\n\n private dialog: HTMLDialogElement;\n\n @Element() host: HTMLZModalElement;\n\n /** emitted on close button click, returns modalid */\n @Event()\n modalClose: EventEmitter;\n\n private emitModalClose(): void {\n if (this.closable) {\n this.modalClose.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n /** emitted on modal header click, returns modalid */\n @Event()\n modalHeaderActive: EventEmitter;\n\n private emitModalHeaderActive(): void {\n this.modalHeaderActive.emit({modalid: this.modalid});\n }\n\n /** emitted on background click, returns modalid */\n @Event()\n modalBackgroundClick: EventEmitter;\n\n private emitBackgroundClick(): void {\n if (this.closable) {\n this.modalBackgroundClick.emit({modalid: this.modalid});\n this.resetPageScroll();\n }\n }\n\n private resetPageScroll(): void {\n if (this.lockPageScroll && document.body.style.overflowY === \"hidden\") {\n document.body.style.overflowY = \"\";\n }\n }\n\n componentDidLoad(): void {\n if (typeof window.HTMLDialogElement !== \"function\") {\n /* workaround to fix `registerDialog` in test environment:\n stencil converts html elements to MockHTMLElement but this element is missing the `localName` property,\n which is used by `registerDialog` to recognize the element as dialog */\n if (!this.dialog.localName) {\n Object.defineProperty(this.dialog, \"localName\", {value: \"dialog\"});\n }\n dialogPolyfill.registerDialog(this.dialog);\n this.dialog.setAttribute(\"open\", \"true\");\n } else {\n this.open();\n }\n if (this.lockPageScroll) {\n requestAnimationFrame(() => (document.body.style.overflowY = \"hidden\"));\n }\n }\n\n disconnectedCallback(): void {\n this.resetPageScroll();\n }\n\n /** open modal */\n @Method()\n async open(): Promise<void> {\n this.dialog?.showModal();\n if (this.lockPageScroll) {\n document.body.style.overflowY = \"hidden\";\n }\n }\n\n /** close modal */\n @Method()\n async close(): Promise<void> {\n if (this.closable) {\n this.dialog?.close();\n this.resetPageScroll();\n }\n }\n\n /**\n * Get a list of focusable elements in the dialog.\n * Remove elements with `display: none` from the list, because they're not focusable.\n *\n * N.B. The list is built on the assumption that elements inside shadow root are placed ALL before the `modalContent` slot.\n * Adding focusable elements after the `modalContent` slot would break the order of elements in the list.\n */\n private get focusableElements(): HTMLElement[] {\n return [\n ...Array.from(this.host.shadowRoot.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ...Array.from(this.host.querySelectorAll<HTMLElement>(FOCUSABLE_ELEMENTS_SELECTOR)),\n ].filter((element) => getComputedStyle(element).display !== \"none\");\n }\n\n @Listen(\"keydown\")\n handleKeyDown(e: KeyboardEvent): void {\n if (e.code === KeyboardCode.ESC && !this.closable) {\n e.preventDefault();\n }\n\n if (e.code !== KeyboardCode.TAB) {\n return;\n }\n\n const focusableElements = this.focusableElements;\n const shadowActiveElement = this.host.shadowRoot.activeElement;\n const activeElement = this.host.ownerDocument.activeElement;\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (e.shiftKey && (shadowActiveElement == firstFocusableElement || activeElement == firstFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n lastFocusableElement.focus();\n } else if (!e.shiftKey && (shadowActiveElement == lastFocusableElement || activeElement == lastFocusableElement)) {\n // shift + tab was pressed and current active element is the first focusable element\n e.preventDefault();\n firstFocusableElement.focus();\n }\n }\n\n private closeButtonSlot(): HTMLElement | void {\n if (this.closable) {\n return (\n <slot name=\"modalCloseButton\">\n <button\n aria-label={this.closeButtonLabel}\n onClick={() => this.close()}\n >\n <z-icon name=\"multiply-circle-filled\"></z-icon>\n </button>\n </slot>\n );\n }\n }\n\n private handleEscape(e: Event): void {\n if (this.closable) {\n return;\n }\n e.preventDefault();\n }\n\n render(): HTMLZModalElement {\n return (\n <dialog\n class={{\n \"modal-dialog\": !this.scrollInside,\n }}\n aria-labelledby=\"modal-title\"\n aria-describedby=\"modal-content\"\n role={this.alertdialog ? \"alertdialog\" : undefined}\n ref={(el) => (this.dialog = el as HTMLDialogElement)}\n onClose={() => this.emitModalClose()}\n onCancel={(e) => this.handleEscape(e)}\n >\n <div\n class={{\n \"modal-container\": true,\n \"modal-container-scroll-inside\": this.scrollInside,\n \"modal-container-scroll-outside\": !this.scrollInside,\n }}\n id={this.modalid}\n >\n <header onClick={this.emitModalHeaderActive.bind(this)}>\n <div>\n {this.modaltitle && <h1 id=\"modal-title\">{this.modaltitle}</h1>}\n {this.closeButtonSlot()}\n </div>\n {this.modalsubtitle && (\n <div\n class=\"subtitle\"\n id=\"modal-subtitle\"\n >\n {this.modalsubtitle}\n </div>\n )}\n </header>\n\n <div\n class={{\n \"modal-content-scroll-inside\": this.scrollInside,\n \"modal-content-scroll-outside\": !this.scrollInside,\n }}\n id=\"modal-content\"\n >\n <slot name=\"modalContent\"></slot>\n </div>\n </div>\n <div\n class={{\n \"modal-background\": true,\n \"modal-background-scroll-outside\": !this.scrollInside,\n }}\n data-action=\"modalBackground\"\n data-modal={this.modalid}\n onClick={() => {\n this.emitBackgroundClick();\n this.close();\n }}\n ></div>\n </dialog>\n );\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.js","sourceRoot":"","sources":["../../../../src/components/z-modal/index.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,oCAAoC,CAAC;AAC5C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,SAAS,CAAC;AACjB,OAAO,qBAAqB,CAAC;AAI7B,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,QAAQ;IACf,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE;QACJ,SAAS,EAAE,UAAU;QACrB,YAAY,EAAE,gBAAgB;QAC9B,eAAe,EAAE,mBAAmB;QACpC,kBAAkB,EAAE,eAAe;QACnC,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,IAAI;QACpB,gBAAgB,EAAE,IAAI;QACtB,2BAA2B,EAAE,mBAAmB;KACjD;IACD,UAAU,EAAE;QACV,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;QASX,KAAK,EAAE;KACV;KACF;CACoC,CAAC;AAExC,eAAe,SAAS,CAAC;AAIzB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,gBAAgB;KAC1B;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;yBACd,IAAI,CAAC,cAAc;0CACF,IAAI,CAAC,2BAA2B,CAAC;;;;;;;;;GASxE;CACc,CAAC;AAElB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE;QACJ,OAAO,EAAE,eAAe;KACzB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;yBACd,IAAI,CAAC,cAAc;0CACF,IAAI,CAAC,2BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HxE;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZModal} from \".\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../date-picker/z-date-picker/index\";\nimport \"../z-button/index\";\nimport \"../z-select/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZSearchbarStoriesArgs = ZModal & CSSVarsArguments<\"--z-modal-content-padding\">;\n\nconst StoryMeta = {\n title: \"ZModal\",\n component: \"z-modal\",\n args: {\n \"modalid\": \"my-modal\",\n \"modaltitle\": \"My modal title\",\n \"modalsubtitle\": \"My modal subtitle\",\n \"closeButtonLabel\": \"chiudi modale\",\n \"alertdialog\": false,\n \"closable\": true,\n \"scrollInside\": true,\n \"lockPageScroll\": true,\n \"--z-modal-content-padding\": \"var(--space-unit)\",\n },\n decorators: [\n (Story) => html`\n <script>\n function openZModal() {\n document.querySelector(\"z-modal\").open();\n }\n function closeZModal() {\n document.querySelector(\"z-modal\").close();\n }\n </script>\n ${Story()}\n `,\n ],\n} satisfies Meta<ZSearchbarStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZModal>;\n\nexport const ShortText = {\n args: {\n modalid: \"my-modal-short\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n <br />\n <z-button onclick=\"closeZModal()\">close</z-button>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n\nexport const LongText = {\n args: {\n modalid: \"my-modal-long\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n <z-date-picker\n date-picker-id=\"date-picker-1\"\n ariaLabel=\"stringaQualsiasi\"\n label=\"label\"\n ></z-date-picker>\n Provaaaaa Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne\n ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul,\n orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae\n volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete.\n Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec\n honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te\n enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset\n inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae\n superiori sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare\n sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio\n quem illum anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad\n animum, falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis\n ut et adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae,\n inquit Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil\n enim hoc differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem\n ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui\n dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec\n vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem,\n inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae\n dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem\n aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam,\n inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori\n sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent\n tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum\n anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum,\n falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et\n adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit\n Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc\n differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor\n sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra.\n <z-select\n items='[{\"id\":\"item_1\",\"name\":\"first item\",\"selected\":false},{\"id\":\"item_2\",\"name\":\"second item\",\"selected\":true},{\"id\":\"item_3\",\"name\":\"disabled item\",\"selected\":false,\"disabled\":true},{\"id\":\"item_4\",\"name\":\"fourth item\",\"selected\":false}]'\n label=\"this is the label\"\n aria-label=\"\"\n placeholder=\"select placeholder\"\n name=\"\"\n status=\"-\"\n message=\"helper text\"\n autocomplete=\"false\"\n noresultslabel=\"Nessun risultato\"\n disabled=\"false\"\n readonly=\"false\"\n htmlid=\"\"\n htmltitle=\"\"\n reset-item=\"\"\n isfixed=\"false\"\n size=\"big\"\n ></z-select>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n"]}
|
|
1
|
+
{"version":3,"file":"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AI,EAAE,EAAE,CAAC,IAAI,CAAA;;gBAER,IAAI,CAAC,OAAO;mBACT,IAAI,CAAC,UAAU;sBACZ,IAAI,CAAC,aAAa;2BACb,IAAI,CAAC,gBAAgB;oBAC5B,IAAI,CAAC,WAAW;iBACnB,IAAI,CAAC,QAAQ;sBACR,IAAI,CAAC,YAAY;yBACd,IAAI,CAAC,cAAc;0CACF,IAAI,CAAC,2BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HxE;CACc,CAAC","sourcesContent":["import {Meta, StoryObj} from \"@storybook/web-components\";\nimport {html} from \"lit\";\nimport {type ZModal} from \".\";\nimport {CSSVarsArguments} from \"../../utils/storybook-utils\";\nimport \"../date-picker/z-date-picker/index\";\nimport \"../z-button/index\";\nimport \"../z-select/index\";\nimport \"./index\";\nimport \"./index.stories.css\";\n\ntype ZSearchbarStoriesArgs = ZModal & CSSVarsArguments<\"--z-modal-content-padding\">;\n\nconst StoryMeta = {\n title: \"ZModal\",\n component: \"z-modal\",\n args: {\n \"modalid\": \"my-modal\",\n \"modaltitle\": \"My modal title\",\n \"modalsubtitle\": \"My modal subtitle\",\n \"closeButtonLabel\": \"chiudi modale\",\n \"alertdialog\": false,\n \"closable\": true,\n \"scrollInside\": true,\n \"lockPageScroll\": true,\n \"--z-modal-content-padding\": \"calc(var(--space-unit) * 2)\",\n },\n decorators: [\n (Story) => html`\n <script>\n function openZModal() {\n document.querySelector(\"z-modal\").open();\n }\n function closeZModal() {\n document.querySelector(\"z-modal\").close();\n }\n </script>\n ${Story()}\n `,\n ],\n} satisfies Meta<ZSearchbarStoriesArgs>;\n\nexport default StoryMeta;\n\ntype Story = StoryObj<ZModal>;\n\nexport const ShortText = {\n args: {\n modalid: \"my-modal-short\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n <br />\n <z-button onclick=\"closeZModal()\">close</z-button>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n\nexport const LongText = {\n args: {\n modalid: \"my-modal-long\",\n },\n render: (args) => html`\n <z-modal\n modalid=${args.modalid}\n modaltitle=${args.modaltitle}\n modalsubtitle=${args.modalsubtitle}\n close-button-label=${args.closeButtonLabel}\n alertdialog=${args.alertdialog}\n closable=${args.closable}\n scroll-inside=${args.scrollInside}\n lock-page-scroll=${args.lockPageScroll}\n style=\"--z-modal-content-padding: ${args[\"--z-modal-content-padding\"]}\"\n >\n <div slot=\"modalContent\">\n <z-date-picker\n date-picker-id=\"date-picker-1\"\n ariaLabel=\"stringaQualsiasi\"\n label=\"label\"\n ></z-date-picker>\n Provaaaaa Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in\n Archimede, qui dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne\n ergo in vita summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul,\n orbus, egens, torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae\n volo. Nec vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete.\n Plane idem, inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec\n honesta, quae dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te\n enim iudicem aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset\n inusitatam, inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae\n superiori sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare\n sapienti? Urgent tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio\n quem illum anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad\n animum, falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis\n ut et adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae,\n inquit Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil\n enim hoc differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem\n ipsum dolor sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui\n dum in pulvere quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita\n summum bonum dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens,\n torqueatur eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec\n vero sum nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem,\n inquit, et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae\n dico, praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem\n aequum puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam,\n inauditum quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori\n sententiae conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent\n tamen et nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum\n anteponebas? Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum,\n falsum est, quod negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et\n adversa quasi perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit\n Pacuvius, quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc\n differt. Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor\n sit amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra. Lorem ipsum dolor sit\n amet, consectetur adipiscing elit. Quem enim ardorem studii censetis fuisse in Archimede, qui dum in pulvere\n quaedam describit attentius, ne patriam quidem captam esse senserit? Possumusne ergo in vita summum bonum\n dicere, cum id ne in cena quidem posse videamur? Morbo gravissimo affectus, exul, orbus, egens, torqueatur\n eculeo: quem hunc appellas, Zeno? Nam memini etiam quae nolo, oblivisci non possum quae volo. Nec vero sum\n nescius esse utilitatem in historia, non modo voluptatem. Duo Reges: constructio interrete. Plane idem, inquit,\n et maxima quidem, qua fieri nulla maior potest. Hoc autem loco tantum explicemus haec honesta, quae dico,\n praeterquam quod nosmet ipsos diligamus, praeterea suapte natura per se esse expetenda. Te enim iudicem aequum\n puto, modo quae dicat ille bene noris. Si enim Zenoni licuit, cum rem aliquam invenisset inusitatam, inauditum\n quoque ei rei nomen inponere, cur non liceat Catoni? Ita cum ea volunt retinere, quae superiori sententiae\n conveniunt, in Aristonem incidunt; Istam voluptatem perpetuam quis potest praestare sapienti? Urgent tamen et\n nihil remittunt. Sin te auctoritas commovebat, nobisne omnibus et Platoni ipsi nescio quem illum anteponebas?\n Stuprata per vim Lucretia a regis filio testata civis se ipsa interemit. Sin autem ad animum, falsum est, quod\n negas animi ullum esse gaudium, quod non referatur ad corpus. Est autem situm in nobis ut et adversa quasi\n perpetua oblivione obruamus et secunda iucunde ac suaviter meminerimus. Quin etiam ferae, inquit Pacuvius,\n quíbus abest, ad praécavendum intéllegendi astútia, iniecto terrore mortis horrescunt. Nihil enim hoc differt.\n Bonum liberi: misera orbitas. Quare attende, quaeso. Quod cum dixissent, ille contra.\n <z-select\n items='[{\"id\":\"item_1\",\"name\":\"first item\",\"selected\":false},{\"id\":\"item_2\",\"name\":\"second item\",\"selected\":true},{\"id\":\"item_3\",\"name\":\"disabled item\",\"selected\":false,\"disabled\":true},{\"id\":\"item_4\",\"name\":\"fourth item\",\"selected\":false}]'\n label=\"this is the label\"\n aria-label=\"\"\n placeholder=\"select placeholder\"\n name=\"\"\n status=\"-\"\n message=\"helper text\"\n autocomplete=\"false\"\n noresultslabel=\"Nessun risultato\"\n disabled=\"false\"\n readonly=\"false\"\n htmlid=\"\"\n htmltitle=\"\"\n reset-item=\"\"\n isfixed=\"false\"\n size=\"big\"\n ></z-select>\n </div>\n </z-modal>\n <z-button onclick=\"openZModal()\">apri modale</z-button>\n `,\n} satisfies Story;\n"]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
font-family: var(--font-family-sans);
|
|
3
3
|
font-weight: var(--font-rg);
|
|
4
4
|
|
|
5
|
-
--z-modal-content-padding:
|
|
5
|
+
--z-modal-content-padding: ;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
:host > dialog {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
display: none;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
/* polyfill style
|
|
26
|
+
/* polyfill style */
|
|
27
27
|
:host > dialog + .backdrop {
|
|
28
28
|
display: none;
|
|
29
29
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
::slotted([slot="modalContent"]) {
|
|
40
|
-
padding: var(--z-modal-content-padding);
|
|
40
|
+
padding: var(--z-modal-content-padding, calc(var(--space-unit) * 2));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.modal-container {
|
|
@@ -55,8 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.modal-container > header {
|
|
58
|
-
padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 2)
|
|
59
|
-
calc(var(--space-unit) * 2);
|
|
58
|
+
padding: calc(var(--space-unit) * 1.75) calc(var(--space-unit) * 2);
|
|
60
59
|
background: var(--color-background);
|
|
61
60
|
}
|
|
62
61
|
|
|
@@ -241,7 +240,7 @@
|
|
|
241
240
|
}
|
|
242
241
|
|
|
243
242
|
/* Desktop */
|
|
244
|
-
@media
|
|
243
|
+
@media (min-width: 1152px) {
|
|
245
244
|
.modal-container > header {
|
|
246
245
|
padding-top: calc(var(--space-unit) * 1.5);
|
|
247
246
|
padding-bottom: calc(var(--space-unit) * 1.5);
|
|
@@ -208,10 +208,10 @@ export class ZNavigationTabs {
|
|
|
208
208
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
|
-
return (h(Host, { key: '
|
|
211
|
+
return (h(Host, { key: 'c65b79e41341bc577f654c7dee9c36fc431d7950', class: {
|
|
212
212
|
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
213
213
|
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
214
|
-
}, scrollable: this.canNavigate }, h("button", { key: '
|
|
214
|
+
}, scrollable: this.canNavigate }, h("button", { key: 'f18201689c6de86ab73ddd7f34a35e74745ea2d4', class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { key: '80bd7fbd07f454feb7f8a666c44e0cbc26ea79e4', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { key: '009f3c15170742b672a06a80ece4bbdd5e3faecc', role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", { key: '78d887e394b32fd4253e02b41034fd6c870f7773' })), h("button", { key: '78f41b5f5c1db763597f9829d99311e42fc17f24', class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { key: '09102f04028fc4cefdd17009cce7a23e6728529e', name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
215
215
|
}
|
|
216
216
|
static get is() { return "z-navigation-tabs"; }
|
|
217
217
|
static get originalStyleUrls() {
|
|
@@ -134,7 +134,7 @@ z-navigation-tabs > nav > a {
|
|
|
134
134
|
|
|
135
135
|
z-navigation-tabs > nav > *:focus:focus-visible {
|
|
136
136
|
z-index: 1;
|
|
137
|
-
box-shadow: inset 0 0
|
|
137
|
+
box-shadow: inset 0 0 2px 2px var(--blue800);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
z-navigation-tabs > nav > :not([disabled]):hover {
|