@zanichelli/albe-web-components 2.36.1 → 2.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/dist/cjs/{index-3735f277.js → index-73c33cf4.js} +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-6a2c0eab.js → utils-95a9a879.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher.cjs.entry.js +1 -1
- package/dist/cjs/z-app-topbar.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-body_14.cjs.entry.js → z-body_15.cjs.entry.js} +97 -37
- package/dist/cjs/z-button-filter_5.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-divider.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 +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-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +1 -0
- package/dist/collection/components/typography/z-typography/styles.css +4 -0
- package/dist/collection/components/z-card/index.js +36 -7
- package/dist/collection/components/z-card/styles.css +26 -4
- package/dist/collection/components/z-popover/index.js +33 -34
- package/dist/esm/{index-f928c852.js → index-a4f73ed9.js} +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-a219c3d4.js → utils-7032aa6d.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher.entry.js +1 -1
- package/dist/esm/z-app-topbar.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-body_14.entry.js → z-body_15.entry.js} +98 -39
- package/dist/esm/z-button-filter_5.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-divider.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 +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-tabs.entry.js +1 -1
- package/dist/esm/z-notification.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +2 -2
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-status-tag.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/types/beans/index.d.ts +2 -1
- package/dist/types/components/z-card/index.d.ts +7 -1
- package/dist/types/components/z-popover/index.d.ts +2 -2
- package/dist/types/components.d.ts +8 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-5ab81e9b.entry.js → p-06e7159b.entry.js} +1 -1
- package/dist/web-components-library/{p-42bbbe45.entry.js → p-0ab6a465.entry.js} +1 -1
- package/dist/web-components-library/p-0af2894e.js +1 -0
- package/dist/web-components-library/{p-57ca60ca.entry.js → p-0c7427ec.entry.js} +1 -1
- package/dist/web-components-library/{p-8157eea6.entry.js → p-1ce5ea61.entry.js} +1 -1
- package/dist/web-components-library/{p-46409367.entry.js → p-21a50621.entry.js} +1 -1
- package/dist/web-components-library/{p-ded3311b.entry.js → p-25cfbd3a.entry.js} +1 -1
- package/dist/web-components-library/p-29c08c91.js +1 -0
- package/dist/web-components-library/{p-9cf0c400.entry.js → p-29e389cb.entry.js} +1 -1
- package/dist/web-components-library/{p-33dc4f06.entry.js → p-2b94e667.entry.js} +1 -1
- package/dist/web-components-library/p-3355b667.entry.js +1 -0
- package/dist/web-components-library/{p-0fee9636.entry.js → p-346db6a6.entry.js} +1 -1
- package/dist/web-components-library/{p-19784323.entry.js → p-3543cfd5.entry.js} +1 -1
- package/dist/web-components-library/{p-b725af3c.entry.js → p-4081b879.entry.js} +1 -1
- package/dist/web-components-library/{p-d4ada94b.entry.js → p-44dc89cf.entry.js} +1 -1
- package/dist/web-components-library/{p-45352dbd.entry.js → p-453af930.entry.js} +1 -1
- package/dist/web-components-library/{p-e21ba6cb.entry.js → p-4fef4307.entry.js} +1 -1
- package/dist/web-components-library/p-5d34d798.entry.js +1 -0
- package/dist/web-components-library/{p-f7ac7835.entry.js → p-6252d20b.entry.js} +1 -1
- package/dist/web-components-library/{p-aba4e402.entry.js → p-7595ed18.entry.js} +1 -1
- package/dist/web-components-library/{p-dedd49a7.entry.js → p-7e9a16c8.entry.js} +1 -1
- package/dist/web-components-library/{p-d41a8631.entry.js → p-819b5d17.entry.js} +1 -1
- package/{www/build/p-94a60282.entry.js → dist/web-components-library/p-8aaba07d.entry.js} +1 -1
- package/dist/web-components-library/{p-b18566a3.entry.js → p-976cdbfa.entry.js} +1 -1
- package/dist/web-components-library/{p-306c18e8.entry.js → p-9c8aac51.entry.js} +1 -1
- package/dist/web-components-library/{p-8bb0c86d.entry.js → p-b85f7e9a.entry.js} +1 -1
- package/dist/web-components-library/{p-065c2661.entry.js → p-c3e5e43e.entry.js} +1 -1
- package/dist/web-components-library/{p-fe3ab113.entry.js → p-d329ffe4.entry.js} +1 -1
- package/dist/web-components-library/{p-2df1936a.entry.js → p-e27b9cba.entry.js} +1 -1
- package/dist/web-components-library/{p-6a555104.entry.js → p-e40bf20d.entry.js} +1 -1
- package/dist/web-components-library/{p-44904136.entry.js → p-ecac657b.entry.js} +1 -1
- package/dist/web-components-library/{p-5f30cea7.entry.js → p-efeecbb7.entry.js} +1 -1
- package/dist/web-components-library/{p-72768e3c.entry.js → p-f552b72d.entry.js} +1 -1
- package/dist/web-components-library/{p-a3fda8d7.entry.js → p-fd60b041.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-053e68f0.js +122 -0
- package/www/build/{p-5ab81e9b.entry.js → p-06e7159b.entry.js} +1 -1
- package/www/build/{p-42bbbe45.entry.js → p-0ab6a465.entry.js} +1 -1
- package/www/build/p-0af2894e.js +1 -0
- package/www/build/{p-57ca60ca.entry.js → p-0c7427ec.entry.js} +1 -1
- package/www/build/{p-8157eea6.entry.js → p-1ce5ea61.entry.js} +1 -1
- package/www/build/{p-46409367.entry.js → p-21a50621.entry.js} +1 -1
- package/www/build/{p-ded3311b.entry.js → p-25cfbd3a.entry.js} +1 -1
- package/www/build/p-29c08c91.js +1 -0
- package/www/build/{p-9cf0c400.entry.js → p-29e389cb.entry.js} +1 -1
- package/www/build/{p-33dc4f06.entry.js → p-2b94e667.entry.js} +1 -1
- package/www/build/p-3355b667.entry.js +1 -0
- package/www/build/{p-0fee9636.entry.js → p-346db6a6.entry.js} +1 -1
- package/www/build/{p-19784323.entry.js → p-3543cfd5.entry.js} +1 -1
- package/www/build/{p-b725af3c.entry.js → p-4081b879.entry.js} +1 -1
- package/www/build/{p-d4ada94b.entry.js → p-44dc89cf.entry.js} +1 -1
- package/www/build/{p-45352dbd.entry.js → p-453af930.entry.js} +1 -1
- package/www/build/{p-e21ba6cb.entry.js → p-4fef4307.entry.js} +1 -1
- package/www/build/p-5d34d798.entry.js +1 -0
- package/www/build/{p-f7ac7835.entry.js → p-6252d20b.entry.js} +1 -1
- package/www/build/{p-aba4e402.entry.js → p-7595ed18.entry.js} +1 -1
- package/www/build/{p-dedd49a7.entry.js → p-7e9a16c8.entry.js} +1 -1
- package/www/build/{p-d41a8631.entry.js → p-819b5d17.entry.js} +1 -1
- package/{dist/web-components-library/p-94a60282.entry.js → www/build/p-8aaba07d.entry.js} +1 -1
- package/www/build/{p-b18566a3.entry.js → p-976cdbfa.entry.js} +1 -1
- package/www/build/p-97a11655.css +789 -0
- package/www/build/{p-306c18e8.entry.js → p-9c8aac51.entry.js} +1 -1
- package/www/build/{p-8bb0c86d.entry.js → p-b85f7e9a.entry.js} +1 -1
- package/www/build/{p-065c2661.entry.js → p-c3e5e43e.entry.js} +1 -1
- package/www/build/{p-fe3ab113.entry.js → p-d329ffe4.entry.js} +1 -1
- package/www/build/{p-2df1936a.entry.js → p-e27b9cba.entry.js} +1 -1
- package/www/build/{p-6a555104.entry.js → p-e40bf20d.entry.js} +1 -1
- package/www/build/{p-44904136.entry.js → p-ecac657b.entry.js} +1 -1
- package/www/build/{p-5f30cea7.entry.js → p-efeecbb7.entry.js} +1 -1
- package/www/build/{p-72768e3c.entry.js → p-f552b72d.entry.js} +1 -1
- package/www/build/{p-a3fda8d7.entry.js → p-fd60b041.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +19 -29
- package/dist/cjs/z-card.cjs.entry.js +0 -58
- package/dist/esm/z-card.entry.js +0 -54
- package/dist/web-components-library/p-3dce95ce.js +0 -1
- package/dist/web-components-library/p-795f0a47.entry.js +0 -1
- package/dist/web-components-library/p-9f241f4c.js +0 -1
- package/dist/web-components-library/p-b36031be.entry.js +0 -1
- package/dist/web-components-library/p-f57de8c0.entry.js +0 -1
- package/www/build/p-160887dd.js +0 -1
- package/www/build/p-3dce95ce.js +0 -1
- package/www/build/p-795f0a47.entry.js +0 -1
- package/www/build/p-9f241f4c.js +0 -1
- package/www/build/p-b36031be.entry.js +0 -1
- package/www/build/p-ea943cbd.css +0 -1
- package/www/build/p-f57de8c0.entry.js +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{width:100%}footer{width:auto;height:auto;box-sizing:border-box;font-family:var(--font-family-sans);font-size:13px;padding:var(--space-unit) 0;background-color:var(--gray900);color:var(--gray50)}footer *{box-sizing:border-box}footer>section>div{display:grid}#top{padding:0 calc(var(--space-unit) * 2)}#bottom{width:auto;height:auto;margin:0;padding:0 calc(var(--space-unit) * 2);white-space:pre-line;font-size:12px}#bottom>div{display:grid;grid-template-columns:1fr}#bottom>div>div.item{display:flex;flex-direction:column;align-items:flex-start;grid-column:span 1;height:auto;width:auto;padding:calc(var(--space-unit) * 2) 0}#bottom>div>div.item:nth-child(1){order:2}#bottom>div>div.item:nth-child(2){order:1;border-bottom:1px solid var(--gray50)}#bottom>div>div.item>div.social{display:grid;grid-template-columns:repeat(5, 1fr);grid-template-rows:repeat(auto-fill, 24px);column-gap:12px;padding:0;margin-bottom:0px}#bottom>div>div.bottom-links{display:none}#bottom>div>div.item>p{margin:var(--space-unit) 0;padding:var(--space-unit) 0}#bottom>div>div.item>p:first-child{margin-top:0}#bottom>div>div.item>p:last-child{margin-bottom:0}#bottom>div>div.logo>p>span{display:block}#extension{padding:0 calc(var(--space-unit) * 2)}#extension>div{display:grid;grid-template-columns:1fr;grid-row-gap:var(--space-unit);align-items:center}#extension z-divider{margin-top:var(--space-unit)}#extension z-button{margin-left:var(--space-unit)}div.limited-width{margin:auto;max-width:var(--mw)}@media only screen and (min-width: 768px){footer{padding:0}#top{background-color:var(--gray800);padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3)}#top z-footer-section:last-child{display:none}#bottom{background-color:var(--gray900);padding:0 calc(var(--space-unit) * 3)}#bottom>div{grid-template-columns:repeat(4, 1fr);grid-column-gap:var(--grid-tablet-margin)}#bottom>div>div.item{margin:0}#bottom>div>div.item:nth-child(1){order:1}#bottom>div>div.item:nth-child(2){order:2;border-bottom:none}#bottom>div>div.item>p{padding-top:0}#bottom>div>div.logo>z-logo{width:auto;height:39px}#bottom>div>div.bottom-links{display:block;grid-column:span 2;order:3}#bottom>div>div.bottom-links{display:grid;grid-template-columns:repeat(2, 1fr);grid-template-rows:repeat(auto-fill, 24px);grid-column-gap:var(--grid-tablet-margin);font-size:12px}#extension{margin:auto;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3) 0;background-color:var(--gray800);color:white;grid-template-columns:1fr 1fr}#extension>div>div{text-align:end}#extension z-divider{grid-column:1 / span 2}}@media only screen and (min-width: 1152px){#top{width:100%}#top>div{grid-template-columns:repeat(6, 1fr);grid-column-gap:var(--grid-desktop-margin)}#bottom>div>div.item:nth-child(1)>p:nth-of-type(2){font-size:10px}#bottom>div>div.item>p{padding-bottom:0;margin-bottom:calc(var(--space-unit) * 2)}#bottom>div>div.item>div.social{margin-top:0}#bottom>div>div.bottom-links{padding:calc(var(--space-unit) * 2) 0 0 0}#bottom>div>div.bottom-links{grid-template-columns:repeat(3, 1fr);grid-column-gap:var(--grid-desktop-margin);margin:0}}@media only screen and (min-width: 1366px){#top{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}#bottom{padding:0 calc(var(--space-unit) * 4)}#extension{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4) 0}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss$2 = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);display:flex;flex-direction:column}";
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
|
+
const utils = require('./utils-95a9a879.js');
|
|
8
8
|
require('./breakpoints-88c4fd6c.js');
|
|
9
9
|
|
|
10
10
|
const stylesCss$1 = ":host{font-family:var(--dashboard-font);font-weight:var(--font-sb);font-size:12px;height:32px;width:inherit;letter-spacing:0.17px}a,a:visited,a:active{color:inherit;text-decoration:none}:host>a{display:block;background:var(--bg-grey-050);color:var(--text-grey-800);border-radius:var(--border-radius);border:var(--border-size-small) solid transparent;outline:none}:host>a::-moz-focus-inner{border:0}:host>a:hover,:host>a.menu-opened:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host>a:focus{color:var(--myz-blue);fill:var(--myz-blue);border:var(--border-size-small) solid var(--myz-blue);box-shadow:0px 0px 2px 2px var(--myz-blue-light)}:host>a:active{color:var(--myz-blue-light);fill:var(--myz-blue-light);border:var(--border-size-small) solid var(--myz-blue-light);box-shadow:0px 2px 4px 0px rgba(0, 0, 0, 0.4)}div.container{display:flex;align-items:center;justify-content:space-between;height:32px;position:relative;padding:0 var(--basex1)}div.container>span.user-wrapper{display:flex}div.container>span.user-wrapper>span.user{padding:0 var(--basex1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer;width:30px}div.container>span.arrow{display:flex;justify-content:center;align-items:center}div.container>span.arrow>z-icon{transform:rotate(360deg);transition:all 200ms linear}ul{list-style:none;padding:0 calc(var(--space-unit) * 2);margin:0px}li{height:var(--basex3);display:flex;align-items:center;padding:calc(var(--space-unit) / 4) 0;width:max-content}.menu-opened{padding-bottom:calc(var(--space-unit) * 2);width:auto !important;min-width:147px;position:inherit}.menu-opened a,.menu-opened a:active,.menu-opened a:visited{color:var(--myz-blue);fill:var(--myz-blue)}.menu-opened a:hover{color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}.menu-opened>div.container{margin-bottom:var(--basex1)}.menu-opened>div.container>span.user-wrapper>span.user{width:auto}.menu-opened>div.container>span.arrow>z-icon{transform:rotate(180deg);transition:all 200ms linear}@media only screen and (min-width: 1152px){:host>a{width:147px;padding:0 calc(var(--space-unit) / 4)}:host>a.menu-opened{width:147px;padding-bottom:calc(var(--space-unit) * 2)}div.container>span.user-wrapper>span.user{width:80px}}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>z-pocket{width:100%}:host>z-pocket.closed{width:158px}:host>z-pocket>z-pocket-header{font-size:12px;font-weight:var(--font-sb);color:var(--color-primary01);fill:var(--color-primary01)}:host>z-pocket>z-pocket-header span.badge{background:var(--color-secondary02);color:var(--color-surface01);border-radius:50%;padding:0 calc(var(--space-unit)* 0.5);display:inline-block;margin-left:var(--space-unit)}:host>z-pocket>z-pocket-header>z-icon{margin-left:var(--space-unit)}:host>z-pocket>z-pocket-body>div.body{overflow:hidden;margin:0 var(--space-unit);padding:var(--space-unit)}:host>z-pocket.preview>z-pocket-body{position:relative}:host>z-pocket.preview>z-pocket-body>div.gradient{background-image:linear-gradient(rgba(255, 0, 0, 0), white);position:absolute;top:0;left:0;right:0;bottom:0}:host>z-pocket.open>z-pocket-body>div.body{max-height:calc(100vh - 166px);overflow:auto;scrollbar-width:none}:host ::-webkit-scrollbar{width:0}@media only screen and (min-width: 768px){:host>z-pocket{width:768px;margin:0 calc((100% - 768px) / 2)}:host>z-pocket.closed{margin:0 calc((100% - 158px) / 2)}:host>z-pocket.open>z-pocket-body>div.body{max-height:326px}}@media only screen and (min-width: 1152px){:host>z-pocket.open>z-pocket-body>div.body{scrollbar-width:thin;scrollbar-color:var(--color-primary01) var(--color-surface03)}:host ::-webkit-scrollbar{background:linear-gradient(\n 90deg,\n var(--color-surface01) 2px,\n var(--color-surface03) 4px,\n var(--color-surface01) 8px\n );border-radius:var(--radius-base);width:10px}:host ::-webkit-scrollbar-thumb{background-color:var(--color-primary01);border-radius:var(--radius-base);width:var(--space-unit)}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ".sc-z-modal-login-h{font-family:var(--dashboard-font);font-weight:var(--font-rg)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{color:var(--text-grey-800);padding:calc(var(--space-unit) * 4) calc(var(--space-unit) * 2)\n calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}z-button.sc-z-modal-login,z-input.sc-z-modal-login,.sc-z-modal-login-s>z-button,.sc-z-modal-login-s>z-input{display:inline-block;width:100%}z-link.sc-z-modal-login,.sc-z-modal-login-s>z-link{font-size:12px}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch}div.wrapper>form>div.username.sc-z-modal-login-s>z-input,div.wrapper>form>div.password.sc-z-modal-login-s>z-input,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.username.sc-z-modal-login z-input.sc-z-modal-login,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.password.sc-z-modal-login z-input.sc-z-modal-login{margin-bottom:var(--space-unit)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>z-link.forget.sc-z-modal-login{font-size:12px;align-self:flex-end}div.wrapper>form>div.login.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>form.sc-z-modal-login>div.login.sc-z-modal-login z-button.sc-z-modal-login{margin:calc(var(--space-unit) * 3) 0;align-self:flex-start}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>hr.sc-z-modal-login{width:100%;margin-bottom:calc(var(--space-unit) * 3);border:none;border-top:var(--border-size-medium) solid var(--bg-grey-200);margin-block-start:unset}div.wrapper>div.signup.sc-z-modal-login-s>z-button,.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.signup.sc-z-modal-login z-button.sc-z-modal-login{display:inline-block;margin:calc(var(--space-unit) * 2) 0}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}slot-fb[name=\"provider\"].sc-z-modal-login{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;gap:calc(var(--space-unit) * 2) 0px}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{padding-top:calc(var(--space-unit) * 2)}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center}.sc-z-modal-login-h div.wrapper.sc-z-modal-login>div.providers.sc-z-modal-login .zd.sc-z-modal-login>svg.sc-z-modal-login{margin-right:var(--space-unit)}@media only screen and (min-width: 768px){z-button.sc-z-modal-login,.sc-z-modal-login-s>z-button{width:initial}.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:396px;padding:calc(var(--space-unit) * 3)}.sc-z-modal-login-h div.providers.sc-z-modal-login{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}.sc-z-modal-login-h div.providers.sc-z-modal-login>z-body.sc-z-modal-login{grid-column-start:1;grid-column-end:3;padding-bottom:var(--space-unit)}.sc-z-modal-login-s>[slot=\"provider\"]{width:100%}slot-fb[name=\"provider\"].sc-z-modal-login{grid-column-start:1;grid-column-end:3;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;gap:var(--space-unit);justify-content:center;align-items:center}slot-fb[name=\"provider\"].sc-z-modal-login>*.sc-z-modal-login{width:100%}}@media only screen and (min-width: 1366px){.sc-z-modal-login-h div.wrapper.sc-z-modal-login{width:477px;padding:calc(var(--space-unit) * 4)}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{position:absolute;font-family:var(--font-family-sans);font-weight:var(--font-rg);width:100%;top:0px;left:0px;z-index:2}:host>z-alert{height:calc(var(--space-unit) * 6)}.relativeContainer{position:relative;display:grid;grid-template-columns:18px auto 46px;grid-template-rows:1fr;grid-column-gap:var(--space-unit);align-items:center;padding:0;outline:none}.relativeContainer::-moz-focus-inner{border:0}.alert-external-wrapper.removeAlert{border:var(--border-size-medium) solid var(--color-surface02);border-top:none}:host div.addAlert{background:var(--color-success-inverse)}:host div.removeAlert{background:var(--color-warning-inverse)}:host div>.contentText{color:var(--color-surface05);font-size:14px;letter-spacing:0.16px;line-height:20px}:host div>.contentAction{color:var(--color-primary01);font-size:12px;font-weight:var(--font-sb);height:20px;letter-spacing:0.32px;line-height:20px;cursor:pointer}:host div>z-icon{justify-self:center}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{position:relative;height:522px;width:100%;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out}:host>div .content{position:relative;height:522px;width:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transition:-webkit-transform 0.5s ease-out;transition:transform 0.5s ease-out;transition:transform 0.5s ease-out, -webkit-transform 0.5s ease-out;z-index:2}:host>div .content.flipped{-webkit-transform:rotateY(180deg);transform:rotateY(180deg);margin-top:-2px}:host>div .front,:host>div .back{position:absolute;height:100%;width:100%;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}:host>div .front{z-index:2;top:0;left:0;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}:host>div .front z-button{position:absolute;z-index:3;top:calc(var(--space-unit) * 0.5);left:calc(-1 * var(--space-unit))}:host>div .back{padding:0 var(--space-unit);margin-left:calc(-1 * var(--space-unit));z-index:1;top:0;left:0;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);display:flex;justify-content:center}.hideInfo{display:none}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = "footer{font-family:var(--font-family-sans);font-weight:var(--font-rg);color:var(--color-surface05);background-color:var(--color-surface01);margin:0px;padding:0px;position:relative;z-index:5;height:calc(var(--space-unit) * 6);width:auto;top:0px;transition:height 500ms ease-in-out, top 500ms ease-in-out;border-radius:0px 0px var(--border-radius) var(--border-radius);border-top:var(--border-size-medium) solid var(--color-surface03)}footer.real,footer.trial{border-top:var(--border-size-medium) solid var(--accent)}footer .bold{font-family:var(--font-family-sans);font-weight:var(--font-sb)}footer>p{font-family:var(--font-family-sans);font-weight:var(--font-rg);font-size:16px;line-height:22px;height:40px;margin:0px;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 2)\n var(--space-unit) calc(var(--space-unit) * 2);overflow:hidden;background-color:var(--color-surface01);transition:all 200ms linear}footer.isopen>p{font-size:14px;font-weight:var(--font-sb);transition:all 200ms linear;background-color:var(--bg-neutral-200)}footer.isopen.real>p,footer.isopen.trial>p{background-color:var(--accent)}footer .visible{display:block}footer .hidden{display:none}footer>div.content{height:60px;overflow:hidden}footer>div.content>div:not(.slot-handler){padding:var(--space-unit) calc(var(--space-unit) * 2)}footer>div.content>div>p{font-size:14px;height:20px;line-height:20px;margin:0px;padding:0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer>div.content>div>p.year_isbn{padding-top:var(--space-unit);display:flex;flex-direction:row;justify-content:space-between}footer>div.content>div>p.year_isbn>span.isbn{text-overflow:ellipsis;overflow:hidden}footer.isopen>div.content>div:not(.slot-handler){height:68px}footer.isopen>div.content>div>p.authors{height:40px;white-space:initial;text-overflow:initial}footer.isopen>div.content>div>p.year_isbn{flex-direction:column;height:50px;padding-left:0px}footer.isopen>div.content>div>p.year_isbn>span.isbn{display:inline-grid;padding-left:0px}footer.isopen{height:295px;top:-212px;transition:height 500ms ease-in-out, top 500ms ease-in-out}footer.isopen>div.content{height:280px;transition:height 500ms ease-in-out, top 500ms ease-in-out}.toggle{position:absolute;top:-24px;left:16px;z-index:10}.faded{opacity:0.3;pointer-events:none}";
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
|
+
const utils = require('./utils-95a9a879.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);width:100%}:host>div{background:var(--color-surface01);width:calc(100% + calc(var(--space-unit) * 2));margin-left:calc(-1 * var(--space-unit));height:402px;border:var(--border-size-small) solid var(--color-primary01);box-shadow:0px 2px 4px 0px rgba(66, 69, 72, 0.35);border-radius:0px;box-sizing:border-box;padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 3);position:relative}:host>div>z-icon{fill:var(--color-primary01);cursor:pointer;position:absolute;top:var(--space-unit);right:var(--space-unit)}:host>div{display:grid}:host>div>div.cta-wrapper{align-self:end;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between}:host>div>div.content-wrapper{overflow:hidden;position:relative;align-self:stretch}:host>div>div.content-wrapper>section{border-bottom:var(--border-size-small) solid var(--color-surface04);color:var(--color-surface05);padding:var(--space-unit) 0;font-size:14px;line-height:20px;box-sizing:border-box}:host>div>div.content-wrapper>section:last-child{border-bottom:none}:host>div>div.content-wrapper>section.info-wrapper{position:relative;overflow:hidden;box-sizing:border-box}:host>div>div.content-wrapper>section.info-wrapper.hidden:after{background:linear-gradient(\n 180deg,\n rgba(255, 0, 0, 0),\n rgba(255, 0, 0, 0) 60%,\n white\n );content:\"\";position:absolute;pointer-events:none;top:0;left:0;right:0;bottom:0}:host>div>div.content-wrapper>section>span.license-heading{display:flex;justify-content:space-between}:host>div>div.content-wrapper>section>span.license-heading>span.expired{color:var(--color-secondary02);font-size:12px;font-weight:600}:host>div>div.content-wrapper>section>span.license-heading>span.expiring{color:var(--color-warning01);font-size:12px;font-weight:600}:host>div>div.content-wrapper>z-tooltip{position:absolute;top:0px;left:calc(var(--space-unit) * 4)}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss$3 = "div{background-color:var(--color-surface01);display:flex;flex-direction:column;width:auto;box-sizing:border-box;width:256px;height:522px;border:var(--border-size-medium) solid var(--color-surface03);border-radius:var(--border-radius)}div.real,div.trial{border-color:var(--accent)}div.faded{border:var(--border-size-medium) solid var(--color-surface02)}div.highlighted{box-shadow:var(--shadow-4);outline:none}div.pressed{box-shadow:var(--shadow-8);outline:none}div:focus{box-shadow:var(--shadow-focus-primary);outline:none}";
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
require('./index-
|
|
6
|
+
const utils = require('./utils-95a9a879.js');
|
|
7
|
+
require('./index-73c33cf4.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-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.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,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
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}button.navigation{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}button.navigation:focus{fill:var(--color-primary01);box-shadow:var(--shadow-focus-primary)}button.navigation: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']) button.navigation{top:0;height:100%;width:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='horizontal']) button.navigation: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']) button.navigation: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}:host([orientation='vertical']) nav{flex-direction:column;align-items:stretch;height:100%}:host([orientation='vertical']) button.navigation{left:0;width:100%;height:calc((var(--space-unit) * 4) + var(--safe-scroll-area))}:host([orientation='vertical']) button.navigation: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']) button.navigation: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']) button.navigation{height:calc(var(--space-unit) * 4)}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{width:100%;color:var(--color-text01)}.notification-container{display:flex;padding:0 0 calc(var(--space-unit) * 2) calc(var(--space-unit) * 2);outline:none;border-bottom:var(--border-size-medium) solid var(--color-surface03)}.shadow{box-shadow:var(--shadow-3)}.content-container{display:flex;justify-content:space-between;flex:1 1 auto;flex-wrap:wrap}.content-text{max-width:800px;margin-top:calc(var(--space-unit) * 2);margin-right:calc(var(--space-unit) * 2)}.action-text{margin-top:calc(var(--space-unit) * 2);margin-right:calc(var(--space-unit) * 2);height:fit-content;color:var(--color-primary01);cursor:pointer;white-space:nowrap}:host div>z-icon{justify-self:center;margin-top:calc(var(--space-unit) * 2);margin-right:calc(var(--space-unit))}:host div.success-notification{background:var(--color-success-inverse)}:host div.warning-notification{background:var(--color-warning-inverse)}:host div.error-notification{background:var(--color-error-inverse)}:host div.success-notification>z-icon{fill:var(--color-success01)}:host div.warning-notification>z-icon{fill:var(--color-warning02)}:host div.error-notification>z-icon{fill:var(--color-error01)}:host div>z-icon.close-icon{cursor:pointer;fill:var(--color-primary01);margin-right:calc(var(--space-unit) * 2)}@media only screen and (min-width: 768px){.content-container{flex-wrap:nowrap}.content-text{margin-right:calc(var(--space-unit) * 5)}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.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-dee3e21d.js');
|
|
6
6
|
const hammer = require('./hammer-54230951.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-95a9a879.js');
|
|
8
8
|
require('./_commonjsHelpers-119ffc74.js');
|
|
9
|
-
require('./index-
|
|
9
|
+
require('./index-73c33cf4.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-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
|
+
const utils = require('./utils-95a9a879.js');
|
|
8
8
|
const hammer = require('./hammer-54230951.js');
|
|
9
9
|
require('./breakpoints-88c4fd6c.js');
|
|
10
10
|
require('./_commonjsHelpers-119ffc74.js');
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
|
+
const utils = require('./utils-95a9a879.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-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
const index$2 = require('./index-9651dba8.js');
|
|
8
8
|
require('./_commonjsHelpers-119ffc74.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.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-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.js');
|
|
7
7
|
const breakpoints = require('./breakpoints-88c4fd6c.js');
|
|
8
8
|
const hammer = require('./hammer-54230951.js');
|
|
9
9
|
require('./_commonjsHelpers-119ffc74.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-dee3e21d.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-73c33cf4.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
|
|
|
@@ -9,6 +9,7 @@ export var CardVariants;
|
|
|
9
9
|
CardVariants["border"] = "border";
|
|
10
10
|
CardVariants["shadow"] = "shadow";
|
|
11
11
|
CardVariants["overlay"] = "overlay";
|
|
12
|
+
CardVariants["text"] = "text";
|
|
12
13
|
})(CardVariants || (CardVariants = {}));
|
|
13
14
|
export var TabOrientationEnum;
|
|
14
15
|
(function (TabOrientationEnum) {
|
|
@@ -4,6 +4,8 @@ export class ZCard {
|
|
|
4
4
|
constructor() {
|
|
5
5
|
/** Enable click interactions on the card. Default: false */
|
|
6
6
|
this.clickable = false;
|
|
7
|
+
/** Enable shadow. Default: false. */
|
|
8
|
+
this.showshadow = false;
|
|
7
9
|
}
|
|
8
10
|
onClick(ev) {
|
|
9
11
|
// Do nothing for clicks on actions.
|
|
@@ -37,7 +39,21 @@ export class ZCard {
|
|
|
37
39
|
h("slot", { name: "action" })))
|
|
38
40
|
];
|
|
39
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Template for the content div.
|
|
44
|
+
*/
|
|
45
|
+
renderContentDiv() {
|
|
46
|
+
return (h("div", { class: "content" },
|
|
47
|
+
h("slot", { name: "metadata" }),
|
|
48
|
+
h("slot", { name: "title" }),
|
|
49
|
+
h("slot", { name: "text" }),
|
|
50
|
+
h("div", { class: "actions" },
|
|
51
|
+
h("slot", { name: "action" }))));
|
|
52
|
+
}
|
|
40
53
|
render() {
|
|
54
|
+
if (this.variant === CardVariants.text) {
|
|
55
|
+
return this.renderContentDiv();
|
|
56
|
+
}
|
|
41
57
|
if (this.variant === CardVariants.overlay || this.hasCoverImage) {
|
|
42
58
|
return [
|
|
43
59
|
h("div", { class: "cover-container" },
|
|
@@ -46,12 +62,7 @@ export class ZCard {
|
|
|
46
62
|
(this.variant !== CardVariants.overlay) && this.coverIcon && h("z-icon", { name: this.coverIcon })
|
|
47
63
|
],
|
|
48
64
|
!this.hasCoverImage && h("div", { class: "color-cover" })),
|
|
49
|
-
|
|
50
|
-
h("slot", { name: "metadata" }),
|
|
51
|
-
h("slot", { name: "title" }),
|
|
52
|
-
h("slot", { name: "text" }),
|
|
53
|
-
h("div", { class: "actions" },
|
|
54
|
-
h("slot", { name: "action" })))
|
|
65
|
+
this.renderContentDiv()
|
|
55
66
|
];
|
|
56
67
|
}
|
|
57
68
|
return this.renderColorCoverCard();
|
|
@@ -70,7 +81,7 @@ export class ZCard {
|
|
|
70
81
|
"mutable": false,
|
|
71
82
|
"complexType": {
|
|
72
83
|
"original": "CardVariants",
|
|
73
|
-
"resolved": "CardVariants.border | CardVariants.overlay | CardVariants.shadow",
|
|
84
|
+
"resolved": "CardVariants.border | CardVariants.overlay | CardVariants.shadow | CardVariants.text",
|
|
74
85
|
"references": {
|
|
75
86
|
"CardVariants": {
|
|
76
87
|
"location": "import",
|
|
@@ -121,6 +132,24 @@ export class ZCard {
|
|
|
121
132
|
"attribute": "clickable",
|
|
122
133
|
"reflect": true,
|
|
123
134
|
"defaultValue": "false"
|
|
135
|
+
},
|
|
136
|
+
"showshadow": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "boolean",
|
|
141
|
+
"resolved": "boolean",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": false,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": "Enable shadow. Default: false."
|
|
149
|
+
},
|
|
150
|
+
"attribute": "showshadow",
|
|
151
|
+
"reflect": true,
|
|
152
|
+
"defaultValue": "false"
|
|
124
153
|
}
|
|
125
154
|
}; }
|
|
126
155
|
static get states() { return {
|
|
@@ -6,6 +6,9 @@ respecting the grid indications of the design. */
|
|
|
6
6
|
--aspect-ratio: 1.62;
|
|
7
7
|
--z-card--border-color: var(--gray200);
|
|
8
8
|
--z-card--color-cover-background: var(--color-surface01);
|
|
9
|
+
--z-card--text-background: var(--color-surface01);
|
|
10
|
+
--z-card--text-border-radius: none;
|
|
11
|
+
--z-card--text-border: none;
|
|
9
12
|
|
|
10
13
|
position: relative;
|
|
11
14
|
display: flex;
|
|
@@ -128,12 +131,23 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
128
131
|
box-shadow: var(--shadow-focus-primary);
|
|
129
132
|
}
|
|
130
133
|
|
|
134
|
+
:host([variant='text']) {
|
|
135
|
+
background-color: var(--z-card--text-background);
|
|
136
|
+
border: var(--z-card--text-border);
|
|
137
|
+
border-radius: var(--z-card--text-border-radius);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
:host([showshadow]) > .content,
|
|
131
141
|
:host([variant='border']) > .content,
|
|
132
142
|
:host([variant='shadow']) > .content {
|
|
133
143
|
height: 100%;
|
|
134
144
|
padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);
|
|
135
145
|
}
|
|
136
146
|
|
|
147
|
+
:host([variant='text']) > .content {
|
|
148
|
+
padding: calc(var(--space-unit) * 2) var(--space-unit)
|
|
149
|
+
}
|
|
150
|
+
|
|
137
151
|
:host([variant='border']) .actions,
|
|
138
152
|
:host([variant='shadow']) .actions {
|
|
139
153
|
margin-top: auto;
|
|
@@ -157,19 +171,27 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
157
171
|
}
|
|
158
172
|
|
|
159
173
|
/* Shadow */
|
|
160
|
-
:host([variant='shadow'])
|
|
174
|
+
:host([variant='shadow']),
|
|
175
|
+
:host([showshadow])
|
|
176
|
+
{
|
|
161
177
|
box-shadow: var(--shadow-2);
|
|
162
178
|
}
|
|
163
179
|
|
|
164
|
-
:host([variant='shadow'][clickable]:hover)
|
|
180
|
+
:host([variant='shadow'][clickable]:hover),
|
|
181
|
+
:host([clickable][showshadow]:hover)
|
|
182
|
+
{
|
|
165
183
|
box-shadow: var(--shadow-4);
|
|
166
184
|
}
|
|
167
185
|
|
|
168
|
-
:host([variant='shadow'][clickable]:focus:focus-visible)
|
|
186
|
+
:host([variant='shadow'][clickable]:focus:focus-visible),
|
|
187
|
+
:host([clickable][showshadow]:focus:focus-visible)
|
|
188
|
+
{
|
|
169
189
|
box-shadow: var(--shadow-4);
|
|
170
190
|
}
|
|
171
191
|
|
|
172
|
-
:host([variant='shadow'][clickable]:active)
|
|
192
|
+
:host([variant='shadow'][clickable]:active),
|
|
193
|
+
:host([clickable][showshadow]:active)
|
|
194
|
+
{
|
|
173
195
|
box-shadow: none;
|
|
174
196
|
}
|
|
175
197
|
|
|
@@ -20,38 +20,10 @@ export class ZPopover {
|
|
|
20
20
|
/** [optional] Sets padding for Popover container */
|
|
21
21
|
this.padding = "8px";
|
|
22
22
|
this.isVisible = false;
|
|
23
|
+
this.popoverPosition = this.position;
|
|
23
24
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
-
this.checkSpaceAvailable();
|
|
27
|
-
}
|
|
28
|
-
closePopover() {
|
|
29
|
-
this.isVisible = false;
|
|
30
|
-
}
|
|
31
|
-
closePopoverWithKeyboard(e) {
|
|
32
|
-
if (e.key === KeyboardKeys.ESC) {
|
|
33
|
-
this.closePopover();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
handleClick(event) {
|
|
37
|
-
this.isVisible = !this.isVisible;
|
|
38
|
-
this.checkSpaceAvailable();
|
|
39
|
-
event.stopPropagation();
|
|
40
|
-
}
|
|
41
|
-
handleKeyDown(event) {
|
|
42
|
-
if (event.code === KeyboardKeys.ENTER) {
|
|
43
|
-
this.isVisible = !this.isVisible;
|
|
44
|
-
this.checkSpaceAvailable();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
handleOutsideClick(e) {
|
|
48
|
-
const tree = getElementTree(e.target);
|
|
49
|
-
const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
|
|
50
|
-
if (!parent) {
|
|
51
|
-
this.isVisible = false;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
checkSpaceAvailable() {
|
|
26
|
+
openPopover() {
|
|
55
27
|
const width = document.body.clientWidth;
|
|
56
28
|
const height = window.innerHeight;
|
|
57
29
|
const rect = this.popoverElem.getBoundingClientRect();
|
|
@@ -99,7 +71,33 @@ export class ZPopover {
|
|
|
99
71
|
firstSide = "after";
|
|
100
72
|
}
|
|
101
73
|
}
|
|
102
|
-
this.
|
|
74
|
+
this.popoverPosition = PopoverPosition[`${firstSide}-${secondSide}`];
|
|
75
|
+
this.isVisible = true;
|
|
76
|
+
}
|
|
77
|
+
closePopover() {
|
|
78
|
+
this.popoverPosition = this.position;
|
|
79
|
+
this.isVisible = false;
|
|
80
|
+
}
|
|
81
|
+
closePopoverWithKeyboard(e) {
|
|
82
|
+
if (e.key === KeyboardKeys.ESC) {
|
|
83
|
+
this.closePopover();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
handleClick(event) {
|
|
87
|
+
this.isVisible ? this.closePopover() : this.openPopover();
|
|
88
|
+
event.stopPropagation();
|
|
89
|
+
}
|
|
90
|
+
handleKeyDown(event) {
|
|
91
|
+
if (event.code === KeyboardKeys.ENTER) {
|
|
92
|
+
this.isVisible ? this.closePopover() : this.openPopover();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
handleOutsideClick(e) {
|
|
96
|
+
const tree = getElementTree(e.target);
|
|
97
|
+
const parent = tree.find((elem) => elem.nodeName.toLowerCase() === "z-popover");
|
|
98
|
+
if (!parent) {
|
|
99
|
+
this.closePopover();
|
|
100
|
+
}
|
|
103
101
|
}
|
|
104
102
|
render() {
|
|
105
103
|
return (h(Host, { onKeyDown: this.handleKeyDown },
|
|
@@ -109,7 +107,7 @@ export class ZPopover {
|
|
|
109
107
|
}
|
|
110
108
|
} },
|
|
111
109
|
h("slot", { name: "trigger" })),
|
|
112
|
-
h("div", { ref: (e) => (this.popoverElem = e), class: classNames("popover-content-container", this.
|
|
110
|
+
h("div", { ref: (e) => (this.popoverElem = e), class: classNames("popover-content-container", this.popoverPosition, `border-radius-${this.borderRadius}`, this.boxShadow, { "show-arrow": this.showArrow }, { visible: this.isVisible }), style: {
|
|
113
111
|
backgroundColor: `var(--${this.backgroundColor})`,
|
|
114
112
|
padding: this.padding,
|
|
115
113
|
} },
|
|
@@ -126,7 +124,7 @@ export class ZPopover {
|
|
|
126
124
|
static get properties() { return {
|
|
127
125
|
"position": {
|
|
128
126
|
"type": "string",
|
|
129
|
-
"mutable":
|
|
127
|
+
"mutable": false,
|
|
130
128
|
"complexType": {
|
|
131
129
|
"original": "PopoverPosition",
|
|
132
130
|
"resolved": "typeof PopoverPosition[\"above-center\"] | typeof PopoverPosition[\"above-left\"] | typeof PopoverPosition[\"above-right\"] | typeof PopoverPosition[\"after-center\"] | typeof PopoverPosition[\"after-down\"] | typeof PopoverPosition[\"after-up\"] | typeof PopoverPosition[\"before-center\"] | typeof PopoverPosition[\"before-down\"] | typeof PopoverPosition[\"before-up\"] | typeof PopoverPosition[\"below-center\"] | typeof PopoverPosition[\"below-left\"] | typeof PopoverPosition[\"below-right\"]",
|
|
@@ -249,7 +247,8 @@ export class ZPopover {
|
|
|
249
247
|
}
|
|
250
248
|
}; }
|
|
251
249
|
static get states() { return {
|
|
252
|
-
"isVisible": {}
|
|
250
|
+
"isVisible": {},
|
|
251
|
+
"popoverPosition": {}
|
|
253
252
|
}; }
|
|
254
253
|
static get listeners() { return [{
|
|
255
254
|
"name": "closePopover",
|
|
@@ -9,6 +9,7 @@ var CardVariants;
|
|
|
9
9
|
CardVariants["border"] = "border";
|
|
10
10
|
CardVariants["shadow"] = "shadow";
|
|
11
11
|
CardVariants["overlay"] = "overlay";
|
|
12
|
+
CardVariants["text"] = "text";
|
|
12
13
|
})(CardVariants || (CardVariants = {}));
|
|
13
14
|
var TabOrientationEnum;
|
|
14
15
|
(function (TabOrientationEnum) {
|
package/dist/esm/index.js
CHANGED