@zanichelli/albe-web-components 19.6.0 → 20.0.0-RC1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/cjs/{iconset-Cz-UsfoU.js → iconset-BIdMT0Ke.js} +4 -4
- package/dist/cjs/{iconset-Cz-UsfoU.js.map → iconset-BIdMT0Ke.js.map} +1 -1
- package/dist/cjs/index-CZz7uP-M.js +0 -80
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{reactive-controller-B2CuCldJ.js → reactive-controller-DJkjAuqS.js} +3 -3
- package/dist/cjs/{reactive-controller-B2CuCldJ.js.map → reactive-controller-DJkjAuqS.js.map} +1 -1
- package/dist/cjs/{utils-C0QY75C2.js → utils-BnCPu0Si.js} +2 -11
- package/dist/cjs/{utils-C0QY75C2.js.map → utils-BnCPu0Si.js.map} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_12.cjs.entry.js +120 -134
- package/dist/cjs/z-app-header_12.cjs.entry.js.map +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +2 -2
- package/dist/cjs/z-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-book-card.cjs.entry.js.map +1 -1
- package/dist/cjs/z-book-cover.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -4
- package/dist/cjs/z-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/z-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +2 -2
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -4
- package/dist/cjs/z-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +8 -8
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-ghost-loading.cjs.entry.js +1 -1
- package/dist/cjs/z-info-box.cjs.entry.js +5 -3
- package/dist/cjs/z-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js.map +1 -1
- package/dist/cjs/z-input-range.cjs.entry.js +2 -2
- package/dist/cjs/z-logo.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-section.cjs.entry.js +1 -1
- package/dist/cjs/z-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +2 -6
- package/dist/cjs/z-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-select.cjs.entry.js +4 -8
- package/dist/cjs/z-select.cjs.entry.js.map +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/z-stepper.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +2 -2
- package/dist/cjs/z-tbody.cjs.entry.js +1 -1
- package/dist/cjs/z-td.cjs.entry.js +1 -1
- package/dist/cjs/z-tfoot.cjs.entry.js +1 -1
- package/dist/cjs/z-th.cjs.entry.js +1 -1
- package/dist/cjs/z-thead.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +3 -3
- package/dist/cjs/z-toggle-switch.cjs.entry.js +4 -4
- package/dist/cjs/z-tool.cjs.entry.js +3 -3
- package/dist/cjs/z-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +2 -2
- package/dist/cjs/z-tree-list.cjs.entry.js +1 -1
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -25
- package/dist/collection/components/book-card/z-book-card/index.js +1 -1
- package/dist/collection/components/book-card/z-book-card/index.js.map +1 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +5 -8
- package/dist/collection/components/date-picker/z-date-picker/index.js.map +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +2 -2
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/list/z-list/index.js +43 -38
- package/dist/collection/components/list/z-list/index.js.map +1 -1
- package/dist/collection/components/list/z-list-element/index.js +17 -31
- package/dist/collection/components/list/z-list-element/index.js.map +1 -1
- package/dist/collection/components/list/z-list-group/index.js +62 -37
- package/dist/collection/components/list/z-list-group/index.js.map +1 -1
- package/dist/collection/components/list/z-tree-list/index.js +1 -1
- package/dist/collection/components/table/cells/z-td/index.js +1 -1
- package/dist/collection/components/table/cells/z-th/index.js +1 -1
- package/dist/collection/components/table/z-table/index.js +1 -1
- package/dist/collection/components/table/z-tbody/index.js +1 -1
- package/dist/collection/components/table/z-tfoot/index.js +1 -1
- package/dist/collection/components/table/z-thead/index.js +1 -1
- package/dist/collection/components/table/z-tr/index.js +1 -1
- package/dist/collection/components/z-accordion/index.js +1 -1
- package/dist/collection/components/z-anchor-navigation/index.js +1 -1
- package/dist/collection/components/z-app-header/index.js +1 -1
- package/dist/collection/components/z-aria-alert/index.js +1 -1
- package/dist/collection/components/z-avatar/index.js +2 -2
- package/dist/collection/components/z-book-cover/index.js +1 -1
- package/dist/collection/components/z-breadcrumb/index.js +2 -2
- package/dist/collection/components/z-button/index.js +15 -48
- package/dist/collection/components/z-button/index.js.map +1 -1
- package/dist/collection/components/z-button-sort/index.js +1 -1
- package/dist/collection/components/z-chip/index.js +6 -9
- package/dist/collection/components/z-chip/index.js.map +1 -1
- package/dist/collection/components/z-color-picker/index.js +1 -1
- package/dist/collection/components/z-combobox/index.js +1 -1
- package/dist/collection/components/z-cover-hero/index.js +2 -2
- package/dist/collection/components/z-divider/index.js +1 -1
- package/dist/collection/components/z-ghost-loading/index.js +1 -1
- package/dist/collection/components/z-icon/index.js +1 -1
- package/dist/collection/components/z-icon/styles.css +6 -0
- package/dist/collection/components/z-info-box/index.js +55 -7
- package/dist/collection/components/z-info-box/index.js.map +1 -1
- package/dist/collection/components/z-info-box/styles.css +60 -10
- package/dist/collection/components/z-info-reveal/index.js +6 -6
- package/dist/collection/components/z-info-reveal/index.js.map +1 -1
- package/dist/collection/components/z-input/index.js +43 -64
- package/dist/collection/components/z-input/index.js.map +1 -1
- package/dist/collection/components/z-input-message/index.js +3 -27
- package/dist/collection/components/z-input-message/index.js.map +1 -1
- package/dist/collection/components/z-input-range/index.js +1 -1
- package/dist/collection/components/z-logo/index.js +1 -1
- package/dist/collection/components/z-menu-section/index.js +1 -1
- package/dist/collection/components/z-modal/index.js +4 -4
- package/dist/collection/components/z-navigation-tabs/index.js +5 -10
- package/dist/collection/components/z-navigation-tabs/index.js.map +1 -1
- package/dist/collection/components/z-notification/index.js +1 -1
- package/dist/collection/components/z-offcanvas/index.js +2 -2
- package/dist/collection/components/z-popover/index.js +1 -1
- package/dist/collection/components/z-searchbar/index.js +3 -3
- package/dist/collection/components/z-select/index.js +9 -15
- package/dist/collection/components/z-select/index.js.map +1 -1
- 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 -2
- 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-switch/index.js +3 -3
- package/dist/collection/components/z-tool/index.js +2 -2
- package/dist/collection/components/z-toolbar/index.js +1 -1
- package/dist/collection/components/z-tooltip/index.js +1 -1
- package/dist/collection/components/z-visually-hidden/index.js +1 -1
- package/dist/collection/constants/iconset.js +2 -2
- package/dist/collection/constants/iconset.js.map +1 -1
- package/dist/collection/utils/storybook-utils.js +31 -18
- package/dist/collection/utils/storybook-utils.js.map +1 -1
- package/dist/components/iconset.js +1 -1
- package/dist/components/iconset.js.map +1 -1
- package/dist/components/index.d.ts +0 -46
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index10.js +1 -1
- package/dist/components/index10.js.map +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index12.js.map +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index13.js.map +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index14.js.map +1 -1
- package/dist/components/index15.js +1 -1
- package/dist/components/index15.js.map +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index16.js.map +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index17.js.map +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index18.js.map +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index19.js.map +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index20.js.map +1 -1
- package/dist/components/index21.js +1 -1
- package/dist/components/index21.js.map +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index3.js.map +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index4.js.map +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index5.js.map +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index6.js.map +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/index7.js.map +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index8.js.map +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/index9.js.map +1 -1
- package/dist/components/reactive-controller.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils.js.map +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.js +1 -1
- package/dist/components/z-app-header.js.map +1 -1
- package/dist/components/z-aria-alert.js +1 -1
- package/dist/components/z-avatar.js +1 -1
- package/dist/components/z-book-card-app.js +1 -1
- package/dist/components/z-book-card.js +1 -1
- package/dist/components/z-book-card.js.map +1 -1
- package/dist/components/z-book-cover.js +1 -1
- package/dist/components/z-breadcrumb.js +1 -1
- package/dist/components/z-breadcrumb.js.map +1 -1
- package/dist/components/z-button-sort.js +1 -1
- package/dist/components/z-button.js +1 -1
- package/dist/components/z-carousel.js +1 -1
- package/dist/components/z-chip.js +1 -1
- package/dist/components/z-color-picker.js +1 -1
- package/dist/components/z-combobox.js +1 -1
- package/dist/components/z-combobox.js.map +1 -1
- package/dist/components/z-cover-hero.js +1 -1
- package/dist/components/z-date-picker.js +2 -2
- package/dist/components/z-date-picker.js.map +1 -1
- package/dist/components/z-divider.js +1 -1
- package/dist/components/z-dragdrop-area.js +1 -1
- package/dist/components/z-file-upload.js +1 -1
- package/dist/components/z-file.js +1 -1
- package/dist/components/z-ghost-loading.js +1 -1
- package/dist/components/z-info-box.js +1 -1
- package/dist/components/z-info-box.js.map +1 -1
- package/dist/components/z-info-reveal.js +1 -1
- package/dist/components/z-input-message.js +1 -1
- package/dist/components/z-input-range.js +1 -1
- package/dist/components/z-input.js +1 -1
- package/dist/components/z-list-element.js +1 -1
- package/dist/components/z-list-group.js +1 -1
- package/dist/components/z-list.js +1 -1
- package/dist/components/z-logo.js +1 -1
- package/dist/components/z-menu-section.js +1 -1
- package/dist/components/z-modal.js +1 -1
- package/dist/components/z-navigation-tabs.js +1 -1
- package/dist/components/z-navigation-tabs.js.map +1 -1
- package/dist/components/z-notification.js +1 -1
- package/dist/components/z-offcanvas.js +1 -1
- package/dist/components/z-pagination.js +1 -1
- package/dist/components/z-popover.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-searchbar.js +1 -1
- package/dist/components/z-select.js +1 -1
- package/dist/components/z-select.js.map +1 -1
- package/dist/components/z-skip-to-content.js +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-tag.js +1 -1
- package/dist/components/z-tbody.js +1 -1
- package/dist/components/z-td.js +1 -1
- package/dist/components/z-tfoot.js +1 -1
- package/dist/components/z-th.js +1 -1
- package/dist/components/z-thead.js +1 -1
- package/dist/components/z-toast-notification-list.js +1 -1
- package/dist/components/z-toast-notification.js +2 -2
- package/dist/components/z-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-tooltip.js +1 -1
- package/dist/components/z-tr.js +1 -1
- package/dist/components/z-tree-list.js +1 -1
- package/dist/components/z-tree-list.js.map +1 -1
- package/dist/components/z-visually-hidden.js +1 -1
- package/dist/esm/{iconset-AwzX9V8L.js → iconset-D1c5gR45.js} +4 -4
- package/dist/esm/{iconset-AwzX9V8L.js.map → iconset-D1c5gR45.js.map} +1 -1
- package/dist/esm/index-BcDWN4F1.js +0 -80
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{reactive-controller-C_qN1xPW.js → reactive-controller-CHemhYDp.js} +3 -3
- package/dist/esm/{reactive-controller-C_qN1xPW.js.map → reactive-controller-CHemhYDp.js.map} +1 -1
- package/dist/esm/{utils-CEdyahRZ.js → utils-CJc3A9NX.js} +3 -11
- package/dist/esm/{utils-CEdyahRZ.js.map → utils-CJc3A9NX.js.map} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_12.entry.js +121 -135
- package/dist/esm/z-app-header_12.entry.js.map +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +2 -2
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-book-card.entry.js.map +1 -1
- package/dist/esm/z-book-cover.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +3 -3
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -4
- package/dist/esm/z-chip.entry.js.map +1 -1
- package/dist/esm/z-color-picker.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-cover-hero.entry.js +2 -2
- package/dist/esm/z-date-picker.entry.js +2 -4
- package/dist/esm/z-date-picker.entry.js.map +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +8 -8
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-ghost-loading.entry.js +1 -1
- package/dist/esm/z-info-box.entry.js +6 -4
- package/dist/esm/z-info-box.entry.js.map +1 -1
- package/dist/esm/z-info-reveal.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js.map +1 -1
- package/dist/esm/z-input-range.entry.js +2 -2
- package/dist/esm/z-logo.entry.js +1 -1
- package/dist/esm/z-menu-section.entry.js +1 -1
- package/dist/esm/z-menu.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +2 -6
- package/dist/esm/z-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-select.entry.js +4 -8
- package/dist/esm/z-select.entry.js.map +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table.entry.js +2 -2
- package/dist/esm/z-tbody.entry.js +1 -1
- package/dist/esm/z-td.entry.js +1 -1
- package/dist/esm/z-tfoot.entry.js +1 -1
- package/dist/esm/z-th.entry.js +1 -1
- package/dist/esm/z-thead.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +3 -3
- package/dist/esm/z-toggle-switch.entry.js +4 -4
- package/dist/esm/z-tool.entry.js +3 -3
- package/dist/esm/z-toolbar.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +2 -2
- package/dist/esm/z-tree-list.entry.js +1 -1
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +1 -1
- package/dist/types/components/list/z-list/index.d.ts +6 -8
- package/dist/types/components/list/z-list-element/index.d.ts +2 -8
- package/dist/types/components/list/z-list-group/index.d.ts +3 -5
- package/dist/types/components/z-button/index.d.ts +4 -9
- package/dist/types/components/z-chip/index.d.ts +2 -2
- package/dist/types/components/z-info-box/index.d.ts +14 -2
- package/dist/types/components/z-info-reveal/index.d.ts +2 -2
- package/dist/types/components/z-input/index.d.ts +14 -14
- package/dist/types/components/z-input-message/index.d.ts +2 -5
- package/dist/types/components/z-navigation-tabs/index.d.ts +1 -1
- package/dist/types/components/z-select/index.d.ts +2 -2
- package/dist/types/components.d.ts +298 -1809
- package/dist/types/constants/iconset.d.ts +4 -4
- package/dist/types/utils/storybook-utils.d.ts +19 -12
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-cdfbcb3b.entry.js → p-02fb0bf9.entry.js} +2 -2
- package/{www/build/p-e1081a2f.entry.js → dist/web-components-library/p-067411f0.entry.js} +2 -2
- package/{www/build/p-136f336a.entry.js → dist/web-components-library/p-121f224a.entry.js} +2 -2
- package/dist/web-components-library/p-127a6dda.entry.js +2 -0
- package/dist/web-components-library/p-127a6dda.entry.js.map +1 -0
- package/{www/build/p-af6bdd6e.entry.js → dist/web-components-library/p-1e71577c.entry.js} +2 -2
- package/{www/build/p-4085be9a.entry.js → dist/web-components-library/p-1ef66142.entry.js} +2 -2
- package/{www/build/p-22cb956c.entry.js → dist/web-components-library/p-1efed23b.entry.js} +2 -2
- package/{www/build/p-ab221eac.entry.js → dist/web-components-library/p-222898cd.entry.js} +3 -3
- package/dist/web-components-library/{p-c39e4a49.entry.js → p-2bd1326c.entry.js} +2 -2
- package/dist/web-components-library/p-2bebbd04.entry.js +2 -0
- package/{www/build/p-5af96c6f.entry.js.map → dist/web-components-library/p-2bebbd04.entry.js.map} +1 -1
- package/dist/web-components-library/p-303fe1d0.entry.js +2 -0
- package/dist/web-components-library/p-303fe1d0.entry.js.map +1 -0
- package/{www/build/p-67476a7c.entry.js → dist/web-components-library/p-317cbb00.entry.js} +2 -2
- package/{www/build/p-6d382092.entry.js → dist/web-components-library/p-32bc925a.entry.js} +2 -2
- package/dist/web-components-library/{p-f36e7e6b.entry.js → p-33d993fe.entry.js} +2 -2
- package/{www/build/p-7313c22c.entry.js → dist/web-components-library/p-33e973b3.entry.js} +2 -2
- package/dist/web-components-library/p-33e973b3.entry.js.map +1 -0
- package/dist/web-components-library/{p-1a13cd9b.entry.js → p-3748979c.entry.js} +2 -2
- package/{www/build/p-20401d48.entry.js → dist/web-components-library/p-3a9a120f.entry.js} +2 -2
- package/dist/web-components-library/{p-0251d009.entry.js → p-4f6c86ce.entry.js} +2 -2
- package/dist/web-components-library/{p-5b3cfc2e.entry.js → p-51ebf661.entry.js} +2 -2
- package/{www/build/p-aa59ca29.entry.js → dist/web-components-library/p-53c51bf4.entry.js} +2 -2
- package/{www/build/p-aa59ca29.entry.js.map → dist/web-components-library/p-53c51bf4.entry.js.map} +1 -1
- package/dist/web-components-library/p-5a43af47.entry.js +2 -0
- package/dist/web-components-library/p-5a43af47.entry.js.map +1 -0
- package/dist/web-components-library/p-657802ce.entry.js +2 -0
- package/dist/web-components-library/{p-5c012917.entry.js.map → p-657802ce.entry.js.map} +1 -1
- package/{www/build/p-7b4f5936.entry.js → dist/web-components-library/p-6de548e3.entry.js} +2 -2
- package/dist/web-components-library/p-6de548e3.entry.js.map +1 -0
- package/dist/web-components-library/{p-0c9247be.entry.js → p-6ea349f6.entry.js} +2 -2
- package/dist/web-components-library/{p-39b91bfa.entry.js → p-7dbd0e3e.entry.js} +2 -2
- package/{www/build/p-aba618c3.entry.js → dist/web-components-library/p-89b30fce.entry.js} +2 -2
- package/dist/web-components-library/p-8b3257b4.entry.js +2 -0
- package/{www/build/p-b38bca77.entry.js → dist/web-components-library/p-8c3a7bc1.entry.js} +2 -2
- package/dist/web-components-library/{p-bb610386.entry.js → p-8d2704ee.entry.js} +2 -2
- package/dist/web-components-library/{p-82e87326.entry.js → p-8f4fcd01.entry.js} +2 -2
- package/dist/web-components-library/p-8fb3354e.entry.js +2 -0
- package/dist/web-components-library/{p-88c45ed6.entry.js → p-904c7fdd.entry.js} +2 -2
- package/{www/build/p-ip3tTfYi.js → dist/web-components-library/p-BjrC13Q0.js} +3 -3
- package/{www/build/p-ip3tTfYi.js.map → dist/web-components-library/p-BjrC13Q0.js.map} +1 -1
- package/dist/web-components-library/{p-AwzX9V8L.js → p-D1c5gR45.js} +2 -2
- package/{www/build/p-AwzX9V8L.js.map → dist/web-components-library/p-D1c5gR45.js.map} +1 -1
- package/{www/build/p-C_25lDQa.js → dist/web-components-library/p-DPrEzmhI.js} +2 -2
- package/{www/build/p-C_25lDQa.js.map → dist/web-components-library/p-DPrEzmhI.js.map} +1 -1
- package/dist/web-components-library/{p-b7d4b886.entry.js → p-a5187022.entry.js} +2 -2
- package/dist/web-components-library/{p-fa02ba25.entry.js → p-a52b3dd1.entry.js} +2 -2
- package/dist/web-components-library/p-a8f43afd.entry.js +2 -0
- package/{www/build/p-31883d39.entry.js → dist/web-components-library/p-b4e0cd5c.entry.js} +2 -2
- package/dist/web-components-library/p-b4e0cd5c.entry.js.map +1 -0
- package/dist/web-components-library/{p-869ba2b5.entry.js → p-b7620e80.entry.js} +2 -2
- package/dist/web-components-library/{p-a09646a9.entry.js → p-bc9237eb.entry.js} +2 -2
- package/dist/web-components-library/p-c217c65c.entry.js +2 -0
- package/dist/web-components-library/{p-41f63f0e.entry.js.map → p-c217c65c.entry.js.map} +1 -1
- package/dist/web-components-library/{p-7965766c.entry.js → p-ccedd440.entry.js} +2 -2
- package/dist/web-components-library/{p-8f6ff78c.entry.js → p-d6441232.entry.js} +2 -2
- package/{www/build/p-87ea0b0a.entry.js → dist/web-components-library/p-df5eeb75.entry.js} +2 -2
- package/{www/build/p-4a7431f6.entry.js → dist/web-components-library/p-dfb0e8d8.entry.js} +2 -2
- package/dist/web-components-library/p-e1ab33fe.entry.js +2 -0
- package/dist/web-components-library/p-e1ab33fe.entry.js.map +1 -0
- package/{www/build/p-a2eb700b.entry.js → dist/web-components-library/p-efe489a5.entry.js} +2 -2
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +9 -8
- package/react/components.d.ts +0 -23
- package/react/components.js +2 -25
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-cdfbcb3b.entry.js → p-02fb0bf9.entry.js} +2 -2
- package/{dist/web-components-library/p-e1081a2f.entry.js → www/build/p-067411f0.entry.js} +2 -2
- package/{dist/web-components-library/p-136f336a.entry.js → www/build/p-121f224a.entry.js} +2 -2
- package/www/build/p-127a6dda.entry.js +2 -0
- package/www/build/p-127a6dda.entry.js.map +1 -0
- package/{dist/web-components-library/p-af6bdd6e.entry.js → www/build/p-1e71577c.entry.js} +2 -2
- package/{dist/web-components-library/p-4085be9a.entry.js → www/build/p-1ef66142.entry.js} +2 -2
- package/{dist/web-components-library/p-22cb956c.entry.js → www/build/p-1efed23b.entry.js} +2 -2
- package/{dist/web-components-library/p-ab221eac.entry.js → www/build/p-222898cd.entry.js} +3 -3
- package/www/build/{p-c39e4a49.entry.js → p-2bd1326c.entry.js} +2 -2
- package/www/build/p-2bebbd04.entry.js +2 -0
- package/{dist/web-components-library/p-5af96c6f.entry.js.map → www/build/p-2bebbd04.entry.js.map} +1 -1
- package/www/build/p-303fe1d0.entry.js +2 -0
- package/www/build/p-303fe1d0.entry.js.map +1 -0
- package/{dist/web-components-library/p-67476a7c.entry.js → www/build/p-317cbb00.entry.js} +2 -2
- package/{dist/web-components-library/p-6d382092.entry.js → www/build/p-32bc925a.entry.js} +2 -2
- package/www/build/{p-f36e7e6b.entry.js → p-33d993fe.entry.js} +2 -2
- package/{dist/web-components-library/p-7313c22c.entry.js → www/build/p-33e973b3.entry.js} +2 -2
- package/www/build/p-33e973b3.entry.js.map +1 -0
- package/www/build/{p-1a13cd9b.entry.js → p-3748979c.entry.js} +2 -2
- package/{dist/web-components-library/p-20401d48.entry.js → www/build/p-3a9a120f.entry.js} +2 -2
- package/www/build/{p-0251d009.entry.js → p-4f6c86ce.entry.js} +2 -2
- package/www/build/{p-5b3cfc2e.entry.js → p-51ebf661.entry.js} +2 -2
- package/{dist/web-components-library/p-aa59ca29.entry.js → www/build/p-53c51bf4.entry.js} +2 -2
- package/{dist/web-components-library/p-aa59ca29.entry.js.map → www/build/p-53c51bf4.entry.js.map} +1 -1
- package/www/build/p-5a1df5b1.js +2 -0
- package/www/build/p-5a43af47.entry.js +2 -0
- package/www/build/p-5a43af47.entry.js.map +1 -0
- package/www/build/p-657802ce.entry.js +2 -0
- package/www/build/{p-5c012917.entry.js.map → p-657802ce.entry.js.map} +1 -1
- package/{dist/web-components-library/p-7b4f5936.entry.js → www/build/p-6de548e3.entry.js} +2 -2
- package/www/build/p-6de548e3.entry.js.map +1 -0
- package/www/build/{p-0c9247be.entry.js → p-6ea349f6.entry.js} +2 -2
- package/www/build/{p-39b91bfa.entry.js → p-7dbd0e3e.entry.js} +2 -2
- package/{dist/web-components-library/p-aba618c3.entry.js → www/build/p-89b30fce.entry.js} +2 -2
- package/www/build/p-8b3257b4.entry.js +2 -0
- package/{dist/web-components-library/p-b38bca77.entry.js → www/build/p-8c3a7bc1.entry.js} +2 -2
- package/www/build/{p-bb610386.entry.js → p-8d2704ee.entry.js} +2 -2
- package/www/build/{p-82e87326.entry.js → p-8f4fcd01.entry.js} +2 -2
- package/www/build/p-8fb3354e.entry.js +2 -0
- package/www/build/{p-88c45ed6.entry.js → p-904c7fdd.entry.js} +2 -2
- package/{dist/web-components-library/p-ip3tTfYi.js → www/build/p-BjrC13Q0.js} +3 -3
- package/{dist/web-components-library/p-ip3tTfYi.js.map → www/build/p-BjrC13Q0.js.map} +1 -1
- package/www/build/{p-AwzX9V8L.js → p-D1c5gR45.js} +2 -2
- package/{dist/web-components-library/p-AwzX9V8L.js.map → www/build/p-D1c5gR45.js.map} +1 -1
- package/{dist/web-components-library/p-C_25lDQa.js → www/build/p-DPrEzmhI.js} +2 -2
- package/{dist/web-components-library/p-C_25lDQa.js.map → www/build/p-DPrEzmhI.js.map} +1 -1
- package/www/build/{p-b7d4b886.entry.js → p-a5187022.entry.js} +2 -2
- package/www/build/{p-fa02ba25.entry.js → p-a52b3dd1.entry.js} +2 -2
- package/www/build/p-a8f43afd.entry.js +2 -0
- package/{dist/web-components-library/p-31883d39.entry.js → www/build/p-b4e0cd5c.entry.js} +2 -2
- package/www/build/p-b4e0cd5c.entry.js.map +1 -0
- package/www/build/{p-869ba2b5.entry.js → p-b7620e80.entry.js} +2 -2
- package/www/build/{p-a09646a9.entry.js → p-bc9237eb.entry.js} +2 -2
- package/www/build/p-c217c65c.entry.js +2 -0
- package/www/build/{p-41f63f0e.entry.js.map → p-c217c65c.entry.js.map} +1 -1
- package/www/build/{p-7965766c.entry.js → p-ccedd440.entry.js} +2 -2
- package/www/build/{p-8f6ff78c.entry.js → p-d6441232.entry.js} +2 -2
- package/{dist/web-components-library/p-87ea0b0a.entry.js → www/build/p-df5eeb75.entry.js} +2 -2
- package/{dist/web-components-library/p-4a7431f6.entry.js → www/build/p-dfb0e8d8.entry.js} +2 -2
- package/www/build/p-e1ab33fe.entry.js +2 -0
- package/www/build/p-e1ab33fe.entry.js.map +1 -0
- package/{dist/web-components-library/p-a2eb700b.entry.js → www/build/p-efe489a5.entry.js} +2 -2
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +0 -20
- package/dist/cjs/z-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js +0 -192
- package/dist/cjs/z-app-header-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js +0 -127
- package/dist/cjs/z-book-card-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu-deprecated.cjs.entry.js +0 -127
- package/dist/cjs/z-menu-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js +0 -60
- package/dist/cjs/z-menu-section-deprecated.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +0 -64
- package/dist/cjs/z-myz-card-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +0 -37
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +0 -20
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +0 -70
- package/dist/cjs/z-myz-card-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +0 -24
- package/dist/cjs/z-myz-card-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +0 -130
- package/dist/cjs/z-myz-card-info.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +0 -39
- package/dist/cjs/z-myz-card-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +0 -109
- package/dist/cjs/z-myz-card_4.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +0 -38
- package/dist/cjs/z-myz-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -38
- package/dist/cjs/z-myz-list.cjs.entry.js.map +0 -1
- package/dist/cjs/z-otp.cjs.entry.js +0 -44
- package/dist/cjs/z-otp.cjs.entry.js.map +0 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +0 -30
- package/dist/cjs/z-panel-elem.cjs.entry.js.map +0 -1
- package/dist/cjs/z-section-title.cjs.entry.js +0 -34
- package/dist/cjs/z-section-title.cjs.entry.js.map +0 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +0 -134
- package/dist/cjs/z-slideshow.cjs.entry.js.map +0 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +0 -37
- package/dist/cjs/z-toggle-button.cjs.entry.js.map +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js +0 -415
- package/dist/collection/components/deprecated/z-app-header-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-app-header-deprecated/styles.css +0 -490
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js +0 -417
- package/dist/collection/components/deprecated/z-book-card-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-book-card-deprecated/styles.css +0 -492
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js +0 -263
- package/dist/collection/components/deprecated/z-menu-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-deprecated/styles.css +0 -220
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js +0 -133
- package/dist/collection/components/deprecated/z-menu-section-deprecated/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-menu-section-deprecated/styles.css +0 -123
- package/dist/collection/components/deprecated/z-section-title/index.js +0 -94
- package/dist/collection/components/deprecated/z-section-title/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-section-title/styles.css +0 -48
- package/dist/collection/components/deprecated/z-toggle-button/index.js +0 -157
- package/dist/collection/components/deprecated/z-toggle-button/index.js.map +0 -1
- package/dist/collection/components/deprecated/z-toggle-button/styles.css +0 -60
- package/dist/collection/components/z-panel-elem/index.js +0 -211
- package/dist/collection/components/z-panel-elem/index.js.map +0 -1
- package/dist/collection/components/z-panel-elem/styles.css +0 -46
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +0 -140
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +0 -44
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +0 -160
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +0 -62
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js +0 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +0 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +0 -102
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +0 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +0 -190
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +0 -76
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +0 -236
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +0 -187
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js +0 -23
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +0 -20
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +0 -118
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +0 -59
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +0 -88
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +0 -69
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +0 -206
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +0 -93
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +0 -63
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +0 -46
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +0 -85
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +0 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +0 -207
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +0 -66
- package/dist/collection/snowflakes/myz/z-alert/index.js +0 -52
- package/dist/collection/snowflakes/myz/z-alert/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-alert/styles.css +0 -28
- package/dist/collection/snowflakes/myz/z-otp/index.js +0 -131
- package/dist/collection/snowflakes/myz/z-otp/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-otp/styles.css +0 -52
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +0 -187
- package/dist/collection/snowflakes/myz/z-slideshow/index.js.map +0 -1
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +0 -134
- package/dist/components/index22.js +0 -2
- package/dist/components/index22.js.map +0 -1
- package/dist/components/index23.js +0 -2
- package/dist/components/index23.js.map +0 -1
- package/dist/components/index24.js +0 -2
- package/dist/components/index24.js.map +0 -1
- package/dist/components/index25.js +0 -2
- package/dist/components/index25.js.map +0 -1
- package/dist/components/index26.js +0 -2
- package/dist/components/index26.js.map +0 -1
- package/dist/components/index27.js +0 -2
- package/dist/components/index27.js.map +0 -1
- package/dist/components/z-alert.d.ts +0 -11
- package/dist/components/z-alert.js +0 -2
- package/dist/components/z-alert.js.map +0 -1
- package/dist/components/z-app-header-deprecated.d.ts +0 -11
- package/dist/components/z-app-header-deprecated.js +0 -2
- package/dist/components/z-app-header-deprecated.js.map +0 -1
- package/dist/components/z-book-card-deprecated.d.ts +0 -11
- package/dist/components/z-book-card-deprecated.js +0 -2
- package/dist/components/z-book-card-deprecated.js.map +0 -1
- package/dist/components/z-menu-deprecated.d.ts +0 -11
- package/dist/components/z-menu-deprecated.js +0 -2
- package/dist/components/z-menu-deprecated.js.map +0 -1
- package/dist/components/z-menu-section-deprecated.d.ts +0 -11
- package/dist/components/z-menu-section-deprecated.js +0 -2
- package/dist/components/z-menu-section-deprecated.js.map +0 -1
- package/dist/components/z-myz-card-alert.d.ts +0 -11
- package/dist/components/z-myz-card-alert.js +0 -2
- package/dist/components/z-myz-card-alert.js.map +0 -1
- package/dist/components/z-myz-card-body.d.ts +0 -11
- package/dist/components/z-myz-card-body.js +0 -2
- package/dist/components/z-myz-card-body.js.map +0 -1
- package/dist/components/z-myz-card-cover.d.ts +0 -11
- package/dist/components/z-myz-card-cover.js +0 -2
- package/dist/components/z-myz-card-cover.js.map +0 -1
- package/dist/components/z-myz-card-dictionary.d.ts +0 -11
- package/dist/components/z-myz-card-dictionary.js +0 -2
- package/dist/components/z-myz-card-dictionary.js.map +0 -1
- package/dist/components/z-myz-card-footer-sections.d.ts +0 -11
- package/dist/components/z-myz-card-footer-sections.js +0 -2
- package/dist/components/z-myz-card-footer-sections.js.map +0 -1
- package/dist/components/z-myz-card-footer.d.ts +0 -11
- package/dist/components/z-myz-card-footer.js +0 -2
- package/dist/components/z-myz-card-footer.js.map +0 -1
- package/dist/components/z-myz-card-header.d.ts +0 -11
- package/dist/components/z-myz-card-header.js +0 -2
- package/dist/components/z-myz-card-header.js.map +0 -1
- package/dist/components/z-myz-card-icon.d.ts +0 -11
- package/dist/components/z-myz-card-icon.js +0 -2
- package/dist/components/z-myz-card-icon.js.map +0 -1
- package/dist/components/z-myz-card-info.d.ts +0 -11
- package/dist/components/z-myz-card-info.js +0 -2
- package/dist/components/z-myz-card-info.js.map +0 -1
- package/dist/components/z-myz-card-list.d.ts +0 -11
- package/dist/components/z-myz-card-list.js +0 -2
- package/dist/components/z-myz-card-list.js.map +0 -1
- package/dist/components/z-myz-card.d.ts +0 -11
- package/dist/components/z-myz-card.js +0 -2
- package/dist/components/z-myz-card.js.map +0 -1
- package/dist/components/z-myz-list-item.d.ts +0 -11
- package/dist/components/z-myz-list-item.js +0 -2
- package/dist/components/z-myz-list-item.js.map +0 -1
- package/dist/components/z-myz-list.d.ts +0 -11
- package/dist/components/z-myz-list.js +0 -2
- package/dist/components/z-myz-list.js.map +0 -1
- package/dist/components/z-otp.d.ts +0 -11
- package/dist/components/z-otp.js +0 -2
- package/dist/components/z-otp.js.map +0 -1
- package/dist/components/z-panel-elem.d.ts +0 -11
- package/dist/components/z-panel-elem.js +0 -2
- package/dist/components/z-panel-elem.js.map +0 -1
- package/dist/components/z-section-title.d.ts +0 -11
- package/dist/components/z-section-title.js +0 -2
- package/dist/components/z-section-title.js.map +0 -1
- package/dist/components/z-slideshow.d.ts +0 -11
- package/dist/components/z-slideshow.js +0 -2
- package/dist/components/z-slideshow.js.map +0 -1
- package/dist/components/z-toggle-button.d.ts +0 -11
- package/dist/components/z-toggle-button.js +0 -2
- package/dist/components/z-toggle-button.js.map +0 -1
- package/dist/esm/z-alert.entry.js +0 -18
- package/dist/esm/z-alert.entry.js.map +0 -1
- package/dist/esm/z-app-header-deprecated.entry.js +0 -190
- package/dist/esm/z-app-header-deprecated.entry.js.map +0 -1
- package/dist/esm/z-book-card-deprecated.entry.js +0 -125
- package/dist/esm/z-book-card-deprecated.entry.js.map +0 -1
- package/dist/esm/z-menu-deprecated.entry.js +0 -125
- package/dist/esm/z-menu-deprecated.entry.js.map +0 -1
- package/dist/esm/z-menu-section-deprecated.entry.js +0 -58
- package/dist/esm/z-menu-section-deprecated.entry.js.map +0 -1
- package/dist/esm/z-myz-card-alert.entry.js +0 -62
- package/dist/esm/z-myz-card-alert.entry.js.map +0 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +0 -35
- package/dist/esm/z-myz-card-dictionary.entry.js.map +0 -1
- package/dist/esm/z-myz-card-footer-sections.entry.js +0 -18
- package/dist/esm/z-myz-card-footer-sections.entry.js.map +0 -1
- package/dist/esm/z-myz-card-footer.entry.js +0 -68
- package/dist/esm/z-myz-card-footer.entry.js.map +0 -1
- package/dist/esm/z-myz-card-icon.entry.js +0 -22
- package/dist/esm/z-myz-card-icon.entry.js.map +0 -1
- package/dist/esm/z-myz-card-info.entry.js +0 -128
- package/dist/esm/z-myz-card-info.entry.js.map +0 -1
- package/dist/esm/z-myz-card-list.entry.js +0 -37
- package/dist/esm/z-myz-card-list.entry.js.map +0 -1
- package/dist/esm/z-myz-card_4.entry.js +0 -104
- package/dist/esm/z-myz-card_4.entry.js.map +0 -1
- package/dist/esm/z-myz-list-item.entry.js +0 -36
- package/dist/esm/z-myz-list-item.entry.js.map +0 -1
- package/dist/esm/z-myz-list.entry.js +0 -36
- package/dist/esm/z-myz-list.entry.js.map +0 -1
- package/dist/esm/z-otp.entry.js +0 -42
- package/dist/esm/z-otp.entry.js.map +0 -1
- package/dist/esm/z-panel-elem.entry.js +0 -28
- package/dist/esm/z-panel-elem.entry.js.map +0 -1
- package/dist/esm/z-section-title.entry.js +0 -32
- package/dist/esm/z-section-title.entry.js.map +0 -1
- package/dist/esm/z-slideshow.entry.js +0 -132
- package/dist/esm/z-slideshow.entry.js.map +0 -1
- package/dist/esm/z-toggle-button.entry.js +0 -35
- package/dist/esm/z-toggle-button.entry.js.map +0 -1
- package/dist/types/components/deprecated/z-app-header-deprecated/index.d.ts +0 -96
- package/dist/types/components/deprecated/z-book-card-deprecated/index.d.ts +0 -91
- package/dist/types/components/deprecated/z-menu-deprecated/index.d.ts +0 -60
- package/dist/types/components/deprecated/z-menu-section-deprecated/index.d.ts +0 -31
- package/dist/types/components/deprecated/z-section-title/index.d.ts +0 -25
- package/dist/types/components/deprecated/z-toggle-button/index.d.ts +0 -17
- package/dist/types/components/z-panel-elem/index.d.ts +0 -25
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -17
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -19
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -8
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -13
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -24
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -35
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -8
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -20
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -10
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -36
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -10
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -12
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -25
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -10
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -17
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -31
- package/dist/web-components-library/p-0673b282.entry.js +0 -2
- package/dist/web-components-library/p-0673b282.entry.js.map +0 -1
- package/dist/web-components-library/p-26788712.entry.js +0 -2
- package/dist/web-components-library/p-26788712.entry.js.map +0 -1
- package/dist/web-components-library/p-2fcbc1a1.entry.js +0 -2
- package/dist/web-components-library/p-2fcbc1a1.entry.js.map +0 -1
- package/dist/web-components-library/p-30d82cf1.entry.js +0 -2
- package/dist/web-components-library/p-30d82cf1.entry.js.map +0 -1
- package/dist/web-components-library/p-31883d39.entry.js.map +0 -1
- package/dist/web-components-library/p-39027ac1.entry.js +0 -2
- package/dist/web-components-library/p-39027ac1.entry.js.map +0 -1
- package/dist/web-components-library/p-39bb7ee4.entry.js +0 -2
- package/dist/web-components-library/p-39bb7ee4.entry.js.map +0 -1
- package/dist/web-components-library/p-3b70a97c.entry.js +0 -2
- package/dist/web-components-library/p-3b70a97c.entry.js.map +0 -1
- package/dist/web-components-library/p-41f63f0e.entry.js +0 -2
- package/dist/web-components-library/p-487e3fca.entry.js +0 -2
- package/dist/web-components-library/p-487e3fca.entry.js.map +0 -1
- package/dist/web-components-library/p-4c1b6c40.entry.js +0 -2
- package/dist/web-components-library/p-4c1b6c40.entry.js.map +0 -1
- package/dist/web-components-library/p-5af96c6f.entry.js +0 -2
- package/dist/web-components-library/p-5c012917.entry.js +0 -2
- package/dist/web-components-library/p-6c5937db.entry.js +0 -2
- package/dist/web-components-library/p-7313c22c.entry.js.map +0 -1
- package/dist/web-components-library/p-7b4f5936.entry.js.map +0 -1
- package/dist/web-components-library/p-817630e4.entry.js +0 -2
- package/dist/web-components-library/p-817630e4.entry.js.map +0 -1
- package/dist/web-components-library/p-831d85f5.entry.js +0 -2
- package/dist/web-components-library/p-831d85f5.entry.js.map +0 -1
- package/dist/web-components-library/p-873e12a2.entry.js +0 -2
- package/dist/web-components-library/p-873e12a2.entry.js.map +0 -1
- package/dist/web-components-library/p-908b8d73.entry.js +0 -2
- package/dist/web-components-library/p-908b8d73.entry.js.map +0 -1
- package/dist/web-components-library/p-9b181758.entry.js +0 -2
- package/dist/web-components-library/p-9b181758.entry.js.map +0 -1
- package/dist/web-components-library/p-a47b9059.entry.js +0 -2
- package/dist/web-components-library/p-a47b9059.entry.js.map +0 -1
- package/dist/web-components-library/p-a4df3220.entry.js +0 -2
- package/dist/web-components-library/p-a4df3220.entry.js.map +0 -1
- package/dist/web-components-library/p-a702edc4.entry.js +0 -2
- package/dist/web-components-library/p-a702edc4.entry.js.map +0 -1
- package/dist/web-components-library/p-ad4c702b.entry.js +0 -2
- package/dist/web-components-library/p-ad4c702b.entry.js.map +0 -1
- package/dist/web-components-library/p-b15d006f.entry.js +0 -2
- package/dist/web-components-library/p-b15d006f.entry.js.map +0 -1
- package/dist/web-components-library/p-bbb9029e.entry.js +0 -2
- package/dist/web-components-library/p-bbb9029e.entry.js.map +0 -1
- package/dist/web-components-library/p-cb7381a0.entry.js +0 -2
- package/dist/web-components-library/p-ccdfec00.entry.js +0 -2
- package/dist/web-components-library/p-ccdfec00.entry.js.map +0 -1
- package/dist/web-components-library/p-ec12d752.entry.js +0 -2
- package/dist/web-components-library/p-ec12d752.entry.js.map +0 -1
- package/dist/web-components-library/p-edbedacb.entry.js +0 -2
- package/dist/web-components-library/p-edbedacb.entry.js.map +0 -1
- package/dist/web-components-library/p-f6138bf7.entry.js +0 -2
- package/dist/web-components-library/p-f8bc8ed9.entry.js +0 -2
- package/dist/web-components-library/p-f8bc8ed9.entry.js.map +0 -1
- package/www/build/p-0673b282.entry.js +0 -2
- package/www/build/p-0673b282.entry.js.map +0 -1
- package/www/build/p-26788712.entry.js +0 -2
- package/www/build/p-26788712.entry.js.map +0 -1
- package/www/build/p-2fcbc1a1.entry.js +0 -2
- package/www/build/p-2fcbc1a1.entry.js.map +0 -1
- package/www/build/p-30d82cf1.entry.js +0 -2
- package/www/build/p-30d82cf1.entry.js.map +0 -1
- package/www/build/p-31883d39.entry.js.map +0 -1
- package/www/build/p-39027ac1.entry.js +0 -2
- package/www/build/p-39027ac1.entry.js.map +0 -1
- package/www/build/p-39bb7ee4.entry.js +0 -2
- package/www/build/p-39bb7ee4.entry.js.map +0 -1
- package/www/build/p-3b70a97c.entry.js +0 -2
- package/www/build/p-3b70a97c.entry.js.map +0 -1
- package/www/build/p-41f63f0e.entry.js +0 -2
- package/www/build/p-487e3fca.entry.js +0 -2
- package/www/build/p-487e3fca.entry.js.map +0 -1
- package/www/build/p-4c1b6c40.entry.js +0 -2
- package/www/build/p-4c1b6c40.entry.js.map +0 -1
- package/www/build/p-5af96c6f.entry.js +0 -2
- package/www/build/p-5c012917.entry.js +0 -2
- package/www/build/p-6c5937db.entry.js +0 -2
- package/www/build/p-7313c22c.entry.js.map +0 -1
- package/www/build/p-7b4f5936.entry.js.map +0 -1
- package/www/build/p-7ffd9721.js +0 -2
- package/www/build/p-817630e4.entry.js +0 -2
- package/www/build/p-817630e4.entry.js.map +0 -1
- package/www/build/p-831d85f5.entry.js +0 -2
- package/www/build/p-831d85f5.entry.js.map +0 -1
- package/www/build/p-873e12a2.entry.js +0 -2
- package/www/build/p-873e12a2.entry.js.map +0 -1
- package/www/build/p-908b8d73.entry.js +0 -2
- package/www/build/p-908b8d73.entry.js.map +0 -1
- package/www/build/p-9b181758.entry.js +0 -2
- package/www/build/p-9b181758.entry.js.map +0 -1
- package/www/build/p-a47b9059.entry.js +0 -2
- package/www/build/p-a47b9059.entry.js.map +0 -1
- package/www/build/p-a4df3220.entry.js +0 -2
- package/www/build/p-a4df3220.entry.js.map +0 -1
- package/www/build/p-a702edc4.entry.js +0 -2
- package/www/build/p-a702edc4.entry.js.map +0 -1
- package/www/build/p-ad4c702b.entry.js +0 -2
- package/www/build/p-ad4c702b.entry.js.map +0 -1
- package/www/build/p-b15d006f.entry.js +0 -2
- package/www/build/p-b15d006f.entry.js.map +0 -1
- package/www/build/p-bbb9029e.entry.js +0 -2
- package/www/build/p-bbb9029e.entry.js.map +0 -1
- package/www/build/p-cb7381a0.entry.js +0 -2
- package/www/build/p-ccdfec00.entry.js +0 -2
- package/www/build/p-ccdfec00.entry.js.map +0 -1
- package/www/build/p-ec12d752.entry.js +0 -2
- package/www/build/p-ec12d752.entry.js.map +0 -1
- package/www/build/p-edbedacb.entry.js +0 -2
- package/www/build/p-edbedacb.entry.js.map +0 -1
- package/www/build/p-f6138bf7.entry.js +0 -2
- package/www/build/p-f8bc8ed9.entry.js +0 -2
- package/www/build/p-f8bc8ed9.entry.js.map +0 -1
- /package/dist/web-components-library/{p-cdfbcb3b.entry.js.map → p-02fb0bf9.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-e1081a2f.entry.js.map → p-067411f0.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-136f336a.entry.js.map → p-121f224a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-af6bdd6e.entry.js.map → p-1e71577c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4085be9a.entry.js.map → p-1ef66142.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-22cb956c.entry.js.map → p-1efed23b.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-ab221eac.entry.js.map → p-222898cd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-c39e4a49.entry.js.map → p-2bd1326c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-67476a7c.entry.js.map → p-317cbb00.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6d382092.entry.js.map → p-32bc925a.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f36e7e6b.entry.js.map → p-33d993fe.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-1a13cd9b.entry.js.map → p-3748979c.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-20401d48.entry.js.map → p-3a9a120f.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0251d009.entry.js.map → p-4f6c86ce.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-5b3cfc2e.entry.js.map → p-51ebf661.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-0c9247be.entry.js.map → p-6ea349f6.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-39b91bfa.entry.js.map → p-7dbd0e3e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-aba618c3.entry.js.map → p-89b30fce.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-f6138bf7.entry.js.map → p-8b3257b4.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b38bca77.entry.js.map → p-8c3a7bc1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-bb610386.entry.js.map → p-8d2704ee.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-82e87326.entry.js.map → p-8f4fcd01.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-cb7381a0.entry.js.map → p-8fb3354e.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-88c45ed6.entry.js.map → p-904c7fdd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-b7d4b886.entry.js.map → p-a5187022.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-fa02ba25.entry.js.map → p-a52b3dd1.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-6c5937db.entry.js.map → p-a8f43afd.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-869ba2b5.entry.js.map → p-b7620e80.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a09646a9.entry.js.map → p-bc9237eb.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-7965766c.entry.js.map → p-ccedd440.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-8f6ff78c.entry.js.map → p-d6441232.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-87ea0b0a.entry.js.map → p-df5eeb75.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-4a7431f6.entry.js.map → p-dfb0e8d8.entry.js.map} +0 -0
- /package/dist/web-components-library/{p-a2eb700b.entry.js.map → p-efe489a5.entry.js.map} +0 -0
- /package/www/build/{p-cdfbcb3b.entry.js.map → p-02fb0bf9.entry.js.map} +0 -0
- /package/www/build/{p-e1081a2f.entry.js.map → p-067411f0.entry.js.map} +0 -0
- /package/www/build/{p-136f336a.entry.js.map → p-121f224a.entry.js.map} +0 -0
- /package/www/build/{p-af6bdd6e.entry.js.map → p-1e71577c.entry.js.map} +0 -0
- /package/www/build/{p-4085be9a.entry.js.map → p-1ef66142.entry.js.map} +0 -0
- /package/www/build/{p-22cb956c.entry.js.map → p-1efed23b.entry.js.map} +0 -0
- /package/www/build/{p-ab221eac.entry.js.map → p-222898cd.entry.js.map} +0 -0
- /package/www/build/{p-c39e4a49.entry.js.map → p-2bd1326c.entry.js.map} +0 -0
- /package/www/build/{p-67476a7c.entry.js.map → p-317cbb00.entry.js.map} +0 -0
- /package/www/build/{p-6d382092.entry.js.map → p-32bc925a.entry.js.map} +0 -0
- /package/www/build/{p-f36e7e6b.entry.js.map → p-33d993fe.entry.js.map} +0 -0
- /package/www/build/{p-1a13cd9b.entry.js.map → p-3748979c.entry.js.map} +0 -0
- /package/www/build/{p-20401d48.entry.js.map → p-3a9a120f.entry.js.map} +0 -0
- /package/www/build/{p-0251d009.entry.js.map → p-4f6c86ce.entry.js.map} +0 -0
- /package/www/build/{p-5b3cfc2e.entry.js.map → p-51ebf661.entry.js.map} +0 -0
- /package/www/build/{p-0c9247be.entry.js.map → p-6ea349f6.entry.js.map} +0 -0
- /package/www/build/{p-39b91bfa.entry.js.map → p-7dbd0e3e.entry.js.map} +0 -0
- /package/www/build/{p-aba618c3.entry.js.map → p-89b30fce.entry.js.map} +0 -0
- /package/www/build/{p-f6138bf7.entry.js.map → p-8b3257b4.entry.js.map} +0 -0
- /package/www/build/{p-b38bca77.entry.js.map → p-8c3a7bc1.entry.js.map} +0 -0
- /package/www/build/{p-bb610386.entry.js.map → p-8d2704ee.entry.js.map} +0 -0
- /package/www/build/{p-82e87326.entry.js.map → p-8f4fcd01.entry.js.map} +0 -0
- /package/www/build/{p-cb7381a0.entry.js.map → p-8fb3354e.entry.js.map} +0 -0
- /package/www/build/{p-88c45ed6.entry.js.map → p-904c7fdd.entry.js.map} +0 -0
- /package/www/build/{p-b7d4b886.entry.js.map → p-a5187022.entry.js.map} +0 -0
- /package/www/build/{p-fa02ba25.entry.js.map → p-a52b3dd1.entry.js.map} +0 -0
- /package/www/build/{p-6c5937db.entry.js.map → p-a8f43afd.entry.js.map} +0 -0
- /package/www/build/{p-869ba2b5.entry.js.map → p-b7620e80.entry.js.map} +0 -0
- /package/www/build/{p-a09646a9.entry.js.map → p-bc9237eb.entry.js.map} +0 -0
- /package/www/build/{p-7965766c.entry.js.map → p-ccedd440.entry.js.map} +0 -0
- /package/www/build/{p-8f6ff78c.entry.js.map → p-d6441232.entry.js.map} +0 -0
- /package/www/build/{p-87ea0b0a.entry.js.map → p-df5eeb75.entry.js.map} +0 -0
- /package/www/build/{p-4a7431f6.entry.js.map → p-dfb0e8d8.entry.js.map} +0 -0
- /package/www/build/{p-a2eb700b.entry.js.map → p-efe489a5.entry.js.map} +0 -0
|
@@ -5,13 +5,6 @@ import { ButtonType, ButtonVariant, ControlSize, IconPosition } from "../../bean
|
|
|
5
5
|
*/
|
|
6
6
|
export class ZButton {
|
|
7
7
|
constructor() {
|
|
8
|
-
/** defines a string value that labels the internal interactive element. Used for accessibility. */
|
|
9
|
-
this.ariaLabel = undefined;
|
|
10
|
-
/**
|
|
11
|
-
* Use `htmlrole` instead.
|
|
12
|
-
* @deprecated This prop has been deprecated in favor of `htmlrole` for better accessibility.
|
|
13
|
-
*/
|
|
14
|
-
this.role = "";
|
|
15
8
|
/** HTML button disabled attribute. */
|
|
16
9
|
this.disabled = false;
|
|
17
10
|
/** HTML button type attribute. */
|
|
@@ -29,26 +22,24 @@ export class ZButton {
|
|
|
29
22
|
this.hasText = !!((_a = this.hostElement.textContent) === null || _a === void 0 ? void 0 : _a.trim());
|
|
30
23
|
}
|
|
31
24
|
get attributes() {
|
|
25
|
+
var _a;
|
|
32
26
|
return {
|
|
33
|
-
id: this.htmlid,
|
|
34
|
-
class: {
|
|
27
|
+
"id": this.htmlid,
|
|
28
|
+
"class": {
|
|
35
29
|
"z-button--container": true,
|
|
36
30
|
"z-button--has-text": this.hasText,
|
|
37
31
|
},
|
|
32
|
+
"aria-label": ((_a = this.htmlAriaLabel) === null || _a === void 0 ? void 0 : _a.trim()) || undefined,
|
|
38
33
|
};
|
|
39
34
|
}
|
|
40
35
|
renderIcon() {
|
|
41
36
|
return this.icon && h("z-icon", { name: this.icon });
|
|
42
37
|
}
|
|
43
38
|
render() {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
const normalizedRole = this.htmlrole || ((_b = this.role) === null || _b === void 0 ? void 0 : _b.trim()) || undefined;
|
|
47
|
-
const shouldRenderAsLink = normalizedRole === "link";
|
|
48
|
-
if (this.href || shouldRenderAsLink) {
|
|
49
|
-
return (h("a", Object.assign({}, this.attributes, { "aria-label": normalizedAriaLabel, href: this.href || "#", target: this.target }), this.renderIcon(), h("slot", null)));
|
|
39
|
+
if (this.href) {
|
|
40
|
+
return (h("a", Object.assign({}, this.attributes, { href: this.href, target: this.target }), this.renderIcon(), h("slot", null)));
|
|
50
41
|
}
|
|
51
|
-
return (h("button", Object.assign({}, this.attributes, {
|
|
42
|
+
return (h("button", Object.assign({}, this.attributes, { name: this.name, type: this.type, disabled: this.disabled, role: this.htmlRole || undefined }), this.renderIcon(), h("slot", null)));
|
|
52
43
|
}
|
|
53
44
|
static get is() { return "z-button"; }
|
|
54
45
|
static get encapsulation() { return "scoped"; }
|
|
@@ -64,27 +55,7 @@ export class ZButton {
|
|
|
64
55
|
}
|
|
65
56
|
static get properties() {
|
|
66
57
|
return {
|
|
67
|
-
"
|
|
68
|
-
"type": "string",
|
|
69
|
-
"mutable": false,
|
|
70
|
-
"complexType": {
|
|
71
|
-
"original": "string | undefined",
|
|
72
|
-
"resolved": "string",
|
|
73
|
-
"references": {}
|
|
74
|
-
},
|
|
75
|
-
"required": false,
|
|
76
|
-
"optional": false,
|
|
77
|
-
"docs": {
|
|
78
|
-
"tags": [],
|
|
79
|
-
"text": "defines a string value that labels the internal interactive element. Used for accessibility."
|
|
80
|
-
},
|
|
81
|
-
"getter": false,
|
|
82
|
-
"setter": false,
|
|
83
|
-
"reflect": false,
|
|
84
|
-
"attribute": "aria-label",
|
|
85
|
-
"defaultValue": "undefined"
|
|
86
|
-
},
|
|
87
|
-
"role": {
|
|
58
|
+
"htmlAriaLabel": {
|
|
88
59
|
"type": "string",
|
|
89
60
|
"mutable": false,
|
|
90
61
|
"complexType": {
|
|
@@ -93,21 +64,17 @@ export class ZButton {
|
|
|
93
64
|
"references": {}
|
|
94
65
|
},
|
|
95
66
|
"required": false,
|
|
96
|
-
"optional":
|
|
67
|
+
"optional": true,
|
|
97
68
|
"docs": {
|
|
98
|
-
"tags": [
|
|
99
|
-
|
|
100
|
-
"text": "This prop has been deprecated in favor of `htmlrole` for better accessibility."
|
|
101
|
-
}],
|
|
102
|
-
"text": "Use `htmlrole` instead."
|
|
69
|
+
"tags": [],
|
|
70
|
+
"text": "`aria-label` for the internal button element. Mostly needed when no text is present, like for an icon-only button."
|
|
103
71
|
},
|
|
104
72
|
"getter": false,
|
|
105
73
|
"setter": false,
|
|
106
74
|
"reflect": false,
|
|
107
|
-
"attribute": "
|
|
108
|
-
"defaultValue": "\"\""
|
|
75
|
+
"attribute": "html-aria-label"
|
|
109
76
|
},
|
|
110
|
-
"
|
|
77
|
+
"htmlRole": {
|
|
111
78
|
"type": "string",
|
|
112
79
|
"mutable": false,
|
|
113
80
|
"complexType": {
|
|
@@ -119,12 +86,12 @@ export class ZButton {
|
|
|
119
86
|
"optional": true,
|
|
120
87
|
"docs": {
|
|
121
88
|
"tags": [],
|
|
122
|
-
"text": "
|
|
89
|
+
"text": "`role` attribute for the internal button element. Used for accessibility."
|
|
123
90
|
},
|
|
124
91
|
"getter": false,
|
|
125
92
|
"setter": false,
|
|
126
93
|
"reflect": false,
|
|
127
|
-
"attribute": "
|
|
94
|
+
"attribute": "html-role"
|
|
128
95
|
},
|
|
129
96
|
"href": {
|
|
130
97
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAE9E,OAAO,EAAa,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAE7F;;GAEG;AAOH,MAAM,OAAO,OAAO;IANpB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAE9E,OAAO,EAAa,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAE7F;;GAEG;AAOH,MAAM,OAAO,OAAO;IANpB;QAiCE,sCAAsC;QAEtC,aAAQ,GAAa,KAAK,CAAC;QAE3B,kCAAkC;QAElC,SAAI,GAAgB,UAAU,CAAC,MAAM,CAAC;QAEtC,oFAAoF;QAEpF,YAAO,GAAmB,aAAa,CAAC,OAAO,CAAC;QAMhD,mDAAmD;QAEnD,iBAAY,GAAkB,YAAY,CAAC,IAAI,CAAC;QAEhD,wEAAwE;QAExE,SAAI,GAA8B,WAAW,CAAC,GAAG,CAAC;QAE1C,YAAO,GAAG,KAAK,CAAC;KAgDzB;IA9CC,iBAAiB;;QACf,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAA,MAAA,IAAI,CAAC,WAAW,CAAC,WAAW,0CAAE,IAAI,EAAE,CAAA,CAAC;IACxD,CAAC;IAED,IAAY,UAAU;;QACpB,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,MAAM;YACjB,OAAO,EAAE;gBACP,qBAAqB,EAAE,IAAI;gBAC3B,oBAAoB,EAAE,IAAI,CAAC,OAAO;aACnC;YACD,YAAY,EAAE,CAAA,MAAA,IAAI,CAAC,aAAa,0CAAE,IAAI,EAAE,KAAI,SAAS;SACtD,CAAC;IACJ,CAAC;IAEO,UAAU;QAChB,OAAO,IAAI,CAAC,IAAI,IAAI,cAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,CAAC;IAClD,CAAC;IAED,MAAM;QACJ,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACd,OAAO,CACL,yBACM,IAAI,CAAC,UAAU,IACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,MAAM;gBAElB,IAAI,CAAC,UAAU,EAAE;gBAClB,eAAQ,CACN,CACL,CAAC;QACJ,CAAC;QAED,OAAO,CACL,8BACM,IAAI,CAAC,UAAU,IACnB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,QAAQ,IAAI,SAAS;YAE/B,IAAI,CAAC,UAAU,EAAE;YAClB,eAAQ,CACD,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Prop, h} from \"@stencil/core\";\nimport {JSXBase} from \"@stencil/core/internal\";\nimport {ButtonSize, ButtonType, ButtonVariant, ControlSize, IconPosition} from \"../../beans\";\n\n/**\n * @slot - button label\n */\n@Component({\n tag: \"z-button\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZButton implements ComponentInterface {\n @Element() hostElement: HTMLZButtonElement;\n\n /** `aria-label` for the internal button element. Mostly needed when no text is present, like for an icon-only button. */\n @Prop()\n htmlAriaLabel?: string;\n\n /** `role` attribute for the internal button element. Used for accessibility. */\n @Prop()\n htmlRole?: string;\n\n /** HTML <a> href attribute. If it is set, it renders an HTML <a> tag. */\n @Prop()\n href?: string;\n\n /** HTML a target attribute. */\n @Prop()\n target?: string;\n\n /** Identifier, should be unique. */\n @Prop()\n htmlid?: string;\n\n /** HTML button name attribute. */\n @Prop()\n name?: string;\n\n /** HTML button disabled attribute. */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** HTML button type attribute. */\n @Prop()\n type?: ButtonType = ButtonType.BUTTON;\n\n /** Graphical variant: `primary`, `secondary`, `tertiary`. Defaults to `primary`. */\n @Prop({reflect: true})\n variant?: ButtonVariant = ButtonVariant.PRIMARY;\n\n /** `z-icon` name to use (optional). */\n @Prop()\n icon?: string;\n\n /** the button icon position. Defaults to `left` */\n @Prop({reflect: true})\n iconPosition?: IconPosition = IconPosition.LEFT;\n\n /** Available sizes: `big`, `small` and `x-small`. Defaults to `big`. */\n @Prop({reflect: true})\n size?: ButtonSize | ControlSize = ControlSize.BIG;\n\n private hasText = false;\n\n componentWillLoad() {\n this.hasText = !!this.hostElement.textContent?.trim();\n }\n\n private get attributes(): JSXBase.HTMLAttributes<HTMLAnchorElement | HTMLButtonElement> {\n return {\n \"id\": this.htmlid,\n \"class\": {\n \"z-button--container\": true,\n \"z-button--has-text\": this.hasText,\n },\n \"aria-label\": this.htmlAriaLabel?.trim() || undefined,\n };\n }\n\n private renderIcon(): HTMLZIconElement | undefined {\n return this.icon && <z-icon name={this.icon} />;\n }\n\n render(): HTMLAnchorElement | HTMLButtonElement {\n if (this.href) {\n return (\n <a\n {...this.attributes}\n href={this.href}\n target={this.target}\n >\n {this.renderIcon()}\n <slot />\n </a>\n );\n }\n\n return (\n <button\n {...this.attributes}\n name={this.name}\n type={this.type}\n disabled={this.disabled}\n role={this.htmlRole || undefined}\n >\n {this.renderIcon()}\n <slot />\n </button>\n );\n }\n}\n"]}
|
|
@@ -36,7 +36,7 @@ export class ZButtonSort {
|
|
|
36
36
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h("button", { key: '
|
|
39
|
+
return (h("button", { key: '9f6cc523db408ecd628ebeca367fcd5238b53242', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, h("span", { key: '15464a3717dc9c43f7355afc6c937c705ad76bc0', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), h("span", { key: '6b16b77136dc5792df55388293496c27c8421c3c', class: "counter" }, this.counter && ` (${this.counter})`), h("span", { key: 'f5b3555d64385543220424bc0e5e65b3d9208cb4', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), h("z-icon", { key: 'b58a48b94aad9b5867ccc71c885e2f2d48da56d5', name: "caret-up-down", width: 16, height: 16 })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "z-button-sort"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -8,16 +8,14 @@ export class ZChip {
|
|
|
8
8
|
this.variant = ZChipVariant.OUTLINE;
|
|
9
9
|
/** set z-chip as disabled */
|
|
10
10
|
this.disabled = false;
|
|
11
|
-
/** z-chip aria-label string */
|
|
12
|
-
this.ariaLabel = "";
|
|
13
11
|
}
|
|
14
12
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
13
|
+
return (h("div", { key: '1d7f780bb25a957983564f132f34014c443db4fb', class: {
|
|
16
14
|
"z-chip-container": true,
|
|
17
15
|
"z-chip-interactive": !!this.interactiveIcon,
|
|
18
16
|
[this.type]: true,
|
|
19
17
|
[this.variant]: true,
|
|
20
|
-
}, "aria-disabled": this.disabled ? "true" : undefined }, this.icon && h("z-icon", { key: '
|
|
18
|
+
}, "aria-disabled": this.disabled ? "true" : undefined }, this.icon && h("z-icon", { key: '713b643f92f56eb2ba3860620af7d825e4670aa7', name: this.icon }), h("slot", { key: 'f1b591dea14c29a3e5357a5fd063de560bae1497' }), this.interactiveIcon && (h("button", { key: '3ba72530a98214d2c82b8cd98ea44d91cb4a849d', type: "button", onClick: () => this.interactiveIconClick.emit(), "aria-label": this.htmlAriaLabel || undefined, disabled: this.disabled }, h("z-icon", { key: 'e2c247e4b372b800facc047fd20d13331b72c7d9', class: "interactive-icon", name: this.interactiveIcon })))));
|
|
21
19
|
}
|
|
22
20
|
static get is() { return "z-chip"; }
|
|
23
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -145,7 +143,7 @@ export class ZChip {
|
|
|
145
143
|
"attribute": "disabled",
|
|
146
144
|
"defaultValue": "false"
|
|
147
145
|
},
|
|
148
|
-
"
|
|
146
|
+
"htmlAriaLabel": {
|
|
149
147
|
"type": "string",
|
|
150
148
|
"mutable": false,
|
|
151
149
|
"complexType": {
|
|
@@ -154,16 +152,15 @@ export class ZChip {
|
|
|
154
152
|
"references": {}
|
|
155
153
|
},
|
|
156
154
|
"required": false,
|
|
157
|
-
"optional":
|
|
155
|
+
"optional": true,
|
|
158
156
|
"docs": {
|
|
159
157
|
"tags": [],
|
|
160
|
-
"text": "
|
|
158
|
+
"text": "`aria-label` for the icon button"
|
|
161
159
|
},
|
|
162
160
|
"getter": false,
|
|
163
161
|
"setter": false,
|
|
164
162
|
"reflect": false,
|
|
165
|
-
"attribute": "aria-label"
|
|
166
|
-
"defaultValue": "\"\""
|
|
163
|
+
"attribute": "html-aria-label"
|
|
167
164
|
}
|
|
168
165
|
};
|
|
169
166
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAQpD,MAAM,OAAO,KAAK;IANlB;QAaE,wDAAwD;QAExD,SAAI,GAAe,SAAS,CAAC,OAAO,CAAC;QAErC,0DAA0D;QAE1D,YAAO,GAAkB,YAAY,CAAC,OAAO,CAAC;QAM9C,6BAA6B;QAE7B,aAAQ,GAAa,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-chip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAQpD,MAAM,OAAO,KAAK;IANlB;QAaE,wDAAwD;QAExD,SAAI,GAAe,SAAS,CAAC,OAAO,CAAC;QAErC,0DAA0D;QAE1D,YAAO,GAAkB,YAAY,CAAC,OAAO,CAAC;QAM9C,6BAA6B;QAE7B,aAAQ,GAAa,KAAK,CAAC;KAuC5B;IA7BC,MAAM;QACJ,OAAO,CACL,4DACE,KAAK,EAAE;gBACL,kBAAkB,EAAE,IAAI;gBACxB,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe;gBAC5C,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI;gBACjB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI;aACrB,mBACc,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YAEhD,IAAI,CAAC,IAAI,IAAI,+DAAQ,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI;YACzC,8DAAQ;YACP,IAAI,CAAC,eAAe,IAAI,CACvB,+DACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,EAAE,gBACnC,IAAI,CAAC,aAAa,IAAI,SAAS,EAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBAEvB,+DACE,KAAK,EAAC,kBAAkB,EACxB,IAAI,EAAE,IAAI,CAAC,eAAe,GAC1B,CACK,CACV,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Element, Event, EventEmitter, Prop, h} from \"@stencil/core\";\nimport {ZChipType, ZChipVariant} from \"../../beans\";\n\n@Component({\n tag: \"z-chip\",\n styleUrl: \"styles.css\",\n shadow: false,\n scoped: true,\n})\nexport class ZChip implements ComponentInterface {\n @Element() el: HTMLZChipElement;\n\n /** Non interactive icon */\n @Prop()\n icon?: string;\n\n /** z-chip size type, can be default, medium or small */\n @Prop({reflect: true})\n type?: ZChipType = ZChipType.DEFAULT;\n\n /** z-chip variant type, can be outline, filled or soft */\n @Prop({reflect: true})\n variant?: ZChipVariant = ZChipVariant.OUTLINE;\n\n /** z-chip interactive icon */\n @Prop({reflect: true})\n interactiveIcon?: string;\n\n /** set z-chip as disabled */\n @Prop({reflect: true})\n disabled?: boolean = false;\n\n /** `aria-label` for the icon button */\n @Prop()\n htmlAriaLabel?: string;\n\n /** click on interactive icon */\n @Event()\n interactiveIconClick: EventEmitter;\n\n render(): HTMLDivElement {\n return (\n <div\n class={{\n \"z-chip-container\": true,\n \"z-chip-interactive\": !!this.interactiveIcon,\n [this.type]: true,\n [this.variant]: true,\n }}\n aria-disabled={this.disabled ? \"true\" : undefined}\n >\n {this.icon && <z-icon name={this.icon} />}\n <slot />\n {this.interactiveIcon && (\n <button\n type=\"button\"\n onClick={() => this.interactiveIconClick.emit()}\n aria-label={this.htmlAriaLabel || undefined}\n disabled={this.disabled}\n >\n <z-icon\n class=\"interactive-icon\"\n name={this.interactiveIcon}\n />\n </button>\n )}\n </div>\n );\n }\n}\n"]}
|
|
@@ -192,7 +192,7 @@ export class ZColorPicker {
|
|
|
192
192
|
this.colorKeysByRow = this.sortColorKeysByRow();
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return (h(Host, { key: '
|
|
195
|
+
return (h(Host, { key: 'a20a725ec68d917c9611ee844e33014a63baca19', role: "listbox", "aria-label": this.htmlAriaLabel || LOCALES[this.lng]["Select a color"], tabIndex: 0 }, this.colorKeysByRow.map((colorKey) => {
|
|
196
196
|
var _a;
|
|
197
197
|
return (h("button", { class: "color-swatch", "data-color": colorKey, role: "option", "aria-selected": ((_a = this.selectedColor) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === colorKey.toUpperCase() ? "true" : "false", tabIndex: -1, onClick: () => (this.selectedColor = colorKey), disabled: this.disableTransparent && colorKey === "#FFFFFF00" }, h("div", { class: "color-swatch", role: "img", "aria-roledescription": LOCALES[this.lng]["Color swatch"], "aria-label": ColorPickerPalette[colorKey][this.lng], title: ColorPickerPalette[colorKey][this.lng], style: { backgroundColor: colorKey } })));
|
|
198
198
|
})));
|
|
@@ -297,7 +297,7 @@ export class ZCombobox {
|
|
|
297
297
|
return (h("z-list-element", { class: "check-all-wrapper", role: "presentation", htmlTabindex: -1, dividerType: ListDividerType.ELEMENT, dividerColor: "gray800", size: this.getControlToListSize(), disabled: !!isDisabled }, h("span", { class: "option-wrap", role: "presentation", onClick: () => this.checkOption(optionId) }, h("z-icon", { name: allChecked ? "checkbox-checked" : "checkbox", class: this.focusedItemId === optionId ? "focused" : "" }), h("span", { id: optionId, role: isDisabled ? "presentation" : "option", "aria-selected": allChecked ? "true" : "false" }, allChecked ? this.uncheckalltext : this.checkalltext))));
|
|
298
298
|
}
|
|
299
299
|
render() {
|
|
300
|
-
return (h("div", { key: '
|
|
300
|
+
return (h("div", { key: 'd8c312f0c68c902a7c063f5ef8bfc1429e9c0183', "data-action": `combo-${this.inputid}`, class: { open: this.isopen, fixed: this.isfixed, disabled: this.disabled }, id: this.inputid }, this.renderHeader(), !this.disabled && this.renderContent()));
|
|
301
301
|
}
|
|
302
302
|
static get is() { return "z-combobox"; }
|
|
303
303
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,9 +44,9 @@ export class ZCoverHero {
|
|
|
44
44
|
return (h("div", { class: "content-container" }, h("slot", { name: "content" })));
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'd4ce22a56ef897f184ae2e36d4ebc1c0735cf91b' }, this.variant === CoverHeroVariant.STACKED &&
|
|
48
48
|
this.contentPosition === CoverHeroContentPosition.TOP &&
|
|
49
|
-
this.renderContent(), h("div", { key: '
|
|
49
|
+
this.renderContent(), h("div", { key: '2d790a351a963c4ba71af3a6542f2b942ff27d4d', class: "main-container" }, h("div", { key: '4b2e472817f19b8180c661030932e5371937a4ed', class: "cover-container" }, h("slot", { key: '6a4224585e584d2f04a4e722e64c65a6e02857fa', name: "cover" })), h("slot", { key: '03ca9f7b7add04644db979a62ed328bf0d866338', name: "info-reveal" }), this.variant === CoverHeroVariant.OVERLAY && this.renderContent()), this.variant === CoverHeroVariant.STACKED &&
|
|
50
50
|
this.contentPosition === CoverHeroContentPosition.BOTTOM &&
|
|
51
51
|
this.renderContent()));
|
|
52
52
|
}
|
|
@@ -10,7 +10,7 @@ export class ZDivider {
|
|
|
10
10
|
this.orientation = DividerOrientation.HORIZONTAL;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '336d858e90aea1150ee35c4cb25bb49c00e658f7', class: `divider-${this.size} divider-${this.orientation}`, style: { backgroundColor: `var(--${this.color})` } }));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "z-divider"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ZGhostLoading {
|
|
3
3
|
render() {
|
|
4
|
-
return h(Host, { key: '
|
|
4
|
+
return h(Host, { key: 'a72ef89fbc42376f89d92807f65a095cb5fc0468' });
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "z-ghost-loading"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@ export class ZIcon {
|
|
|
48
48
|
return (h("svg", { id: this.iconid || undefined, fill: this.fill ? `var(--${this.fill})` : undefined, viewBox: "0 0 1000 1000", width: this.width, height: this.height, "aria-hidden": "true" }, this.selectPathOrPolygon(ICONS[this.getTransparentIndicatorIconIfNeeded()])));
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'dfb975a522bb0efeee162d107c49e683c543edfd', "aria-hidden": "true" }, this.hasColorIndicator && !this.needsTransparentIndicator ? (h("div", { class: "icon-wrapper" }, this.renderColorIndicator(), this.renderBaseIcon())) : (this.renderBaseIcon())));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "z-icon"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
+
/**
|
|
3
|
+
* @prop --z-icon-width: Width of the icon. Default is 1.125rem (18px).
|
|
4
|
+
* @prop --z-icon-height: Height of the icon. Default is 1.125rem (18px).
|
|
5
|
+
* @prop --z-icon-left-margin: Left margin of the icon. Default is 0.
|
|
6
|
+
* @prop --z-icon-right-margin: Right margin of the icon. Default is 0.
|
|
7
|
+
*/
|
|
2
8
|
display: inline;
|
|
3
9
|
margin-right: var(--z-icon-right-margin, 0);
|
|
4
10
|
margin-left: var(--z-icon-left-margin, 0);
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
* @slot content - set the info box content
|
|
4
4
|
*/
|
|
5
5
|
export class ZInfoBox {
|
|
6
6
|
constructor() {
|
|
7
|
-
/** render close icon
|
|
7
|
+
/** render close icon */
|
|
8
8
|
this.isclosable = true;
|
|
9
|
+
/** Aria label for the close button */
|
|
10
|
+
this.closeButtonAriaLabel = "Chiudi pannello informazioni";
|
|
9
11
|
}
|
|
10
12
|
emitInfoBoxClose() {
|
|
11
13
|
this.infoBoxClose.emit({ boxid: this.boxid });
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
|
-
return (h(
|
|
16
|
+
return (h(Host, { key: '9a10d9eb99bec3ab96a9f2d76f22a82b88ef5d93', id: this.boxid }, h("div", { key: '3c1a9b5aed8fcd4e7edfd6103184043797db0611', class: "main-content" }, this.leftIcon && (h("div", { key: '4937f035f9734d141e3040d2b306eedc760fd52d', class: "left-icon" }, h("z-icon", { key: '6ddcc20b0985831563a297c47181902bf7724513', name: this.leftIcon }))), h("slot", { key: '2f0cbf4d39f61c3525e386400ec6246bd7c9e836', name: "content" }), this.isclosable && (h("button", { key: '977c3bc85ce7b21d4651258c912d54a43e031b52', class: "close-button", "aria-label": this.closeButtonAriaLabel, onClick: () => this.emitInfoBoxClose() }, h("z-icon", { key: '374bd9fa23bfda2f053f4d48c3fad67b75edee7e', name: "multiply" })))), h("slot", { key: '72945f9fee87f68a7de5f2aae470d8331b887dac', name: "additional-content" })));
|
|
15
17
|
}
|
|
16
18
|
static get is() { return "z-info-box"; }
|
|
17
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,13 +60,59 @@ export class ZInfoBox {
|
|
|
58
60
|
"optional": false,
|
|
59
61
|
"docs": {
|
|
60
62
|
"tags": [],
|
|
61
|
-
"text": "render close icon
|
|
63
|
+
"text": "render close icon"
|
|
62
64
|
},
|
|
63
65
|
"getter": false,
|
|
64
66
|
"setter": false,
|
|
65
|
-
"reflect":
|
|
67
|
+
"reflect": true,
|
|
66
68
|
"attribute": "isclosable",
|
|
67
69
|
"defaultValue": "true"
|
|
70
|
+
},
|
|
71
|
+
"closeButtonAriaLabel": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"mutable": false,
|
|
74
|
+
"complexType": {
|
|
75
|
+
"original": "string",
|
|
76
|
+
"resolved": "string",
|
|
77
|
+
"references": {}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": false,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "Aria label for the close button"
|
|
84
|
+
},
|
|
85
|
+
"getter": false,
|
|
86
|
+
"setter": false,
|
|
87
|
+
"reflect": false,
|
|
88
|
+
"attribute": "close-button-aria-label",
|
|
89
|
+
"defaultValue": "\"Chiudi pannello informazioni\""
|
|
90
|
+
},
|
|
91
|
+
"leftIcon": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "IconName",
|
|
96
|
+
"resolved": "\"accessibility\" | \"accessibility-filled\" | \"active-note\" | \"active-note-filled\" | \"add-image\" | \"add-image-filled\" | \"add-note\" | \"add-note-filled\" | \"ai\" | \"ai-filled\" | \"ai-tips\" | \"ai-tips-filled\" | \"angle-settings\" | \"angle-settings-filled\" | \"app-switcher\" | \"app-switcher-button\" | \"app-switcher-filled\" | \"arrow-clockwise-down-left\" | \"arrow-clockwise-down-left-filled\" | \"arrow-clockwise-down-right\" | \"arrow-clockwise-down-right-filled\" | \"arrow-clockwise-up-left\" | \"arrow-clockwise-up-left-filled\" | \"arrow-clockwise-up-right\" | \"arrow-clockwise-up-right-filled\" | \"arrow-counterclockwise-down-left\" | \"arrow-counterclockwise-down-left-filled\" | \"arrow-counterclockwise-up-left\" | \"arrow-counterclockwise-up-left-filled\" | \"arrow-counterclockwise-up-right\" | \"arrow-counterclockwise-up-right-filled\" | \"arrow-down\" | \"arrow-down-filled\" | \"arrow-left\" | \"arrow-left-filled\" | \"arrow-left-right\" | \"arrow-left-right-filled\" | \"arrow-left-rounded\" | \"arrow-left-rounded-filled\" | \"arrow-left-square\" | \"arrow-left-square-filled\" | \"arrow-north-east\" | \"arrow-north-east-filled\" | \"arrow-north-east-square\" | \"arrow-north-east-square-filled\" | \"arrow-north-west\" | \"arrow-north-west-filled\" | \"arrow-north-west-square\" | \"arrow-north-west-square-filled\" | \"arrow-quad-down\" | \"arrow-quad-down-filled\" | \"arrow-quad-left\" | \"arrow-quad-left-filled\" | \"arrow-quad-north-east\" | \"arrow-quad-north-east-filled\" | \"arrow-quad-north-west\" | \"arrow-quad-north-west-filled\" | \"arrow-quad-right\" | \"arrow-quad-right-filled\" | \"arrow-quad-south-east\" | \"arrow-quad-south-east-filled\" | \"arrow-quad-south-west\" | \"arrow-quad-south-west-filled\" | \"arrow-quad-up\" | \"arrow-quad-up-filled\" | \"arrow-right\" | \"arrow-right-filled\" | \"arrow-right-rounded\" | \"arrow-right-rounded-filled\" | \"arrow-right-square\" | \"arrow-right-square-filled\" | \"arrow-simple-down\" | \"arrow-simple-down-filled\" | \"arrow-simple-left\" | \"arrow-simple-left-filled\" | \"arrow-simple-north-east\" | \"arrow-simple-north-east-filled\" | \"arrow-simple-north-west\" | \"arrow-simple-north-west-filled\" | \"arrow-simple-right\" | \"arrow-simple-right-filled\" | \"arrow-simple-south-east\" | \"arrow-simple-south-east-filled\" | \"arrow-simple-south-west\" | \"arrow-simple-south-west-filled\" | \"arrow-simple-up\" | \"arrow-simple-up-filled\" | \"arrow-small-left\" | \"arrow-small-left-filled\" | \"arrow-small-right\" | \"arrow-small-right-filled\" | \"arrow-south-east\" | \"arrow-south-east-filled\" | \"arrow-south-east-square\" | \"arrow-south-east-square-filled\" | \"arrow-south-west\" | \"arrow-south-west-filled\" | \"arrow-south-west-square\" | \"arrow-south-west-square-filled\" | \"arrow-square-down\" | \"arrow-square-down-filled\" | \"arrow-square-left\" | \"arrow-square-left-filled\" | \"arrow-square-north-east\" | \"arrow-square-north-east-filled\" | \"arrow-square-north-west\" | \"arrow-square-north-west-filled\" | \"arrow-square-right\" | \"arrow-square-right-filled\" | \"arrow-square-south-east\" | \"arrow-square-south-east-filled\" | \"arrow-square-south-west\" | \"arrow-square-south-west-filled\" | \"arrow-style\" | \"arrow-style-filled\" | \"arrow-style-line\" | \"arrow-style-line-filled\" | \"arrow-up\" | \"arrow-up-and-down\" | \"arrow-up-and-down-filled\" | \"arrow-up-down\" | \"arrow-up-down-double\" | \"arrow-up-down-double-filled\" | \"arrow-up-down-filled\" | \"arrow-up-filled\" | \"arrow-up-rounded\" | \"arrow-up-rounded-filled\" | \"arrow-up-square\" | \"arrow-up-square-filled\" | \"arrows-to-dot\" | \"arrows-to-dot-filled\" | \"art\" | \"art-filled\" | \"artist\" | \"artist-filled\" | \"artist-quote\" | \"artist-quote-filled\" | \"artistic-education\" | \"artistic-education-filled\" | \"artwork\" | \"artwork-filled\" | \"artworks\" | \"artworks-filled\" | \"ask-your-manager\" | \"assign-task\" | \"assign-task-button\" | \"assign-task-filled\" | \"atom\" | \"atom-button\" | \"atom-filled\" | \"back\" | \"back-filled\" | \"back-top\" | \"back-top-filled\" | \"barrage-questions\" | \"barrage-questions-filled\" | \"bg-color\" | \"bg-color-filled\" | \"bg-color-transparent\" | \"bg-color-transparent-filled\" | \"biology\" | \"biology-filled\" | \"black-circle\" | \"black-circle-filled\" | \"black-diamond\" | \"black-diamond-filled\" | \"black-nib\" | \"black-nib-filled\" | \"black-sun-with-rays\" | \"black-sun-with-rays-filled\" | \"blockquote\" | \"blockquote-filled\" | \"bold\" | \"bold-filled\" | \"book\" | \"book-add\" | \"book-author\" | \"book-author-filled\" | \"book-delete\" | \"book-filled\" | \"book-minus\" | \"book-minus-filled\" | \"book-plus\" | \"book-plus-filled\" | \"book-view\" | \"book-view-filled\" | \"bookmark\" | \"bookmark-filled\" | \"breaking-line\" | \"breaking-line-filled\" | \"bulleted-list\" | \"bulleted-list-filled\" | \"bulleted-list-square\" | \"bulleted-list-square-filled\" | \"bulls-eye\" | \"bulls-eye-filled\" | \"burger-menu\" | \"burger-menu-booktab\" | \"burger-menu-booktab-button\" | \"burger-menu-booktab-filled\" | \"burger-menu-filled\" | \"burger-menu-mobile\" | \"burger-menu-mobile-filled\" | \"c-circled\" | \"c-circled-filled\" | \"c-square\" | \"c-square-filled\" | \"calligraphic\" | \"calligraphic-filled\" | \"camera\" | \"camera-filled\" | \"caret-down\" | \"caret-down-filled\" | \"caret-up\" | \"caret-up-down\" | \"caret-up-down-filled\" | \"caret-up-filled\" | \"cart\" | \"catalog-card\" | \"catalog-card-filled\" | \"chapter\" | \"chapter-filled\" | \"character-panel\" | \"character-panel-filled\" | \"check-task\" | \"check-task-button\" | \"check-task-filled\" | \"checkbox\" | \"checkbox-checked\" | \"checkbox-checked-filled\" | \"checkbox-filled\" | \"checkbox-selected\" | \"checkbox-unchecked\" | \"checkmark\" | \"checkmark-circle\" | \"checkmark-circle-filled\" | \"checkmark-filled\" | \"checkmark-square\" | \"checkmark-square-button\" | \"checkmark-square-filled\" | \"chemistry\" | \"chemistry-filled\" | \"chevron-circle-down\" | \"chevron-circle-down-filled\" | \"chevron-circle-left\" | \"chevron-circle-left-filled\" | \"chevron-circle-right\" | \"chevron-circle-right-filled\" | \"chevron-circle-up\" | \"chevron-circle-up-filled\" | \"chevron-down\" | \"chevron-down-circle\" | \"chevron-down-circle-filled\" | \"chevron-down-filled\" | \"chevron-left\" | \"chevron-left-circle\" | \"chevron-left-circle-filled\" | \"chevron-left-filled\" | \"chevron-right\" | \"chevron-right-circle\" | \"chevron-right-circle-filled\" | \"chevron-right-filled\" | \"chevron-up\" | \"chevron-up-circle\" | \"chevron-up-circle-filled\" | \"chevron-up-filled\" | \"cinese\" | \"cinese-filled\" | \"circle-black\" | \"circle-black-filled\" | \"circle-check\" | \"circle-chevron-down\" | \"circle-chevron-left\" | \"circle-chevron-up\" | \"circle-cross\" | \"circle-cross-fill\" | \"circle-cross-stroke\" | \"circle-plus\" | \"circle-warning\" | \"circle-white\" | \"circle-white-filled\" | \"civics\" | \"civics-filled\" | \"class-assign\" | \"class-assign-filled\" | \"clean\" | \"clean-filled\" | \"close\" | \"cloud-delete\" | \"cloud-delete-filled\" | \"cloud-download\" | \"cloud-download-filled\" | \"cloud-x\" | \"cloud-x-filled\" | \"club-black-suit\" | \"club-black-suit-filled\" | \"code\" | \"code-button\" | \"code-filled\" | \"collezioni\" | \"collezioni-filled\" | \"color-selected\" | \"color-selected-filled\" | \"communication\" | \"communication-filled\" | \"compare\" | \"compare-filled\" | \"compress\" | \"compress-filled\" | \"contextual-menu\" | \"contextual-menu-filled\" | \"copy\" | \"copy-filled\" | \"copy-to-clipboard\" | \"copy-to-clipboard-filled\" | \"copyright\" | \"copyright-filled\" | \"course\" | \"course-filled\" | \"cross\" | \"cursor-index\" | \"cursor-index-button\" | \"cursor-index-filled\" | \"curved-line\" | \"curved-line-filled\" | \"dagger\" | \"dagger-filled\" | \"daggerdbl\" | \"daggerdbl-filled\" | \"deactivate-note\" | \"deactivate-note-filled\" | \"decrease-indentation\" | \"decrease-indentation-filled\" | \"delete\" | \"delete-filled\" | \"diamond-black-suit\" | \"diamond-black-suit-filled\" | \"diamond-white\" | \"diamond-white-filled\" | \"dictionary-switch\" | \"dictionary-switch-filled\" | \"dictonary\" | \"dictonary-filled\" | \"disegno-arrow\" | \"disegno-arrow-filled\" | \"disegno-colours-intersection\" | \"disegno-colours-intersection-filled\" | \"disegno-compass\" | \"disegno-compass-filled\" | \"disegno-curve\" | \"disegno-curve-filled\" | \"disegno-ellipsis\" | \"disegno-ellipsis-filled\" | \"disegno-grid-settings\" | \"disegno-grid-settings-filled\" | \"disegno-half-line\" | \"disegno-half-line-filled\" | \"disegno-hide-tools\" | \"disegno-hide-tools-filled\" | \"disegno-irregular-polygon\" | \"disegno-irregular-polygon-filled\" | \"disegno-levels\" | \"disegno-levels-filled\" | \"disegno-poly-line\" | \"disegno-poly-line-filled\" | \"disegno-polygon-vertices\" | \"disegno-polygon-vertices-filled\" | \"disegno-protractor\" | \"disegno-protractor-filled\" | \"disegno-regular-polygon\" | \"disegno-regular-polygon-filled\" | \"disegno-ruler\" | \"disegno-ruler-filled\" | \"disegno-segment\" | \"disegno-segment-filled\" | \"disegno-straight-line\" | \"disegno-straight-line-filled\" | \"document\" | \"document-button\" | \"document-filled\" | \"document-with-text\" | \"document-with-text-filled\" | \"down-white-index\" | \"down-white-index-filled\" | \"download\" | \"download-filled\" | \"draft\" | \"draft-filled\" | \"drag-drop\" | \"drag-drop-filled\" | \"drag-indicator\" | \"drag-indicator-filled\" | \"drop-down\" | \"drop-up-down\" | \"economic\" | \"economic-filled\" | \"edit\" | \"edit-field\" | \"edit-field-filled\" | \"edit-filled\" | \"edit-picture\" | \"edit-picture-filled\" | \"electric-light-bulb\" | \"electric-light-bulb-filled\" | \"electrical-engineering\" | \"electrical-engineering-filled\" | \"email\" | \"email-filled\" | \"english\" | \"english-filled\" | \"enter\" | \"erase-tool\" | \"erase-tool-filled\" | \"event\" | \"event-cancelled\" | \"event-cancelled-filled\" | \"event-filled\" | \"excel-doc\" | \"excel-doc-button\" | \"excel-doc-filled\" | \"exclamation-circle\" | \"exclamation-circle-filled\" | \"exclamation-square\" | \"exclamation-square-filled\" | \"exercises\" | \"exercises-filled\" | \"exercises-interactive\" | \"exercises-interactive-button\" | \"exercises-interactive-filled\" | \"exercises-online\" | \"exercises-online-button\" | \"exercises-online-filled\" | \"exercises-plus\" | \"exercises-plus-button\" | \"exercises-plus-filled\" | \"exit\" | \"expand\" | \"expand-filled\" | \"external-link-down\" | \"external-link-left\" | \"external-link-right\" | \"external-link-right-up\" | \"extra\" | \"extra-filled\" | \"facebook\" | \"facebook-filled\" | \"favorites\" | \"favorites-filled\" | \"feed\" | \"feed-filled\" | \"file-zip\" | \"file-zip-button\" | \"file-zip-filled\" | \"fill-blanks\" | \"fill-blanks-filled\" | \"fill-choice\" | \"fill-choice-filled\" | \"film-frames\" | \"film-frames-button\" | \"film-frames-filled\" | \"find-error\" | \"find-error-filled\" | \"fit-height-view\" | \"fit-height-view-filled\" | \"fit-width-view\" | \"fit-width-view-filled\" | \"folder\" | \"folder-filled\" | \"font-book\" | \"font-book-filled\" | \"font-color\" | \"font-color-filled\" | \"frame-with-picture\" | \"frame-with-picture-filled\" | \"french\" | \"french-filled\" | \"fun\" | \"fun-filled\" | \"gap\" | \"gap-filled\" | \"gear\" | \"gear-filled\" | \"generic-note\" | \"generic-note-filled\" | \"geogebra\" | \"geogebra-button\" | \"geogebra-filled\" | \"geographical-map\" | \"geographical-map-filled\" | \"geography\" | \"geography-filled\" | \"german\" | \"german-filled\" | \"go-page\" | \"go-page-button\" | \"go-page-filled\" | \"golden-pen\" | \"golden-pen-filled\" | \"grades\" | \"grades-filled\" | \"graphic\" | \"graphic-filled\" | \"greek\" | \"greek-filled\" | \"headphone\" | \"headphone-button\" | \"headphone-filled\" | \"heart-black-suit\" | \"heart-black-suit-filled\" | \"helm\" | \"helm-filled\" | \"helmsymbol\" | \"helmsymbol-filled\" | \"highlights\" | \"highlights-filled\" | \"history\" | \"history-filled\" | \"history-next\" | \"history-next-filled\" | \"history-previous\" | \"history-previous-filled\" | \"home\" | \"home-filled\" | \"hourglass-flowing\" | \"hourglass-flowing-filled\" | \"hourglass-half-bottom\" | \"hourglass-half-bottom-filled\" | \"house\" | \"house-filled\" | \"human-sciences\" | \"human-sciences-filled\" | \"image\" | \"image-add\" | \"image-add-filled\" | \"image-button\" | \"image-edit\" | \"image-edit-filled\" | \"image-filled\" | \"image-jpg\" | \"image-jpg-filled\" | \"image-list\" | \"image-list-filled\" | \"image-png\" | \"image-png-filled\" | \"image-tiff\" | \"image-tiff-filled\" | \"immersive-reading\" | \"immersive-reading-filled\" | \"inbox-tray\" | \"inbox-tray-filled\" | \"increase-indentation\" | \"increase-indentation-filled\" | \"indeterminated-checkbox\" | \"indeterminated-checkbox-filled\" | \"index-down\" | \"index-down-filled\" | \"index-left\" | \"index-left-filled\" | \"index-right\" | \"index-right-filled\" | \"index-up\" | \"index-up-filled\" | \"info\" | \"info-filled\" | \"informatics\" | \"informatics-filled\" | \"informationsource\" | \"informationsource-filled\" | \"interactive-glossaries\" | \"interactive-glossaries-filled\" | \"interactives-maps\" | \"interactives-maps-button\" | \"interactives-maps-filled\" | \"italian\" | \"italian-filled\" | \"italic\" | \"italic-filled\" | \"laboratory\" | \"laboratory-filled\" | \"land-management\" | \"land-management-filled\" | \"latin\" | \"latin-filled\" | \"law\" | \"law-filled\" | \"lecture\" | \"lecture-button\" | \"lecture-filled\" | \"left-magnifying-glass\" | \"left-magnifying-glass-filled\" | \"left-white-index\" | \"left-white-index-filled\" | \"light-bulb\" | \"light-bulb-filled\" | \"link\" | \"link-button\" | \"link-filled\" | \"liquid-version\" | \"liquid-version-filled\" | \"list-bulleted-square\" | \"list-bulleted-square-filled\" | \"location\" | \"location-filled\" | \"lock\" | \"lock-filled\" | \"lock-open\" | \"lock-open-filled\" | \"login\" | \"login-button\" | \"login-filled\" | \"logout\" | \"logout-filled\" | \"lozenge\" | \"lozenge-filled\" | \"magnet-snap\" | \"magnet-snap-filled\" | \"magnfying-glass\" | \"magnfying-glass-filled\" | \"map\" | \"map-filled\" | \"math\" | \"math-filled\" | \"mechanics\" | \"mechanics-filled\" | \"medium-black-square\" | \"medium-black-square-filled\" | \"medium-white-square\" | \"medium-white-square-filled\" | \"menu-burger\" | \"minus\" | \"minus-circled\" | \"minus-circled-filled\" | \"minus-filled\" | \"minus-square\" | \"minus-square-filled\" | \"monospace\" | \"monospace-filled\" | \"multi-marks\" | \"multi-marks-button\" | \"multi-marks-filled\" | \"multiple-choice\" | \"multiple-choice-filled\" | \"multiply\" | \"multiply-circle\" | \"multiply-circle-filled\" | \"multiply-circled\" | \"multiply-circled-filled\" | \"multiply-filled\" | \"multiply-square\" | \"multiply-square-filled\" | \"music\" | \"music-filled\" | \"my-data\" | \"my-data-filled\" | \"natural-science\" | \"natural-science-filled\" | \"next-text-to-speech\" | \"next-text-to-speech-filled\" | \"nib\" | \"nib-filled\" | \"nobel\" | \"nobel-filled\" | \"note\" | \"note-filled\" | \"notification\" | \"notification-filled\" | \"notification-new\" | \"notification-new-filled\" | \"notification-off\" | \"notification-off-filled\" | \"numbered-list\" | \"numbered-list-filled\" | \"nutritional-sciences\" | \"nutritional-sciences-filled\" | \"open-answer\" | \"open-answer-filled\" | \"open-file-folder\" | \"open-file-folder-filled\" | \"open-lock\" | \"open-lock-filled\" | \"oval\" | \"oval-filled\" | \"paragraph\" | \"paragraph-filled\" | \"pause\" | \"pause-filled\" | \"pdf\" | \"pdf-button\" | \"pdf-filled\" | \"pen-thickness\" | \"pen-thickness-filled\" | \"people\" | \"people-filled\" | \"periodic-table\" | \"periodic-table-button\" | \"periodic-table-filled\" | \"philosophy\" | \"philosophy-filled\" | \"physics\" | \"physics-filled\" | \"picker-color\" | \"picker-color-filled\" | \"play\" | \"play-button\" | \"play-filled\" | \"plus\" | \"plus-circled\" | \"plus-circled-filled\" | \"plus-filled\" | \"plus-square\" | \"plus-square-filled\" | \"pointer\" | \"pointer-button\" | \"pointer-filled\" | \"powerpoint\" | \"powerpoint-button\" | \"powerpoint-filled\" | \"previous-text-to-speech\" | \"previous-text-to-speech-filled\" | \"print\" | \"print-filled\" | \"progress-percentage\" | \"progress-percentage-filled\" | \"projection\" | \"projection-filled\" | \"projection-room\" | \"projection-room-filled\" | \"python-code\" | \"python-code-button\" | \"python-code-filled\" | \"qrcode\" | \"qrcode-filled\" | \"quad\" | \"quad-filled\" | \"question-mark\" | \"question-mark-circle\" | \"question-mark-circle-filled\" | \"question-mark-square\" | \"question-mark-square-filled\" | \"quick-assign\" | \"quick-assign-filled\" | \"quiz\" | \"quiz-filled\" | \"radio-button\" | \"radio-button-checked\" | \"radio-button-checked-filled\" | \"radio-button-filled\" | \"reading-settings\" | \"reading-settings-filled\" | \"recently-viewed\" | \"recently-viewed-filled\" | \"redo\" | \"redo-filled\" | \"reduce-screen\" | \"reduce-screen-filled\" | \"registro-filter\" | \"registro-filter-filled\" | \"reload\" | \"reload-filled\" | \"remove-formatting\" | \"remove-formatting-filled\" | \"right-white-index\" | \"right-white-index-filled\" | \"russian\" | \"russian-filled\" | \"sans-serif\" | \"sans-serif-filled\" | \"save\" | \"save-filled\" | \"school\" | \"school-filled\" | \"science\" | \"science-earth\" | \"science-earth-filled\" | \"science-filled\" | \"screenfull\" | \"screenfull-filled\" | \"search\" | \"search-filled\" | \"send\" | \"send-filled\" | \"serif\" | \"serif-filled\" | \"share\" | \"share-filled\" | \"shopping-cart\" | \"shopping-cart-filled\" | \"short-cut\" | \"short-cut-filled\" | \"show-video\" | \"show-video-button\" | \"show-video-filled\" | \"site-resources\" | \"site-resources-filled\" | \"skip-back\" | \"skip-back-by-10\" | \"skip-back-by-10-filled\" | \"skip-back-filled\" | \"skip-forward\" | \"skip-forward-by-10\" | \"skip-forward-by-10-filled\" | \"skip-forward-filled\" | \"smartphone\" | \"smartphone-filled\" | \"snap-grid\" | \"snap-grid-filled\" | \"snap-grid-off\" | \"snap-grid-off-filled\" | \"spade-black-suit\" | \"spade-black-suit-filled\" | \"spanish\" | \"spanish-filled\" | \"speaker-off\" | \"speaker-off-filled\" | \"speaker-on\" | \"speaker-on-filled\" | \"speech-synthesis\" | \"speech-synthesis-filled\" | \"sport-sciences\" | \"sport-sciences-filled\" | \"square-black\" | \"square-black-filled\" | \"square-white\" | \"square-white-filled\" | \"star-empty\" | \"star-empty-filled\" | \"star-full\" | \"star-full-filled\" | \"story\" | \"story-filled\" | \"straight-line\" | \"straight-line-filled\" | \"strike-through-text\" | \"strike-through-text-filled\" | \"strikethrough-text\" | \"strikethrough-text-filled\" | \"stroke-color\" | \"stroke-color-filled\" | \"stroke-size\" | \"stroke-size-filled\" | \"stroke-size-large\" | \"stroke-size-large-filled\" | \"stroke-size-medium\" | \"stroke-size-medium-filled\" | \"stroke-size-small\" | \"stroke-size-small-filled\" | \"stroke-solid\" | \"stroke-solid-dash\" | \"stroke-solid-dash-filled\" | \"stroke-solid-dot\" | \"stroke-solid-dot-filled\" | \"stroke-solid-filled\" | \"stroke-style\" | \"stroke-style-filled\" | \"student\" | \"student-filled\" | \"subscript\" | \"subscript-filled\" | \"subtitles\" | \"subtitles-filled\" | \"suit-club\" | \"suit-club-filled\" | \"suit-diamond\" | \"suit-diamond-filled\" | \"suit-heart\" | \"suit-heart-filled\" | \"suit-spade\" | \"suit-spade-filled\" | \"sun-with-rays\" | \"sun-with-rays-black\" | \"sun-with-rays-black-filled\" | \"sun-with-rays-filled\" | \"support\" | \"support-filled\" | \"supscript\" | \"supscript-filled\" | \"switch\" | \"switch-filled\" | \"synchronize\" | \"synchronize-filled\" | \"table-insert\" | \"table-insert-filled\" | \"target\" | \"target-filled\" | \"teacher\" | \"teacher-filled\" | \"technique\" | \"technique-filled\" | \"technology\" | \"technology-filled\" | \"text\" | \"text-align-center\" | \"text-align-center-filled\" | \"text-align-justify\" | \"text-align-justify-filled\" | \"text-align-left\" | \"text-align-left-filled\" | \"text-align-right\" | \"text-align-right-filled\" | \"text-filled\" | \"text-large\" | \"text-large-filled\" | \"text-medium\" | \"text-medium-filled\" | \"text-scale\" | \"text-scale-filled\" | \"text-small\" | \"text-small-filled\" | \"text-to-speech\" | \"text-to-speech-filled\" | \"textual-analysis\" | \"textual-analysis-button\" | \"textual-analysis-filled\" | \"theory-help\" | \"theory-help-filled\" | \"thumbnail\" | \"thumbnail-filled\" | \"thumbs-down\" | \"thumbs-down-filled\" | \"thumbs-up\" | \"thumbs-up-filled\" | \"ticket\" | \"ticket-filled\" | \"timeline\" | \"timeline-filled\" | \"timer-clock\" | \"timer-clock-filled\" | \"topic\" | \"topic-filled\" | \"topography\" | \"topography-filled\" | \"tourist-technique\" | \"tourist-technique-filled\" | \"translation\" | \"translation-filled\" | \"true-false\" | \"true-false-filled\" | \"u-circle\" | \"u-circle-filled\" | \"u-square\" | \"u-square-filled\" | \"underlined-text\" | \"underlined-text-filled\" | \"undo\" | \"undo-filled\" | \"up-white-index\" | \"up-white-index-filled\" | \"upload\" | \"upload-filled\" | \"user\" | \"user-avatar\" | \"user-avatar-filled\" | \"view\" | \"view-double-page\" | \"view-double-page-filled\" | \"view-filled\" | \"view-off\" | \"view-off-filled\" | \"view-options\" | \"view-options-filled\" | \"view-single-page\" | \"view-single-page-filled\" | \"virtual-class\" | \"virtual-class-filled\" | \"virtual-reality\" | \"virtual-reality-button\" | \"virtual-reality-filled\" | \"white-circle\" | \"white-circle-filled\" | \"white-diamond\" | \"white-diamond-filled\" | \"word\" | \"word-button\" | \"word-filled\" | \"working-bag\" | \"working-bag-filled\" | \"workplace-zanichelli\" | \"workplace-zanichelli-filled\" | \"workspace-zanichelli\" | \"workspace-zanichelli-filled\" | \"youtube\" | \"youtube-filled\" | \"zoom-in\" | \"zoom-in-filled\" | \"zoom-out\" | \"zoom-out-filled\" | \"zte\" | \"zte-filled\"",
|
|
97
|
+
"references": {
|
|
98
|
+
"IconName": {
|
|
99
|
+
"location": "import",
|
|
100
|
+
"path": "../../constants/iconset",
|
|
101
|
+
"id": "src/constants/iconset.ts::IconName",
|
|
102
|
+
"referenceLocation": "IconName"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": false,
|
|
107
|
+
"optional": false,
|
|
108
|
+
"docs": {
|
|
109
|
+
"tags": [],
|
|
110
|
+
"text": "Name of the icon to display on the top left of the info box.\nThe icon's color will be inherited from the border color set through the `--z-info-box--border-color` CSS variable, if set.\nOtherwise it can be customized using the `--z-info-box--left-icon-color` CSS variable.\nIf none of them is set, the icon will be colored using the `--color-primary01-icon` token."
|
|
111
|
+
},
|
|
112
|
+
"getter": false,
|
|
113
|
+
"setter": false,
|
|
114
|
+
"reflect": false,
|
|
115
|
+
"attribute": "left-icon"
|
|
68
116
|
}
|
|
69
117
|
};
|
|
70
118
|
}
|
|
@@ -80,8 +128,8 @@ export class ZInfoBox {
|
|
|
80
128
|
"text": "emitted on close icon click"
|
|
81
129
|
},
|
|
82
130
|
"complexType": {
|
|
83
|
-
"original": "
|
|
84
|
-
"resolved": "
|
|
131
|
+
"original": "{boxid: string}",
|
|
132
|
+
"resolved": "{ boxid: string; }",
|
|
85
133
|
"references": {}
|
|
86
134
|
}
|
|
87
135
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-info-box/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/z-info-box/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAGhG;;GAEG;AAMH,MAAM,OAAO,QAAQ;IALrB;QAUE,wBAAwB;QAExB,eAAU,GAAG,IAAI,CAAC;QAElB,sCAAsC;QAEtC,yBAAoB,GAAG,8BAA8B,CAAC;KA8CvD;IA/BS,gBAAgB;QACtB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAC,CAAC,CAAC;IAC9C,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,EAAE,EAAE,IAAI,CAAC,KAAK;YAClB,4DAAK,KAAK,EAAC,cAAc;gBACtB,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,KAAK,EAAC,WAAW;oBACpB,+DAAQ,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAI,CAC3B,CACP;gBAED,6DAAM,IAAI,EAAC,SAAS,GAAG;gBAEtB,IAAI,CAAC,UAAU,IAAI,CAClB,+DACE,KAAK,EAAC,cAAc,gBACR,IAAI,CAAC,oBAAoB,EACrC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,gBAAgB,EAAE;oBAEtC,+DAAQ,IAAI,EAAC,UAAU,GAAG,CACnB,CACV,CACG;YAEN,6DAAM,IAAI,EAAC,oBAAoB,GAAG,CAC7B,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Event, EventEmitter, Host, Prop, h} from \"@stencil/core\";\nimport {IconName} from \"../../constants/iconset\";\n\n/**\n * @slot content - set the info box content\n */\n@Component({\n tag: \"z-info-box\",\n styleUrl: \"styles.css\",\n shadow: true,\n})\nexport class ZInfoBox implements ComponentInterface {\n /** info box unique id */\n @Prop()\n boxid: string;\n\n /** render close icon */\n @Prop({reflect: true})\n isclosable = true;\n\n /** Aria label for the close button */\n @Prop()\n closeButtonAriaLabel = \"Chiudi pannello informazioni\";\n\n /**\n * Name of the icon to display on the top left of the info box.\n * The icon's color will be inherited from the border color set through the `--z-info-box--border-color` CSS variable, if set.\n * Otherwise it can be customized using the `--z-info-box--left-icon-color` CSS variable.\n * If none of them is set, the icon will be colored using the `--color-primary01-icon` token.\n */\n @Prop()\n leftIcon: IconName;\n\n /** emitted on close icon click */\n @Event()\n infoBoxClose: EventEmitter<{boxid: string}>;\n\n private emitInfoBoxClose(): void {\n this.infoBoxClose.emit({boxid: this.boxid});\n }\n\n render(): HTMLDivElement {\n return (\n <Host id={this.boxid}>\n <div class=\"main-content\">\n {this.leftIcon && (\n <div class=\"left-icon\">\n <z-icon name={this.leftIcon} />\n </div>\n )}\n\n <slot name=\"content\" />\n\n {this.isclosable && (\n <button\n class=\"close-button\"\n aria-label={this.closeButtonAriaLabel}\n onClick={() => this.emitInfoBoxClose()}\n >\n <z-icon name=\"multiply\" />\n </button>\n )}\n </div>\n\n <slot name=\"additional-content\" />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,23 +1,73 @@
|
|
|
1
|
+
:host,
|
|
2
|
+
*,
|
|
3
|
+
::slotted(*) {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
1
7
|
:host {
|
|
8
|
+
/**
|
|
9
|
+
* @prop --z-info-box--border-color: The border color of the info box.
|
|
10
|
+
* @prop --z-info-box--background-color: The background color of the info box.
|
|
11
|
+
* @prop --z-info-box--left-icon-color: The fill color of the icon displayed on the top left of the info box. If `--z-info-box--border-color` is set, this property will default to that value. Otherwise, it will default to `--color-primary01-icon`.
|
|
12
|
+
*/
|
|
13
|
+
--z-info-box--border-color: unset;
|
|
14
|
+
--z-info-box--left-icon-color: var(--z-info-box--border-color, var(--color-primary01-icon));
|
|
15
|
+
--z-info-box--background-color: var(--color-primary03);
|
|
16
|
+
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 2);
|
|
20
|
+
border: var(--border-size-medium) solid var(--z-info-box--border-color, transparent);
|
|
21
|
+
background: var(--z-info-box--background-color);
|
|
22
|
+
border-radius: var(--border-radius);
|
|
2
23
|
font-family: var(--font-family-sans);
|
|
3
24
|
font-weight: var(--font-rg);
|
|
25
|
+
gap: calc(var(--space-unit) * 2);
|
|
4
26
|
}
|
|
5
27
|
|
|
6
|
-
|
|
28
|
+
.main-content {
|
|
7
29
|
display: flex;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
30
|
+
align-items: flex-start;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* visually vertically align the icons to the first line of the text content */
|
|
34
|
+
.main-content .left-icon,
|
|
35
|
+
.close-button {
|
|
36
|
+
display: flex;
|
|
37
|
+
height: 1.25rem;
|
|
38
|
+
align-items: center;
|
|
12
39
|
}
|
|
13
40
|
|
|
14
|
-
|
|
41
|
+
.main-content .left-icon z-icon {
|
|
42
|
+
--z-icon-width: 1rem;
|
|
43
|
+
--z-icon-height: 1rem;
|
|
44
|
+
|
|
45
|
+
fill: var(--z-info-box--left-icon-color);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
::slotted([slot="content"]) {
|
|
15
49
|
color: var(--color-default-text);
|
|
16
|
-
font-size:
|
|
50
|
+
font-size: var(--font-size-2);
|
|
51
|
+
line-height: 1.25rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.main-content .left-icon + ::slotted([slot="content"]) {
|
|
55
|
+
margin-left: var(--space-unit);
|
|
17
56
|
}
|
|
18
57
|
|
|
19
|
-
:host
|
|
20
|
-
margin-
|
|
58
|
+
:host([isclosable]) ::slotted([slot="content"]) {
|
|
59
|
+
margin-right: calc(var(--space-unit) * 2);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.close-button {
|
|
63
|
+
padding: 0;
|
|
64
|
+
border: none;
|
|
65
|
+
margin: 0;
|
|
66
|
+
margin-left: auto;
|
|
67
|
+
background: none;
|
|
21
68
|
cursor: pointer;
|
|
22
|
-
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.close-button z-icon {
|
|
72
|
+
fill: var(--color-primary01-icon);
|
|
23
73
|
}
|