@proximus/lavender-content-header 1.4.19-beta.2 → 1.4.20-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ContentHeader.d.ts +3 -0
- package/dist/custom-elements.json +13 -0
- package/dist/index.es.js +398 -190
- package/dist/web-types.json +3 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as
|
|
1
|
+
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as l, boxShadowValues as 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
|
-
|
|
4
|
-
var y = ":host{--min-height--mobile:15.625rem;--min-height--tablet:17.5rem;--min-height--laptop:17.5rem;--min-height--desktop:17.5rem}:host,:host>*{box-sizing:border-box;display:block}.content-header{z-index:0;position:relative}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2) )}.content-header-content{z-index:2;box-sizing:border-box;flex-direction:column;display:flex;position:relative}.content-header-content ::slotted([slot=patch]){margin-top:var(--px-spacing-l-mobile)}.contrast-helper{z-index:1;pointer-events:none;display:none;position:absolute;inset:0}[contrast-helper-gradient] .contrast-helper{background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%);display:block}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{background-color:#ffffffb3;display:block}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media screen and (width>=48rem){.content-header-content ::slotted([slot=patch]){flex-shrink:0}.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-tablet)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media screen and (width>=64.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}@media screen and (width>=90.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--desktop) - (var(--px-spacing-l-desktop) * 2))}}", b = ":host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media screen and (width>=77rem){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-mobile)}@media screen and (width>=48rem){.overlapped{margin-bottom:calc(var(--px-overlapped-tablet) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-tablet)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-laptop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-laptop)}}", x = ":host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-left-style:none;border-right-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-position:50%;background-size:cover}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]),::slotted([slot=anchor-full]){position:absolute;top:0}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]){z-index:3;transform:translateY(-50%)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--mobile,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--mobile,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-full]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (width<=47.938rem){.container{background-color:var(--background-color--mobile,var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile,var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var(--background-gradient--mobile,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--mobile,var(--background-color-inverted))}.border-side-top--mobile{border-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (width>=48rem) and (width<=64rem){.container{background-color:var(--background-color--tablet,var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet,var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var(--background-gradient--tablet,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--tablet,var(--background-color-inverted))}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--tablet,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--tablet,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (width>=64.0625rem){.container{background-color:var(--background-color--laptop,var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop,var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var(--background-gradient--laptop,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--laptop,var(--background-color-inverted))}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--laptop,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--laptop,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (width>=90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}", S = new CSSStyleSheet();
|
|
5
|
-
|
|
6
|
-
var
|
|
3
|
+
//#region src/contentheader.css?inline
|
|
4
|
+
var x = ":host{--min-height--mobile:15.625rem;--min-height--tablet:17.5rem;--min-height--laptop:17.5rem;--min-height--desktop:17.5rem}:host,:host>*{box-sizing:border-box;display:block}.content-header{z-index:0;position:relative}[min-height] .content-header-content{min-height:calc(var(--min-height--mobile) - (var(--px-spacing-l-mobile) * 2) )}.content-header-content{z-index:2;box-sizing:border-box;flex-direction:column;display:flex;position:relative}.content-header-content ::slotted([slot=patch]){margin-top:var(--px-spacing-l-mobile)}.contrast-helper{z-index:1;pointer-events:none;display:none;position:absolute;inset:0}[contrast-helper-gradient] .contrast-helper{background-image:linear-gradient(90deg,#fff 23.43%,#fff0 81.69%);display:block}[inverted] :is([contrast-helper-gradient] .contrast-helper){background-image:linear-gradient(90deg,#000 23.43%,#0000 81.69%)}[contrast-helper-overlay] .contrast-helper{background-color:#ffffffb3;display:block}[inverted] :is([contrast-helper-overlay] .contrast-helper){background-color:#0006}@media screen and (width>=48rem){.content-header-content ::slotted([slot=patch]){flex-shrink:0}.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-tablet)}[min-height] .content-header-content{min-height:calc(var(--min-height--tablet) - (var(--px-spacing-l-tablet) * 2))}}@media screen and (width>=64.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-laptop)}[min-height] .content-header-content{min-height:calc(var(--min-height--laptop) - (var(--px-spacing-l-laptop) * 2))}}@media screen and (width>=90.0625rem){.content-header-content ::slotted([slot=patch]),.content-header-content ::slotted([slot=patch-description]){margin-top:var(--px-spacing-l-desktop)}[min-height] .content-header-content{min-height:calc(var(--min-height--desktop) - (var(--px-spacing-l-desktop) * 2))}}", S = ":host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media screen and (width>=77rem){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-mobile)}@media screen and (width>=48rem){.overlapped{margin-bottom:calc(var(--px-overlapped-tablet) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-tablet)}}@media screen and (width>=64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-laptop) * -1)}::slotted([slot=overlap]){margin-top:var(--px-overlapped-laptop)}}", C = ":host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-left-style:none;border-right-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-position:50%;background-size:cover}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]),::slotted([slot=anchor-full]){position:absolute;top:0}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]){z-index:3;transform:translateY(-50%)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--mobile,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--mobile,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-full]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (width<=47.938rem){.container{background-color:var(--background-color--mobile,var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile,var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var(--background-gradient--mobile,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--mobile,var(--background-color-inverted))}.border-side-top--mobile{border-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (width>=48rem) and (width<=64rem){.container{background-color:var(--background-color--tablet,var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet,var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var(--background-gradient--tablet,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--tablet,var(--background-color-inverted))}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--tablet,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--tablet,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (width>=64.0625rem){.container{background-color:var(--background-color--laptop,var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop,var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var(--background-gradient--laptop,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--laptop,var(--background-color-inverted))}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--laptop,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--laptop,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (width>=90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}", w = new CSSStyleSheet();
|
|
5
|
+
w.replaceSync(C);
|
|
6
|
+
var T = [
|
|
7
7
|
"top-patch",
|
|
8
8
|
"top-neighbor-patch",
|
|
9
9
|
"top-ribbon",
|
|
10
10
|
"top-neighbor-ribbon",
|
|
11
11
|
"top-patch-and-neighbor-ribbon"
|
|
12
|
-
],
|
|
12
|
+
], E = [
|
|
13
13
|
"1",
|
|
14
14
|
"2",
|
|
15
15
|
"3",
|
|
@@ -22,24 +22,24 @@ var C = [
|
|
|
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 [
|
|
@@ -95,7 +95,7 @@ var C = [
|
|
|
95
95
|
attributeChangedCallback(e, t, n) {
|
|
96
96
|
if (t !== n) switch (e) {
|
|
97
97
|
case "border":
|
|
98
|
-
this.updateAttribute(e, t, n,
|
|
98
|
+
this.updateAttribute(e, t, n, l);
|
|
99
99
|
break;
|
|
100
100
|
case "border-color":
|
|
101
101
|
this.updateBorderColor(e, n);
|
|
@@ -113,7 +113,7 @@ var C = [
|
|
|
113
113
|
case "no-border-radius--mobile":
|
|
114
114
|
case "no-border-radius--tablet":
|
|
115
115
|
case "no-border-radius--laptop":
|
|
116
|
-
this.updateNoBorderRadius(e, t, n,
|
|
116
|
+
this.updateNoBorderRadius(e, t, n, _);
|
|
117
117
|
break;
|
|
118
118
|
case "background-color":
|
|
119
119
|
case "background-color--mobile":
|
|
@@ -140,16 +140,16 @@ var C = [
|
|
|
140
140
|
n !== null && n !== "" && (this.$el.style.backgroundPosition = n);
|
|
141
141
|
break;
|
|
142
142
|
case "box-shadow":
|
|
143
|
-
this.updateAttribute(e, t, n,
|
|
143
|
+
this.updateAttribute(e, t, n, 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
|
}
|
|
@@ -169,32 +169,32 @@ var C = [
|
|
|
169
169
|
this.$el.style.setProperty(`--${e}`, `url("${t}")`);
|
|
170
170
|
}
|
|
171
171
|
updateGradient(e, t) {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
172
|
+
let { attrName: n, breakpoint: r } = this.splitAttrNameFromBreakpoint(e), i = `--${n}${r}`;
|
|
173
|
+
if (t === null) {
|
|
174
|
+
this.$el.style.removeProperty(i);
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
this.checkName(h, t) ? this.$el.style.setProperty(i, `linear-gradient(var(--px-color-background-gradient-${t}))`) : g(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${h.join("\", \"")}".`);
|
|
178
178
|
}
|
|
179
179
|
updateBackgroundColor(e, t) {
|
|
180
180
|
let n = t.startsWith("surface-");
|
|
181
181
|
if (this.checkName(r, t)) {
|
|
182
182
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
183
183
|
this.$el.style.setProperty(`--${r.attrName}${i}`, `var(--px-color-background-${t}${n ? "" : "-default"})`), this.$el.style.setProperty(`--${r.attrName}-inverted${i}`, `var(--px-color-background-${t}${n ? "" : "-inverted"})`);
|
|
184
|
-
} else
|
|
184
|
+
} else g(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
185
185
|
}
|
|
186
186
|
updateBorderColor(e, t) {
|
|
187
|
-
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) :
|
|
187
|
+
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) : g(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join("\", \"")}".`);
|
|
188
188
|
}
|
|
189
189
|
updateNoBorderRadius(e, t, n, r) {
|
|
190
|
-
if (!this.checkName(r, n))
|
|
190
|
+
if (!this.checkName(r, n)) g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
191
191
|
else {
|
|
192
192
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
193
193
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
updateAttribute(e, t, n, r) {
|
|
197
|
-
if (!this.checkName(r, n))
|
|
197
|
+
if (!this.checkName(r, n)) g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
198
198
|
else {
|
|
199
199
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
200
200
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
@@ -216,8 +216,8 @@ var C = [
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
updateAnchorOffset(e, t, n) {
|
|
219
|
-
if (!
|
|
220
|
-
|
|
219
|
+
if (!d(n, t)) {
|
|
220
|
+
g(`"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
223
|
let r = (e) => {
|
|
@@ -229,8 +229,8 @@ var C = [
|
|
|
229
229
|
this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
|
|
230
230
|
}
|
|
231
231
|
updateAnchorSpacing(e, t, n) {
|
|
232
|
-
if (!
|
|
233
|
-
|
|
232
|
+
if (!d(n, t)) {
|
|
233
|
+
g(`"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
234
234
|
return;
|
|
235
235
|
}
|
|
236
236
|
let r = (e) => {
|
|
@@ -239,7 +239,7 @@ var C = [
|
|
|
239
239
|
r(e), r(t);
|
|
240
240
|
}
|
|
241
241
|
updateSubgridRows(e, t, n, r) {
|
|
242
|
-
|
|
242
|
+
d(r, n) ? this.style.setProperty(`--${e}`, n) : g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
243
243
|
}
|
|
244
244
|
get $el() {
|
|
245
245
|
return this?.shadowRoot?.querySelector(".container");
|
|
@@ -251,337 +251,337 @@ var C = [
|
|
|
251
251
|
return this.getAttribute("padding");
|
|
252
252
|
}
|
|
253
253
|
set padding(e) {
|
|
254
|
-
|
|
254
|
+
y(this, "padding", e);
|
|
255
255
|
}
|
|
256
256
|
get paddingBlock() {
|
|
257
257
|
return this.getAttribute("padding-block");
|
|
258
258
|
}
|
|
259
259
|
set paddingBlock(e) {
|
|
260
|
-
|
|
260
|
+
y(this, "padding-block", e);
|
|
261
261
|
}
|
|
262
262
|
get paddingInline() {
|
|
263
263
|
return this.getAttribute("padding-inline");
|
|
264
264
|
}
|
|
265
265
|
set paddingInline(e) {
|
|
266
|
-
|
|
266
|
+
y(this, "padding-inline", e);
|
|
267
267
|
}
|
|
268
268
|
get paddingTop() {
|
|
269
269
|
return this.getAttribute("padding-top");
|
|
270
270
|
}
|
|
271
271
|
set paddingTop(e) {
|
|
272
|
-
|
|
272
|
+
y(this, "padding-top", e);
|
|
273
273
|
}
|
|
274
274
|
get paddingRight() {
|
|
275
275
|
return this.getAttribute("padding-right");
|
|
276
276
|
}
|
|
277
277
|
set paddingRight(e) {
|
|
278
|
-
|
|
278
|
+
y(this, "padding-right", e);
|
|
279
279
|
}
|
|
280
280
|
get paddingBottom() {
|
|
281
281
|
return this.getAttribute("padding-bottom");
|
|
282
282
|
}
|
|
283
283
|
set paddingBottom(e) {
|
|
284
|
-
|
|
284
|
+
y(this, "padding-bottom", e);
|
|
285
285
|
}
|
|
286
286
|
get paddingLeft() {
|
|
287
287
|
return this.getAttribute("padding-left");
|
|
288
288
|
}
|
|
289
289
|
set paddingLeft(e) {
|
|
290
|
-
|
|
290
|
+
y(this, "padding-left", e);
|
|
291
291
|
}
|
|
292
292
|
get paddingMobile() {
|
|
293
293
|
return this.getAttribute("padding--mobile");
|
|
294
294
|
}
|
|
295
295
|
set paddingMobile(e) {
|
|
296
|
-
|
|
296
|
+
y(this, "padding--mobile", e);
|
|
297
297
|
}
|
|
298
298
|
get paddingBlockMobile() {
|
|
299
299
|
return this.getAttribute("padding-block--mobile");
|
|
300
300
|
}
|
|
301
301
|
set paddingBlockMobile(e) {
|
|
302
|
-
|
|
302
|
+
y(this, "padding-block--mobile", e);
|
|
303
303
|
}
|
|
304
304
|
get paddingInlineMobile() {
|
|
305
305
|
return this.getAttribute("padding-inline--mobile");
|
|
306
306
|
}
|
|
307
307
|
set paddingInlineMobile(e) {
|
|
308
|
-
|
|
308
|
+
y(this, "padding-inline--mobile", e);
|
|
309
309
|
}
|
|
310
310
|
get paddingTopMobile() {
|
|
311
311
|
return this.getAttribute("padding-top--mobile");
|
|
312
312
|
}
|
|
313
313
|
set paddingTopMobile(e) {
|
|
314
|
-
|
|
314
|
+
y(this, "padding-top--mobile", e);
|
|
315
315
|
}
|
|
316
316
|
get paddingRightMobile() {
|
|
317
317
|
return this.getAttribute("padding-right--mobile");
|
|
318
318
|
}
|
|
319
319
|
set paddingRightMobile(e) {
|
|
320
|
-
|
|
320
|
+
y(this, "padding-right--mobile", e);
|
|
321
321
|
}
|
|
322
322
|
get paddingBottomMobile() {
|
|
323
323
|
return this.getAttribute("padding-bottom--mobile");
|
|
324
324
|
}
|
|
325
325
|
set paddingBottomMobile(e) {
|
|
326
|
-
|
|
326
|
+
y(this, "padding-bottom--mobile", e);
|
|
327
327
|
}
|
|
328
328
|
get paddingLeftMobile() {
|
|
329
329
|
return this.getAttribute("padding-left--mobile");
|
|
330
330
|
}
|
|
331
331
|
set paddingLeftMobile(e) {
|
|
332
|
-
|
|
332
|
+
y(this, "padding-left--mobile", e);
|
|
333
333
|
}
|
|
334
334
|
get paddingTablet() {
|
|
335
335
|
return this.getAttribute("padding--tablet");
|
|
336
336
|
}
|
|
337
337
|
set paddingTablet(e) {
|
|
338
|
-
|
|
338
|
+
y(this, "padding--tablet", e);
|
|
339
339
|
}
|
|
340
340
|
get paddingBlockTablet() {
|
|
341
341
|
return this.getAttribute("padding-block--tablet");
|
|
342
342
|
}
|
|
343
343
|
set paddingBlockTablet(e) {
|
|
344
|
-
|
|
344
|
+
y(this, "padding-block--tablet", e);
|
|
345
345
|
}
|
|
346
346
|
get paddingInlineTablet() {
|
|
347
347
|
return this.getAttribute("padding-inline--tablet");
|
|
348
348
|
}
|
|
349
349
|
set paddingInlineTablet(e) {
|
|
350
|
-
|
|
350
|
+
y(this, "padding-inline--tablet", e);
|
|
351
351
|
}
|
|
352
352
|
get paddingTopTablet() {
|
|
353
353
|
return this.getAttribute("padding-top--tablet");
|
|
354
354
|
}
|
|
355
355
|
set paddingTopTablet(e) {
|
|
356
|
-
|
|
356
|
+
y(this, "padding-top--tablet", e);
|
|
357
357
|
}
|
|
358
358
|
get paddingRightTablet() {
|
|
359
359
|
return this.getAttribute("padding-right--tablet");
|
|
360
360
|
}
|
|
361
361
|
set paddingRightTablet(e) {
|
|
362
|
-
|
|
362
|
+
y(this, "padding-right--tablet", e);
|
|
363
363
|
}
|
|
364
364
|
get paddingBottomTablet() {
|
|
365
365
|
return this.getAttribute("padding-bottom--tablet");
|
|
366
366
|
}
|
|
367
367
|
set paddingBottomTablet(e) {
|
|
368
|
-
|
|
368
|
+
y(this, "padding-bottom--tablet", e);
|
|
369
369
|
}
|
|
370
370
|
get paddingLeftTablet() {
|
|
371
371
|
return this.getAttribute("padding-left--tablet");
|
|
372
372
|
}
|
|
373
373
|
set paddingLeftTablet(e) {
|
|
374
|
-
|
|
374
|
+
y(this, "padding-left--tablet", e);
|
|
375
375
|
}
|
|
376
376
|
get paddingLaptop() {
|
|
377
377
|
return this.getAttribute("padding--laptop");
|
|
378
378
|
}
|
|
379
379
|
set paddingLaptop(e) {
|
|
380
|
-
|
|
380
|
+
y(this, "padding--laptop", e);
|
|
381
381
|
}
|
|
382
382
|
get paddingBlockLaptop() {
|
|
383
383
|
return this.getAttribute("padding-block--laptop");
|
|
384
384
|
}
|
|
385
385
|
set paddingBlockLaptop(e) {
|
|
386
|
-
|
|
386
|
+
y(this, "padding-block--laptop", e);
|
|
387
387
|
}
|
|
388
388
|
get paddingInlineLaptop() {
|
|
389
389
|
return this.getAttribute("padding-inline--laptop");
|
|
390
390
|
}
|
|
391
391
|
set paddingInlineLaptop(e) {
|
|
392
|
-
|
|
392
|
+
y(this, "padding-inline--laptop", e);
|
|
393
393
|
}
|
|
394
394
|
get paddingTopLaptop() {
|
|
395
395
|
return this.getAttribute("padding-top--laptop");
|
|
396
396
|
}
|
|
397
397
|
set paddingTopLaptop(e) {
|
|
398
|
-
|
|
398
|
+
y(this, "padding-top--laptop", e);
|
|
399
399
|
}
|
|
400
400
|
get paddingRightLaptop() {
|
|
401
401
|
return this.getAttribute("padding-right--laptop");
|
|
402
402
|
}
|
|
403
403
|
set paddingRightLaptop(e) {
|
|
404
|
-
|
|
404
|
+
y(this, "padding-right--laptop", e);
|
|
405
405
|
}
|
|
406
406
|
get paddingBottomLaptop() {
|
|
407
407
|
return this.getAttribute("padding-bottom--laptop");
|
|
408
408
|
}
|
|
409
409
|
set paddingBottomLaptop(e) {
|
|
410
|
-
|
|
410
|
+
y(this, "padding-bottom--laptop", e);
|
|
411
411
|
}
|
|
412
412
|
get paddingLeftLaptop() {
|
|
413
413
|
return this.getAttribute("padding-left--laptop");
|
|
414
414
|
}
|
|
415
415
|
set paddingLeftLaptop(e) {
|
|
416
|
-
|
|
416
|
+
y(this, "padding-left--laptop", e);
|
|
417
417
|
}
|
|
418
418
|
get border() {
|
|
419
419
|
return this.getAttribute("border");
|
|
420
420
|
}
|
|
421
421
|
set border(e) {
|
|
422
|
-
|
|
422
|
+
y(this, "border", e);
|
|
423
423
|
}
|
|
424
424
|
get borderColor() {
|
|
425
425
|
return this.getAttribute("border-color");
|
|
426
426
|
}
|
|
427
427
|
set borderColor(e) {
|
|
428
|
-
|
|
428
|
+
y(this, "border-color", e);
|
|
429
429
|
}
|
|
430
430
|
get borderSide() {
|
|
431
431
|
return this.getAttribute("border-side");
|
|
432
432
|
}
|
|
433
433
|
set borderSide(e) {
|
|
434
|
-
|
|
434
|
+
y(this, "border-side", e);
|
|
435
435
|
}
|
|
436
436
|
get borderSideMobile() {
|
|
437
437
|
return this.getAttribute("border-side--mobile");
|
|
438
438
|
}
|
|
439
439
|
set borderSideMobile(e) {
|
|
440
|
-
|
|
440
|
+
y(this, "border-side--mobile", e);
|
|
441
441
|
}
|
|
442
442
|
get borderSideTablet() {
|
|
443
443
|
return this.getAttribute("border-side--tablet");
|
|
444
444
|
}
|
|
445
445
|
set borderSideTablet(e) {
|
|
446
|
-
|
|
446
|
+
y(this, "border-side--tablet", e);
|
|
447
447
|
}
|
|
448
448
|
get borderSideLaptop() {
|
|
449
449
|
return this.getAttribute("border-side--laptop");
|
|
450
450
|
}
|
|
451
451
|
set borderSideLaptop(e) {
|
|
452
|
-
|
|
452
|
+
y(this, "border-side--laptop", e);
|
|
453
453
|
}
|
|
454
454
|
get borderRadius() {
|
|
455
455
|
return this.getAttribute("border-radius");
|
|
456
456
|
}
|
|
457
457
|
set borderRadius(e) {
|
|
458
|
-
|
|
458
|
+
y(this, "border-radius", e);
|
|
459
459
|
}
|
|
460
460
|
get noBorderRadius() {
|
|
461
461
|
return this.getAttribute("no-border-radius");
|
|
462
462
|
}
|
|
463
463
|
set noBorderRadius(e) {
|
|
464
|
-
|
|
464
|
+
y(this, "no-border-radius", e);
|
|
465
465
|
}
|
|
466
466
|
get noBorderRadiusMobile() {
|
|
467
467
|
return this.getAttribute("no-border-radius--mobile");
|
|
468
468
|
}
|
|
469
469
|
set noBorderRadiusMobile(e) {
|
|
470
|
-
|
|
470
|
+
y(this, "no-border-radius--mobile", e);
|
|
471
471
|
}
|
|
472
472
|
get noBorderRadiusTablet() {
|
|
473
473
|
return this.getAttribute("no-border-radius--tablet");
|
|
474
474
|
}
|
|
475
475
|
set noBorderRadiusTablet(e) {
|
|
476
|
-
|
|
476
|
+
y(this, "no-border-radius--tablet", e);
|
|
477
477
|
}
|
|
478
478
|
get noBorderRadiusLaptop() {
|
|
479
479
|
return this.getAttribute("no-border-radius--laptop");
|
|
480
480
|
}
|
|
481
481
|
set noBorderRadiusLaptop(e) {
|
|
482
|
-
|
|
482
|
+
y(this, "no-border-radius--laptop", e);
|
|
483
483
|
}
|
|
484
484
|
get backgroundColor() {
|
|
485
485
|
return this.getAttribute("background-color");
|
|
486
486
|
}
|
|
487
487
|
set backgroundColor(e) {
|
|
488
|
-
|
|
488
|
+
y(this, "background-color", e);
|
|
489
489
|
}
|
|
490
490
|
get backgroundColorMobile() {
|
|
491
491
|
return this.getAttribute("background-color--mobile");
|
|
492
492
|
}
|
|
493
493
|
set backgroundColorMobile(e) {
|
|
494
|
-
|
|
494
|
+
y(this, "background-color--mobile", e);
|
|
495
495
|
}
|
|
496
496
|
get backgroundColorTablet() {
|
|
497
497
|
return this.getAttribute("background-color--tablet");
|
|
498
498
|
}
|
|
499
499
|
set backgroundColorTablet(e) {
|
|
500
|
-
|
|
500
|
+
y(this, "background-color--tablet", e);
|
|
501
501
|
}
|
|
502
502
|
get backgroundColorLaptop() {
|
|
503
503
|
return this.getAttribute("background-color--laptop");
|
|
504
504
|
}
|
|
505
505
|
set backgroundColorLaptop(e) {
|
|
506
|
-
|
|
506
|
+
y(this, "background-color--laptop", e);
|
|
507
507
|
}
|
|
508
508
|
get gradient() {
|
|
509
509
|
return this.getAttribute("background-gradient");
|
|
510
510
|
}
|
|
511
511
|
set gradient(e) {
|
|
512
|
-
|
|
512
|
+
y(this, "background-gradient", e);
|
|
513
513
|
}
|
|
514
514
|
get gradientMobile() {
|
|
515
515
|
return this.getAttribute("background-gradient--mobile");
|
|
516
516
|
}
|
|
517
517
|
set gradientMobile(e) {
|
|
518
|
-
|
|
518
|
+
y(this, "background-gradient--mobile", e);
|
|
519
519
|
}
|
|
520
520
|
get gradientTablet() {
|
|
521
521
|
return this.getAttribute("background-gradient--tablet");
|
|
522
522
|
}
|
|
523
523
|
set gradientTablet(e) {
|
|
524
|
-
|
|
524
|
+
y(this, "background-gradient--tablet", e);
|
|
525
525
|
}
|
|
526
526
|
get gradientLaptop() {
|
|
527
527
|
return this.getAttribute("background-gradient--laptop");
|
|
528
528
|
}
|
|
529
529
|
set gradientLaptop(e) {
|
|
530
|
-
|
|
530
|
+
y(this, "background-gradient--laptop", e);
|
|
531
531
|
}
|
|
532
532
|
get backgroundImage() {
|
|
533
533
|
return this.getAttribute("background-image");
|
|
534
534
|
}
|
|
535
535
|
set backgroundImage(e) {
|
|
536
|
-
|
|
536
|
+
y(this, "background-image", e);
|
|
537
537
|
}
|
|
538
538
|
get backgroundImageMobile() {
|
|
539
539
|
return this.getAttribute("background-image--mobile");
|
|
540
540
|
}
|
|
541
541
|
set backgroundImageMobile(e) {
|
|
542
|
-
|
|
542
|
+
y(this, "background-image--mobile", e);
|
|
543
543
|
}
|
|
544
544
|
get backgroundImageTablet() {
|
|
545
545
|
return this.getAttribute("background-image--tablet");
|
|
546
546
|
}
|
|
547
547
|
set backgroundImageTablet(e) {
|
|
548
|
-
|
|
548
|
+
y(this, "background-image--tablet", e);
|
|
549
549
|
}
|
|
550
550
|
get backgroundImageLaptop() {
|
|
551
551
|
return this.getAttribute("background-image--laptop");
|
|
552
552
|
}
|
|
553
553
|
set backgroundImageLaptop(e) {
|
|
554
|
-
|
|
554
|
+
y(this, "background-image--laptop", e);
|
|
555
555
|
}
|
|
556
556
|
get backgroundSize() {
|
|
557
557
|
return this.getAttribute("background-size");
|
|
558
558
|
}
|
|
559
559
|
set backgroundSize(e) {
|
|
560
|
-
|
|
560
|
+
y(this, "background-size", e);
|
|
561
561
|
}
|
|
562
562
|
get backgroundPosition() {
|
|
563
563
|
return this.getAttribute("background-position");
|
|
564
564
|
}
|
|
565
565
|
set backgroundPosition(e) {
|
|
566
|
-
|
|
566
|
+
y(this, "background-position", e);
|
|
567
567
|
}
|
|
568
568
|
get boxShadow() {
|
|
569
569
|
return this.getAttribute("box-shadow");
|
|
570
570
|
}
|
|
571
571
|
set boxShadow(e) {
|
|
572
|
-
|
|
572
|
+
y(this, "box-shadow", e);
|
|
573
573
|
}
|
|
574
574
|
get anchorOffset() {
|
|
575
575
|
return this.getAttribute("anchor-offset");
|
|
576
576
|
}
|
|
577
577
|
set anchorOffset(e) {
|
|
578
|
-
|
|
578
|
+
y(this, "anchor-offset", e);
|
|
579
579
|
}
|
|
580
580
|
get anchorSpacing() {
|
|
581
581
|
return this.getAttribute("anchor-spacing");
|
|
582
582
|
}
|
|
583
583
|
set anchorSpacing(e) {
|
|
584
|
-
|
|
584
|
+
y(this, "anchor-spacing", e);
|
|
585
585
|
}
|
|
586
586
|
get inverted() {
|
|
587
587
|
return this.hasAttribute("inverted");
|
|
@@ -593,36 +593,37 @@ var C = [
|
|
|
593
593
|
return this.getAttribute("subgrid-rows");
|
|
594
594
|
}
|
|
595
595
|
set subgridRows(e) {
|
|
596
|
-
|
|
596
|
+
y(this, "subgrid-rows", e);
|
|
597
597
|
}
|
|
598
598
|
get subgridGap() {
|
|
599
599
|
return this.getAttribute("subgrid-gap");
|
|
600
600
|
}
|
|
601
601
|
set subgridGap(e) {
|
|
602
|
-
|
|
602
|
+
y(this, "subgrid-gap", e);
|
|
603
603
|
}
|
|
604
604
|
get subgridGapMobile() {
|
|
605
605
|
return this.getAttribute("subgrid-gap--mobile");
|
|
606
606
|
}
|
|
607
607
|
set subgridGapMobile(e) {
|
|
608
|
-
|
|
608
|
+
y(this, "subgrid-gap--mobile", e);
|
|
609
609
|
}
|
|
610
610
|
get subgridGapTablet() {
|
|
611
611
|
return this.getAttribute("subgrid-gap--tablet");
|
|
612
612
|
}
|
|
613
613
|
set subgridGapTablet(e) {
|
|
614
|
-
|
|
614
|
+
y(this, "subgrid-gap--tablet", e);
|
|
615
615
|
}
|
|
616
616
|
get subgridGapLaptop() {
|
|
617
617
|
return this.getAttribute("subgrid-gap--laptop");
|
|
618
618
|
}
|
|
619
619
|
set subgridGapLaptop(e) {
|
|
620
|
-
|
|
620
|
+
y(this, "subgrid-gap--laptop", e);
|
|
621
621
|
}
|
|
622
622
|
};
|
|
623
|
-
customElements.get("px-container") || customElements.define("px-container",
|
|
624
|
-
|
|
625
|
-
|
|
623
|
+
customElements.get("px-container") || customElements.define("px-container", te);
|
|
624
|
+
//#endregion
|
|
625
|
+
//#region ../Layout/src/Stack.css?inline
|
|
626
|
+
var k = ":host{--flex-min-width--mobile-value:auto;--flex-min-width--tablet-value:auto;--flex-min-width--laptop-value:auto;--flex-min-width--desktop-value:auto;--flex-max-width--mobile-value:none;--flex-max-width--tablet-value:none;--flex-max-width--laptop-value:none;--flex-max-width--desktop-value:none;min-width:var(--flex-min-width--mobile-value);max-width:var(--flex-max-width--mobile-value);--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;--flex-overflow-y--mobile-value:visible;--flex-overflow-y--tablet-value:visible;--flex-overflow-y--laptop-value:visible;--flex-overflow-y--desktop-value:visible;--flex-max-height--mobile-value:none;--flex-max-height--tablet-value:none;--flex-max-height--laptop-value:none;--flex-max-height--desktop-value:none;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);width:100%;height:100%;overflow-x:var(--overflow-x-all);overflow-y:var(--flex-overflow-y--mobile-value);max-height:var(--flex-max-height--mobile-value);display:flex}@media screen and (width<=47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=48rem){:host{min-width:var(--flex-min-width--tablet-value);max-width:var(--flex-max-width--tablet-value)}.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value);overflow-y:var(--flex-overflow-y--tablet-value);max-height:var(--flex-max-height--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (width>=48rem) and (width<=64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=64.0625rem){:host{min-width:var(--flex-min-width--laptop-value);max-width:var(--flex-max-width--laptop-value)}.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value);overflow-y:var(--flex-overflow-y--laptop-value);max-height:var(--flex-max-height--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (width>=90.0625rem){:host{min-width:var(--flex-min-width--desktop-value);max-width:var(--flex-max-width--desktop-value)}.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-y:var(--flex-overflow-y--desktop-value);max-height:var(--flex-max-height--desktop-value);overflow-x:var(--overflow-x-all-desktop,var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", A = new CSSStyleSheet();
|
|
626
627
|
A.replaceSync(k);
|
|
627
628
|
var j = document.createElement("template");
|
|
628
629
|
j.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
|
|
@@ -703,7 +704,27 @@ var M = [
|
|
|
703
704
|
"overflow-x--mobile",
|
|
704
705
|
"overflow-x--tablet",
|
|
705
706
|
"overflow-x--laptop",
|
|
706
|
-
"overflow-x--desktop"
|
|
707
|
+
"overflow-x--desktop",
|
|
708
|
+
"overflow-y",
|
|
709
|
+
"overflow-y--mobile",
|
|
710
|
+
"overflow-y--tablet",
|
|
711
|
+
"overflow-y--laptop",
|
|
712
|
+
"overflow-y--desktop",
|
|
713
|
+
"max-height",
|
|
714
|
+
"max-height--mobile",
|
|
715
|
+
"max-height--tablet",
|
|
716
|
+
"max-height--laptop",
|
|
717
|
+
"max-height--desktop",
|
|
718
|
+
"min-width",
|
|
719
|
+
"min-width--mobile",
|
|
720
|
+
"min-width--tablet",
|
|
721
|
+
"min-width--laptop",
|
|
722
|
+
"min-width--desktop",
|
|
723
|
+
"max-width",
|
|
724
|
+
"max-width--mobile",
|
|
725
|
+
"max-width--tablet",
|
|
726
|
+
"max-width--laptop",
|
|
727
|
+
"max-width--desktop"
|
|
707
728
|
];
|
|
708
729
|
}
|
|
709
730
|
attributeChangedCallback(e, t, n) {
|
|
@@ -713,7 +734,7 @@ var M = [
|
|
|
713
734
|
case "gap--tablet":
|
|
714
735
|
case "gap--laptop":
|
|
715
736
|
case "gap--desktop":
|
|
716
|
-
this.updateFlexProperties(e, t, n,
|
|
737
|
+
this.updateFlexProperties(e, t, n, m);
|
|
717
738
|
break;
|
|
718
739
|
case "justify-content":
|
|
719
740
|
case "justify-content--mobile":
|
|
@@ -741,7 +762,31 @@ var M = [
|
|
|
741
762
|
case "direction--tablet":
|
|
742
763
|
case "direction--laptop":
|
|
743
764
|
case "direction--desktop":
|
|
744
|
-
this.updateFlexProperties(e, t, n, M);
|
|
765
|
+
this.updateFlexProperties(e, t, n, M), this.updateVerticalStyles();
|
|
766
|
+
break;
|
|
767
|
+
case "min-width":
|
|
768
|
+
case "min-width--mobile":
|
|
769
|
+
case "min-width--tablet":
|
|
770
|
+
case "min-width--laptop":
|
|
771
|
+
case "min-width--desktop":
|
|
772
|
+
case "max-width":
|
|
773
|
+
case "max-width--mobile":
|
|
774
|
+
case "max-width--tablet":
|
|
775
|
+
case "max-width--laptop":
|
|
776
|
+
case "max-width--desktop":
|
|
777
|
+
n && !CSS.supports(e.split("--")[0], n) && g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateFlexProperties(e, t, n);
|
|
778
|
+
break;
|
|
779
|
+
case "overflow-y":
|
|
780
|
+
case "overflow-y--mobile":
|
|
781
|
+
case "overflow-y--tablet":
|
|
782
|
+
case "overflow-y--laptop":
|
|
783
|
+
case "overflow-y--desktop":
|
|
784
|
+
case "max-height":
|
|
785
|
+
case "max-height--mobile":
|
|
786
|
+
case "max-height--tablet":
|
|
787
|
+
case "max-height--laptop":
|
|
788
|
+
case "max-height--desktop":
|
|
789
|
+
n && !this.isValidVerticalValue(e, n) && g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
745
790
|
break;
|
|
746
791
|
case "overflow-x":
|
|
747
792
|
case "overflow-x--mobile":
|
|
@@ -753,11 +798,27 @@ var M = [
|
|
|
753
798
|
default: super.attributeChangedCallback(e, t, n);
|
|
754
799
|
}
|
|
755
800
|
}
|
|
801
|
+
isValidVerticalValue(e, t) {
|
|
802
|
+
return e.startsWith("overflow-y") ? I.includes(t) : CSS.supports("max-height", t);
|
|
803
|
+
}
|
|
804
|
+
updateVerticalStyles() {
|
|
805
|
+
for (let e of t.breakpoints) {
|
|
806
|
+
let t = this.localName === "px-stack" && this.getAttribute(`direction--${e}`) || this.direction, n = t === "column" || t === "column-reverse";
|
|
807
|
+
for (let t of ["overflow-y", "max-height"]) {
|
|
808
|
+
let r = this.getAttribute(`${t}--${e}`) || this.getAttribute(t);
|
|
809
|
+
this.updateStyle(t, e, n && r && this.isValidVerticalValue(t, r) ? r : null);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
}
|
|
756
813
|
updateOverflowX(e, t, n, r) {
|
|
757
|
-
|
|
814
|
+
if (!d(r, n)) {
|
|
815
|
+
g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
816
|
+
return;
|
|
817
|
+
}
|
|
818
|
+
this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
|
|
758
819
|
}
|
|
759
820
|
updateFlexProperties(e, n, r, i) {
|
|
760
|
-
r !== null && !this.checkName(i, r) &&
|
|
821
|
+
i && r !== null && !this.checkName(i, r) && g(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
761
822
|
let a = e.indexOf("--");
|
|
762
823
|
if (a === -1) for (let n of t.breakpoints) this.getAttribute(`${e}--${n}`) || this.updateStyle(e, n, r, i);
|
|
763
824
|
else {
|
|
@@ -766,12 +827,15 @@ var M = [
|
|
|
766
827
|
}
|
|
767
828
|
}
|
|
768
829
|
updateStyle(e, t, n, r) {
|
|
769
|
-
let i = `--flex-${e}--${t}-value`, a = e === "gap";
|
|
770
|
-
if (
|
|
771
|
-
|
|
830
|
+
let i = `--flex-${e}--${t}-value`, a = e === "gap", o = e === "min-width" || e === "max-width", s = o ? this : this.$el;
|
|
831
|
+
if (o && n && !CSS.supports(e, n) && (n = null), !n) {
|
|
832
|
+
s.style.removeProperty(i), a && this.style.removeProperty(`--host-gap--${t}`);
|
|
833
|
+
return;
|
|
834
|
+
}
|
|
835
|
+
if (a && r && r.includes(n)) {
|
|
772
836
|
let e = `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`;
|
|
773
837
|
this.$el.style.setProperty(i, e), this.style.setProperty(`--host-gap--${t}`, e);
|
|
774
|
-
} else
|
|
838
|
+
} else s.style.setProperty(i, n);
|
|
775
839
|
}
|
|
776
840
|
static {
|
|
777
841
|
this.breakpoints = [
|
|
@@ -785,181 +849,301 @@ var M = [
|
|
|
785
849
|
return this.getAttribute("direction") ?? "row";
|
|
786
850
|
}
|
|
787
851
|
set direction(e) {
|
|
788
|
-
|
|
852
|
+
y(this, "direction", e);
|
|
789
853
|
}
|
|
790
854
|
get directionMobile() {
|
|
791
855
|
return this.getAttribute("direction--mobile");
|
|
792
856
|
}
|
|
793
857
|
set directionMobile(e) {
|
|
794
|
-
|
|
858
|
+
y(this, "direction--mobile", e);
|
|
795
859
|
}
|
|
796
860
|
get directionTablet() {
|
|
797
861
|
return this.getAttribute("direction--tablet");
|
|
798
862
|
}
|
|
799
863
|
set directionTablet(e) {
|
|
800
|
-
|
|
864
|
+
y(this, "direction--tablet", e);
|
|
801
865
|
}
|
|
802
866
|
get directionLaptop() {
|
|
803
867
|
return this.getAttribute("direction--laptop");
|
|
804
868
|
}
|
|
805
869
|
set directionLaptop(e) {
|
|
806
|
-
|
|
870
|
+
y(this, "direction--laptop", e);
|
|
807
871
|
}
|
|
808
872
|
get directionDesktop() {
|
|
809
873
|
return this.getAttribute("direction--desktop");
|
|
810
874
|
}
|
|
811
875
|
set directionDesktop(e) {
|
|
812
|
-
|
|
876
|
+
y(this, "direction--desktop", e);
|
|
813
877
|
}
|
|
814
878
|
get gap() {
|
|
815
879
|
return this.getAttribute("gap") ?? "none";
|
|
816
880
|
}
|
|
817
881
|
set gap(e) {
|
|
818
|
-
|
|
882
|
+
y(this, "gap", e);
|
|
819
883
|
}
|
|
820
884
|
get gapMobile() {
|
|
821
885
|
return this.getAttribute("gap--mobile");
|
|
822
886
|
}
|
|
823
887
|
set gapMobile(e) {
|
|
824
|
-
|
|
888
|
+
y(this, "gap--mobile", e);
|
|
825
889
|
}
|
|
826
890
|
get gapTablet() {
|
|
827
891
|
return this.getAttribute("gap--tablet");
|
|
828
892
|
}
|
|
829
893
|
set gapTablet(e) {
|
|
830
|
-
|
|
894
|
+
y(this, "gap--tablet", e);
|
|
831
895
|
}
|
|
832
896
|
get gapLaptop() {
|
|
833
897
|
return this.getAttribute("gap--laptop");
|
|
834
898
|
}
|
|
835
899
|
set gapLaptop(e) {
|
|
836
|
-
|
|
900
|
+
y(this, "gap--laptop", e);
|
|
837
901
|
}
|
|
838
902
|
get gapDesktop() {
|
|
839
903
|
return this.getAttribute("gap--desktop");
|
|
840
904
|
}
|
|
841
905
|
set gapDesktop(e) {
|
|
842
|
-
|
|
906
|
+
y(this, "gap--desktop", e);
|
|
843
907
|
}
|
|
844
908
|
get justifyContent() {
|
|
845
909
|
return this.getAttribute("justify-content") ?? "flex-start";
|
|
846
910
|
}
|
|
847
911
|
set justifyContent(e) {
|
|
848
|
-
|
|
912
|
+
y(this, "justify-content", e);
|
|
849
913
|
}
|
|
850
914
|
get justifyContentMobile() {
|
|
851
915
|
return this.getAttribute("justify-content--mobile");
|
|
852
916
|
}
|
|
853
917
|
set justifyContentMobile(e) {
|
|
854
|
-
|
|
918
|
+
y(this, "justify-content--mobile", e);
|
|
855
919
|
}
|
|
856
920
|
get justifyContentTablet() {
|
|
857
921
|
return this.getAttribute("justify-content--tablet");
|
|
858
922
|
}
|
|
859
923
|
set justifyContentTablet(e) {
|
|
860
|
-
|
|
924
|
+
y(this, "justify-content--tablet", e);
|
|
861
925
|
}
|
|
862
926
|
get justifyContentLaptop() {
|
|
863
927
|
return this.getAttribute("justify-content--laptop");
|
|
864
928
|
}
|
|
865
929
|
set justifyContentLaptop(e) {
|
|
866
|
-
|
|
930
|
+
y(this, "justify-content--laptop", e);
|
|
867
931
|
}
|
|
868
932
|
get justifyContentDesktop() {
|
|
869
933
|
return this.getAttribute("justify-content--desktop");
|
|
870
934
|
}
|
|
871
935
|
set justifyContentDesktop(e) {
|
|
872
|
-
|
|
936
|
+
y(this, "justify-content--desktop", e);
|
|
873
937
|
}
|
|
874
938
|
get alignItems() {
|
|
875
939
|
return this.getAttribute("align-items") ?? "stretch";
|
|
876
940
|
}
|
|
877
941
|
set alignItems(e) {
|
|
878
|
-
|
|
942
|
+
y(this, "align-items", e);
|
|
879
943
|
}
|
|
880
944
|
get alignItemsMobile() {
|
|
881
945
|
return this.getAttribute("align-items--mobile");
|
|
882
946
|
}
|
|
883
947
|
set alignItemsMobile(e) {
|
|
884
|
-
|
|
948
|
+
y(this, "align-items--mobile", e);
|
|
885
949
|
}
|
|
886
950
|
get alignItemsTablet() {
|
|
887
951
|
return this.getAttribute("align-items--tablet");
|
|
888
952
|
}
|
|
889
953
|
set alignItemsTablet(e) {
|
|
890
|
-
|
|
954
|
+
y(this, "align-items--tablet", e);
|
|
891
955
|
}
|
|
892
956
|
get alignItemsLaptop() {
|
|
893
957
|
return this.getAttribute("align-items--laptop");
|
|
894
958
|
}
|
|
895
959
|
set alignItemsLaptop(e) {
|
|
896
|
-
|
|
960
|
+
y(this, "align-items--laptop", e);
|
|
897
961
|
}
|
|
898
962
|
get alignItemsDesktop() {
|
|
899
963
|
return this.getAttribute("align-items--desktop");
|
|
900
964
|
}
|
|
901
965
|
set alignItemsDesktop(e) {
|
|
902
|
-
|
|
966
|
+
y(this, "align-items--desktop", e);
|
|
903
967
|
}
|
|
904
968
|
get wrap() {
|
|
905
969
|
return this.getAttribute("wrap") ?? "nowrap";
|
|
906
970
|
}
|
|
907
971
|
set wrap(e) {
|
|
908
|
-
|
|
972
|
+
y(this, "wrap", e);
|
|
909
973
|
}
|
|
910
974
|
get wrapMobile() {
|
|
911
975
|
return this.getAttribute("wrap--mobile");
|
|
912
976
|
}
|
|
913
977
|
set wrapMobile(e) {
|
|
914
|
-
|
|
978
|
+
y(this, "wrap--mobile", e);
|
|
915
979
|
}
|
|
916
980
|
get wrapTablet() {
|
|
917
981
|
return this.getAttribute("wrap--tablet");
|
|
918
982
|
}
|
|
919
983
|
set wrapTablet(e) {
|
|
920
|
-
|
|
984
|
+
y(this, "wrap--tablet", e);
|
|
921
985
|
}
|
|
922
986
|
get wrapLaptop() {
|
|
923
987
|
return this.getAttribute("wrap--laptop");
|
|
924
988
|
}
|
|
925
989
|
set wrapLaptop(e) {
|
|
926
|
-
|
|
990
|
+
y(this, "wrap--laptop", e);
|
|
927
991
|
}
|
|
928
992
|
get wrapDesktop() {
|
|
929
993
|
return this.getAttribute("wrap--desktop");
|
|
930
994
|
}
|
|
931
995
|
set wrapDesktop(e) {
|
|
932
|
-
|
|
996
|
+
y(this, "wrap--desktop", e);
|
|
933
997
|
}
|
|
934
998
|
get overflowX() {
|
|
935
999
|
return this.getAttribute("overflow-x") ?? "visible";
|
|
936
1000
|
}
|
|
937
1001
|
set overflowX(e) {
|
|
938
|
-
|
|
1002
|
+
y(this, "overflow-x", e);
|
|
939
1003
|
}
|
|
940
1004
|
get overflowXMobile() {
|
|
941
1005
|
return this.getAttribute("overflow-x--mobile");
|
|
942
1006
|
}
|
|
943
1007
|
set overflowXMobile(e) {
|
|
944
|
-
|
|
1008
|
+
y(this, "overflow-x--mobile", e);
|
|
945
1009
|
}
|
|
946
1010
|
get overflowXTablet() {
|
|
947
1011
|
return this.getAttribute("overflow-x--tablet");
|
|
948
1012
|
}
|
|
949
1013
|
set overflowXTablet(e) {
|
|
950
|
-
|
|
1014
|
+
y(this, "overflow-x--tablet", e);
|
|
951
1015
|
}
|
|
952
1016
|
get overflowXLaptop() {
|
|
953
1017
|
return this.getAttribute("overflow-x--laptop");
|
|
954
1018
|
}
|
|
955
1019
|
set overflowXLaptop(e) {
|
|
956
|
-
|
|
1020
|
+
y(this, "overflow-x--laptop", e);
|
|
957
1021
|
}
|
|
958
1022
|
get overflowXDesktop() {
|
|
959
1023
|
return this.getAttribute("overflow-x--desktop");
|
|
960
1024
|
}
|
|
961
1025
|
set overflowXDesktop(e) {
|
|
962
|
-
|
|
1026
|
+
y(this, "overflow-x--desktop", e);
|
|
1027
|
+
}
|
|
1028
|
+
get overflowY() {
|
|
1029
|
+
return this.getAttribute("overflow-y") ?? "visible";
|
|
1030
|
+
}
|
|
1031
|
+
set overflowY(e) {
|
|
1032
|
+
y(this, "overflow-y", e);
|
|
1033
|
+
}
|
|
1034
|
+
get overflowYMobile() {
|
|
1035
|
+
return this.getAttribute("overflow-y--mobile");
|
|
1036
|
+
}
|
|
1037
|
+
set overflowYMobile(e) {
|
|
1038
|
+
y(this, "overflow-y--mobile", e);
|
|
1039
|
+
}
|
|
1040
|
+
get overflowYTablet() {
|
|
1041
|
+
return this.getAttribute("overflow-y--tablet");
|
|
1042
|
+
}
|
|
1043
|
+
set overflowYTablet(e) {
|
|
1044
|
+
y(this, "overflow-y--tablet", e);
|
|
1045
|
+
}
|
|
1046
|
+
get overflowYLaptop() {
|
|
1047
|
+
return this.getAttribute("overflow-y--laptop");
|
|
1048
|
+
}
|
|
1049
|
+
set overflowYLaptop(e) {
|
|
1050
|
+
y(this, "overflow-y--laptop", e);
|
|
1051
|
+
}
|
|
1052
|
+
get overflowYDesktop() {
|
|
1053
|
+
return this.getAttribute("overflow-y--desktop");
|
|
1054
|
+
}
|
|
1055
|
+
set overflowYDesktop(e) {
|
|
1056
|
+
y(this, "overflow-y--desktop", e);
|
|
1057
|
+
}
|
|
1058
|
+
get maxHeight() {
|
|
1059
|
+
return this.getAttribute("max-height") ?? "none";
|
|
1060
|
+
}
|
|
1061
|
+
set maxHeight(e) {
|
|
1062
|
+
y(this, "max-height", e);
|
|
1063
|
+
}
|
|
1064
|
+
get maxHeightMobile() {
|
|
1065
|
+
return this.getAttribute("max-height--mobile");
|
|
1066
|
+
}
|
|
1067
|
+
set maxHeightMobile(e) {
|
|
1068
|
+
y(this, "max-height--mobile", e);
|
|
1069
|
+
}
|
|
1070
|
+
get maxHeightTablet() {
|
|
1071
|
+
return this.getAttribute("max-height--tablet");
|
|
1072
|
+
}
|
|
1073
|
+
set maxHeightTablet(e) {
|
|
1074
|
+
y(this, "max-height--tablet", e);
|
|
1075
|
+
}
|
|
1076
|
+
get maxHeightLaptop() {
|
|
1077
|
+
return this.getAttribute("max-height--laptop");
|
|
1078
|
+
}
|
|
1079
|
+
set maxHeightLaptop(e) {
|
|
1080
|
+
y(this, "max-height--laptop", e);
|
|
1081
|
+
}
|
|
1082
|
+
get maxHeightDesktop() {
|
|
1083
|
+
return this.getAttribute("max-height--desktop");
|
|
1084
|
+
}
|
|
1085
|
+
set maxHeightDesktop(e) {
|
|
1086
|
+
y(this, "max-height--desktop", e);
|
|
1087
|
+
}
|
|
1088
|
+
get minWidth() {
|
|
1089
|
+
return this.getAttribute("min-width") ?? "auto";
|
|
1090
|
+
}
|
|
1091
|
+
set minWidth(e) {
|
|
1092
|
+
y(this, "min-width", e);
|
|
1093
|
+
}
|
|
1094
|
+
get minWidthMobile() {
|
|
1095
|
+
return this.getAttribute("min-width--mobile");
|
|
1096
|
+
}
|
|
1097
|
+
set minWidthMobile(e) {
|
|
1098
|
+
y(this, "min-width--mobile", e);
|
|
1099
|
+
}
|
|
1100
|
+
get minWidthTablet() {
|
|
1101
|
+
return this.getAttribute("min-width--tablet");
|
|
1102
|
+
}
|
|
1103
|
+
set minWidthTablet(e) {
|
|
1104
|
+
y(this, "min-width--tablet", e);
|
|
1105
|
+
}
|
|
1106
|
+
get minWidthLaptop() {
|
|
1107
|
+
return this.getAttribute("min-width--laptop");
|
|
1108
|
+
}
|
|
1109
|
+
set minWidthLaptop(e) {
|
|
1110
|
+
y(this, "min-width--laptop", e);
|
|
1111
|
+
}
|
|
1112
|
+
get minWidthDesktop() {
|
|
1113
|
+
return this.getAttribute("min-width--desktop");
|
|
1114
|
+
}
|
|
1115
|
+
set minWidthDesktop(e) {
|
|
1116
|
+
y(this, "min-width--desktop", e);
|
|
1117
|
+
}
|
|
1118
|
+
get maxWidth() {
|
|
1119
|
+
return this.getAttribute("max-width") ?? "none";
|
|
1120
|
+
}
|
|
1121
|
+
set maxWidth(e) {
|
|
1122
|
+
y(this, "max-width", e);
|
|
1123
|
+
}
|
|
1124
|
+
get maxWidthMobile() {
|
|
1125
|
+
return this.getAttribute("max-width--mobile");
|
|
1126
|
+
}
|
|
1127
|
+
set maxWidthMobile(e) {
|
|
1128
|
+
y(this, "max-width--mobile", e);
|
|
1129
|
+
}
|
|
1130
|
+
get maxWidthTablet() {
|
|
1131
|
+
return this.getAttribute("max-width--tablet");
|
|
1132
|
+
}
|
|
1133
|
+
set maxWidthTablet(e) {
|
|
1134
|
+
y(this, "max-width--tablet", e);
|
|
1135
|
+
}
|
|
1136
|
+
get maxWidthLaptop() {
|
|
1137
|
+
return this.getAttribute("max-width--laptop");
|
|
1138
|
+
}
|
|
1139
|
+
set maxWidthLaptop(e) {
|
|
1140
|
+
y(this, "max-width--laptop", e);
|
|
1141
|
+
}
|
|
1142
|
+
get maxWidthDesktop() {
|
|
1143
|
+
return this.getAttribute("max-width--desktop");
|
|
1144
|
+
}
|
|
1145
|
+
set maxWidthDesktop(e) {
|
|
1146
|
+
y(this, "max-width--desktop", e);
|
|
963
1147
|
}
|
|
964
1148
|
get $el() {
|
|
965
1149
|
return this.shadowRoot.firstElementChild;
|
|
@@ -971,7 +1155,7 @@ var R = (e) => e === "direction" || e.startsWith("direction--"), z = class exten
|
|
|
971
1155
|
return "column";
|
|
972
1156
|
}
|
|
973
1157
|
set direction(e) {
|
|
974
|
-
|
|
1158
|
+
y(this, "direction", e);
|
|
975
1159
|
}
|
|
976
1160
|
attributeChangedCallback(e, t, n) {
|
|
977
1161
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
@@ -983,14 +1167,15 @@ var B = class extends L {
|
|
|
983
1167
|
return "row";
|
|
984
1168
|
}
|
|
985
1169
|
set direction(e) {
|
|
986
|
-
|
|
1170
|
+
y(this, "direction", e);
|
|
987
1171
|
}
|
|
988
1172
|
attributeChangedCallback(e, t, n) {
|
|
989
1173
|
R(e) || super.attributeChangedCallback(e, t, n);
|
|
990
1174
|
}
|
|
991
1175
|
};
|
|
992
1176
|
customElements.get("px-hstack") || customElements.define("px-hstack", B);
|
|
993
|
-
|
|
1177
|
+
//#endregion
|
|
1178
|
+
//#region ../Layout/src/Spacer.ts
|
|
994
1179
|
var V = class extends HTMLElement {
|
|
995
1180
|
constructor() {
|
|
996
1181
|
super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
|
|
@@ -1038,7 +1223,8 @@ var V = class extends HTMLElement {
|
|
|
1038
1223
|
}
|
|
1039
1224
|
};
|
|
1040
1225
|
customElements.get("px-spacer") || customElements.define("px-spacer", V);
|
|
1041
|
-
|
|
1226
|
+
//#endregion
|
|
1227
|
+
//#region ../Layout/src/Page.css?inline
|
|
1042
1228
|
var H = ":host{box-sizing:border-box;display:block}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", U = new CSSStyleSheet();
|
|
1043
1229
|
U.replaceSync(H);
|
|
1044
1230
|
var W = class extends n {
|
|
@@ -1136,7 +1322,7 @@ var W = class extends n {
|
|
|
1136
1322
|
</px-container>
|
|
1137
1323
|
</px-vstack>
|
|
1138
1324
|
</px-container>
|
|
1139
|
-
`,
|
|
1325
|
+
`, b(this.shadowRoot, this.template());
|
|
1140
1326
|
}
|
|
1141
1327
|
static get observedAttributes() {
|
|
1142
1328
|
return [
|
|
@@ -1224,18 +1410,19 @@ var W = class extends n {
|
|
|
1224
1410
|
}
|
|
1225
1411
|
};
|
|
1226
1412
|
customElements.get("px-page") === void 0 && customElements.define("px-page", W);
|
|
1227
|
-
|
|
1413
|
+
//#endregion
|
|
1414
|
+
//#region ../Section/src/Section.ts
|
|
1228
1415
|
var G = new CSSStyleSheet();
|
|
1229
|
-
G.replaceSync(
|
|
1416
|
+
G.replaceSync(S);
|
|
1230
1417
|
var K = class e extends n {
|
|
1231
1418
|
static {
|
|
1232
|
-
this.template =
|
|
1419
|
+
this.template = f("<px-container border-radius=\"none\" padding-inline=\"none\"><div class=\"content-wrapper\"><px-vstack gap=\"heading-to-content\"><slot name=\"heading\"></slot><px-vstack gap=\"none\"><slot></slot></px-vstack></px-vstack></div></px-container><div class=\"content-wrapper\"><slot name=\"overlap\"></slot></div>");
|
|
1233
1420
|
}
|
|
1234
1421
|
constructor() {
|
|
1235
|
-
super(G),
|
|
1422
|
+
super(G), b(this.shadowRoot, e.template);
|
|
1236
1423
|
}
|
|
1237
1424
|
connectedCallback() {
|
|
1238
|
-
|
|
1425
|
+
y(this.$container, "background-color", this.backgroundColor), !this.paddingBlock && !this.paddingTop && !this.paddingBottom && !this.paddingBlockMobile && !this.paddingTopMobile && !this.paddingBottomMobile && !this.paddingBlockTablet && !this.paddingTopTablet && !this.paddingBottomTablet && !this.paddingBlockLaptop && !this.paddingTopLaptop && !this.paddingBottomLaptop && (this.$container.paddingBlock = "none"), this.setHeadingSpacing = this.setHeadingSpacing.bind(this), this.setHeadingSpacing(), this.$slotHeading?.addEventListener("slotchange", this.setHeadingSpacing), this.toggleOverlapSpacing = this.toggleOverlapSpacing.bind(this), this.toggleOverlapSpacing(), this.$slotOverlap?.addEventListener("slotchange", this.toggleOverlapSpacing);
|
|
1239
1426
|
}
|
|
1240
1427
|
static get observedAttributes() {
|
|
1241
1428
|
return [
|
|
@@ -1385,155 +1572,156 @@ var K = class e extends n {
|
|
|
1385
1572
|
return this.getAttribute("background-color") || "none";
|
|
1386
1573
|
}
|
|
1387
1574
|
set backgroundColor(e) {
|
|
1388
|
-
|
|
1575
|
+
y(this, "background-color", e);
|
|
1389
1576
|
}
|
|
1390
1577
|
get gradient() {
|
|
1391
1578
|
return this.getAttribute("background-gradient");
|
|
1392
1579
|
}
|
|
1393
1580
|
set gradient(e) {
|
|
1394
|
-
|
|
1581
|
+
y(this, "background-gradient", e);
|
|
1395
1582
|
}
|
|
1396
1583
|
get backgroundImage() {
|
|
1397
1584
|
return this.getAttribute("background-image");
|
|
1398
1585
|
}
|
|
1399
1586
|
set backgroundImage(e) {
|
|
1400
|
-
|
|
1587
|
+
y(this, "background-image", e);
|
|
1401
1588
|
}
|
|
1402
1589
|
get backgroundImageMobile() {
|
|
1403
1590
|
return this.getAttribute("background-image--mobile");
|
|
1404
1591
|
}
|
|
1405
1592
|
set backgroundImageMobile(e) {
|
|
1406
|
-
|
|
1593
|
+
y(this, "background-image--mobile", e);
|
|
1407
1594
|
}
|
|
1408
1595
|
get backgroundImageTablet() {
|
|
1409
1596
|
return this.getAttribute("background-image--tablet");
|
|
1410
1597
|
}
|
|
1411
1598
|
set backgroundImageTablet(e) {
|
|
1412
|
-
|
|
1599
|
+
y(this, "background-image--tablet", e);
|
|
1413
1600
|
}
|
|
1414
1601
|
get backgroundImageLaptop() {
|
|
1415
1602
|
return this.getAttribute("background-image--laptop");
|
|
1416
1603
|
}
|
|
1417
1604
|
set backgroundImageLaptop(e) {
|
|
1418
|
-
|
|
1605
|
+
y(this, "background-image--laptop", e);
|
|
1419
1606
|
}
|
|
1420
1607
|
get backgroundSize() {
|
|
1421
1608
|
return this.getAttribute("background-size");
|
|
1422
1609
|
}
|
|
1423
1610
|
set backgroundSize(e) {
|
|
1424
|
-
|
|
1611
|
+
y(this, "background-size", e);
|
|
1425
1612
|
}
|
|
1426
1613
|
get backgroundPosition() {
|
|
1427
1614
|
return this.getAttribute("background-position");
|
|
1428
1615
|
}
|
|
1429
1616
|
set backgroundPosition(e) {
|
|
1430
|
-
|
|
1617
|
+
y(this, "background-position", e);
|
|
1431
1618
|
}
|
|
1432
1619
|
get paddingBlock() {
|
|
1433
1620
|
return this.getAttribute("padding-block");
|
|
1434
1621
|
}
|
|
1435
1622
|
set paddingBlock(e) {
|
|
1436
|
-
|
|
1623
|
+
y(this, "padding-block", e);
|
|
1437
1624
|
}
|
|
1438
1625
|
get paddingTop() {
|
|
1439
1626
|
return this.getAttribute("padding-top");
|
|
1440
1627
|
}
|
|
1441
1628
|
set paddingTop(e) {
|
|
1442
|
-
|
|
1629
|
+
y(this, "padding-top", e);
|
|
1443
1630
|
}
|
|
1444
1631
|
get paddingBottom() {
|
|
1445
1632
|
return this.getAttribute("padding-bottom");
|
|
1446
1633
|
}
|
|
1447
1634
|
set paddingBottom(e) {
|
|
1448
|
-
|
|
1635
|
+
y(this, "padding-bottom", e);
|
|
1449
1636
|
}
|
|
1450
1637
|
get paddingBlockMobile() {
|
|
1451
1638
|
return this.getAttribute("padding-block--mobile");
|
|
1452
1639
|
}
|
|
1453
1640
|
set paddingBlockMobile(e) {
|
|
1454
|
-
|
|
1641
|
+
y(this, "padding-block--mobile", e);
|
|
1455
1642
|
}
|
|
1456
1643
|
get paddingTopMobile() {
|
|
1457
1644
|
return this.getAttribute("padding-top--mobile");
|
|
1458
1645
|
}
|
|
1459
1646
|
set paddingTopMobile(e) {
|
|
1460
|
-
|
|
1647
|
+
y(this, "padding-top--mobile", e);
|
|
1461
1648
|
}
|
|
1462
1649
|
get paddingBottomMobile() {
|
|
1463
1650
|
return this.getAttribute("padding-bottom--mobile");
|
|
1464
1651
|
}
|
|
1465
1652
|
set paddingBottomMobile(e) {
|
|
1466
|
-
|
|
1653
|
+
y(this, "padding-bottom--mobile", e);
|
|
1467
1654
|
}
|
|
1468
1655
|
get paddingBlockTablet() {
|
|
1469
1656
|
return this.getAttribute("padding-block--tablet");
|
|
1470
1657
|
}
|
|
1471
1658
|
set paddingBlockTablet(e) {
|
|
1472
|
-
|
|
1659
|
+
y(this, "padding-block--tablet", e);
|
|
1473
1660
|
}
|
|
1474
1661
|
get paddingTopTablet() {
|
|
1475
1662
|
return this.getAttribute("padding-top--tablet");
|
|
1476
1663
|
}
|
|
1477
1664
|
set paddingTopTablet(e) {
|
|
1478
|
-
|
|
1665
|
+
y(this, "padding-top--tablet", e);
|
|
1479
1666
|
}
|
|
1480
1667
|
get paddingBottomTablet() {
|
|
1481
1668
|
return this.getAttribute("padding-bottom--tablet");
|
|
1482
1669
|
}
|
|
1483
1670
|
set paddingBottomTablet(e) {
|
|
1484
|
-
|
|
1671
|
+
y(this, "padding-bottom--tablet", e);
|
|
1485
1672
|
}
|
|
1486
1673
|
get paddingBlockLaptop() {
|
|
1487
1674
|
return this.getAttribute("padding-block--laptop");
|
|
1488
1675
|
}
|
|
1489
1676
|
set paddingBlockLaptop(e) {
|
|
1490
|
-
|
|
1677
|
+
y(this, "padding-block--laptop", e);
|
|
1491
1678
|
}
|
|
1492
1679
|
get paddingTopLaptop() {
|
|
1493
1680
|
return this.getAttribute("padding-top--laptop");
|
|
1494
1681
|
}
|
|
1495
1682
|
set paddingTopLaptop(e) {
|
|
1496
|
-
|
|
1683
|
+
y(this, "padding-top--laptop", e);
|
|
1497
1684
|
}
|
|
1498
1685
|
get paddingBottomLaptop() {
|
|
1499
1686
|
return this.getAttribute("padding-bottom--laptop");
|
|
1500
1687
|
}
|
|
1501
1688
|
set paddingBottomLaptop(e) {
|
|
1502
|
-
|
|
1689
|
+
y(this, "padding-bottom--laptop", e);
|
|
1503
1690
|
}
|
|
1504
1691
|
get border() {
|
|
1505
1692
|
return this.getAttribute("border");
|
|
1506
1693
|
}
|
|
1507
1694
|
set border(e) {
|
|
1508
|
-
|
|
1695
|
+
y(this, "border", e);
|
|
1509
1696
|
}
|
|
1510
1697
|
get borderSide() {
|
|
1511
1698
|
return this.getAttribute("border-side");
|
|
1512
1699
|
}
|
|
1513
1700
|
set borderSide(e) {
|
|
1514
|
-
|
|
1701
|
+
y(this, "border-side", e);
|
|
1515
1702
|
}
|
|
1516
1703
|
get borderSideMobile() {
|
|
1517
1704
|
return this.getAttribute("border-side--mobile");
|
|
1518
1705
|
}
|
|
1519
1706
|
set borderSideMobile(e) {
|
|
1520
|
-
|
|
1707
|
+
y(this, "border-side--mobile", e);
|
|
1521
1708
|
}
|
|
1522
1709
|
get borderSideTablet() {
|
|
1523
1710
|
return this.getAttribute("border-side--tablet");
|
|
1524
1711
|
}
|
|
1525
1712
|
set borderSideTablet(e) {
|
|
1526
|
-
|
|
1713
|
+
y(this, "border-side--tablet", e);
|
|
1527
1714
|
}
|
|
1528
1715
|
get borderSideLaptop() {
|
|
1529
1716
|
return this.getAttribute("border-side--laptop");
|
|
1530
1717
|
}
|
|
1531
1718
|
set borderSideLaptop(e) {
|
|
1532
|
-
|
|
1719
|
+
y(this, "border-side--laptop", e);
|
|
1533
1720
|
}
|
|
1534
1721
|
};
|
|
1535
1722
|
customElements.get("px-section") || customElements.define("px-section", K);
|
|
1536
|
-
|
|
1723
|
+
//#endregion
|
|
1724
|
+
//#region ../Grid/src/grid.css?inline
|
|
1537
1725
|
var q = ":host{--grid-cols:initial;--grid-cols--mobile:initial;--grid-cols--tablet:initial;--grid-cols--laptop:initial;--grid-cols--desktop:initial;--justify-content:initial;--justify-items:initial;--align-content:initial;--align-items:initial;display:block}.grid{grid-template-columns:repeat(var(--grid-cols), minmax(0, 1fr));justify-content:var(--justify-content);justify-items:var(--justify-items);align-content:var(--align-content);align-items:var(--align-items);display:grid}.justify-content-normal{justify-content:normal}.justify-content-start{justify-content:start}.justify-content-end{justify-content:end}.justify-content-center{justify-content:center}.justify-content-space-between{justify-content:space-between}.justify-content-space-around{justify-content:space-around}.justify-content-space-evenly{justify-content:space-evenly}.justify-content-stretch{justify-content:stretch}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.align-content-normal{align-content:normal}.align-content-start{align-content:start}.align-content-end{align-content:end}.align-content-center{align-content:center}.align-content-space-between{align-content:space-between}.align-content-space-around{align-content:space-around}.align-content-space-evenly{align-content:space-evenly}.align-content-stretch{align-content:stretch}.align-items-start{align-items:start}.align-items-end{align-items:end}.align-items-center{align-items:center}.align-items-stretch{align-items:stretch}@media screen and (width<=47.938rem){.grid{grid-template-columns:repeat(var(--grid-cols--mobile,var(--grid-cols)), minmax(0, 1fr))}.justify-content-normal-mobile{justify-content:normal}.justify-content-start-mobile{justify-content:start}.justify-content-end-mobile{justify-content:end}.justify-content-center-mobile{justify-content:center}.justify-content-space-between-mobile{justify-content:space-between}.justify-content-space-around-mobile{justify-content:space-around}.justify-content-space-evenly-mobile{justify-content:space-evenly}.justify-content-stretch-mobile{justify-content:stretch}.justify-items-start-mobile{justify-items:start}.justify-items-end-mobile{justify-items:end}.justify-items-center-mobile{justify-items:center}.justify-items-stretch-mobile{justify-items:stretch}.align-content-normal-mobile{align-content:normal}.align-content-start-mobile{align-content:start}.align-content-end-mobile{align-content:end}.align-content-center-mobile{align-content:center}.align-content-space-between-mobile{align-content:space-between}.align-content-space-around-mobile{align-content:space-around}.align-content-space-evenly-mobile{align-content:space-evenly}.align-content-stretch-mobile{align-content:stretch}.align-items-start-mobile{align-items:start}.align-items-end-mobile{align-items:end}.align-items-center-mobile{align-items:center}.align-items-stretch-mobile{align-items:stretch}}@media screen and (width>=48rem) and (width<=64rem){.grid{grid-template-columns:repeat(var(--grid-cols--tablet,var(--grid-cols)), minmax(0, 1fr))}.justify-content-normal-tablet{justify-content:normal}.justify-content-start-tablet{justify-content:start}.justify-content-end-tablet{justify-content:end}.justify-content-center-tablet{justify-content:center}.justify-content-space-between-tablet{justify-content:space-between}.justify-content-space-around-tablet{justify-content:space-around}.justify-content-space-evenly-tablet{justify-content:space-evenly}.justify-content-stretch-tablet{justify-content:stretch}.justify-items-start-tablet{justify-items:start}.justify-items-end-tablet{justify-items:end}.justify-items-center-tablet{justify-items:center}.justify-items-stretch-tablet{justify-items:stretch}.align-content-normal-tablet{align-content:normal}.align-content-start-tablet{align-content:start}.align-content-end-tablet{align-content:end}.align-content-center-tablet{align-content:center}.align-content-space-between-tablet{align-content:space-between}.align-content-space-around-tablet{align-content:space-around}.align-content-space-evenly-tablet{align-content:space-evenly}.align-content-stretch-tablet{align-content:stretch}.align-items-start-tablet{align-items:start}.align-items-end-tablet{align-items:end}.align-items-center-tablet{align-items:center}.align-items-stretch-tablet{align-items:stretch}}@media screen and (width>=64.0625rem){.grid{grid-template-columns:repeat(var(--grid-cols--laptop,var(--grid-cols)), minmax(0, 1fr))}.justify-content-normal-laptop{justify-content:normal}.justify-content-start-laptop{justify-content:start}.justify-content-end-laptop{justify-content:end}.justify-content-center-laptop{justify-content:center}.justify-content-space-between-laptop{justify-content:space-between}.justify-content-space-around-laptop{justify-content:space-around}.justify-content-space-evenly-laptop{justify-content:space-evenly}.justify-content-stretch-laptop{justify-content:stretch}.justify-items-start-laptop{justify-items:start}.justify-items-end-laptop{justify-items:end}.justify-items-center-laptop{justify-items:center}.justify-items-stretch-laptop{justify-items:stretch}.align-content-normal-laptop{align-content:normal}.align-content-start-laptop{align-content:start}.align-content-end-laptop{align-content:end}.align-content-center-laptop{align-content:center}.align-content-space-between-laptop{align-content:space-between}.align-content-space-around-laptop{align-content:space-around}.align-content-space-evenly-laptop{align-content:space-evenly}.align-content-stretch-laptop{align-content:stretch}.align-items-start-laptop{align-items:start}.align-items-end-laptop{align-items:end}.align-items-center-laptop{align-items:center}.align-items-stretch-laptop{align-items:stretch}}", J = new CSSStyleSheet();
|
|
1538
1726
|
J.replaceSync(q);
|
|
1539
1727
|
var Y = [
|
|
@@ -1564,15 +1752,18 @@ var Y = [
|
|
|
1564
1752
|
"end",
|
|
1565
1753
|
"center",
|
|
1566
1754
|
"stretch"
|
|
1567
|
-
], ne =
|
|
1755
|
+
], ne = p("gap", (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .grid`, m, "px-spacing", "--grid-gap"), re = class e extends t {
|
|
1568
1756
|
static {
|
|
1569
|
-
this.template =
|
|
1757
|
+
this.template = f("<div class=\"grid\"><slot></slot></div>");
|
|
1570
1758
|
}
|
|
1571
1759
|
static {
|
|
1572
1760
|
this.nativeName = "div";
|
|
1573
1761
|
}
|
|
1762
|
+
static {
|
|
1763
|
+
this.nativeAttributes = {};
|
|
1764
|
+
}
|
|
1574
1765
|
constructor() {
|
|
1575
|
-
super(J, ne),
|
|
1766
|
+
super(J, ne), b(this.shadowRoot, e.template);
|
|
1576
1767
|
}
|
|
1577
1768
|
static get observedAttributes() {
|
|
1578
1769
|
return [
|
|
@@ -1643,7 +1834,7 @@ var Y = [
|
|
|
1643
1834
|
}
|
|
1644
1835
|
updateGap(e, t, n) {
|
|
1645
1836
|
if (!this.checkName(n, t)) {
|
|
1646
|
-
|
|
1837
|
+
g(`"${t}" is not a valid gap value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
1647
1838
|
return;
|
|
1648
1839
|
}
|
|
1649
1840
|
let r = (e) => {
|
|
@@ -1652,7 +1843,7 @@ var Y = [
|
|
|
1652
1843
|
r(e), r(t);
|
|
1653
1844
|
}
|
|
1654
1845
|
updateAttribute(e, t, n, r) {
|
|
1655
|
-
this.checkName(r, n) ? e === "grid-cols" || e === "grid-cols--mobile" || e === "grid-cols--tablet" || e === "grid-cols--laptop" || e === "grid-cols--desktop" ? this.$el.style.setProperty(`--${e}`, n) : (t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`)) :
|
|
1846
|
+
this.checkName(r, n) ? e === "grid-cols" || e === "grid-cols--mobile" || e === "grid-cols--tablet" || e === "grid-cols--laptop" || e === "grid-cols--desktop" ? this.$el.style.setProperty(`--${e}`, n) : (t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`)) : g(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1656
1847
|
}
|
|
1657
1848
|
get gap() {
|
|
1658
1849
|
return this.getAttribute("gap");
|
|
@@ -1824,21 +2015,26 @@ var Y = [
|
|
|
1824
2015
|
}
|
|
1825
2016
|
};
|
|
1826
2017
|
customElements.get("px-grid") || customElements.define("px-grid", re);
|
|
1827
|
-
|
|
2018
|
+
//#endregion
|
|
2019
|
+
//#region src/ContentHeader.ts
|
|
1828
2020
|
var Q = new CSSStyleSheet();
|
|
1829
|
-
Q.replaceSync(
|
|
2021
|
+
Q.replaceSync(x);
|
|
1830
2022
|
var $ = class e extends t {
|
|
1831
2023
|
static {
|
|
1832
|
-
this.template =
|
|
2024
|
+
this.template = f("<div class=\"content-header\"><div class=\"contrast-helper\"></div><px-section padding-block=\"l\"><px-grid gap=\"none\"><px-container padding=\"none\" border-radius=\"none\" background-color=\"none\"><div class=\"content-header-content\"><px-vstack gap=\"heading-to-subtitle\"><px-h1><slot></slot></px-h1><slot name=\"subtitle\"></slot></px-vstack><px-stack gap=\"s\" direction=\"row\" direction--mobile=\"column\"><slot name=\"patch\" shrink></slot><slot name=\"patch-description\"></slot></px-stack></div></px-container></px-grid><slot name=\"overlap\" slot=\"overlap\"></slot></px-section></div>");
|
|
1833
2025
|
}
|
|
1834
2026
|
static {
|
|
1835
2027
|
this.nativeName = "div";
|
|
1836
2028
|
}
|
|
2029
|
+
static {
|
|
2030
|
+
this.nativeAttributes = {};
|
|
2031
|
+
}
|
|
1837
2032
|
constructor() {
|
|
1838
|
-
super(Q),
|
|
2033
|
+
super(Q), b(this.shadowRoot, e.template);
|
|
1839
2034
|
}
|
|
1840
2035
|
static get observedAttributes() {
|
|
1841
2036
|
return [
|
|
2037
|
+
...super.observedAttributes,
|
|
1842
2038
|
"background-color",
|
|
1843
2039
|
"background-gradient",
|
|
1844
2040
|
"background-image",
|
|
@@ -1863,11 +2059,16 @@ var $ = class e extends t {
|
|
|
1863
2059
|
}
|
|
1864
2060
|
attributeChangedCallback(e, t, n) {
|
|
1865
2061
|
if (t !== n) switch (e) {
|
|
2062
|
+
case "contrast-helper-gradient":
|
|
2063
|
+
case "contrast-helper-overlay":
|
|
2064
|
+
case "min-height":
|
|
2065
|
+
this._forwardNativeAttribute(e, n);
|
|
2066
|
+
break;
|
|
1866
2067
|
case "background-color":
|
|
1867
2068
|
this.$section.backgroundColor = r.indexOf(n) > 0 ? n : "none";
|
|
1868
2069
|
break;
|
|
1869
2070
|
case "background-gradient":
|
|
1870
|
-
this.$section.gradient =
|
|
2071
|
+
this.$section.gradient = n === null ? null : h.indexOf(n) > 0 ? n : "none";
|
|
1871
2072
|
break;
|
|
1872
2073
|
case "background-image":
|
|
1873
2074
|
this.$section.backgroundImage = n;
|
|
@@ -1977,12 +2178,18 @@ var $ = class e extends t {
|
|
|
1977
2178
|
set backgroundColor(e) {
|
|
1978
2179
|
this._updateAttribute("background-color", e);
|
|
1979
2180
|
}
|
|
1980
|
-
get
|
|
2181
|
+
get backgroundGradient() {
|
|
1981
2182
|
return this.getAttribute("background-gradient");
|
|
1982
2183
|
}
|
|
1983
|
-
set
|
|
2184
|
+
set backgroundGradient(e) {
|
|
1984
2185
|
this._updateAttribute("background-gradient", e);
|
|
1985
2186
|
}
|
|
2187
|
+
get gradient() {
|
|
2188
|
+
return this.backgroundGradient;
|
|
2189
|
+
}
|
|
2190
|
+
set gradient(e) {
|
|
2191
|
+
this.backgroundGradient = e;
|
|
2192
|
+
}
|
|
1986
2193
|
get backgroundImage() {
|
|
1987
2194
|
return this.getAttribute("background-image");
|
|
1988
2195
|
}
|
|
@@ -2075,4 +2282,5 @@ var $ = class e extends t {
|
|
|
2075
2282
|
}
|
|
2076
2283
|
};
|
|
2077
2284
|
customElements.get("px-content-header") || customElements.define("px-content-header", $);
|
|
2285
|
+
//#endregion
|
|
2078
2286
|
export { $ as ContentHeader };
|