@proximus/lavender-content-header 2.0.0-alpha.232 → 2.0.0-alpha.234
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 +266 -184
- 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-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}", S = ":host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-left-style:none;border-right-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-position:50%;background-size:cover}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]),::slotted([slot=anchor-full]){position:absolute;top:0}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]){z-index:3;transform:translateY(-50%)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--mobile,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--mobile,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-full]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (width<=47.938rem){.container{background-color:var(--background-color--mobile,var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile,var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var(--background-gradient--mobile,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--mobile,var(--background-color-inverted))}.border-side-top--mobile{border-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (width>=48rem) and (width<=64rem){.container{background-color:var(--background-color--tablet,var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet,var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var(--background-gradient--tablet,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--tablet,var(--background-color-inverted))}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--tablet,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--tablet,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (width>=64.0625rem){.container{background-color:var(--background-color--laptop,var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop,var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var(--background-gradient--laptop,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--laptop,var(--background-color-inverted))}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--laptop,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--laptop,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (width>=90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}", C = new CSSStyleSheet();
|
|
5
|
-
|
|
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-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-desktop)}}", 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
|
}
|
|
@@ -170,27 +170,27 @@ var w = [
|
|
|
170
170
|
}
|
|
171
171
|
updateGradient(e, t) {
|
|
172
172
|
let { attrName: n, breakpoint: r } = this.splitAttrNameFromBreakpoint(e), i = `--${n}${r}`;
|
|
173
|
-
t === null ? this.$el.style.removeProperty(i) : this.checkName(
|
|
173
|
+
t === null ? this.$el.style.removeProperty(i) : 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("\", \"")}".`);
|
|
174
174
|
}
|
|
175
175
|
updateBackgroundColor(e, t) {
|
|
176
176
|
let n = t.startsWith("surface-");
|
|
177
177
|
if (this.checkName(r, t)) {
|
|
178
178
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
179
179
|
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"})`);
|
|
180
|
-
} else
|
|
180
|
+
} else g(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
181
181
|
}
|
|
182
182
|
updateBorderColor(e, t) {
|
|
183
|
-
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)`)) :
|
|
183
|
+
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("\", \"")}".`);
|
|
184
184
|
}
|
|
185
185
|
updateNoBorderRadius(e, t, n, r) {
|
|
186
|
-
if (!this.checkName(r, n))
|
|
186
|
+
if (!this.checkName(r, n)) g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
187
187
|
else {
|
|
188
188
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
189
189
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
updateAttribute(e, t, n, r) {
|
|
193
|
-
if (!this.checkName(r, n))
|
|
193
|
+
if (!this.checkName(r, n)) g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
194
194
|
else {
|
|
195
195
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
196
196
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
@@ -212,8 +212,8 @@ var w = [
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
updateAnchorOffset(e, t, n) {
|
|
215
|
-
if (!
|
|
216
|
-
|
|
215
|
+
if (!d(n, t)) {
|
|
216
|
+
g(`"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
let r = (e) => {
|
|
@@ -225,8 +225,8 @@ var w = [
|
|
|
225
225
|
this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
|
|
226
226
|
}
|
|
227
227
|
updateAnchorSpacing(e, t, n) {
|
|
228
|
-
if (!
|
|
229
|
-
|
|
228
|
+
if (!d(n, t)) {
|
|
229
|
+
g(`"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
230
230
|
return;
|
|
231
231
|
}
|
|
232
232
|
let r = (e) => {
|
|
@@ -235,7 +235,7 @@ var w = [
|
|
|
235
235
|
r(e), r(t);
|
|
236
236
|
}
|
|
237
237
|
updateSubgridRows(e, t, n, r) {
|
|
238
|
-
|
|
238
|
+
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("\", \"")}".`);
|
|
239
239
|
}
|
|
240
240
|
get $el() {
|
|
241
241
|
return this?.shadowRoot?.querySelector(".container");
|
|
@@ -247,337 +247,337 @@ var w = [
|
|
|
247
247
|
return this.getAttribute("padding");
|
|
248
248
|
}
|
|
249
249
|
set padding(e) {
|
|
250
|
-
|
|
250
|
+
y(this, "padding", e);
|
|
251
251
|
}
|
|
252
252
|
get paddingBlock() {
|
|
253
253
|
return this.getAttribute("padding-block");
|
|
254
254
|
}
|
|
255
255
|
set paddingBlock(e) {
|
|
256
|
-
|
|
256
|
+
y(this, "padding-block", e);
|
|
257
257
|
}
|
|
258
258
|
get paddingInline() {
|
|
259
259
|
return this.getAttribute("padding-inline");
|
|
260
260
|
}
|
|
261
261
|
set paddingInline(e) {
|
|
262
|
-
|
|
262
|
+
y(this, "padding-inline", e);
|
|
263
263
|
}
|
|
264
264
|
get paddingTop() {
|
|
265
265
|
return this.getAttribute("padding-top");
|
|
266
266
|
}
|
|
267
267
|
set paddingTop(e) {
|
|
268
|
-
|
|
268
|
+
y(this, "padding-top", e);
|
|
269
269
|
}
|
|
270
270
|
get paddingRight() {
|
|
271
271
|
return this.getAttribute("padding-right");
|
|
272
272
|
}
|
|
273
273
|
set paddingRight(e) {
|
|
274
|
-
|
|
274
|
+
y(this, "padding-right", e);
|
|
275
275
|
}
|
|
276
276
|
get paddingBottom() {
|
|
277
277
|
return this.getAttribute("padding-bottom");
|
|
278
278
|
}
|
|
279
279
|
set paddingBottom(e) {
|
|
280
|
-
|
|
280
|
+
y(this, "padding-bottom", e);
|
|
281
281
|
}
|
|
282
282
|
get paddingLeft() {
|
|
283
283
|
return this.getAttribute("padding-left");
|
|
284
284
|
}
|
|
285
285
|
set paddingLeft(e) {
|
|
286
|
-
|
|
286
|
+
y(this, "padding-left", e);
|
|
287
287
|
}
|
|
288
288
|
get paddingMobile() {
|
|
289
289
|
return this.getAttribute("padding--mobile");
|
|
290
290
|
}
|
|
291
291
|
set paddingMobile(e) {
|
|
292
|
-
|
|
292
|
+
y(this, "padding--mobile", e);
|
|
293
293
|
}
|
|
294
294
|
get paddingBlockMobile() {
|
|
295
295
|
return this.getAttribute("padding-block--mobile");
|
|
296
296
|
}
|
|
297
297
|
set paddingBlockMobile(e) {
|
|
298
|
-
|
|
298
|
+
y(this, "padding-block--mobile", e);
|
|
299
299
|
}
|
|
300
300
|
get paddingInlineMobile() {
|
|
301
301
|
return this.getAttribute("padding-inline--mobile");
|
|
302
302
|
}
|
|
303
303
|
set paddingInlineMobile(e) {
|
|
304
|
-
|
|
304
|
+
y(this, "padding-inline--mobile", e);
|
|
305
305
|
}
|
|
306
306
|
get paddingTopMobile() {
|
|
307
307
|
return this.getAttribute("padding-top--mobile");
|
|
308
308
|
}
|
|
309
309
|
set paddingTopMobile(e) {
|
|
310
|
-
|
|
310
|
+
y(this, "padding-top--mobile", e);
|
|
311
311
|
}
|
|
312
312
|
get paddingRightMobile() {
|
|
313
313
|
return this.getAttribute("padding-right--mobile");
|
|
314
314
|
}
|
|
315
315
|
set paddingRightMobile(e) {
|
|
316
|
-
|
|
316
|
+
y(this, "padding-right--mobile", e);
|
|
317
317
|
}
|
|
318
318
|
get paddingBottomMobile() {
|
|
319
319
|
return this.getAttribute("padding-bottom--mobile");
|
|
320
320
|
}
|
|
321
321
|
set paddingBottomMobile(e) {
|
|
322
|
-
|
|
322
|
+
y(this, "padding-bottom--mobile", e);
|
|
323
323
|
}
|
|
324
324
|
get paddingLeftMobile() {
|
|
325
325
|
return this.getAttribute("padding-left--mobile");
|
|
326
326
|
}
|
|
327
327
|
set paddingLeftMobile(e) {
|
|
328
|
-
|
|
328
|
+
y(this, "padding-left--mobile", e);
|
|
329
329
|
}
|
|
330
330
|
get paddingTablet() {
|
|
331
331
|
return this.getAttribute("padding--tablet");
|
|
332
332
|
}
|
|
333
333
|
set paddingTablet(e) {
|
|
334
|
-
|
|
334
|
+
y(this, "padding--tablet", e);
|
|
335
335
|
}
|
|
336
336
|
get paddingBlockTablet() {
|
|
337
337
|
return this.getAttribute("padding-block--tablet");
|
|
338
338
|
}
|
|
339
339
|
set paddingBlockTablet(e) {
|
|
340
|
-
|
|
340
|
+
y(this, "padding-block--tablet", e);
|
|
341
341
|
}
|
|
342
342
|
get paddingInlineTablet() {
|
|
343
343
|
return this.getAttribute("padding-inline--tablet");
|
|
344
344
|
}
|
|
345
345
|
set paddingInlineTablet(e) {
|
|
346
|
-
|
|
346
|
+
y(this, "padding-inline--tablet", e);
|
|
347
347
|
}
|
|
348
348
|
get paddingTopTablet() {
|
|
349
349
|
return this.getAttribute("padding-top--tablet");
|
|
350
350
|
}
|
|
351
351
|
set paddingTopTablet(e) {
|
|
352
|
-
|
|
352
|
+
y(this, "padding-top--tablet", e);
|
|
353
353
|
}
|
|
354
354
|
get paddingRightTablet() {
|
|
355
355
|
return this.getAttribute("padding-right--tablet");
|
|
356
356
|
}
|
|
357
357
|
set paddingRightTablet(e) {
|
|
358
|
-
|
|
358
|
+
y(this, "padding-right--tablet", e);
|
|
359
359
|
}
|
|
360
360
|
get paddingBottomTablet() {
|
|
361
361
|
return this.getAttribute("padding-bottom--tablet");
|
|
362
362
|
}
|
|
363
363
|
set paddingBottomTablet(e) {
|
|
364
|
-
|
|
364
|
+
y(this, "padding-bottom--tablet", e);
|
|
365
365
|
}
|
|
366
366
|
get paddingLeftTablet() {
|
|
367
367
|
return this.getAttribute("padding-left--tablet");
|
|
368
368
|
}
|
|
369
369
|
set paddingLeftTablet(e) {
|
|
370
|
-
|
|
370
|
+
y(this, "padding-left--tablet", e);
|
|
371
371
|
}
|
|
372
372
|
get paddingLaptop() {
|
|
373
373
|
return this.getAttribute("padding--laptop");
|
|
374
374
|
}
|
|
375
375
|
set paddingLaptop(e) {
|
|
376
|
-
|
|
376
|
+
y(this, "padding--laptop", e);
|
|
377
377
|
}
|
|
378
378
|
get paddingBlockLaptop() {
|
|
379
379
|
return this.getAttribute("padding-block--laptop");
|
|
380
380
|
}
|
|
381
381
|
set paddingBlockLaptop(e) {
|
|
382
|
-
|
|
382
|
+
y(this, "padding-block--laptop", e);
|
|
383
383
|
}
|
|
384
384
|
get paddingInlineLaptop() {
|
|
385
385
|
return this.getAttribute("padding-inline--laptop");
|
|
386
386
|
}
|
|
387
387
|
set paddingInlineLaptop(e) {
|
|
388
|
-
|
|
388
|
+
y(this, "padding-inline--laptop", e);
|
|
389
389
|
}
|
|
390
390
|
get paddingTopLaptop() {
|
|
391
391
|
return this.getAttribute("padding-top--laptop");
|
|
392
392
|
}
|
|
393
393
|
set paddingTopLaptop(e) {
|
|
394
|
-
|
|
394
|
+
y(this, "padding-top--laptop", e);
|
|
395
395
|
}
|
|
396
396
|
get paddingRightLaptop() {
|
|
397
397
|
return this.getAttribute("padding-right--laptop");
|
|
398
398
|
}
|
|
399
399
|
set paddingRightLaptop(e) {
|
|
400
|
-
|
|
400
|
+
y(this, "padding-right--laptop", e);
|
|
401
401
|
}
|
|
402
402
|
get paddingBottomLaptop() {
|
|
403
403
|
return this.getAttribute("padding-bottom--laptop");
|
|
404
404
|
}
|
|
405
405
|
set paddingBottomLaptop(e) {
|
|
406
|
-
|
|
406
|
+
y(this, "padding-bottom--laptop", e);
|
|
407
407
|
}
|
|
408
408
|
get paddingLeftLaptop() {
|
|
409
409
|
return this.getAttribute("padding-left--laptop");
|
|
410
410
|
}
|
|
411
411
|
set paddingLeftLaptop(e) {
|
|
412
|
-
|
|
412
|
+
y(this, "padding-left--laptop", e);
|
|
413
413
|
}
|
|
414
414
|
get border() {
|
|
415
415
|
return this.getAttribute("border");
|
|
416
416
|
}
|
|
417
417
|
set border(e) {
|
|
418
|
-
|
|
418
|
+
y(this, "border", e);
|
|
419
419
|
}
|
|
420
420
|
get borderColor() {
|
|
421
421
|
return this.getAttribute("border-color");
|
|
422
422
|
}
|
|
423
423
|
set borderColor(e) {
|
|
424
|
-
|
|
424
|
+
y(this, "border-color", e);
|
|
425
425
|
}
|
|
426
426
|
get borderSide() {
|
|
427
427
|
return this.getAttribute("border-side");
|
|
428
428
|
}
|
|
429
429
|
set borderSide(e) {
|
|
430
|
-
|
|
430
|
+
y(this, "border-side", e);
|
|
431
431
|
}
|
|
432
432
|
get borderSideMobile() {
|
|
433
433
|
return this.getAttribute("border-side--mobile");
|
|
434
434
|
}
|
|
435
435
|
set borderSideMobile(e) {
|
|
436
|
-
|
|
436
|
+
y(this, "border-side--mobile", e);
|
|
437
437
|
}
|
|
438
438
|
get borderSideTablet() {
|
|
439
439
|
return this.getAttribute("border-side--tablet");
|
|
440
440
|
}
|
|
441
441
|
set borderSideTablet(e) {
|
|
442
|
-
|
|
442
|
+
y(this, "border-side--tablet", e);
|
|
443
443
|
}
|
|
444
444
|
get borderSideLaptop() {
|
|
445
445
|
return this.getAttribute("border-side--laptop");
|
|
446
446
|
}
|
|
447
447
|
set borderSideLaptop(e) {
|
|
448
|
-
|
|
448
|
+
y(this, "border-side--laptop", e);
|
|
449
449
|
}
|
|
450
450
|
get borderRadius() {
|
|
451
451
|
return this.getAttribute("border-radius");
|
|
452
452
|
}
|
|
453
453
|
set borderRadius(e) {
|
|
454
|
-
|
|
454
|
+
y(this, "border-radius", e);
|
|
455
455
|
}
|
|
456
456
|
get noBorderRadius() {
|
|
457
457
|
return this.getAttribute("no-border-radius");
|
|
458
458
|
}
|
|
459
459
|
set noBorderRadius(e) {
|
|
460
|
-
|
|
460
|
+
y(this, "no-border-radius", e);
|
|
461
461
|
}
|
|
462
462
|
get noBorderRadiusMobile() {
|
|
463
463
|
return this.getAttribute("no-border-radius--mobile");
|
|
464
464
|
}
|
|
465
465
|
set noBorderRadiusMobile(e) {
|
|
466
|
-
|
|
466
|
+
y(this, "no-border-radius--mobile", e);
|
|
467
467
|
}
|
|
468
468
|
get noBorderRadiusTablet() {
|
|
469
469
|
return this.getAttribute("no-border-radius--tablet");
|
|
470
470
|
}
|
|
471
471
|
set noBorderRadiusTablet(e) {
|
|
472
|
-
|
|
472
|
+
y(this, "no-border-radius--tablet", e);
|
|
473
473
|
}
|
|
474
474
|
get noBorderRadiusLaptop() {
|
|
475
475
|
return this.getAttribute("no-border-radius--laptop");
|
|
476
476
|
}
|
|
477
477
|
set noBorderRadiusLaptop(e) {
|
|
478
|
-
|
|
478
|
+
y(this, "no-border-radius--laptop", e);
|
|
479
479
|
}
|
|
480
480
|
get backgroundColor() {
|
|
481
481
|
return this.getAttribute("background-color");
|
|
482
482
|
}
|
|
483
483
|
set backgroundColor(e) {
|
|
484
|
-
|
|
484
|
+
y(this, "background-color", e);
|
|
485
485
|
}
|
|
486
486
|
get backgroundColorMobile() {
|
|
487
487
|
return this.getAttribute("background-color--mobile");
|
|
488
488
|
}
|
|
489
489
|
set backgroundColorMobile(e) {
|
|
490
|
-
|
|
490
|
+
y(this, "background-color--mobile", e);
|
|
491
491
|
}
|
|
492
492
|
get backgroundColorTablet() {
|
|
493
493
|
return this.getAttribute("background-color--tablet");
|
|
494
494
|
}
|
|
495
495
|
set backgroundColorTablet(e) {
|
|
496
|
-
|
|
496
|
+
y(this, "background-color--tablet", e);
|
|
497
497
|
}
|
|
498
498
|
get backgroundColorLaptop() {
|
|
499
499
|
return this.getAttribute("background-color--laptop");
|
|
500
500
|
}
|
|
501
501
|
set backgroundColorLaptop(e) {
|
|
502
|
-
|
|
502
|
+
y(this, "background-color--laptop", e);
|
|
503
503
|
}
|
|
504
504
|
get gradient() {
|
|
505
505
|
return this.getAttribute("background-gradient");
|
|
506
506
|
}
|
|
507
507
|
set gradient(e) {
|
|
508
|
-
|
|
508
|
+
y(this, "background-gradient", e);
|
|
509
509
|
}
|
|
510
510
|
get gradientMobile() {
|
|
511
511
|
return this.getAttribute("background-gradient--mobile");
|
|
512
512
|
}
|
|
513
513
|
set gradientMobile(e) {
|
|
514
|
-
|
|
514
|
+
y(this, "background-gradient--mobile", e);
|
|
515
515
|
}
|
|
516
516
|
get gradientTablet() {
|
|
517
517
|
return this.getAttribute("background-gradient--tablet");
|
|
518
518
|
}
|
|
519
519
|
set gradientTablet(e) {
|
|
520
|
-
|
|
520
|
+
y(this, "background-gradient--tablet", e);
|
|
521
521
|
}
|
|
522
522
|
get gradientLaptop() {
|
|
523
523
|
return this.getAttribute("background-gradient--laptop");
|
|
524
524
|
}
|
|
525
525
|
set gradientLaptop(e) {
|
|
526
|
-
|
|
526
|
+
y(this, "background-gradient--laptop", e);
|
|
527
527
|
}
|
|
528
528
|
get backgroundImage() {
|
|
529
529
|
return this.getAttribute("background-image");
|
|
530
530
|
}
|
|
531
531
|
set backgroundImage(e) {
|
|
532
|
-
|
|
532
|
+
y(this, "background-image", e);
|
|
533
533
|
}
|
|
534
534
|
get backgroundImageMobile() {
|
|
535
535
|
return this.getAttribute("background-image--mobile");
|
|
536
536
|
}
|
|
537
537
|
set backgroundImageMobile(e) {
|
|
538
|
-
|
|
538
|
+
y(this, "background-image--mobile", e);
|
|
539
539
|
}
|
|
540
540
|
get backgroundImageTablet() {
|
|
541
541
|
return this.getAttribute("background-image--tablet");
|
|
542
542
|
}
|
|
543
543
|
set backgroundImageTablet(e) {
|
|
544
|
-
|
|
544
|
+
y(this, "background-image--tablet", e);
|
|
545
545
|
}
|
|
546
546
|
get backgroundImageLaptop() {
|
|
547
547
|
return this.getAttribute("background-image--laptop");
|
|
548
548
|
}
|
|
549
549
|
set backgroundImageLaptop(e) {
|
|
550
|
-
|
|
550
|
+
y(this, "background-image--laptop", e);
|
|
551
551
|
}
|
|
552
552
|
get backgroundSize() {
|
|
553
553
|
return this.getAttribute("background-size");
|
|
554
554
|
}
|
|
555
555
|
set backgroundSize(e) {
|
|
556
|
-
|
|
556
|
+
y(this, "background-size", e);
|
|
557
557
|
}
|
|
558
558
|
get backgroundPosition() {
|
|
559
559
|
return this.getAttribute("background-position");
|
|
560
560
|
}
|
|
561
561
|
set backgroundPosition(e) {
|
|
562
|
-
|
|
562
|
+
y(this, "background-position", e);
|
|
563
563
|
}
|
|
564
564
|
get boxShadow() {
|
|
565
565
|
return this.getAttribute("box-shadow");
|
|
566
566
|
}
|
|
567
567
|
set boxShadow(e) {
|
|
568
|
-
|
|
568
|
+
y(this, "box-shadow", e);
|
|
569
569
|
}
|
|
570
570
|
get anchorOffset() {
|
|
571
571
|
return this.getAttribute("anchor-offset");
|
|
572
572
|
}
|
|
573
573
|
set anchorOffset(e) {
|
|
574
|
-
|
|
574
|
+
y(this, "anchor-offset", e);
|
|
575
575
|
}
|
|
576
576
|
get anchorSpacing() {
|
|
577
577
|
return this.getAttribute("anchor-spacing");
|
|
578
578
|
}
|
|
579
579
|
set anchorSpacing(e) {
|
|
580
|
-
|
|
580
|
+
y(this, "anchor-spacing", e);
|
|
581
581
|
}
|
|
582
582
|
get inverted() {
|
|
583
583
|
return this.hasAttribute("inverted");
|
|
@@ -589,37 +589,37 @@ var w = [
|
|
|
589
589
|
return this.getAttribute("subgrid-rows");
|
|
590
590
|
}
|
|
591
591
|
set subgridRows(e) {
|
|
592
|
-
|
|
592
|
+
y(this, "subgrid-rows", e);
|
|
593
593
|
}
|
|
594
594
|
get subgridGap() {
|
|
595
595
|
return this.getAttribute("subgrid-gap");
|
|
596
596
|
}
|
|
597
597
|
set subgridGap(e) {
|
|
598
|
-
|
|
598
|
+
y(this, "subgrid-gap", e);
|
|
599
599
|
}
|
|
600
600
|
get subgridGapMobile() {
|
|
601
601
|
return this.getAttribute("subgrid-gap--mobile");
|
|
602
602
|
}
|
|
603
603
|
set subgridGapMobile(e) {
|
|
604
|
-
|
|
604
|
+
y(this, "subgrid-gap--mobile", e);
|
|
605
605
|
}
|
|
606
606
|
get subgridGapTablet() {
|
|
607
607
|
return this.getAttribute("subgrid-gap--tablet");
|
|
608
608
|
}
|
|
609
609
|
set subgridGapTablet(e) {
|
|
610
|
-
|
|
610
|
+
y(this, "subgrid-gap--tablet", e);
|
|
611
611
|
}
|
|
612
612
|
get subgridGapLaptop() {
|
|
613
613
|
return this.getAttribute("subgrid-gap--laptop");
|
|
614
614
|
}
|
|
615
615
|
set subgridGapLaptop(e) {
|
|
616
|
-
|
|
616
|
+
y(this, "subgrid-gap--laptop", e);
|
|
617
617
|
}
|
|
618
618
|
};
|
|
619
|
-
customElements.get("px-container") || customElements.define("px-container",
|
|
619
|
+
customElements.get("px-container") || customElements.define("px-container", te);
|
|
620
620
|
//#endregion
|
|
621
621
|
//#region ../Layout/src/Stack.css?inline
|
|
622
|
-
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();
|
|
622
|
+
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();
|
|
623
623
|
A.replaceSync(k);
|
|
624
624
|
var j = document.createElement("template");
|
|
625
625
|
j.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
|
|
@@ -710,7 +710,17 @@ var M = [
|
|
|
710
710
|
"max-height--mobile",
|
|
711
711
|
"max-height--tablet",
|
|
712
712
|
"max-height--laptop",
|
|
713
|
-
"max-height--desktop"
|
|
713
|
+
"max-height--desktop",
|
|
714
|
+
"min-width",
|
|
715
|
+
"min-width--mobile",
|
|
716
|
+
"min-width--tablet",
|
|
717
|
+
"min-width--laptop",
|
|
718
|
+
"min-width--desktop",
|
|
719
|
+
"max-width",
|
|
720
|
+
"max-width--mobile",
|
|
721
|
+
"max-width--tablet",
|
|
722
|
+
"max-width--laptop",
|
|
723
|
+
"max-width--desktop"
|
|
714
724
|
];
|
|
715
725
|
}
|
|
716
726
|
attributeChangedCallback(e, t, n) {
|
|
@@ -720,7 +730,7 @@ var M = [
|
|
|
720
730
|
case "gap--tablet":
|
|
721
731
|
case "gap--laptop":
|
|
722
732
|
case "gap--desktop":
|
|
723
|
-
this.updateFlexProperties(e, t, n,
|
|
733
|
+
this.updateFlexProperties(e, t, n, m);
|
|
724
734
|
break;
|
|
725
735
|
case "justify-content":
|
|
726
736
|
case "justify-content--mobile":
|
|
@@ -750,6 +760,18 @@ var M = [
|
|
|
750
760
|
case "direction--desktop":
|
|
751
761
|
this.updateFlexProperties(e, t, n, M), this.updateVerticalStyles();
|
|
752
762
|
break;
|
|
763
|
+
case "min-width":
|
|
764
|
+
case "min-width--mobile":
|
|
765
|
+
case "min-width--tablet":
|
|
766
|
+
case "min-width--laptop":
|
|
767
|
+
case "min-width--desktop":
|
|
768
|
+
case "max-width":
|
|
769
|
+
case "max-width--mobile":
|
|
770
|
+
case "max-width--tablet":
|
|
771
|
+
case "max-width--laptop":
|
|
772
|
+
case "max-width--desktop":
|
|
773
|
+
n && !CSS.supports(e.split("--")[0], n) && g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateFlexProperties(e, t, n);
|
|
774
|
+
break;
|
|
753
775
|
case "overflow-y":
|
|
754
776
|
case "overflow-y--mobile":
|
|
755
777
|
case "overflow-y--tablet":
|
|
@@ -760,7 +782,7 @@ var M = [
|
|
|
760
782
|
case "max-height--tablet":
|
|
761
783
|
case "max-height--laptop":
|
|
762
784
|
case "max-height--desktop":
|
|
763
|
-
n && !this.isValidVerticalValue(e, n) &&
|
|
785
|
+
n && !this.isValidVerticalValue(e, n) && g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
764
786
|
break;
|
|
765
787
|
case "overflow-x":
|
|
766
788
|
case "overflow-x--mobile":
|
|
@@ -785,10 +807,10 @@ var M = [
|
|
|
785
807
|
}
|
|
786
808
|
}
|
|
787
809
|
updateOverflowX(e, t, n, r) {
|
|
788
|
-
|
|
810
|
+
d(r, n) ? this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n) : g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
789
811
|
}
|
|
790
812
|
updateFlexProperties(e, n, r, i) {
|
|
791
|
-
r !== null && !this.checkName(i, r) &&
|
|
813
|
+
i && r !== null && !this.checkName(i, r) && g(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
792
814
|
let a = e.indexOf("--");
|
|
793
815
|
if (a === -1) for (let n of t.breakpoints) this.getAttribute(`${e}--${n}`) || this.updateStyle(e, n, r, i);
|
|
794
816
|
else {
|
|
@@ -797,12 +819,12 @@ var M = [
|
|
|
797
819
|
}
|
|
798
820
|
}
|
|
799
821
|
updateStyle(e, t, n, r) {
|
|
800
|
-
let i = `--flex-${e}--${t}-value`, a = e === "gap";
|
|
801
|
-
if (!n)
|
|
822
|
+
let i = `--flex-${e}--${t}-value`, a = e === "gap", o = e === "min-width" || e === "max-width", s = o ? this : this.$el;
|
|
823
|
+
if (o && n && !CSS.supports(e, n) && (n = null), !n) s.style.removeProperty(i), a && this.style.removeProperty(`--host-gap--${t}`);
|
|
802
824
|
else if (a && r && r.includes(n)) {
|
|
803
825
|
let e = `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`;
|
|
804
826
|
this.$el.style.setProperty(i, e), this.style.setProperty(`--host-gap--${t}`, e);
|
|
805
|
-
} else
|
|
827
|
+
} else s.style.setProperty(i, n);
|
|
806
828
|
}
|
|
807
829
|
static {
|
|
808
830
|
this.breakpoints = [
|
|
@@ -816,241 +838,301 @@ var M = [
|
|
|
816
838
|
return this.getAttribute("direction") ?? "row";
|
|
817
839
|
}
|
|
818
840
|
set direction(e) {
|
|
819
|
-
|
|
841
|
+
y(this, "direction", e);
|
|
820
842
|
}
|
|
821
843
|
get directionMobile() {
|
|
822
844
|
return this.getAttribute("direction--mobile");
|
|
823
845
|
}
|
|
824
846
|
set directionMobile(e) {
|
|
825
|
-
|
|
847
|
+
y(this, "direction--mobile", e);
|
|
826
848
|
}
|
|
827
849
|
get directionTablet() {
|
|
828
850
|
return this.getAttribute("direction--tablet");
|
|
829
851
|
}
|
|
830
852
|
set directionTablet(e) {
|
|
831
|
-
|
|
853
|
+
y(this, "direction--tablet", e);
|
|
832
854
|
}
|
|
833
855
|
get directionLaptop() {
|
|
834
856
|
return this.getAttribute("direction--laptop");
|
|
835
857
|
}
|
|
836
858
|
set directionLaptop(e) {
|
|
837
|
-
|
|
859
|
+
y(this, "direction--laptop", e);
|
|
838
860
|
}
|
|
839
861
|
get directionDesktop() {
|
|
840
862
|
return this.getAttribute("direction--desktop");
|
|
841
863
|
}
|
|
842
864
|
set directionDesktop(e) {
|
|
843
|
-
|
|
865
|
+
y(this, "direction--desktop", e);
|
|
844
866
|
}
|
|
845
867
|
get gap() {
|
|
846
868
|
return this.getAttribute("gap") ?? "none";
|
|
847
869
|
}
|
|
848
870
|
set gap(e) {
|
|
849
|
-
|
|
871
|
+
y(this, "gap", e);
|
|
850
872
|
}
|
|
851
873
|
get gapMobile() {
|
|
852
874
|
return this.getAttribute("gap--mobile");
|
|
853
875
|
}
|
|
854
876
|
set gapMobile(e) {
|
|
855
|
-
|
|
877
|
+
y(this, "gap--mobile", e);
|
|
856
878
|
}
|
|
857
879
|
get gapTablet() {
|
|
858
880
|
return this.getAttribute("gap--tablet");
|
|
859
881
|
}
|
|
860
882
|
set gapTablet(e) {
|
|
861
|
-
|
|
883
|
+
y(this, "gap--tablet", e);
|
|
862
884
|
}
|
|
863
885
|
get gapLaptop() {
|
|
864
886
|
return this.getAttribute("gap--laptop");
|
|
865
887
|
}
|
|
866
888
|
set gapLaptop(e) {
|
|
867
|
-
|
|
889
|
+
y(this, "gap--laptop", e);
|
|
868
890
|
}
|
|
869
891
|
get gapDesktop() {
|
|
870
892
|
return this.getAttribute("gap--desktop");
|
|
871
893
|
}
|
|
872
894
|
set gapDesktop(e) {
|
|
873
|
-
|
|
895
|
+
y(this, "gap--desktop", e);
|
|
874
896
|
}
|
|
875
897
|
get justifyContent() {
|
|
876
898
|
return this.getAttribute("justify-content") ?? "flex-start";
|
|
877
899
|
}
|
|
878
900
|
set justifyContent(e) {
|
|
879
|
-
|
|
901
|
+
y(this, "justify-content", e);
|
|
880
902
|
}
|
|
881
903
|
get justifyContentMobile() {
|
|
882
904
|
return this.getAttribute("justify-content--mobile");
|
|
883
905
|
}
|
|
884
906
|
set justifyContentMobile(e) {
|
|
885
|
-
|
|
907
|
+
y(this, "justify-content--mobile", e);
|
|
886
908
|
}
|
|
887
909
|
get justifyContentTablet() {
|
|
888
910
|
return this.getAttribute("justify-content--tablet");
|
|
889
911
|
}
|
|
890
912
|
set justifyContentTablet(e) {
|
|
891
|
-
|
|
913
|
+
y(this, "justify-content--tablet", e);
|
|
892
914
|
}
|
|
893
915
|
get justifyContentLaptop() {
|
|
894
916
|
return this.getAttribute("justify-content--laptop");
|
|
895
917
|
}
|
|
896
918
|
set justifyContentLaptop(e) {
|
|
897
|
-
|
|
919
|
+
y(this, "justify-content--laptop", e);
|
|
898
920
|
}
|
|
899
921
|
get justifyContentDesktop() {
|
|
900
922
|
return this.getAttribute("justify-content--desktop");
|
|
901
923
|
}
|
|
902
924
|
set justifyContentDesktop(e) {
|
|
903
|
-
|
|
925
|
+
y(this, "justify-content--desktop", e);
|
|
904
926
|
}
|
|
905
927
|
get alignItems() {
|
|
906
928
|
return this.getAttribute("align-items") ?? "stretch";
|
|
907
929
|
}
|
|
908
930
|
set alignItems(e) {
|
|
909
|
-
|
|
931
|
+
y(this, "align-items", e);
|
|
910
932
|
}
|
|
911
933
|
get alignItemsMobile() {
|
|
912
934
|
return this.getAttribute("align-items--mobile");
|
|
913
935
|
}
|
|
914
936
|
set alignItemsMobile(e) {
|
|
915
|
-
|
|
937
|
+
y(this, "align-items--mobile", e);
|
|
916
938
|
}
|
|
917
939
|
get alignItemsTablet() {
|
|
918
940
|
return this.getAttribute("align-items--tablet");
|
|
919
941
|
}
|
|
920
942
|
set alignItemsTablet(e) {
|
|
921
|
-
|
|
943
|
+
y(this, "align-items--tablet", e);
|
|
922
944
|
}
|
|
923
945
|
get alignItemsLaptop() {
|
|
924
946
|
return this.getAttribute("align-items--laptop");
|
|
925
947
|
}
|
|
926
948
|
set alignItemsLaptop(e) {
|
|
927
|
-
|
|
949
|
+
y(this, "align-items--laptop", e);
|
|
928
950
|
}
|
|
929
951
|
get alignItemsDesktop() {
|
|
930
952
|
return this.getAttribute("align-items--desktop");
|
|
931
953
|
}
|
|
932
954
|
set alignItemsDesktop(e) {
|
|
933
|
-
|
|
955
|
+
y(this, "align-items--desktop", e);
|
|
934
956
|
}
|
|
935
957
|
get wrap() {
|
|
936
958
|
return this.getAttribute("wrap") ?? "nowrap";
|
|
937
959
|
}
|
|
938
960
|
set wrap(e) {
|
|
939
|
-
|
|
961
|
+
y(this, "wrap", e);
|
|
940
962
|
}
|
|
941
963
|
get wrapMobile() {
|
|
942
964
|
return this.getAttribute("wrap--mobile");
|
|
943
965
|
}
|
|
944
966
|
set wrapMobile(e) {
|
|
945
|
-
|
|
967
|
+
y(this, "wrap--mobile", e);
|
|
946
968
|
}
|
|
947
969
|
get wrapTablet() {
|
|
948
970
|
return this.getAttribute("wrap--tablet");
|
|
949
971
|
}
|
|
950
972
|
set wrapTablet(e) {
|
|
951
|
-
|
|
973
|
+
y(this, "wrap--tablet", e);
|
|
952
974
|
}
|
|
953
975
|
get wrapLaptop() {
|
|
954
976
|
return this.getAttribute("wrap--laptop");
|
|
955
977
|
}
|
|
956
978
|
set wrapLaptop(e) {
|
|
957
|
-
|
|
979
|
+
y(this, "wrap--laptop", e);
|
|
958
980
|
}
|
|
959
981
|
get wrapDesktop() {
|
|
960
982
|
return this.getAttribute("wrap--desktop");
|
|
961
983
|
}
|
|
962
984
|
set wrapDesktop(e) {
|
|
963
|
-
|
|
985
|
+
y(this, "wrap--desktop", e);
|
|
964
986
|
}
|
|
965
987
|
get overflowX() {
|
|
966
988
|
return this.getAttribute("overflow-x") ?? "visible";
|
|
967
989
|
}
|
|
968
990
|
set overflowX(e) {
|
|
969
|
-
|
|
991
|
+
y(this, "overflow-x", e);
|
|
970
992
|
}
|
|
971
993
|
get overflowXMobile() {
|
|
972
994
|
return this.getAttribute("overflow-x--mobile");
|
|
973
995
|
}
|
|
974
996
|
set overflowXMobile(e) {
|
|
975
|
-
|
|
997
|
+
y(this, "overflow-x--mobile", e);
|
|
976
998
|
}
|
|
977
999
|
get overflowXTablet() {
|
|
978
1000
|
return this.getAttribute("overflow-x--tablet");
|
|
979
1001
|
}
|
|
980
1002
|
set overflowXTablet(e) {
|
|
981
|
-
|
|
1003
|
+
y(this, "overflow-x--tablet", e);
|
|
982
1004
|
}
|
|
983
1005
|
get overflowXLaptop() {
|
|
984
1006
|
return this.getAttribute("overflow-x--laptop");
|
|
985
1007
|
}
|
|
986
1008
|
set overflowXLaptop(e) {
|
|
987
|
-
|
|
1009
|
+
y(this, "overflow-x--laptop", e);
|
|
988
1010
|
}
|
|
989
1011
|
get overflowXDesktop() {
|
|
990
1012
|
return this.getAttribute("overflow-x--desktop");
|
|
991
1013
|
}
|
|
992
1014
|
set overflowXDesktop(e) {
|
|
993
|
-
|
|
1015
|
+
y(this, "overflow-x--desktop", e);
|
|
994
1016
|
}
|
|
995
1017
|
get overflowY() {
|
|
996
1018
|
return this.getAttribute("overflow-y") ?? "visible";
|
|
997
1019
|
}
|
|
998
1020
|
set overflowY(e) {
|
|
999
|
-
|
|
1021
|
+
y(this, "overflow-y", e);
|
|
1000
1022
|
}
|
|
1001
1023
|
get overflowYMobile() {
|
|
1002
1024
|
return this.getAttribute("overflow-y--mobile");
|
|
1003
1025
|
}
|
|
1004
1026
|
set overflowYMobile(e) {
|
|
1005
|
-
|
|
1027
|
+
y(this, "overflow-y--mobile", e);
|
|
1006
1028
|
}
|
|
1007
1029
|
get overflowYTablet() {
|
|
1008
1030
|
return this.getAttribute("overflow-y--tablet");
|
|
1009
1031
|
}
|
|
1010
1032
|
set overflowYTablet(e) {
|
|
1011
|
-
|
|
1033
|
+
y(this, "overflow-y--tablet", e);
|
|
1012
1034
|
}
|
|
1013
1035
|
get overflowYLaptop() {
|
|
1014
1036
|
return this.getAttribute("overflow-y--laptop");
|
|
1015
1037
|
}
|
|
1016
1038
|
set overflowYLaptop(e) {
|
|
1017
|
-
|
|
1039
|
+
y(this, "overflow-y--laptop", e);
|
|
1018
1040
|
}
|
|
1019
1041
|
get overflowYDesktop() {
|
|
1020
1042
|
return this.getAttribute("overflow-y--desktop");
|
|
1021
1043
|
}
|
|
1022
1044
|
set overflowYDesktop(e) {
|
|
1023
|
-
|
|
1045
|
+
y(this, "overflow-y--desktop", e);
|
|
1024
1046
|
}
|
|
1025
1047
|
get maxHeight() {
|
|
1026
1048
|
return this.getAttribute("max-height") ?? "none";
|
|
1027
1049
|
}
|
|
1028
1050
|
set maxHeight(e) {
|
|
1029
|
-
|
|
1051
|
+
y(this, "max-height", e);
|
|
1030
1052
|
}
|
|
1031
1053
|
get maxHeightMobile() {
|
|
1032
1054
|
return this.getAttribute("max-height--mobile");
|
|
1033
1055
|
}
|
|
1034
1056
|
set maxHeightMobile(e) {
|
|
1035
|
-
|
|
1057
|
+
y(this, "max-height--mobile", e);
|
|
1036
1058
|
}
|
|
1037
1059
|
get maxHeightTablet() {
|
|
1038
1060
|
return this.getAttribute("max-height--tablet");
|
|
1039
1061
|
}
|
|
1040
1062
|
set maxHeightTablet(e) {
|
|
1041
|
-
|
|
1063
|
+
y(this, "max-height--tablet", e);
|
|
1042
1064
|
}
|
|
1043
1065
|
get maxHeightLaptop() {
|
|
1044
1066
|
return this.getAttribute("max-height--laptop");
|
|
1045
1067
|
}
|
|
1046
1068
|
set maxHeightLaptop(e) {
|
|
1047
|
-
|
|
1069
|
+
y(this, "max-height--laptop", e);
|
|
1048
1070
|
}
|
|
1049
1071
|
get maxHeightDesktop() {
|
|
1050
1072
|
return this.getAttribute("max-height--desktop");
|
|
1051
1073
|
}
|
|
1052
1074
|
set maxHeightDesktop(e) {
|
|
1053
|
-
|
|
1075
|
+
y(this, "max-height--desktop", e);
|
|
1076
|
+
}
|
|
1077
|
+
get minWidth() {
|
|
1078
|
+
return this.getAttribute("min-width") ?? "auto";
|
|
1079
|
+
}
|
|
1080
|
+
set minWidth(e) {
|
|
1081
|
+
y(this, "min-width", e);
|
|
1082
|
+
}
|
|
1083
|
+
get minWidthMobile() {
|
|
1084
|
+
return this.getAttribute("min-width--mobile");
|
|
1085
|
+
}
|
|
1086
|
+
set minWidthMobile(e) {
|
|
1087
|
+
y(this, "min-width--mobile", e);
|
|
1088
|
+
}
|
|
1089
|
+
get minWidthTablet() {
|
|
1090
|
+
return this.getAttribute("min-width--tablet");
|
|
1091
|
+
}
|
|
1092
|
+
set minWidthTablet(e) {
|
|
1093
|
+
y(this, "min-width--tablet", e);
|
|
1094
|
+
}
|
|
1095
|
+
get minWidthLaptop() {
|
|
1096
|
+
return this.getAttribute("min-width--laptop");
|
|
1097
|
+
}
|
|
1098
|
+
set minWidthLaptop(e) {
|
|
1099
|
+
y(this, "min-width--laptop", e);
|
|
1100
|
+
}
|
|
1101
|
+
get minWidthDesktop() {
|
|
1102
|
+
return this.getAttribute("min-width--desktop");
|
|
1103
|
+
}
|
|
1104
|
+
set minWidthDesktop(e) {
|
|
1105
|
+
y(this, "min-width--desktop", e);
|
|
1106
|
+
}
|
|
1107
|
+
get maxWidth() {
|
|
1108
|
+
return this.getAttribute("max-width") ?? "none";
|
|
1109
|
+
}
|
|
1110
|
+
set maxWidth(e) {
|
|
1111
|
+
y(this, "max-width", e);
|
|
1112
|
+
}
|
|
1113
|
+
get maxWidthMobile() {
|
|
1114
|
+
return this.getAttribute("max-width--mobile");
|
|
1115
|
+
}
|
|
1116
|
+
set maxWidthMobile(e) {
|
|
1117
|
+
y(this, "max-width--mobile", e);
|
|
1118
|
+
}
|
|
1119
|
+
get maxWidthTablet() {
|
|
1120
|
+
return this.getAttribute("max-width--tablet");
|
|
1121
|
+
}
|
|
1122
|
+
set maxWidthTablet(e) {
|
|
1123
|
+
y(this, "max-width--tablet", e);
|
|
1124
|
+
}
|
|
1125
|
+
get maxWidthLaptop() {
|
|
1126
|
+
return this.getAttribute("max-width--laptop");
|
|
1127
|
+
}
|
|
1128
|
+
set maxWidthLaptop(e) {
|
|
1129
|
+
y(this, "max-width--laptop", e);
|
|
1130
|
+
}
|
|
1131
|
+
get maxWidthDesktop() {
|
|
1132
|
+
return this.getAttribute("max-width--desktop");
|
|
1133
|
+
}
|
|
1134
|
+
set maxWidthDesktop(e) {
|
|
1135
|
+
y(this, "max-width--desktop", e);
|
|
1054
1136
|
}
|
|
1055
1137
|
get $el() {
|
|
1056
1138
|
return this.shadowRoot.firstElementChild;
|
|
@@ -1062,7 +1144,7 @@ var R = (e) => e === "direction" || e.startsWith("direction--"), z = class exten
|
|
|
1062
1144
|
return "column";
|
|
1063
1145
|
}
|
|
1064
1146
|
set direction(e) {
|
|
1065
|
-
|
|
1147
|
+
y(this, "direction", e);
|
|
1066
1148
|
}
|
|
1067
1149
|
attributeChangedCallback(e, t, n) {
|
|
1068
1150
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -1074,7 +1156,7 @@ var B = class extends L {
|
|
|
1074
1156
|
return "row";
|
|
1075
1157
|
}
|
|
1076
1158
|
set direction(e) {
|
|
1077
|
-
|
|
1159
|
+
y(this, "direction", e);
|
|
1078
1160
|
}
|
|
1079
1161
|
attributeChangedCallback(e, t, n) {
|
|
1080
1162
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -1229,7 +1311,7 @@ var W = class extends n {
|
|
|
1229
1311
|
</px-container>
|
|
1230
1312
|
</px-vstack>
|
|
1231
1313
|
</px-container>
|
|
1232
|
-
`,
|
|
1314
|
+
`, b(this.shadowRoot, this.template());
|
|
1233
1315
|
}
|
|
1234
1316
|
static get observedAttributes() {
|
|
1235
1317
|
return [
|
|
@@ -1320,16 +1402,16 @@ customElements.get("px-page") === void 0 && customElements.define("px-page", W);
|
|
|
1320
1402
|
//#endregion
|
|
1321
1403
|
//#region ../Section/src/Section.ts
|
|
1322
1404
|
var G = new CSSStyleSheet();
|
|
1323
|
-
G.replaceSync(
|
|
1405
|
+
G.replaceSync(S);
|
|
1324
1406
|
var K = class e extends n {
|
|
1325
1407
|
static {
|
|
1326
|
-
this.template =
|
|
1408
|
+
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>");
|
|
1327
1409
|
}
|
|
1328
1410
|
constructor() {
|
|
1329
|
-
super(G),
|
|
1411
|
+
super(G), b(this.shadowRoot, e.template);
|
|
1330
1412
|
}
|
|
1331
1413
|
connectedCallback() {
|
|
1332
|
-
|
|
1414
|
+
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);
|
|
1333
1415
|
}
|
|
1334
1416
|
static get observedAttributes() {
|
|
1335
1417
|
return [
|
|
@@ -1479,151 +1561,151 @@ var K = class e extends n {
|
|
|
1479
1561
|
return this.getAttribute("background-color") || "none";
|
|
1480
1562
|
}
|
|
1481
1563
|
set backgroundColor(e) {
|
|
1482
|
-
|
|
1564
|
+
y(this, "background-color", e);
|
|
1483
1565
|
}
|
|
1484
1566
|
get gradient() {
|
|
1485
1567
|
return this.getAttribute("background-gradient");
|
|
1486
1568
|
}
|
|
1487
1569
|
set gradient(e) {
|
|
1488
|
-
|
|
1570
|
+
y(this, "background-gradient", e);
|
|
1489
1571
|
}
|
|
1490
1572
|
get backgroundImage() {
|
|
1491
1573
|
return this.getAttribute("background-image");
|
|
1492
1574
|
}
|
|
1493
1575
|
set backgroundImage(e) {
|
|
1494
|
-
|
|
1576
|
+
y(this, "background-image", e);
|
|
1495
1577
|
}
|
|
1496
1578
|
get backgroundImageMobile() {
|
|
1497
1579
|
return this.getAttribute("background-image--mobile");
|
|
1498
1580
|
}
|
|
1499
1581
|
set backgroundImageMobile(e) {
|
|
1500
|
-
|
|
1582
|
+
y(this, "background-image--mobile", e);
|
|
1501
1583
|
}
|
|
1502
1584
|
get backgroundImageTablet() {
|
|
1503
1585
|
return this.getAttribute("background-image--tablet");
|
|
1504
1586
|
}
|
|
1505
1587
|
set backgroundImageTablet(e) {
|
|
1506
|
-
|
|
1588
|
+
y(this, "background-image--tablet", e);
|
|
1507
1589
|
}
|
|
1508
1590
|
get backgroundImageLaptop() {
|
|
1509
1591
|
return this.getAttribute("background-image--laptop");
|
|
1510
1592
|
}
|
|
1511
1593
|
set backgroundImageLaptop(e) {
|
|
1512
|
-
|
|
1594
|
+
y(this, "background-image--laptop", e);
|
|
1513
1595
|
}
|
|
1514
1596
|
get backgroundSize() {
|
|
1515
1597
|
return this.getAttribute("background-size");
|
|
1516
1598
|
}
|
|
1517
1599
|
set backgroundSize(e) {
|
|
1518
|
-
|
|
1600
|
+
y(this, "background-size", e);
|
|
1519
1601
|
}
|
|
1520
1602
|
get backgroundPosition() {
|
|
1521
1603
|
return this.getAttribute("background-position");
|
|
1522
1604
|
}
|
|
1523
1605
|
set backgroundPosition(e) {
|
|
1524
|
-
|
|
1606
|
+
y(this, "background-position", e);
|
|
1525
1607
|
}
|
|
1526
1608
|
get paddingBlock() {
|
|
1527
1609
|
return this.getAttribute("padding-block");
|
|
1528
1610
|
}
|
|
1529
1611
|
set paddingBlock(e) {
|
|
1530
|
-
|
|
1612
|
+
y(this, "padding-block", e);
|
|
1531
1613
|
}
|
|
1532
1614
|
get paddingTop() {
|
|
1533
1615
|
return this.getAttribute("padding-top");
|
|
1534
1616
|
}
|
|
1535
1617
|
set paddingTop(e) {
|
|
1536
|
-
|
|
1618
|
+
y(this, "padding-top", e);
|
|
1537
1619
|
}
|
|
1538
1620
|
get paddingBottom() {
|
|
1539
1621
|
return this.getAttribute("padding-bottom");
|
|
1540
1622
|
}
|
|
1541
1623
|
set paddingBottom(e) {
|
|
1542
|
-
|
|
1624
|
+
y(this, "padding-bottom", e);
|
|
1543
1625
|
}
|
|
1544
1626
|
get paddingBlockMobile() {
|
|
1545
1627
|
return this.getAttribute("padding-block--mobile");
|
|
1546
1628
|
}
|
|
1547
1629
|
set paddingBlockMobile(e) {
|
|
1548
|
-
|
|
1630
|
+
y(this, "padding-block--mobile", e);
|
|
1549
1631
|
}
|
|
1550
1632
|
get paddingTopMobile() {
|
|
1551
1633
|
return this.getAttribute("padding-top--mobile");
|
|
1552
1634
|
}
|
|
1553
1635
|
set paddingTopMobile(e) {
|
|
1554
|
-
|
|
1636
|
+
y(this, "padding-top--mobile", e);
|
|
1555
1637
|
}
|
|
1556
1638
|
get paddingBottomMobile() {
|
|
1557
1639
|
return this.getAttribute("padding-bottom--mobile");
|
|
1558
1640
|
}
|
|
1559
1641
|
set paddingBottomMobile(e) {
|
|
1560
|
-
|
|
1642
|
+
y(this, "padding-bottom--mobile", e);
|
|
1561
1643
|
}
|
|
1562
1644
|
get paddingBlockTablet() {
|
|
1563
1645
|
return this.getAttribute("padding-block--tablet");
|
|
1564
1646
|
}
|
|
1565
1647
|
set paddingBlockTablet(e) {
|
|
1566
|
-
|
|
1648
|
+
y(this, "padding-block--tablet", e);
|
|
1567
1649
|
}
|
|
1568
1650
|
get paddingTopTablet() {
|
|
1569
1651
|
return this.getAttribute("padding-top--tablet");
|
|
1570
1652
|
}
|
|
1571
1653
|
set paddingTopTablet(e) {
|
|
1572
|
-
|
|
1654
|
+
y(this, "padding-top--tablet", e);
|
|
1573
1655
|
}
|
|
1574
1656
|
get paddingBottomTablet() {
|
|
1575
1657
|
return this.getAttribute("padding-bottom--tablet");
|
|
1576
1658
|
}
|
|
1577
1659
|
set paddingBottomTablet(e) {
|
|
1578
|
-
|
|
1660
|
+
y(this, "padding-bottom--tablet", e);
|
|
1579
1661
|
}
|
|
1580
1662
|
get paddingBlockLaptop() {
|
|
1581
1663
|
return this.getAttribute("padding-block--laptop");
|
|
1582
1664
|
}
|
|
1583
1665
|
set paddingBlockLaptop(e) {
|
|
1584
|
-
|
|
1666
|
+
y(this, "padding-block--laptop", e);
|
|
1585
1667
|
}
|
|
1586
1668
|
get paddingTopLaptop() {
|
|
1587
1669
|
return this.getAttribute("padding-top--laptop");
|
|
1588
1670
|
}
|
|
1589
1671
|
set paddingTopLaptop(e) {
|
|
1590
|
-
|
|
1672
|
+
y(this, "padding-top--laptop", e);
|
|
1591
1673
|
}
|
|
1592
1674
|
get paddingBottomLaptop() {
|
|
1593
1675
|
return this.getAttribute("padding-bottom--laptop");
|
|
1594
1676
|
}
|
|
1595
1677
|
set paddingBottomLaptop(e) {
|
|
1596
|
-
|
|
1678
|
+
y(this, "padding-bottom--laptop", e);
|
|
1597
1679
|
}
|
|
1598
1680
|
get border() {
|
|
1599
1681
|
return this.getAttribute("border");
|
|
1600
1682
|
}
|
|
1601
1683
|
set border(e) {
|
|
1602
|
-
|
|
1684
|
+
y(this, "border", e);
|
|
1603
1685
|
}
|
|
1604
1686
|
get borderSide() {
|
|
1605
1687
|
return this.getAttribute("border-side");
|
|
1606
1688
|
}
|
|
1607
1689
|
set borderSide(e) {
|
|
1608
|
-
|
|
1690
|
+
y(this, "border-side", e);
|
|
1609
1691
|
}
|
|
1610
1692
|
get borderSideMobile() {
|
|
1611
1693
|
return this.getAttribute("border-side--mobile");
|
|
1612
1694
|
}
|
|
1613
1695
|
set borderSideMobile(e) {
|
|
1614
|
-
|
|
1696
|
+
y(this, "border-side--mobile", e);
|
|
1615
1697
|
}
|
|
1616
1698
|
get borderSideTablet() {
|
|
1617
1699
|
return this.getAttribute("border-side--tablet");
|
|
1618
1700
|
}
|
|
1619
1701
|
set borderSideTablet(e) {
|
|
1620
|
-
|
|
1702
|
+
y(this, "border-side--tablet", e);
|
|
1621
1703
|
}
|
|
1622
1704
|
get borderSideLaptop() {
|
|
1623
1705
|
return this.getAttribute("border-side--laptop");
|
|
1624
1706
|
}
|
|
1625
1707
|
set borderSideLaptop(e) {
|
|
1626
|
-
|
|
1708
|
+
y(this, "border-side--laptop", e);
|
|
1627
1709
|
}
|
|
1628
1710
|
};
|
|
1629
1711
|
customElements.get("px-section") || customElements.define("px-section", K);
|
|
@@ -1659,9 +1741,9 @@ var Y = [
|
|
|
1659
1741
|
"end",
|
|
1660
1742
|
"center",
|
|
1661
1743
|
"stretch"
|
|
1662
|
-
], ne =
|
|
1744
|
+
], ne = p("gap", (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .grid`, m, "px-spacing", "--grid-gap"), re = class e extends t {
|
|
1663
1745
|
static {
|
|
1664
|
-
this.template =
|
|
1746
|
+
this.template = f("<div class=\"grid\"><slot></slot></div>");
|
|
1665
1747
|
}
|
|
1666
1748
|
static {
|
|
1667
1749
|
this.nativeName = "div";
|
|
@@ -1670,7 +1752,7 @@ var Y = [
|
|
|
1670
1752
|
this.nativeAttributes = {};
|
|
1671
1753
|
}
|
|
1672
1754
|
constructor() {
|
|
1673
|
-
super(J, ne),
|
|
1755
|
+
super(J, ne), b(this.shadowRoot, e.template);
|
|
1674
1756
|
}
|
|
1675
1757
|
static get observedAttributes() {
|
|
1676
1758
|
return [
|
|
@@ -1741,7 +1823,7 @@ var Y = [
|
|
|
1741
1823
|
}
|
|
1742
1824
|
updateGap(e, t, n) {
|
|
1743
1825
|
if (!this.checkName(n, t)) {
|
|
1744
|
-
|
|
1826
|
+
g(`"${t}" is not a valid gap value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
1745
1827
|
return;
|
|
1746
1828
|
}
|
|
1747
1829
|
let r = (e) => {
|
|
@@ -1750,7 +1832,7 @@ var Y = [
|
|
|
1750
1832
|
r(e), r(t);
|
|
1751
1833
|
}
|
|
1752
1834
|
updateAttribute(e, t, n, r) {
|
|
1753
|
-
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}`)) :
|
|
1835
|
+
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("\", \"")}".`);
|
|
1754
1836
|
}
|
|
1755
1837
|
get gap() {
|
|
1756
1838
|
return this.getAttribute("gap");
|
|
@@ -1925,10 +2007,10 @@ customElements.get("px-grid") || customElements.define("px-grid", re);
|
|
|
1925
2007
|
//#endregion
|
|
1926
2008
|
//#region src/ContentHeader.ts
|
|
1927
2009
|
var Q = new CSSStyleSheet();
|
|
1928
|
-
Q.replaceSync(
|
|
2010
|
+
Q.replaceSync(x);
|
|
1929
2011
|
var $ = class e extends t {
|
|
1930
2012
|
static {
|
|
1931
|
-
this.template =
|
|
2013
|
+
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>");
|
|
1932
2014
|
}
|
|
1933
2015
|
static {
|
|
1934
2016
|
this.nativeName = "div";
|
|
@@ -1937,7 +2019,7 @@ var $ = class e extends t {
|
|
|
1937
2019
|
this.nativeAttributes = {};
|
|
1938
2020
|
}
|
|
1939
2021
|
constructor() {
|
|
1940
|
-
super(Q),
|
|
2022
|
+
super(Q), b(this.shadowRoot, e.template);
|
|
1941
2023
|
}
|
|
1942
2024
|
static get observedAttributes() {
|
|
1943
2025
|
return [
|
|
@@ -1975,7 +2057,7 @@ var $ = class e extends t {
|
|
|
1975
2057
|
this.$section.backgroundColor = r.indexOf(n) > 0 ? n : "none";
|
|
1976
2058
|
break;
|
|
1977
2059
|
case "background-gradient":
|
|
1978
|
-
this.$section.gradient = n === null ? null :
|
|
2060
|
+
this.$section.gradient = n === null ? null : h.indexOf(n) > 0 ? n : "none";
|
|
1979
2061
|
break;
|
|
1980
2062
|
case "background-image":
|
|
1981
2063
|
this.$section.backgroundImage = n;
|