@proximus/lavender 1.4.7-alpha.3 → 1.4.7-alpha.4

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.
@@ -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)}@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}}';
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";
@@ -17137,6 +17215,7 @@ export {
17137
17215
  statusStateValues,
17138
17216
  statusValues,
17139
17217
  styleSheet$A as styleSheet,
17218
+ subgridRowsValues,
17140
17219
  suffixButtonIconVariantValues,
17141
17220
  textalignValues,
17142
17221
  tileBackgroundColorValues,