@proximus/lavender-content-header 1.4.9-beta.2 → 1.4.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.
Files changed (2) hide show
  1. package/dist/index.es.js +99 -151
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -1,14 +1,14 @@
1
- import { cssTokenBreakpoints as d, paddingValues as g, gapValues as x, WithExtraAttributes as m, boxShadowValues as P, backgroundSizeValues as S, noBorderRadiusValues as D, borderRadiusValues as H, borderSideValues as O, borderValues as E, gradientValues as f, log as s, backgroundColorValues as u, borderColorValues as C, checkName as h, AttributeBreakpointHandlerDelegate as G, PxElement as L } from "@proximus/lavender-common";
1
+ import { cssTokenBreakpoints as d, paddingValues as g, gapValues as v, WithExtraAttributes as y, boxShadowValues as R, backgroundSizeValues as j, noBorderRadiusValues as P, borderRadiusValues as D, borderSideValues as H, borderValues as G, gradientValues as C, log as s, backgroundColorValues as h, borderColorValues as O, checkName as u, AttributeBreakpointHandlerDelegate as q, PxElement as S } from "@proximus/lavender-common";
2
2
  import "@proximus/lavender-heading";
3
- const q = ":host{--min-height--mobile: 15.625rem;--min-height--tablet: 17.5rem;--min-height--laptop: 17.5rem;--min-height--desktop: 17.5rem}:host,:host>*{display:block;box-sizing:border-box}.content-header{position:relative;z-index:0}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2))}.content-header-content{display:flex;flex-direction:column;gap:var(--px-spacing-l-mobile);z-index:2;position:relative;box-sizing:border-box}.contrast-helper{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;display:none}[contrast-helper-gradient] .contrast-helper{display:block;background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%)}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{display:block;background-color:#ffffffb3}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media screen and (min-width: 48rem){.content-header-content{gap:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media screen and (min-width: 64.0625rem){.content-header-content{gap:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}", N = ':host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media screen and (min-width: 77rem){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-mobile)}@media screen and (min-width: 48rem){.overlapped{margin-bottom:calc(var(--px-overlapped-tablet) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-tablet)}}@media screen and (min-width: 64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-laptop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-laptop)}}', X = ':host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-right-style:none;border-left-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-size:cover;background-position:center center}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]),::slotted([slot="anchor-full"]){position:absolute;top:0}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]){transform:translateY(-50%);z-index:3}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--mobile, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--mobile, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-full"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{display:grid;grid-template-rows:subgrid;grid-row:span var(--subgrid-rows)}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (max-width: 47.938rem){.container{background-color:var(--background-color--mobile, var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile, var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var( --background-gradient--mobile, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--mobile, var(--background-color-inverted) )}.border-side-top--mobile{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (min-width: 48rem) and (max-width: 64rem){.container{background-color:var(--background-color--tablet, var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet, var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var( --background-gradient--tablet, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--tablet, var(--background-color-inverted) )}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--tablet, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--tablet, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (min-width: 64.0625rem){.container{background-color:var(--background-color--laptop, var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop, var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var( --background-gradient--laptop, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--laptop, var(--background-color-inverted) )}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--laptop, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--laptop, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (min-width: 90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}', T = new CSSStyleSheet();
4
- T.replaceSync(X);
5
- const F = [
3
+ const E = ":host{--min-height--mobile: 15.625em;--min-height--tablet: 17.5em;--min-height--laptop: 17.5em;--min-height--desktop: 17.5em}:host,:host>*{display:block;box-sizing:border-box}.content-header{position:relative;z-index:0}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2))}.content-header-content{display:flex;flex-direction:column;gap:var(--px-spacing-l-mobile);z-index:2;position:relative;box-sizing:border-box}.contrast-helper{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;display:none}[contrast-helper-gradient] .contrast-helper{display:block;background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%)}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{display:block;background-color:#ffffffb3}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media only screen and (min-width: 48em){.content-header-content{gap:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media only screen and (min-width: 64.0625em){.content-header-content{gap:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}", X = ':host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media only screen and (min-width: 77em){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-mobile)}@media only screen and (min-width: 48em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}@media only screen and (min-width: 64.0625em){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}', F = ':host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-right-style:none;border-left-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-size:cover;background-position:center center}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]),::slotted([slot="anchor-full"]){position:absolute;top:0}::slotted([slot="anchor-right"]),::slotted([slot="anchor-left"]){transform:translateY(-50%);z-index:3}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--mobile, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--mobile, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-full"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot="anchor-full"]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{display:grid;grid-template-rows:subgrid;grid-row:span var(--subgrid-rows)}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media only screen and (max-width: 47.938em){.container{background-color:var(--background-color--mobile, var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile, var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var( --background-gradient--mobile, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--mobile, var(--background-color-inverted) )}.border-side-top--mobile{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media only screen and (min-width: 48em) and (max-width: 64em){.container{background-color:var(--background-color--tablet, var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet, var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var( --background-gradient--tablet, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--tablet, var(--background-color-inverted) )}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--tablet, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--tablet, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media only screen and (min-width: 64.0625em){.container{background-color:var(--background-color--laptop, var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop, var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var( --background-gradient--laptop, var(--background-gradient) )}:host([inverted]) .container{background-color:var( --background-color-inverted--laptop, var(--background-color-inverted) )}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot="anchor-right"]){right:var( --container-anchor-offset--laptop, var( --container-padding-right, var(--container-padding-inline, var(--container-padding)) ) )}::slotted([slot="anchor-left"]){left:var( --container-anchor-offset--laptop, var( --container-padding-left, var(--container-padding-inline, var(--container-padding)) ) )}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (min-width: 90.0625em){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}', L = new CSSStyleSheet();
4
+ L.replaceSync(F);
5
+ const _ = [
6
6
  "top-patch",
7
7
  "top-neighbor-patch",
8
8
  "top-ribbon",
9
9
  "top-neighbor-ribbon",
10
10
  "top-patch-and-neighbor-ribbon"
11
- ], _ = [
11
+ ], N = [
12
12
  "1",
13
13
  "2",
14
14
  "3",
@@ -21,63 +21,63 @@ const F = [
21
21
  "10",
22
22
  "11",
23
23
  "12"
24
- ], l = (n, t, i) => `:host([${n}${i ? `--${i}` : ""}='${t}']) .container`, p = "px-padding", Z = [
24
+ ], l = (n, t, i) => `:host([${n}${i ? `--${i}` : ""}='${t}']) .container`, b = "px-padding", Z = [
25
25
  d(
26
26
  "padding",
27
27
  l,
28
28
  g,
29
- p,
29
+ b,
30
30
  "--container-padding"
31
31
  ),
32
32
  d(
33
33
  "padding-inline",
34
34
  l,
35
35
  g,
36
- p
36
+ b
37
37
  ),
38
38
  d(
39
39
  "padding-block",
40
40
  l,
41
41
  g,
42
- p
42
+ b
43
43
  ),
44
44
  d(
45
45
  "padding-top",
46
46
  l,
47
47
  g,
48
- p
48
+ b
49
49
  ),
50
50
  d(
51
51
  "padding-right",
52
52
  l,
53
53
  g,
54
- p,
54
+ b,
55
55
  "--container-padding-right"
56
56
  ),
57
57
  d(
58
58
  "padding-bottom",
59
59
  l,
60
60
  g,
61
- p
61
+ b
62
62
  ),
63
63
  d(
64
64
  "padding-left",
65
65
  l,
66
66
  g,
67
- p,
67
+ b,
68
68
  "--container-padding-left"
69
69
  ),
70
70
  d(
71
71
  "gap",
72
72
  l,
73
- x,
73
+ v,
74
74
  "px-spacing",
75
75
  void 0,
76
76
  "subgrid-gap"
77
77
  )
78
- ], $ = class $ extends m {
78
+ ], A = class A extends y {
79
79
  constructor() {
80
- super(T, ...Z), this.template = () => `<div class="container">
80
+ super(L, ...Z), this.template = () => `<div class="container">
81
81
  <slot></slot>
82
82
  <slot name="anchor-left"></slot>
83
83
  <slot name="anchor-right"></slot>
@@ -141,7 +141,7 @@ const F = [
141
141
  if (i !== e)
142
142
  switch (t) {
143
143
  case "border":
144
- this.updateAttribute(t, i, e, E);
144
+ this.updateAttribute(t, i, e, G);
145
145
  break;
146
146
  case "border-color":
147
147
  this.updateBorderColor(t, e);
@@ -150,14 +150,14 @@ const F = [
150
150
  case "border-side--mobile":
151
151
  case "border-side--tablet":
152
152
  case "border-side--laptop":
153
- this.updateAttribute(t, i, e, O);
153
+ this.updateAttribute(t, i, e, H);
154
154
  break;
155
155
  case "border-radius":
156
156
  this.updateAttribute(
157
157
  t,
158
158
  i,
159
159
  e,
160
- H
160
+ D
161
161
  );
162
162
  break;
163
163
  case "no-border-radius":
@@ -168,7 +168,7 @@ const F = [
168
168
  t,
169
169
  i,
170
170
  e,
171
- D
171
+ P
172
172
  );
173
173
  break;
174
174
  case "background-color":
@@ -188,7 +188,7 @@ const F = [
188
188
  t,
189
189
  i,
190
190
  e,
191
- S
191
+ j
192
192
  );
193
193
  break;
194
194
  case "background-image":
@@ -201,20 +201,20 @@ const F = [
201
201
  e !== null && e !== "" && (this.$el.style.backgroundPosition = e);
202
202
  break;
203
203
  case "box-shadow":
204
- this.updateAttribute(t, i, e, P);
204
+ this.updateAttribute(t, i, e, R);
205
205
  break;
206
206
  case "anchor-offset":
207
207
  this.updateAnchorOffset(i, e, g);
208
208
  break;
209
209
  case "anchor-spacing":
210
- this.updateAnchorSpacing(i, e, F);
210
+ this.updateAnchorSpacing(i, e, _);
211
211
  break;
212
212
  case "subgrid-rows":
213
213
  this.updateSubgridRows(
214
214
  t,
215
215
  i,
216
216
  e,
217
- _
217
+ N
218
218
  );
219
219
  break;
220
220
  default:
@@ -237,7 +237,7 @@ const F = [
237
237
  this.$el.style.setProperty(`--${t}`, `url("${i}")`);
238
238
  }
239
239
  updateGradient(t, i) {
240
- if (this.checkName(f, i)) {
240
+ if (this.checkName(C, i)) {
241
241
  const e = this.splitAttrNameFromBreakpoint(t);
242
242
  t = e.attrName;
243
243
  const o = e.breakpoint;
@@ -247,12 +247,12 @@ const F = [
247
247
  );
248
248
  } else
249
249
  s(
250
- `"${i}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${f.join('", "')}".`
250
+ `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
251
251
  );
252
252
  }
253
253
  updateBackgroundColor(t, i) {
254
254
  const e = i.startsWith("surface-");
255
- if (this.checkName(u, i)) {
255
+ if (this.checkName(h, i)) {
256
256
  const o = this.splitAttrNameFromBreakpoint(t), r = o.breakpoint;
257
257
  this.$el.style.setProperty(
258
258
  `--${o.attrName}${r}`,
@@ -263,24 +263,24 @@ const F = [
263
263
  );
264
264
  } else
265
265
  s(
266
- `"${i}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${u.join('", "')}".`
266
+ `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
267
267
  );
268
268
  }
269
269
  updateBorderColor(t, i) {
270
- this.checkName(C, i) ? (this.$el.style.setProperty(
270
+ this.checkName(O, i) ? (this.$el.style.setProperty(
271
271
  `--${t}`,
272
272
  `var(--px-color-border-${i}-default)`
273
273
  ), this.$el.style.setProperty(
274
274
  `--${t}-inverted`,
275
275
  `var(--px-color-border-${i}-inverted)`
276
276
  )) : s(
277
- `"${i}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${C.join('", "')}".`
277
+ `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
278
278
  );
279
279
  }
280
280
  updateNoBorderRadius(t, i, e, o) {
281
281
  if (!this.checkName(o, e))
282
282
  s(
283
- `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
283
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
284
284
  );
285
285
  else {
286
286
  const r = this.splitAttrNameFromBreakpoint(t), a = r.breakpoint;
@@ -294,7 +294,7 @@ const F = [
294
294
  updateAttribute(t, i, e, o) {
295
295
  if (!this.checkName(o, e))
296
296
  s(
297
- `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
297
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
298
298
  );
299
299
  else {
300
300
  const r = this.splitAttrNameFromBreakpoint(t), a = r.breakpoint;
@@ -316,9 +316,9 @@ const F = [
316
316
  return { attrName: t, breakpoint: i };
317
317
  }
318
318
  updateAnchorOffset(t, i, e) {
319
- if (!h(e, i)) {
319
+ if (!u(e, i)) {
320
320
  s(
321
- `"${i}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${e.join('", "')}".`
321
+ `${i} is not a valid anchor-offset value for ${this.tagName.toLowerCase()}`
322
322
  );
323
323
  return;
324
324
  }
@@ -340,9 +340,9 @@ const F = [
340
340
  this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
341
341
  }
342
342
  updateAnchorSpacing(t, i, e) {
343
- if (!h(e, i)) {
343
+ if (!u(e, i)) {
344
344
  s(
345
- `"${i}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${e.join('", "')}".`
345
+ `${i} is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}`
346
346
  );
347
347
  return;
348
348
  }
@@ -364,8 +364,8 @@ const F = [
364
364
  o(t), o(i);
365
365
  }
366
366
  updateSubgridRows(t, i, e, o) {
367
- h(o, e) ? this.style.setProperty(`--${t}`, e) : s(
368
- `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
367
+ u(o, e) ? this.style.setProperty(`--${t}`, e) : s(
368
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
369
369
  );
370
370
  }
371
371
  get $el() {
@@ -748,11 +748,11 @@ const F = [
748
748
  this.setAttribute("subgrid-gap--laptop", t);
749
749
  }
750
750
  };
751
- $.nativeName = "div";
752
- let k = $;
753
- customElements.get("px-container") || customElements.define("px-container", k);
754
- const W = ':host{display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{display:flex;height:100%;width:100%;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);overflow-x:var(--overflow-x-all)}@media screen and (max-width: 47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (min-width: 48rem){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (min-width: 48rem) and (max-width: 64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (min-width: 64.0625rem){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (min-width: 64.0625rem) and (max-width: 90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop, var(--overflow-x-all))}}@media screen and (min-width: 90.0625rem){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop, var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}', I = new CSSStyleSheet();
755
- I.replaceSync(W);
751
+ A.nativeName = "div";
752
+ let m = A;
753
+ customElements.get("px-container") || customElements.define("px-container", m);
754
+ const W = ':host{display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{display:flex;height:100%;width:100%;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);overflow-x:var(--overflow-x-all)}@media only screen and (max-width: 47.9375em){.flex-container{overflow-x:var(--overflow-x-all-mobile, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 48em){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media only screen and (min-width: 48em) and (max-width: 64em){.flex-container{overflow-x:var(--overflow-x-all-tablet, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 64.0625em){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.flex-container{overflow-x:var(--overflow-x-all-laptop, var(--overflow-x-all))}}@media only screen and (min-width: 90.0625em){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop, var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}', T = new CSSStyleSheet();
755
+ T.replaceSync(W);
756
756
  const Y = [
757
757
  "",
758
758
  "default",
@@ -765,26 +765,22 @@ const Y = [
765
765
  "default",
766
766
  "stretch",
767
767
  "flex-start",
768
- "start",
769
768
  "flex-end",
770
- "end",
771
769
  "center",
772
770
  "baseline"
773
771
  ], K = [
774
772
  "",
775
773
  "default",
776
774
  "flex-start",
777
- "start",
778
775
  "flex-end",
779
- "end",
780
776
  "center",
781
777
  "space-between",
782
778
  "space-around",
783
779
  "space-evenly"
784
780
  ], Q = ["", "default", "nowrap", "wrap", "wrap-reverse"], U = ["", "visible", "hidden", "scroll", "auto"];
785
- class A extends m {
781
+ class x extends y {
786
782
  constructor() {
787
- super(I), this.overflowXAttributeDelegate = new G(
783
+ super(T), this.overflowXAttributeDelegate = new q(
788
784
  this,
789
785
  "overflow-x",
790
786
  (t) => t,
@@ -838,7 +834,7 @@ class A extends m {
838
834
  case "gap--tablet":
839
835
  case "gap--laptop":
840
836
  case "gap--desktop":
841
- this.updateFlexProperties(t, i, e, x);
837
+ this.updateFlexProperties(t, i, e, v);
842
838
  break;
843
839
  case "justify-content":
844
840
  case "justify-content--mobile":
@@ -886,9 +882,9 @@ class A extends m {
886
882
  }
887
883
  }
888
884
  updateOverflowX(t, i, e, o) {
889
- if (!h(o, e)) {
885
+ if (!u(o, e)) {
890
886
  s(
891
- `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
887
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
892
888
  );
893
889
  return;
894
890
  }
@@ -900,16 +896,16 @@ class A extends m {
900
896
  }
901
897
  updateFlexProperties(t, i, e, o) {
902
898
  this.checkName(o, e) || s(
903
- `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
899
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
904
900
  );
905
- const r = t.indexOf("--") > -1, a = r ? t.split("--")[0] : t, c = [];
901
+ const r = t.indexOf("--") > -1, a = r ? t.split("--")[0] : t, p = [];
906
902
  if (!r)
907
- this.getAttribute(a + "--mobile") || c.push("mobile"), this.getAttribute(a + "--tablet") || c.push("tablet"), this.getAttribute(a + "--laptop") || c.push("laptop"), this.getAttribute(a + "--desktop") || c.push("desktop"), c.forEach((b) => {
908
- this.updateStyle(a, b, i, o), this.updateStyle(a, b, e, o);
903
+ this.getAttribute(a + "--mobile") || p.push("mobile"), this.getAttribute(a + "--tablet") || p.push("tablet"), this.getAttribute(a + "--laptop") || p.push("laptop"), this.getAttribute(a + "--desktop") || p.push("desktop"), p.forEach((c) => {
904
+ this.updateStyle(a, c, i, o), this.updateStyle(a, c, e, o);
909
905
  });
910
906
  else {
911
- const b = t.split("--")[1];
912
- this.updateStyle(a, b, i, o), this.updateStyle(a, b, e, o);
907
+ const c = t.split("--")[1];
908
+ this.updateStyle(a, c, i, o), this.updateStyle(a, c, e, o);
913
909
  }
914
910
  }
915
911
  updateStyle(t, i, e, o) {
@@ -1108,8 +1104,8 @@ class A extends m {
1108
1104
  return this.shadowRoot.querySelector(".flex-container");
1109
1105
  }
1110
1106
  }
1111
- customElements.get("px-stack") || customElements.define("px-stack", A);
1112
- class V extends A {
1107
+ customElements.get("px-stack") || customElements.define("px-stack", x);
1108
+ class V extends x {
1113
1109
  constructor() {
1114
1110
  super();
1115
1111
  }
@@ -1118,7 +1114,7 @@ class V extends A {
1118
1114
  }
1119
1115
  }
1120
1116
  customElements.get("px-vstack") || customElements.define("px-vstack", V);
1121
- class tt extends A {
1117
+ class tt extends x {
1122
1118
  constructor() {
1123
1119
  super();
1124
1120
  }
@@ -1175,11 +1171,11 @@ class et extends HTMLElement {
1175
1171
  }
1176
1172
  }
1177
1173
  customElements.get("px-spacer") || customElements.define("px-spacer", et);
1178
- const it = ":host{display:block;box-sizing:border-box}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", M = new CSSStyleSheet();
1179
- M.replaceSync(it);
1180
- class ot extends m {
1174
+ const it = ":host{display:block;box-sizing:border-box}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5em}", I = new CSSStyleSheet();
1175
+ I.replaceSync(it);
1176
+ class ot extends y {
1181
1177
  constructor() {
1182
- super(M), this.template = (t) => `
1178
+ super(I), this.template = (t) => `
1183
1179
  <px-container border-radius="none" padding="none">
1184
1180
  <px-vstack>
1185
1181
  <px-container id="header-container" border-radius="none">
@@ -1356,7 +1352,7 @@ class ot extends m {
1356
1352
  case "background-color":
1357
1353
  this.$bodyContainer.setAttribute(
1358
1354
  "background-color",
1359
- u.indexOf(e) > 0 ? e : "none"
1355
+ h.indexOf(e) > 0 ? e : "none"
1360
1356
  );
1361
1357
  break;
1362
1358
  case "padding-vertical":
@@ -1377,11 +1373,11 @@ class ot extends m {
1377
1373
  }
1378
1374
  }
1379
1375
  customElements.get("px-page") === void 0 && customElements.define("px-page", ot);
1380
- const B = new CSSStyleSheet();
1381
- B.replaceSync(N);
1382
- class rt extends m {
1376
+ const M = new CSSStyleSheet();
1377
+ M.replaceSync(X);
1378
+ class rt extends HTMLElement {
1383
1379
  constructor() {
1384
- super(B), this.template = () => `
1380
+ super(), this.template = () => `
1385
1381
  <px-container border-radius="none" padding-inline="none">
1386
1382
  <div class="content-wrapper">
1387
1383
  <px-vstack gap="heading-to-content">
@@ -1395,18 +1391,15 @@ class rt extends m {
1395
1391
  <div class="content-wrapper">
1396
1392
  <slot name="overlap"></slot>
1397
1393
  </div>
1398
- `, this.shadowRoot.innerHTML = this.template();
1394
+ `, this.attachShadow({ mode: "open" }), this.shadowRoot.innerHTML = this.template(), this.shadowRoot.adoptedStyleSheets = [M];
1399
1395
  }
1400
1396
  connectedCallback() {
1401
- var t, i;
1402
- this.$container.setAttribute("background-color", this.backgroundColor), !this.paddingBlock && !this.paddingTop && !this.paddingBottom && !this.paddingBlockMobile && !this.paddingTopMobile && !this.paddingBottomMobile && !this.paddingBlockTablet && !this.paddingTopTablet && !this.paddingBottomTablet && !this.paddingBlockLaptop && !this.paddingTopLaptop && !this.paddingBottomLaptop && (this.$container.paddingBlock = "none"), this.setHeadingSpacing = this.setHeadingSpacing.bind(this), this.setHeadingSpacing(), (t = this.$slotHeading) == null || t.addEventListener("slotchange", this.setHeadingSpacing), this.toggleOverlapSpacing = this.toggleOverlapSpacing.bind(this), this.toggleOverlapSpacing(), (i = this.$slotOverlap) == null || i.addEventListener(
1403
- "slotchange",
1404
- this.toggleOverlapSpacing
1405
- );
1397
+ this.$container.setAttribute("background-color", this.backgroundColor), this.$slotOverlap && this.shadowRoot.firstElementChild.querySelector(".content-wrapper").classList.add("overlapped");
1398
+ const t = this.querySelector('[slot="heading"]');
1399
+ !this.paddingBlock && !this.paddingTop && !this.paddingBottom && !this.paddingBlockMobile && !this.paddingTopMobile && !this.paddingBottomMobile && !this.paddingBlockTablet && !this.paddingTopTablet && !this.paddingBottomTablet && !this.paddingBlockLaptop && !this.paddingTopLaptop && !this.paddingBottomLaptop && (this.$container.paddingBlock = "none"), t || this.shadowRoot.querySelector("px-vstack").setAttribute("gap", "none");
1406
1400
  }
1407
1401
  static get observedAttributes() {
1408
1402
  return [
1409
- ...super.observedAttributes,
1410
1403
  "background-color",
1411
1404
  "background-gradient",
1412
1405
  "background-image",
@@ -1434,11 +1427,14 @@ class rt extends m {
1434
1427
  "border-side--laptop"
1435
1428
  ];
1436
1429
  }
1430
+ get $container() {
1431
+ return this.shadowRoot.querySelector("px-container");
1432
+ }
1437
1433
  attributeChangedCallback(t, i, e) {
1438
1434
  if (i !== e)
1439
1435
  switch (t) {
1440
1436
  case "background-color":
1441
- this.$container.backgroundColor = u.indexOf(e) > 0 ? e : "none";
1437
+ this.$container.backgroundColor = h.indexOf(e) > 0 ? e : "none";
1442
1438
  break;
1443
1439
  case "background-gradient":
1444
1440
  this.$container.gradient = this.gradient;
@@ -1512,61 +1508,11 @@ class rt extends m {
1512
1508
  case "border-side--laptop":
1513
1509
  this.$container.borderSideLaptop = e;
1514
1510
  break;
1515
- default:
1516
- super.attributeChangedCallback(t, i, e);
1517
- break;
1518
1511
  }
1519
1512
  }
1520
- disconnectedCallback() {
1521
- var t, i;
1522
- (t = this.$slotHeading) == null || t.removeEventListener(
1523
- "slotchange",
1524
- this.setHeadingSpacing
1525
- ), (i = this.$slotOverlap) == null || i.removeEventListener(
1526
- "slotchange",
1527
- this.toggleOverlapSpacing
1528
- );
1529
- }
1530
- toggleOverlapSpacing() {
1531
- const t = this.$slotOverlap, i = this.$mainContentWrapper;
1532
- if (!t || !i) return;
1533
- const o = t.assignedNodes({ flatten: !0 }).some(this.isNotEmptyNode);
1534
- i.classList.toggle("overlapped", o);
1535
- }
1536
- isNotEmptyNode(t) {
1537
- return t.nodeType === Node.ELEMENT_NODE ? !0 : t.nodeType === Node.TEXT_NODE ? (t.textContent ?? "").trim().length > 0 : !1;
1538
- }
1539
- setHeadingSpacing() {
1540
- var e;
1541
- const t = this.$slotHeading, i = (e = this.shadowRoot) == null ? void 0 : e.querySelector("px-vstack");
1542
- t && i && (t.assignedElements().length > 0 ? i.setAttribute("gap", "heading-to-content") : i.setAttribute("gap", "none"));
1543
- }
1544
- get $container() {
1545
- var t;
1546
- return (t = this.shadowRoot) == null ? void 0 : t.querySelector("px-container");
1547
- }
1548
- get $mainContentWrapper() {
1549
- var t;
1550
- return (t = this.$container) == null ? void 0 : t.querySelector(".content-wrapper");
1551
- }
1552
1513
  get $slotOverlap() {
1553
- var t;
1554
- return (t = this.shadowRoot) == null ? void 0 : t.querySelector(
1555
- 'slot[name="overlap"]'
1556
- );
1557
- }
1558
- get $slottedOverlap() {
1559
1514
  return this.querySelector('[slot="overlap"]');
1560
1515
  }
1561
- get $slotHeading() {
1562
- var t;
1563
- return (t = this.shadowRoot) == null ? void 0 : t.querySelector(
1564
- 'slot[name="heading"]'
1565
- );
1566
- }
1567
- get $slottedHeading() {
1568
- return this.querySelector('[slot="heading"]');
1569
- }
1570
1516
  get backgroundColor() {
1571
1517
  return this.getAttribute("background-color") || "none";
1572
1518
  }
@@ -1719,8 +1665,8 @@ class rt extends m {
1719
1665
  }
1720
1666
  }
1721
1667
  customElements.get("px-section") || customElements.define("px-section", rt);
1722
- const at = ":host{display:block;--grid-cols: initial;--grid-cols--mobile: initial;--grid-cols--tablet: initial;--grid-cols--laptop: initial;--grid-cols--desktop: initial;--justify-content: initial;--justify-items: initial;--align-content: initial;--align-items: initial}.grid{display:grid;grid-template-columns:repeat(var(--grid-cols),minmax(0,1fr));justify-content:var(--justify-content);justify-items:var(--justify-items);align-content:var(--align-content);align-items:var(--align-items)}.justify-content-normal{justify-content:normal}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-center{justify-content:center}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.justify-content-space-evenly{justify-content:space-evenly}.justify-content-stretch{justify-content:stretch}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.align-content-normal{align-content:normal}.align-content-start{align-content:start}.align-content-end{align-content:end}.align-content-center{align-content:center}.align-content-space-between{align-content:space-between}.align-content-space-around{align-content:space-around}.align-content-space-evenly{align-content:space-evenly}.align-content-stretch{align-content:stretch}.align-items-start{align-items:start}.align-items-end{align-items:end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}@media screen and (max-width: 47.938rem){.grid{grid-template-columns:repeat(var(--grid-cols--mobile, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-mobile{justify-content:normal}.justify-content-start-mobile{justify-content:start}.justify-content-end-mobile{justify-content:end}.justify-content-center-mobile{justify-content:center}.justify-content-space-between-mobile{justify-content:space-between}.justify-content-space-around-mobile{justify-content:space-around}.justify-content-space-evenly-mobile{justify-content:space-evenly}.justify-content-stretch-mobile{justify-content:stretch}.justify-items-start-mobile{justify-items:start}.justify-items-end-mobile{justify-items:end}.justify-items-center-mobile{justify-items:center}.justify-items-stretch-mobile{justify-items:stretch}.align-content-normal-mobile{align-content:normal}.align-content-start-mobile{align-content:start}.align-content-end-mobile{align-content:end}.align-content-center-mobile{align-content:center}.align-content-space-between-mobile{align-content:space-between}.align-content-space-around-mobile{align-content:space-around}.align-content-space-evenly-mobile{align-content:space-evenly}.align-content-stretch-mobile{align-content:stretch}.align-items-start-mobile{align-items:start}.align-items-end-mobile{align-items:end}.align-items-center-mobile{align-items:center}.align-items-stretch-mobile{align-items:stretch}}@media screen and (min-width: 48rem) and (max-width: 64rem){.grid{grid-template-columns:repeat(var(--grid-cols--tablet, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-tablet{justify-content:normal}.justify-content-start-tablet{justify-content:start}.justify-content-end-tablet{justify-content:end}.justify-content-center-tablet{justify-content:center}.justify-content-space-between-tablet{justify-content:space-between}.justify-content-space-around-tablet{justify-content:space-around}.justify-content-space-evenly-tablet{justify-content:space-evenly}.justify-content-stretch-tablet{justify-content:stretch}.justify-items-start-tablet{justify-items:start}.justify-items-end-tablet{justify-items:end}.justify-items-center-tablet{justify-items:center}.justify-items-stretch-tablet{justify-items:stretch}.align-content-normal-tablet{align-content:normal}.align-content-start-tablet{align-content:start}.align-content-end-tablet{align-content:end}.align-content-center-tablet{align-content:center}.align-content-space-between-tablet{align-content:space-between}.align-content-space-around-tablet{align-content:space-around}.align-content-space-evenly-tablet{align-content:space-evenly}.align-content-stretch-tablet{align-content:stretch}.align-items-start-tablet{align-items:start}.align-items-end-tablet{align-items:end}.align-items-center-tablet{align-items:center}.align-items-stretch-tablet{align-items:stretch}}@media screen and (min-width: 64.0625rem){.grid{grid-template-columns:repeat(var(--grid-cols--laptop, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-laptop{justify-content:normal}.justify-content-start-laptop{justify-content:start}.justify-content-end-laptop{justify-content:end}.justify-content-center-laptop{justify-content:center}.justify-content-space-between-laptop{justify-content:space-between}.justify-content-space-around-laptop{justify-content:space-around}.justify-content-space-evenly-laptop{justify-content:space-evenly}.justify-content-stretch-laptop{justify-content:stretch}.justify-items-start-laptop{justify-items:start}.justify-items-end-laptop{justify-items:end}.justify-items-center-laptop{justify-items:center}.justify-items-stretch-laptop{justify-items:stretch}.align-content-normal-laptop{align-content:normal}.align-content-start-laptop{align-content:start}.align-content-end-laptop{align-content:end}.align-content-center-laptop{align-content:center}.align-content-space-between-laptop{align-content:space-between}.align-content-space-around-laptop{align-content:space-around}.align-content-space-evenly-laptop{align-content:space-evenly}.align-content-stretch-laptop{align-content:stretch}.align-items-start-laptop{align-items:start}.align-items-end-laptop{align-items:end}.align-items-center-laptop{align-items:center}.align-items-stretch-laptop{align-items:stretch}}", z = new CSSStyleSheet();
1723
- z.replaceSync(at);
1668
+ const at = ":host{display:block;--grid-cols: initial;--grid-cols--mobile: initial;--grid-cols--tablet: initial;--grid-cols--laptop: initial;--grid-cols--desktop: initial;--justify-content: initial;--justify-items: initial;--align-content: initial;--align-items: initial}.grid{display:grid;grid-template-columns:repeat(var(--grid-cols),minmax(0,1fr));justify-content:var(--justify-content);justify-items:var(--justify-items);align-content:var(--align-content);align-items:var(--align-items)}.justify-content-normal{justify-content:normal}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-center{justify-content:center}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.justify-content-space-evenly{justify-content:space-evenly}.justify-content-stretch{justify-content:stretch}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.align-content-normal{align-content:normal}.align-content-start{align-content:start}.align-content-end{align-content:end}.align-content-center{align-content:center}.align-content-space-between{align-content:space-between}.align-content-space-around{align-content:space-around}.align-content-space-evenly{align-content:space-evenly}.align-content-stretch{align-content:stretch}.align-items-start{align-items:start}.align-items-end{align-items:end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}@media only screen and (max-width: 767px){.grid{grid-template-columns:repeat(var(--grid-cols--mobile, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-mobile{justify-content:normal}.justify-content-start-mobile{justify-content:start}.justify-content-end-mobile{justify-content:end}.justify-content-center-mobile{justify-content:center}.justify-content-space-between-mobile{justify-content:space-between}.justify-content-space-around-mobile{justify-content:space-around}.justify-content-space-evenly-mobile{justify-content:space-evenly}.justify-content-stretch-mobile{justify-content:stretch}.justify-items-start-mobile{justify-items:start}.justify-items-end-mobile{justify-items:end}.justify-items-center-mobile{justify-items:center}.justify-items-stretch-mobile{justify-items:stretch}.align-content-normal-mobile{align-content:normal}.align-content-start-mobile{align-content:start}.align-content-end-mobile{align-content:end}.align-content-center-mobile{align-content:center}.align-content-space-between-mobile{align-content:space-between}.align-content-space-around-mobile{align-content:space-around}.align-content-space-evenly-mobile{align-content:space-evenly}.align-content-stretch-mobile{align-content:stretch}.align-items-start-mobile{align-items:start}.align-items-end-mobile{align-items:end}.align-items-center-mobile{align-items:center}.align-items-stretch-mobile{align-items:stretch}}@media only screen and (min-width: 48em) and (max-width: 64em){.grid{grid-template-columns:repeat(var(--grid-cols--tablet, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-tablet{justify-content:normal}.justify-content-start-tablet{justify-content:start}.justify-content-end-tablet{justify-content:end}.justify-content-center-tablet{justify-content:center}.justify-content-space-between-tablet{justify-content:space-between}.justify-content-space-around-tablet{justify-content:space-around}.justify-content-space-evenly-tablet{justify-content:space-evenly}.justify-content-stretch-tablet{justify-content:stretch}.justify-items-start-tablet{justify-items:start}.justify-items-end-tablet{justify-items:end}.justify-items-center-tablet{justify-items:center}.justify-items-stretch-tablet{justify-items:stretch}.align-content-normal-tablet{align-content:normal}.align-content-start-tablet{align-content:start}.align-content-end-tablet{align-content:end}.align-content-center-tablet{align-content:center}.align-content-space-between-tablet{align-content:space-between}.align-content-space-around-tablet{align-content:space-around}.align-content-space-evenly-tablet{align-content:space-evenly}.align-content-stretch-tablet{align-content:stretch}.align-items-start-tablet{align-items:start}.align-items-end-tablet{align-items:end}.align-items-center-tablet{align-items:center}.align-items-stretch-tablet{align-items:stretch}}@media only screen and (min-width: 64.0625em){.grid{grid-template-columns:repeat(var(--grid-cols--laptop, var(--grid-cols)),minmax(0,1fr))}.justify-content-normal-laptop{justify-content:normal}.justify-content-start-laptop{justify-content:start}.justify-content-end-laptop{justify-content:end}.justify-content-center-laptop{justify-content:center}.justify-content-space-between-laptop{justify-content:space-between}.justify-content-space-around-laptop{justify-content:space-around}.justify-content-space-evenly-laptop{justify-content:space-evenly}.justify-content-stretch-laptop{justify-content:stretch}.justify-items-start-laptop{justify-items:start}.justify-items-end-laptop{justify-items:end}.justify-items-center-laptop{justify-items:center}.justify-items-stretch-laptop{justify-items:stretch}.align-content-normal-laptop{align-content:normal}.align-content-start-laptop{align-content:start}.align-content-end-laptop{align-content:end}.align-content-center-laptop{align-content:center}.align-content-space-between-laptop{align-content:space-between}.align-content-space-around-laptop{align-content:space-around}.align-content-space-evenly-laptop{align-content:space-evenly}.align-content-stretch-laptop{align-content:stretch}.align-items-start-laptop{align-items:start}.align-items-end-laptop{align-items:end}.align-items-center-laptop{align-items:center}.align-items-stretch-laptop{align-items:stretch}}", B = new CSSStyleSheet();
1669
+ B.replaceSync(at);
1724
1670
  const st = [
1725
1671
  "1",
1726
1672
  "2",
@@ -1743,15 +1689,15 @@ const st = [
1743
1689
  "space-around",
1744
1690
  "space-evenly",
1745
1691
  "stretch"
1746
- ], dt = ["", "start", "end", "center", "stretch"], lt = (n, t, i) => `:host([${n}${i ? `--${i}` : ""}='${t}']) .grid`, gt = "px-spacing", pt = d(
1692
+ ], dt = ["", "start", "end", "center", "stretch"], lt = (n, t, i) => `:host([${n}${i ? `--${i}` : ""}='${t}']) .grid`, gt = "px-spacing", bt = d(
1747
1693
  "gap",
1748
1694
  lt,
1749
- x,
1695
+ v,
1750
1696
  gt,
1751
1697
  "--grid-gap"
1752
- ), w = class w extends L {
1698
+ ), $ = class $ extends S {
1753
1699
  constructor() {
1754
- super(z, pt), this.template = () => `<div class="grid">
1700
+ super(B, bt), this.template = () => `<div class="grid">
1755
1701
  <slot></slot>
1756
1702
  </div>`, this.shadowRoot.innerHTML = this.template();
1757
1703
  }
@@ -1838,7 +1784,7 @@ const st = [
1838
1784
  updateGap(t, i, e) {
1839
1785
  if (!this.checkName(e, i)) {
1840
1786
  s(
1841
- `"${i}" is not a valid gap value for ${this.tagName.toLowerCase()}. Allowed values are: "${e.join('", "')}".`
1787
+ `${i} is not an allowed gap value for ${this.tagName.toLowerCase()}`
1842
1788
  );
1843
1789
  return;
1844
1790
  }
@@ -1858,7 +1804,7 @@ const st = [
1858
1804
  }
1859
1805
  updateAttribute(t, i, e, o) {
1860
1806
  this.checkName(o, e) ? t === "grid-cols" || t === "grid-cols--mobile" || t === "grid-cols--tablet" || t === "grid-cols--laptop" || t === "grid-cols--desktop" ? this.$el.style.setProperty(`--${t}`, e) : (i !== null && i !== "" && i !== "default" && this.$el.classList.toggle(`${t}-${i}`), e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`${t}-${e}`)) : s(
1861
- `"${e}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
1807
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1862
1808
  );
1863
1809
  }
1864
1810
  get gap() {
@@ -2030,14 +1976,14 @@ const st = [
2030
1976
  this.setAttribute("align-items--desktop", t);
2031
1977
  }
2032
1978
  };
2033
- w.nativeName = "div";
2034
- let v = w;
2035
- customElements.get("px-grid") || customElements.define("px-grid", v);
2036
- const R = new CSSStyleSheet();
2037
- R.replaceSync(q);
2038
- const j = class j extends L {
1979
+ $.nativeName = "div";
1980
+ let f = $;
1981
+ customElements.get("px-grid") || customElements.define("px-grid", f);
1982
+ const z = new CSSStyleSheet();
1983
+ z.replaceSync(E);
1984
+ const w = class w extends S {
2039
1985
  constructor() {
2040
- super(R), this.template = () => `<div class="content-header">
1986
+ super(z), this.template = () => `<div class="content-header">
2041
1987
  <div class="contrast-helper"></div>
2042
1988
  <px-section padding-block="l">
2043
1989
  <px-grid gap="none">
@@ -2050,7 +1996,6 @@ const j = class j extends L {
2050
1996
  </div>
2051
1997
  </px-container>
2052
1998
  </px-grid>
2053
- <slot name="overlap" slot="overlap"></slot>
2054
1999
  </px-section>
2055
2000
  </div>`, this.shadowRoot.innerHTML = this.template();
2056
2001
  }
@@ -2083,16 +2028,19 @@ const j = class j extends L {
2083
2028
  <slot name="patch" shrink></slot>
2084
2029
  <slot name="patch-description"></slot>
2085
2030
  </px-stack>`
2031
+ ), this.$overlapSlot && this.shadowRoot.querySelector("px-section").insertAdjacentHTML(
2032
+ "beforeend",
2033
+ '<slot name="overlap" slot="overlap"></slot>'
2086
2034
  ), this.$subtitleSlot && this.$subtitleSlot.setAttribute("variant", "subtitle"), this.$patchDescriptionSlot && (this.$patchDescriptionSlot.localName === "px-p" && this.$patchDescriptionSlot.setAttribute("variant", "default"), (this.$patchDescriptionSlot.localName === "px-p" || this.$patchDescriptionSlot.localName === "px-span") && (this.$patchDescriptionSlot.setAttribute("font-size", "body-l"), this.$patchDescriptionSlot.removeAttribute("font-weight"), this.$patchDescriptionSlot.removeAttribute("color")), this.$patchDescriptionSlot.localName === "px-price" && this.$patchDescriptionSlot.setAttribute("size", "m")), this.createGridding();
2087
2035
  }
2088
2036
  attributeChangedCallback(t, i, e) {
2089
2037
  if (i !== e)
2090
2038
  switch (t) {
2091
2039
  case "background-color":
2092
- this.$section.backgroundColor = u.indexOf(e) > 0 ? e : "none";
2040
+ this.$section.backgroundColor = h.indexOf(e) > 0 ? e : "none";
2093
2041
  break;
2094
2042
  case "background-gradient":
2095
- this.$section.gradient = f.indexOf(e) > 0 ? e : "none";
2043
+ this.$section.gradient = C.indexOf(e) > 0 ? e : "none";
2096
2044
  break;
2097
2045
  case "background-image":
2098
2046
  this.$section.backgroundImage = e;
@@ -2107,7 +2055,7 @@ const j = class j extends L {
2107
2055
  this.$section.backgroundImageLaptop = e;
2108
2056
  break;
2109
2057
  case "background-size":
2110
- this.$section.backgroundSize = S.indexOf(e) > 0 ? e : "";
2058
+ this.$section.backgroundSize = j.indexOf(e) > 0 ? e : "";
2111
2059
  break;
2112
2060
  case "background-position":
2113
2061
  this.$section.backgroundPosition = e;
@@ -2273,9 +2221,9 @@ const j = class j extends L {
2273
2221
  t ? this.setAttribute("min-height", "") : this.removeAttribute("min-height");
2274
2222
  }
2275
2223
  };
2276
- j.nativeName = "div";
2277
- let y = j;
2278
- customElements.get("px-content-header") || customElements.define("px-content-header", y);
2224
+ w.nativeName = "div";
2225
+ let k = w;
2226
+ customElements.get("px-content-header") || customElements.define("px-content-header", k);
2279
2227
  export {
2280
- y as ContentHeader
2228
+ k as ContentHeader
2281
2229
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-content-header",
3
- "version": "1.4.9-beta.2",
3
+ "version": "1.4.9",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",