@proximus/lavender-content-header 1.4.20-alpha.3 → 1.4.20-alpha.5
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 +278 -172
- 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-tablet) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-tablet)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-laptop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-laptop)}}", x = ":host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-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-tablet) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-tablet)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-laptop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-laptop)}}", 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,15 +776,27 @@ 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
|
-
if (!
|
|
759
|
-
|
|
792
|
+
if (!u(r, n)) {
|
|
793
|
+
h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
760
794
|
return;
|
|
761
795
|
}
|
|
762
796
|
this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
|
|
763
797
|
}
|
|
764
798
|
updateFlexProperties(e, n, r, i) {
|
|
765
|
-
r !== null && !this.checkName(i, r) &&
|
|
799
|
+
r !== null && !this.checkName(i, r) && h(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
766
800
|
let a = e.indexOf("--");
|
|
767
801
|
if (a === -1) for (let n of t.breakpoints) this.getAttribute(`${e}--${n}`) || this.updateStyle(e, n, r, i);
|
|
768
802
|
else {
|
|
@@ -793,181 +827,241 @@ var M = [
|
|
|
793
827
|
return this.getAttribute("direction") ?? "row";
|
|
794
828
|
}
|
|
795
829
|
set direction(e) {
|
|
796
|
-
|
|
830
|
+
v(this, "direction", e);
|
|
797
831
|
}
|
|
798
832
|
get directionMobile() {
|
|
799
833
|
return this.getAttribute("direction--mobile");
|
|
800
834
|
}
|
|
801
835
|
set directionMobile(e) {
|
|
802
|
-
|
|
836
|
+
v(this, "direction--mobile", e);
|
|
803
837
|
}
|
|
804
838
|
get directionTablet() {
|
|
805
839
|
return this.getAttribute("direction--tablet");
|
|
806
840
|
}
|
|
807
841
|
set directionTablet(e) {
|
|
808
|
-
|
|
842
|
+
v(this, "direction--tablet", e);
|
|
809
843
|
}
|
|
810
844
|
get directionLaptop() {
|
|
811
845
|
return this.getAttribute("direction--laptop");
|
|
812
846
|
}
|
|
813
847
|
set directionLaptop(e) {
|
|
814
|
-
|
|
848
|
+
v(this, "direction--laptop", e);
|
|
815
849
|
}
|
|
816
850
|
get directionDesktop() {
|
|
817
851
|
return this.getAttribute("direction--desktop");
|
|
818
852
|
}
|
|
819
853
|
set directionDesktop(e) {
|
|
820
|
-
|
|
854
|
+
v(this, "direction--desktop", e);
|
|
821
855
|
}
|
|
822
856
|
get gap() {
|
|
823
857
|
return this.getAttribute("gap") ?? "none";
|
|
824
858
|
}
|
|
825
859
|
set gap(e) {
|
|
826
|
-
|
|
860
|
+
v(this, "gap", e);
|
|
827
861
|
}
|
|
828
862
|
get gapMobile() {
|
|
829
863
|
return this.getAttribute("gap--mobile");
|
|
830
864
|
}
|
|
831
865
|
set gapMobile(e) {
|
|
832
|
-
|
|
866
|
+
v(this, "gap--mobile", e);
|
|
833
867
|
}
|
|
834
868
|
get gapTablet() {
|
|
835
869
|
return this.getAttribute("gap--tablet");
|
|
836
870
|
}
|
|
837
871
|
set gapTablet(e) {
|
|
838
|
-
|
|
872
|
+
v(this, "gap--tablet", e);
|
|
839
873
|
}
|
|
840
874
|
get gapLaptop() {
|
|
841
875
|
return this.getAttribute("gap--laptop");
|
|
842
876
|
}
|
|
843
877
|
set gapLaptop(e) {
|
|
844
|
-
|
|
878
|
+
v(this, "gap--laptop", e);
|
|
845
879
|
}
|
|
846
880
|
get gapDesktop() {
|
|
847
881
|
return this.getAttribute("gap--desktop");
|
|
848
882
|
}
|
|
849
883
|
set gapDesktop(e) {
|
|
850
|
-
|
|
884
|
+
v(this, "gap--desktop", e);
|
|
851
885
|
}
|
|
852
886
|
get justifyContent() {
|
|
853
887
|
return this.getAttribute("justify-content") ?? "flex-start";
|
|
854
888
|
}
|
|
855
889
|
set justifyContent(e) {
|
|
856
|
-
|
|
890
|
+
v(this, "justify-content", e);
|
|
857
891
|
}
|
|
858
892
|
get justifyContentMobile() {
|
|
859
893
|
return this.getAttribute("justify-content--mobile");
|
|
860
894
|
}
|
|
861
895
|
set justifyContentMobile(e) {
|
|
862
|
-
|
|
896
|
+
v(this, "justify-content--mobile", e);
|
|
863
897
|
}
|
|
864
898
|
get justifyContentTablet() {
|
|
865
899
|
return this.getAttribute("justify-content--tablet");
|
|
866
900
|
}
|
|
867
901
|
set justifyContentTablet(e) {
|
|
868
|
-
|
|
902
|
+
v(this, "justify-content--tablet", e);
|
|
869
903
|
}
|
|
870
904
|
get justifyContentLaptop() {
|
|
871
905
|
return this.getAttribute("justify-content--laptop");
|
|
872
906
|
}
|
|
873
907
|
set justifyContentLaptop(e) {
|
|
874
|
-
|
|
908
|
+
v(this, "justify-content--laptop", e);
|
|
875
909
|
}
|
|
876
910
|
get justifyContentDesktop() {
|
|
877
911
|
return this.getAttribute("justify-content--desktop");
|
|
878
912
|
}
|
|
879
913
|
set justifyContentDesktop(e) {
|
|
880
|
-
|
|
914
|
+
v(this, "justify-content--desktop", e);
|
|
881
915
|
}
|
|
882
916
|
get alignItems() {
|
|
883
917
|
return this.getAttribute("align-items") ?? "stretch";
|
|
884
918
|
}
|
|
885
919
|
set alignItems(e) {
|
|
886
|
-
|
|
920
|
+
v(this, "align-items", e);
|
|
887
921
|
}
|
|
888
922
|
get alignItemsMobile() {
|
|
889
923
|
return this.getAttribute("align-items--mobile");
|
|
890
924
|
}
|
|
891
925
|
set alignItemsMobile(e) {
|
|
892
|
-
|
|
926
|
+
v(this, "align-items--mobile", e);
|
|
893
927
|
}
|
|
894
928
|
get alignItemsTablet() {
|
|
895
929
|
return this.getAttribute("align-items--tablet");
|
|
896
930
|
}
|
|
897
931
|
set alignItemsTablet(e) {
|
|
898
|
-
|
|
932
|
+
v(this, "align-items--tablet", e);
|
|
899
933
|
}
|
|
900
934
|
get alignItemsLaptop() {
|
|
901
935
|
return this.getAttribute("align-items--laptop");
|
|
902
936
|
}
|
|
903
937
|
set alignItemsLaptop(e) {
|
|
904
|
-
|
|
938
|
+
v(this, "align-items--laptop", e);
|
|
905
939
|
}
|
|
906
940
|
get alignItemsDesktop() {
|
|
907
941
|
return this.getAttribute("align-items--desktop");
|
|
908
942
|
}
|
|
909
943
|
set alignItemsDesktop(e) {
|
|
910
|
-
|
|
944
|
+
v(this, "align-items--desktop", e);
|
|
911
945
|
}
|
|
912
946
|
get wrap() {
|
|
913
947
|
return this.getAttribute("wrap") ?? "nowrap";
|
|
914
948
|
}
|
|
915
949
|
set wrap(e) {
|
|
916
|
-
|
|
950
|
+
v(this, "wrap", e);
|
|
917
951
|
}
|
|
918
952
|
get wrapMobile() {
|
|
919
953
|
return this.getAttribute("wrap--mobile");
|
|
920
954
|
}
|
|
921
955
|
set wrapMobile(e) {
|
|
922
|
-
|
|
956
|
+
v(this, "wrap--mobile", e);
|
|
923
957
|
}
|
|
924
958
|
get wrapTablet() {
|
|
925
959
|
return this.getAttribute("wrap--tablet");
|
|
926
960
|
}
|
|
927
961
|
set wrapTablet(e) {
|
|
928
|
-
|
|
962
|
+
v(this, "wrap--tablet", e);
|
|
929
963
|
}
|
|
930
964
|
get wrapLaptop() {
|
|
931
965
|
return this.getAttribute("wrap--laptop");
|
|
932
966
|
}
|
|
933
967
|
set wrapLaptop(e) {
|
|
934
|
-
|
|
968
|
+
v(this, "wrap--laptop", e);
|
|
935
969
|
}
|
|
936
970
|
get wrapDesktop() {
|
|
937
971
|
return this.getAttribute("wrap--desktop");
|
|
938
972
|
}
|
|
939
973
|
set wrapDesktop(e) {
|
|
940
|
-
|
|
974
|
+
v(this, "wrap--desktop", e);
|
|
941
975
|
}
|
|
942
976
|
get overflowX() {
|
|
943
977
|
return this.getAttribute("overflow-x") ?? "visible";
|
|
944
978
|
}
|
|
945
979
|
set overflowX(e) {
|
|
946
|
-
|
|
980
|
+
v(this, "overflow-x", e);
|
|
947
981
|
}
|
|
948
982
|
get overflowXMobile() {
|
|
949
983
|
return this.getAttribute("overflow-x--mobile");
|
|
950
984
|
}
|
|
951
985
|
set overflowXMobile(e) {
|
|
952
|
-
|
|
986
|
+
v(this, "overflow-x--mobile", e);
|
|
953
987
|
}
|
|
954
988
|
get overflowXTablet() {
|
|
955
989
|
return this.getAttribute("overflow-x--tablet");
|
|
956
990
|
}
|
|
957
991
|
set overflowXTablet(e) {
|
|
958
|
-
|
|
992
|
+
v(this, "overflow-x--tablet", e);
|
|
959
993
|
}
|
|
960
994
|
get overflowXLaptop() {
|
|
961
995
|
return this.getAttribute("overflow-x--laptop");
|
|
962
996
|
}
|
|
963
997
|
set overflowXLaptop(e) {
|
|
964
|
-
|
|
998
|
+
v(this, "overflow-x--laptop", e);
|
|
965
999
|
}
|
|
966
1000
|
get overflowXDesktop() {
|
|
967
1001
|
return this.getAttribute("overflow-x--desktop");
|
|
968
1002
|
}
|
|
969
1003
|
set overflowXDesktop(e) {
|
|
970
|
-
|
|
1004
|
+
v(this, "overflow-x--desktop", e);
|
|
1005
|
+
}
|
|
1006
|
+
get overflowY() {
|
|
1007
|
+
return this.getAttribute("overflow-y") ?? "visible";
|
|
1008
|
+
}
|
|
1009
|
+
set overflowY(e) {
|
|
1010
|
+
v(this, "overflow-y", e);
|
|
1011
|
+
}
|
|
1012
|
+
get overflowYMobile() {
|
|
1013
|
+
return this.getAttribute("overflow-y--mobile");
|
|
1014
|
+
}
|
|
1015
|
+
set overflowYMobile(e) {
|
|
1016
|
+
v(this, "overflow-y--mobile", e);
|
|
1017
|
+
}
|
|
1018
|
+
get overflowYTablet() {
|
|
1019
|
+
return this.getAttribute("overflow-y--tablet");
|
|
1020
|
+
}
|
|
1021
|
+
set overflowYTablet(e) {
|
|
1022
|
+
v(this, "overflow-y--tablet", e);
|
|
1023
|
+
}
|
|
1024
|
+
get overflowYLaptop() {
|
|
1025
|
+
return this.getAttribute("overflow-y--laptop");
|
|
1026
|
+
}
|
|
1027
|
+
set overflowYLaptop(e) {
|
|
1028
|
+
v(this, "overflow-y--laptop", e);
|
|
1029
|
+
}
|
|
1030
|
+
get overflowYDesktop() {
|
|
1031
|
+
return this.getAttribute("overflow-y--desktop");
|
|
1032
|
+
}
|
|
1033
|
+
set overflowYDesktop(e) {
|
|
1034
|
+
v(this, "overflow-y--desktop", e);
|
|
1035
|
+
}
|
|
1036
|
+
get maxHeight() {
|
|
1037
|
+
return this.getAttribute("max-height") ?? "none";
|
|
1038
|
+
}
|
|
1039
|
+
set maxHeight(e) {
|
|
1040
|
+
v(this, "max-height", e);
|
|
1041
|
+
}
|
|
1042
|
+
get maxHeightMobile() {
|
|
1043
|
+
return this.getAttribute("max-height--mobile");
|
|
1044
|
+
}
|
|
1045
|
+
set maxHeightMobile(e) {
|
|
1046
|
+
v(this, "max-height--mobile", e);
|
|
1047
|
+
}
|
|
1048
|
+
get maxHeightTablet() {
|
|
1049
|
+
return this.getAttribute("max-height--tablet");
|
|
1050
|
+
}
|
|
1051
|
+
set maxHeightTablet(e) {
|
|
1052
|
+
v(this, "max-height--tablet", e);
|
|
1053
|
+
}
|
|
1054
|
+
get maxHeightLaptop() {
|
|
1055
|
+
return this.getAttribute("max-height--laptop");
|
|
1056
|
+
}
|
|
1057
|
+
set maxHeightLaptop(e) {
|
|
1058
|
+
v(this, "max-height--laptop", e);
|
|
1059
|
+
}
|
|
1060
|
+
get maxHeightDesktop() {
|
|
1061
|
+
return this.getAttribute("max-height--desktop");
|
|
1062
|
+
}
|
|
1063
|
+
set maxHeightDesktop(e) {
|
|
1064
|
+
v(this, "max-height--desktop", e);
|
|
971
1065
|
}
|
|
972
1066
|
get $el() {
|
|
973
1067
|
return this.shadowRoot.firstElementChild;
|
|
@@ -979,7 +1073,7 @@ var R = (e) => e === "direction" || e.startsWith("direction--"), z = class exten
|
|
|
979
1073
|
return "column";
|
|
980
1074
|
}
|
|
981
1075
|
set direction(e) {
|
|
982
|
-
|
|
1076
|
+
v(this, "direction", e);
|
|
983
1077
|
}
|
|
984
1078
|
attributeChangedCallback(e, t, n) {
|
|
985
1079
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -991,7 +1085,7 @@ var B = class extends L {
|
|
|
991
1085
|
return "row";
|
|
992
1086
|
}
|
|
993
1087
|
set direction(e) {
|
|
994
|
-
|
|
1088
|
+
v(this, "direction", e);
|
|
995
1089
|
}
|
|
996
1090
|
attributeChangedCallback(e, t, n) {
|
|
997
1091
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -1146,7 +1240,7 @@ var W = class extends n {
|
|
|
1146
1240
|
</px-container>
|
|
1147
1241
|
</px-vstack>
|
|
1148
1242
|
</px-container>
|
|
1149
|
-
`,
|
|
1243
|
+
`, y(this.shadowRoot, this.template());
|
|
1150
1244
|
}
|
|
1151
1245
|
static get observedAttributes() {
|
|
1152
1246
|
return [
|
|
@@ -1237,16 +1331,16 @@ customElements.get("px-page") === void 0 && customElements.define("px-page", W);
|
|
|
1237
1331
|
//#endregion
|
|
1238
1332
|
//#region ../Section/src/Section.ts
|
|
1239
1333
|
var G = new CSSStyleSheet();
|
|
1240
|
-
G.replaceSync(
|
|
1334
|
+
G.replaceSync(x);
|
|
1241
1335
|
var K = class e extends n {
|
|
1242
1336
|
static {
|
|
1243
|
-
this.template =
|
|
1337
|
+
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>");
|
|
1244
1338
|
}
|
|
1245
1339
|
constructor() {
|
|
1246
|
-
super(G),
|
|
1340
|
+
super(G), y(this.shadowRoot, e.template);
|
|
1247
1341
|
}
|
|
1248
1342
|
connectedCallback() {
|
|
1249
|
-
|
|
1343
|
+
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);
|
|
1250
1344
|
}
|
|
1251
1345
|
static get observedAttributes() {
|
|
1252
1346
|
return [
|
|
@@ -1396,151 +1490,151 @@ var K = class e extends n {
|
|
|
1396
1490
|
return this.getAttribute("background-color") || "none";
|
|
1397
1491
|
}
|
|
1398
1492
|
set backgroundColor(e) {
|
|
1399
|
-
|
|
1493
|
+
v(this, "background-color", e);
|
|
1400
1494
|
}
|
|
1401
1495
|
get gradient() {
|
|
1402
1496
|
return this.getAttribute("background-gradient");
|
|
1403
1497
|
}
|
|
1404
1498
|
set gradient(e) {
|
|
1405
|
-
|
|
1499
|
+
v(this, "background-gradient", e);
|
|
1406
1500
|
}
|
|
1407
1501
|
get backgroundImage() {
|
|
1408
1502
|
return this.getAttribute("background-image");
|
|
1409
1503
|
}
|
|
1410
1504
|
set backgroundImage(e) {
|
|
1411
|
-
|
|
1505
|
+
v(this, "background-image", e);
|
|
1412
1506
|
}
|
|
1413
1507
|
get backgroundImageMobile() {
|
|
1414
1508
|
return this.getAttribute("background-image--mobile");
|
|
1415
1509
|
}
|
|
1416
1510
|
set backgroundImageMobile(e) {
|
|
1417
|
-
|
|
1511
|
+
v(this, "background-image--mobile", e);
|
|
1418
1512
|
}
|
|
1419
1513
|
get backgroundImageTablet() {
|
|
1420
1514
|
return this.getAttribute("background-image--tablet");
|
|
1421
1515
|
}
|
|
1422
1516
|
set backgroundImageTablet(e) {
|
|
1423
|
-
|
|
1517
|
+
v(this, "background-image--tablet", e);
|
|
1424
1518
|
}
|
|
1425
1519
|
get backgroundImageLaptop() {
|
|
1426
1520
|
return this.getAttribute("background-image--laptop");
|
|
1427
1521
|
}
|
|
1428
1522
|
set backgroundImageLaptop(e) {
|
|
1429
|
-
|
|
1523
|
+
v(this, "background-image--laptop", e);
|
|
1430
1524
|
}
|
|
1431
1525
|
get backgroundSize() {
|
|
1432
1526
|
return this.getAttribute("background-size");
|
|
1433
1527
|
}
|
|
1434
1528
|
set backgroundSize(e) {
|
|
1435
|
-
|
|
1529
|
+
v(this, "background-size", e);
|
|
1436
1530
|
}
|
|
1437
1531
|
get backgroundPosition() {
|
|
1438
1532
|
return this.getAttribute("background-position");
|
|
1439
1533
|
}
|
|
1440
1534
|
set backgroundPosition(e) {
|
|
1441
|
-
|
|
1535
|
+
v(this, "background-position", e);
|
|
1442
1536
|
}
|
|
1443
1537
|
get paddingBlock() {
|
|
1444
1538
|
return this.getAttribute("padding-block");
|
|
1445
1539
|
}
|
|
1446
1540
|
set paddingBlock(e) {
|
|
1447
|
-
|
|
1541
|
+
v(this, "padding-block", e);
|
|
1448
1542
|
}
|
|
1449
1543
|
get paddingTop() {
|
|
1450
1544
|
return this.getAttribute("padding-top");
|
|
1451
1545
|
}
|
|
1452
1546
|
set paddingTop(e) {
|
|
1453
|
-
|
|
1547
|
+
v(this, "padding-top", e);
|
|
1454
1548
|
}
|
|
1455
1549
|
get paddingBottom() {
|
|
1456
1550
|
return this.getAttribute("padding-bottom");
|
|
1457
1551
|
}
|
|
1458
1552
|
set paddingBottom(e) {
|
|
1459
|
-
|
|
1553
|
+
v(this, "padding-bottom", e);
|
|
1460
1554
|
}
|
|
1461
1555
|
get paddingBlockMobile() {
|
|
1462
1556
|
return this.getAttribute("padding-block--mobile");
|
|
1463
1557
|
}
|
|
1464
1558
|
set paddingBlockMobile(e) {
|
|
1465
|
-
|
|
1559
|
+
v(this, "padding-block--mobile", e);
|
|
1466
1560
|
}
|
|
1467
1561
|
get paddingTopMobile() {
|
|
1468
1562
|
return this.getAttribute("padding-top--mobile");
|
|
1469
1563
|
}
|
|
1470
1564
|
set paddingTopMobile(e) {
|
|
1471
|
-
|
|
1565
|
+
v(this, "padding-top--mobile", e);
|
|
1472
1566
|
}
|
|
1473
1567
|
get paddingBottomMobile() {
|
|
1474
1568
|
return this.getAttribute("padding-bottom--mobile");
|
|
1475
1569
|
}
|
|
1476
1570
|
set paddingBottomMobile(e) {
|
|
1477
|
-
|
|
1571
|
+
v(this, "padding-bottom--mobile", e);
|
|
1478
1572
|
}
|
|
1479
1573
|
get paddingBlockTablet() {
|
|
1480
1574
|
return this.getAttribute("padding-block--tablet");
|
|
1481
1575
|
}
|
|
1482
1576
|
set paddingBlockTablet(e) {
|
|
1483
|
-
|
|
1577
|
+
v(this, "padding-block--tablet", e);
|
|
1484
1578
|
}
|
|
1485
1579
|
get paddingTopTablet() {
|
|
1486
1580
|
return this.getAttribute("padding-top--tablet");
|
|
1487
1581
|
}
|
|
1488
1582
|
set paddingTopTablet(e) {
|
|
1489
|
-
|
|
1583
|
+
v(this, "padding-top--tablet", e);
|
|
1490
1584
|
}
|
|
1491
1585
|
get paddingBottomTablet() {
|
|
1492
1586
|
return this.getAttribute("padding-bottom--tablet");
|
|
1493
1587
|
}
|
|
1494
1588
|
set paddingBottomTablet(e) {
|
|
1495
|
-
|
|
1589
|
+
v(this, "padding-bottom--tablet", e);
|
|
1496
1590
|
}
|
|
1497
1591
|
get paddingBlockLaptop() {
|
|
1498
1592
|
return this.getAttribute("padding-block--laptop");
|
|
1499
1593
|
}
|
|
1500
1594
|
set paddingBlockLaptop(e) {
|
|
1501
|
-
|
|
1595
|
+
v(this, "padding-block--laptop", e);
|
|
1502
1596
|
}
|
|
1503
1597
|
get paddingTopLaptop() {
|
|
1504
1598
|
return this.getAttribute("padding-top--laptop");
|
|
1505
1599
|
}
|
|
1506
1600
|
set paddingTopLaptop(e) {
|
|
1507
|
-
|
|
1601
|
+
v(this, "padding-top--laptop", e);
|
|
1508
1602
|
}
|
|
1509
1603
|
get paddingBottomLaptop() {
|
|
1510
1604
|
return this.getAttribute("padding-bottom--laptop");
|
|
1511
1605
|
}
|
|
1512
1606
|
set paddingBottomLaptop(e) {
|
|
1513
|
-
|
|
1607
|
+
v(this, "padding-bottom--laptop", e);
|
|
1514
1608
|
}
|
|
1515
1609
|
get border() {
|
|
1516
1610
|
return this.getAttribute("border");
|
|
1517
1611
|
}
|
|
1518
1612
|
set border(e) {
|
|
1519
|
-
|
|
1613
|
+
v(this, "border", e);
|
|
1520
1614
|
}
|
|
1521
1615
|
get borderSide() {
|
|
1522
1616
|
return this.getAttribute("border-side");
|
|
1523
1617
|
}
|
|
1524
1618
|
set borderSide(e) {
|
|
1525
|
-
|
|
1619
|
+
v(this, "border-side", e);
|
|
1526
1620
|
}
|
|
1527
1621
|
get borderSideMobile() {
|
|
1528
1622
|
return this.getAttribute("border-side--mobile");
|
|
1529
1623
|
}
|
|
1530
1624
|
set borderSideMobile(e) {
|
|
1531
|
-
|
|
1625
|
+
v(this, "border-side--mobile", e);
|
|
1532
1626
|
}
|
|
1533
1627
|
get borderSideTablet() {
|
|
1534
1628
|
return this.getAttribute("border-side--tablet");
|
|
1535
1629
|
}
|
|
1536
1630
|
set borderSideTablet(e) {
|
|
1537
|
-
|
|
1631
|
+
v(this, "border-side--tablet", e);
|
|
1538
1632
|
}
|
|
1539
1633
|
get borderSideLaptop() {
|
|
1540
1634
|
return this.getAttribute("border-side--laptop");
|
|
1541
1635
|
}
|
|
1542
1636
|
set borderSideLaptop(e) {
|
|
1543
|
-
|
|
1637
|
+
v(this, "border-side--laptop", e);
|
|
1544
1638
|
}
|
|
1545
1639
|
};
|
|
1546
1640
|
customElements.get("px-section") || customElements.define("px-section", K);
|
|
@@ -1576,15 +1670,18 @@ var Y = [
|
|
|
1576
1670
|
"end",
|
|
1577
1671
|
"center",
|
|
1578
1672
|
"stretch"
|
|
1579
|
-
], ne =
|
|
1673
|
+
], ne = f("gap", (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .grid`, p, "px-spacing", "--grid-gap"), re = class e extends t {
|
|
1580
1674
|
static {
|
|
1581
|
-
this.template =
|
|
1675
|
+
this.template = d("<div class=\"grid\"><slot></slot></div>");
|
|
1582
1676
|
}
|
|
1583
1677
|
static {
|
|
1584
1678
|
this.nativeName = "div";
|
|
1585
1679
|
}
|
|
1680
|
+
static {
|
|
1681
|
+
this.nativeAttributes = {};
|
|
1682
|
+
}
|
|
1586
1683
|
constructor() {
|
|
1587
|
-
super(J, ne),
|
|
1684
|
+
super(J, ne), y(this.shadowRoot, e.template);
|
|
1588
1685
|
}
|
|
1589
1686
|
static get observedAttributes() {
|
|
1590
1687
|
return [
|
|
@@ -1655,7 +1752,7 @@ var Y = [
|
|
|
1655
1752
|
}
|
|
1656
1753
|
updateGap(e, t, n) {
|
|
1657
1754
|
if (!this.checkName(n, t)) {
|
|
1658
|
-
|
|
1755
|
+
h(`"${t}" is not a valid gap value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
1659
1756
|
return;
|
|
1660
1757
|
}
|
|
1661
1758
|
let r = (e) => {
|
|
@@ -1664,7 +1761,7 @@ var Y = [
|
|
|
1664
1761
|
r(e), r(t);
|
|
1665
1762
|
}
|
|
1666
1763
|
updateAttribute(e, t, n, r) {
|
|
1667
|
-
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}`)) :
|
|
1764
|
+
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("\", \"")}".`);
|
|
1668
1765
|
}
|
|
1669
1766
|
get gap() {
|
|
1670
1767
|
return this.getAttribute("gap");
|
|
@@ -1839,19 +1936,23 @@ customElements.get("px-grid") || customElements.define("px-grid", re);
|
|
|
1839
1936
|
//#endregion
|
|
1840
1937
|
//#region src/ContentHeader.ts
|
|
1841
1938
|
var Q = new CSSStyleSheet();
|
|
1842
|
-
Q.replaceSync(
|
|
1939
|
+
Q.replaceSync(b);
|
|
1843
1940
|
var $ = class e extends t {
|
|
1844
1941
|
static {
|
|
1845
|
-
this.template =
|
|
1942
|
+
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>");
|
|
1846
1943
|
}
|
|
1847
1944
|
static {
|
|
1848
1945
|
this.nativeName = "div";
|
|
1849
1946
|
}
|
|
1947
|
+
static {
|
|
1948
|
+
this.nativeAttributes = {};
|
|
1949
|
+
}
|
|
1850
1950
|
constructor() {
|
|
1851
|
-
super(Q),
|
|
1951
|
+
super(Q), y(this.shadowRoot, e.template);
|
|
1852
1952
|
}
|
|
1853
1953
|
static get observedAttributes() {
|
|
1854
1954
|
return [
|
|
1955
|
+
...super.observedAttributes,
|
|
1855
1956
|
"background-color",
|
|
1856
1957
|
"background-gradient",
|
|
1857
1958
|
"background-image",
|
|
@@ -1876,11 +1977,16 @@ var $ = class e extends t {
|
|
|
1876
1977
|
}
|
|
1877
1978
|
attributeChangedCallback(e, t, n) {
|
|
1878
1979
|
if (t !== n) switch (e) {
|
|
1980
|
+
case "contrast-helper-gradient":
|
|
1981
|
+
case "contrast-helper-overlay":
|
|
1982
|
+
case "min-height":
|
|
1983
|
+
this._forwardNativeAttribute(e, n);
|
|
1984
|
+
break;
|
|
1879
1985
|
case "background-color":
|
|
1880
1986
|
this.$section.backgroundColor = r.indexOf(n) > 0 ? n : "none";
|
|
1881
1987
|
break;
|
|
1882
1988
|
case "background-gradient":
|
|
1883
|
-
this.$section.gradient =
|
|
1989
|
+
this.$section.gradient = m.indexOf(n) > 0 ? n : "none";
|
|
1884
1990
|
break;
|
|
1885
1991
|
case "background-image":
|
|
1886
1992
|
this.$section.backgroundImage = n;
|