@politiet/sheriff-web-components 1.0.2 → 1.1.0

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 (112) hide show
  1. package/dist/playwright-util/custom-matchers.d.ts +1 -0
  2. package/dist/playwright-util/custom-matchers.d.ts.map +1 -1
  3. package/dist/playwright-util/custom-matchers.js +10 -0
  4. package/dist/playwright-util/custom-matchers.js.map +1 -1
  5. package/dist/playwright-util/form.d.ts +1 -1
  6. package/dist/playwright-util/form.d.ts.map +1 -1
  7. package/dist/playwright-util/form.js +12 -7
  8. package/dist/playwright-util/form.js.map +1 -1
  9. package/dist/react-wrappers/SDSTextFieldWrapper.js +1 -1
  10. package/dist/react-wrappers/SDSTextFieldWrapper.js.map +1 -1
  11. package/dist/sds-button/sds-button.d.ts.map +1 -1
  12. package/dist/sds-button/sds-button.js +3 -2
  13. package/dist/sds-button/sds-button.js.map +1 -1
  14. package/dist/sds-checkbox/sds-checkbox.d.ts +1 -0
  15. package/dist/sds-checkbox/sds-checkbox.d.ts.map +1 -1
  16. package/dist/sds-checkbox/sds-checkbox.js +9 -13
  17. package/dist/sds-checkbox/sds-checkbox.js.map +1 -1
  18. package/dist/sds-checkbox/sds-checkbox.spec.js +18 -12
  19. package/dist/sds-checkbox/sds-checkbox.spec.js.map +1 -1
  20. package/dist/sds-checkbox-group/sds-checkbox-group.d.ts.map +1 -1
  21. package/dist/sds-checkbox-group/sds-checkbox-group.js +3 -2
  22. package/dist/sds-checkbox-group/sds-checkbox-group.js.map +1 -1
  23. package/dist/sds-chip/sds-chip.d.ts +2 -0
  24. package/dist/sds-chip/sds-chip.d.ts.map +1 -1
  25. package/dist/sds-chip/sds-chip.js +13 -3
  26. package/dist/sds-chip/sds-chip.js.map +1 -1
  27. package/dist/sds-chip/sds-chip.styles.d.ts.map +1 -1
  28. package/dist/sds-chip/sds-chip.styles.js +9 -8
  29. package/dist/sds-chip/sds-chip.styles.js.map +1 -1
  30. package/dist/sds-detail/sds-detail.d.ts.map +1 -1
  31. package/dist/sds-detail/sds-detail.js +3 -2
  32. package/dist/sds-detail/sds-detail.js.map +1 -1
  33. package/dist/sds-heading/sds-heading.d.ts.map +1 -1
  34. package/dist/sds-heading/sds-heading.js +3 -2
  35. package/dist/sds-heading/sds-heading.js.map +1 -1
  36. package/dist/sds-icon/sds-icon.allowed-colors.d.ts +3 -0
  37. package/dist/sds-icon/sds-icon.allowed-colors.d.ts.map +1 -0
  38. package/dist/sds-icon/sds-icon.allowed-colors.js +17 -0
  39. package/dist/sds-icon/sds-icon.allowed-colors.js.map +1 -0
  40. package/dist/sds-icon/sds-icon.allowed-names.d.ts +3 -0
  41. package/dist/sds-icon/sds-icon.allowed-names.d.ts.map +1 -0
  42. package/dist/sds-icon/sds-icon.allowed-names.js +2 -0
  43. package/dist/sds-icon/sds-icon.allowed-names.js.map +1 -0
  44. package/dist/sds-icon/sds-icon.color-types.d.ts +2 -0
  45. package/dist/sds-icon/sds-icon.color-types.d.ts.map +1 -0
  46. package/dist/sds-icon/sds-icon.color-types.js +2 -0
  47. package/dist/sds-icon/sds-icon.color-types.js.map +1 -0
  48. package/dist/sds-icon/sds-icon.d.ts.map +1 -1
  49. package/dist/sds-icon/sds-icon.icon-types.d.ts +2 -0
  50. package/dist/sds-icon/sds-icon.icon-types.d.ts.map +1 -0
  51. package/dist/sds-icon/sds-icon.icon-types.js +2 -0
  52. package/dist/sds-icon/sds-icon.icon-types.js.map +1 -0
  53. package/dist/sds-icon/sds-icon.js +3 -2
  54. package/dist/sds-icon/sds-icon.js.map +1 -1
  55. package/dist/sds-label/sds-label.d.ts.map +1 -1
  56. package/dist/sds-label/sds-label.js +3 -2
  57. package/dist/sds-label/sds-label.js.map +1 -1
  58. package/dist/sds-link/sds-link.d.ts.map +1 -1
  59. package/dist/sds-link/sds-link.js +3 -2
  60. package/dist/sds-link/sds-link.js.map +1 -1
  61. package/dist/sds-loader/sds-loader.d.ts.map +1 -1
  62. package/dist/sds-loader/sds-loader.js +3 -2
  63. package/dist/sds-loader/sds-loader.js.map +1 -1
  64. package/dist/sds-nav-card/sds-nav-card.d.ts.map +1 -1
  65. package/dist/sds-nav-card/sds-nav-card.js +3 -2
  66. package/dist/sds-nav-card/sds-nav-card.js.map +1 -1
  67. package/dist/sds-notification/sds-notification.d.ts.map +1 -1
  68. package/dist/sds-notification/sds-notification.js +3 -2
  69. package/dist/sds-notification/sds-notification.js.map +1 -1
  70. package/dist/sds-paragraph/sds-paragraph.d.ts.map +1 -1
  71. package/dist/sds-paragraph/sds-paragraph.js +3 -2
  72. package/dist/sds-paragraph/sds-paragraph.js.map +1 -1
  73. package/dist/sds-radio/sds-radio.d.ts +1 -0
  74. package/dist/sds-radio/sds-radio.d.ts.map +1 -1
  75. package/dist/sds-radio/sds-radio.js +12 -6
  76. package/dist/sds-radio/sds-radio.js.map +1 -1
  77. package/dist/sds-radio/sds-radio.spec.d.ts +2 -0
  78. package/dist/sds-radio/sds-radio.spec.d.ts.map +1 -0
  79. package/dist/sds-radio/sds-radio.spec.js +71 -0
  80. package/dist/sds-radio/sds-radio.spec.js.map +1 -0
  81. package/dist/sds-radio/sds-radio.styles.js +1 -1
  82. package/dist/sds-radio/sds-radio.styles.js.map +1 -1
  83. package/dist/sds-radio-group/sds-radio-group.d.ts.map +1 -1
  84. package/dist/sds-radio-group/sds-radio-group.js +3 -2
  85. package/dist/sds-radio-group/sds-radio-group.js.map +1 -1
  86. package/dist/sds-switch/sds-switch.d.ts.map +1 -1
  87. package/dist/sds-switch/sds-switch.js +3 -2
  88. package/dist/sds-switch/sds-switch.js.map +1 -1
  89. package/dist/sds-text/sds-text.d.ts.map +1 -1
  90. package/dist/sds-text/sds-text.js +3 -2
  91. package/dist/sds-text/sds-text.js.map +1 -1
  92. package/dist/sds-textfield/sds-textfield.d.ts.map +1 -1
  93. package/dist/sds-textfield/sds-textfield.js +3 -2
  94. package/dist/sds-textfield/sds-textfield.js.map +1 -1
  95. package/dist/sds-textfield/sds-textfield.spec.d.ts +2 -0
  96. package/dist/sds-textfield/sds-textfield.spec.d.ts.map +1 -0
  97. package/dist/sds-textfield/sds-textfield.spec.js +139 -0
  98. package/dist/sds-textfield/sds-textfield.spec.js.map +1 -0
  99. package/dist/sheriff-web-components.js +307 -288
  100. package/dist/utils/guarded-custom-element.d.ts +5 -0
  101. package/dist/utils/guarded-custom-element.d.ts.map +1 -0
  102. package/dist/utils/guarded-custom-element.js +9 -0
  103. package/dist/utils/guarded-custom-element.js.map +1 -0
  104. package/dist/utils/hmr-helper.d.ts +2 -0
  105. package/dist/utils/hmr-helper.d.ts.map +1 -0
  106. package/dist/utils/hmr-helper.js +17 -0
  107. package/dist/utils/hmr-helper.js.map +1 -0
  108. package/dist/utils/safe-custom-element.d.ts +2 -0
  109. package/dist/utils/safe-custom-element.d.ts.map +1 -0
  110. package/dist/utils/safe-custom-element.js +9 -0
  111. package/dist/utils/safe-custom-element.js.map +1 -0
  112. package/package.json +1 -1
@@ -3,10 +3,10 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const t$4 = globalThis, e$7 = t$4.ShadowRoot && (void 0 === t$4.ShadyCSS || t$4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$1 = Symbol(), o$5 = /* @__PURE__ */ new WeakMap();
6
+ const t$4 = globalThis, e$7 = t$4.ShadowRoot && (void 0 === t$4.ShadyCSS || t$4.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$2 = Symbol(), o$6 = /* @__PURE__ */ new WeakMap();
7
7
  let n$3 = class n {
8
8
  constructor(t2, e2, o2) {
9
- if (this._$cssResult$ = true, o2 !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
9
+ if (this._$cssResult$ = true, o2 !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = t2, this.t = e2;
11
11
  }
12
12
  get styleSheet() {
@@ -14,7 +14,7 @@ let n$3 = class n {
14
14
  const s2 = this.t;
15
15
  if (e$7 && void 0 === t2) {
16
16
  const e2 = void 0 !== s2 && 1 === s2.length;
17
- e2 && (t2 = o$5.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && o$5.set(s2, t2));
17
+ e2 && (t2 = o$6.get(s2)), void 0 === t2 && ((this.o = t2 = new CSSStyleSheet()).replaceSync(this.cssText), e2 && o$6.set(s2, t2));
18
18
  }
19
19
  return t2;
20
20
  }
@@ -22,13 +22,13 @@ let n$3 = class n {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const r$5 = (t2) => new n$3("string" == typeof t2 ? t2 : t2 + "", void 0, s$1), i$4 = (t2, ...e2) => {
25
+ const r$4 = (t2) => new n$3("string" == typeof t2 ? t2 : t2 + "", void 0, s$2), i$4 = (t2, ...e2) => {
26
26
  const o2 = 1 === t2.length ? t2[0] : e2.reduce((e3, s2, o3) => e3 + ((t3) => {
27
27
  if (true === t3._$cssResult$) return t3.cssText;
28
28
  if ("number" == typeof t3) return t3;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t3 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
30
  })(s2) + t2[o3 + 1], t2[0]);
31
- return new n$3(o2, t2, s$1);
31
+ return new n$3(o2, t2, s$2);
32
32
  }, S$1 = (s2, o2) => {
33
33
  if (e$7) s2.adoptedStyleSheets = o2.map((t2) => t2 instanceof CSSStyleSheet ? t2 : t2.styleSheet);
34
34
  else for (const e2 of o2) {
@@ -38,14 +38,14 @@ const r$5 = (t2) => new n$3("string" == typeof t2 ? t2 : t2 + "", void 0, s$1),
38
38
  }, c$2 = e$7 ? (t2) => t2 : (t2) => t2 instanceof CSSStyleSheet ? ((t3) => {
39
39
  let e2 = "";
40
40
  for (const s2 of t3.cssRules) e2 += s2.cssText;
41
- return r$5(e2);
41
+ return r$4(e2);
42
42
  })(t2) : t2;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: i$3, defineProperty: e$6, getOwnPropertyDescriptor: r$4, getOwnPropertyNames: h$1, getOwnPropertySymbols: o$4, getPrototypeOf: n$2 } = Object, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = (t2, s2) => t2, u$1 = { toAttribute(t2, s2) {
48
+ const { is: i$3, defineProperty: e$6, getOwnPropertyDescriptor: h$1, getOwnPropertyNames: r$3, getOwnPropertySymbols: o$5, getPrototypeOf: n$2 } = Object, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = (t2, s2) => t2, u$1 = { toAttribute(t2, s2) {
49
49
  switch (s2) {
50
50
  case Boolean:
51
51
  t2 = t2 ? l$1 : null;
@@ -56,53 +56,51 @@ const { is: i$3, defineProperty: e$6, getOwnPropertyDescriptor: r$4, getOwnPrope
56
56
  }
57
57
  return t2;
58
58
  }, fromAttribute(t2, s2) {
59
- let i2 = t2;
59
+ let i3 = t2;
60
60
  switch (s2) {
61
61
  case Boolean:
62
- i2 = null !== t2;
62
+ i3 = null !== t2;
63
63
  break;
64
64
  case Number:
65
- i2 = null === t2 ? null : Number(t2);
65
+ i3 = null === t2 ? null : Number(t2);
66
66
  break;
67
67
  case Object:
68
68
  case Array:
69
69
  try {
70
- i2 = JSON.parse(t2);
70
+ i3 = JSON.parse(t2);
71
71
  } catch (t3) {
72
- i2 = null;
72
+ i3 = null;
73
73
  }
74
74
  }
75
- return i2;
76
- } }, f$1 = (t2, s2) => !i$3(t2, s2), y$1 = { attribute: true, type: String, converter: u$1, reflect: false, hasChanged: f$1 };
75
+ return i3;
76
+ } }, f$1 = (t2, s2) => !i$3(t2, s2), b = { attribute: true, type: String, converter: u$1, reflect: false, useDefault: false, hasChanged: f$1 };
77
77
  Symbol.metadata ??= Symbol("metadata"), a$1.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
78
- class b extends HTMLElement {
78
+ let y$1 = class y extends HTMLElement {
79
79
  static addInitializer(t2) {
80
80
  this._$Ei(), (this.l ??= []).push(t2);
81
81
  }
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(t2, s2 = y$1) {
86
- if (s2.state && (s2.attribute = false), this._$Ei(), this.elementProperties.set(t2, s2), !s2.noAccessor) {
87
- const i2 = Symbol(), r3 = this.getPropertyDescriptor(t2, i2, s2);
88
- void 0 !== r3 && e$6(this.prototype, t2, r3);
85
+ static createProperty(t2, s2 = b) {
86
+ if (s2.state && (s2.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t2) && ((s2 = Object.create(s2)).wrapped = true), this.elementProperties.set(t2, s2), !s2.noAccessor) {
87
+ const i3 = Symbol(), h2 = this.getPropertyDescriptor(t2, i3, s2);
88
+ void 0 !== h2 && e$6(this.prototype, t2, h2);
89
89
  }
90
90
  }
91
- static getPropertyDescriptor(t2, s2, i2) {
92
- const { get: e2, set: h2 } = r$4(this.prototype, t2) ?? { get() {
91
+ static getPropertyDescriptor(t2, s2, i3) {
92
+ const { get: e2, set: r2 } = h$1(this.prototype, t2) ?? { get() {
93
93
  return this[s2];
94
94
  }, set(t3) {
95
95
  this[s2] = t3;
96
96
  } };
97
- return { get() {
98
- return e2?.call(this);
99
- }, set(s3) {
100
- const r3 = e2?.call(this);
101
- h2.call(this, s3), this.requestUpdate(t2, r3, i2);
97
+ return { get: e2, set(s3) {
98
+ const h2 = e2?.call(this);
99
+ r2?.call(this, s3), this.requestUpdate(t2, h2, i3);
102
100
  }, configurable: true, enumerable: true };
103
101
  }
104
102
  static getPropertyOptions(t2) {
105
- return this.elementProperties.get(t2) ?? y$1;
103
+ return this.elementProperties.get(t2) ?? b;
106
104
  }
107
105
  static _$Ei() {
108
106
  if (this.hasOwnProperty(d$1("elementProperties"))) return;
@@ -112,32 +110,32 @@ class b extends HTMLElement {
112
110
  static finalize() {
113
111
  if (this.hasOwnProperty(d$1("finalized"))) return;
114
112
  if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
115
- const t3 = this.properties, s2 = [...h$1(t3), ...o$4(t3)];
116
- for (const i2 of s2) this.createProperty(i2, t3[i2]);
113
+ const t3 = this.properties, s2 = [...r$3(t3), ...o$5(t3)];
114
+ for (const i3 of s2) this.createProperty(i3, t3[i3]);
117
115
  }
118
116
  const t2 = this[Symbol.metadata];
119
117
  if (null !== t2) {
120
118
  const s2 = litPropertyMetadata.get(t2);
121
- if (void 0 !== s2) for (const [t3, i2] of s2) this.elementProperties.set(t3, i2);
119
+ if (void 0 !== s2) for (const [t3, i3] of s2) this.elementProperties.set(t3, i3);
122
120
  }
123
121
  this._$Eh = /* @__PURE__ */ new Map();
124
122
  for (const [t3, s2] of this.elementProperties) {
125
- const i2 = this._$Eu(t3, s2);
126
- void 0 !== i2 && this._$Eh.set(i2, t3);
123
+ const i3 = this._$Eu(t3, s2);
124
+ void 0 !== i3 && this._$Eh.set(i3, t3);
127
125
  }
128
126
  this.elementStyles = this.finalizeStyles(this.styles);
129
127
  }
130
128
  static finalizeStyles(s2) {
131
- const i2 = [];
129
+ const i3 = [];
132
130
  if (Array.isArray(s2)) {
133
131
  const e2 = new Set(s2.flat(1 / 0).reverse());
134
- for (const s3 of e2) i2.unshift(c$2(s3));
135
- } else void 0 !== s2 && i2.push(c$2(s2));
136
- return i2;
132
+ for (const s3 of e2) i3.unshift(c$2(s3));
133
+ } else void 0 !== s2 && i3.push(c$2(s2));
134
+ return i3;
137
135
  }
138
136
  static _$Eu(t2, s2) {
139
- const i2 = s2.attribute;
140
- return false === i2 ? void 0 : "string" == typeof i2 ? i2 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
137
+ const i3 = s2.attribute;
138
+ return false === i3 ? void 0 : "string" == typeof i3 ? i3 : "string" == typeof t2 ? t2.toLowerCase() : void 0;
141
139
  }
142
140
  constructor() {
143
141
  super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
@@ -153,7 +151,7 @@ class b extends HTMLElement {
153
151
  }
154
152
  _$E_() {
155
153
  const t2 = /* @__PURE__ */ new Map(), s2 = this.constructor.elementProperties;
156
- for (const i2 of s2.keys()) this.hasOwnProperty(i2) && (t2.set(i2, this[i2]), delete this[i2]);
154
+ for (const i3 of s2.keys()) this.hasOwnProperty(i3) && (t2.set(i3, this[i3]), delete this[i3]);
157
155
  t2.size > 0 && (this._$Ep = t2);
158
156
  }
159
157
  createRenderRoot() {
@@ -168,34 +166,35 @@ class b extends HTMLElement {
168
166
  disconnectedCallback() {
169
167
  this._$EO?.forEach((t2) => t2.hostDisconnected?.());
170
168
  }
171
- attributeChangedCallback(t2, s2, i2) {
172
- this._$AK(t2, i2);
169
+ attributeChangedCallback(t2, s2, i3) {
170
+ this._$AK(t2, i3);
173
171
  }
174
- _$EC(t2, s2) {
175
- const i2 = this.constructor.elementProperties.get(t2), e2 = this.constructor._$Eu(t2, i2);
176
- if (void 0 !== e2 && true === i2.reflect) {
177
- const r3 = (void 0 !== i2.converter?.toAttribute ? i2.converter : u$1).toAttribute(s2, i2.type);
178
- this._$Em = t2, null == r3 ? this.removeAttribute(e2) : this.setAttribute(e2, r3), this._$Em = null;
172
+ _$ET(t2, s2) {
173
+ const i3 = this.constructor.elementProperties.get(t2), e2 = this.constructor._$Eu(t2, i3);
174
+ if (void 0 !== e2 && true === i3.reflect) {
175
+ const h2 = (void 0 !== i3.converter?.toAttribute ? i3.converter : u$1).toAttribute(s2, i3.type);
176
+ this._$Em = t2, null == h2 ? this.removeAttribute(e2) : this.setAttribute(e2, h2), this._$Em = null;
179
177
  }
180
178
  }
181
179
  _$AK(t2, s2) {
182
- const i2 = this.constructor, e2 = i2._$Eh.get(t2);
180
+ const i3 = this.constructor, e2 = i3._$Eh.get(t2);
183
181
  if (void 0 !== e2 && this._$Em !== e2) {
184
- const t3 = i2.getPropertyOptions(e2), r3 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== t3.converter?.fromAttribute ? t3.converter : u$1;
185
- this._$Em = e2, this[e2] = r3.fromAttribute(s2, t3.type), this._$Em = null;
182
+ const t3 = i3.getPropertyOptions(e2), h2 = "function" == typeof t3.converter ? { fromAttribute: t3.converter } : void 0 !== t3.converter?.fromAttribute ? t3.converter : u$1;
183
+ this._$Em = e2, this[e2] = h2.fromAttribute(s2, t3.type) ?? this._$Ej?.get(e2) ?? null, this._$Em = null;
186
184
  }
187
185
  }
188
- requestUpdate(t2, s2, i2) {
186
+ requestUpdate(t2, s2, i3) {
189
187
  if (void 0 !== t2) {
190
- if (i2 ??= this.constructor.getPropertyOptions(t2), !(i2.hasChanged ?? f$1)(this[t2], s2)) return;
191
- this.P(t2, s2, i2);
188
+ const e2 = this.constructor, h2 = this[t2];
189
+ if (i3 ??= e2.getPropertyOptions(t2), !((i3.hasChanged ?? f$1)(h2, s2) || i3.useDefault && i3.reflect && h2 === this._$Ej?.get(t2) && !this.hasAttribute(e2._$Eu(t2, i3)))) return;
190
+ this.C(t2, s2, i3);
192
191
  }
193
- false === this.isUpdatePending && (this._$ES = this._$ET());
192
+ false === this.isUpdatePending && (this._$ES = this._$EP());
194
193
  }
195
- P(t2, s2, i2) {
196
- this._$AL.has(t2) || this._$AL.set(t2, s2), true === i2.reflect && this._$Em !== t2 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t2);
194
+ C(t2, s2, { useDefault: i3, reflect: e2, wrapped: h2 }, r2) {
195
+ i3 && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t2) && (this._$Ej.set(t2, r2 ?? s2 ?? this[t2]), true !== h2 || void 0 !== r2) || (this._$AL.has(t2) || (this.hasUpdated || i3 || (s2 = void 0), this._$AL.set(t2, s2)), true === e2 && this._$Em !== t2 && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t2));
197
196
  }
198
- async _$ET() {
197
+ async _$EP() {
199
198
  this.isUpdatePending = true;
200
199
  try {
201
200
  await this._$ES;
@@ -216,14 +215,17 @@ class b extends HTMLElement {
216
215
  this._$Ep = void 0;
217
216
  }
218
217
  const t3 = this.constructor.elementProperties;
219
- if (t3.size > 0) for (const [s3, i2] of t3) true !== i2.wrapped || this._$AL.has(s3) || void 0 === this[s3] || this.P(s3, this[s3], i2);
218
+ if (t3.size > 0) for (const [s3, i3] of t3) {
219
+ const { wrapped: t4 } = i3, e2 = this[s3];
220
+ true !== t4 || this._$AL.has(s3) || void 0 === e2 || this.C(s3, void 0, i3, e2);
221
+ }
220
222
  }
221
223
  let t2 = false;
222
224
  const s2 = this._$AL;
223
225
  try {
224
- t2 = this.shouldUpdate(s2), t2 ? (this.willUpdate(s2), this._$EO?.forEach((t3) => t3.hostUpdate?.()), this.update(s2)) : this._$EU();
226
+ t2 = this.shouldUpdate(s2), t2 ? (this.willUpdate(s2), this._$EO?.forEach((t3) => t3.hostUpdate?.()), this.update(s2)) : this._$EM();
225
227
  } catch (s3) {
226
- throw t2 = false, this._$EU(), s3;
228
+ throw t2 = false, this._$EM(), s3;
227
229
  }
228
230
  t2 && this._$AE(s2);
229
231
  }
@@ -232,7 +234,7 @@ class b extends HTMLElement {
232
234
  _$AE(t2) {
233
235
  this._$EO?.forEach((t3) => t3.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t2)), this.updated(t2);
234
236
  }
235
- _$EU() {
237
+ _$EM() {
236
238
  this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
237
239
  }
238
240
  get updateComplete() {
@@ -245,40 +247,40 @@ class b extends HTMLElement {
245
247
  return true;
246
248
  }
247
249
  update(t2) {
248
- this._$Ej &&= this._$Ej.forEach((t3) => this._$EC(t3, this[t3])), this._$EU();
250
+ this._$Eq &&= this._$Eq.forEach((t3) => this._$ET(t3, this[t3])), this._$EM();
249
251
  }
250
252
  updated(t2) {
251
253
  }
252
254
  firstUpdated(t2) {
253
255
  }
254
- }
255
- b.elementStyles = [], b.shadowRootOptions = { mode: "open" }, b[d$1("elementProperties")] = /* @__PURE__ */ new Map(), b[d$1("finalized")] = /* @__PURE__ */ new Map(), p$1?.({ ReactiveElement: b }), (a$1.reactiveElementVersions ??= []).push("2.0.4");
256
+ };
257
+ y$1.elementStyles = [], y$1.shadowRootOptions = { mode: "open" }, y$1[d$1("elementProperties")] = /* @__PURE__ */ new Map(), y$1[d$1("finalized")] = /* @__PURE__ */ new Map(), p$1?.({ ReactiveElement: y$1 }), (a$1.reactiveElementVersions ??= []).push("2.1.0");
256
258
  /**
257
259
  * @license
258
260
  * Copyright 2017 Google LLC
259
261
  * SPDX-License-Identifier: BSD-3-Clause
260
262
  */
261
- const t$3 = globalThis, i$2 = t$3.trustedTypes, s = i$2 ? i$2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, e$5 = "$lit$", h = `lit$${Math.random().toFixed(9).slice(2)}$`, o$3 = "?" + h, n$1 = `<${o$3}>`, r$3 = document, l = () => r$3.createComment(""), c = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, a = Array.isArray, u = (t2) => a(t2) || "function" == typeof t2?.[Symbol.iterator], d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^
262
- \f\r"'\`<>=]|("|')|))|$)`, "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = (t2) => (i2, ...s2) => ({ _$litType$: t2, strings: i2, values: s2 }), x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = /* @__PURE__ */ new WeakMap(), C = r$3.createTreeWalker(r$3, 129);
263
- function P(t2, i2) {
263
+ const t$3 = globalThis, i$2 = t$3.trustedTypes, s$1 = i$2 ? i$2.createPolicy("lit-html", { createHTML: (t2) => t2 }) : void 0, e$5 = "$lit$", h = `lit$${Math.random().toFixed(9).slice(2)}$`, o$4 = "?" + h, n$1 = `<${o$4}>`, r$2 = document, l = () => r$2.createComment(""), c = (t2) => null === t2 || "object" != typeof t2 && "function" != typeof t2, a = Array.isArray, u = (t2) => a(t2) || "function" == typeof t2?.[Symbol.iterator], d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^
264
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y2 = (t2) => (i3, ...s2) => ({ _$litType$: t2, strings: i3, values: s2 }), x = y2(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = /* @__PURE__ */ new WeakMap(), C = r$2.createTreeWalker(r$2, 129);
265
+ function P(t2, i3) {
264
266
  if (!a(t2) || !t2.hasOwnProperty("raw")) throw Error("invalid template strings array");
265
- return void 0 !== s ? s.createHTML(i2) : i2;
267
+ return void 0 !== s$1 ? s$1.createHTML(i3) : i3;
266
268
  }
267
- const V = (t2, i2) => {
269
+ const V = (t2, i3) => {
268
270
  const s2 = t2.length - 1, o2 = [];
269
- let r3, l2 = 2 === i2 ? "<svg>" : 3 === i2 ? "<math>" : "", c2 = f;
270
- for (let i3 = 0; i3 < s2; i3++) {
271
- const s3 = t2[i3];
272
- let a2, u2, d2 = -1, y2 = 0;
273
- for (; y2 < s3.length && (c2.lastIndex = y2, u2 = c2.exec(s3), null !== u2); ) y2 = c2.lastIndex, c2 === f ? "!--" === u2[1] ? c2 = v : void 0 !== u2[1] ? c2 = _ : void 0 !== u2[2] ? ($.test(u2[2]) && (r3 = RegExp("</" + u2[2], "g")), c2 = m) : void 0 !== u2[3] && (c2 = m) : c2 === m ? ">" === u2[0] ? (c2 = r3 ?? f, d2 = -1) : void 0 === u2[1] ? d2 = -2 : (d2 = c2.lastIndex - u2[2].length, a2 = u2[1], c2 = void 0 === u2[3] ? m : '"' === u2[3] ? g : p) : c2 === g || c2 === p ? c2 = m : c2 === v || c2 === _ ? c2 = f : (c2 = m, r3 = void 0);
274
- const x2 = c2 === m && t2[i3 + 1].startsWith("/>") ? " " : "";
275
- l2 += c2 === f ? s3 + n$1 : d2 >= 0 ? (o2.push(a2), s3.slice(0, d2) + e$5 + s3.slice(d2) + h + x2) : s3 + h + (-2 === d2 ? i3 : x2);
276
- }
277
- return [P(t2, l2 + (t2[s2] || "<?>") + (2 === i2 ? "</svg>" : 3 === i2 ? "</math>" : "")), o2];
271
+ let r2, l2 = 2 === i3 ? "<svg>" : 3 === i3 ? "<math>" : "", c2 = f;
272
+ for (let i4 = 0; i4 < s2; i4++) {
273
+ const s3 = t2[i4];
274
+ let a2, u2, d2 = -1, y3 = 0;
275
+ for (; y3 < s3.length && (c2.lastIndex = y3, u2 = c2.exec(s3), null !== u2); ) y3 = c2.lastIndex, c2 === f ? "!--" === u2[1] ? c2 = v : void 0 !== u2[1] ? c2 = _ : void 0 !== u2[2] ? ($.test(u2[2]) && (r2 = RegExp("</" + u2[2], "g")), c2 = m) : void 0 !== u2[3] && (c2 = m) : c2 === m ? ">" === u2[0] ? (c2 = r2 ?? f, d2 = -1) : void 0 === u2[1] ? d2 = -2 : (d2 = c2.lastIndex - u2[2].length, a2 = u2[1], c2 = void 0 === u2[3] ? m : '"' === u2[3] ? g : p) : c2 === g || c2 === p ? c2 = m : c2 === v || c2 === _ ? c2 = f : (c2 = m, r2 = void 0);
276
+ const x2 = c2 === m && t2[i4 + 1].startsWith("/>") ? " " : "";
277
+ l2 += c2 === f ? s3 + n$1 : d2 >= 0 ? (o2.push(a2), s3.slice(0, d2) + e$5 + s3.slice(d2) + h + x2) : s3 + h + (-2 === d2 ? i4 : x2);
278
+ }
279
+ return [P(t2, l2 + (t2[s2] || "<?>") + (2 === i3 ? "</svg>" : 3 === i3 ? "</math>" : "")), o2];
278
280
  };
279
281
  class N {
280
282
  constructor({ strings: t2, _$litType$: s2 }, n3) {
281
- let r3;
283
+ let r2;
282
284
  this.parts = [];
283
285
  let c2 = 0, a2 = 0;
284
286
  const u2 = t2.length - 1, d2 = this.parts, [f2, v2] = V(t2, s2);
@@ -286,42 +288,42 @@ class N {
286
288
  const t3 = this.el.content.firstChild;
287
289
  t3.replaceWith(...t3.childNodes);
288
290
  }
289
- for (; null !== (r3 = C.nextNode()) && d2.length < u2; ) {
290
- if (1 === r3.nodeType) {
291
- if (r3.hasAttributes()) for (const t3 of r3.getAttributeNames()) if (t3.endsWith(e$5)) {
292
- const i2 = v2[a2++], s3 = r3.getAttribute(t3).split(h), e2 = /([.?@])?(.*)/.exec(i2);
293
- d2.push({ type: 1, index: c2, name: e2[2], strings: s3, ctor: "." === e2[1] ? H : "?" === e2[1] ? I : "@" === e2[1] ? L : k }), r3.removeAttribute(t3);
294
- } else t3.startsWith(h) && (d2.push({ type: 6, index: c2 }), r3.removeAttribute(t3));
295
- if ($.test(r3.tagName)) {
296
- const t3 = r3.textContent.split(h), s3 = t3.length - 1;
291
+ for (; null !== (r2 = C.nextNode()) && d2.length < u2; ) {
292
+ if (1 === r2.nodeType) {
293
+ if (r2.hasAttributes()) for (const t3 of r2.getAttributeNames()) if (t3.endsWith(e$5)) {
294
+ const i3 = v2[a2++], s3 = r2.getAttribute(t3).split(h), e2 = /([.?@])?(.*)/.exec(i3);
295
+ d2.push({ type: 1, index: c2, name: e2[2], strings: s3, ctor: "." === e2[1] ? H : "?" === e2[1] ? I : "@" === e2[1] ? L : k }), r2.removeAttribute(t3);
296
+ } else t3.startsWith(h) && (d2.push({ type: 6, index: c2 }), r2.removeAttribute(t3));
297
+ if ($.test(r2.tagName)) {
298
+ const t3 = r2.textContent.split(h), s3 = t3.length - 1;
297
299
  if (s3 > 0) {
298
- r3.textContent = i$2 ? i$2.emptyScript : "";
299
- for (let i2 = 0; i2 < s3; i2++) r3.append(t3[i2], l()), C.nextNode(), d2.push({ type: 2, index: ++c2 });
300
- r3.append(t3[s3], l());
300
+ r2.textContent = i$2 ? i$2.emptyScript : "";
301
+ for (let i3 = 0; i3 < s3; i3++) r2.append(t3[i3], l()), C.nextNode(), d2.push({ type: 2, index: ++c2 });
302
+ r2.append(t3[s3], l());
301
303
  }
302
304
  }
303
- } else if (8 === r3.nodeType) if (r3.data === o$3) d2.push({ type: 2, index: c2 });
305
+ } else if (8 === r2.nodeType) if (r2.data === o$4) d2.push({ type: 2, index: c2 });
304
306
  else {
305
307
  let t3 = -1;
306
- for (; -1 !== (t3 = r3.data.indexOf(h, t3 + 1)); ) d2.push({ type: 7, index: c2 }), t3 += h.length - 1;
308
+ for (; -1 !== (t3 = r2.data.indexOf(h, t3 + 1)); ) d2.push({ type: 7, index: c2 }), t3 += h.length - 1;
307
309
  }
308
310
  c2++;
309
311
  }
310
312
  }
311
- static createElement(t2, i2) {
312
- const s2 = r$3.createElement("template");
313
+ static createElement(t2, i3) {
314
+ const s2 = r$2.createElement("template");
313
315
  return s2.innerHTML = t2, s2;
314
316
  }
315
317
  }
316
- function S(t2, i2, s2 = t2, e2) {
317
- if (i2 === T) return i2;
318
+ function S(t2, i3, s2 = t2, e2) {
319
+ if (i3 === T) return i3;
318
320
  let h2 = void 0 !== e2 ? s2._$Co?.[e2] : s2._$Cl;
319
- const o2 = c(i2) ? void 0 : i2._$litDirective$;
320
- return h2?.constructor !== o2 && (h2?._$AO?.(false), void 0 === o2 ? h2 = void 0 : (h2 = new o2(t2), h2._$AT(t2, s2, e2)), void 0 !== e2 ? (s2._$Co ??= [])[e2] = h2 : s2._$Cl = h2), void 0 !== h2 && (i2 = S(t2, h2._$AS(t2, i2.values), h2, e2)), i2;
321
+ const o2 = c(i3) ? void 0 : i3._$litDirective$;
322
+ return h2?.constructor !== o2 && (h2?._$AO?.(false), void 0 === o2 ? h2 = void 0 : (h2 = new o2(t2), h2._$AT(t2, s2, e2)), void 0 !== e2 ? (s2._$Co ??= [])[e2] = h2 : s2._$Cl = h2), void 0 !== h2 && (i3 = S(t2, h2._$AS(t2, i3.values), h2, e2)), i3;
321
323
  }
322
324
  class M {
323
- constructor(t2, i2) {
324
- this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i2;
325
+ constructor(t2, i3) {
326
+ this._$AV = [], this._$AN = void 0, this._$AD = t2, this._$AM = i3;
325
327
  }
326
328
  get parentNode() {
327
329
  return this._$AM.parentNode;
@@ -330,34 +332,34 @@ class M {
330
332
  return this._$AM._$AU;
331
333
  }
332
334
  u(t2) {
333
- const { el: { content: i2 }, parts: s2 } = this._$AD, e2 = (t2?.creationScope ?? r$3).importNode(i2, true);
335
+ const { el: { content: i3 }, parts: s2 } = this._$AD, e2 = (t2?.creationScope ?? r$2).importNode(i3, true);
334
336
  C.currentNode = e2;
335
337
  let h2 = C.nextNode(), o2 = 0, n3 = 0, l2 = s2[0];
336
338
  for (; void 0 !== l2; ) {
337
339
  if (o2 === l2.index) {
338
- let i3;
339
- 2 === l2.type ? i3 = new R(h2, h2.nextSibling, this, t2) : 1 === l2.type ? i3 = new l2.ctor(h2, l2.name, l2.strings, this, t2) : 6 === l2.type && (i3 = new z(h2, this, t2)), this._$AV.push(i3), l2 = s2[++n3];
340
+ let i4;
341
+ 2 === l2.type ? i4 = new R(h2, h2.nextSibling, this, t2) : 1 === l2.type ? i4 = new l2.ctor(h2, l2.name, l2.strings, this, t2) : 6 === l2.type && (i4 = new z(h2, this, t2)), this._$AV.push(i4), l2 = s2[++n3];
340
342
  }
341
343
  o2 !== l2?.index && (h2 = C.nextNode(), o2++);
342
344
  }
343
- return C.currentNode = r$3, e2;
345
+ return C.currentNode = r$2, e2;
344
346
  }
345
347
  p(t2) {
346
- let i2 = 0;
347
- for (const s2 of this._$AV) void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i2), i2 += s2.strings.length - 2) : s2._$AI(t2[i2])), i2++;
348
+ let i3 = 0;
349
+ for (const s2 of this._$AV) void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t2, s2, i3), i3 += s2.strings.length - 2) : s2._$AI(t2[i3])), i3++;
348
350
  }
349
351
  }
350
352
  class R {
351
353
  get _$AU() {
352
354
  return this._$AM?._$AU ?? this._$Cv;
353
355
  }
354
- constructor(t2, i2, s2, e2) {
355
- this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t2, this._$AB = i2, this._$AM = s2, this.options = e2, this._$Cv = e2?.isConnected ?? true;
356
+ constructor(t2, i3, s2, e2) {
357
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t2, this._$AB = i3, this._$AM = s2, this.options = e2, this._$Cv = e2?.isConnected ?? true;
356
358
  }
357
359
  get parentNode() {
358
360
  let t2 = this._$AA.parentNode;
359
- const i2 = this._$AM;
360
- return void 0 !== i2 && 11 === t2?.nodeType && (t2 = i2.parentNode), t2;
361
+ const i3 = this._$AM;
362
+ return void 0 !== i3 && 11 === t2?.nodeType && (t2 = i3.parentNode), t2;
361
363
  }
362
364
  get startNode() {
363
365
  return this._$AA;
@@ -365,8 +367,8 @@ class R {
365
367
  get endNode() {
366
368
  return this._$AB;
367
369
  }
368
- _$AI(t2, i2 = this) {
369
- t2 = S(this, t2, i2), c(t2) ? t2 === E || null == t2 || "" === t2 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : u(t2) ? this.k(t2) : this._(t2);
370
+ _$AI(t2, i3 = this) {
371
+ t2 = S(this, t2, i3), c(t2) ? t2 === E || null == t2 || "" === t2 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t2 !== this._$AH && t2 !== T && this._(t2) : void 0 !== t2._$litType$ ? this.$(t2) : void 0 !== t2.nodeType ? this.T(t2) : u(t2) ? this.k(t2) : this._(t2);
370
372
  }
371
373
  O(t2) {
372
374
  return this._$AA.parentNode.insertBefore(t2, this._$AB);
@@ -375,31 +377,31 @@ class R {
375
377
  this._$AH !== t2 && (this._$AR(), this._$AH = this.O(t2));
376
378
  }
377
379
  _(t2) {
378
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r$3.createTextNode(t2)), this._$AH = t2;
380
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t2 : this.T(r$2.createTextNode(t2)), this._$AH = t2;
379
381
  }
380
382
  $(t2) {
381
- const { values: i2, _$litType$: s2 } = t2, e2 = "number" == typeof s2 ? this._$AC(t2) : (void 0 === s2.el && (s2.el = N.createElement(P(s2.h, s2.h[0]), this.options)), s2);
382
- if (this._$AH?._$AD === e2) this._$AH.p(i2);
383
+ const { values: i3, _$litType$: s2 } = t2, e2 = "number" == typeof s2 ? this._$AC(t2) : (void 0 === s2.el && (s2.el = N.createElement(P(s2.h, s2.h[0]), this.options)), s2);
384
+ if (this._$AH?._$AD === e2) this._$AH.p(i3);
383
385
  else {
384
386
  const t3 = new M(e2, this), s3 = t3.u(this.options);
385
- t3.p(i2), this.T(s3), this._$AH = t3;
387
+ t3.p(i3), this.T(s3), this._$AH = t3;
386
388
  }
387
389
  }
388
390
  _$AC(t2) {
389
- let i2 = A.get(t2.strings);
390
- return void 0 === i2 && A.set(t2.strings, i2 = new N(t2)), i2;
391
+ let i3 = A.get(t2.strings);
392
+ return void 0 === i3 && A.set(t2.strings, i3 = new N(t2)), i3;
391
393
  }
392
394
  k(t2) {
393
395
  a(this._$AH) || (this._$AH = [], this._$AR());
394
- const i2 = this._$AH;
396
+ const i3 = this._$AH;
395
397
  let s2, e2 = 0;
396
- for (const h2 of t2) e2 === i2.length ? i2.push(s2 = new R(this.O(l()), this.O(l()), this, this.options)) : s2 = i2[e2], s2._$AI(h2), e2++;
397
- e2 < i2.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i2.length = e2);
398
+ for (const h2 of t2) e2 === i3.length ? i3.push(s2 = new R(this.O(l()), this.O(l()), this, this.options)) : s2 = i3[e2], s2._$AI(h2), e2++;
399
+ e2 < i3.length && (this._$AR(s2 && s2._$AB.nextSibling, e2), i3.length = e2);
398
400
  }
399
- _$AR(t2 = this._$AA.nextSibling, i2) {
400
- for (this._$AP?.(false, true, i2); t2 && t2 !== this._$AB; ) {
401
- const i3 = t2.nextSibling;
402
- t2.remove(), t2 = i3;
401
+ _$AR(t2 = this._$AA.nextSibling, i3) {
402
+ for (this._$AP?.(false, true, i3); t2 && t2 !== this._$AB; ) {
403
+ const i4 = t2.nextSibling;
404
+ t2.remove(), t2 = i4;
403
405
  }
404
406
  }
405
407
  setConnected(t2) {
@@ -413,17 +415,17 @@ class k {
413
415
  get _$AU() {
414
416
  return this._$AM._$AU;
415
417
  }
416
- constructor(t2, i2, s2, e2, h2) {
417
- this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t2, this.name = i2, this._$AM = e2, this.options = h2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = E;
418
+ constructor(t2, i3, s2, e2, h2) {
419
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t2, this.name = i3, this._$AM = e2, this.options = h2, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = E;
418
420
  }
419
- _$AI(t2, i2 = this, s2, e2) {
421
+ _$AI(t2, i3 = this, s2, e2) {
420
422
  const h2 = this.strings;
421
423
  let o2 = false;
422
- if (void 0 === h2) t2 = S(this, t2, i2, 0), o2 = !c(t2) || t2 !== this._$AH && t2 !== T, o2 && (this._$AH = t2);
424
+ if (void 0 === h2) t2 = S(this, t2, i3, 0), o2 = !c(t2) || t2 !== this._$AH && t2 !== T, o2 && (this._$AH = t2);
423
425
  else {
424
426
  const e3 = t2;
425
- let n3, r3;
426
- for (t2 = h2[0], n3 = 0; n3 < h2.length - 1; n3++) r3 = S(this, e3[s2 + n3], i2, n3), r3 === T && (r3 = this._$AH[n3]), o2 ||= !c(r3) || r3 !== this._$AH[n3], r3 === E ? t2 = E : t2 !== E && (t2 += (r3 ?? "") + h2[n3 + 1]), this._$AH[n3] = r3;
427
+ let n3, r2;
428
+ for (t2 = h2[0], n3 = 0; n3 < h2.length - 1; n3++) r2 = S(this, e3[s2 + n3], i3, n3), r2 === T && (r2 = this._$AH[n3]), o2 ||= !c(r2) || r2 !== this._$AH[n3], r2 === E ? t2 = E : t2 !== E && (t2 += (r2 ?? "") + h2[n3 + 1]), this._$AH[n3] = r2;
427
429
  }
428
430
  o2 && !e2 && this.j(t2);
429
431
  }
@@ -448,11 +450,11 @@ class I extends k {
448
450
  }
449
451
  }
450
452
  class L extends k {
451
- constructor(t2, i2, s2, e2, h2) {
452
- super(t2, i2, s2, e2, h2), this.type = 5;
453
+ constructor(t2, i3, s2, e2, h2) {
454
+ super(t2, i3, s2, e2, h2), this.type = 5;
453
455
  }
454
- _$AI(t2, i2 = this) {
455
- if ((t2 = S(this, t2, i2, 0) ?? E) === T) return;
456
+ _$AI(t2, i3 = this) {
457
+ if ((t2 = S(this, t2, i3, 0) ?? E) === T) return;
456
458
  const s2 = this._$AH, e2 = t2 === E && s2 !== E || t2.capture !== s2.capture || t2.once !== s2.once || t2.passive !== s2.passive, h2 = t2 !== E && (s2 === E || e2);
457
459
  e2 && this.element.removeEventListener(this.name, this, s2), h2 && this.element.addEventListener(this.name, this, t2), this._$AH = t2;
458
460
  }
@@ -461,8 +463,8 @@ class L extends k {
461
463
  }
462
464
  }
463
465
  class z {
464
- constructor(t2, i2, s2) {
465
- this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i2, this.options = s2;
466
+ constructor(t2, i3, s2) {
467
+ this.element = t2, this.type = 6, this._$AN = void 0, this._$AM = i3, this.options = s2;
466
468
  }
467
469
  get _$AU() {
468
470
  return this._$AM._$AU;
@@ -472,13 +474,13 @@ class z {
472
474
  }
473
475
  }
474
476
  const j = t$3.litHtmlPolyfillSupport;
475
- j?.(N, R), (t$3.litHtmlVersions ??= []).push("3.2.1");
476
- const B = (t2, i2, s2) => {
477
- const e2 = s2?.renderBefore ?? i2;
477
+ j?.(N, R), (t$3.litHtmlVersions ??= []).push("3.3.0");
478
+ const B = (t2, i3, s2) => {
479
+ const e2 = s2?.renderBefore ?? i3;
478
480
  let h2 = e2._$litPart$;
479
481
  if (void 0 === h2) {
480
482
  const t3 = s2?.renderBefore ?? null;
481
- e2._$litPart$ = h2 = new R(i2.insertBefore(l(), t3), t3, void 0, s2 ?? {});
483
+ e2._$litPart$ = h2 = new R(i3.insertBefore(l(), t3), t3, void 0, s2 ?? {});
482
484
  }
483
485
  return h2._$AI(t2), h2;
484
486
  };
@@ -487,7 +489,8 @@ const B = (t2, i2, s2) => {
487
489
  * Copyright 2017 Google LLC
488
490
  * SPDX-License-Identifier: BSD-3-Clause
489
491
  */
490
- let r$2 = class r extends b {
492
+ const s = globalThis;
493
+ let i$1 = class i extends y$1 {
491
494
  constructor() {
492
495
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
493
496
  }
@@ -496,8 +499,8 @@ let r$2 = class r extends b {
496
499
  return this.renderOptions.renderBefore ??= t2.firstChild, t2;
497
500
  }
498
501
  update(t2) {
499
- const s2 = this.render();
500
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = B(s2, this.renderRoot, this.renderOptions);
502
+ const r2 = this.render();
503
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t2), this._$Do = B(r2, this.renderRoot, this.renderOptions);
501
504
  }
502
505
  connectedCallback() {
503
506
  super.connectedCallback(), this._$Do?.setConnected(true);
@@ -509,10 +512,10 @@ let r$2 = class r extends b {
509
512
  return T;
510
513
  }
511
514
  };
512
- r$2._$litElement$ = true, r$2["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: r$2 });
513
- const i$1 = globalThis.litElementPolyfillSupport;
514
- i$1?.({ LitElement: r$2 });
515
- (globalThis.litElementVersions ??= []).push("4.1.1");
515
+ i$1._$litElement$ = true, i$1["finalized"] = true, s.litElementHydrateSupport?.({ LitElement: i$1 });
516
+ const o$3 = s.litElementPolyfillSupport;
517
+ o$3?.({ LitElement: i$1 });
518
+ (s.litElementVersions ??= []).push("4.2.0");
516
519
  /**
517
520
  * @license
518
521
  * Copyright 2017 Google LLC
@@ -528,31 +531,31 @@ const t$2 = (t2) => (e2, o2) => {
528
531
  * Copyright 2017 Google LLC
529
532
  * SPDX-License-Identifier: BSD-3-Clause
530
533
  */
531
- const o$2 = { attribute: true, type: String, converter: u$1, reflect: false, hasChanged: f$1 }, r$1 = (t2 = o$2, e2, r3) => {
532
- const { kind: n3, metadata: i2 } = r3;
533
- let s2 = globalThis.litPropertyMetadata.get(i2);
534
- if (void 0 === s2 && globalThis.litPropertyMetadata.set(i2, s2 = /* @__PURE__ */ new Map()), s2.set(r3.name, t2), "accessor" === n3) {
535
- const { name: o2 } = r3;
536
- return { set(r4) {
534
+ const o$2 = { attribute: true, type: String, converter: u$1, reflect: false, hasChanged: f$1 }, r$1 = (t2 = o$2, e2, r2) => {
535
+ const { kind: n3, metadata: i3 } = r2;
536
+ let s2 = globalThis.litPropertyMetadata.get(i3);
537
+ if (void 0 === s2 && globalThis.litPropertyMetadata.set(i3, s2 = /* @__PURE__ */ new Map()), "setter" === n3 && ((t2 = Object.create(t2)).wrapped = true), s2.set(r2.name, t2), "accessor" === n3) {
538
+ const { name: o2 } = r2;
539
+ return { set(r3) {
537
540
  const n4 = e2.get.call(this);
538
- e2.set.call(this, r4), this.requestUpdate(o2, n4, t2);
541
+ e2.set.call(this, r3), this.requestUpdate(o2, n4, t2);
539
542
  }, init(e3) {
540
- return void 0 !== e3 && this.P(o2, void 0, t2), e3;
543
+ return void 0 !== e3 && this.C(o2, void 0, t2, e3), e3;
541
544
  } };
542
545
  }
543
546
  if ("setter" === n3) {
544
- const { name: o2 } = r3;
545
- return function(r4) {
547
+ const { name: o2 } = r2;
548
+ return function(r3) {
546
549
  const n4 = this[o2];
547
- e2.call(this, r4), this.requestUpdate(o2, n4, t2);
550
+ e2.call(this, r3), this.requestUpdate(o2, n4, t2);
548
551
  };
549
552
  }
550
553
  throw Error("Unsupported decorator location: " + n3);
551
554
  };
552
555
  function n2(t2) {
553
556
  return (e2, o2) => "object" == typeof o2 ? r$1(t2, e2, o2) : ((t3, e3, o3) => {
554
- const r3 = e3.hasOwnProperty(o3);
555
- return e3.constructor.createProperty(o3, r3 ? { ...t3, wrapped: true } : t3), r3 ? Object.getOwnPropertyDescriptor(e3, o3) : void 0;
557
+ const r2 = e3.hasOwnProperty(o3);
558
+ return e3.constructor.createProperty(o3, t3), r2 ? Object.getOwnPropertyDescriptor(e3, o3) : void 0;
556
559
  })(t2, e2, o2);
557
560
  }
558
561
  /**
@@ -560,8 +563,8 @@ function n2(t2) {
560
563
  * Copyright 2017 Google LLC
561
564
  * SPDX-License-Identifier: BSD-3-Clause
562
565
  */
563
- function r2(r3) {
564
- return n2({ ...r3, state: true, attribute: false });
566
+ function r(r2) {
567
+ return n2({ ...r2, state: true, attribute: false });
565
568
  }
566
569
  /**
567
570
  * @license
@@ -574,8 +577,8 @@ const e$4 = (e2, t2, c2) => (c2.configurable = true, c2.enumerable = true, Refle
574
577
  * Copyright 2017 Google LLC
575
578
  * SPDX-License-Identifier: BSD-3-Clause
576
579
  */
577
- function e$3(e2, r3) {
578
- return (n3, s2, i2) => {
580
+ function e$3(e2, r2) {
581
+ return (n3, s2, i3) => {
579
582
  const o2 = (t2) => t2.renderRoot?.querySelector(e2) ?? null;
580
583
  return e$4(n3, s2, { get() {
581
584
  return o2(this);
@@ -588,14 +591,14 @@ function e$3(e2, r3) {
588
591
  * SPDX-License-Identifier: BSD-3-Clause
589
592
  */
590
593
  const t$1 = { ATTRIBUTE: 1, CHILD: 2 }, e$2 = (t2) => (...e2) => ({ _$litDirective$: t2, values: e2 });
591
- class i {
594
+ class i2 {
592
595
  constructor(t2) {
593
596
  }
594
597
  get _$AU() {
595
598
  return this._$AM._$AU;
596
599
  }
597
- _$AT(t2, e2, i2) {
598
- this._$Ct = t2, this._$AM = e2, this._$Ci = i2;
600
+ _$AT(t2, e2, i3) {
601
+ this._$Ct = t2, this._$AM = e2, this._$Ci = i3;
599
602
  }
600
603
  _$AS(t2, e2) {
601
604
  return this.update(t2, e2);
@@ -609,24 +612,24 @@ class i {
609
612
  * Copyright 2018 Google LLC
610
613
  * SPDX-License-Identifier: BSD-3-Clause
611
614
  */
612
- const e$1 = e$2(class extends i {
615
+ const e$1 = e$2(class extends i2 {
613
616
  constructor(t2) {
614
617
  if (super(t2), t2.type !== t$1.ATTRIBUTE || "class" !== t2.name || t2.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
615
618
  }
616
619
  render(t2) {
617
620
  return " " + Object.keys(t2).filter((s2) => t2[s2]).join(" ") + " ";
618
621
  }
619
- update(s2, [i2]) {
622
+ update(s2, [i3]) {
620
623
  if (void 0 === this.st) {
621
624
  this.st = /* @__PURE__ */ new Set(), void 0 !== s2.strings && (this.nt = new Set(s2.strings.join(" ").split(/\s/).filter((t2) => "" !== t2)));
622
- for (const t2 in i2) i2[t2] && !this.nt?.has(t2) && this.st.add(t2);
623
- return this.render(i2);
625
+ for (const t2 in i3) i3[t2] && !this.nt?.has(t2) && this.st.add(t2);
626
+ return this.render(i3);
624
627
  }
625
- const r3 = s2.element.classList;
626
- for (const t2 of this.st) t2 in i2 || (r3.remove(t2), this.st.delete(t2));
627
- for (const t2 in i2) {
628
- const s3 = !!i2[t2];
629
- s3 === this.st.has(t2) || this.nt?.has(t2) || (s3 ? (r3.add(t2), this.st.add(t2)) : (r3.remove(t2), this.st.delete(t2)));
628
+ const r2 = s2.element.classList;
629
+ for (const t2 of this.st) t2 in i3 || (r2.remove(t2), this.st.delete(t2));
630
+ for (const t2 in i3) {
631
+ const s3 = !!i3[t2];
632
+ s3 === this.st.has(t2) || this.nt?.has(t2) || (s3 ? (r2.add(t2), this.st.add(t2)) : (r2.remove(t2), this.st.delete(t2)));
630
633
  }
631
634
  return T;
632
635
  }
@@ -637,6 +640,13 @@ const e$1 = e$2(class extends i {
637
640
  * SPDX-License-Identifier: BSD-3-Clause
638
641
  */
639
642
  const o$1 = (o2) => o2 ?? E;
643
+ function guardedCustomElement(tagName) {
644
+ return (cls) => {
645
+ if (!customElements.get(tagName)) {
646
+ t$2(tagName)(cls);
647
+ }
648
+ };
649
+ }
640
650
  const styles$h = i$4`
641
651
  :host {
642
652
  --_color-semantic-surface-critical-hover: #b32a23;
@@ -788,13 +798,13 @@ var __defProp$h = Object.defineProperty;
788
798
  var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
789
799
  var __decorateClass$h = (decorators, target, key, kind) => {
790
800
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
791
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
792
- if (decorator = decorators[i2])
801
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
802
+ if (decorator = decorators[i3])
793
803
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
794
804
  if (kind && result) __defProp$h(target, key, result);
795
805
  return result;
796
806
  };
797
- let SDSButton = class extends r$2 {
807
+ let SDSButton = class extends i$1 {
798
808
  constructor() {
799
809
  super();
800
810
  this.type = "button";
@@ -916,7 +926,7 @@ __decorateClass$h([
916
926
  n2({ type: String, reflect: true })
917
927
  ], SDSButton.prototype, "form", 2);
918
928
  SDSButton = __decorateClass$h([
919
- t$2("sds-button")
929
+ guardedCustomElement("sds-button")
920
930
  ], SDSButton);
921
931
  const styles$g = i$4`
922
932
  :host {
@@ -1031,13 +1041,13 @@ var __defProp$g = Object.defineProperty;
1031
1041
  var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
1032
1042
  var __decorateClass$g = (decorators, target, key, kind) => {
1033
1043
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
1034
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1035
- if (decorator = decorators[i2])
1044
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1045
+ if (decorator = decorators[i3])
1036
1046
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1037
1047
  if (kind && result) __defProp$g(target, key, result);
1038
1048
  return result;
1039
1049
  };
1040
- let SDSCheckbox = class extends r$2 {
1050
+ let SDSCheckbox = class extends i$1 {
1041
1051
  constructor() {
1042
1052
  super();
1043
1053
  this.checked = false;
@@ -1050,7 +1060,7 @@ let SDSCheckbox = class extends r$2 {
1050
1060
  if (!this.disabled) {
1051
1061
  const elem = event.target;
1052
1062
  this.checked = elem.checked;
1053
- this.internals.setFormValue(elem.checked ? elem.value : "");
1063
+ this.internals.setFormValue(elem.checked ? elem.value : null);
1054
1064
  this._validate();
1055
1065
  this.dispatchEvent(
1056
1066
  new CustomEvent("change", {
@@ -1091,16 +1101,8 @@ let SDSCheckbox = class extends r$2 {
1091
1101
  super.connectedCallback();
1092
1102
  this._initialChecked = this.checked;
1093
1103
  this.internals.role = "checkbox";
1094
- if ("FormDataEvent" in window) {
1095
- this.internals.form?.addEventListener("formdata", (event) => {
1096
- if (this.disabled || !this.name || !this.checked) {
1097
- return;
1098
- }
1099
- event.formData.set(this.name, this.value ?? "on");
1100
- });
1101
- }
1102
1104
  if (this.checked) {
1103
- this.internals.setFormValue(this.value ? this.value : "");
1105
+ this.internals.setFormValue(this.value ?? "on");
1104
1106
  }
1105
1107
  }
1106
1108
  firstUpdated(_changedProperties) {
@@ -1115,7 +1117,7 @@ let SDSCheckbox = class extends r$2 {
1115
1117
  if (this.control) {
1116
1118
  this.control.checked = this._initialChecked;
1117
1119
  }
1118
- const resetValue = this.checked && this.value ? this.value : "";
1120
+ const resetValue = this.checked ? this.value ?? "on" : null;
1119
1121
  this.internals.setFormValue(resetValue);
1120
1122
  this._validate();
1121
1123
  }
@@ -1144,6 +1146,9 @@ let SDSCheckbox = class extends r$2 {
1144
1146
  this._validate();
1145
1147
  }
1146
1148
  }
1149
+ get type() {
1150
+ return "checkbox";
1151
+ }
1147
1152
  render() {
1148
1153
  const checkboxClasses = {
1149
1154
  "sds-checkbox": true,
@@ -1202,7 +1207,7 @@ __decorateClass$g([
1202
1207
  e$3("#control")
1203
1208
  ], SDSCheckbox.prototype, "control", 2);
1204
1209
  SDSCheckbox = __decorateClass$g([
1205
- t$2("sds-checkbox")
1210
+ guardedCustomElement("sds-checkbox")
1206
1211
  ], SDSCheckbox);
1207
1212
  const styles$f = i$4`
1208
1213
  :host {
@@ -1259,17 +1264,17 @@ const styles$f = i$4`
1259
1264
  * Copyright 2017 Google LLC
1260
1265
  * SPDX-License-Identifier: BSD-3-Clause
1261
1266
  */
1262
- class e extends i {
1263
- constructor(i2) {
1264
- if (super(i2), this.it = E, i2.type !== t$1.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1265
- }
1266
- render(r3) {
1267
- if (r3 === E || null == r3) return this._t = void 0, this.it = r3;
1268
- if (r3 === T) return r3;
1269
- if ("string" != typeof r3) throw Error(this.constructor.directiveName + "() called with a non-string value");
1270
- if (r3 === this.it) return this._t;
1271
- this.it = r3;
1272
- const s2 = [r3];
1267
+ class e extends i2 {
1268
+ constructor(i3) {
1269
+ if (super(i3), this.it = E, i3.type !== t$1.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
1270
+ }
1271
+ render(r2) {
1272
+ if (r2 === E || null == r2) return this._t = void 0, this.it = r2;
1273
+ if (r2 === T) return r2;
1274
+ if ("string" != typeof r2) throw Error(this.constructor.directiveName + "() called with a non-string value");
1275
+ if (r2 === this.it) return this._t;
1276
+ this.it = r2;
1277
+ const s2 = [r2];
1273
1278
  return s2.raw = s2, this._t = { _$litType$: this.constructor.resultType, strings: s2, values: [] };
1274
1279
  }
1275
1280
  }
@@ -1346,13 +1351,13 @@ var __defProp$f = Object.defineProperty;
1346
1351
  var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
1347
1352
  var __decorateClass$f = (decorators, target, key, kind) => {
1348
1353
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
1349
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1350
- if (decorator = decorators[i2])
1354
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1355
+ if (decorator = decorators[i3])
1351
1356
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1352
1357
  if (kind && result) __defProp$f(target, key, result);
1353
1358
  return result;
1354
1359
  };
1355
- let SDSIcon = class extends r$2 {
1360
+ let SDSIcon = class extends i$1 {
1356
1361
  constructor() {
1357
1362
  super(...arguments);
1358
1363
  this.name = "";
@@ -1416,22 +1421,22 @@ __decorateClass$f([
1416
1421
  n2({ type: String, reflect: true })
1417
1422
  ], SDSIcon.prototype, "label", 2);
1418
1423
  __decorateClass$f([
1419
- r2()
1424
+ r()
1420
1425
  ], SDSIcon.prototype, "svg", 2);
1421
1426
  SDSIcon = __decorateClass$f([
1422
- t$2("sds-icon")
1427
+ guardedCustomElement("sds-icon")
1423
1428
  ], SDSIcon);
1424
1429
  var __defProp$e = Object.defineProperty;
1425
1430
  var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
1426
1431
  var __decorateClass$e = (decorators, target, key, kind) => {
1427
1432
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
1428
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1429
- if (decorator = decorators[i2])
1433
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1434
+ if (decorator = decorators[i3])
1430
1435
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1431
1436
  if (kind && result) __defProp$e(target, key, result);
1432
1437
  return result;
1433
1438
  };
1434
- let SDSCheckboxGroup = class extends r$2 {
1439
+ let SDSCheckboxGroup = class extends i$1 {
1435
1440
  constructor() {
1436
1441
  super(...arguments);
1437
1442
  this._selectedValues = [];
@@ -1486,10 +1491,10 @@ __decorateClass$e([
1486
1491
  n2({ type: String, attribute: "error-message", reflect: true })
1487
1492
  ], SDSCheckboxGroup.prototype, "errorMessage", 2);
1488
1493
  __decorateClass$e([
1489
- r2()
1494
+ r()
1490
1495
  ], SDSCheckboxGroup.prototype, "_selectedValues", 2);
1491
1496
  SDSCheckboxGroup = __decorateClass$e([
1492
- t$2("sds-checkbox-group")
1497
+ guardedCustomElement("sds-checkbox-group")
1493
1498
  ], SDSCheckboxGroup);
1494
1499
  const styles$d = i$4`
1495
1500
  .sds-chip {
@@ -1509,32 +1514,29 @@ const styles$d = i$4`
1509
1514
  line-height: 1.25;
1510
1515
  text-align: center;
1511
1516
 
1512
- user-select: none;
1517
+ user-select: text;
1513
1518
  cursor: pointer;
1514
1519
 
1515
- &:has(input[type='checkbox']:checked) {
1520
+ &:has(:checked) {
1516
1521
  background-color: var(--sds-color-semantic-surface-action-default);
1517
1522
  border-color: var(--sds-color-semantic-surface-action-default);
1518
1523
  color: var(--sds-color-semantic-text-on-action);
1519
1524
  }
1520
1525
 
1521
- &:has(
1522
- input[type='checkbox'][disabled],
1523
- input[type='checkbox']:checked[disabled]
1524
- ) {
1526
+ &:has(input[type='checkbox'][disabled], input[type='checkbox']:checked[disabled]) {
1525
1527
  background-color: var(--sds-color-semantic-surface-disabled);
1526
1528
  border: 2px solid var(--sds-color-semantic-surface-disabled);
1527
1529
  color: var(--sds-color-semantic-text-disabled);
1528
1530
  cursor: not-allowed;
1529
1531
  }
1530
1532
 
1531
- &:hover {
1533
+ &:not(:has([readonly])):hover {
1532
1534
  background-color: var(--sds-color-semantic-surface-action-hover);
1533
1535
  border-color: var(--sds-color-semantic-surface-action-hover);
1534
1536
  color: var(--sds-color-semantic-text-on-action);
1535
1537
  }
1536
1538
 
1537
- &:active {
1539
+ &:not(:has([readonly])):active {
1538
1540
  background-color: var(--sds-color-semantic-surface-action-active);
1539
1541
  border: 2px solid var(--sds-color-semantic-surface-action-active);
1540
1542
  }
@@ -1545,6 +1547,10 @@ const styles$d = i$4`
1545
1547
  outline-offset: 2px;
1546
1548
  }
1547
1549
 
1550
+ &:has([readonly]) {
1551
+ cursor: default;
1552
+ }
1553
+
1548
1554
  &.sds-chip--small {
1549
1555
  font-size: 0.875rem;
1550
1556
  line-height: 1.125rem;
@@ -1569,23 +1575,25 @@ var __defProp$d = Object.defineProperty;
1569
1575
  var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
1570
1576
  var __decorateClass$d = (decorators, target, key, kind) => {
1571
1577
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
1572
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1573
- if (decorator = decorators[i2])
1578
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1579
+ if (decorator = decorators[i3])
1574
1580
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1575
1581
  if (kind && result) __defProp$d(target, key, result);
1576
1582
  return result;
1577
1583
  };
1578
- let SDSChip = class extends r$2 {
1584
+ let SDSChip = class extends i$1 {
1579
1585
  constructor() {
1580
1586
  super();
1581
1587
  this.variant = "selectable";
1582
1588
  this.size = "large";
1583
1589
  this.checked = false;
1584
1590
  this.disabled = false;
1591
+ this.readonly = false;
1585
1592
  this._initialChecked = false;
1586
1593
  this._toggle = (event) => {
1587
1594
  event.preventDefault();
1588
1595
  event.stopImmediatePropagation();
1596
+ if (this.disabled || this.readonly) return;
1589
1597
  this.checked = !this.checked;
1590
1598
  this.internals.setFormValue(this.checked && this.value ? this.value : "");
1591
1599
  this.dispatchEvent(
@@ -1596,6 +1604,7 @@ let SDSChip = class extends r$2 {
1596
1604
  );
1597
1605
  };
1598
1606
  this._remove = () => {
1607
+ if (this.disabled || this.readonly) return;
1599
1608
  this.dispatchEvent(
1600
1609
  new CustomEvent("sds-remove", {
1601
1610
  bubbles: true,
@@ -1633,7 +1642,7 @@ let SDSChip = class extends r$2 {
1633
1642
  "sds-chip": true,
1634
1643
  "sds-chip--small": this.size === "small"
1635
1644
  };
1636
- if (this.variant === "removable") {
1645
+ if (this.variant === "removable" && !this.readonly) {
1637
1646
  return x`<button class="${e$1(chipClasses)}" @click=${this._remove}>
1638
1647
  <slot></slot>
1639
1648
  <sds-icon name="close-material-outlined" size="s"></sds-icon>
@@ -1647,6 +1656,7 @@ let SDSChip = class extends r$2 {
1647
1656
  value="${o$1(this.value)}"
1648
1657
  ?checked="${this.checked}"
1649
1658
  ?disabled="${this.disabled}"
1659
+ ?readonly="${this.readonly}"
1650
1660
  />
1651
1661
  <slot></slot>
1652
1662
  </label>`;
@@ -1672,11 +1682,14 @@ __decorateClass$d([
1672
1682
  __decorateClass$d([
1673
1683
  n2({ type: Boolean, reflect: true })
1674
1684
  ], SDSChip.prototype, "disabled", 2);
1685
+ __decorateClass$d([
1686
+ n2({ type: Boolean, reflect: true })
1687
+ ], SDSChip.prototype, "readonly", 2);
1675
1688
  __decorateClass$d([
1676
1689
  e$3("#control")
1677
1690
  ], SDSChip.prototype, "control", 2);
1678
1691
  SDSChip = __decorateClass$d([
1679
- t$2("sds-chip")
1692
+ guardedCustomElement("sds-chip")
1680
1693
  ], SDSChip);
1681
1694
  const styles$c = i$4`
1682
1695
  :host {
@@ -1705,13 +1718,13 @@ var __defProp$c = Object.defineProperty;
1705
1718
  var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
1706
1719
  var __decorateClass$c = (decorators, target, key, kind) => {
1707
1720
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
1708
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1709
- if (decorator = decorators[i2])
1721
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1722
+ if (decorator = decorators[i3])
1710
1723
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1711
1724
  if (kind && result) __defProp$c(target, key, result);
1712
1725
  return result;
1713
1726
  };
1714
- let SDSDetail = class extends r$2 {
1727
+ let SDSDetail = class extends i$1 {
1715
1728
  constructor() {
1716
1729
  super(...arguments);
1717
1730
  this.variation = "text";
@@ -1731,7 +1744,7 @@ __decorateClass$c([
1731
1744
  n2({ type: String })
1732
1745
  ], SDSDetail.prototype, "variation", 2);
1733
1746
  SDSDetail = __decorateClass$c([
1734
- t$2("sds-detail")
1747
+ guardedCustomElement("sds-detail")
1735
1748
  ], SDSDetail);
1736
1749
  const styles$b = i$4`
1737
1750
  :host {
@@ -1840,13 +1853,13 @@ var __defProp$b = Object.defineProperty;
1840
1853
  var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
1841
1854
  var __decorateClass$b = (decorators, target, key, kind) => {
1842
1855
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
1843
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1844
- if (decorator = decorators[i2])
1856
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1857
+ if (decorator = decorators[i3])
1845
1858
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1846
1859
  if (kind && result) __defProp$b(target, key, result);
1847
1860
  return result;
1848
1861
  };
1849
- let SDSHeading = class extends r$2 {
1862
+ let SDSHeading = class extends i$1 {
1850
1863
  constructor() {
1851
1864
  super(...arguments);
1852
1865
  this.level = "h1";
@@ -1887,7 +1900,7 @@ __decorateClass$b([
1887
1900
  n2({ type: String })
1888
1901
  ], SDSHeading.prototype, "as", 2);
1889
1902
  SDSHeading = __decorateClass$b([
1890
- t$2("sds-heading")
1903
+ guardedCustomElement("sds-heading")
1891
1904
  ], SDSHeading);
1892
1905
  const styles$a = i$4`
1893
1906
  :host {
@@ -1922,13 +1935,13 @@ var __defProp$a = Object.defineProperty;
1922
1935
  var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
1923
1936
  var __decorateClass$a = (decorators, target, key, kind) => {
1924
1937
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
1925
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
1926
- if (decorator = decorators[i2])
1938
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
1939
+ if (decorator = decorators[i3])
1927
1940
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1928
1941
  if (kind && result) __defProp$a(target, key, result);
1929
1942
  return result;
1930
1943
  };
1931
- let SDSLabel = class extends r$2 {
1944
+ let SDSLabel = class extends i$1 {
1932
1945
  constructor() {
1933
1946
  super(...arguments);
1934
1947
  this.size = "l";
@@ -1952,7 +1965,7 @@ __decorateClass$a([
1952
1965
  n2({ type: String })
1953
1966
  ], SDSLabel.prototype, "for", 2);
1954
1967
  SDSLabel = __decorateClass$a([
1955
- t$2("sds-label")
1968
+ guardedCustomElement("sds-label")
1956
1969
  ], SDSLabel);
1957
1970
  const styles$9 = i$4`
1958
1971
  :host {
@@ -2030,13 +2043,13 @@ var __defProp$9 = Object.defineProperty;
2030
2043
  var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
2031
2044
  var __decorateClass$9 = (decorators, target, key, kind) => {
2032
2045
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
2033
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2034
- if (decorator = decorators[i2])
2046
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2047
+ if (decorator = decorators[i3])
2035
2048
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2036
2049
  if (kind && result) __defProp$9(target, key, result);
2037
2050
  return result;
2038
2051
  };
2039
- let SDSLink = class extends r$2 {
2052
+ let SDSLink = class extends i$1 {
2040
2053
  constructor() {
2041
2054
  super(...arguments);
2042
2055
  this.size = "m";
@@ -2065,7 +2078,7 @@ __decorateClass$9([
2065
2078
  n2({ type: String })
2066
2079
  ], SDSLink.prototype, "target", 2);
2067
2080
  SDSLink = __decorateClass$9([
2068
- t$2("sds-link")
2081
+ guardedCustomElement("sds-link")
2069
2082
  ], SDSLink);
2070
2083
  const styles$8 = i$4`
2071
2084
  :host {
@@ -2108,13 +2121,13 @@ var __defProp$8 = Object.defineProperty;
2108
2121
  var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
2109
2122
  var __decorateClass$8 = (decorators, target, key, kind) => {
2110
2123
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
2111
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2112
- if (decorator = decorators[i2])
2124
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2125
+ if (decorator = decorators[i3])
2113
2126
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2114
2127
  if (kind && result) __defProp$8(target, key, result);
2115
2128
  return result;
2116
2129
  };
2117
- let SDSLoader = class extends r$2 {
2130
+ let SDSLoader = class extends i$1 {
2118
2131
  constructor() {
2119
2132
  super(...arguments);
2120
2133
  this.size = "large";
@@ -2137,7 +2150,7 @@ __decorateClass$8([
2137
2150
  n2({ type: String, reflect: true })
2138
2151
  ], SDSLoader.prototype, "color", 2);
2139
2152
  SDSLoader = __decorateClass$8([
2140
- t$2("sds-loader")
2153
+ guardedCustomElement("sds-loader")
2141
2154
  ], SDSLoader);
2142
2155
  const styles$7 = i$4`
2143
2156
  :host {
@@ -2291,13 +2304,13 @@ var __defProp$7 = Object.defineProperty;
2291
2304
  var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
2292
2305
  var __decorateClass$7 = (decorators, target, key, kind) => {
2293
2306
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
2294
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2295
- if (decorator = decorators[i2])
2307
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2308
+ if (decorator = decorators[i3])
2296
2309
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2297
2310
  if (kind && result) __defProp$7(target, key, result);
2298
2311
  return result;
2299
2312
  };
2300
- let SDSNavCard = class extends r$2 {
2313
+ let SDSNavCard = class extends i$1 {
2301
2314
  constructor() {
2302
2315
  super(...arguments);
2303
2316
  this.size = "large";
@@ -2374,13 +2387,13 @@ __decorateClass$7([
2374
2387
  n2({ type: String, reflect: true })
2375
2388
  ], SDSNavCard.prototype, "link", 2);
2376
2389
  __decorateClass$7([
2377
- r2()
2390
+ r()
2378
2391
  ], SDSNavCard.prototype, "hasIcon", 2);
2379
2392
  __decorateClass$7([
2380
2393
  e$3("slot")
2381
2394
  ], SDSNavCard.prototype, "iconSlot", 2);
2382
2395
  SDSNavCard = __decorateClass$7([
2383
- t$2("sds-nav-card")
2396
+ guardedCustomElement("sds-nav-card")
2384
2397
  ], SDSNavCard);
2385
2398
  const styles$6 = i$4`
2386
2399
  :host {
@@ -2544,8 +2557,8 @@ var __defProp$6 = Object.defineProperty;
2544
2557
  var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
2545
2558
  var __decorateClass$6 = (decorators, target, key, kind) => {
2546
2559
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
2547
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2548
- if (decorator = decorators[i2])
2560
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2561
+ if (decorator = decorators[i3])
2549
2562
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2550
2563
  if (kind && result) __defProp$6(target, key, result);
2551
2564
  return result;
@@ -2557,7 +2570,7 @@ const notificationIcons = {
2557
2570
  warning: "warning-material-filled",
2558
2571
  critical: "dangerous-material-filled"
2559
2572
  };
2560
- let SDSNotification = class extends r$2 {
2573
+ let SDSNotification = class extends i$1 {
2561
2574
  constructor() {
2562
2575
  super(...arguments);
2563
2576
  this.variant = "info";
@@ -2603,7 +2616,7 @@ __decorateClass$6([
2603
2616
  n2({ type: String, attribute: "removable-label", reflect: true })
2604
2617
  ], SDSNotification.prototype, "removableLabel", 2);
2605
2618
  SDSNotification = __decorateClass$6([
2606
- t$2("sds-notification")
2619
+ guardedCustomElement("sds-notification")
2607
2620
  ], SDSNotification);
2608
2621
  const styles$5 = i$4`
2609
2622
  :host {
@@ -2644,13 +2657,13 @@ var __defProp$5 = Object.defineProperty;
2644
2657
  var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
2645
2658
  var __decorateClass$5 = (decorators, target, key, kind) => {
2646
2659
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
2647
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2648
- if (decorator = decorators[i2])
2660
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2661
+ if (decorator = decorators[i3])
2649
2662
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2650
2663
  if (kind && result) __defProp$5(target, key, result);
2651
2664
  return result;
2652
2665
  };
2653
- let SDSParagraph = class extends r$2 {
2666
+ let SDSParagraph = class extends i$1 {
2654
2667
  constructor() {
2655
2668
  super(...arguments);
2656
2669
  this.size = "xl";
@@ -2671,7 +2684,7 @@ __decorateClass$5([
2671
2684
  n2({ type: String })
2672
2685
  ], SDSParagraph.prototype, "size", 2);
2673
2686
  SDSParagraph = __decorateClass$5([
2674
- t$2("sds-paragraph")
2687
+ guardedCustomElement("sds-paragraph")
2675
2688
  ], SDSParagraph);
2676
2689
  const styles$4 = i$4`
2677
2690
  :host {
@@ -2682,7 +2695,7 @@ const styles$4 = i$4`
2682
2695
  align-items: flex-start;
2683
2696
  cursor: pointer;
2684
2697
  color: var(--sds-color-semantic-text-default);
2685
- display: inline-flex;
2698
+ display: flex;
2686
2699
  font-family: var(--sds-typography-font-family);
2687
2700
  font-size: 1rem;
2688
2701
  font-weight: 400;
@@ -2785,13 +2798,13 @@ var __defProp$4 = Object.defineProperty;
2785
2798
  var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
2786
2799
  var __decorateClass$4 = (decorators, target, key, kind) => {
2787
2800
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
2788
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
2789
- if (decorator = decorators[i2])
2801
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
2802
+ if (decorator = decorators[i3])
2790
2803
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
2791
2804
  if (kind && result) __defProp$4(target, key, result);
2792
2805
  return result;
2793
2806
  };
2794
- let SDSRadio = class extends r$2 {
2807
+ let SDSRadio = class extends i$1 {
2795
2808
  constructor() {
2796
2809
  super();
2797
2810
  this.disabled = false;
@@ -2845,6 +2858,12 @@ let SDSRadio = class extends r$2 {
2845
2858
  event.stopImmediatePropagation();
2846
2859
  this.dispatchEvent(new CustomEvent("blur", { bubbles: true, composed: true }));
2847
2860
  };
2861
+ this._handleClick = (event) => {
2862
+ event.stopImmediatePropagation();
2863
+ if (event.currentTarget === event.target && !this.disabled) {
2864
+ this.shadowRoot?.querySelector("input")?.click();
2865
+ }
2866
+ };
2848
2867
  this.internals = this.attachInternals();
2849
2868
  this.attachShadow({ mode: "open", delegatesFocus: true });
2850
2869
  }
@@ -2895,7 +2914,7 @@ let SDSRadio = class extends r$2 {
2895
2914
  formResetCallback() {
2896
2915
  this.checked = this._initialChecked;
2897
2916
  this.control.checked = this._initialChecked;
2898
- this.internals.setFormValue(this.checked ? this.value ?? "on" : "on");
2917
+ this.internals.setFormValue(this.checked ? this.value ?? "on" : null);
2899
2918
  this._updateGroupValidation();
2900
2919
  }
2901
2920
  updated(changedProperties) {
@@ -2932,7 +2951,7 @@ let SDSRadio = class extends r$2 {
2932
2951
  return this.internals.form;
2933
2952
  }
2934
2953
  get type() {
2935
- return this.localName;
2954
+ return "radio";
2936
2955
  }
2937
2956
  get validity() {
2938
2957
  return this.internals.validity;
@@ -2975,7 +2994,7 @@ let SDSRadio = class extends r$2 {
2975
2994
  "sds-radio__input--error": Boolean(this.error)
2976
2995
  };
2977
2996
  return x`
2978
- <div class="${e$1(radioClasses)}">
2997
+ <div class="${e$1(radioClasses)}" @click="${this._handleClick}">
2979
2998
  <label class="sds-radio__label">
2980
2999
  <input
2981
3000
  id="control"
@@ -3026,7 +3045,7 @@ __decorateClass$4([
3026
3045
  e$3("#control")
3027
3046
  ], SDSRadio.prototype, "control", 2);
3028
3047
  SDSRadio = __decorateClass$4([
3029
- t$2("sds-radio")
3048
+ guardedCustomElement("sds-radio")
3030
3049
  ], SDSRadio);
3031
3050
  const styles$3 = i$4`
3032
3051
  .sds-radio-group {
@@ -3077,13 +3096,13 @@ var __defProp$3 = Object.defineProperty;
3077
3096
  var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
3078
3097
  var __decorateClass$3 = (decorators, target, key, kind) => {
3079
3098
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
3080
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3081
- if (decorator = decorators[i2])
3099
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3100
+ if (decorator = decorators[i3])
3082
3101
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3083
3102
  if (kind && result) __defProp$3(target, key, result);
3084
3103
  return result;
3085
3104
  };
3086
- let SDSRadioGroup = class extends r$2 {
3105
+ let SDSRadioGroup = class extends i$1 {
3087
3106
  constructor() {
3088
3107
  super(...arguments);
3089
3108
  this._selectedValue = null;
@@ -3134,10 +3153,10 @@ __decorateClass$3([
3134
3153
  n2({ type: String, attribute: "error-message" })
3135
3154
  ], SDSRadioGroup.prototype, "errorMessage", 2);
3136
3155
  __decorateClass$3([
3137
- r2()
3156
+ r()
3138
3157
  ], SDSRadioGroup.prototype, "_selectedValue", 2);
3139
3158
  SDSRadioGroup = __decorateClass$3([
3140
- t$2("sds-radio-group")
3159
+ guardedCustomElement("sds-radio-group")
3141
3160
  ], SDSRadioGroup);
3142
3161
  const styles$2 = i$4`
3143
3162
  :host {
@@ -3266,13 +3285,13 @@ var __defProp$2 = Object.defineProperty;
3266
3285
  var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
3267
3286
  var __decorateClass$2 = (decorators, target, key, kind) => {
3268
3287
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
3269
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3270
- if (decorator = decorators[i2])
3288
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3289
+ if (decorator = decorators[i3])
3271
3290
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3272
3291
  if (kind && result) __defProp$2(target, key, result);
3273
3292
  return result;
3274
3293
  };
3275
- let SDSSwitch = class extends r$2 {
3294
+ let SDSSwitch = class extends i$1 {
3276
3295
  constructor() {
3277
3296
  super();
3278
3297
  this.disabled = false;
@@ -3396,7 +3415,7 @@ __decorateClass$2([
3396
3415
  e$3("#control")
3397
3416
  ], SDSSwitch.prototype, "control", 2);
3398
3417
  SDSSwitch = __decorateClass$2([
3399
- t$2("sds-switch")
3418
+ guardedCustomElement("sds-switch")
3400
3419
  ], SDSSwitch);
3401
3420
  const styles$1 = i$4`
3402
3421
  :host {
@@ -3431,13 +3450,13 @@ var __defProp$1 = Object.defineProperty;
3431
3450
  var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
3432
3451
  var __decorateClass$1 = (decorators, target, key, kind) => {
3433
3452
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
3434
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3435
- if (decorator = decorators[i2])
3453
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3454
+ if (decorator = decorators[i3])
3436
3455
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3437
3456
  if (kind && result) __defProp$1(target, key, result);
3438
3457
  return result;
3439
3458
  };
3440
- let SDSText = class extends r$2 {
3459
+ let SDSText = class extends i$1 {
3441
3460
  constructor() {
3442
3461
  super(...arguments);
3443
3462
  this.size = "l";
@@ -3458,7 +3477,7 @@ __decorateClass$1([
3458
3477
  n2({ type: String })
3459
3478
  ], SDSText.prototype, "size", 2);
3460
3479
  SDSText = __decorateClass$1([
3461
- t$2("sds-text")
3480
+ guardedCustomElement("sds-text")
3462
3481
  ], SDSText);
3463
3482
  const styles = i$4`
3464
3483
  :host {
@@ -3578,13 +3597,13 @@ var __defProp = Object.defineProperty;
3578
3597
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3579
3598
  var __decorateClass = (decorators, target, key, kind) => {
3580
3599
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
3581
- for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
3582
- if (decorator = decorators[i2])
3600
+ for (var i3 = decorators.length - 1, decorator; i3 >= 0; i3--)
3601
+ if (decorator = decorators[i3])
3583
3602
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
3584
3603
  if (kind && result) __defProp(target, key, result);
3585
3604
  return result;
3586
3605
  };
3587
- let SDSTextField = class extends r$2 {
3606
+ let SDSTextField = class extends i$1 {
3588
3607
  constructor() {
3589
3608
  super();
3590
3609
  this.type = "text";
@@ -3777,13 +3796,13 @@ __decorateClass([
3777
3796
  n2({ type: Number, reflect: true })
3778
3797
  ], SDSTextField.prototype, "maxlength", 2);
3779
3798
  __decorateClass([
3780
- r2()
3799
+ r()
3781
3800
  ], SDSTextField.prototype, "hasIcon", 2);
3782
3801
  __decorateClass([
3783
3802
  e$3("#sds-textfield")
3784
3803
  ], SDSTextField.prototype, "control", 2);
3785
3804
  SDSTextField = __decorateClass([
3786
- t$2("sds-textfield")
3805
+ guardedCustomElement("sds-textfield")
3787
3806
  ], SDSTextField);
3788
3807
  export {
3789
3808
  SDSButton,