@uva-glass/component-library 3.4.0 → 3.5.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 (38) hide show
  1. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  2. package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
  3. package/dist/components/Accordion/Accordion.test.js +3 -3
  4. package/dist/components/AccordionCard/AccordionCard.test.js +3 -3
  5. package/dist/components/ActionList/ActionList.test.js +3 -3
  6. package/dist/components/AppStatusBar/AppStatusBar.test.js +2 -2
  7. package/dist/components/Attention/Attention.test.js +2 -2
  8. package/dist/components/Backdrop/Backdrop.test.js +2 -2
  9. package/dist/components/Buttons/Button.test.js +2 -2
  10. package/dist/components/Buttons/LinkButton.test.js +2 -2
  11. package/dist/components/Buttons/MenuButton.test.js +2 -2
  12. package/dist/components/Card/Card.test.js +2 -2
  13. package/dist/components/Checkbox/Checkbox.test.js +2 -2
  14. package/dist/components/CheckboxButton/CheckboxButton.test.js +2 -2
  15. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +2 -2
  16. package/dist/components/FeedbackBar/FeedbackBar.test.js +2 -2
  17. package/dist/components/Icon/icons/index.d.ts +12 -0
  18. package/dist/components/Icon/icons/index.js +49 -39
  19. package/dist/components/Icon/icons/index.js.map +1 -1
  20. package/dist/components/Label/Label.test.js +2 -2
  21. package/dist/components/RadioGroup/Radiogroup.test.js +2 -2
  22. package/dist/components/StatusBadge/StatusBadge.test.js +2 -2
  23. package/dist/components/TextArea/TextArea.test.js +2 -2
  24. package/dist/components/Timeline/Timeline.test.js +2 -2
  25. package/dist/components/VarIndicator/VarIndicator.test.js +3 -3
  26. package/dist/{index-Z7qwJmRM.js → index-dmBn99rF.js} +284 -289
  27. package/dist/{index-Z7qwJmRM.js.map → index-dmBn99rF.js.map} +1 -1
  28. package/dist/{index-COab4Oy9.js → index-hwMTfLfH.js} +2 -2
  29. package/dist/{index-COab4Oy9.js.map → index-hwMTfLfH.js.map} +1 -1
  30. package/dist/{react.esm-B8teOYlo.js → react.esm-DI5ilWeT.js} +6 -5
  31. package/dist/{react.esm-B8teOYlo.js.map → react.esm-DI5ilWeT.js.map} +1 -1
  32. package/dist/setupTests.js +2 -1
  33. package/dist/setupTests.js.map +1 -1
  34. package/dist/storybook__react.d.js +8 -2
  35. package/dist/storybook__react.d.js.map +1 -1
  36. package/dist/{test-utils-Brqoydie.js → test-utils-B2AIdiiO.js} +134 -132
  37. package/dist/{test-utils-Brqoydie.js.map → test-utils-B2AIdiiO.js.map} +1 -1
  38. package/package.json +14 -14
@@ -1,6 +1,7 @@
1
+ import { g as xt } from "./_commonjsHelpers-DaMA6jEr.js";
1
2
  import lt from "react";
2
3
  import ct from "react-dom";
3
- function Wt(g, P) {
4
+ function Nt(g, P) {
4
5
  for (var _ = 0; _ < P.length; _++) {
5
6
  const I = P[_];
6
7
  if (typeof I != "string" && !Array.isArray(I)) {
@@ -27,7 +28,7 @@ var De = { exports: {} }, v = {};
27
28
  * LICENSE file in the root directory of this source tree.
28
29
  */
29
30
  var it;
30
- function Nt() {
31
+ function Kt() {
31
32
  if (it) return v;
32
33
  it = 1;
33
34
  var g = lt, P = ct;
@@ -52,45 +53,45 @@ function Nt() {
52
53
  return i !== t ? null : t;
53
54
  }
54
55
  for (var o = t, s = i; ; ) {
55
- var d = o.return;
56
- if (d === null) break;
57
- var f = d.alternate;
58
- if (f === null) {
59
- if (s = d.return, s !== null) {
56
+ var f = o.return;
57
+ if (f === null) break;
58
+ var d = f.alternate;
59
+ if (d === null) {
60
+ if (s = f.return, s !== null) {
60
61
  o = s;
61
62
  continue;
62
63
  }
63
64
  break;
64
65
  }
65
- if (d.child === f.child) {
66
- for (f = d.child; f; ) {
67
- if (f === o) return I(d), t;
68
- if (f === s) return I(d), i;
69
- f = f.sibling;
66
+ if (f.child === d.child) {
67
+ for (d = f.child; d; ) {
68
+ if (d === o) return I(f), t;
69
+ if (d === s) return I(f), i;
70
+ d = d.sibling;
70
71
  }
71
72
  throw Error("Unable to find node on an unmounted component.");
72
73
  }
73
- if (o.return !== s.return) o = d, s = f;
74
+ if (o.return !== s.return) o = f, s = d;
74
75
  else {
75
- for (var l = !1, p = d.child; p; ) {
76
+ for (var l = !1, p = f.child; p; ) {
76
77
  if (p === o) {
77
- l = !0, o = d, s = f;
78
+ l = !0, o = f, s = d;
78
79
  break;
79
80
  }
80
81
  if (p === s) {
81
- l = !0, s = d, o = f;
82
+ l = !0, s = f, o = d;
82
83
  break;
83
84
  }
84
85
  p = p.sibling;
85
86
  }
86
87
  if (!l) {
87
- for (p = f.child; p; ) {
88
+ for (p = d.child; p; ) {
88
89
  if (p === o) {
89
- l = !0, o = f, s = d;
90
+ l = !0, o = d, s = f;
90
91
  break;
91
92
  }
92
93
  if (p === s) {
93
- l = !0, s = f, o = d;
94
+ l = !0, s = d, o = f;
94
95
  break;
95
96
  }
96
97
  p = p.sibling;
@@ -115,10 +116,10 @@ function Nt() {
115
116
  return !1;
116
117
  }
117
118
  function w(t) {
118
- function i(o, s, d, f, l) {
119
- this._reactName = o, this._targetInst = d, this.type = s, this.nativeEvent = f, this.target = l, this.currentTarget = null;
120
- for (var p in t) t.hasOwnProperty(p) && (o = t[p], this[p] = o ? o(f) : f[p]);
121
- return this.isDefaultPrevented = (f.defaultPrevented != null ? f.defaultPrevented : f.returnValue === !1) ? B : le, this.isPropagationStopped = le, this;
119
+ function i(o, s, f, d, l) {
120
+ this._reactName = o, this._targetInst = f, this.type = s, this.nativeEvent = d, this.target = l, this.currentTarget = null;
121
+ for (var p in t) t.hasOwnProperty(p) && (o = t[p], this[p] = o ? o(d) : d[p]);
122
+ return this.isDefaultPrevented = (d.defaultPrevented != null ? d.defaultPrevented : d.returnValue === !1) ? B : le, this.isPropagationStopped = le, this;
122
123
  }
123
124
  return m(i.prototype, { preventDefault: function() {
124
125
  this.defaultPrevented = !0;
@@ -134,10 +135,10 @@ function Nt() {
134
135
  return t.timeStamp || Date.now();
135
136
  }, defaultPrevented: 0, isTrusted: 0 }, ke = w(U), Y = m({}, U, { view: 0, detail: 0 });
136
137
  w(Y);
137
- var ne, re, N, X = m({}, Y, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: V, button: 0, buttons: 0, relatedTarget: function(t) {
138
+ var ne, re, x, X = m({}, Y, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: V, button: 0, buttons: 0, relatedTarget: function(t) {
138
139
  return t.relatedTarget === void 0 ? t.fromElement === t.srcElement ? t.toElement : t.fromElement : t.relatedTarget;
139
140
  }, movementX: function(t) {
140
- return "movementX" in t ? t.movementX : (t !== N && (N && t.type === "mousemove" ? (ne = t.screenX - N.screenX, re = t.screenY - N.screenY) : re = ne = 0, N = t), ne);
141
+ return "movementX" in t ? t.movementX : (t !== x && (x && t.type === "mousemove" ? (ne = t.screenX - x.screenX, re = t.screenY - x.screenY) : re = ne = 0, x = t), ne);
141
142
  }, movementY: function(t) {
142
143
  return "movementY" in t ? t.movementY : re;
143
144
  } });
@@ -148,13 +149,13 @@ function Nt() {
148
149
  w(E);
149
150
  var oe = m({}, U, { animationName: 0, elapsedTime: 0, pseudoElement: 0 });
150
151
  w(oe);
151
- var Z = m({}, U, { clipboardData: function(t) {
152
+ var $ = m({}, U, { clipboardData: function(t) {
152
153
  return "clipboardData" in t ? t.clipboardData : window.clipboardData;
153
154
  } });
154
- w(Z);
155
+ w($);
155
156
  var ce = m({}, U, { data: 0 });
156
157
  w(ce);
157
- var b = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, x = {
158
+ var b = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, N = {
158
159
  8: "Backspace",
159
160
  9: "Tab",
160
161
  12: "Clear",
@@ -204,7 +205,7 @@ function Nt() {
204
205
  var i = b[t.key] || t.key;
205
206
  if (i !== "Unidentified") return i;
206
207
  }
207
- return t.type === "keypress" ? (t = F(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? x[t.keyCode] || "Unidentified" : "";
208
+ return t.type === "keypress" ? (t = F(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? N[t.keyCode] || "Unidentified" : "";
208
209
  }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: V, charCode: function(t) {
209
210
  return t.type === "keypress" ? F(t) : 0;
210
211
  }, keyCode: function(t) {
@@ -217,15 +218,15 @@ function Nt() {
217
218
  w(q);
218
219
  var Re = m({}, Y, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: V });
219
220
  w(Re);
220
- var $ = m({}, U, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 });
221
- w($);
221
+ var Z = m({}, U, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 });
222
+ w(Z);
222
223
  var Oe = m({}, X, { deltaX: function(t) {
223
224
  return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0;
224
225
  }, deltaY: function(t) {
225
226
  return "deltaY" in t ? t.deltaY : "wheelDeltaY" in t ? -t.wheelDeltaY : "wheelDelta" in t ? -t.wheelDelta : 0;
226
227
  }, deltaZ: 0, deltaMode: 0 });
227
228
  w(Oe);
228
- function Se(t, i, o, s, d, f, l, p, D) {
229
+ function Se(t, i, o, s, f, d, l, p, D) {
229
230
  var S = Array.prototype.slice.call(arguments, 3);
230
231
  try {
231
232
  i.apply(o, S);
@@ -236,10 +237,10 @@ function Nt() {
236
237
  var z = !1, J = null, Q = !1, ie = null, Pe = { onError: function(t) {
237
238
  z = !0, J = t;
238
239
  } };
239
- function Ie(t, i, o, s, d, f, l, p, D) {
240
+ function Ie(t, i, o, s, f, d, l, p, D) {
240
241
  z = !1, J = null, Se.apply(Pe, arguments);
241
242
  }
242
- function _e(t, i, o, s, d, f, l, p, D) {
243
+ function _e(t, i, o, s, f, d, l, p, D) {
243
244
  if (Ie.apply(this, arguments), z) {
244
245
  if (z) {
245
246
  var S = J;
@@ -248,16 +249,16 @@ function Nt() {
248
249
  Q || (Q = !0, ie = S);
249
250
  }
250
251
  }
251
- var se = Array.isArray, L = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, Ue = L[0], Le = L[1], Ae = L[2], We = L[3], Ne = L[4], de = g.unstable_act;
252
- function fe() {
252
+ var se = Array.isArray, L = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, Ue = L[0], Le = L[1], Ae = L[2], We = L[3], xe = L[4], fe = g.unstable_act;
253
+ function de() {
253
254
  }
254
255
  function pe(t, i) {
255
256
  if (!t) return [];
256
257
  if (t = R(t), !t) return [];
257
258
  for (var o = t, s = []; ; ) {
258
259
  if (o.tag === 5 || o.tag === 6 || o.tag === 1 || o.tag === 0) {
259
- var d = o.stateNode;
260
- i(d) && s.push(d);
260
+ var f = o.stateNode;
261
+ i(f) && s.push(f);
261
262
  }
262
263
  if (o.child) o.child.return = o, o = o.child;
263
264
  else {
@@ -293,13 +294,13 @@ function Nt() {
293
294
  if (ee(o)) {
294
295
  var s = o.className;
295
296
  typeof s != "string" && (s = o.getAttribute("class") || "");
296
- var d = s.split(/\s+/);
297
+ var f = s.split(/\s+/);
297
298
  if (!se(i)) {
298
299
  if (i === void 0) throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
299
300
  i = i.split(/\s+/);
300
301
  }
301
- return i.every(function(f) {
302
- return d.indexOf(f) !== -1;
302
+ return i.every(function(d) {
303
+ return f.indexOf(d) !== -1;
303
304
  });
304
305
  }
305
306
  return !1;
@@ -357,7 +358,7 @@ function Nt() {
357
358
  if (o && typeof o != "function") throw Error("Expected `" + i + "` listener to be a function, instead got a value of `" + typeof o + "` type.");
358
359
  return o;
359
360
  }
360
- function xe(t, i, o) {
361
+ function Ne(t, i, o) {
361
362
  t && o && o._reactName && (i = ge(t, o._reactName)) && (o._dispatchListeners == null && (o._dispatchListeners = []), o._dispatchInstances == null && (o._dispatchInstances = []), o._dispatchListeners.push(i), o._dispatchInstances.push(t));
362
363
  }
363
364
  function ue(t, i, o) {
@@ -369,10 +370,10 @@ function Nt() {
369
370
  return function(i, o) {
370
371
  if (g.isValidElement(i)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
371
372
  if (A(i)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
372
- var s = "on" + t[0].toUpperCase() + t.slice(1), d = new fe();
373
- d.target = i, d.type = t.toLowerCase();
374
- var f = Ue(i), l = new ke(s, d.type, f, d, i);
375
- l.persist(), m(l, o), H.has(t) ? l && l._reactName && xe(l._targetInst, null, l) : l && l._reactName && ye(l._targetInst, ue, l), P.unstable_batchedUpdates(function() {
373
+ var s = "on" + t[0].toUpperCase() + t.slice(1), f = new de();
374
+ f.target = i, f.type = t.toLowerCase();
375
+ var d = Ue(i), l = new ke(s, f.type, d, f, i);
376
+ l.persist(), m(l, o), H.has(t) ? l && l._reactName && Ne(l._targetInst, null, l) : l && l._reactName && ye(l._targetInst, ue, l), P.unstable_batchedUpdates(function() {
376
377
  if (We(i), l) {
377
378
  var p = l._dispatchListeners, D = l._dispatchInstances;
378
379
  if (se(p)) for (var S = 0; S < p.length && !l.isPropagationStopped(); S++) ve(l, p[S], D[S]);
@@ -380,12 +381,12 @@ function Nt() {
380
381
  l._dispatchListeners = null, l._dispatchInstances = null, l.isPersistent() || l.constructor.release(l);
381
382
  }
382
383
  if (Q) throw p = ie, Q = !1, ie = null, p;
383
- }), Ne();
384
+ }), xe();
384
385
  };
385
386
  }
386
387
  return "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(t) {
387
388
  we[t] = Ke(t);
388
- }), v.Simulate = we, v.act = de, v.findAllInRenderedTree = W, v.findRenderedComponentWithType = function(t, i) {
389
+ }), v.Simulate = we, v.act = fe, v.findAllInRenderedTree = W, v.findRenderedComponentWithType = function(t, i) {
389
390
  if (O(t, "findRenderedComponentWithType"), t = me(t, i), t.length !== 1) throw Error("Did not find exactly one match (found: " + t.length + ") for componentType:" + i);
390
391
  return t[0];
391
392
  }, v.findRenderedDOMComponentWithClass = function(t, i) {
@@ -422,7 +423,7 @@ var y = {};
422
423
  * LICENSE file in the root directory of this source tree.
423
424
  */
424
425
  var st;
425
- function xt() {
426
+ function Ft() {
426
427
  return st || (st = 1, process.env.NODE_ENV !== "production" && function() {
427
428
  var g = lt, P = ct, _ = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
428
429
  function I(e) {
@@ -463,7 +464,7 @@ function xt() {
463
464
  4096
464
465
  );
465
466
  _.ReactCurrentOwner;
466
- function N(e) {
467
+ function x(e) {
467
468
  var n = e, r = e;
468
469
  if (e.alternate)
469
470
  for (; n.return; )
@@ -477,13 +478,13 @@ function xt() {
477
478
  return n.tag === w ? r : null;
478
479
  }
479
480
  function X(e) {
480
- if (N(e) !== e)
481
+ if (x(e) !== e)
481
482
  throw new Error("Unable to find node on an unmounted component.");
482
483
  }
483
484
  function Te(e) {
484
485
  var n = e.alternate;
485
486
  if (!n) {
486
- var r = N(e);
487
+ var r = x(e);
487
488
  if (r === null)
488
489
  throw new Error("Unable to find node on an unmounted component.");
489
490
  return r !== e ? null : e;
@@ -553,7 +554,7 @@ function xt() {
553
554
  var n, r = e.keyCode;
554
555
  return "charCode" in e ? (n = e.charCode, n === 0 && r === 13 && (n = 13)) : n = r, n === 10 && (n = 13), n >= 32 || n === 13 ? n : 0;
555
556
  }
556
- function Z() {
557
+ function $() {
557
558
  return !0;
558
559
  }
559
560
  function ce() {
@@ -568,17 +569,17 @@ function xt() {
568
569
  M ? this[T] = M(c) : this[T] = c[T];
569
570
  }
570
571
  var k = c.defaultPrevented != null ? c.defaultPrevented : c.returnValue === !1;
571
- return k ? this.isDefaultPrevented = Z : this.isDefaultPrevented = ce, this.isPropagationStopped = ce, this;
572
+ return k ? this.isDefaultPrevented = $ : this.isDefaultPrevented = ce, this.isPropagationStopped = ce, this;
572
573
  }
573
574
  return E(n.prototype, {
574
575
  preventDefault: function() {
575
576
  this.defaultPrevented = !0;
576
577
  var r = this.nativeEvent;
577
- r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = Z);
578
+ r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = $);
578
579
  },
579
580
  stopPropagation: function() {
580
581
  var r = this.nativeEvent;
581
- r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped = Z);
582
+ r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped = $);
582
583
  },
583
584
  /**
584
585
  * We release all dispatched `SyntheticEvent`s after each event loop, adding
@@ -592,10 +593,10 @@ function xt() {
592
593
  *
593
594
  * @return {boolean} True if this should not be released, false otherwise.
594
595
  */
595
- isPersistent: Z
596
+ isPersistent: $
596
597
  }), n;
597
598
  }
598
- var x = {
599
+ var N = {
599
600
  eventPhase: 0,
600
601
  bubbles: 0,
601
602
  cancelable: 0,
@@ -604,7 +605,7 @@ function xt() {
604
605
  },
605
606
  defaultPrevented: 0,
606
607
  isTrusted: 0
607
- }, Me = b(x), j = E({}, x, {
608
+ }, Me = b(N), j = E({}, N, {
608
609
  view: 0,
609
610
  detail: 0
610
611
  });
@@ -613,7 +614,7 @@ function xt() {
613
614
  function Re(e) {
614
615
  e !== q && (q && e.type === "mousemove" ? (V = e.screenX - q.screenX, ae = e.screenY - q.screenY) : (V = 0, ae = 0), q = e);
615
616
  }
616
- var $ = E({}, j, {
617
+ var Z = E({}, j, {
617
618
  screenX: 0,
618
619
  screenY: 0,
619
620
  clientX: 0,
@@ -637,8 +638,8 @@ function xt() {
637
638
  return "movementY" in e ? e.movementY : ae;
638
639
  }
639
640
  });
640
- b($);
641
- var Oe = E({}, $, {
641
+ b(Z);
642
+ var Oe = E({}, Z, {
642
643
  dataTransfer: 0
643
644
  });
644
645
  b(Oe);
@@ -646,19 +647,19 @@ function xt() {
646
647
  relatedTarget: 0
647
648
  });
648
649
  b(Se);
649
- var z = E({}, x, {
650
+ var z = E({}, N, {
650
651
  animationName: 0,
651
652
  elapsedTime: 0,
652
653
  pseudoElement: 0
653
654
  });
654
655
  b(z);
655
- var J = E({}, x, {
656
+ var J = E({}, N, {
656
657
  clipboardData: function(e) {
657
658
  return "clipboardData" in e ? e.clipboardData : window.clipboardData;
658
659
  }
659
660
  });
660
661
  b(J);
661
- var Q = E({}, x, {
662
+ var Q = E({}, N, {
662
663
  data: 0
663
664
  });
664
665
  b(Q);
@@ -764,7 +765,7 @@ function xt() {
764
765
  }
765
766
  });
766
767
  b(Ue);
767
- var Le = E({}, $, {
768
+ var Le = E({}, Z, {
768
769
  pointerId: 0,
769
770
  width: 0,
770
771
  height: 0,
@@ -788,13 +789,13 @@ function xt() {
788
789
  getModifierState: L
789
790
  });
790
791
  b(Ae);
791
- var We = E({}, x, {
792
+ var We = E({}, N, {
792
793
  propertyName: 0,
793
794
  elapsedTime: 0,
794
795
  pseudoElement: 0
795
796
  });
796
797
  b(We);
797
- var Ne = E({}, $, {
798
+ var xe = E({}, Z, {
798
799
  deltaX: function(e) {
799
800
  return "deltaX" in e ? e.deltaX : (
800
801
  // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
@@ -817,9 +818,9 @@ function xt() {
817
818
  // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
818
819
  deltaMode: 0
819
820
  });
820
- b(Ne);
821
- var de = 1;
822
- function fe(e, n, r, a, u, c, h, T, M) {
821
+ b(xe);
822
+ var fe = 1;
823
+ function de(e, n, r, a, u, c, h, T, M) {
823
824
  var k = Array.prototype.slice.call(arguments, 3);
824
825
  try {
825
826
  n.apply(r, k);
@@ -827,19 +828,19 @@ function xt() {
827
828
  this.onError(C);
828
829
  }
829
830
  }
830
- var pe = fe;
831
+ var pe = de;
831
832
  if (typeof window < "u" && typeof window.dispatchEvent == "function" && typeof document < "u" && typeof document.createEvent == "function") {
832
833
  var O = document.createElement("react");
833
834
  pe = function(n, r, a, u, c, h, T, M, k) {
834
835
  if (typeof document > "u" || document === null)
835
836
  throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
836
- var C = document.createEvent("Event"), Xe = !1, Qe = !0, Lt = window.event, et = Object.getOwnPropertyDescriptor(window, "event");
837
+ var C = document.createEvent("Event"), Xe = !1, Qe = !0, At = window.event, et = Object.getOwnPropertyDescriptor(window, "event");
837
838
  function tt() {
838
- O.removeEventListener(je, nt, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = Lt);
839
+ O.removeEventListener(je, nt, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = At);
839
840
  }
840
- var At = Array.prototype.slice.call(arguments, 3);
841
+ var Wt = Array.prototype.slice.call(arguments, 3);
841
842
  function nt() {
842
- Xe = !0, tt(), r.apply(a, At), Qe = !1;
843
+ Xe = !0, tt(), r.apply(a, Wt), Qe = !1;
843
844
  }
844
845
  var K, rt = !1, ot = !1;
845
846
  function at(be) {
@@ -851,7 +852,7 @@ function xt() {
851
852
  }
852
853
  var je = "react-" + (n || "invokeguardedcallback");
853
854
  if (window.addEventListener("error", at), O.addEventListener(je, nt, !1), C.initEvent(je, !1, !1), O.dispatchEvent(C), et && Object.defineProperty(window, "event", et), Xe && Qe && (rt ? ot && (K = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : K = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(K)), window.removeEventListener("error", at), !Xe)
854
- return tt(), fe.apply(this, arguments);
855
+ return tt(), de.apply(this, arguments);
855
856
  };
856
857
  }
857
858
  var ee = pe, A = !1, G = null, W = !1, te = null, he = {
@@ -881,12 +882,12 @@ function xt() {
881
882
  } else
882
883
  throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
883
884
  }
884
- var xe = Array.isArray;
885
+ var Ne = Array.isArray;
885
886
  function ue(e) {
886
- return xe(e);
887
+ return Ne(e);
887
888
  }
888
- var we = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, H = we.Events, Ke = H[0], t = H[1], i = H[2], o = H[3], s = H[4], d = g.unstable_act;
889
- function f(e) {
889
+ var we = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, H = we.Events, Ke = H[0], t = H[1], i = H[2], o = H[3], s = H[4], f = g.unstable_act;
890
+ function d(e) {
890
891
  }
891
892
  var l = !1;
892
893
  function p(e, n) {
@@ -917,7 +918,7 @@ function xt() {
917
918
  function D(e, n) {
918
919
  if (e && !F(e)) {
919
920
  var r, a = String(e);
920
- throw ue(e) ? r = "an array" : e && e.nodeType === de && e.tagName ? r = "a DOM node" : a === "[object Object]" ? r = "object with keys {" + Object.keys(e).join(", ") + "}" : r = a, new Error(n + "(...): the first argument must be a React class instance. " + ("Instead received: " + r + "."));
921
+ throw ue(e) ? r = "an array" : e && e.nodeType === fe && e.tagName ? r = "a DOM node" : a === "[object Object]" ? r = "object with keys {" + Object.keys(e).join(", ") + "}" : r = a, new Error(n + "(...): the first argument must be a React class instance. " + ("Instead received: " + r + "."));
921
922
  }
922
923
  }
923
924
  var S = !1;
@@ -929,13 +930,13 @@ function xt() {
929
930
  function dt(e) {
930
931
  return g.isValidElement(e);
931
932
  }
932
- function ft(e, n) {
933
+ function pt(e, n) {
933
934
  return g.isValidElement(e) && e.type === n;
934
935
  }
935
936
  function Ee(e) {
936
- return !!(e && e.nodeType === de && e.tagName);
937
+ return !!(e && e.nodeType === fe && e.tagName);
937
938
  }
938
- function pt(e) {
939
+ function ht(e) {
939
940
  return !!(e && g.isValidElement(e) && e.tagName);
940
941
  }
941
942
  function Ye(e) {
@@ -971,7 +972,7 @@ function xt() {
971
972
  return !1;
972
973
  });
973
974
  }
974
- function ht(e, n) {
975
+ function mt(e, n) {
975
976
  D(e, "findRenderedDOMComponentWithClass");
976
977
  var r = qe(e, n);
977
978
  if (r.length !== 1)
@@ -983,7 +984,7 @@ function xt() {
983
984
  return Ee(r) && r.tagName.toUpperCase() === n.toUpperCase();
984
985
  });
985
986
  }
986
- function mt(e, n) {
987
+ function vt(e, n) {
987
988
  D(e, "findRenderedDOMComponentWithTag");
988
989
  var r = ze(e, n);
989
990
  if (r.length !== 1)
@@ -995,21 +996,21 @@ function xt() {
995
996
  return Ve(r, n);
996
997
  });
997
998
  }
998
- function vt(e, n) {
999
+ function yt(e, n) {
999
1000
  D(e, "findRenderedComponentWithType");
1000
1001
  var r = Ge(e, n);
1001
1002
  if (r.length !== 1)
1002
1003
  throw new Error("Did not find exactly one match (found: " + r.length + ") for componentType:" + n);
1003
1004
  return r[0];
1004
1005
  }
1005
- function yt(e, n) {
1006
+ function gt(e, n) {
1006
1007
  return l || (l = !0, I(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
1007
1008
 
1008
1009
  See https://reactjs.org/link/test-utils-mock-component for more information.`)), n = n || e.mockTagName || "div", e.prototype.render.mockImplementation(function() {
1009
1010
  return g.createElement(n, null, this.props.children);
1010
1011
  }), this;
1011
1012
  }
1012
- function gt(e, n) {
1013
+ function wt(e, n) {
1013
1014
  return {
1014
1015
  touches: [{
1015
1016
  pageX: e,
@@ -1021,7 +1022,7 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
1021
1022
  var a = e.type || "unknown-event";
1022
1023
  e.currentTarget = t(r), ve(a, n, void 0, e), e.currentTarget = null;
1023
1024
  }
1024
- function wt(e) {
1025
+ function Et(e) {
1025
1026
  var n = e._dispatchListeners, r = e._dispatchInstances;
1026
1027
  if (ue(n))
1027
1028
  for (var a = 0; a < n.length && !e.isPropagationStopped(); a++)
@@ -1029,13 +1030,13 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
1029
1030
  else n && He(e, n, r);
1030
1031
  e._dispatchListeners = null, e._dispatchInstances = null;
1031
1032
  }
1032
- var Et = function(e) {
1033
- e && (wt(e), e.isPersistent() || e.constructor.release(e));
1033
+ var Ct = function(e) {
1034
+ e && (Et(e), e.isPersistent() || e.constructor.release(e));
1034
1035
  };
1035
- function Ct(e) {
1036
+ function bt(e) {
1036
1037
  return e === "button" || e === "input" || e === "select" || e === "textarea";
1037
1038
  }
1038
- function bt(e) {
1039
+ function Dt(e) {
1039
1040
  do
1040
1041
  e = e.return;
1041
1042
  while (e && e.tag !== U);
@@ -1043,14 +1044,14 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
1043
1044
  }
1044
1045
  function Be(e, n, r) {
1045
1046
  for (var a = []; e; )
1046
- a.push(e), e = bt(e);
1047
+ a.push(e), e = Dt(e);
1047
1048
  var u;
1048
1049
  for (u = a.length; u-- > 0; )
1049
1050
  n(a[u], "captured", r);
1050
1051
  for (u = 0; u < a.length; u++)
1051
1052
  n(a[u], "bubbled", r);
1052
1053
  }
1053
- function Dt(e, n, r) {
1054
+ function kt(e, n, r) {
1054
1055
  switch (e) {
1055
1056
  case "onClick":
1056
1057
  case "onClickCapture":
@@ -1063,12 +1064,12 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
1063
1064
  case "onMouseUp":
1064
1065
  case "onMouseUpCapture":
1065
1066
  case "onMouseEnter":
1066
- return !!(r.disabled && Ct(n));
1067
+ return !!(r.disabled && bt(n));
1067
1068
  default:
1068
1069
  return !1;
1069
1070
  }
1070
1071
  }
1071
- function Ze(e, n) {
1072
+ function $e(e, n) {
1072
1073
  var r = e.stateNode;
1073
1074
  if (!r)
1074
1075
  return null;
@@ -1076,71 +1077,72 @@ See https://reactjs.org/link/test-utils-mock-component for more information.`)),
1076
1077
  if (!a)
1077
1078
  return null;
1078
1079
  var u = a[n];
1079
- if (Dt(n, e.type, a))
1080
+ if (kt(n, e.type, a))
1080
1081
  return null;
1081
1082
  if (u && typeof u != "function")
1082
1083
  throw new Error("Expected `" + n + "` listener to be a function, instead got a value of `" + typeof u + "` type.");
1083
1084
  return u;
1084
1085
  }
1085
- function kt(e, n, r) {
1086
+ function Tt(e, n, r) {
1086
1087
  var a = n._reactName;
1087
- return r === "captured" && (a += "Capture"), Ze(e, a);
1088
+ return r === "captured" && (a += "Capture"), $e(e, a);
1088
1089
  }
1089
- function Tt(e, n, r) {
1090
+ function Mt(e, n, r) {
1090
1091
  if (e && r && r._reactName) {
1091
- var a = r._reactName, u = Ze(e, a);
1092
+ var a = r._reactName, u = $e(e, a);
1092
1093
  u && (r._dispatchListeners == null && (r._dispatchListeners = []), r._dispatchInstances == null && (r._dispatchInstances = []), r._dispatchListeners.push(u), r._dispatchInstances.push(e));
1093
1094
  }
1094
1095
  }
1095
- function Mt(e, n, r) {
1096
+ function Rt(e, n, r) {
1096
1097
  e || R("Dispatching inst must not be null");
1097
- var a = kt(e, r, n);
1098
+ var a = Tt(e, r, n);
1098
1099
  a && (r._dispatchListeners == null && (r._dispatchListeners = []), r._dispatchInstances == null && (r._dispatchInstances = []), r._dispatchListeners.push(a), r._dispatchInstances.push(e));
1099
1100
  }
1100
- function Rt(e) {
1101
- e && e._reactName && Tt(e._targetInst, null, e);
1102
- }
1103
1101
  function Ot(e) {
1104
- e && e._reactName && Be(e._targetInst, Mt, e);
1102
+ e && e._reactName && Mt(e._targetInst, null, e);
1103
+ }
1104
+ function St(e) {
1105
+ e && e._reactName && Be(e._targetInst, Rt, e);
1105
1106
  }
1106
- var $e = {}, St = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
1107
- function Pt(e) {
1107
+ var Ze = {}, Pt = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
1108
+ function It(e) {
1108
1109
  return function(n, r) {
1109
1110
  if (g.isValidElement(n))
1110
1111
  throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
1111
1112
  if (Ye(n))
1112
1113
  throw new Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
1113
- var a = "on" + e[0].toUpperCase() + e.slice(1), u = new f();
1114
+ var a = "on" + e[0].toUpperCase() + e.slice(1), u = new d();
1114
1115
  u.target = n, u.type = e.toLowerCase();
1115
1116
  var c = Ke(n), h = new Me(a, u.type, c, u, n);
1116
- h.persist(), E(h, r), St.has(e) ? Rt(h) : Ot(h), P.unstable_batchedUpdates(function() {
1117
- o(n), Et(h), ye();
1117
+ h.persist(), E(h, r), Pt.has(e) ? Ot(h) : St(h), P.unstable_batchedUpdates(function() {
1118
+ o(n), Ct(h), ye();
1118
1119
  }), s();
1119
1120
  };
1120
1121
  }
1121
- var It = ["blur", "cancel", "click", "close", "contextMenu", "copy", "cut", "auxClick", "doubleClick", "dragEnd", "dragStart", "drop", "focus", "input", "invalid", "keyDown", "keyPress", "keyUp", "mouseDown", "mouseUp", "paste", "pause", "play", "pointerCancel", "pointerDown", "pointerUp", "rateChange", "reset", "resize", "seeked", "submit", "touchCancel", "touchEnd", "touchStart", "volumeChange", "drag", "dragEnter", "dragExit", "dragLeave", "dragOver", "mouseMove", "mouseOut", "mouseOver", "pointerMove", "pointerOut", "pointerOver", "scroll", "toggle", "touchMove", "wheel", "abort", "animationEnd", "animationIteration", "animationStart", "canPlay", "canPlayThrough", "durationChange", "emptied", "encrypted", "ended", "error", "gotPointerCapture", "load", "loadedData", "loadedMetadata", "loadStart", "lostPointerCapture", "playing", "progress", "seeking", "stalled", "suspend", "timeUpdate", "transitionEnd", "waiting", "mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave", "change", "select", "beforeInput", "compositionEnd", "compositionStart", "compositionUpdate"];
1122
- function _t() {
1123
- It.forEach(function(e) {
1124
- $e[e] = Pt(e);
1122
+ var _t = ["blur", "cancel", "click", "close", "contextMenu", "copy", "cut", "auxClick", "doubleClick", "dragEnd", "dragStart", "drop", "focus", "input", "invalid", "keyDown", "keyPress", "keyUp", "mouseDown", "mouseUp", "paste", "pause", "play", "pointerCancel", "pointerDown", "pointerUp", "rateChange", "reset", "resize", "seeked", "submit", "touchCancel", "touchEnd", "touchStart", "volumeChange", "drag", "dragEnter", "dragExit", "dragLeave", "dragOver", "mouseMove", "mouseOut", "mouseOver", "pointerMove", "pointerOut", "pointerOver", "scroll", "toggle", "touchMove", "wheel", "abort", "animationEnd", "animationIteration", "animationStart", "canPlay", "canPlayThrough", "durationChange", "emptied", "encrypted", "ended", "error", "gotPointerCapture", "load", "loadedData", "loadedMetadata", "loadStart", "lostPointerCapture", "playing", "progress", "seeking", "stalled", "suspend", "timeUpdate", "transitionEnd", "waiting", "mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave", "change", "select", "beforeInput", "compositionEnd", "compositionStart", "compositionUpdate"];
1123
+ function Ut() {
1124
+ _t.forEach(function(e) {
1125
+ Ze[e] = It(e);
1125
1126
  });
1126
1127
  }
1127
- _t();
1128
- var Je = !1, Ut = function(n) {
1129
- return Je || (Je = !0, R("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")), d(n);
1128
+ Ut();
1129
+ var Je = !1, Lt = function(n) {
1130
+ return Je || (Je = !0, R("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")), f(n);
1130
1131
  };
1131
- y.Simulate = $e, y.act = Ut, y.findAllInRenderedTree = Ce, y.findRenderedComponentWithType = vt, y.findRenderedDOMComponentWithClass = ht, y.findRenderedDOMComponentWithTag = mt, y.isCompositeComponent = Ye, y.isCompositeComponentWithType = Ve, y.isDOMComponent = Ee, y.isDOMComponentElement = pt, y.isElement = dt, y.isElementOfType = ft, y.mockComponent = yt, y.nativeTouchData = gt, y.renderIntoDocument = Fe, y.scryRenderedComponentsWithType = Ge, y.scryRenderedDOMComponentsWithClass = qe, y.scryRenderedDOMComponentsWithTag = ze, y.traverseTwoPhase = Be;
1132
+ y.Simulate = Ze, y.act = Lt, y.findAllInRenderedTree = Ce, y.findRenderedComponentWithType = yt, y.findRenderedDOMComponentWithClass = mt, y.findRenderedDOMComponentWithTag = vt, y.isCompositeComponent = Ye, y.isCompositeComponentWithType = Ve, y.isDOMComponent = Ee, y.isDOMComponentElement = ht, y.isElement = dt, y.isElementOfType = pt, y.mockComponent = gt, y.nativeTouchData = wt, y.renderIntoDocument = Fe, y.scryRenderedComponentsWithType = Ge, y.scryRenderedDOMComponentsWithClass = qe, y.scryRenderedDOMComponentsWithTag = ze, y.traverseTwoPhase = Be;
1132
1133
  }()), y;
1133
1134
  }
1134
1135
  var ut;
1135
- function Kt() {
1136
- return ut || (ut = 1, process.env.NODE_ENV === "production" ? De.exports = Nt() : De.exports = xt()), De.exports;
1136
+ function Yt() {
1137
+ return ut || (ut = 1, process.env.NODE_ENV === "production" ? De.exports = Kt() : De.exports = Ft()), De.exports;
1137
1138
  }
1138
- var Ft = Kt();
1139
- const Vt = /* @__PURE__ */ Wt({
1140
- __proto__: null
1141
- }, [Ft]);
1139
+ var ft = Yt();
1140
+ const Xt = /* @__PURE__ */ xt(ft), Gt = /* @__PURE__ */ Nt({
1141
+ __proto__: null,
1142
+ default: Xt
1143
+ }, [ft]);
1142
1144
  export {
1143
- Ft as a,
1144
- Vt as t
1145
+ ft as a,
1146
+ Gt as t
1145
1147
  };
1146
- //# sourceMappingURL=test-utils-Brqoydie.js.map
1148
+ //# sourceMappingURL=test-utils-B2AIdiiO.js.map