@proximus/lavender-light 1.4.8-beta.1 → 1.4.9-alpha.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.
@@ -1148,10 +1148,11 @@ const containerCss = ':host{display:block}.container{font-family:var(--px-font-f
1148
1148
  const containerStyles = new CSSStyleSheet();
1149
1149
  containerStyles.replaceSync(containerCss);
1150
1150
  const anchorSpacingValues = [
1151
- "has-patch",
1152
- "neighbor-has-patch",
1153
- "has-ribbon",
1154
- "neighbor-has-ribbon"
1151
+ "top-patch",
1152
+ "top-neighbor-patch",
1153
+ "top-ribbon",
1154
+ "top-neighbor-ribbon",
1155
+ "top-patch-and-neighbor-ribbon"
1155
1156
  ];
1156
1157
  const subgridRowsValues = [
1157
1158
  "1",
@@ -5991,20 +5992,20 @@ const _ContentHeader = class _ContentHeader extends PxElement {
5991
5992
  }
5992
5993
  createGridding(value) {
5993
5994
  const breakpoints = [
5994
- { prop: "hasGridding", gridProp: "gridCols", attr: "col-span" },
5995
+ { prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
5995
5996
  {
5996
5997
  prop: "hasGriddingMobile",
5997
- gridProp: "gridColsMobile",
5998
+ gridAttr: "grid-cols--mobile",
5998
5999
  attr: "col-span--mobile"
5999
6000
  },
6000
6001
  {
6001
6002
  prop: "hasGriddingTablet",
6002
- gridProp: "gridColsTablet",
6003
+ gridAttr: "grid-cols--tablet",
6003
6004
  attr: "col-span--tablet"
6004
6005
  },
6005
6006
  {
6006
6007
  prop: "hasGriddingLaptop",
6007
- gridProp: "gridColsLaptop",
6008
+ gridAttr: "grid-cols--laptop",
6008
6009
  attr: "col-span--laptop"
6009
6010
  }
6010
6011
  ];
@@ -6012,16 +6013,16 @@ const _ContentHeader = class _ContentHeader extends PxElement {
6012
6013
  "px-grid > px-container"
6013
6014
  );
6014
6015
  if (value !== null) {
6015
- breakpoints.forEach(({ prop, gridProp, attr }) => {
6016
+ breakpoints.forEach(({ prop, gridAttr, attr }) => {
6016
6017
  if (this[prop]) {
6017
- this.$grid[gridProp] = "3";
6018
- spanElement.setAttribute(attr, "2");
6018
+ this.$grid.setAttribute(gridAttr, "3");
6019
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
6019
6020
  }
6020
6021
  });
6021
6022
  } else {
6022
- breakpoints.forEach(({ gridProp, attr }) => {
6023
- this.$grid[gridProp] = "1";
6024
- spanElement.removeAttribute(attr);
6023
+ breakpoints.forEach(({ gridAttr, attr }) => {
6024
+ this.$grid.setAttribute(gridAttr, "1");
6025
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
6025
6026
  });
6026
6027
  }
6027
6028
  }