@zanichelli/albe-web-components 6.6.8 → 6.6.9

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.
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as e,g as r}from"./p-d17ebc2f.js";import{J as i,M as n}from"./p-a23e9115.js";const a=class{constructor(o){t(this,o),this.variant=i.OVERLAY,this.contentPosition=n.TOP}renderContent(){return o("div",{class:"content-container"},o("slot",{name:"content"}))}render(){return o(e,null,this.variant===i.STACKED&&this.contentPosition===n.TOP&&this.renderContent(),o("div",{class:"content-hero"},o("div",{class:"cover"},o("slot",{name:"cover"})),o("slot",{name:"info-reveal"}),this.variant===i.OVERLAY&&this.renderContent()),this.variant===i.STACKED&&this.contentPosition===n.BOTTOM&&this.renderContent())}get el(){return r(this)}};a.style=':host{--cover-hero-height:auto;--cover-hero-overlay:none;--cover-hero-text-color:var(--color-text-inverse);display:block}:host,*{box-sizing:border-box}:host .content-hero{position:relative;width:100%;height:var(--cover-hero-height);min-height:calc(var(--space-unit) * 30);align-items:baseline;background-color:var(--gray600)}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .content-hero .cover{position:absolute;z-index:0;width:100%;height:100%}::slotted([slot="cover"]){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]) .content-hero .cover::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]) .content-hero .content-container{position:relative;height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-text01)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';export{a as z_cover_hero}
@@ -1 +0,0 @@
1
- export * from "./components";
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as e,g as r}from"./p-d17ebc2f.js";import{J as i,M as n}from"./p-a23e9115.js";const a=class{constructor(o){t(this,o),this.variant=i.OVERLAY,this.contentPosition=n.TOP}renderContent(){return o("div",{class:"content-container"},o("slot",{name:"content"}))}render(){return o(e,null,this.variant===i.STACKED&&this.contentPosition===n.TOP&&this.renderContent(),o("div",{class:"content-hero"},o("div",{class:"cover"},o("slot",{name:"cover"})),o("slot",{name:"info-reveal"}),this.variant===i.OVERLAY&&this.renderContent()),this.variant===i.STACKED&&this.contentPosition===n.BOTTOM&&this.renderContent())}get el(){return r(this)}};a.style=':host{--cover-hero-height:auto;--cover-hero-overlay:none;--cover-hero-text-color:var(--color-text-inverse);display:block}:host,*{box-sizing:border-box}:host .content-hero{position:relative;width:100%;height:var(--cover-hero-height);min-height:calc(var(--space-unit) * 30);align-items:baseline;background-color:var(--gray600)}:host .content-container{color:var(--cover-hero-text-color);fill:var(--cover-hero-text-color)}:host .content-hero .cover{position:absolute;z-index:0;width:100%;height:100%}::slotted([slot="cover"]){position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top center}::slotted(z-info-reveal){position:absolute;z-index:1;right:var(--grid-margin);bottom:var(--grid-margin)}:host([variant="overlay"]) .content-hero .cover::after{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--cover-hero-overlay);content:""}:host([variant="overlay"]) .content-hero .content-container{position:relative;height:100%;padding:var(--grid-margin)}:host([variant="stacked"]){--cover-hero-text-color:var(--color-text01)}:host([variant="stacked"]) .content-container ::slotted(*){padding:var(--grid-margin) 0}';export{a as z_cover_hero}