@proximus/lavender-light 2.0.0-alpha.1 → 2.0.0-alpha.13

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.
@@ -6247,7 +6247,7 @@ class CellRadio extends WithExtraAttributes {
6247
6247
  return `
6248
6248
  <div class="cell-radio">
6249
6249
  <px-cell hoverable>
6250
- <px-radio-base slot="prefix" aria-hidden="true" tabindex="-1"></px-radio-base>
6250
+ <px-radio slot="prefix" aria-hidden="true" tabindex="-1"></px-radio>
6251
6251
  <slot name="visual" slot="visual"></slot>
6252
6252
  <slot name="label" slot="label"></slot>
6253
6253
  <slot name="description" slot="description"></slot>
@@ -6256,17 +6256,18 @@ class CellRadio extends WithExtraAttributes {
6256
6256
  `;
6257
6257
  }
6258
6258
  constructor() {
6259
- var _a, _b;
6259
+ var _a;
6260
6260
  super(commonStyleSheet);
6261
6261
  this.shadowRoot.innerHTML = this.template();
6262
6262
  this.internals = (_a = this.attachInternals) == null ? void 0 : _a.call(this);
6263
- this.tabIndex = ((_b = this.parentElement) == null ? void 0 : _b.firstElementChild) === this ? 0 : -1;
6264
6263
  if (this.internals) {
6265
6264
  this.internals.role = "radio";
6266
6265
  this.internals.ariaChecked = `${this.checked}`;
6267
6266
  }
6268
6267
  }
6269
6268
  connectedCallback() {
6269
+ var _a;
6270
+ this.tabIndex = ((_a = this.parentElement) == null ? void 0 : _a.firstElementChild) === this ? 0 : -1;
6270
6271
  if (this.$slotVisual) {
6271
6272
  const slotVisualImg = this.querySelector('px-img[slot="visual"]');
6272
6273
  if (slotVisualImg) {
@@ -6411,7 +6412,7 @@ class CellRadio extends WithExtraAttributes {
6411
6412
  if (this.internals) {
6412
6413
  this.internals.ariaChecked = "false";
6413
6414
  }
6414
- this.setAttribute("tabIndex", "-1");
6415
+ this.tabIndex = -1;
6415
6416
  this.checked = false;
6416
6417
  if (this.$radio) {
6417
6418
  this.$radio.removeAttribute("checked");
@@ -6420,7 +6421,7 @@ class CellRadio extends WithExtraAttributes {
6420
6421
  if (this.internals) {
6421
6422
  this.internals.ariaChecked = "true";
6422
6423
  }
6423
- this.setAttribute("tabIndex", "0");
6424
+ this.tabIndex = 0;
6424
6425
  this.checked = true;
6425
6426
  if (this.$radio) {
6426
6427
  this.$radio.setAttribute("checked", "");
@@ -6479,7 +6480,7 @@ class CellRadio extends WithExtraAttributes {
6479
6480
  return this.shadowRoot.querySelector(".cell-radio");
6480
6481
  }
6481
6482
  get $radio() {
6482
- return this.shadowRoot.querySelector("px-radio-base");
6483
+ return this.shadowRoot.querySelector("px-radio");
6483
6484
  }
6484
6485
  get $slotVisual() {
6485
6486
  return this.querySelector('[slot="visual"]');
@@ -6647,7 +6648,7 @@ class CellRadio extends WithExtraAttributes {
6647
6648
  if (!customElements.get("px-cell-radio")) {
6648
6649
  customElements.define("px-cell-radio", CellRadio);
6649
6650
  }
6650
- const styles$2 = ":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:2em 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button:hover,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media only screen and (min-width: 48em){button,a{font-size:var(--px-text-size-label-m-tablet)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){button,a{font-size:var(--px-text-size-label-m-laptop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}";
6651
+ const styles$2 = ":host{display:block}:host *{box-sizing:border-box}button,a{display:block;font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-font-line-height-l);color:var(--px-color-text-neutral-default);text-align:center;cursor:pointer;padding:2em 0;height:100%}button:after,a:after{content:attr(data-label);display:block;height:0;width:auto;visibility:hidden;overflow:hidden;-webkit-user-select:none;user-select:none;pointer-events:none;font-weight:var(--px-font-weight-title)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}button:hover,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:calc(2em - 2px)}button{margin:0;border:0;border-bottom:2px solid rgba(0,0,0,0);outline:0;background:inherit}button[aria-expanded=true]{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);border-bottom-color:var(--px-color-background-container-primary-default)}a{text-decoration:none}@media only screen and (min-width: 48em){button,a{font-size:var(--px-text-size-label-m-tablet)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (min-width: 64.0625em){button,a{font-size:var(--px-text-size-label-m-laptop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media only screen and (min-width: 90.0625em){button,a{font-size:var(--px-text-size-label-m-desktop)}button:focus-visible,a:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}";
6651
6652
  const stylesheet$3 = new CSSStyleSheet();
6652
6653
  stylesheet$3.replaceSync(styles$2);
6653
6654
  class HeaderItem extends WithExtraAttributes {
@@ -7249,8 +7250,9 @@ class Header extends WithExtraAttributes {
7249
7250
  <slot name="skip"></slot>
7250
7251
  <px-section id="navigation-container" padding-block--mobile="s" padding-block="none"
7251
7252
  background-color="none">
7252
- <px-hstack id="dropdown-zone--desktop" justify-content="space-between" align-items="center">
7253
+ <px-hstack id="dropdown-zone--desktop" align-items="center">
7253
7254
  <slot name="target-group"></slot>
7255
+ <px-spacer></px-spacer>
7254
7256
  <slot name="user-language"></slot>
7255
7257
  </px-hstack>
7256
7258
  <px-hstack gap="default" wrap="wrap" align-items="center">