@zanichelli/albe-web-components 12.0.2 → 12.1.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/dist/cjs/{index-bbd48475.js → index-00b6f6ba.js} +1 -1
- package/dist/cjs/{index-e5daa5a5.js → index-115387e6.js} +1 -1
- package/dist/cjs/{index-e3299e0a.js → index-195ca522.js} +8 -0
- package/dist/cjs/{index-a9764c98.js → index-20f305f7.js} +1 -1
- package/dist/cjs/{index-dd43ccfd.js → index-23ca3837.js} +1 -1
- package/dist/cjs/{index-2427573e.js → index-270a4cf7.js} +1 -1
- package/dist/cjs/{index-127451eb.js → index-2b0eb1f0.js} +1 -1
- package/dist/cjs/{index-23d8692f.js → index-4e41767c.js} +1 -1
- package/dist/cjs/{index-b0c52504.js → index-53c72420.js} +1 -1
- package/dist/cjs/{index-92a9f89e.js → index-544902f0.js} +1 -1
- package/dist/cjs/{index-3a4a7ad0.js → index-bb84dc1c.js} +1 -1
- package/dist/cjs/{index-7aa116b0.js → index-d30158ef.js} +3 -3
- package/dist/cjs/{index-f92ac013.js → index-df08bc63.js} +1 -1
- package/dist/cjs/{index-da31a159.js → index-e3bf75bc.js} +1 -1
- package/dist/cjs/{index-cbd5c426.js → index-e78caf11.js} +1 -1
- package/dist/cjs/{index-6bbcfa16.js → index-f64e5dfe.js} +1 -1
- package/dist/cjs/{index-62dd8367.js → index-f6910e7f.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-accordion.cjs.entry.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/z-app-header_11.cjs.entry.js +4 -2
- 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-book-card.cjs.entry.js +1 -1
- package/dist/cjs/z-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/z-button-sort.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +1 -1
- package/dist/cjs/z-combobox.cjs.entry.js +1 -1
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-link.cjs.entry.js +1 -1
- 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-messages-pocket.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-sections.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list.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 +57 -42
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-panel-elem.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket-message.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +1 -1
- package/dist/cjs/z-popover.cjs.entry.js +1 -1
- package/dist/cjs/z-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-select.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +1 -1
- package/dist/cjs/z-slideshow.cjs.entry.js +1 -1
- 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-body.cjs.entry.js +2 -2
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-deprecated.cjs.entry.js +11 -11
- package/dist/cjs/z-table-empty-box.cjs.entry.js +2 -2
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-table-head.cjs.entry.js +2 -2
- package/dist/cjs/z-table-header-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-header.cjs.entry.js +2 -2
- package/dist/cjs/z-table-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +2 -2
- package/dist/cjs/z-table.cjs.entry.js +7 -7
- package/dist/cjs/z-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/cjs/z-td.cjs.entry.js +2 -2
- package/dist/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/cjs/z-th.cjs.entry.js +2 -2
- package/dist/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/z-tr.cjs.entry.js +4 -4
- package/dist/cjs/z-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/components/inputs/z-input/index.js +36 -0
- package/dist/collection/components/inputs/z-input/styles.css +4 -9
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +71 -50
- package/dist/esm/{index-df85390b.js → index-0a587f24.js} +1 -1
- package/dist/esm/{index-6d83248c.js → index-0cdc998f.js} +1 -1
- package/dist/esm/{index-83736b34.js → index-361b27f9.js} +1 -1
- package/dist/esm/{index-a2ca4b97.js → index-4968ce56.js} +8 -0
- package/dist/esm/{index-a8412ca5.js → index-4d1853ea.js} +1 -1
- package/dist/esm/{index-169b39fe.js → index-531501d7.js} +1 -1
- package/dist/esm/{index-2cadc6d8.js → index-6161978d.js} +1 -1
- package/dist/esm/{index-4d06f135.js → index-772a7413.js} +1 -1
- package/dist/esm/{index-e2c8b8b5.js → index-816801e5.js} +1 -1
- package/dist/esm/{index-2d20233c.js → index-85dc8bc0.js} +1 -1
- package/dist/esm/{index-8c7b48bc.js → index-88a23895.js} +1 -1
- package/dist/esm/{index-bc936429.js → index-8f7fd43f.js} +1 -1
- package/dist/esm/{index-f171ca51.js → index-af5c6b4c.js} +1 -1
- package/dist/esm/{index-4aa29b00.js → index-dc50a9ae.js} +1 -1
- package/dist/esm/{index-b79cbe1b.js → index-e6ee76f0.js} +1 -1
- package/dist/esm/{index-7e06e6dc.js → index-fac1fe6c.js} +1 -1
- package/dist/esm/{index-cef40abc.js → index-fb19ca57.js} +3 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-accordion.entry.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_11.entry.js +4 -2
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-book-card.entry.js +1 -1
- package/dist/esm/z-breadcrumb.entry.js +1 -1
- package/dist/esm/z-button-sort.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +1 -1
- package/dist/esm/z-combobox.entry.js +1 -1
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-dragdrop-area_2.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-link.entry.js +1 -1
- 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-messages-pocket.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-sections.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-icon.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +1 -1
- package/dist/esm/z-myz-card-list.entry.js +1 -1
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +1 -1
- package/dist/esm/z-myz-list.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 +58 -43
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-panel-elem.entry.js +1 -1
- package/dist/esm/z-pocket-message.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +1 -1
- package/dist/esm/z-popover.entry.js +1 -1
- package/dist/esm/z-range-picker.entry.js +1 -1
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +1 -1
- package/dist/esm/z-slideshow.entry.js +1 -1
- package/dist/esm/z-stepper-item.entry.js +1 -1
- package/dist/esm/z-stepper.entry.js +1 -1
- package/dist/esm/z-table-body.entry.js +2 -2
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-deprecated.entry.js +11 -11
- package/dist/esm/z-table-empty-box.entry.js +2 -2
- package/dist/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/esm/z-table-footer.entry.js +2 -2
- package/dist/esm/z-table-head.entry.js +2 -2
- package/dist/esm/z-table-header-row.entry.js +2 -2
- package/dist/esm/z-table-header.entry.js +2 -2
- package/dist/esm/z-table-row.entry.js +2 -2
- package/dist/esm/z-table-sticky-footer.entry.js +2 -2
- package/dist/esm/z-table.entry.js +7 -7
- package/dist/esm/z-tag.entry.js +1 -1
- package/dist/esm/z-tbody.entry.js +2 -2
- package/dist/esm/z-td.entry.js +2 -2
- package/dist/esm/z-tfoot.entry.js +2 -2
- package/dist/esm/z-th.entry.js +2 -2
- package/dist/esm/z-thead.entry.js +2 -2
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-button.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/esm/z-tr.entry.js +4 -4
- package/dist/esm/z-visually-hidden.entry.js +1 -1
- package/dist/types/components/inputs/z-input/index.d.ts +4 -0
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +20 -8
- package/dist/types/components.d.ts +19 -3
- package/{www/build/p-9fe70219.entry.js → dist/web-components-library/p-01e2e8d4.entry.js} +1 -1
- package/dist/web-components-library/{p-e9454d54.entry.js → p-035fbb3e.entry.js} +1 -1
- package/dist/web-components-library/p-03b13390.entry.js +1 -0
- package/dist/web-components-library/{p-d0272a45.entry.js → p-04b2ab0d.entry.js} +1 -1
- package/{www/build/p-56cf5ea6.entry.js → dist/web-components-library/p-05ba9739.entry.js} +1 -1
- package/dist/web-components-library/p-06c94384.entry.js +1 -0
- package/dist/web-components-library/{p-d288e106.entry.js → p-100207d8.entry.js} +1 -1
- package/dist/web-components-library/p-1086a0fa.entry.js +1 -0
- package/dist/web-components-library/{p-344e7ae7.entry.js → p-138bc87e.entry.js} +1 -1
- package/dist/web-components-library/{p-58b32633.js → p-13fc4378.js} +1 -1
- package/dist/web-components-library/{p-b0d683c7.entry.js → p-15a606ce.entry.js} +1 -1
- package/dist/web-components-library/{p-ff019330.entry.js → p-19876b0d.entry.js} +1 -1
- package/dist/web-components-library/{p-7ee2a02e.entry.js → p-1d805413.entry.js} +1 -1
- package/dist/web-components-library/p-29fa362c.entry.js +1 -0
- package/dist/web-components-library/{p-557334e1.entry.js → p-2cb45213.entry.js} +1 -1
- package/dist/web-components-library/{p-ebc4b164.entry.js → p-33305cc8.entry.js} +1 -1
- package/dist/web-components-library/p-3636078a.entry.js +1 -0
- package/dist/web-components-library/p-376f2928.entry.js +1 -0
- package/{www/build/p-f63ada73.entry.js → dist/web-components-library/p-392899e9.entry.js} +1 -1
- package/dist/web-components-library/{p-718a95a8.entry.js → p-39a446ec.entry.js} +1 -1
- package/dist/web-components-library/{p-ae79573a.entry.js → p-39b7ad4f.entry.js} +1 -1
- package/dist/web-components-library/{p-02c4d09b.entry.js → p-4184eeb6.entry.js} +1 -1
- package/dist/web-components-library/{p-c06c4f96.entry.js → p-49f4e9a0.entry.js} +1 -1
- package/dist/web-components-library/{p-9317891e.entry.js → p-4d0d5d93.entry.js} +1 -1
- package/dist/web-components-library/{p-e40b16fa.entry.js → p-50f78a81.entry.js} +1 -1
- package/dist/web-components-library/{p-8b5beb9e.entry.js → p-5338cc37.entry.js} +1 -1
- package/dist/web-components-library/{p-93fae95b.js → p-571b55dc.js} +1 -1
- package/dist/web-components-library/p-57c6d414.entry.js +1 -0
- package/dist/web-components-library/{p-01f87c8f.entry.js → p-5944a8f2.entry.js} +1 -1
- package/dist/web-components-library/{p-574331ad.entry.js → p-5d274fcc.entry.js} +1 -1
- package/{www/build/p-ae888350.entry.js → dist/web-components-library/p-5f202970.entry.js} +1 -1
- package/{www/build/p-f2442b67.entry.js → dist/web-components-library/p-5fd3ed9c.entry.js} +1 -1
- package/dist/web-components-library/p-61c00383.entry.js +1 -0
- package/dist/web-components-library/{p-bcc4e540.js → p-68410ea2.js} +1 -1
- package/dist/web-components-library/p-6a4403c6.entry.js +1 -0
- package/dist/web-components-library/p-6ed0aaab.entry.js +1 -0
- package/dist/web-components-library/{p-b0f443ba.js → p-7426f322.js} +1 -1
- package/dist/web-components-library/{p-fc9c0ce0.js → p-7588fbf0.js} +1 -1
- package/dist/web-components-library/{p-9bdd5fa0.entry.js → p-7907bdf7.entry.js} +1 -1
- package/dist/web-components-library/{p-6a004b7d.js → p-7b990086.js} +1 -1
- package/dist/web-components-library/{p-8b8cc884.entry.js → p-7c5ddeb0.entry.js} +1 -1
- package/dist/web-components-library/{p-9a937ec8.js → p-80e52459.js} +1 -1
- package/dist/web-components-library/p-81006561.js +2 -0
- package/dist/web-components-library/{p-315e5fd2.entry.js → p-86758f78.entry.js} +1 -1
- package/dist/web-components-library/p-8a45ae2a.entry.js +1 -0
- package/{www/build/p-96f7a4aa.entry.js → dist/web-components-library/p-8c31e60b.entry.js} +1 -1
- package/dist/web-components-library/{p-32692bac.js → p-9021c92a.js} +1 -1
- package/dist/web-components-library/{p-3b0ea83c.entry.js → p-94afe4dd.entry.js} +1 -1
- package/dist/web-components-library/{p-64759e9f.js → p-9508cd3e.js} +1 -1
- package/dist/web-components-library/{p-cf5fceca.js → p-95370f75.js} +1 -1
- package/dist/web-components-library/{p-b143a921.entry.js → p-96fc8078.entry.js} +1 -1
- package/{www/build/p-843f91e5.entry.js → dist/web-components-library/p-98204840.entry.js} +1 -1
- package/dist/web-components-library/{p-aeda09ea.js → p-98badafc.js} +1 -1
- package/dist/web-components-library/p-9a790c5c.entry.js +1 -0
- package/dist/web-components-library/{p-23a543f8.entry.js → p-9b0bcd43.entry.js} +1 -1
- package/dist/web-components-library/{p-e05432fe.entry.js → p-9c1ed1e8.entry.js} +1 -1
- package/dist/web-components-library/{p-2efedcf4.entry.js → p-9ff2fc8e.entry.js} +1 -1
- package/dist/web-components-library/{p-f64b1329.entry.js → p-a1663ab1.entry.js} +1 -1
- package/dist/web-components-library/{p-33ac9687.entry.js → p-a3587fd6.entry.js} +1 -1
- package/dist/web-components-library/p-a4502b1e.entry.js +1 -0
- package/dist/web-components-library/{p-2c092ccd.entry.js → p-a48e5c46.entry.js} +1 -1
- package/dist/web-components-library/{p-f5a99b28.entry.js → p-a50262e8.entry.js} +1 -1
- package/dist/web-components-library/{p-1b25a99b.entry.js → p-a862a070.entry.js} +1 -1
- package/dist/web-components-library/p-a9d2edee.entry.js +1 -0
- package/dist/web-components-library/p-acb89afa.entry.js +1 -0
- package/{www/build/p-65e0bcae.entry.js → dist/web-components-library/p-b2527ca1.entry.js} +1 -1
- package/{www/build/p-c1cab534.entry.js → dist/web-components-library/p-b4339c1d.entry.js} +1 -1
- package/dist/web-components-library/{p-2773516d.js → p-b99039ed.js} +1 -1
- package/dist/web-components-library/{p-62b89a37.js → p-c298cb2f.js} +1 -1
- package/{www/build/p-7381c4c8.entry.js → dist/web-components-library/p-c44d87bd.entry.js} +1 -1
- package/dist/web-components-library/{p-79c8b5ad.entry.js → p-c6e7991f.entry.js} +1 -1
- package/dist/web-components-library/{p-2b3cf51a.js → p-c9bc5148.js} +1 -1
- package/dist/web-components-library/{p-bfa5fa33.entry.js → p-ca472d1c.entry.js} +1 -1
- package/dist/web-components-library/{p-b22f2225.entry.js → p-cc009af8.entry.js} +1 -1
- package/dist/web-components-library/{p-dfc08f99.js → p-cd561d69.js} +1 -1
- package/dist/web-components-library/{p-e02acd31.entry.js → p-d2946762.entry.js} +1 -1
- package/{www/build/p-c3c4de16.entry.js → dist/web-components-library/p-d776249c.entry.js} +1 -1
- package/dist/web-components-library/{p-b6dcbc47.entry.js → p-dd4fc386.entry.js} +1 -1
- package/dist/web-components-library/{p-6d309352.entry.js → p-de5688e9.entry.js} +1 -1
- package/dist/web-components-library/{p-272e7fc7.entry.js → p-decbd59d.entry.js} +1 -1
- package/dist/web-components-library/{p-c82f8a0d.entry.js → p-e54d4ef9.entry.js} +1 -1
- package/dist/web-components-library/p-e7c6d651.entry.js +1 -0
- package/dist/web-components-library/p-ed42ceca.entry.js +1 -0
- package/dist/web-components-library/p-f058316f.entry.js +1 -0
- package/dist/web-components-library/{p-eefde77a.entry.js → p-f14105c6.entry.js} +1 -1
- package/dist/web-components-library/{p-babdd626.entry.js → p-f3cc3f27.entry.js} +1 -1
- package/dist/web-components-library/{p-074ea569.entry.js → p-f46fa177.entry.js} +1 -1
- package/dist/web-components-library/{p-5d09a5d0.entry.js → p-f4e2e76b.entry.js} +1 -1
- package/dist/web-components-library/{p-8cf4134e.entry.js → p-f5ae1514.entry.js} +1 -1
- package/dist/web-components-library/{p-cc7560e7.entry.js → p-f5bc7dda.entry.js} +1 -1
- package/dist/web-components-library/p-f8383e14.entry.js +1 -0
- package/dist/web-components-library/{p-53b9c97a.entry.js → p-f9873cb9.entry.js} +1 -1
- package/{www/build/p-837113e3.entry.js → dist/web-components-library/p-fd58b7a2.entry.js} +1 -1
- package/dist/web-components-library/{p-30771d25.js → p-fde82dc3.js} +1 -1
- package/dist/web-components-library/{p-eee96ac2.entry.js → p-ff5a6e34.entry.js} +1 -1
- package/dist/web-components-library/{p-540c7d73.entry.js → p-ffde06d1.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +3 -3
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/{dist/web-components-library/p-9fe70219.entry.js → www/build/p-01e2e8d4.entry.js} +1 -1
- package/www/build/{p-e9454d54.entry.js → p-035fbb3e.entry.js} +1 -1
- package/www/build/p-03b13390.entry.js +1 -0
- package/www/build/{p-d0272a45.entry.js → p-04b2ab0d.entry.js} +1 -1
- package/{dist/web-components-library/p-56cf5ea6.entry.js → www/build/p-05ba9739.entry.js} +1 -1
- package/www/build/p-06c94384.entry.js +1 -0
- package/www/build/{p-d288e106.entry.js → p-100207d8.entry.js} +1 -1
- package/www/build/p-1086a0fa.entry.js +1 -0
- package/www/build/{p-344e7ae7.entry.js → p-138bc87e.entry.js} +1 -1
- package/www/build/{p-58b32633.js → p-13fc4378.js} +1 -1
- package/www/build/{p-b0d683c7.entry.js → p-15a606ce.entry.js} +1 -1
- package/www/build/{p-ff019330.entry.js → p-19876b0d.entry.js} +1 -1
- package/www/build/{p-7ee2a02e.entry.js → p-1d805413.entry.js} +1 -1
- package/www/build/p-204cc774.js +1 -0
- package/www/build/p-29fa362c.entry.js +1 -0
- package/www/build/{p-557334e1.entry.js → p-2cb45213.entry.js} +1 -1
- package/www/build/{p-ebc4b164.entry.js → p-33305cc8.entry.js} +1 -1
- package/www/build/p-3636078a.entry.js +1 -0
- package/www/build/p-376f2928.entry.js +1 -0
- package/{dist/web-components-library/p-f63ada73.entry.js → www/build/p-392899e9.entry.js} +1 -1
- package/www/build/{p-718a95a8.entry.js → p-39a446ec.entry.js} +1 -1
- package/www/build/{p-ae79573a.entry.js → p-39b7ad4f.entry.js} +1 -1
- package/www/build/{p-02c4d09b.entry.js → p-4184eeb6.entry.js} +1 -1
- package/www/build/{p-c06c4f96.entry.js → p-49f4e9a0.entry.js} +1 -1
- package/www/build/{p-9317891e.entry.js → p-4d0d5d93.entry.js} +1 -1
- package/www/build/{p-e40b16fa.entry.js → p-50f78a81.entry.js} +1 -1
- package/www/build/{p-8b5beb9e.entry.js → p-5338cc37.entry.js} +1 -1
- package/www/build/{p-93fae95b.js → p-571b55dc.js} +1 -1
- package/www/build/p-57c6d414.entry.js +1 -0
- package/www/build/{p-01f87c8f.entry.js → p-5944a8f2.entry.js} +1 -1
- package/www/build/{p-574331ad.entry.js → p-5d274fcc.entry.js} +1 -1
- package/{dist/web-components-library/p-ae888350.entry.js → www/build/p-5f202970.entry.js} +1 -1
- package/{dist/web-components-library/p-f2442b67.entry.js → www/build/p-5fd3ed9c.entry.js} +1 -1
- package/www/build/p-61c00383.entry.js +1 -0
- package/www/build/{p-bcc4e540.js → p-68410ea2.js} +1 -1
- package/www/build/p-6a4403c6.entry.js +1 -0
- package/www/build/p-6ed0aaab.entry.js +1 -0
- package/www/build/{p-b0f443ba.js → p-7426f322.js} +1 -1
- package/www/build/{p-fc9c0ce0.js → p-7588fbf0.js} +1 -1
- package/www/build/{p-9bdd5fa0.entry.js → p-7907bdf7.entry.js} +1 -1
- package/www/build/{p-6a004b7d.js → p-7b990086.js} +1 -1
- package/www/build/{p-8b8cc884.entry.js → p-7c5ddeb0.entry.js} +1 -1
- package/www/build/{p-9a937ec8.js → p-80e52459.js} +1 -1
- package/www/build/p-81006561.js +2 -0
- package/www/build/{p-315e5fd2.entry.js → p-86758f78.entry.js} +1 -1
- package/www/build/p-8a45ae2a.entry.js +1 -0
- package/{dist/web-components-library/p-96f7a4aa.entry.js → www/build/p-8c31e60b.entry.js} +1 -1
- package/www/build/{p-32692bac.js → p-9021c92a.js} +1 -1
- package/www/build/{p-3b0ea83c.entry.js → p-94afe4dd.entry.js} +1 -1
- package/www/build/{p-64759e9f.js → p-9508cd3e.js} +1 -1
- package/www/build/{p-cf5fceca.js → p-95370f75.js} +1 -1
- package/www/build/{p-b143a921.entry.js → p-96fc8078.entry.js} +1 -1
- package/{dist/web-components-library/p-843f91e5.entry.js → www/build/p-98204840.entry.js} +1 -1
- package/www/build/{p-aeda09ea.js → p-98badafc.js} +1 -1
- package/www/build/p-9a790c5c.entry.js +1 -0
- package/www/build/{p-23a543f8.entry.js → p-9b0bcd43.entry.js} +1 -1
- package/www/build/{p-e05432fe.entry.js → p-9c1ed1e8.entry.js} +1 -1
- package/www/build/{p-2efedcf4.entry.js → p-9ff2fc8e.entry.js} +1 -1
- package/www/build/{p-f64b1329.entry.js → p-a1663ab1.entry.js} +1 -1
- package/www/build/{p-33ac9687.entry.js → p-a3587fd6.entry.js} +1 -1
- package/www/build/p-a4502b1e.entry.js +1 -0
- package/www/build/{p-2c092ccd.entry.js → p-a48e5c46.entry.js} +1 -1
- package/www/build/{p-f5a99b28.entry.js → p-a50262e8.entry.js} +1 -1
- package/www/build/{p-c514dd4a.css → p-a69eedf3.css} +3 -3
- package/www/build/{p-1b25a99b.entry.js → p-a862a070.entry.js} +1 -1
- package/www/build/p-a9d2edee.entry.js +1 -0
- package/www/build/p-acb89afa.entry.js +1 -0
- package/{dist/web-components-library/p-65e0bcae.entry.js → www/build/p-b2527ca1.entry.js} +1 -1
- package/{dist/web-components-library/p-c1cab534.entry.js → www/build/p-b4339c1d.entry.js} +1 -1
- package/www/build/{p-2773516d.js → p-b99039ed.js} +1 -1
- package/www/build/{p-62b89a37.js → p-c298cb2f.js} +1 -1
- package/{dist/web-components-library/p-7381c4c8.entry.js → www/build/p-c44d87bd.entry.js} +1 -1
- package/www/build/{p-79c8b5ad.entry.js → p-c6e7991f.entry.js} +1 -1
- package/www/build/{p-2b3cf51a.js → p-c9bc5148.js} +1 -1
- package/www/build/{p-bfa5fa33.entry.js → p-ca472d1c.entry.js} +1 -1
- package/www/build/{p-b22f2225.entry.js → p-cc009af8.entry.js} +1 -1
- package/www/build/{p-dfc08f99.js → p-cd561d69.js} +1 -1
- package/www/build/{p-e02acd31.entry.js → p-d2946762.entry.js} +1 -1
- package/{dist/web-components-library/p-c3c4de16.entry.js → www/build/p-d776249c.entry.js} +1 -1
- package/www/build/{p-b6dcbc47.entry.js → p-dd4fc386.entry.js} +1 -1
- package/www/build/{p-6d309352.entry.js → p-de5688e9.entry.js} +1 -1
- package/www/build/{p-272e7fc7.entry.js → p-decbd59d.entry.js} +1 -1
- package/www/build/{p-c82f8a0d.entry.js → p-e54d4ef9.entry.js} +1 -1
- package/www/build/p-e7c6d651.entry.js +1 -0
- package/www/build/p-ed42ceca.entry.js +1 -0
- package/www/build/p-f058316f.entry.js +1 -0
- package/www/build/{p-eefde77a.entry.js → p-f14105c6.entry.js} +1 -1
- package/www/build/{p-babdd626.entry.js → p-f3cc3f27.entry.js} +1 -1
- package/www/build/{p-074ea569.entry.js → p-f46fa177.entry.js} +1 -1
- package/www/build/{p-5d09a5d0.entry.js → p-f4e2e76b.entry.js} +1 -1
- package/www/build/{p-8cf4134e.entry.js → p-f5ae1514.entry.js} +1 -1
- package/www/build/{p-cc7560e7.entry.js → p-f5bc7dda.entry.js} +1 -1
- package/www/build/p-f8383e14.entry.js +1 -0
- package/www/build/{p-53b9c97a.entry.js → p-f9873cb9.entry.js} +1 -1
- package/{dist/web-components-library/p-837113e3.entry.js → www/build/p-fd58b7a2.entry.js} +1 -1
- package/www/build/{p-30771d25.js → p-fde82dc3.js} +1 -1
- package/www/build/{p-eee96ac2.entry.js → p-ff5a6e34.entry.js} +1 -1
- package/www/build/{p-540c7d73.entry.js → p-ffde06d1.entry.js} +1 -1
- package/www/build/web-components-library.css +3 -3
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -2822
- package/dist/web-components-library/p-0eb7ed85.entry.js +0 -1
- package/dist/web-components-library/p-2fab41fb.entry.js +0 -1
- package/dist/web-components-library/p-35c0df55.entry.js +0 -1
- package/dist/web-components-library/p-38ccbe8f.entry.js +0 -1
- package/dist/web-components-library/p-3c41a946.entry.js +0 -1
- package/dist/web-components-library/p-43478f5b.entry.js +0 -1
- package/dist/web-components-library/p-4ae0f3f0.entry.js +0 -1
- package/dist/web-components-library/p-55c3c279.entry.js +0 -1
- package/dist/web-components-library/p-64d902c6.entry.js +0 -1
- package/dist/web-components-library/p-72205999.entry.js +0 -1
- package/dist/web-components-library/p-7cba07ab.entry.js +0 -1
- package/dist/web-components-library/p-94343422.entry.js +0 -1
- package/dist/web-components-library/p-9ac2818b.entry.js +0 -1
- package/dist/web-components-library/p-a13b6a71.entry.js +0 -1
- package/dist/web-components-library/p-c66e7e9c.entry.js +0 -1
- package/dist/web-components-library/p-cd14f3f5.entry.js +0 -1
- package/dist/web-components-library/p-cf25744a.entry.js +0 -1
- package/dist/web-components-library/p-d17ebc2f.js +0 -2
- package/dist/web-components-library/p-d6aebe58.entry.js +0 -1
- package/dist/web-components-library/p-f54f63e1.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-0eb7ed85.entry.js +0 -1
- package/www/build/p-2dcbd868.js +0 -1
- package/www/build/p-2fab41fb.entry.js +0 -1
- package/www/build/p-35c0df55.entry.js +0 -1
- package/www/build/p-38ccbe8f.entry.js +0 -1
- package/www/build/p-3c41a946.entry.js +0 -1
- package/www/build/p-43478f5b.entry.js +0 -1
- package/www/build/p-4ae0f3f0.entry.js +0 -1
- package/www/build/p-55c3c279.entry.js +0 -1
- package/www/build/p-64d902c6.entry.js +0 -1
- package/www/build/p-72205999.entry.js +0 -1
- package/www/build/p-7cba07ab.entry.js +0 -1
- package/www/build/p-94343422.entry.js +0 -1
- package/www/build/p-9ac2818b.entry.js +0 -1
- package/www/build/p-a13b6a71.entry.js +0 -1
- package/www/build/p-c66e7e9c.entry.js +0 -1
- package/www/build/p-cd14f3f5.entry.js +0 -1
- package/www/build/p-cf25744a.entry.js +0 -1
- package/www/build/p-d17ebc2f.js +0 -2
- package/www/build/p-d6aebe58.entry.js +0 -1
- package/www/build/p-f54f63e1.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-4968ce56.js';
|
|
2
2
|
import { N as NavigationTabsOrientation, a as NavigationTabsSize } from './index-47f23745.js';
|
|
3
3
|
import { I as ICONS } from './icons-6b29d7ea.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { N as NavigationTabsOrientation, a as NavigationTabsSize, b as NavigationTabsKeyboardEvents
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
|
+
import { N as NavigationTabsOrientation, a as NavigationTabsSize, b as NavigationTabsKeyboardEvents } from './index-47f23745.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "z-navigation-tabs{position:relative;z-index:0;display:flex;overflow:hidden;flex-direction:row;font-family:var(--font-family-sans);font-weight:var(--font-rg)}z-navigation-tabs,z-navigation-tabs *{box-sizing:border-box}z-navigation-tabs>nav::-webkit-scrollbar{display:none}z-navigation-tabs .navigation-button{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;border:none;margin:0;background-color:var(--z-navigation-tabs-nav-buttons-bg, var(--color-surface01));border-radius:var(--border-no-radius);box-shadow:0 0 4px 1px var(--shadow-color-base);cursor:pointer;fill:var(--z-navigation-tabs-nav-buttons-fg, var(--color-primary01));outline:none}z-navigation-tabs .navigation-button:disabled{display:none}z-navigation-tabs>nav{z-index:0;display:flex;overflow:auto;align-items:center;justify-content:flex-start;scroll-behavior:smooth;scrollbar-width:none}z-navigation-tabs[orientation=\"horizontal\"]>nav{width:100%}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button{top:0;width:calc(var(--space-unit) * 4);height:100%}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button:first-child{left:0}z-navigation-tabs[orientation=\"horizontal\"] .navigation-button:last-child{right:0}z-navigation-tabs[orientation=\"vertical\"]{width:fit-content;flex-direction:column}z-navigation-tabs[orientation=\"vertical\"]>nav{height:100%;flex-direction:column;align-items:stretch}z-navigation-tabs[orientation=\"vertical\"] .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}z-navigation-tabs[orientation=\"vertical\"] .navigation-button:first-child{top:0}z-navigation-tabs[orientation=\"vertical\"] .navigation-button:last-child{bottom:0}z-navigation-tabs[size=\"small\"][orientation=\"vertical\"] .navigation-button{height:calc(var(--space-unit) * 4)}z-navigation-tabs>nav>*{position:relative;z-index:0;display:inline-flex;width:auto;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);border:none;margin:0;background-color:unset;border-radius:var(--border-no-radius);color:var(--color-primary01);cursor:pointer;fill:currentcolor;font-family:var(--font-family-sans);font-size:inherit;gap:var(--space-unit);letter-spacing:inherit;line-height:inherit;outline:none;text-align:center;white-space:nowrap}z-navigation-tabs>nav>a{text-decoration:none}z-navigation-tabs>nav>*:focus:focus-visible{z-index:1;box-shadow:inset 0 0 4px 3px var(--color-highlight)}z-navigation-tabs>nav>:not([disabled]):hover{background-color:var(--color-surface02)}z-navigation-tabs>nav>button[disabled]{color:var(--color-disabled03);cursor:not-allowed;fill:currentcolor;pointer-events:all}z-navigation-tabs>nav>:not([disabled]):hover,nav>[aria-selected=\"true\"]{color:var(--color-hover-secondary);fill:currentcolor}z-navigation-tabs>nav>:not([disabled]):hover::after,nav>[aria-selected=\"true\"]::after{position:absolute;background-color:var(--color-hover-secondary);content:\"\"}z-navigation-tabs[orientation=\"horizontal\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation=\"horizontal\"]>nav>[aria-selected=\"true\"]::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tabs>nav>* z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[size=\"small\"][orientation=\"horizontal\"]>nav>[aria-selected=\"true\"]::after{height:var(--border-size-medium)}z-navigation-tabs[size=\"small\"]:not([orientation=\"vertical\"])>nav>* z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tabs[orientation=\"vertical\"]>nav>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tabs[orientation=\"vertical\"]>nav>*>:not(z-icon){display:none}z-navigation-tabs[orientation=\"vertical\"]>nav>:not([disabled]):hover::after,z-navigation-tabs[orientation=\"vertical\"]>nav>[aria-selected=\"true\"]::after{top:0;right:0;width:var(--border-size-large);height:100%}";
|
|
5
5
|
|
|
@@ -17,12 +17,14 @@ const ZNavigationTabs = class {
|
|
|
17
17
|
this.size = NavigationTabsSize.BIG;
|
|
18
18
|
/**
|
|
19
19
|
* Index of the selected tab.
|
|
20
|
+
* Useful to programmatically select a tab.
|
|
21
|
+
* The tab can also be selected by setting the `aria-selected` attribute to `true` on the desired tab.
|
|
20
22
|
*/
|
|
21
23
|
this.selectedTab = undefined;
|
|
22
24
|
/**
|
|
23
25
|
* Index of the last tab that held focus.
|
|
24
26
|
*/
|
|
25
|
-
this.focusedTab =
|
|
27
|
+
this.focusedTab = undefined;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* Getter for the direction to check based on current orientation.
|
|
@@ -72,6 +74,15 @@ const ZNavigationTabs = class {
|
|
|
72
74
|
isArrowNavigation(e) {
|
|
73
75
|
return Object.values(NavigationTabsKeyboardEvents).includes(e.key);
|
|
74
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Check if the navigation buttons are needed.
|
|
79
|
+
*/
|
|
80
|
+
checkScrollVisible() {
|
|
81
|
+
if (!this.nav) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];
|
|
85
|
+
}
|
|
75
86
|
/**
|
|
76
87
|
* Check if navigation buttons can be enabled for each direction.
|
|
77
88
|
*/
|
|
@@ -97,20 +108,12 @@ const ZNavigationTabs = class {
|
|
|
97
108
|
return;
|
|
98
109
|
}
|
|
99
110
|
zicon === null || zicon === void 0 ? void 0 : zicon.setAttribute("name", `${strokeIcon}-filled`);
|
|
100
|
-
tab.tabIndex = 0;
|
|
101
111
|
tab.setAttribute("aria-selected", "true");
|
|
102
112
|
});
|
|
103
|
-
this.scrollToTab(this.tabs[this.selectedTab]);
|
|
104
113
|
this.selected.emit(this.selectedTab);
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
* Check if the navigation buttons are needed on window resize.
|
|
108
|
-
*/
|
|
109
|
-
checkScrollVisible() {
|
|
110
|
-
if (!this.nav) {
|
|
111
|
-
return;
|
|
114
|
+
if (this.selectedTab !== undefined) {
|
|
115
|
+
this.scrollToTab(this.tabs[this.selectedTab]);
|
|
112
116
|
}
|
|
113
|
-
this.canNavigate = this.nav[`scroll${this.dimension}`] > this.nav[`client${this.dimension}`];
|
|
114
117
|
}
|
|
115
118
|
/**
|
|
116
119
|
* Handle click on the tabs.
|
|
@@ -124,27 +127,28 @@ const ZNavigationTabs = class {
|
|
|
124
127
|
this.selectedTab = this.tabs.indexOf(clickedTab);
|
|
125
128
|
}
|
|
126
129
|
/**
|
|
127
|
-
*
|
|
128
|
-
* When `TAB` is pressed, focus the currently selected tab if any.
|
|
130
|
+
* When a tab is focused, temporarily set to -1 the `tabindex` of the selected tab (if any) and set the `focusedTab` to the index of the focused tab.
|
|
129
131
|
*/
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
if (event.key === KeyboardCode.TAB) {
|
|
135
|
-
this.focusedTab = this.selectedTab || 0;
|
|
136
|
-
const ariaSelected = !this.selectedTab ? 0 : this.selectedTab;
|
|
137
|
-
this.tabs[this.focusedTab].focus({ preventScroll: true });
|
|
138
|
-
this.tabs.forEach((tab, index) => {
|
|
139
|
-
tab.tabIndex = index === ariaSelected ? 0 : -1;
|
|
140
|
-
});
|
|
132
|
+
onTabFocusIn(event) {
|
|
133
|
+
const focused = this.tabs.findIndex((tab) => tab.contains(event.target));
|
|
134
|
+
if (focused === -1) {
|
|
141
135
|
return;
|
|
142
136
|
}
|
|
143
|
-
if (
|
|
137
|
+
if (this.selectedTab !== undefined) {
|
|
138
|
+
this.tabs[this.selectedTab].tabIndex = -1;
|
|
139
|
+
}
|
|
140
|
+
this.focusedTab = focused;
|
|
141
|
+
this.tabs[this.focusedTab].tabIndex = -1;
|
|
142
|
+
this.scrollToTab(this.tabs[this.focusedTab]);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Handle keyboard navigation through tabs with arrow keys.
|
|
146
|
+
*/
|
|
147
|
+
navigateThroughTabs(event) {
|
|
148
|
+
if (!this.tabs.some((tab) => tab.contains(event.target)) || !this.isArrowNavigation(event)) {
|
|
144
149
|
return true;
|
|
145
150
|
}
|
|
146
151
|
event.preventDefault();
|
|
147
|
-
this.tabs[this.focusedTab].tabIndex = -1;
|
|
148
152
|
if ((event.key === NavigationTabsKeyboardEvents.RIGHT && this.orientation == NavigationTabsOrientation.HORIZONTAL) ||
|
|
149
153
|
(event.key === NavigationTabsKeyboardEvents.DOWN && this.orientation == NavigationTabsOrientation.VERTICAL)) {
|
|
150
154
|
// Move forward
|
|
@@ -166,38 +170,49 @@ const ZNavigationTabs = class {
|
|
|
166
170
|
this.tabs[this.focusedTab].getAttribute("disabled") !== "false") {
|
|
167
171
|
return this.navigateThroughTabs(event);
|
|
168
172
|
}
|
|
169
|
-
this.tabs[this.focusedTab].tabIndex = 0;
|
|
170
173
|
this.tabs[this.focusedTab].focus();
|
|
171
174
|
this.scrollToTab(this.tabs[this.focusedTab]);
|
|
172
175
|
}
|
|
173
|
-
|
|
174
|
-
|
|
176
|
+
/**
|
|
177
|
+
* If the focus is not going on a tab (`relatedTarget` is the new focused element), set to 0 the `tabindex` of the selected tab or the one of the first tab, then unset the `focusedTab`.
|
|
178
|
+
*/
|
|
179
|
+
onTabFocusOut(event) {
|
|
180
|
+
var _a;
|
|
181
|
+
if (!this.tabs.some((tab) => tab.contains(event.relatedTarget))) {
|
|
182
|
+
this.tabs[(_a = this.selectedTab) !== null && _a !== void 0 ? _a : 0].tabIndex = 0;
|
|
183
|
+
this.focusedTab = undefined;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
connectedCallback() {
|
|
187
|
+
this.resizeObserver = new ResizeObserver(() => this.checkScrollVisible());
|
|
175
188
|
}
|
|
176
189
|
componentDidLoad() {
|
|
190
|
+
var _a;
|
|
177
191
|
// Set role and tabindex to each slotted tab
|
|
178
192
|
this.tabs.forEach((tab) => {
|
|
179
193
|
tab.setAttribute("role", "tab");
|
|
180
194
|
tab.tabIndex = -1;
|
|
181
195
|
});
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
activeTab = preselectedTab;
|
|
187
|
-
this.selectedTab = this.focusedTab = activeTab;
|
|
188
|
-
}
|
|
189
|
-
this.tabs[activeTab].tabIndex = 0;
|
|
190
|
-
if (this.selectedTab !== undefined) {
|
|
196
|
+
const preselectedTab = (_a = this.selectedTab) !== null && _a !== void 0 ? _a : this.tabs.findIndex((tab) => tab.ariaSelected === "true");
|
|
197
|
+
if (preselectedTab !== -1) {
|
|
198
|
+
this.selectedTab = preselectedTab;
|
|
199
|
+
this.tabs[preselectedTab].tabIndex = 0;
|
|
191
200
|
this.onTabSelected();
|
|
192
201
|
}
|
|
202
|
+
else {
|
|
203
|
+
this.tabs[0].tabIndex = 0;
|
|
204
|
+
}
|
|
205
|
+
this.resizeObserver.observe(this.nav);
|
|
206
|
+
}
|
|
207
|
+
disconnectedCallback() {
|
|
208
|
+
var _a;
|
|
209
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
193
210
|
}
|
|
194
211
|
render() {
|
|
195
212
|
return (h(Host, { class: {
|
|
196
213
|
"interactive-2": this.size === NavigationTabsSize.SMALL,
|
|
197
214
|
"interactive-1": this.size !== NavigationTabsSize.SMALL,
|
|
198
|
-
}, scrollable: this.canNavigate },
|
|
199
|
-
this.navigateThroughTabs(e);
|
|
200
|
-
}, tabindex: "-1", disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi" }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 })))));
|
|
215
|
+
}, scrollable: this.canNavigate }, h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabIndex: -1, disabled: !this.canNavigatePrev, "aria-label": "Mostra elementi precedenti", hidden: !this.canNavigate }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-left" : "chevron-up", width: 16, height: 16 })), h("nav", { role: "tablist", "aria-label": this.ariaLabel, ref: (el) => (this.nav = el !== null && el !== void 0 ? el : this.nav), onScroll: this.checkScrollEnabled.bind(this), "aria-orientation": this.orientation }, h("slot", null)), h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabIndex: -1, disabled: !this.canNavigateNext, "aria-label": "Mostra elementi successivi", hidden: !this.canNavigate }, h("z-icon", { name: this.orientation === NavigationTabsOrientation.HORIZONTAL ? "chevron-right" : "chevron-down", width: 16, height: 16 }))));
|
|
201
216
|
}
|
|
202
217
|
get host() { return getElement(this); }
|
|
203
218
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{--z-notification--top-offset:0;display:flex;width:100%;box-sizing:border-box;align-items:flex-start;padding:calc(var(--space-unit) * 2);border-bottom:var(--border-size-medium) solid var(--color-surface03);font-family:var(--font-family-sans);outline:none}:host[sticky]{position:sticky;top:var(--z-notification--top-offset)}:host[sticky],:host([showshadow]){box-shadow:var(--shadow-3)}:host([type=\"success\"]){background:var(--color-success-inverse)}:host([type=\"warning\"]){background:var(--color-warning-inverse)}:host([type=\"error\"]){background:var(--color-error-inverse)}.status-icon,.close-button{display:flex;height:20px;align-items:center}:host([type=\"success\"]) .status-icon{fill:var(--color-success01)}:host([type=\"warning\"]) .status-icon{fill:var(--color-warning02)}:host([type=\"error\"]) .status-icon{fill:var(--color-error01)}:host>button,.content-container>button{padding:0;border:none;margin:0;background:transparent;cursor:pointer;font-family:inherit}.status-icon+.content-container{margin-left:var(--space-unit)}.content-container{display:flex;flex:1 auto;flex-wrap:wrap;align-items:baseline;justify-content:space-between;row-gap:calc(var(--space-unit) * 2)}.content-text{max-width:800px;color:var(--color-text01);font-size:var(--font-size-2);font-weight:var(--font-rg);letter-spacing:0.16px;line-height:20px}.action-button{color:var(--color-primary01);font-size:var(--font-size-1);font-weight:var(--font-sb);letter-spacing:0.32px;line-height:16px}.content-container+.close-button{margin-left:calc(var(--space-unit) * 2)}.close-button z-icon{fill:var(--color-primary01)}@media and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text+.action-button{margin-left:calc(var(--space-unit) * 5)}}";
|
|
4
4
|
|
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-4968ce56.js';
|
|
2
2
|
import { f as InputStatus } from './index-47f23745.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { I as InputType } from './index-47f23745.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-icon01)}z-pagination *:disabled z-icon{fill:var(--color-disabled02)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-text02)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--color-surface03);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out, color 0.15s ease-out, border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out, font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-hover-surface);box-shadow:inset var(--shadow-focus-primary);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{background-color:var(--color-disabled01);color:var(--color-disabled02);cursor:default;pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button:focus-visible{border-bottom-color:var(--color-hover-light)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column;row-gap:var(--space-unit)}z-pagination .go-to-page .label{color:var(--color-text02);text-transform:uppercase}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface03)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--color-hover-surface)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-light)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ".sc-z-panel-elem-h{width:inherit;font-family:var(--font-family sans);font-weight:var(--font-rg)}.panel-elem-container.sc-z-panel-elem{width:100%}.panel-elem-icon.sc-z-panel-elem{margin:auto calc(var(--space-unit) * 3)}.panel-elem-icon.sc-z-panel-elem img.sc-z-panel-elem{display:block;max-width:96px;height:32px;margin:auto;object-fit:contain}.panel-elem-link.sc-z-panel-elem{display:flex;align-items:center;justify-content:center;margin:var(--space-unit) auto 0;border-radius:var(--border-no-radius);font-size:12px}.panel-elem-link.sc-z-panel-elem>a.z-link.sc-z-panel-elem{padding:calc(var(--space-unit) * 0.5) 0;font-weight:var(--font-sb)}.panel-elem-desc.sc-z-panel-elem{padding-top:var(--space-unit);margin:0;letter-spacing:0.16px;text-align:center}a.sc-z-panel-elem>z-icon.sc-z-panel-elem{margin-right:var(--space-unit)}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:grid;padding-top:calc(var(--space-unit) * 1.5);border-bottom:var(--border-size-small) solid var(--color-surface03);color:var(--color-surface05);fill:var(--color-surface05);font-size:14px;grid-template-columns:36px auto;grid-template-rows:auto auto}:host>div>z-icon{grid-column:1 / 2;grid-row:1 / 2}:host>div>div.content{margin-bottom:var(--space-unit);grid-column:2 / 3;grid-row:1 / 2}:host>div>div.cta-wrapper{display:flex;flex-flow:column nowrap;align-items:center;justify-content:flex-start;margin-bottom:var(--space-unit);grid-column:1 / 3;grid-row:2 / 3}@media only screen and (min-width: 768px){:host>div>div.cta-wrapper{flex-direction:row;grid-column:2 / 3}}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { q as PocketStatus } from './index-47f23745.js';
|
|
3
3
|
import { a as handleKeyboardSubmit } from './utils-2a4ef29d.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { P as PopoverPosition, g as KeyboardCode } from './index-47f23745.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:0;--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));position:relative;display:none;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);align-items:center;justify-content:center;padding:var(--z-popover-padding);background:var(--z-popover-theme--surface);border-radius:var(--border-radius-small);color:var(--z-popover-theme--text);fill:currentcolor;filter:var(--z-popover-shadow-filter);font-family:var(--font-family-sans);text-align:center}:host([open][current-position]),:host([open=\"true\"][current-position]){display:flex}:host([center][current-position=\"top\"]),:host([center][current-position=\"bottom\"]){transform:translateX(-50%)}:host([center][current-position=\"right\"]),:host([center][current-position=\"left\"]){transform:translateY(-50%)}:host([current-position^=\"top\"]){margin:0 0 var(--space-unit)}:host([current-position^=\"bottom\"]){margin:var(--space-unit) 0 0}:host([current-position^=\"left\"]){margin:0 var(--space-unit) 0 0}:host([current-position^=\"right\"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);content:\"\";transform:rotate(45deg)}:host([show-arrow=\"false\"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^=\"top\"])::before{top:var(--arrow-center-y-offset)}:host([current-position^=\"bottom\"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position=\"top\"])::before,:host([current-position=\"bottom\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before,:host([current-position=\"left\"])::before{bottom:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"top_right\"])::before,:host([current-position=\"bottom_right\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"top_left\"])::before,:host([current-position=\"bottom_left\"])::before{left:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"left_top\"])::before{top:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"right_bottom\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left_top\"])::before,:host([current-position=\"left_bottom\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"right_bottom\"])::before,:host([current-position=\"left_bottom\"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position=\"top\"])::before,:host([center][current-position=\"bottom\"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position=\"right\"])::before,:host([center][current-position=\"left\"])::before{top:var(--arrow-center-x-offset);bottom:auto}::slotted(*){overflow:auto;flex:1 auto}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { f as flatpickr, s as setAriaOptions, v as validateDate, i as it, a as setFlatpickrPosition } from './utils-8e0bd81d.js';
|
|
3
3
|
import { H as ZRangePickerMode, G as ZDatePickerPosition, I as InputType, f as InputStatus } from './index-47f23745.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { y as ZSectionTitleDividerPosition, D as DividerSize } from './index-47f23745.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot=\"secondary-title\"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);font-weight:var(--font-sb);line-height:1.5rem;text-transform:uppercase}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);font-weight:var(--font-sb);line-height:2rem}:host([uppercase]:not([uppercase=\"false\"])) ::slotted([slot=\"primary-title\"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot=\"primary-title\"]){font-size:var(--font-size-7);line-height:2.25rem}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { e as ControlSize, g as KeyboardCode, l as ListDividerType, i as ListSize } from './index-47f23745.js';
|
|
3
3
|
import { r as randomId, b as boolean, d as getElementTree, a as handleKeyboardSubmit, e as getClickedElement } from './utils-2a4ef29d.js';
|
|
4
4
|
import './breakpoints-9b81eb1b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { d as getElementTree, a as handleKeyboardSubmit } from './utils-2a4ef29d.js';
|
|
3
3
|
import { T as ThemeVariant } from './index-47f23745.js';
|
|
4
4
|
import './breakpoints-9b81eb1b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { p as Device } from './index-47f23745.js';
|
|
3
3
|
import { f as convertJson, g as getDevice, a as handleKeyboardSubmit } from './utils-2a4ef29d.js';
|
|
4
4
|
import './breakpoints-9b81eb1b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host(:not(:last-child)){flex:1}:host(:not(:last-child))::after{position:absolute;z-index:1;top:calc(var(--space-unit) * 4 - var(--border-size-medium) / 2);right:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * 3);display:block;width:auto;border-bottom:var(--border-size-medium) solid var(--color-disabled02);margin:0 calc(var(--space-unit) * -2) 0 calc(var(--space-unit) * 2);content:\"\"}.stepper-item{display:flex;width:calc(var(--space-unit) * 5);flex-direction:column;align-items:center;padding:0;border:0;appearance:none;background:transparent;color:inherit;font-family:inherit;font-size:18px;line-height:28px;outline:0;text-decoration:none}.stepper-item span{display:none;width:calc(100% + calc(var(--space-unit) * 4));text-align:center}:host(:not([disabled])) .stepper-item{cursor:pointer}:host([disabled]) .stepper-item{pointer-events:none}.indicator{display:flex;width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;justify-content:center;border:var(--border-size-medium) solid var(--color-primary01);margin:calc(var(--space-unit) * 2);background:var(--color-surface01);border-radius:50%;color:var(--color-primary01);content:counter(stepper);font-size:14px;font-weight:var(--font-sb);line-height:1}:host([pressed]:not([disabled])) .indicator{border-color:var(--color-active-primary);background:var(--color-active-primary);color:var(--color-text-inverse)}:host(:not([disabled]):focus-within) .indicator{box-shadow:var(--shadow-focus-primary)}:host([disabled]) .indicator{border-color:var(--color-disabled02);background:var(--color-disabled01);color:var(--color-disabled03)}@media (min-width: 768px){:host{width:calc(var(--space-unit) * 10)}:host(:not(:last-child))::after{top:calc(var(--space-unit) * 5 - var(--border-size-medium) / 2);left:calc(var(--space-unit) * 8)}.stepper-item{width:calc(var(--space-unit) * 10)}.stepper-item span{display:block}.indicator{width:calc(var(--space-unit) * 6);height:calc(var(--space-unit) * 6);font-size:16px}}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{position:relative;display:flex;width:100%;max-width:100%;box-sizing:border-box;flex-direction:row;padding:0;margin:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);list-style:none}@media only screen and (min-width: 768px){:host{padding:0 calc(var(--space-unit) * 2)}}";
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_table_body } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_body } from './index-772a7413.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Z as z_table_cell } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_cell } from './index-85dc8bc0.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
3
3
|
import './index-47f23745.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { B as ButtonVariant, d as ButtonSize } from './index-47f23745.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
4
|
+
import './index-772a7413.js';
|
|
5
|
+
import './index-85dc8bc0.js';
|
|
6
|
+
import './index-6161978d.js';
|
|
7
|
+
import './index-361b27f9.js';
|
|
8
|
+
import './index-fac1fe6c.js';
|
|
9
|
+
import './index-8f7fd43f.js';
|
|
10
|
+
import './index-4d1853ea.js';
|
|
11
|
+
import './index-816801e5.js';
|
|
12
|
+
import './index-e6ee76f0.js';
|
|
13
|
+
import './index-531501d7.js';
|
|
14
14
|
import './utils-2a4ef29d.js';
|
|
15
15
|
|
|
16
16
|
const stylesCss = "z-table-deprecated{display:block;width:100%;background-color:var(--color-white);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow-x:auto}z-table-deprecated>div.table{display:table;width:100%;border-collapse:separate}z-table-deprecated>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table-deprecated>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--color-surface03)}z-table-deprecated>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table-deprecated>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table-deprecated>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-deprecated>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table-deprecated>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table-deprecated>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;z-index:1;left:0;box-shadow:1px 0 4px -1px rgb(66 69 72 / 40%)}z-table-deprecated>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;z-index:2;top:0;box-shadow:0 2px 3px -3px rgb(66 69 72 / 40%)}z-table-deprecated>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table-deprecated>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{z-index:5}z-table-body{width:auto;background-color:var(--color-white)}z-table-empty-box{display:flex;flex-direction:column;flex-grow:1;border-bottom:var(--border-size-small) solid var(--color-surface03)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--color-surface03)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;width:100%;flex-direction:row}.error-content{display:flex;padding:calc(var(--space-unit) * 3);font-family:var(--font-family-sans)}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table-deprecated>div.table-empty{display:none}.error-content{display:flex;flex-direction:column}.error-content>img{width:auto;height:auto}.text{padding:calc(var(--space-unit) * 3) 0}}";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_table_empty_box } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_empty_box } from './index-6161978d.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_table_expanded_row } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_expanded_row } from './index-361b27f9.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_table_footer } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_footer } from './index-fac1fe6c.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_table_head } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_head } from './index-8f7fd43f.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_table_header_row } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_header_row } from './index-816801e5.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Z as z_table_header } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_header } from './index-4d1853ea.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
3
3
|
import './index-47f23745.js';
|
|
4
4
|
import './utils-2a4ef29d.js';
|
|
5
5
|
import './breakpoints-9b81eb1b.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Z as z_table_row } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_row } from './index-e6ee76f0.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
3
3
|
import './index-47f23745.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_table_sticky_footer } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_table_sticky_footer } from './index-531501d7.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import './index-
|
|
3
|
-
import './index-
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
|
+
import './index-0cdc998f.js';
|
|
3
|
+
import './index-af5c6b4c.js';
|
|
4
|
+
import './index-fb19ca57.js';
|
|
5
|
+
import './index-88a23895.js';
|
|
6
6
|
import './utils-2a4ef29d.js';
|
|
7
7
|
import './index-47f23745.js';
|
|
8
8
|
import './breakpoints-9b81eb1b.js';
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
9
|
+
import './index-0a587f24.js';
|
|
10
|
+
import './index-dc50a9ae.js';
|
|
11
11
|
|
|
12
12
|
const stylesCss = ":host{--z-table--cells-padding:calc(var(--space-unit) * 2);position:relative;display:block;overflow:auto;max-width:100%;box-sizing:border-box;background-color:var(--color-surface01)}:host([expandable]){--z-table--expand-button-size:40px}:host([bordered]){--z-table--cell-left-border:1px solid var(--color-surface03)}.table{min-width:max-content}";
|
|
13
13
|
|
package/dist/esm/z-tag.entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ".sc-z-tag-h{--z-icon-width:14px;--z-icon-height:14px;--z-tag-text-color:var(--color-primary03);--z-tag-bg:var(--color-hover-primary);display:flex;width:fit-content;max-width:inherit;height:fit-content;max-height:inherit;padding:calc(var(--space-unit) / 2);background-color:var(--z-tag-bg);border-radius:var(--border-radius);color:var(--z-tag-text-color);fill:var(--z-tag-text-color);font-family:var(--font-family-sans);line-height:14px;text-transform:uppercase}.sc-z-tag-h>z-icon.sc-z-tag{margin-right:var(--space-unit)}.expandable.sc-z-tag-h>z-icon.sc-z-tag{margin-right:0;transition:margin-right 0.3s ease-out}.sc-z-tag-h:not(.expandable)>z-icon.sc-z-tag:not(:last-child),.expandable.sc-z-tag-h:hover>z-icon.sc-z-tag:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}.expandable.sc-z-tag-h>div.sc-z-tag{overflow:hidden;max-width:0;max-height:0}.expandable.sc-z-tag-h:hover>div.sc-z-tag{max-width:100%;max-height:100%}";
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_tbody } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_tbody } from './index-af5c6b4c.js';
|
|
2
|
+
import './index-4968ce56.js';
|
package/dist/esm/z-td.entry.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Z as z_td } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_td } from './index-0a587f24.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
3
3
|
import './index-47f23745.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_tfoot } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_tfoot } from './index-88a23895.js';
|
|
2
|
+
import './index-4968ce56.js';
|
package/dist/esm/z-th.entry.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Z as z_th } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_th } from './index-dc50a9ae.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
3
3
|
import './index-47f23745.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Z as z_thead } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_thead } from './index-0cdc998f.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { t as ToastNotificationPosition } from './index-47f23745.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{position:fixed;z-index:10000;display:flex;flex-flow:column nowrap;margin-top:calc(var(--space-unit) * 2);margin-bottom:calc(var(--space-unit) * 2);font-family:var(--font-family-sans);font-weight:var(--font-rg)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host([position=\"bottom-centre\"]),:host([position=\"bottom-right\"]),:host([position=\"bottom-left\"]){bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"top-left\"]),:host([position=\"top-right\"]),:host([position=\"top-centre\"]){top:0;align-items:flex-start;justify-content:flex-start}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host([position=\"top-centre\"]){top:0;left:50%;align-items:center;justify-content:flex-start;transform:translateX(-50%)}:host([position=\"top-left\"]){top:0;left:0;align-items:flex-start;justify-content:flex-start}:host([position=\"top-right\"]){top:0;right:0;align-items:flex-end;justify-content:flex-start}:host([position=\"bottom-centre\"]){bottom:0;left:50%;align-items:center;justify-content:flex-end;transform:translateX(-50%)}:host([position=\"bottom-right\"]){right:0;bottom:0;align-items:flex-end;justify-content:flex-end}:host([position=\"bottom-left\"]){bottom:0;left:0;align-items:flex-start;justify-content:flex-end}::slotted(z-toast-notification){width:50vw}}@media only screen and (min-width: 1366px){:host{margin:calc(var(--space-unit) * 4)}::slotted(z-toast-notification){width:33vw}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4968ce56.js';
|
|
2
2
|
import { s as ToastNotificationTransition } from './index-47f23745.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-9b81eb1b.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = "button{display:flex;height:36px;align-items:center;padding-right:calc(var(--space-unit) * 2);padding-left:0;border:var(--border-size-medium) solid;border-color:transparent;background-color:var(--color-surface01);border-radius:var(--border-radius);box-shadow:0 0 4px 0 rgb(0 0 0 / 20%);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none;text-transform:uppercase}button::-moz-focus-inner{border:0}button:hover{color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{box-shadow:var(--shadow-focus-primary)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button:disabled{color:var(--color-disabled02);fill:var(--color-disabled02)}z-icon{display:inline-block;margin:0 var(--space-unit) 0 calc(var(--space-unit) * 2);transform:rotate(360deg);transition:all 200ms linear}button.isopen{top:-20px}button.avoid-clicks{pointer-events:none}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-4968ce56.js';
|
|
2
2
|
import { r as randomId } from './utils-2a4ef29d.js';
|
|
3
3
|
import { k as LabelPosition } from './index-47f23745.js';
|
|
4
4
|
import './breakpoints-9b81eb1b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
2
|
import { P as PopoverPosition } from './index-47f23745.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-theme--text:var(--color-text-inverse)}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)}";
|
package/dist/esm/z-tr.entry.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Z as z_tr } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { Z as z_tr } from './index-fb19ca57.js';
|
|
2
|
+
import './index-4968ce56.js';
|
|
3
3
|
import './utils-2a4ef29d.js';
|
|
4
4
|
import './index-47f23745.js';
|
|
5
5
|
import './breakpoints-9b81eb1b.js';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
6
|
+
import './index-0a587f24.js';
|
|
7
|
+
import './index-dc50a9ae.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-4968ce56.js';
|
|
2
2
|
|
|
3
3
|
const stylesCss = ":host{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:0 -1px -1px 0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";
|
|
4
4
|
|
|
@@ -40,8 +40,12 @@ export declare class ZInput {
|
|
|
40
40
|
icon?: string;
|
|
41
41
|
/** min number value (optional): available for number */
|
|
42
42
|
min?: number;
|
|
43
|
+
/** Min length value (optional): available for text */
|
|
44
|
+
minlength?: number;
|
|
43
45
|
/** max number value (optional): available for number */
|
|
44
46
|
max?: number;
|
|
47
|
+
/** Max length value (optional): available for text */
|
|
48
|
+
maxlength?: number;
|
|
45
49
|
/** step number value (optional): available for number */
|
|
46
50
|
step?: number;
|
|
47
51
|
/** pattern value (optional): available for tel, text, search, url, email, password*/
|