@proximus/lavender-content-header 1.4.20-alpha.7 → 1.4.20-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +268 -186
- 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 l, boxShadowValues 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 u, checkName as d, createTemplate as f, cssTokenBreakpoints as p, gapValues as m, gradientValues as h, log as g, noBorderRadiusValues as _, paddingValues as v, propertyToAttributeSetter as y, renderTemplate as b } from "@proximus/lavender-common";
|
|
2
2
|
import "@proximus/lavender-heading";
|
|
3
3
|
//#region src/contentheader.css?inline
|
|
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
|
-
|
|
6
|
-
var
|
|
4
|
+
var x = ":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))}}", S = ":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)}}", C = ":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)}}", w = new CSSStyleSheet();
|
|
5
|
+
w.replaceSync(C);
|
|
6
|
+
var T = [
|
|
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
|
+
], E = [
|
|
13
13
|
"1",
|
|
14
14
|
"2",
|
|
15
15
|
"3",
|
|
@@ -22,24 +22,24 @@ var w = [
|
|
|
22
22
|
"10",
|
|
23
23
|
"11",
|
|
24
24
|
"12"
|
|
25
|
-
],
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
],
|
|
25
|
+
], D = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, O = "px-padding", ee = [
|
|
26
|
+
p("padding", D, v, O, "--container-padding"),
|
|
27
|
+
p("padding-inline", D, v, O),
|
|
28
|
+
p("padding-block", D, v, O),
|
|
29
|
+
p("padding-top", D, v, O),
|
|
30
|
+
p("padding-right", D, v, O, "--container-padding-right"),
|
|
31
|
+
p("padding-bottom", D, v, O),
|
|
32
|
+
p("padding-left", D, v, O, "--container-padding-left"),
|
|
33
|
+
p("gap", D, m, "px-spacing", void 0, "subgrid-gap")
|
|
34
|
+
], te = class e extends n {
|
|
35
35
|
static {
|
|
36
|
-
this.template =
|
|
36
|
+
this.template = f("<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(w, ...ee), this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, b(this.shadowRoot, e.template);
|
|
43
43
|
}
|
|
44
44
|
static get observedAttributes() {
|
|
45
45
|
return [
|
|
@@ -113,7 +113,7 @@ var w = [
|
|
|
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, _);
|
|
117
117
|
break;
|
|
118
118
|
case "background-color":
|
|
119
119
|
case "background-color--mobile":
|
|
@@ -140,16 +140,16 @@ var w = [
|
|
|
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, u);
|
|
144
144
|
break;
|
|
145
145
|
case "anchor-offset":
|
|
146
|
-
this.updateAnchorOffset(t, n,
|
|
146
|
+
this.updateAnchorOffset(t, n, v);
|
|
147
147
|
break;
|
|
148
148
|
case "anchor-spacing":
|
|
149
|
-
this.updateAnchorSpacing(t, n,
|
|
149
|
+
this.updateAnchorSpacing(t, n, T);
|
|
150
150
|
break;
|
|
151
151
|
case "subgrid-rows":
|
|
152
|
-
this.updateSubgridRows(e, t, n,
|
|
152
|
+
this.updateSubgridRows(e, t, n, E);
|
|
153
153
|
break;
|
|
154
154
|
default: super.attributeChangedCallback(e, t, n);
|
|
155
155
|
}
|
|
@@ -174,27 +174,27 @@ var w = [
|
|
|
174
174
|
this.$el.style.removeProperty(i);
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
-
this.checkName(
|
|
177
|
+
this.checkName(h, t) ? this.$el.style.setProperty(i, `linear-gradient(var(--px-color-background-gradient-${t}))`) : g(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${h.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 g(`"${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)`)) : g(`"${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)) g(`"${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)) g(`"${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 w = [
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
updateAnchorOffset(e, t, n) {
|
|
219
|
-
if (!
|
|
220
|
-
|
|
219
|
+
if (!d(n, t)) {
|
|
220
|
+
g(`"${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 w = [
|
|
|
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 (!d(n, t)) {
|
|
233
|
+
g(`"${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 w = [
|
|
|
239
239
|
r(e), r(t);
|
|
240
240
|
}
|
|
241
241
|
updateSubgridRows(e, t, n, r) {
|
|
242
|
-
|
|
242
|
+
d(r, n) ? this.style.setProperty(`--${e}`, n) : g(`"${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 w = [
|
|
|
251
251
|
return this.getAttribute("padding");
|
|
252
252
|
}
|
|
253
253
|
set padding(e) {
|
|
254
|
-
|
|
254
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(this, "anchor-spacing", e);
|
|
585
585
|
}
|
|
586
586
|
get inverted() {
|
|
587
587
|
return this.hasAttribute("inverted");
|
|
@@ -593,37 +593,37 @@ var w = [
|
|
|
593
593
|
return this.getAttribute("subgrid-rows");
|
|
594
594
|
}
|
|
595
595
|
set subgridRows(e) {
|
|
596
|
-
|
|
596
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(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
|
+
y(this, "subgrid-gap--laptop", e);
|
|
621
621
|
}
|
|
622
622
|
};
|
|
623
|
-
customElements.get("px-container") || customElements.define("px-container",
|
|
623
|
+
customElements.get("px-container") || customElements.define("px-container", te);
|
|
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;--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();
|
|
626
|
+
var k = ":host{--flex-min-width--mobile-value:auto;--flex-min-width--tablet-value:auto;--flex-min-width--laptop-value:auto;--flex-min-width--desktop-value:auto;--flex-max-width--mobile-value:none;--flex-max-width--tablet-value:none;--flex-max-width--laptop-value:none;--flex-max-width--desktop-value:none;min-width:var(--flex-min-width--mobile-value);max-width:var(--flex-max-width--mobile-value);--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){:host{min-width:var(--flex-min-width--tablet-value);max-width:var(--flex-max-width--tablet-value)}.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){:host{min-width:var(--flex-min-width--laptop-value);max-width:var(--flex-max-width--laptop-value)}.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){:host{min-width:var(--flex-min-width--desktop-value);max-width:var(--flex-max-width--desktop-value)}.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>";
|
|
@@ -714,7 +714,17 @@ var M = [
|
|
|
714
714
|
"max-height--mobile",
|
|
715
715
|
"max-height--tablet",
|
|
716
716
|
"max-height--laptop",
|
|
717
|
-
"max-height--desktop"
|
|
717
|
+
"max-height--desktop",
|
|
718
|
+
"min-width",
|
|
719
|
+
"min-width--mobile",
|
|
720
|
+
"min-width--tablet",
|
|
721
|
+
"min-width--laptop",
|
|
722
|
+
"min-width--desktop",
|
|
723
|
+
"max-width",
|
|
724
|
+
"max-width--mobile",
|
|
725
|
+
"max-width--tablet",
|
|
726
|
+
"max-width--laptop",
|
|
727
|
+
"max-width--desktop"
|
|
718
728
|
];
|
|
719
729
|
}
|
|
720
730
|
attributeChangedCallback(e, t, n) {
|
|
@@ -724,7 +734,7 @@ var M = [
|
|
|
724
734
|
case "gap--tablet":
|
|
725
735
|
case "gap--laptop":
|
|
726
736
|
case "gap--desktop":
|
|
727
|
-
this.updateFlexProperties(e, t, n,
|
|
737
|
+
this.updateFlexProperties(e, t, n, m);
|
|
728
738
|
break;
|
|
729
739
|
case "justify-content":
|
|
730
740
|
case "justify-content--mobile":
|
|
@@ -754,6 +764,18 @@ var M = [
|
|
|
754
764
|
case "direction--desktop":
|
|
755
765
|
this.updateFlexProperties(e, t, n, M), this.updateVerticalStyles();
|
|
756
766
|
break;
|
|
767
|
+
case "min-width":
|
|
768
|
+
case "min-width--mobile":
|
|
769
|
+
case "min-width--tablet":
|
|
770
|
+
case "min-width--laptop":
|
|
771
|
+
case "min-width--desktop":
|
|
772
|
+
case "max-width":
|
|
773
|
+
case "max-width--mobile":
|
|
774
|
+
case "max-width--tablet":
|
|
775
|
+
case "max-width--laptop":
|
|
776
|
+
case "max-width--desktop":
|
|
777
|
+
n && !CSS.supports(e.split("--")[0], n) && g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateFlexProperties(e, t, n);
|
|
778
|
+
break;
|
|
757
779
|
case "overflow-y":
|
|
758
780
|
case "overflow-y--mobile":
|
|
759
781
|
case "overflow-y--tablet":
|
|
@@ -764,7 +786,7 @@ var M = [
|
|
|
764
786
|
case "max-height--tablet":
|
|
765
787
|
case "max-height--laptop":
|
|
766
788
|
case "max-height--desktop":
|
|
767
|
-
n && !this.isValidVerticalValue(e, n) &&
|
|
789
|
+
n && !this.isValidVerticalValue(e, n) && g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
768
790
|
break;
|
|
769
791
|
case "overflow-x":
|
|
770
792
|
case "overflow-x--mobile":
|
|
@@ -789,14 +811,14 @@ var M = [
|
|
|
789
811
|
}
|
|
790
812
|
}
|
|
791
813
|
updateOverflowX(e, t, n, r) {
|
|
792
|
-
if (!
|
|
793
|
-
|
|
814
|
+
if (!d(r, n)) {
|
|
815
|
+
g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
794
816
|
return;
|
|
795
817
|
}
|
|
796
818
|
this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
|
|
797
819
|
}
|
|
798
820
|
updateFlexProperties(e, n, r, i) {
|
|
799
|
-
r !== null && !this.checkName(i, r) &&
|
|
821
|
+
i && r !== null && !this.checkName(i, r) && g(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
800
822
|
let a = e.indexOf("--");
|
|
801
823
|
if (a === -1) for (let n of t.breakpoints) this.getAttribute(`${e}--${n}`) || this.updateStyle(e, n, r, i);
|
|
802
824
|
else {
|
|
@@ -805,15 +827,15 @@ var M = [
|
|
|
805
827
|
}
|
|
806
828
|
}
|
|
807
829
|
updateStyle(e, t, n, r) {
|
|
808
|
-
let i = `--flex-${e}--${t}-value`, a = e === "gap";
|
|
809
|
-
if (!n) {
|
|
810
|
-
|
|
830
|
+
let i = `--flex-${e}--${t}-value`, a = e === "gap", o = e === "min-width" || e === "max-width", s = o ? this : this.$el;
|
|
831
|
+
if (o && n && !CSS.supports(e, n) && (n = null), !n) {
|
|
832
|
+
s.style.removeProperty(i), a && this.style.removeProperty(`--host-gap--${t}`);
|
|
811
833
|
return;
|
|
812
834
|
}
|
|
813
835
|
if (a && r && r.includes(n)) {
|
|
814
836
|
let e = `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`;
|
|
815
837
|
this.$el.style.setProperty(i, e), this.style.setProperty(`--host-gap--${t}`, e);
|
|
816
|
-
} else
|
|
838
|
+
} else s.style.setProperty(i, n);
|
|
817
839
|
}
|
|
818
840
|
static {
|
|
819
841
|
this.breakpoints = [
|
|
@@ -827,241 +849,301 @@ var M = [
|
|
|
827
849
|
return this.getAttribute("direction") ?? "row";
|
|
828
850
|
}
|
|
829
851
|
set direction(e) {
|
|
830
|
-
|
|
852
|
+
y(this, "direction", e);
|
|
831
853
|
}
|
|
832
854
|
get directionMobile() {
|
|
833
855
|
return this.getAttribute("direction--mobile");
|
|
834
856
|
}
|
|
835
857
|
set directionMobile(e) {
|
|
836
|
-
|
|
858
|
+
y(this, "direction--mobile", e);
|
|
837
859
|
}
|
|
838
860
|
get directionTablet() {
|
|
839
861
|
return this.getAttribute("direction--tablet");
|
|
840
862
|
}
|
|
841
863
|
set directionTablet(e) {
|
|
842
|
-
|
|
864
|
+
y(this, "direction--tablet", e);
|
|
843
865
|
}
|
|
844
866
|
get directionLaptop() {
|
|
845
867
|
return this.getAttribute("direction--laptop");
|
|
846
868
|
}
|
|
847
869
|
set directionLaptop(e) {
|
|
848
|
-
|
|
870
|
+
y(this, "direction--laptop", e);
|
|
849
871
|
}
|
|
850
872
|
get directionDesktop() {
|
|
851
873
|
return this.getAttribute("direction--desktop");
|
|
852
874
|
}
|
|
853
875
|
set directionDesktop(e) {
|
|
854
|
-
|
|
876
|
+
y(this, "direction--desktop", e);
|
|
855
877
|
}
|
|
856
878
|
get gap() {
|
|
857
879
|
return this.getAttribute("gap") ?? "none";
|
|
858
880
|
}
|
|
859
881
|
set gap(e) {
|
|
860
|
-
|
|
882
|
+
y(this, "gap", e);
|
|
861
883
|
}
|
|
862
884
|
get gapMobile() {
|
|
863
885
|
return this.getAttribute("gap--mobile");
|
|
864
886
|
}
|
|
865
887
|
set gapMobile(e) {
|
|
866
|
-
|
|
888
|
+
y(this, "gap--mobile", e);
|
|
867
889
|
}
|
|
868
890
|
get gapTablet() {
|
|
869
891
|
return this.getAttribute("gap--tablet");
|
|
870
892
|
}
|
|
871
893
|
set gapTablet(e) {
|
|
872
|
-
|
|
894
|
+
y(this, "gap--tablet", e);
|
|
873
895
|
}
|
|
874
896
|
get gapLaptop() {
|
|
875
897
|
return this.getAttribute("gap--laptop");
|
|
876
898
|
}
|
|
877
899
|
set gapLaptop(e) {
|
|
878
|
-
|
|
900
|
+
y(this, "gap--laptop", e);
|
|
879
901
|
}
|
|
880
902
|
get gapDesktop() {
|
|
881
903
|
return this.getAttribute("gap--desktop");
|
|
882
904
|
}
|
|
883
905
|
set gapDesktop(e) {
|
|
884
|
-
|
|
906
|
+
y(this, "gap--desktop", e);
|
|
885
907
|
}
|
|
886
908
|
get justifyContent() {
|
|
887
909
|
return this.getAttribute("justify-content") ?? "flex-start";
|
|
888
910
|
}
|
|
889
911
|
set justifyContent(e) {
|
|
890
|
-
|
|
912
|
+
y(this, "justify-content", e);
|
|
891
913
|
}
|
|
892
914
|
get justifyContentMobile() {
|
|
893
915
|
return this.getAttribute("justify-content--mobile");
|
|
894
916
|
}
|
|
895
917
|
set justifyContentMobile(e) {
|
|
896
|
-
|
|
918
|
+
y(this, "justify-content--mobile", e);
|
|
897
919
|
}
|
|
898
920
|
get justifyContentTablet() {
|
|
899
921
|
return this.getAttribute("justify-content--tablet");
|
|
900
922
|
}
|
|
901
923
|
set justifyContentTablet(e) {
|
|
902
|
-
|
|
924
|
+
y(this, "justify-content--tablet", e);
|
|
903
925
|
}
|
|
904
926
|
get justifyContentLaptop() {
|
|
905
927
|
return this.getAttribute("justify-content--laptop");
|
|
906
928
|
}
|
|
907
929
|
set justifyContentLaptop(e) {
|
|
908
|
-
|
|
930
|
+
y(this, "justify-content--laptop", e);
|
|
909
931
|
}
|
|
910
932
|
get justifyContentDesktop() {
|
|
911
933
|
return this.getAttribute("justify-content--desktop");
|
|
912
934
|
}
|
|
913
935
|
set justifyContentDesktop(e) {
|
|
914
|
-
|
|
936
|
+
y(this, "justify-content--desktop", e);
|
|
915
937
|
}
|
|
916
938
|
get alignItems() {
|
|
917
939
|
return this.getAttribute("align-items") ?? "stretch";
|
|
918
940
|
}
|
|
919
941
|
set alignItems(e) {
|
|
920
|
-
|
|
942
|
+
y(this, "align-items", e);
|
|
921
943
|
}
|
|
922
944
|
get alignItemsMobile() {
|
|
923
945
|
return this.getAttribute("align-items--mobile");
|
|
924
946
|
}
|
|
925
947
|
set alignItemsMobile(e) {
|
|
926
|
-
|
|
948
|
+
y(this, "align-items--mobile", e);
|
|
927
949
|
}
|
|
928
950
|
get alignItemsTablet() {
|
|
929
951
|
return this.getAttribute("align-items--tablet");
|
|
930
952
|
}
|
|
931
953
|
set alignItemsTablet(e) {
|
|
932
|
-
|
|
954
|
+
y(this, "align-items--tablet", e);
|
|
933
955
|
}
|
|
934
956
|
get alignItemsLaptop() {
|
|
935
957
|
return this.getAttribute("align-items--laptop");
|
|
936
958
|
}
|
|
937
959
|
set alignItemsLaptop(e) {
|
|
938
|
-
|
|
960
|
+
y(this, "align-items--laptop", e);
|
|
939
961
|
}
|
|
940
962
|
get alignItemsDesktop() {
|
|
941
963
|
return this.getAttribute("align-items--desktop");
|
|
942
964
|
}
|
|
943
965
|
set alignItemsDesktop(e) {
|
|
944
|
-
|
|
966
|
+
y(this, "align-items--desktop", e);
|
|
945
967
|
}
|
|
946
968
|
get wrap() {
|
|
947
969
|
return this.getAttribute("wrap") ?? "nowrap";
|
|
948
970
|
}
|
|
949
971
|
set wrap(e) {
|
|
950
|
-
|
|
972
|
+
y(this, "wrap", e);
|
|
951
973
|
}
|
|
952
974
|
get wrapMobile() {
|
|
953
975
|
return this.getAttribute("wrap--mobile");
|
|
954
976
|
}
|
|
955
977
|
set wrapMobile(e) {
|
|
956
|
-
|
|
978
|
+
y(this, "wrap--mobile", e);
|
|
957
979
|
}
|
|
958
980
|
get wrapTablet() {
|
|
959
981
|
return this.getAttribute("wrap--tablet");
|
|
960
982
|
}
|
|
961
983
|
set wrapTablet(e) {
|
|
962
|
-
|
|
984
|
+
y(this, "wrap--tablet", e);
|
|
963
985
|
}
|
|
964
986
|
get wrapLaptop() {
|
|
965
987
|
return this.getAttribute("wrap--laptop");
|
|
966
988
|
}
|
|
967
989
|
set wrapLaptop(e) {
|
|
968
|
-
|
|
990
|
+
y(this, "wrap--laptop", e);
|
|
969
991
|
}
|
|
970
992
|
get wrapDesktop() {
|
|
971
993
|
return this.getAttribute("wrap--desktop");
|
|
972
994
|
}
|
|
973
995
|
set wrapDesktop(e) {
|
|
974
|
-
|
|
996
|
+
y(this, "wrap--desktop", e);
|
|
975
997
|
}
|
|
976
998
|
get overflowX() {
|
|
977
999
|
return this.getAttribute("overflow-x") ?? "visible";
|
|
978
1000
|
}
|
|
979
1001
|
set overflowX(e) {
|
|
980
|
-
|
|
1002
|
+
y(this, "overflow-x", e);
|
|
981
1003
|
}
|
|
982
1004
|
get overflowXMobile() {
|
|
983
1005
|
return this.getAttribute("overflow-x--mobile");
|
|
984
1006
|
}
|
|
985
1007
|
set overflowXMobile(e) {
|
|
986
|
-
|
|
1008
|
+
y(this, "overflow-x--mobile", e);
|
|
987
1009
|
}
|
|
988
1010
|
get overflowXTablet() {
|
|
989
1011
|
return this.getAttribute("overflow-x--tablet");
|
|
990
1012
|
}
|
|
991
1013
|
set overflowXTablet(e) {
|
|
992
|
-
|
|
1014
|
+
y(this, "overflow-x--tablet", e);
|
|
993
1015
|
}
|
|
994
1016
|
get overflowXLaptop() {
|
|
995
1017
|
return this.getAttribute("overflow-x--laptop");
|
|
996
1018
|
}
|
|
997
1019
|
set overflowXLaptop(e) {
|
|
998
|
-
|
|
1020
|
+
y(this, "overflow-x--laptop", e);
|
|
999
1021
|
}
|
|
1000
1022
|
get overflowXDesktop() {
|
|
1001
1023
|
return this.getAttribute("overflow-x--desktop");
|
|
1002
1024
|
}
|
|
1003
1025
|
set overflowXDesktop(e) {
|
|
1004
|
-
|
|
1026
|
+
y(this, "overflow-x--desktop", e);
|
|
1005
1027
|
}
|
|
1006
1028
|
get overflowY() {
|
|
1007
1029
|
return this.getAttribute("overflow-y") ?? "visible";
|
|
1008
1030
|
}
|
|
1009
1031
|
set overflowY(e) {
|
|
1010
|
-
|
|
1032
|
+
y(this, "overflow-y", e);
|
|
1011
1033
|
}
|
|
1012
1034
|
get overflowYMobile() {
|
|
1013
1035
|
return this.getAttribute("overflow-y--mobile");
|
|
1014
1036
|
}
|
|
1015
1037
|
set overflowYMobile(e) {
|
|
1016
|
-
|
|
1038
|
+
y(this, "overflow-y--mobile", e);
|
|
1017
1039
|
}
|
|
1018
1040
|
get overflowYTablet() {
|
|
1019
1041
|
return this.getAttribute("overflow-y--tablet");
|
|
1020
1042
|
}
|
|
1021
1043
|
set overflowYTablet(e) {
|
|
1022
|
-
|
|
1044
|
+
y(this, "overflow-y--tablet", e);
|
|
1023
1045
|
}
|
|
1024
1046
|
get overflowYLaptop() {
|
|
1025
1047
|
return this.getAttribute("overflow-y--laptop");
|
|
1026
1048
|
}
|
|
1027
1049
|
set overflowYLaptop(e) {
|
|
1028
|
-
|
|
1050
|
+
y(this, "overflow-y--laptop", e);
|
|
1029
1051
|
}
|
|
1030
1052
|
get overflowYDesktop() {
|
|
1031
1053
|
return this.getAttribute("overflow-y--desktop");
|
|
1032
1054
|
}
|
|
1033
1055
|
set overflowYDesktop(e) {
|
|
1034
|
-
|
|
1056
|
+
y(this, "overflow-y--desktop", e);
|
|
1035
1057
|
}
|
|
1036
1058
|
get maxHeight() {
|
|
1037
1059
|
return this.getAttribute("max-height") ?? "none";
|
|
1038
1060
|
}
|
|
1039
1061
|
set maxHeight(e) {
|
|
1040
|
-
|
|
1062
|
+
y(this, "max-height", e);
|
|
1041
1063
|
}
|
|
1042
1064
|
get maxHeightMobile() {
|
|
1043
1065
|
return this.getAttribute("max-height--mobile");
|
|
1044
1066
|
}
|
|
1045
1067
|
set maxHeightMobile(e) {
|
|
1046
|
-
|
|
1068
|
+
y(this, "max-height--mobile", e);
|
|
1047
1069
|
}
|
|
1048
1070
|
get maxHeightTablet() {
|
|
1049
1071
|
return this.getAttribute("max-height--tablet");
|
|
1050
1072
|
}
|
|
1051
1073
|
set maxHeightTablet(e) {
|
|
1052
|
-
|
|
1074
|
+
y(this, "max-height--tablet", e);
|
|
1053
1075
|
}
|
|
1054
1076
|
get maxHeightLaptop() {
|
|
1055
1077
|
return this.getAttribute("max-height--laptop");
|
|
1056
1078
|
}
|
|
1057
1079
|
set maxHeightLaptop(e) {
|
|
1058
|
-
|
|
1080
|
+
y(this, "max-height--laptop", e);
|
|
1059
1081
|
}
|
|
1060
1082
|
get maxHeightDesktop() {
|
|
1061
1083
|
return this.getAttribute("max-height--desktop");
|
|
1062
1084
|
}
|
|
1063
1085
|
set maxHeightDesktop(e) {
|
|
1064
|
-
|
|
1086
|
+
y(this, "max-height--desktop", e);
|
|
1087
|
+
}
|
|
1088
|
+
get minWidth() {
|
|
1089
|
+
return this.getAttribute("min-width") ?? "auto";
|
|
1090
|
+
}
|
|
1091
|
+
set minWidth(e) {
|
|
1092
|
+
y(this, "min-width", e);
|
|
1093
|
+
}
|
|
1094
|
+
get minWidthMobile() {
|
|
1095
|
+
return this.getAttribute("min-width--mobile");
|
|
1096
|
+
}
|
|
1097
|
+
set minWidthMobile(e) {
|
|
1098
|
+
y(this, "min-width--mobile", e);
|
|
1099
|
+
}
|
|
1100
|
+
get minWidthTablet() {
|
|
1101
|
+
return this.getAttribute("min-width--tablet");
|
|
1102
|
+
}
|
|
1103
|
+
set minWidthTablet(e) {
|
|
1104
|
+
y(this, "min-width--tablet", e);
|
|
1105
|
+
}
|
|
1106
|
+
get minWidthLaptop() {
|
|
1107
|
+
return this.getAttribute("min-width--laptop");
|
|
1108
|
+
}
|
|
1109
|
+
set minWidthLaptop(e) {
|
|
1110
|
+
y(this, "min-width--laptop", e);
|
|
1111
|
+
}
|
|
1112
|
+
get minWidthDesktop() {
|
|
1113
|
+
return this.getAttribute("min-width--desktop");
|
|
1114
|
+
}
|
|
1115
|
+
set minWidthDesktop(e) {
|
|
1116
|
+
y(this, "min-width--desktop", e);
|
|
1117
|
+
}
|
|
1118
|
+
get maxWidth() {
|
|
1119
|
+
return this.getAttribute("max-width") ?? "none";
|
|
1120
|
+
}
|
|
1121
|
+
set maxWidth(e) {
|
|
1122
|
+
y(this, "max-width", e);
|
|
1123
|
+
}
|
|
1124
|
+
get maxWidthMobile() {
|
|
1125
|
+
return this.getAttribute("max-width--mobile");
|
|
1126
|
+
}
|
|
1127
|
+
set maxWidthMobile(e) {
|
|
1128
|
+
y(this, "max-width--mobile", e);
|
|
1129
|
+
}
|
|
1130
|
+
get maxWidthTablet() {
|
|
1131
|
+
return this.getAttribute("max-width--tablet");
|
|
1132
|
+
}
|
|
1133
|
+
set maxWidthTablet(e) {
|
|
1134
|
+
y(this, "max-width--tablet", e);
|
|
1135
|
+
}
|
|
1136
|
+
get maxWidthLaptop() {
|
|
1137
|
+
return this.getAttribute("max-width--laptop");
|
|
1138
|
+
}
|
|
1139
|
+
set maxWidthLaptop(e) {
|
|
1140
|
+
y(this, "max-width--laptop", e);
|
|
1141
|
+
}
|
|
1142
|
+
get maxWidthDesktop() {
|
|
1143
|
+
return this.getAttribute("max-width--desktop");
|
|
1144
|
+
}
|
|
1145
|
+
set maxWidthDesktop(e) {
|
|
1146
|
+
y(this, "max-width--desktop", e);
|
|
1065
1147
|
}
|
|
1066
1148
|
get $el() {
|
|
1067
1149
|
return this.shadowRoot.firstElementChild;
|
|
@@ -1073,7 +1155,7 @@ var R = (e) => e === "direction" || e.startsWith("direction--"), z = class exten
|
|
|
1073
1155
|
return "column";
|
|
1074
1156
|
}
|
|
1075
1157
|
set direction(e) {
|
|
1076
|
-
|
|
1158
|
+
y(this, "direction", e);
|
|
1077
1159
|
}
|
|
1078
1160
|
attributeChangedCallback(e, t, n) {
|
|
1079
1161
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -1085,7 +1167,7 @@ var B = class extends L {
|
|
|
1085
1167
|
return "row";
|
|
1086
1168
|
}
|
|
1087
1169
|
set direction(e) {
|
|
1088
|
-
|
|
1170
|
+
y(this, "direction", e);
|
|
1089
1171
|
}
|
|
1090
1172
|
attributeChangedCallback(e, t, n) {
|
|
1091
1173
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -1240,7 +1322,7 @@ var W = class extends n {
|
|
|
1240
1322
|
</px-container>
|
|
1241
1323
|
</px-vstack>
|
|
1242
1324
|
</px-container>
|
|
1243
|
-
`,
|
|
1325
|
+
`, b(this.shadowRoot, this.template());
|
|
1244
1326
|
}
|
|
1245
1327
|
static get observedAttributes() {
|
|
1246
1328
|
return [
|
|
@@ -1331,16 +1413,16 @@ customElements.get("px-page") === void 0 && customElements.define("px-page", W);
|
|
|
1331
1413
|
//#endregion
|
|
1332
1414
|
//#region ../Section/src/Section.ts
|
|
1333
1415
|
var G = new CSSStyleSheet();
|
|
1334
|
-
G.replaceSync(
|
|
1416
|
+
G.replaceSync(S);
|
|
1335
1417
|
var K = class e extends n {
|
|
1336
1418
|
static {
|
|
1337
|
-
this.template =
|
|
1419
|
+
this.template = f("<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>");
|
|
1338
1420
|
}
|
|
1339
1421
|
constructor() {
|
|
1340
|
-
super(G),
|
|
1422
|
+
super(G), b(this.shadowRoot, e.template);
|
|
1341
1423
|
}
|
|
1342
1424
|
connectedCallback() {
|
|
1343
|
-
|
|
1425
|
+
y(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);
|
|
1344
1426
|
}
|
|
1345
1427
|
static get observedAttributes() {
|
|
1346
1428
|
return [
|
|
@@ -1490,151 +1572,151 @@ var K = class e extends n {
|
|
|
1490
1572
|
return this.getAttribute("background-color") || "none";
|
|
1491
1573
|
}
|
|
1492
1574
|
set backgroundColor(e) {
|
|
1493
|
-
|
|
1575
|
+
y(this, "background-color", e);
|
|
1494
1576
|
}
|
|
1495
1577
|
get gradient() {
|
|
1496
1578
|
return this.getAttribute("background-gradient");
|
|
1497
1579
|
}
|
|
1498
1580
|
set gradient(e) {
|
|
1499
|
-
|
|
1581
|
+
y(this, "background-gradient", e);
|
|
1500
1582
|
}
|
|
1501
1583
|
get backgroundImage() {
|
|
1502
1584
|
return this.getAttribute("background-image");
|
|
1503
1585
|
}
|
|
1504
1586
|
set backgroundImage(e) {
|
|
1505
|
-
|
|
1587
|
+
y(this, "background-image", e);
|
|
1506
1588
|
}
|
|
1507
1589
|
get backgroundImageMobile() {
|
|
1508
1590
|
return this.getAttribute("background-image--mobile");
|
|
1509
1591
|
}
|
|
1510
1592
|
set backgroundImageMobile(e) {
|
|
1511
|
-
|
|
1593
|
+
y(this, "background-image--mobile", e);
|
|
1512
1594
|
}
|
|
1513
1595
|
get backgroundImageTablet() {
|
|
1514
1596
|
return this.getAttribute("background-image--tablet");
|
|
1515
1597
|
}
|
|
1516
1598
|
set backgroundImageTablet(e) {
|
|
1517
|
-
|
|
1599
|
+
y(this, "background-image--tablet", e);
|
|
1518
1600
|
}
|
|
1519
1601
|
get backgroundImageLaptop() {
|
|
1520
1602
|
return this.getAttribute("background-image--laptop");
|
|
1521
1603
|
}
|
|
1522
1604
|
set backgroundImageLaptop(e) {
|
|
1523
|
-
|
|
1605
|
+
y(this, "background-image--laptop", e);
|
|
1524
1606
|
}
|
|
1525
1607
|
get backgroundSize() {
|
|
1526
1608
|
return this.getAttribute("background-size");
|
|
1527
1609
|
}
|
|
1528
1610
|
set backgroundSize(e) {
|
|
1529
|
-
|
|
1611
|
+
y(this, "background-size", e);
|
|
1530
1612
|
}
|
|
1531
1613
|
get backgroundPosition() {
|
|
1532
1614
|
return this.getAttribute("background-position");
|
|
1533
1615
|
}
|
|
1534
1616
|
set backgroundPosition(e) {
|
|
1535
|
-
|
|
1617
|
+
y(this, "background-position", e);
|
|
1536
1618
|
}
|
|
1537
1619
|
get paddingBlock() {
|
|
1538
1620
|
return this.getAttribute("padding-block");
|
|
1539
1621
|
}
|
|
1540
1622
|
set paddingBlock(e) {
|
|
1541
|
-
|
|
1623
|
+
y(this, "padding-block", e);
|
|
1542
1624
|
}
|
|
1543
1625
|
get paddingTop() {
|
|
1544
1626
|
return this.getAttribute("padding-top");
|
|
1545
1627
|
}
|
|
1546
1628
|
set paddingTop(e) {
|
|
1547
|
-
|
|
1629
|
+
y(this, "padding-top", e);
|
|
1548
1630
|
}
|
|
1549
1631
|
get paddingBottom() {
|
|
1550
1632
|
return this.getAttribute("padding-bottom");
|
|
1551
1633
|
}
|
|
1552
1634
|
set paddingBottom(e) {
|
|
1553
|
-
|
|
1635
|
+
y(this, "padding-bottom", e);
|
|
1554
1636
|
}
|
|
1555
1637
|
get paddingBlockMobile() {
|
|
1556
1638
|
return this.getAttribute("padding-block--mobile");
|
|
1557
1639
|
}
|
|
1558
1640
|
set paddingBlockMobile(e) {
|
|
1559
|
-
|
|
1641
|
+
y(this, "padding-block--mobile", e);
|
|
1560
1642
|
}
|
|
1561
1643
|
get paddingTopMobile() {
|
|
1562
1644
|
return this.getAttribute("padding-top--mobile");
|
|
1563
1645
|
}
|
|
1564
1646
|
set paddingTopMobile(e) {
|
|
1565
|
-
|
|
1647
|
+
y(this, "padding-top--mobile", e);
|
|
1566
1648
|
}
|
|
1567
1649
|
get paddingBottomMobile() {
|
|
1568
1650
|
return this.getAttribute("padding-bottom--mobile");
|
|
1569
1651
|
}
|
|
1570
1652
|
set paddingBottomMobile(e) {
|
|
1571
|
-
|
|
1653
|
+
y(this, "padding-bottom--mobile", e);
|
|
1572
1654
|
}
|
|
1573
1655
|
get paddingBlockTablet() {
|
|
1574
1656
|
return this.getAttribute("padding-block--tablet");
|
|
1575
1657
|
}
|
|
1576
1658
|
set paddingBlockTablet(e) {
|
|
1577
|
-
|
|
1659
|
+
y(this, "padding-block--tablet", e);
|
|
1578
1660
|
}
|
|
1579
1661
|
get paddingTopTablet() {
|
|
1580
1662
|
return this.getAttribute("padding-top--tablet");
|
|
1581
1663
|
}
|
|
1582
1664
|
set paddingTopTablet(e) {
|
|
1583
|
-
|
|
1665
|
+
y(this, "padding-top--tablet", e);
|
|
1584
1666
|
}
|
|
1585
1667
|
get paddingBottomTablet() {
|
|
1586
1668
|
return this.getAttribute("padding-bottom--tablet");
|
|
1587
1669
|
}
|
|
1588
1670
|
set paddingBottomTablet(e) {
|
|
1589
|
-
|
|
1671
|
+
y(this, "padding-bottom--tablet", e);
|
|
1590
1672
|
}
|
|
1591
1673
|
get paddingBlockLaptop() {
|
|
1592
1674
|
return this.getAttribute("padding-block--laptop");
|
|
1593
1675
|
}
|
|
1594
1676
|
set paddingBlockLaptop(e) {
|
|
1595
|
-
|
|
1677
|
+
y(this, "padding-block--laptop", e);
|
|
1596
1678
|
}
|
|
1597
1679
|
get paddingTopLaptop() {
|
|
1598
1680
|
return this.getAttribute("padding-top--laptop");
|
|
1599
1681
|
}
|
|
1600
1682
|
set paddingTopLaptop(e) {
|
|
1601
|
-
|
|
1683
|
+
y(this, "padding-top--laptop", e);
|
|
1602
1684
|
}
|
|
1603
1685
|
get paddingBottomLaptop() {
|
|
1604
1686
|
return this.getAttribute("padding-bottom--laptop");
|
|
1605
1687
|
}
|
|
1606
1688
|
set paddingBottomLaptop(e) {
|
|
1607
|
-
|
|
1689
|
+
y(this, "padding-bottom--laptop", e);
|
|
1608
1690
|
}
|
|
1609
1691
|
get border() {
|
|
1610
1692
|
return this.getAttribute("border");
|
|
1611
1693
|
}
|
|
1612
1694
|
set border(e) {
|
|
1613
|
-
|
|
1695
|
+
y(this, "border", e);
|
|
1614
1696
|
}
|
|
1615
1697
|
get borderSide() {
|
|
1616
1698
|
return this.getAttribute("border-side");
|
|
1617
1699
|
}
|
|
1618
1700
|
set borderSide(e) {
|
|
1619
|
-
|
|
1701
|
+
y(this, "border-side", e);
|
|
1620
1702
|
}
|
|
1621
1703
|
get borderSideMobile() {
|
|
1622
1704
|
return this.getAttribute("border-side--mobile");
|
|
1623
1705
|
}
|
|
1624
1706
|
set borderSideMobile(e) {
|
|
1625
|
-
|
|
1707
|
+
y(this, "border-side--mobile", e);
|
|
1626
1708
|
}
|
|
1627
1709
|
get borderSideTablet() {
|
|
1628
1710
|
return this.getAttribute("border-side--tablet");
|
|
1629
1711
|
}
|
|
1630
1712
|
set borderSideTablet(e) {
|
|
1631
|
-
|
|
1713
|
+
y(this, "border-side--tablet", e);
|
|
1632
1714
|
}
|
|
1633
1715
|
get borderSideLaptop() {
|
|
1634
1716
|
return this.getAttribute("border-side--laptop");
|
|
1635
1717
|
}
|
|
1636
1718
|
set borderSideLaptop(e) {
|
|
1637
|
-
|
|
1719
|
+
y(this, "border-side--laptop", e);
|
|
1638
1720
|
}
|
|
1639
1721
|
};
|
|
1640
1722
|
customElements.get("px-section") || customElements.define("px-section", K);
|
|
@@ -1670,9 +1752,9 @@ var Y = [
|
|
|
1670
1752
|
"end",
|
|
1671
1753
|
"center",
|
|
1672
1754
|
"stretch"
|
|
1673
|
-
], ne =
|
|
1755
|
+
], ne = p("gap", (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .grid`, m, "px-spacing", "--grid-gap"), re = class e extends t {
|
|
1674
1756
|
static {
|
|
1675
|
-
this.template =
|
|
1757
|
+
this.template = f("<div class=\"grid\"><slot></slot></div>");
|
|
1676
1758
|
}
|
|
1677
1759
|
static {
|
|
1678
1760
|
this.nativeName = "div";
|
|
@@ -1681,7 +1763,7 @@ var Y = [
|
|
|
1681
1763
|
this.nativeAttributes = {};
|
|
1682
1764
|
}
|
|
1683
1765
|
constructor() {
|
|
1684
|
-
super(J, ne),
|
|
1766
|
+
super(J, ne), b(this.shadowRoot, e.template);
|
|
1685
1767
|
}
|
|
1686
1768
|
static get observedAttributes() {
|
|
1687
1769
|
return [
|
|
@@ -1752,7 +1834,7 @@ var Y = [
|
|
|
1752
1834
|
}
|
|
1753
1835
|
updateGap(e, t, n) {
|
|
1754
1836
|
if (!this.checkName(n, t)) {
|
|
1755
|
-
|
|
1837
|
+
g(`"${t}" is not a valid gap value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
1756
1838
|
return;
|
|
1757
1839
|
}
|
|
1758
1840
|
let r = (e) => {
|
|
@@ -1761,7 +1843,7 @@ var Y = [
|
|
|
1761
1843
|
r(e), r(t);
|
|
1762
1844
|
}
|
|
1763
1845
|
updateAttribute(e, t, n, r) {
|
|
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}`)) :
|
|
1846
|
+
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}`)) : g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1765
1847
|
}
|
|
1766
1848
|
get gap() {
|
|
1767
1849
|
return this.getAttribute("gap");
|
|
@@ -1936,10 +2018,10 @@ customElements.get("px-grid") || customElements.define("px-grid", re);
|
|
|
1936
2018
|
//#endregion
|
|
1937
2019
|
//#region src/ContentHeader.ts
|
|
1938
2020
|
var Q = new CSSStyleSheet();
|
|
1939
|
-
Q.replaceSync(
|
|
2021
|
+
Q.replaceSync(x);
|
|
1940
2022
|
var $ = class e extends t {
|
|
1941
2023
|
static {
|
|
1942
|
-
this.template =
|
|
2024
|
+
this.template = f("<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>");
|
|
1943
2025
|
}
|
|
1944
2026
|
static {
|
|
1945
2027
|
this.nativeName = "div";
|
|
@@ -1948,7 +2030,7 @@ var $ = class e extends t {
|
|
|
1948
2030
|
this.nativeAttributes = {};
|
|
1949
2031
|
}
|
|
1950
2032
|
constructor() {
|
|
1951
|
-
super(Q),
|
|
2033
|
+
super(Q), b(this.shadowRoot, e.template);
|
|
1952
2034
|
}
|
|
1953
2035
|
static get observedAttributes() {
|
|
1954
2036
|
return [
|
|
@@ -1986,7 +2068,7 @@ var $ = class e extends t {
|
|
|
1986
2068
|
this.$section.backgroundColor = r.indexOf(n) > 0 ? n : "none";
|
|
1987
2069
|
break;
|
|
1988
2070
|
case "background-gradient":
|
|
1989
|
-
this.$section.gradient = n === null ? null :
|
|
2071
|
+
this.$section.gradient = n === null ? null : h.indexOf(n) > 0 ? n : "none";
|
|
1990
2072
|
break;
|
|
1991
2073
|
case "background-image":
|
|
1992
2074
|
this.$section.backgroundImage = n;
|