@proximus/lavender-selectablebox 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.
Files changed (2) hide show
  1. package/dist/index.es.js +10 -6
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -13,14 +13,18 @@ const C = [
13
13
  "default",
14
14
  "stretch",
15
15
  "flex-start",
16
+ "start",
16
17
  "flex-end",
18
+ "end",
17
19
  "center",
18
20
  "baseline"
19
21
  ], S = [
20
22
  "",
21
23
  "default",
22
24
  "flex-start",
25
+ "start",
23
26
  "flex-end",
27
+ "end",
24
28
  "center",
25
29
  "space-between",
26
30
  "space-around",
@@ -132,7 +136,7 @@ class d extends c {
132
136
  updateOverflowX(t, e, i, o) {
133
137
  if (!y(o, i)) {
134
138
  h(
135
- `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
139
+ `"${i}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
136
140
  );
137
141
  return;
138
142
  }
@@ -144,7 +148,7 @@ class d extends c {
144
148
  }
145
149
  updateFlexProperties(t, e, i, o) {
146
150
  this.checkName(o, i) || h(
147
- `${i} is not an allowed ${t} value for ${this.tagName.toLowerCase()}`
151
+ `"${i}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
148
152
  );
149
153
  const r = t.indexOf("--") > -1, a = r ? t.split("--")[0] : t, l = [];
150
154
  if (!r)
@@ -782,13 +786,13 @@ class q extends c {
782
786
  }
783
787
  handleCheckedAttributeChange(t) {
784
788
  var e;
785
- (e = this.internals) == null || e.setFormValue(this.formData()), t === null ? (this.internals && (this.internals.ariaChecked = "false"), this.ariaChecked = "false", this.checked = !1, this.$checkbox && this.$checkbox.removeAttribute("checked")) : (this.internals && (this.internals.ariaChecked = "true"), this.ariaChecked = "true", this.checked = !0, this.$checkbox && this.$checkbox.setAttribute("checked", ""), this.dispatchEvent(
789
+ (e = this.internals) == null || e.setFormValue(this.formData()), t === null ? (this.internals && (this.internals.ariaChecked = "false"), this.ariaChecked = "false", this.checked = !1, this.$checkbox && this.$checkbox.removeAttribute("checked")) : (this.internals && (this.internals.ariaChecked = "true"), this.ariaChecked = "true", this.checked = !0, this.$checkbox && this.$checkbox.setAttribute("checked", "")), this.dispatchEvent(
786
790
  new Event("change", {
787
791
  bubbles: !0,
788
792
  composed: !0
789
793
  // Allow the event to pass through shadow DOM boundaries
790
794
  })
791
- ));
795
+ );
792
796
  }
793
797
  // Form-associated callbacks
794
798
  static get formAssociated() {
@@ -951,13 +955,13 @@ class I extends c {
951
955
  }
952
956
  handleCheckedAttributeChange(t) {
953
957
  var e;
954
- (e = this.internals) == null || e.setFormValue(this.formData()), t === null ? (this.internals && (this.internals.ariaChecked = "false"), this.ariaChecked = "false", this.tabIndex = -1, this.checked = !1, this.$radio && this.$radio.removeAttribute("checked")) : (this.internals && (this.internals.ariaChecked = "true"), this.ariaChecked = "true", this.tabIndex = 0, this.checked = !0, this.$radio && this.$radio.setAttribute("checked", ""), this.dispatchEvent(
958
+ (e = this.internals) == null || e.setFormValue(this.formData()), t === null ? (this.internals && (this.internals.ariaChecked = "false"), this.ariaChecked = "false", this.tabIndex = -1, this.checked = !1, this.$radio && this.$radio.removeAttribute("checked")) : (this.internals && (this.internals.ariaChecked = "true"), this.ariaChecked = "true", this.tabIndex = 0, this.checked = !0, this.$radio && this.$radio.setAttribute("checked", "")), this.dispatchEvent(
955
959
  new Event("change", {
956
960
  bubbles: !0,
957
961
  composed: !0
958
962
  // Allow the event to pass through shadow DOM boundaries
959
963
  })
960
- ));
964
+ );
961
965
  }
962
966
  // Form-associated callbacks
963
967
  static get formAssociated() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-selectablebox",
3
- "version": "2.0.0-alpha.100",
3
+ "version": "2.0.0-alpha.102",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",