@proximus/lavender-content-header 2.0.0-alpha.227 → 2.0.0-alpha.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ContentHeader.d.ts +1 -0
- package/dist/custom-elements.json +9 -0
- package/dist/index.es.js +277 -171
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as
|
|
1
|
+
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as l, boxShadowValues as ee, checkName as u, createTemplate as d, cssTokenBreakpoints as f, gapValues as p, gradientValues as m, log as h, noBorderRadiusValues as g, paddingValues as _, propertyToAttributeSetter as v, renderTemplate as y } from "@proximus/lavender-common";
|
|
2
2
|
import "@proximus/lavender-heading";
|
|
3
3
|
//#region src/contentheader.css?inline
|
|
4
|
-
var y = ":host{--min-height--mobile:15.625rem;--min-height--tablet:17.5rem;--min-height--laptop:17.5rem;--min-height--desktop:17.5rem}:host,:host>*{box-sizing:border-box;display:block}.content-header{z-index:0;position:relative}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2) )}.content-header-content{z-index:2;box-sizing:border-box;flex-direction:column;display:flex;position:relative}.content-header-content ::slotted([slot=patch]){margin-top:var(--px-spacing-l-mobile)}.contrast-helper{z-index:1;pointer-events:none;display:none;position:absolute;inset:0}[contrast-helper-gradient] .contrast-helper{background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%);display:block}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{background-color:#ffffffb3;display:block}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media screen and (width>=48rem){.content-header-content ::slotted([slot=patch]){flex-shrink:0}.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-tablet)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media screen and (width>=64.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}@media screen and (width>=90.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--desktop) - (var(--px-spacing-l-desktop) * 2))}}", b = ":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 (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 (width>=48rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}", 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-left-style:none;border-right-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-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-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-position:50%;background-size:cover}.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]){z-index:3;transform:translateY(-50%)}::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]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::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{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}: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 (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-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.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 (width>=48rem) and (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-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.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 (width>=64.0625rem) and (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 (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-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (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)}}", S = new CSSStyleSheet();
|
|
5
|
-
|
|
6
|
-
var
|
|
4
|
+
var b = ":host{--min-height--mobile:15.625rem;--min-height--tablet:17.5rem;--min-height--laptop:17.5rem;--min-height--desktop:17.5rem}:host,:host>*{box-sizing:border-box;display:block}.content-header{z-index:0;position:relative}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2) )}.content-header-content{z-index:2;box-sizing:border-box;flex-direction:column;display:flex;position:relative}.content-header-content ::slotted([slot=patch]){margin-top:var(--px-spacing-l-mobile)}.contrast-helper{z-index:1;pointer-events:none;display:none;position:absolute;inset:0}[contrast-helper-gradient] .contrast-helper{background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%);display:block}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{background-color:#ffffffb3;display:block}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media screen and (width>=48rem){.content-header-content ::slotted([slot=patch]){flex-shrink:0}.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-tablet)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media screen and (width>=64.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}@media screen and (width>=90.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--desktop) - (var(--px-spacing-l-desktop) * 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 screen and (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 (width>=48rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}", S = ":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-left-style:none;border-right-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-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-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-position:50%;background-size:cover}.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]){z-index:3;transform:translateY(-50%)}::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]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::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{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}: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 (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-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.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 (width>=48rem) and (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-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.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 (width>=64.0625rem) and (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 (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-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (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)}}", C = new CSSStyleSheet();
|
|
5
|
+
C.replaceSync(S);
|
|
6
|
+
var w = [
|
|
7
7
|
"top-patch",
|
|
8
8
|
"top-neighbor-patch",
|
|
9
9
|
"top-ribbon",
|
|
10
10
|
"top-neighbor-ribbon",
|
|
11
11
|
"top-patch-and-neighbor-ribbon"
|
|
12
|
-
],
|
|
12
|
+
], T = [
|
|
13
13
|
"1",
|
|
14
14
|
"2",
|
|
15
15
|
"3",
|
|
@@ -22,24 +22,24 @@ var C = [
|
|
|
22
22
|
"10",
|
|
23
23
|
"11",
|
|
24
24
|
"12"
|
|
25
|
-
],
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
], E = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, D = "px-padding", te = [
|
|
26
|
+
f("padding", E, _, D, "--container-padding"),
|
|
27
|
+
f("padding-inline", E, _, D),
|
|
28
|
+
f("padding-block", E, _, D),
|
|
29
|
+
f("padding-top", E, _, D),
|
|
30
|
+
f("padding-right", E, _, D, "--container-padding-right"),
|
|
31
|
+
f("padding-bottom", E, _, D),
|
|
32
|
+
f("padding-left", E, _, D, "--container-padding-left"),
|
|
33
|
+
f("gap", E, p, "px-spacing", void 0, "subgrid-gap")
|
|
34
34
|
], O = class e extends n {
|
|
35
35
|
static {
|
|
36
|
-
this.template =
|
|
36
|
+
this.template = d("<div class=\"container\"><slot></slot><slot name=\"anchor-left\"></slot><slot name=\"anchor-right\"></slot><slot name=\"anchor-full\"></slot></div>");
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
39
39
|
this.nativeName = "div";
|
|
40
40
|
}
|
|
41
41
|
constructor() {
|
|
42
|
-
super(
|
|
42
|
+
super(C, ...te), this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, y(this.shadowRoot, e.template);
|
|
43
43
|
}
|
|
44
44
|
static get observedAttributes() {
|
|
45
45
|
return [
|
|
@@ -95,7 +95,7 @@ var C = [
|
|
|
95
95
|
attributeChangedCallback(e, t, n) {
|
|
96
96
|
if (t !== n) switch (e) {
|
|
97
97
|
case "border":
|
|
98
|
-
this.updateAttribute(e, t, n,
|
|
98
|
+
this.updateAttribute(e, t, n, l);
|
|
99
99
|
break;
|
|
100
100
|
case "border-color":
|
|
101
101
|
this.updateBorderColor(e, n);
|
|
@@ -113,7 +113,7 @@ var C = [
|
|
|
113
113
|
case "no-border-radius--mobile":
|
|
114
114
|
case "no-border-radius--tablet":
|
|
115
115
|
case "no-border-radius--laptop":
|
|
116
|
-
this.updateNoBorderRadius(e, t, n,
|
|
116
|
+
this.updateNoBorderRadius(e, t, n, g);
|
|
117
117
|
break;
|
|
118
118
|
case "background-color":
|
|
119
119
|
case "background-color--mobile":
|
|
@@ -140,16 +140,16 @@ var C = [
|
|
|
140
140
|
n !== null && n !== "" && (this.$el.style.backgroundPosition = n);
|
|
141
141
|
break;
|
|
142
142
|
case "box-shadow":
|
|
143
|
-
this.updateAttribute(e, t, n,
|
|
143
|
+
this.updateAttribute(e, t, n, ee);
|
|
144
144
|
break;
|
|
145
145
|
case "anchor-offset":
|
|
146
|
-
this.updateAnchorOffset(t, n,
|
|
146
|
+
this.updateAnchorOffset(t, n, _);
|
|
147
147
|
break;
|
|
148
148
|
case "anchor-spacing":
|
|
149
|
-
this.updateAnchorSpacing(t, n,
|
|
149
|
+
this.updateAnchorSpacing(t, n, w);
|
|
150
150
|
break;
|
|
151
151
|
case "subgrid-rows":
|
|
152
|
-
this.updateSubgridRows(e, t, n,
|
|
152
|
+
this.updateSubgridRows(e, t, n, T);
|
|
153
153
|
break;
|
|
154
154
|
default: super.attributeChangedCallback(e, t, n);
|
|
155
155
|
}
|
|
@@ -169,32 +169,32 @@ var C = [
|
|
|
169
169
|
this.$el.style.setProperty(`--${e}`, `url("${t}")`);
|
|
170
170
|
}
|
|
171
171
|
updateGradient(e, t) {
|
|
172
|
-
if (this.checkName(
|
|
172
|
+
if (this.checkName(m, t)) {
|
|
173
173
|
let n = this.splitAttrNameFromBreakpoint(e);
|
|
174
174
|
e = n.attrName;
|
|
175
175
|
let r = n.breakpoint;
|
|
176
176
|
this.$el.style.setProperty(`--${e}${r}`, `linear-gradient(var(--px-color-background-gradient-${t}))`);
|
|
177
|
-
} else
|
|
177
|
+
} else h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${m.join("\", \"")}".`);
|
|
178
178
|
}
|
|
179
179
|
updateBackgroundColor(e, t) {
|
|
180
180
|
let n = t.startsWith("surface-");
|
|
181
181
|
if (this.checkName(r, t)) {
|
|
182
182
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
183
183
|
this.$el.style.setProperty(`--${r.attrName}${i}`, `var(--px-color-background-${t}${n ? "" : "-default"})`), this.$el.style.setProperty(`--${r.attrName}-inverted${i}`, `var(--px-color-background-${t}${n ? "" : "-inverted"})`);
|
|
184
|
-
} else
|
|
184
|
+
} else h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
185
185
|
}
|
|
186
186
|
updateBorderColor(e, t) {
|
|
187
|
-
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) :
|
|
187
|
+
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) : h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join("\", \"")}".`);
|
|
188
188
|
}
|
|
189
189
|
updateNoBorderRadius(e, t, n, r) {
|
|
190
|
-
if (!this.checkName(r, n))
|
|
190
|
+
if (!this.checkName(r, n)) h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
191
191
|
else {
|
|
192
192
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
193
193
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
updateAttribute(e, t, n, r) {
|
|
197
|
-
if (!this.checkName(r, n))
|
|
197
|
+
if (!this.checkName(r, n)) h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
198
198
|
else {
|
|
199
199
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
200
200
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
@@ -216,8 +216,8 @@ var C = [
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
updateAnchorOffset(e, t, n) {
|
|
219
|
-
if (!
|
|
220
|
-
|
|
219
|
+
if (!u(n, t)) {
|
|
220
|
+
h(`"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
223
|
let r = (e) => {
|
|
@@ -229,8 +229,8 @@ var C = [
|
|
|
229
229
|
this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
|
|
230
230
|
}
|
|
231
231
|
updateAnchorSpacing(e, t, n) {
|
|
232
|
-
if (!
|
|
233
|
-
|
|
232
|
+
if (!u(n, t)) {
|
|
233
|
+
h(`"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
234
234
|
return;
|
|
235
235
|
}
|
|
236
236
|
let r = (e) => {
|
|
@@ -239,7 +239,7 @@ var C = [
|
|
|
239
239
|
r(e), r(t);
|
|
240
240
|
}
|
|
241
241
|
updateSubgridRows(e, t, n, r) {
|
|
242
|
-
|
|
242
|
+
u(r, n) ? this.style.setProperty(`--${e}`, n) : h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
243
243
|
}
|
|
244
244
|
get $el() {
|
|
245
245
|
return this?.shadowRoot?.querySelector(".container");
|
|
@@ -251,337 +251,337 @@ var C = [
|
|
|
251
251
|
return this.getAttribute("padding");
|
|
252
252
|
}
|
|
253
253
|
set padding(e) {
|
|
254
|
-
|
|
254
|
+
v(this, "padding", e);
|
|
255
255
|
}
|
|
256
256
|
get paddingBlock() {
|
|
257
257
|
return this.getAttribute("padding-block");
|
|
258
258
|
}
|
|
259
259
|
set paddingBlock(e) {
|
|
260
|
-
|
|
260
|
+
v(this, "padding-block", e);
|
|
261
261
|
}
|
|
262
262
|
get paddingInline() {
|
|
263
263
|
return this.getAttribute("padding-inline");
|
|
264
264
|
}
|
|
265
265
|
set paddingInline(e) {
|
|
266
|
-
|
|
266
|
+
v(this, "padding-inline", e);
|
|
267
267
|
}
|
|
268
268
|
get paddingTop() {
|
|
269
269
|
return this.getAttribute("padding-top");
|
|
270
270
|
}
|
|
271
271
|
set paddingTop(e) {
|
|
272
|
-
|
|
272
|
+
v(this, "padding-top", e);
|
|
273
273
|
}
|
|
274
274
|
get paddingRight() {
|
|
275
275
|
return this.getAttribute("padding-right");
|
|
276
276
|
}
|
|
277
277
|
set paddingRight(e) {
|
|
278
|
-
|
|
278
|
+
v(this, "padding-right", e);
|
|
279
279
|
}
|
|
280
280
|
get paddingBottom() {
|
|
281
281
|
return this.getAttribute("padding-bottom");
|
|
282
282
|
}
|
|
283
283
|
set paddingBottom(e) {
|
|
284
|
-
|
|
284
|
+
v(this, "padding-bottom", e);
|
|
285
285
|
}
|
|
286
286
|
get paddingLeft() {
|
|
287
287
|
return this.getAttribute("padding-left");
|
|
288
288
|
}
|
|
289
289
|
set paddingLeft(e) {
|
|
290
|
-
|
|
290
|
+
v(this, "padding-left", e);
|
|
291
291
|
}
|
|
292
292
|
get paddingMobile() {
|
|
293
293
|
return this.getAttribute("padding--mobile");
|
|
294
294
|
}
|
|
295
295
|
set paddingMobile(e) {
|
|
296
|
-
|
|
296
|
+
v(this, "padding--mobile", e);
|
|
297
297
|
}
|
|
298
298
|
get paddingBlockMobile() {
|
|
299
299
|
return this.getAttribute("padding-block--mobile");
|
|
300
300
|
}
|
|
301
301
|
set paddingBlockMobile(e) {
|
|
302
|
-
|
|
302
|
+
v(this, "padding-block--mobile", e);
|
|
303
303
|
}
|
|
304
304
|
get paddingInlineMobile() {
|
|
305
305
|
return this.getAttribute("padding-inline--mobile");
|
|
306
306
|
}
|
|
307
307
|
set paddingInlineMobile(e) {
|
|
308
|
-
|
|
308
|
+
v(this, "padding-inline--mobile", e);
|
|
309
309
|
}
|
|
310
310
|
get paddingTopMobile() {
|
|
311
311
|
return this.getAttribute("padding-top--mobile");
|
|
312
312
|
}
|
|
313
313
|
set paddingTopMobile(e) {
|
|
314
|
-
|
|
314
|
+
v(this, "padding-top--mobile", e);
|
|
315
315
|
}
|
|
316
316
|
get paddingRightMobile() {
|
|
317
317
|
return this.getAttribute("padding-right--mobile");
|
|
318
318
|
}
|
|
319
319
|
set paddingRightMobile(e) {
|
|
320
|
-
|
|
320
|
+
v(this, "padding-right--mobile", e);
|
|
321
321
|
}
|
|
322
322
|
get paddingBottomMobile() {
|
|
323
323
|
return this.getAttribute("padding-bottom--mobile");
|
|
324
324
|
}
|
|
325
325
|
set paddingBottomMobile(e) {
|
|
326
|
-
|
|
326
|
+
v(this, "padding-bottom--mobile", e);
|
|
327
327
|
}
|
|
328
328
|
get paddingLeftMobile() {
|
|
329
329
|
return this.getAttribute("padding-left--mobile");
|
|
330
330
|
}
|
|
331
331
|
set paddingLeftMobile(e) {
|
|
332
|
-
|
|
332
|
+
v(this, "padding-left--mobile", e);
|
|
333
333
|
}
|
|
334
334
|
get paddingTablet() {
|
|
335
335
|
return this.getAttribute("padding--tablet");
|
|
336
336
|
}
|
|
337
337
|
set paddingTablet(e) {
|
|
338
|
-
|
|
338
|
+
v(this, "padding--tablet", e);
|
|
339
339
|
}
|
|
340
340
|
get paddingBlockTablet() {
|
|
341
341
|
return this.getAttribute("padding-block--tablet");
|
|
342
342
|
}
|
|
343
343
|
set paddingBlockTablet(e) {
|
|
344
|
-
|
|
344
|
+
v(this, "padding-block--tablet", e);
|
|
345
345
|
}
|
|
346
346
|
get paddingInlineTablet() {
|
|
347
347
|
return this.getAttribute("padding-inline--tablet");
|
|
348
348
|
}
|
|
349
349
|
set paddingInlineTablet(e) {
|
|
350
|
-
|
|
350
|
+
v(this, "padding-inline--tablet", e);
|
|
351
351
|
}
|
|
352
352
|
get paddingTopTablet() {
|
|
353
353
|
return this.getAttribute("padding-top--tablet");
|
|
354
354
|
}
|
|
355
355
|
set paddingTopTablet(e) {
|
|
356
|
-
|
|
356
|
+
v(this, "padding-top--tablet", e);
|
|
357
357
|
}
|
|
358
358
|
get paddingRightTablet() {
|
|
359
359
|
return this.getAttribute("padding-right--tablet");
|
|
360
360
|
}
|
|
361
361
|
set paddingRightTablet(e) {
|
|
362
|
-
|
|
362
|
+
v(this, "padding-right--tablet", e);
|
|
363
363
|
}
|
|
364
364
|
get paddingBottomTablet() {
|
|
365
365
|
return this.getAttribute("padding-bottom--tablet");
|
|
366
366
|
}
|
|
367
367
|
set paddingBottomTablet(e) {
|
|
368
|
-
|
|
368
|
+
v(this, "padding-bottom--tablet", e);
|
|
369
369
|
}
|
|
370
370
|
get paddingLeftTablet() {
|
|
371
371
|
return this.getAttribute("padding-left--tablet");
|
|
372
372
|
}
|
|
373
373
|
set paddingLeftTablet(e) {
|
|
374
|
-
|
|
374
|
+
v(this, "padding-left--tablet", e);
|
|
375
375
|
}
|
|
376
376
|
get paddingLaptop() {
|
|
377
377
|
return this.getAttribute("padding--laptop");
|
|
378
378
|
}
|
|
379
379
|
set paddingLaptop(e) {
|
|
380
|
-
|
|
380
|
+
v(this, "padding--laptop", e);
|
|
381
381
|
}
|
|
382
382
|
get paddingBlockLaptop() {
|
|
383
383
|
return this.getAttribute("padding-block--laptop");
|
|
384
384
|
}
|
|
385
385
|
set paddingBlockLaptop(e) {
|
|
386
|
-
|
|
386
|
+
v(this, "padding-block--laptop", e);
|
|
387
387
|
}
|
|
388
388
|
get paddingInlineLaptop() {
|
|
389
389
|
return this.getAttribute("padding-inline--laptop");
|
|
390
390
|
}
|
|
391
391
|
set paddingInlineLaptop(e) {
|
|
392
|
-
|
|
392
|
+
v(this, "padding-inline--laptop", e);
|
|
393
393
|
}
|
|
394
394
|
get paddingTopLaptop() {
|
|
395
395
|
return this.getAttribute("padding-top--laptop");
|
|
396
396
|
}
|
|
397
397
|
set paddingTopLaptop(e) {
|
|
398
|
-
|
|
398
|
+
v(this, "padding-top--laptop", e);
|
|
399
399
|
}
|
|
400
400
|
get paddingRightLaptop() {
|
|
401
401
|
return this.getAttribute("padding-right--laptop");
|
|
402
402
|
}
|
|
403
403
|
set paddingRightLaptop(e) {
|
|
404
|
-
|
|
404
|
+
v(this, "padding-right--laptop", e);
|
|
405
405
|
}
|
|
406
406
|
get paddingBottomLaptop() {
|
|
407
407
|
return this.getAttribute("padding-bottom--laptop");
|
|
408
408
|
}
|
|
409
409
|
set paddingBottomLaptop(e) {
|
|
410
|
-
|
|
410
|
+
v(this, "padding-bottom--laptop", e);
|
|
411
411
|
}
|
|
412
412
|
get paddingLeftLaptop() {
|
|
413
413
|
return this.getAttribute("padding-left--laptop");
|
|
414
414
|
}
|
|
415
415
|
set paddingLeftLaptop(e) {
|
|
416
|
-
|
|
416
|
+
v(this, "padding-left--laptop", e);
|
|
417
417
|
}
|
|
418
418
|
get border() {
|
|
419
419
|
return this.getAttribute("border");
|
|
420
420
|
}
|
|
421
421
|
set border(e) {
|
|
422
|
-
|
|
422
|
+
v(this, "border", e);
|
|
423
423
|
}
|
|
424
424
|
get borderColor() {
|
|
425
425
|
return this.getAttribute("border-color");
|
|
426
426
|
}
|
|
427
427
|
set borderColor(e) {
|
|
428
|
-
|
|
428
|
+
v(this, "border-color", e);
|
|
429
429
|
}
|
|
430
430
|
get borderSide() {
|
|
431
431
|
return this.getAttribute("border-side");
|
|
432
432
|
}
|
|
433
433
|
set borderSide(e) {
|
|
434
|
-
|
|
434
|
+
v(this, "border-side", e);
|
|
435
435
|
}
|
|
436
436
|
get borderSideMobile() {
|
|
437
437
|
return this.getAttribute("border-side--mobile");
|
|
438
438
|
}
|
|
439
439
|
set borderSideMobile(e) {
|
|
440
|
-
|
|
440
|
+
v(this, "border-side--mobile", e);
|
|
441
441
|
}
|
|
442
442
|
get borderSideTablet() {
|
|
443
443
|
return this.getAttribute("border-side--tablet");
|
|
444
444
|
}
|
|
445
445
|
set borderSideTablet(e) {
|
|
446
|
-
|
|
446
|
+
v(this, "border-side--tablet", e);
|
|
447
447
|
}
|
|
448
448
|
get borderSideLaptop() {
|
|
449
449
|
return this.getAttribute("border-side--laptop");
|
|
450
450
|
}
|
|
451
451
|
set borderSideLaptop(e) {
|
|
452
|
-
|
|
452
|
+
v(this, "border-side--laptop", e);
|
|
453
453
|
}
|
|
454
454
|
get borderRadius() {
|
|
455
455
|
return this.getAttribute("border-radius");
|
|
456
456
|
}
|
|
457
457
|
set borderRadius(e) {
|
|
458
|
-
|
|
458
|
+
v(this, "border-radius", e);
|
|
459
459
|
}
|
|
460
460
|
get noBorderRadius() {
|
|
461
461
|
return this.getAttribute("no-border-radius");
|
|
462
462
|
}
|
|
463
463
|
set noBorderRadius(e) {
|
|
464
|
-
|
|
464
|
+
v(this, "no-border-radius", e);
|
|
465
465
|
}
|
|
466
466
|
get noBorderRadiusMobile() {
|
|
467
467
|
return this.getAttribute("no-border-radius--mobile");
|
|
468
468
|
}
|
|
469
469
|
set noBorderRadiusMobile(e) {
|
|
470
|
-
|
|
470
|
+
v(this, "no-border-radius--mobile", e);
|
|
471
471
|
}
|
|
472
472
|
get noBorderRadiusTablet() {
|
|
473
473
|
return this.getAttribute("no-border-radius--tablet");
|
|
474
474
|
}
|
|
475
475
|
set noBorderRadiusTablet(e) {
|
|
476
|
-
|
|
476
|
+
v(this, "no-border-radius--tablet", e);
|
|
477
477
|
}
|
|
478
478
|
get noBorderRadiusLaptop() {
|
|
479
479
|
return this.getAttribute("no-border-radius--laptop");
|
|
480
480
|
}
|
|
481
481
|
set noBorderRadiusLaptop(e) {
|
|
482
|
-
|
|
482
|
+
v(this, "no-border-radius--laptop", e);
|
|
483
483
|
}
|
|
484
484
|
get backgroundColor() {
|
|
485
485
|
return this.getAttribute("background-color");
|
|
486
486
|
}
|
|
487
487
|
set backgroundColor(e) {
|
|
488
|
-
|
|
488
|
+
v(this, "background-color", e);
|
|
489
489
|
}
|
|
490
490
|
get backgroundColorMobile() {
|
|
491
491
|
return this.getAttribute("background-color--mobile");
|
|
492
492
|
}
|
|
493
493
|
set backgroundColorMobile(e) {
|
|
494
|
-
|
|
494
|
+
v(this, "background-color--mobile", e);
|
|
495
495
|
}
|
|
496
496
|
get backgroundColorTablet() {
|
|
497
497
|
return this.getAttribute("background-color--tablet");
|
|
498
498
|
}
|
|
499
499
|
set backgroundColorTablet(e) {
|
|
500
|
-
|
|
500
|
+
v(this, "background-color--tablet", e);
|
|
501
501
|
}
|
|
502
502
|
get backgroundColorLaptop() {
|
|
503
503
|
return this.getAttribute("background-color--laptop");
|
|
504
504
|
}
|
|
505
505
|
set backgroundColorLaptop(e) {
|
|
506
|
-
|
|
506
|
+
v(this, "background-color--laptop", e);
|
|
507
507
|
}
|
|
508
508
|
get gradient() {
|
|
509
509
|
return this.getAttribute("background-gradient");
|
|
510
510
|
}
|
|
511
511
|
set gradient(e) {
|
|
512
|
-
|
|
512
|
+
v(this, "background-gradient", e);
|
|
513
513
|
}
|
|
514
514
|
get gradientMobile() {
|
|
515
515
|
return this.getAttribute("background-gradient--mobile");
|
|
516
516
|
}
|
|
517
517
|
set gradientMobile(e) {
|
|
518
|
-
|
|
518
|
+
v(this, "background-gradient--mobile", e);
|
|
519
519
|
}
|
|
520
520
|
get gradientTablet() {
|
|
521
521
|
return this.getAttribute("background-gradient--tablet");
|
|
522
522
|
}
|
|
523
523
|
set gradientTablet(e) {
|
|
524
|
-
|
|
524
|
+
v(this, "background-gradient--tablet", e);
|
|
525
525
|
}
|
|
526
526
|
get gradientLaptop() {
|
|
527
527
|
return this.getAttribute("background-gradient--laptop");
|
|
528
528
|
}
|
|
529
529
|
set gradientLaptop(e) {
|
|
530
|
-
|
|
530
|
+
v(this, "background-gradient--laptop", e);
|
|
531
531
|
}
|
|
532
532
|
get backgroundImage() {
|
|
533
533
|
return this.getAttribute("background-image");
|
|
534
534
|
}
|
|
535
535
|
set backgroundImage(e) {
|
|
536
|
-
|
|
536
|
+
v(this, "background-image", e);
|
|
537
537
|
}
|
|
538
538
|
get backgroundImageMobile() {
|
|
539
539
|
return this.getAttribute("background-image--mobile");
|
|
540
540
|
}
|
|
541
541
|
set backgroundImageMobile(e) {
|
|
542
|
-
|
|
542
|
+
v(this, "background-image--mobile", e);
|
|
543
543
|
}
|
|
544
544
|
get backgroundImageTablet() {
|
|
545
545
|
return this.getAttribute("background-image--tablet");
|
|
546
546
|
}
|
|
547
547
|
set backgroundImageTablet(e) {
|
|
548
|
-
|
|
548
|
+
v(this, "background-image--tablet", e);
|
|
549
549
|
}
|
|
550
550
|
get backgroundImageLaptop() {
|
|
551
551
|
return this.getAttribute("background-image--laptop");
|
|
552
552
|
}
|
|
553
553
|
set backgroundImageLaptop(e) {
|
|
554
|
-
|
|
554
|
+
v(this, "background-image--laptop", e);
|
|
555
555
|
}
|
|
556
556
|
get backgroundSize() {
|
|
557
557
|
return this.getAttribute("background-size");
|
|
558
558
|
}
|
|
559
559
|
set backgroundSize(e) {
|
|
560
|
-
|
|
560
|
+
v(this, "background-size", e);
|
|
561
561
|
}
|
|
562
562
|
get backgroundPosition() {
|
|
563
563
|
return this.getAttribute("background-position");
|
|
564
564
|
}
|
|
565
565
|
set backgroundPosition(e) {
|
|
566
|
-
|
|
566
|
+
v(this, "background-position", e);
|
|
567
567
|
}
|
|
568
568
|
get boxShadow() {
|
|
569
569
|
return this.getAttribute("box-shadow");
|
|
570
570
|
}
|
|
571
571
|
set boxShadow(e) {
|
|
572
|
-
|
|
572
|
+
v(this, "box-shadow", e);
|
|
573
573
|
}
|
|
574
574
|
get anchorOffset() {
|
|
575
575
|
return this.getAttribute("anchor-offset");
|
|
576
576
|
}
|
|
577
577
|
set anchorOffset(e) {
|
|
578
|
-
|
|
578
|
+
v(this, "anchor-offset", e);
|
|
579
579
|
}
|
|
580
580
|
get anchorSpacing() {
|
|
581
581
|
return this.getAttribute("anchor-spacing");
|
|
582
582
|
}
|
|
583
583
|
set anchorSpacing(e) {
|
|
584
|
-
|
|
584
|
+
v(this, "anchor-spacing", e);
|
|
585
585
|
}
|
|
586
586
|
get inverted() {
|
|
587
587
|
return this.hasAttribute("inverted");
|
|
@@ -593,37 +593,37 @@ var C = [
|
|
|
593
593
|
return this.getAttribute("subgrid-rows");
|
|
594
594
|
}
|
|
595
595
|
set subgridRows(e) {
|
|
596
|
-
|
|
596
|
+
v(this, "subgrid-rows", e);
|
|
597
597
|
}
|
|
598
598
|
get subgridGap() {
|
|
599
599
|
return this.getAttribute("subgrid-gap");
|
|
600
600
|
}
|
|
601
601
|
set subgridGap(e) {
|
|
602
|
-
|
|
602
|
+
v(this, "subgrid-gap", e);
|
|
603
603
|
}
|
|
604
604
|
get subgridGapMobile() {
|
|
605
605
|
return this.getAttribute("subgrid-gap--mobile");
|
|
606
606
|
}
|
|
607
607
|
set subgridGapMobile(e) {
|
|
608
|
-
|
|
608
|
+
v(this, "subgrid-gap--mobile", e);
|
|
609
609
|
}
|
|
610
610
|
get subgridGapTablet() {
|
|
611
611
|
return this.getAttribute("subgrid-gap--tablet");
|
|
612
612
|
}
|
|
613
613
|
set subgridGapTablet(e) {
|
|
614
|
-
|
|
614
|
+
v(this, "subgrid-gap--tablet", e);
|
|
615
615
|
}
|
|
616
616
|
get subgridGapLaptop() {
|
|
617
617
|
return this.getAttribute("subgrid-gap--laptop");
|
|
618
618
|
}
|
|
619
619
|
set subgridGapLaptop(e) {
|
|
620
|
-
|
|
620
|
+
v(this, "subgrid-gap--laptop", e);
|
|
621
621
|
}
|
|
622
622
|
};
|
|
623
623
|
customElements.get("px-container") || customElements.define("px-container", O);
|
|
624
624
|
//#endregion
|
|
625
625
|
//#region ../Layout/src/Stack.css?inline
|
|
626
|
-
var k = ":host{--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;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{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;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);width:100%;height:100%;overflow-x:var(--overflow-x-all);display:flex}@media screen and (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 (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 (width>=48rem) and (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 (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 (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (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))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", A = new CSSStyleSheet();
|
|
626
|
+
var k = ":host{--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;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{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;--flex-overflow-y--mobile-value:visible;--flex-overflow-y--tablet-value:visible;--flex-overflow-y--laptop-value:visible;--flex-overflow-y--desktop-value:visible;--flex-max-height--mobile-value:none;--flex-max-height--tablet-value:none;--flex-max-height--laptop-value:none;--flex-max-height--desktop-value:none;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);width:100%;height:100%;overflow-x:var(--overflow-x-all);overflow-y:var(--flex-overflow-y--mobile-value);max-height:var(--flex-max-height--mobile-value);display:flex}@media screen and (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 (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);overflow-y:var(--flex-overflow-y--tablet-value);max-height:var(--flex-max-height--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 (width>=48rem) and (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 (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);overflow-y:var(--flex-overflow-y--laptop-value);max-height:var(--flex-max-height--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 (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (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-y:var(--flex-overflow-y--desktop-value);max-height:var(--flex-max-height--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))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", A = new CSSStyleSheet();
|
|
627
627
|
A.replaceSync(k);
|
|
628
628
|
var j = document.createElement("template");
|
|
629
629
|
j.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
|
|
@@ -704,7 +704,17 @@ var M = [
|
|
|
704
704
|
"overflow-x--mobile",
|
|
705
705
|
"overflow-x--tablet",
|
|
706
706
|
"overflow-x--laptop",
|
|
707
|
-
"overflow-x--desktop"
|
|
707
|
+
"overflow-x--desktop",
|
|
708
|
+
"overflow-y",
|
|
709
|
+
"overflow-y--mobile",
|
|
710
|
+
"overflow-y--tablet",
|
|
711
|
+
"overflow-y--laptop",
|
|
712
|
+
"overflow-y--desktop",
|
|
713
|
+
"max-height",
|
|
714
|
+
"max-height--mobile",
|
|
715
|
+
"max-height--tablet",
|
|
716
|
+
"max-height--laptop",
|
|
717
|
+
"max-height--desktop"
|
|
708
718
|
];
|
|
709
719
|
}
|
|
710
720
|
attributeChangedCallback(e, t, n) {
|
|
@@ -714,7 +724,7 @@ var M = [
|
|
|
714
724
|
case "gap--tablet":
|
|
715
725
|
case "gap--laptop":
|
|
716
726
|
case "gap--desktop":
|
|
717
|
-
this.updateFlexProperties(e, t, n,
|
|
727
|
+
this.updateFlexProperties(e, t, n, p);
|
|
718
728
|
break;
|
|
719
729
|
case "justify-content":
|
|
720
730
|
case "justify-content--mobile":
|
|
@@ -742,7 +752,19 @@ var M = [
|
|
|
742
752
|
case "direction--tablet":
|
|
743
753
|
case "direction--laptop":
|
|
744
754
|
case "direction--desktop":
|
|
745
|
-
this.updateFlexProperties(e, t, n, M);
|
|
755
|
+
this.updateFlexProperties(e, t, n, M), this.updateVerticalStyles();
|
|
756
|
+
break;
|
|
757
|
+
case "overflow-y":
|
|
758
|
+
case "overflow-y--mobile":
|
|
759
|
+
case "overflow-y--tablet":
|
|
760
|
+
case "overflow-y--laptop":
|
|
761
|
+
case "overflow-y--desktop":
|
|
762
|
+
case "max-height":
|
|
763
|
+
case "max-height--mobile":
|
|
764
|
+
case "max-height--tablet":
|
|
765
|
+
case "max-height--laptop":
|
|
766
|
+
case "max-height--desktop":
|
|
767
|
+
n && !this.isValidVerticalValue(e, n) && h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
746
768
|
break;
|
|
747
769
|
case "overflow-x":
|
|
748
770
|
case "overflow-x--mobile":
|
|
@@ -754,11 +776,23 @@ var M = [
|
|
|
754
776
|
default: super.attributeChangedCallback(e, t, n);
|
|
755
777
|
}
|
|
756
778
|
}
|
|
779
|
+
isValidVerticalValue(e, t) {
|
|
780
|
+
return e.startsWith("overflow-y") ? I.includes(t) : CSS.supports("max-height", t);
|
|
781
|
+
}
|
|
782
|
+
updateVerticalStyles() {
|
|
783
|
+
for (let e of t.breakpoints) {
|
|
784
|
+
let t = this.localName === "px-stack" && this.getAttribute(`direction--${e}`) || this.direction, n = t === "column" || t === "column-reverse";
|
|
785
|
+
for (let t of ["overflow-y", "max-height"]) {
|
|
786
|
+
let r = this.getAttribute(`${t}--${e}`) || this.getAttribute(t);
|
|
787
|
+
this.updateStyle(t, e, n && r && this.isValidVerticalValue(t, r) ? r : null);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
757
791
|
updateOverflowX(e, t, n, r) {
|
|
758
|
-
|
|
792
|
+
u(r, n) ? this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n) : h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
759
793
|
}
|
|
760
794
|
updateFlexProperties(e, n, r, i) {
|
|
761
|
-
r !== null && !this.checkName(i, r) &&
|
|
795
|
+
r !== null && !this.checkName(i, r) && h(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
762
796
|
let a = e.indexOf("--");
|
|
763
797
|
if (a === -1) for (let n of t.breakpoints) this.getAttribute(`${e}--${n}`) || this.updateStyle(e, n, r, i);
|
|
764
798
|
else {
|
|
@@ -786,181 +820,241 @@ var M = [
|
|
|
786
820
|
return this.getAttribute("direction") ?? "row";
|
|
787
821
|
}
|
|
788
822
|
set direction(e) {
|
|
789
|
-
|
|
823
|
+
v(this, "direction", e);
|
|
790
824
|
}
|
|
791
825
|
get directionMobile() {
|
|
792
826
|
return this.getAttribute("direction--mobile");
|
|
793
827
|
}
|
|
794
828
|
set directionMobile(e) {
|
|
795
|
-
|
|
829
|
+
v(this, "direction--mobile", e);
|
|
796
830
|
}
|
|
797
831
|
get directionTablet() {
|
|
798
832
|
return this.getAttribute("direction--tablet");
|
|
799
833
|
}
|
|
800
834
|
set directionTablet(e) {
|
|
801
|
-
|
|
835
|
+
v(this, "direction--tablet", e);
|
|
802
836
|
}
|
|
803
837
|
get directionLaptop() {
|
|
804
838
|
return this.getAttribute("direction--laptop");
|
|
805
839
|
}
|
|
806
840
|
set directionLaptop(e) {
|
|
807
|
-
|
|
841
|
+
v(this, "direction--laptop", e);
|
|
808
842
|
}
|
|
809
843
|
get directionDesktop() {
|
|
810
844
|
return this.getAttribute("direction--desktop");
|
|
811
845
|
}
|
|
812
846
|
set directionDesktop(e) {
|
|
813
|
-
|
|
847
|
+
v(this, "direction--desktop", e);
|
|
814
848
|
}
|
|
815
849
|
get gap() {
|
|
816
850
|
return this.getAttribute("gap") ?? "none";
|
|
817
851
|
}
|
|
818
852
|
set gap(e) {
|
|
819
|
-
|
|
853
|
+
v(this, "gap", e);
|
|
820
854
|
}
|
|
821
855
|
get gapMobile() {
|
|
822
856
|
return this.getAttribute("gap--mobile");
|
|
823
857
|
}
|
|
824
858
|
set gapMobile(e) {
|
|
825
|
-
|
|
859
|
+
v(this, "gap--mobile", e);
|
|
826
860
|
}
|
|
827
861
|
get gapTablet() {
|
|
828
862
|
return this.getAttribute("gap--tablet");
|
|
829
863
|
}
|
|
830
864
|
set gapTablet(e) {
|
|
831
|
-
|
|
865
|
+
v(this, "gap--tablet", e);
|
|
832
866
|
}
|
|
833
867
|
get gapLaptop() {
|
|
834
868
|
return this.getAttribute("gap--laptop");
|
|
835
869
|
}
|
|
836
870
|
set gapLaptop(e) {
|
|
837
|
-
|
|
871
|
+
v(this, "gap--laptop", e);
|
|
838
872
|
}
|
|
839
873
|
get gapDesktop() {
|
|
840
874
|
return this.getAttribute("gap--desktop");
|
|
841
875
|
}
|
|
842
876
|
set gapDesktop(e) {
|
|
843
|
-
|
|
877
|
+
v(this, "gap--desktop", e);
|
|
844
878
|
}
|
|
845
879
|
get justifyContent() {
|
|
846
880
|
return this.getAttribute("justify-content") ?? "flex-start";
|
|
847
881
|
}
|
|
848
882
|
set justifyContent(e) {
|
|
849
|
-
|
|
883
|
+
v(this, "justify-content", e);
|
|
850
884
|
}
|
|
851
885
|
get justifyContentMobile() {
|
|
852
886
|
return this.getAttribute("justify-content--mobile");
|
|
853
887
|
}
|
|
854
888
|
set justifyContentMobile(e) {
|
|
855
|
-
|
|
889
|
+
v(this, "justify-content--mobile", e);
|
|
856
890
|
}
|
|
857
891
|
get justifyContentTablet() {
|
|
858
892
|
return this.getAttribute("justify-content--tablet");
|
|
859
893
|
}
|
|
860
894
|
set justifyContentTablet(e) {
|
|
861
|
-
|
|
895
|
+
v(this, "justify-content--tablet", e);
|
|
862
896
|
}
|
|
863
897
|
get justifyContentLaptop() {
|
|
864
898
|
return this.getAttribute("justify-content--laptop");
|
|
865
899
|
}
|
|
866
900
|
set justifyContentLaptop(e) {
|
|
867
|
-
|
|
901
|
+
v(this, "justify-content--laptop", e);
|
|
868
902
|
}
|
|
869
903
|
get justifyContentDesktop() {
|
|
870
904
|
return this.getAttribute("justify-content--desktop");
|
|
871
905
|
}
|
|
872
906
|
set justifyContentDesktop(e) {
|
|
873
|
-
|
|
907
|
+
v(this, "justify-content--desktop", e);
|
|
874
908
|
}
|
|
875
909
|
get alignItems() {
|
|
876
910
|
return this.getAttribute("align-items") ?? "stretch";
|
|
877
911
|
}
|
|
878
912
|
set alignItems(e) {
|
|
879
|
-
|
|
913
|
+
v(this, "align-items", e);
|
|
880
914
|
}
|
|
881
915
|
get alignItemsMobile() {
|
|
882
916
|
return this.getAttribute("align-items--mobile");
|
|
883
917
|
}
|
|
884
918
|
set alignItemsMobile(e) {
|
|
885
|
-
|
|
919
|
+
v(this, "align-items--mobile", e);
|
|
886
920
|
}
|
|
887
921
|
get alignItemsTablet() {
|
|
888
922
|
return this.getAttribute("align-items--tablet");
|
|
889
923
|
}
|
|
890
924
|
set alignItemsTablet(e) {
|
|
891
|
-
|
|
925
|
+
v(this, "align-items--tablet", e);
|
|
892
926
|
}
|
|
893
927
|
get alignItemsLaptop() {
|
|
894
928
|
return this.getAttribute("align-items--laptop");
|
|
895
929
|
}
|
|
896
930
|
set alignItemsLaptop(e) {
|
|
897
|
-
|
|
931
|
+
v(this, "align-items--laptop", e);
|
|
898
932
|
}
|
|
899
933
|
get alignItemsDesktop() {
|
|
900
934
|
return this.getAttribute("align-items--desktop");
|
|
901
935
|
}
|
|
902
936
|
set alignItemsDesktop(e) {
|
|
903
|
-
|
|
937
|
+
v(this, "align-items--desktop", e);
|
|
904
938
|
}
|
|
905
939
|
get wrap() {
|
|
906
940
|
return this.getAttribute("wrap") ?? "nowrap";
|
|
907
941
|
}
|
|
908
942
|
set wrap(e) {
|
|
909
|
-
|
|
943
|
+
v(this, "wrap", e);
|
|
910
944
|
}
|
|
911
945
|
get wrapMobile() {
|
|
912
946
|
return this.getAttribute("wrap--mobile");
|
|
913
947
|
}
|
|
914
948
|
set wrapMobile(e) {
|
|
915
|
-
|
|
949
|
+
v(this, "wrap--mobile", e);
|
|
916
950
|
}
|
|
917
951
|
get wrapTablet() {
|
|
918
952
|
return this.getAttribute("wrap--tablet");
|
|
919
953
|
}
|
|
920
954
|
set wrapTablet(e) {
|
|
921
|
-
|
|
955
|
+
v(this, "wrap--tablet", e);
|
|
922
956
|
}
|
|
923
957
|
get wrapLaptop() {
|
|
924
958
|
return this.getAttribute("wrap--laptop");
|
|
925
959
|
}
|
|
926
960
|
set wrapLaptop(e) {
|
|
927
|
-
|
|
961
|
+
v(this, "wrap--laptop", e);
|
|
928
962
|
}
|
|
929
963
|
get wrapDesktop() {
|
|
930
964
|
return this.getAttribute("wrap--desktop");
|
|
931
965
|
}
|
|
932
966
|
set wrapDesktop(e) {
|
|
933
|
-
|
|
967
|
+
v(this, "wrap--desktop", e);
|
|
934
968
|
}
|
|
935
969
|
get overflowX() {
|
|
936
970
|
return this.getAttribute("overflow-x") ?? "visible";
|
|
937
971
|
}
|
|
938
972
|
set overflowX(e) {
|
|
939
|
-
|
|
973
|
+
v(this, "overflow-x", e);
|
|
940
974
|
}
|
|
941
975
|
get overflowXMobile() {
|
|
942
976
|
return this.getAttribute("overflow-x--mobile");
|
|
943
977
|
}
|
|
944
978
|
set overflowXMobile(e) {
|
|
945
|
-
|
|
979
|
+
v(this, "overflow-x--mobile", e);
|
|
946
980
|
}
|
|
947
981
|
get overflowXTablet() {
|
|
948
982
|
return this.getAttribute("overflow-x--tablet");
|
|
949
983
|
}
|
|
950
984
|
set overflowXTablet(e) {
|
|
951
|
-
|
|
985
|
+
v(this, "overflow-x--tablet", e);
|
|
952
986
|
}
|
|
953
987
|
get overflowXLaptop() {
|
|
954
988
|
return this.getAttribute("overflow-x--laptop");
|
|
955
989
|
}
|
|
956
990
|
set overflowXLaptop(e) {
|
|
957
|
-
|
|
991
|
+
v(this, "overflow-x--laptop", e);
|
|
958
992
|
}
|
|
959
993
|
get overflowXDesktop() {
|
|
960
994
|
return this.getAttribute("overflow-x--desktop");
|
|
961
995
|
}
|
|
962
996
|
set overflowXDesktop(e) {
|
|
963
|
-
|
|
997
|
+
v(this, "overflow-x--desktop", e);
|
|
998
|
+
}
|
|
999
|
+
get overflowY() {
|
|
1000
|
+
return this.getAttribute("overflow-y") ?? "visible";
|
|
1001
|
+
}
|
|
1002
|
+
set overflowY(e) {
|
|
1003
|
+
v(this, "overflow-y", e);
|
|
1004
|
+
}
|
|
1005
|
+
get overflowYMobile() {
|
|
1006
|
+
return this.getAttribute("overflow-y--mobile");
|
|
1007
|
+
}
|
|
1008
|
+
set overflowYMobile(e) {
|
|
1009
|
+
v(this, "overflow-y--mobile", e);
|
|
1010
|
+
}
|
|
1011
|
+
get overflowYTablet() {
|
|
1012
|
+
return this.getAttribute("overflow-y--tablet");
|
|
1013
|
+
}
|
|
1014
|
+
set overflowYTablet(e) {
|
|
1015
|
+
v(this, "overflow-y--tablet", e);
|
|
1016
|
+
}
|
|
1017
|
+
get overflowYLaptop() {
|
|
1018
|
+
return this.getAttribute("overflow-y--laptop");
|
|
1019
|
+
}
|
|
1020
|
+
set overflowYLaptop(e) {
|
|
1021
|
+
v(this, "overflow-y--laptop", e);
|
|
1022
|
+
}
|
|
1023
|
+
get overflowYDesktop() {
|
|
1024
|
+
return this.getAttribute("overflow-y--desktop");
|
|
1025
|
+
}
|
|
1026
|
+
set overflowYDesktop(e) {
|
|
1027
|
+
v(this, "overflow-y--desktop", e);
|
|
1028
|
+
}
|
|
1029
|
+
get maxHeight() {
|
|
1030
|
+
return this.getAttribute("max-height") ?? "none";
|
|
1031
|
+
}
|
|
1032
|
+
set maxHeight(e) {
|
|
1033
|
+
v(this, "max-height", e);
|
|
1034
|
+
}
|
|
1035
|
+
get maxHeightMobile() {
|
|
1036
|
+
return this.getAttribute("max-height--mobile");
|
|
1037
|
+
}
|
|
1038
|
+
set maxHeightMobile(e) {
|
|
1039
|
+
v(this, "max-height--mobile", e);
|
|
1040
|
+
}
|
|
1041
|
+
get maxHeightTablet() {
|
|
1042
|
+
return this.getAttribute("max-height--tablet");
|
|
1043
|
+
}
|
|
1044
|
+
set maxHeightTablet(e) {
|
|
1045
|
+
v(this, "max-height--tablet", e);
|
|
1046
|
+
}
|
|
1047
|
+
get maxHeightLaptop() {
|
|
1048
|
+
return this.getAttribute("max-height--laptop");
|
|
1049
|
+
}
|
|
1050
|
+
set maxHeightLaptop(e) {
|
|
1051
|
+
v(this, "max-height--laptop", e);
|
|
1052
|
+
}
|
|
1053
|
+
get maxHeightDesktop() {
|
|
1054
|
+
return this.getAttribute("max-height--desktop");
|
|
1055
|
+
}
|
|
1056
|
+
set maxHeightDesktop(e) {
|
|
1057
|
+
v(this, "max-height--desktop", e);
|
|
964
1058
|
}
|
|
965
1059
|
get $el() {
|
|
966
1060
|
return this.shadowRoot.firstElementChild;
|
|
@@ -972,7 +1066,7 @@ var R = (e) => e === "direction" || e.startsWith("direction--"), z = class exten
|
|
|
972
1066
|
return "column";
|
|
973
1067
|
}
|
|
974
1068
|
set direction(e) {
|
|
975
|
-
|
|
1069
|
+
v(this, "direction", e);
|
|
976
1070
|
}
|
|
977
1071
|
attributeChangedCallback(e, t, n) {
|
|
978
1072
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -984,7 +1078,7 @@ var B = class extends L {
|
|
|
984
1078
|
return "row";
|
|
985
1079
|
}
|
|
986
1080
|
set direction(e) {
|
|
987
|
-
|
|
1081
|
+
v(this, "direction", e);
|
|
988
1082
|
}
|
|
989
1083
|
attributeChangedCallback(e, t, n) {
|
|
990
1084
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -1139,7 +1233,7 @@ var W = class extends n {
|
|
|
1139
1233
|
</px-container>
|
|
1140
1234
|
</px-vstack>
|
|
1141
1235
|
</px-container>
|
|
1142
|
-
`,
|
|
1236
|
+
`, y(this.shadowRoot, this.template());
|
|
1143
1237
|
}
|
|
1144
1238
|
static get observedAttributes() {
|
|
1145
1239
|
return [
|
|
@@ -1230,16 +1324,16 @@ customElements.get("px-page") === void 0 && customElements.define("px-page", W);
|
|
|
1230
1324
|
//#endregion
|
|
1231
1325
|
//#region ../Section/src/Section.ts
|
|
1232
1326
|
var G = new CSSStyleSheet();
|
|
1233
|
-
G.replaceSync(
|
|
1327
|
+
G.replaceSync(x);
|
|
1234
1328
|
var K = class e extends n {
|
|
1235
1329
|
static {
|
|
1236
|
-
this.template =
|
|
1330
|
+
this.template = d("<px-container border-radius=\"none\" padding-inline=\"none\"><div class=\"content-wrapper\"><px-vstack gap=\"heading-to-content\"><slot name=\"heading\"></slot><px-vstack gap=\"none\"><slot></slot></px-vstack></px-vstack></div></px-container><div class=\"content-wrapper\"><slot name=\"overlap\"></slot></div>");
|
|
1237
1331
|
}
|
|
1238
1332
|
constructor() {
|
|
1239
|
-
super(G),
|
|
1333
|
+
super(G), y(this.shadowRoot, e.template);
|
|
1240
1334
|
}
|
|
1241
1335
|
connectedCallback() {
|
|
1242
|
-
|
|
1336
|
+
v(this.$container, "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(), this.$slotHeading?.addEventListener("slotchange", this.setHeadingSpacing), this.toggleOverlapSpacing = this.toggleOverlapSpacing.bind(this), this.toggleOverlapSpacing(), this.$slotOverlap?.addEventListener("slotchange", this.toggleOverlapSpacing);
|
|
1243
1337
|
}
|
|
1244
1338
|
static get observedAttributes() {
|
|
1245
1339
|
return [
|
|
@@ -1389,151 +1483,151 @@ var K = class e extends n {
|
|
|
1389
1483
|
return this.getAttribute("background-color") || "none";
|
|
1390
1484
|
}
|
|
1391
1485
|
set backgroundColor(e) {
|
|
1392
|
-
|
|
1486
|
+
v(this, "background-color", e);
|
|
1393
1487
|
}
|
|
1394
1488
|
get gradient() {
|
|
1395
1489
|
return this.getAttribute("background-gradient");
|
|
1396
1490
|
}
|
|
1397
1491
|
set gradient(e) {
|
|
1398
|
-
|
|
1492
|
+
v(this, "background-gradient", e);
|
|
1399
1493
|
}
|
|
1400
1494
|
get backgroundImage() {
|
|
1401
1495
|
return this.getAttribute("background-image");
|
|
1402
1496
|
}
|
|
1403
1497
|
set backgroundImage(e) {
|
|
1404
|
-
|
|
1498
|
+
v(this, "background-image", e);
|
|
1405
1499
|
}
|
|
1406
1500
|
get backgroundImageMobile() {
|
|
1407
1501
|
return this.getAttribute("background-image--mobile");
|
|
1408
1502
|
}
|
|
1409
1503
|
set backgroundImageMobile(e) {
|
|
1410
|
-
|
|
1504
|
+
v(this, "background-image--mobile", e);
|
|
1411
1505
|
}
|
|
1412
1506
|
get backgroundImageTablet() {
|
|
1413
1507
|
return this.getAttribute("background-image--tablet");
|
|
1414
1508
|
}
|
|
1415
1509
|
set backgroundImageTablet(e) {
|
|
1416
|
-
|
|
1510
|
+
v(this, "background-image--tablet", e);
|
|
1417
1511
|
}
|
|
1418
1512
|
get backgroundImageLaptop() {
|
|
1419
1513
|
return this.getAttribute("background-image--laptop");
|
|
1420
1514
|
}
|
|
1421
1515
|
set backgroundImageLaptop(e) {
|
|
1422
|
-
|
|
1516
|
+
v(this, "background-image--laptop", e);
|
|
1423
1517
|
}
|
|
1424
1518
|
get backgroundSize() {
|
|
1425
1519
|
return this.getAttribute("background-size");
|
|
1426
1520
|
}
|
|
1427
1521
|
set backgroundSize(e) {
|
|
1428
|
-
|
|
1522
|
+
v(this, "background-size", e);
|
|
1429
1523
|
}
|
|
1430
1524
|
get backgroundPosition() {
|
|
1431
1525
|
return this.getAttribute("background-position");
|
|
1432
1526
|
}
|
|
1433
1527
|
set backgroundPosition(e) {
|
|
1434
|
-
|
|
1528
|
+
v(this, "background-position", e);
|
|
1435
1529
|
}
|
|
1436
1530
|
get paddingBlock() {
|
|
1437
1531
|
return this.getAttribute("padding-block");
|
|
1438
1532
|
}
|
|
1439
1533
|
set paddingBlock(e) {
|
|
1440
|
-
|
|
1534
|
+
v(this, "padding-block", e);
|
|
1441
1535
|
}
|
|
1442
1536
|
get paddingTop() {
|
|
1443
1537
|
return this.getAttribute("padding-top");
|
|
1444
1538
|
}
|
|
1445
1539
|
set paddingTop(e) {
|
|
1446
|
-
|
|
1540
|
+
v(this, "padding-top", e);
|
|
1447
1541
|
}
|
|
1448
1542
|
get paddingBottom() {
|
|
1449
1543
|
return this.getAttribute("padding-bottom");
|
|
1450
1544
|
}
|
|
1451
1545
|
set paddingBottom(e) {
|
|
1452
|
-
|
|
1546
|
+
v(this, "padding-bottom", e);
|
|
1453
1547
|
}
|
|
1454
1548
|
get paddingBlockMobile() {
|
|
1455
1549
|
return this.getAttribute("padding-block--mobile");
|
|
1456
1550
|
}
|
|
1457
1551
|
set paddingBlockMobile(e) {
|
|
1458
|
-
|
|
1552
|
+
v(this, "padding-block--mobile", e);
|
|
1459
1553
|
}
|
|
1460
1554
|
get paddingTopMobile() {
|
|
1461
1555
|
return this.getAttribute("padding-top--mobile");
|
|
1462
1556
|
}
|
|
1463
1557
|
set paddingTopMobile(e) {
|
|
1464
|
-
|
|
1558
|
+
v(this, "padding-top--mobile", e);
|
|
1465
1559
|
}
|
|
1466
1560
|
get paddingBottomMobile() {
|
|
1467
1561
|
return this.getAttribute("padding-bottom--mobile");
|
|
1468
1562
|
}
|
|
1469
1563
|
set paddingBottomMobile(e) {
|
|
1470
|
-
|
|
1564
|
+
v(this, "padding-bottom--mobile", e);
|
|
1471
1565
|
}
|
|
1472
1566
|
get paddingBlockTablet() {
|
|
1473
1567
|
return this.getAttribute("padding-block--tablet");
|
|
1474
1568
|
}
|
|
1475
1569
|
set paddingBlockTablet(e) {
|
|
1476
|
-
|
|
1570
|
+
v(this, "padding-block--tablet", e);
|
|
1477
1571
|
}
|
|
1478
1572
|
get paddingTopTablet() {
|
|
1479
1573
|
return this.getAttribute("padding-top--tablet");
|
|
1480
1574
|
}
|
|
1481
1575
|
set paddingTopTablet(e) {
|
|
1482
|
-
|
|
1576
|
+
v(this, "padding-top--tablet", e);
|
|
1483
1577
|
}
|
|
1484
1578
|
get paddingBottomTablet() {
|
|
1485
1579
|
return this.getAttribute("padding-bottom--tablet");
|
|
1486
1580
|
}
|
|
1487
1581
|
set paddingBottomTablet(e) {
|
|
1488
|
-
|
|
1582
|
+
v(this, "padding-bottom--tablet", e);
|
|
1489
1583
|
}
|
|
1490
1584
|
get paddingBlockLaptop() {
|
|
1491
1585
|
return this.getAttribute("padding-block--laptop");
|
|
1492
1586
|
}
|
|
1493
1587
|
set paddingBlockLaptop(e) {
|
|
1494
|
-
|
|
1588
|
+
v(this, "padding-block--laptop", e);
|
|
1495
1589
|
}
|
|
1496
1590
|
get paddingTopLaptop() {
|
|
1497
1591
|
return this.getAttribute("padding-top--laptop");
|
|
1498
1592
|
}
|
|
1499
1593
|
set paddingTopLaptop(e) {
|
|
1500
|
-
|
|
1594
|
+
v(this, "padding-top--laptop", e);
|
|
1501
1595
|
}
|
|
1502
1596
|
get paddingBottomLaptop() {
|
|
1503
1597
|
return this.getAttribute("padding-bottom--laptop");
|
|
1504
1598
|
}
|
|
1505
1599
|
set paddingBottomLaptop(e) {
|
|
1506
|
-
|
|
1600
|
+
v(this, "padding-bottom--laptop", e);
|
|
1507
1601
|
}
|
|
1508
1602
|
get border() {
|
|
1509
1603
|
return this.getAttribute("border");
|
|
1510
1604
|
}
|
|
1511
1605
|
set border(e) {
|
|
1512
|
-
|
|
1606
|
+
v(this, "border", e);
|
|
1513
1607
|
}
|
|
1514
1608
|
get borderSide() {
|
|
1515
1609
|
return this.getAttribute("border-side");
|
|
1516
1610
|
}
|
|
1517
1611
|
set borderSide(e) {
|
|
1518
|
-
|
|
1612
|
+
v(this, "border-side", e);
|
|
1519
1613
|
}
|
|
1520
1614
|
get borderSideMobile() {
|
|
1521
1615
|
return this.getAttribute("border-side--mobile");
|
|
1522
1616
|
}
|
|
1523
1617
|
set borderSideMobile(e) {
|
|
1524
|
-
|
|
1618
|
+
v(this, "border-side--mobile", e);
|
|
1525
1619
|
}
|
|
1526
1620
|
get borderSideTablet() {
|
|
1527
1621
|
return this.getAttribute("border-side--tablet");
|
|
1528
1622
|
}
|
|
1529
1623
|
set borderSideTablet(e) {
|
|
1530
|
-
|
|
1624
|
+
v(this, "border-side--tablet", e);
|
|
1531
1625
|
}
|
|
1532
1626
|
get borderSideLaptop() {
|
|
1533
1627
|
return this.getAttribute("border-side--laptop");
|
|
1534
1628
|
}
|
|
1535
1629
|
set borderSideLaptop(e) {
|
|
1536
|
-
|
|
1630
|
+
v(this, "border-side--laptop", e);
|
|
1537
1631
|
}
|
|
1538
1632
|
};
|
|
1539
1633
|
customElements.get("px-section") || customElements.define("px-section", K);
|
|
@@ -1569,15 +1663,18 @@ var Y = [
|
|
|
1569
1663
|
"end",
|
|
1570
1664
|
"center",
|
|
1571
1665
|
"stretch"
|
|
1572
|
-
], ne =
|
|
1666
|
+
], ne = f("gap", (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .grid`, p, "px-spacing", "--grid-gap"), re = class e extends t {
|
|
1573
1667
|
static {
|
|
1574
|
-
this.template =
|
|
1668
|
+
this.template = d("<div class=\"grid\"><slot></slot></div>");
|
|
1575
1669
|
}
|
|
1576
1670
|
static {
|
|
1577
1671
|
this.nativeName = "div";
|
|
1578
1672
|
}
|
|
1673
|
+
static {
|
|
1674
|
+
this.nativeAttributes = {};
|
|
1675
|
+
}
|
|
1579
1676
|
constructor() {
|
|
1580
|
-
super(J, ne),
|
|
1677
|
+
super(J, ne), y(this.shadowRoot, e.template);
|
|
1581
1678
|
}
|
|
1582
1679
|
static get observedAttributes() {
|
|
1583
1680
|
return [
|
|
@@ -1648,7 +1745,7 @@ var Y = [
|
|
|
1648
1745
|
}
|
|
1649
1746
|
updateGap(e, t, n) {
|
|
1650
1747
|
if (!this.checkName(n, t)) {
|
|
1651
|
-
|
|
1748
|
+
h(`"${t}" is not a valid gap value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
1652
1749
|
return;
|
|
1653
1750
|
}
|
|
1654
1751
|
let r = (e) => {
|
|
@@ -1657,7 +1754,7 @@ var Y = [
|
|
|
1657
1754
|
r(e), r(t);
|
|
1658
1755
|
}
|
|
1659
1756
|
updateAttribute(e, t, n, r) {
|
|
1660
|
-
this.checkName(r, n) ? e === "grid-cols" || e === "grid-cols--mobile" || e === "grid-cols--tablet" || e === "grid-cols--laptop" || e === "grid-cols--desktop" ? this.$el.style.setProperty(`--${e}`, n) : (t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`)) :
|
|
1757
|
+
this.checkName(r, n) ? e === "grid-cols" || e === "grid-cols--mobile" || e === "grid-cols--tablet" || e === "grid-cols--laptop" || e === "grid-cols--desktop" ? this.$el.style.setProperty(`--${e}`, n) : (t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`)) : h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1661
1758
|
}
|
|
1662
1759
|
get gap() {
|
|
1663
1760
|
return this.getAttribute("gap");
|
|
@@ -1832,19 +1929,23 @@ customElements.get("px-grid") || customElements.define("px-grid", re);
|
|
|
1832
1929
|
//#endregion
|
|
1833
1930
|
//#region src/ContentHeader.ts
|
|
1834
1931
|
var Q = new CSSStyleSheet();
|
|
1835
|
-
Q.replaceSync(
|
|
1932
|
+
Q.replaceSync(b);
|
|
1836
1933
|
var $ = class e extends t {
|
|
1837
1934
|
static {
|
|
1838
|
-
this.template =
|
|
1935
|
+
this.template = d("<div class=\"content-header\"><div class=\"contrast-helper\"></div><px-section padding-block=\"l\"><px-grid gap=\"none\"><px-container padding=\"none\" border-radius=\"none\" background-color=\"none\" ><div class=\"content-header-content\"><px-vstack gap=\"heading-to-subtitle\"><px-h1><slot></slot></px-h1><slot name=\"subtitle\"></slot></px-vstack><px-stack gap=\"s\" direction=\"row\" direction--mobile=\"column\"><slot name=\"patch\" shrink></slot><slot name=\"patch-description\"></slot></px-stack></div></px-container></px-grid><slot name=\"overlap\" slot=\"overlap\"></slot></px-section></div>");
|
|
1839
1936
|
}
|
|
1840
1937
|
static {
|
|
1841
1938
|
this.nativeName = "div";
|
|
1842
1939
|
}
|
|
1940
|
+
static {
|
|
1941
|
+
this.nativeAttributes = {};
|
|
1942
|
+
}
|
|
1843
1943
|
constructor() {
|
|
1844
|
-
super(Q),
|
|
1944
|
+
super(Q), y(this.shadowRoot, e.template);
|
|
1845
1945
|
}
|
|
1846
1946
|
static get observedAttributes() {
|
|
1847
1947
|
return [
|
|
1948
|
+
...super.observedAttributes,
|
|
1848
1949
|
"background-color",
|
|
1849
1950
|
"background-gradient",
|
|
1850
1951
|
"background-image",
|
|
@@ -1869,11 +1970,16 @@ var $ = class e extends t {
|
|
|
1869
1970
|
}
|
|
1870
1971
|
attributeChangedCallback(e, t, n) {
|
|
1871
1972
|
if (t !== n) switch (e) {
|
|
1973
|
+
case "contrast-helper-gradient":
|
|
1974
|
+
case "contrast-helper-overlay":
|
|
1975
|
+
case "min-height":
|
|
1976
|
+
this._forwardNativeAttribute(e, n);
|
|
1977
|
+
break;
|
|
1872
1978
|
case "background-color":
|
|
1873
1979
|
this.$section.backgroundColor = r.indexOf(n) > 0 ? n : "none";
|
|
1874
1980
|
break;
|
|
1875
1981
|
case "background-gradient":
|
|
1876
|
-
this.$section.gradient =
|
|
1982
|
+
this.$section.gradient = m.indexOf(n) > 0 ? n : "none";
|
|
1877
1983
|
break;
|
|
1878
1984
|
case "background-image":
|
|
1879
1985
|
this.$section.backgroundImage = n;
|