@zanichelli/albe-web-components 19.3.0-RC5 → 19.3.0-RC6
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 +69 -0
- package/dist/cjs/{iconset-Bcbz2MS1.js → iconset-Cz-UsfoU.js} +19 -7
- package/dist/cjs/{index-2H1EJ2Tl.js → index-DnscebL4.js} +9 -9
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-Ctc6JP2n.js → utils-BY7xrW7W.js} +6 -0
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-accordion.cjs.entry.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +3 -3
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header_12.cjs.entry.js +192 -229
- 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 +2 -2
- package/dist/cjs/z-book-cover.cjs.entry.js +2 -2
- package/dist/cjs/z-breadcrumb.cjs.entry.js +7 -7
- package/dist/cjs/z-button-sort.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +2 -2
- package/dist/cjs/z-chip.cjs.entry.js +3 -3
- package/dist/cjs/z-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/z-combobox.cjs.entry.js +21 -16
- package/dist/cjs/z-cover-hero.cjs.entry.js +3 -3
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
- package/dist/cjs/z-file-upload.cjs.entry.js +3 -3
- 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-info-box.cjs.entry.js +2 -2
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +3 -3
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +3 -3
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card-list.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +5 -5
- package/dist/cjs/z-myz-list-item.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-list.cjs.entry.js +2 -2
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +3 -3
- package/dist/cjs/z-notification.cjs.entry.js +3 -3
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination.cjs.entry.js +3 -3
- package/dist/cjs/z-panel-elem.cjs.entry.js +3 -3
- package/dist/cjs/z-popover.cjs.entry.js +3 -3
- package/dist/cjs/z-range-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-result-card.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +5 -9
- 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.cjs.entry.js +2 -2
- package/dist/cjs/z-table.cjs.entry.js +7 -5
- package/dist/cjs/z-tbody.cjs.entry.js +6 -4
- package/dist/cjs/z-td.cjs.entry.js +6 -4
- package/dist/cjs/z-tfoot.cjs.entry.js +6 -4
- package/dist/cjs/z-th.cjs.entry.js +8 -4
- package/dist/cjs/z-thead.cjs.entry.js +6 -4
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification.cjs.entry.js +96 -35
- package/dist/cjs/z-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/z-tool.cjs.entry.js +4 -4
- package/dist/cjs/z-toolbar.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/z-tr.cjs.entry.js +7 -5
- package/dist/cjs/z-tree-list.cjs.entry.js +2 -2
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +11 -11
- package/dist/collection/components/book-card/z-book-card/index.js +1 -8
- package/dist/collection/components/book-card/z-book-card/styles.css +9 -0
- package/dist/collection/components/book-card/z-book-card-app/index.js +1 -3
- package/dist/collection/components/book-card/z-book-card-app/styles.css +4 -0
- package/dist/collection/components/css-components/z-scrollbar/styles.css +40 -0
- package/dist/collection/components/css-components/z-table/styles.css +61 -0
- 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 -54
- package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +49 -0
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +1 -5
- package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +6 -0
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +1 -2
- package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +5 -2
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +1 -1
- package/dist/collection/components/deprecated/z-section-title/index.js +1 -2
- package/dist/collection/components/deprecated/z-section-title/styles.css +3 -0
- 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/file-upload/z-file-upload/index.js +2 -2
- 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-group/index.js +2 -2
- package/dist/collection/components/list/z-tree-list/index.js +1 -1
- package/dist/collection/components/table/cells/{z-td/styles.css → z-table-cells.css} +0 -2
- package/dist/collection/components/table/cells/z-td/index.js +3 -3
- package/dist/collection/components/table/cells/z-th/index.js +3 -3
- package/dist/collection/components/table/cells/z-th/styles.css +2 -74
- package/dist/collection/components/table/z-table/index.js +3 -4
- package/dist/collection/components/table/z-table/styles.css +3 -6
- package/dist/collection/components/table/z-tbody/index.js +3 -3
- package/dist/collection/components/table/z-tfoot/index.js +3 -3
- package/dist/collection/components/table/z-tfoot/styles.css +1 -2
- package/dist/collection/components/table/z-thead/index.js +3 -3
- package/dist/collection/components/table/z-thead/styles.css +0 -4
- package/dist/collection/components/table/z-tr/index.js +3 -3
- package/dist/collection/components/table/z-tr/styles.css +5 -11
- package/dist/collection/components/z-accordion/index.js +3 -11
- package/dist/collection/components/z-accordion/styles.css +12 -0
- package/dist/collection/components/z-anchor-navigation/index.js +3 -3
- package/dist/collection/components/z-app-header/index.js +40 -8
- package/dist/collection/components/z-app-header/styles.css +12 -12
- 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-book-cover/index.js +1 -5
- package/dist/collection/components/z-book-cover/styles.css +6 -0
- package/dist/collection/components/z-breadcrumb/index.js +5 -5
- package/dist/collection/components/z-button/index.js +7 -4
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-card/index.js +1 -8
- package/dist/collection/components/z-card/styles.css +9 -0
- package/dist/collection/components/z-carousel/index.js +0 -2
- package/dist/collection/components/z-carousel/styles.css +7 -3
- package/dist/collection/components/z-chip/index.js +2 -2
- package/dist/collection/components/z-color-picker/index.js +1 -1
- package/dist/collection/components/z-combobox/index.js +18 -15
- package/dist/collection/components/z-combobox/styles.css +0 -12
- package/dist/collection/components/z-cover-hero/index.js +2 -5
- package/dist/collection/components/z-cover-hero/styles.css +5 -0
- 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-icon/index.js +31 -2
- package/dist/collection/components/z-info-box/index.js +1 -1
- package/dist/collection/components/z-info-reveal/index.js +1 -5
- package/dist/collection/components/z-info-reveal/styles.css +7 -1
- package/dist/collection/components/z-input/index.js +52 -32
- package/dist/collection/components/z-input/styles-checkbox-radio.css +132 -0
- package/dist/collection/components/z-input/styles-general.css +166 -0
- package/dist/collection/components/z-input/styles-text.css +92 -0
- package/dist/collection/components/z-input/styles-textarea.css +19 -0
- package/dist/collection/components/z-input-message/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-logo/styles.css +5 -0
- package/dist/collection/components/z-menu/index.js +0 -1
- package/dist/collection/components/z-menu/styles.css +3 -0
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -5
- package/dist/collection/components/z-modal/styles.css +5 -2
- package/dist/collection/components/z-navigation-tabs/index.js +2 -4
- package/dist/collection/components/z-navigation-tabs/styles.css +4 -0
- package/dist/collection/components/z-notification/index.js +1 -3
- package/dist/collection/components/z-notification/styles.css +13 -6
- package/dist/collection/components/z-offcanvas/index.js +2 -5
- package/dist/collection/components/z-offcanvas/styles.css +5 -0
- package/dist/collection/components/z-pagination/index.js +2 -4
- package/dist/collection/components/z-pagination/styles.css +6 -0
- package/dist/collection/components/z-panel-elem/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -6
- package/dist/collection/components/z-popover/styles.css +6 -0
- package/dist/collection/components/z-result-card/styles.css +8 -5
- package/dist/collection/components/z-searchbar/index.js +133 -198
- package/dist/collection/components/z-searchbar/styles.css +92 -201
- package/dist/collection/components/z-select/index.js +4 -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-item/index.js +1 -1
- package/dist/collection/components/z-tag/index.js +2 -4
- package/dist/collection/components/z-tag/styles.css +5 -0
- package/dist/collection/components/z-toast-notification/index.js +3 -3
- 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-switch/index.js +3 -3
- package/dist/collection/components/z-tool/index.js +3 -3
- package/dist/collection/components/z-toolbar/index.js +1 -2
- package/dist/collection/components/z-toolbar/styles.css +4 -0
- package/dist/collection/components/z-tooltip/index.js +1 -5
- package/dist/collection/components/z-tooltip/styles.css +6 -0
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/constants/iconset.js +19 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +1 -1
- 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 +2 -2
- 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-otp/index.js +2 -2
- package/dist/collection/utils/storybook-utils.js +7 -0
- package/dist/collection/utils/utils.js +5 -0
- package/dist/components/iconset.js +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index15.js +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/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 +1 -1
- package/dist/components/index26.js +1 -1
- package/dist/components/index27.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/z-accordion.js +1 -1
- package/dist/components/z-anchor-navigation.js +1 -1
- package/dist/components/z-app-header-deprecated.js +1 -1
- package/dist/components/z-app-header.js +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +1 -1
- 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 +1 -1
- package/dist/components/z-breadcrumb.js +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-carousel.js +1 -1
- package/dist/components/z-color-picker.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-cover-hero.js +1 -1
- package/dist/components/z-date-picker.js +1 -1
- package/dist/components/z-file-upload.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 +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 +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 +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-otp.js +1 -1
- package/dist/components/z-pagination.js +1 -1
- package/dist/components/z-panel-elem.js +1 -1
- package/dist/components/z-range-picker.js +1 -1
- package/dist/components/z-result-card.js +1 -1
- package/dist/components/z-section-title.js +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-skip-to-content.js +1 -1
- package/dist/components/z-slideshow.js +1 -1
- package/dist/components/z-stepper-item.js +1 -1
- package/dist/components/z-stepper.js +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 +1 -1
- package/dist/components/z-toggle-button.js +1 -1
- package/dist/components/z-toggle-switch.js +1 -1
- package/dist/components/z-tool.js +1 -1
- package/dist/components/z-toolbar.js +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tree-list.js +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/{iconset-BanpkIXZ.js → iconset-AwzX9V8L.js} +19 -7
- package/dist/esm/{index-ByN2sYu6.js → index-fIt9Ytc6.js} +9 -9
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-0PByxJyN.js → utils-BEzZQwOB.js} +7 -2
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-accordion.entry.js +2 -2
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-anchor-navigation.entry.js +3 -3
- package/dist/esm/z-app-header-deprecated.entry.js +2 -2
- package/dist/esm/z-app-header_12.entry.js +193 -230
- 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 +2 -2
- package/dist/esm/z-book-cover.entry.js +2 -2
- package/dist/esm/z-breadcrumb.entry.js +7 -7
- package/dist/esm/z-button-sort.entry.js +2 -2
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +2 -2
- package/dist/esm/z-chip.entry.js +3 -3
- package/dist/esm/z-color-picker.entry.js +3 -3
- package/dist/esm/z-combobox.entry.js +21 -16
- package/dist/esm/z-cover-hero.entry.js +3 -3
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
- package/dist/esm/z-file-upload.entry.js +3 -3
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-ghost-loading.entry.js +2 -2
- package/dist/esm/z-info-box.entry.js +2 -2
- package/dist/esm/z-info-reveal.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +3 -3
- package/dist/esm/z-menu-deprecated.entry.js +3 -3
- package/dist/esm/z-menu-section-deprecated.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +2 -2
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card-list.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +5 -5
- package/dist/esm/z-myz-list-item.entry.js +3 -3
- package/dist/esm/z-myz-list.entry.js +2 -2
- package/dist/esm/z-navigation-tabs.entry.js +3 -3
- package/dist/esm/z-notification.entry.js +3 -3
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination.entry.js +3 -3
- package/dist/esm/z-panel-elem.entry.js +3 -3
- package/dist/esm/z-popover.entry.js +3 -3
- package/dist/esm/z-range-picker.entry.js +4 -4
- package/dist/esm/z-result-card.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +2 -2
- package/dist/esm/z-select.entry.js +5 -9
- 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.entry.js +2 -2
- package/dist/esm/z-table.entry.js +7 -5
- package/dist/esm/z-tbody.entry.js +6 -4
- package/dist/esm/z-td.entry.js +6 -4
- package/dist/esm/z-tfoot.entry.js +6 -4
- package/dist/esm/z-th.entry.js +8 -4
- package/dist/esm/z-thead.entry.js +6 -4
- package/dist/esm/z-toast-notification-list.entry.js +2 -2
- package/dist/esm/z-toast-notification.entry.js +96 -35
- package/dist/esm/z-toggle-button.entry.js +3 -3
- package/dist/esm/z-toggle-switch.entry.js +5 -5
- package/dist/esm/z-tool.entry.js +4 -4
- package/dist/esm/z-toolbar.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/esm/z-tr.entry.js +7 -5
- package/dist/esm/z-tree-list.entry.js +2 -2
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/components/book-card/z-book-card/index.d.ts +0 -7
- package/dist/types/components/book-card/z-book-card-app/index.d.ts +0 -2
- package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -53
- package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -4
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -1
- package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -1
- package/dist/types/components/table/z-table/index.d.ts +0 -1
- package/dist/types/components/z-accordion/index.d.ts +2 -10
- package/dist/types/components/z-anchor-navigation/index.d.ts +1 -1
- package/dist/types/components/z-app-header/index.d.ts +8 -6
- package/dist/types/components/z-book-cover/index.d.ts +0 -4
- package/dist/types/components/z-button/index.d.ts +1 -1
- package/dist/types/components/z-card/index.d.ts +1 -8
- package/dist/types/components/z-carousel/index.d.ts +0 -2
- package/dist/types/components/z-combobox/index.d.ts +1 -0
- package/dist/types/components/z-cover-hero/index.d.ts +0 -3
- package/dist/types/components/z-icon/index.d.ts +13 -0
- package/dist/types/components/z-info-reveal/index.d.ts +0 -4
- package/dist/types/components/z-input/index.d.ts +6 -4
- package/dist/types/components/z-menu/index.d.ts +0 -1
- package/dist/types/components/z-modal/index.d.ts +0 -1
- package/dist/types/components/z-navigation-tabs/index.d.ts +0 -2
- package/dist/types/components/z-notification/index.d.ts +0 -2
- package/dist/types/components/z-offcanvas/index.d.ts +0 -3
- package/dist/types/components/z-pagination/index.d.ts +0 -2
- package/dist/types/components/z-popover/index.d.ts +0 -5
- package/dist/types/components/z-searchbar/index.d.ts +26 -33
- package/dist/types/components/z-select/index.d.ts +0 -1
- package/dist/types/components/z-tag/index.d.ts +0 -2
- package/dist/types/components/z-toolbar/index.d.ts +0 -1
- package/dist/types/components/z-tooltip/index.d.ts +0 -4
- package/dist/types/components.d.ts +60 -610
- package/dist/types/constants/iconset.d.ts +30 -6
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +1 -1
- package/dist/types/utils/storybook-utils.d.ts +7 -2
- package/dist/types/utils/utils.d.ts +2 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-1210c90f.entry.js → p-053470ec.entry.js} +1 -1
- package/dist/web-components-library/p-071d2a57.entry.js +1 -0
- package/dist/web-components-library/p-0e9e73ed.entry.js +1 -0
- package/dist/web-components-library/{p-ebdbd84c.entry.js → p-1397ebb2.entry.js} +1 -1
- package/dist/web-components-library/{p-30c86858.entry.js → p-13d3c53c.entry.js} +1 -1
- package/dist/web-components-library/p-1418f4d2.entry.js +1 -0
- package/dist/web-components-library/{p-abfdc045.entry.js → p-1432864e.entry.js} +1 -1
- package/dist/web-components-library/p-150171da.entry.js +1 -0
- package/dist/web-components-library/{p-794c613e.entry.js → p-16d99a59.entry.js} +1 -1
- package/dist/web-components-library/p-17276ae7.entry.js +1 -0
- package/dist/web-components-library/{p-ed74f357.entry.js → p-1afc3227.entry.js} +1 -1
- package/dist/web-components-library/{p-4b0a730e.entry.js → p-1d00c30e.entry.js} +1 -1
- package/{www/build/p-5c85b7f4.entry.js → dist/web-components-library/p-2621b31f.entry.js} +1 -1
- package/{www/build/p-a3a7c406.entry.js → dist/web-components-library/p-263b4960.entry.js} +1 -1
- package/dist/web-components-library/p-2f79d3fd.entry.js +1 -0
- package/dist/web-components-library/p-3aa12417.entry.js +1 -0
- package/dist/web-components-library/p-4170d86b.entry.js +1 -0
- package/dist/web-components-library/p-41edfbd3.entry.js +1 -0
- package/dist/web-components-library/{p-294f7b4e.entry.js → p-420b547f.entry.js} +1 -1
- package/dist/web-components-library/p-473594e3.entry.js +1 -0
- package/dist/web-components-library/{p-896470e8.entry.js → p-48ef2fb1.entry.js} +1 -1
- package/{www/build/p-ad2ed505.entry.js → dist/web-components-library/p-50a15c76.entry.js} +2 -2
- package/dist/web-components-library/{p-2f99634d.entry.js → p-5c3bc8a1.entry.js} +1 -1
- package/{www/build/p-1b851174.entry.js → dist/web-components-library/p-733ddcca.entry.js} +1 -1
- package/dist/web-components-library/{p-c8f40472.entry.js → p-7648a0b0.entry.js} +1 -1
- package/dist/web-components-library/{p-0727e9aa.entry.js → p-7a58bb24.entry.js} +1 -1
- package/dist/web-components-library/p-7b4ca721.entry.js +1 -0
- package/dist/web-components-library/p-7fa3211f.entry.js +2 -0
- package/{www/build/p-8745878e.entry.js → dist/web-components-library/p-80eb4ada.entry.js} +1 -1
- package/dist/web-components-library/{p-59d4ac9e.entry.js → p-8237255f.entry.js} +1 -1
- package/dist/web-components-library/{p-9d3bde23.entry.js → p-8711674f.entry.js} +1 -1
- package/dist/web-components-library/p-90a25f58.entry.js +1 -0
- package/dist/web-components-library/{p-8f945346.entry.js → p-93e2f49e.entry.js} +1 -1
- package/dist/web-components-library/{p-acf23ad8.entry.js → p-94bc612d.entry.js} +1 -1
- package/dist/web-components-library/{p-a975b91d.entry.js → p-98165529.entry.js} +1 -1
- package/{www/build/p-366d2553.entry.js → dist/web-components-library/p-99d355d6.entry.js} +1 -1
- package/dist/web-components-library/p-9b2589a6.entry.js +1 -0
- package/{www/build/p-631f111d.entry.js → dist/web-components-library/p-9f9b9b8e.entry.js} +1 -1
- package/dist/web-components-library/p-AwzX9V8L.js +1 -0
- package/dist/web-components-library/p-B0bOjMSb.js +1 -0
- package/dist/web-components-library/p-a0675e97.entry.js +1 -0
- package/dist/web-components-library/{p-5bb77af2.entry.js → p-a26011c7.entry.js} +1 -1
- package/dist/web-components-library/{p-c23bfec2.entry.js → p-a336b496.entry.js} +1 -1
- package/dist/web-components-library/{p-fade8c19.entry.js → p-a9282ee9.entry.js} +1 -1
- package/dist/web-components-library/p-acd32089.entry.js +1 -0
- package/{www/build/p-6ece59b5.entry.js → dist/web-components-library/p-addac0e0.entry.js} +1 -1
- package/{www/build/p-1e984688.entry.js → dist/web-components-library/p-b127d150.entry.js} +1 -1
- package/dist/web-components-library/p-b64dd64c.entry.js +1 -0
- package/dist/web-components-library/{p-241eaed0.entry.js → p-b757d2dc.entry.js} +1 -1
- package/dist/web-components-library/{p-19536f5e.entry.js → p-b76f39fa.entry.js} +1 -1
- package/dist/web-components-library/p-b7907578.entry.js +1 -0
- package/dist/web-components-library/p-bb319405.entry.js +1 -0
- package/dist/web-components-library/p-c3a6159b.entry.js +1 -0
- package/{www/build/p-0ca6e928.entry.js → dist/web-components-library/p-ca89f8e8.entry.js} +1 -1
- package/dist/web-components-library/{p-00f09ae2.entry.js → p-cb6af60f.entry.js} +1 -1
- package/dist/web-components-library/p-d0c0e9f1.entry.js +1 -0
- package/dist/web-components-library/{p-17429bce.entry.js → p-d6ff2160.entry.js} +1 -1
- package/dist/web-components-library/p-d756e131.entry.js +1 -0
- package/{www/build/p-41b55222.entry.js → dist/web-components-library/p-d79a7787.entry.js} +1 -1
- package/dist/web-components-library/p-d7fc390f.entry.js +1 -0
- package/{www/build/p-f5e7fa96.entry.js → dist/web-components-library/p-d9998674.entry.js} +1 -1
- package/dist/web-components-library/{p-5797bf38.entry.js → p-d9a20a51.entry.js} +1 -1
- package/dist/web-components-library/p-da977942.entry.js +1 -0
- package/dist/web-components-library/{p-6d53942a.entry.js → p-e03fc01d.entry.js} +1 -1
- package/{www/build/p-1afd69ba.entry.js → dist/web-components-library/p-eb093728.entry.js} +1 -1
- package/{www/build/p-d57c5efc.entry.js → dist/web-components-library/p-ebd8c113.entry.js} +1 -1
- package/dist/web-components-library/{p-d304ce44.entry.js → p-ecf55fe6.entry.js} +1 -1
- package/dist/web-components-library/{p-b5c180bc.entry.js → p-f2ebf81b.entry.js} +1 -1
- package/dist/web-components-library/{p-081b1648.entry.js → p-f33d8f8d.entry.js} +1 -1
- package/dist/web-components-library/p-f4082ec2.entry.js +1 -0
- package/dist/web-components-library/{p-ByN2sYu6.js → p-fIt9Ytc6.js} +1 -1
- package/dist/web-components-library/{p-48d72b52.entry.js → p-fad8e9b8.entry.js} +1 -1
- package/dist/web-components-library/{p-9b181c2c.entry.js → p-fb7edb66.entry.js} +1 -1
- package/{www/build/p-0a819ab4.entry.js → dist/web-components-library/p-fea76ac6.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +63 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +15 -15
- package/readme.md +8 -19
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-1210c90f.entry.js → p-053470ec.entry.js} +1 -1
- package/www/build/p-071d2a57.entry.js +1 -0
- package/www/build/p-0e9e73ed.entry.js +1 -0
- package/www/build/{p-ebdbd84c.entry.js → p-1397ebb2.entry.js} +1 -1
- package/www/build/{p-30c86858.entry.js → p-13d3c53c.entry.js} +1 -1
- package/www/build/p-1418f4d2.entry.js +1 -0
- package/www/build/{p-abfdc045.entry.js → p-1432864e.entry.js} +1 -1
- package/www/build/p-150171da.entry.js +1 -0
- package/www/build/{p-794c613e.entry.js → p-16d99a59.entry.js} +1 -1
- package/www/build/p-17276ae7.entry.js +1 -0
- package/www/build/{p-ed74f357.entry.js → p-1afc3227.entry.js} +1 -1
- package/www/build/{p-4b0a730e.entry.js → p-1d00c30e.entry.js} +1 -1
- package/{dist/web-components-library/p-5c85b7f4.entry.js → www/build/p-2621b31f.entry.js} +1 -1
- package/{dist/web-components-library/p-a3a7c406.entry.js → www/build/p-263b4960.entry.js} +1 -1
- package/www/build/p-2f79d3fd.entry.js +1 -0
- package/www/build/p-3aa12417.entry.js +1 -0
- package/www/build/{p-ea2cbe37.js → p-40eed148.js} +1 -1
- package/www/build/p-4170d86b.entry.js +1 -0
- package/www/build/p-41edfbd3.entry.js +1 -0
- package/www/build/{p-294f7b4e.entry.js → p-420b547f.entry.js} +1 -1
- package/www/build/p-473594e3.entry.js +1 -0
- package/www/build/{p-896470e8.entry.js → p-48ef2fb1.entry.js} +1 -1
- package/{dist/web-components-library/p-ad2ed505.entry.js → www/build/p-50a15c76.entry.js} +2 -2
- package/www/build/{p-2f99634d.entry.js → p-5c3bc8a1.entry.js} +1 -1
- package/{dist/web-components-library/p-1b851174.entry.js → www/build/p-733ddcca.entry.js} +1 -1
- package/www/build/{p-c8f40472.entry.js → p-7648a0b0.entry.js} +1 -1
- package/www/build/{p-0727e9aa.entry.js → p-7a58bb24.entry.js} +1 -1
- package/www/build/p-7b4ca721.entry.js +1 -0
- package/www/build/p-7fa3211f.entry.js +2 -0
- package/{dist/web-components-library/p-8745878e.entry.js → www/build/p-80eb4ada.entry.js} +1 -1
- package/www/build/{p-59d4ac9e.entry.js → p-8237255f.entry.js} +1 -1
- package/www/build/{p-9d3bde23.entry.js → p-8711674f.entry.js} +1 -1
- package/www/build/p-90a25f58.entry.js +1 -0
- package/www/build/{p-8f945346.entry.js → p-93e2f49e.entry.js} +1 -1
- package/www/build/{p-acf23ad8.entry.js → p-94bc612d.entry.js} +1 -1
- package/www/build/{p-a975b91d.entry.js → p-98165529.entry.js} +1 -1
- package/{dist/web-components-library/p-366d2553.entry.js → www/build/p-99d355d6.entry.js} +1 -1
- package/www/build/p-9b2589a6.entry.js +1 -0
- package/{dist/web-components-library/p-631f111d.entry.js → www/build/p-9f9b9b8e.entry.js} +1 -1
- package/www/build/p-AwzX9V8L.js +1 -0
- package/www/build/p-B0bOjMSb.js +1 -0
- package/www/build/p-a0675e97.entry.js +1 -0
- package/www/build/{p-5bb77af2.entry.js → p-a26011c7.entry.js} +1 -1
- package/www/build/{p-c23bfec2.entry.js → p-a336b496.entry.js} +1 -1
- package/www/build/{p-fade8c19.entry.js → p-a9282ee9.entry.js} +1 -1
- package/www/build/p-acd32089.entry.js +1 -0
- package/{dist/web-components-library/p-6ece59b5.entry.js → www/build/p-addac0e0.entry.js} +1 -1
- package/{dist/web-components-library/p-1e984688.entry.js → www/build/p-b127d150.entry.js} +1 -1
- package/www/build/p-b64dd64c.entry.js +1 -0
- package/www/build/{p-241eaed0.entry.js → p-b757d2dc.entry.js} +1 -1
- package/www/build/{p-19536f5e.entry.js → p-b76f39fa.entry.js} +1 -1
- package/www/build/p-b7907578.entry.js +1 -0
- package/www/build/p-bb319405.entry.js +1 -0
- package/www/build/p-c3a6159b.entry.js +1 -0
- package/www/build/{p-813bd63b.css → p-c9523ede.css} +63 -1
- package/{dist/web-components-library/p-0ca6e928.entry.js → www/build/p-ca89f8e8.entry.js} +1 -1
- package/www/build/{p-00f09ae2.entry.js → p-cb6af60f.entry.js} +1 -1
- package/www/build/p-d0c0e9f1.entry.js +1 -0
- package/www/build/{p-17429bce.entry.js → p-d6ff2160.entry.js} +1 -1
- package/www/build/p-d756e131.entry.js +1 -0
- package/{dist/web-components-library/p-41b55222.entry.js → www/build/p-d79a7787.entry.js} +1 -1
- package/www/build/p-d7fc390f.entry.js +1 -0
- package/{dist/web-components-library/p-f5e7fa96.entry.js → www/build/p-d9998674.entry.js} +1 -1
- package/www/build/{p-5797bf38.entry.js → p-d9a20a51.entry.js} +1 -1
- package/www/build/p-da977942.entry.js +1 -0
- package/www/build/{p-6d53942a.entry.js → p-e03fc01d.entry.js} +1 -1
- package/{dist/web-components-library/p-1afd69ba.entry.js → www/build/p-eb093728.entry.js} +1 -1
- package/{dist/web-components-library/p-d57c5efc.entry.js → www/build/p-ebd8c113.entry.js} +1 -1
- package/www/build/{p-d304ce44.entry.js → p-ecf55fe6.entry.js} +1 -1
- package/www/build/{p-b5c180bc.entry.js → p-f2ebf81b.entry.js} +1 -1
- package/www/build/{p-081b1648.entry.js → p-f33d8f8d.entry.js} +1 -1
- package/www/build/p-f4082ec2.entry.js +1 -0
- package/www/build/{p-ByN2sYu6.js → p-fIt9Ytc6.js} +1 -1
- package/www/build/{p-48d72b52.entry.js → p-fad8e9b8.entry.js} +1 -1
- package/www/build/{p-9b181c2c.entry.js → p-fb7edb66.entry.js} +1 -1
- package/{dist/web-components-library/p-0a819ab4.entry.js → www/build/p-fea76ac6.entry.js} +1 -1
- package/www/build/web-components-library.css +63 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/collection/__mocks__/fileMock.js +0 -1
- package/dist/collection/components/book-card/z-book-card/index.stories.js +0 -175
- package/dist/collection/components/book-card/z-book-card-app/index.stories.js +0 -40
- package/dist/collection/components/css-components/z-fab/index.stories.js +0 -103
- package/dist/collection/components/css-components/z-label/index.stories.js +0 -9
- package/dist/collection/components/css-components/z-link/index.stories.js +0 -73
- package/dist/collection/components/css-components/z-scrollbar/index.stories.js +0 -72
- package/dist/collection/components/date-picker/z-date-picker/index.stories.js +0 -111
- package/dist/collection/components/date-picker/z-range-picker/index.stories.js +0 -109
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.stories.js +0 -636
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.stories.js +0 -383
- package/dist/collection/components/deprecated/z-menu-deprecated/index.stories.js +0 -128
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.stories.js +0 -40
- package/dist/collection/components/deprecated/z-section-title/index.stories.js +0 -56
- package/dist/collection/components/file-upload/z-file/index.stories.js +0 -16
- package/dist/collection/components/file-upload/z-file-upload/index.stories.js +0 -139
- package/dist/collection/components/list/z-list/index.stories.js +0 -184
- package/dist/collection/components/list/z-list-element/index.stories.js +0 -127
- package/dist/collection/components/list/z-list-group/index.stories.js +0 -120
- package/dist/collection/components/list/z-tree-list/index.stories.js +0 -119
- package/dist/collection/components/table/z-table/index.stories.js +0 -282
- package/dist/collection/components/z-accordion/index.stories.js +0 -164
- package/dist/collection/components/z-anchor-navigation/index.stories.js +0 -350
- package/dist/collection/components/z-app-header/index.stories.js +0 -302
- package/dist/collection/components/z-aria-alert/index.stories.js +0 -75
- package/dist/collection/components/z-avatar/index.stories.js +0 -50
- package/dist/collection/components/z-book-cover/index.stories.js +0 -30
- package/dist/collection/components/z-breadcrumb/index.stories.js +0 -67
- package/dist/collection/components/z-button/index.stories.js +0 -103
- package/dist/collection/components/z-button-sort/index.stories.js +0 -30
- package/dist/collection/components/z-card/index.stories.js +0 -302
- package/dist/collection/components/z-carousel/index.stories.js +0 -128
- package/dist/collection/components/z-chip/index.stories.js +0 -69
- package/dist/collection/components/z-color-picker/index.stories.js +0 -33
- package/dist/collection/components/z-combobox/index.stories.js +0 -77
- package/dist/collection/components/z-cover-hero/index.stories.js +0 -255
- package/dist/collection/components/z-divider/index.stories.js +0 -44
- package/dist/collection/components/z-ghost-loading/index.stories.js +0 -21
- package/dist/collection/components/z-icon/index.stories.js +0 -70
- package/dist/collection/components/z-info-box/index.stories.js +0 -19
- package/dist/collection/components/z-info-reveal/index.stories.js +0 -58
- package/dist/collection/components/z-input/index.stories.js +0 -293
- package/dist/collection/components/z-input/styles.css +0 -406
- package/dist/collection/components/z-input-message/index.stories.js +0 -36
- package/dist/collection/components/z-logo/index.stories.js +0 -25
- package/dist/collection/components/z-menu/index.stories.js +0 -122
- package/dist/collection/components/z-menu-section/index.stories.js +0 -40
- package/dist/collection/components/z-modal/index.stories.js +0 -201
- package/dist/collection/components/z-navigation-tabs/index.stories.js +0 -190
- package/dist/collection/components/z-notification/index.stories.js +0 -172
- package/dist/collection/components/z-offcanvas/index.stories.js +0 -143
- package/dist/collection/components/z-pagination/index.stories.js +0 -117
- package/dist/collection/components/z-panel-elem/index.stories.js +0 -25
- package/dist/collection/components/z-popover/index.stories.js +0 -282
- package/dist/collection/components/z-result-card/z-result-card.stories.js +0 -147
- package/dist/collection/components/z-searchbar/index.stories.js +0 -336
- package/dist/collection/components/z-select/index.stories.js +0 -359
- package/dist/collection/components/z-skip-to-content/index.stories.js +0 -40
- package/dist/collection/components/z-stepper/index.stories.js +0 -108
- package/dist/collection/components/z-stepper-item/index.stories.js +0 -58
- package/dist/collection/components/z-tag/index.stories.js +0 -63
- package/dist/collection/components/z-toast-notification/index.stories.js +0 -176
- package/dist/collection/components/z-toast-notification-list/index.stories.js +0 -147
- package/dist/collection/components/z-toggle-button/index.stories.js +0 -22
- package/dist/collection/components/z-toggle-switch/index.stories.js +0 -26
- package/dist/collection/components/z-tool/index.stories.js +0 -146
- package/dist/collection/components/z-toolbar/index.stories.js +0 -317
- package/dist/collection/components/z-tooltip/index.stories.js +0 -122
- package/dist/collection/components/z-visually-hidden/index.stories.js +0 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.stories.js +0 -72
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.stories.js +0 -24
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.stories.js +0 -24
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.stories.js +0 -128
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.stories.js +0 -28
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.stories.js +0 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.stories.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.stories.js +0 -22
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.stories.js +0 -18
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.stories.js +0 -14
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.stories.js +0 -18
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.stories.js +0 -28
- package/dist/collection/snowflakes/myz/z-alert/index.stories.js +0 -30
- package/dist/collection/snowflakes/myz/z-otp/index.stories.js +0 -32
- package/dist/collection/snowflakes/myz/z-slideshow/index.stories.js +0 -16
- package/dist/types/__mocks__/fileMock.d.ts +0 -2
- package/dist/types/components/book-card/z-book-card/index.stories.d.ts +0 -50
- package/dist/types/components/book-card/z-book-card-app/index.stories.d.ts +0 -39
- package/dist/types/components/css-components/z-fab/index.stories.d.ts +0 -63
- package/dist/types/components/css-components/z-label/index.stories.d.ts +0 -9
- package/dist/types/components/css-components/z-link/index.stories.d.ts +0 -45
- package/dist/types/components/css-components/z-scrollbar/index.stories.d.ts +0 -57
- package/dist/types/components/date-picker/z-date-picker/index.stories.d.ts +0 -33
- package/dist/types/components/date-picker/z-range-picker/index.stories.d.ts +0 -51
- package/dist/types/components/deprecated/z-app-header-deprecated/index.stories.d.ts +0 -120
- package/dist/types/components/deprecated/z-book-card-deprecated/index.stories.d.ts +0 -106
- package/dist/types/components/deprecated/z-menu-deprecated/index.stories.d.ts +0 -27
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.stories.d.ts +0 -16
- package/dist/types/components/deprecated/z-section-title/index.stories.d.ts +0 -41
- package/dist/types/components/file-upload/z-file/index.stories.d.ts +0 -14
- package/dist/types/components/file-upload/z-file-upload/index.stories.d.ts +0 -58
- package/dist/types/components/list/z-list/index.stories.d.ts +0 -62
- package/dist/types/components/list/z-list-element/index.stories.d.ts +0 -77
- package/dist/types/components/list/z-list-group/index.stories.d.ts +0 -47
- package/dist/types/components/list/z-tree-list/index.stories.d.ts +0 -25
- package/dist/types/components/table/z-table/index.stories.d.ts +0 -98
- package/dist/types/components/z-accordion/index.stories.d.ts +0 -142
- package/dist/types/components/z-anchor-navigation/index.stories.d.ts +0 -34
- package/dist/types/components/z-app-header/index.stories.d.ts +0 -121
- package/dist/types/components/z-aria-alert/index.stories.d.ts +0 -26
- package/dist/types/components/z-avatar/index.stories.d.ts +0 -42
- package/dist/types/components/z-book-cover/index.stories.d.ts +0 -21
- package/dist/types/components/z-breadcrumb/index.stories.d.ts +0 -52
- package/dist/types/components/z-button/index.stories.d.ts +0 -79
- package/dist/types/components/z-button-sort/index.stories.d.ts +0 -22
- package/dist/types/components/z-card/index.stories.d.ts +0 -75
- package/dist/types/components/z-carousel/index.stories.d.ts +0 -100
- package/dist/types/components/z-chip/index.stories.d.ts +0 -46
- package/dist/types/components/z-color-picker/index.stories.d.ts +0 -33
- package/dist/types/components/z-combobox/index.stories.d.ts +0 -58
- package/dist/types/components/z-cover-hero/index.stories.d.ts +0 -113
- package/dist/types/components/z-divider/index.stories.d.ts +0 -37
- package/dist/types/components/z-ghost-loading/index.stories.d.ts +0 -9
- package/dist/types/components/z-icon/index.stories.d.ts +0 -56
- package/dist/types/components/z-info-box/index.stories.d.ts +0 -12
- package/dist/types/components/z-info-reveal/index.stories.d.ts +0 -42
- package/dist/types/components/z-input/index.stories.d.ts +0 -126
- package/dist/types/components/z-input-message/index.stories.d.ts +0 -33
- package/dist/types/components/z-logo/index.stories.d.ts +0 -18
- package/dist/types/components/z-menu/index.stories.d.ts +0 -26
- package/dist/types/components/z-menu-section/index.stories.d.ts +0 -16
- package/dist/types/components/z-modal/index.stories.d.ts +0 -37
- package/dist/types/components/z-navigation-tabs/index.stories.d.ts +0 -78
- package/dist/types/components/z-notification/index.stories.d.ts +0 -72
- package/dist/types/components/z-offcanvas/index.stories.d.ts +0 -76
- package/dist/types/components/z-pagination/index.stories.d.ts +0 -102
- package/dist/types/components/z-panel-elem/index.stories.d.ts +0 -18
- package/dist/types/components/z-popover/index.stories.d.ts +0 -82
- package/dist/types/components/z-result-card/z-result-card.stories.d.ts +0 -12
- package/dist/types/components/z-searchbar/index.stories.d.ts +0 -159
- package/dist/types/components/z-select/index.stories.d.ts +0 -84
- package/dist/types/components/z-skip-to-content/index.stories.d.ts +0 -31
- package/dist/types/components/z-stepper/index.stories.d.ts +0 -25
- package/dist/types/components/z-stepper-item/index.stories.d.ts +0 -34
- package/dist/types/components/z-tag/index.stories.d.ts +0 -39
- package/dist/types/components/z-toast-notification/index.stories.d.ts +0 -96
- package/dist/types/components/z-toast-notification-list/index.stories.d.ts +0 -87
- package/dist/types/components/z-toggle-button/index.stories.d.ts +0 -16
- package/dist/types/components/z-toggle-switch/index.stories.d.ts +0 -22
- package/dist/types/components/z-tool/index.stories.d.ts +0 -70
- package/dist/types/components/z-toolbar/index.stories.d.ts +0 -52
- package/dist/types/components/z-tooltip/index.stories.d.ts +0 -40
- package/dist/types/components/z-visually-hidden/index.stories.d.ts +0 -9
- package/dist/web-components-library/p-02e588b4.entry.js +0 -1
- package/dist/web-components-library/p-040fbd28.entry.js +0 -1
- package/dist/web-components-library/p-062ba668.entry.js +0 -1
- package/dist/web-components-library/p-0eb7baa4.entry.js +0 -1
- package/dist/web-components-library/p-1c5bbea1.entry.js +0 -1
- package/dist/web-components-library/p-2294f1b0.entry.js +0 -1
- package/dist/web-components-library/p-27f93251.entry.js +0 -1
- package/dist/web-components-library/p-314302ce.entry.js +0 -1
- package/dist/web-components-library/p-3c861d49.entry.js +0 -1
- package/dist/web-components-library/p-50b59012.entry.js +0 -1
- package/dist/web-components-library/p-5883dbc1.entry.js +0 -1
- package/dist/web-components-library/p-58933ba5.entry.js +0 -1
- package/dist/web-components-library/p-5fc4048b.entry.js +0 -1
- package/dist/web-components-library/p-7a55d688.entry.js +0 -2
- package/dist/web-components-library/p-8042aaf7.entry.js +0 -1
- package/dist/web-components-library/p-BanpkIXZ.js +0 -1
- package/dist/web-components-library/p-D4yqZKyM.js +0 -1
- package/dist/web-components-library/p-a1127213.entry.js +0 -1
- package/dist/web-components-library/p-a336c241.entry.js +0 -1
- package/dist/web-components-library/p-a9534450.entry.js +0 -1
- package/dist/web-components-library/p-aabb5aea.entry.js +0 -1
- package/dist/web-components-library/p-afab22fc.entry.js +0 -1
- package/dist/web-components-library/p-afcabf3b.entry.js +0 -1
- package/dist/web-components-library/p-b38d52e5.entry.js +0 -1
- package/dist/web-components-library/p-db0a60fc.entry.js +0 -1
- package/dist/web-components-library/p-eb722234.entry.js +0 -1
- package/dist/web-components-library/p-ecea3d09.entry.js +0 -1
- package/www/build/p-02e588b4.entry.js +0 -1
- package/www/build/p-040fbd28.entry.js +0 -1
- package/www/build/p-062ba668.entry.js +0 -1
- package/www/build/p-0eb7baa4.entry.js +0 -1
- package/www/build/p-1c5bbea1.entry.js +0 -1
- package/www/build/p-2294f1b0.entry.js +0 -1
- package/www/build/p-27f93251.entry.js +0 -1
- package/www/build/p-314302ce.entry.js +0 -1
- package/www/build/p-3c861d49.entry.js +0 -1
- package/www/build/p-50b59012.entry.js +0 -1
- package/www/build/p-5883dbc1.entry.js +0 -1
- package/www/build/p-58933ba5.entry.js +0 -1
- package/www/build/p-5fc4048b.entry.js +0 -1
- package/www/build/p-7a55d688.entry.js +0 -2
- package/www/build/p-8042aaf7.entry.js +0 -1
- package/www/build/p-BanpkIXZ.js +0 -1
- package/www/build/p-D4yqZKyM.js +0 -1
- package/www/build/p-a1127213.entry.js +0 -1
- package/www/build/p-a336c241.entry.js +0 -1
- package/www/build/p-a9534450.entry.js +0 -1
- package/www/build/p-aabb5aea.entry.js +0 -1
- package/www/build/p-afab22fc.entry.js +0 -1
- package/www/build/p-afcabf3b.entry.js +0 -1
- package/www/build/p-b38d52e5.entry.js +0 -1
- package/www/build/p-db0a60fc.entry.js +0 -1
- package/www/build/p-eb722234.entry.js +0 -1
- package/www/build/p-ecea3d09.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-fIt9Ytc6.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = () => `:host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}`;
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ const ZStepper = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '10e061c4cb346cdd60da9a69036627bf96772337', role: "navigation" }, h("slot", { key: '670c077860b774216577c2d3d8b7be29f6c09ecb' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ZStepper.style = stylesCss();
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, d as getElement } from './index-fIt9Ytc6.js';
|
|
2
2
|
import './z-tbody.entry.js';
|
|
3
3
|
import './z-tfoot.entry.js';
|
|
4
4
|
import './z-thead.entry.js';
|
|
5
5
|
import './z-tr.entry.js';
|
|
6
|
-
import './utils-
|
|
6
|
+
import './utils-BEzZQwOB.js';
|
|
7
7
|
import './index-BKCj6NR2.js';
|
|
8
8
|
import './breakpoints-Q-tWjk7P.js';
|
|
9
9
|
import './z-td.entry.js';
|
|
10
10
|
import './z-th.entry.js';
|
|
11
11
|
|
|
12
|
-
const stylesCss = () => `:host{
|
|
12
|
+
const stylesCss$1 = () => `:host{position:relative;display:block;overflow:auto;min-width:max-content;max-width:100%;box-sizing:border-box;padding:var(--space-unit)}:host([expandable]){--z-table--expand-button-size:40px}`;
|
|
13
|
+
|
|
14
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover tr:hover>td,table.z-table-hover tr:hover>th{background-color:var(--color-surface02);box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04)}`;
|
|
13
15
|
|
|
14
16
|
const ZTable = class {
|
|
15
17
|
constructor(hostRef) {
|
|
@@ -46,10 +48,10 @@ const ZTable = class {
|
|
|
46
48
|
(_a = this.expandableMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
47
49
|
}
|
|
48
50
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'e6312c6e3bc53f74407f70eca34f9d0ede44b40d', expandable: this.expandable }, h("div", { key: 'e1009eab29f0b6a02533ee7b542095f6cd83e1a0', class: "table", role: "table" }, h("slot", { key: '6f3dbd3fdf96dec314a441c046333c1ab9f67cc1' }))));
|
|
50
52
|
}
|
|
51
53
|
get host() { return getElement(this); }
|
|
52
54
|
};
|
|
53
|
-
ZTable.style = stylesCss();
|
|
55
|
+
ZTable.style = stylesCss$1() + stylesCss();
|
|
54
56
|
|
|
55
57
|
export { ZTable as z_table };
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-fIt9Ytc6.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = () => `:host{display:block;box-sizing:border-box}`;
|
|
3
|
+
const stylesCss$1 = () => `:host{display:block;box-sizing:border-box}`;
|
|
4
|
+
|
|
5
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover tr:hover>td,table.z-table-hover tr:hover>th{background-color:var(--color-surface02);box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04)}`;
|
|
4
6
|
|
|
5
7
|
const ZTbody = class {
|
|
6
8
|
constructor(hostRef) {
|
|
7
9
|
registerInstance(this, hostRef);
|
|
8
10
|
}
|
|
9
11
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'ff5da26d4d754ab4da901422be45d9cd546807b9', role: "rowgroup" }, h("slot", { key: 'fe0a17ad217ca1eb372f9f176df75534a3971aa9' })));
|
|
11
13
|
}
|
|
12
14
|
};
|
|
13
|
-
ZTbody.style = stylesCss();
|
|
15
|
+
ZTbody.style = stylesCss$1() + stylesCss();
|
|
14
16
|
|
|
15
17
|
export { ZTbody as z_tbody };
|
package/dist/esm/z-td.entry.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-fIt9Ytc6.js';
|
|
2
2
|
import { P as PopoverPosition, e as ControlSize, B as ButtonVariant } from './index-BKCj6NR2.js';
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const zTableCellsCss = () => `:host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}`;
|
|
5
|
+
|
|
6
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover tr:hover>td,table.z-table-hover tr:hover>th{background-color:var(--color-surface02);box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04)}`;
|
|
5
7
|
|
|
6
8
|
const ZTd = class {
|
|
7
9
|
constructor(hostRef) {
|
|
@@ -43,7 +45,7 @@ const ZTd = class {
|
|
|
43
45
|
this.updateColspan();
|
|
44
46
|
}
|
|
45
47
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '2c3552c5c30611595ac619e6ca3a1e93b3d37366', role: "cell", "menu-open": this.isMenuOpen }, h("div", { key: 'd13012a1f16aaa6ab44b4eea1dafa63cf1ebbd3a', class: "cell--content" }, h("slot", { key: 'b4571116c24bb99dc6ec76486fc948da89a5393b' }), this.showMenu && (h("div", { key: '6ebd3bfc1fcf8dce3afb91931309c4644efc2e49', class: "cell--menu-container prevent-expand" }, h("z-button", { key: '3d01c8956127276eb765c3a9f4aabb4ed710b404', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: this.onMenuButtonClick.bind(this) }), h("z-popover", { key: 'd04c06677e2e8efb5d80bfbfd7cc91c9cbff7231', class: "cell-popover", ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: 'c389c6fdf131aeef86eae687df9c2f7fb6fbc3be', name: "contextual-menu" })))))));
|
|
47
49
|
}
|
|
48
50
|
get host() { return getElement(this); }
|
|
49
51
|
static get watchers() { return {
|
|
@@ -52,6 +54,6 @@ const ZTd = class {
|
|
|
52
54
|
}]
|
|
53
55
|
}; }
|
|
54
56
|
};
|
|
55
|
-
ZTd.style = stylesCss();
|
|
57
|
+
ZTd.style = zTableCellsCss() + stylesCss();
|
|
56
58
|
|
|
57
59
|
export { ZTd as z_td };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-fIt9Ytc6.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = () => `:host{display:block;box-sizing:border-box;
|
|
3
|
+
const stylesCss$1 = () => `:host{display:block;box-sizing:border-box;margin-top:-1px}:host([sticky]){position:sticky;z-index:1;bottom:0;background-color:var(--color-surface01)}`;
|
|
4
|
+
|
|
5
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover tr:hover>td,table.z-table-hover tr:hover>th{background-color:var(--color-surface02);box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04)}`;
|
|
4
6
|
|
|
5
7
|
const ZTfoot = class {
|
|
6
8
|
constructor(hostRef) {
|
|
@@ -11,9 +13,9 @@ const ZTfoot = class {
|
|
|
11
13
|
this.sticky = false;
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'cdd4d2841caada167b8818ff534744445e0d8979', role: "rowgroup", tabIndex: -1 }, h("slot", { key: '5cf911121ea09dcc13744e9d1d730be92f20cbf4' })));
|
|
15
17
|
}
|
|
16
18
|
};
|
|
17
|
-
ZTfoot.style = stylesCss();
|
|
19
|
+
ZTfoot.style = stylesCss$1() + stylesCss();
|
|
18
20
|
|
|
19
21
|
export { ZTfoot as z_tfoot };
|
package/dist/esm/z-th.entry.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-fIt9Ytc6.js';
|
|
2
2
|
import { P as PopoverPosition, S as SortDirection, e as ControlSize, B as ButtonVariant } from './index-BKCj6NR2.js';
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const zTableCellsCss = () => `:host{position:relative;display:flex;max-width:100%;align-items:center;background-color:var(--color-surface01);gap:calc(var(--space-unit) * 2) var(--space-unit)}:host,*{box-sizing:border-box}:host([sticky]){position:sticky;z-index:1;top:0;left:0;box-shadow:8px 0 16px -8px var(--shadow-color-base)}:host([menu-open]){z-index:2}.cell--content{display:flex;width:100%;height:100%;align-items:center}:host([show-menu]) .cell--content{column-gap:var(--space-unit)}.cell--menu-container{margin-left:auto}:host(:not([show-menu])) .cell--menu-container{opacity:0;pointer-events:none}:host(:is([show-menu],[menu-open])) .cell--menu-container,:host([show-menu]) .cell--menu-container:focus-within{z-index:1;opacity:1;pointer-events:all}:host .cell-popover{z-index:100}@media (min-width: 768px) and (hover: hover){:host([show-menu="hover"]) .cell--menu-container{opacity:0;pointer-events:none}:host([show-menu="hover"]:hover) .cell--menu-container{z-index:1;opacity:1;pointer-events:all}}`;
|
|
5
|
+
|
|
6
|
+
const stylesCss$1 = () => `:host{z-index:1;padding:0;background-color:var(--color-background);font-weight:var(--font-sb)}:host([show-sorting]) .cell--content{column-gap:var(--space-unit)}.z-th--sort-button{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer;outline:none}.z-th--sort-button:focus,.z-th--sort-button:focus-visible{box-shadow:var(--shadow-focus-primary);opacity:1;outline:none;pointer-events:all}@media (min-width: 768px) and (hover: hover){:host([show-sorting="hover"]) .z-th--sort-button{opacity:0;pointer-events:none}:host([show-sorting="hover"]:hover) .z-th--sort-button,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible,:host([show-sorting="always"]) .z-th--sort-button,:host([sorted]) .z-th--sort-button{opacity:1;pointer-events:all}}:host([show-sorting="hover"]:hover) .z-th--sort-button::after,:host([show-sorting="hover"]) .z-th--sort-button:focus:focus-visible::after,:host([show-sorting="always"]) .z-th--sort-button::after,:host([sorted]) .z-th--sort-button::after{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 10px);background-color:transparent;content:""}`;
|
|
7
|
+
|
|
8
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover tr:hover>td,table.z-table-hover tr:hover>th{background-color:var(--color-surface02);box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04)}`;
|
|
5
9
|
|
|
6
10
|
const ZTh = class {
|
|
7
11
|
constructor(hostRef) {
|
|
@@ -70,7 +74,7 @@ const ZTh = class {
|
|
|
70
74
|
this.updateColspan();
|
|
71
75
|
}
|
|
72
76
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'aef115e04b8a8c37c749a568bcb24250e062008b', role: "columnheader", "menu-open": this.isMenuOpen, "aria-sort": this.ariaSortDirection, sortable: this.showSorting }, h("div", { key: '5b78767c1d65440363c06d5e4b7137598e74d8b4', class: "cell--content" }, h("slot", { key: '340210db9182785b89ed01a26d6dc60558aa9f4f' }), this.showSorting && (h("button", { key: '2c6f42cbf3a2c1d37af04182731503accfe67362', class: "z-th--sort-button", type: "button", onClick: this.handleSort.bind(this) }, h("z-icon", { key: 'ad73a2838da75772e84e431c36256e77bdf39157', name: this.sortDirection === SortDirection.DESC ? "arrow-simple-up" : "arrow-simple-down", width: 14, height: 14 }))), this.showMenu && (h("div", { key: 'd4c23d3a5b05ccea94a03efa6b10efc65e4a0cf4', class: "cell--menu-container" }, h("z-button", { key: 'fb0930c50cd3ac363e764ded3d7be227678a5d2d', variant: ButtonVariant.TERTIARY, icon: "contextual-menu", size: ControlSize.X_SMALL, ref: (el) => (this.menuTrigger = el), onClick: () => (this.popoverEl.open = !this.popoverEl.open) }), h("z-popover", { key: 'b720485c31c2070d77e33bceacd5be582516ae38', ref: (el) => (this.popoverEl = el), bindTo: this.menuTrigger, onOpenChange: (event) => (this.isMenuOpen = event.detail.open), position: this.popoverPosition }, h("slot", { key: '7372fa0d1ca9773ebbf8b6c8ec581133967aafdf', name: "contextual-menu" })))))));
|
|
74
78
|
}
|
|
75
79
|
get host() { return getElement(this); }
|
|
76
80
|
static get watchers() { return {
|
|
@@ -79,6 +83,6 @@ const ZTh = class {
|
|
|
79
83
|
}]
|
|
80
84
|
}; }
|
|
81
85
|
};
|
|
82
|
-
ZTh.style = stylesCss();
|
|
86
|
+
ZTh.style = zTableCellsCss() + (stylesCss$1() + stylesCss());
|
|
83
87
|
|
|
84
88
|
export { ZTh as z_th };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, d as getElement } from './index-fIt9Ytc6.js';
|
|
2
2
|
|
|
3
|
-
const stylesCss = () => `:host{--z-table--cells-
|
|
3
|
+
const stylesCss$1 = () => `:host{--z-table--cells-background:var( --color-background );display:block;box-sizing:border-box}:host([sticky]){position:sticky;z-index:2;top:0;box-shadow:0 2px 4px -2px var(--shadow-color-base)}:host(:focus-visible){box-shadow:none;outline:none}`;
|
|
4
|
+
|
|
5
|
+
const stylesCss = () => `z-table,table.z-table{background-color:var(--color-surface01);--z-table--cells-padding:calc(var(--space-unit) * 2)}table.z-table{border-collapse:collapse}z-thead,table.z-table thead{background-color:var(--color-background);--z-table--cells-bottom-border-size:var(--border-size-medium)}z-tfoot,table.z-table tfoot{border-top:var(--border-size-medium) solid var(--color-surface03);border-bottom:var(--border-size-medium) solid var(--color-surface03)}z-tfoot z-tr,table.z-table tfoot tr{border-bottom:calc(var(--z-table--cells-bottom-border-size)) solid var(--color-surface03) !important}z-tr,table.z-table tr{border-bottom:var(--z-table--cells-bottom-border-size, var(--border-size-small)) solid var(--color-surface03)}z-td,z-th,table.z-table td,table.z-table th{padding:var(--z-table--cells-padding, calc(var(--space-unit) * 2));text-align:left}z-th:not(:first-child),z-td:not(:first-child),table.z-table th:not(:first-child),table.z-table td:not(:first-child){border-left:var(--z-table--cell-left-border, none)}z-table[bordered],table.z-table.z-table-bordered{--z-table--cell-left-border:1px solid var(--color-surface03)}table.z-table-hover tr:hover>td,table.z-table-hover tr:hover>th{background-color:var(--color-surface02);box-shadow:inset 0 var(--border-size-small) 0 var(--color-surface04), inset 0 calc(var(--border-size-small) * -1) 0 var(--color-surface04)}`;
|
|
4
6
|
|
|
5
7
|
const ZThead = class {
|
|
6
8
|
constructor(hostRef) {
|
|
@@ -15,10 +17,10 @@ const ZThead = class {
|
|
|
15
17
|
this.isFocusable = false;
|
|
16
18
|
}
|
|
17
19
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '0e43e10373817b9ee5e4f1574fb0d46b232c510d', role: "rowgroup", tabIndex: this.isFocusable ? 0 : -1 }, h("slot", { key: 'aefd2ed2698efb7deabd11284f3d6cae95800e50' })));
|
|
19
21
|
}
|
|
20
22
|
get host() { return getElement(this); }
|
|
21
23
|
};
|
|
22
|
-
ZThead.style = stylesCss();
|
|
24
|
+
ZThead.style = stylesCss$1() + stylesCss();
|
|
23
25
|
|
|
24
26
|
export { ZThead as z_thead };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, d as getElement } from './index-fIt9Ytc6.js';
|
|
2
2
|
import { s as ToastNotificationPosition } from './index-BKCj6NR2.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = () => `:host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position="bottom-centre"]),:host([position="bottom-right"]),:host([position="bottom-left"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="top-left"]),:host([position="top-right"]),:host([position="top-centre"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position="top-centre"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position="top-left"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position="top-right"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position="bottom-centre"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position="bottom-right"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position="bottom-left"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}`;
|
|
@@ -43,7 +43,7 @@ const ZToastNotificationList = class {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return h("slot", { key: '
|
|
46
|
+
return h("slot", { key: '0566f651d80145e7781e792714aab742850714f7', name: "toasts" });
|
|
47
47
|
}
|
|
48
48
|
get hostElement() { return getElement(this); }
|
|
49
49
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-fIt9Ytc6.js';
|
|
2
2
|
import { r as ToastNotificationTransition, g as KeyboardCode } from './index-BKCj6NR2.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
4
4
|
|
|
5
|
-
/*! @license DOMPurify 3.
|
|
5
|
+
/*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */
|
|
6
6
|
|
|
7
7
|
const {
|
|
8
8
|
entries,
|
|
@@ -31,12 +31,18 @@ if (!seal) {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
if (!apply) {
|
|
34
|
-
apply = function apply(
|
|
35
|
-
|
|
34
|
+
apply = function apply(func, thisArg) {
|
|
35
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
36
|
+
args[_key - 2] = arguments[_key];
|
|
37
|
+
}
|
|
38
|
+
return func.apply(thisArg, args);
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
if (!construct) {
|
|
39
|
-
construct = function construct(Func
|
|
42
|
+
construct = function construct(Func) {
|
|
43
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
44
|
+
args[_key2 - 1] = arguments[_key2];
|
|
45
|
+
}
|
|
40
46
|
return new Func(...args);
|
|
41
47
|
};
|
|
42
48
|
}
|
|
@@ -65,8 +71,8 @@ function unapply(func) {
|
|
|
65
71
|
if (thisArg instanceof RegExp) {
|
|
66
72
|
thisArg.lastIndex = 0;
|
|
67
73
|
}
|
|
68
|
-
for (var
|
|
69
|
-
args[
|
|
74
|
+
for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
|
|
75
|
+
args[_key3 - 1] = arguments[_key3];
|
|
70
76
|
}
|
|
71
77
|
return apply(func, thisArg, args);
|
|
72
78
|
};
|
|
@@ -77,12 +83,12 @@ function unapply(func) {
|
|
|
77
83
|
* @param func - The constructor function to be wrapped and called.
|
|
78
84
|
* @returns A new function that constructs an instance of the given constructor function with the provided arguments.
|
|
79
85
|
*/
|
|
80
|
-
function unconstruct(
|
|
86
|
+
function unconstruct(Func) {
|
|
81
87
|
return function () {
|
|
82
|
-
for (var
|
|
83
|
-
args[
|
|
88
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
89
|
+
args[_key4] = arguments[_key4];
|
|
84
90
|
}
|
|
85
|
-
return construct(
|
|
91
|
+
return construct(Func, args);
|
|
86
92
|
};
|
|
87
93
|
}
|
|
88
94
|
/**
|
|
@@ -181,8 +187,8 @@ function lookupGetter(object, prop) {
|
|
|
181
187
|
return fallbackValue;
|
|
182
188
|
}
|
|
183
189
|
|
|
184
|
-
const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
|
|
185
|
-
const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
|
190
|
+
const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
|
|
191
|
+
const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
|
186
192
|
const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
|
|
187
193
|
// List of SVG elements that are disallowed by default.
|
|
188
194
|
// We still need to know them so that we can do namespace
|
|
@@ -195,9 +201,9 @@ const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mgly
|
|
|
195
201
|
const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
|
196
202
|
const text = freeze(['#text']);
|
|
197
203
|
|
|
198
|
-
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
|
|
199
|
-
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
200
|
-
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', '
|
|
204
|
+
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
|
|
205
|
+
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
206
|
+
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
|
201
207
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
202
208
|
|
|
203
209
|
// eslint-disable-next-line unicorn/better-regex
|
|
@@ -294,7 +300,7 @@ const _createHooksMap = function _createHooksMap() {
|
|
|
294
300
|
function createDOMPurify() {
|
|
295
301
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
296
302
|
const DOMPurify = root => createDOMPurify(root);
|
|
297
|
-
DOMPurify.version = '3.
|
|
303
|
+
DOMPurify.version = '3.4.0';
|
|
298
304
|
DOMPurify.removed = [];
|
|
299
305
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
300
306
|
// Not running in a browser, provide a factory function
|
|
@@ -405,6 +411,21 @@ function createDOMPurify() {
|
|
|
405
411
|
let FORBID_TAGS = null;
|
|
406
412
|
/* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
|
|
407
413
|
let FORBID_ATTR = null;
|
|
414
|
+
/* Config object to store ADD_TAGS/ADD_ATTR functions (when used as functions) */
|
|
415
|
+
const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {
|
|
416
|
+
tagCheck: {
|
|
417
|
+
writable: true,
|
|
418
|
+
configurable: false,
|
|
419
|
+
enumerable: true,
|
|
420
|
+
value: null
|
|
421
|
+
},
|
|
422
|
+
attributeCheck: {
|
|
423
|
+
writable: true,
|
|
424
|
+
configurable: false,
|
|
425
|
+
enumerable: true,
|
|
426
|
+
value: null
|
|
427
|
+
}
|
|
428
|
+
}));
|
|
408
429
|
/* Decide if ARIA attributes are okay */
|
|
409
430
|
let ALLOW_ARIA_ATTR = true;
|
|
410
431
|
/* Decide if custom data attributes are okay */
|
|
@@ -555,7 +576,7 @@ function createDOMPurify() {
|
|
|
555
576
|
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
|
556
577
|
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
|
|
557
578
|
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
|
|
558
|
-
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING ||
|
|
579
|
+
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || create(null);
|
|
559
580
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
560
581
|
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
561
582
|
}
|
|
@@ -574,7 +595,7 @@ function createDOMPurify() {
|
|
|
574
595
|
/* Parse profile info */
|
|
575
596
|
if (USE_PROFILES) {
|
|
576
597
|
ALLOWED_TAGS = addToSet({}, text);
|
|
577
|
-
ALLOWED_ATTR =
|
|
598
|
+
ALLOWED_ATTR = create(null);
|
|
578
599
|
if (USE_PROFILES.html === true) {
|
|
579
600
|
addToSet(ALLOWED_TAGS, html$1);
|
|
580
601
|
addToSet(ALLOWED_ATTR, html);
|
|
@@ -595,18 +616,30 @@ function createDOMPurify() {
|
|
|
595
616
|
addToSet(ALLOWED_ATTR, xml);
|
|
596
617
|
}
|
|
597
618
|
}
|
|
619
|
+
/* Always reset function-based ADD_TAGS / ADD_ATTR checks to prevent
|
|
620
|
+
* leaking across calls when switching from function to array config */
|
|
621
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = null;
|
|
622
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
598
623
|
/* Merge configuration parameters */
|
|
599
624
|
if (cfg.ADD_TAGS) {
|
|
600
|
-
if (
|
|
601
|
-
|
|
625
|
+
if (typeof cfg.ADD_TAGS === 'function') {
|
|
626
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
627
|
+
} else {
|
|
628
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
629
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
630
|
+
}
|
|
631
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
602
632
|
}
|
|
603
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
604
633
|
}
|
|
605
634
|
if (cfg.ADD_ATTR) {
|
|
606
|
-
if (
|
|
607
|
-
|
|
635
|
+
if (typeof cfg.ADD_ATTR === 'function') {
|
|
636
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
637
|
+
} else {
|
|
638
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
639
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
640
|
+
}
|
|
641
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
608
642
|
}
|
|
609
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
610
643
|
}
|
|
611
644
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
612
645
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
@@ -617,6 +650,12 @@ function createDOMPurify() {
|
|
|
617
650
|
}
|
|
618
651
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
619
652
|
}
|
|
653
|
+
if (cfg.ADD_FORBID_CONTENTS) {
|
|
654
|
+
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
655
|
+
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
656
|
+
}
|
|
657
|
+
addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
|
|
658
|
+
}
|
|
620
659
|
/* Add #text in case KEEP_CONTENT is set to true */
|
|
621
660
|
if (KEEP_CONTENT) {
|
|
622
661
|
ALLOWED_TAGS['#text'] = true;
|
|
@@ -903,6 +942,11 @@ function createDOMPurify() {
|
|
|
903
942
|
_forceRemove(currentNode);
|
|
904
943
|
return true;
|
|
905
944
|
}
|
|
945
|
+
/* Remove risky CSS construction leading to mXSS */
|
|
946
|
+
if (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && tagName === 'style' && _isNode(currentNode.firstElementChild)) {
|
|
947
|
+
_forceRemove(currentNode);
|
|
948
|
+
return true;
|
|
949
|
+
}
|
|
906
950
|
/* Remove any occurrence of processing instructions */
|
|
907
951
|
if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
|
|
908
952
|
_forceRemove(currentNode);
|
|
@@ -914,7 +958,7 @@ function createDOMPurify() {
|
|
|
914
958
|
return true;
|
|
915
959
|
}
|
|
916
960
|
/* Remove element if anything forbids its presence */
|
|
917
|
-
if (
|
|
961
|
+
if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
|
|
918
962
|
/* Check if we have a custom element to handle */
|
|
919
963
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
920
964
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
@@ -978,6 +1022,10 @@ function createDOMPurify() {
|
|
|
978
1022
|
*/
|
|
979
1023
|
// eslint-disable-next-line complexity
|
|
980
1024
|
const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
|
|
1025
|
+
/* FORBID_ATTR must always win, even if ADD_ATTR predicate would allow it */
|
|
1026
|
+
if (FORBID_ATTR[lcName]) {
|
|
1027
|
+
return false;
|
|
1028
|
+
}
|
|
981
1029
|
/* Make sure attribute cannot clobber */
|
|
982
1030
|
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
|
983
1031
|
return false;
|
|
@@ -986,12 +1034,12 @@ function createDOMPurify() {
|
|
|
986
1034
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
987
1035
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
988
1036
|
We don't need to check the value; it's always URI safe. */
|
|
989
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1037
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
990
1038
|
if (
|
|
991
1039
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
992
1040
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
993
1041
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
994
|
-
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||
|
|
1042
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) ||
|
|
995
1043
|
// Alternative, second condition checks if it's an `is`-attribute, AND
|
|
996
1044
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
997
1045
|
lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
|
|
@@ -1070,7 +1118,12 @@ function createDOMPurify() {
|
|
|
1070
1118
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1071
1119
|
}
|
|
1072
1120
|
/* Work around a security issue with comments inside attributes */
|
|
1073
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1121
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
|
|
1122
|
+
_removeAttribute(name, currentNode);
|
|
1123
|
+
continue;
|
|
1124
|
+
}
|
|
1125
|
+
/* Make sure we cannot easily use animated hrefs, even if animations are allowed */
|
|
1126
|
+
if (lcName === 'attributename' && stringMatch(value, 'href')) {
|
|
1074
1127
|
_removeAttribute(name, currentNode);
|
|
1075
1128
|
continue;
|
|
1076
1129
|
}
|
|
@@ -1144,7 +1197,7 @@ function createDOMPurify() {
|
|
|
1144
1197
|
*
|
|
1145
1198
|
* @param fragment to iterate over recursively
|
|
1146
1199
|
*/
|
|
1147
|
-
const
|
|
1200
|
+
const _sanitizeShadowDOM2 = function _sanitizeShadowDOM(fragment) {
|
|
1148
1201
|
let shadowNode = null;
|
|
1149
1202
|
const shadowIterator = _createNodeIterator(fragment);
|
|
1150
1203
|
/* Execute a hook if present */
|
|
@@ -1158,7 +1211,7 @@ function createDOMPurify() {
|
|
|
1158
1211
|
_sanitizeAttributes(shadowNode);
|
|
1159
1212
|
/* Deep shadow DOM detected */
|
|
1160
1213
|
if (shadowNode.content instanceof DocumentFragment) {
|
|
1161
|
-
|
|
1214
|
+
_sanitizeShadowDOM2(shadowNode.content);
|
|
1162
1215
|
}
|
|
1163
1216
|
}
|
|
1164
1217
|
/* Execute a hook if present */
|
|
@@ -1253,7 +1306,7 @@ function createDOMPurify() {
|
|
|
1253
1306
|
_sanitizeAttributes(currentNode);
|
|
1254
1307
|
/* Shadow DOM detected, sanitize it */
|
|
1255
1308
|
if (currentNode.content instanceof DocumentFragment) {
|
|
1256
|
-
|
|
1309
|
+
_sanitizeShadowDOM2(currentNode.content);
|
|
1257
1310
|
}
|
|
1258
1311
|
}
|
|
1259
1312
|
/* If we sanitized `dirty` in-place, return it. */
|
|
@@ -1262,6 +1315,14 @@ function createDOMPurify() {
|
|
|
1262
1315
|
}
|
|
1263
1316
|
/* Return sanitized string or DOM */
|
|
1264
1317
|
if (RETURN_DOM) {
|
|
1318
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
1319
|
+
body.normalize();
|
|
1320
|
+
let html = body.innerHTML;
|
|
1321
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
1322
|
+
html = stringReplace(html, expr, ' ');
|
|
1323
|
+
});
|
|
1324
|
+
body.innerHTML = html;
|
|
1325
|
+
}
|
|
1265
1326
|
if (RETURN_DOM_FRAGMENT) {
|
|
1266
1327
|
returnNode = createDocumentFragment.call(body.ownerDocument);
|
|
1267
1328
|
while (body.firstChild) {
|
|
@@ -4137,19 +4198,19 @@ const ZToastNotification = class {
|
|
|
4137
4198
|
}
|
|
4138
4199
|
}
|
|
4139
4200
|
render() {
|
|
4140
|
-
return (h(Host, { key: '
|
|
4201
|
+
return (h(Host, { key: 'cb958b060a71a07a4ecce7638880632a729b244e', style: { "--percentuale": `${this.percentage}%` }, class: { [this.transition]: !!this.transition, [this.type]: !!this.type }, onAnimationEnd: (e) => {
|
|
4141
4202
|
if (this.autoclose && e.animationName.includes("slidein")) {
|
|
4142
4203
|
this.startClosingTimeout(this.autoclose);
|
|
4143
4204
|
}
|
|
4144
4205
|
if (e.animationName.includes("slideout")) {
|
|
4145
4206
|
this.hostElement.parentNode.removeChild(this.hostElement);
|
|
4146
4207
|
}
|
|
4147
|
-
} }, h("div", { key: '
|
|
4208
|
+
} }, h("div", { key: 'bb0c924c4bf765c3c5b10497a705b46ea9355e57', class: "toast-notification-container" }, h("div", { key: 'd4c0c26704b32f411c0c2d31fa76d870869fca20', class: "toast-notification-content" }, h("div", { key: 'e8e4ed45ff772f585df2c64211e931d27fe65605', class: "toast-notification-text" }, this.heading && h("span", { key: '3498d097acea2e76513990226b9e1a25f82dcf36', class: "title" }, this.heading), h("span", { key: 'ce6794321d893ed41fbe155326b3e24d7768923b', class: "message" }, h("slot", { key: '5af5d1d7a6ebb52ac2e866443a07af15488043be', name: "message" }, this.message && h("span", { key: 'e9a525bb1342fb801a96aa6b9c81b485c0e0ddf9', innerHTML: purify.sanitize(this.message) })))), h("div", { key: 'd1505e5111a6e9886847828dfa0007273017536b', class: "button-container", hidden: !this.hasSlottedButton }, h("slot", { key: 'fd1e6eda846a9351058b0b9103f1564bd7641a04', name: "button", onSlotchange: () => this.checkSlottedButton() }))), this.closebutton && (h("button", { key: '57243b952bc95fd15669fa39ac43848e652559f6', class: "close-button", "aria-label": "Chiudi notifica", onClick: () => this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true), onKeyDown: (e) => {
|
|
4148
4209
|
if (e.code == KeyboardCode.SPACE || e.code == KeyboardCode.ENTER) {
|
|
4149
4210
|
e.preventDefault();
|
|
4150
4211
|
this.close(SLIDE_OUT_TRANSITION_MAP[this.transition], true);
|
|
4151
4212
|
}
|
|
4152
|
-
} }, h("z-icon", { key: '
|
|
4213
|
+
} }, h("z-icon", { key: '5c88075aa5be21bf3e8838701473793fe5e04dfe', name: "multiply-circled" }))))));
|
|
4153
4214
|
}
|
|
4154
4215
|
get hostElement() { return getElement(this); }
|
|
4155
4216
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-fIt9Ytc6.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = () => `button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:var(--shadow-2);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled03);fill:var(--color-disabled03)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}`;
|
|
4
4
|
|
|
@@ -21,10 +21,10 @@ const ZToggleButton = class {
|
|
|
21
21
|
this.toggleClick.emit(this.opened);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h("button", { key: '
|
|
24
|
+
return (h("button", { key: '12715211c2a202659aebbbafce50ef723523e5b5', tabindex: this.avoidclick ? "-1" : "0", class: {
|
|
25
25
|
"isopen": this.opened,
|
|
26
26
|
"avoid-clicks": this.avoidclick,
|
|
27
|
-
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '
|
|
27
|
+
}, disabled: this.isdisabled, "aria-expanded": this.opened ? "true" : "false", "aria-label": this.ariaLabel, onClick: () => this.emitToggleClick() }, h("z-icon", { key: '2e6c9c85c5728eb03116da7b58f13da76abd1cf1', name: this.opened ? "chevron-down" : "chevron-up", width: 16, height: 16 }), this.label));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
ZToggleButton.style = stylesCss();
|