@zanichelli/albe-web-components 2.47.3 → 3.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 +47 -0
- package/dist/cjs/{index-d326c919.js → index-b1289f95.js} +19 -8
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-cd6b9038.js → utils-33df2456.js} +2 -3
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/{z-app-switcher_11.cjs.entry.js → z-app-switcher_12.cjs.entry.js} +43 -7
- 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_5.cjs.entry.js +2 -2
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cookiebar.cjs.entry.js +4 -4
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +16 -13
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-footer.cjs.entry.js +13 -8
- package/dist/cjs/z-list_3.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +2 -2
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +6 -5
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-topbar.cjs.entry.js +3 -3
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +13 -12
- package/dist/cjs/z-navigation-tab.cjs.entry.js +13 -12
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +6 -9
- 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-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 +68 -0
- 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 +2 -2
- package/dist/cjs/z-table-header.cjs.entry.js +3 -3
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +19 -8
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/buttons/z-button/index.js +72 -52
- package/dist/collection/components/buttons/z-button/styles.css +32 -111
- package/dist/collection/components/file-upload/z-file-upload/index.js +13 -10
- package/dist/collection/components/file-upload/z-file-upload/styles.css +2 -2
- package/dist/collection/components/footer/z-footer/index.js +19 -14
- package/dist/collection/components/footer/z-footer/styles.css +2 -2
- package/dist/collection/components/modal/z-modal-login/index.js +5 -4
- package/dist/collection/components/modal/z-modal-login/styles.css +8 -8
- package/dist/collection/components/navigation/tabs/navigation-tab.css +49 -31
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +14 -21
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +14 -21
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +4 -7
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +6 -20
- package/dist/collection/components/notification/z-cookiebar/index.js +2 -2
- package/dist/collection/components/notification/z-cookiebar/styles.css +3 -3
- package/dist/collection/components/notification/z-toast-notification/styles.css +4 -2
- package/dist/collection/components/z-skip-to-content/index.js +131 -0
- package/dist/collection/components/z-skip-to-content/styles.css +84 -0
- package/dist/collection/components/z-table/z-table/index.js +4 -4
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-header/index.js +1 -1
- package/dist/collection/deprecated/z-button-deprecated/index.js +218 -0
- package/dist/collection/deprecated/z-button-deprecated/styles.css +231 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +5 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +1 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +5 -1
- package/dist/collection/snowflakes/myz/topbar/index.js +1 -1
- package/dist/collection/snowflakes/myz/topbar/styles.css +8 -8
- package/dist/collection/utils/utils.js +2 -3
- package/dist/esm/{index-96aade4f.js → index-7424c64c.js} +20 -9
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-d06fbb4a.js → utils-93d2b922.js} +3 -4
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/{z-app-switcher_11.entry.js → z-app-switcher_12.entry.js} +43 -8
- 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_5.entry.js +2 -2
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cookiebar.entry.js +4 -4
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +16 -13
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-footer.entry.js +13 -8
- package/dist/esm/z-list_3.entry.js +1 -1
- package/dist/esm/z-menu-dropdown_2.entry.js +2 -2
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +6 -5
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-topbar.entry.js +3 -3
- package/dist/esm/z-navigation-tab-link.entry.js +14 -13
- package/dist/esm/z-navigation-tab.entry.js +14 -13
- package/dist/esm/z-navigation-tabs.entry.js +6 -9
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.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 +64 -0
- 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 +2 -2
- package/dist/esm/z-table-header.entry.js +3 -3
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table.entry.js +3 -3
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/types/beans/index.d.ts +23 -8
- package/dist/types/components/buttons/z-button/index.d.ts +13 -7
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +8 -5
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +8 -5
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +2 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +22 -0
- package/dist/types/components.d.ts +129 -7
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +28 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-a184c4a4.entry.js → p-0398165f.entry.js} +1 -1
- package/dist/web-components-library/{p-aaee84f0.entry.js → p-03de95f1.entry.js} +1 -1
- package/dist/web-components-library/p-0b590426.entry.js +1 -0
- package/dist/web-components-library/{p-c7f70e76.entry.js → p-1b973c72.entry.js} +1 -1
- package/dist/web-components-library/{p-51870c65.entry.js → p-1eef76bb.entry.js} +1 -1
- package/dist/web-components-library/p-21b9a94f.entry.js +1 -0
- package/dist/web-components-library/{p-4434207b.entry.js → p-223bec2f.entry.js} +1 -1
- package/dist/web-components-library/p-2711bc32.entry.js +1 -0
- package/dist/web-components-library/p-2b8975b1.entry.js +1 -0
- package/dist/web-components-library/{p-059fc87d.entry.js → p-2c823f4c.entry.js} +1 -1
- package/dist/web-components-library/p-2e510e79.entry.js +1 -0
- package/dist/web-components-library/p-2ff952a3.entry.js +1 -0
- package/dist/web-components-library/{p-c9722a45.entry.js → p-3184d969.entry.js} +1 -1
- package/dist/web-components-library/p-393c31c0.entry.js +1 -0
- package/dist/web-components-library/{p-e559f4d3.entry.js → p-3dba3a83.entry.js} +1 -1
- package/dist/web-components-library/p-459dab30.entry.js +1 -0
- package/dist/web-components-library/{p-62a79ada.entry.js → p-4c282f06.entry.js} +1 -1
- package/dist/web-components-library/{p-67e56d43.entry.js → p-542b3702.entry.js} +1 -1
- package/dist/web-components-library/{p-e8df0a5e.entry.js → p-57270965.entry.js} +1 -1
- package/{www/build/p-5ad5d409.entry.js → dist/web-components-library/p-66fbe5b8.entry.js} +1 -1
- package/dist/web-components-library/p-709ab23c.entry.js +1 -0
- package/dist/web-components-library/p-70be81b6.entry.js +1 -0
- package/{www/build/p-f87cd1c6.entry.js → dist/web-components-library/p-7e71d9b0.entry.js} +1 -1
- package/dist/web-components-library/p-80369bb8.entry.js +1 -0
- package/dist/web-components-library/p-80a3e18a.js +1 -0
- package/dist/web-components-library/{p-dd928b6f.entry.js → p-895f636e.entry.js} +1 -1
- package/dist/web-components-library/p-8b62bd85.entry.js +1 -0
- package/dist/web-components-library/{p-66a027c2.entry.js → p-9721e132.entry.js} +1 -1
- package/dist/web-components-library/{p-211c8001.entry.js → p-9935973a.entry.js} +1 -1
- package/dist/web-components-library/p-a391566a.entry.js +1 -0
- package/dist/web-components-library/{p-9045dc92.entry.js → p-aae632ef.entry.js} +1 -1
- package/{www/build/p-b3059f74.entry.js → dist/web-components-library/p-adad78fc.entry.js} +1 -1
- package/dist/web-components-library/{p-62a7b6cb.entry.js → p-b0ea8c0e.entry.js} +1 -1
- package/dist/web-components-library/{p-c806d6e4.entry.js → p-c787ea21.entry.js} +1 -1
- package/dist/web-components-library/p-cadcf677.entry.js +1 -0
- package/dist/web-components-library/p-cce20009.entry.js +1 -0
- package/dist/web-components-library/p-cd2ca92b.entry.js +1 -0
- package/dist/web-components-library/p-da7760a3.entry.js +1 -0
- package/dist/web-components-library/p-dcf4d1b6.entry.js +1 -0
- package/dist/web-components-library/{p-4fa3a1f5.entry.js → p-dfc18671.entry.js} +1 -1
- package/{www/build/p-edc05acf.entry.js → dist/web-components-library/p-e4b4b2e4.entry.js} +1 -1
- package/dist/web-components-library/{p-9baa6b96.entry.js → p-e7aadd3d.entry.js} +1 -1
- package/dist/web-components-library/{p-422d2691.entry.js → p-e9b90127.entry.js} +1 -1
- package/dist/web-components-library/p-fea5b98f.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +5 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-a184c4a4.entry.js → p-0398165f.entry.js} +1 -1
- package/www/build/{p-aaee84f0.entry.js → p-03de95f1.entry.js} +1 -1
- package/www/build/p-0b590426.entry.js +1 -0
- package/www/build/{p-c7f70e76.entry.js → p-1b973c72.entry.js} +1 -1
- package/www/build/{p-51870c65.entry.js → p-1eef76bb.entry.js} +1 -1
- package/www/build/p-21b9a94f.entry.js +1 -0
- package/www/build/{p-4434207b.entry.js → p-223bec2f.entry.js} +1 -1
- package/www/build/p-2711bc32.entry.js +1 -0
- package/www/build/p-2b8975b1.entry.js +1 -0
- package/www/build/{p-059fc87d.entry.js → p-2c823f4c.entry.js} +1 -1
- package/www/build/p-2e24f261.js +129 -0
- package/www/build/p-2e510e79.entry.js +1 -0
- package/www/build/p-2ff952a3.entry.js +1 -0
- package/www/build/{p-c9722a45.entry.js → p-3184d969.entry.js} +1 -1
- package/www/build/p-393c31c0.entry.js +1 -0
- package/www/build/{p-e559f4d3.entry.js → p-3dba3a83.entry.js} +1 -1
- package/www/build/p-459dab30.entry.js +1 -0
- package/www/build/{p-62a79ada.entry.js → p-4c282f06.entry.js} +1 -1
- package/www/build/{p-67e56d43.entry.js → p-542b3702.entry.js} +1 -1
- package/www/build/{p-e8df0a5e.entry.js → p-57270965.entry.js} +1 -1
- package/{dist/web-components-library/p-5ad5d409.entry.js → www/build/p-66fbe5b8.entry.js} +1 -1
- package/www/build/p-709ab23c.entry.js +1 -0
- package/www/build/p-70be81b6.entry.js +1 -0
- package/{dist/web-components-library/p-f87cd1c6.entry.js → www/build/p-7e71d9b0.entry.js} +1 -1
- package/www/build/p-80369bb8.entry.js +1 -0
- package/www/build/p-80a3e18a.js +1 -0
- package/www/build/{p-dd928b6f.entry.js → p-895f636e.entry.js} +1 -1
- package/www/build/p-8b62bd85.entry.js +1 -0
- package/www/build/{p-66a027c2.entry.js → p-9721e132.entry.js} +1 -1
- package/www/build/{p-211c8001.entry.js → p-9935973a.entry.js} +1 -1
- package/www/build/p-a391566a.entry.js +1 -0
- package/www/build/{p-9045dc92.entry.js → p-aae632ef.entry.js} +1 -1
- package/{dist/web-components-library/p-b3059f74.entry.js → www/build/p-adad78fc.entry.js} +1 -1
- package/www/build/{p-62a7b6cb.entry.js → p-b0ea8c0e.entry.js} +1 -1
- package/www/build/{p-c806d6e4.entry.js → p-c787ea21.entry.js} +1 -1
- package/www/build/p-cadcf677.entry.js +1 -0
- package/www/build/p-cce20009.entry.js +1 -0
- package/www/build/p-cd2ca92b.entry.js +1 -0
- package/www/build/p-da7760a3.entry.js +1 -0
- package/www/build/p-dcf4d1b6.entry.js +1 -0
- package/www/build/{p-4fa3a1f5.entry.js → p-dfc18671.entry.js} +1 -1
- package/{dist/web-components-library/p-edc05acf.entry.js → www/build/p-e4b4b2e4.entry.js} +1 -1
- package/www/build/{p-9baa6b96.entry.js → p-e7aadd3d.entry.js} +1 -1
- package/www/build/{p-422d2691.entry.js → p-e9b90127.entry.js} +1 -1
- package/www/build/p-fcff1237.css +812 -0
- package/www/build/p-fea5b98f.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +49 -49
- package/www/pages/notification.html +10 -7
- package/dist/web-components-library/p-01b13704.entry.js +0 -1
- package/dist/web-components-library/p-05fd034c.entry.js +0 -1
- package/dist/web-components-library/p-12ae4164.entry.js +0 -1
- package/dist/web-components-library/p-142dc712.entry.js +0 -1
- package/dist/web-components-library/p-2182f383.entry.js +0 -1
- package/dist/web-components-library/p-2f9c9ed9.entry.js +0 -1
- package/dist/web-components-library/p-3ecebf0c.entry.js +0 -1
- package/dist/web-components-library/p-42c37977.js +0 -1
- package/dist/web-components-library/p-61b6ab7e.entry.js +0 -1
- package/dist/web-components-library/p-77d2db66.entry.js +0 -1
- package/dist/web-components-library/p-8fb44da3.entry.js +0 -1
- package/dist/web-components-library/p-981f5b41.entry.js +0 -1
- package/dist/web-components-library/p-a4049c7f.js +0 -1
- package/dist/web-components-library/p-b3cab405.entry.js +0 -1
- package/dist/web-components-library/p-c8578954.entry.js +0 -1
- package/dist/web-components-library/p-d0c956ff.entry.js +0 -1
- package/dist/web-components-library/p-e3d1b621.entry.js +0 -1
- package/dist/web-components-library/p-eedd3f14.entry.js +0 -1
- package/dist/web-components-library/p-f85e38d3.entry.js +0 -1
- package/www/build/p-01b13704.entry.js +0 -1
- package/www/build/p-05fd034c.entry.js +0 -1
- package/www/build/p-12ae4164.entry.js +0 -1
- package/www/build/p-142dc712.entry.js +0 -1
- package/www/build/p-2182f383.entry.js +0 -1
- package/www/build/p-2f9c9ed9.entry.js +0 -1
- package/www/build/p-3ecebf0c.entry.js +0 -1
- package/www/build/p-42c37977.js +0 -1
- package/www/build/p-61b6ab7e.entry.js +0 -1
- package/www/build/p-7210d846.js +0 -1
- package/www/build/p-77d2db66.entry.js +0 -1
- package/www/build/p-88b56b6e.css +0 -1
- package/www/build/p-8fb44da3.entry.js +0 -1
- package/www/build/p-981f5b41.entry.js +0 -1
- package/www/build/p-a4049c7f.js +0 -1
- package/www/build/p-b3cab405.entry.js +0 -1
- package/www/build/p-c8578954.entry.js +0 -1
- package/www/build/p-d0c956ff.entry.js +0 -1
- package/www/build/p-e3d1b621.entry.js +0 -1
- package/www/build/p-eedd3f14.entry.js +0 -1
- package/www/build/p-f85e38d3.entry.js +0 -1
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
const icons = require('./icons-30810e62.js');
|
|
8
8
|
|
|
9
|
-
const navigationTabCss = "
|
|
9
|
+
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}";
|
|
10
10
|
|
|
11
11
|
const ZNavigationTab = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
|
-
this.
|
|
14
|
+
this.selectedEvent = index.createEvent(this, "selected", 7);
|
|
15
15
|
/**
|
|
16
16
|
* Whether the tab is selected.
|
|
17
17
|
*/
|
|
@@ -29,12 +29,14 @@ const ZNavigationTab = class {
|
|
|
29
29
|
*/
|
|
30
30
|
this.size = index$1.NavigationTabsSizes.big;
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Scroll into view to center the tab.
|
|
34
|
+
*/
|
|
35
|
+
scrollToTab({ target: button }) {
|
|
36
|
+
const scrollOptions = this.orientation === index$1.NavigationTabsOrientations.horizontal ?
|
|
37
|
+
{ block: "nearest", inline: "center" } :
|
|
38
|
+
{ block: "center", inline: "nearest" };
|
|
39
|
+
button.scrollIntoView(Object.assign({ behavior: "smooth" }, scrollOptions));
|
|
38
40
|
}
|
|
39
41
|
onClick() {
|
|
40
42
|
if (!this.disabled) {
|
|
@@ -43,7 +45,7 @@ const ZNavigationTab = class {
|
|
|
43
45
|
}
|
|
44
46
|
onSelected() {
|
|
45
47
|
if (this.selected) {
|
|
46
|
-
this.
|
|
48
|
+
this.selectedEvent.emit();
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
/**
|
|
@@ -60,9 +62,8 @@ const ZNavigationTab = class {
|
|
|
60
62
|
return index.h("z-icon", { name: icon });
|
|
61
63
|
}
|
|
62
64
|
render() {
|
|
63
|
-
return (index.h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle
|
|
65
|
+
return (index.h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === "horizontal" && this.label));
|
|
64
66
|
}
|
|
65
|
-
get host() { return index.getElement(this); }
|
|
66
67
|
static get watchers() { return {
|
|
67
68
|
"selected": ["onSelected"]
|
|
68
69
|
}; }
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{
|
|
8
|
+
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)}";
|
|
9
9
|
|
|
10
10
|
const ZNavigationTabs = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -71,6 +71,8 @@ const ZNavigationTabs = class {
|
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* Listen for child tab selection.
|
|
74
|
+
* Deselect all other previously selected tabs,
|
|
75
|
+
* then scroll to the new selected tab and center it.
|
|
74
76
|
* @param {CustomEvent} event `selected` event triggered by a child tab
|
|
75
77
|
*/
|
|
76
78
|
onTabSelected(event) {
|
|
@@ -86,11 +88,8 @@ const ZNavigationTabs = class {
|
|
|
86
88
|
* Scroll the navigation bar half of its size backward.
|
|
87
89
|
*/
|
|
88
90
|
navigateBackwards() {
|
|
89
|
-
const safeScrollAreaSize = parseFloat(getComputedStyle(this.host).getPropertyValue('--safe-scroll-area'));
|
|
90
91
|
this.tabsNav.scrollBy({
|
|
91
|
-
[this.direction.toLowerCase()]: 0 -
|
|
92
|
-
(this.tabsNav[`client${this.dimension}`] / 2) -
|
|
93
|
-
safeScrollAreaSize,
|
|
92
|
+
[this.direction.toLowerCase()]: 0 - (this.tabsNav[`client${this.dimension}`] / 2),
|
|
94
93
|
behavior: 'smooth',
|
|
95
94
|
});
|
|
96
95
|
}
|
|
@@ -98,11 +97,9 @@ const ZNavigationTabs = class {
|
|
|
98
97
|
* Scroll the navigation bar half of its size forward.
|
|
99
98
|
*/
|
|
100
99
|
navigateForward() {
|
|
101
|
-
const safeScrollAreaSize = parseFloat(getComputedStyle(this.host).getPropertyValue('--safe-scroll-area'));
|
|
102
100
|
this.tabsNav.scrollBy({
|
|
103
101
|
[this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] +
|
|
104
|
-
(this.tabsNav[`client${this.dimension}`] / 2)
|
|
105
|
-
safeScrollAreaSize,
|
|
102
|
+
(this.tabsNav[`client${this.dimension}`] / 2),
|
|
106
103
|
behavior: 'smooth',
|
|
107
104
|
});
|
|
108
105
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
|
|
8
8
|
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)}}";
|
|
9
9
|
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
6
|
const hammer = require('./hammer-4f20813e.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-33df2456.js');
|
|
8
8
|
require('./_commonjsHelpers-537d719a.js');
|
|
9
|
-
require('./index-
|
|
9
|
+
require('./index-b1289f95.js');
|
|
10
10
|
require('./breakpoints-88c4fd6c.js');
|
|
11
11
|
|
|
12
12
|
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)}";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
|
+
const utils = require('./utils-33df2456.js');
|
|
8
8
|
const hammer = require('./hammer-4f20813e.js');
|
|
9
9
|
require('./breakpoints-88c4fd6c.js');
|
|
10
10
|
require('./_commonjsHelpers-537d719a.js');
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
6
|
const index$2 = require('./index-1fda0714.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const utils = require('./utils-
|
|
7
|
+
const index$1 = require('./index-b1289f95.js');
|
|
8
|
+
const utils = require('./utils-33df2456.js');
|
|
9
9
|
require('./_commonjsHelpers-537d719a.js');
|
|
10
10
|
require('./breakpoints-88c4fd6c.js');
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
|
|
8
8
|
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}}";
|
|
9
9
|
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-84b7063a.js');
|
|
6
|
+
const utils = require('./utils-33df2456.js');
|
|
7
|
+
const index$1 = require('./index-b1289f95.js');
|
|
8
|
+
require('./breakpoints-88c4fd6c.js');
|
|
9
|
+
|
|
10
|
+
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)}}";
|
|
11
|
+
|
|
12
|
+
const ZSkipToContent = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
/** Array to fill link into skip-content */
|
|
16
|
+
this.links = [];
|
|
17
|
+
this.visible = false;
|
|
18
|
+
this.visibleLink = "";
|
|
19
|
+
}
|
|
20
|
+
handleFocusOutSkipToContent(e) {
|
|
21
|
+
if (this.isInSkipToContent(e.target))
|
|
22
|
+
this.visible = false;
|
|
23
|
+
}
|
|
24
|
+
handleFocusSkipToContent(e) {
|
|
25
|
+
if (this.isInSkipToContent(e.target))
|
|
26
|
+
this.visible = true;
|
|
27
|
+
}
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.showFirstChild();
|
|
30
|
+
}
|
|
31
|
+
componentWillRender() {
|
|
32
|
+
if (this.links) {
|
|
33
|
+
this.links =
|
|
34
|
+
typeof this.links === "string" ? JSON.parse(this.links) : this.links;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
isInSkipToContent(elem) {
|
|
38
|
+
const tree = utils.getElementTree(elem);
|
|
39
|
+
const menuParent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-skip-to-content");
|
|
40
|
+
if (menuParent)
|
|
41
|
+
return true;
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
getFirstChild() {
|
|
45
|
+
const children = this.hostElement.children;
|
|
46
|
+
if (children.length)
|
|
47
|
+
return children[0];
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
showFirstChild() {
|
|
51
|
+
const firstChild = this.getFirstChild();
|
|
52
|
+
if (firstChild)
|
|
53
|
+
this.visibleLink = firstChild.id;
|
|
54
|
+
}
|
|
55
|
+
handleLinkClick() {
|
|
56
|
+
this.visible = false;
|
|
57
|
+
}
|
|
58
|
+
render() {
|
|
59
|
+
return (index.h(index.Host, { class: `${this.variant} ${this.visible && "skip-to-content-visible"} `, ref: (el) => el }, this.links.map((link, i) => {
|
|
60
|
+
const id = `skip-to-content-${i}`;
|
|
61
|
+
return (index.h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `t-weight-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === index$1.ThemeVariant.dark ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => utils.handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
|
|
62
|
+
})));
|
|
63
|
+
}
|
|
64
|
+
get hostElement() { return index.getElement(this); }
|
|
65
|
+
};
|
|
66
|
+
ZSkipToContent.style = stylesCss;
|
|
67
|
+
|
|
68
|
+
exports.z_skip_to_content = ZSkipToContent;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
|
+
const utils = require('./utils-33df2456.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
10
|
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}}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
const index$2 = require('./index-1fda0714.js');
|
|
8
8
|
require('./_commonjsHelpers-537d719a.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
const index$2 = require('./index-1fda0714.js');
|
|
8
8
|
require('./_commonjsHelpers-537d719a.js');
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ const ZTableCell = class {
|
|
|
25
25
|
render() {
|
|
26
26
|
return (index.h(index.Host, null, this.showButton && (index.h("div", { class: index$2.classnames("button-container", {
|
|
27
27
|
visible: this.isMenuOpened,
|
|
28
|
-
}) }, index.h("div", { class: "button-content" }, index.h("z-button", { icon: "contextual-menu", variant: index$1.ButtonVariantEnum.tertiary, size: index$1.ButtonSizeEnum["x-small"], onClick: () => this.handleMenu(), square: true }), index.h("div", { class: index$2.classnames("contextual-menu-container", {
|
|
28
|
+
}) }, index.h("div", { class: "button-content" }, index.h("z-button-deprecated", { icon: "contextual-menu", variant: index$1.ButtonVariantEnum.tertiary, size: index$1.ButtonSizeEnum["x-small"], onClick: () => this.handleMenu(), square: true }), index.h("div", { class: index$2.classnames("contextual-menu-container", {
|
|
29
29
|
visible: this.isMenuOpened,
|
|
30
30
|
}) }, index.h("slot", { name: "contextual-menu" }))))), index.h("slot", null)));
|
|
31
31
|
}
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
6
|
const index$2 = require('./index-1fda0714.js');
|
|
7
|
-
const index$1 = require('./index-
|
|
8
|
-
const utils = require('./utils-
|
|
7
|
+
const index$1 = require('./index-b1289f95.js');
|
|
8
|
+
const utils = require('./utils-33df2456.js');
|
|
9
9
|
require('./_commonjsHelpers-537d719a.js');
|
|
10
10
|
require('./breakpoints-88c4fd6c.js');
|
|
11
11
|
|
|
@@ -79,7 +79,7 @@ const ZTableHeader = class {
|
|
|
79
79
|
? "arrow-up"
|
|
80
80
|
: "arrow-down", class: "arrow" }))), this.showButton && (index.h("div", { class: index$2.classnames("popover-container", {
|
|
81
81
|
visible: this.isMenuOpened,
|
|
82
|
-
}) }, index.h("z-popover", { position: index$1.PopoverPosition["below-center"], "background-color": "gray200" }, index.h("z-button", { icon: "contextual-menu", variant: index$1.ButtonVariantEnum["tertiary"], size: index$1.ButtonSizeEnum["x-small"], square: true, slot: "trigger", onClick: () => this.handleMenuClick() }), index.h("div", { slot: "popover" }, index.h("slot", { name: "contextual-menu" })))))));
|
|
82
|
+
}) }, index.h("z-popover", { position: index$1.PopoverPosition["below-center"], "background-color": "gray200" }, index.h("z-button-deprecated", { icon: "contextual-menu", variant: index$1.ButtonVariantEnum["tertiary"], size: index$1.ButtonSizeEnum["x-small"], square: true, slot: "trigger", onClick: () => this.handleMenuClick() }), index.h("div", { slot: "popover" }, index.h("slot", { name: "contextual-menu" })))))));
|
|
83
83
|
}
|
|
84
84
|
get host() { return index.getElement(this); }
|
|
85
85
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
|
|
8
8
|
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}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
8
|
|
|
9
9
|
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}}";
|
|
@@ -58,9 +58,9 @@ const ZTable = class {
|
|
|
58
58
|
: index$1.ButtonSizeEnum.big;
|
|
59
59
|
const tableContentClass = `${!!this.hasTableBody ? "table-content" : ""}`;
|
|
60
60
|
if (this.hasTableBody) {
|
|
61
|
-
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" }), index.h("div", { class: tableContentClass }, index.h("slot", { name: "table-body" }), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
|
|
61
|
+
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" }), index.h("div", { class: tableContentClass }, index.h("slot", { name: "table-body" }), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button-deprecated", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button-deprecated", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))))));
|
|
62
62
|
}
|
|
63
|
-
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
|
|
63
|
+
return (index.h(index.Host, null, index.h("div", { class: tableClass }, index.h("slot", { name: "table-header" })), index.h("z-table-empty-box", { class: this.bordered && "bordered", message: this.message, subtitle: this.subtitle }, !!this.callToActionLabel && (index.h("z-button-deprecated", { slot: "cta1", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToAction.emit(), size: buttonSize }, this.callToActionLabel)), !!this.callToActionTwoLabel && (index.h("z-button-deprecated", { slot: "cta2", variant: index$1.ButtonVariantEnum.tertiary, onClick: () => this.callToActionTwo.emit(), size: buttonSize }, this.callToActionTwoLabel)))));
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
const tableClass = `table ${this.empty ? "table-empty" : ""} ${this.bordered ? "table-bordered" : ""}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
|
|
8
8
|
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}}";
|
|
9
9
|
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
8
|
const hammer = require('./hammer-4f20813e.js');
|
|
9
9
|
require('./_commonjsHelpers-537d719a.js');
|
|
10
10
|
|
|
11
|
-
const stylesCss = ":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
|
|
11
|
+
const stylesCss = ":host{display:inline-block;min-width:200px;width:100vw}:host(.slide-in-left){animation:slideinleft 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-right){animation:slideinright 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-down){animation:slideindown 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-in-up){animation:slideinup 1s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-left){animation:slideoutleft 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-right){animation:slideoutright 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-down){animation:slideoutdown 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}:host(.slide-out-up){animation:slideoutup 0.5s cubic-bezier(0.25, 0.1, 0.25, 0.1);animation-fill-mode:forwards}@keyframes slideinleft{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@keyframes slideinright{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@keyframes slideinup{0%{transform:translateY(100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideindown{0%{transform:translateY(-100%);opacity:0}100%{transform:translateY(0);opacity:100%}}@keyframes slideoutleft{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(-100%);opacity:0%}}@keyframes slideoutright{0%{transform:translateX(var(--percentuale));opacity:calc(100-var(--percentuale))}100%{transform:translateX(100%);opacity:0%}}@keyframes slideoutup{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(-100%);opacity:0}}@keyframes slideoutdown{0%{transform:translateY(var(--percentuale));opacity:100%}100%{transform:translateY(100%);opacity:0}}:host>#external-container{font-family:var(--font-family-sans);font-weight:var(--font-rg);border-radius:4px;font-size:14px;letter-spacing:0.16px;box-sizing:border-box;min-height:52px;padding:calc(var(--space-unit) * 1) calc(var(--space-unit) * 2);display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-3)}:host>#external-container.mobile-wrapped>#icon{align-self:flex-start}:host>#external-container.several-lines-padding{padding:calc(var(--space-unit) * 2)}:host>#external-container>#flex-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}:host>#external-container #text{color:var(--color-white);line-height:20px;margin-right:calc(var(--space-unit) * 2);letter-spacing:0.16px;text-align:left}:host>#external-container #text>.title{margin-right:4px;font-weight:600}:host>#external-container.mobile-wrapped #button ::slotted(z-button-deprecated){margin-top:calc(var(--space-unit) * 2)}:host>#external-container #icon{cursor:pointer;fill:var(--color-white);margin-left:calc(var(--space-unit) * 2)}:host>#external-container.dark{background:var(--gray800)}:host>#external-container.light{background:var(--color-background)}:host>#external-container.light #icon,:host>#external-container.warning #text,:host>#external-container.warning #icon{fill:var(--color-icon01)}:host>#external-container.light #text,:host>#external-container.warning #text{color:var(--grey800)}:host>#external-container.accent{background:var(--color-primary01)}:host>#external-container.error{background:var(--color-error-default)}:host>#external-container.success{background:var(--color-success-default)}:host>#external-container.warning{background:var(--color-warning-default)}@media only screen and (min-width: 768px){:host{width:unset;max-width:50vw}:host>#external-container>#flex-container{flex-wrap:nowrap}:host>#external-container #text{width:100%}}@media only screen and (min-width: 1366px){:host{width:unset;max-width:33vw}}";
|
|
12
12
|
|
|
13
13
|
const ZToastNotification = class {
|
|
14
14
|
constructor(hostRef) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
const index$1 = require('./index-
|
|
6
|
+
const utils = require('./utils-33df2456.js');
|
|
7
|
+
const index$1 = require('./index-b1289f95.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
10
|
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}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-b1289f95.js');
|
|
7
7
|
|
|
8
8
|
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}";
|
|
9
9
|
|
|
@@ -82,6 +82,17 @@ export var keybordKeyCodeEnum;
|
|
|
82
82
|
keybordKeyCodeEnum[keybordKeyCodeEnum["BACKSPACE"] = 8] = "BACKSPACE";
|
|
83
83
|
keybordKeyCodeEnum[keybordKeyCodeEnum["DELETE"] = 46] = "DELETE";
|
|
84
84
|
})(keybordKeyCodeEnum || (keybordKeyCodeEnum = {}));
|
|
85
|
+
export var keybordCodeEnum;
|
|
86
|
+
(function (keybordCodeEnum) {
|
|
87
|
+
keybordCodeEnum["TAB"] = "Tab";
|
|
88
|
+
keybordCodeEnum["SPACE"] = "Space";
|
|
89
|
+
keybordCodeEnum["ESC"] = "Escape";
|
|
90
|
+
keybordCodeEnum["ENTER"] = "Enter";
|
|
91
|
+
keybordCodeEnum["ARROW_UP"] = "ArrowUp";
|
|
92
|
+
keybordCodeEnum["ARROW_DOWN"] = "ArrowDown";
|
|
93
|
+
keybordCodeEnum["BACKSPACE"] = "Backspace";
|
|
94
|
+
keybordCodeEnum["DELETE"] = "Delete";
|
|
95
|
+
})(keybordCodeEnum || (keybordCodeEnum = {}));
|
|
85
96
|
export var KeyboardKeys;
|
|
86
97
|
(function (KeyboardKeys) {
|
|
87
98
|
KeyboardKeys["ARROW_DOWN"] = "ArrowDown";
|
|
@@ -277,14 +288,6 @@ export var ZSectionTitleDividerPositions;
|
|
|
277
288
|
ZSectionTitleDividerPositions["before"] = "before";
|
|
278
289
|
ZSectionTitleDividerPositions["after"] = "after";
|
|
279
290
|
})(ZSectionTitleDividerPositions || (ZSectionTitleDividerPositions = {}));
|
|
280
|
-
export var StatusTagStatus;
|
|
281
|
-
(function (StatusTagStatus) {
|
|
282
|
-
StatusTagStatus["warning"] = "warning";
|
|
283
|
-
StatusTagStatus["error"] = "error";
|
|
284
|
-
StatusTagStatus["success"] = "success";
|
|
285
|
-
StatusTagStatus["neutral"] = "neutral";
|
|
286
|
-
StatusTagStatus["default"] = "default";
|
|
287
|
-
})(StatusTagStatus || (StatusTagStatus = {}));
|
|
288
291
|
export var ZDatePickerMode;
|
|
289
292
|
(function (ZDatePickerMode) {
|
|
290
293
|
ZDatePickerMode["date"] = "date";
|
|
@@ -302,3 +305,11 @@ export var ZDatePickerPosition;
|
|
|
302
305
|
ZDatePickerPosition["top"] = "top";
|
|
303
306
|
ZDatePickerPosition["bottom"] = "bottom";
|
|
304
307
|
})(ZDatePickerPosition || (ZDatePickerPosition = {}));
|
|
308
|
+
export var StatusTagStatus;
|
|
309
|
+
(function (StatusTagStatus) {
|
|
310
|
+
StatusTagStatus["warning"] = "warning";
|
|
311
|
+
StatusTagStatus["error"] = "error";
|
|
312
|
+
StatusTagStatus["success"] = "success";
|
|
313
|
+
StatusTagStatus["neutral"] = "neutral";
|
|
314
|
+
StatusTagStatus["default"] = "default";
|
|
315
|
+
})(StatusTagStatus || (StatusTagStatus = {}));
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"./components/z-offcanvas/index.js",
|
|
63
63
|
"./components/z-popover/index.js",
|
|
64
64
|
"./components/z-section-title/index.js",
|
|
65
|
+
"./components/z-skip-to-content/index.js",
|
|
65
66
|
"./components/z-table/z-table/index.js",
|
|
66
67
|
"./components/z-table/z-table-body/index.js",
|
|
67
68
|
"./components/z-table/z-table-cell/index.js",
|
|
@@ -75,6 +76,7 @@
|
|
|
75
76
|
"./components/z-table/z-table-sticky-footer/index.js",
|
|
76
77
|
"./components/z-tag/index.js",
|
|
77
78
|
"./components/z-visually-hidden/index.js",
|
|
79
|
+
"./deprecated/z-button-deprecated/index.js",
|
|
78
80
|
"./deprecated/z-button-filter/index.js",
|
|
79
81
|
"./deprecated/z-chip-deprecated/index.js",
|
|
80
82
|
"./deprecated/z-status-tag/index.js",
|