@proximus/lavender 1.4.6-beta.1 → 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" >
@@ -3729,6 +3808,7 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3729
3808
  connectedCallback() {
3730
3809
  var _a;
3731
3810
  (_a = super.connectedCallback) == null ? void 0 : _a.call(this);
3811
+ __privateMethod(this, _Banner_instances, applyReducedPadding_fn).call(this);
3732
3812
  this.createGridTemplateAreas();
3733
3813
  this.createGridding();
3734
3814
  this.observer = new MutationObserver(() => {
@@ -3769,6 +3849,9 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3769
3849
  break;
3770
3850
  case "reduced":
3771
3851
  this.$el.toggleAttribute("reduced", newValue !== null);
3852
+ if (this.isConnected) {
3853
+ __privateMethod(this, _Banner_instances, applyReducedPadding_fn).call(this);
3854
+ }
3772
3855
  this.createGridTemplateAreas();
3773
3856
  break;
3774
3857
  case "has-gridding":
@@ -3999,42 +4082,48 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3999
4082
  }
4000
4083
  }
4001
4084
  };
4085
+ _Banner_instances = new WeakSet();
4086
+ applyReducedPadding_fn = function() {
4087
+ this.$container.setAttribute("padding", this.reduced ? "m" : "l");
4088
+ };
4002
4089
  _Banner.nativeName = "div";
4003
4090
  let Banner = _Banner;
4004
4091
  if (!customElements.get("px-banner")) {
4005
4092
  customElements.define("px-banner", Banner);
4006
4093
  }
4007
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)}`;
4008
- const breadcrumbStyles = new CSSStyleSheet();
4009
- breadcrumbStyles.replaceSync(breadcrumbCss);
4010
- class Breadcrumb extends WithExtraAttributes {
4011
- template() {
4012
- return `
4013
- <nav class="breadcrumb">
4014
- <div role="list">
4015
- <slot></slot>
4016
- </div>
4017
- </nav>
4018
- `;
4019
- }
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 {
4020
4100
  constructor() {
4021
- super(breadcrumbStyles);
4022
- this.shadowRoot.innerHTML = this.template();
4023
- }
4024
- connectedCallback() {
4025
- if (!this.ariaLabel) {
4026
- 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();
4027
4105
  }
4028
4106
  }
4029
4107
  static get observedAttributes() {
4030
- 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
+ );
4031
4123
  }
4032
4124
  attributeChangedCallback(attrName, oldValue, newValue) {
4033
4125
  if (oldValue !== newValue) {
4034
4126
  switch (attrName) {
4035
- case "aria-label":
4036
- this.$el.setAttribute("aria-label", this.ariaLabel);
4037
- break;
4038
4127
  case "inverted":
4039
4128
  for (let i = 0; i < this.$children.length; i++) {
4040
4129
  if (!this.$children[i].hasAttribute("inverted")) {
@@ -4048,11 +4137,14 @@ class Breadcrumb extends WithExtraAttributes {
4048
4137
  }
4049
4138
  }
4050
4139
  }
4051
- get $el() {
4052
- return this.shadowRoot.querySelector(".breadcrumb");
4140
+ get $link() {
4141
+ return this.querySelector("px-a");
4142
+ }
4143
+ get $icon() {
4144
+ return this.querySelector("px-icon");
4053
4145
  }
4054
4146
  get $children() {
4055
- return this.querySelectorAll("px-breadcrumb > *");
4147
+ return this.querySelectorAll("px-breadcrumb-item > *");
4056
4148
  }
4057
4149
  get inverted() {
4058
4150
  return this.hasAttribute("inverted");
@@ -4064,50 +4156,50 @@ class Breadcrumb extends WithExtraAttributes {
4064
4156
  this.removeAttribute("inverted");
4065
4157
  }
4066
4158
  }
4067
- get ariaLabel() {
4068
- return this.getAttribute("aria-label");
4069
- }
4070
- set ariaLabel(value) {
4071
- if (value) {
4072
- this.setAttribute("aria-label", value);
4073
- } else {
4074
- this.removeAttribute("aria-label");
4075
- }
4076
- }
4077
- }
4078
- if (!customElements.get("px-breadcrumb")) {
4079
- 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);
4080
4164
  }
4081
- 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)}";
4082
- const breadcrumbItemStyles = new CSSStyleSheet();
4083
- breadcrumbItemStyles.replaceSync(breadcrumbItemCss);
4084
- const _BreadcrumbItem = class _BreadcrumbItem extends PxElement {
4165
+ const breadcrumbStyles = new CSSStyleSheet();
4166
+ breadcrumbStyles.replaceSync(breadcrumbCss);
4167
+ class Breadcrumb extends WithExtraAttributes {
4085
4168
  constructor() {
4086
- super(breadcrumbItemStyles);
4087
- this.template = () => `<div class="breadcrumb-item" role="listitem"><slot></slot></div>`;
4088
- if (this.shadowRoot) {
4089
- this.shadowRoot.innerHTML = this.template();
4090
- }
4169
+ super(breadcrumbStyles);
4170
+ __privateAdd(this, _Breadcrumb_instances);
4171
+ this.shadowRoot.innerHTML = this.template();
4091
4172
  }
4092
- static get observedAttributes() {
4093
- return [...super.observedAttributes, "inverted"];
4173
+ template() {
4174
+ return `
4175
+ <nav class="breadcrumb">
4176
+ <div role="list">
4177
+ <slot></slot>
4178
+ </div>
4179
+ </nav>
4180
+ `;
4094
4181
  }
4095
4182
  connectedCallback() {
4096
- if (this.$icon) {
4097
- this.$icon.setAttribute("size", "s");
4098
- }
4099
- if (!this.$link) {
4100
- this.$el.setAttribute("aria-current", "page");
4183
+ if (!this.ariaLabel) {
4184
+ this.ariaLabel = "Breadcrumb";
4101
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"];
4102
4193
  }
4103
4194
  attributeChangedCallback(attrName, oldValue, newValue) {
4104
4195
  if (oldValue !== newValue) {
4105
4196
  switch (attrName) {
4197
+ case "aria-label":
4198
+ this.$el.setAttribute("aria-label", this.ariaLabel);
4199
+ break;
4106
4200
  case "inverted":
4107
- for (let i = 0; i < this.$children.length; i++) {
4108
- if (!this.$children[i].hasAttribute("inverted")) {
4109
- this.$children[i].toggleAttribute("inverted");
4110
- }
4201
+ if (this.isConnected) {
4202
+ __privateMethod(this, _Breadcrumb_instances, applyInverted_fn).call(this);
4111
4203
  }
4112
4204
  break;
4113
4205
  default:
@@ -4116,14 +4208,11 @@ const _BreadcrumbItem = class _BreadcrumbItem extends PxElement {
4116
4208
  }
4117
4209
  }
4118
4210
  }
4119
- get $link() {
4120
- return this.querySelector("px-a");
4121
- }
4122
- get $icon() {
4123
- return this.querySelector("px-icon");
4211
+ get $el() {
4212
+ return this.shadowRoot.querySelector(".breadcrumb");
4124
4213
  }
4125
4214
  get $children() {
4126
- return this.querySelectorAll("px-breadcrumb-item > *");
4215
+ return this.querySelectorAll("px-breadcrumb > *");
4127
4216
  }
4128
4217
  get inverted() {
4129
4218
  return this.hasAttribute("inverted");
@@ -4135,11 +4224,26 @@ const _BreadcrumbItem = class _BreadcrumbItem extends PxElement {
4135
4224
  this.removeAttribute("inverted");
4136
4225
  }
4137
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
+ }
4138
4244
  };
4139
- _BreadcrumbItem.nativeName = "div";
4140
- let BreadcrumbItem = _BreadcrumbItem;
4141
- if (!customElements.get("px-breadcrumb-item")) {
4142
- customElements.define("px-breadcrumb-item", BreadcrumbItem);
4245
+ if (!customElements.get("px-breadcrumb")) {
4246
+ customElements.define("px-breadcrumb", Breadcrumb);
4143
4247
  }
4144
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)}}`;
4145
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)}}';
@@ -5224,12 +5328,14 @@ function throttle(func, wait, options) {
5224
5328
  }
5225
5329
  const styleSheet$w = new CSSStyleSheet();
5226
5330
  styleSheet$w.replaceSync(styles$D);
5331
+ const CAROUSEL_ITEM_CONNECTED_EVENT = "px-carousel-item-connected";
5227
5332
  const attributeBreakpointCSSSelector = (attributeName, attributeValue, device) => `:host([${attributeName}${device ? `--${device}` : ""}='${attributeValue}']) .carousel`;
5228
5333
  const prefix = "px-spacing";
5229
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)}))`;
5230
5335
  class Carousel extends HTMLElement {
5231
5336
  constructor() {
5232
5337
  super();
5338
+ __privateAdd(this, _Carousel_instances);
5233
5339
  this.visibleItemsAttributeDelegate = new AttributeBreakpointHandlerDelegate(
5234
5340
  this,
5235
5341
  "visible-items",
@@ -5323,10 +5429,10 @@ class Carousel extends HTMLElement {
5323
5429
  this.visibleItemsAttributeDelegate.attributeValue = visibleItemCalcFunction(
5324
5430
  this.getAttribute("gap") || "s"
5325
5431
  );
5326
- requestAnimationFrame(() => {
5327
- this.handleAppleSeedDisplay();
5432
+ this.addEventListener(CAROUSEL_ITEM_CONNECTED_EVENT, () => {
5433
+ __privateMethod(this, _Carousel_instances, syncItems_fn).call(this);
5328
5434
  });
5329
- this.$appleseed.setAttribute("amount", `${this.itemNumbers}`);
5435
+ __privateMethod(this, _Carousel_instances, syncItems_fn).call(this);
5330
5436
  this.$carousel.addEventListener("scroll", throttle(this.onScroll, 500));
5331
5437
  this.$previous.addEventListener("click", () => {
5332
5438
  this.$carousel.scrollLeft -= this.$carousel.clientWidth;
@@ -5385,6 +5491,13 @@ class Carousel extends HTMLElement {
5385
5491
  return this.querySelectorAll("px-carousel-item").length;
5386
5492
  }
5387
5493
  }
5494
+ _Carousel_instances = new WeakSet();
5495
+ syncItems_fn = function() {
5496
+ this.$appleseed.setAttribute("amount", `${this.itemNumbers}`);
5497
+ requestAnimationFrame(() => {
5498
+ this.handleAppleSeedDisplay();
5499
+ });
5500
+ };
5388
5501
  if (!customElements.get("px-carousel")) {
5389
5502
  customElements.define("px-carousel", Carousel);
5390
5503
  }
@@ -5401,6 +5514,14 @@ class CarouselItem extends HTMLElement {
5401
5514
  this.shadowRoot.innerHTML = this.template;
5402
5515
  this.shadowRoot.adoptedStyleSheets = [styleSheet$w, itemStyleSheet];
5403
5516
  }
5517
+ connectedCallback() {
5518
+ this.dispatchEvent(
5519
+ new CustomEvent(CAROUSEL_ITEM_CONNECTED_EVENT, {
5520
+ bubbles: true,
5521
+ composed: true
5522
+ })
5523
+ );
5524
+ }
5404
5525
  }
5405
5526
  if (!customElements.get("px-carousel-item")) {
5406
5527
  customElements.define("px-carousel-item", CarouselItem);
@@ -7791,7 +7912,7 @@ class CellRadio extends WithExtraAttributes {
7791
7912
  }
7792
7913
  connectedCallback() {
7793
7914
  var _a;
7794
- 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;
7795
7916
  this.role = "radio";
7796
7917
  if (this.internals) {
7797
7918
  this.internals.role = "radio";
@@ -8300,8 +8421,6 @@ const _ColorOptionLink = class _ColorOptionLink extends PxElement {
8300
8421
  this.shadowRoot.appendChild($root);
8301
8422
  }
8302
8423
  connectedCallback() {
8303
- if (this.deviceColor)
8304
- this.$colorOption.setAttribute("device-color", this.deviceColor);
8305
8424
  this.addEventListener("click", (e) => {
8306
8425
  e.preventDefault();
8307
8426
  this.clickColorOptionLink();
@@ -9488,19 +9607,14 @@ class Drawer extends HTMLElement {
9488
9607
  connectedCallback() {
9489
9608
  var _a;
9490
9609
  this.toggleFooterVisibility = this.toggleFooterVisibility.bind(this);
9491
- if (!this.hasAttribute("showfrom")) {
9492
- this.setAttribute("showfrom", "bottom");
9610
+ if (this.$opener) {
9611
+ this.addOpenListener();
9493
9612
  }
9494
- if (this.hasAttribute("closedby")) {
9495
- const $closer = document.querySelector(
9496
- `#${this.getAttribute("closedby")}`
9497
- );
9498
- $closer == null ? void 0 : $closer.addEventListener("click", () => {
9499
- this.hide();
9500
- });
9613
+ if (this.$closer) {
9614
+ this.addCloseListener();
9501
9615
  }
9502
- if (this.hasAttribute("openedby")) {
9503
- this.addOpenListener();
9616
+ if (!this.hasAttribute("showfrom")) {
9617
+ this.setAttribute("showfrom", "bottom");
9504
9618
  }
9505
9619
  this.$closeButton.addEventListener("click", () => {
9506
9620
  this.hide();
@@ -9512,36 +9626,56 @@ class Drawer extends HTMLElement {
9512
9626
  );
9513
9627
  }
9514
9628
  static get observedAttributes() {
9515
- return ["open", "aria-label-close-button", "openedby"];
9629
+ return ["open", "aria-label-close-button", "openedby", "closedby"];
9516
9630
  }
9517
- attributeChangedCallback(name, oldValue, newValue) {
9631
+ attributeChangedCallback(attrName, oldValue, newValue) {
9518
9632
  var _a, _b, _c;
9519
- if (name === "open") {
9520
- if (newValue !== null) {
9521
- this.show();
9522
- } else {
9523
- this.hide();
9524
- }
9525
- } else if (name === "aria-label-close-button") {
9526
- if (!newValue) {
9527
- (_a = this.$closeButton) == null ? void 0 : _a.removeAttribute("aria-label");
9528
- } else {
9529
- (_c = (_b = this.$closeButton) == null ? void 0 : _b.setAttribute) == null ? void 0 : _c.call(
9530
- _b,
9531
- "aria-label",
9532
- newValue || "Close drawer"
9533
- );
9534
- }
9535
- } else if (name === "openedby") {
9536
- 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;
9537
9664
  }
9538
9665
  }
9539
9666
  disconnectedCallback() {
9540
- var _a;
9667
+ var _a, _b;
9541
9668
  (_a = this.$slotFooter) == null ? void 0 : _a.removeEventListener(
9542
9669
  "slotchange",
9543
9670
  this.toggleFooterVisibility
9544
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
+ }
9545
9679
  }
9546
9680
  show() {
9547
9681
  var _a, _b;
@@ -9567,15 +9701,41 @@ class Drawer extends HTMLElement {
9567
9701
  }
9568
9702
  }
9569
9703
  addOpenListener() {
9570
- var _a, _b, _c;
9571
- if (((_a = this.$opener) == null ? void 0 : _a.getAttribute("data-has-opener")) !== "true") {
9572
- (_b = this.$opener) == null ? void 0 : _b.setAttribute("data-has-opener", "true");
9573
- (_c = this.$opener) == null ? void 0 : _c.addEventListener("click", () => this.show());
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
+ });
9574
9721
  }
9575
9722
  }
9576
- get $opener() {
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() {
9577
9732
  return document.querySelector(
9578
- `px-button#${this.getAttribute("openedby")}`
9733
+ `#${this.getAttribute("openedby")}`
9734
+ );
9735
+ }
9736
+ get $closer() {
9737
+ return document.querySelector(
9738
+ `#${this.getAttribute("closedby")}`
9579
9739
  );
9580
9740
  }
9581
9741
  get $closeButton() {
@@ -9605,10 +9765,10 @@ class Drawer extends HTMLElement {
9605
9765
  this.removeAttribute("open");
9606
9766
  }
9607
9767
  }
9608
- get ariaLabelCloseButton() {
9768
+ get AriaLabelCloseButton() {
9609
9769
  return this.getAttribute("aria-label-close-button");
9610
9770
  }
9611
- set ariaLabelCloseButton(value) {
9771
+ set AriaLabelCloseButton(value) {
9612
9772
  this.setAttribute("aria-label-close-button", value);
9613
9773
  }
9614
9774
  get openedby() {
@@ -9617,6 +9777,12 @@ class Drawer extends HTMLElement {
9617
9777
  set openedby(value) {
9618
9778
  this.setAttribute("openedby", value);
9619
9779
  }
9780
+ get closedby() {
9781
+ return this.getAttribute("closedby");
9782
+ }
9783
+ set closedby(value) {
9784
+ this.setAttribute("closedby", value);
9785
+ }
9620
9786
  }
9621
9787
  if (!customElements.get("px-drawer")) {
9622
9788
  customElements.define("px-drawer", Drawer);
@@ -11951,8 +12117,70 @@ if (!customElements.get("px-fileupload")) {
11951
12117
  customElements.define("px-fileupload", Upload);
11952
12118
  }
11953
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)}}';
11954
12121
  const styleSheet$l = new CSSStyleSheet();
11955
- 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);
11956
12184
  const listVariantValues = ["", "ul", "ol"];
11957
12185
  const AttributeBreakpointCSSSelector = (attributeName, attributeValue, device) => `:host([${attributeName}${device ? `--${device}` : ""}='${attributeValue}']) .list`;
11958
12186
  const gapPrefix = "px-spacing";
@@ -11964,6 +12192,11 @@ const listCssTokenBreakpoints = cssTokenBreakpoints(
11964
12192
  "--list-gap"
11965
12193
  );
11966
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
+ }
11967
12200
  template() {
11968
12201
  return `
11969
12202
  <div class="list" role="list">
@@ -11971,10 +12204,6 @@ const _List = class _List extends PxElement {
11971
12204
  </div>
11972
12205
  `;
11973
12206
  }
11974
- constructor() {
11975
- super(styleSheet$l, listCssTokenBreakpoints);
11976
- this.shadowRoot.innerHTML = this.template();
11977
- }
11978
12207
  static get observedAttributes() {
11979
12208
  return ["inverted", "variant"];
11980
12209
  }
@@ -11982,17 +12211,18 @@ const _List = class _List extends PxElement {
11982
12211
  if (!this.gap) {
11983
12212
  this.gap = "xs";
11984
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);
11985
12218
  }
11986
12219
  attributeChangedCallback(attrName, oldValue, newValue) {
11987
12220
  if (oldValue !== newValue) {
11988
12221
  switch (attrName) {
11989
12222
  case "inverted":
11990
- for (let i = 0; i < this.$children.length; i++) {
11991
- if (!this.$children[i].hasAttribute("inverted")) {
11992
- this.$children[i].toggleAttribute("inverted");
11993
- }
12223
+ if (this.isConnected) {
12224
+ __privateMethod(this, _List_instances, applyInverted_fn2).call(this);
11994
12225
  }
11995
- this.$el.toggleAttribute("inverted", newValue !== null);
11996
12226
  break;
11997
12227
  case "variant":
11998
12228
  if (!this.checkName(listVariantValues, newValue)) {
@@ -12000,19 +12230,8 @@ const _List = class _List extends PxElement {
12000
12230
  `${newValue} is not an allowed variant value for ${this.tagName.toLowerCase()}`
12001
12231
  );
12002
12232
  }
12003
- for (let i = 0; i < this.$children.length; i++) {
12004
- const child = this.$children[i];
12005
- if (newValue !== null) {
12006
- child.setAttribute("variant", newValue);
12007
- if (newValue === "ol") {
12008
- child.style.setProperty("--item-index", String(i + 1));
12009
- } else {
12010
- child.style.removeProperty("--item-index");
12011
- }
12012
- } else {
12013
- child.removeAttribute("variant");
12014
- child.style.removeProperty("--item-index");
12015
- }
12233
+ if (this.isConnected) {
12234
+ __privateMethod(this, _List_instances, applyVariant_fn).call(this, newValue);
12016
12235
  }
12017
12236
  super.attributeChangedCallback(attrName, oldValue, newValue);
12018
12237
  break;
@@ -12096,63 +12315,39 @@ const _List = class _List extends PxElement {
12096
12315
  }
12097
12316
  }
12098
12317
  };
12099
- _List.nativeName = "div";
12100
- let List = _List;
12101
- if (!customElements.get("px-list")) {
12102
- customElements.define("px-list", List);
12103
- }
12104
- 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)}}';
12105
- const styleSheet$k = new CSSStyleSheet();
12106
- styleSheet$k.replaceSync(styles$n);
12107
- const _ListItem = class _ListItem extends PxElement {
12108
- template() {
12109
- return `
12110
- <div class="list-item" role="listitem">
12111
- <slot name="icon"></slot>
12112
- <slot name="label"></slot>
12113
- </div>
12114
- `;
12115
- }
12116
- constructor() {
12117
- super(styleSheet$k);
12118
- this.shadowRoot.innerHTML = this.template();
12119
- }
12120
- static get observedAttributes() {
12121
- 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);
12122
12328
  }
12123
- // TODO: factorize code
12124
- attributeChangedCallback(attrName, oldValue, newValue) {
12125
- if (oldValue !== newValue) {
12126
- switch (attrName) {
12127
- case "inverted":
12128
- for (let i = 0; i < this.$children.length; i++) {
12129
- if (!this.$children[i].hasAttribute("inverted")) {
12130
- this.$children[i].toggleAttribute("inverted");
12131
- }
12132
- }
12133
- this.$el.toggleAttribute("inverted", newValue !== null);
12134
- 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");
12135
12340
  }
12136
- }
12137
- }
12138
- get $children() {
12139
- return this.querySelectorAll("px-list-item > *");
12140
- }
12141
- get inverted() {
12142
- return this.hasAttribute("inverted");
12143
- }
12144
- set inverted(value) {
12145
- if (value) {
12146
- this.setAttribute("inverted", "");
12147
12341
  } else {
12148
- this.removeAttribute("inverted");
12342
+ child.removeAttribute("variant");
12343
+ child.style.removeProperty("--item-index");
12149
12344
  }
12150
12345
  }
12151
12346
  };
12152
- _ListItem.nativeName = "div";
12153
- let ListItem = _ListItem;
12154
- if (!customElements.get("px-list-item")) {
12155
- 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);
12156
12351
  }
12157
12352
  class MDDCloser extends HTMLElement {
12158
12353
  constructor() {
@@ -12611,6 +12806,7 @@ class Modal extends HTMLElement {
12611
12806
  this.onOpenClick = () => this.show();
12612
12807
  this.onCloseClick = () => this.close();
12613
12808
  this.commandButtonCleanups = [];
12809
+ this.opener = null;
12614
12810
  this.openerElement = null;
12615
12811
  this.closerElement = null;
12616
12812
  this.template = `<dialog>
@@ -12661,14 +12857,11 @@ class Modal extends HTMLElement {
12661
12857
  if (this.hasAttribute("open")) {
12662
12858
  this.show();
12663
12859
  }
12664
- if (this.hasAttribute("closedby")) {
12665
- this.addCloseListener(this.getAttribute("closedby"));
12666
- }
12667
12860
  if (this.hasAttribute("openedby")) {
12668
12861
  this.addOpenListener();
12669
12862
  }
12670
- if (this.hasAttribute("media-src")) {
12671
- this.updateMediaSrc(this.getAttribute("media-src"));
12863
+ if (this.hasAttribute("closedby")) {
12864
+ this.addCloseListener(this.getAttribute("closedby"));
12672
12865
  }
12673
12866
  this.toggleDescriptionVisibility();
12674
12867
  (_a = this.$slotDescription) == null ? void 0 : _a.addEventListener(
@@ -12687,7 +12880,9 @@ class Modal extends HTMLElement {
12687
12880
  attributeChangedCallback(attrName, oldValue, newValue) {
12688
12881
  switch (attrName) {
12689
12882
  case "open":
12690
- this.handleOpenChange();
12883
+ if (this.isConnected) {
12884
+ this.handleOpenChange();
12885
+ }
12691
12886
  break;
12692
12887
  case "status":
12693
12888
  this.handleStatusChange(oldValue, newValue);
@@ -12696,10 +12891,14 @@ class Modal extends HTMLElement {
12696
12891
  this.updateMediaSrc(newValue);
12697
12892
  break;
12698
12893
  case "openedby":
12699
- this.addOpenListener();
12894
+ if (this.isConnected) {
12895
+ this.addOpenListener();
12896
+ }
12700
12897
  break;
12701
12898
  case "closedby":
12702
- this.addCloseListener(newValue);
12899
+ if (this.isConnected) {
12900
+ this.addCloseListener(newValue);
12901
+ }
12703
12902
  break;
12704
12903
  case "id":
12705
12904
  this.addEventListenersToCommandButtons();
@@ -12815,12 +13014,29 @@ class Modal extends HTMLElement {
12815
13014
  addOpenListener() {
12816
13015
  var _a;
12817
13016
  this.removeOpenListener();
12818
- this.openerElement = this.$opener;
12819
- (_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
+ }
12820
13034
  }
12821
13035
  removeOpenListener() {
12822
- var _a;
12823
- (_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);
12824
13040
  this.openerElement = null;
12825
13041
  }
12826
13042
  addCloseListener(value) {
@@ -13235,7 +13451,9 @@ const _Price = class _Price extends PxElement {
13235
13451
  });
13236
13452
  this.observer.observe(this, {
13237
13453
  childList: true,
13238
- 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
13239
13457
  });
13240
13458
  }
13241
13459
  attributeChangedCallback(attrName, oldValue, newValue) {
@@ -13462,14 +13680,10 @@ class SelectableBoxCheckbox extends WithExtraAttributes {
13462
13680
  }
13463
13681
  connectedCallback() {
13464
13682
  this.toggleFooterVisibility = this.toggleFooterVisibility.bind(this);
13465
- if (this.name) this.$checkbox.setAttribute("name", this.name);
13466
- if (this.value) this.$checkbox.setAttribute("value", this.value);
13467
13683
  this.role = "checkbox";
13468
13684
  if (this.internals) {
13469
13685
  this.internals.role = "checkbox";
13470
- this.internals.ariaChecked = `${this.checked}`;
13471
13686
  }
13472
- this.ariaChecked = `${this.checked}`;
13473
13687
  this.tabIndex = 0;
13474
13688
  this.toggleFooterVisibility();
13475
13689
  this.$slotFooter.addEventListener(
@@ -13480,9 +13694,6 @@ class SelectableBoxCheckbox extends WithExtraAttributes {
13480
13694
  this.addEventListener("mouseout", this.removeHoverAttribute);
13481
13695
  this.addEventListener("keypress", this.setKeypressEvent);
13482
13696
  this.addEventListener("click", this.setClickEvent);
13483
- if (this.hasAttribute("checked")) {
13484
- this.checked = true;
13485
- }
13486
13697
  }
13487
13698
  static get observedAttributes() {
13488
13699
  return [
@@ -13739,15 +13950,11 @@ class SelectableBoxRadio extends WithExtraAttributes {
13739
13950
  connectedCallback() {
13740
13951
  var _a;
13741
13952
  this.toggleFooterVisibility = this.toggleFooterVisibility.bind(this);
13742
- if (this.name) this.$radio.setAttribute("name", this.name);
13743
- if (this.value) this.$radio.setAttribute("value", this.value);
13744
13953
  this.role = "radio";
13745
13954
  if (this.internals) {
13746
13955
  this.internals.role = "radio";
13747
- this.internals.ariaChecked = `${this.checked}`;
13748
13956
  }
13749
- this.ariaChecked = `${this.checked}`;
13750
- 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;
13751
13958
  this.toggleFooterVisibility();
13752
13959
  this.$slotFooter.addEventListener(
13753
13960
  "slotchange",
@@ -13757,9 +13964,6 @@ class SelectableBoxRadio extends WithExtraAttributes {
13757
13964
  this.addEventListener("mouseout", this.removeHoverAttribute);
13758
13965
  this.addEventListener("keypress", this.setKeypressEvent);
13759
13966
  this.addEventListener("click", this.setClickEvent);
13760
- if (this.hasAttribute("checked")) {
13761
- this.checked = true;
13762
- }
13763
13967
  }
13764
13968
  static get observedAttributes() {
13765
13969
  return [
@@ -15018,8 +15222,6 @@ class Tabs extends HTMLElement {
15018
15222
  var _a;
15019
15223
  super();
15020
15224
  __privateAdd(this, _Tabs_instances);
15021
- this._label = `tabs-${Math.random().toString(36).substring(2, 15)}`;
15022
- this.tabsConnected = 0;
15023
15225
  this.template = () => `
15024
15226
  <div id="container">
15025
15227
  <div id="tab-container">
@@ -15039,7 +15241,7 @@ class Tabs extends HTMLElement {
15039
15241
  </div>
15040
15242
  `;
15041
15243
  this.handleNextPreviousDisplay = () => {
15042
- if (this.allTabsConnected() && this.$prefixButton && this.$suffixButton) {
15244
+ if (this.$prefixButton && this.$suffixButton) {
15043
15245
  this.$prefixButton.style.display = this.shouldDisplayScrollLeftButton() ? "" : "none";
15044
15246
  this.$suffixButton.style.display = this.shouldDisplayScrollRightButton() ? "" : "none";
15045
15247
  }
@@ -15051,7 +15253,6 @@ class Tabs extends HTMLElement {
15051
15253
  }
15052
15254
  static get observedAttributes() {
15053
15255
  return [
15054
- "label",
15055
15256
  "inverted",
15056
15257
  "aria-label-next",
15057
15258
  "aria-label-previous",
@@ -15060,9 +15261,6 @@ class Tabs extends HTMLElement {
15060
15261
  }
15061
15262
  attributeChangedCallback(name, oldValue, newValue) {
15062
15263
  switch (name) {
15063
- case "label":
15064
- this.label = newValue;
15065
- break;
15066
15264
  case "aria-label-next":
15067
15265
  if (!this.hasAttribute("hide-controls")) {
15068
15266
  this.$suffixButton.setAttribute("aria-label", newValue || "Next tab");
@@ -15086,10 +15284,6 @@ class Tabs extends HTMLElement {
15086
15284
  }
15087
15285
  connectedCallback() {
15088
15286
  var _a, _b;
15089
- this.shadowRoot.querySelector("#tablist").setAttribute("aria-labelledby", this._label);
15090
- if (this.getAttribute("label")) {
15091
- this.label = this.getAttribute("label");
15092
- }
15093
15287
  this.role = "tablist";
15094
15288
  if (this.internals) {
15095
15289
  this.internals.role = "tablist";
@@ -15115,15 +15309,13 @@ class Tabs extends HTMLElement {
15115
15309
  }
15116
15310
  );
15117
15311
  this.addEventListener(TAB_CONNECTED_EVENT, () => {
15118
- this.tabsConnected++;
15119
15312
  this.handleNextPreviousDisplay();
15120
- if (this.allTabsConnected() && this.inverted) {
15313
+ if (this.inverted) {
15121
15314
  __privateMethod(this, _Tabs_instances, handleInverted_fn).call(this, this.getAttribute("inverted"));
15122
15315
  }
15123
15316
  });
15124
- if (this.allTabsConnected()) {
15125
- __privateMethod(this, _Tabs_instances, handleInverted_fn).call(this, this.getAttribute("inverted"));
15126
- }
15317
+ this.handleNextPreviousDisplay();
15318
+ __privateMethod(this, _Tabs_instances, handleInverted_fn).call(this, this.getAttribute("inverted"));
15127
15319
  this.addEventListener("keydown", (event) => {
15128
15320
  var _a2, _b2;
15129
15321
  if ((event.key === "ArrowRight" || event.key === "ArrowLeft") && ((_b2 = (_a2 = document.activeElement) == null ? void 0 : _a2.localName) == null ? void 0 : _b2.endsWith("-tab"))) {
@@ -15164,11 +15356,8 @@ class Tabs extends HTMLElement {
15164
15356
  }
15165
15357
  this.$activePanel.selected = true;
15166
15358
  }
15167
- allTabsConnected() {
15168
- return this.tabsConnected === this.querySelectorAll('[slot="tabs"]').length || [...this.$tabs].every((tab) => tab.isConnected);
15169
- }
15170
15359
  shouldDisplayScrollRightButton() {
15171
- 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;
15172
15361
  }
15173
15362
  shouldDisplayScrollLeftButton() {
15174
15363
  return this.$tabList.scrollLeft > 0;
@@ -15211,12 +15400,6 @@ class Tabs extends HTMLElement {
15211
15400
  get $suffixButton() {
15212
15401
  return this.shadowRoot.querySelector("#next");
15213
15402
  }
15214
- get label() {
15215
- return this.$tabList.getAttribute("aria-labelledby");
15216
- }
15217
- set label(value) {
15218
- this.$tabList.setAttribute("aria-labelledby", value);
15219
- }
15220
15403
  get inverted() {
15221
15404
  return this.hasAttribute("inverted");
15222
15405
  }
@@ -16094,7 +16277,7 @@ class TileRadio extends WithExtraAttributes {
16094
16277
  this.internals.ariaChecked = `${this.checked}`;
16095
16278
  }
16096
16279
  this.ariaChecked = `${this.checked}`;
16097
- 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;
16098
16281
  if (this.$slotPrefix) {
16099
16282
  const prefixImg = this.querySelector('px-img[slot="prefix"]');
16100
16283
  if (prefixImg) {
@@ -16769,67 +16952,10 @@ if (!customElements.get("px-tile-switch")) {
16769
16952
  customElements.define("px-tile-switch", TileSwitch);
16770
16953
  }
16771
16954
  const styles$1 = ".timeline{list-style:none;margin:0;padding:0}";
16772
- const styleSheet$1 = new CSSStyleSheet();
16773
- styleSheet$1.replaceSync(styles$1);
16774
- class Timeline extends HTMLElement {
16775
- template() {
16776
- return `
16777
- <ol class="timeline" role="list">
16778
- <slot></slot>
16779
- </ol>
16780
- `;
16781
- }
16782
- constructor() {
16783
- super();
16784
- this.attachShadow({ mode: "open" });
16785
- this.shadowRoot.innerHTML = this.template();
16786
- this.shadowRoot.adoptedStyleSheets = [styleSheet$1];
16787
- }
16788
- static get observedAttributes() {
16789
- return ["inverted"];
16790
- }
16791
- connectedCallback() {
16792
- this.configureChildren();
16793
- }
16794
- attributeChangedCallback(attrName, oldValue, newValue) {
16795
- if (oldValue !== newValue) {
16796
- switch (attrName) {
16797
- case "inverted":
16798
- for (let i = 0; i < this.$children.length; i++) {
16799
- this.$children[i].toggleAttribute("inverted");
16800
- }
16801
- break;
16802
- }
16803
- }
16804
- }
16805
- configureChildren() {
16806
- const lastChild = this.$children[this.$children.length - 1];
16807
- if (lastChild && !lastChild.hasAttribute("lastchild")) {
16808
- lastChild.setAttribute("lastchild", "");
16809
- }
16810
- for (let i = 0; i < this.$children.length; i++) {
16811
- this.$children[i].setAttribute("item", `${i + 1}`);
16812
- }
16813
- }
16814
- get $el() {
16815
- return this.shadowRoot.querySelector(".timeline");
16816
- }
16817
- get $children() {
16818
- return this.querySelectorAll("px-timeline-item");
16819
- }
16820
- get inverted() {
16821
- return this.getAttribute("inverted");
16822
- }
16823
- set inverted(value) {
16824
- this.setAttribute("inverted", value);
16825
- }
16826
- }
16827
- if (!customElements.get("px-timeline")) {
16828
- customElements.define("px-timeline", Timeline);
16829
- }
16830
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)}}';
16831
- const styleSheet = new CSSStyleSheet();
16832
- styleSheet.replaceSync(styles);
16956
+ const styleSheet$1 = new CSSStyleSheet();
16957
+ styleSheet$1.replaceSync(styles);
16958
+ const TIMELINE_ITEM_CONNECTED_EVENT = "px-timeline-item-connected";
16833
16959
  let item = "1";
16834
16960
  class TimelineItem extends HTMLElement {
16835
16961
  template() {
@@ -16849,7 +16975,15 @@ class TimelineItem extends HTMLElement {
16849
16975
  super();
16850
16976
  this.attachShadow({ mode: "open" });
16851
16977
  this.shadowRoot.innerHTML = this.template();
16852
- 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
+ );
16853
16987
  }
16854
16988
  static get observedAttributes() {
16855
16989
  return ["inverted", "lastchild", "item"];
@@ -16901,6 +17035,77 @@ class TimelineItem extends HTMLElement {
16901
17035
  if (!customElements.get("px-timeline-item")) {
16902
17036
  customElements.define("px-timeline-item", TimelineItem);
16903
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
+ }
16904
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)}";
16905
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)}}";
16906
17111
  const typographyStyles = new CSSStyleSheet();
@@ -16954,11 +17159,13 @@ export {
16954
17159
  AgGridTableThContent,
16955
17160
  AppleSeed,
16956
17161
  AttributeBreakpointHandlerDelegate,
17162
+ BREADCRUMB_ITEM_CONNECTED_EVENT,
16957
17163
  Banner,
16958
17164
  Breadcrumb,
16959
17165
  BreadcrumbItem,
16960
17166
  Button,
16961
17167
  ButtonIcon,
17168
+ CAROUSEL_ITEM_CONNECTED_EVENT,
16962
17169
  Card,
16963
17170
  Carousel,
16964
17171
  CarouselItem,
@@ -16995,6 +17202,7 @@ export {
16995
17202
  Image,
16996
17203
  Input,
16997
17204
  InputState,
17205
+ LIST_ITEM_CONNECTED_EVENT,
16998
17206
  Link,
16999
17207
  List,
17000
17208
  ListItem,
@@ -17030,6 +17238,7 @@ export {
17030
17238
  Status,
17031
17239
  StatusCard,
17032
17240
  Switch,
17241
+ TIMELINE_ITEM_CONNECTED_EVENT,
17033
17242
  Table,
17034
17243
  Tag,
17035
17244
  Tbody,
@@ -17133,6 +17342,7 @@ export {
17133
17342
  statusStateValues,
17134
17343
  statusValues,
17135
17344
  styleSheet$A as styleSheet,
17345
+ subgridRowsValues,
17136
17346
  suffixButtonIconVariantValues,
17137
17347
  textalignValues,
17138
17348
  tileBackgroundColorValues,