@proximus/lavender 1.4.6-alpha.9 → 1.4.6-beta.2

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.
@@ -6,9 +6,9 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
6
6
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
7
7
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
8
8
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
9
- var _src, _internals, _template, _Card_instances, updateMediaPosition_fn, updateMedia_fn, updateBackgroundColor_fn, _Dropdown_instances, resetManualPopoverDisplay_fn, _onTriggerClick, _beforeToggle, _onToggle, handleManualPopoverDisplay_fn, _onResize, _Header_instances, setMDDDialogOffset_fn, togglePanel_fn, showMobileMenu_fn, hideMobileMenu_fn, hidePanel_fn, $mobileMenu_get, $navigationItems_get, $headerWrapper_get, $megaDropdowns_get, _template2, _HeaderMobileMenu_instances, createMobileMenuPanelDropDowns_fn, _Select_instances, updateOptions_fn, _mutationObserver, _MegaDropDown_instances, $backButton_get, $title_get, $footer_get, $closeButtons_get, _Tabs_instances, handleInverted_fn, handleHideControls_fn;
9
+ var _src, _internals, _template, _Banner_instances, applyReducedPadding_fn, _Breadcrumb_instances, applyInverted_fn, _Card_instances, updateMediaPosition_fn, updateMedia_fn, updateBackgroundColor_fn, _Carousel_instances, syncItems_fn, _Dropdown_instances, resetManualPopoverDisplay_fn, _onTriggerClick, _beforeToggle, _onToggle, handleManualPopoverDisplay_fn, _onResize, _Header_instances, setMDDDialogOffset_fn, togglePanel_fn, showMobileMenu_fn, hideMobileMenu_fn, hidePanel_fn, $mobileMenu_get, $navigationItems_get, $headerWrapper_get, $megaDropdowns_get, _template2, _HeaderMobileMenu_instances, createMobileMenuPanelDropDowns_fn, _Select_instances, updateOptions_fn, _List_instances, syncChildren_fn, applyInverted_fn2, applyVariant_fn, _mutationObserver, _MegaDropDown_instances, $backButton_get, $title_get, $footer_get, $closeButtons_get, _Tabs_instances, handleInverted_fn, handleHideControls_fn, _Timeline_instances, applyInverted_fn3;
10
10
  const styles$K = ':host{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{display:flex;height:100%;width:100%;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);overflow-x:var(--overflow-x-all)}@media only screen and (max-width: 47.9375em){.flex-container{overflow-x:var(--overflow-x-all-mobile, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 48em){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media only screen and (min-width: 48em) and (max-width: 64em){.flex-container{overflow-x:var(--overflow-x-all-tablet, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 64.0625em){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.flex-container{overflow-x:var(--overflow-x-all-laptop, var(--overflow-x-all))}}@media only screen and (min-width: 90.0625em){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop, var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x="auto"]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x="auto"]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}';
11
- const commonStyles = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}";
11
+ const commonStyles = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-self-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}";
12
12
  const __vite_import_meta_env__ = {};
13
13
  function getSupportedPropertyNames(htmlElementName) {
14
14
  const $element = document.createElement(htmlElementName);
@@ -881,43 +881,43 @@ function transferAccessibilityAttributes(sourceElement, targetElement, applyLabe
881
881
  sourceElement.setAttribute("aria-labelledby", id);
882
882
  }
883
883
  }
884
- function cssTokenBreakpoints(attributeName, selector, attributeValues, cssPropertyPrefix = "", generatedCssPropertyName) {
884
+ function cssTokenBreakpoints(attributeName, selector, attributeValues, cssPropertyPrefix = "", generatedCssPropertyName, selectorAttributeName = attributeName) {
885
885
  const stylesheet2 = new CSSStyleSheet();
886
886
  const styles2 = attributeValues.reduce(
887
887
  (prev, attributeValue) => prev + `
888
- ${selector(attributeName, attributeValue)} {
888
+ ${selector(selectorAttributeName, attributeValue)} {
889
889
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop);
890
890
  ${generatedCssPropertyName ? `${generatedCssPropertyName}:var(--${cssPropertyPrefix}-${attributeValue}-desktop)` : ""}
891
891
  }
892
892
  /* Mobile only - max 767px */
893
893
  @media only screen and (max-width: 47.938em) {
894
- ${selector(attributeName, attributeValue)} {
894
+ ${selector(selectorAttributeName, attributeValue)} {
895
895
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile);
896
896
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile)` : ""}
897
897
  }
898
898
  }
899
- ${selector(attributeName, attributeValue, "mobile")} {
899
+ ${selector(selectorAttributeName, attributeValue, "mobile")} {
900
900
  /* Mobile only - max 767px */
901
901
  @media only screen and (max-width: 47.938em) {
902
902
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile) !important;
903
903
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile)` : ""}
904
904
  }
905
905
  }
906
- ${selector(attributeName, attributeValue, "tablet")} {
906
+ ${selector(selectorAttributeName, attributeValue, "tablet")} {
907
907
  /* Tablet - min 768px max 1024px */
908
908
  @media only screen and (min-width: 48em) and (max-width: 64em) {
909
909
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop) !important;
910
910
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop)` : ""}
911
911
  }
912
912
  }
913
- ${selector(attributeName, attributeValue, "laptop")} {
913
+ ${selector(selectorAttributeName, attributeValue, "laptop")} {
914
914
  /* Laptop - 1025px*/
915
915
  @media only screen and (min-width: 64.0625em) {
916
916
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop) !important;
917
917
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop)` : ""}
918
918
  }
919
919
  }
920
- ${selector(attributeName, attributeValue, "desktop")} {
920
+ ${selector(selectorAttributeName, attributeValue, "desktop")} {
921
921
  /* Desktop - 1025px*/
922
922
  @media only screen and (min-width: 64.0625em) {
923
923
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop) !important;
@@ -2270,7 +2270,7 @@ let Span = _Span;
2270
2270
  if (!customElements.get("px-span")) {
2271
2271
  customElements.define("px-span", Span);
2272
2272
  }
2273
- const containerCss = ':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-right-style:none;border-left-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-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-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-size:cover;background-position:center center}.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"]){transform:translateY(-50%);z-index:3}::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"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::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)}@media only screen and (max-width: 47.938em){.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-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.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)}}@media only screen and (min-width: 48em) and (max-width: 64em){.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-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.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)}}@media only screen and (min-width: 64.0625em){.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-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}';
2273
+ const containerCss = ':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-right-style:none;border-left-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-right-style:none;border-left-style:none}.border-side-left{border-top-style:none;border-right-style:none;border-bottom-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-size:cover;background-position:center center}.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"]){transform:translateY(-50%);z-index:3}::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"]){transform:translateY(-100%);right:0;left:0;text-align:center;z-index:2}::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{display:grid;grid-template-rows:subgrid;grid-row:span var(--subgrid-rows)}: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)}@media only screen and (max-width: 47.938em){.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-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--mobile{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--mobile{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--mobile{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--mobile{border-inline-style:none;border-block-style:solid}.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 only screen and (min-width: 48em) and (max-width: 64em){.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-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--tablet{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--tablet{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--tablet{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--tablet{border-inline-style:none;border-block-style:solid}.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)}}@media only screen and (min-width: 1025px) and (max-width: 1440px){: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)}}@media only screen and (min-width: 64.0625em){.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-top-style:solid;border-right-style:none;border-bottom-style:none;border-left-style:none}.border-side-right--laptop{border-top-style:none;border-right-style:solid;border-bottom-style:none;border-left-style:none}.border-side-bottom--laptop{border-top-style:none;border-right-style:none;border-bottom-style:solid;border-left-style:none}.border-side-left--laptop{border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:solid}.border-side-block--laptop{border-inline-style:none;border-block-style:solid}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (min-width: 1441px){: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)}}';
2274
2274
  const containerStyles = new CSSStyleSheet();
2275
2275
  containerStyles.replaceSync(containerCss);
2276
2276
  const anchorSpacingValues = [
@@ -2279,6 +2279,20 @@ const anchorSpacingValues = [
2279
2279
  "has-ribbon",
2280
2280
  "neighbor-has-ribbon"
2281
2281
  ];
2282
+ const subgridRowsValues = [
2283
+ "1",
2284
+ "2",
2285
+ "3",
2286
+ "4",
2287
+ "5",
2288
+ "6",
2289
+ "7",
2290
+ "8",
2291
+ "9",
2292
+ "10",
2293
+ "11",
2294
+ "12"
2295
+ ];
2282
2296
  const attributeBreakpointCSSSelector$3 = (attributeName, attributeValue, device) => `:host([${attributeName}${device ? `--${device}` : ""}='${attributeValue}']) .container`;
2283
2297
  const paddingPrefix$1 = "px-padding";
2284
2298
  const containerBreakpoints = [
@@ -2326,9 +2340,17 @@ const containerBreakpoints = [
2326
2340
  paddingValues,
2327
2341
  paddingPrefix$1,
2328
2342
  "--container-padding-left"
2343
+ ),
2344
+ cssTokenBreakpoints(
2345
+ "gap",
2346
+ attributeBreakpointCSSSelector$3,
2347
+ gapValues,
2348
+ "px-spacing",
2349
+ void 0,
2350
+ "subgrid-gap"
2329
2351
  )
2330
2352
  ];
2331
- const _Container = class _Container extends VerticallyExtendedElement {
2353
+ const _Container = class _Container extends WithExtraAttributes {
2332
2354
  constructor() {
2333
2355
  super(containerStyles, ...containerBreakpoints);
2334
2356
  this.template = () => `<div class="container">
@@ -2339,6 +2361,7 @@ const _Container = class _Container extends VerticallyExtendedElement {
2339
2361
  </div>`;
2340
2362
  this._bgObserver = null;
2341
2363
  this._isInViewport = false;
2364
+ this.contentObserver = null;
2342
2365
  this.shadowRoot.innerHTML = this.template();
2343
2366
  }
2344
2367
  static get observedAttributes() {
@@ -2372,11 +2395,11 @@ const _Container = class _Container extends VerticallyExtendedElement {
2372
2395
  "box-shadow",
2373
2396
  "anchor-offset",
2374
2397
  "anchor-spacing",
2375
- "inverted"
2398
+ "inverted",
2399
+ "subgrid-rows"
2376
2400
  ];
2377
2401
  }
2378
2402
  connectedCallback() {
2379
- super.connectedCallback();
2380
2403
  if (!this.padding) {
2381
2404
  this.padding = "m";
2382
2405
  }
@@ -2412,9 +2435,9 @@ const _Container = class _Container extends VerticallyExtendedElement {
2412
2435
  this._bgObserver.observe(this.$el);
2413
2436
  }
2414
2437
  disconnectedCallback() {
2415
- var _a;
2438
+ var _a, _b;
2416
2439
  (_a = this._bgObserver) == null ? void 0 : _a.disconnect();
2417
- this.contentObserver.disconnect();
2440
+ (_b = this.contentObserver) == null ? void 0 : _b.disconnect();
2418
2441
  }
2419
2442
  attributeChangedCallback(attrName, oldValue, newValue) {
2420
2443
  if (oldValue !== newValue) {
@@ -2492,6 +2515,14 @@ const _Container = class _Container extends VerticallyExtendedElement {
2492
2515
  case "anchor-spacing":
2493
2516
  this.updateAnchorSpacing(oldValue, newValue, anchorSpacingValues);
2494
2517
  break;
2518
+ case "subgrid-rows":
2519
+ this.updateSubgridRows(
2520
+ attrName,
2521
+ oldValue,
2522
+ newValue,
2523
+ subgridRowsValues
2524
+ );
2525
+ break;
2495
2526
  default:
2496
2527
  super.attributeChangedCallback(attrName, oldValue, newValue);
2497
2528
  break;
@@ -2673,6 +2704,19 @@ const _Container = class _Container extends VerticallyExtendedElement {
2673
2704
  updateAnchorSpacingStyle(oldValue);
2674
2705
  updateAnchorSpacingStyle(newValue);
2675
2706
  }
2707
+ updateSubgridRows(attrName, oldValue, newValue, attrValues) {
2708
+ if (!checkName(attrValues, newValue)) {
2709
+ log(
2710
+ `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
2711
+ );
2712
+ } else {
2713
+ this.style.setProperty(`--${attrName}`, newValue);
2714
+ }
2715
+ }
2716
+ get $el() {
2717
+ var _a;
2718
+ return (_a = this == null ? void 0 : this.shadowRoot) == null ? void 0 : _a.querySelector(".container");
2719
+ }
2676
2720
  get $slotAnchor() {
2677
2721
  return this.querySelector('[slot^="anchor"]');
2678
2722
  }
@@ -3013,10 +3057,44 @@ const _Container = class _Container extends VerticallyExtendedElement {
3013
3057
  this.setAttribute("anchor-spacing", value);
3014
3058
  }
3015
3059
  get inverted() {
3016
- return this.getAttribute("inverted");
3060
+ return this.hasAttribute("inverted");
3017
3061
  }
3018
3062
  set inverted(value) {
3019
- this.setAttribute("inverted", value);
3063
+ if (value) {
3064
+ this.setAttribute("inverted", "");
3065
+ } else {
3066
+ this.removeAttribute("inverted");
3067
+ }
3068
+ }
3069
+ get subgridRows() {
3070
+ return this.getAttribute("subgrid-rows");
3071
+ }
3072
+ set subgridRows(value) {
3073
+ this.setAttribute("subgrid-rows", value);
3074
+ }
3075
+ get subgridGap() {
3076
+ return this.getAttribute("subgrid-gap");
3077
+ }
3078
+ set subgridGap(value) {
3079
+ this.setAttribute("subgrid-gap", value);
3080
+ }
3081
+ get subgridGapMobile() {
3082
+ return this.getAttribute("subgrid-gap--mobile");
3083
+ }
3084
+ set subgridGapMobile(value) {
3085
+ this.setAttribute("subgrid-gap--mobile", value);
3086
+ }
3087
+ get subgridGapTablet() {
3088
+ return this.getAttribute("subgrid-gap--tablet");
3089
+ }
3090
+ set subgridGapTablet(value) {
3091
+ this.setAttribute("subgrid-gap--tablet", value);
3092
+ }
3093
+ get subgridGapLaptop() {
3094
+ return this.getAttribute("subgrid-gap--laptop");
3095
+ }
3096
+ set subgridGapLaptop(value) {
3097
+ this.setAttribute("subgrid-gap--laptop", value);
3020
3098
  }
3021
3099
  };
3022
3100
  _Container.nativeName = "div";
@@ -3683,6 +3761,7 @@ bannerStyles.replaceSync(bannerCss);
3683
3761
  const _Banner = class _Banner extends VerticallyExtendedElement {
3684
3762
  constructor() {
3685
3763
  super(bannerStyles);
3764
+ __privateAdd(this, _Banner_instances);
3686
3765
  this.template = () => `<div class="banner">
3687
3766
  <div class="contrast-helper"></div>
3688
3767
  <px-container class="banner-container" padding--mobile="m" border-radius="main" >
@@ -3695,6 +3774,7 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3695
3774
  <slot name="title"></slot>
3696
3775
  <slot name="description"></slot>
3697
3776
  <slot name="content"></slot>
3777
+
3698
3778
  </div>
3699
3779
  </px-container>
3700
3780
  </px-grid>
@@ -3728,11 +3808,7 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3728
3808
  connectedCallback() {
3729
3809
  var _a;
3730
3810
  (_a = super.connectedCallback) == null ? void 0 : _a.call(this);
3731
- if (this.reduced) {
3732
- this.$container.setAttribute("padding", "m");
3733
- } else {
3734
- this.$container.setAttribute("padding", "l");
3735
- }
3811
+ __privateMethod(this, _Banner_instances, applyReducedPadding_fn).call(this);
3736
3812
  this.createGridTemplateAreas();
3737
3813
  this.createGridding();
3738
3814
  this.observer = new MutationObserver(() => {
@@ -3773,6 +3849,9 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3773
3849
  break;
3774
3850
  case "reduced":
3775
3851
  this.$el.toggleAttribute("reduced", newValue !== null);
3852
+ if (this.isConnected) {
3853
+ __privateMethod(this, _Banner_instances, applyReducedPadding_fn).call(this);
3854
+ }
3776
3855
  this.createGridTemplateAreas();
3777
3856
  break;
3778
3857
  case "has-gridding":
@@ -3831,20 +3910,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3831
3910
  }
3832
3911
  createGridding(value) {
3833
3912
  const breakpoints = [
3834
- { prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
3913
+ { prop: "hasGridding", gridProp: "gridCols", attr: "col-span" },
3835
3914
  {
3836
3915
  prop: "hasGriddingMobile",
3837
- gridAttr: "grid-cols--mobile",
3916
+ gridProp: "gridColsMobile",
3838
3917
  attr: "col-span--mobile"
3839
3918
  },
3840
3919
  {
3841
3920
  prop: "hasGriddingTablet",
3842
- gridAttr: "grid-cols--tablet",
3921
+ gridProp: "gridColsTablet",
3843
3922
  attr: "col-span--tablet"
3844
3923
  },
3845
3924
  {
3846
3925
  prop: "hasGriddingLaptop",
3847
- gridAttr: "grid-cols--laptop",
3926
+ gridProp: "gridColsLaptop",
3848
3927
  attr: "col-span--laptop"
3849
3928
  }
3850
3929
  ];
@@ -3852,16 +3931,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3852
3931
  "px-grid > px-container"
3853
3932
  );
3854
3933
  if (value !== null) {
3855
- breakpoints.forEach(({ prop, gridAttr, attr }) => {
3934
+ breakpoints.forEach(({ prop, gridProp, attr }) => {
3856
3935
  if (this[prop]) {
3857
- this.$grid.setAttribute(gridAttr, "3");
3858
- spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
3936
+ this.$grid[gridProp] = "3";
3937
+ spanElement.setAttribute(attr, "2");
3859
3938
  }
3860
3939
  });
3861
3940
  } else {
3862
- breakpoints.forEach(({ gridAttr, attr }) => {
3863
- this.$grid.setAttribute(gridAttr, "1");
3864
- spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
3941
+ breakpoints.forEach(({ gridProp, attr }) => {
3942
+ this.$grid[gridProp] = "1";
3943
+ spanElement.removeAttribute(attr);
3865
3944
  });
3866
3945
  }
3867
3946
  }
@@ -4003,42 +4082,48 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
4003
4082
  }
4004
4083
  }
4005
4084
  };
4085
+ _Banner_instances = new WeakSet();
4086
+ applyReducedPadding_fn = function() {
4087
+ this.$container.setAttribute("padding", this.reduced ? "m" : "l");
4088
+ };
4006
4089
  _Banner.nativeName = "div";
4007
4090
  let Banner = _Banner;
4008
4091
  if (!customElements.get("px-banner")) {
4009
4092
  customElements.define("px-banner", Banner);
4010
4093
  }
4011
4094
  const breadcrumbCss = `:host{display:block}:host *{box-sizing:border-box}.breadcrumb{font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);margin:calc(var(--px-spacing-s-mobile) * -1) 0 0 0;padding:0}.breadcrumb div[role=list]{display:flex;flex-wrap:wrap;align-items:center}.breadcrumb ::slotted(px-breadcrumb-item){margin-top:var(--px-spacing-s-mobile)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)){display:flex;align-items:center;margin-right:var(--px-spacing-xs-mobile)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)):after{display:inline-block;content:"";width:16px;height:16px;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.90255 3.61987C5.6515 3.8749 5.6515 4.2884 5.90255 4.54343L9.30512 8.00002L5.90255 11.4566C5.6515 11.7116 5.6515 12.1251 5.90255 12.3802C6.1536 12.6352 6.56063 12.6352 6.81169 12.3802L10.6688 8.4618C10.9199 8.20677 10.9199 7.79327 10.6688 7.53823L6.81169 3.61987C6.56063 3.36483 6.1536 3.36483 5.90255 3.61987Z' fill='%23252525'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.90255 3.61987C5.6515 3.8749 5.6515 4.2884 5.90255 4.54343L9.30512 8.00002L5.90255 11.4566C5.6515 11.7116 5.6515 12.1251 5.90255 12.3802C6.1536 12.6352 6.56063 12.6352 6.81169 12.3802L10.6688 8.4618C10.9199 8.20677 10.9199 7.79327 10.6688 7.53823L6.81169 3.61987C6.56063 3.36483 6.1536 3.36483 5.90255 3.61987Z' fill='%23252525'/%3E%3C/svg%3E");background-color:currentColor;color:var(--px-color-icon-neutral-default);margin-left:var(--px-spacing-xs-mobile)}@media only screen and (min-width: 48em){.breadcrumb{margin:calc(var(--px-spacing-s-tablet) * -1) 0 0 0}.breadcrumb ::slotted(px-breadcrumb-item){margin-top:var(--px-spacing-s-tablet)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)){margin-right:var(--px-spacing-xs-tablet)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)):after{margin-left:var(--px-spacing-xs-tablet)}}@media only screen and (min-width: 64.0625em){.breadcrumb{margin:calc(var(--px-spacing-s-laptop) * -1) 0 0 0}.breadcrumb ::slotted(px-breadcrumb-item){margin-top:var(--px-spacing-s-laptop)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)){margin-right:var(--px-spacing-xs-laptop)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)):after{margin-left:var(--px-spacing-xs-laptop)}}@media only screen and (min-width: 90.0625em){.breadcrumb{margin:calc(var(--px-spacing-s-desktop) * -1) 0 0 0}.breadcrumb ::slotted(px-breadcrumb-item){margin-top:var(--px-spacing-s-desktop)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)){margin-right:var(--px-spacing-xs-desktop)}.breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)):after{margin-left:var(--px-spacing-xs-desktop)}}:host([inverted]) .breadcrumb{color:var(--px-color-text-neutral-inverted)}:host([inverted]) .breadcrumb ::slotted(px-breadcrumb-item:not(:last-child)):after{color:var(--px-color-icon-neutral-inverted)}`;
4012
- const breadcrumbStyles = new CSSStyleSheet();
4013
- breadcrumbStyles.replaceSync(breadcrumbCss);
4014
- class Breadcrumb extends WithExtraAttributes {
4015
- template() {
4016
- return `
4017
- <nav class="breadcrumb">
4018
- <div role="list">
4019
- <slot></slot>
4020
- </div>
4021
- </nav>
4022
- `;
4023
- }
4095
+ const breadcrumbItemCss = ":host{display:block}:host *{box-sizing:border-box}.breadcrumb-item{display:flex}:host:has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item{color:var(--px-color-icon-accent-default)}:host:has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item:hover{color:var(--px-color-text-state-hover-default)}:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{line-height:var(--px-font-line-height-s);font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{font-size:var(--px-text-size-link-s-tablet)}}@media only screen and (min-width: 64.0625em){:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{font-size:var(--px-text-size-link-s-laptop)}}@media only screen and (min-width: 90.0625em){:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{font-size:var(--px-text-size-link-s-desktop)}}:host([inverted]):has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item{color:var(--px-color-icon-accent-inverted)}:host([inverted]):has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item:hover{color:var(--px-color-text-state-hover-inverted)}";
4096
+ const breadcrumbItemStyles = new CSSStyleSheet();
4097
+ breadcrumbItemStyles.replaceSync(breadcrumbItemCss);
4098
+ const BREADCRUMB_ITEM_CONNECTED_EVENT = "px-breadcrumb-item-connected";
4099
+ const _BreadcrumbItem = class _BreadcrumbItem extends PxElement {
4024
4100
  constructor() {
4025
- super(breadcrumbStyles);
4026
- this.shadowRoot.innerHTML = this.template();
4027
- }
4028
- connectedCallback() {
4029
- if (!this.ariaLabel) {
4030
- this.ariaLabel = "Breadcrumb";
4101
+ super(breadcrumbItemStyles);
4102
+ this.template = () => `<div class="breadcrumb-item" role="listitem"><slot></slot></div>`;
4103
+ if (this.shadowRoot) {
4104
+ this.shadowRoot.innerHTML = this.template();
4031
4105
  }
4032
4106
  }
4033
4107
  static get observedAttributes() {
4034
- return [...super.observedAttributes, "inverted", "aria-label"];
4108
+ return [...super.observedAttributes, "inverted"];
4109
+ }
4110
+ connectedCallback() {
4111
+ if (this.$icon) {
4112
+ this.$icon.setAttribute("size", "s");
4113
+ }
4114
+ if (!this.$link) {
4115
+ this.$el.setAttribute("aria-current", "page");
4116
+ }
4117
+ this.dispatchEvent(
4118
+ new CustomEvent(BREADCRUMB_ITEM_CONNECTED_EVENT, {
4119
+ bubbles: true,
4120
+ composed: true
4121
+ })
4122
+ );
4035
4123
  }
4036
4124
  attributeChangedCallback(attrName, oldValue, newValue) {
4037
4125
  if (oldValue !== newValue) {
4038
4126
  switch (attrName) {
4039
- case "aria-label":
4040
- this.$el.setAttribute("aria-label", this.ariaLabel);
4041
- break;
4042
4127
  case "inverted":
4043
4128
  for (let i = 0; i < this.$children.length; i++) {
4044
4129
  if (!this.$children[i].hasAttribute("inverted")) {
@@ -4052,11 +4137,14 @@ class Breadcrumb extends WithExtraAttributes {
4052
4137
  }
4053
4138
  }
4054
4139
  }
4055
- get $el() {
4056
- return this.shadowRoot.querySelector(".breadcrumb");
4140
+ get $link() {
4141
+ return this.querySelector("px-a");
4142
+ }
4143
+ get $icon() {
4144
+ return this.querySelector("px-icon");
4057
4145
  }
4058
4146
  get $children() {
4059
- return this.querySelectorAll("px-breadcrumb > *");
4147
+ return this.querySelectorAll("px-breadcrumb-item > *");
4060
4148
  }
4061
4149
  get inverted() {
4062
4150
  return this.hasAttribute("inverted");
@@ -4068,50 +4156,50 @@ class Breadcrumb extends WithExtraAttributes {
4068
4156
  this.removeAttribute("inverted");
4069
4157
  }
4070
4158
  }
4071
- get ariaLabel() {
4072
- return this.getAttribute("aria-label");
4073
- }
4074
- set ariaLabel(value) {
4075
- if (value) {
4076
- this.setAttribute("aria-label", value);
4077
- } else {
4078
- this.removeAttribute("aria-label");
4079
- }
4080
- }
4081
- }
4082
- if (!customElements.get("px-breadcrumb")) {
4083
- customElements.define("px-breadcrumb", Breadcrumb);
4159
+ };
4160
+ _BreadcrumbItem.nativeName = "div";
4161
+ let BreadcrumbItem = _BreadcrumbItem;
4162
+ if (!customElements.get("px-breadcrumb-item")) {
4163
+ customElements.define("px-breadcrumb-item", BreadcrumbItem);
4084
4164
  }
4085
- const breadcrumbItemCss = ":host{display:block}:host *{box-sizing:border-box}.breadcrumb-item{display:flex}:host:has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item{color:var(--px-color-icon-accent-default)}:host:has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item:hover{color:var(--px-color-text-state-hover-default)}:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{line-height:var(--px-font-line-height-s);font-size:var(--px-text-size-link-s-mobile)}@media only screen and (min-width: 48em){:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{font-size:var(--px-text-size-link-s-tablet)}}@media only screen and (min-width: 64.0625em){:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{font-size:var(--px-text-size-link-s-laptop)}}@media only screen and (min-width: 90.0625em){:host:not(:has(px-a[variant=icon-link][color=inherit])) .breadcrumb-item{font-size:var(--px-text-size-link-s-desktop)}}:host([inverted]):has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item{color:var(--px-color-icon-accent-inverted)}:host([inverted]):has(px-a[variant=icon-link][color=inherit]) .breadcrumb-item:hover{color:var(--px-color-text-state-hover-inverted)}";
4086
- const breadcrumbItemStyles = new CSSStyleSheet();
4087
- breadcrumbItemStyles.replaceSync(breadcrumbItemCss);
4088
- const _BreadcrumbItem = class _BreadcrumbItem extends PxElement {
4165
+ const breadcrumbStyles = new CSSStyleSheet();
4166
+ breadcrumbStyles.replaceSync(breadcrumbCss);
4167
+ class Breadcrumb extends WithExtraAttributes {
4089
4168
  constructor() {
4090
- super(breadcrumbItemStyles);
4091
- this.template = () => `<div class="breadcrumb-item" role="listitem"><slot></slot></div>`;
4092
- if (this.shadowRoot) {
4093
- this.shadowRoot.innerHTML = this.template();
4094
- }
4169
+ super(breadcrumbStyles);
4170
+ __privateAdd(this, _Breadcrumb_instances);
4171
+ this.shadowRoot.innerHTML = this.template();
4095
4172
  }
4096
- static get observedAttributes() {
4097
- return [...super.observedAttributes, "inverted"];
4173
+ template() {
4174
+ return `
4175
+ <nav class="breadcrumb">
4176
+ <div role="list">
4177
+ <slot></slot>
4178
+ </div>
4179
+ </nav>
4180
+ `;
4098
4181
  }
4099
4182
  connectedCallback() {
4100
- if (this.$icon) {
4101
- this.$icon.setAttribute("size", "s");
4102
- }
4103
- if (!this.$link) {
4104
- this.$el.setAttribute("aria-current", "page");
4183
+ if (!this.ariaLabel) {
4184
+ this.ariaLabel = "Breadcrumb";
4105
4185
  }
4186
+ this.addEventListener(BREADCRUMB_ITEM_CONNECTED_EVENT, () => {
4187
+ __privateMethod(this, _Breadcrumb_instances, applyInverted_fn).call(this);
4188
+ });
4189
+ __privateMethod(this, _Breadcrumb_instances, applyInverted_fn).call(this);
4190
+ }
4191
+ static get observedAttributes() {
4192
+ return [...super.observedAttributes, "inverted", "aria-label"];
4106
4193
  }
4107
4194
  attributeChangedCallback(attrName, oldValue, newValue) {
4108
4195
  if (oldValue !== newValue) {
4109
4196
  switch (attrName) {
4197
+ case "aria-label":
4198
+ this.$el.setAttribute("aria-label", this.ariaLabel);
4199
+ break;
4110
4200
  case "inverted":
4111
- for (let i = 0; i < this.$children.length; i++) {
4112
- if (!this.$children[i].hasAttribute("inverted")) {
4113
- this.$children[i].toggleAttribute("inverted");
4114
- }
4201
+ if (this.isConnected) {
4202
+ __privateMethod(this, _Breadcrumb_instances, applyInverted_fn).call(this);
4115
4203
  }
4116
4204
  break;
4117
4205
  default:
@@ -4120,14 +4208,11 @@ const _BreadcrumbItem = class _BreadcrumbItem extends PxElement {
4120
4208
  }
4121
4209
  }
4122
4210
  }
4123
- get $link() {
4124
- return this.querySelector("px-a");
4125
- }
4126
- get $icon() {
4127
- return this.querySelector("px-icon");
4211
+ get $el() {
4212
+ return this.shadowRoot.querySelector(".breadcrumb");
4128
4213
  }
4129
4214
  get $children() {
4130
- return this.querySelectorAll("px-breadcrumb-item > *");
4215
+ return this.querySelectorAll("px-breadcrumb > *");
4131
4216
  }
4132
4217
  get inverted() {
4133
4218
  return this.hasAttribute("inverted");
@@ -4139,11 +4224,26 @@ const _BreadcrumbItem = class _BreadcrumbItem extends PxElement {
4139
4224
  this.removeAttribute("inverted");
4140
4225
  }
4141
4226
  }
4227
+ get ariaLabel() {
4228
+ return this.getAttribute("aria-label");
4229
+ }
4230
+ set ariaLabel(value) {
4231
+ if (value) {
4232
+ this.setAttribute("aria-label", value);
4233
+ } else {
4234
+ this.removeAttribute("aria-label");
4235
+ }
4236
+ }
4237
+ }
4238
+ _Breadcrumb_instances = new WeakSet();
4239
+ applyInverted_fn = function() {
4240
+ const on = this.hasAttribute("inverted");
4241
+ for (let i = 0; i < this.$children.length; i++) {
4242
+ this.$children[i].toggleAttribute("inverted", on);
4243
+ }
4142
4244
  };
4143
- _BreadcrumbItem.nativeName = "div";
4144
- let BreadcrumbItem = _BreadcrumbItem;
4145
- if (!customElements.get("px-breadcrumb-item")) {
4146
- customElements.define("px-breadcrumb-item", BreadcrumbItem);
4245
+ if (!customElements.get("px-breadcrumb")) {
4246
+ customElements.define("px-breadcrumb", Breadcrumb);
4147
4247
  }
4148
4248
  const buttonCss = `.btn{width:var(--button-extended--mobile, var(--button-extended, auto));display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-title);text-align:center;gap:var(--px-spacing-2xs-mobile);cursor:pointer;text-decoration:none;--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition);border:var(--px-size-border-m) solid transparent}.btn,.btn *{box-sizing:border-box}.btn ::slotted(px-icon){line-height:0}.btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-default)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn:active:not([disabled],[aria-disabled=true],.loading){transform:scale(.95);border-color:var(--px-color-border-state-active-default);color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn[disabled],.btn[aria-disabled=true]{cursor:default;pointer-events:none}.btn.loading{cursor:inherit}.btn.loading ::slotted(px-spinner){line-height:0}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-primary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-mobile) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[disabled],.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown)[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown).loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn.secondary{color:var(--px-color-text-brand-default);background:var(--px-color-background-container-secondary-default);min-height:var(--px-spacing-l-mobile);padding:var(--px-padding-xs-mobile) var(--px-padding-m-mobile);border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.secondary[disabled],.btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.secondary.loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-brand-default);border-color:transparent}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn.tertiary{background:none;color:var(--px-color-text-brand-default);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid transparent;padding:var(--px-padding-2xs-mobile) 0;gap:var(--px-spacing-xs-mobile)}.btn.tertiary ::slotted(px-icon){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-container-secondary-default);transition:var(--btn-transition)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-mobile) var(--px-padding-s-mobile)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),.btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent;margin:0 -8px;width:inherit;height:inherit}.btn.tertiary[disabled],.btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-default)}.btn.tertiary[disabled] ::slotted(px-icon),.btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-default)}.btn.tertiary.loading{color:var(--px-color-text-brand-default);border-color:transparent}.btn.tertiary.loading ::slotted(px-spinner){display:flex;align-items:center;justify-content:center;width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);padding:4px;border-radius:var(--px-radius-pill);background:var(--px-color-background-state-disabled-default)}.btn.patch{display:inline-flex}.btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.patch[disabled],.btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default)}.btn.actionable-tag{background:var(--px-color-background-container-default-inverted);color:var(--px-color-text-neutral-default);padding:var(--px-padding-2xs-mobile) var(--px-padding-xs-mobile);gap:var(--px-spacing-xs-mobile);border-radius:var(--px-radius-pill);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default)}.btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-default);background:var(--px-color-background-state-hover-bordered-default)}.btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-default);color:var(--px-color-text-state-active-inverted);border-color:var(--px-color-border-none-default)}.btn.actionable-tag[disabled],.btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-text-state-disabled-default);border-color:var(--px-color-border-none-default)}.btn.header-dropdown{display:flex;justify-content:space-between;gap:var(--px-spacing-s-mobile);width:100%;color:var(--px-color-text-neutral-default);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);border:var(--px-size-border-m) solid var(--px-color-border-neutral-default);padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);border-radius:var(--px-radius-main);background-color:var(--px-color-background-container-default-default);touch-action:manipulation}.btn.header-dropdown:after{display:inline-block;content:"";width:var(--px-size-icon-xs);height:var(--px-size-icon-xs);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' fill='%235C2D91'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.38 5.90237C12.125 5.65131 11.7115 5.65131 11.4564 5.90237L7.99986 9.30494L4.54328 5.90237C4.28824 5.65131 3.87474 5.65131 3.61971 5.90237C3.36467 6.15342 3.36467 6.56045 3.61971 6.8115L7.53808 10.6686C7.79311 10.9197 8.20661 10.9197 8.46164 10.6686L12.38 6.8115C12.635 6.56045 12.635 6.15342 12.38 5.90237Z' fill='%235C2D91'/%3E%3C/svg%3E");background-color:currentColor;color:var(--px-color-icon-brand-default);--btn-transition: all .2s ease-in-out 0s;transition:var(--btn-transition)}.btn.header-dropdown[aria-expanded=true]:after{transform:rotate(180deg)}button.link{background:none;border:none;text-decoration:underline;padding:0;cursor:pointer}button.link[disabled],button.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}:host([inverted]) .btn:hover:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn:active:not([disabled],[aria-disabled=true],.loading){border-color:var(--px-color-border-state-active-inverted);color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag){color:var(--px-color-text-brand-default);background:var(--px-color-background-container-primary-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag):hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[disabled],:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag)[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn:not(.secondary,.tertiary,.patch,.actionable-tag).loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.secondary{color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.secondary:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .btn.secondary[disabled],:host([inverted]) .btn.secondary[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.secondary.loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-brand-inverted);border-color:transparent}:host([inverted]) .btn.tertiary{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary ::slotted(px-icon){background:var(--px-color-background-container-secondary-inverted)}:host([inverted]) .btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon),:host([inverted]) .btn.tertiary:active:not([disabled],[aria-disabled=true],.loading) ::slotted(px-icon){background:transparent}:host([inverted]) .btn.tertiary[disabled],:host([inverted]) .btn.tertiary[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.tertiary[disabled] ::slotted(px-icon),:host([inverted]) .btn.tertiary[aria-disabled=true] ::slotted(px-icon){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.tertiary.loading{color:var(--px-color-text-brand-inverted)}:host([inverted]) .btn.tertiary.loading ::slotted(px-spinner){background:var(--px-color-background-state-disabled-inverted)}:host([inverted]) .btn.patch:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted)}:host([inverted]) .btn.patch[disabled],:host([inverted]) .btn.patch[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) .btn.actionable-tag{background:var(--px-color-background-container-default-default);color:var(--px-color-text-brand-inverted);border-color:var(--px-color-border-neutral-inverted)}:host([inverted]) .btn.actionable-tag:hover:not([disabled],[aria-disabled=true],.loading){color:var(--px-color-text-brand-inverted);background:var(--px-color-background-state-hover-bordered-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn.actionable-tag:active:not([disabled],[aria-disabled=true],.loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-text-state-active-default);border-color:var(--px-color-border-none-inverted)}:host([inverted]) .btn.actionable-tag[disabled],:host([inverted]) .btn.actionable-tag[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-text-state-disabled-inverted);border-color:var(--px-color-border-none-default)}:host([inverted]) button.link[disabled],:host([inverted]) button.link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}@media only screen and (max-width: 47.938em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--mobile=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em) and (max-width: 64em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--tablet=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 48em){.btn{width:var(--button-extended--tablet, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{justify-content:flex-start;align-items:center;gap:var(--px-spacing-xs-tablet);width:inherit;color:var(--px-color-text-brand-default);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-tablet);border:none;padding:0;border-radius:0;background:none}}@media only screen and (min-width: 64.0625em) and (max-width: 90em){.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--laptop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}}@media only screen and (min-width: 64.0625em){.btn{width:var(--button-extended--laptop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-laptop);gap:var(--px-spacing-2xs-laptop)}.btn:focus-visble:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}.btn.actionable-tag{padding:var(--px-padding-2xs-laptop) var(--px-padding-xs-laptop);gap:var(--px-spacing-xs-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-laptop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-laptop) * -1)}.btn.secondary{padding:var(--px-padding-xs-laptop) var(--px-padding-m-laptop)}.btn.tertiary{padding:var(--px-padding-2xs-laptop) 0;gap:var(--px-spacing-xs-laptop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-laptop) var(--px-padding-s-laptop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{gap:var(--px-spacing-xs-laptop);font-size:var(--px-text-size-label-m-laptop);padding:0}}@media only screen and (min-width: 90.0625em){.btn{width:var(--button-extended--desktop, var(--button-extended, auto));font-size:var(--px-text-size-label-m-desktop);gap:var(--px-spacing-2xs-desktop)}.btn:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn.actionable-tag{padding:var(--px-padding-2xs-desktop) var(--px-padding-xs-desktop);gap:var(--px-spacing-xs-desktop)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=alternative]{border-radius:var(--px-radius-button-small)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-left]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big)}.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=bottom-right],.btn:not(.tertiary,.patch,.actionable-tag,.header-dropdown)[shape--desktop=default]{border-radius:var(--px-radius-button-small) var(--px-radius-button-small) var(--px-radius-button-big) var(--px-radius-button-small)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown){padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="after"]){margin-right:calc(var(--px-padding-xs-desktop) * -1)}.btn:not(.secondary,.tertiary,.patch,.actionable-tag,.header-dropdown) ::slotted([slot="before"]){margin-left:calc(var(--px-padding-xs-desktop) * -1)}.btn.secondary{padding:var(--px-padding-xs-desktop) var(--px-padding-m-desktop)}.btn.tertiary{padding:var(--px-padding-2xs-desktop) 0;gap:var(--px-spacing-xs-desktop)}.btn.tertiary ::slotted(px-icon){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.tertiary:hover:not([disabled],[aria-disabled=true],.loading){padding:var(--px-padding-2xs-desktop) var(--px-padding-s-desktop)}.btn.tertiary.loading ::slotted(px-spinner){width:var(--px-size-icon-xs);height:var(--px-size-icon-xs)}.btn.header-dropdown{gap:var(--px-spacing-xs-desktop);font-size:var(--px-text-size-label-m-desktop);padding:0}}@keyframes anim-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`;
4149
4249
  const linkCss = ':host([variant="icon-link"]){display:inline-flex}a,.link,::slotted(a){display:inline;align-items:center;font-family:var(--px-font-family);font-size:var(--px-text-size-link-m-mobile);line-height:var(--px-line-height-ratio-l);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}a:hover,.link:hover{color:var(--px-color-text-state-hover-default)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}a[aria-disabled=true],.link[aria-disabled=true]{cursor:default;pointer-events:none;color:var(--px-color-text-state-disabled-default)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a ::slotted(span[slot="after"]),a ::slotted(span[slot="before"]),.link ::slotted(span[slot="after"]),.link ::slotted(span[slot="before"]){display:inline-block}::slotted(a:hover){color:var(--px-color-text-state-hover-default)}a.no-style{text-decoration:none}a.no-style:hover,a.no-style:focus-visible{color:inherit}a.skip-link{position:absolute;left:-10000px;top:auto;overflow:hidden;background-color:var(--px-color-background-container-default-default);padding:var(--px-padding-xs-mobile)}a.skip-link:focus-visible{left:auto;z-index:999}:host([target="_blank"]) ::slotted(px-icon){vertical-align:middle}.icon-link{color:var(--px-color-icon-brand-default);line-height:1;display:inline-flex}:host([inverted]) a,:host([inverted]) .link,:host([inverted]) ::slotted(a){color:var(--px-color-text-neutral-inverted)}:host([inverted]) a:hover,:host([inverted]) .link:hover{color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a:focus-visible,:host([inverted]) .link:focus-visible{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) a[aria-disabled=true],:host([inverted]) .link[aria-disabled=true]{color:var(--px-color-text-state-disabled-inverted)}:host([inverted]) ::slotted(a:hover){color:var(--px-color-text-state-hover-inverted)}:host([inverted]) a.skip-link{background-color:var(--px-color-background-container-default-inverted)}:host([inverted]) .icon-link{color:var(--px-color-icon-brand-inverted)}@media only screen and (min-width: 768px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-tablet)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-tablet)}a.skip-link{padding:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 1025px){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-laptop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a.skip-link{padding:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){a,.link,::slotted(a){font-size:var(--px-text-size-link-m-desktop)}a:focus-visible,.link:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}a ::slotted([slot="after"]),.link ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a.skip-link{padding:var(--px-padding-xs-desktop)}}';
@@ -5228,12 +5328,14 @@ function throttle(func, wait, options) {
5228
5328
  }
5229
5329
  const styleSheet$w = new CSSStyleSheet();
5230
5330
  styleSheet$w.replaceSync(styles$D);
5331
+ const CAROUSEL_ITEM_CONNECTED_EVENT = "px-carousel-item-connected";
5231
5332
  const attributeBreakpointCSSSelector = (attributeName, attributeValue, device) => `:host([${attributeName}${device ? `--${device}` : ""}='${attributeValue}']) .carousel`;
5232
5333
  const prefix = "px-spacing";
5233
5334
  const visibleItemCalcFunction = (spacingToken) => (numberOfItems, device) => `calc(((100% - ${Math.max(parseInt(numberOfItems), 2)} * ( var(--px-spacing-${spacingToken}-${device}))) / ${numberOfItems}) - ( 64px / ${Math.max(parseInt(numberOfItems), 2)}))`;
5234
5335
  class Carousel extends HTMLElement {
5235
5336
  constructor() {
5236
5337
  super();
5338
+ __privateAdd(this, _Carousel_instances);
5237
5339
  this.visibleItemsAttributeDelegate = new AttributeBreakpointHandlerDelegate(
5238
5340
  this,
5239
5341
  "visible-items",
@@ -5327,10 +5429,10 @@ class Carousel extends HTMLElement {
5327
5429
  this.visibleItemsAttributeDelegate.attributeValue = visibleItemCalcFunction(
5328
5430
  this.getAttribute("gap") || "s"
5329
5431
  );
5330
- requestAnimationFrame(() => {
5331
- this.handleAppleSeedDisplay();
5432
+ this.addEventListener(CAROUSEL_ITEM_CONNECTED_EVENT, () => {
5433
+ __privateMethod(this, _Carousel_instances, syncItems_fn).call(this);
5332
5434
  });
5333
- this.$appleseed.setAttribute("amount", `${this.itemNumbers}`);
5435
+ __privateMethod(this, _Carousel_instances, syncItems_fn).call(this);
5334
5436
  this.$carousel.addEventListener("scroll", throttle(this.onScroll, 500));
5335
5437
  this.$previous.addEventListener("click", () => {
5336
5438
  this.$carousel.scrollLeft -= this.$carousel.clientWidth;
@@ -5389,6 +5491,13 @@ class Carousel extends HTMLElement {
5389
5491
  return this.querySelectorAll("px-carousel-item").length;
5390
5492
  }
5391
5493
  }
5494
+ _Carousel_instances = new WeakSet();
5495
+ syncItems_fn = function() {
5496
+ this.$appleseed.setAttribute("amount", `${this.itemNumbers}`);
5497
+ requestAnimationFrame(() => {
5498
+ this.handleAppleSeedDisplay();
5499
+ });
5500
+ };
5392
5501
  if (!customElements.get("px-carousel")) {
5393
5502
  customElements.define("px-carousel", Carousel);
5394
5503
  }
@@ -5405,6 +5514,14 @@ class CarouselItem extends HTMLElement {
5405
5514
  this.shadowRoot.innerHTML = this.template;
5406
5515
  this.shadowRoot.adoptedStyleSheets = [styleSheet$w, itemStyleSheet];
5407
5516
  }
5517
+ connectedCallback() {
5518
+ this.dispatchEvent(
5519
+ new CustomEvent(CAROUSEL_ITEM_CONNECTED_EVENT, {
5520
+ bubbles: true,
5521
+ composed: true
5522
+ })
5523
+ );
5524
+ }
5408
5525
  }
5409
5526
  if (!customElements.get("px-carousel-item")) {
5410
5527
  customElements.define("px-carousel-item", CarouselItem);
@@ -6885,7 +7002,7 @@ class CellSwitch extends WithExtraAttributes {
6885
7002
  return `
6886
7003
  <div class="cell-switch">
6887
7004
  <px-cell hoverable>
6888
- <px-switch slot="action-indicator" inert></px-switch>
7005
+ <px-switch slot="action-indicator" aria-hidden="true" tabindex="-1"></px-switch>
6889
7006
  <slot name="visual" slot="visual"></slot>
6890
7007
  <slot name="label" slot="label"></slot>
6891
7008
  <slot name="description" slot="description"></slot>
@@ -7779,7 +7896,7 @@ class CellRadio extends WithExtraAttributes {
7779
7896
  return `
7780
7897
  <div class="cell-radio">
7781
7898
  <px-cell hoverable>
7782
- <px-radio slot="prefix" inert></px-radio>
7899
+ <px-radio slot="prefix" aria-hidden="true" tabindex="-1"></px-radio>
7783
7900
  <slot name="visual" slot="visual"></slot>
7784
7901
  <slot name="label" slot="label"></slot>
7785
7902
  <slot name="description" slot="description"></slot>
@@ -7795,7 +7912,7 @@ class CellRadio extends WithExtraAttributes {
7795
7912
  }
7796
7913
  connectedCallback() {
7797
7914
  var _a;
7798
- this.tabIndex = ((_a = this.parentElement) == null ? void 0 : _a.firstElementChild) === this ? 0 : -1;
7915
+ this.tabIndex = ((_a = this.parentElement) == null ? void 0 : _a.querySelector("px-cell-radio")) === this ? 0 : -1;
7799
7916
  this.role = "radio";
7800
7917
  if (this.internals) {
7801
7918
  this.internals.role = "radio";
@@ -8304,8 +8421,6 @@ const _ColorOptionLink = class _ColorOptionLink extends PxElement {
8304
8421
  this.shadowRoot.appendChild($root);
8305
8422
  }
8306
8423
  connectedCallback() {
8307
- if (this.deviceColor)
8308
- this.$colorOption.setAttribute("device-color", this.deviceColor);
8309
8424
  this.addEventListener("click", (e) => {
8310
8425
  e.preventDefault();
8311
8426
  this.clickColorOptionLink();
@@ -9056,20 +9171,20 @@ const _ContentHeader = class _ContentHeader extends PxElement {
9056
9171
  }
9057
9172
  createGridding(value) {
9058
9173
  const breakpoints = [
9059
- { prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
9174
+ { prop: "hasGridding", gridProp: "gridCols", attr: "col-span" },
9060
9175
  {
9061
9176
  prop: "hasGriddingMobile",
9062
- gridAttr: "grid-cols--mobile",
9177
+ gridProp: "gridColsMobile",
9063
9178
  attr: "col-span--mobile"
9064
9179
  },
9065
9180
  {
9066
9181
  prop: "hasGriddingTablet",
9067
- gridAttr: "grid-cols--tablet",
9182
+ gridProp: "gridColsTablet",
9068
9183
  attr: "col-span--tablet"
9069
9184
  },
9070
9185
  {
9071
9186
  prop: "hasGriddingLaptop",
9072
- gridAttr: "grid-cols--laptop",
9187
+ gridProp: "gridColsLaptop",
9073
9188
  attr: "col-span--laptop"
9074
9189
  }
9075
9190
  ];
@@ -9077,16 +9192,16 @@ const _ContentHeader = class _ContentHeader extends PxElement {
9077
9192
  "px-grid > px-container"
9078
9193
  );
9079
9194
  if (value !== null) {
9080
- breakpoints.forEach(({ prop, gridAttr, attr }) => {
9195
+ breakpoints.forEach(({ prop, gridProp, attr }) => {
9081
9196
  if (this[prop]) {
9082
- this.$grid.setAttribute(gridAttr, "3");
9083
- spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
9197
+ this.$grid[gridProp] = "3";
9198
+ spanElement.setAttribute(attr, "2");
9084
9199
  }
9085
9200
  });
9086
9201
  } else {
9087
- breakpoints.forEach(({ gridAttr, attr }) => {
9088
- this.$grid.setAttribute(gridAttr, "1");
9089
- spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
9202
+ breakpoints.forEach(({ gridProp, attr }) => {
9203
+ this.$grid[gridProp] = "1";
9204
+ spanElement.removeAttribute(attr);
9090
9205
  });
9091
9206
  }
9092
9207
  }
@@ -9492,19 +9607,14 @@ class Drawer extends HTMLElement {
9492
9607
  connectedCallback() {
9493
9608
  var _a;
9494
9609
  this.toggleFooterVisibility = this.toggleFooterVisibility.bind(this);
9495
- if (!this.hasAttribute("showfrom")) {
9496
- this.setAttribute("showfrom", "bottom");
9610
+ if (this.$opener) {
9611
+ this.addOpenListener();
9497
9612
  }
9498
- if (this.hasAttribute("closedby")) {
9499
- const $closer = document.querySelector(
9500
- `#${this.getAttribute("closedby")}`
9501
- );
9502
- $closer == null ? void 0 : $closer.addEventListener("click", () => {
9503
- this.hide();
9504
- });
9613
+ if (this.$closer) {
9614
+ this.addCloseListener();
9505
9615
  }
9506
- if (this.hasAttribute("openedby")) {
9507
- this.addOpenListener();
9616
+ if (!this.hasAttribute("showfrom")) {
9617
+ this.setAttribute("showfrom", "bottom");
9508
9618
  }
9509
9619
  this.$closeButton.addEventListener("click", () => {
9510
9620
  this.hide();
@@ -9516,36 +9626,56 @@ class Drawer extends HTMLElement {
9516
9626
  );
9517
9627
  }
9518
9628
  static get observedAttributes() {
9519
- return ["open", "aria-label-close-button", "openedby"];
9629
+ return ["open", "aria-label-close-button", "openedby", "closedby"];
9520
9630
  }
9521
- attributeChangedCallback(name, oldValue, newValue) {
9631
+ attributeChangedCallback(attrName, oldValue, newValue) {
9522
9632
  var _a, _b, _c;
9523
- if (name === "open") {
9524
- if (newValue !== null) {
9525
- this.show();
9526
- } else {
9527
- this.hide();
9528
- }
9529
- } else if (name === "aria-label-close-button") {
9530
- if (!newValue) {
9531
- (_a = this.$closeButton) == null ? void 0 : _a.removeAttribute("aria-label");
9532
- } else {
9533
- (_c = (_b = this.$closeButton) == null ? void 0 : _b.setAttribute) == null ? void 0 : _c.call(
9534
- _b,
9535
- "aria-label",
9536
- newValue || "Close drawer"
9537
- );
9538
- }
9539
- } else if (name === "openedby") {
9540
- this.addOpenListener();
9633
+ switch (attrName) {
9634
+ case "open":
9635
+ if (newValue !== null) {
9636
+ this.show();
9637
+ } else {
9638
+ this.hide();
9639
+ }
9640
+ break;
9641
+ case "aria-label-close-button":
9642
+ if (!newValue) {
9643
+ (_a = this.$closeButton) == null ? void 0 : _a.removeAttribute("aria-label");
9644
+ } else {
9645
+ (_c = (_b = this.$closeButton) == null ? void 0 : _b.setAttribute) == null ? void 0 : _c.call(
9646
+ _b,
9647
+ "aria-label",
9648
+ newValue || "Close drawer"
9649
+ );
9650
+ }
9651
+ break;
9652
+ case "openedby":
9653
+ if (newValue !== oldValue) {
9654
+ if (oldValue) {
9655
+ const oldOpener = document.querySelector(`#${oldValue}`);
9656
+ oldOpener == null ? void 0 : oldOpener.removeEventListener("click", () => this.show());
9657
+ }
9658
+ this.addOpenListener();
9659
+ }
9660
+ break;
9661
+ case "closedby":
9662
+ this.addCloseListener();
9663
+ break;
9541
9664
  }
9542
9665
  }
9543
9666
  disconnectedCallback() {
9544
- var _a;
9667
+ var _a, _b;
9545
9668
  (_a = this.$slotFooter) == null ? void 0 : _a.removeEventListener(
9546
9669
  "slotchange",
9547
9670
  this.toggleFooterVisibility
9548
9671
  );
9672
+ (_b = this.observer) == null ? void 0 : _b.disconnect();
9673
+ if (this.$opener) {
9674
+ this.$opener.removeEventListener("click", () => this.show());
9675
+ }
9676
+ if (this.$closer) {
9677
+ this.$closer.removeEventListener("click", () => this.hide());
9678
+ }
9549
9679
  }
9550
9680
  show() {
9551
9681
  var _a, _b;
@@ -9571,15 +9701,41 @@ class Drawer extends HTMLElement {
9571
9701
  }
9572
9702
  }
9573
9703
  addOpenListener() {
9574
- var _a, _b, _c;
9575
- if (((_a = this.$opener) == null ? void 0 : _a.getAttribute("data-has-opener")) !== "true") {
9576
- (_b = this.$opener) == null ? void 0 : _b.setAttribute("data-has-opener", "true");
9577
- (_c = this.$opener) == null ? void 0 : _c.addEventListener("click", () => this.show());
9578
- }
9579
- }
9580
- get $opener() {
9581
- return document.querySelector(
9582
- `px-button#${this.getAttribute("openedby")}`
9704
+ if (this.$opener) {
9705
+ if (this.$opener.getAttribute("data-has-opener") !== "true") {
9706
+ this.$opener.setAttribute("data-has-opener", "true");
9707
+ this.$opener.addEventListener("click", () => this.show());
9708
+ }
9709
+ } else {
9710
+ this.observer = new MutationObserver(() => {
9711
+ if (this.$opener) {
9712
+ this.observer.disconnect();
9713
+ this.observer = null;
9714
+ this.addOpenListener();
9715
+ }
9716
+ });
9717
+ this.observer.observe(document.body, {
9718
+ childList: true,
9719
+ subtree: true
9720
+ });
9721
+ }
9722
+ }
9723
+ addCloseListener() {
9724
+ var _a;
9725
+ if (this.$closer) {
9726
+ (_a = this.$closer) == null ? void 0 : _a.addEventListener("click", () => {
9727
+ this.hide();
9728
+ });
9729
+ }
9730
+ }
9731
+ get $opener() {
9732
+ return document.querySelector(
9733
+ `#${this.getAttribute("openedby")}`
9734
+ );
9735
+ }
9736
+ get $closer() {
9737
+ return document.querySelector(
9738
+ `#${this.getAttribute("closedby")}`
9583
9739
  );
9584
9740
  }
9585
9741
  get $closeButton() {
@@ -9609,10 +9765,10 @@ class Drawer extends HTMLElement {
9609
9765
  this.removeAttribute("open");
9610
9766
  }
9611
9767
  }
9612
- get ariaLabelCloseButton() {
9768
+ get AriaLabelCloseButton() {
9613
9769
  return this.getAttribute("aria-label-close-button");
9614
9770
  }
9615
- set ariaLabelCloseButton(value) {
9771
+ set AriaLabelCloseButton(value) {
9616
9772
  this.setAttribute("aria-label-close-button", value);
9617
9773
  }
9618
9774
  get openedby() {
@@ -9621,6 +9777,12 @@ class Drawer extends HTMLElement {
9621
9777
  set openedby(value) {
9622
9778
  this.setAttribute("openedby", value);
9623
9779
  }
9780
+ get closedby() {
9781
+ return this.getAttribute("closedby");
9782
+ }
9783
+ set closedby(value) {
9784
+ this.setAttribute("closedby", value);
9785
+ }
9624
9786
  }
9625
9787
  if (!customElements.get("px-drawer")) {
9626
9788
  customElements.define("px-drawer", Drawer);
@@ -11955,8 +12117,70 @@ if (!customElements.get("px-fileupload")) {
11955
12117
  customElements.define("px-fileupload", Upload);
11956
12118
  }
11957
12119
  const styles$o = ".list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}";
12120
+ const styles$n = '.list-item{display:flex;gap:var(--px-spacing-xs-mobile);align-items:flex-start;font-family:var(--px-font-family);line-height:var(--px-line-height-ratio-l);color:var(--px-color-text-neutral-default)}.list-item[inverted]{color:var(--px-color-text-neutral-inverted)}:host([variant="ul"]) .list-item,:host([variant="ol"]) .list-item{display:list-item;margin-left:var(--px-spacing-default-mobile)}:host([variant="ul"]) .list-item{list-style-type:disc}:host([variant="ol"]) .list-item{counter-set:list-item var(--item-index, 0);list-style-type:decimal}@media only screen and (min-width: 48em){.list-item{gap:var(--px-spacing-xs-tablet)}}@media only screen and (min-width: 64.0625em){.list-item{gap:var(--px-spacing-xs-laptop)}}@media only screen and (min-width: 90.0625em){.list-item{gap:var(--px-spacing-xs-desktop)}}';
11958
12121
  const styleSheet$l = new CSSStyleSheet();
11959
- styleSheet$l.replaceSync(styles$o);
12122
+ styleSheet$l.replaceSync(styles$n);
12123
+ const LIST_ITEM_CONNECTED_EVENT = "px-list-item-connected";
12124
+ const _ListItem = class _ListItem extends PxElement {
12125
+ template() {
12126
+ return `
12127
+ <div class="list-item" role="listitem">
12128
+ <slot name="icon"></slot>
12129
+ <slot name="label"></slot>
12130
+ </div>
12131
+ `;
12132
+ }
12133
+ constructor() {
12134
+ super(styleSheet$l);
12135
+ this.shadowRoot.innerHTML = this.template();
12136
+ }
12137
+ connectedCallback() {
12138
+ this.dispatchEvent(
12139
+ new CustomEvent(LIST_ITEM_CONNECTED_EVENT, {
12140
+ bubbles: true,
12141
+ composed: true
12142
+ })
12143
+ );
12144
+ }
12145
+ static get observedAttributes() {
12146
+ return ["inverted"];
12147
+ }
12148
+ // TODO: factorize code
12149
+ attributeChangedCallback(attrName, oldValue, newValue) {
12150
+ if (oldValue !== newValue) {
12151
+ switch (attrName) {
12152
+ case "inverted":
12153
+ for (let i = 0; i < this.$children.length; i++) {
12154
+ if (!this.$children[i].hasAttribute("inverted")) {
12155
+ this.$children[i].toggleAttribute("inverted");
12156
+ }
12157
+ }
12158
+ this.$el.toggleAttribute("inverted", newValue !== null);
12159
+ break;
12160
+ }
12161
+ }
12162
+ }
12163
+ get $children() {
12164
+ return this.querySelectorAll("px-list-item > *");
12165
+ }
12166
+ get inverted() {
12167
+ return this.hasAttribute("inverted");
12168
+ }
12169
+ set inverted(value) {
12170
+ if (value) {
12171
+ this.setAttribute("inverted", "");
12172
+ } else {
12173
+ this.removeAttribute("inverted");
12174
+ }
12175
+ }
12176
+ };
12177
+ _ListItem.nativeName = "div";
12178
+ let ListItem = _ListItem;
12179
+ if (!customElements.get("px-list-item")) {
12180
+ customElements.define("px-list-item", ListItem);
12181
+ }
12182
+ const styleSheet$k = new CSSStyleSheet();
12183
+ styleSheet$k.replaceSync(styles$o);
11960
12184
  const listVariantValues = ["", "ul", "ol"];
11961
12185
  const AttributeBreakpointCSSSelector = (attributeName, attributeValue, device) => `:host([${attributeName}${device ? `--${device}` : ""}='${attributeValue}']) .list`;
11962
12186
  const gapPrefix = "px-spacing";
@@ -11968,6 +12192,11 @@ const listCssTokenBreakpoints = cssTokenBreakpoints(
11968
12192
  "--list-gap"
11969
12193
  );
11970
12194
  const _List = class _List extends PxElement {
12195
+ constructor() {
12196
+ super(styleSheet$k, listCssTokenBreakpoints);
12197
+ __privateAdd(this, _List_instances);
12198
+ this.shadowRoot.innerHTML = this.template();
12199
+ }
11971
12200
  template() {
11972
12201
  return `
11973
12202
  <div class="list" role="list">
@@ -11975,10 +12204,6 @@ const _List = class _List extends PxElement {
11975
12204
  </div>
11976
12205
  `;
11977
12206
  }
11978
- constructor() {
11979
- super(styleSheet$l, listCssTokenBreakpoints);
11980
- this.shadowRoot.innerHTML = this.template();
11981
- }
11982
12207
  static get observedAttributes() {
11983
12208
  return ["inverted", "variant"];
11984
12209
  }
@@ -11986,17 +12211,18 @@ const _List = class _List extends PxElement {
11986
12211
  if (!this.gap) {
11987
12212
  this.gap = "xs";
11988
12213
  }
12214
+ this.addEventListener(LIST_ITEM_CONNECTED_EVENT, () => {
12215
+ __privateMethod(this, _List_instances, syncChildren_fn).call(this);
12216
+ });
12217
+ __privateMethod(this, _List_instances, syncChildren_fn).call(this);
11989
12218
  }
11990
12219
  attributeChangedCallback(attrName, oldValue, newValue) {
11991
12220
  if (oldValue !== newValue) {
11992
12221
  switch (attrName) {
11993
12222
  case "inverted":
11994
- for (let i = 0; i < this.$children.length; i++) {
11995
- if (!this.$children[i].hasAttribute("inverted")) {
11996
- this.$children[i].toggleAttribute("inverted");
11997
- }
12223
+ if (this.isConnected) {
12224
+ __privateMethod(this, _List_instances, applyInverted_fn2).call(this);
11998
12225
  }
11999
- this.$el.toggleAttribute("inverted", newValue !== null);
12000
12226
  break;
12001
12227
  case "variant":
12002
12228
  if (!this.checkName(listVariantValues, newValue)) {
@@ -12004,19 +12230,8 @@ const _List = class _List extends PxElement {
12004
12230
  `${newValue} is not an allowed variant value for ${this.tagName.toLowerCase()}`
12005
12231
  );
12006
12232
  }
12007
- for (let i = 0; i < this.$children.length; i++) {
12008
- const child = this.$children[i];
12009
- if (newValue !== null) {
12010
- child.setAttribute("variant", newValue);
12011
- if (newValue === "ol") {
12012
- child.style.setProperty("--item-index", String(i + 1));
12013
- } else {
12014
- child.style.removeProperty("--item-index");
12015
- }
12016
- } else {
12017
- child.removeAttribute("variant");
12018
- child.style.removeProperty("--item-index");
12019
- }
12233
+ if (this.isConnected) {
12234
+ __privateMethod(this, _List_instances, applyVariant_fn).call(this, newValue);
12020
12235
  }
12021
12236
  super.attributeChangedCallback(attrName, oldValue, newValue);
12022
12237
  break;
@@ -12100,63 +12315,39 @@ const _List = class _List extends PxElement {
12100
12315
  }
12101
12316
  }
12102
12317
  };
12103
- _List.nativeName = "div";
12104
- let List = _List;
12105
- if (!customElements.get("px-list")) {
12106
- customElements.define("px-list", List);
12107
- }
12108
- const styles$n = '.list-item{display:flex;gap:var(--px-spacing-xs-mobile);align-items:flex-start;font-family:var(--px-font-family);line-height:var(--px-line-height-ratio-l);color:var(--px-color-text-neutral-default)}.list-item[inverted]{color:var(--px-color-text-neutral-inverted)}:host([variant="ul"]) .list-item,:host([variant="ol"]) .list-item{display:list-item;margin-left:var(--px-spacing-default-mobile)}:host([variant="ul"]) .list-item{list-style-type:disc}:host([variant="ol"]) .list-item{counter-set:list-item var(--item-index, 0);list-style-type:decimal}@media only screen and (min-width: 48em){.list-item{gap:var(--px-spacing-xs-tablet)}}@media only screen and (min-width: 64.0625em){.list-item{gap:var(--px-spacing-xs-laptop)}}@media only screen and (min-width: 90.0625em){.list-item{gap:var(--px-spacing-xs-desktop)}}';
12109
- const styleSheet$k = new CSSStyleSheet();
12110
- styleSheet$k.replaceSync(styles$n);
12111
- const _ListItem = class _ListItem extends PxElement {
12112
- template() {
12113
- return `
12114
- <div class="list-item" role="listitem">
12115
- <slot name="icon"></slot>
12116
- <slot name="label"></slot>
12117
- </div>
12118
- `;
12119
- }
12120
- constructor() {
12121
- super(styleSheet$k);
12122
- this.shadowRoot.innerHTML = this.template();
12123
- }
12124
- static get observedAttributes() {
12125
- return ["inverted"];
12318
+ _List_instances = new WeakSet();
12319
+ syncChildren_fn = function() {
12320
+ __privateMethod(this, _List_instances, applyInverted_fn2).call(this);
12321
+ __privateMethod(this, _List_instances, applyVariant_fn).call(this, this.getAttribute("variant"));
12322
+ };
12323
+ applyInverted_fn2 = function() {
12324
+ var _a;
12325
+ const on = this.hasAttribute("inverted");
12326
+ for (let i = 0; i < this.$children.length; i++) {
12327
+ this.$children[i].toggleAttribute("inverted", on);
12126
12328
  }
12127
- // TODO: factorize code
12128
- attributeChangedCallback(attrName, oldValue, newValue) {
12129
- if (oldValue !== newValue) {
12130
- switch (attrName) {
12131
- case "inverted":
12132
- for (let i = 0; i < this.$children.length; i++) {
12133
- if (!this.$children[i].hasAttribute("inverted")) {
12134
- this.$children[i].toggleAttribute("inverted");
12135
- }
12136
- }
12137
- this.$el.toggleAttribute("inverted", newValue !== null);
12138
- break;
12329
+ (_a = this.$el) == null ? void 0 : _a.toggleAttribute("inverted", on);
12330
+ };
12331
+ applyVariant_fn = function(newValue) {
12332
+ for (let i = 0; i < this.$children.length; i++) {
12333
+ const child = this.$children[i];
12334
+ if (newValue !== null) {
12335
+ child.setAttribute("variant", newValue);
12336
+ if (newValue === "ol") {
12337
+ child.style.setProperty("--item-index", String(i + 1));
12338
+ } else {
12339
+ child.style.removeProperty("--item-index");
12139
12340
  }
12140
- }
12141
- }
12142
- get $children() {
12143
- return this.querySelectorAll("px-list-item > *");
12144
- }
12145
- get inverted() {
12146
- return this.hasAttribute("inverted");
12147
- }
12148
- set inverted(value) {
12149
- if (value) {
12150
- this.setAttribute("inverted", "");
12151
12341
  } else {
12152
- this.removeAttribute("inverted");
12342
+ child.removeAttribute("variant");
12343
+ child.style.removeProperty("--item-index");
12153
12344
  }
12154
12345
  }
12155
12346
  };
12156
- _ListItem.nativeName = "div";
12157
- let ListItem = _ListItem;
12158
- if (!customElements.get("px-list-item")) {
12159
- customElements.define("px-list-item", ListItem);
12347
+ _List.nativeName = "div";
12348
+ let List = _List;
12349
+ if (!customElements.get("px-list")) {
12350
+ customElements.define("px-list", List);
12160
12351
  }
12161
12352
  class MDDCloser extends HTMLElement {
12162
12353
  constructor() {
@@ -12615,6 +12806,7 @@ class Modal extends HTMLElement {
12615
12806
  this.onOpenClick = () => this.show();
12616
12807
  this.onCloseClick = () => this.close();
12617
12808
  this.commandButtonCleanups = [];
12809
+ this.opener = null;
12618
12810
  this.openerElement = null;
12619
12811
  this.closerElement = null;
12620
12812
  this.template = `<dialog>
@@ -12665,14 +12857,11 @@ class Modal extends HTMLElement {
12665
12857
  if (this.hasAttribute("open")) {
12666
12858
  this.show();
12667
12859
  }
12668
- if (this.hasAttribute("closedby")) {
12669
- this.addCloseListener(this.getAttribute("closedby"));
12670
- }
12671
12860
  if (this.hasAttribute("openedby")) {
12672
12861
  this.addOpenListener();
12673
12862
  }
12674
- if (this.hasAttribute("media-src")) {
12675
- this.updateMediaSrc(this.getAttribute("media-src"));
12863
+ if (this.hasAttribute("closedby")) {
12864
+ this.addCloseListener(this.getAttribute("closedby"));
12676
12865
  }
12677
12866
  this.toggleDescriptionVisibility();
12678
12867
  (_a = this.$slotDescription) == null ? void 0 : _a.addEventListener(
@@ -12691,7 +12880,9 @@ class Modal extends HTMLElement {
12691
12880
  attributeChangedCallback(attrName, oldValue, newValue) {
12692
12881
  switch (attrName) {
12693
12882
  case "open":
12694
- this.handleOpenChange();
12883
+ if (this.isConnected) {
12884
+ this.handleOpenChange();
12885
+ }
12695
12886
  break;
12696
12887
  case "status":
12697
12888
  this.handleStatusChange(oldValue, newValue);
@@ -12700,10 +12891,14 @@ class Modal extends HTMLElement {
12700
12891
  this.updateMediaSrc(newValue);
12701
12892
  break;
12702
12893
  case "openedby":
12703
- this.addOpenListener();
12894
+ if (this.isConnected) {
12895
+ this.addOpenListener();
12896
+ }
12704
12897
  break;
12705
12898
  case "closedby":
12706
- this.addCloseListener(newValue);
12899
+ if (this.isConnected) {
12900
+ this.addCloseListener(newValue);
12901
+ }
12707
12902
  break;
12708
12903
  case "id":
12709
12904
  this.addEventListenersToCommandButtons();
@@ -12819,12 +13014,29 @@ class Modal extends HTMLElement {
12819
13014
  addOpenListener() {
12820
13015
  var _a;
12821
13016
  this.removeOpenListener();
12822
- this.openerElement = this.$opener;
12823
- (_a = this.openerElement) == null ? void 0 : _a.addEventListener("click", this.onOpenClick);
13017
+ if (this.$opener) {
13018
+ this.openerElement = this.$opener;
13019
+ this.openerElement.addEventListener("click", this.onOpenClick);
13020
+ } else {
13021
+ (_a = this.opener) == null ? void 0 : _a.disconnect();
13022
+ this.opener = new MutationObserver(() => {
13023
+ if (this.$opener) {
13024
+ this.opener.disconnect();
13025
+ this.opener = null;
13026
+ this.addOpenListener();
13027
+ }
13028
+ });
13029
+ this.opener.observe(document.body, {
13030
+ childList: true,
13031
+ subtree: true
13032
+ });
13033
+ }
12824
13034
  }
12825
13035
  removeOpenListener() {
12826
- var _a;
12827
- (_a = this.openerElement) == null ? void 0 : _a.removeEventListener("click", this.onOpenClick);
13036
+ var _a, _b;
13037
+ (_a = this.opener) == null ? void 0 : _a.disconnect();
13038
+ this.opener = null;
13039
+ (_b = this.openerElement) == null ? void 0 : _b.removeEventListener("click", this.onOpenClick);
12828
13040
  this.openerElement = null;
12829
13041
  }
12830
13042
  addCloseListener(value) {
@@ -13239,7 +13451,9 @@ const _Price = class _Price extends PxElement {
13239
13451
  });
13240
13452
  this.observer.observe(this, {
13241
13453
  childList: true,
13242
- subtree: true
13454
+ subtree: true,
13455
+ // By observing characterData, we ensure that any changes to the text content of the price element will trigger a rebuild of the price display, allowing it to update correctly in response to dynamic data changes.
13456
+ characterData: true
13243
13457
  });
13244
13458
  }
13245
13459
  attributeChangedCallback(attrName, oldValue, newValue) {
@@ -13466,14 +13680,10 @@ class SelectableBoxCheckbox extends WithExtraAttributes {
13466
13680
  }
13467
13681
  connectedCallback() {
13468
13682
  this.toggleFooterVisibility = this.toggleFooterVisibility.bind(this);
13469
- if (this.name) this.$checkbox.setAttribute("name", this.name);
13470
- if (this.value) this.$checkbox.setAttribute("value", this.value);
13471
13683
  this.role = "checkbox";
13472
13684
  if (this.internals) {
13473
13685
  this.internals.role = "checkbox";
13474
- this.internals.ariaChecked = `${this.checked}`;
13475
13686
  }
13476
- this.ariaChecked = `${this.checked}`;
13477
13687
  this.tabIndex = 0;
13478
13688
  this.toggleFooterVisibility();
13479
13689
  this.$slotFooter.addEventListener(
@@ -13484,9 +13694,6 @@ class SelectableBoxCheckbox extends WithExtraAttributes {
13484
13694
  this.addEventListener("mouseout", this.removeHoverAttribute);
13485
13695
  this.addEventListener("keypress", this.setKeypressEvent);
13486
13696
  this.addEventListener("click", this.setClickEvent);
13487
- if (this.hasAttribute("checked")) {
13488
- this.checked = true;
13489
- }
13490
13697
  }
13491
13698
  static get observedAttributes() {
13492
13699
  return [
@@ -13743,15 +13950,11 @@ class SelectableBoxRadio extends WithExtraAttributes {
13743
13950
  connectedCallback() {
13744
13951
  var _a;
13745
13952
  this.toggleFooterVisibility = this.toggleFooterVisibility.bind(this);
13746
- if (this.name) this.$radio.setAttribute("name", this.name);
13747
- if (this.value) this.$radio.setAttribute("value", this.value);
13748
13953
  this.role = "radio";
13749
13954
  if (this.internals) {
13750
13955
  this.internals.role = "radio";
13751
- this.internals.ariaChecked = `${this.checked}`;
13752
13956
  }
13753
- this.ariaChecked = `${this.checked}`;
13754
- this.tabIndex = ((_a = this.parentElement) == null ? void 0 : _a.firstElementChild) === this ? 0 : -1;
13957
+ this.tabIndex = ((_a = this.parentElement) == null ? void 0 : _a.querySelector("px-selectable-box-radio")) === this ? 0 : -1;
13755
13958
  this.toggleFooterVisibility();
13756
13959
  this.$slotFooter.addEventListener(
13757
13960
  "slotchange",
@@ -13761,9 +13964,6 @@ class SelectableBoxRadio extends WithExtraAttributes {
13761
13964
  this.addEventListener("mouseout", this.removeHoverAttribute);
13762
13965
  this.addEventListener("keypress", this.setKeypressEvent);
13763
13966
  this.addEventListener("click", this.setClickEvent);
13764
- if (this.hasAttribute("checked")) {
13765
- this.checked = true;
13766
- }
13767
13967
  }
13768
13968
  static get observedAttributes() {
13769
13969
  return [
@@ -15022,8 +15222,6 @@ class Tabs extends HTMLElement {
15022
15222
  var _a;
15023
15223
  super();
15024
15224
  __privateAdd(this, _Tabs_instances);
15025
- this._label = `tabs-${Math.random().toString(36).substring(2, 15)}`;
15026
- this.tabsConnected = 0;
15027
15225
  this.template = () => `
15028
15226
  <div id="container">
15029
15227
  <div id="tab-container">
@@ -15043,7 +15241,7 @@ class Tabs extends HTMLElement {
15043
15241
  </div>
15044
15242
  `;
15045
15243
  this.handleNextPreviousDisplay = () => {
15046
- if (this.allTabsConnected() && this.$prefixButton && this.$suffixButton) {
15244
+ if (this.$prefixButton && this.$suffixButton) {
15047
15245
  this.$prefixButton.style.display = this.shouldDisplayScrollLeftButton() ? "" : "none";
15048
15246
  this.$suffixButton.style.display = this.shouldDisplayScrollRightButton() ? "" : "none";
15049
15247
  }
@@ -15055,7 +15253,6 @@ class Tabs extends HTMLElement {
15055
15253
  }
15056
15254
  static get observedAttributes() {
15057
15255
  return [
15058
- "label",
15059
15256
  "inverted",
15060
15257
  "aria-label-next",
15061
15258
  "aria-label-previous",
@@ -15064,9 +15261,6 @@ class Tabs extends HTMLElement {
15064
15261
  }
15065
15262
  attributeChangedCallback(name, oldValue, newValue) {
15066
15263
  switch (name) {
15067
- case "label":
15068
- this.label = newValue;
15069
- break;
15070
15264
  case "aria-label-next":
15071
15265
  if (!this.hasAttribute("hide-controls")) {
15072
15266
  this.$suffixButton.setAttribute("aria-label", newValue || "Next tab");
@@ -15090,10 +15284,6 @@ class Tabs extends HTMLElement {
15090
15284
  }
15091
15285
  connectedCallback() {
15092
15286
  var _a, _b;
15093
- this.shadowRoot.querySelector("#tablist").setAttribute("aria-labelledby", this._label);
15094
- if (this.getAttribute("label")) {
15095
- this.label = this.getAttribute("label");
15096
- }
15097
15287
  this.role = "tablist";
15098
15288
  if (this.internals) {
15099
15289
  this.internals.role = "tablist";
@@ -15119,15 +15309,13 @@ class Tabs extends HTMLElement {
15119
15309
  }
15120
15310
  );
15121
15311
  this.addEventListener(TAB_CONNECTED_EVENT, () => {
15122
- this.tabsConnected++;
15123
15312
  this.handleNextPreviousDisplay();
15124
- if (this.allTabsConnected() && this.inverted) {
15313
+ if (this.inverted) {
15125
15314
  __privateMethod(this, _Tabs_instances, handleInverted_fn).call(this, this.getAttribute("inverted"));
15126
15315
  }
15127
15316
  });
15128
- if (this.allTabsConnected()) {
15129
- __privateMethod(this, _Tabs_instances, handleInverted_fn).call(this, this.getAttribute("inverted"));
15130
- }
15317
+ this.handleNextPreviousDisplay();
15318
+ __privateMethod(this, _Tabs_instances, handleInverted_fn).call(this, this.getAttribute("inverted"));
15131
15319
  this.addEventListener("keydown", (event) => {
15132
15320
  var _a2, _b2;
15133
15321
  if ((event.key === "ArrowRight" || event.key === "ArrowLeft") && ((_b2 = (_a2 = document.activeElement) == null ? void 0 : _a2.localName) == null ? void 0 : _b2.endsWith("-tab"))) {
@@ -15168,11 +15356,8 @@ class Tabs extends HTMLElement {
15168
15356
  }
15169
15357
  this.$activePanel.selected = true;
15170
15358
  }
15171
- allTabsConnected() {
15172
- return this.tabsConnected === this.querySelectorAll('[slot="tabs"]').length || [...this.$tabs].every((tab) => tab.isConnected);
15173
- }
15174
15359
  shouldDisplayScrollRightButton() {
15175
- return this.allTabsConnected() && this.$tabList.scrollWidth > this.$tabList.clientWidth && this.$tabList.scrollWidth - this.$tabList.scrollLeft !== this.$tabList.clientWidth;
15360
+ return this.$tabList.scrollWidth > this.$tabList.clientWidth && this.$tabList.scrollWidth - this.$tabList.scrollLeft !== this.$tabList.clientWidth;
15176
15361
  }
15177
15362
  shouldDisplayScrollLeftButton() {
15178
15363
  return this.$tabList.scrollLeft > 0;
@@ -15215,12 +15400,6 @@ class Tabs extends HTMLElement {
15215
15400
  get $suffixButton() {
15216
15401
  return this.shadowRoot.querySelector("#next");
15217
15402
  }
15218
- get label() {
15219
- return this.$tabList.getAttribute("aria-labelledby");
15220
- }
15221
- set label(value) {
15222
- this.$tabList.setAttribute("aria-labelledby", value);
15223
- }
15224
15403
  get inverted() {
15225
15404
  return this.hasAttribute("inverted");
15226
15405
  }
@@ -15797,7 +15976,7 @@ class TileCheckbox extends WithExtraAttributes {
15797
15976
  <div class="tile-checkbox">
15798
15977
  <px-tile hoverable>
15799
15978
  <slot name="prefix" slot="prefix"></slot>
15800
- <px-checkbox slot="suffix" inert></px-checkbox>
15979
+ <px-checkbox slot="suffix" aria-hidden="true" tabindex="-1"></px-checkbox>
15801
15980
  <slot name="label" slot="label"></slot>
15802
15981
  <slot name="description" slot="description"></slot>
15803
15982
  </px-tile>
@@ -16077,7 +16256,7 @@ class TileRadio extends WithExtraAttributes {
16077
16256
  <div class="tile-radio">
16078
16257
  <px-tile hoverable>
16079
16258
  <slot name="prefix" slot="prefix"></slot>
16080
- <px-radio slot="suffix" inert></px-radio>
16259
+ <px-radio slot="suffix" aria-hidden="true" tabindex="-1"></px-radio>
16081
16260
  <slot name="label" slot="label"></slot>
16082
16261
  <slot name="description" slot="description"></slot>
16083
16262
  </px-tile>
@@ -16098,7 +16277,7 @@ class TileRadio extends WithExtraAttributes {
16098
16277
  this.internals.ariaChecked = `${this.checked}`;
16099
16278
  }
16100
16279
  this.ariaChecked = `${this.checked}`;
16101
- this.tabIndex = ((_a = this.parentElement) == null ? void 0 : _a.firstElementChild) === this ? 0 : -1;
16280
+ this.tabIndex = ((_a = this.parentElement) == null ? void 0 : _a.querySelector("px-tile-radio")) === this ? 0 : -1;
16102
16281
  if (this.$slotPrefix) {
16103
16282
  const prefixImg = this.querySelector('px-img[slot="prefix"]');
16104
16283
  if (prefixImg) {
@@ -16519,7 +16698,7 @@ class TileSwitch extends WithExtraAttributes {
16519
16698
  <div class="tile-switch">
16520
16699
  <px-tile hoverable>
16521
16700
  <slot name="prefix" slot="prefix"></slot>
16522
- <px-switch slot="suffix" inert></px-switch>
16701
+ <px-switch slot="suffix" aria-hidden="true" tabindex="-1"></px-switch>
16523
16702
  <slot name="label" slot="label"></slot>
16524
16703
  <slot name="description" slot="description"></slot>
16525
16704
  </px-tile>
@@ -16773,67 +16952,10 @@ if (!customElements.get("px-tile-switch")) {
16773
16952
  customElements.define("px-tile-switch", TileSwitch);
16774
16953
  }
16775
16954
  const styles$1 = ".timeline{list-style:none;margin:0;padding:0}";
16776
- const styleSheet$1 = new CSSStyleSheet();
16777
- styleSheet$1.replaceSync(styles$1);
16778
- class Timeline extends HTMLElement {
16779
- template() {
16780
- return `
16781
- <ol class="timeline" role="list">
16782
- <slot></slot>
16783
- </ol>
16784
- `;
16785
- }
16786
- constructor() {
16787
- super();
16788
- this.attachShadow({ mode: "open" });
16789
- this.shadowRoot.innerHTML = this.template();
16790
- this.shadowRoot.adoptedStyleSheets = [styleSheet$1];
16791
- }
16792
- static get observedAttributes() {
16793
- return ["inverted"];
16794
- }
16795
- connectedCallback() {
16796
- this.configureChildren();
16797
- }
16798
- attributeChangedCallback(attrName, oldValue, newValue) {
16799
- if (oldValue !== newValue) {
16800
- switch (attrName) {
16801
- case "inverted":
16802
- for (let i = 0; i < this.$children.length; i++) {
16803
- this.$children[i].toggleAttribute("inverted");
16804
- }
16805
- break;
16806
- }
16807
- }
16808
- }
16809
- configureChildren() {
16810
- const lastChild = this.$children[this.$children.length - 1];
16811
- if (lastChild && !lastChild.hasAttribute("lastchild")) {
16812
- lastChild.setAttribute("lastchild", "");
16813
- }
16814
- for (let i = 0; i < this.$children.length; i++) {
16815
- this.$children[i].setAttribute("item", `${i + 1}`);
16816
- }
16817
- }
16818
- get $el() {
16819
- return this.shadowRoot.querySelector(".timeline");
16820
- }
16821
- get $children() {
16822
- return this.querySelectorAll("px-timeline-item");
16823
- }
16824
- get inverted() {
16825
- return this.getAttribute("inverted");
16826
- }
16827
- set inverted(value) {
16828
- this.setAttribute("inverted", value);
16829
- }
16830
- }
16831
- if (!customElements.get("px-timeline")) {
16832
- customElements.define("px-timeline", Timeline);
16833
- }
16834
16955
  const styles = '.timeline-item{display:flex;gap:var(--px-spacing-default-mobile);font-family:var(--px-font-family);line-height:var(--px-line-height-ratio-l)}.indicator-area{position:relative}.indicator-area:before{display:block;content:"";position:absolute;top:26px;left:12px;width:var(--px-size-border-m);height:calc(100% - 26px);background:var(--px-color-border-main-default)}.indicator-area .indicator{display:flex;align-items:center;justify-content:center;text-align:center;width:26px;height:26px;font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);color:var(--px-color-text-neutral-default);border-radius:var(--px-radius-pill);background:var(--px-color-background-container-default-default)}.content-area{display:flex;flex-direction:column;margin-bottom:var(--px-padding-m-mobile);gap:var(--px-spacing-xs-mobile)}.content-area ::slotted([slot="title"]){font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-l-mobile);color:var(--px-color-text-neutral-default)}.content-area ::slotted([slot="content"]){font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-body-m-mobile);color:var(--px-color-text-dimmed-default)}:host([lastchild]) .indicator-area:before{display:none}:host([lastchild]) .content-area{margin-bottom:0}:host([inverted]) .indicator-area:before{background:var(--px-color-border-main-inverted)}:host([inverted]) .indicator{color:var(--px-color-text-neutral-inverted);background:var(--px-color-background-container-default-inverted)}:host([inverted]) .content-area ::slotted([slot="title"]){color:var(--px-color-text-neutral-inverted)}:host([inverted]) .content-area ::slotted([slot="content"]){color:var(--px-color-text-dimmed-inverted)}@media only screen and (min-width: 768px){.timeline-item{gap:var(--px-spacing-default-tablet)}.indicator-area .indicator{font-size:var(--px-text-size-label-m-tablet)}.content-area{margin-bottom:var(--px-padding-m-tablet);gap:var(--px-spacing-xs-tablet)}.content-area ::slotted([slot="title"]){font-size:var(--px-text-size-label-l-tablet)}.content-area ::slotted([slot="content"]){font-size:var(--px-text-size-body-m-tablet)}}@media only screen and (min-width: 1025px){.timeline-item{gap:var(--px-spacing-default-laptop)}.indicator-area .indicator{font-size:var(--px-text-size-label-m-laptop)}.content-area{margin-bottom:var(--px-padding-m-laptop)}.content-area ::slotted([slot="title"]){font-size:var(--px-text-size-label-l-laptop)}.content-area ::slotted([slot="content"]){font-size:var(--px-text-size-body-m-laptop)}}@media only screen and (min-width: 90.0625em){.timeline-item{gap:var(--px-spacing-default-desktop)}.indicator-area .indicator{font-size:var(--px-text-size-label-m-desktop)}.content-area{margin-bottom:var(--px-padding-m-desktop)}.content-area ::slotted([slot="title"]){font-size:var(--px-text-size-label-l-desktop)}.content-area ::slotted([slot="content"]){font-size:var(--px-text-size-body-m-desktop)}}';
16835
- const styleSheet = new CSSStyleSheet();
16836
- styleSheet.replaceSync(styles);
16956
+ const styleSheet$1 = new CSSStyleSheet();
16957
+ styleSheet$1.replaceSync(styles);
16958
+ const TIMELINE_ITEM_CONNECTED_EVENT = "px-timeline-item-connected";
16837
16959
  let item = "1";
16838
16960
  class TimelineItem extends HTMLElement {
16839
16961
  template() {
@@ -16853,7 +16975,15 @@ class TimelineItem extends HTMLElement {
16853
16975
  super();
16854
16976
  this.attachShadow({ mode: "open" });
16855
16977
  this.shadowRoot.innerHTML = this.template();
16856
- this.shadowRoot.adoptedStyleSheets = [styleSheet];
16978
+ this.shadowRoot.adoptedStyleSheets = [styleSheet$1];
16979
+ }
16980
+ connectedCallback() {
16981
+ this.dispatchEvent(
16982
+ new CustomEvent(TIMELINE_ITEM_CONNECTED_EVENT, {
16983
+ bubbles: true,
16984
+ composed: true
16985
+ })
16986
+ );
16857
16987
  }
16858
16988
  static get observedAttributes() {
16859
16989
  return ["inverted", "lastchild", "item"];
@@ -16905,6 +17035,77 @@ class TimelineItem extends HTMLElement {
16905
17035
  if (!customElements.get("px-timeline-item")) {
16906
17036
  customElements.define("px-timeline-item", TimelineItem);
16907
17037
  }
17038
+ const styleSheet = new CSSStyleSheet();
17039
+ styleSheet.replaceSync(styles$1);
17040
+ class Timeline extends HTMLElement {
17041
+ constructor() {
17042
+ super();
17043
+ __privateAdd(this, _Timeline_instances);
17044
+ this.attachShadow({ mode: "open" });
17045
+ this.shadowRoot.innerHTML = this.template();
17046
+ this.shadowRoot.adoptedStyleSheets = [styleSheet];
17047
+ }
17048
+ template() {
17049
+ return `
17050
+ <ol class="timeline" role="list">
17051
+ <slot></slot>
17052
+ </ol>
17053
+ `;
17054
+ }
17055
+ static get observedAttributes() {
17056
+ return ["inverted"];
17057
+ }
17058
+ connectedCallback() {
17059
+ this.addEventListener(TIMELINE_ITEM_CONNECTED_EVENT, () => {
17060
+ this.configureChildren();
17061
+ __privateMethod(this, _Timeline_instances, applyInverted_fn3).call(this);
17062
+ });
17063
+ this.configureChildren();
17064
+ __privateMethod(this, _Timeline_instances, applyInverted_fn3).call(this);
17065
+ }
17066
+ attributeChangedCallback(attrName, oldValue, newValue) {
17067
+ if (oldValue !== newValue) {
17068
+ switch (attrName) {
17069
+ case "inverted":
17070
+ if (this.isConnected) {
17071
+ __privateMethod(this, _Timeline_instances, applyInverted_fn3).call(this);
17072
+ }
17073
+ break;
17074
+ }
17075
+ }
17076
+ }
17077
+ configureChildren() {
17078
+ const lastChild = this.$children[this.$children.length - 1];
17079
+ if (lastChild && !lastChild.hasAttribute("lastchild")) {
17080
+ lastChild.setAttribute("lastchild", "");
17081
+ }
17082
+ for (let i = 0; i < this.$children.length; i++) {
17083
+ this.$children[i].setAttribute("item", `${i + 1}`);
17084
+ }
17085
+ }
17086
+ get $el() {
17087
+ return this.shadowRoot.querySelector(".timeline");
17088
+ }
17089
+ get $children() {
17090
+ return this.querySelectorAll("px-timeline-item");
17091
+ }
17092
+ get inverted() {
17093
+ return this.getAttribute("inverted");
17094
+ }
17095
+ set inverted(value) {
17096
+ this.setAttribute("inverted", value);
17097
+ }
17098
+ }
17099
+ _Timeline_instances = new WeakSet();
17100
+ applyInverted_fn3 = function() {
17101
+ const on = this.hasAttribute("inverted");
17102
+ for (let i = 0; i < this.$children.length; i++) {
17103
+ this.$children[i].toggleAttribute("inverted", on);
17104
+ }
17105
+ };
17106
+ if (!customElements.get("px-timeline")) {
17107
+ customElements.define("px-timeline", Timeline);
17108
+ }
16908
17109
  const typographyCss = ":host{font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);color:var(--px-color-text-neutral-default)}::slotted(ul),::slotted(ol){padding:0;margin:0 0 var(--px-spacing-xs-mobile) var(--px-spacing-default-mobile)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-mobile)}::slotted(b),::slotted(strong){font-weight:var(--px-font-weight-title)}::slotted(address){font-style:normal;font-weight:var(--px-font-weight-body)}::slotted(img){max-width:100%;height:auto}@media only screen and (min-width: 48em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-tablet) var(--px-spacing-default-tablet)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-tablet)}}@media only screen and (min-width: 64.0625em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-laptop) var(--px-spacing-default-laptop)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-laptop)}}@media only screen and (min-width: 90.0625em){::slotted(ul),::slotted(ol){margin:0 0 var(--px-spacing-xs-desktop) var(--px-spacing-default-desktop)}::slotted(blockquote){margin-bottom:var(--px-spacing-xs-desktop)}}:host([inverted]){color:var(--px-color-text-neutral-inverted)}";
16909
17110
  const lightStyles = ".li{margin-bottom:var(--px-padding-xs-mobile)}@media only screen and (min-width: 48em){.li{margin-bottom:var(--px-padding-xs-tablet)}}@media only screen and (min-width: 64.0625em){.li{margin-bottom:var(--px-padding-xs-laptop)}}@media only screen and (min-width: 90.0625em){.li{margin-bottom:var(--px-padding-xs-desktop)}}";
16910
17111
  const typographyStyles = new CSSStyleSheet();
@@ -16958,11 +17159,13 @@ export {
16958
17159
  AgGridTableThContent,
16959
17160
  AppleSeed,
16960
17161
  AttributeBreakpointHandlerDelegate,
17162
+ BREADCRUMB_ITEM_CONNECTED_EVENT,
16961
17163
  Banner,
16962
17164
  Breadcrumb,
16963
17165
  BreadcrumbItem,
16964
17166
  Button,
16965
17167
  ButtonIcon,
17168
+ CAROUSEL_ITEM_CONNECTED_EVENT,
16966
17169
  Card,
16967
17170
  Carousel,
16968
17171
  CarouselItem,
@@ -16999,6 +17202,7 @@ export {
16999
17202
  Image,
17000
17203
  Input,
17001
17204
  InputState,
17205
+ LIST_ITEM_CONNECTED_EVENT,
17002
17206
  Link,
17003
17207
  List,
17004
17208
  ListItem,
@@ -17034,6 +17238,7 @@ export {
17034
17238
  Status,
17035
17239
  StatusCard,
17036
17240
  Switch,
17241
+ TIMELINE_ITEM_CONNECTED_EVENT,
17037
17242
  Table,
17038
17243
  Tag,
17039
17244
  Tbody,
@@ -17137,6 +17342,7 @@ export {
17137
17342
  statusStateValues,
17138
17343
  statusValues,
17139
17344
  styleSheet$A as styleSheet,
17345
+ subgridRowsValues,
17140
17346
  suffixButtonIconVariantValues,
17141
17347
  textalignValues,
17142
17348
  tileBackgroundColorValues,