@zanichelli/albe-web-components 2.46.0 → 2.46.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-78d71393.js → index-155b2ec5.js} +10 -10
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-bb43ad49.js → utils-4bbd782c.js} +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +70 -0
- package/dist/cjs/z-navigation-tab.cjs.entry.js +35 -8
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +76 -48
- 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-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 +10 -10
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/navigation/{z-navigation-tab/styles.css → tabs/navigation-tab.css} +34 -29
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +239 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +271 -0
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +207 -0
- package/dist/collection/components/navigation/{z-navigation-tabs → tabs/z-navigation-tabs}/styles.css +11 -10
- package/dist/esm/{index-5fef5bc0.js → index-22f4a844.js} +11 -11
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-9d3aa32a.js → utils-259e2dd9.js} +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-topbar.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +66 -0
- package/dist/esm/z-navigation-tab.entry.js +35 -8
- package/dist/esm/z-navigation-tabs.entry.js +76 -48
- 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-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 +4 -4
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +48 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +56 -0
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +68 -0
- package/dist/types/components.d.ts +147 -13
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-70fda8d4.entry.js → p-0177caf2.entry.js} +1 -1
- package/dist/web-components-library/{p-2fbbabae.entry.js → p-01a23d8c.entry.js} +1 -1
- package/dist/web-components-library/{p-4f06bdb1.entry.js → p-02145727.entry.js} +1 -1
- package/{www/build/p-57d62830.entry.js → dist/web-components-library/p-0b0a358a.entry.js} +1 -1
- package/dist/web-components-library/p-0fc6feaf.entry.js +1 -0
- package/dist/web-components-library/{p-c55157a0.entry.js → p-10a2a9fe.entry.js} +1 -1
- package/dist/web-components-library/{p-5f179a34.entry.js → p-157885b1.entry.js} +1 -1
- package/dist/web-components-library/p-1b34d655.entry.js +1 -0
- package/dist/web-components-library/{p-89cfc0a8.entry.js → p-240561e7.entry.js} +1 -1
- package/dist/web-components-library/p-298d324a.entry.js +1 -0
- package/dist/web-components-library/{p-4e4cd7f4.entry.js → p-2d325b9b.entry.js} +1 -1
- package/dist/web-components-library/{p-207f741f.entry.js → p-30c0f3f2.entry.js} +1 -1
- package/dist/web-components-library/{p-55e762bf.entry.js → p-35c4d277.entry.js} +1 -1
- package/{www/build/p-9c5b1ff6.entry.js → dist/web-components-library/p-3bc3f32e.entry.js} +1 -1
- package/dist/web-components-library/{p-ac8185d4.entry.js → p-4a360730.entry.js} +1 -1
- package/dist/web-components-library/{p-007504c5.entry.js → p-4c7250a9.entry.js} +1 -1
- package/dist/web-components-library/{p-4cc87fd0.entry.js → p-4e270984.entry.js} +1 -1
- package/dist/web-components-library/{p-e7847ab0.entry.js → p-4ef4c8ef.entry.js} +1 -1
- package/dist/web-components-library/{p-712c320a.entry.js → p-4f64af13.entry.js} +1 -1
- package/dist/web-components-library/{p-eaa6346b.entry.js → p-58091e1c.entry.js} +1 -1
- package/dist/web-components-library/{p-3c0a76b4.entry.js → p-5b2d0ccb.entry.js} +1 -1
- package/dist/web-components-library/{p-46ffaa5c.entry.js → p-61ba9cc7.entry.js} +1 -1
- package/dist/web-components-library/{p-ffcee00e.entry.js → p-782d01c1.entry.js} +1 -1
- package/{www/build/p-23438a53.entry.js → dist/web-components-library/p-7efeb668.entry.js} +1 -1
- package/dist/web-components-library/{p-f9196dd5.entry.js → p-814d6b43.entry.js} +1 -1
- package/dist/web-components-library/{p-489b248e.entry.js → p-88bc3cf2.entry.js} +1 -1
- package/dist/web-components-library/{p-db485c6c.entry.js → p-904375ec.entry.js} +1 -1
- package/dist/web-components-library/{p-b59924c0.entry.js → p-9777ec0b.entry.js} +1 -1
- package/dist/web-components-library/{p-c8f73284.entry.js → p-9d279248.entry.js} +1 -1
- package/dist/web-components-library/{p-df9ef43e.entry.js → p-a6c68018.entry.js} +1 -1
- package/dist/web-components-library/{p-e6240652.entry.js → p-b260e143.entry.js} +1 -1
- package/dist/web-components-library/{p-965c3ccc.entry.js → p-c196c340.entry.js} +1 -1
- package/dist/web-components-library/{p-9d68a948.entry.js → p-c3771cc7.entry.js} +1 -1
- package/dist/web-components-library/{p-86e25e99.entry.js → p-c5d6450e.entry.js} +1 -1
- package/dist/web-components-library/{p-9fabd2ed.js → p-d2da11f4.js} +1 -1
- package/dist/web-components-library/{p-27795c58.js → p-d34e101f.js} +1 -1
- package/dist/web-components-library/{p-537d81aa.entry.js → p-d4440420.entry.js} +1 -1
- package/{www/build/p-306865df.entry.js → dist/web-components-library/p-d502063b.entry.js} +1 -1
- package/dist/web-components-library/{p-75278ab8.entry.js → p-e4dce41a.entry.js} +1 -1
- package/dist/web-components-library/{p-5bf347d4.entry.js → p-eafa01a1.entry.js} +1 -1
- package/{www/build/p-d1230b51.entry.js → dist/web-components-library/p-ec361ccf.entry.js} +1 -1
- package/dist/web-components-library/{p-0406567e.entry.js → p-ef22d940.entry.js} +1 -1
- package/dist/web-components-library/{p-fafc4c81.entry.js → p-feb6ee16.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +2 -1
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-70fda8d4.entry.js → p-0177caf2.entry.js} +1 -1
- package/www/build/{p-2fbbabae.entry.js → p-01a23d8c.entry.js} +1 -1
- package/www/build/{p-4f06bdb1.entry.js → p-02145727.entry.js} +1 -1
- package/{dist/web-components-library/p-57d62830.entry.js → www/build/p-0b0a358a.entry.js} +1 -1
- package/www/build/p-0fc6feaf.entry.js +1 -0
- package/www/build/{p-c55157a0.entry.js → p-10a2a9fe.entry.js} +1 -1
- package/www/build/{p-5f179a34.entry.js → p-157885b1.entry.js} +1 -1
- package/www/build/p-1b34d655.entry.js +1 -0
- package/www/build/{p-89cfc0a8.entry.js → p-240561e7.entry.js} +1 -1
- package/www/build/p-298d324a.entry.js +1 -0
- package/www/build/{p-4e4cd7f4.entry.js → p-2d325b9b.entry.js} +1 -1
- package/www/build/{p-207f741f.entry.js → p-30c0f3f2.entry.js} +1 -1
- package/www/build/{p-55e762bf.entry.js → p-35c4d277.entry.js} +1 -1
- package/{dist/web-components-library/p-9c5b1ff6.entry.js → www/build/p-3bc3f32e.entry.js} +1 -1
- package/www/build/{p-ac8185d4.entry.js → p-4a360730.entry.js} +1 -1
- package/www/build/{p-007504c5.entry.js → p-4c7250a9.entry.js} +1 -1
- package/www/build/{p-4cc87fd0.entry.js → p-4e270984.entry.js} +1 -1
- package/www/build/{p-e7847ab0.entry.js → p-4ef4c8ef.entry.js} +1 -1
- package/www/build/{p-712c320a.entry.js → p-4f64af13.entry.js} +1 -1
- package/www/build/p-53add5a8.js +1 -0
- package/www/build/{p-eaa6346b.entry.js → p-58091e1c.entry.js} +1 -1
- package/www/build/{p-3c0a76b4.entry.js → p-5b2d0ccb.entry.js} +1 -1
- package/www/build/{p-46ffaa5c.entry.js → p-61ba9cc7.entry.js} +1 -1
- package/www/build/{p-ffcee00e.entry.js → p-782d01c1.entry.js} +1 -1
- package/{dist/web-components-library/p-23438a53.entry.js → www/build/p-7efeb668.entry.js} +1 -1
- package/www/build/{p-f9196dd5.entry.js → p-814d6b43.entry.js} +1 -1
- package/www/build/{p-489b248e.entry.js → p-88bc3cf2.entry.js} +1 -1
- package/www/build/{p-db485c6c.entry.js → p-904375ec.entry.js} +1 -1
- package/www/build/{p-b59924c0.entry.js → p-9777ec0b.entry.js} +1 -1
- package/www/build/{p-c8f73284.entry.js → p-9d279248.entry.js} +1 -1
- package/www/build/{p-df9ef43e.entry.js → p-a6c68018.entry.js} +1 -1
- package/www/build/{p-e6240652.entry.js → p-b260e143.entry.js} +1 -1
- package/www/build/{p-965c3ccc.entry.js → p-c196c340.entry.js} +1 -1
- package/www/build/{p-9d68a948.entry.js → p-c3771cc7.entry.js} +1 -1
- package/www/build/{p-86e25e99.entry.js → p-c5d6450e.entry.js} +1 -1
- package/www/build/{p-9fabd2ed.js → p-d2da11f4.js} +1 -1
- package/www/build/{p-27795c58.js → p-d34e101f.js} +1 -1
- package/www/build/{p-537d81aa.entry.js → p-d4440420.entry.js} +1 -1
- package/{dist/web-components-library/p-306865df.entry.js → www/build/p-d502063b.entry.js} +1 -1
- package/www/build/{p-75278ab8.entry.js → p-e4dce41a.entry.js} +1 -1
- package/www/build/{p-5bf347d4.entry.js → p-eafa01a1.entry.js} +1 -1
- package/{dist/web-components-library/p-d1230b51.entry.js → www/build/p-ec361ccf.entry.js} +1 -1
- package/www/build/{p-0406567e.entry.js → p-ef22d940.entry.js} +1 -1
- package/www/build/{p-fafc4c81.entry.js → p-feb6ee16.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/CHANGELOG.md +0 -1515
- package/dist/collection/components/navigation/z-navigation-tab/index.js +0 -151
- package/dist/collection/components/navigation/z-navigation-tabs/index.js +0 -179
- package/dist/types/components/navigation/z-navigation-tab/index.d.ts +0 -16
- package/dist/types/components/navigation/z-navigation-tabs/index.d.ts +0 -32
- package/dist/web-components-library/p-624062ac.entry.js +0 -1
- package/dist/web-components-library/p-cd88c42b.entry.js +0 -1
- package/src-react/index.ts +0 -1
- package/www/build/p-1e04617b.js +0 -1
- package/www/build/p-624062ac.entry.js +0 -1
- package/www/build/p-cd88c42b.entry.js +0 -1
|
@@ -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-155b2ec5.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}}";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-84b7063a.js');
|
|
6
|
+
const index$1 = require('./index-155b2ec5.js');
|
|
7
|
+
const icons = require('./icons-30810e62.js');
|
|
8
|
+
|
|
9
|
+
const navigationTabCss = "*::before,*::after{box-sizing:border-box}:host>*{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}:host>a{text-decoration:none}:host(:not([disabled]):hover)>*,:host([selected])>*{color:var(--color-hover-secondary);fill:currentColor}:host(:not([disabled]):hover)>*::after,:host([selected])>*::after{content:'';position:absolute;background-color:var(--color-hover-secondary)}:host([orientation='horizontal']:not([disabled]):hover)>*::after,:host([orientation='horizontal'][selected])>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}slot[name=\"icon\"] z-icon,::slotted([slot=\"icon\"]){--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}:host([orientation='horizontal']) slot[name=\"icon\"] z-icon,:host([orientation='horizontal']) ::slotted([slot=\"icon\"]){margin-right:var(--space-unit)}:host(:not([disabled]):hover)>*{background-color:var(--color-background)}>*:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([disabled])>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}:host([size='small'])>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}:host([size='small'][orientation='horizontal'])>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}:host([size='small'][orientation='horizontal']:not([disabled]):hover)>*::after,:host([size='small'][orientation='horizontal'][selected])>*::after{height:var(--border-size-medium)}:host([size='small']:not([orientation='vertical'])) slot[name=\"icon\"] z-icon,:host([size='small']:not([orientation='vertical'])) ::slotted([slot=\"icon\"]){--z-icon-width:14px;--z-icon-height:14px}:host([orientation='vertical'])>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host([orientation='vertical']:hover:not([disabled]))>*::after,:host([orientation='vertical'][selected])>*::after{width:var(--border-size-large);height:100%;top:0;right:0}";
|
|
10
|
+
|
|
11
|
+
const ZNavigationTabLink = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.emitSelected = index.createEvent(this, "selected", 7);
|
|
15
|
+
/**
|
|
16
|
+
* Whether the tab is selected.
|
|
17
|
+
*/
|
|
18
|
+
this.selected = false;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the tab is disabled.
|
|
21
|
+
*/
|
|
22
|
+
this.disabled = false;
|
|
23
|
+
/**
|
|
24
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
+
*/
|
|
26
|
+
this.orientation = index$1.NavigationTabsOrientations.horizontal;
|
|
27
|
+
/**
|
|
28
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
29
|
+
*/
|
|
30
|
+
this.size = index$1.NavigationTabsSizes.big;
|
|
31
|
+
}
|
|
32
|
+
onFocus() {
|
|
33
|
+
this.host.scrollIntoView({
|
|
34
|
+
behavior: "smooth",
|
|
35
|
+
block: "nearest",
|
|
36
|
+
inline: "nearest",
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
onClick() {
|
|
40
|
+
this.selected = true;
|
|
41
|
+
}
|
|
42
|
+
onSelected() {
|
|
43
|
+
if (this.selected) {
|
|
44
|
+
this.emitSelected.emit();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Render the icon component using the icon's name passed from prop.
|
|
49
|
+
* Use the `filled` version when the tab is `selected`.
|
|
50
|
+
* @returns {HTMLElement}
|
|
51
|
+
*/
|
|
52
|
+
renderIcon() {
|
|
53
|
+
let icon = this.icon;
|
|
54
|
+
const iconFilled = `${icon.replace(/-filled$/, '')}-filled`;
|
|
55
|
+
if (this.selected && Object.keys(icons.icons).includes(iconFilled)) {
|
|
56
|
+
icon = iconFilled;
|
|
57
|
+
}
|
|
58
|
+
return index.h("z-icon", { name: icon });
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
return (index.h("a", { role: "tab", href: !this.disabled && this.href, title: this.htmlTitle, target: this.target }, index.h("slot", { name: "icon" }, this.icon && this.renderIcon()), this.orientation === "horizontal" && this.label));
|
|
62
|
+
}
|
|
63
|
+
get host() { return index.getElement(this); }
|
|
64
|
+
static get watchers() { return {
|
|
65
|
+
"selected": ["onSelected"]
|
|
66
|
+
}; }
|
|
67
|
+
};
|
|
68
|
+
ZNavigationTabLink.style = navigationTabCss;
|
|
69
|
+
|
|
70
|
+
exports.z_navigation_tab_link = ZNavigationTabLink;
|
|
@@ -3,23 +3,37 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-84b7063a.js');
|
|
6
|
+
const index$1 = require('./index-155b2ec5.js');
|
|
7
|
+
const icons = require('./icons-30810e62.js');
|
|
6
8
|
|
|
7
|
-
const
|
|
9
|
+
const navigationTabCss = "*::before,*::after{box-sizing:border-box}:host>*{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}:host>a{text-decoration:none}:host(:not([disabled]):hover)>*,:host([selected])>*{color:var(--color-hover-secondary);fill:currentColor}:host(:not([disabled]):hover)>*::after,:host([selected])>*::after{content:'';position:absolute;background-color:var(--color-hover-secondary)}:host([orientation='horizontal']:not([disabled]):hover)>*::after,:host([orientation='horizontal'][selected])>*::after{bottom:0;left:0;width:100%;height:var(--border-size-large)}slot[name=\"icon\"] z-icon,::slotted([slot=\"icon\"]){--z-icon-width:calc(var(--space-unit) * 2);--z-icon-height:calc(var(--space-unit) * 2);display:flex;margin:0}:host([orientation='horizontal']) slot[name=\"icon\"] z-icon,:host([orientation='horizontal']) ::slotted([slot=\"icon\"]){margin-right:var(--space-unit)}:host(:not([disabled]):hover)>*{background-color:var(--color-background)}>*:focus:focus-visible{box-shadow:var(--shadow-focus-primary)}:host([disabled])>*{pointer-events:all;cursor:not-allowed;color:var(--gray500);fill:currentColor}:host([size='small'])>*{font-size:var(--font-size-2);line-height:1.4;letter-spacing:0.16px}:host([size='small'][orientation='horizontal'])>*{padding:var(--space-unit) calc(var(--space-unit) * 2)}:host([size='small'][orientation='horizontal']:not([disabled]):hover)>*::after,:host([size='small'][orientation='horizontal'][selected])>*::after{height:var(--border-size-medium)}:host([size='small']:not([orientation='vertical'])) slot[name=\"icon\"] z-icon,:host([size='small']:not([orientation='vertical'])) ::slotted([slot=\"icon\"]){--z-icon-width:14px;--z-icon-height:14px}:host([orientation='vertical'])>*{padding:calc(var(--space-unit) * 3) calc(var(--space-unit) * 2)}:host([orientation='vertical']:hover:not([disabled]))>*::after,:host([orientation='vertical'][selected])>*::after{width:var(--border-size-large);height:100%;top:0;right:0}";
|
|
8
10
|
|
|
9
11
|
const ZNavigationTab = class {
|
|
10
12
|
constructor(hostRef) {
|
|
11
13
|
index.registerInstance(this, hostRef);
|
|
12
14
|
this.emitSelected = index.createEvent(this, "selected", 7);
|
|
15
|
+
/**
|
|
16
|
+
* Whether the tab is selected.
|
|
17
|
+
*/
|
|
13
18
|
this.selected = false;
|
|
19
|
+
/**
|
|
20
|
+
* Whether the tab is disabled.
|
|
21
|
+
*/
|
|
14
22
|
this.disabled = false;
|
|
15
|
-
|
|
16
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Tab orientation. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
25
|
+
*/
|
|
26
|
+
this.orientation = index$1.NavigationTabsOrientations.horizontal;
|
|
27
|
+
/**
|
|
28
|
+
* Tab size. Do not set this manually: `z-navigation-tabs` will handle this.
|
|
29
|
+
*/
|
|
30
|
+
this.size = index$1.NavigationTabsSizes.big;
|
|
17
31
|
}
|
|
18
32
|
onFocus() {
|
|
19
33
|
this.host.scrollIntoView({
|
|
20
|
-
behavior:
|
|
21
|
-
block:
|
|
22
|
-
inline:
|
|
34
|
+
behavior: "smooth",
|
|
35
|
+
block: "nearest",
|
|
36
|
+
inline: "nearest",
|
|
23
37
|
});
|
|
24
38
|
}
|
|
25
39
|
onClick() {
|
|
@@ -32,14 +46,27 @@ const ZNavigationTab = class {
|
|
|
32
46
|
this.emitSelected.emit();
|
|
33
47
|
}
|
|
34
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Render the icon component using the icon's name passed from prop.
|
|
51
|
+
* Use the `filled` version when the tab is `selected`.
|
|
52
|
+
* @returns {HTMLElement}
|
|
53
|
+
*/
|
|
54
|
+
renderIcon() {
|
|
55
|
+
let icon = this.icon;
|
|
56
|
+
const iconFilled = `${icon.replace(/-filled$/, '')}-filled`;
|
|
57
|
+
if (this.selected && Object.keys(icons.icons).includes(iconFilled)) {
|
|
58
|
+
icon = iconFilled;
|
|
59
|
+
}
|
|
60
|
+
return index.h("z-icon", { name: icon });
|
|
61
|
+
}
|
|
35
62
|
render() {
|
|
36
|
-
return (index.h("button", { disabled: this.disabled,
|
|
63
|
+
return (index.h("button", { role: "tab", disabled: this.disabled, title: this.htmlTitle }, index.h("slot", { name: "icon" }, this.icon && this.renderIcon()), this.orientation === "horizontal" && this.label));
|
|
37
64
|
}
|
|
38
65
|
get host() { return index.getElement(this); }
|
|
39
66
|
static get watchers() { return {
|
|
40
67
|
"selected": ["onSelected"]
|
|
41
68
|
}; }
|
|
42
69
|
};
|
|
43
|
-
ZNavigationTab.style =
|
|
70
|
+
ZNavigationTab.style = navigationTabCss;
|
|
44
71
|
|
|
45
72
|
exports.z_navigation_tab = ZNavigationTab;
|
|
@@ -3,97 +3,125 @@
|
|
|
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-155b2ec5.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);font-family:var(--font-family-sans);font-weight:var(--font-rg);overflow:hidden}:host,:host *,::slotted(*){box-sizing:border-box}::-webkit-scrollbar{display:none}
|
|
8
|
+
const stylesCss = ":host{--safe-scroll-area:4px;--negative-safe-scroll-area:calc(-1 * var(--safe-scroll-area));position:relative;display:flex;flex-direction:row;z-index:0;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);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}.navigation-button:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}.navigation-button:disabled{display:none}nav{display:flex;align-items:center;justify-content:flex-start;overflow:auto;margin:var(--negative-safe-scroll-area);padding:var(--safe-scroll-area);scroll-padding:var(--safe-scroll-area);scrollbar-width:none}:host([orientation='horizontal']) nav{width:100%}:host([orientation='horizontal']) .navigation-button{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) .navigation-button:first-child{left:0;padding-left:var(--safe-scroll-area);box-shadow:5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='horizontal']) .navigation-button:last-child{right:0;padding-right:4px;box-shadow:-5px 0px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}: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) + var(--safe-scroll-area))}:host([orientation='vertical']) .navigation-button:first-child{top:0;padding-top:var(--safe-scroll-area);box-shadow:0px 5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([orientation='vertical']) .navigation-button:last-child{bottom:0;padding-bottom:var(--safe-scroll-area);box-shadow:0px -5px var(--safe-scroll-area) var(--negative-safe-scroll-area) rgba(66, 69, 72, 0.40)}:host([size='small'][orientation='vertical']) .navigation-button{height:calc(var(--space-unit) * 4)}";
|
|
9
9
|
|
|
10
10
|
const ZNavigationTabs = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
this.
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Navigation tabs orientation.
|
|
15
|
+
*/
|
|
16
|
+
this.orientation = index$1.NavigationTabsOrientations.horizontal;
|
|
17
|
+
/**
|
|
18
|
+
* Navigation tabs size.
|
|
19
|
+
*/
|
|
20
|
+
this.size = index$1.NavigationTabsSizes.big;
|
|
19
21
|
}
|
|
20
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Getter for the direction to check based on current orientation.
|
|
24
|
+
*/
|
|
25
|
+
get direction() {
|
|
26
|
+
return this.orientation == index$1.NavigationTabsOrientations.horizontal ? 'Left' : 'Top';
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Getter for the dimension to check based on current orientation.
|
|
30
|
+
*/
|
|
31
|
+
get dimension() {
|
|
32
|
+
return this.orientation == index$1.NavigationTabsOrientations.horizontal ? 'Width' : 'Height';
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Set the `size` prop to all `z-navigation-tab` children.
|
|
36
|
+
*/
|
|
21
37
|
setChildrenSize() {
|
|
22
|
-
const children = this.host.children;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
38
|
+
const children = Array.from(this.host.children);
|
|
39
|
+
children.forEach((child) => {
|
|
40
|
+
child.setAttribute('size', this.size);
|
|
41
|
+
});
|
|
26
42
|
}
|
|
27
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Set the `orientation` prop to all `z-navigation-tab` children.
|
|
45
|
+
*/
|
|
28
46
|
setChildrenOrientation() {
|
|
29
|
-
const children = this.host.children;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
47
|
+
const children = Array.from(this.host.children);
|
|
48
|
+
children.forEach((child) => {
|
|
49
|
+
child.setAttribute('orientation', this.orientation);
|
|
50
|
+
});
|
|
33
51
|
}
|
|
34
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* Check if the navigation buttons are needed on window resize.
|
|
54
|
+
*/
|
|
35
55
|
checkScrollVisible() {
|
|
36
56
|
if (!this.tabsNav) {
|
|
37
57
|
return;
|
|
38
58
|
}
|
|
39
59
|
this.canNavigate = this.tabsNav[`scroll${this.dimension}`] > this.tabsNav[`client${this.dimension}`];
|
|
40
|
-
this.checkScrollEnabled();
|
|
41
60
|
}
|
|
42
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Check if navigation buttons can be enabled for each direction.
|
|
63
|
+
*/
|
|
43
64
|
checkScrollEnabled() {
|
|
44
65
|
if (!this.tabsNav) {
|
|
45
66
|
return;
|
|
46
67
|
}
|
|
47
|
-
this.canNavigateNext = this.tabsNav[`scroll${this.direction}`] +
|
|
48
|
-
this.tabsNav[`
|
|
68
|
+
this.canNavigateNext = (this.tabsNav[`scroll${this.direction}`] + this.tabsNav[`client${this.dimension}`]) <
|
|
69
|
+
this.tabsNav[`scroll${this.dimension}`];
|
|
49
70
|
this.canNavigatePrev = this.tabsNav[`scroll${this.direction}`] > 0;
|
|
50
71
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (child
|
|
60
|
-
|
|
61
|
-
child.selected = false;
|
|
62
|
-
}
|
|
72
|
+
/**
|
|
73
|
+
* Listen for child tab selection.
|
|
74
|
+
* @param {CustomEvent} event `selected` event triggered by a child tab
|
|
75
|
+
*/
|
|
76
|
+
onTabSelected(event) {
|
|
77
|
+
const tab = event.target;
|
|
78
|
+
const children = Array.from(this.host.children);
|
|
79
|
+
children.forEach((child) => {
|
|
80
|
+
if (child !== tab) {
|
|
81
|
+
child.removeAttribute('selected');
|
|
63
82
|
}
|
|
64
|
-
}
|
|
83
|
+
});
|
|
65
84
|
}
|
|
66
|
-
/**
|
|
67
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Scroll the navigation bar half of its size backward.
|
|
87
|
+
*/
|
|
88
|
+
navigateBackwards() {
|
|
89
|
+
const safeScrollAreaSize = parseFloat(getComputedStyle(this.host).getPropertyValue('--safe-scroll-area'));
|
|
68
90
|
this.tabsNav.scrollBy({
|
|
69
|
-
[this.direction.toLowerCase()]: 0 -
|
|
91
|
+
[this.direction.toLowerCase()]: 0 -
|
|
92
|
+
(this.tabsNav[`client${this.dimension}`] / 2) -
|
|
93
|
+
safeScrollAreaSize,
|
|
70
94
|
behavior: 'smooth',
|
|
71
95
|
});
|
|
72
96
|
}
|
|
73
|
-
/**
|
|
74
|
-
|
|
97
|
+
/**
|
|
98
|
+
* Scroll the navigation bar half of its size forward.
|
|
99
|
+
*/
|
|
100
|
+
navigateForward() {
|
|
101
|
+
const safeScrollAreaSize = parseFloat(getComputedStyle(this.host).getPropertyValue('--safe-scroll-area'));
|
|
75
102
|
this.tabsNav.scrollBy({
|
|
76
|
-
[this.direction.toLowerCase()]: this.tabsNav
|
|
103
|
+
[this.direction.toLowerCase()]: this.tabsNav[`scroll${this.direction}`] +
|
|
104
|
+
(this.tabsNav[`client${this.dimension}`] / 2) +
|
|
105
|
+
safeScrollAreaSize,
|
|
77
106
|
behavior: 'smooth',
|
|
78
107
|
});
|
|
79
108
|
}
|
|
80
|
-
|
|
109
|
+
componentDidRender() {
|
|
81
110
|
this.setChildrenSize();
|
|
82
111
|
this.setChildrenOrientation();
|
|
83
112
|
this.checkScrollVisible();
|
|
84
113
|
}
|
|
85
114
|
render() {
|
|
86
115
|
return index.h(index.Host, { class: {
|
|
87
|
-
'interactive-2': this.size ===
|
|
88
|
-
'interactive-1': this.size !==
|
|
89
|
-
}, scrollable: this.canNavigate }, this.canNavigate && index.h("button", { class: "navigation", onClick:
|
|
116
|
+
'interactive-2': this.size === index$1.NavigationTabsSizes.small,
|
|
117
|
+
'interactive-1': this.size !== index$1.NavigationTabsSizes.small
|
|
118
|
+
}, scrollable: this.canNavigate }, this.canNavigate && index.h("button", { class: "navigation-button", onClick: this.navigateBackwards.bind(this), tabindex: "-1", disabled: !this.canNavigatePrev }, index.h("z-icon", { name: this.orientation == index$1.NavigationTabsOrientations.horizontal ? 'chevron-left' : 'chevron-up', width: 16, height: 16 })), index.h("nav", { role: "tablist", ref: (el) => this.tabsNav = el !== null && el !== void 0 ? el : this.tabsNav, onScroll: this.checkScrollEnabled.bind(this) }, index.h("slot", null)), this.canNavigate && index.h("button", { class: "navigation-button", onClick: this.navigateForward.bind(this), tabindex: "-1", disabled: !this.canNavigateNext }, index.h("z-icon", { name: this.orientation == index$1.NavigationTabsOrientations.horizontal ? 'chevron-right' : 'chevron-down', width: 16, height: 16 })));
|
|
90
119
|
}
|
|
91
120
|
get host() { return index.getElement(this); }
|
|
92
121
|
static get watchers() { return {
|
|
93
122
|
"size": ["setChildrenSize"],
|
|
94
123
|
"orientation": ["setChildrenOrientation"],
|
|
95
|
-
"
|
|
96
|
-
"dimension": ["checkScrollEnabled"]
|
|
124
|
+
"canNavigate": ["checkScrollEnabled"]
|
|
97
125
|
}; }
|
|
98
126
|
};
|
|
99
127
|
ZNavigationTabs.style = stylesCss;
|
|
@@ -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-155b2ec5.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-4bbd782c.js');
|
|
8
8
|
require('./_commonjsHelpers-537d719a.js');
|
|
9
|
-
require('./index-
|
|
9
|
+
require('./index-155b2ec5.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-155b2ec5.js');
|
|
7
|
+
const utils = require('./utils-4bbd782c.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-155b2ec5.js');
|
|
8
|
+
const utils = require('./utils-4bbd782c.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-155b2ec5.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
|
|
|
@@ -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-155b2ec5.js');
|
|
7
|
+
const utils = require('./utils-4bbd782c.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-155b2ec5.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-155b2ec5.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-155b2ec5.js');
|
|
8
|
+
const utils = require('./utils-4bbd782c.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-155b2ec5.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-155b2ec5.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-155b2ec5.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-155b2ec5.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-4bbd782c.js');
|
|
7
|
+
const index$1 = require('./index-155b2ec5.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-155b2ec5.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
|
|
|
@@ -11,16 +11,16 @@ export var CardVariants;
|
|
|
11
11
|
CardVariants["overlay"] = "overlay";
|
|
12
12
|
CardVariants["text"] = "text";
|
|
13
13
|
})(CardVariants || (CardVariants = {}));
|
|
14
|
-
export var
|
|
15
|
-
(function (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})(
|
|
19
|
-
export var
|
|
20
|
-
(function (
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(
|
|
14
|
+
export var NavigationTabsOrientations;
|
|
15
|
+
(function (NavigationTabsOrientations) {
|
|
16
|
+
NavigationTabsOrientations["horizontal"] = "horizontal";
|
|
17
|
+
NavigationTabsOrientations["vertical"] = "vertical";
|
|
18
|
+
})(NavigationTabsOrientations || (NavigationTabsOrientations = {}));
|
|
19
|
+
export var NavigationTabsSizes;
|
|
20
|
+
(function (NavigationTabsSizes) {
|
|
21
|
+
NavigationTabsSizes["big"] = "big";
|
|
22
|
+
NavigationTabsSizes["small"] = "small";
|
|
23
|
+
})(NavigationTabsSizes || (NavigationTabsSizes = {}));
|
|
24
24
|
export var ButtonVariantEnum;
|
|
25
25
|
(function (ButtonVariantEnum) {
|
|
26
26
|
ButtonVariantEnum["primary"] = "primary";
|
|
@@ -30,6 +30,9 @@
|
|
|
30
30
|
"./components/logo/z-logo/index.js",
|
|
31
31
|
"./components/modal/z-modal/index.js",
|
|
32
32
|
"./components/modal/z-modal-login/index.js",
|
|
33
|
+
"./components/navigation/tabs/z-navigation-tab/index.js",
|
|
34
|
+
"./components/navigation/tabs/z-navigation-tab-link/index.js",
|
|
35
|
+
"./components/navigation/tabs/z-navigation-tabs/index.js",
|
|
33
36
|
"./components/navigation/z-menu/index.js",
|
|
34
37
|
"./components/navigation/z-app-header/index.js",
|
|
35
38
|
"./components/navigation/z-app-switcher/index.js",
|
|
@@ -37,8 +40,6 @@
|
|
|
37
40
|
"./components/navigation/z-link/index.js",
|
|
38
41
|
"./components/navigation/z-menu-dropdown/index.js",
|
|
39
42
|
"./components/navigation/z-menu-section/index.js",
|
|
40
|
-
"./components/navigation/z-navigation-tab/index.js",
|
|
41
|
-
"./components/navigation/z-navigation-tabs/index.js",
|
|
42
43
|
"./components/navigation/z-user-dropdown/index.js",
|
|
43
44
|
"./components/notification/z-candybar/index.js",
|
|
44
45
|
"./components/notification/z-cookiebar/index.js",
|