@zanichelli/albe-web-components 3.2.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1692 -0
- package/dist/cjs/{index-b1289f95.js → index-6b6a3299.js} +27 -29
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-33df2456.js → utils-8cc414c9.js} +28 -2
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher_12.cjs.entry.js +12 -14
- 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-filter.cjs.entry.js +49 -0
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +5 -5
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -2
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-input-deprecated.cjs.entry.js +271 -0
- package/dist/cjs/z-input-label_2.cjs.entry.js +272 -0
- package/dist/cjs/z-input_2.cjs.entry.js +228 -0
- package/dist/cjs/z-list-group.cjs.entry.js +54 -0
- package/dist/cjs/{z-list_3.cjs.entry.js → z-list_2.cjs.entry.js} +5 -52
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +4 -4
- 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 +2 -2
- 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-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 +2 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +27 -29
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/buttons/z-button/index.js +12 -15
- package/dist/collection/components/buttons/z-button/styles.css +27 -31
- package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -6
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -1
- package/dist/collection/components/file-upload/z-file/index.js +0 -1
- package/dist/collection/components/inputs/z-combobox/index.js +4 -4
- package/dist/collection/components/inputs/z-input/index.js +58 -234
- package/dist/collection/components/inputs/z-input/styles.css +61 -34
- package/dist/collection/components/inputs/z-input-message/index.js +1 -1
- package/dist/collection/components/inputs/z-select/index.js +69 -134
- package/dist/collection/components/inputs/z-select/styles.css +16 -58
- package/dist/collection/components/modal/z-modal-login/index.js +1 -1
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -4
- package/dist/collection/components/z-date-picker/index.js +35 -1
- package/dist/collection/components/z-pagination/index.js +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +824 -0
- package/dist/collection/deprecated/z-input-deprecated/styles.css +296 -0
- package/dist/collection/{components/inputs → deprecated}/z-input-label/index.js +0 -0
- package/dist/collection/{components/inputs → deprecated}/z-input-label/styles.css +0 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +1 -1
- package/dist/collection/utils/utils.js +27 -2
- package/dist/esm/{index-7424c64c.js → index-46ca649a.js} +28 -30
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-93d2b922.js → utils-5d5963ef.js} +28 -3
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher_12.entry.js +12 -14
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button-filter.entry.js +45 -0
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +5 -5
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cookiebar.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +0 -1
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +1 -2
- package/dist/esm/z-footer.entry.js +1 -1
- package/dist/esm/z-input-deprecated.entry.js +267 -0
- package/dist/esm/z-input-label_2.entry.js +267 -0
- package/dist/esm/z-input_2.entry.js +223 -0
- package/dist/esm/z-list-group.entry.js +50 -0
- package/dist/esm/z-list_2.entry.js +174 -0
- package/dist/esm/z-menu-dropdown_2.entry.js +4 -4
- 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 +2 -2
- 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-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +2 -2
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/types/beans/index.d.ts +6 -7
- package/dist/types/components/buttons/z-button/index.d.ts +6 -4
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +2 -2
- package/dist/types/components/inputs/z-input/index.d.ts +16 -29
- package/dist/types/components/inputs/z-select/index.d.ts +11 -17
- package/dist/types/components/z-date-picker/index.d.ts +4 -0
- package/dist/types/components.d.ts +209 -32
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +102 -0
- package/dist/types/{components/inputs → deprecated}/z-input-label/index.d.ts +0 -0
- package/dist/types/utils/utils.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/{www/build/p-e9b90127.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
- package/dist/web-components-library/{p-21b9a94f.entry.js → p-08fa0a33.entry.js} +1 -1
- package/{www/build/p-e4b4b2e4.entry.js → dist/web-components-library/p-0a0aee35.entry.js} +1 -1
- package/dist/web-components-library/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
- package/dist/web-components-library/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
- package/dist/web-components-library/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
- package/dist/web-components-library/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
- package/dist/web-components-library/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
- package/dist/web-components-library/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
- package/dist/web-components-library/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
- package/dist/web-components-library/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
- package/dist/web-components-library/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
- package/dist/web-components-library/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
- package/dist/web-components-library/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
- package/dist/web-components-library/p-562e2d52.entry.js +1 -0
- package/dist/web-components-library/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
- package/dist/web-components-library/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
- package/{www/build/p-7e71d9b0.entry.js → dist/web-components-library/p-5eacbfc7.entry.js} +1 -1
- package/dist/web-components-library/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
- package/dist/web-components-library/p-69ef6ddc.entry.js +1 -0
- package/dist/web-components-library/p-71accd8e.entry.js +1 -0
- package/dist/web-components-library/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
- package/dist/web-components-library/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
- package/dist/web-components-library/p-9f5d707a.js +1 -0
- package/dist/web-components-library/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
- package/dist/web-components-library/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
- package/dist/web-components-library/{p-bbb0e7a7.entry.js → p-a8875b97.entry.js} +2 -2
- package/dist/web-components-library/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
- package/dist/web-components-library/p-b574d5f6.entry.js +1 -0
- package/dist/web-components-library/p-b9da171f.js +1 -0
- package/dist/web-components-library/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
- package/dist/web-components-library/p-bd886dd5.entry.js +1 -0
- package/dist/web-components-library/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
- package/dist/web-components-library/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
- package/dist/web-components-library/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/dist/web-components-library/p-cd8950d2.entry.js +1 -0
- package/dist/web-components-library/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
- package/dist/web-components-library/p-d8069dab.entry.js +1 -0
- package/dist/web-components-library/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
- package/dist/web-components-library/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
- package/dist/web-components-library/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
- package/dist/web-components-library/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
- package/dist/web-components-library/p-e2102da3.entry.js +1 -0
- package/dist/web-components-library/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
- package/dist/web-components-library/p-edb8d2ab.entry.js +1 -0
- package/dist/web-components-library/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
- package/dist/web-components-library/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
- package/{www/build/p-dcf4d1b6.entry.js → dist/web-components-library/p-fa925198.entry.js} +1 -1
- package/dist/web-components-library/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- 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/{dist/web-components-library/p-e9b90127.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
- package/www/build/{p-21b9a94f.entry.js → p-08fa0a33.entry.js} +1 -1
- package/{dist/web-components-library/p-e4b4b2e4.entry.js → www/build/p-0a0aee35.entry.js} +1 -1
- package/www/build/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
- package/www/build/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
- package/www/build/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
- package/www/build/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
- package/www/build/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
- package/www/build/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
- package/www/build/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
- package/www/build/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
- package/www/build/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
- package/www/build/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
- package/www/build/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
- package/www/build/p-562e2d52.entry.js +1 -0
- package/www/build/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
- package/www/build/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
- package/{dist/web-components-library/p-7e71d9b0.entry.js → www/build/p-5eacbfc7.entry.js} +1 -1
- package/www/build/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
- package/www/build/p-69ef6ddc.entry.js +1 -0
- package/www/build/p-71accd8e.entry.js +1 -0
- package/www/build/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
- package/www/build/p-99d7ab2f.entry.js +1 -0
- package/www/build/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
- package/www/build/p-9f5d707a.js +1 -0
- package/www/build/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
- package/www/build/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
- package/www/build/{p-bbb0e7a7.entry.js → p-a8875b97.entry.js} +2 -2
- package/www/build/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
- package/www/build/p-b574d5f6.entry.js +1 -0
- package/www/build/p-b9da171f.js +1 -0
- package/www/build/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
- package/www/build/p-bd886dd5.entry.js +1 -0
- package/www/build/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
- package/www/build/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
- package/www/build/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/www/build/p-cd8950d2.entry.js +1 -0
- package/www/build/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
- package/www/build/p-d8069dab.entry.js +1 -0
- package/www/build/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
- package/www/build/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
- package/www/build/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
- package/www/build/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
- package/www/build/p-e2102da3.entry.js +1 -0
- package/www/build/p-e76afdbc.js +1 -0
- package/www/build/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
- package/www/build/p-edb8d2ab.entry.js +1 -0
- package/www/build/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
- package/www/build/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
- package/{dist/web-components-library/p-dcf4d1b6.entry.js → www/build/p-fa925198.entry.js} +1 -1
- package/www/build/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-button-filter_5.cjs.entry.js +0 -620
- package/dist/esm/z-button-filter_5.entry.js +0 -612
- package/dist/esm/z-list_3.entry.js +0 -220
- package/dist/web-components-library/p-14c9344f.entry.js +0 -1
- package/dist/web-components-library/p-57270965.entry.js +0 -1
- package/dist/web-components-library/p-70be81b6.entry.js +0 -1
- package/dist/web-components-library/p-80369bb8.entry.js +0 -1
- package/dist/web-components-library/p-80a3e18a.js +0 -1
- package/dist/web-components-library/p-a785ff38.entry.js +0 -1
- package/dist/web-components-library/p-d3723aa7.entry.js +0 -1
- package/dist/web-components-library/p-fea5b98f.js +0 -1
- package/www/build/p-14c9344f.entry.js +0 -1
- package/www/build/p-57270965.entry.js +0 -1
- package/www/build/p-70be81b6.entry.js +0 -1
- package/www/build/p-80369bb8.entry.js +0 -1
- package/www/build/p-80a3e18a.js +0 -1
- package/www/build/p-9ebf28f8.js +0 -1
- package/www/build/p-a785ff38.entry.js +0 -1
- package/www/build/p-d3723aa7.entry.js +0 -1
- package/www/build/p-fea5b98f.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import { N as NavigationTabsOrientations,
|
|
2
|
+
import { N as NavigationTabsOrientations, p as NavigationTabsSizes } from './index-46ca649a.js';
|
|
3
3
|
import { i as icons } from './icons-92a7dcde.js';
|
|
4
4
|
|
|
5
5
|
const navigationTabCss = "z-navigation-tab>button,z-navigation-tab-link>a{position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;width:auto;margin:0;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 5);background-color:unset;text-align:center;font-size:inherit;font-family:var(--font-family-sans);line-height:inherit;letter-spacing:inherit;white-space:nowrap;color:var(--color-primary01);fill:currentColor;border:none;border-radius:var(--border-no-radius);outline:none;cursor:pointer}z-navigation-tab-link>a{text-decoration:none}z-navigation-tab *,z-navigation-tab-link *,z-navigation-tab *::before,z-navigation-tab *::after,z-navigation-tab-link *::before,z-navigation-tab-link *::after{box-sizing:border-box}z-navigation-tab>*:focus:focus-visible,z-navigation-tab-link>*:focus:focus-visible{box-shadow:inset var(--shadow-focus-primary)}z-navigation-tab:not([disabled]):hover>*,z-navigation-tab[selected]>*,z-navigation-tab-link:not([disabled]):hover>*,z-navigation-tab-link[selected]>*{color:var(--color-hover-secondary);fill:currentColor}z-navigation-tab:not([disabled]):hover>*::after,z-navigation-tab[selected]>*::after,z-navigation-tab-link:not([disabled]):hover>*::after,z-navigation-tab-link[selected]>*::after{content:\"\";position:absolute;background-color:var(--color-hover-secondary)}z-navigation-tab[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab-link[orientation=\"horizontal\"][selected]>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}z-navigation-tab z-icon,z-navigation-tab-link z-icon{--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}z-navigation-tab[orientation=\"horizontal\"] z-icon,z-navigation-tab-link[orientation=\"horizontal\"] z-icon{margin-right:var(--space-unit)}z-navigation-tab:not([disabled]):hover>*{background-color:var(--color-background)}z-navigation-tab[disabled]>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}z-navigation-tab[size=\"small\"]>*,z-navigation-tab-link[size=\"small\"]>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]>*,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}z-navigation-tab[size=\"small\"][orientation=\"horizontal\"]:not([disabled]):hover>*::after,z-navigation-tab[size=\"small\"][orientation=\"horizontal\"][selected]>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"]:hover>*::after,z-navigation-tab-link[size=\"small\"][orientation=\"horizontal\"][selected]>*::after{height:var(--border-size-medium)}z-navigation-tab[size=\"small\"]:not([orientation=\"vertical\"]) z-icon,z-navigation-tab-link[size=\"small\"]:not([orientation=\"vertical\"]) z-icon{--z-icon-width:14px;--z-icon-height:14px}z-navigation-tab[orientation=\"vertical\"]>*,z-navigation-tab-link[orientation=\"vertical\"]>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}z-navigation-tab[orientation=\"vertical\"]:hover:not([disabled])>*::after,z-navigation-tab[orientation=\"vertical\"][selected]>*::after,z-navigation-tab-link[orientation=\"vertical\"]:hover>*::after,z-navigation-tab-link[orientation=\"vertical\"][selected]>*::after{width:var(--border-size-large);height:100%;top:0;right:0}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { N as NavigationTabsOrientations,
|
|
2
|
+
import { N as NavigationTabsOrientations, p as NavigationTabsSizes } from './index-46ca649a.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{position:relative;display:flex;flex-direction:row;z-index:0;font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}.navigation-button{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;background:var(--color-white);border:none;outline:none;fill:var(--color-primary01);border-radius:var(--border-no-radius);cursor:pointer;z-index:1;box-shadow:0px 0px 4px 1px rgb(66, 69, 72, 0.40)}.navigation-button:focus:focus-visible{fill:var(--color-primary01);box-shadow:inset var(--shadow-focus-primary)}.navigation-button:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;scroll-behavior:smooth;scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) .navigation-button{top:0;height:100%;width:calc(var(--space-unit) * 4)}:host([orientation='horizontal']) .navigation-button:first-child{left:0}:host([orientation='horizontal']) .navigation-button:last-child{right:0}:host([orientation='vertical']){flex-direction:column;width:fit-content}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) .navigation-button{left:0;width:100%;height:calc(var(--space-unit) * 4)}:host([orientation='vertical']) .navigation-button:first-child{top:0}:host([orientation='vertical']) .navigation-button:last-child{bottom:0}:host([size='small'][orientation='vertical']) .navigation-button{height:calc(var(--space-unit) * 4)}";
|
|
5
5
|
|
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { n as InputStatusEnum } from './index-46ca649a.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{height:72px;width:calc(var(--space-unit) * 5);font-size:32px;font-weight:300;font-family:var(--font-family-sans);text-align:center;caret-color:transparent;box-sizing:border-box;padding:0;color:var(--color-surface05)}input.error{border:1px solid;border-radius:4px;border-color:var(--color-error01);background-color:var(--color-error-inverse)}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)}}";
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-90e18641.js';
|
|
2
2
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-5d5963ef.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-46ca649a.js';
|
|
6
6
|
import './breakpoints-c386984e.js';
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host>div{height:48px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:center;align-content:center}:host>div>z-icon{cursor:pointer;margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);fill:var(--color-primary01)}:host>div>z-icon.disabled{cursor:default;pointer-events:none;color:var(--color-disabled01);fill:var(--color-disabled01)}";
|
|
@@ -188,7 +188,7 @@ const ZPagination = class {
|
|
|
188
188
|
pagesChunks.map((chunk) => (h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page))))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
189
189
|
ev.preventDefault();
|
|
190
190
|
this.selectPage(this.goToPageValue);
|
|
191
|
-
} }, h("z-input", { class: "go-to-page-input", type: "number",
|
|
191
|
+
} }, h("z-input", { class: "go-to-page-input", type: "number", message: false, onInput: (ev) => { this.goToPageValue = ev.target.value; }, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
192
192
|
];
|
|
193
193
|
}
|
|
194
194
|
componentDidLoad() {
|
|
@@ -209,7 +209,7 @@ const ZPagination = class {
|
|
|
209
209
|
h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ?
|
|
210
210
|
this.renderSplitPages() :
|
|
211
211
|
this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))),
|
|
212
|
-
this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: "number",
|
|
212
|
+
this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: "number", message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => { this.goToPageValue = ev.target.value; }, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai")))),
|
|
213
213
|
];
|
|
214
214
|
}
|
|
215
215
|
get host() { return getElement(this); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { m as PocketStatusEnum } from './index-46ca649a.js';
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-5d5963ef.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './breakpoints-c386984e.js';
|
|
6
6
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-90e18641.js';
|
|
2
2
|
import { c as classnames } from './index-abb47b30.js';
|
|
3
|
-
import { P as PopoverPosition, G as PopoverBorderRadius, H as PopoverShadow,
|
|
4
|
-
import { a as getElementTree } from './utils-
|
|
3
|
+
import { P as PopoverPosition, G as PopoverBorderRadius, H as PopoverShadow, F as KeyboardKeys } from './index-46ca649a.js';
|
|
4
|
+
import { a as getElementTree } from './utils-5d5963ef.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
6
6
|
import './breakpoints-c386984e.js';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { q as ZSectionTitleDividerPositions, d as DividerSize } from './index-46ca649a.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;flex-direction:column;align-items:flex-start;width:fit-content;font-family:var(--font-family-sans);font-weight:var(--font-rg)}: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);text-transform:uppercase;font-size:var(--font-size-3);line-height:1.5rem}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]) ::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}}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-
|
|
3
|
-
import { T as ThemeVariant } from './index-
|
|
2
|
+
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-5d5963ef.js';
|
|
3
|
+
import { T as ThemeVariant } from './index-46ca649a.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ".sc-z-skip-to-content-h{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:absolute;left:-100%;background-color:#24f4ff;padding:calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 3);height:60px;box-sizing:border-box}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:0;width:0;overflow:hidden}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{height:initial;width:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{background-color:var(--bg-white);color:var(--text-grey-800);border:2px solid var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{height:initial;width:initial;overflow:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{border-right:none;padding-right:0}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import { D as DeviceEnum } from './index-
|
|
3
|
-
import { b as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-
|
|
2
|
+
import { D as DeviceEnum } from './index-46ca649a.js';
|
|
3
|
+
import { b as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-5d5963ef.js';
|
|
4
4
|
import './breakpoints-c386984e.js';
|
|
5
5
|
|
|
6
6
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:block;width:inherit}:host>div{display:flex;flex-direction:column;width:inherit}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;top:50%;width:auto;cursor:pointer;transition:0.6s ease;margin:0 var(--space-unit);fill:var(--color-primary01);z-index:10}main .scroll.disabled{opacity:50%;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;transition:all 300ms;line-height:0px;overflow-y:hidden}footer{height:56px;width:100%;align-items:center;display:grid;grid-template-columns:2;grid-template-rows:2;grid-template-areas:\"center center\" \"left right\";border-top:var(--border-base) solid var(--color-surface02)}footer>div{align-items:center;width:100%}footer .footerCenter{grid-area:center}footer .footerLeft{grid-area:left}footer .footerRight{grid-area:right}footer .bulletContainer{display:flex;margin:0 auto;justify-content:center;align-items:center;min-height:60px}footer .bulletContainer .bullet{width:8px;height:8px;border-radius:50%;background-color:var(--bg-neutral-150);margin:var(--space-unit) 2px;pointer-events:none}footer .bulletContainer .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{grid-template-columns:1fr 2fr 1fr;grid-template-rows:1;grid-template-areas:\"left center right\";height:76px;border-top:var(--border-base) solid var(--color-surface02)}footer .bulletContainer .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bulletContainer .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);pointer-events:auto;cursor:pointer}}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-90e18641.js';
|
|
2
|
-
import { S as StatusTagStatus } from './index-
|
|
2
|
+
import { S as StatusTagStatus } from './index-46ca649a.js';
|
|
3
3
|
import { c as classnames } from './index-abb47b30.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { x as Size, b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-46ca649a.js';
|
|
3
3
|
import { c as classnames } from './index-abb47b30.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
2
|
import { c as classnames } from './index-abb47b30.js';
|
|
3
|
-
import {
|
|
4
|
-
import { a as getElementTree } from './utils-
|
|
3
|
+
import { x as Size, y as SortDirectionEnum, P as PopoverPosition, b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-46ca649a.js';
|
|
4
|
+
import { a as getElementTree } from './utils-5d5963ef.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
6
6
|
import './breakpoints-c386984e.js';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { r as ZTableRowExpandedType } from './index-46ca649a.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = "z-table-row{display:table-row;font-family:var(--font-family-sans)}z-table-row[expanded-type=\"expandable\"]:hover{cursor:pointer}z-table-row[expanded-type=\"expandable\"]>z-table-cell:first-child,z-table-row[expanded-type=\"padding\"]>z-table-cell:first-child{--z-icon-width:16px;--z-icon-height:16px;width:24px;padding-left:16px;padding-right:0px;box-sizing:border-box;text-align:center;fill:var(--gray800);user-select:none}.z-icon-placeholder{width:24px;padding-right:0px}z-table-row[expanded-type=\"expandable\"]>z-table-cell:nth-child(2),z-table-row[expanded-type=\"padding\"]>z-table-cell:nth-child(2){padding-left:8px}z-table-row[expanded-type]:hover>z-table-cell:first-child{fill:var(--myz-blue-dark)}z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table-row[expanded]+z-table-expanded-row{display:table-row}z-table-row[expanded]>z-table-cell{border-bottom:none}";
|
|
5
5
|
|
|
@@ -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 { b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-
|
|
2
|
+
import { b as ButtonVariantEnum, c as ButtonSizeEnum } from './index-46ca649a.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
|
|
5
5
|
const stylesCss = "z-table{overflow-x:auto;display:block;width:100%;font-family:var(--dashboard-font);font-weight:var(--font-rg);background-color:var(--color-white)}z-table>div.table{display:table;width:100%;border-collapse:separate}z-table>div.table-bordered>z-table-body>z-table-row>z-table-cell:not(:last-child),z-table>div.table-bordered>z-table-head>z-table-header-row>z-table-header:not(:last-child){border-right:var(--border-size-small) solid var(--bg-grey-200)}z-table>div>z-table-body>z-table-row[expandable]>z-table-cell:first-child,z-table>div>z-table-head>z-table-header-row[expandable]>z-table-header:first-child{border-right:none}z-table>div>z-table-body>z-table-row[expanded]>z-table-cell{background-color:var(--gray50)}z-table>div>z-table-body>z-table-row[expanded]+z-table-expanded-row{border-bottom:1px solid var(--gray200)}z-table>div.table-column-sticky>z-table-body>z-table-row>z-table-cell:first-child,z-table>div.table-column-sticky>z-table-head>z-table-header-row>z-table-header:first-child{position:sticky;left:0;box-shadow:1px 0 4px -1px rgba(66, 69, 72, 0.4);z-index:1}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{position:sticky;top:0;box-shadow:0 2px 3px -3px rgba(66, 69, 72, 0.4)}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header{z-index:2}z-table>div.table-header-sticky>z-table-head>z-table-header-row>z-table-header:first-child,z-table>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(--bg-grey-200)}z-table-empty-box.bordered{border-left:var(--border-size-small) solid var(--bg-grey-200)}.error-message{margin-top:calc(var(--space-unit) * 2)}.table-content{display:flex;flex-direction:row;width:100%}.error-content{font-family:var(--dashboard-font);padding:calc(var(--space-unit) * 3);display:flex}.error-content>img{width:244px;height:188px;margin-right:calc(var(--space-unit) * 3)}@media only screen and (max-width: 768px){z-table>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,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-90e18641.js';
|
|
2
|
-
import {
|
|
2
|
+
import { t as ToastNotificationPositionsEnum } from './index-46ca649a.js';
|
|
3
3
|
|
|
4
4
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);position:fixed;display:flex;flex-direction:column;flex-wrap:nowrap;z-index:10000;margin-bottom:calc(var(--space-unit) * 2);margin-top:calc(var(--space-unit) * 2)}::slotted(z-toast-notification){width:100vw}::slotted(:not(:last-child)){margin-bottom:calc(var(--space-unit) * 1)}:host(.bottom-centre),:host(.bottom-right),:host(.bottom-left){justify-content:flex-end;align-items:flex-end;bottom:0}:host(.top-left),:host(.top-right),:host(.top-centre){justify-content:flex-start;align-items:flex-start;top:0}@media only screen and (min-width: 768px){:host{margin:calc(var(--space-unit) * 3)}:host(.top-centre){justify-content:flex-start;align-items:center;top:0;left:50%;transform:translateX(-50%)}:host(.top-left){justify-content:flex-start;align-items:flex-start;top:0;left:0}:host(.top-right){justify-content:flex-start;align-items:flex-end;top:0;right:0}:host(.bottom-centre){justify-content:flex-end;align-items:center;bottom:0;left:50%;transform:translateX(-50%)}:host(.bottom-right){justify-content:flex-end;align-items:flex-end;bottom:0;right:0}:host(.bottom-left){justify-content:flex-end;align-items:flex-start;bottom:0;left:0}::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}}";
|
|
5
5
|
|
|
@@ -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 {
|
|
2
|
+
import { s as ToastNotificationTransitionsEnum } from './index-46ca649a.js';
|
|
3
3
|
import { m as mobileBreakpoint } from './breakpoints-c386984e.js';
|
|
4
4
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
5
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -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 {
|
|
2
|
+
import { r as randomId } from './utils-5d5963ef.js';
|
|
3
|
+
import { u as LabelPositions } from './index-46ca649a.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}";
|
|
@@ -10,7 +10,7 @@ const ZToggleSwitch = class {
|
|
|
10
10
|
registerInstance(this, hostRef);
|
|
11
11
|
this.toggleClick = createEvent(this, "toggleClick", 7);
|
|
12
12
|
this.disabled = false;
|
|
13
|
-
this.labelPosition =
|
|
13
|
+
this.labelPosition = LabelPositions.left;
|
|
14
14
|
this.checked = false;
|
|
15
15
|
this.htmlid = `toggle-switch-id-${randomId()}`;
|
|
16
16
|
}
|
|
@@ -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 {
|
|
2
|
+
import { k as TooltipPosition } from './index-46ca649a.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
|
|
|
@@ -130,15 +130,13 @@ export declare enum InputTypeEnum {
|
|
|
130
130
|
email = "email",
|
|
131
131
|
textarea = "textarea",
|
|
132
132
|
checkbox = "checkbox",
|
|
133
|
-
radio = "radio"
|
|
134
|
-
select = "select"
|
|
133
|
+
radio = "radio"
|
|
135
134
|
}
|
|
136
135
|
export declare type InputStatusBean = keyof typeof InputStatusEnum;
|
|
137
136
|
export declare enum InputStatusEnum {
|
|
138
137
|
success = "success",
|
|
139
138
|
error = "error",
|
|
140
|
-
warning = "warning"
|
|
141
|
-
selecting = "selecting"
|
|
139
|
+
warning = "warning"
|
|
142
140
|
}
|
|
143
141
|
export declare type TooltipPositionBean = keyof typeof TooltipPosition;
|
|
144
142
|
export declare enum TooltipPosition {
|
|
@@ -152,7 +150,7 @@ export declare enum TooltipPosition {
|
|
|
152
150
|
BOTTOM_RIGHT = "bottom_right",
|
|
153
151
|
BOTTOM_LEFT = "bottom_left"
|
|
154
152
|
}
|
|
155
|
-
export declare enum
|
|
153
|
+
export declare enum KeyboardKeyCodeEnum {
|
|
156
154
|
TAB = 9,
|
|
157
155
|
SPACE = 32,
|
|
158
156
|
ESC = 27,
|
|
@@ -162,7 +160,7 @@ export declare enum keybordKeyCodeEnum {
|
|
|
162
160
|
BACKSPACE = 8,
|
|
163
161
|
DELETE = 46
|
|
164
162
|
}
|
|
165
|
-
export declare enum
|
|
163
|
+
export declare enum KeyboardCodeEnum {
|
|
166
164
|
TAB = "Tab",
|
|
167
165
|
SPACE = "Space",
|
|
168
166
|
ESC = "Escape",
|
|
@@ -261,10 +259,11 @@ export declare enum ExpandableListButtonAlign {
|
|
|
261
259
|
right = "right",
|
|
262
260
|
left = "left"
|
|
263
261
|
}
|
|
264
|
-
export declare enum
|
|
262
|
+
export declare enum LabelPositions {
|
|
265
263
|
right = "right",
|
|
266
264
|
left = "left"
|
|
267
265
|
}
|
|
266
|
+
export declare type LabelPosition = keyof typeof LabelPositions;
|
|
268
267
|
export declare enum ListDividerType {
|
|
269
268
|
none = "none",
|
|
270
269
|
header = "header",
|
|
@@ -6,7 +6,7 @@ export declare class ZButton {
|
|
|
6
6
|
hostElement: HTMLElement;
|
|
7
7
|
/** defines a string value that labels an interactive element, used for accessibility. */
|
|
8
8
|
ariaLabel?: string;
|
|
9
|
-
/** HTML a href attribute. If it is set, it renders an HTML a tag. */
|
|
9
|
+
/** HTML <a> href attribute. If it is set, it renders an HTML <a> tag. */
|
|
10
10
|
href?: string;
|
|
11
11
|
/** HTML a target attribute. */
|
|
12
12
|
target?: string;
|
|
@@ -26,10 +26,12 @@ export declare class ZButton {
|
|
|
26
26
|
size?: ButtonSizeEnum;
|
|
27
27
|
getAttributes(): {
|
|
28
28
|
id: string;
|
|
29
|
-
class: string;
|
|
30
29
|
"aria-label": string;
|
|
30
|
+
class: {
|
|
31
|
+
[x: string]: boolean;
|
|
32
|
+
container: boolean;
|
|
33
|
+
"has-text": boolean;
|
|
34
|
+
};
|
|
31
35
|
};
|
|
32
|
-
componentDidLoad(): void;
|
|
33
|
-
componentWillRender(): void;
|
|
34
36
|
render(): any;
|
|
35
37
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { LabelPosition } from "../../../beans";
|
|
3
3
|
export declare class ZToggleSwitch {
|
|
4
4
|
disabled?: boolean;
|
|
5
|
-
labelPosition?:
|
|
5
|
+
labelPosition?: LabelPosition;
|
|
6
6
|
checked?: boolean;
|
|
7
7
|
htmlid: string;
|
|
8
8
|
toggleClick: EventEmitter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { InputTypeBean, InputStatusBean,
|
|
2
|
+
import { InputTypeBean, InputStatusBean, LabelPosition } from "../../../beans";
|
|
3
3
|
export declare class ZInput {
|
|
4
4
|
hostElement: HTMLElement;
|
|
5
5
|
/** the id of the input element */
|
|
@@ -26,42 +26,28 @@ export declare class ZInput {
|
|
|
26
26
|
placeholder?: string;
|
|
27
27
|
/** the input html title (optional) */
|
|
28
28
|
htmltitle?: string;
|
|
29
|
-
/** the input status (optional): available for text, password, number, email, textarea
|
|
29
|
+
/** the input status (optional): available for text, password, number, email, textarea */
|
|
30
30
|
status?: InputStatusBean;
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/** input helper message (optional): available for text, password, number, email, textarea, select */
|
|
34
|
-
message?: string;
|
|
31
|
+
/** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
|
|
32
|
+
message?: string | boolean;
|
|
35
33
|
/** the input label position: available for checkbox, radio */
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
|
|
39
|
-
/** items (optional): available for select */
|
|
40
|
-
items?: SelectItemBean[] | string;
|
|
41
|
-
/** the input has autocomplete option (optional): available for select, input */
|
|
42
|
-
autocomplete?: boolean | string;
|
|
43
|
-
/** multiple options can be selected (optional): available for select */
|
|
44
|
-
multiple?: boolean;
|
|
34
|
+
labelPosition?: LabelPosition;
|
|
35
|
+
/** the input has autocomplete option (optional): available for text, password, number, email */
|
|
36
|
+
autocomplete?: string;
|
|
45
37
|
/** render clear icon when typing (optional): available for text */
|
|
46
38
|
hasclearicon?: boolean;
|
|
47
|
-
/** render icon (optional): available for text
|
|
39
|
+
/** render icon (optional): available for text */
|
|
48
40
|
icon?: string;
|
|
49
41
|
isTyping: boolean;
|
|
50
|
-
textareaWrapperHover: string;
|
|
51
|
-
textareaWrapperFocus: string;
|
|
52
42
|
passwordHidden: boolean;
|
|
53
43
|
private timer;
|
|
54
|
-
private
|
|
44
|
+
private typingtimeout;
|
|
55
45
|
inputCheckListener(e: CustomEvent): void;
|
|
56
|
-
/** get the input value */
|
|
57
|
-
getValue(): Promise<string | string[]>;
|
|
58
|
-
/** set the input value */
|
|
59
|
-
setValue(value: string | string[]): Promise<void>;
|
|
60
46
|
/** get checked status */
|
|
61
47
|
isChecked(): Promise<boolean>;
|
|
62
|
-
/** Emitted on input value change, returns value,
|
|
48
|
+
/** Emitted on input value change, returns value, validity */
|
|
63
49
|
inputChange: EventEmitter;
|
|
64
|
-
emitInputChange(value: string
|
|
50
|
+
emitInputChange(value: string): void;
|
|
65
51
|
/** Emitted when user starts typing */
|
|
66
52
|
startTyping: EventEmitter;
|
|
67
53
|
emitStartTyping(): void;
|
|
@@ -71,8 +57,6 @@ export declare class ZInput {
|
|
|
71
57
|
/** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */
|
|
72
58
|
inputCheck: EventEmitter;
|
|
73
59
|
emitInputCheck(checked: boolean): void;
|
|
74
|
-
/** Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple) */
|
|
75
|
-
optionSelect: EventEmitter;
|
|
76
60
|
getValidity(type: string): ValidityState;
|
|
77
61
|
getTextAttributes(): {
|
|
78
62
|
id: string;
|
|
@@ -83,7 +67,11 @@ export declare class ZInput {
|
|
|
83
67
|
readonly: boolean;
|
|
84
68
|
required: boolean;
|
|
85
69
|
title: string;
|
|
86
|
-
class:
|
|
70
|
+
class: {
|
|
71
|
+
[x: string]: boolean;
|
|
72
|
+
filled: boolean;
|
|
73
|
+
};
|
|
74
|
+
autocomplete: string;
|
|
87
75
|
onInput: (e: any) => void;
|
|
88
76
|
};
|
|
89
77
|
renderInputText(type?: InputTypeBean): any;
|
|
@@ -97,6 +85,5 @@ export declare class ZInput {
|
|
|
97
85
|
handleCheck(ev: any): void;
|
|
98
86
|
renderCheckbox(): any;
|
|
99
87
|
renderRadio(): any;
|
|
100
|
-
renderSelect(): any;
|
|
101
88
|
render(): any;
|
|
102
89
|
}
|
|
@@ -20,40 +20,36 @@ export declare class ZSelect {
|
|
|
20
20
|
placeholder?: string;
|
|
21
21
|
/** the input html title (optional) */
|
|
22
22
|
htmltitle?: string;
|
|
23
|
-
/** the input status (optional)
|
|
23
|
+
/** the input status (optional) */
|
|
24
24
|
status?: InputStatusBean;
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
/** input helper message (optional): available for text, password, number, email, textarea, select */
|
|
28
|
-
message?: string;
|
|
25
|
+
/** input helper message (optional) - if set to `false` message won't be displayed */
|
|
26
|
+
message?: string | boolean;
|
|
29
27
|
/** the input has autocomplete option */
|
|
30
|
-
autocomplete?: boolean
|
|
31
|
-
/** multiple options can be selected */
|
|
32
|
-
multiple?: boolean;
|
|
28
|
+
autocomplete?: boolean;
|
|
33
29
|
/** no result text message */
|
|
34
30
|
noresultslabel?: string;
|
|
35
31
|
isOpen: boolean;
|
|
36
|
-
|
|
32
|
+
selectedItem: null | SelectItemBean;
|
|
37
33
|
searchString: null | string;
|
|
38
34
|
private itemsList;
|
|
39
35
|
constructor();
|
|
40
36
|
watchItems(): void;
|
|
41
37
|
/** get the input selected options */
|
|
42
|
-
|
|
38
|
+
getSelectedItem(): Promise<SelectItemBean>;
|
|
43
39
|
/** get the input value */
|
|
44
|
-
getValue(): Promise<string
|
|
40
|
+
getValue(): Promise<string>;
|
|
45
41
|
/** set the input value */
|
|
46
42
|
setValue(value: string | string[]): Promise<void>;
|
|
47
|
-
/** Emitted on select option selection, returns select id, selected item id
|
|
43
|
+
/** Emitted on select option selection, returns select id, selected item id */
|
|
48
44
|
optionSelect: EventEmitter;
|
|
49
45
|
emitOptionSelect(): void;
|
|
50
46
|
componentWillLoad(): void;
|
|
51
47
|
componentWillRender(): void;
|
|
52
48
|
getInitialItemsArray(): any;
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
mapSelectedItemToItemsArray(): any;
|
|
50
|
+
getSelectedValue(): string;
|
|
55
51
|
filterItems(searchString: string): void;
|
|
56
|
-
|
|
52
|
+
hasAutocomplete(): boolean;
|
|
57
53
|
handleInputChange(e: CustomEvent): void;
|
|
58
54
|
selectItem(item: null | SelectItemBean, selected: boolean): void;
|
|
59
55
|
arrowsSelectNav(e: KeyboardEvent, key: number): void;
|
|
@@ -62,9 +58,7 @@ export declare class ZSelect {
|
|
|
62
58
|
handleInputClick(e: MouseEvent | KeyboardEvent): void;
|
|
63
59
|
handleSelectFocus(e: MouseEvent | KeyboardEvent): void;
|
|
64
60
|
scrollToLetter(letter: string): void;
|
|
65
|
-
renderLabel(): any;
|
|
66
61
|
renderInput(): any;
|
|
67
|
-
renderChips(): any;
|
|
68
62
|
renderSelectUl(): any;
|
|
69
63
|
renderSelectUlItems(): any;
|
|
70
64
|
renderNoSearchResults(): any;
|
|
@@ -4,6 +4,10 @@ export declare class ZDatePicker {
|
|
|
4
4
|
element: HTMLElement;
|
|
5
5
|
/** unique id */
|
|
6
6
|
datepickerid: string;
|
|
7
|
+
/** z-input aria label */
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
/** z-input label */
|
|
10
|
+
label?: string;
|
|
7
11
|
/** [Optional] datepicker mode: date, datetime, only months */
|
|
8
12
|
mode: ZDatePickerMode;
|
|
9
13
|
flatpickrPosition: ZDatePickerPosition;
|