@uva-glass/component-library 3.52.7 → 3.52.8

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 (54) hide show
  1. package/dist/assets/Backdrop.css +1 -1
  2. package/dist/assets/Card.css +1 -1
  3. package/dist/assets/Column.css +1 -1
  4. package/dist/assets/Drawer.css +1 -1
  5. package/dist/assets/IconButton.css +1 -1
  6. package/dist/assets/ModalDialog.css +1 -1
  7. package/dist/assets/OverlayCloseButton.css +1 -1
  8. package/dist/assets/OverlayStepBar.css +1 -1
  9. package/dist/assets/PageOverlay.css +1 -1
  10. package/dist/assets/Spinner.css +1 -1
  11. package/dist/assets/Tooltip.css +1 -1
  12. package/dist/chunk-RW5PKMWM-pUx2dyqB.js +11292 -0
  13. package/dist/chunk-RW5PKMWM-pUx2dyqB.js.map +1 -0
  14. package/dist/client-CFLMKOFW.js.map +1 -1
  15. package/dist/components/Buttons/Button.stories.js +8 -8
  16. package/dist/components/Buttons/LinkButton.stories.js +10 -10
  17. package/dist/components/Buttons/MenuButton.stories.js +14 -14
  18. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  19. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +7 -7
  20. package/dist/components/CheckboxTree/CheckboxTree.stories.js +57 -114
  21. package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
  22. package/dist/components/Chip/Chip.stories.js +5 -5
  23. package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
  24. package/dist/components/Drawer/Drawer.stories.js +9 -9
  25. package/dist/components/FormInput/FormInput.stories.js +1 -1
  26. package/dist/components/IconButton/IconButton.stories.js +5 -5
  27. package/dist/components/InputField/InputField.stories.js +11 -11
  28. package/dist/components/ModalDialog/ModalDialog.stories.js +12 -12
  29. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  30. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +15 -15
  31. package/dist/components/Notification/Notification.stories.js +8 -8
  32. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +4 -4
  33. package/dist/components/PeriodSelector/PeriodSelector.stories.js +4 -4
  34. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  35. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +1 -1
  36. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  37. package/dist/components/Sortable/Sortable.stories.js +1 -1
  38. package/dist/components/TextArea/TextArea.stories.js +3 -3
  39. package/dist/components/TextArea/TextArea.test.js +8 -8
  40. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  41. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  42. package/dist/index-Dbb5M7Zc.js +24457 -0
  43. package/dist/index-Dbb5M7Zc.js.map +1 -0
  44. package/dist/react-18-C6foUf2n.js +42 -0
  45. package/dist/react-18-C6foUf2n.js.map +1 -0
  46. package/dist/storybook__react.d.js +7466 -7955
  47. package/dist/storybook__react.d.js.map +1 -1
  48. package/package.json +9 -9
  49. package/dist/index-BJRrLdmi.js +0 -34071
  50. package/dist/index-BJRrLdmi.js.map +0 -1
  51. package/dist/index-fdIFY6eP.js +0 -11566
  52. package/dist/index-fdIFY6eP.js.map +0 -1
  53. package/dist/react-18-CJB15f47.js +0 -38
  54. package/dist/react-18-CJB15f47.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useState as d, useRef as g } from "react";
3
- import { l as p } from "../../index-BJRrLdmi.js";
3
+ import { f as p } from "../../index-Dbb5M7Zc.js";
4
4
  import { InputField as e } from "./InputField.js";
5
5
  import { Container as u } from "../../storyComponents/Container/Container.js";
6
6
  import "../Accordion/Accordion.js";
@@ -29,11 +29,11 @@ import "../SelectListbox/SelectProvider.js";
29
29
  import "../Sortable/components/SortableItem.js";
30
30
  import "../../SortableProvider-BbwlEPIr.js";
31
31
  import "../WeekSelector/components/WeekSelectorOptionContainer.js";
32
- const C = `
32
+ const f = `
33
33
  // Has all HTMLInputElement props available except "className" and "style"
34
34
  <InputField aria-labelledby={aria-labelledby} id={id} onChange={onChangeFunction}
35
35
  value={value} type={type} clearTrigger={clearTrigger} />
36
- `, f = (t) => {
36
+ `, C = (t) => {
37
37
  const r = t.variant ?? [];
38
38
  return { ...t, variant: r.toString() };
39
39
  }, Z = {
@@ -67,7 +67,7 @@ const C = `
67
67
  },
68
68
  parameters: {
69
69
  inspectComponent: e,
70
- codeString: C
70
+ codeString: f
71
71
  }
72
72
  }, i = (t) => {
73
73
  const [r, n] = d(""), l = g(null), m = (c) => {
@@ -78,7 +78,7 @@ const C = `
78
78
  return /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o(
79
79
  e,
80
80
  {
81
- ...f(t),
81
+ ...C(t),
82
82
  value: r,
83
83
  onChange: m,
84
84
  onClear: s,
@@ -89,12 +89,12 @@ const C = `
89
89
  type: "text",
90
90
  variant: void 0,
91
91
  id: "4f9ca77d"
92
- }, b = i.bind({});
93
- b.args = {
92
+ }, v = i.bind({});
93
+ v.args = {
94
94
  ...a
95
95
  };
96
- const v = i.bind({});
97
- v.args = {
96
+ const b = i.bind({});
97
+ b.args = {
98
98
  ...a,
99
99
  clearTrigger: "Clear"
100
100
  };
@@ -104,9 +104,9 @@ y.args = {
104
104
  clearTrigger: /* @__PURE__ */ o(h, { name: "Cross" })
105
105
  };
106
106
  export {
107
- b as InputFieldExample,
107
+ v as InputFieldExample,
108
108
  y as WithIconClearTrigger,
109
- v as WithStringClearTrigger,
109
+ b as WithStringClearTrigger,
110
110
  Z as default
111
111
  };
112
112
  //# sourceMappingURL=InputField.stories.js.map
@@ -1,12 +1,12 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { ModalProvider as n } from "@react-aria/overlays";
3
- import { l as i } from "../../index-BJRrLdmi.js";
2
+ import { ModalProvider as r } from "@react-aria/overlays";
3
+ import { f as i } from "../../index-Dbb5M7Zc.js";
4
4
  import { ModalDialog as t } from "./ModalDialog.js";
5
- import { Button as l } from "../Buttons/Button.js";
5
+ import { Button as s } from "../Buttons/Button.js";
6
6
  import "../Buttons/LinkButton.js";
7
7
  import "@react-aria/button";
8
8
  import { ButtonGroup as m } from "../ButtonGroup/ButtonGroup.js";
9
- import { FormField as r } from "../FormField/FormField.js";
9
+ import { FormField as l } from "../FormField/FormField.js";
10
10
  import { InputField as d } from "../InputField/InputField.js";
11
11
  import { Label as c } from "../Label/Label.js";
12
12
  const p = `
@@ -50,10 +50,10 @@ const p = `
50
50
  inspectComponent: t,
51
51
  codeString: p
52
52
  }
53
- }, u = (o) => /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ a(r, { outerSpace: !0, children: [
53
+ }, u = (o) => /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ a(l, { outerSpace: !0, children: [
54
54
  /* @__PURE__ */ e(c, { htmlFor: "text-field", children: "Example Text Field" }),
55
55
  /* @__PURE__ */ e(d, { id: "text-field" })
56
- ] }) }) }), s = {
56
+ ] }) }) }), n = {
57
57
  padded: !1,
58
58
  size: "regular",
59
59
  noButtonBorder: !1,
@@ -65,26 +65,26 @@ const p = `
65
65
  onSubmit: i(),
66
66
  onClose: i(),
67
67
  buttons: /* @__PURE__ */ a(m, { reversed: !0, children: [
68
- /* @__PURE__ */ e(l, { variant: "primary", onClick: i(), children: "OK" }),
69
- /* @__PURE__ */ e(l, { variant: "secondary", onClick: i(), children: "Cancel" })
68
+ /* @__PURE__ */ e(s, { variant: "primary", onClick: i(), children: "OK" }),
69
+ /* @__PURE__ */ e(s, { variant: "secondary", onClick: i(), children: "Cancel" })
70
70
  ] }),
71
71
  isOpen: !0
72
72
  }, b = u.bind({});
73
73
  b.args = {
74
- ...s
74
+ ...n
75
75
  };
76
76
  const g = u.bind({});
77
77
  g.args = {
78
- ...s,
78
+ ...n,
79
79
  isLoading: !0,
80
80
  spinnerAriaValueText: "Loading"
81
81
  };
82
- const f = (o) => /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ a(r, { outerSpace: !0, children: [
82
+ const f = (o) => /* @__PURE__ */ e(r, { children: /* @__PURE__ */ e(t, { ...o, children: /* @__PURE__ */ a(l, { outerSpace: !0, children: [
83
83
  /* @__PURE__ */ e("div", { children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ac dui et nibh eleifend ultricies a id nulla. Pellentesque eleifend sem a tellus dictum tempus. Proin non leo id risus placerat vulputate at ac erat. Ut fringilla imperdiet sollicitudin. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Cras molestie ante ac magna ornare rhoncus non at quam. Mauris elementum luctus euismod. Pellentesque molestie malesuada purus, sed egestas lacus interdum sit amet. Morbi blandit lacus sit amet dictum pulvinar. Ut semper nunc ac enim imperdiet, non interdum diam gravida. In nunc tortor, mollis ac molestie dignissim, elementum sed quam. Suspendisse mollis venenatis libero, pellentesque vestibulum elit consequat et. Aliquam fringilla tellus id libero tempus, sit amet suscipit augue tristique. Quisque cursus neque vel justo tristique, eget semper turpis elementum. Etiam venenatis mattis sapien ac mattis. Mauris vitae ultrices erat." }),
84
84
  /* @__PURE__ */ e("div", { children: "Aliquam facilisis massa sed justo rhoncus bibendum. Sed lobortis urna orci, vitae porta leo placerat nec. Nam porta porttitor ornare. Suspendisse vehicula nunc nec egestas finibus. Aliquam non luctus risus. Phasellus ac diam tincidunt, bibendum sem eget, sollicitudin neque. Curabitur mauris risus, feugiat ac euismod non, vulputate ac justo. Curabitur pretium vehicula augue, blandit porta odio rutrum sit amet. Proin semper enim ut sapien tempor, a ornare ipsum faucibus." })
85
85
  ] }) }) }), h = f.bind({});
86
86
  h.args = {
87
- ...s,
87
+ ...n,
88
88
  noButtonBorder: !0
89
89
  };
90
90
  export {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as S, jsx as r } from "react/jsx-runtime";
2
- import { l as d } from "../../index-BJRrLdmi.js";
2
+ import { f as d } from "../../index-Dbb5M7Zc.js";
3
3
  import { useState as p } from "react";
4
4
  import { M as e } from "../../TablePlugin-CqCjNBW_.js";
5
5
  import { Container as M } from "../../storyComponents/Container/Container.js";
@@ -1,10 +1,10 @@
1
1
  import { jsxs as m, jsx as a } from "react/jsx-runtime";
2
- import { l as u } from "../../index-BJRrLdmi.js";
2
+ import { f as u } from "../../index-Dbb5M7Zc.js";
3
3
  import { useState as r } from "react";
4
- import { MultiSelectBox as t } from "./MultiSelectBox.js";
5
- const b = "<MultiSelectBox selectData={[{label, value}]} onChange={fn} labelSuffix={string} />", S = {
4
+ import { MultiSelectBox as l } from "./MultiSelectBox.js";
5
+ const d = "<MultiSelectBox selectData={[{label, value}]} onChange={fn} labelSuffix={string} />", S = {
6
6
  title: "Organisms/MultiSelectBox",
7
- component: t,
7
+ component: l,
8
8
  argTypes: {
9
9
  onChange: {
10
10
  action: "Selected values",
@@ -14,10 +14,10 @@ const b = "<MultiSelectBox selectData={[{label, value}]} onChange={fn} labelSuff
14
14
  }
15
15
  },
16
16
  parameters: {
17
- inspectComponent: t,
18
- codeString: b
17
+ inspectComponent: l,
18
+ codeString: d
19
19
  }
20
- }, d = [
20
+ }, f = [
21
21
  { label: "A.B. Docent", value: "1" },
22
22
  { label: "B.C. Docent met lange achternaam", value: "2" },
23
23
  {
@@ -35,12 +35,12 @@ const b = "<MultiSelectBox selectData={[{label, value}]} onChange={fn} labelSuff
35
35
  { label: "H.I. Docent", value: "9" },
36
36
  { label: "K.L. Docent ", value: "10" }
37
37
  ], n = (e) => {
38
- const [c, s] = r(e.defaultSelectedItems || []), i = (l) => {
39
- e.onChange && e.onChange(l), s(l);
38
+ const [c, s] = r(e.defaultSelectedItems || []), i = (t) => {
39
+ e.onChange && e.onChange(t), s(t);
40
40
  };
41
41
  return /* @__PURE__ */ m("div", { style: { width: "30rem", margin: "0rem auto 0 auto" }, children: [
42
- /* @__PURE__ */ a("span", { children: c.map((l) => l.label).join(", ") }),
43
- /* @__PURE__ */ a(t, { ...e, onChange: i })
42
+ /* @__PURE__ */ a("span", { children: c.map((t) => t.label).join(", ") }),
43
+ /* @__PURE__ */ a(l, { ...e, onChange: i })
44
44
  ] });
45
45
  }, o = {
46
46
  fullWidth: !1,
@@ -48,10 +48,10 @@ const b = "<MultiSelectBox selectData={[{label, value}]} onChange={fn} labelSuff
48
48
  maxOptionHeight: "20rem",
49
49
  optionPositionRight: !1,
50
50
  disabled: !1,
51
- selectData: d,
51
+ selectData: f,
52
52
  onChange: u()
53
- }, f = n.bind({});
54
- f.args = {
53
+ }, b = n.bind({});
54
+ b.args = {
55
55
  ...o
56
56
  };
57
57
  const g = n.bind({});
@@ -64,7 +64,7 @@ g.args = {
64
64
  ]
65
65
  };
66
66
  export {
67
- f as MultiSelectBoxExample,
67
+ b as MultiSelectBoxExample,
68
68
  g as WithDefaultSelectedItems,
69
69
  S as default
70
70
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { l as a } from "../../index-BJRrLdmi.js";
2
+ import { f as a } from "../../index-Dbb5M7Zc.js";
3
3
  import { Notification as t } from "./Notification.js";
4
- const l = `<Notification title={title} subtitle={subtitle} action={action}
5
- level={level} variant={variant} onClose={() => {}} />`, m = {
4
+ const r = `<Notification title={title} subtitle={subtitle} action={action}
5
+ level={level} variant={variant} onClose={() => {}} />`, p = {
6
6
  title: "Molecules/Notification",
7
7
  component: t,
8
8
  argTypes: {
@@ -17,14 +17,14 @@ const l = `<Notification title={title} subtitle={subtitle} action={action}
17
17
  },
18
18
  parameters: {
19
19
  inspectComponent: t,
20
- codeString: l
20
+ codeString: r
21
21
  }
22
22
  }, e = (n) => /* @__PURE__ */ i(t, { ...n }), o = {
23
23
  level: "information",
24
24
  title: "Titel van de melding",
25
25
  onClose: a()
26
- }, r = e.bind({});
27
- r.args = {
26
+ }, l = e.bind({});
27
+ l.args = {
28
28
  ...o,
29
29
  variant: "default",
30
30
  subtitle: "Subtekst ter verduidelijking van de melding.",
@@ -37,7 +37,7 @@ s.args = {
37
37
  };
38
38
  export {
39
39
  s as AsBar,
40
- r as NotificationExample,
41
- m as default
40
+ l as NotificationExample,
41
+ p as default
42
42
  };
43
43
  //# sourceMappingURL=Notification.stories.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { l as t } from "../../index-BJRrLdmi.js";
2
+ import { f as a } from "../../index-Dbb5M7Zc.js";
3
3
  import { OverlayCloseButton as o } from "./OverlayCloseButton.js";
4
- import { Container as a } from "../../storyComponents/Container/Container.js";
4
+ import { Container as l } from "../../storyComponents/Container/Container.js";
5
5
  const r = "<OverlayCloseButton aria-label={aria-label} onClick={onClickFunction} />", c = {
6
6
  title: "Atoms/OverlayCloseButton",
7
7
  component: o,
@@ -17,11 +17,11 @@ const r = "<OverlayCloseButton aria-label={aria-label} onClick={onClickFunction}
17
17
  inspectComponent: o,
18
18
  codeString: r
19
19
  }
20
- }, n = (l) => /* @__PURE__ */ e(a, { size: "small", padded: !1, children: /* @__PURE__ */ e(o, { ...l }) }), s = n.bind({});
20
+ }, n = (t) => /* @__PURE__ */ e(l, { size: "small", padded: !1, children: /* @__PURE__ */ e(o, { ...t }) }), s = n.bind({});
21
21
  s.args = {
22
22
  paddedModal: !1,
23
23
  "aria-label": "Close",
24
- onClick: t()
24
+ onClick: a()
25
25
  };
26
26
  export {
27
27
  s as OverlayCloseButtonExample,
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { l as t } from "../../index-BJRrLdmi.js";
2
+ import { f as t } from "../../index-Dbb5M7Zc.js";
3
3
  import { PeriodSelector as e } from "./PeriodSelector.js";
4
4
  const i = "<PeriodSelector maxPeriods={} defaultValues={} label={} labelPosition={} required={} onChange={} />", m = {
5
5
  title: "Organisms/PeriodSelector",
@@ -8,8 +8,8 @@ const i = "<PeriodSelector maxPeriods={} defaultValues={} label={} labelPosition
8
8
  inspectComponent: e,
9
9
  codeString: i
10
10
  }
11
- }, l = (o) => /* @__PURE__ */ r(e, { ...o }), a = l.bind({});
12
- a.args = {
11
+ }, a = (o) => /* @__PURE__ */ r(e, { ...o }), l = a.bind({});
12
+ l.args = {
13
13
  maxPeriods: 7,
14
14
  // eslint-disable-next-line @typescript-eslint/no-magic-numbers
15
15
  defaultValues: [1, 5, 6],
@@ -19,7 +19,7 @@ a.args = {
19
19
  onChange: t()
20
20
  };
21
21
  export {
22
- a as PeriodSelectorExample,
22
+ l as PeriodSelectorExample,
23
23
  m as default
24
24
  };
25
25
  //# sourceMappingURL=PeriodSelector.stories.js.map
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { l as a } from "../../index-BJRrLdmi.js";
2
+ import { f as a } from "../../index-Dbb5M7Zc.js";
3
3
  import { RadioGroup as o } from "./RadioGroup.js";
4
4
  const l = `
5
5
  <RadioGroup label={label} options={options}
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { l as t } from "../../index-BJRrLdmi.js";
2
+ import { f as t } from "../../index-Dbb5M7Zc.js";
3
3
  import { RadioTabSelector as e } from "./RadioTabSelector.js";
4
4
  const i = "<RadioTabSelector radioButtons={} defaultValue={} label={} labelPosition={} required={} notValidatedText={} onSetValue={} />", b = {
5
5
  title: "Molecules/RadioTabSelector",
@@ -1,5 +1,5 @@
1
1
  import { jsx as a, jsxs as M } from "react/jsx-runtime";
2
- import { l as i } from "../../index-BJRrLdmi.js";
2
+ import { f as i } from "../../index-Dbb5M7Zc.js";
3
3
  import { SelectListbox as r } from "./SelectListbox.js";
4
4
  import * as e from "react";
5
5
  const E = ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as i, Fragment as m } from "react/jsx-runtime";
2
- import { l as s } from "../../index-BJRrLdmi.js";
2
+ import { f as s } from "../../index-Dbb5M7Zc.js";
3
3
  import { Sortable as l } from "./Sortable.js";
4
4
  import { InputField as d } from "../InputField/InputField.js";
5
5
  import { Icon as c } from "../Icon/Icon.js";
@@ -1,8 +1,8 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { l as a } from "../../index-BJRrLdmi.js";
2
+ import { f as a } from "../../index-Dbb5M7Zc.js";
3
3
  import { TextArea as e } from "./TextArea.js";
4
4
  const o = `
5
- <TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `, x = {
5
+ <TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `, b = {
6
6
  title: "Atoms/TextArea",
7
7
  component: e,
8
8
  argTypes: { label: { control: "text" }, maxCharacters: { control: "number" } },
@@ -25,6 +25,6 @@ s.args = {
25
25
  export {
26
26
  m as TextAreaExample,
27
27
  s as TextAreaSubtitleExample,
28
- x as default
28
+ b as default
29
29
  };
30
30
  //# sourceMappingURL=TextArea.stories.js.map
@@ -1,25 +1,25 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import "../../index-ApPj4mI1.js";
3
- import { r as o, s as t, f as r } from "../../react.esm-BjO203QT.js";
4
- import { J as c } from "../../index-BJRrLdmi.js";
5
- import { TextArea as n } from "./TextArea.js";
3
+ import { r as n, s as t, f as r } from "../../react.esm-BjO203QT.js";
4
+ import { u as s } from "../../index-Dbb5M7Zc.js";
5
+ import { TextArea as o } from "./TextArea.js";
6
6
  describe("TextArea", () => {
7
7
  it("should render correctly with label", () => {
8
- o(/* @__PURE__ */ a(n, { onChange: jest.fn(), label: "Test Label" })), expect(t.getByText("Test Label")).toBeInTheDocument();
8
+ n(/* @__PURE__ */ a(o, { onChange: jest.fn(), label: "Test Label" })), expect(t.getByText("Test Label")).toBeInTheDocument();
9
9
  }), it("should call onChange when text is entered", () => {
10
10
  const e = jest.fn();
11
- o(/* @__PURE__ */ a(n, { onChange: e }));
11
+ n(/* @__PURE__ */ a(o, { onChange: e }));
12
12
  const l = t.getByRole("textbox");
13
13
  r.input(l, { target: { value: "Hello" } }), expect(e).toHaveBeenCalledWith("Hello");
14
14
  }), it("should update character count", () => {
15
- o(/* @__PURE__ */ a(n, { onChange: jest.fn(), label: "Test", maxCharacters: 10 }));
15
+ n(/* @__PURE__ */ a(o, { onChange: jest.fn(), label: "Test", maxCharacters: 10 }));
16
16
  const e = t.getByRole("textbox");
17
17
  r.input(e, { target: { value: "Test" } }), expect(t.getByText("4")).toBeInTheDocument(), expect(t.getByText("/ 10")).toBeInTheDocument();
18
18
  }), it("should not exceed max characters limit", async () => {
19
19
  const e = jest.fn();
20
- o(/* @__PURE__ */ a(n, { onChange: e, maxCharacters: 5 }));
20
+ n(/* @__PURE__ */ a(o, { onChange: e, maxCharacters: 5 }));
21
21
  const l = t.getByRole("textbox");
22
- await c.type(l, "ExceedsLimit"), expect(e).toHaveBeenCalled(), expect(e.mock.calls[e.mock.calls.length - 1][0].length).toBe(5);
22
+ await s.type(l, "ExceedsLimit"), expect(e).toHaveBeenCalled(), expect(e.mock.calls[e.mock.calls.length - 1][0].length).toBe(5);
23
23
  });
24
24
  });
25
25
  //# sourceMappingURL=TextArea.test.js.map
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { l } from "../../index-BJRrLdmi.js";
2
+ import { f as l } from "../../index-Dbb5M7Zc.js";
3
3
  import { ToggleSwitch as e } from "./ToggleSwitch.js";
4
4
  const a = `
5
5
  // Has all InputHTMLAttributes props available except "className" and "style"
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { l as n } from "../../index-BJRrLdmi.js";
2
+ import { f as n } from "../../index-Dbb5M7Zc.js";
3
3
  import { VarIndicator as t } from "./VarIndicator.js";
4
4
  const o = {
5
5
  DRAFT: "Concept",