@uva-glass/component-library 3.19.1 → 3.19.3

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 (135) hide show
  1. package/dist/Button.module-BVsTgdTe.js +15 -0
  2. package/dist/Button.module-BVsTgdTe.js.map +1 -0
  3. package/dist/MultiSelectItem-DbOdEllV.js +24 -0
  4. package/dist/{MultiSelectItem-D9PxdX43.js.map → MultiSelectItem-DbOdEllV.js.map} +1 -1
  5. package/dist/RteEditor.module-45648CA2.js +41 -0
  6. package/dist/RteEditor.module-45648CA2.js.map +1 -0
  7. package/dist/{SelectListbox.module-ignbxWNU.js → SelectListbox.module-N3Kg0UvL.js} +21 -21
  8. package/dist/SelectListbox.module-N3Kg0UvL.js.map +1 -0
  9. package/dist/Sortable.module-CuvuQhr8.js +23 -0
  10. package/dist/Sortable.module-CuvuQhr8.js.map +1 -0
  11. package/dist/{SortableProvider-DZggDO3M.js → SortableProvider-B3_u0pKv.js} +2 -2
  12. package/dist/{SortableProvider-DZggDO3M.js.map → SortableProvider-B3_u0pKv.js.map} +1 -1
  13. package/dist/{TablePlugin-CE20cPhW.js → TablePlugin-hxs9O_ox.js} +28 -28
  14. package/dist/{TablePlugin-CE20cPhW.js.map → TablePlugin-hxs9O_ox.js.map} +1 -1
  15. package/dist/assets/AccordionCard.css +1 -1
  16. package/dist/assets/ActionList.css +1 -1
  17. package/dist/assets/AppStatusBar.css +1 -1
  18. package/dist/assets/Backdrop.css +1 -1
  19. package/dist/assets/Button.css +1 -1
  20. package/dist/assets/Card.css +1 -1
  21. package/dist/assets/Checkbox.css +1 -1
  22. package/dist/assets/CheckboxButton.css +1 -1
  23. package/dist/assets/CheckboxButtonBar.css +1 -1
  24. package/dist/assets/CheckboxTree.css +1 -1
  25. package/dist/assets/Chip.css +1 -1
  26. package/dist/assets/Drawer.css +1 -1
  27. package/dist/assets/EmptyStateDataDisplay.css +1 -1
  28. package/dist/assets/FeedbackBar.css +1 -1
  29. package/dist/assets/FeedbackBox.css +1 -1
  30. package/dist/assets/FormInput.css +1 -1
  31. package/dist/assets/Icon.css +1 -1
  32. package/dist/assets/IconButton.css +1 -1
  33. package/dist/assets/InfoMessage.css +1 -1
  34. package/dist/assets/Input.css +1 -1
  35. package/dist/assets/InputField.css +1 -1
  36. package/dist/assets/Label.css +1 -1
  37. package/dist/assets/LinkContextMenu.css +1 -1
  38. package/dist/assets/MetaDataList.css +1 -1
  39. package/dist/assets/ModalDialog.css +1 -1
  40. package/dist/assets/MultiSelectBox.css +1 -1
  41. package/dist/assets/MultiSelectItem.css +1 -1
  42. package/dist/assets/OverlayCloseButton.css +1 -1
  43. package/dist/assets/OverlayStepBar.css +1 -1
  44. package/dist/assets/PageOverlay.css +1 -1
  45. package/dist/assets/Periods.css +1 -1
  46. package/dist/assets/ProgrammeCard.css +1 -1
  47. package/dist/assets/RadioButton.css +1 -1
  48. package/dist/assets/RadioGroup.css +1 -1
  49. package/dist/assets/RteEditor.css +1 -1
  50. package/dist/assets/SectionNotification.css +1 -1
  51. package/dist/assets/SelectListbox.css +1 -1
  52. package/dist/assets/Sortable.css +1 -1
  53. package/dist/assets/Spinner.css +1 -1
  54. package/dist/assets/TableCellContextMenu.css +1 -1
  55. package/dist/assets/TablePlugin.css +1 -1
  56. package/dist/components/AccordionCard/AccordionCard.js +22 -22
  57. package/dist/components/ActionList/ActionList.js +14 -14
  58. package/dist/components/AppStatusBar/AppStatusBar.js +5 -5
  59. package/dist/components/Backdrop/Backdrop.js +5 -5
  60. package/dist/components/Buttons/Button.js +1 -1
  61. package/dist/components/Buttons/LinkButton.js +1 -1
  62. package/dist/components/Buttons/MenuButton.js +1 -1
  63. package/dist/components/Card/Card.js +23 -23
  64. package/dist/components/Checkbox/Checkbox.js +3 -3
  65. package/dist/components/CheckboxButton/CheckboxButton.js +21 -21
  66. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +20 -20
  67. package/dist/components/CheckboxTree/CheckboxTree.js +42 -42
  68. package/dist/components/Chip/Chip.js +8 -8
  69. package/dist/components/Drawer/Drawer.js +28 -28
  70. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +20 -20
  71. package/dist/components/FeedbackBar/FeedbackBar.js +15 -15
  72. package/dist/components/FeedbackBox/FeedbackBox.js +13 -13
  73. package/dist/components/FormInput/FormInput.js +21 -21
  74. package/dist/components/Icon/Icon.stories.js +9 -9
  75. package/dist/components/IconButton/IconButton.js +10 -10
  76. package/dist/components/InfoMessage/InfoMessage.js +5 -5
  77. package/dist/components/Input/Input.js +14 -14
  78. package/dist/components/InputField/InputField.js +40 -40
  79. package/dist/components/InputField/InputField.stories.js +2 -2
  80. package/dist/components/Label/Label.js +13 -13
  81. package/dist/components/MetaDataList/MetaDataList.js +4 -4
  82. package/dist/components/ModalDialog/ModalDialog.js +27 -27
  83. package/dist/components/MultiSelect/MultiSelect.js +2 -2
  84. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  85. package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -3
  86. package/dist/components/MultiSelect/components/MultiSelectItem.js +1 -1
  87. package/dist/components/MultiSelect/index.js +1 -1
  88. package/dist/components/MultiSelectBox/MultiSelectBox.js +33 -33
  89. package/dist/components/OverlayCloseButton/OverlayCloseButton.js +2 -2
  90. package/dist/components/OverlayStepBar/OverlayStepBar.js +6 -6
  91. package/dist/components/PageOverlay/PageOverlay.js +30 -30
  92. package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
  93. package/dist/components/Periods/Periods.js +16 -16
  94. package/dist/components/ProgrammeCard/ProgrammeCard.js +4 -4
  95. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
  96. package/dist/components/RadioButton/RadioButton.js +9 -9
  97. package/dist/components/RadioGroup/RadioGroup.js +27 -27
  98. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +2 -2
  99. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
  100. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -3
  101. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  102. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +23 -23
  103. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -3
  104. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +1 -1
  105. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
  106. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +37 -37
  107. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
  108. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  109. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +2 -2
  110. package/dist/components/RteEditor/Plugins/index.js +1 -1
  111. package/dist/components/RteEditor/RteEditor.js +3 -3
  112. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
  113. package/dist/components/SectionNotification/SectionNotification.js +2 -2
  114. package/dist/components/SelectListbox/components/SelectButton.js +1 -1
  115. package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
  116. package/dist/components/SelectListbox/components/SelectOption.js +1 -1
  117. package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
  118. package/dist/components/Sortable/Sortable.js +1 -1
  119. package/dist/components/Sortable/SortableProvider.js +1 -1
  120. package/dist/components/Sortable/components/SortableContainer.js +2 -2
  121. package/dist/components/Sortable/components/SortableHandle.js +1 -1
  122. package/dist/components/Sortable/components/SortableItem.js +2 -2
  123. package/dist/components/Spinner/Spinner.js +2 -2
  124. package/dist/components/Timeline/Timeline.test.js +2 -2
  125. package/dist/components/index.js +1 -1
  126. package/dist/index.js +1 -1
  127. package/package.json +7 -7
  128. package/dist/Button.module-FL3-CODh.js +0 -15
  129. package/dist/Button.module-FL3-CODh.js.map +0 -1
  130. package/dist/MultiSelectItem-D9PxdX43.js +0 -24
  131. package/dist/RteEditor.module-oFMKEW6f.js +0 -41
  132. package/dist/RteEditor.module-oFMKEW6f.js.map +0 -1
  133. package/dist/SelectListbox.module-ignbxWNU.js.map +0 -1
  134. package/dist/Sortable.module-DDhRFD1T.js +0 -23
  135. package/dist/Sortable.module-DDhRFD1T.js.map +0 -1
@@ -1,39 +1,39 @@
1
- import { jsxs as t, jsx as l } from "react/jsx-runtime";
2
- import { c as o } from "../../clsx-OuTLNxxd.js";
3
- import { SectionNotification as g } from "../SectionNotification/SectionNotification.js";
4
- import '../../assets/Card.css';const i = "_card_19162_1", r = {
5
- card: i,
6
- "card--regular": "_card--regular_19162_7",
7
- "card--large": "_card--large_19162_8",
8
- "card--small": "_card--small_19162_13",
9
- "card-header": "_card-header_19162_26",
10
- "card--high-contrast": "_card--high-contrast_19162_33",
11
- "card--align-center": "_card--align-center_19162_37"
12
- }, u = ({
1
+ import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
+ import { c as t } from "../../clsx-OuTLNxxd.js";
3
+ import { SectionNotification as o } from "../SectionNotification/SectionNotification.js";
4
+ import '../../assets/Card.css';const g = "_card_18vam_1", a = {
5
+ card: g,
6
+ "card--regular": "_card--regular_18vam_7",
7
+ "card--large": "_card--large_18vam_8",
8
+ "card--small": "_card--small_18vam_13",
9
+ "card-header": "_card-header_18vam_26",
10
+ "card--high-contrast": "_card--high-contrast_18vam_33",
11
+ "card--align-center": "_card--align-center_18vam_37"
12
+ }, v = ({
13
13
  children: d,
14
14
  header: c,
15
15
  highContrast: s,
16
16
  notification: e,
17
- padding: a = "regular",
17
+ padding: r = "regular",
18
18
  alignCenter: _ = !1
19
- }) => /* @__PURE__ */ t(
19
+ }) => /* @__PURE__ */ m(
20
20
  "div",
21
21
  {
22
- className: o(r.card, {
23
- [r["card--high-contrast"]]: s,
24
- [r["card--regular"]]: a === "regular",
25
- [r["card--small"]]: a === "small",
26
- [r["card--large"]]: a === "large",
27
- [r["card--align-center"]]: _
22
+ className: t(a.card, {
23
+ [a["card--high-contrast"]]: s,
24
+ [a["card--regular"]]: r === "regular",
25
+ [a["card--small"]]: r === "small",
26
+ [a["card--large"]]: r === "large",
27
+ [a["card--align-center"]]: _
28
28
  }),
29
29
  children: [
30
- e && /* @__PURE__ */ l(g, { children: e }),
31
- c && /* @__PURE__ */ l("div", { className: r["card-header"], children: c }),
30
+ e && /* @__PURE__ */ l(o, { children: e }),
31
+ c && /* @__PURE__ */ l("div", { className: a["card-header"], children: c }),
32
32
  d
33
33
  ]
34
34
  }
35
35
  );
36
36
  export {
37
- u as Card
37
+ v as Card
38
38
  };
39
39
  //# sourceMappingURL=Card.js.map
@@ -1,9 +1,9 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as t } from "react";
3
- import '../../assets/Checkbox.css';const r = "_checkbox_lu7hj_1", s = {
3
+ import '../../assets/Checkbox.css';const r = "_checkbox_uai6q_1", s = {
4
4
  checkbox: r
5
- }, b = t(({ ...c }, o) => /* @__PURE__ */ e("input", { ...c, type: "checkbox", className: s.checkbox, ref: o }));
5
+ }, h = t(({ ...c }, o) => /* @__PURE__ */ e("input", { ...c, type: "checkbox", className: s.checkbox, ref: o }));
6
6
  export {
7
- b as Checkbox
7
+ h as Checkbox
8
8
  };
9
9
  //# sourceMappingURL=Checkbox.js.map
@@ -1,27 +1,27 @@
1
- import { jsxs as r, jsx as n } from "react/jsx-runtime";
2
- import { c as i } from "../../clsx-OuTLNxxd.js";
3
- import { useId as d, useState as m } from "react";
1
+ import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
+ import { c as d } from "../../clsx-OuTLNxxd.js";
3
+ import { useId as l, useState as m } from "react";
4
4
  import '../../assets/CheckboxButton.css';const t = {
5
- "checkbox-button__container": "_checkbox-button__container_lqy3b_1",
6
- "checkbox-button": "_checkbox-button_lqy3b_1",
7
- "checkbox-button--not-valid": "_checkbox-button--not-valid_lqy3b_59",
8
- "checkbox-button--single": "_checkbox-button--single_lqy3b_69",
9
- "checkbox-button--start": "_checkbox-button--start_lqy3b_73",
10
- "checkbox-button--middle": "_checkbox-button--middle_lqy3b_77",
11
- "checkbox-button--end": "_checkbox-button--end_lqy3b_84"
12
- }, q = ({
5
+ "checkbox-button__container": "_checkbox-button__container_bnmy8_1",
6
+ "checkbox-button": "_checkbox-button_bnmy8_1",
7
+ "checkbox-button--not-valid": "_checkbox-button--not-valid_bnmy8_59",
8
+ "checkbox-button--single": "_checkbox-button--single_bnmy8_69",
9
+ "checkbox-button--start": "_checkbox-button--start_bnmy8_73",
10
+ "checkbox-button--middle": "_checkbox-button--middle_bnmy8_77",
11
+ "checkbox-button--end": "_checkbox-button--end_bnmy8_84"
12
+ }, f = ({
13
13
  label: c,
14
14
  value: b,
15
15
  isChecked: h = !1,
16
16
  variant: _ = "single",
17
17
  disabled: s,
18
- notValid: l,
19
- onSetValue: u
18
+ notValid: u,
19
+ onSetValue: x
20
20
  }) => {
21
- const e = d(), [x, k] = m(h), a = (o) => {
22
- k(o.target.checked), u(o.target.checked ? o.target.value : null);
21
+ const e = l(), [k, a] = m(h), r = (o) => {
22
+ a(o.target.checked), x(o.target.checked ? o.target.value : null);
23
23
  };
24
- return /* @__PURE__ */ r("span", { className: t["checkbox-button__container"], children: [
24
+ return /* @__PURE__ */ i("span", { className: t["checkbox-button__container"], children: [
25
25
  /* @__PURE__ */ n(
26
26
  "input",
27
27
  {
@@ -29,16 +29,16 @@ import '../../assets/CheckboxButton.css';const t = {
29
29
  id: `${e}${c}`,
30
30
  disabled: s,
31
31
  value: b,
32
- checked: x,
33
- onChange: a
32
+ checked: k,
33
+ onChange: r
34
34
  }
35
35
  ),
36
36
  /* @__PURE__ */ n(
37
37
  "label",
38
38
  {
39
39
  htmlFor: `${e}${c}`,
40
- className: i(t["checkbox-button"], t[`checkbox-button--${_}`], {
41
- [t["checkbox-button--not-valid"]]: l
40
+ className: d(t["checkbox-button"], t[`checkbox-button--${_}`], {
41
+ [t["checkbox-button--not-valid"]]: u
42
42
  }),
43
43
  children: c
44
44
  }
@@ -46,6 +46,6 @@ import '../../assets/CheckboxButton.css';const t = {
46
46
  ] });
47
47
  };
48
48
  export {
49
- q as CheckboxButton
49
+ f as CheckboxButton
50
50
  };
51
51
  //# sourceMappingURL=CheckboxButton.js.map
@@ -1,20 +1,20 @@
1
1
  import { jsxs as a, jsx as c } from "react/jsx-runtime";
2
2
  import { useRef as d } from "react";
3
- import { c as g } from "../../clsx-OuTLNxxd.js";
4
- import { CheckboxButton as w } from "../CheckboxButton/CheckboxButton.js";
5
- import { Label as C } from "../Label/Label.js";
6
- import { Icon as N } from "../Icon/Icon.js";
3
+ import { c as v } from "../../clsx-OuTLNxxd.js";
4
+ import { CheckboxButton as y } from "../CheckboxButton/CheckboxButton.js";
5
+ import { Label as g } from "../Label/Label.js";
6
+ import { Icon as w } from "../Icon/Icon.js";
7
7
  import '../../assets/CheckboxButtonBar.css';const n = {
8
- "checkbox-button-bar__container": "_checkbox-button-bar__container_1b278_1",
9
- "checkbox-button-bar__container--label-left": "_checkbox-button-bar__container--label-left_1b278_6",
10
- "checkbox-button-bar__container--label-top": "_checkbox-button-bar__container--label-top_1b278_12",
11
- "checkbox-button-bar__row-container": "_checkbox-button-bar__row-container_1b278_19",
12
- "checkbox-button-bar__row": "_checkbox-button-bar__row_1b278_19",
13
- "checkbox-button-bar__error": "_checkbox-button-bar__error_1b278_30"
14
- }, y = ({
15
- checkboxes: i,
8
+ "checkbox-button-bar__container": "_checkbox-button-bar__container_y43lv_1",
9
+ "checkbox-button-bar__container--label-left": "_checkbox-button-bar__container--label-left_y43lv_6",
10
+ "checkbox-button-bar__container--label-top": "_checkbox-button-bar__container--label-top_y43lv_12",
11
+ "checkbox-button-bar__row-container": "_checkbox-button-bar__row-container_y43lv_19",
12
+ "checkbox-button-bar__row": "_checkbox-button-bar__row_y43lv_19",
13
+ "checkbox-button-bar__error": "_checkbox-button-bar__error_y43lv_30"
14
+ }, $ = ({
15
+ checkboxes: l,
16
16
  defaultValues: t,
17
- label: l,
17
+ label: i,
18
18
  labelPosition: s = "top",
19
19
  required: h = !1,
20
20
  notValidatedText: b = "",
@@ -27,20 +27,20 @@ import '../../assets/CheckboxButtonBar.css';const n = {
27
27
  return /* @__PURE__ */ a(
28
28
  "div",
29
29
  {
30
- className: g(
30
+ className: v(
31
31
  n["checkbox-button-bar__container"],
32
32
  n[`checkbox-button-bar__container--label-${s}`]
33
33
  ),
34
34
  children: [
35
- l && /* @__PURE__ */ c(C, { htmlFor: "", required: h, children: l }),
35
+ i && /* @__PURE__ */ c(g, { htmlFor: "", required: h, children: i }),
36
36
  /* @__PURE__ */ a("div", { className: n["checkbox-button-bar__row-container"], children: [
37
- /* @__PURE__ */ c("div", { className: n["checkbox-button-bar__row"], children: i.map(({ label: o, value: r, disabled: _ }, f) => /* @__PURE__ */ c(
38
- w,
37
+ /* @__PURE__ */ c("div", { className: n["checkbox-button-bar__row"], children: l.map(({ label: o, value: r, disabled: _ }, f) => /* @__PURE__ */ c(
38
+ y,
39
39
  {
40
40
  label: o,
41
41
  value: r,
42
42
  isChecked: t ? t.includes(r) : !1,
43
- variant: k(f, i.length),
43
+ variant: k(f, l.length),
44
44
  disabled: _ || u,
45
45
  notValid: b !== "",
46
46
  onSetValue: (p) => x(p, r)
@@ -48,7 +48,7 @@ import '../../assets/CheckboxButtonBar.css';const n = {
48
48
  `${r}`
49
49
  )) }),
50
50
  b !== "" && /* @__PURE__ */ a("div", { className: n["checkbox-button-bar__error"], children: [
51
- /* @__PURE__ */ c(N, { name: "ExclamationTriangleFill", size: 24 }),
51
+ /* @__PURE__ */ c(w, { name: "ExclamationTriangleFill", size: 24 }),
52
52
  b
53
53
  ] })
54
54
  ] })
@@ -57,6 +57,6 @@ import '../../assets/CheckboxButtonBar.css';const n = {
57
57
  );
58
58
  };
59
59
  export {
60
- y as CheckboxButtonBar
60
+ $ as CheckboxButtonBar
61
61
  };
62
62
  //# sourceMappingURL=CheckboxButtonBar.js.map
@@ -1,23 +1,23 @@
1
1
  import { jsxs as u, jsx as i } from "react/jsx-runtime";
2
- import { useRef as y, useState as G, useEffect as O, createRef as S } from "react";
3
- import { c as E } from "../../clsx-OuTLNxxd.js";
4
- import { Icon as q } from "../Icon/Icon.js";
5
- import { Button as I } from "../Buttons/Button.js";
2
+ import { useRef as G, useState as S, useEffect as E, createRef as q } from "react";
3
+ import { c as j } from "../../clsx-OuTLNxxd.js";
4
+ import { Icon as I } from "../Icon/Icon.js";
5
+ import { Button as L } from "../Buttons/Button.js";
6
6
  import "../Buttons/LinkButton.js";
7
7
  import "@react-aria/button";
8
- import { Checkbox as w } from "../Checkbox/Checkbox.js";
9
- import { Label as A } from "../Label/Label.js";
8
+ import { Checkbox as A } from "../Checkbox/Checkbox.js";
9
+ import { Label as C } from "../Label/Label.js";
10
10
  import "@react-aria/dialog";
11
11
  import "@react-aria/focus";
12
12
  import "@react-aria/overlays";
13
13
  import "../OverlayCloseButton/OverlayCloseButton.js";
14
- import { FormField as C } from "../FormField/FormField.js";
14
+ import { FormField as B } from "../FormField/FormField.js";
15
15
  import "../GridRow/GridRow.js";
16
16
  import "../IconButton/IconButton.js";
17
17
  import "../Input/Input.js";
18
18
  import "../InputField/InputField.js";
19
19
  import "react-router";
20
- import "../../TablePlugin-CE20cPhW.js";
20
+ import "../../TablePlugin-hxs9O_ox.js";
21
21
  import "../RteEditor/Providers/LanguageProvider.js";
22
22
  import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
23
23
  import "../RteEditor/hooks/components/Flyout.js";
@@ -25,29 +25,29 @@ import "../../index-DllfJcv4.js";
25
25
  import "../SelectListbox/SelectListbox.js";
26
26
  import "../SelectListbox/SelectProvider.js";
27
27
  import "../Sortable/components/SortableItem.js";
28
- import "../../SortableProvider-DZggDO3M.js";
29
- import { useResponsive as L } from "../hooks/useResponsive.js";
28
+ import "../../SortableProvider-B3_u0pKv.js";
29
+ import { useResponsive as N } from "../hooks/useResponsive.js";
30
30
  import '../../assets/CheckboxTree.css';const s = {
31
- "checkbox-tree__header": "_checkbox-tree__header_3w3rj_1",
32
- "checkbox-tree__branch": "_checkbox-tree__branch_3w3rj_8",
33
- "checkbox-tree__branch--icon": "_checkbox-tree__branch--icon_3w3rj_21",
34
- "checkbox-tree__branch--icon--expanded": "_checkbox-tree__branch--icon--expanded_3w3rj_27",
35
- "checkbox-tree__branch--formfield": "_checkbox-tree__branch--formfield_3w3rj_32",
36
- "checkbox-tree__leaves": "_checkbox-tree__leaves_3w3rj_39",
37
- "checkbox-tree__leaves--expanded": "_checkbox-tree__leaves--expanded_3w3rj_48",
38
- "checkbox-tree__leaf": "_checkbox-tree__leaf_3w3rj_52"
39
- }, le = ({
40
- title: f,
41
- checkboxTree: B,
31
+ "checkbox-tree__header": "_checkbox-tree__header_1nrfk_1",
32
+ "checkbox-tree__branch": "_checkbox-tree__branch_1nrfk_8",
33
+ "checkbox-tree__branch--icon": "_checkbox-tree__branch--icon_1nrfk_21",
34
+ "checkbox-tree__branch--icon--expanded": "_checkbox-tree__branch--icon--expanded_1nrfk_27",
35
+ "checkbox-tree__branch--formfield": "_checkbox-tree__branch--formfield_1nrfk_32",
36
+ "checkbox-tree__leaves": "_checkbox-tree__leaves_1nrfk_39",
37
+ "checkbox-tree__leaves--expanded": "_checkbox-tree__leaves--expanded_1nrfk_48",
38
+ "checkbox-tree__leaf": "_checkbox-tree__leaf_1nrfk_52"
39
+ }, fe = ({
40
+ title: l,
41
+ checkboxTree: F,
42
42
  selectedValues: d,
43
43
  noLabelFrontWeight: p = !1,
44
44
  onChange: b
45
45
  }) => {
46
- const n = y({}), [m, x] = G([]), { lessThan: h } = L(), F = (r, e) => {
46
+ const n = G({}), [m, x] = S([]), { lessThan: h } = N(), R = (r, e) => {
47
47
  if (r.length !== e.length) return !1;
48
- const t = (o) => o.reduce((l, j) => (l[j] = (l[j] || 0) + 1, l), {}), c = t(r), a = t(e);
48
+ const t = (o) => o.reduce((f, O) => (f[O] = (f[O] || 0) + 1, f), {}), c = t(r), a = t(e);
49
49
  return !Object.keys(c).some((o) => c[o] !== a[o]);
50
- }, k = (r) => (n.current[r] || (n.current[r] = S()), n.current[r]), v = () => {
50
+ }, k = (r) => (n.current[r] || (n.current[r] = q()), n.current[r]), v = () => {
51
51
  const r = [];
52
52
  Object.entries(n.current).forEach(([e]) => {
53
53
  const t = n.current[e].current;
@@ -69,7 +69,7 @@ import '../../assets/CheckboxTree.css';const s = {
69
69
  "aria-expanded",
70
70
  ((c = e == null ? void 0 : e.closest("[data-li]")) == null ? void 0 : c.getAttribute("aria-expanded")) === "false" ? "true" : "false"
71
71
  ), t && t.classList.toggle(s["checkbox-tree__leaves--expanded"]);
72
- }, R = (r) => {
72
+ }, $ = (r) => {
73
73
  const e = r.target;
74
74
  if (!(e.type !== "checkbox" && e.type !== "button")) {
75
75
  if (h.md && e.name.indexOf("Group") !== -1 && e.parentNode && e.parentNode.parentNode.getAttribute("aria-expanded") === "false") {
@@ -89,42 +89,42 @@ import '../../assets/CheckboxTree.css';const s = {
89
89
  }
90
90
  _(e.getAttribute("data-groupname") || ""), v();
91
91
  }
92
- }, $ = (r) => {
92
+ }, y = (r) => {
93
93
  const e = r.target, t = e.closest("[data-li]");
94
94
  g(e, t);
95
95
  };
96
- return O(() => {
97
- d && !F(d, m) && Object.entries(n.current).forEach(([r]) => {
96
+ return E(() => {
97
+ d && !R(d, m) && Object.entries(n.current).forEach(([r]) => {
98
98
  const e = n.current[r].current;
99
99
  e && (d != null && d.includes(e.value) ? e.checked = !0 : e.checked = !1, e.name.indexOf("Group") !== -1 && x(d || []));
100
100
  });
101
- }, [d]), O(() => {
101
+ }, [d]), E(() => {
102
102
  Object.entries(n.current).forEach(([r]) => {
103
103
  const e = n.current[r].current;
104
104
  e && e.name.indexOf("Group") !== -1 && _(e.name);
105
105
  });
106
106
  }, [m]), /* @__PURE__ */ u("div", { children: [
107
- f && /* @__PURE__ */ i("span", { className: s["checkbox-tree__header"], children: f }),
108
- /* @__PURE__ */ i("div", { onClick: R, "data-ul": !0, role: "tree", tabIndex: 0, children: B.map(({ itemName: r, children: e }, t) => /* @__PURE__ */ u(
107
+ l && /* @__PURE__ */ i("span", { className: s["checkbox-tree__header"], children: l }),
108
+ /* @__PURE__ */ i("div", { onClick: $, "data-ul": !0, role: "tree", tabIndex: 0, children: F.map(({ itemName: r, children: e }, t) => /* @__PURE__ */ u(
109
109
  "div",
110
110
  {
111
111
  className: s["checkbox-tree__branch"],
112
112
  "data-li": !0,
113
113
  "aria-expanded": h.md ? "false" : "true",
114
114
  children: [
115
- /* @__PURE__ */ u(C, { inline: !0, className: s["checkbox-tree__branch--formfield"], children: [
116
- /* @__PURE__ */ i(I, { variant: "blank", onClick: $, children: /* @__PURE__ */ i(
117
- q,
115
+ /* @__PURE__ */ u(B, { inline: !0, className: s["checkbox-tree__branch--formfield"], children: [
116
+ /* @__PURE__ */ i(L, { variant: "blank", onClick: y, children: /* @__PURE__ */ i(
117
+ I,
118
118
  {
119
119
  name: "CheveronRight",
120
120
  size: 16,
121
- className: E(s["checkbox-tree__branch--icon"], {
121
+ className: j(s["checkbox-tree__branch--icon"], {
122
122
  [s["checkbox-tree__branch--icon--expanded"]]: !h.md
123
123
  })
124
124
  }
125
125
  ) }),
126
126
  /* @__PURE__ */ i(
127
- w,
127
+ A,
128
128
  {
129
129
  id: r,
130
130
  name: `Group${t}`,
@@ -132,18 +132,18 @@ import '../../assets/CheckboxTree.css';const s = {
132
132
  ref: k(`Group${t}`)
133
133
  }
134
134
  ),
135
- /* @__PURE__ */ i(A, { htmlFor: r, noFontWeight: p, children: r })
135
+ /* @__PURE__ */ i(C, { htmlFor: r, noFontWeight: p, children: r })
136
136
  ] }),
137
137
  /* @__PURE__ */ i(
138
138
  "div",
139
139
  {
140
- className: E(s["checkbox-tree__leaves"], {
140
+ className: j(s["checkbox-tree__leaves"], {
141
141
  [s["checkbox-tree__leaves--expanded"]]: !h.md
142
142
  }),
143
143
  "data-ul": !0,
144
- children: e.map(({ itemName: c, itemValue: a, disabled: o }) => /* @__PURE__ */ i("div", { className: s["checkbox-tree__leaf"], "data-li": !0, children: /* @__PURE__ */ u(C, { inline: !0, className: s["checkbox-tree__branch--formfield"], children: [
144
+ children: e.map(({ itemName: c, itemValue: a, disabled: o }) => /* @__PURE__ */ i("div", { className: s["checkbox-tree__leaf"], "data-li": !0, children: /* @__PURE__ */ u(B, { inline: !0, className: s["checkbox-tree__branch--formfield"], children: [
145
145
  /* @__PURE__ */ i(
146
- w,
146
+ A,
147
147
  {
148
148
  id: c,
149
149
  name: c,
@@ -153,7 +153,7 @@ import '../../assets/CheckboxTree.css';const s = {
153
153
  ref: k(`Group${t}_${c}`)
154
154
  }
155
155
  ),
156
- /* @__PURE__ */ i(A, { htmlFor: c, noFontWeight: p, children: c })
156
+ /* @__PURE__ */ i(C, { htmlFor: c, noFontWeight: p, children: c })
157
157
  ] }) }, c))
158
158
  }
159
159
  )
@@ -164,6 +164,6 @@ import '../../assets/CheckboxTree.css';const s = {
164
164
  ] });
165
165
  };
166
166
  export {
167
- le as CheckboxTree
167
+ fe as CheckboxTree
168
168
  };
169
169
  //# sourceMappingURL=CheckboxTree.js.map
@@ -1,12 +1,12 @@
1
- import { jsxs as o, jsx as s } from "react/jsx-runtime";
2
- import { Icon as i } from "../Icon/Icon.js";
3
- import '../../assets/Chip.css';const t = "_chip_3qe3v_1", l = "_chip__label_3qe3v_25", c = {
4
- chip: t,
1
+ import { jsxs as o, jsx as _ } from "react/jsx-runtime";
2
+ import { Icon as t } from "../Icon/Icon.js";
3
+ import '../../assets/Chip.css';const e = "_chip_1uifs_1", l = "_chip__label_1uifs_25", c = {
4
+ chip: e,
5
5
  chip__label: l,
6
- "chip__close-button": "_chip__close-button_3qe3v_32"
7
- }, h = ({ label: _, onDelete: e }) => /* @__PURE__ */ o("button", { className: c.chip, onClick: () => e(_), children: [
8
- /* @__PURE__ */ s("span", { className: c.chip__label, children: _ }),
9
- /* @__PURE__ */ s(i, { name: "Cross", size: 20, className: c["chip__close-button"] })
6
+ "chip__close-button": "_chip__close-button_1uifs_32"
7
+ }, h = ({ label: s, onDelete: i }) => /* @__PURE__ */ o("button", { className: c.chip, onClick: () => i(s), children: [
8
+ /* @__PURE__ */ _("span", { className: c.chip__label, children: s }),
9
+ /* @__PURE__ */ _(t, { name: "Cross", size: 20, className: c["chip__close-button"] })
10
10
  ] });
11
11
  export {
12
12
  h as Chip
@@ -1,20 +1,20 @@
1
- import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
- import { useDialog as y } from "@react-aria/dialog";
1
+ import { jsx as r, jsxs as d } from "react/jsx-runtime";
2
+ import { useDialog as b } from "@react-aria/dialog";
3
3
  import { FocusScope as C } from "@react-aria/focus";
4
4
  import { useModal as D, useOverlay as g, usePreventScroll as N, OverlayContainer as v } from "@react-aria/overlays";
5
- import { c as P } from "../../clsx-OuTLNxxd.js";
6
- import { useState as x, useRef as S, useEffect as j } from "react";
7
- import { Backdrop as k } from "../Backdrop/Backdrop.js";
8
- import { OverlayCloseButton as B } from "../OverlayCloseButton/OverlayCloseButton.js";
9
- import '../../assets/Drawer.css';const F = "_drawer_1ytb4_1", R = "_drawer__content_1ytb4_22", T = "_drawer__header_1ytb4_32", E = "_drawer__footer_1ytb4_39", K = "_drawer__heading_1ytb4_26", M = "_drawer__buttons_1ytb4_64", r = {
10
- drawer: F,
11
- drawer__content: R,
12
- drawer__header: T,
13
- drawer__footer: E,
14
- drawer__heading: K,
15
- "drawer--open": "_drawer--open_1ytb4_59",
16
- drawer__buttons: M
17
- }, q = 200;
5
+ import { c as z } from "../../clsx-OuTLNxxd.js";
6
+ import { useState as P, useRef as x, useEffect as S } from "react";
7
+ import { Backdrop as j } from "../Backdrop/Backdrop.js";
8
+ import { OverlayCloseButton as k } from "../OverlayCloseButton/OverlayCloseButton.js";
9
+ import '../../assets/Drawer.css';const B = "_drawer_1yz6e_1", F = "_drawer__content_1yz6e_22", R = "_drawer__header_1yz6e_32", T = "_drawer__footer_1yz6e_39", E = "_drawer__heading_1yz6e_26", K = "_drawer__buttons_1yz6e_64", e = {
10
+ drawer: B,
11
+ drawer__content: F,
12
+ drawer__header: R,
13
+ drawer__footer: T,
14
+ drawer__heading: E,
15
+ "drawer--open": "_drawer--open_1yz6e_59",
16
+ drawer__buttons: K
17
+ }, M = 200;
18
18
  function U({
19
19
  buttons: s,
20
20
  children: n,
@@ -24,34 +24,34 @@ function U({
24
24
  closeButtonAriaValueText: i = "Close",
25
25
  ...w
26
26
  }) {
27
- const [m, t] = x(r.drawer), { modalProps: u } = D({ isDisabled: !o }), a = S(null);
27
+ const [m, t] = P(e.drawer), { modalProps: u } = D({ isDisabled: !o }), a = x(null);
28
28
  function _() {
29
- t(r.drawer), globalThis.setTimeout(() => {
29
+ t(e.drawer), globalThis.setTimeout(() => {
30
30
  l();
31
- }, q);
31
+ }, M);
32
32
  }
33
33
  const { overlayProps: f, underlayProps: h } = g(
34
34
  { isDismissable: !0, isKeyboardDismissDisabled: !1, isOpen: o, onClose: _ },
35
35
  a
36
- ), { dialogProps: b, titleProps: p } = y({}, a);
37
- return N({ isDisabled: !o }), j(() => {
38
- t(P(r.drawer, { [r["drawer--open"]]: o }));
39
- }, [o]), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(k, { ...h, children: /* @__PURE__ */ e(C, { contain: !0, restoreFocus: !0, children: /* @__PURE__ */ d(
36
+ ), { dialogProps: p, titleProps: y } = b({}, a);
37
+ return N({ isDisabled: !o }), S(() => {
38
+ t(z(e.drawer, { [e["drawer--open"]]: o }));
39
+ }, [o]), /* @__PURE__ */ r(v, { children: /* @__PURE__ */ r(j, { ...h, children: /* @__PURE__ */ r(C, { contain: !0, restoreFocus: !0, children: /* @__PURE__ */ d(
40
40
  "aside",
41
41
  {
42
42
  ...u,
43
43
  ...f,
44
- ...b,
44
+ ...p,
45
45
  ...w,
46
46
  className: m,
47
47
  ref: a,
48
48
  children: [
49
- /* @__PURE__ */ d("header", { className: r.drawer__header, children: [
50
- /* @__PURE__ */ e("h1", { className: r.drawer__heading, ...p, children: c }),
51
- /* @__PURE__ */ e(B, { "aria-label": i, onClick: _ })
49
+ /* @__PURE__ */ d("header", { className: e.drawer__header, children: [
50
+ /* @__PURE__ */ r("h1", { className: e.drawer__heading, ...y, children: c }),
51
+ /* @__PURE__ */ r(k, { "aria-label": i, onClick: _ })
52
52
  ] }),
53
- /* @__PURE__ */ e("div", { className: r.drawer__content, children: n }),
54
- s && /* @__PURE__ */ e("footer", { className: r.drawer__footer, children: /* @__PURE__ */ e("div", { className: r.drawer__buttons, children: s }) })
53
+ /* @__PURE__ */ r("div", { className: e.drawer__content, children: n }),
54
+ s && /* @__PURE__ */ r("footer", { className: e.drawer__footer, children: /* @__PURE__ */ r("div", { className: e.drawer__buttons, children: s }) })
55
55
  ]
56
56
  }
57
57
  ) }) }) });
@@ -1,34 +1,34 @@
1
- import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { c as l } from "../../clsx-OuTLNxxd.js";
3
- import { Icon as r } from "../Icon/Icon.js";
1
+ import { jsxs as p, jsx as t } from "react/jsx-runtime";
2
+ import { c as d } from "../../clsx-OuTLNxxd.js";
3
+ import { Icon as l } from "../Icon/Icon.js";
4
4
  import '../../assets/EmptyStateDataDisplay.css';const a = {
5
- "empty-state-data-display_wrapper": "_empty-state-data-display_wrapper_1blmp_1",
6
- "empty-state-data-display_icon-frame": "_empty-state-data-display_icon-frame_1blmp_9",
7
- "empty-state-data-display_wrapper--invert-colors": "_empty-state-data-display_wrapper--invert-colors_1blmp_19",
8
- "empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-colors_1blmp_23",
9
- "empty-state-data-display_text-content": "_empty-state-data-display_text-content_1blmp_27",
10
- "empty-state-data-display_label": "_empty-state-data-display_label_1blmp_33",
11
- "empty-state-data-display_paragraph": "_empty-state-data-display_paragraph_1blmp_37"
5
+ "empty-state-data-display_wrapper": "_empty-state-data-display_wrapper_14bsh_1",
6
+ "empty-state-data-display_icon-frame": "_empty-state-data-display_icon-frame_14bsh_9",
7
+ "empty-state-data-display_wrapper--invert-colors": "_empty-state-data-display_wrapper--invert-colors_14bsh_19",
8
+ "empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-colors_14bsh_23",
9
+ "empty-state-data-display_text-content": "_empty-state-data-display_text-content_14bsh_27",
10
+ "empty-state-data-display_label": "_empty-state-data-display_label_14bsh_33",
11
+ "empty-state-data-display_paragraph": "_empty-state-data-display_paragraph_14bsh_37"
12
12
  };
13
- function _({ label: d, paragraph: e, invertColors: p }) {
14
- return /* @__PURE__ */ s(
13
+ function m({ label: r, paragraph: e, invertColors: s }) {
14
+ return /* @__PURE__ */ p(
15
15
  "div",
16
16
  {
17
- className: l(a["empty-state-data-display_wrapper"], {
18
- [a["empty-state-data-display_wrapper--invert-colors"]]: p
17
+ className: d(a["empty-state-data-display_wrapper"], {
18
+ [a["empty-state-data-display_wrapper--invert-colors"]]: s
19
19
  }),
20
20
  children: [
21
21
  /* @__PURE__ */ t(
22
22
  "div",
23
23
  {
24
- className: l(a["empty-state-data-display_icon-frame"], {
25
- [a["empty-state-data-display_icon-frame--invert-colors"]]: p
24
+ className: d(a["empty-state-data-display_icon-frame"], {
25
+ [a["empty-state-data-display_icon-frame--invert-colors"]]: s
26
26
  }),
27
- children: /* @__PURE__ */ t(r, { name: "CubeTransparent" })
27
+ children: /* @__PURE__ */ t(l, { name: "CubeTransparent" })
28
28
  }
29
29
  ),
30
- /* @__PURE__ */ s("div", { className: a["empty-state-data-display_text-content"], children: [
31
- /* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children: d }),
30
+ /* @__PURE__ */ p("div", { className: a["empty-state-data-display_text-content"], children: [
31
+ /* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children: r }),
32
32
  e && /* @__PURE__ */ t("p", { className: a["empty-state-data-display_paragraph"], children: e })
33
33
  ] })
34
34
  ]
@@ -36,6 +36,6 @@ function _({ label: d, paragraph: e, invertColors: p }) {
36
36
  );
37
37
  }
38
38
  export {
39
- _ as EmptyStateDataDisplay
39
+ m as EmptyStateDataDisplay
40
40
  };
41
41
  //# sourceMappingURL=EmptyStateDataDisplay.js.map
@@ -1,27 +1,27 @@
1
- import { jsxs as r, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
2
  import { c } from "../../clsx-OuTLNxxd.js";
3
3
  import { useState as l, useEffect as _ } from "react";
4
- import { Icon as s } from "../Icon/Icon.js";
4
+ import { Icon as b } from "../Icon/Icon.js";
5
5
  import { Repeater as f } from "../Repeater/Repeater.js";
6
6
  import '../../assets/FeedbackBar.css';const e = {
7
- "feedback-bar": "_feedback-bar_aoc1x_1",
8
- "feedback-bar--visible": "_feedback-bar--visible_aoc1x_15",
9
- "feedback-bar__icon": "_feedback-bar__icon_aoc1x_21",
10
- "feedback-bar__close-button": "_feedback-bar__close-button_aoc1x_25"
11
- }, x = ({ children: b }) => {
12
- const [t, o] = l(!1);
7
+ "feedback-bar": "_feedback-bar_1exld_1",
8
+ "feedback-bar--visible": "_feedback-bar--visible_1exld_15",
9
+ "feedback-bar__icon": "_feedback-bar__icon_1exld_21",
10
+ "feedback-bar__close-button": "_feedback-bar__close-button_1exld_25"
11
+ }, x = ({ children: o }) => {
12
+ const [t, r] = l(!1);
13
13
  _(() => {
14
- o(!0);
14
+ r(!0);
15
15
  }, []);
16
16
  const i = () => {
17
- o(!1);
17
+ r(!1);
18
18
  };
19
- return /* @__PURE__ */ r("div", { className: c(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
20
- /* @__PURE__ */ r(f, { flexDirection: "row", children: [
21
- /* @__PURE__ */ a(s, { className: c(e["feedback-bar__icon"]), name: "CheckCircle" }),
22
- b
19
+ return /* @__PURE__ */ s("div", { className: c(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
20
+ /* @__PURE__ */ s(f, { flexDirection: "row", children: [
21
+ /* @__PURE__ */ a(b, { className: c(e["feedback-bar__icon"]), name: "CheckCircle" }),
22
+ o
23
23
  ] }),
24
- /* @__PURE__ */ a("button", { className: c(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ a(s, { name: "Cross", size: 24 }) })
24
+ /* @__PURE__ */ a("button", { className: c(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ a(b, { name: "Cross", size: 24 }) })
25
25
  ] });
26
26
  };
27
27
  export {