@proximus/lavender 1.4.10-beta.2 → 1.4.11-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.
@@ -3970,7 +3970,6 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
3970
3970
  <slot name="title"></slot>
3971
3971
  <slot name="description"></slot>
3972
3972
  <slot name="content"></slot>
3973
-
3974
3973
  </div>
3975
3974
  </px-container>
3976
3975
  </px-grid>
@@ -4106,20 +4105,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
4106
4105
  }
4107
4106
  createGridding(value) {
4108
4107
  const breakpoints = [
4109
- { prop: "hasGridding", gridProp: "gridCols", attr: "col-span" },
4108
+ { prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
4110
4109
  {
4111
4110
  prop: "hasGriddingMobile",
4112
- gridProp: "gridColsMobile",
4111
+ gridAttr: "grid-cols--mobile",
4113
4112
  attr: "col-span--mobile"
4114
4113
  },
4115
4114
  {
4116
4115
  prop: "hasGriddingTablet",
4117
- gridProp: "gridColsTablet",
4116
+ gridAttr: "grid-cols--tablet",
4118
4117
  attr: "col-span--tablet"
4119
4118
  },
4120
4119
  {
4121
4120
  prop: "hasGriddingLaptop",
4122
- gridProp: "gridColsLaptop",
4121
+ gridAttr: "grid-cols--laptop",
4123
4122
  attr: "col-span--laptop"
4124
4123
  }
4125
4124
  ];
@@ -4127,16 +4126,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
4127
4126
  "px-grid > px-container"
4128
4127
  );
4129
4128
  if (value !== null) {
4130
- breakpoints.forEach(({ prop, gridProp, attr }) => {
4129
+ breakpoints.forEach(({ prop, gridAttr, attr }) => {
4131
4130
  if (this[prop]) {
4132
- this.$grid[gridProp] = "3";
4133
- spanElement.setAttribute(attr, "2");
4131
+ this.$grid.setAttribute(gridAttr, "3");
4132
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
4134
4133
  }
4135
4134
  });
4136
4135
  } else {
4137
- breakpoints.forEach(({ gridProp, attr }) => {
4138
- this.$grid[gridProp] = "1";
4139
- spanElement.removeAttribute(attr);
4136
+ breakpoints.forEach(({ gridAttr, attr }) => {
4137
+ this.$grid.setAttribute(gridAttr, "1");
4138
+ spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
4140
4139
  });
4141
4140
  }
4142
4141
  }
@@ -7215,7 +7214,7 @@ class CellSwitch extends WithExtraAttributes {
7215
7214
  return `
7216
7215
  <div class="cell-switch">
7217
7216
  <px-cell hoverable>
7218
- <px-switch slot="action-indicator" aria-hidden="true" tabindex="-1"></px-switch>
7217
+ <px-switch slot="action-indicator" inert></px-switch>
7219
7218
  <slot name="visual" slot="visual"></slot>
7220
7219
  <slot name="label" slot="label"></slot>
7221
7220
  <slot name="description" slot="description"></slot>
@@ -8109,7 +8108,7 @@ class CellRadio extends WithExtraAttributes {
8109
8108
  return `
8110
8109
  <div class="cell-radio">
8111
8110
  <px-cell hoverable>
8112
- <px-radio slot="prefix" aria-hidden="true" tabindex="-1"></px-radio>
8111
+ <px-radio slot="prefix" inert></px-radio>
8113
8112
  <slot name="visual" slot="visual"></slot>
8114
8113
  <slot name="label" slot="label"></slot>
8115
8114
  <slot name="description" slot="description"></slot>
@@ -16655,7 +16654,7 @@ class TileCheckbox extends WithExtraAttributes {
16655
16654
  <div class="tile-checkbox">
16656
16655
  <px-tile hoverable>
16657
16656
  <slot name="prefix" slot="prefix"></slot>
16658
- <px-checkbox slot="suffix" aria-hidden="true" tabindex="-1"></px-checkbox>
16657
+ <px-checkbox slot="suffix" inert></px-checkbox>
16659
16658
  <slot name="label" slot="label"></slot>
16660
16659
  <slot name="description" slot="description"></slot>
16661
16660
  </px-tile>
@@ -16935,7 +16934,7 @@ class TileRadio extends WithExtraAttributes {
16935
16934
  <div class="tile-radio">
16936
16935
  <px-tile hoverable>
16937
16936
  <slot name="prefix" slot="prefix"></slot>
16938
- <px-radio slot="suffix" aria-hidden="true" tabindex="-1"></px-radio>
16937
+ <px-radio slot="suffix" inert></px-radio>
16939
16938
  <slot name="label" slot="label"></slot>
16940
16939
  <slot name="description" slot="description"></slot>
16941
16940
  </px-tile>
@@ -17377,7 +17376,7 @@ class TileSwitch extends WithExtraAttributes {
17377
17376
  <div class="tile-switch">
17378
17377
  <px-tile hoverable>
17379
17378
  <slot name="prefix" slot="prefix"></slot>
17380
- <px-switch slot="suffix" aria-hidden="true" tabindex="-1"></px-switch>
17379
+ <px-switch slot="suffix" inert></px-switch>
17381
17380
  <slot name="label" slot="label"></slot>
17382
17381
  <slot name="description" slot="description"></slot>
17383
17382
  </px-tile>