@proximus/lavender 2.0.0-alpha.57 → 2.0.0-alpha.59

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.
@@ -880,43 +880,43 @@ function transferAccessibilityAttributes(sourceElement, targetElement, applyLabe
880
880
  sourceElement.setAttribute("aria-labelledby", id);
881
881
  }
882
882
  }
883
- function cssTokenBreakpoints(attributeName, selector, attributeValues, cssPropertyPrefix = "", generatedCssPropertyName) {
883
+ function cssTokenBreakpoints(attributeName, selector, attributeValues, cssPropertyPrefix = "", generatedCssPropertyName, selectorAttributeName = attributeName) {
884
884
  const stylesheet2 = new CSSStyleSheet();
885
885
  const styles2 = attributeValues.reduce(
886
886
  (prev, attributeValue) => prev + `
887
- ${selector(attributeName, attributeValue)} {
887
+ ${selector(selectorAttributeName, attributeValue)} {
888
888
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop);
889
889
  ${generatedCssPropertyName ? `${generatedCssPropertyName}:var(--${cssPropertyPrefix}-${attributeValue}-desktop)` : ""}
890
890
  }
891
891
  /* Mobile only - max 767px */
892
892
  @media only screen and (max-width: 47.938em) {
893
- ${selector(attributeName, attributeValue)} {
893
+ ${selector(selectorAttributeName, attributeValue)} {
894
894
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile);
895
895
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile)` : ""}
896
896
  }
897
897
  }
898
- ${selector(attributeName, attributeValue, "mobile")} {
898
+ ${selector(selectorAttributeName, attributeValue, "mobile")} {
899
899
  /* Mobile only - max 767px */
900
900
  @media only screen and (max-width: 47.938em) {
901
901
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile) !important;
902
902
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-mobile)` : ""}
903
903
  }
904
904
  }
905
- ${selector(attributeName, attributeValue, "tablet")} {
905
+ ${selector(selectorAttributeName, attributeValue, "tablet")} {
906
906
  /* Tablet - min 768px max 1024px */
907
907
  @media only screen and (min-width: 48em) and (max-width: 64em) {
908
908
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop) !important;
909
909
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop)` : ""}
910
910
  }
911
911
  }
912
- ${selector(attributeName, attributeValue, "laptop")} {
912
+ ${selector(selectorAttributeName, attributeValue, "laptop")} {
913
913
  /* Laptop - 1025px*/
914
914
  @media only screen and (min-width: 64.0625em) {
915
915
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop) !important;
916
916
  ${generatedCssPropertyName ? `${generatedCssPropertyName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop)` : ""}
917
917
  }
918
918
  }
919
- ${selector(attributeName, attributeValue, "desktop")} {
919
+ ${selector(selectorAttributeName, attributeValue, "desktop")} {
920
920
  /* Desktop - 1025px*/
921
921
  @media only screen and (min-width: 64.0625em) {
922
922
  ${attributeName}: var(--${cssPropertyPrefix}-${attributeValue}-desktop) !important;
@@ -2269,7 +2269,7 @@ let Span = _Span;
2269
2269
  if (!customElements.get("px-span")) {
2270
2270
  customElements.define("px-span", Span);
2271
2271
  }
2272
- 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}}';
2272
+ 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}}';
2273
2273
  const containerStyles = new CSSStyleSheet();
2274
2274
  containerStyles.replaceSync(containerCss);
2275
2275
  const anchorSpacingValues = [
@@ -2278,6 +2278,20 @@ const anchorSpacingValues = [
2278
2278
  "has-ribbon",
2279
2279
  "neighbor-has-ribbon"
2280
2280
  ];
2281
+ const subgridRowsValues = [
2282
+ "1",
2283
+ "2",
2284
+ "3",
2285
+ "4",
2286
+ "5",
2287
+ "6",
2288
+ "7",
2289
+ "8",
2290
+ "9",
2291
+ "10",
2292
+ "11",
2293
+ "12"
2294
+ ];
2281
2295
  const attributeBreakpointCSSSelector$3 = (attributeName, attributeValue, device) => `:host([${attributeName}${device ? `--${device}` : ""}='${attributeValue}']) .container`;
2282
2296
  const paddingPrefix$1 = "px-padding";
2283
2297
  const containerBreakpoints = [
@@ -2325,9 +2339,17 @@ const containerBreakpoints = [
2325
2339
  paddingValues,
2326
2340
  paddingPrefix$1,
2327
2341
  "--container-padding-left"
2342
+ ),
2343
+ cssTokenBreakpoints(
2344
+ "gap",
2345
+ attributeBreakpointCSSSelector$3,
2346
+ gapValues,
2347
+ "px-spacing",
2348
+ void 0,
2349
+ "subgrid-gap"
2328
2350
  )
2329
2351
  ];
2330
- const _Container = class _Container extends VerticallyExtendedElement {
2352
+ const _Container = class _Container extends WithExtraAttributes {
2331
2353
  constructor() {
2332
2354
  super(containerStyles, ...containerBreakpoints);
2333
2355
  this.template = () => `<div class="container">
@@ -2338,6 +2360,7 @@ const _Container = class _Container extends VerticallyExtendedElement {
2338
2360
  </div>`;
2339
2361
  this._bgObserver = null;
2340
2362
  this._isInViewport = false;
2363
+ this.contentObserver = null;
2341
2364
  this.shadowRoot.innerHTML = this.template();
2342
2365
  }
2343
2366
  static get observedAttributes() {
@@ -2371,11 +2394,11 @@ const _Container = class _Container extends VerticallyExtendedElement {
2371
2394
  "box-shadow",
2372
2395
  "anchor-offset",
2373
2396
  "anchor-spacing",
2374
- "inverted"
2397
+ "inverted",
2398
+ "subgrid-rows"
2375
2399
  ];
2376
2400
  }
2377
2401
  connectedCallback() {
2378
- super.connectedCallback();
2379
2402
  if (!this.padding) {
2380
2403
  this.padding = "m";
2381
2404
  }
@@ -2411,9 +2434,9 @@ const _Container = class _Container extends VerticallyExtendedElement {
2411
2434
  this._bgObserver.observe(this.$el);
2412
2435
  }
2413
2436
  disconnectedCallback() {
2414
- var _a;
2437
+ var _a, _b;
2415
2438
  (_a = this._bgObserver) == null ? void 0 : _a.disconnect();
2416
- this.contentObserver.disconnect();
2439
+ (_b = this.contentObserver) == null ? void 0 : _b.disconnect();
2417
2440
  }
2418
2441
  attributeChangedCallback(attrName, oldValue, newValue) {
2419
2442
  if (oldValue !== newValue) {
@@ -2491,6 +2514,14 @@ const _Container = class _Container extends VerticallyExtendedElement {
2491
2514
  case "anchor-spacing":
2492
2515
  this.updateAnchorSpacing(oldValue, newValue, anchorSpacingValues);
2493
2516
  break;
2517
+ case "subgrid-rows":
2518
+ this.updateSubgridRows(
2519
+ attrName,
2520
+ oldValue,
2521
+ newValue,
2522
+ subgridRowsValues
2523
+ );
2524
+ break;
2494
2525
  default:
2495
2526
  super.attributeChangedCallback(attrName, oldValue, newValue);
2496
2527
  break;
@@ -2672,6 +2703,19 @@ const _Container = class _Container extends VerticallyExtendedElement {
2672
2703
  updateAnchorSpacingStyle(oldValue);
2673
2704
  updateAnchorSpacingStyle(newValue);
2674
2705
  }
2706
+ updateSubgridRows(attrName, oldValue, newValue, attrValues) {
2707
+ if (!checkName(attrValues, newValue)) {
2708
+ log(
2709
+ `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
2710
+ );
2711
+ } else {
2712
+ this.style.setProperty(`--${attrName}`, newValue);
2713
+ }
2714
+ }
2715
+ get $el() {
2716
+ var _a;
2717
+ return (_a = this == null ? void 0 : this.shadowRoot) == null ? void 0 : _a.querySelector(".container");
2718
+ }
2675
2719
  get $slotAnchor() {
2676
2720
  return this.querySelector('[slot^="anchor"]');
2677
2721
  }
@@ -3012,10 +3056,44 @@ const _Container = class _Container extends VerticallyExtendedElement {
3012
3056
  this.setAttribute("anchor-spacing", value);
3013
3057
  }
3014
3058
  get inverted() {
3015
- return this.getAttribute("inverted");
3059
+ return this.hasAttribute("inverted");
3016
3060
  }
3017
3061
  set inverted(value) {
3018
- this.setAttribute("inverted", value);
3062
+ if (value) {
3063
+ this.setAttribute("inverted", "");
3064
+ } else {
3065
+ this.removeAttribute("inverted");
3066
+ }
3067
+ }
3068
+ get subgridRows() {
3069
+ return this.getAttribute("subgrid-rows");
3070
+ }
3071
+ set subgridRows(value) {
3072
+ this.setAttribute("subgrid-rows", value);
3073
+ }
3074
+ get subgridGap() {
3075
+ return this.getAttribute("subgrid-gap");
3076
+ }
3077
+ set subgridGap(value) {
3078
+ this.setAttribute("subgrid-gap", value);
3079
+ }
3080
+ get subgridGapMobile() {
3081
+ return this.getAttribute("subgrid-gap--mobile");
3082
+ }
3083
+ set subgridGapMobile(value) {
3084
+ this.setAttribute("subgrid-gap--mobile", value);
3085
+ }
3086
+ get subgridGapTablet() {
3087
+ return this.getAttribute("subgrid-gap--tablet");
3088
+ }
3089
+ set subgridGapTablet(value) {
3090
+ this.setAttribute("subgrid-gap--tablet", value);
3091
+ }
3092
+ get subgridGapLaptop() {
3093
+ return this.getAttribute("subgrid-gap--laptop");
3094
+ }
3095
+ set subgridGapLaptop(value) {
3096
+ this.setAttribute("subgrid-gap--laptop", value);
3019
3097
  }
3020
3098
  };
3021
3099
  _Container.nativeName = "div";
@@ -17095,6 +17173,7 @@ export {
17095
17173
  statusStateValues,
17096
17174
  statusValues,
17097
17175
  styleSheet$A as styleSheet,
17176
+ subgridRowsValues,
17098
17177
  suffixButtonIconVariantValues,
17099
17178
  textalignValues,
17100
17179
  tileBackgroundColorValues,