@proximus/lavender-light 2.0.0-alpha.100 → 2.0.0-alpha.102

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.
@@ -12,7 +12,7 @@ const linkCss = ':host([variant="icon-link"]){display:inline-flex}a,.link,::slot
12
12
  const paragraphCss = "p,::slotted(p){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);margin:0}::slotted(p){margin-bottom:var(--px-spacing-xs-mobile)}.text-align-left{text-align:left}.text-align-center{text-align:center}.text-align-right{text-align:right}:host([inverted]) p,:host([inverted]) ::slotted(p){color:var(--px-color-text-neutral-inverted)}@media screen and (max-width: 48rem){.text-align-left--mobile{text-align:left}.text-align-center--mobile{text-align:center}.text-align-right--mobile{text-align:right}}@media screen and (min-width: 48rem){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-tablet)}.text-align-left--tablet{text-align:left}.text-align-center--tablet{text-align:center}.text-align-right--tablet{text-align:right}}@media screen and (min-width: 64.0625rem){p,::slotted(p){font-size:var(--px-text-size-body-m-desktop)}::slotted(p){margin-bottom:var(--px-spacing-xs-laptop)}.text-align-left--laptop{text-align:left}.text-align-center--laptop{text-align:center}.text-align-right--laptop{text-align:right}}@media screen and (min-width: 90.0625rem){::slotted(p){margin-bottom:var(--px-spacing-xs-desktop)}}";
13
13
  const spanCss = "span,::slotted(span){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}:host([inverted]) span,:host([inverted]) ::slotted(span){color:var(--px-color-text-neutral-inverted)}:host([strikethrough]) span{text-decoration:line-through}span.link{text-decoration:underline}@media screen and (min-width: 48rem){span,::slotted(span){font-size:var(--px-text-size-body-m-desktop)}}@media screen and (min-width: 64.0625rem){span,::slotted(span){font-size:var(--px-text-size-body-m-desktop)}}";
14
14
  const commonStyles = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-self-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([sticky-top]){position:sticky;top:0}:host([sticky-bottom]){position:sticky;bottom:0}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 47.938rem){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 48rem) and (max-width: 64rem){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 64.0625rem){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 64.0625rem){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 90.0625rem){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}";
15
- const __vite_import_meta_env__ = {};
15
+ const __vite_import_meta_env__ = { "DEV": true, "VITE_COMPONENT_DEBUG": "true" };
16
16
  function getSupportedPropertyNames(htmlElementName) {
17
17
  const $element = document.createElement(htmlElementName);
18
18
  const inputPrototype = Object.getPrototypeOf($element);
@@ -27,7 +27,8 @@ function getSupportedAttributeNames(htmlElementName) {
27
27
  }
28
28
  const commonStyleSheet = new CSSStyleSheet();
29
29
  commonStyleSheet.replaceSync(commonStyles);
30
- const PX_COMPONENT_DEBUG = typeof import.meta !== "undefined" && typeof __vite_import_meta_env__ !== "undefined" && true;
30
+ const VITE_ENV = typeof import.meta !== "undefined" && typeof __vite_import_meta_env__ !== "undefined" ? __vite_import_meta_env__ : void 0;
31
+ const PX_COMPONENT_DEBUG = (VITE_ENV == null ? void 0 : VITE_ENV.VITE_COMPONENT_DEBUG) === "true" || (VITE_ENV == null ? void 0 : VITE_ENV.DEV) === true;
31
32
  if (typeof window !== "undefined") {
32
33
  window.isComponentDebug = isComponentDebug;
33
34
  }
@@ -270,7 +271,7 @@ class WithExtraAttributes extends HTMLElement {
270
271
  if (attrValue) {
271
272
  if (!this.checkName(attrValue, newValue)) {
272
273
  log(
273
- `${newValue} is not an allowed ${attrValue} value for ${this.tagName.toLowerCase()}`
274
+ `"${newValue}" is not an allowed ${name} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
274
275
  );
275
276
  }
276
277
  }
@@ -639,7 +640,9 @@ const flexboxAlignSelfValues = [
639
640
  "default",
640
641
  "auto",
641
642
  "flex-start",
643
+ "start",
642
644
  "flex-end",
645
+ "end",
643
646
  "center",
644
647
  "baseline",
645
648
  "stretch"
@@ -1432,7 +1435,7 @@ const _Container = class _Container extends WithExtraAttributes {
1432
1435
  );
1433
1436
  } else {
1434
1437
  log(
1435
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
1438
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${gradientValues.join('", "')}".`
1436
1439
  );
1437
1440
  }
1438
1441
  }
@@ -1451,7 +1454,7 @@ const _Container = class _Container extends WithExtraAttributes {
1451
1454
  );
1452
1455
  } else {
1453
1456
  log(
1454
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
1457
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${backgroundColorValues.join('", "')}".`
1455
1458
  );
1456
1459
  }
1457
1460
  }
@@ -1467,14 +1470,14 @@ const _Container = class _Container extends WithExtraAttributes {
1467
1470
  );
1468
1471
  } else {
1469
1472
  log(
1470
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
1473
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${borderColorValues.join('", "')}".`
1471
1474
  );
1472
1475
  }
1473
1476
  }
1474
1477
  updateNoBorderRadius(attrName, oldValue, newValue, attrValues) {
1475
1478
  if (!this.checkName(attrValues, newValue)) {
1476
1479
  log(
1477
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
1480
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValues.join('", "')}".`
1478
1481
  );
1479
1482
  } else {
1480
1483
  const splitResult = this.splitAttrNameFromBreakpoint(attrName);
@@ -1494,7 +1497,7 @@ const _Container = class _Container extends WithExtraAttributes {
1494
1497
  updateAttribute(attrName, oldValue, newValue, attrValues) {
1495
1498
  if (!this.checkName(attrValues, newValue)) {
1496
1499
  log(
1497
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
1500
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValues.join('", "')}".`
1498
1501
  );
1499
1502
  } else {
1500
1503
  const splitResult = this.splitAttrNameFromBreakpoint(attrName);
@@ -1525,7 +1528,7 @@ const _Container = class _Container extends WithExtraAttributes {
1525
1528
  updateAnchorOffset(oldValue, newValue, attrValue) {
1526
1529
  if (!checkName(attrValue, newValue)) {
1527
1530
  log(
1528
- `${newValue} is not a valid anchor-offset value for ${this.tagName.toLowerCase()}`
1531
+ `"${newValue}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
1529
1532
  );
1530
1533
  return;
1531
1534
  }
@@ -1556,7 +1559,7 @@ const _Container = class _Container extends WithExtraAttributes {
1556
1559
  updateAnchorSpacing(oldValue, newValue, attrValue) {
1557
1560
  if (!checkName(attrValue, newValue)) {
1558
1561
  log(
1559
- `${newValue} is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}`
1562
+ `"${newValue}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
1560
1563
  );
1561
1564
  return;
1562
1565
  }
@@ -1586,7 +1589,7 @@ const _Container = class _Container extends WithExtraAttributes {
1586
1589
  updateSubgridRows(attrName, oldValue, newValue, attrValues) {
1587
1590
  if (!checkName(attrValues, newValue)) {
1588
1591
  log(
1589
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
1592
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValues.join('", "')}".`
1590
1593
  );
1591
1594
  } else {
1592
1595
  this.style.setProperty(`--${attrName}`, newValue);
@@ -2064,7 +2067,7 @@ const _Separator = class _Separator extends PxElement {
2064
2067
  };
2065
2068
  if (!this.checkName(attrValue, newValue)) {
2066
2069
  log(
2067
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
2070
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
2068
2071
  );
2069
2072
  } else {
2070
2073
  updateSizeStyle(oldValue);
@@ -2086,7 +2089,7 @@ const _Separator = class _Separator extends PxElement {
2086
2089
  };
2087
2090
  if (!this.checkName(attrValue, newValue)) {
2088
2091
  log(
2089
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
2092
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
2090
2093
  );
2091
2094
  } else {
2092
2095
  updateColorStyle(oldValue);
@@ -2101,7 +2104,7 @@ const _Separator = class _Separator extends PxElement {
2101
2104
  };
2102
2105
  if (!this.checkName(attrValue, newValue)) {
2103
2106
  log(
2104
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
2107
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
2105
2108
  );
2106
2109
  } else {
2107
2110
  if (attrName === "direction") {
@@ -2199,7 +2202,9 @@ const alignItemsValues = [
2199
2202
  "default",
2200
2203
  "stretch",
2201
2204
  "flex-start",
2205
+ "start",
2202
2206
  "flex-end",
2207
+ "end",
2203
2208
  "center",
2204
2209
  "baseline"
2205
2210
  ];
@@ -2207,7 +2212,9 @@ const justifyContentValues = [
2207
2212
  "",
2208
2213
  "default",
2209
2214
  "flex-start",
2215
+ "start",
2210
2216
  "flex-end",
2217
+ "end",
2211
2218
  "center",
2212
2219
  "space-between",
2213
2220
  "space-around",
@@ -2341,7 +2348,7 @@ class Stack extends WithExtraAttributes {
2341
2348
  updateOverflowX(name, oldValue, newValue, attrValue) {
2342
2349
  if (!checkName(attrValue, newValue)) {
2343
2350
  log(
2344
- `${newValue} is not an allowed ${name} value for ${this.tagName.toLowerCase()}`
2351
+ `"${newValue}" is not a valid ${name} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
2345
2352
  );
2346
2353
  return;
2347
2354
  }
@@ -2354,7 +2361,7 @@ class Stack extends WithExtraAttributes {
2354
2361
  updateFlexProperties(name, oldValue, newValue, attrValue) {
2355
2362
  if (!this.checkName(attrValue, newValue)) {
2356
2363
  log(
2357
- `${newValue} is not an allowed ${name} value for ${this.tagName.toLowerCase()}`
2364
+ `"${newValue}" is not a valid ${name} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
2358
2365
  );
2359
2366
  }
2360
2367
  const hasBreakpoint = name.indexOf("--") > -1;
@@ -3224,7 +3231,7 @@ class AbstractHeading extends PxElement {
3224
3231
  updateAttribute(attrName, oldValue, newValue, attrValue) {
3225
3232
  if (!this.checkName(attrValue, newValue)) {
3226
3233
  log(
3227
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
3234
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
3228
3235
  );
3229
3236
  } else {
3230
3237
  this.toggleClass(oldValue, newValue);
@@ -3233,7 +3240,7 @@ class AbstractHeading extends PxElement {
3233
3240
  updateColor(oldValue, newValue, attrValue) {
3234
3241
  if (!this.checkName(attrValue, newValue)) {
3235
3242
  log(
3236
- `${newValue} is not an allowed color value for ${this.tagName.toLowerCase()}`
3243
+ `"${newValue}" is not a valid color value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
3237
3244
  );
3238
3245
  return;
3239
3246
  }
@@ -3255,7 +3262,7 @@ class AbstractHeading extends PxElement {
3255
3262
  updateTextAlign(attrName, oldValue, newValue, attrValue) {
3256
3263
  if (!this.checkName(attrValue, newValue)) {
3257
3264
  log(
3258
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
3265
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
3259
3266
  );
3260
3267
  return;
3261
3268
  }
@@ -3465,7 +3472,7 @@ const _Paragraph = class _Paragraph extends PxElement {
3465
3472
  updateVariant(attrName, oldValue, newValue, attrValue) {
3466
3473
  if (!this.checkName(attrValue, newValue)) {
3467
3474
  log(
3468
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
3475
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
3469
3476
  );
3470
3477
  } else {
3471
3478
  this.toggleClass(oldValue, newValue);
@@ -3474,7 +3481,7 @@ const _Paragraph = class _Paragraph extends PxElement {
3474
3481
  updateTypography(attrName, oldValue, newValue, attrValue) {
3475
3482
  if (!this.checkName(attrValue, newValue)) {
3476
3483
  log(
3477
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
3484
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
3478
3485
  );
3479
3486
  } else {
3480
3487
  const splitResult = this.splitAttrNameFromBreakpoint(attrName);
@@ -4099,7 +4106,7 @@ const _Button = class _Button extends PxElement {
4099
4106
  this._toggleClass(oldValue, newValue);
4100
4107
  if (!this.checkName(variantValues, newValue)) {
4101
4108
  log(
4102
- `${newValue} is not a valid "variant" value for ${this.tagName.toLowerCase()}`
4109
+ `"${newValue}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${variantValues.join('", "')}".`
4103
4110
  );
4104
4111
  }
4105
4112
  }
@@ -4108,7 +4115,7 @@ const _Button = class _Button extends PxElement {
4108
4115
  this._toggleClass(oldValue, newValue);
4109
4116
  if (!this.checkName(values, newValue)) {
4110
4117
  log(
4111
- `${newValue} is not a valid "sate" value for ${this.tagName.toLowerCase()}`
4118
+ `"${newValue}" is not a valid state value for ${this.tagName.toLowerCase()}. Allowed values are: "${values.join('", "')}".`
4112
4119
  );
4113
4120
  }
4114
4121
  }
@@ -4132,7 +4139,7 @@ const _Button = class _Button extends PxElement {
4132
4139
  updateShape(attrName, newValue, attrValue) {
4133
4140
  if (!checkName(attrValue, newValue)) {
4134
4141
  log(
4135
- `${newValue} is not a valid shape value for ${this.tagName.toLowerCase()}`
4142
+ `"${newValue}" is not a valid shape value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
4136
4143
  );
4137
4144
  return;
4138
4145
  }
@@ -4294,9 +4301,9 @@ if (!customElements.get("px-button-wrapper")) {
4294
4301
  const styles$2 = ':host{display:block}:host,:host *{box-sizing:border-box}.content-wrapper{margin-inline:var(--px-padding-s-mobile);max-width:var(--px-content-wrapper-max-width-desktop)}@media screen and (min-width: 77rem){.content-wrapper{margin-inline:auto}}.overlapped{margin-bottom:calc(var(--px-overlapped-mobile) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-mobile)}@media screen and (min-width: 48rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}@media screen and (min-width: 64.0625rem){.overlapped{margin-bottom:calc(var(--px-overlapped-desktop) * -1)}::slotted([slot="overlap"]){margin-top:var(--px-overlapped-desktop)}}';
4295
4302
  const styleSheet = new CSSStyleSheet();
4296
4303
  styleSheet.replaceSync(styles$2);
4297
- class Section extends HTMLElement {
4304
+ class Section extends WithExtraAttributes {
4298
4305
  constructor() {
4299
- super();
4306
+ super(styleSheet);
4300
4307
  this.template = () => `
4301
4308
  <px-container border-radius="none" padding-inline="none">
4302
4309
  <div class="content-wrapper">
@@ -4312,9 +4319,7 @@ class Section extends HTMLElement {
4312
4319
  <slot name="overlap"></slot>
4313
4320
  </div>
4314
4321
  `;
4315
- this.attachShadow({ mode: "open" });
4316
4322
  this.shadowRoot.innerHTML = this.template();
4317
- this.shadowRoot.adoptedStyleSheets = [styleSheet];
4318
4323
  }
4319
4324
  connectedCallback() {
4320
4325
  var _a, _b;
@@ -4334,6 +4339,7 @@ class Section extends HTMLElement {
4334
4339
  }
4335
4340
  static get observedAttributes() {
4336
4341
  return [
4342
+ ...super.observedAttributes,
4337
4343
  "background-color",
4338
4344
  "background-gradient",
4339
4345
  "background-image",
@@ -4439,6 +4445,9 @@ class Section extends HTMLElement {
4439
4445
  case "border-side--laptop":
4440
4446
  this.$container.borderSideLaptop = newValue;
4441
4447
  break;
4448
+ default:
4449
+ super.attributeChangedCallback(name, oldValue, newValue);
4450
+ break;
4442
4451
  }
4443
4452
  }
4444
4453
  }
@@ -4661,7 +4670,7 @@ class Section extends HTMLElement {
4661
4670
  if (!customElements.get("px-section")) {
4662
4671
  customElements.define("px-section", Section);
4663
4672
  }
4664
- const styles$1 = ":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:32px 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:30px}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 screen and (min-width: 48rem){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 screen and (min-width: 64.0625rem){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 screen and (min-width: 90.0625rem){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)}}";
4673
+ const styles$1 = ":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:32px 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)}:host([current]) button,button:hover,:host([current]) a,a:hover{font-weight:var(--px-font-weight-title);color:var(--px-color-background-container-primary-default);padding-block:30px}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 screen and (min-width: 48rem){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 screen and (min-width: 64.0625rem){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 screen and (min-width: 90.0625rem){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)}}";
4665
4674
  const stylesheet$1 = new CSSStyleSheet();
4666
4675
  stylesheet$1.replaceSync(styles$1);
4667
4676
  class HeaderItem extends WithExtraAttributes {
@@ -4680,7 +4689,7 @@ class HeaderItem extends WithExtraAttributes {
4680
4689
  }
4681
4690
  }
4682
4691
  static get observedAttributes() {
4683
- return ["for", "href"];
4692
+ return ["for", "href", "current"];
4684
4693
  }
4685
4694
  connectedCallback() {
4686
4695
  this.setAttribute("slot", "header-entries");
@@ -4701,9 +4710,9 @@ class HeaderItem extends WithExtraAttributes {
4701
4710
  }
4702
4711
  attributeChangedCallback(name, oldValue, newValue) {
4703
4712
  super.attributeChangedCallback(name, oldValue, newValue);
4704
- if (name === "href" && this.$a && !!newValue) {
4713
+ if (name === "href" && oldValue !== newValue) {
4705
4714
  this.shadowRoot.innerHTML = this.template();
4706
- } else if (name === "for" && this.$button && !!newValue) {
4715
+ } else if (name === "for" && oldValue !== newValue && this.$button) {
4707
4716
  this.shadowRoot.innerHTML = this.template();
4708
4717
  this.setupButtonA11y();
4709
4718
  }
@@ -4738,6 +4747,16 @@ class HeaderItem extends WithExtraAttributes {
4738
4747
  this.$button.setAttribute("aria-controls", this.for);
4739
4748
  }
4740
4749
  }
4750
+ get current() {
4751
+ return this.hasAttribute("current");
4752
+ }
4753
+ set current(value) {
4754
+ if (value) {
4755
+ this.setAttribute("current", "");
4756
+ } else {
4757
+ this.removeAttribute("current");
4758
+ }
4759
+ }
4741
4760
  get $button() {
4742
4761
  return this.shadowRoot.querySelector("button");
4743
4762
  }
@@ -4890,7 +4909,7 @@ const _Link = class _Link extends PxElement {
4890
4909
  }
4891
4910
  if (!this.checkName(linkVariantValues, newValue)) {
4892
4911
  log(
4893
- `${newValue} is not an allowed variant value for ${this.tagName.toLowerCase()}`
4912
+ `"${newValue}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${linkVariantValues.join('", "')}".`
4894
4913
  );
4895
4914
  }
4896
4915
  if (newValue === "icon-link") {
@@ -4900,7 +4919,7 @@ const _Link = class _Link extends PxElement {
4900
4919
  updateShape(attrName, newValue, attrValue) {
4901
4920
  if (!checkName(attrValue, newValue)) {
4902
4921
  log(
4903
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
4922
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
4904
4923
  );
4905
4924
  return;
4906
4925
  }
@@ -4917,7 +4936,7 @@ const _Link = class _Link extends PxElement {
4917
4936
  }
4918
4937
  if (!this.checkName(attrValue, newValue)) {
4919
4938
  log(
4920
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
4939
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
4921
4940
  );
4922
4941
  }
4923
4942
  }
@@ -5726,7 +5745,7 @@ const _Grid = class _Grid extends PxElement {
5726
5745
  updateGap(oldValue, newValue, attrValue) {
5727
5746
  if (!this.checkName(attrValue, newValue)) {
5728
5747
  log(
5729
- `${newValue} is not an allowed gap value for ${this.tagName.toLowerCase()}`
5748
+ `"${newValue}" is not a valid gap value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValue.join('", "')}".`
5730
5749
  );
5731
5750
  return;
5732
5751
  }
@@ -5752,7 +5771,7 @@ const _Grid = class _Grid extends PxElement {
5752
5771
  updateAttribute(attrName, oldValue, newValue, attrValues) {
5753
5772
  if (!this.checkName(attrValues, newValue)) {
5754
5773
  log(
5755
- `${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
5774
+ `"${newValue}" is not a valid ${attrName} value for ${this.tagName.toLowerCase()}. Allowed values are: "${attrValues.join('", "')}".`
5756
5775
  );
5757
5776
  } else if (attrName === "grid-cols" || attrName === "grid-cols--mobile" || attrName === "grid-cols--tablet" || attrName === "grid-cols--laptop" || attrName === "grid-cols--desktop") {
5758
5777
  this.$el.style.setProperty(`--${attrName}`, newValue);