@zanichelli/albe-web-components 2.47.2 → 2.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-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 +1 -1
- 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 +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +2 -2
- 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 +1 -1
- 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 +9 -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 +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 +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 +1 -0
- 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/z-popover/index.js +23 -1
- 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/snowflakes/myz/card/z-myz-card/styles.css +5 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +4 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/z-date-picker.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-footer.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +2 -2
- 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 +1 -1
- 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 +10 -3
- 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 +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 +2 -2
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/types/beans/index.d.ts +23 -8
- 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-popover/index.d.ts +4 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +22 -0
- package/dist/types/components.d.ts +38 -5
- 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-3ecebf0c.entry.js → p-114f3a85.entry.js} +1 -1
- 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-eedd3f14.entry.js → p-29f07a9b.entry.js} +1 -1
- 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-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-b3cab405.entry.js → p-3edd463d.entry.js} +1 -1
- package/dist/web-components-library/{p-c8578954.entry.js → p-4b166956.entry.js} +1 -1
- 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-6ef6464c.entry.js +1 -0
- package/dist/web-components-library/p-709ab23c.entry.js +1 -0
- package/dist/web-components-library/p-70be81b6.entry.js +1 -0
- package/dist/web-components-library/{p-01b13704.entry.js → p-791cbcab.entry.js} +1 -1
- package/dist/web-components-library/p-7e71d9b0.entry.js +1 -0
- 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-61b6ab7e.entry.js → p-8188846a.entry.js} +1 -1
- package/dist/web-components-library/{p-dd928b6f.entry.js → p-895f636e.entry.js} +1 -1
- 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/{www/build/p-e3d1b621.entry.js → dist/web-components-library/p-a15db194.entry.js} +1 -1
- package/{www/build/p-77d2db66.entry.js → dist/web-components-library/p-a2a3a537.entry.js} +1 -1
- package/dist/web-components-library/{p-9045dc92.entry.js → p-aae632ef.entry.js} +1 -1
- package/dist/web-components-library/{p-b3059f74.entry.js → p-ae2e17b4.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-05fd034c.entry.js → p-b60fe58c.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-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 +1 -0
- package/react/components.js +3 -1
- 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-3ecebf0c.entry.js → p-114f3a85.entry.js} +1 -1
- 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-eedd3f14.entry.js → p-29f07a9b.entry.js} +1 -1
- package/www/build/{p-059fc87d.entry.js → p-2c823f4c.entry.js} +1 -1
- package/www/build/p-2e510e79.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-b3cab405.entry.js → p-3edd463d.entry.js} +1 -1
- package/www/build/{p-c8578954.entry.js → p-4b166956.entry.js} +1 -1
- 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-6ef6464c.entry.js +1 -0
- package/www/build/p-709ab23c.entry.js +1 -0
- package/www/build/p-70be81b6.entry.js +1 -0
- package/www/build/{p-01b13704.entry.js → p-791cbcab.entry.js} +1 -1
- package/www/build/p-7e71d9b0.entry.js +1 -0
- package/www/build/p-80369bb8.entry.js +1 -0
- package/www/build/p-80a3e18a.js +1 -0
- package/www/build/{p-61b6ab7e.entry.js → p-8188846a.entry.js} +1 -1
- package/www/build/{p-dd928b6f.entry.js → p-895f636e.entry.js} +1 -1
- 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/{dist/web-components-library/p-e3d1b621.entry.js → www/build/p-a15db194.entry.js} +1 -1
- package/{dist/web-components-library/p-77d2db66.entry.js → www/build/p-a2a3a537.entry.js} +1 -1
- package/www/build/{p-9045dc92.entry.js → p-aae632ef.entry.js} +1 -1
- package/www/build/{p-b3059f74.entry.js → p-ae2e17b4.entry.js} +1 -1
- package/www/build/{p-62a7b6cb.entry.js → p-b0ea8c0e.entry.js} +1 -1
- package/www/build/{p-05fd034c.entry.js → p-b60fe58c.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-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-f8ba306b.js +1 -0
- package/www/build/p-fea5b98f.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -1574
- 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-42c37977.js +0 -1
- package/dist/web-components-library/p-8e554778.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-d0c956ff.entry.js +0 -1
- package/dist/web-components-library/p-f85e38d3.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-12ae4164.entry.js +0 -1
- package/www/build/p-142dc712.entry.js +0 -1
- package/www/build/p-1df017a8.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-42c37977.js +0 -1
- package/www/build/p-8e554778.entry.js +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-d0c956ff.entry.js +0 -1
- package/www/build/p-f85e38d3.entry.js +0 -1
|
@@ -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
|
-
require('./index-
|
|
6
|
+
const utils = require('./utils-33df2456.js');
|
|
7
|
+
require('./index-b1289f95.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
10
|
const stylesCss = ":host li{all:unset;all:reset;width:100%}:host li{list-style-type:none;line-height:14px}:host li>span{line-height:14px;padding:calc(var(--space-unit) * 2) 0;display:flex;font-family:var(--dashboard-font);font-weight:var(--font-rg);font-size:16px;letter-spacing:0.23px;color:var(--text-grey-800);fill:var(--text-grey-800)}:host li>span.border{border-bottom:2px solid var(--bg-grey-200)}:host li span:hover,a:hover{color:var(--myz-blue);fill:var(--myz-blue)}a,a:visited,a:active{color:inherit;fill:inherit;text-decoration:none}:host li span z-icon{color:var(--myz-blue);fill:var(--myz-blue);height:calc(var(--space-unit) * 2);width:calc(var(--space-unit) * 2);padding:0 calc(var(--space-unit) * 1.5) 0 0;background-size:contain;background-repeat:no-repeat}";
|
|
@@ -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 = ":host a{cursor:pointer}header{position:sticky;top:0;z-index:99;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"main-header\";margin-bottom:calc(var(--space-unit) * 6.5);font-family:var(--dashboard-font);font-weight:var(--font-rg)}.main-header{display:grid;grid-template-columns:2fr 2fr 4fr 100px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header;grid-column-gap:calc(var(--space-unit) * .5);align-items:center;background-color:var(--bg-grey-900);height:auto;align-items:center;z-index:10}.main-header.myz-out{background-color:var(--bg-white)}.logo{grid-area:logo;padding:6px}z-logo{transform:scale(0.9)}.dropdown-menu{display:none}.dropdown-menu.hidden{visibility:hidden}.dropdown-links{grid-area:dropdown-links;list-style:none;display:block;max-height:32px;margin:0;padding:0}.arrow{fill:var(--text-grey-200)}.dropdown-links>li{list-style:none;display:inline-block;margin:0;padding:0}.dropdown-links>li>a{width:auto;height:auto;color:var(--myz-blue);font-size:14px;letter-spacing:0.18px;line-height:32px;text-decoration:none;margin:var(--space-unit);padding-bottom:calc(var(--space-unit) * .5)}.dropdown-links>li>a:hover,.dropdown-links>li>a.active{color:var(--text-grey-800);border-bottom:2px solid var(--myz-blue)}.mobile-header{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);z-index:inherit;height:52px;position:fixed;top:0px;left:0;z-index:999}.mobile-header.myz-out{background-color:var(--bg-white)}.mobile-header>z-button{margin:0 calc(var(--space-unit) * 2)}.mobile-content{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center;width:100%;background-color:var(--bg-grey-900);position:fixed;top:52px;left:0;z-index:999;max-height:0px;overflow:hidden;transition:max-height 1s cubic-bezier(0.46, 0, 1, 0.79)}.mobile-content.open{max-height:100vh;transition:max-height 2s cubic-bezier(0, 0.79, 0.46, 1)}.mobile-content.myz-out{background-color:var(--bg-white)}hr{display:block;position:relative;padding:0;margin:0px calc(var(--space-unit) * 4);height:0;width:calc(100% - 64px);max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-top:1px solid var(--text-grey-700)}.menu-mobile{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;color:var(--bg-white);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);cursor:pointer}.myz-out .menu-mobile{color:var(--text-grey-800)}.menu-toggle{grid-area:menu-toggle;display:flex;flex-direction:column;margin:0 var(--space-unit)}.menu-toggle .bar{width:20px;height:2px;background-color:var(--bg-white);margin:2px auto;transition:all 0.3s ease-in-out}.myz-out .menu-toggle .bar{background-color:var(--text-grey-800)}.menu-toggle:hover{cursor:pointer}#mobile-menu.is-active .bar:nth-child(2){opacity:0}#mobile-menu.is-active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}#mobile-menu.is-active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.booktab-button,.mobile-login{overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.hidden{visibility:hidden}.login{grid-area:login;display:flex;justify-content:flex-end;padding:0 calc(var(--space-unit) * 2)}.login>z-button{color:var(--bg-white);fill:var(--bg-white)}.booktab-button>z-button{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;padding:calc(var(--space-unit) * 2) 0px calc(var(--space-unit) * 4) 0px}.link-ext{grid-area:link-ext;overflow:hidden;height:0%;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-ext-span{display:inline-block;width:100%;margin:calc(var(--space-unit) * .5) auto;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-ext-span.myz:hover,.link-ext-span.myz:focus{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-ext z-link{font-size:12px;font-weight:var(--font-sb)}.link-int{overflow:hidden;max-height:100%;width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;padding:0}.link-int>span{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start}.link-int>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.link-int>span>.menu-item:hover,.link-int>span>.menu-item:focus{border-radius:0px}.link-int>span>.menu-item>span{white-space:nowrap}.link-int>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.link-int>span:first-child>.menu-item{margin-top:0}.link-int>span>svg{display:none}.link-int>.mobile-dropdown{padding:0 48px}.mobile-login>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;align-content:flex-start;fill:white}.mobile-login>span:focus,.mobile-login>span:hover{background:var(--text-grey-800)}.myz-out .mobile-login>span:focus,.myz-out .mobile-login>span:hover{background:none}.mobile-login>span>.menu-item{height:auto;color:var(--bg-white);letter-spacing:0.2px;font-weight:var(--font-sb);font-size:16px;text-decoration:none;outline:none;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;align-content:stretch;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px}.myz-out .mobile-login>span>.menu-item{color:var(--text-grey-800)}.mobile-login>span>.menu-item>i{padding-top:calc(var(--space-unit) * 2);height:28px;width:24px;text-align:right}.mobile-login>span>.menu-item>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-login>span>.menu-item>span>z-icon{padding-right:var(--space-unit);fill:var(--bg-white)}.menu-item>i::before{border-style:solid;border-width:0.12em 0.12em 0 0;content:\" \";display:inline-block;height:0.45em;left:0.16em;position:relative;top:-0.12em;transform:rotate(135deg) scale(1.2);vertical-align:top;width:0.45em;margin-top:2px;margin-left:2px;margin-right:6px;transition:all 0.5s ease}.menu-item.isopen>i::before{top:0.24em;transform:rotate(-45deg) scale(1.2);transition:all 0.5s ease}.mobile-dropdown{background:white;display:block;overflow:hidden;width:100%;box-sizing:border-box;margin:0px auto 0px auto;padding:0px calc(var(--space-unit) * 4) 0px calc(var(--space-unit) * 4);line-height:44px;max-height:0px;transition:max-height 0.3s ease}.mobile-dropdown.visible{max-height:100vh;transition:max-height 0.5s ease}@media only screen and (min-width: 768px){header{grid-template-columns:1fr 0.8fr 1.5fr 1.1fr 0.7fr;grid-template-rows:0.2fr auto;grid-template-areas:\"main-header main-header main-header main-header main-header\" \"dropdown-menu dropdown-menu dropdown-menu dropdown-menu dropdown-menu\";margin-bottom:0}header.myz-out{top:0px;grid-template-rows:1fr}.main-header{display:grid;grid-template-columns:170px auto auto 120px;grid-template-rows:1fr;grid-template-areas:\"logo link-int link-ext login\";grid-area:main-header}.dropdown-menu{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:\"dropdown-links\";grid-area:dropdown-menu;grid-column-gap:var(--space-unit);background:var(--bg-grey-200);height:32px;visibility:visible;z-index:9;padding-left:160px}.booktab-button,.mobile-header,.mobile-login,.mobile-dropdown,.menu-mobile{display:none}.link-int{grid-area:link-int;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;max-height:46px;margin-top:calc(var(--space-unit) * .5)}.link-int>span{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:center;align-content:center;width:auto}.link-int>span>.menu-item{width:auto;height:auto;color:var(--bg-white);letter-spacing:0.2px;line-height:14px;font-weight:var(--font-sb);text-decoration:none;outline:none;padding:calc(var(--space-unit) * 1.5)}.link-int>span>svg{display:block}.menu-item>i{display:none}.link-int>span>.menu-item:focus,.link-int>span>.menu-item:hover{background:var(--text-grey-800);border-radius:var(--border-radius);cursor:pointer}.link-int>span>.menu-item::-moz-focus-inner{border:0}.link-int>span>.menu-item:focus+svg{visibility:visible}.link-ext{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;align-content:center;max-height:46px}.link-ext-span{width:auto;line-height:14px;margin:var(--space-unit);padding:calc(var(--space-unit) * .5) var(--space-unit)}}@media only screen and (min-width: 1152px){.main-header{grid-template-columns:170px auto auto 180px}}";
|
|
@@ -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 ZNavigationTabLink = 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,19 +29,21 @@ const ZNavigationTabLink = 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
|
this.selected = true;
|
|
41
43
|
}
|
|
42
44
|
onSelected() {
|
|
43
45
|
if (this.selected) {
|
|
44
|
-
this.
|
|
46
|
+
this.selectedEvent.emit();
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
/**
|
|
@@ -58,9 +60,8 @@ const ZNavigationTabLink = class {
|
|
|
58
60
|
return index.h("z-icon", { name: icon });
|
|
59
61
|
}
|
|
60
62
|
render() {
|
|
61
|
-
return (index.h("a", { role: "tab", href: !this.disabled && this.href, title: this.htmlTitle, target: this.target
|
|
63
|
+
return (index.h("a", { role: "tab", href: !this.disabled && this.href, title: this.htmlTitle, target: this.target, onFocus: this.scrollToTab.bind(this) }, this.icon && this.renderIcon(), this.orientation === "horizontal" && this.label));
|
|
62
64
|
}
|
|
63
|
-
get host() { return index.getElement(this); }
|
|
64
65
|
static get watchers() { return {
|
|
65
66
|
"selected": ["onSelected"]
|
|
66
67
|
}; }
|
|
@@ -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
|
|
|
@@ -17,6 +17,7 @@ const ZPopover = class {
|
|
|
17
17
|
*/
|
|
18
18
|
constructor(hostRef) {
|
|
19
19
|
index.registerInstance(this, hostRef);
|
|
20
|
+
this.triggerClick = index.createEvent(this, "triggerClick", 7);
|
|
20
21
|
/** [optional] Popover position */
|
|
21
22
|
this.position = index$1.PopoverPosition["after-up"];
|
|
22
23
|
/** [optional] Background color token for popover */
|
|
@@ -33,6 +34,11 @@ const ZPopover = class {
|
|
|
33
34
|
this.popoverPosition = this.position;
|
|
34
35
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
35
36
|
}
|
|
37
|
+
emitTriggerClick() {
|
|
38
|
+
this.triggerClick.emit({
|
|
39
|
+
isVisible: this.isVisible,
|
|
40
|
+
});
|
|
41
|
+
}
|
|
36
42
|
openPopover() {
|
|
37
43
|
const width = document.body.clientWidth;
|
|
38
44
|
const height = window.innerHeight;
|
|
@@ -95,6 +101,7 @@ const ZPopover = class {
|
|
|
95
101
|
}
|
|
96
102
|
handleClick(event) {
|
|
97
103
|
this.isVisible ? this.closePopover() : this.openPopover();
|
|
104
|
+
this.emitTriggerClick();
|
|
98
105
|
event.stopPropagation();
|
|
99
106
|
}
|
|
100
107
|
handleKeyDown(event) {
|
|
@@ -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
|
|
|
@@ -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 = "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}}";
|
|
@@ -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,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
|
const hammer = require('./hammer-4f20813e.js');
|
|
9
9
|
require('./_commonjsHelpers-537d719a.js');
|
|
@@ -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",
|