@uva-glass/component-library 3.57.3 → 3.57.5

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 (209) hide show
  1. package/dist/{AddCatalogueLinkForm-Di0xm7Ep.js → AddCatalogueLinkForm-CvJoaUFz.js} +2 -2
  2. package/dist/{AddCatalogueLinkForm-Di0xm7Ep.js.map → AddCatalogueLinkForm-CvJoaUFz.js.map} +1 -1
  3. package/dist/{DataTable-Cgn_RKTA.js → DataTable-UslvEf3c.js} +54 -50
  4. package/dist/DataTable-UslvEf3c.js.map +1 -0
  5. package/dist/{FeedbackBar-DEDpoNy7.js → FeedbackBar-DsOWAAGt.js} +2 -2
  6. package/dist/{FeedbackBar-DEDpoNy7.js.map → FeedbackBar-DsOWAAGt.js.map} +1 -1
  7. package/dist/{Lexical.prod-Dy5aDppc.js → Lexical.prod-BlUfEvo-.js} +1461 -1476
  8. package/dist/{Lexical.prod-Dy5aDppc.js.map → Lexical.prod-BlUfEvo-.js.map} +1 -1
  9. package/dist/{LexicalClipboard.prod-CS8a49uL.js → LexicalClipboard.prod-DQbm50C_.js} +132 -131
  10. package/dist/LexicalClipboard.prod-DQbm50C_.js.map +1 -0
  11. package/dist/LexicalHtml.prod-Czkg35Fe.js +1129 -0
  12. package/dist/LexicalHtml.prod-Czkg35Fe.js.map +1 -0
  13. package/dist/{LexicalLink.prod-DzgwWhQM.js → LexicalLink.prod-6gI2ABQo.js} +141 -141
  14. package/dist/{LexicalLink.prod-DzgwWhQM.js.map → LexicalLink.prod-6gI2ABQo.js.map} +1 -1
  15. package/dist/{LexicalList.prod-icY8mpm6.js → LexicalList.prod-CMGvSM1c.js} +265 -265
  16. package/dist/{LexicalList.prod-icY8mpm6.js.map → LexicalList.prod-CMGvSM1c.js.map} +1 -1
  17. package/dist/LexicalSelection.prod-DS_R6Cl1.js +99 -0
  18. package/dist/LexicalSelection.prod-DS_R6Cl1.js.map +1 -0
  19. package/dist/{LexicalTable.prod-Bf0is-op.js → LexicalTable.prod-D3FUVxbr.js} +582 -582
  20. package/dist/LexicalTable.prod-D3FUVxbr.js.map +1 -0
  21. package/dist/LexicalUtils.prod-CNWf_0sq.js +164 -0
  22. package/dist/LexicalUtils.prod-CNWf_0sq.js.map +1 -0
  23. package/dist/{LinkContextMenu-C8ehPbP8.js → LinkContextMenu-59-rbxa2.js} +2 -2
  24. package/dist/{LinkContextMenu-C8ehPbP8.js.map → LinkContextMenu-59-rbxa2.js.map} +1 -1
  25. package/dist/{PasteHandlerPlugin-CSo_lOE8.js → PasteHandlerPlugin-CTzYRyAx.js} +9 -9
  26. package/dist/{PasteHandlerPlugin-CSo_lOE8.js.map → PasteHandlerPlugin-CTzYRyAx.js.map} +1 -1
  27. package/dist/Repeater-DUo13Mq6.js +23 -0
  28. package/dist/Repeater-DUo13Mq6.js.map +1 -0
  29. package/dist/{Slider-Czd2xAGf.js → Slider-CqYFsgRL.js} +3 -3
  30. package/dist/{Slider-Czd2xAGf.js.map → Slider-CqYFsgRL.js.map} +1 -1
  31. package/dist/{TableCellResizerPlugin-Bb2blXnq.js → TableCellResizerPlugin-D-fX5I3p.js} +12 -5
  32. package/dist/{TableCellResizerPlugin-Bb2blXnq.js.map → TableCellResizerPlugin-D-fX5I3p.js.map} +1 -1
  33. package/dist/assets/DataTable.css +1 -1
  34. package/dist/assets/Repeater.css +1 -1
  35. package/dist/{chunk-5WKL7XVT-CvOIS3NE.js → chunk-SNLGT2ZI--XVeLAcq.js} +2540 -2881
  36. package/dist/chunk-SNLGT2ZI--XVeLAcq.js.map +1 -0
  37. package/dist/{client-CXlG3hNo.js → client-CTHUtwUP.js} +4 -4
  38. package/dist/{client-CXlG3hNo.js.map → client-CTHUtwUP.js.map} +1 -1
  39. package/dist/components/Accordion/Accordion.test.js +15 -14
  40. package/dist/components/Accordion/Accordion.test.js.map +1 -1
  41. package/dist/components/AccordionCard/AccordionCard.test.js +20 -19
  42. package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
  43. package/dist/components/ActionList/ActionList.test.js +26 -25
  44. package/dist/components/ActionList/ActionList.test.js.map +1 -1
  45. package/dist/components/AppStatusBar/AppStatusBar.test.js +6 -5
  46. package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
  47. package/dist/components/Attention/Attention.test.js +5 -4
  48. package/dist/components/Attention/Attention.test.js.map +1 -1
  49. package/dist/components/Backdrop/Backdrop.test.js +5 -4
  50. package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
  51. package/dist/components/Buttons/Button.stories.js +1 -1
  52. package/dist/components/Buttons/Button.test.js +20 -19
  53. package/dist/components/Buttons/Button.test.js.map +1 -1
  54. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  55. package/dist/components/Buttons/LinkButton.test.js +22 -21
  56. package/dist/components/Buttons/LinkButton.test.js.map +1 -1
  57. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  58. package/dist/components/Buttons/MenuButton.test.js +20 -19
  59. package/dist/components/Buttons/MenuButton.test.js.map +1 -1
  60. package/dist/components/Card/Card.test.js +5 -4
  61. package/dist/components/Card/Card.test.js.map +1 -1
  62. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  63. package/dist/components/Checkbox/Checkbox.test.js +9 -8
  64. package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
  65. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  66. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +16 -15
  67. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
  68. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  69. package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -3
  70. package/dist/components/CheckboxTree/index.js +1 -1
  71. package/dist/components/Chip/Chip.stories.js +1 -1
  72. package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
  73. package/dist/components/DataTable/DataTable.d.ts +3 -1
  74. package/dist/components/DataTable/DataTable.js +1 -1
  75. package/dist/components/DataTable/DataTable.stories.js +47 -56
  76. package/dist/components/DataTable/DataTable.stories.js.map +1 -1
  77. package/dist/components/DataTable/index.js +1 -1
  78. package/dist/components/Drawer/Drawer.stories.js +1 -1
  79. package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js +1 -1
  80. package/dist/components/FeedbackBar/FeedbackBar.js +1 -1
  81. package/dist/components/FeedbackBar/FeedbackBar.stories.js +2 -2
  82. package/dist/components/FeedbackBar/FeedbackBar.test.js +8 -7
  83. package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
  84. package/dist/components/FeedbackBar/index.js +1 -1
  85. package/dist/components/FeedbackBox/FeedbackBox.stories.js +1 -1
  86. package/dist/components/FormInput/FormInput.js +1 -1
  87. package/dist/components/FormInput/FormInput.stories.js +2 -2
  88. package/dist/components/FormInput/index.js +1 -1
  89. package/dist/components/IconButton/IconButton.stories.js +1 -1
  90. package/dist/components/InputField/InputField.stories.js +1 -1
  91. package/dist/components/Label/Label.test.js +12 -11
  92. package/dist/components/Label/Label.test.js.map +1 -1
  93. package/dist/components/MetaDataBar/MetaDataBar.test.js +5 -4
  94. package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
  95. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  96. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  97. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  98. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  99. package/dist/components/MultiSelect/index.js +1 -1
  100. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  101. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +12 -11
  102. package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
  103. package/dist/components/Notification/Notification.stories.js +1 -1
  104. package/dist/components/Notification/Notification.test.js +8 -7
  105. package/dist/components/Notification/Notification.test.js.map +1 -1
  106. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  107. package/dist/components/PageOverlay/PageOverlay.stories.js +1 -1
  108. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  109. package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -2
  110. package/dist/components/PeriodSelector/index.js +1 -1
  111. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  112. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  113. package/dist/components/RadioGroup/Radiogroup.test.js +10 -9
  114. package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
  115. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
  116. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -2
  117. package/dist/components/RadioTabSelector/index.js +1 -1
  118. package/dist/components/Repeater/Repeater.d.ts +1 -1
  119. package/dist/components/Repeater/Repeater.js +1 -1
  120. package/dist/components/Repeater/Repeater.stories.js +1 -1
  121. package/dist/components/Repeater/index.js +1 -1
  122. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  123. package/dist/components/RteEditor/EditorHeader/index.js +1 -1
  124. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +4 -4
  125. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +1 -1
  126. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +1 -1
  127. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +21 -21
  128. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -1
  129. package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -1
  130. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
  131. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  132. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -1
  133. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +7 -2
  134. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js.map +1 -0
  135. package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -1
  136. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +12 -12
  137. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
  138. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
  139. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
  140. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  141. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  142. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -1
  143. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +2 -2
  144. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  145. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -1
  146. package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -1
  147. package/dist/components/RteEditor/Plugins/index.js +3 -3
  148. package/dist/components/RteEditor/RteEditor.js +1 -1
  149. package/dist/components/RteEditor/RteEditor.stories.js +1 -1
  150. package/dist/components/RteEditor/helpers.js +5 -5
  151. package/dist/components/RteEditor/index.js +1 -1
  152. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +14 -14
  153. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +20 -19
  154. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js.map +1 -1
  155. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  156. package/dist/components/SelectListbox/SelectProvider.js +2 -1
  157. package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
  158. package/dist/components/Slider/Slider.js +1 -1
  159. package/dist/components/Slider/Slider.stories.js +1 -1
  160. package/dist/components/Slider/index.js +1 -1
  161. package/dist/components/Sortable/Sortable.stories.js +1 -1
  162. package/dist/components/Sortable/components/SortableItem.js +2 -2
  163. package/dist/components/Sortable/components/SortableItem.js.map +1 -1
  164. package/dist/components/StatusBadge/StatusBadge.test.js +7 -6
  165. package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
  166. package/dist/components/TextArea/TextArea.stories.js +1 -1
  167. package/dist/components/TextArea/TextArea.test.js +14 -13
  168. package/dist/components/TextArea/TextArea.test.js.map +1 -1
  169. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  170. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  171. package/dist/components/VarIndicator/VarIndicator.test.js +26 -25
  172. package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
  173. package/dist/components/hooks/useResponsive.js +1 -1
  174. package/dist/components/hooks/useResponsive.js.map +1 -1
  175. package/dist/components/index.js +5 -5
  176. package/dist/{components-CgBF6db6.js → components-D2rPfyIW.js} +438 -408
  177. package/dist/components-D2rPfyIW.js.map +1 -0
  178. package/dist/{dist-oLwM--0y.js → dist-CuwCMU7Y.js} +4 -4
  179. package/dist/{dist-oLwM--0y.js.map → dist-CuwCMU7Y.js.map} +1 -1
  180. package/dist/{react.esm-DwWzhs9e.js → dom.esm-S0SD0DBW.js} +938 -1029
  181. package/dist/dom.esm-S0SD0DBW.js.map +1 -0
  182. package/dist/{esm-BXzGXYWZ.js → esm-Bfz5h0_d.js} +5 -5
  183. package/dist/{esm-BXzGXYWZ.js.map → esm-Bfz5h0_d.js.map} +1 -1
  184. package/dist/index.js +5 -5
  185. package/dist/{react-18-BwdnKC48.js → react-18-yf-KbRra.js} +3 -3
  186. package/dist/{react-18-BwdnKC48.js.map → react-18-yf-KbRra.js.map} +1 -1
  187. package/dist/react.esm-D50lAl1F.js +226 -0
  188. package/dist/react.esm-D50lAl1F.js.map +1 -0
  189. package/dist/setupTests.js +1 -1
  190. package/dist/storybook__react.d.js +22 -22
  191. package/dist/storybook__react.d.js.map +1 -1
  192. package/dist/{test-Gtly6H2f.js → test-BjtC-Q32.js} +3684 -6919
  193. package/dist/test-BjtC-Q32.js.map +1 -0
  194. package/package.json +16 -16
  195. package/dist/DataTable-Cgn_RKTA.js.map +0 -1
  196. package/dist/LexicalClipboard.prod-CS8a49uL.js.map +0 -1
  197. package/dist/LexicalHtml.prod-BtzosUOH.js +0 -1611
  198. package/dist/LexicalHtml.prod-BtzosUOH.js.map +0 -1
  199. package/dist/LexicalTable.prod-Bf0is-op.js.map +0 -1
  200. package/dist/LexicalUtils.prod-CjGUKarD.js +0 -259
  201. package/dist/LexicalUtils.prod-CjGUKarD.js.map +0 -1
  202. package/dist/Repeater-BAEfOMZI.js +0 -22
  203. package/dist/Repeater-BAEfOMZI.js.map +0 -1
  204. package/dist/chunk-5WKL7XVT-CvOIS3NE.js.map +0 -1
  205. package/dist/components-CgBF6db6.js.map +0 -1
  206. package/dist/helpers-MMNO9vlK.js +0 -34
  207. package/dist/helpers-MMNO9vlK.js.map +0 -1
  208. package/dist/react.esm-DwWzhs9e.js.map +0 -1
  209. package/dist/test-Gtly6H2f.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../DataTable-Cgn_RKTA.js";
1
+ import { t as e } from "../../DataTable-UslvEf3c.js";
2
2
  export { e as DataTable };
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { Button as t } from "../Buttons/Button.js";
3
3
  import { t as n } from "../../ButtonGroup-D2z5UWTR.js";
4
4
  import { t as r } from "../../Drawer-fUw0LEuj.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../../ExpandableInfoPanel-BmbgbAjf.js";
2
- import { t } from "../../Repeater-BAEfOMZI.js";
2
+ import { t } from "../../Repeater-DUo13Mq6.js";
3
3
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
4
  var a = {
5
5
  title: "Molecules/ExpandableInfoPanel",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../FeedbackBar-DEDpoNy7.js";
1
+ import { t as e } from "../../FeedbackBar-DsOWAAGt.js";
2
2
  export { e as FeedbackBar };
@@ -1,7 +1,7 @@
1
1
  import { Button as e } from "../Buttons/Button.js";
2
2
  import { t } from "../../ButtonGroup-D2z5UWTR.js";
3
- import { t as n } from "../../FeedbackBar-DEDpoNy7.js";
4
- import { t as r } from "../../Repeater-BAEfOMZI.js";
3
+ import { t as n } from "../../FeedbackBar-DsOWAAGt.js";
4
+ import { t as r } from "../../Repeater-DUo13Mq6.js";
5
5
  import { useState as i } from "react";
6
6
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
7
  var s = {
@@ -1,15 +1,16 @@
1
- import "../../dist-oLwM--0y.js";
2
- import { t as e } from "../../FeedbackBar-DEDpoNy7.js";
3
- import { i as t, n, t as r } from "../../react.esm-DwWzhs9e.js";
1
+ import { s as e } from "../../dom.esm-S0SD0DBW.js";
2
+ import "../../dist-CuwCMU7Y.js";
3
+ import { t } from "../../FeedbackBar-DsOWAAGt.js";
4
+ import { n, t as r } from "../../react.esm-D50lAl1F.js";
4
5
  import { jsx as i } from "react/jsx-runtime";
5
6
  //#region src/components/FeedbackBar/FeedbackBar.test.tsx
6
7
  describe("FeedbackBar", () => {
7
8
  it("should render with children text", () => {
8
- n(/* @__PURE__ */ i(e, { children: "My feedback message" })), expect(t.getByText("My feedback message")).toBeInTheDocument();
9
+ n(/* @__PURE__ */ i(t, { children: "My feedback message" })), expect(e.getByText("My feedback message")).toBeInTheDocument();
9
10
  }), it("should close when the close button is clicked", () => {
10
- n(/* @__PURE__ */ i(e, { children: "My closed feedback message" })), expect(t.getByRole("alert")).toHaveClass("feedback-bar--visible");
11
- let a = t.getByRole("button");
12
- r.click(a), expect(t.getByRole("alert")).not.toHaveClass("feedback-bar--visible");
11
+ n(/* @__PURE__ */ i(t, { children: "My closed feedback message" })), expect(e.getByRole("alert")).toHaveClass("feedback-bar--visible");
12
+ let a = e.getByRole("button");
13
+ r.click(a), expect(e.getByRole("alert")).not.toHaveClass("feedback-bar--visible");
13
14
  });
14
15
  });
15
16
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"FeedbackBar.test.js","names":[],"sources":["../../../src/components/FeedbackBar/FeedbackBar.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { fireEvent, render, screen } from '@testing-library/react';\n\nimport { FeedbackBar } from './FeedbackBar';\n\ndescribe('FeedbackBar', () => {\n it('should render with children text', () => {\n render(<FeedbackBar>My feedback message</FeedbackBar>);\n expect(screen.getByText('My feedback message')).toBeInTheDocument();\n });\n\n it('should close when the close button is clicked', () => {\n render(<FeedbackBar>My closed feedback message</FeedbackBar>);\n\n expect(screen.getByRole('alert')).toHaveClass('feedback-bar--visible');\n\n const closeButton = screen.getByRole('button');\n fireEvent.click(closeButton);\n\n expect(screen.getByRole('alert')).not.toHaveClass('feedback-bar--visible');\n });\n});\n"],"mappings":";;;;;AAKA,SAAS,qBAAqB;CAM5B,AALA,GAAG,0CAA0C;EAE3C,AADA,EAAO,kBAAC,GAAD,EAAA,UAAa,sBAAgC,CAAA,CAAC,GACrD,OAAO,EAAO,UAAU,qBAAqB,CAAC,CAAC,CAAC,kBAAkB;CACpE,CAAC,GAED,GAAG,uDAAuD;EAGxD,AAFA,EAAO,kBAAC,GAAD,EAAA,UAAa,6BAAuC,CAAA,CAAC,GAE5D,OAAO,EAAO,UAAU,OAAO,CAAC,CAAC,CAAC,YAAY,uBAAuB;EAErE,IAAM,IAAc,EAAO,UAAU,QAAQ;EAG7C,AAFA,EAAU,MAAM,CAAW,GAE3B,OAAO,EAAO,UAAU,OAAO,CAAC,CAAC,CAAC,IAAI,YAAY,uBAAuB;CAC3E,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"FeedbackBar.test.js","names":[],"sources":["../../../src/components/FeedbackBar/FeedbackBar.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { fireEvent, render, screen } from '@testing-library/react';\n\nimport { FeedbackBar } from './FeedbackBar';\n\ndescribe('FeedbackBar', () => {\n it('should render with children text', () => {\n render(<FeedbackBar>My feedback message</FeedbackBar>);\n expect(screen.getByText('My feedback message')).toBeInTheDocument();\n });\n\n it('should close when the close button is clicked', () => {\n render(<FeedbackBar>My closed feedback message</FeedbackBar>);\n\n expect(screen.getByRole('alert')).toHaveClass('feedback-bar--visible');\n\n const closeButton = screen.getByRole('button');\n fireEvent.click(closeButton);\n\n expect(screen.getByRole('alert')).not.toHaveClass('feedback-bar--visible');\n });\n});\n"],"mappings":";;;;;;AAKA,SAAS,qBAAqB;CAM5B,AALA,GAAG,0CAA0C;EAE3C,AADA,EAAO,kBAAC,GAAD,EAAA,UAAa,sBAAgC,CAAA,CAAC,GACrD,OAAO,EAAO,UAAU,qBAAqB,CAAC,CAAC,CAAC,kBAAkB;CACpE,CAAC,GAED,GAAG,uDAAuD;EAGxD,AAFA,EAAO,kBAAC,GAAD,EAAA,UAAa,6BAAuC,CAAA,CAAC,GAE5D,OAAO,EAAO,UAAU,OAAO,CAAC,CAAC,CAAC,YAAY,uBAAuB;EAErE,IAAM,IAAc,EAAO,UAAU,QAAQ;EAG7C,AAFA,EAAU,MAAM,CAAW,GAE3B,OAAO,EAAO,UAAU,OAAO,CAAC,CAAC,CAAC,IAAI,YAAY,uBAAuB;CAC3E,CAAC;AACH,CAAC"}
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../FeedbackBar-DEDpoNy7.js";
1
+ import { t as e } from "../../FeedbackBar-DsOWAAGt.js";
2
2
  export { e as FeedbackBar };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../../FeedbackBox-BpOf_dxg.js";
2
- import { t } from "../../Repeater-BAEfOMZI.js";
2
+ import { t } from "../../Repeater-DUo13Mq6.js";
3
3
  import { t as n } from "../../Container-DOcrVe7u.js";
4
4
  import "../../storyComponents/Container/index.js";
5
5
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { m as e } from "../../components-CgBF6db6.js";
1
+ import { m as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as FormInput };
@@ -1,5 +1,5 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
2
- import { m as t } from "../../components-CgBF6db6.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
+ import { m as t } from "../../components-D2rPfyIW.js";
3
3
  import { SelectListbox as n } from "../SelectListbox/SelectListbox.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  var i = {
@@ -1,2 +1,2 @@
1
- import { m as e } from "../../components-CgBF6db6.js";
1
+ import { m as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as FormInput };
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { Icon as t } from "../Icon/Icon.js";
3
3
  import { t as n } from "../../IconButton-BZVNomru.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { Icon as t } from "../Icon/Icon.js";
3
3
  import { t as n } from "../../InputField-asFsxHvx.js";
4
4
  import { t as r } from "../../Container-DOcrVe7u.js";
@@ -1,32 +1,33 @@
1
- import "../../dist-oLwM--0y.js";
2
- import { t as e } from "../../Label-52ny6d06.js";
3
- import { i as t, n } from "../../react.esm-DwWzhs9e.js";
1
+ import { s as e } from "../../dom.esm-S0SD0DBW.js";
2
+ import "../../dist-CuwCMU7Y.js";
3
+ import { t } from "../../Label-52ny6d06.js";
4
+ import { n } from "../../react.esm-D50lAl1F.js";
4
5
  import { jsx as r } from "react/jsx-runtime";
5
6
  //#region src/components/Label/Label.test.tsx
6
7
  describe("Label", () => {
7
8
  it("should render", () => {
8
- n(/* @__PURE__ */ r(e, {
9
+ n(/* @__PURE__ */ r(t, {
9
10
  htmlFor: "testComponent",
10
11
  children: "Test label"
11
- })), expect(t.getByText("Test label")).toBeInTheDocument();
12
+ })), expect(e.getByText("Test label")).toBeInTheDocument();
12
13
  }), it("should render with required", () => {
13
- n(/* @__PURE__ */ r(e, {
14
+ n(/* @__PURE__ */ r(t, {
14
15
  htmlFor: "testComponent",
15
16
  required: !0,
16
17
  children: "Test label"
17
- })), expect(t.getByText("Test label")).toHaveClass("label--required");
18
+ })), expect(e.getByText("Test label")).toHaveClass("label--required");
18
19
  }), it("should render with noFontWeight", () => {
19
- n(/* @__PURE__ */ r(e, {
20
+ n(/* @__PURE__ */ r(t, {
20
21
  htmlFor: "testComponent",
21
22
  noFontWeight: !0,
22
23
  children: "Test label"
23
- })), expect(t.getByText("Test label")).toHaveClass("label--unset-font-weight");
24
+ })), expect(e.getByText("Test label")).toHaveClass("label--unset-font-weight");
24
25
  }), it("should render with alignRight", () => {
25
- n(/* @__PURE__ */ r(e, {
26
+ n(/* @__PURE__ */ r(t, {
26
27
  htmlFor: "testComponent",
27
28
  alignRight: !0,
28
29
  children: "Test label"
29
- })), expect(t.getByText("Test label")).toHaveClass("label--align-right");
30
+ })), expect(e.getByText("Test label")).toHaveClass("label--align-right");
30
31
  });
31
32
  });
32
33
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"Label.test.js","names":[],"sources":["../../../src/components/Label/Label.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen } from '@testing-library/react';\n\nimport { Label } from './Label';\n\ndescribe('Label', () => {\n it('should render', () => {\n render(<Label htmlFor=\"testComponent\">Test label</Label>);\n expect(screen.getByText('Test label')).toBeInTheDocument();\n });\n\n it('should render with required', () => {\n render(\n <Label htmlFor=\"testComponent\" required={true}>\n Test label\n </Label>\n );\n expect(screen.getByText('Test label')).toHaveClass('label--required');\n });\n\n it('should render with noFontWeight', () => {\n render(\n <Label htmlFor=\"testComponent\" noFontWeight={true}>\n Test label\n </Label>\n );\n expect(screen.getByText('Test label')).toHaveClass('label--unset-font-weight');\n });\n\n it('should render with alignRight', () => {\n render(\n <Label htmlFor=\"testComponent\" alignRight={true}>\n Test label\n </Label>\n );\n expect(screen.getByText('Test label')).toHaveClass('label--align-right');\n });\n});\n"],"mappings":";;;;;AAKA,SAAS,eAAe;CAwBtB,AAvBA,GAAG,uBAAuB;EAExB,AADA,EAAO,kBAAC,GAAD;GAAO,SAAQ;aAAgB;EAAiB,CAAA,CAAC,GACxD,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,kBAAkB;CAC3D,CAAC,GAED,GAAG,qCAAqC;EAMtC,AALA,EACE,kBAAC,GAAD;GAAO,SAAQ;GAAgB,UAAU;aAAM;EAExC,CAAA,CACT,GACA,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,YAAY,iBAAiB;CACtE,CAAC,GAED,GAAG,yCAAyC;EAM1C,AALA,EACE,kBAAC,GAAD;GAAO,SAAQ;GAAgB,cAAc;aAAM;EAE5C,CAAA,CACT,GACA,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,YAAY,0BAA0B;CAC/E,CAAC,GAED,GAAG,uCAAuC;EAMxC,AALA,EACE,kBAAC,GAAD;GAAO,SAAQ;GAAgB,YAAY;aAAM;EAE1C,CAAA,CACT,GACA,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,YAAY,oBAAoB;CACzE,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"Label.test.js","names":[],"sources":["../../../src/components/Label/Label.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen } from '@testing-library/react';\n\nimport { Label } from './Label';\n\ndescribe('Label', () => {\n it('should render', () => {\n render(<Label htmlFor=\"testComponent\">Test label</Label>);\n expect(screen.getByText('Test label')).toBeInTheDocument();\n });\n\n it('should render with required', () => {\n render(\n <Label htmlFor=\"testComponent\" required={true}>\n Test label\n </Label>\n );\n expect(screen.getByText('Test label')).toHaveClass('label--required');\n });\n\n it('should render with noFontWeight', () => {\n render(\n <Label htmlFor=\"testComponent\" noFontWeight={true}>\n Test label\n </Label>\n );\n expect(screen.getByText('Test label')).toHaveClass('label--unset-font-weight');\n });\n\n it('should render with alignRight', () => {\n render(\n <Label htmlFor=\"testComponent\" alignRight={true}>\n Test label\n </Label>\n );\n expect(screen.getByText('Test label')).toHaveClass('label--align-right');\n });\n});\n"],"mappings":";;;;;;AAKA,SAAS,eAAe;CAwBtB,AAvBA,GAAG,uBAAuB;EAExB,AADA,EAAO,kBAAC,GAAD;GAAO,SAAQ;aAAgB;EAAiB,CAAA,CAAC,GACxD,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,kBAAkB;CAC3D,CAAC,GAED,GAAG,qCAAqC;EAMtC,AALA,EACE,kBAAC,GAAD;GAAO,SAAQ;GAAgB,UAAU;aAAM;EAExC,CAAA,CACT,GACA,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,YAAY,iBAAiB;CACtE,CAAC,GAED,GAAG,yCAAyC;EAM1C,AALA,EACE,kBAAC,GAAD;GAAO,SAAQ;GAAgB,cAAc;aAAM;EAE5C,CAAA,CACT,GACA,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,YAAY,0BAA0B;CAC/E,CAAC,GAED,GAAG,uCAAuC;EAMxC,AALA,EACE,kBAAC,GAAD;GAAO,SAAQ;GAAgB,YAAY;aAAM;EAE1C,CAAA,CACT,GACA,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,YAAY,oBAAoB;CACzE,CAAC;AACH,CAAC"}
@@ -1,5 +1,6 @@
1
- import { t as e } from "../../MetaDataBar-48J7yPrb.js";
2
- import { i as t, n } from "../../react.esm-DwWzhs9e.js";
1
+ import { s as e } from "../../dom.esm-S0SD0DBW.js";
2
+ import { t } from "../../MetaDataBar-48J7yPrb.js";
3
+ import { n } from "../../react.esm-D50lAl1F.js";
3
4
  import { jsx as r } from "react/jsx-runtime";
4
5
  //#region src/components/MetaDataBar/MetaDataBar.test.tsx
5
6
  jest.mock("components/Icon", () => ({ Icon: ({ name: e }) => /* @__PURE__ */ r("span", {
@@ -15,9 +16,9 @@ var i = [{
15
16
  }];
16
17
  describe("MetaDataBar", () => {
17
18
  it("renders correctly with content items", () => {
18
- n(/* @__PURE__ */ r(e, { itemData: i })), expect(t.getByText("AcademicCap")).toBeInTheDocument(), expect(t.getByText("Jedi Academy")).toBeInTheDocument(), expect(t.getByText("User")).toBeInTheDocument(), expect(t.getByText("Luuk Hemelwandelaar")).toBeInTheDocument(), expect(t.getAllByTestId("icon")).toHaveLength(i.length);
19
+ n(/* @__PURE__ */ r(t, { itemData: i })), expect(e.getByText("AcademicCap")).toBeInTheDocument(), expect(e.getByText("Jedi Academy")).toBeInTheDocument(), expect(e.getByText("User")).toBeInTheDocument(), expect(e.getByText("Luuk Hemelwandelaar")).toBeInTheDocument(), expect(e.getAllByTestId("icon")).toHaveLength(i.length);
19
20
  }), it("renders nothing when content is empty", () => {
20
- n(/* @__PURE__ */ r(e, { itemData: [] })), expect(t.queryByTestId("icon")).not.toBeInTheDocument(), expect(t.queryByText(/.+/)).not.toBeInTheDocument();
21
+ n(/* @__PURE__ */ r(t, { itemData: [] })), expect(e.queryByTestId("icon")).not.toBeInTheDocument(), expect(e.queryByText(/.+/)).not.toBeInTheDocument();
21
22
  });
22
23
  });
23
24
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"MetaDataBar.test.js","names":[],"sources":["../../../src/components/MetaDataBar/MetaDataBar.test.tsx"],"sourcesContent":["import { render, screen } from '@testing-library/react';\n\nimport type { IconProps } from 'components/Icon';\n\nimport { MetaDataBar } from './MetaDataBar';\n\njest.mock('components/Icon', () => ({\n Icon: ({ name }: { name: IconProps['name'] }) => <span data-testid=\"icon\">{name}</span>,\n}));\n\nconst mockItemData = [\n { iconName: 'AcademicCap' as IconProps['name'], itemLabel: 'Jedi Academy' },\n { iconName: 'User' as IconProps['name'], itemLabel: 'Luuk Hemelwandelaar' },\n];\n\ndescribe('MetaDataBar', () => {\n it('renders correctly with content items', () => {\n render(<MetaDataBar itemData={mockItemData} />);\n\n expect(screen.getByText('AcademicCap')).toBeInTheDocument();\n expect(screen.getByText('Jedi Academy')).toBeInTheDocument();\n expect(screen.getByText('User')).toBeInTheDocument();\n expect(screen.getByText('Luuk Hemelwandelaar')).toBeInTheDocument();\n\n expect(screen.getAllByTestId('icon')).toHaveLength(mockItemData.length);\n });\n\n it('renders nothing when content is empty', () => {\n render(<MetaDataBar itemData={[]} />);\n expect(screen.queryByTestId('icon')).not.toBeInTheDocument();\n expect(screen.queryByText(/.+/)).not.toBeInTheDocument();\n });\n});\n"],"mappings":";;;;AAMA,KAAK,KAAK,0BAA0B,EAClC,OAAO,EAAE,cAAwC,kBAAC,QAAD;CAAM,eAAY;WAAQ;AAAW,CAAA,EACxF,EAAE;AAEF,IAAM,IAAe,CACnB;CAAE,UAAU;CAAoC,WAAW;AAAe,GAC1E;CAAE,UAAU;CAA6B,WAAW;AAAsB,CAC5E;AAEA,SAAS,qBAAqB;CAY5B,AAXA,GAAG,8CAA8C;EAQ/C,AAPA,EAAO,kBAAC,GAAD,EAAa,UAAU,EAAe,CAAA,CAAC,GAE9C,OAAO,EAAO,UAAU,aAAa,CAAC,CAAC,CAAC,kBAAkB,GAC1D,OAAO,EAAO,UAAU,cAAc,CAAC,CAAC,CAAC,kBAAkB,GAC3D,OAAO,EAAO,UAAU,MAAM,CAAC,CAAC,CAAC,kBAAkB,GACnD,OAAO,EAAO,UAAU,qBAAqB,CAAC,CAAC,CAAC,kBAAkB,GAElE,OAAO,EAAO,eAAe,MAAM,CAAC,CAAC,CAAC,aAAa,EAAa,MAAM;CACxE,CAAC,GAED,GAAG,+CAA+C;EAGhD,AAFA,EAAO,kBAAC,GAAD,EAAa,UAAU,CAAC,EAAI,CAAA,CAAC,GACpC,OAAO,EAAO,cAAc,MAAM,CAAC,CAAC,CAAC,IAAI,kBAAkB,GAC3D,OAAO,EAAO,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,kBAAkB;CACzD,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"MetaDataBar.test.js","names":[],"sources":["../../../src/components/MetaDataBar/MetaDataBar.test.tsx"],"sourcesContent":["import { render, screen } from '@testing-library/react';\n\nimport type { IconProps } from 'components/Icon';\n\nimport { MetaDataBar } from './MetaDataBar';\n\njest.mock('components/Icon', () => ({\n Icon: ({ name }: { name: IconProps['name'] }) => <span data-testid=\"icon\">{name}</span>,\n}));\n\nconst mockItemData = [\n { iconName: 'AcademicCap' as IconProps['name'], itemLabel: 'Jedi Academy' },\n { iconName: 'User' as IconProps['name'], itemLabel: 'Luuk Hemelwandelaar' },\n];\n\ndescribe('MetaDataBar', () => {\n it('renders correctly with content items', () => {\n render(<MetaDataBar itemData={mockItemData} />);\n\n expect(screen.getByText('AcademicCap')).toBeInTheDocument();\n expect(screen.getByText('Jedi Academy')).toBeInTheDocument();\n expect(screen.getByText('User')).toBeInTheDocument();\n expect(screen.getByText('Luuk Hemelwandelaar')).toBeInTheDocument();\n\n expect(screen.getAllByTestId('icon')).toHaveLength(mockItemData.length);\n });\n\n it('renders nothing when content is empty', () => {\n render(<MetaDataBar itemData={[]} />);\n expect(screen.queryByTestId('icon')).not.toBeInTheDocument();\n expect(screen.queryByText(/.+/)).not.toBeInTheDocument();\n });\n});\n"],"mappings":";;;;;AAMA,KAAK,KAAK,0BAA0B,EAClC,OAAO,EAAE,cAAwC,kBAAC,QAAD;CAAM,eAAY;WAAQ;AAAW,CAAA,EACxF,EAAE;AAEF,IAAM,IAAe,CACnB;CAAE,UAAU;CAAoC,WAAW;AAAe,GAC1E;CAAE,UAAU;CAA6B,WAAW;AAAsB,CAC5E;AAEA,SAAS,qBAAqB;CAY5B,AAXA,GAAG,8CAA8C;EAQ/C,AAPA,EAAO,kBAAC,GAAD,EAAa,UAAU,EAAe,CAAA,CAAC,GAE9C,OAAO,EAAO,UAAU,aAAa,CAAC,CAAC,CAAC,kBAAkB,GAC1D,OAAO,EAAO,UAAU,cAAc,CAAC,CAAC,CAAC,kBAAkB,GAC3D,OAAO,EAAO,UAAU,MAAM,CAAC,CAAC,CAAC,kBAAkB,GACnD,OAAO,EAAO,UAAU,qBAAqB,CAAC,CAAC,CAAC,kBAAkB,GAElE,OAAO,EAAO,eAAe,MAAM,CAAC,CAAC,CAAC,aAAa,EAAa,MAAM;CACxE,CAAC,GAED,GAAG,+CAA+C;EAGhD,AAFA,EAAO,kBAAC,GAAD,EAAa,UAAU,CAAC,EAAI,CAAA,CAAC,GACpC,OAAO,EAAO,cAAc,MAAM,CAAC,CAAC,CAAC,IAAI,kBAAkB,GAC3D,OAAO,EAAO,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,kBAAkB;CACzD,CAAC;AACH,CAAC"}
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { Button as t } from "../Buttons/Button.js";
3
3
  import { t as n } from "../../ButtonGroup-D2z5UWTR.js";
4
4
  import { t as r } from "../../Label-52ny6d06.js";
@@ -1,2 +1,2 @@
1
- import { f as e } from "../../components-CgBF6db6.js";
1
+ import { f as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as MultiSelect };
@@ -1,5 +1,5 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
2
- import { f as t } from "../../components-CgBF6db6.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
+ import { f as t } from "../../components-D2rPfyIW.js";
3
3
  import { t as n } from "../../Container-DOcrVe7u.js";
4
4
  import "../../storyComponents/Container/index.js";
5
5
  import { useState as r } from "react";
@@ -1,2 +1,2 @@
1
- import { p as e } from "../../../components-CgBF6db6.js";
1
+ import { p as e } from "../../../components-D2rPfyIW.js";
2
2
  export { e as MultiSelectHeader };
@@ -1,2 +1,2 @@
1
- import { f as e } from "../../components-CgBF6db6.js";
1
+ import { f as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as MultiSelect };
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { t } from "../../MultiSelectBox-D34qAgzc.js";
3
3
  import { useState as n } from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
@@ -1,6 +1,7 @@
1
- import "../../dist-oLwM--0y.js";
2
- import { t as e } from "../../MultiSelectBox-D34qAgzc.js";
3
- import { i as t, n, t as r } from "../../react.esm-DwWzhs9e.js";
1
+ import { s as e } from "../../dom.esm-S0SD0DBW.js";
2
+ import "../../dist-CuwCMU7Y.js";
3
+ import { t } from "../../MultiSelectBox-D34qAgzc.js";
4
+ import { n, t as r } from "../../react.esm-D50lAl1F.js";
4
5
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
5
6
  //#region src/components/MultiSelectBox/MultiSelectBox.test.tsx
6
7
  var s = jest.fn(), c = [
@@ -19,23 +20,23 @@ var s = jest.fn(), c = [
19
20
  ];
20
21
  describe("MultiSelectBox", () => {
21
22
  it("renders the component with default props", () => {
22
- n(/* @__PURE__ */ a(e, {
23
+ n(/* @__PURE__ */ a(t, {
23
24
  selectData: c,
24
25
  onChange: s,
25
26
  labelSuffix: "selected"
26
27
  }));
27
- let r = t.getByRole("button");
28
+ let r = e.getByRole("button");
28
29
  expect(r).toBeInTheDocument(), expect(r).toHaveAttribute("aria-expanded", "false");
29
30
  }), it("opens the dropdown when the button is clicked", () => {
30
- n(/* @__PURE__ */ a(e, {
31
+ n(/* @__PURE__ */ a(t, {
31
32
  selectData: c,
32
33
  onChange: s,
33
34
  labelSuffix: "selected"
34
35
  }));
35
- let i = t.getByRole("button");
36
- r.click(i), expect(i).toHaveAttribute("aria-expanded", "true"), expect(t.getByRole("listbox")).toBeInTheDocument();
36
+ let i = e.getByRole("button");
37
+ r.click(i), expect(i).toHaveAttribute("aria-expanded", "true"), expect(e.getByRole("listbox")).toBeInTheDocument();
37
38
  }), it("closes the dropdown when clicking outside", () => {
38
- n(/* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(e, {
39
+ n(/* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(t, {
39
40
  selectData: c,
40
41
  onChange: s,
41
42
  labelSuffix: "selected"
@@ -43,9 +44,9 @@ describe("MultiSelectBox", () => {
43
44
  "data-testid": "outside-element",
44
45
  children: "Outside"
45
46
  })] }));
46
- let l = t.getByRole("button");
47
+ let l = e.getByRole("button");
47
48
  r.click(l), expect(l).toHaveAttribute("aria-expanded", "true");
48
- let u = t.getByTestId("outside-element");
49
+ let u = e.getByTestId("outside-element");
49
50
  r.click(u), expect(l).toHaveAttribute("aria-expanded", "false");
50
51
  });
51
52
  });
@@ -1 +1 @@
1
- {"version":3,"file":"MultiSelectBox.test.js","names":[],"sources":["../../../src/components/MultiSelectBox/MultiSelectBox.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen, fireEvent } from '@testing-library/react';\n\nimport { MultiSelectBox } from './MultiSelectBox';\n\nconst onChangeSpy = jest.fn();\n\nconst mockSelectData = [\n { label: 'Option 1', value: '1' },\n { label: 'Option 2', value: '2' },\n { label: 'Option 3', value: '3' },\n];\n\ndescribe('MultiSelectBox', () => {\n it('renders the component with default props', () => {\n render(<MultiSelectBox selectData={mockSelectData} onChange={onChangeSpy} labelSuffix=\"selected\" />);\n const button = screen.getByRole('button');\n expect(button).toBeInTheDocument();\n expect(button).toHaveAttribute('aria-expanded', 'false');\n });\n\n it('opens the dropdown when the button is clicked', () => {\n render(<MultiSelectBox selectData={mockSelectData} onChange={onChangeSpy} labelSuffix=\"selected\" />);\n const button = screen.getByRole('button');\n fireEvent.click(button);\n expect(button).toHaveAttribute('aria-expanded', 'true');\n expect(screen.getByRole('listbox')).toBeInTheDocument();\n });\n\n it('closes the dropdown when clicking outside', () => {\n render(\n <>\n <MultiSelectBox selectData={mockSelectData} onChange={onChangeSpy} labelSuffix=\"selected\" />\n <div data-testid=\"outside-element\">Outside</div>\n </>\n );\n\n const button = screen.getByRole('button');\n fireEvent.click(button);\n expect(button).toHaveAttribute('aria-expanded', 'true');\n const outsideElement = screen.getByTestId('outside-element');\n fireEvent.click(outsideElement);\n expect(button).toHaveAttribute('aria-expanded', 'false');\n });\n});\n"],"mappings":";;;;;AAKA,IAAM,IAAc,KAAK,GAAG,GAEtB,IAAiB;CACrB;EAAE,OAAO;EAAY,OAAO;CAAI;CAChC;EAAE,OAAO;EAAY,OAAO;CAAI;CAChC;EAAE,OAAO;EAAY,OAAO;CAAI;AAClC;AAEA,SAAS,wBAAwB;CAgB/B,AAfA,GAAG,kDAAkD;EACnD,EAAO,kBAAC,GAAD;GAAgB,YAAY;GAAgB,UAAU;GAAa,aAAY;EAAY,CAAA,CAAC;EACnG,IAAM,IAAS,EAAO,UAAU,QAAQ;EAExC,AADA,OAAO,CAAM,CAAC,CAAC,kBAAkB,GACjC,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,OAAO;CACzD,CAAC,GAED,GAAG,uDAAuD;EACxD,EAAO,kBAAC,GAAD;GAAgB,YAAY;GAAgB,UAAU;GAAa,aAAY;EAAY,CAAA,CAAC;EACnG,IAAM,IAAS,EAAO,UAAU,QAAQ;EAGxC,AAFA,EAAU,MAAM,CAAM,GACtB,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,MAAM,GACtD,OAAO,EAAO,UAAU,SAAS,CAAC,CAAC,CAAC,kBAAkB;CACxD,CAAC,GAED,GAAG,mDAAmD;EACpD,EACE,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,GAAD;GAAgB,YAAY;GAAgB,UAAU;GAAa,aAAY;EAAY,CAAA,GAC3F,kBAAC,OAAD;GAAK,eAAY;aAAkB;EAAY,CAAA,CAC/C,EAAA,CAAA,CACJ;EAEA,IAAM,IAAS,EAAO,UAAU,QAAQ;EAExC,AADA,EAAU,MAAM,CAAM,GACtB,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,MAAM;EACtD,IAAM,IAAiB,EAAO,YAAY,iBAAiB;EAE3D,AADA,EAAU,MAAM,CAAc,GAC9B,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,OAAO;CACzD,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"MultiSelectBox.test.js","names":[],"sources":["../../../src/components/MultiSelectBox/MultiSelectBox.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen, fireEvent } from '@testing-library/react';\n\nimport { MultiSelectBox } from './MultiSelectBox';\n\nconst onChangeSpy = jest.fn();\n\nconst mockSelectData = [\n { label: 'Option 1', value: '1' },\n { label: 'Option 2', value: '2' },\n { label: 'Option 3', value: '3' },\n];\n\ndescribe('MultiSelectBox', () => {\n it('renders the component with default props', () => {\n render(<MultiSelectBox selectData={mockSelectData} onChange={onChangeSpy} labelSuffix=\"selected\" />);\n const button = screen.getByRole('button');\n expect(button).toBeInTheDocument();\n expect(button).toHaveAttribute('aria-expanded', 'false');\n });\n\n it('opens the dropdown when the button is clicked', () => {\n render(<MultiSelectBox selectData={mockSelectData} onChange={onChangeSpy} labelSuffix=\"selected\" />);\n const button = screen.getByRole('button');\n fireEvent.click(button);\n expect(button).toHaveAttribute('aria-expanded', 'true');\n expect(screen.getByRole('listbox')).toBeInTheDocument();\n });\n\n it('closes the dropdown when clicking outside', () => {\n render(\n <>\n <MultiSelectBox selectData={mockSelectData} onChange={onChangeSpy} labelSuffix=\"selected\" />\n <div data-testid=\"outside-element\">Outside</div>\n </>\n );\n\n const button = screen.getByRole('button');\n fireEvent.click(button);\n expect(button).toHaveAttribute('aria-expanded', 'true');\n const outsideElement = screen.getByTestId('outside-element');\n fireEvent.click(outsideElement);\n expect(button).toHaveAttribute('aria-expanded', 'false');\n });\n});\n"],"mappings":";;;;;;AAKA,IAAM,IAAc,KAAK,GAAG,GAEtB,IAAiB;CACrB;EAAE,OAAO;EAAY,OAAO;CAAI;CAChC;EAAE,OAAO;EAAY,OAAO;CAAI;CAChC;EAAE,OAAO;EAAY,OAAO;CAAI;AAClC;AAEA,SAAS,wBAAwB;CAgB/B,AAfA,GAAG,kDAAkD;EACnD,EAAO,kBAAC,GAAD;GAAgB,YAAY;GAAgB,UAAU;GAAa,aAAY;EAAY,CAAA,CAAC;EACnG,IAAM,IAAS,EAAO,UAAU,QAAQ;EAExC,AADA,OAAO,CAAM,CAAC,CAAC,kBAAkB,GACjC,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,OAAO;CACzD,CAAC,GAED,GAAG,uDAAuD;EACxD,EAAO,kBAAC,GAAD;GAAgB,YAAY;GAAgB,UAAU;GAAa,aAAY;EAAY,CAAA,CAAC;EACnG,IAAM,IAAS,EAAO,UAAU,QAAQ;EAGxC,AAFA,EAAU,MAAM,CAAM,GACtB,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,MAAM,GACtD,OAAO,EAAO,UAAU,SAAS,CAAC,CAAC,CAAC,kBAAkB;CACxD,CAAC,GAED,GAAG,mDAAmD;EACpD,EACE,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,GAAD;GAAgB,YAAY;GAAgB,UAAU;GAAa,aAAY;EAAY,CAAA,GAC3F,kBAAC,OAAD;GAAK,eAAY;aAAkB;EAAY,CAAA,CAC/C,EAAA,CAAA,CACJ;EAEA,IAAM,IAAS,EAAO,UAAU,QAAQ;EAExC,AADA,EAAU,MAAM,CAAM,GACtB,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,MAAM;EACtD,IAAM,IAAiB,EAAO,YAAY,iBAAiB;EAE3D,AADA,EAAU,MAAM,CAAc,GAC9B,OAAO,CAAM,CAAC,CAAC,gBAAgB,iBAAiB,OAAO;CACzD,CAAC;AACH,CAAC"}
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { t } from "../../Notification-BhqWENfu.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  var r = {
@@ -1,21 +1,22 @@
1
- import "../../dist-oLwM--0y.js";
2
- import { t as e } from "../../Notification-BhqWENfu.js";
3
- import { i as t, n } from "../../react.esm-DwWzhs9e.js";
1
+ import { s as e } from "../../dom.esm-S0SD0DBW.js";
2
+ import "../../dist-CuwCMU7Y.js";
3
+ import { t } from "../../Notification-BhqWENfu.js";
4
+ import { n } from "../../react.esm-D50lAl1F.js";
4
5
  import { jsx as r } from "react/jsx-runtime";
5
6
  //#region src/components/Notification/Notification.test.tsx
6
7
  describe("Notification", () => {
7
8
  it("renders title and subtitle", () => {
8
- n(/* @__PURE__ */ r(e, {
9
+ n(/* @__PURE__ */ r(t, {
9
10
  level: "information",
10
11
  title: "Info title",
11
12
  subtitle: "Info subtitle"
12
- })), expect(t.getByText("Info title")).toBeInTheDocument(), expect(t.getByText("Info subtitle")).toBeInTheDocument();
13
+ })), expect(e.getByText("Info title")).toBeInTheDocument(), expect(e.getByText("Info subtitle")).toBeInTheDocument();
13
14
  }), it("renders bar variant", () => {
14
- n(/* @__PURE__ */ r(e, {
15
+ n(/* @__PURE__ */ r(t, {
15
16
  level: "danger",
16
17
  variant: "bar",
17
18
  title: "Danger title"
18
- })), expect(t.getByText("Danger title")).toBeInTheDocument();
19
+ })), expect(e.getByText("Danger title")).toBeInTheDocument();
19
20
  });
20
21
  });
21
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.test.js","names":[],"sources":["../../../src/components/Notification/Notification.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen } from '@testing-library/react';\n\nimport { Notification } from './Notification';\n\ndescribe('Notification', () => {\n it('renders title and subtitle', () => {\n render(<Notification level=\"information\" title=\"Info title\" subtitle=\"Info subtitle\" />);\n expect(screen.getByText('Info title')).toBeInTheDocument();\n expect(screen.getByText('Info subtitle')).toBeInTheDocument();\n });\n\n it('renders bar variant', () => {\n render(<Notification level=\"danger\" variant=\"bar\" title=\"Danger title\" />);\n expect(screen.getByText('Danger title')).toBeInTheDocument();\n });\n});\n"],"mappings":";;;;;AAKA,SAAS,sBAAsB;CAO7B,AANA,GAAG,oCAAoC;EAGrC,AAFA,EAAO,kBAAC,GAAD;GAAc,OAAM;GAAc,OAAM;GAAa,UAAS;EAAiB,CAAA,CAAC,GACvF,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,kBAAkB,GACzD,OAAO,EAAO,UAAU,eAAe,CAAC,CAAC,CAAC,kBAAkB;CAC9D,CAAC,GAED,GAAG,6BAA6B;EAE9B,AADA,EAAO,kBAAC,GAAD;GAAc,OAAM;GAAS,SAAQ;GAAM,OAAM;EAAgB,CAAA,CAAC,GACzE,OAAO,EAAO,UAAU,cAAc,CAAC,CAAC,CAAC,kBAAkB;CAC7D,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"Notification.test.js","names":[],"sources":["../../../src/components/Notification/Notification.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen } from '@testing-library/react';\n\nimport { Notification } from './Notification';\n\ndescribe('Notification', () => {\n it('renders title and subtitle', () => {\n render(<Notification level=\"information\" title=\"Info title\" subtitle=\"Info subtitle\" />);\n expect(screen.getByText('Info title')).toBeInTheDocument();\n expect(screen.getByText('Info subtitle')).toBeInTheDocument();\n });\n\n it('renders bar variant', () => {\n render(<Notification level=\"danger\" variant=\"bar\" title=\"Danger title\" />);\n expect(screen.getByText('Danger title')).toBeInTheDocument();\n });\n});\n"],"mappings":";;;;;;AAKA,SAAS,sBAAsB;CAO7B,AANA,GAAG,oCAAoC;EAGrC,AAFA,EAAO,kBAAC,GAAD;GAAc,OAAM;GAAc,OAAM;GAAa,UAAS;EAAiB,CAAA,CAAC,GACvF,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,kBAAkB,GACzD,OAAO,EAAO,UAAU,eAAe,CAAC,CAAC,CAAC,kBAAkB;CAC9D,CAAC,GAED,GAAG,6BAA6B;EAE9B,AADA,EAAO,kBAAC,GAAD;GAAc,OAAM;GAAS,SAAQ;GAAM,OAAM;EAAgB,CAAA,CAAC,GACzE,OAAO,EAAO,UAAU,cAAc,CAAC,CAAC,CAAC,kBAAkB;CAC7D,CAAC;AACH,CAAC"}
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { t } from "../../OverlayCloseButton-Dt6Yec8G.js";
3
3
  import { t as n } from "../../Container-DOcrVe7u.js";
4
4
  import "../../storyComponents/Container/index.js";
@@ -1,6 +1,6 @@
1
1
  import { Button as e } from "../Buttons/Button.js";
2
2
  import { t } from "../../ButtonGroup-D2z5UWTR.js";
3
- import { t as n } from "../../Repeater-BAEfOMZI.js";
3
+ import { t as n } from "../../Repeater-DUo13Mq6.js";
4
4
  import { GridRow as r } from "../GridRow/GridRow.js";
5
5
  import { t as i } from "../../InputField-asFsxHvx.js";
6
6
  import { t as a } from "../../PageOverlay-BR9ypiar.js";
@@ -1,2 +1,2 @@
1
- import { d as e } from "../../components-CgBF6db6.js";
1
+ import { d as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as PeriodSelector };
@@ -1,5 +1,5 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
2
- import { d as t } from "../../components-CgBF6db6.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
+ import { d as t } from "../../components-D2rPfyIW.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  var r = {
5
5
  title: "Organisms/PeriodSelector",
@@ -1,2 +1,2 @@
1
- import { d as e } from "../../components-CgBF6db6.js";
1
+ import { d as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as PeriodSelector };
@@ -1,5 +1,5 @@
1
1
  import { Icon as e } from "../Icon/Icon.js";
2
- import { t } from "../../Repeater-BAEfOMZI.js";
2
+ import { t } from "../../Repeater-DUo13Mq6.js";
3
3
  import { t as n } from "../../ProgrammeCard-DdCFNx0d.js";
4
4
  import { t as r } from "../../Container-DOcrVe7u.js";
5
5
  import "../../storyComponents/Container/index.js";
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
2
  import { t } from "../../RadioGroup-DlQjMmpa.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  var r = {
@@ -1,6 +1,7 @@
1
- import "../../dist-oLwM--0y.js";
2
- import { t as e } from "../../RadioGroup-DlQjMmpa.js";
3
- import { i as t, n, t as r } from "../../react.esm-DwWzhs9e.js";
1
+ import { s as e } from "../../dom.esm-S0SD0DBW.js";
2
+ import "../../dist-CuwCMU7Y.js";
3
+ import { t } from "../../RadioGroup-DlQjMmpa.js";
4
+ import { n, t as r } from "../../react.esm-D50lAl1F.js";
4
5
  import { jsx as i } from "react/jsx-runtime";
5
6
  //#region src/components/RadioGroup/Radiogroup.test.tsx
6
7
  var a = [{
@@ -14,29 +15,29 @@ var a = [{
14
15
  }];
15
16
  describe("RadioGroup", () => {
16
17
  it("should render correctly", () => {
17
- n(/* @__PURE__ */ i(e, {
18
+ n(/* @__PURE__ */ i(t, {
18
19
  label: "Test Label",
19
20
  options: a,
20
21
  onChange: jest.fn()
21
- })), expect(t.getByText("Test Label")).toBeInTheDocument(), expect(t.getByText("Option 1")).toBeInTheDocument(), expect(t.getByText("Option 2")).toBeInTheDocument();
22
+ })), expect(e.getByText("Test Label")).toBeInTheDocument(), expect(e.getByText("Option 1")).toBeInTheDocument(), expect(e.getByText("Option 2")).toBeInTheDocument();
22
23
  }), it("should call onChange when an option is selected", () => {
23
24
  let o = jest.fn();
24
- n(/* @__PURE__ */ i(e, {
25
+ n(/* @__PURE__ */ i(t, {
25
26
  label: "Test Label",
26
27
  options: a,
27
28
  onChange: o
28
29
  }));
29
- let s = t.getByLabelText("Option 1");
30
+ let s = e.getByLabelText("Option 1");
30
31
  r.click(s), expect(o).toHaveBeenCalledWith("option1");
31
32
  }), it("should not allow selection when disabled", () => {
32
33
  let o = jest.fn();
33
- n(/* @__PURE__ */ i(e, {
34
+ n(/* @__PURE__ */ i(t, {
34
35
  label: "Test Label",
35
36
  options: a,
36
37
  onChange: o,
37
38
  disabled: !0
38
39
  }));
39
- let s = t.getByLabelText("Option 1");
40
+ let s = e.getByLabelText("Option 1");
40
41
  r.click(s), expect(o).not.toHaveBeenCalled();
41
42
  });
42
43
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Radiogroup.test.js","names":[],"sources":["../../../src/components/RadioGroup/Radiogroup.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen, fireEvent } from '@testing-library/react';\n\nimport { RadioGroup } from './RadioGroup';\n\nconst options = [\n { id: '1', titleLabel: 'Option 1', value: 'option1' },\n { id: '2', titleLabel: 'Option 2', value: 'option2' },\n];\n\ndescribe('RadioGroup', () => {\n it('should render correctly', () => {\n render(<RadioGroup label=\"Test Label\" options={options} onChange={jest.fn()} />);\n expect(screen.getByText('Test Label')).toBeInTheDocument();\n expect(screen.getByText('Option 1')).toBeInTheDocument();\n expect(screen.getByText('Option 2')).toBeInTheDocument();\n });\n\n it('should call onChange when an option is selected', () => {\n const handleChange = jest.fn();\n render(<RadioGroup label=\"Test Label\" options={options} onChange={handleChange} />);\n\n const option1 = screen.getByLabelText('Option 1');\n fireEvent.click(option1);\n expect(handleChange).toHaveBeenCalledWith('option1');\n });\n\n it('should not allow selection when disabled', () => {\n const handleChange = jest.fn();\n render(<RadioGroup label=\"Test Label\" options={options} onChange={handleChange} disabled />);\n\n const option1 = screen.getByLabelText('Option 1');\n fireEvent.click(option1);\n expect(handleChange).not.toHaveBeenCalled();\n });\n});\n"],"mappings":";;;;;AAKA,IAAM,IAAU,CACd;CAAE,IAAI;CAAK,YAAY;CAAY,OAAO;AAAU,GACpD;CAAE,IAAI;CAAK,YAAY;CAAY,OAAO;AAAU,CACtD;AAEA,SAAS,oBAAoB;CAiB3B,AAhBA,GAAG,iCAAiC;EAIlC,AAHA,EAAO,kBAAC,GAAD;GAAY,OAAM;GAAsB;GAAS,UAAU,KAAK,GAAG;EAAI,CAAA,CAAC,GAC/E,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,kBAAkB,GACzD,OAAO,EAAO,UAAU,UAAU,CAAC,CAAC,CAAC,kBAAkB,GACvD,OAAO,EAAO,UAAU,UAAU,CAAC,CAAC,CAAC,kBAAkB;CACzD,CAAC,GAED,GAAG,yDAAyD;EAC1D,IAAM,IAAe,KAAK,GAAG;EAC7B,EAAO,kBAAC,GAAD;GAAY,OAAM;GAAsB;GAAS,UAAU;EAAe,CAAA,CAAC;EAElF,IAAM,IAAU,EAAO,eAAe,UAAU;EAEhD,AADA,EAAU,MAAM,CAAO,GACvB,OAAO,CAAY,CAAC,CAAC,qBAAqB,SAAS;CACrD,CAAC,GAED,GAAG,kDAAkD;EACnD,IAAM,IAAe,KAAK,GAAG;EAC7B,EAAO,kBAAC,GAAD;GAAY,OAAM;GAAsB;GAAS,UAAU;GAAc,UAAA;EAAU,CAAA,CAAC;EAE3F,IAAM,IAAU,EAAO,eAAe,UAAU;EAEhD,AADA,EAAU,MAAM,CAAO,GACvB,OAAO,CAAY,CAAC,CAAC,IAAI,iBAAiB;CAC5C,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"Radiogroup.test.js","names":[],"sources":["../../../src/components/RadioGroup/Radiogroup.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { render, screen, fireEvent } from '@testing-library/react';\n\nimport { RadioGroup } from './RadioGroup';\n\nconst options = [\n { id: '1', titleLabel: 'Option 1', value: 'option1' },\n { id: '2', titleLabel: 'Option 2', value: 'option2' },\n];\n\ndescribe('RadioGroup', () => {\n it('should render correctly', () => {\n render(<RadioGroup label=\"Test Label\" options={options} onChange={jest.fn()} />);\n expect(screen.getByText('Test Label')).toBeInTheDocument();\n expect(screen.getByText('Option 1')).toBeInTheDocument();\n expect(screen.getByText('Option 2')).toBeInTheDocument();\n });\n\n it('should call onChange when an option is selected', () => {\n const handleChange = jest.fn();\n render(<RadioGroup label=\"Test Label\" options={options} onChange={handleChange} />);\n\n const option1 = screen.getByLabelText('Option 1');\n fireEvent.click(option1);\n expect(handleChange).toHaveBeenCalledWith('option1');\n });\n\n it('should not allow selection when disabled', () => {\n const handleChange = jest.fn();\n render(<RadioGroup label=\"Test Label\" options={options} onChange={handleChange} disabled />);\n\n const option1 = screen.getByLabelText('Option 1');\n fireEvent.click(option1);\n expect(handleChange).not.toHaveBeenCalled();\n });\n});\n"],"mappings":";;;;;;AAKA,IAAM,IAAU,CACd;CAAE,IAAI;CAAK,YAAY;CAAY,OAAO;AAAU,GACpD;CAAE,IAAI;CAAK,YAAY;CAAY,OAAO;AAAU,CACtD;AAEA,SAAS,oBAAoB;CAiB3B,AAhBA,GAAG,iCAAiC;EAIlC,AAHA,EAAO,kBAAC,GAAD;GAAY,OAAM;GAAsB;GAAS,UAAU,KAAK,GAAG;EAAI,CAAA,CAAC,GAC/E,OAAO,EAAO,UAAU,YAAY,CAAC,CAAC,CAAC,kBAAkB,GACzD,OAAO,EAAO,UAAU,UAAU,CAAC,CAAC,CAAC,kBAAkB,GACvD,OAAO,EAAO,UAAU,UAAU,CAAC,CAAC,CAAC,kBAAkB;CACzD,CAAC,GAED,GAAG,yDAAyD;EAC1D,IAAM,IAAe,KAAK,GAAG;EAC7B,EAAO,kBAAC,GAAD;GAAY,OAAM;GAAsB;GAAS,UAAU;EAAe,CAAA,CAAC;EAElF,IAAM,IAAU,EAAO,eAAe,UAAU;EAEhD,AADA,EAAU,MAAM,CAAO,GACvB,OAAO,CAAY,CAAC,CAAC,qBAAqB,SAAS;CACrD,CAAC,GAED,GAAG,kDAAkD;EACnD,IAAM,IAAe,KAAK,GAAG;EAC7B,EAAO,kBAAC,GAAD;GAAY,OAAM;GAAsB;GAAS,UAAU;GAAc,UAAA;EAAU,CAAA,CAAC;EAE3F,IAAM,IAAU,EAAO,eAAe,UAAU;EAEhD,AADA,EAAU,MAAM,CAAO,GACvB,OAAO,CAAY,CAAC,CAAC,IAAI,iBAAiB;CAC5C,CAAC;AACH,CAAC"}
@@ -1,2 +1,2 @@
1
- import { u as e } from "../../components-CgBF6db6.js";
1
+ import { u as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as RadioTabSelector };
@@ -1,5 +1,5 @@
1
- import { r as e } from "../../test-Gtly6H2f.js";
2
- import { u as t } from "../../components-CgBF6db6.js";
1
+ import { r as e } from "../../test-BjtC-Q32.js";
2
+ import { u as t } from "../../components-D2rPfyIW.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  var r = {
5
5
  title: "Molecules/RadioTabSelector",
@@ -1,2 +1,2 @@
1
- import { u as e } from "../../components-CgBF6db6.js";
1
+ import { u as e } from "../../components-D2rPfyIW.js";
2
2
  export { e as RadioTabSelector };
@@ -3,7 +3,7 @@ export interface RepeaterProps {
3
3
  /** The direction of the items. */
4
4
  flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
5
5
  /** The gap between the items. */
6
- gap?: '025' | '050' | '075' | '100' | '150' | '200';
6
+ gap?: '000' | '025' | '050' | '075' | '100' | '150' | '200';
7
7
  }
8
8
  /** Represents a component to show a list of items. */
9
9
  export declare const Repeater: ({ children, flexDirection, gap }: PropsWithChildren<RepeaterProps>) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Repeater-BAEfOMZI.js";
1
+ import { t as e } from "../../Repeater-DUo13Mq6.js";
2
2
  export { e as Repeater };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../Repeater-BAEfOMZI.js";
1
+ import { t as e } from "../../Repeater-DUo13Mq6.js";
2
2
  import { t } from "../../Container-DOcrVe7u.js";
3
3
  import "../../storyComponents/Container/index.js";
4
4
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Repeater-BAEfOMZI.js";
1
+ import { t as e } from "../../Repeater-DUo13Mq6.js";
2
2
  export { e as Repeater };
@@ -1,2 +1,2 @@
1
- import { r as e } from "../../../components-CgBF6db6.js";
1
+ import { r as e } from "../../../components-D2rPfyIW.js";
2
2
  export { e as EditorHeader };
@@ -1,2 +1,2 @@
1
- import { r as e } from "../../../components-CgBF6db6.js";
1
+ import { r as e } from "../../../components-D2rPfyIW.js";
2
2
  export { e as EditorHeader };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../../../../clsx-C67XSbzZ.js";
2
2
  import { Icon as t } from "../../../Icon/Icon.js";
3
3
  import { t as n } from "../../../../LexicalComposerContext.prod-D4HOlWII.js";
4
- import { K as r, gn as i, w as a } from "../../../../Lexical.prod-Dy5aDppc.js";
4
+ import { C as r, W as i, ln as a } from "../../../../Lexical.prod-BlUfEvo-.js";
5
5
  import { t as o } from "../../../../RteEditor.module-pWBasED2.js";
6
6
  import { useTranslation as s } from "../../hooks/useTranslation.js";
7
7
  import { useEffect as c, useState as l } from "react";
@@ -12,13 +12,13 @@ var d = {
12
12
  italic: "Italic"
13
13
  }, f = ["bold", "italic"], p = () => {
14
14
  let p = s(), [m] = n(), [h, g] = l(!1), [_, v] = l(!1), y = (e) => {
15
- m.dispatchCommand(a, e);
15
+ m.dispatchCommand(r, e);
16
16
  };
17
17
  return c(() => {
18
18
  let e = m.registerUpdateListener(({ editorState: e }) => {
19
19
  e.read(() => {
20
- let e = r();
21
- i(e) && (g(e.hasFormat("bold")), v(e.hasFormat("italic")));
20
+ let e = i();
21
+ a(e) && (g(e.hasFormat("bold")), v(e.hasFormat("italic")));
22
22
  });
23
23
  });
24
24
  return () => {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../../AddCatalogueLinkForm-Di0xm7Ep.js";
1
+ import { t as e } from "../../../../../AddCatalogueLinkForm-CvJoaUFz.js";
2
2
  export { e as AddCatalogueLinkForm };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../../AddCatalogueLinkForm-Di0xm7Ep.js";
1
+ import { t as e } from "../../../../../AddCatalogueLinkForm-CvJoaUFz.js";
2
2
  export { e as AddCatalogueLinkForm };