@proximus/lavender-content-header 2.0.0-alpha.58 → 2.0.0-alpha.59

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 +148 -79
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -1,66 +1,87 @@
1
- import { cssTokenBreakpoints as d, paddingValues as l, VerticallyExtendedElement as R, boxShadowValues as P, backgroundSizeValues as $, noBorderRadiusValues as D, borderRadiusValues as H, borderSideValues as E, borderValues as O, gradientValues as j, log as n, backgroundColorValues as u, borderColorValues as q, checkName as h, WithExtraAttributes as C, AttributeBreakpointHandlerDelegate as G, gapValues as w, PxElement as S } from "@proximus/lavender-common";
1
+ import { cssTokenBreakpoints as d, paddingValues as g, gapValues as v, WithExtraAttributes as y, boxShadowValues as R, backgroundSizeValues as w, 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 X = ":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))}}", F = ':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)}}', N = ':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)}@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)}}@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)}}@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}}', L = new CSSStyleSheet();
4
- L.replaceSync(N);
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)}@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)}}@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)}}@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}}', L = new CSSStyleSheet();
4
+ L.replaceSync(F);
5
5
  const _ = [
6
6
  "has-patch",
7
7
  "neighbor-has-patch",
8
8
  "has-ribbon",
9
9
  "neighbor-has-ribbon"
10
- ], c = (s, t, i) => `:host([${s}${i ? `--${i}` : ""}='${t}']) .container`, g = "px-padding", Z = [
10
+ ], N = [
11
+ "1",
12
+ "2",
13
+ "3",
14
+ "4",
15
+ "5",
16
+ "6",
17
+ "7",
18
+ "8",
19
+ "9",
20
+ "10",
21
+ "11",
22
+ "12"
23
+ ], l = (n, t, i) => `:host([${n}${i ? `--${i}` : ""}='${t}']) .container`, b = "px-padding", Z = [
11
24
  d(
12
25
  "padding",
13
- c,
14
26
  l,
15
27
  g,
28
+ b,
16
29
  "--container-padding"
17
30
  ),
18
31
  d(
19
32
  "padding-inline",
20
- c,
21
33
  l,
22
- g
34
+ g,
35
+ b
23
36
  ),
24
37
  d(
25
38
  "padding-block",
26
- c,
27
39
  l,
28
- g
40
+ g,
41
+ b
29
42
  ),
30
43
  d(
31
44
  "padding-top",
32
- c,
33
45
  l,
34
- g
46
+ g,
47
+ b
35
48
  ),
36
49
  d(
37
50
  "padding-right",
38
- c,
39
51
  l,
40
52
  g,
53
+ b,
41
54
  "--container-padding-right"
42
55
  ),
43
56
  d(
44
57
  "padding-bottom",
45
- c,
46
58
  l,
47
- g
59
+ g,
60
+ b
48
61
  ),
49
62
  d(
50
63
  "padding-left",
51
- c,
52
64
  l,
53
65
  g,
66
+ b,
54
67
  "--container-padding-left"
68
+ ),
69
+ d(
70
+ "gap",
71
+ l,
72
+ v,
73
+ "px-spacing",
74
+ void 0,
75
+ "subgrid-gap"
55
76
  )
56
- ], y = class y extends R {
77
+ ], A = class A extends y {
57
78
  constructor() {
58
79
  super(L, ...Z), this.template = () => `<div class="container">
59
80
  <slot></slot>
60
81
  <slot name="anchor-left"></slot>
61
82
  <slot name="anchor-right"></slot>
62
83
  <slot name="anchor-full"></slot>
63
- </div>`, this._bgObserver = null, this._isInViewport = !1, this.shadowRoot.innerHTML = this.template();
84
+ </div>`, this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, this.shadowRoot.innerHTML = this.template();
64
85
  }
65
86
  static get observedAttributes() {
66
87
  return [
@@ -93,11 +114,12 @@ const _ = [
93
114
  "box-shadow",
94
115
  "anchor-offset",
95
116
  "anchor-spacing",
96
- "inverted"
117
+ "inverted",
118
+ "subgrid-rows"
97
119
  ];
98
120
  }
99
121
  connectedCallback() {
100
- super.connectedCallback(), this.padding || (this.padding = "m"), this.backgroundColor || (this.backgroundColor = "surface-light"), this.borderColor || (this.borderColor = "main"), this.$slotAnchor && this.addAnchorClass(), this.contentObserver = new MutationObserver(() => {
122
+ this.padding || (this.padding = "m"), this.backgroundColor || (this.backgroundColor = "surface-light"), this.borderColor || (this.borderColor = "main"), this.$slotAnchor && this.addAnchorClass(), this.contentObserver = new MutationObserver(() => {
101
123
  this.$slotAnchor && this.addAnchorClass();
102
124
  }), this.contentObserver.observe(this, {
103
125
  childList: !0,
@@ -111,14 +133,14 @@ const _ = [
111
133
  }), this._bgObserver.observe(this.$el);
112
134
  }
113
135
  disconnectedCallback() {
114
- var t;
115
- (t = this._bgObserver) == null || t.disconnect(), this.contentObserver.disconnect();
136
+ var t, i;
137
+ (t = this._bgObserver) == null || t.disconnect(), (i = this.contentObserver) == null || i.disconnect();
116
138
  }
117
139
  attributeChangedCallback(t, i, e) {
118
140
  if (i !== e)
119
141
  switch (t) {
120
142
  case "border":
121
- this.updateAttribute(t, i, e, O);
143
+ this.updateAttribute(t, i, e, G);
122
144
  break;
123
145
  case "border-color":
124
146
  this.updateBorderColor(t, e);
@@ -127,14 +149,14 @@ const _ = [
127
149
  case "border-side--mobile":
128
150
  case "border-side--tablet":
129
151
  case "border-side--laptop":
130
- this.updateAttribute(t, i, e, E);
152
+ this.updateAttribute(t, i, e, H);
131
153
  break;
132
154
  case "border-radius":
133
155
  this.updateAttribute(
134
156
  t,
135
157
  i,
136
158
  e,
137
- H
159
+ D
138
160
  );
139
161
  break;
140
162
  case "no-border-radius":
@@ -145,7 +167,7 @@ const _ = [
145
167
  t,
146
168
  i,
147
169
  e,
148
- D
170
+ P
149
171
  );
150
172
  break;
151
173
  case "background-color":
@@ -165,7 +187,7 @@ const _ = [
165
187
  t,
166
188
  i,
167
189
  e,
168
- $
190
+ w
169
191
  );
170
192
  break;
171
193
  case "background-image":
@@ -178,14 +200,22 @@ const _ = [
178
200
  e !== null && e !== "" && (this.$el.style.backgroundPosition = e);
179
201
  break;
180
202
  case "box-shadow":
181
- this.updateAttribute(t, i, e, P);
203
+ this.updateAttribute(t, i, e, R);
182
204
  break;
183
205
  case "anchor-offset":
184
- this.updateAnchorOffset(i, e, l);
206
+ this.updateAnchorOffset(i, e, g);
185
207
  break;
186
208
  case "anchor-spacing":
187
209
  this.updateAnchorSpacing(i, e, _);
188
210
  break;
211
+ case "subgrid-rows":
212
+ this.updateSubgridRows(
213
+ t,
214
+ i,
215
+ e,
216
+ N
217
+ );
218
+ break;
189
219
  default:
190
220
  super.attributeChangedCallback(t, i, e);
191
221
  break;
@@ -206,7 +236,7 @@ const _ = [
206
236
  this.$el.style.setProperty(`--${t}`, `url("${i}")`);
207
237
  }
208
238
  updateGradient(t, i) {
209
- if (this.checkName(j, i)) {
239
+ if (this.checkName(C, i)) {
210
240
  const e = this.splitAttrNameFromBreakpoint(t);
211
241
  t = e.attrName;
212
242
  const o = e.breakpoint;
@@ -215,13 +245,13 @@ const _ = [
215
245
  `linear-gradient(var(--px-color-background-gradient-${i}))`
216
246
  );
217
247
  } else
218
- n(
248
+ s(
219
249
  `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
220
250
  );
221
251
  }
222
252
  updateBackgroundColor(t, i) {
223
253
  const e = i.startsWith("surface-");
224
- if (this.checkName(u, i)) {
254
+ if (this.checkName(h, i)) {
225
255
  const o = this.splitAttrNameFromBreakpoint(t), r = o.breakpoint;
226
256
  this.$el.style.setProperty(
227
257
  `--${o.attrName}${r}`,
@@ -231,24 +261,24 @@ const _ = [
231
261
  `var(--px-color-background-${i}${e ? "" : "-inverted"})`
232
262
  );
233
263
  } else
234
- n(
264
+ s(
235
265
  `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
236
266
  );
237
267
  }
238
268
  updateBorderColor(t, i) {
239
- this.checkName(q, i) ? (this.$el.style.setProperty(
269
+ this.checkName(O, i) ? (this.$el.style.setProperty(
240
270
  `--${t}`,
241
271
  `var(--px-color-border-${i}-default)`
242
272
  ), this.$el.style.setProperty(
243
273
  `--${t}-inverted`,
244
274
  `var(--px-color-border-${i}-inverted)`
245
- )) : n(
275
+ )) : s(
246
276
  `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
247
277
  );
248
278
  }
249
279
  updateNoBorderRadius(t, i, e, o) {
250
280
  if (!this.checkName(o, e))
251
- n(
281
+ s(
252
282
  `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
253
283
  );
254
284
  else {
@@ -262,7 +292,7 @@ const _ = [
262
292
  }
263
293
  updateAttribute(t, i, e, o) {
264
294
  if (!this.checkName(o, e))
265
- n(
295
+ s(
266
296
  `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
267
297
  );
268
298
  else {
@@ -285,8 +315,8 @@ const _ = [
285
315
  return { attrName: t, breakpoint: i };
286
316
  }
287
317
  updateAnchorOffset(t, i, e) {
288
- if (!h(e, i)) {
289
- n(
318
+ if (!u(e, i)) {
319
+ s(
290
320
  `${i} is not a valid anchor-offset value for ${this.tagName.toLowerCase()}`
291
321
  );
292
322
  return;
@@ -309,8 +339,8 @@ const _ = [
309
339
  this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
310
340
  }
311
341
  updateAnchorSpacing(t, i, e) {
312
- if (!h(e, i)) {
313
- n(
342
+ if (!u(e, i)) {
343
+ s(
314
344
  `${i} is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}`
315
345
  );
316
346
  return;
@@ -329,6 +359,15 @@ const _ = [
329
359
  };
330
360
  o(t), o(i);
331
361
  }
362
+ updateSubgridRows(t, i, e, o) {
363
+ u(o, e) ? this.style.setProperty(`--${t}`, e) : s(
364
+ `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
365
+ );
366
+ }
367
+ get $el() {
368
+ var t;
369
+ return (t = this == null ? void 0 : this.shadowRoot) == null ? void 0 : t.querySelector(".container");
370
+ }
332
371
  get $slotAnchor() {
333
372
  return this.querySelector('[slot^="anchor"]');
334
373
  }
@@ -669,14 +708,44 @@ const _ = [
669
708
  this.setAttribute("anchor-spacing", t);
670
709
  }
671
710
  get inverted() {
672
- return this.getAttribute("inverted");
711
+ return this.hasAttribute("inverted");
673
712
  }
674
713
  set inverted(t) {
675
- this.setAttribute("inverted", t);
714
+ t ? this.setAttribute("inverted", "") : this.removeAttribute("inverted");
715
+ }
716
+ get subgridRows() {
717
+ return this.getAttribute("subgrid-rows");
718
+ }
719
+ set subgridRows(t) {
720
+ this.setAttribute("subgrid-rows", t);
721
+ }
722
+ get subgridGap() {
723
+ return this.getAttribute("subgrid-gap");
724
+ }
725
+ set subgridGap(t) {
726
+ this.setAttribute("subgrid-gap", t);
727
+ }
728
+ get subgridGapMobile() {
729
+ return this.getAttribute("subgrid-gap--mobile");
730
+ }
731
+ set subgridGapMobile(t) {
732
+ this.setAttribute("subgrid-gap--mobile", t);
733
+ }
734
+ get subgridGapTablet() {
735
+ return this.getAttribute("subgrid-gap--tablet");
736
+ }
737
+ set subgridGapTablet(t) {
738
+ this.setAttribute("subgrid-gap--tablet", t);
739
+ }
740
+ get subgridGapLaptop() {
741
+ return this.getAttribute("subgrid-gap--laptop");
742
+ }
743
+ set subgridGapLaptop(t) {
744
+ this.setAttribute("subgrid-gap--laptop", t);
676
745
  }
677
746
  };
678
- y.nativeName = "div";
679
- let m = y;
747
+ A.nativeName = "div";
748
+ let m = A;
680
749
  customElements.get("px-container") || customElements.define("px-container", m);
681
750
  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();
682
751
  T.replaceSync(W);
@@ -705,9 +774,9 @@ const Y = [
705
774
  "space-around",
706
775
  "space-evenly"
707
776
  ], Q = ["", "default", "nowrap", "wrap", "wrap-reverse"], U = ["", "visible", "hidden", "scroll", "auto"];
708
- class v extends C {
777
+ class x extends y {
709
778
  constructor() {
710
- super(T), this.overflowXAttributeDelegate = new G(
779
+ super(T), this.overflowXAttributeDelegate = new q(
711
780
  this,
712
781
  "overflow-x",
713
782
  (t) => t,
@@ -761,7 +830,7 @@ class v extends C {
761
830
  case "gap--tablet":
762
831
  case "gap--laptop":
763
832
  case "gap--desktop":
764
- this.updateFlexProperties(t, i, e, w);
833
+ this.updateFlexProperties(t, i, e, v);
765
834
  break;
766
835
  case "justify-content":
767
836
  case "justify-content--mobile":
@@ -809,8 +878,8 @@ class v extends C {
809
878
  }
810
879
  }
811
880
  updateOverflowX(t, i, e, o) {
812
- if (!h(o, e)) {
813
- n(
881
+ if (!u(o, e)) {
882
+ s(
814
883
  `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
815
884
  );
816
885
  return;
@@ -822,12 +891,12 @@ class v extends C {
822
891
  );
823
892
  }
824
893
  updateFlexProperties(t, i, e, o) {
825
- this.checkName(o, e) || n(
894
+ this.checkName(o, e) || s(
826
895
  `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
827
896
  );
828
- const r = t.indexOf("--") > -1, a = r ? t.split("--")[0] : t, b = [];
897
+ const r = t.indexOf("--") > -1, a = r ? t.split("--")[0] : t, c = [];
829
898
  if (!r)
830
- this.getAttribute(a + "--mobile") || b.push("mobile"), this.getAttribute(a + "--tablet") || b.push("tablet"), this.getAttribute(a + "--laptop") || b.push("laptop"), this.getAttribute(a + "--desktop") || b.push("desktop"), b.forEach((p) => {
899
+ 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((p) => {
831
900
  this.updateStyle(a, p, i, o), this.updateStyle(a, p, e, o);
832
901
  });
833
902
  else {
@@ -1031,8 +1100,8 @@ class v extends C {
1031
1100
  return this.shadowRoot.querySelector(".flex-container");
1032
1101
  }
1033
1102
  }
1034
- customElements.get("px-stack") || customElements.define("px-stack", v);
1035
- class V extends v {
1103
+ customElements.get("px-stack") || customElements.define("px-stack", x);
1104
+ class V extends x {
1036
1105
  constructor() {
1037
1106
  super();
1038
1107
  }
@@ -1041,7 +1110,7 @@ class V extends v {
1041
1110
  }
1042
1111
  }
1043
1112
  customElements.get("px-vstack") || customElements.define("px-vstack", V);
1044
- class tt extends v {
1113
+ class tt extends x {
1045
1114
  constructor() {
1046
1115
  super();
1047
1116
  }
@@ -1100,7 +1169,7 @@ class et extends HTMLElement {
1100
1169
  customElements.get("px-spacer") || customElements.define("px-spacer", et);
1101
1170
  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();
1102
1171
  I.replaceSync(it);
1103
- class ot extends C {
1172
+ class ot extends y {
1104
1173
  constructor() {
1105
1174
  super(I), this.template = (t) => `
1106
1175
  <px-container border-radius="none" padding="none">
@@ -1279,7 +1348,7 @@ class ot extends C {
1279
1348
  case "background-color":
1280
1349
  this.$bodyContainer.setAttribute(
1281
1350
  "background-color",
1282
- u.indexOf(e) > 0 ? e : "none"
1351
+ h.indexOf(e) > 0 ? e : "none"
1283
1352
  );
1284
1353
  break;
1285
1354
  case "padding-vertical":
@@ -1301,7 +1370,7 @@ class ot extends C {
1301
1370
  }
1302
1371
  customElements.get("px-page") === void 0 && customElements.define("px-page", ot);
1303
1372
  const M = new CSSStyleSheet();
1304
- M.replaceSync(F);
1373
+ M.replaceSync(X);
1305
1374
  class rt extends HTMLElement {
1306
1375
  constructor() {
1307
1376
  super(), this.template = () => `
@@ -1361,7 +1430,7 @@ class rt extends HTMLElement {
1361
1430
  if (i !== e)
1362
1431
  switch (t) {
1363
1432
  case "background-color":
1364
- this.$container.backgroundColor = u.indexOf(e) > 0 ? e : "none";
1433
+ this.$container.backgroundColor = h.indexOf(e) > 0 ? e : "none";
1365
1434
  break;
1366
1435
  case "background-gradient":
1367
1436
  this.$container.gradient = this.gradient;
@@ -1594,7 +1663,7 @@ class rt extends HTMLElement {
1594
1663
  customElements.get("px-section") || customElements.define("px-section", rt);
1595
1664
  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();
1596
1665
  B.replaceSync(at);
1597
- const nt = [
1666
+ const st = [
1598
1667
  "1",
1599
1668
  "2",
1600
1669
  "3",
@@ -1607,7 +1676,7 @@ const nt = [
1607
1676
  "10",
1608
1677
  "11",
1609
1678
  "12"
1610
- ], st = [
1679
+ ], nt = [
1611
1680
  "",
1612
1681
  "start",
1613
1682
  "end",
@@ -1616,15 +1685,15 @@ const nt = [
1616
1685
  "space-around",
1617
1686
  "space-evenly",
1618
1687
  "stretch"
1619
- ], dt = ["", "start", "end", "center", "stretch"], lt = (s, t, i) => `:host([${s}${i ? `--${i}` : ""}='${t}']) .grid`, ct = "px-spacing", gt = d(
1688
+ ], dt = ["", "start", "end", "center", "stretch"], lt = (n, t, i) => `:host([${n}${i ? `--${i}` : ""}='${t}']) .grid`, gt = "px-spacing", bt = d(
1620
1689
  "gap",
1621
1690
  lt,
1622
- w,
1623
- ct,
1691
+ v,
1692
+ gt,
1624
1693
  "--grid-gap"
1625
- ), x = class x extends S {
1694
+ ), $ = class $ extends S {
1626
1695
  constructor() {
1627
- super(B, gt), this.template = () => `<div class="grid">
1696
+ super(B, bt), this.template = () => `<div class="grid">
1628
1697
  <slot></slot>
1629
1698
  </div>`, this.shadowRoot.innerHTML = this.template();
1630
1699
  }
@@ -1667,7 +1736,7 @@ const nt = [
1667
1736
  case "grid-cols--mobile":
1668
1737
  case "grid-cols--tablet":
1669
1738
  case "grid-cols--laptop":
1670
- this.updateAttribute(t, i, e, nt);
1739
+ this.updateAttribute(t, i, e, st);
1671
1740
  break;
1672
1741
  case "justify-content":
1673
1742
  case "align-content":
@@ -1683,7 +1752,7 @@ const nt = [
1683
1752
  t,
1684
1753
  i,
1685
1754
  e,
1686
- st
1755
+ nt
1687
1756
  );
1688
1757
  break;
1689
1758
  case "justify-items":
@@ -1710,7 +1779,7 @@ const nt = [
1710
1779
  }
1711
1780
  updateGap(t, i, e) {
1712
1781
  if (!this.checkName(e, i)) {
1713
- n(
1782
+ s(
1714
1783
  `${i} is not an allowed gap value for ${this.tagName.toLowerCase()}`
1715
1784
  );
1716
1785
  return;
@@ -1730,7 +1799,7 @@ const nt = [
1730
1799
  o(t), o(i);
1731
1800
  }
1732
1801
  updateAttribute(t, i, e, o) {
1733
- 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}`)) : n(
1802
+ 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(
1734
1803
  `${e} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
1735
1804
  );
1736
1805
  }
@@ -1903,12 +1972,12 @@ const nt = [
1903
1972
  this.setAttribute("align-items--desktop", t);
1904
1973
  }
1905
1974
  };
1906
- x.nativeName = "div";
1907
- let f = x;
1975
+ $.nativeName = "div";
1976
+ let f = $;
1908
1977
  customElements.get("px-grid") || customElements.define("px-grid", f);
1909
1978
  const z = new CSSStyleSheet();
1910
- z.replaceSync(X);
1911
- const A = class A extends S {
1979
+ z.replaceSync(E);
1980
+ const j = class j extends S {
1912
1981
  constructor() {
1913
1982
  super(z), this.template = () => `<div class="content-header">
1914
1983
  <div class="contrast-helper"></div>
@@ -1964,10 +2033,10 @@ const A = class A extends S {
1964
2033
  if (i !== e)
1965
2034
  switch (t) {
1966
2035
  case "background-color":
1967
- this.$section.backgroundColor = u.indexOf(e) > 0 ? e : "none";
2036
+ this.$section.backgroundColor = h.indexOf(e) > 0 ? e : "none";
1968
2037
  break;
1969
2038
  case "background-gradient":
1970
- this.$section.gradient = j.indexOf(e) > 0 ? e : "none";
2039
+ this.$section.gradient = C.indexOf(e) > 0 ? e : "none";
1971
2040
  break;
1972
2041
  case "background-image":
1973
2042
  this.$section.backgroundImage = e;
@@ -1982,7 +2051,7 @@ const A = class A extends S {
1982
2051
  this.$section.backgroundImageLaptop = e;
1983
2052
  break;
1984
2053
  case "background-size":
1985
- this.$section.backgroundSize = $.indexOf(e) > 0 ? e : "";
2054
+ this.$section.backgroundSize = w.indexOf(e) > 0 ? e : "";
1986
2055
  break;
1987
2056
  case "background-position":
1988
2057
  this.$section.backgroundPosition = e;
@@ -2148,8 +2217,8 @@ const A = class A extends S {
2148
2217
  t ? this.setAttribute("min-height", "") : this.removeAttribute("min-height");
2149
2218
  }
2150
2219
  };
2151
- A.nativeName = "div";
2152
- let k = A;
2220
+ j.nativeName = "div";
2221
+ let k = j;
2153
2222
  customElements.get("px-content-header") || customElements.define("px-content-header", k);
2154
2223
  export {
2155
2224
  k as ContentHeader
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-content-header",
3
- "version": "2.0.0-alpha.58",
3
+ "version": "2.0.0-alpha.59",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",