@sbb-esta/lyne-elements 0.52.0 → 0.52.1

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 (220) hide show
  1. package/accordion.js +54 -54
  2. package/action-group.js +3 -3
  3. package/alert/alert-group.js +22 -22
  4. package/alert/alert.js +22 -22
  5. package/autocomplete.js +126 -126
  6. package/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
  7. package/breadcrumb/breadcrumb-group.js +70 -69
  8. package/breadcrumb/breadcrumb.js +17 -17
  9. package/calendar.js +423 -423
  10. package/card/card-badge.js +17 -17
  11. package/card/card.js +2 -2
  12. package/card/common.js +30 -30
  13. package/checkbox/checkbox-group.js +17 -17
  14. package/checkbox/checkbox.js +34 -34
  15. package/clock.js +83 -83
  16. package/container/sticky-bar.js +16 -16
  17. package/core/a11y.js +91 -91
  18. package/core/base-elements.js +87 -88
  19. package/core/controllers.js +40 -40
  20. package/core/datetime.js +34 -36
  21. package/core/dom.js +26 -26
  22. package/core/eventing.js +33 -33
  23. package/core/mixins.js +122 -122
  24. package/core/overlay/overlay.d.ts.map +1 -1
  25. package/core/overlay.js +55 -50
  26. package/core/testing/event-spy.d.ts +1 -1
  27. package/core/testing/wait-for-image-ready.d.ts +4 -0
  28. package/core/testing/wait-for-image-ready.d.ts.map +1 -0
  29. package/core/testing.d.ts +1 -0
  30. package/core/testing.d.ts.map +1 -1
  31. package/core/testing.js +42 -31
  32. package/custom-elements.json +70 -4
  33. package/datepicker/common.js +55 -55
  34. package/datepicker/datepicker-toggle.js +94 -94
  35. package/datepicker/datepicker.js +144 -144
  36. package/development/accordion.js +2 -3
  37. package/development/action-group.js +2 -3
  38. package/development/alert/alert-group.js +2 -3
  39. package/development/alert/alert.js +2 -3
  40. package/development/autocomplete.js +2 -3
  41. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
  42. package/development/breadcrumb/breadcrumb-group.js +5 -5
  43. package/development/breadcrumb/breadcrumb.js +2 -3
  44. package/development/button/button-link.js +2 -3
  45. package/development/button/button-static.js +2 -3
  46. package/development/button/button.js +2 -3
  47. package/development/button/common.js +2 -3
  48. package/development/button/mini-button.js +2 -3
  49. package/development/button/secondary-button-link.js +2 -3
  50. package/development/button/secondary-button-static.js +2 -3
  51. package/development/button/secondary-button.js +2 -3
  52. package/development/button/tertiary-button-link.js +2 -3
  53. package/development/button/tertiary-button-static.js +2 -3
  54. package/development/button/tertiary-button.js +2 -3
  55. package/development/button/transparent-button-link.js +2 -3
  56. package/development/button/transparent-button-static.js +2 -3
  57. package/development/button/transparent-button.js +2 -3
  58. package/development/calendar.js +2 -3
  59. package/development/card/card-badge.js +2 -3
  60. package/development/card/card-button.js +2 -3
  61. package/development/card/card-link.js +2 -3
  62. package/development/card/card.js +2 -3
  63. package/development/card/common.js +2 -3
  64. package/development/checkbox/checkbox-group.js +2 -3
  65. package/development/checkbox/checkbox.js +2 -3
  66. package/development/chip.js +2 -3
  67. package/development/clock.js +2 -3
  68. package/development/container/container.js +2 -3
  69. package/development/container/sticky-bar.js +2 -3
  70. package/development/core/base-elements.js +4 -7
  71. package/development/core/mixins.js +7 -13
  72. package/development/core/overlay/overlay.d.ts.map +1 -1
  73. package/development/core/overlay.js +9 -3
  74. package/development/core/testing/event-spy.d.ts +1 -1
  75. package/development/core/testing/wait-for-image-ready.d.ts +4 -0
  76. package/development/core/testing/wait-for-image-ready.d.ts.map +1 -0
  77. package/development/core/testing.d.ts +1 -0
  78. package/development/core/testing.d.ts.map +1 -1
  79. package/development/core/testing.js +17 -1
  80. package/development/datepicker/common.js +2 -3
  81. package/development/datepicker/datepicker-next-day.js +2 -3
  82. package/development/datepicker/datepicker-previous-day.js +2 -3
  83. package/development/datepicker/datepicker-toggle.js +2 -3
  84. package/development/datepicker/datepicker.js +2 -3
  85. package/development/dialog/dialog-actions.js +2 -3
  86. package/development/dialog/dialog-content.js +2 -3
  87. package/development/dialog/dialog-title.js +2 -3
  88. package/development/dialog/dialog.js +2 -3
  89. package/development/divider.js +2 -3
  90. package/development/expansion-panel/expansion-panel-content.js +2 -3
  91. package/development/expansion-panel/expansion-panel-header.js +2 -3
  92. package/development/expansion-panel/expansion-panel.js +2 -3
  93. package/development/file-selector.js +2 -3
  94. package/development/footer.js +2 -3
  95. package/development/form-error.js +2 -3
  96. package/development/form-field/form-field-clear.js +2 -3
  97. package/development/form-field/form-field.js +2 -3
  98. package/development/header/common.js +2 -3
  99. package/development/header/header-button.js +2 -3
  100. package/development/header/header-link.js +2 -3
  101. package/development/header/header.js +2 -3
  102. package/development/icon.js +4 -7
  103. package/development/image/image.d.ts +12 -3
  104. package/development/image/image.d.ts.map +1 -1
  105. package/development/image.js +41 -24
  106. package/development/journey-header.js +2 -3
  107. package/development/lead-container.js +2 -3
  108. package/development/link/block-link-button.js +2 -3
  109. package/development/link/block-link-static.js +2 -3
  110. package/development/link/block-link.js +2 -3
  111. package/development/link/common.js +3 -5
  112. package/development/link/link-button.js +2 -3
  113. package/development/link/link-static.js +2 -3
  114. package/development/link/link.js +2 -3
  115. package/development/link-list.js +2 -3
  116. package/development/loading-indicator.js +2 -3
  117. package/development/logo.js +2 -3
  118. package/development/map-container.js +2 -3
  119. package/development/menu/common.js +2 -3
  120. package/development/menu/menu-button.js +2 -3
  121. package/development/menu/menu-link.js +2 -3
  122. package/development/menu/menu.js +2 -3
  123. package/development/message.js +2 -3
  124. package/development/navigation/common.js +2 -3
  125. package/development/navigation/navigation-button.js +2 -3
  126. package/development/navigation/navigation-link.js +2 -3
  127. package/development/navigation/navigation-list.js +2 -3
  128. package/development/navigation/navigation-marker.js +2 -3
  129. package/development/navigation/navigation-section.js +2 -3
  130. package/development/navigation/navigation.js +2 -3
  131. package/development/notification.js +2 -3
  132. package/development/option/optgroup.js +2 -3
  133. package/development/option/option.js +2 -3
  134. package/development/overlay.js +3 -5
  135. package/development/popover/popover-trigger.js +2 -3
  136. package/development/popover/popover.js +2 -3
  137. package/development/radio-button/radio-button-group.js +2 -3
  138. package/development/radio-button/radio-button.js +2 -3
  139. package/development/screen-reader-only.js +2 -3
  140. package/development/select.js +2 -3
  141. package/development/selection-panel.js +2 -3
  142. package/development/signet.js +2 -3
  143. package/development/skiplink-list.js +2 -3
  144. package/development/slider.js +2 -3
  145. package/development/status.js +2 -3
  146. package/development/stepper/step-label.js +2 -3
  147. package/development/stepper/step.js +2 -3
  148. package/development/stepper/stepper/stepper.d.ts +1 -1
  149. package/development/stepper/stepper/stepper.d.ts.map +1 -1
  150. package/development/stepper/stepper.js +5 -6
  151. package/development/tabs/tab-group.js +2 -3
  152. package/development/tabs/tab-title.js +2 -3
  153. package/development/tag/tag-group.js +2 -3
  154. package/development/tag/tag.js +2 -3
  155. package/development/teaser-hero.js +2 -3
  156. package/development/teaser-paid.js +2 -3
  157. package/development/teaser.js +2 -3
  158. package/development/time-input.js +2 -3
  159. package/development/timetable-occupancy-icon.js +2 -3
  160. package/development/timetable-occupancy.js +2 -3
  161. package/development/title.js +3 -5
  162. package/development/toast.js +2 -3
  163. package/development/toggle/toggle-option.js +3 -5
  164. package/development/toggle/toggle.js +2 -3
  165. package/development/toggle-check.js +10 -3
  166. package/development/train/train-blocked-passage.js +2 -3
  167. package/development/train/train-formation.js +2 -3
  168. package/development/train/train-wagon.js +2 -3
  169. package/development/train/train.js +2 -3
  170. package/development/visual-checkbox.js +2 -3
  171. package/dialog/dialog-title.js +20 -20
  172. package/dialog/dialog.js +66 -66
  173. package/expansion-panel/expansion-panel-header.js +20 -20
  174. package/expansion-panel/expansion-panel.js +60 -60
  175. package/file-selector.js +91 -91
  176. package/form-field/form-field-clear.js +12 -12
  177. package/form-field/form-field.js +111 -111
  178. package/header/header.js +53 -53
  179. package/icon.js +107 -107
  180. package/image/image.d.ts +12 -3
  181. package/image/image.d.ts.map +1 -1
  182. package/image.js +118 -105
  183. package/journey-header.js +29 -29
  184. package/map-container.js +23 -23
  185. package/menu/menu.js +91 -91
  186. package/navigation/common.js +16 -16
  187. package/navigation/navigation-marker.js +34 -34
  188. package/navigation/navigation-section.js +83 -83
  189. package/navigation/navigation.js +87 -87
  190. package/notification.js +52 -52
  191. package/option/optgroup.js +45 -45
  192. package/option/option.js +108 -108
  193. package/overlay.js +5 -5
  194. package/package.json +1 -1
  195. package/popover/popover.js +110 -110
  196. package/radio-button/radio-button-group.js +93 -93
  197. package/radio-button/radio-button.js +84 -84
  198. package/select.js +178 -178
  199. package/selection-panel.js +44 -44
  200. package/slider.js +58 -58
  201. package/status.js +6 -6
  202. package/stepper/step-label.js +19 -19
  203. package/stepper/step.js +31 -31
  204. package/stepper/stepper/stepper.d.ts +1 -1
  205. package/stepper/stepper/stepper.d.ts.map +1 -1
  206. package/stepper/stepper.js +48 -48
  207. package/tabs/tab-group.js +67 -67
  208. package/tag/tag-group.js +8 -8
  209. package/tag/tag.js +27 -27
  210. package/teaser-paid.js +12 -12
  211. package/time-input.js +73 -73
  212. package/timetable-occupancy-icon.js +26 -26
  213. package/timetable-occupancy.js +9 -9
  214. package/toast.js +38 -38
  215. package/toggle/toggle-option.js +33 -33
  216. package/toggle/toggle.js +46 -46
  217. package/toggle-check.js +14 -14
  218. package/train/train-formation.js +36 -37
  219. package/train/train-wagon.js +30 -30
  220. package/train/train.js +13 -13
package/core/mixins.js CHANGED
@@ -1,24 +1,24 @@
1
- import { property as l, state as _ } from "lit/decorators.js";
2
- import { defaultConverter as u, isServer as h, html as o, nothing as c } from "lit";
3
- import { hostAttributes as g } from "./decorators.js";
4
- import { preventScrollOnSpacebarPress as p, forwardEventToHost as C } from "./eventing.js";
5
- import { getLocalName as b } from "./dom.js";
1
+ import { property as l, state as g } from "lit/decorators.js";
2
+ import { defaultConverter as c, isServer as d, html as o, nothing as u } from "lit";
3
+ import { hostAttributes as y } from "./decorators.js";
4
+ import { preventScrollOnSpacebarPress as b, forwardEventToHost as S } from "./eventing.js";
5
+ import { getLocalName as p } from "./dom.js";
6
6
  import "../screen-reader-only.js";
7
- var S = Object.defineProperty, k = Object.getOwnPropertyDescriptor, E = (a, r, s, t) => {
8
- for (var e = k(r, s), i = a.length - 1, n; i >= 0; i--)
9
- (n = a[i]) && (e = n(r, s, e) || e);
10
- return e && S(r, s, e), e;
7
+ var _ = Object.defineProperty, E = Object.getOwnPropertyDescriptor, x = (a, s, r, t) => {
8
+ for (var e = E(s, r), i = a.length - 1, n; i >= 0; i--)
9
+ (n = a[i]) && (e = n(s, r, e) || e);
10
+ return e && _(s, r, e), e;
11
11
  };
12
- const y = (a) => {
13
- class r extends a {
12
+ const C = (a) => {
13
+ class s extends a {
14
14
  constructor() {
15
- super(...arguments), this._disabled = !1;
15
+ super(...arguments), this.a = !1;
16
16
  }
17
17
  set disabled(t) {
18
- this._disabled = !!t;
18
+ this.a = !!t;
19
19
  }
20
20
  get disabled() {
21
- return this._disabled || this.isDisabledExternally();
21
+ return this.a || this.isDisabledExternally();
22
22
  }
23
23
  /**
24
24
  * Will be used as 'or' check to the current disabled state.
@@ -28,26 +28,26 @@ const y = (a) => {
28
28
  return !1;
29
29
  }
30
30
  }
31
- return E([
31
+ return x([
32
32
  l({ reflect: !0, type: Boolean })
33
- ], r.prototype, "disabled"), r;
34
- }, X = (a) => {
35
- class r extends y(a) {
33
+ ], s.prototype, "disabled"), s;
34
+ }, z = (a) => {
35
+ class s extends C(a) {
36
36
  willUpdate(t) {
37
37
  super.willUpdate(t), t.has("disabled") && (this.disabled ? (this.setAttribute("aria-disabled", "true"), this.removeAttribute("tabindex")) : (this.removeAttribute("aria-disabled"), this.setAttribute("tabindex", "0")));
38
38
  }
39
39
  }
40
- return r;
40
+ return s;
41
41
  };
42
- var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, d = (a, r, s, t) => {
43
- for (var e = t > 1 ? void 0 : t ? w(r, s) : r, i = a.length - 1, n; i >= 0; i--)
44
- (n = a[i]) && (e = (t ? n(r, s, e) : n(e)) || e);
45
- return t && e && x(r, s, e), e;
42
+ var w = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, h = (a, s, r, t) => {
43
+ for (var e = t > 1 ? void 0 : t ? $(s, r) : s, i = a.length - 1, n; i >= 0; i--)
44
+ (n = a[i]) && (e = (t ? n(s, r, e) : n(e)) || e);
45
+ return t && e && w(s, r, e), e;
46
46
  };
47
- const $ = (a) => {
48
- const s = class s extends a {
47
+ const A = (a) => {
48
+ const r = class r extends a {
49
49
  constructor() {
50
- super(...arguments), this._value = null, this.internals = this.attachInternals(), this.formDisabled = !1;
50
+ super(...arguments), this.a = null, this.internals = this.attachInternals(), this.formDisabled = !1;
51
51
  }
52
52
  /**
53
53
  * Returns the form owner of internals target element.
@@ -66,10 +66,10 @@ const $ = (a) => {
66
66
  return this.localName;
67
67
  }
68
68
  set value(e) {
69
- this._value = e, this.updateFormValue();
69
+ this.a = e, this.updateFormValue();
70
70
  }
71
71
  get value() {
72
- return this._value;
72
+ return this.a;
73
73
  }
74
74
  /**
75
75
  * Returns the ValidityState object for internals target element.
@@ -133,31 +133,31 @@ const $ = (a) => {
133
133
  this.internals.setFormValue(this.value);
134
134
  }
135
135
  };
136
- s.formAssociated = !0;
137
- let r = s;
138
- return d([
136
+ r.formAssociated = !0;
137
+ let s = r;
138
+ return h([
139
139
  l()
140
- ], r.prototype, "name", 1), d([
140
+ ], s.prototype, "name", 1), h([
141
141
  l()
142
- ], r.prototype, "value", 1), d([
143
- _()
144
- ], r.prototype, "formDisabled", 2), r;
142
+ ], s.prototype, "value", 1), h([
143
+ g()
144
+ ], s.prototype, "formDisabled", 2), s;
145
145
  };
146
- var R = Object.defineProperty, A = Object.getOwnPropertyDescriptor, P = (a, r, s, t) => {
147
- for (var e = A(r, s), i = a.length - 1, n; i >= 0; i--)
148
- (n = a[i]) && (e = n(r, s, e) || e);
149
- return e && R(r, s, e), e;
146
+ var k = Object.defineProperty, P = Object.getOwnPropertyDescriptor, O = (a, s, r, t) => {
147
+ for (var e = P(s, r), i = a.length - 1, n; i >= 0; i--)
148
+ (n = a[i]) && (e = n(s, r, e) || e);
149
+ return e && k(s, r, e), e;
150
150
  };
151
- const O = (a) => {
152
- class r extends a {
151
+ const L = (a) => {
152
+ class s extends a {
153
153
  constructor() {
154
- super(...arguments), this._required = !1;
154
+ super(...arguments), this.a = !1;
155
155
  }
156
156
  set required(t) {
157
- this._required = !!t;
157
+ this.a = !!t;
158
158
  }
159
159
  get required() {
160
- return this._required || this.isRequiredExternally();
160
+ return this.a || this.isRequiredExternally();
161
161
  }
162
162
  async willUpdate(t) {
163
163
  super.willUpdate(t), t.has("required") && (this.internals.ariaRequired = `${this.required}`);
@@ -170,40 +170,40 @@ const O = (a) => {
170
170
  return !1;
171
171
  }
172
172
  }
173
- return P([
173
+ return O([
174
174
  l({ reflect: !0, type: Boolean })
175
- ], r.prototype, "required"), r;
175
+ ], s.prototype, "required"), s;
176
176
  };
177
- var q = Object.defineProperty, L = Object.getOwnPropertyDescriptor, f = (a, r, s, t) => {
178
- for (var e = t > 1 ? void 0 : t ? L(r, s) : r, i = a.length - 1, n; i >= 0; i--)
179
- (n = a[i]) && (e = (t ? n(r, s, e) : n(e)) || e);
180
- return t && e && q(r, s, e), e;
177
+ var D = Object.defineProperty, R = Object.getOwnPropertyDescriptor, f = (a, s, r, t) => {
178
+ for (var e = t > 1 ? void 0 : t ? R(s, r) : s, i = a.length - 1, n; i >= 0; i--)
179
+ (n = a[i]) && (e = (t ? n(s, r, e) : n(e)) || e);
180
+ return t && e && D(s, r, e), e;
181
181
  };
182
- const z = (a) => {
183
- let r = class extends y(O($(a))) {
182
+ const J = (a) => {
183
+ let s = class extends C(L(A(a))) {
184
184
  constructor() {
185
- super(), this._attributeMutationBlocked = !1, this._checked = !1, this._handleKeyboardInteraction = (s) => {
186
- s.key === " " && this._handleUserInteraction();
187
- }, this._handleUserInteraction = () => {
188
- var s;
189
- this.disabled || ((s = this.withUserInteraction) == null || s.call(this), this.checked = !this.checked, this._attributeMutationBlocked = !0, this.dispatchEvent(new InputEvent("input", { composed: !0, bubbles: !0 })), this.dispatchEvent(new Event("change", { bubbles: !0 })), this.dispatchEvent(new CustomEvent("didChange", { bubbles: !0 })));
185
+ super(), this.a = !1, this.c = !1, this.d = (r) => {
186
+ r.key === " " && this.b();
187
+ }, this.b = () => {
188
+ var r;
189
+ this.disabled || ((r = this.withUserInteraction) == null || r.call(this), this.checked = !this.checked, this.a = !0, this.dispatchEvent(new InputEvent("input", { composed: !0, bubbles: !0 })), this.dispatchEvent(new Event("change", { bubbles: !0 })), this.dispatchEvent(new CustomEvent("didChange", { bubbles: !0 })));
190
190
  }, this.internals.role = "checkbox";
191
191
  }
192
- set checked(s) {
193
- const t = typeof s == "object" ? s.attribute : !1;
194
- t && (s = s.value), this.hasUpdated && !t && (this._attributeMutationBlocked = !0), this._checked = !!s, this.updateFormValue();
192
+ set checked(r) {
193
+ const t = typeof r == "object" ? r.attribute : !1;
194
+ t && (r = r.value), this.hasUpdated && !t && (this.a = !0), this.c = !!r, this.updateFormValue();
195
195
  }
196
196
  get checked() {
197
- return this._checked;
197
+ return this.c;
198
198
  }
199
199
  connectedCallback() {
200
- super.connectedCallback(), this.addEventListener("click", this._handleUserInteraction), this.addEventListener("keydown", p), this.addEventListener("keyup", this._handleKeyboardInteraction);
200
+ super.connectedCallback(), this.addEventListener("click", this.b), this.addEventListener("keydown", b), this.addEventListener("keyup", this.d);
201
201
  }
202
202
  disconnectedCallback() {
203
- super.disconnectedCallback(), this.removeEventListener("click", this._handleUserInteraction), this.removeEventListener("keydown", p), this.removeEventListener("keyup", this._handleKeyboardInteraction);
203
+ super.disconnectedCallback(), this.removeEventListener("click", this.b), this.removeEventListener("keydown", b), this.removeEventListener("keyup", this.d);
204
204
  }
205
- attributeChangedCallback(s, t, e) {
206
- (s !== "checked" || !this._attributeMutationBlocked) && super.attributeChangedCallback(s, t, e);
205
+ attributeChangedCallback(r, t, e) {
206
+ (r !== "checked" || !this.a) && super.attributeChangedCallback(r, t, e);
207
207
  }
208
208
  /**
209
209
  * Is called whenever the form is being reset.
@@ -211,7 +211,7 @@ const z = (a) => {
211
211
  * @internal
212
212
  */
213
213
  formResetCallback() {
214
- this.checked = this.hasAttribute("checked"), this._attributeMutationBlocked = !1;
214
+ this.checked = this.hasAttribute("checked"), this.a = !1;
215
215
  }
216
216
  /**
217
217
  * Called when the browser is trying to restore element’s state to state in which case
@@ -222,8 +222,8 @@ const z = (a) => {
222
222
  *
223
223
  * @internal
224
224
  */
225
- formStateRestoreCallback(s, t) {
226
- s && (this.checked = s === "true");
225
+ formStateRestoreCallback(r, t) {
226
+ r && (this.checked = r === "true");
227
227
  }
228
228
  updateFormValue() {
229
229
  this.checked ? this.internals.setFormValue(this.value, `${this.checked}`) : this.internals.setFormValue(null);
@@ -233,30 +233,30 @@ const z = (a) => {
233
233
  l({
234
234
  type: Boolean,
235
235
  converter: {
236
- ...u,
236
+ ...c,
237
237
  // We need to pass information to the setter so that we know it was called by attribute change.
238
- fromAttribute: (s, t) => {
238
+ fromAttribute: (r, t) => {
239
239
  var i, n;
240
- return { value: (n = (i = u).fromAttribute) == null ? void 0 : n.call(i, s, t), attribute: !0 };
240
+ return { value: (n = (i = c).fromAttribute) == null ? void 0 : n.call(i, r, t), attribute: !0 };
241
241
  }
242
242
  }
243
243
  })
244
- ], r.prototype, "checked", 1), r = f([
245
- g({
244
+ ], s.prototype, "checked", 1), s = f([
245
+ y({
246
246
  tabindex: "0"
247
247
  })
248
- ], r), r;
249
- }, U = "litElementHydrateSupport", D = h || globalThis.testGroup === "ssr-non-hydrated", M = (a) => {
250
- class r extends a {
248
+ ], s), s;
249
+ }, U = "litElementHydrateSupport", N = d || globalThis.testGroup === "ssr-non-hydrated", M = (a) => {
250
+ class s extends a {
251
251
  constructor() {
252
- super(...arguments), this._hydrationRequired = !1, this._hydrationComplete = new Promise(
253
- (t) => this._resolveHydration = t
254
- ), this._handleBeforeHydrationSlotchange = (t) => {
255
- if (!this._hydrationRequired)
252
+ super(...arguments), this.a = !1, this.d = new Promise(
253
+ (t) => this.b = t
254
+ ), this.c = (t) => {
255
+ if (!this.a)
256
256
  return;
257
257
  t.stopImmediatePropagation();
258
258
  const e = t.target;
259
- this.hydrationComplete.then(() => C(t, e));
259
+ this.hydrationComplete.then(() => S(t, e));
260
260
  };
261
261
  }
262
262
  /**
@@ -268,21 +268,21 @@ const z = (a) => {
268
268
  * @internal
269
269
  */
270
270
  get hydrationComplete() {
271
- return this._hydrationComplete;
271
+ return this.d;
272
272
  }
273
273
  createRenderRoot() {
274
274
  var t, e;
275
- if (this._hydrationRequired = !!this.shadowRoot && U in globalThis && (h || !D), !this._hydrationRequired)
276
- this._resolveHydration(!1);
275
+ if (this.a = !!this.shadowRoot && U in globalThis && (d || !N), !this.a)
276
+ this.b(!1);
277
277
  else {
278
278
  const i = (t = this.shadowRoot) == null ? void 0 : t.querySelectorAll("slot");
279
279
  i != null && i.length && (i.forEach(
280
- (n) => n.addEventListener("slotchange", this._handleBeforeHydrationSlotchange, {
280
+ (n) => n.addEventListener("slotchange", this.c, {
281
281
  capture: !0
282
282
  })
283
283
  ), this.hydrationComplete.then(
284
284
  () => i.forEach(
285
- (n) => n.removeEventListener("slotchange", this._handleBeforeHydrationSlotchange)
285
+ (n) => n.removeEventListener("slotchange", this.c)
286
286
  )
287
287
  )), (e = this.recoverSsrState) == null || e.call(this);
288
288
  }
@@ -290,10 +290,10 @@ const z = (a) => {
290
290
  }
291
291
  willUpdate(t) {
292
292
  var e;
293
- super.willUpdate(t), h && ((e = this.recoverSsrState) == null || e.call(this));
293
+ super.willUpdate(t), d && ((e = this.recoverSsrState) == null || e.call(this));
294
294
  }
295
295
  update(t) {
296
- super.update(t), this._hydrationRequired && (this._hydrationRequired = !1, this._resolveHydration(!0));
296
+ super.update(t), this.a && (this.a = !1, this.b(!0));
297
297
  }
298
298
  /** Reads and removes an attribute with the given name. Either returns the attributte value or null. */
299
299
  getAndRemoveAttribute(t) {
@@ -301,17 +301,17 @@ const z = (a) => {
301
301
  return this.removeAttribute(t), e;
302
302
  }
303
303
  }
304
- return r;
304
+ return s;
305
305
  };
306
- var B = Object.defineProperty, H = (a, r, s, t) => {
306
+ var V = Object.defineProperty, j = (a, s, r, t) => {
307
307
  for (var e = void 0, i = a.length - 1, n; i >= 0; i--)
308
- (n = a[i]) && (e = n(r, s, e) || e);
309
- return e && B(r, s, e), e;
308
+ (n = a[i]) && (e = n(s, r, e) || e);
309
+ return e && V(s, r, e), e;
310
310
  };
311
- const m = "data-ssr-child-count", v = "li", J = (a) => {
312
- class r extends M(a) {
311
+ const m = "data-ssr-child-count", v = "li", K = (a) => {
312
+ class s extends M(a) {
313
313
  constructor() {
314
- super(...arguments), this.listChildren = [], this._handleSlotchange = () => {
314
+ super(...arguments), this.listChildren = [], this.a = () => {
315
315
  const t = Array.from(this.children ?? []).filter(
316
316
  (e) => this.listChildLocalNames.includes(e.localName)
317
317
  );
@@ -322,11 +322,11 @@ const m = "data-ssr-child-count", v = "li", J = (a) => {
322
322
  }
323
323
  connectedCallback() {
324
324
  var t;
325
- super.connectedCallback(), (t = this.shadowRoot) == null || t.addEventListener("slotchange", this._handleSlotchange, { passive: !0 });
325
+ super.connectedCallback(), (t = this.shadowRoot) == null || t.addEventListener("slotchange", this.a, { passive: !0 });
326
326
  }
327
327
  disconnectedCallback() {
328
328
  var t;
329
- super.disconnectedCallback(), (t = this.shadowRoot) == null || t.removeEventListener("slotchange", this._handleSlotchange);
329
+ super.disconnectedCallback(), (t = this.shadowRoot) == null || t.removeEventListener("slotchange", this.a);
330
330
  }
331
331
  /**
332
332
  * Renders list and list slots for slotted children or an amount of list slots
@@ -341,15 +341,15 @@ const m = "data-ssr-child-count", v = "li", J = (a) => {
341
341
  const e = this.listSlotNames();
342
342
  return e.length >= 2 ? o`
343
343
  <ul
344
- class=${t.class || (this.localName ?? b(this))}
345
- aria-label=${t.ariaLabel || c}
346
- aria-labelledby=${t.ariaLabelledby || c}
344
+ class=${t.class || (this.localName ?? p(this))}
345
+ aria-label=${t.ariaLabel || u}
346
+ aria-labelledby=${t.ariaLabelledby || u}
347
347
  >
348
348
  ${e.map((i) => o`<li><slot name=${i}></slot></li>`)}
349
349
  </ul>
350
350
  ${this.renderHiddenSlot()}
351
351
  ` : e.length === 1 ? o`<sbb-screen-reader-only>${t.ariaLabel}</sbb-screen-reader-only>
352
- <span class=${t.class || (this.localName ?? b(this))}>
352
+ <span class=${t.class || (this.localName ?? p(this))}>
353
353
  <span><slot name=${e[0]}></slot></span>
354
354
  </span>
355
355
  ${this.renderHiddenSlot()} ` : this.renderHiddenSlot();
@@ -375,51 +375,51 @@ const m = "data-ssr-child-count", v = "li", J = (a) => {
375
375
  return o`<span hidden><slot></slot></span>`;
376
376
  }
377
377
  }
378
- return H([
379
- _()
380
- ], r.prototype, "listChildren"), r;
378
+ return j([
379
+ g()
380
+ ], s.prototype, "listChildren"), s;
381
381
  };
382
- var I = Object.defineProperty, N = (a, r, s, t) => {
382
+ var q = Object.defineProperty, H = (a, s, r, t) => {
383
383
  for (var e = void 0, i = a.length - 1, n; i >= 0; i--)
384
- (n = a[i]) && (e = n(r, s, e) || e);
385
- return e && I(r, s, e), e;
384
+ (n = a[i]) && (e = n(s, r, e) || e);
385
+ return e && q(s, r, e), e;
386
386
  };
387
387
  const Q = (a) => {
388
- class r extends a {
388
+ class s extends a {
389
389
  constructor() {
390
390
  super(...arguments), this.negative = !1;
391
391
  }
392
392
  }
393
- return N([
393
+ return H([
394
394
  l({ reflect: !0, type: Boolean })
395
- ], r.prototype, "negative"), r;
395
+ ], s.prototype, "negative"), s;
396
396
  }, W = (a) => {
397
- class r extends a {
397
+ class s extends a {
398
398
  constructor() {
399
- super(...arguments), this._updatePromise = Promise.resolve(), this._updateResolve = () => {
399
+ super(...arguments), this.a = Promise.resolve(), this.b = () => {
400
400
  };
401
401
  }
402
402
  startUpdate() {
403
- this._updatePromise = new Promise((t) => this._updateResolve = t);
403
+ this.a = new Promise((t) => this.b = t);
404
404
  }
405
405
  completeUpdate() {
406
- this._updateResolve();
406
+ this.b();
407
407
  }
408
408
  async getUpdateComplete() {
409
409
  const t = await super.getUpdateComplete();
410
- return await this._updatePromise, t;
410
+ return await this.a, t;
411
411
  }
412
412
  }
413
- return r;
413
+ return s;
414
414
  };
415
415
  export {
416
- y as SbbDisabledMixin,
417
- X as SbbDisabledTabIndexActionMixin,
418
- z as SbbFormAssociatedCheckboxMixin,
419
- $ as SbbFormAssociatedMixin,
416
+ C as SbbDisabledMixin,
417
+ z as SbbDisabledTabIndexActionMixin,
418
+ J as SbbFormAssociatedCheckboxMixin,
419
+ A as SbbFormAssociatedMixin,
420
420
  M as SbbHydrationMixin,
421
- J as SbbNamedSlotListMixin,
421
+ K as SbbNamedSlotListMixin,
422
422
  Q as SbbNegativeMixin,
423
- O as SbbRequiredMixin,
423
+ L as SbbRequiredMixin,
424
424
  W as SbbUpdateSchedulerMixin
425
425
  };
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/overlay/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1C;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,CASrD;AAqDD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAyB9D;AAED,wBAAgB,oBAAoB,IAAI,IAAI,CAqB3C;AACD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,2BAA2B;QACnC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;QAC5B,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;QAC7B,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;QAC3B,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;KAC7B;CACF"}
1
+ {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/overlay/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1C;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,CASrD;AA4DD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAyB9D;AAED,wBAAgB,oBAAoB,IAAI,IAAI,CAqB3C;AACD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,2BAA2B;QACnC,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;QAC5B,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;QAC7B,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;QAC3B,QAAQ,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC;KAC7B;CACF"}
package/core/overlay.js CHANGED
@@ -1,7 +1,7 @@
1
- import { html as w } from "lit";
1
+ import { html as E } from "lit";
2
2
  const x = ":is(sbb-dialog, sbb-navigation, sbb-menu, sbb-overlay)[data-state='opened']";
3
- function R() {
4
- return w`
3
+ function $() {
4
+ return E`
5
5
  <div class="sbb-gap-fix-wrapper">
6
6
  <div class="sbb-gap-fix-corner" id="left"></div>
7
7
  </div>
@@ -10,41 +10,46 @@ function R() {
10
10
  </div>
11
11
  `;
12
12
  }
13
- const E = (t, e) => {
13
+ const O = (t, e) => {
14
14
  let n = t.parentElement;
15
- const o = [];
16
- for (; n && (o.push(n), n !== e); )
15
+ const i = [];
16
+ for (; n && (i.push(n), n !== e); )
17
17
  n = n.parentElement;
18
- return o;
18
+ return i;
19
+ }, w = (t) => {
20
+ t.setAttribute(
21
+ "data-sbb-inert",
22
+ `${+(t.getAttribute("data-sbb-inert") ?? void 0) + 1 || 0}`
23
+ );
19
24
  }, W = (t) => {
20
- t.inert || (t.inert = !0, t.matches(x) ? t.setAttribute("data-sbb-inert", `${+t.getAttribute("data-sbb-inert") + 1 || 0}`) : t.toggleAttribute("data-sbb-inert", !0)), t.hasAttribute("aria-hidden") || (t.setAttribute("aria-hidden", "true"), t.toggleAttribute("data-sbb-aria-hidden", !0));
25
+ t.inert || (t.inert = !0, t.matches(x) ? w(t) : t.toggleAttribute("data-sbb-inert", !0)), t.hasAttribute("aria-hidden") || (t.setAttribute("aria-hidden", "true"), t.toggleAttribute("data-sbb-aria-hidden", !0));
21
26
  }, y = (t) => {
22
27
  t.hasAttribute("data-sbb-inert") && (t.inert = !1, t.removeAttribute("data-sbb-inert")), t.hasAttribute("data-sbb-aria-hidden") && (t.removeAttribute("aria-hidden"), t.removeAttribute("data-sbb-aria-hidden"));
23
28
  };
24
- function $(t) {
29
+ function C(t) {
25
30
  y(t);
26
31
  const e = t.closest("body > *");
27
32
  Array.from(document.querySelectorAll("body > *")).filter(
28
- (i) => i !== e
29
- ).forEach((i) => W(i));
30
- let o = [];
31
- const a = E(t, e);
32
- for (const i of a)
33
- o = o.concat(
34
- Array.from(i.children).filter(
33
+ (o) => o !== e
34
+ ).forEach((o) => W(o));
35
+ let i = [];
36
+ const a = O(t, e);
37
+ for (const o of a)
38
+ i = i.concat(
39
+ Array.from(o.children).filter(
35
40
  (c) => c !== t && !a.includes(c)
36
41
  )
37
- ), i.matches(x) && i.setAttribute("data-sbb-inert", `${+i.getAttribute("data-sbb-inert") + 1 || 0}`);
38
- o.forEach((i) => W(i));
42
+ ), o.matches(x) && w(o);
43
+ i.forEach((o) => W(o));
39
44
  }
40
- function C() {
45
+ function z() {
41
46
  const t = Array.from(
42
47
  document.documentElement.querySelectorAll(x)
43
48
  );
44
49
  if (t.length) {
45
50
  t.forEach((e) => {
46
51
  const n = +e.getAttribute("data-sbb-inert") - 1;
47
- e.setAttribute("data-sbb-inert", `${n}`), n && n < 0 && (y(e), Array.from(e.children).forEach((o) => y(o)));
52
+ e.setAttribute("data-sbb-inert", `${n}`), n && n < 0 && (y(e), Array.from(e.children).forEach((i) => y(i)));
48
53
  });
49
54
  return;
50
55
  }
@@ -52,9 +57,9 @@ function C() {
52
57
  (e) => y(e)
53
58
  );
54
59
  }
55
- function O(t) {
56
- const e = window.getComputedStyle(t), n = e.display, o = parseInt(e.maxHeight, 10).toString();
57
- if (n !== "none" && o !== "0")
60
+ function S(t) {
61
+ const e = window.getComputedStyle(t), n = e.display, i = parseInt(e.maxHeight, 10).toString();
62
+ if (n !== "none" && i !== "0")
58
63
  return {
59
64
  scrollHeight: t.scrollHeight,
60
65
  clientHeight: t.clientHeight,
@@ -64,21 +69,21 @@ function O(t) {
64
69
  offsetWidth: t.offsetWidth
65
70
  };
66
71
  t.style.position = "absolute", t.style.visibility = "hidden", t.style.display = "block";
67
- const a = t.scrollHeight, i = t.clientHeight, c = t.offsetHeight, u = t.scrollWidth, r = t.clientWidth, s = t.offsetWidth;
68
- return t.style.display = "", t.style.position = "", t.style.visibility = "", { scrollHeight: a, clientHeight: i, offsetHeight: c, scrollWidth: u, clientWidth: r, offsetWidth: s };
72
+ const a = t.scrollHeight, o = t.clientHeight, c = t.offsetHeight, u = t.scrollWidth, r = t.clientWidth, s = t.offsetWidth;
73
+ return t.style.display = "", t.style.position = "", t.style.visibility = "", { scrollHeight: a, clientHeight: o, offsetHeight: c, scrollWidth: u, clientWidth: r, offsetWidth: s };
69
74
  }
70
- function z(t, e) {
75
+ function B(t, e) {
71
76
  if (!t || !e)
72
77
  return !1;
73
78
  const n = t.getBoundingClientRect();
74
79
  return n.top <= e.clientY && e.clientY <= n.top + n.height && n.left <= e.clientX && e.clientX <= n.left + n.width;
75
80
  }
76
- function S(t, e, n, o) {
77
- const i = (o == null ? void 0 : o.verticalOffset) || 0, c = (o == null ? void 0 : o.horizontalOffset) || 0, u = (o == null ? void 0 : o.responsiveHeight) || !1, r = e.getBoundingClientRect(), s = O(t), f = r.left, m = r.top, g = document.documentElement.clientWidth - (f + r.width), h = m - i, A = document.documentElement.clientHeight - (m + r.height + i);
78
- let l = f, p = m + r.height + i, b = s.offsetWidth - r.width;
81
+ function P(t, e, n, i) {
82
+ const o = (i == null ? void 0 : i.verticalOffset) || 0, c = (i == null ? void 0 : i.horizontalOffset) || 0, u = (i == null ? void 0 : i.responsiveHeight) || !1, r = e.getBoundingClientRect(), s = S(t), f = r.left, m = r.top, g = document.documentElement.clientWidth - (f + r.width), h = m - o, A = document.documentElement.clientHeight - (m + r.height + o);
83
+ let l = f, p = m + r.height + o, b = s.offsetWidth - r.width;
79
84
  const d = { horizontal: "start", vertical: "below" };
80
- let H = `${A - i}px`;
81
- o != null && o.centered && f - 16 + r.width / 2 > s.offsetWidth / 2 && g - 16 > b / 2 && (l -= b /= 2, d.horizontal = "center"), g < b && f > b && (l = l - b, d.horizontal = "end"), c && d.horizontal !== "center" && r.width / 2 < c && (l += c * (d.horizontal === "start" ? -1 : 1)), (f < b && g < b || document.documentElement.clientWidth < s.offsetWidth) && (l = document.documentElement.clientWidth / 2 - s.offsetWidth / 2), (A - i < s.scrollHeight && h - i > (u ? s.clientHeight : s.scrollHeight) || h > A && A - i < s.clientHeight && !u) && (p = h < s.scrollHeight ? p - r.height - h - i : m - s.clientHeight - i, H = `${h - i}px`, d.vertical = "above");
85
+ let H = `${A - o}px`;
86
+ i != null && i.centered && f - 16 + r.width / 2 > s.offsetWidth / 2 && g - 16 > b / 2 && (l -= b /= 2, d.horizontal = "center"), g < b && f > b && (l = l - b, d.horizontal = "end"), c && d.horizontal !== "center" && r.width / 2 < c && (l += c * (d.horizontal === "start" ? -1 : 1)), (f < b && g < b || document.documentElement.clientWidth < s.offsetWidth) && (l = document.documentElement.clientWidth / 2 - s.offsetWidth / 2), (A - o < s.scrollHeight && h - o > (u ? s.clientHeight : s.scrollHeight) || h > A && A - o < s.clientHeight && !u) && (p = h < s.scrollHeight ? p - r.height - h - o : m - s.clientHeight - o, H = `${h - o}px`, d.vertical = "above");
82
87
  const v = n.getBoundingClientRect();
83
88
  return v.left < 0 && (l -= v.left), v.top < 0 && (p -= v.top), {
84
89
  top: p,
@@ -87,35 +92,35 @@ function S(t, e, n, o) {
87
92
  alignment: d
88
93
  };
89
94
  }
90
- function B(t, e, n, o, a) {
95
+ function I(t, e, n, i, a) {
91
96
  if (!t || !e)
92
97
  return;
93
98
  a.style.setProperty("--sbb-options-panel-width", `${e.offsetWidth}px`), a.style.setProperty("--sbb-options-panel-origin-height", `${e.offsetHeight}px`);
94
- const i = S(n, e, o);
95
- a.style.setProperty("--sbb-options-panel-position-x", `${i.left}px`), a.style.setProperty("--sbb-options-panel-position-y", `${i.top}px`), a.style.setProperty("--sbb-options-panel-max-height", i.maxHeight), a.setAttribute("data-options-panel-position", i.alignment.vertical), e.setAttribute("data-options-panel-position", i.alignment.vertical);
99
+ const o = P(n, e, i);
100
+ a.style.setProperty("--sbb-options-panel-position-x", `${o.left}px`), a.style.setProperty("--sbb-options-panel-position-y", `${o.top}px`), a.style.setProperty("--sbb-options-panel-max-height", o.maxHeight), a.setAttribute("data-options-panel-position", o.alignment.vertical), e.setAttribute("data-options-panel-position", o.alignment.vertical);
96
101
  }
97
- function I(t, e, n, o) {
98
- t && (t.setAttribute("aria-haspopup", e), t.setAttribute("aria-controls", n), t.setAttribute("aria-expanded", `${o === "opening" || o === "opened"}`));
102
+ function Y(t, e, n, i) {
103
+ t && (t.setAttribute("aria-haspopup", e), t.setAttribute("aria-controls", n), t.setAttribute("aria-expanded", `${i === "opening" || i === "opened"}`));
99
104
  }
100
- function Y(t) {
105
+ function M(t) {
101
106
  t && (t.removeAttribute("aria-haspopup"), t.removeAttribute("aria-controls"), t.removeAttribute("aria-expanded"));
102
107
  }
103
- function M(t, e, n) {
108
+ function X(t, e, n) {
104
109
  t && (t.setAttribute("autocomplete", "off"), t.setAttribute("role", "combobox"), t.setAttribute("aria-autocomplete", "list"), t.setAttribute("aria-haspopup", "listbox"), t.setAttribute("aria-controls", e), t.setAttribute("aria-owns", e), t.setAttribute("aria-expanded", `${n}`));
105
110
  }
106
- function X(t) {
111
+ function q(t) {
107
112
  t && (t.removeAttribute("autocomplete"), t.removeAttribute("role"), t.removeAttribute("aria-autocomplete"), t.removeAttribute("aria-haspopup"), t.removeAttribute("aria-controls"), t.removeAttribute("aria-owns"), t.removeAttribute("aria-expanded"));
108
113
  }
109
114
  export {
110
- $ as applyInertMechanism,
111
- S as getElementPosition,
112
- O as getElementRectangle,
113
- z as isEventOnElement,
114
- R as overlayGapFixCorners,
115
- X as removeAriaComboBoxAttributes,
116
- Y as removeAriaOverlayTriggerAttributes,
117
- C as removeInertMechanism,
118
- M as setAriaComboBoxAttributes,
119
- I as setAriaOverlayTriggerAttributes,
120
- B as setOverlayPosition
115
+ C as applyInertMechanism,
116
+ P as getElementPosition,
117
+ S as getElementRectangle,
118
+ B as isEventOnElement,
119
+ $ as overlayGapFixCorners,
120
+ q as removeAriaComboBoxAttributes,
121
+ M as removeAriaOverlayTriggerAttributes,
122
+ z as removeInertMechanism,
123
+ X as setAriaComboBoxAttributes,
124
+ Y as setAriaOverlayTriggerAttributes,
125
+ I as setOverlayPosition
121
126
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This class exists to facilitate the E2E test migration from stencil to lit.
2
+ * This class exists to facilitate the test migration from stencil to lit.
3
3
  * It mimics the API that stencil provided to test events.
4
4
  *
5
5
  * TODO: Document me
@@ -0,0 +1,4 @@
1
+ import { SbbImageElement } from '../../image.js';
2
+
3
+ export declare function waitForImageReady(element: HTMLImageElement | SbbImageElement, timeoutInMilliseconds?: number): Promise<void>;
4
+ //# sourceMappingURL=wait-for-image-ready.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wait-for-image-ready.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/testing/wait-for-image-ready.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,gBAAgB,GAAG,eAAe,EAC3C,qBAAqB,SAAW,GAC/B,OAAO,CAAC,IAAI,CAAC,CAcf"}
package/core/testing.d.ts CHANGED
@@ -2,5 +2,6 @@ export * from './testing/event-spy.js';
2
2
  export * from './testing/mocha-extensions.js';
3
3
  export * from './testing/scroll.js';
4
4
  export * from './testing/wait-for-condition.js';
5
+ export * from './testing/wait-for-image-ready.js';
5
6
  export * from './testing/wait-for-render.js';
6
7
  //# sourceMappingURL=testing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/elements/core/testing.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/elements/core/testing.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC"}