@proximus/lavender 1.4.8-beta.1 → 1.4.9-alpha.1

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.
@@ -3875,7 +3875,6 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3875
3875
  <slot name="title"></slot>
3876
3876
  <slot name="description"></slot>
3877
3877
  <slot name="content"></slot>
3878
-
3879
3878
  </div>
3880
3879
  </px-container>
3881
3880
  </px-grid>
@@ -4011,20 +4010,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
4011
4010
  }
4012
4011
  createGridding(value) {
4013
4012
  const breakpoints = [
4014
- { prop: "hasGridding", gridProp: "gridCols", attr: "col-span" },
4013
+ { prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
4015
4014
  {
4016
4015
  prop: "hasGriddingMobile",
4017
- gridProp: "gridColsMobile",
4016
+ gridAttr: "grid-cols--mobile",
4018
4017
  attr: "col-span--mobile"
4019
4018
  },
4020
4019
  {
4021
4020
  prop: "hasGriddingTablet",
4022
- gridProp: "gridColsTablet",
4021
+ gridAttr: "grid-cols--tablet",
4023
4022
  attr: "col-span--tablet"
4024
4023
  },
4025
4024
  {
4026
4025
  prop: "hasGriddingLaptop",
4027
- gridProp: "gridColsLaptop",
4026
+ gridAttr: "grid-cols--laptop",
4028
4027
  attr: "col-span--laptop"
4029
4028
  }
4030
4029
  ];
@@ -4032,16 +4031,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
4032
4031
  "px-grid > px-container"
4033
4032
  );
4034
4033
  if (value !== null) {
4035
- breakpoints.forEach(({ prop, gridProp, attr }) => {
4034
+ breakpoints.forEach(({ prop, gridAttr, attr }) => {
4036
4035
  if (this[prop]) {
4037
- this.$grid[gridProp] = "3";
4038
- spanElement.setAttribute(attr, "2");
4036
+ this.$grid.setAttribute(gridAttr, "3");
4037
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
4039
4038
  }
4040
4039
  });
4041
4040
  } else {
4042
- breakpoints.forEach(({ gridProp, attr }) => {
4043
- this.$grid[gridProp] = "1";
4044
- spanElement.removeAttribute(attr);
4041
+ breakpoints.forEach(({ gridAttr, attr }) => {
4042
+ this.$grid.setAttribute(gridAttr, "1");
4043
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
4045
4044
  });
4046
4045
  }
4047
4046
  }
@@ -7159,7 +7158,7 @@ class CellSwitch extends WithExtraAttributes {
7159
7158
  return `
7160
7159
  <div class="cell-switch">
7161
7160
  <px-cell hoverable>
7162
- <px-switch slot="action-indicator" aria-hidden="true" tabindex="-1"></px-switch>
7161
+ <px-switch slot="action-indicator" inert></px-switch>
7163
7162
  <slot name="visual" slot="visual"></slot>
7164
7163
  <slot name="label" slot="label"></slot>
7165
7164
  <slot name="description" slot="description"></slot>
@@ -8053,7 +8052,7 @@ class CellRadio extends WithExtraAttributes {
8053
8052
  return `
8054
8053
  <div class="cell-radio">
8055
8054
  <px-cell hoverable>
8056
- <px-radio slot="prefix" aria-hidden="true" tabindex="-1"></px-radio>
8055
+ <px-radio slot="prefix" inert></px-radio>
8057
8056
  <slot name="visual" slot="visual"></slot>
8058
8057
  <slot name="label" slot="label"></slot>
8059
8058
  <slot name="description" slot="description"></slot>
@@ -9328,20 +9327,20 @@ const _ContentHeader = class _ContentHeader extends PxElement {
9328
9327
  }
9329
9328
  createGridding(value) {
9330
9329
  const breakpoints = [
9331
- { prop: "hasGridding", gridProp: "gridCols", attr: "col-span" },
9330
+ { prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
9332
9331
  {
9333
9332
  prop: "hasGriddingMobile",
9334
- gridProp: "gridColsMobile",
9333
+ gridAttr: "grid-cols--mobile",
9335
9334
  attr: "col-span--mobile"
9336
9335
  },
9337
9336
  {
9338
9337
  prop: "hasGriddingTablet",
9339
- gridProp: "gridColsTablet",
9338
+ gridAttr: "grid-cols--tablet",
9340
9339
  attr: "col-span--tablet"
9341
9340
  },
9342
9341
  {
9343
9342
  prop: "hasGriddingLaptop",
9344
- gridProp: "gridColsLaptop",
9343
+ gridAttr: "grid-cols--laptop",
9345
9344
  attr: "col-span--laptop"
9346
9345
  }
9347
9346
  ];
@@ -9349,16 +9348,16 @@ const _ContentHeader = class _ContentHeader extends PxElement {
9349
9348
  "px-grid > px-container"
9350
9349
  );
9351
9350
  if (value !== null) {
9352
- breakpoints.forEach(({ prop, gridProp, attr }) => {
9351
+ breakpoints.forEach(({ prop, gridAttr, attr }) => {
9353
9352
  if (this[prop]) {
9354
- this.$grid[gridProp] = "3";
9355
- spanElement.setAttribute(attr, "2");
9353
+ this.$grid.setAttribute(gridAttr, "3");
9354
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
9356
9355
  }
9357
9356
  });
9358
9357
  } else {
9359
- breakpoints.forEach(({ gridProp, attr }) => {
9360
- this.$grid[gridProp] = "1";
9361
- spanElement.removeAttribute(attr);
9358
+ breakpoints.forEach(({ gridAttr, attr }) => {
9359
+ this.$grid.setAttribute(gridAttr, "1");
9360
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
9362
9361
  });
9363
9362
  }
9364
9363
  }
@@ -16523,7 +16522,7 @@ class TileCheckbox extends WithExtraAttributes {
16523
16522
  <div class="tile-checkbox">
16524
16523
  <px-tile hoverable>
16525
16524
  <slot name="prefix" slot="prefix"></slot>
16526
- <px-checkbox slot="suffix" aria-hidden="true" tabindex="-1"></px-checkbox>
16525
+ <px-checkbox slot="suffix" inert></px-checkbox>
16527
16526
  <slot name="label" slot="label"></slot>
16528
16527
  <slot name="description" slot="description"></slot>
16529
16528
  </px-tile>
@@ -16803,7 +16802,7 @@ class TileRadio extends WithExtraAttributes {
16803
16802
  <div class="tile-radio">
16804
16803
  <px-tile hoverable>
16805
16804
  <slot name="prefix" slot="prefix"></slot>
16806
- <px-radio slot="suffix" aria-hidden="true" tabindex="-1"></px-radio>
16805
+ <px-radio slot="suffix" inert></px-radio>
16807
16806
  <slot name="label" slot="label"></slot>
16808
16807
  <slot name="description" slot="description"></slot>
16809
16808
  </px-tile>
@@ -17245,7 +17244,7 @@ class TileSwitch extends WithExtraAttributes {
17245
17244
  <div class="tile-switch">
17246
17245
  <px-tile hoverable>
17247
17246
  <slot name="prefix" slot="prefix"></slot>
17248
- <px-switch slot="suffix" aria-hidden="true" tabindex="-1"></px-switch>
17247
+ <px-switch slot="suffix" inert></px-switch>
17249
17248
  <slot name="label" slot="label"></slot>
17250
17249
  <slot name="description" slot="description"></slot>
17251
17250
  </px-tile>