@zanichelli/albe-web-components 5.0.1 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1868 -0
- package/dist/cjs/{index-5c16dc2b.js → index-a8bdcb9c.js} +28 -13
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-64ac0753.js → utils-21d41d92.js} +17 -2
- package/dist/cjs/{utils-15c8b978.js → utils-eca6932d.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +244 -193
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-button-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +95 -26
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +64 -0
- package/dist/cjs/z-input-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-input-label_2.cjs.entry.js +2 -2
- package/dist/cjs/z-list-group.cjs.entry.js +1 -1
- package/dist/cjs/z-list_2.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +9 -6
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +26 -29
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +3 -3
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table.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 +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +26 -26
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +28 -13
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/date-picker/styles.css +32 -26
- package/dist/collection/components/date-picker/utils.js +15 -1
- package/dist/collection/components/date-picker/z-date-picker/index.js +102 -27
- package/dist/collection/components/date-picker/z-range-picker/index.js +230 -207
- package/dist/collection/components/file-upload/z-file/index.js +1 -1
- package/dist/collection/components/inputs/z-input/index.js +97 -4
- package/dist/collection/components/notification/z-tooltip/index.js +3 -3
- package/dist/collection/components/z-contextual-menu/index.js +3 -3
- package/dist/collection/components/z-info-reveal/index.js +143 -0
- package/dist/collection/components/z-info-reveal/styles.css +97 -0
- package/dist/collection/components/z-pagination/index.js +9 -6
- package/dist/collection/components/z-popover/index.js +30 -32
- package/dist/collection/components/z-table/z-table-header/index.js +1 -1
- package/dist/collection/deprecated/z-input-deprecated/index.js +1 -1
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +27 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +1 -1
- package/dist/esm/{index-3786a7ff.js → index-e5e2b27f.js} +29 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-a9a836d2.js → utils-34c0d609.js} +17 -3
- package/dist/esm/{utils-d49ae9f0.js → utils-9fa9c37c.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher_9.entry.js +244 -193
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button-deprecated.entry.js +1 -1
- package/dist/esm/z-button.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cookiebar.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +95 -26
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-footer.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +60 -0
- package/dist/esm/z-input-deprecated.entry.js +2 -2
- package/dist/esm/z-input-label_2.entry.js +2 -2
- package/dist/esm/z-list-group.entry.js +1 -1
- package/dist/esm/z-list_2.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-topbar.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +9 -6
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover-deprecated.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +26 -29
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-status-tag.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +3 -3
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip-deprecated.entry.js +26 -26
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/types/beans/index.d.ts +28 -14
- package/dist/types/components/date-picker/utils.d.ts +4 -3
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +6 -1
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +16 -15
- package/dist/types/components/inputs/z-input/index.d.ts +16 -0
- package/dist/types/components/z-info-reveal/index.d.ts +28 -0
- package/dist/types/components/z-popover/index.d.ts +3 -3
- package/dist/types/components.d.ts +70 -7
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-0146081c.entry.js +16 -0
- package/{www/build/p-6db40dac.entry.js → dist/web-components-library/p-040ea013.entry.js} +1 -1
- package/dist/web-components-library/{p-0610360b.entry.js → p-07ae4f7d.entry.js} +1 -1
- package/dist/web-components-library/p-0c3e7bc3.js +1 -0
- package/dist/web-components-library/p-1356eb90.entry.js +1 -0
- package/dist/web-components-library/{p-80044bc0.entry.js → p-1c790896.entry.js} +1 -1
- package/dist/web-components-library/{p-24f3a39e.entry.js → p-215adfd1.entry.js} +1 -1
- package/dist/web-components-library/p-223566d6.entry.js +1 -0
- package/{www/build/p-5c20338f.entry.js → dist/web-components-library/p-27666111.entry.js} +1 -1
- package/dist/web-components-library/{p-4a8fe1e0.entry.js → p-2ed37f62.entry.js} +1 -1
- package/dist/web-components-library/{p-60e042a0.entry.js → p-35573e0e.entry.js} +1 -1
- package/{www/build/p-9b563575.entry.js → dist/web-components-library/p-3700ad63.entry.js} +1 -1
- package/dist/web-components-library/{p-248e6c7d.entry.js → p-39dbb042.entry.js} +1 -1
- package/dist/web-components-library/p-3a991f9c.entry.js +1 -0
- package/dist/web-components-library/{p-49602979.entry.js → p-3ade68ff.entry.js} +1 -1
- package/dist/web-components-library/{p-fd404599.entry.js → p-3d748f0d.entry.js} +1 -1
- package/dist/web-components-library/p-47a55354.entry.js +1 -0
- package/dist/web-components-library/{p-1c2331a4.entry.js → p-4965b6db.entry.js} +1 -1
- package/dist/web-components-library/{p-d41ca4c3.js → p-5aa819f8.js} +1 -1
- package/dist/web-components-library/p-5e3b8207.entry.js +1 -0
- package/dist/web-components-library/{p-35f7cac2.entry.js → p-766eb9cf.entry.js} +1 -1
- package/dist/web-components-library/{p-fb7c83f6.js → p-7a5ecafb.js} +1 -1
- package/dist/web-components-library/{p-f9f5ab0b.entry.js → p-7e691a4e.entry.js} +1 -1
- package/dist/web-components-library/{p-4906f5a6.entry.js → p-7f48b622.entry.js} +1 -1
- package/dist/web-components-library/{p-287678e2.entry.js → p-80f26a20.entry.js} +1 -1
- package/dist/web-components-library/{p-18c0f701.entry.js → p-818c073b.entry.js} +1 -1
- package/dist/web-components-library/{p-2d93e9e9.entry.js → p-846f16e8.entry.js} +1 -1
- package/dist/web-components-library/{p-0bcc78d4.entry.js → p-8712d63f.entry.js} +1 -1
- package/{www/build/p-95414290.entry.js → dist/web-components-library/p-878e62e2.entry.js} +1 -1
- package/dist/web-components-library/{p-49f8c86b.entry.js → p-91cbf793.entry.js} +1 -1
- package/{www/build/p-5553f117.entry.js → dist/web-components-library/p-9504d075.entry.js} +1 -1
- package/dist/web-components-library/{p-5a2dd46c.entry.js → p-96bf5b15.entry.js} +1 -1
- package/dist/web-components-library/{p-987f1f8a.entry.js → p-977c81d3.entry.js} +1 -1
- package/{www/build/p-ec0c7a06.entry.js → dist/web-components-library/p-97d62d2a.entry.js} +1 -1
- package/dist/web-components-library/{p-9c81ed70.entry.js → p-a73195b6.entry.js} +1 -1
- package/dist/web-components-library/{p-a98ccf36.entry.js → p-aba00527.entry.js} +1 -1
- package/dist/web-components-library/{p-0487d5f1.entry.js → p-ac52264c.entry.js} +1 -1
- package/dist/web-components-library/{p-044edef0.entry.js → p-afed0692.entry.js} +1 -1
- package/{www/build/p-898e37bd.entry.js → dist/web-components-library/p-b369bf2f.entry.js} +1 -1
- package/dist/web-components-library/{p-286c4c99.entry.js → p-b621a765.entry.js} +1 -1
- package/dist/web-components-library/{p-25b1a634.entry.js → p-b6794d0f.entry.js} +1 -1
- package/{www/build/p-82217c76.entry.js → dist/web-components-library/p-ba76f52b.entry.js} +1 -1
- package/dist/web-components-library/{p-2c86d1ea.entry.js → p-cb3663e6.entry.js} +1 -1
- package/dist/web-components-library/{p-33120ebd.entry.js → p-cb4a854e.entry.js} +1 -1
- package/dist/web-components-library/{p-a88f4e49.entry.js → p-d4c5085b.entry.js} +1 -1
- package/dist/web-components-library/{p-0ccda54f.entry.js → p-d5e67db8.entry.js} +1 -1
- package/dist/web-components-library/{p-a4245c8a.entry.js → p-d986d368.entry.js} +1 -1
- package/dist/web-components-library/p-e4a2811a.entry.js +1 -0
- package/{www/build/p-e30a093f.entry.js → dist/web-components-library/p-e5eb1fa4.entry.js} +1 -1
- package/dist/web-components-library/{p-3dc21b58.entry.js → p-e6fb8b76.entry.js} +1 -1
- package/dist/web-components-library/p-e82cee27.entry.js +1 -0
- package/dist/web-components-library/{p-bf3ea7b5.entry.js → p-eddde828.entry.js} +1 -1
- package/dist/web-components-library/{p-99a76b4d.entry.js → p-f2962121.entry.js} +1 -1
- package/dist/web-components-library/{p-7407a0c3.entry.js → p-f5f15b8e.entry.js} +1 -1
- package/dist/web-components-library/p-faeb0c6e.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/react/components.d.ts +1 -0
- package/react/components.js +4 -3
- package/react/components.js.map +1 -1
- package/src-react/index.ts +1 -0
- package/www/build/index.esm.js +1 -1
- package/www/build/p-0146081c.entry.js +16 -0
- package/{dist/web-components-library/p-6db40dac.entry.js → www/build/p-040ea013.entry.js} +1 -1
- package/www/build/{p-0610360b.entry.js → p-07ae4f7d.entry.js} +1 -1
- package/www/build/p-0c3e7bc3.js +1 -0
- package/www/build/p-1356eb90.entry.js +1 -0
- package/www/build/{p-80044bc0.entry.js → p-1c790896.entry.js} +1 -1
- package/www/build/{p-24f3a39e.entry.js → p-215adfd1.entry.js} +1 -1
- package/www/build/p-223566d6.entry.js +1 -0
- package/{dist/web-components-library/p-5c20338f.entry.js → www/build/p-27666111.entry.js} +1 -1
- package/www/build/{p-4a8fe1e0.entry.js → p-2ed37f62.entry.js} +1 -1
- package/www/build/{p-60e042a0.entry.js → p-35573e0e.entry.js} +1 -1
- package/{dist/web-components-library/p-9b563575.entry.js → www/build/p-3700ad63.entry.js} +1 -1
- package/www/build/p-388b2ac4.js +1 -0
- package/www/build/{p-248e6c7d.entry.js → p-39dbb042.entry.js} +1 -1
- package/www/build/p-3a991f9c.entry.js +1 -0
- package/www/build/{p-49602979.entry.js → p-3ade68ff.entry.js} +1 -1
- package/www/build/{p-fd404599.entry.js → p-3d748f0d.entry.js} +1 -1
- package/www/build/p-47a55354.entry.js +1 -0
- package/www/build/{p-1c2331a4.entry.js → p-4965b6db.entry.js} +1 -1
- package/www/build/{p-d41ca4c3.js → p-5aa819f8.js} +1 -1
- package/www/build/p-5e3b8207.entry.js +1 -0
- package/www/build/{p-35f7cac2.entry.js → p-766eb9cf.entry.js} +1 -1
- package/www/build/{p-fb7c83f6.js → p-7a5ecafb.js} +1 -1
- package/www/build/{p-f9f5ab0b.entry.js → p-7e691a4e.entry.js} +1 -1
- package/www/build/{p-4906f5a6.entry.js → p-7f48b622.entry.js} +1 -1
- package/www/build/{p-287678e2.entry.js → p-80f26a20.entry.js} +1 -1
- package/www/build/{p-18c0f701.entry.js → p-818c073b.entry.js} +1 -1
- package/www/build/{p-2d93e9e9.entry.js → p-846f16e8.entry.js} +1 -1
- package/www/build/{p-0bcc78d4.entry.js → p-8712d63f.entry.js} +1 -1
- package/{dist/web-components-library/p-95414290.entry.js → www/build/p-878e62e2.entry.js} +1 -1
- package/www/build/{p-4c9c83c0.css → p-88b56b6e.css} +1 -1
- package/www/build/{p-49f8c86b.entry.js → p-91cbf793.entry.js} +1 -1
- package/{dist/web-components-library/p-5553f117.entry.js → www/build/p-9504d075.entry.js} +1 -1
- package/www/build/{p-5a2dd46c.entry.js → p-96bf5b15.entry.js} +1 -1
- package/www/build/{p-987f1f8a.entry.js → p-977c81d3.entry.js} +1 -1
- package/{dist/web-components-library/p-ec0c7a06.entry.js → www/build/p-97d62d2a.entry.js} +1 -1
- package/www/build/{p-9c81ed70.entry.js → p-a73195b6.entry.js} +1 -1
- package/www/build/{p-a98ccf36.entry.js → p-aba00527.entry.js} +1 -1
- package/www/build/{p-0487d5f1.entry.js → p-ac52264c.entry.js} +1 -1
- package/www/build/{p-044edef0.entry.js → p-afed0692.entry.js} +1 -1
- package/{dist/web-components-library/p-898e37bd.entry.js → www/build/p-b369bf2f.entry.js} +1 -1
- package/www/build/{p-286c4c99.entry.js → p-b621a765.entry.js} +1 -1
- package/www/build/{p-25b1a634.entry.js → p-b6794d0f.entry.js} +1 -1
- package/{dist/web-components-library/p-82217c76.entry.js → www/build/p-ba76f52b.entry.js} +1 -1
- package/www/build/{p-2c86d1ea.entry.js → p-cb3663e6.entry.js} +1 -1
- package/www/build/{p-33120ebd.entry.js → p-cb4a854e.entry.js} +1 -1
- package/www/build/{p-a88f4e49.entry.js → p-d4c5085b.entry.js} +1 -1
- package/www/build/{p-0ccda54f.entry.js → p-d5e67db8.entry.js} +1 -1
- package/www/build/{p-a4245c8a.entry.js → p-d986d368.entry.js} +1 -1
- package/www/build/p-e4a2811a.entry.js +1 -0
- package/{dist/web-components-library/p-e30a093f.entry.js → www/build/p-e5eb1fa4.entry.js} +1 -1
- package/www/build/{p-3dc21b58.entry.js → p-e6fb8b76.entry.js} +1 -1
- package/www/build/p-e82cee27.entry.js +1 -0
- package/www/build/{p-bf3ea7b5.entry.js → p-eddde828.entry.js} +1 -1
- package/www/build/{p-99a76b4d.entry.js → p-f2962121.entry.js} +1 -1
- package/www/build/{p-7407a0c3.entry.js → p-f5f15b8e.entry.js} +1 -1
- package/www/build/p-faeb0c6e.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/web-components-library/p-13174553.entry.js +0 -1
- package/dist/web-components-library/p-206e5b31.entry.js +0 -1
- package/dist/web-components-library/p-2e0885d6.entry.js +0 -16
- package/dist/web-components-library/p-45d4987c.entry.js +0 -1
- package/dist/web-components-library/p-6897ca8c.js +0 -1
- package/dist/web-components-library/p-71f19680.entry.js +0 -1
- package/dist/web-components-library/p-7ce57dfd.entry.js +0 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +0 -1
- package/dist/web-components-library/p-e9628876.entry.js +0 -1
- package/www/build/p-13174553.entry.js +0 -1
- package/www/build/p-206e5b31.entry.js +0 -1
- package/www/build/p-2e0885d6.entry.js +0 -16
- package/www/build/p-45d4987c.entry.js +0 -1
- package/www/build/p-58d420a2.js +0 -1
- package/www/build/p-6897ca8c.js +0 -1
- package/www/build/p-71f19680.entry.js +0 -1
- package/www/build/p-7ce57dfd.entry.js +0 -1
- package/www/build/p-99d7ab2f.entry.js +0 -1
- package/www/build/p-e9628876.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import { r as randomId } from './utils-
|
|
3
|
-
import { L as LabelPositions } from './index-
|
|
2
|
+
import { r as randomId } from './utils-9fa9c37c.js';
|
|
3
|
+
import { L as LabelPositions } from './index-e5e2b27f.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ".sc-z-toggle-switch-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:inline-flex;position:relative}label.sc-z-toggle-switch{display:flex;align-items:center;flex-direction:row;cursor:pointer}label.disabled.sc-z-toggle-switch{cursor:default}label.right.sc-z-toggle-switch{flex-direction:row-reverse}label.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{letter-spacing:0;color:var(--color-text01)}label.left.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-right:var(--space-unit)}label.right.sc-z-toggle-switch>span.sc-z-toggle-switch:first-child{margin-left:var(--space-unit)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{display:flex;align-items:center}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch{top:1px;left:1px;height:18px;width:calc(var(--space-unit) * 4);border-radius:var(--space-unit);color:var(--gray500);background-color:var(--gray500);position:relative;cursor:pointer}label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch,label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch{background-color:var(--color-disabled01);cursor:default}label.sc-z-toggle-switch>span.container.checked.disabled.sc-z-toggle-switch>span.circle.sc-z-toggle-switch>z-icon.sc-z-toggle-switch{fill:var(--color-disabled01)}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch{background-color:var(--color-primary01);fill:var(--color-primary01)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled){outline:none;box-shadow:var(--shadow-focus-primary)}input.sc-z-toggle-switch:focus:focus-visible+label.sc-z-toggle-switch>span.container.disabled.sc-z-toggle-switch{outline:none}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch:not(.disabled):hover{background-color:var(--color-hover-primary);fill:var(--color-hover-primary)}label.sc-z-toggle-switch>span.container.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{top:1px;left:1px;position:absolute;display:flex;align-items:center;justify-content:center;margin:0;height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);border-radius:7px;background-color:var(--color-white);box-shadow:var(--shadow-1);transition:transform 0.3s ease}label.sc-z-toggle-switch>span.container.checked.sc-z-toggle-switch>span.circle.sc-z-toggle-switch{transform:translateX(calc(100% - 2px))}input[type=\"checkbox\"].sc-z-toggle-switch{position:absolute;opacity:0;z-index:-1;pointer-events:none}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { P as PopoverPositions } from './index-
|
|
2
|
+
import { P as PopoverPositions } from './index-e5e2b27f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
|
|
5
5
|
|
|
@@ -85,7 +85,7 @@ const ZTooltipDeprecated = class {
|
|
|
85
85
|
registerInstance(this, hostRef);
|
|
86
86
|
this.positionChange = createEvent(this, "positionChange", 7);
|
|
87
87
|
/** Tooltip position. */
|
|
88
|
-
this.type = PopoverPositions.
|
|
88
|
+
this.type = PopoverPositions.auto;
|
|
89
89
|
/**
|
|
90
90
|
* The open state of the tooltip.
|
|
91
91
|
*/
|
|
@@ -96,7 +96,7 @@ const ZTooltipDeprecated = class {
|
|
|
96
96
|
Object
|
|
97
97
|
.values(PopoverPositions)
|
|
98
98
|
.every((position) => newValue !== position)) {
|
|
99
|
-
this.type = PopoverPositions.
|
|
99
|
+
this.type = PopoverPositions.auto;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
onPositionChange() {
|
|
@@ -165,29 +165,29 @@ const ZTooltipDeprecated = class {
|
|
|
165
165
|
const availableHeight = availableTop + availableBottom + boundingRect.height;
|
|
166
166
|
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
167
167
|
let position = this.type;
|
|
168
|
-
if (position === PopoverPositions.
|
|
168
|
+
if (position === PopoverPositions.auto) {
|
|
169
169
|
/**
|
|
170
170
|
* The `AUTO` position tries to place the tooltip in the "safest" area,
|
|
171
171
|
* where there's more space available.
|
|
172
172
|
*/
|
|
173
173
|
const positions = [];
|
|
174
174
|
if (availableTop / availableHeight > 0.9) {
|
|
175
|
-
positions.unshift(PopoverPositions.
|
|
175
|
+
positions.unshift(PopoverPositions.top);
|
|
176
176
|
}
|
|
177
177
|
else if (availableTop / availableHeight > 0.6) {
|
|
178
|
-
positions.push(PopoverPositions.
|
|
178
|
+
positions.push(PopoverPositions.top);
|
|
179
179
|
}
|
|
180
180
|
else if (availableTop / availableHeight < 0.1) {
|
|
181
|
-
positions.unshift(PopoverPositions.
|
|
181
|
+
positions.unshift(PopoverPositions.bottom);
|
|
182
182
|
}
|
|
183
183
|
else {
|
|
184
|
-
positions.push(PopoverPositions.
|
|
184
|
+
positions.push(PopoverPositions.bottom);
|
|
185
185
|
}
|
|
186
186
|
if (availableLeft / availableWidth > 0.6) {
|
|
187
|
-
positions.push(PopoverPositions.
|
|
187
|
+
positions.push(PopoverPositions.left);
|
|
188
188
|
}
|
|
189
189
|
else if (availableLeft / availableWidth < 0.4) {
|
|
190
|
-
positions.push(PopoverPositions.
|
|
190
|
+
positions.push(PopoverPositions.right);
|
|
191
191
|
}
|
|
192
192
|
position = positions.join("_");
|
|
193
193
|
}
|
|
@@ -199,46 +199,46 @@ const ZTooltipDeprecated = class {
|
|
|
199
199
|
const offsetRight = boundingRect.right - relativeBoundingRect.right;
|
|
200
200
|
const offsetBottom = boundingRect.bottom - relativeBoundingRect.bottom;
|
|
201
201
|
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
202
|
-
if (position === PopoverPositions.
|
|
203
|
-
position === PopoverPositions.
|
|
204
|
-
position === PopoverPositions.
|
|
202
|
+
if (position === PopoverPositions.top ||
|
|
203
|
+
position === PopoverPositions.top_right ||
|
|
204
|
+
position === PopoverPositions.top_left) {
|
|
205
205
|
style.top = "auto";
|
|
206
206
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
207
207
|
}
|
|
208
|
-
if (position === PopoverPositions.
|
|
209
|
-
position === PopoverPositions.
|
|
210
|
-
position === PopoverPositions.
|
|
208
|
+
if (position === PopoverPositions.bottom ||
|
|
209
|
+
position === PopoverPositions.bottom_right ||
|
|
210
|
+
position === PopoverPositions.bottom_left) {
|
|
211
211
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
212
212
|
style.bottom = "auto";
|
|
213
213
|
}
|
|
214
|
-
if (position === PopoverPositions.
|
|
215
|
-
position === PopoverPositions.
|
|
214
|
+
if (position === PopoverPositions.top ||
|
|
215
|
+
position === PopoverPositions.bottom) {
|
|
216
216
|
style.left = `${offsetLeft +
|
|
217
217
|
(boundingRect.width / 2) -
|
|
218
218
|
(this.host.clientWidth / 2)}px`;
|
|
219
219
|
}
|
|
220
|
-
if (position === PopoverPositions.
|
|
221
|
-
position === PopoverPositions.
|
|
220
|
+
if (position === PopoverPositions.top_right ||
|
|
221
|
+
position === PopoverPositions.bottom_right) {
|
|
222
222
|
style.right = "auto";
|
|
223
223
|
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
224
224
|
}
|
|
225
|
-
if (position === PopoverPositions.
|
|
226
|
-
position === PopoverPositions.
|
|
225
|
+
if (position === PopoverPositions.top_left ||
|
|
226
|
+
position === PopoverPositions.bottom_left) {
|
|
227
227
|
style.left = "auto";
|
|
228
228
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
229
229
|
}
|
|
230
|
-
if (position === PopoverPositions.
|
|
231
|
-
position === PopoverPositions.
|
|
230
|
+
if (position === PopoverPositions.right ||
|
|
231
|
+
position === PopoverPositions.left) {
|
|
232
232
|
style.top = `${offsetTop +
|
|
233
233
|
(boundingRect.height / 2) -
|
|
234
234
|
(this.host.clientHeight / 2)}px`;
|
|
235
235
|
style.bottom = "auto";
|
|
236
236
|
}
|
|
237
|
-
if (position === PopoverPositions.
|
|
237
|
+
if (position === PopoverPositions.right) {
|
|
238
238
|
style.right = "auto";
|
|
239
239
|
style.left = `${offsetLeft + boundingRect.width}px`;
|
|
240
240
|
}
|
|
241
|
-
if (position === PopoverPositions.
|
|
241
|
+
if (position === PopoverPositions.left) {
|
|
242
242
|
style.left = "auto";
|
|
243
243
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
244
244
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-90e18641.js';
|
|
2
|
-
import { P as PopoverPositions } from './index-
|
|
2
|
+
import { P as PopoverPositions } from './index-e5e2b27f.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ const ZTooltip = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
/** Tooltip position. */
|
|
10
|
-
this.position = PopoverPositions.
|
|
10
|
+
this.position = PopoverPositions.auto;
|
|
11
11
|
/** Enable tooltip dark mode. */
|
|
12
12
|
this.dark = false;
|
|
13
13
|
/**
|
|
@@ -130,7 +130,10 @@ export declare enum InputTypeEnum {
|
|
|
130
130
|
email = "email",
|
|
131
131
|
textarea = "textarea",
|
|
132
132
|
checkbox = "checkbox",
|
|
133
|
-
radio = "radio"
|
|
133
|
+
radio = "radio",
|
|
134
|
+
tel = "tel",
|
|
135
|
+
url = "url",
|
|
136
|
+
search = "search"
|
|
134
137
|
}
|
|
135
138
|
export declare type InputStatusBean = keyof typeof InputStatusEnum;
|
|
136
139
|
export declare enum InputStatusEnum {
|
|
@@ -140,19 +143,19 @@ export declare enum InputStatusEnum {
|
|
|
140
143
|
}
|
|
141
144
|
export declare type PopoverPositionBean = keyof typeof PopoverPositions;
|
|
142
145
|
export declare enum PopoverPositions {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
146
|
+
auto = "auto",
|
|
147
|
+
top = "top",
|
|
148
|
+
right = "right",
|
|
149
|
+
bottom = "bottom",
|
|
150
|
+
left = "left",
|
|
151
|
+
top_right = "top_right",
|
|
152
|
+
top_left = "top_left",
|
|
153
|
+
bottom_right = "bottom_right",
|
|
154
|
+
bottom_left = "bottom_left",
|
|
155
|
+
right_top = "right_top",
|
|
156
|
+
right_bottom = "right_bottom",
|
|
157
|
+
left_top = "left_top",
|
|
158
|
+
left_bottom = "left_bottom"
|
|
156
159
|
}
|
|
157
160
|
export declare enum PopoverPosition {
|
|
158
161
|
"after-down" = "after-down",
|
|
@@ -384,6 +387,10 @@ export declare enum ZDatePickerPosition {
|
|
|
384
387
|
top = "top",
|
|
385
388
|
bottom = "bottom"
|
|
386
389
|
}
|
|
390
|
+
export declare enum ZRangePickerMode {
|
|
391
|
+
date = "date",
|
|
392
|
+
dateTime = "date-time"
|
|
393
|
+
}
|
|
387
394
|
export declare type SkipToContentLink = {
|
|
388
395
|
label: string;
|
|
389
396
|
href: string;
|
|
@@ -396,3 +403,10 @@ export declare enum StatusTagStatus {
|
|
|
396
403
|
neutral = "neutral",
|
|
397
404
|
default = "default"
|
|
398
405
|
}
|
|
406
|
+
export declare type InfoRevealPositionBean = keyof typeof InfoRevealPosition;
|
|
407
|
+
export declare enum InfoRevealPosition {
|
|
408
|
+
top_right = "top_right",
|
|
409
|
+
top_left = "top_left",
|
|
410
|
+
bottom_right = "bottom_right",
|
|
411
|
+
bottom_left = "bottom_left"
|
|
412
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function
|
|
1
|
+
import { ZDatePickerPosition } from "../../beans";
|
|
2
|
+
export declare function validateDate(dateStr: any, hasTime?: boolean): boolean;
|
|
3
|
+
export declare function setFlatpickrPosition(element: HTMLElement, mode: any): ZDatePickerPosition;
|
|
4
|
+
export declare function setAriaOptions(element: HTMLElement, mode: any): void;
|
|
@@ -11,14 +11,19 @@ export declare class ZDatePicker {
|
|
|
11
11
|
/** [Optional] datepicker mode: date, datetime, only months */
|
|
12
12
|
mode: ZDatePickerMode;
|
|
13
13
|
flatpickrPosition: ZDatePickerPosition;
|
|
14
|
-
|
|
14
|
+
inputError: boolean;
|
|
15
|
+
private picker;
|
|
15
16
|
private hasChildren;
|
|
17
|
+
watchMode(): void;
|
|
16
18
|
/** emitted when date changes, returns selected date */
|
|
17
19
|
dateSelect: EventEmitter;
|
|
18
20
|
emitDateSelect(date: any): void;
|
|
19
21
|
handleKeyDown(ev: KeyboardEvent): void;
|
|
20
22
|
componentWillLoad(): void;
|
|
21
23
|
componentDidLoad(): void;
|
|
24
|
+
setupPickers(): void;
|
|
25
|
+
formatDate(date: any): string;
|
|
26
|
+
onStopTyping(value: any): void;
|
|
22
27
|
renderSlottedContent(): any;
|
|
23
28
|
renderZInput(): any;
|
|
24
29
|
render(): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { ZRangePickerMode, ZDatePickerPosition } from "../../../beans";
|
|
3
3
|
export declare class ZRangePicker {
|
|
4
4
|
element: HTMLElement;
|
|
5
5
|
/** unique id */
|
|
@@ -12,32 +12,33 @@ export declare class ZRangePicker {
|
|
|
12
12
|
secondAriaLabel?: string;
|
|
13
13
|
/** second z-input label */
|
|
14
14
|
secondLabel?: string;
|
|
15
|
-
/** [Optional] datepicker mode: date
|
|
16
|
-
mode:
|
|
15
|
+
/** [Optional] datepicker mode: date or datetime */
|
|
16
|
+
mode: ZRangePickerMode;
|
|
17
17
|
flatpickrPosition: ZDatePickerPosition;
|
|
18
18
|
activeInput: string;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
firstInputError: boolean;
|
|
20
|
+
lastInputError: boolean;
|
|
21
|
+
private firstPicker;
|
|
22
|
+
private lastPicker;
|
|
21
23
|
/** emitted when date changes, returns an array with the two selected dates */
|
|
22
24
|
dateSelect: EventEmitter;
|
|
25
|
+
watchMode(): void;
|
|
23
26
|
handleClick(): void;
|
|
24
27
|
handleKeyDown(ev: KeyboardEvent): void;
|
|
25
|
-
/** Set background color before or after first selected date, before selecting the second one */
|
|
26
|
-
onMouseOver(e: CustomEvent): void;
|
|
27
28
|
componentDidLoad(): void;
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
setupPickers(): void;
|
|
30
|
+
onDateSelect(): void;
|
|
31
|
+
disableDates(date: any, index: any): void;
|
|
32
|
+
formatDate(date: any): string;
|
|
30
33
|
printDate(firstDate: any, lastDate: any): void;
|
|
34
|
+
getTime(): string;
|
|
35
|
+
getDateWithoutTime(date: any): Date;
|
|
31
36
|
/** Replace month word to month number */
|
|
32
|
-
|
|
37
|
+
replaceMonths(date: any, time: any): Date;
|
|
33
38
|
/** Get the current focused input, first or last */
|
|
34
39
|
getFocusedInput(): void;
|
|
35
|
-
/** Set current month after flatpickr opened */
|
|
36
|
-
getCurrentMonth(): void;
|
|
37
40
|
/** Set style of the days between the two selected dates */
|
|
38
|
-
setRangeStyle(): void;
|
|
39
|
-
/** Set style of the days between first selected date and hovered date */
|
|
40
|
-
setRangeHoverStyle(e: any, flatpickr: any, calendar: any): void;
|
|
41
|
+
setRangeStyle(index: any): void;
|
|
41
42
|
onStopTyping(value: any): void;
|
|
42
43
|
render(): any;
|
|
43
44
|
}
|
|
@@ -38,6 +38,14 @@ export declare class ZInput {
|
|
|
38
38
|
hasclearicon?: boolean;
|
|
39
39
|
/** render icon (optional): available for text */
|
|
40
40
|
icon?: string;
|
|
41
|
+
/** min number value (optional): available for number */
|
|
42
|
+
min?: number;
|
|
43
|
+
/** max number value (optional): available for number */
|
|
44
|
+
max?: number;
|
|
45
|
+
/** step number value (optional): available for number */
|
|
46
|
+
step?: number;
|
|
47
|
+
/** pattern value (optional): available for tel, text, search, url, email, password*/
|
|
48
|
+
pattern?: string;
|
|
41
49
|
isTyping: boolean;
|
|
42
50
|
passwordHidden: boolean;
|
|
43
51
|
private timer;
|
|
@@ -74,6 +82,14 @@ export declare class ZInput {
|
|
|
74
82
|
autocomplete: string;
|
|
75
83
|
onInput: (e: any) => void;
|
|
76
84
|
};
|
|
85
|
+
getNumberAttributes(type: InputTypeBean): {
|
|
86
|
+
min: number;
|
|
87
|
+
max: number;
|
|
88
|
+
step: number;
|
|
89
|
+
};
|
|
90
|
+
getPatternAttribute(type: InputTypeBean): {
|
|
91
|
+
pattern: string;
|
|
92
|
+
};
|
|
77
93
|
renderInputText(type?: InputTypeBean): any;
|
|
78
94
|
renderLabel(): any;
|
|
79
95
|
renderIcons(): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InfoRevealPositionBean } from "../../beans";
|
|
2
|
+
export declare class ZInfoReveal {
|
|
3
|
+
el: HTMLElement;
|
|
4
|
+
/** Name of the icon for the open button */
|
|
5
|
+
icon?: string;
|
|
6
|
+
position?: InfoRevealPositionBean;
|
|
7
|
+
/** Text that appears on closed panel next to the open button. */
|
|
8
|
+
label?: string;
|
|
9
|
+
/** Whether the info panel is open. */
|
|
10
|
+
open: boolean;
|
|
11
|
+
/** Current index for the info queue. */
|
|
12
|
+
currentIndex: number;
|
|
13
|
+
watchItems(): void;
|
|
14
|
+
/**
|
|
15
|
+
* Open the info box.
|
|
16
|
+
*/
|
|
17
|
+
openInfoBox(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Close the info box.
|
|
20
|
+
*/
|
|
21
|
+
closeInfoBox(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Navigate slotted info.
|
|
24
|
+
* It closes the info box after the last info has been navigated.
|
|
25
|
+
*/
|
|
26
|
+
next(): void;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPositionBean } from "../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* Popover component.
|
|
5
5
|
*
|
|
@@ -10,7 +10,7 @@ import { PopoverPositions } from "../../beans";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class ZPopover {
|
|
12
12
|
/** Popover position. */
|
|
13
|
-
position:
|
|
13
|
+
position: PopoverPositionBean;
|
|
14
14
|
/**
|
|
15
15
|
* The open state of the popover.
|
|
16
16
|
*/
|
|
@@ -34,7 +34,7 @@ export declare class ZPopover {
|
|
|
34
34
|
/**
|
|
35
35
|
* The current position of the popover.
|
|
36
36
|
*/
|
|
37
|
-
currentPosition?:
|
|
37
|
+
currentPosition?: PopoverPositionBean;
|
|
38
38
|
/**
|
|
39
39
|
* Position change event.
|
|
40
40
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, PopoverPositions as PopoverPositions1 } from "./beans/index";
|
|
9
|
-
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, LabelPosition, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverPositions, PopoverShadow, SelectItemBean, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
|
|
9
|
+
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InfoRevealPositionBean, InputStatusBean, InputTypeBean, LabelPosition, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverPositionBean, PopoverPositions, PopoverShadow, SelectItemBean, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZRangePickerMode, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
|
|
10
10
|
import { ListItemBean } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
@@ -531,6 +531,17 @@ export namespace Components {
|
|
|
531
531
|
*/
|
|
532
532
|
"isclosable": boolean;
|
|
533
533
|
}
|
|
534
|
+
interface ZInfoReveal {
|
|
535
|
+
/**
|
|
536
|
+
* Name of the icon for the open button
|
|
537
|
+
*/
|
|
538
|
+
"icon"?: string;
|
|
539
|
+
/**
|
|
540
|
+
* Text that appears on closed panel next to the open button.
|
|
541
|
+
*/
|
|
542
|
+
"label"?: string;
|
|
543
|
+
"position"?: InfoRevealPositionBean;
|
|
544
|
+
}
|
|
534
545
|
interface ZInput {
|
|
535
546
|
/**
|
|
536
547
|
* the input aria-label
|
|
@@ -576,14 +587,26 @@ export namespace Components {
|
|
|
576
587
|
* the input label position: available for checkbox, radio
|
|
577
588
|
*/
|
|
578
589
|
"labelPosition"?: LabelPosition;
|
|
590
|
+
/**
|
|
591
|
+
* max number value (optional): available for number
|
|
592
|
+
*/
|
|
593
|
+
"max"?: number;
|
|
579
594
|
/**
|
|
580
595
|
* input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed
|
|
581
596
|
*/
|
|
582
597
|
"message"?: string | boolean;
|
|
598
|
+
/**
|
|
599
|
+
* min number value (optional): available for number
|
|
600
|
+
*/
|
|
601
|
+
"min"?: number;
|
|
583
602
|
/**
|
|
584
603
|
* the input name
|
|
585
604
|
*/
|
|
586
605
|
"name"?: string;
|
|
606
|
+
/**
|
|
607
|
+
* pattern value (optional): available for tel, text, search, url, email, password
|
|
608
|
+
*/
|
|
609
|
+
"pattern"?: string;
|
|
587
610
|
/**
|
|
588
611
|
* the input placeholder (optional)
|
|
589
612
|
*/
|
|
@@ -600,6 +623,10 @@ export namespace Components {
|
|
|
600
623
|
* the input status (optional): available for text, password, number, email, textarea
|
|
601
624
|
*/
|
|
602
625
|
"status"?: InputStatusBean;
|
|
626
|
+
/**
|
|
627
|
+
* step number value (optional): available for number
|
|
628
|
+
*/
|
|
629
|
+
"step"?: number;
|
|
603
630
|
/**
|
|
604
631
|
* input types
|
|
605
632
|
*/
|
|
@@ -1513,7 +1540,7 @@ export namespace Components {
|
|
|
1513
1540
|
/**
|
|
1514
1541
|
* Popover position.
|
|
1515
1542
|
*/
|
|
1516
|
-
"position":
|
|
1543
|
+
"position": PopoverPositionBean;
|
|
1517
1544
|
/**
|
|
1518
1545
|
* Whether to show popover's arrow.
|
|
1519
1546
|
*/
|
|
@@ -1555,9 +1582,9 @@ export namespace Components {
|
|
|
1555
1582
|
*/
|
|
1556
1583
|
"firstLabel"?: string;
|
|
1557
1584
|
/**
|
|
1558
|
-
* [Optional] datepicker mode: date
|
|
1585
|
+
* [Optional] datepicker mode: date or datetime
|
|
1559
1586
|
*/
|
|
1560
|
-
"mode":
|
|
1587
|
+
"mode": ZRangePickerMode;
|
|
1561
1588
|
/**
|
|
1562
1589
|
* unique id
|
|
1563
1590
|
*/
|
|
@@ -2170,6 +2197,12 @@ declare global {
|
|
|
2170
2197
|
prototype: HTMLZInfoBoxElement;
|
|
2171
2198
|
new (): HTMLZInfoBoxElement;
|
|
2172
2199
|
};
|
|
2200
|
+
interface HTMLZInfoRevealElement extends Components.ZInfoReveal, HTMLStencilElement {
|
|
2201
|
+
}
|
|
2202
|
+
var HTMLZInfoRevealElement: {
|
|
2203
|
+
prototype: HTMLZInfoRevealElement;
|
|
2204
|
+
new (): HTMLZInfoRevealElement;
|
|
2205
|
+
};
|
|
2173
2206
|
interface HTMLZInputElement extends Components.ZInput, HTMLStencilElement {
|
|
2174
2207
|
}
|
|
2175
2208
|
var HTMLZInputElement: {
|
|
@@ -2648,6 +2681,7 @@ declare global {
|
|
|
2648
2681
|
"z-icon": HTMLZIconElement;
|
|
2649
2682
|
"z-icon-package": HTMLZIconPackageElement;
|
|
2650
2683
|
"z-info-box": HTMLZInfoBoxElement;
|
|
2684
|
+
"z-info-reveal": HTMLZInfoRevealElement;
|
|
2651
2685
|
"z-input": HTMLZInputElement;
|
|
2652
2686
|
"z-input-deprecated": HTMLZInputDeprecatedElement;
|
|
2653
2687
|
"z-input-label": HTMLZInputLabelElement;
|
|
@@ -3310,6 +3344,17 @@ declare namespace LocalJSX {
|
|
|
3310
3344
|
*/
|
|
3311
3345
|
"onInfoBoxClose"?: (event: CustomEvent<any>) => void;
|
|
3312
3346
|
}
|
|
3347
|
+
interface ZInfoReveal {
|
|
3348
|
+
/**
|
|
3349
|
+
* Name of the icon for the open button
|
|
3350
|
+
*/
|
|
3351
|
+
"icon"?: string;
|
|
3352
|
+
/**
|
|
3353
|
+
* Text that appears on closed panel next to the open button.
|
|
3354
|
+
*/
|
|
3355
|
+
"label"?: string;
|
|
3356
|
+
"position"?: InfoRevealPositionBean;
|
|
3357
|
+
}
|
|
3313
3358
|
interface ZInput {
|
|
3314
3359
|
/**
|
|
3315
3360
|
* the input aria-label
|
|
@@ -3351,10 +3396,18 @@ declare namespace LocalJSX {
|
|
|
3351
3396
|
* the input label position: available for checkbox, radio
|
|
3352
3397
|
*/
|
|
3353
3398
|
"labelPosition"?: LabelPosition;
|
|
3399
|
+
/**
|
|
3400
|
+
* max number value (optional): available for number
|
|
3401
|
+
*/
|
|
3402
|
+
"max"?: number;
|
|
3354
3403
|
/**
|
|
3355
3404
|
* input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed
|
|
3356
3405
|
*/
|
|
3357
3406
|
"message"?: string | boolean;
|
|
3407
|
+
/**
|
|
3408
|
+
* min number value (optional): available for number
|
|
3409
|
+
*/
|
|
3410
|
+
"min"?: number;
|
|
3358
3411
|
/**
|
|
3359
3412
|
* the input name
|
|
3360
3413
|
*/
|
|
@@ -3375,6 +3428,10 @@ declare namespace LocalJSX {
|
|
|
3375
3428
|
* Emitted when user stops typing, returns value, validity
|
|
3376
3429
|
*/
|
|
3377
3430
|
"onStopTyping"?: (event: CustomEvent<any>) => void;
|
|
3431
|
+
/**
|
|
3432
|
+
* pattern value (optional): available for tel, text, search, url, email, password
|
|
3433
|
+
*/
|
|
3434
|
+
"pattern"?: string;
|
|
3378
3435
|
/**
|
|
3379
3436
|
* the input placeholder (optional)
|
|
3380
3437
|
*/
|
|
@@ -3391,6 +3448,10 @@ declare namespace LocalJSX {
|
|
|
3391
3448
|
* the input status (optional): available for text, password, number, email, textarea
|
|
3392
3449
|
*/
|
|
3393
3450
|
"status"?: InputStatusBean;
|
|
3451
|
+
/**
|
|
3452
|
+
* step number value (optional): available for number
|
|
3453
|
+
*/
|
|
3454
|
+
"step"?: number;
|
|
3394
3455
|
/**
|
|
3395
3456
|
* input types
|
|
3396
3457
|
*/
|
|
@@ -4431,7 +4492,7 @@ declare namespace LocalJSX {
|
|
|
4431
4492
|
/**
|
|
4432
4493
|
* Popover position.
|
|
4433
4494
|
*/
|
|
4434
|
-
"position"?:
|
|
4495
|
+
"position"?: PopoverPositionBean;
|
|
4435
4496
|
/**
|
|
4436
4497
|
* Whether to show popover's arrow.
|
|
4437
4498
|
*/
|
|
@@ -4477,9 +4538,9 @@ declare namespace LocalJSX {
|
|
|
4477
4538
|
*/
|
|
4478
4539
|
"firstLabel"?: string;
|
|
4479
4540
|
/**
|
|
4480
|
-
* [Optional] datepicker mode: date
|
|
4541
|
+
* [Optional] datepicker mode: date or datetime
|
|
4481
4542
|
*/
|
|
4482
|
-
"mode"?:
|
|
4543
|
+
"mode"?: ZRangePickerMode;
|
|
4483
4544
|
/**
|
|
4484
4545
|
* emitted when date changes, returns an array with the two selected dates
|
|
4485
4546
|
*/
|
|
@@ -4956,6 +5017,7 @@ declare namespace LocalJSX {
|
|
|
4956
5017
|
"z-icon": ZIcon;
|
|
4957
5018
|
"z-icon-package": ZIconPackage;
|
|
4958
5019
|
"z-info-box": ZInfoBox;
|
|
5020
|
+
"z-info-reveal": ZInfoReveal;
|
|
4959
5021
|
"z-input": ZInput;
|
|
4960
5022
|
"z-input-deprecated": ZInputDeprecated;
|
|
4961
5023
|
"z-input-label": ZInputLabel;
|
|
@@ -5069,6 +5131,7 @@ declare module "@stencil/core" {
|
|
|
5069
5131
|
"z-icon": LocalJSX.ZIcon & JSXBase.HTMLAttributes<HTMLZIconElement>;
|
|
5070
5132
|
"z-icon-package": LocalJSX.ZIconPackage & JSXBase.HTMLAttributes<HTMLZIconPackageElement>;
|
|
5071
5133
|
"z-info-box": LocalJSX.ZInfoBox & JSXBase.HTMLAttributes<HTMLZInfoBoxElement>;
|
|
5134
|
+
"z-info-reveal": LocalJSX.ZInfoReveal & JSXBase.HTMLAttributes<HTMLZInfoRevealElement>;
|
|
5072
5135
|
"z-input": LocalJSX.ZInput & JSXBase.HTMLAttributes<HTMLZInputElement>;
|
|
5073
5136
|
"z-input-deprecated": LocalJSX.ZInputDeprecated & JSXBase.HTMLAttributes<HTMLZInputDeprecatedElement>;
|
|
5074
5137
|
"z-input-label": LocalJSX.ZInputLabel & JSXBase.HTMLAttributes<HTMLZInputLabelElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o}from"./p-
|
|
1
|
+
import{c as o}from"./p-5aa819f8.js";import"./p-0c3e7bc3.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
|