@uva-glass/component-library 3.49.0 → 3.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/Button.module-S1-6tV9o.js +16 -0
  2. package/dist/Button.module-S1-6tV9o.js.map +1 -0
  3. package/dist/MultiSelectItem-BzBmsKof.js +24 -0
  4. package/dist/{MultiSelectItem-DbOdEllV.js.map → MultiSelectItem-BzBmsKof.js.map} +1 -1
  5. package/dist/RteEditor.module-CmYZ4MmA.js +36 -0
  6. package/dist/RteEditor.module-CmYZ4MmA.js.map +1 -0
  7. package/dist/SearchField.module-CMUEgX7d.js +17 -0
  8. package/dist/SearchField.module-CMUEgX7d.js.map +1 -0
  9. package/dist/{SelectListbox.module-CAKDuwcy.js → SelectListbox.module-CgZyIxwT.js} +25 -25
  10. package/dist/SelectListbox.module-CgZyIxwT.js.map +1 -0
  11. package/dist/Sortable.module-DCVXxKnw.js +26 -0
  12. package/dist/Sortable.module-DCVXxKnw.js.map +1 -0
  13. package/dist/{SortableProvider-l8-7ClBJ.js → SortableProvider-BbwlEPIr.js} +2 -2
  14. package/dist/{SortableProvider-l8-7ClBJ.js.map → SortableProvider-BbwlEPIr.js.map} +1 -1
  15. package/dist/{TablePlugin-Cvw0NmoH.js → TablePlugin-8TKXJMYE.js} +62 -62
  16. package/dist/{TablePlugin-Cvw0NmoH.js.map → TablePlugin-8TKXJMYE.js.map} +1 -1
  17. package/dist/WeekSelector.module-Clco7jTs.js +17 -0
  18. package/dist/WeekSelector.module-Clco7jTs.js.map +1 -0
  19. package/dist/assets/AccordionCard.css +1 -1
  20. package/dist/assets/ActionList.css +1 -1
  21. package/dist/assets/AppStatusBar.css +1 -1
  22. package/dist/assets/Backdrop.css +1 -1
  23. package/dist/assets/Backdrop2.css +1 -1
  24. package/dist/assets/Button.css +1 -1
  25. package/dist/assets/Card.css +1 -1
  26. package/dist/assets/Checkbox.css +1 -1
  27. package/dist/assets/CheckboxButtonBar.css +1 -1
  28. package/dist/assets/CheckboxTree.css +1 -1
  29. package/dist/assets/Chip.css +1 -1
  30. package/dist/assets/Container.css +1 -1
  31. package/dist/assets/ControlsButton.css +1 -1
  32. package/dist/assets/CopyableText.css +1 -1
  33. package/dist/assets/Drawer.css +1 -1
  34. package/dist/assets/EditorHeader.css +1 -1
  35. package/dist/assets/EmptyStateDataDisplay.css +1 -1
  36. package/dist/assets/ExpandableInfoPanel.css +1 -1
  37. package/dist/assets/FeedbackBar.css +1 -1
  38. package/dist/assets/FeedbackBox.css +1 -1
  39. package/dist/assets/Flyout.css +1 -1
  40. package/dist/assets/FormInput.css +1 -1
  41. package/dist/assets/Icon.css +1 -1
  42. package/dist/assets/IconButton.css +1 -1
  43. package/dist/assets/InfoBanner.css +1 -1
  44. package/dist/assets/InfoMessage.css +1 -1
  45. package/dist/assets/Input.css +1 -1
  46. package/dist/assets/InputField.css +1 -1
  47. package/dist/assets/Label.css +1 -1
  48. package/dist/assets/LinkContextMenu.css +1 -1
  49. package/dist/assets/MetaDataList.css +1 -1
  50. package/dist/assets/ModalDialog.css +1 -1
  51. package/dist/assets/MultiSelectBox.css +1 -1
  52. package/dist/assets/MultiSelectItem.css +1 -1
  53. package/dist/assets/Notification.css +1 -1
  54. package/dist/assets/OverlayCloseButton.css +1 -1
  55. package/dist/assets/OverlayStepBar.css +1 -1
  56. package/dist/assets/PageOverlay.css +1 -1
  57. package/dist/assets/Periods.css +1 -1
  58. package/dist/assets/ProgrammeCard.css +1 -1
  59. package/dist/assets/RadioButton.css +1 -1
  60. package/dist/assets/RadioGroup.css +1 -1
  61. package/dist/assets/RadioTabSelector.css +1 -1
  62. package/dist/assets/RteEditor.css +1 -1
  63. package/dist/assets/SearchField.css +1 -1
  64. package/dist/assets/SectionNotification.css +1 -1
  65. package/dist/assets/SelectListbox.css +1 -1
  66. package/dist/assets/Slider.css +1 -1
  67. package/dist/assets/Sortable.css +1 -1
  68. package/dist/assets/Spinner.css +1 -1
  69. package/dist/assets/StatusBage.css +1 -1
  70. package/dist/assets/StatusPill.css +1 -1
  71. package/dist/assets/TableCellContextMenu.css +1 -1
  72. package/dist/assets/TablePlugin.css +1 -1
  73. package/dist/assets/TextArea.css +1 -1
  74. package/dist/assets/ToggleSwitch.css +1 -1
  75. package/dist/assets/Tooltip.css +1 -1
  76. package/dist/assets/VarIndicator.css +1 -1
  77. package/dist/assets/WeekSelector.css +1 -1
  78. package/dist/assets/variables.css +72 -147
  79. package/dist/components/AccordionCard/AccordionCard.js +12 -12
  80. package/dist/components/ActionList/ActionList.js +16 -16
  81. package/dist/components/AppStatusBar/AppStatusBar.js +5 -5
  82. package/dist/components/Backdrop/Backdrop.js +1 -1
  83. package/dist/components/Buttons/Button.js +1 -1
  84. package/dist/components/Buttons/LinkButton.js +1 -1
  85. package/dist/components/Buttons/MenuButton.js +1 -1
  86. package/dist/components/Card/Card.js +17 -17
  87. package/dist/components/Checkbox/Checkbox.js +1 -1
  88. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +40 -40
  89. package/dist/components/CheckboxTree/CheckboxTree.js +33 -33
  90. package/dist/components/Chip/Chip.js +6 -6
  91. package/dist/components/ControlsButton/ControlsButton.js +31 -31
  92. package/dist/components/CopyableText/CopyableText.js +18 -18
  93. package/dist/components/Drawer/Drawer.js +34 -34
  94. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +20 -20
  95. package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js +21 -21
  96. package/dist/components/FeedbackBar/FeedbackBar.js +11 -11
  97. package/dist/components/FeedbackBox/FeedbackBox.js +18 -18
  98. package/dist/components/FormInput/FormInput.js +22 -22
  99. package/dist/components/Icon/Icon.stories.js +9 -9
  100. package/dist/components/IconButton/IconButton.js +9 -9
  101. package/dist/components/InfoBanner/InfoBanner.js +1 -1
  102. package/dist/components/InfoMessage/InfoMessage.js +5 -5
  103. package/dist/components/Input/Input.js +16 -16
  104. package/dist/components/InputField/InputField.js +29 -29
  105. package/dist/components/InputField/InputField.stories.js +2 -2
  106. package/dist/components/Label/Label.js +7 -7
  107. package/dist/components/MetaDataList/MetaDataList.js +7 -7
  108. package/dist/components/ModalDialog/ModalDialog.js +55 -55
  109. package/dist/components/MultiSelect/MultiSelect.js +2 -2
  110. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  111. package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -3
  112. package/dist/components/MultiSelect/components/MultiSelectItem.js +1 -1
  113. package/dist/components/MultiSelect/index.js +1 -1
  114. package/dist/components/MultiSelectBox/MultiSelectBox.js +27 -27
  115. package/dist/components/Notification/Notification.js +36 -36
  116. package/dist/components/OverlayCloseButton/OverlayCloseButton.js +10 -10
  117. package/dist/components/OverlayStepBar/OverlayStepBar.js +24 -24
  118. package/dist/components/PageOverlay/PageOverlay.js +37 -37
  119. package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
  120. package/dist/components/Periods/Periods.js +24 -24
  121. package/dist/components/ProgrammeCard/ProgrammeCard.js +7 -7
  122. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
  123. package/dist/components/RadioButton/RadioButton.js +12 -12
  124. package/dist/components/RadioGroup/RadioGroup.js +23 -23
  125. package/dist/components/RadioTabSelector/RadioTabSelector.js +25 -25
  126. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +7 -7
  127. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
  128. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -3
  129. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  130. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +17 -17
  131. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -3
  132. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +1 -1
  133. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
  134. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +31 -31
  135. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
  136. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  137. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +2 -2
  138. package/dist/components/RteEditor/Plugins/index.js +1 -1
  139. package/dist/components/RteEditor/RteEditor.js +3 -3
  140. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
  141. package/dist/components/RteEditor/hooks/components/Flyout.js +3 -3
  142. package/dist/components/SearchField/SearchField.js +1 -1
  143. package/dist/components/SearchField/components/ResultOptionBox.js +1 -1
  144. package/dist/components/SearchField/components/ResultsOption.js +1 -1
  145. package/dist/components/SectionNotification/SectionNotification.js +5 -5
  146. package/dist/components/SelectListbox/components/SelectButton.js +1 -1
  147. package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
  148. package/dist/components/SelectListbox/components/SelectOption.js +1 -1
  149. package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
  150. package/dist/components/Slider/Slider.js +39 -39
  151. package/dist/components/Slider/Slider.js.map +1 -1
  152. package/dist/components/Sortable/Sortable.js +1 -1
  153. package/dist/components/Sortable/SortableProvider.js +1 -1
  154. package/dist/components/Sortable/components/SortableContainer.js +2 -2
  155. package/dist/components/Sortable/components/SortableHandle.js +1 -1
  156. package/dist/components/Sortable/components/SortableItem.js +2 -2
  157. package/dist/components/Spinner/Spinner.js +8 -8
  158. package/dist/components/StatusBadge/StatusBage.js +6 -6
  159. package/dist/components/StatusPill/StatusPill.js +12 -12
  160. package/dist/components/TextArea/TextArea.js +17 -17
  161. package/dist/components/ToggleSwitch/ToggleSwitch.js +13 -13
  162. package/dist/components/Tooltip/Tooltip.js +23 -23
  163. package/dist/components/VarIndicator/VarIndicator.js +18 -18
  164. package/dist/components/WeekSelector/WeekSelector.js +1 -1
  165. package/dist/components/WeekSelector/components/WeekSelectorButton.js +1 -1
  166. package/dist/components/WeekSelector/components/WeekSelectorOption.js +1 -1
  167. package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js +1 -1
  168. package/dist/components/index.js +1 -1
  169. package/dist/index.js +1 -1
  170. package/dist/storyComponents/Container/Container.js +10 -10
  171. package/package.json +4 -4
  172. package/dist/Button.module-D-q-W0TM.js +0 -16
  173. package/dist/Button.module-D-q-W0TM.js.map +0 -1
  174. package/dist/MultiSelectItem-DbOdEllV.js +0 -24
  175. package/dist/RteEditor.module-SmmXEc4R.js +0 -36
  176. package/dist/RteEditor.module-SmmXEc4R.js.map +0 -1
  177. package/dist/SearchField.module-Be9ZoU-6.js +0 -17
  178. package/dist/SearchField.module-Be9ZoU-6.js.map +0 -1
  179. package/dist/SelectListbox.module-CAKDuwcy.js.map +0 -1
  180. package/dist/Sortable.module-B6I6E9un.js +0 -26
  181. package/dist/Sortable.module-B6I6E9un.js.map +0 -1
  182. package/dist/WeekSelector.module-D9MD4nVJ.js +0 -17
  183. package/dist/WeekSelector.module-D9MD4nVJ.js.map +0 -1
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as f } from "react";
3
3
  import { Link as i } from "react-router";
4
4
  import { c as n } from "../../clsx-OuTLNxxd.js";
5
- import { s as o } from "../../Button.module-D-q-W0TM.js";
5
+ import { s as o } from "../../Button.module-S1-6tV9o.js";
6
6
  const l = f(
7
7
  ({ variant: r, ...t }, m) => /* @__PURE__ */ s(i, { ...t, className: n(o.button, o[`button--${r}`]), ref: m })
8
8
  );
@@ -2,7 +2,7 @@ import { jsxs as e, jsx as p } from "react/jsx-runtime";
2
2
  import { useButton as c } from "@react-aria/button";
3
3
  import { c as f } from "../../clsx-OuTLNxxd.js";
4
4
  import { Icon as i } from "../Icon/Icon.js";
5
- import { s as r } from "../../Button.module-D-q-W0TM.js";
5
+ import { s as r } from "../../Button.module-S1-6tV9o.js";
6
6
  function B({ buttonRef: t, variant: s, iconName: o, children: n, ...m }) {
7
7
  const { buttonProps: u } = c(m, t);
8
8
  return /* @__PURE__ */ e("button", { ...u, ref: t, className: f(r.button, r[`button--${s}`]), children: [
@@ -1,39 +1,39 @@
1
1
  import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
2
  import { c as t } from "../../clsx-OuTLNxxd.js";
3
3
  import { SectionNotification as o } from "../SectionNotification/SectionNotification.js";
4
- import '../../assets/Card.css';const g = "_card_18vam_1", a = {
4
+ import '../../assets/Card.css';const g = "_card_1m1jk_1", r = {
5
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 = ({
6
+ "card--regular": "_card--regular_1m1jk_7",
7
+ "card--large": "_card--large_1m1jk_8",
8
+ "card--small": "_card--small_1m1jk_13",
9
+ "card-header": "_card-header_1m1jk_26",
10
+ "card--high-contrast": "_card--high-contrast_1m1jk_33",
11
+ "card--align-center": "_card--align-center_1m1jk_37"
12
+ }, j = ({
13
13
  children: d,
14
14
  header: c,
15
15
  highContrast: s,
16
16
  notification: e,
17
- padding: r = "regular",
17
+ padding: a = "regular",
18
18
  alignCenter: _ = !1
19
19
  }) => /* @__PURE__ */ m(
20
20
  "div",
21
21
  {
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"]]: _
22
+ className: t(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"]]: _
28
28
  }),
29
29
  children: [
30
30
  e && /* @__PURE__ */ l(o, { children: e }),
31
- c && /* @__PURE__ */ l("div", { className: a["card-header"], children: c }),
31
+ c && /* @__PURE__ */ l("div", { className: r["card-header"], children: c }),
32
32
  d
33
33
  ]
34
34
  }
35
35
  );
36
36
  export {
37
- v as Card
37
+ j as Card
38
38
  };
39
39
  //# sourceMappingURL=Card.js.map
@@ -1,6 +1,6 @@
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_uai6q_1", s = {
3
+ import '../../assets/Checkbox.css';const r = "_checkbox_rbntw_1", s = {
4
4
  checkbox: r
5
5
  }, h = t(({ ...c }, o) => /* @__PURE__ */ e("input", { ...c, type: "checkbox", className: s.checkbox, ref: o }));
6
6
  export {
@@ -1,94 +1,94 @@
1
- import { jsxs as F, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as F, jsx as c } from "react/jsx-runtime";
2
2
  import { useState as S } from "react";
3
3
  import { c as _ } from "../../clsx-OuTLNxxd.js";
4
4
  import { Label as L } from "../Label/Label.js";
5
5
  import { FeedbackBox as $ } from "../FeedbackBox/FeedbackBox.js";
6
6
  import { ControlsButton as C } from "../ControlsButton/ControlsButton.js";
7
- import '../../assets/CheckboxButtonBar.css';const e = {
8
- "checkbox-button-bar__container": "_checkbox-button-bar__container_u8hmc_1",
9
- "checkbox-button-bar__container--label-left": "_checkbox-button-bar__container--label-left_u8hmc_6",
10
- "checkbox-button-bar__container--label-top": "_checkbox-button-bar__container--label-top_u8hmc_12",
11
- "checkbox-button-bar__row-container": "_checkbox-button-bar__row-container_u8hmc_18",
12
- "checkbox-button-bar__row-container--segmented": "_checkbox-button-bar__row-container--segmented_u8hmc_24",
13
- "checkbox-button-bar__row": "_checkbox-button-bar__row_u8hmc_18",
14
- "checkbox-button-bar__row--not-validated": "_checkbox-button-bar__row--not-validated_u8hmc_39",
15
- "checkbox-button-bar__footer": "_checkbox-button-bar__footer_u8hmc_43"
7
+ import '../../assets/CheckboxButtonBar.css';const t = {
8
+ "checkbox-button-bar__container": "_checkbox-button-bar__container_114ld_1",
9
+ "checkbox-button-bar__container--label-left": "_checkbox-button-bar__container--label-left_114ld_6",
10
+ "checkbox-button-bar__container--label-top": "_checkbox-button-bar__container--label-top_114ld_12",
11
+ "checkbox-button-bar__row-container": "_checkbox-button-bar__row-container_114ld_18",
12
+ "checkbox-button-bar__row-container--segmented": "_checkbox-button-bar__row-container--segmented_114ld_24",
13
+ "checkbox-button-bar__row": "_checkbox-button-bar__row_114ld_18",
14
+ "checkbox-button-bar__row--not-validated": "_checkbox-button-bar__row--not-validated_114ld_39",
15
+ "checkbox-button-bar__footer": "_checkbox-button-bar__footer_114ld_43"
16
16
  }, J = ({
17
- checkboxes: m,
17
+ checkboxes: x,
18
18
  defaultValues: r,
19
- label: u,
19
+ label: d,
20
20
  labelPosition: y = "top",
21
21
  required: j = !1,
22
- notValidated: x = !1,
22
+ notValidated: m = !1,
23
23
  notValidatedText: n = "",
24
24
  actAsRadioButtonBar: a = !1,
25
- footerText: d = "",
25
+ footerText: u = "",
26
26
  disableGroup: f = !1,
27
27
  segmented: p = !1,
28
28
  forceSquared: w = !1,
29
29
  onSetValues: g
30
30
  }) => {
31
- const [h, v] = S(
31
+ const [l, v] = S(
32
32
  r && !a ? r.map(String) : r && a ? r.slice(0, 1) : []
33
- ), N = (c) => {
34
- let o = h;
35
- a ? (v([c]), g([c])) : (o.includes(c) ? o = o.filter((b) => b !== c) : o = [...o, c], v(o), g(o));
33
+ ), N = (e) => {
34
+ let o = l;
35
+ a ? (v([e]), g([e])) : (o.includes(e) ? o = o.filter((b) => b !== e) : o = [...o, e], v(o), g(o));
36
36
  };
37
37
  return /* @__PURE__ */ F(
38
38
  "div",
39
39
  {
40
40
  className: _(
41
- e["checkbox-button-bar__container"],
42
- e[`checkbox-button-bar__container--label-${y}`]
41
+ t["checkbox-button-bar__container"],
42
+ t[`checkbox-button-bar__container--label-${y}`]
43
43
  ),
44
44
  children: [
45
- u && /* @__PURE__ */ t(L, { htmlFor: "", required: j, children: u }),
46
- /* @__PURE__ */ t(
45
+ d && /* @__PURE__ */ c(L, { htmlFor: "", required: j, children: d }),
46
+ /* @__PURE__ */ c(
47
47
  "div",
48
48
  {
49
- className: _(e["checkbox-button-bar__row-container"], {
50
- [e["checkbox-button-bar__row-container--segmented"]]: p
49
+ className: _(t["checkbox-button-bar__row-container"], {
50
+ [t["checkbox-button-bar__row-container--segmented"]]: p
51
51
  }),
52
- children: p ? m.map(({ label: c, value: o, prefix: b, tooltip: l, tooltipPosition: i, disabled: s }) => /* @__PURE__ */ t(
52
+ children: p ? x.map(({ label: e, value: o, prefix: b, tooltip: h, tooltipPosition: i, disabled: s }) => /* @__PURE__ */ c(
53
53
  "div",
54
54
  {
55
- className: _(e["checkbox-button-bar__row"], {
56
- [e["checkbox-button-bar__row--not-validated"]]: x || n
55
+ className: _(t["checkbox-button-bar__row"], {
56
+ [t["checkbox-button-bar__row--not-validated"]]: m || n
57
57
  }),
58
- children: /* @__PURE__ */ t(
58
+ children: /* @__PURE__ */ c(
59
59
  C,
60
60
  {
61
61
  type: "checkbox",
62
- label: c,
62
+ label: e,
63
63
  prefix: b,
64
- tooltip: l,
64
+ tooltip: h,
65
65
  tooltipPosition: i,
66
66
  forceSquared: w,
67
67
  value: o,
68
- checked: h.includes(o),
68
+ checked: l.includes(o),
69
69
  disabled: s || f,
70
70
  onSetValue: (k) => N(k.target.value)
71
71
  }
72
72
  )
73
73
  },
74
74
  o
75
- )) : /* @__PURE__ */ t(
75
+ )) : /* @__PURE__ */ c(
76
76
  "div",
77
77
  {
78
- className: _(e["checkbox-button-bar__row"], {
79
- [e["checkbox-button-bar__row--not-validated"]]: x || n
78
+ className: _(t["checkbox-button-bar__row"], {
79
+ [t["checkbox-button-bar__row--not-validated"]]: m || n
80
80
  }),
81
- children: m.map(({ label: c, value: o, prefix: b, tooltip: l, tooltipPosition: i, disabled: s }) => /* @__PURE__ */ t(
81
+ children: x.map(({ label: e, value: o, prefix: b, tooltip: h, tooltipPosition: i, disabled: s }) => /* @__PURE__ */ c(
82
82
  C,
83
83
  {
84
84
  type: "checkbox",
85
- label: c,
85
+ label: e,
86
86
  prefix: b,
87
- tooltip: l,
87
+ tooltip: h,
88
88
  tooltipPosition: i,
89
89
  forceSquared: w,
90
90
  value: o,
91
- checked: h.includes(o),
91
+ checked: l.includes(o),
92
92
  disabled: s || f,
93
93
  onSetValue: (k) => N(k.target.value)
94
94
  },
@@ -98,8 +98,8 @@ import '../../assets/CheckboxButtonBar.css';const e = {
98
98
  )
99
99
  }
100
100
  ),
101
- d && /* @__PURE__ */ t("div", { className: e["checkbox-button-bar__footer"], children: d }),
102
- n !== "" && /* @__PURE__ */ t($, { level: "error", feedback: n })
101
+ u && /* @__PURE__ */ c("div", { className: t["checkbox-button-bar__footer"], children: u }),
102
+ n !== "" && /* @__PURE__ */ c($, { level: "error", feedback: n })
103
103
  ]
104
104
  }
105
105
  );
@@ -1,6 +1,6 @@
1
- import { jsxs as l, jsx as i } from "react/jsx-runtime";
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";
1
+ import { jsxs as u, jsx as i } from "react/jsx-runtime";
2
+ import { useRef as G, useState as S, useEffect as O, createRef as q } from "react";
3
+ import { c as E } from "../../clsx-OuTLNxxd.js";
4
4
  import "../Accordion/Accordion.js";
5
5
  import { Icon as I } from "../Icon/Icon.js";
6
6
  import { Button as L } from "../Buttons/Button.js";
@@ -18,7 +18,7 @@ import "../IconButton/IconButton.js";
18
18
  import "../Input/Input.js";
19
19
  import "../InputField/InputField.js";
20
20
  import "react-router";
21
- import "../../TablePlugin-Cvw0NmoH.js";
21
+ import "../../TablePlugin-8TKXJMYE.js";
22
22
  import "../RteEditor/Providers/LanguageProvider.js";
23
23
  import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
24
24
  import "../RteEditor/hooks/components/Flyout.js";
@@ -28,36 +28,36 @@ import "../SearchField/SearchField.js";
28
28
  import "../SelectListbox/SelectListbox.js";
29
29
  import "../SelectListbox/SelectProvider.js";
30
30
  import "../Sortable/components/SortableItem.js";
31
- import "../../SortableProvider-l8-7ClBJ.js";
31
+ import "../../SortableProvider-BbwlEPIr.js";
32
32
  import "../WeekSelector/components/WeekSelectorOptionContainer.js";
33
33
  import { useResponsive as N } from "../hooks/useResponsive.js";
34
34
  import '../../assets/CheckboxTree.css';const a = {
35
- "checkbox-tree__header": "_checkbox-tree__header_l338d_1",
36
- "checkbox-tree__branch": "_checkbox-tree__branch_l338d_8",
37
- "checkbox-tree__branch--icon": "_checkbox-tree__branch--icon_l338d_21",
38
- "checkbox-tree__branch--icon--expanded": "_checkbox-tree__branch--icon--expanded_l338d_27",
39
- "checkbox-tree__branch--formfield": "_checkbox-tree__branch--formfield_l338d_32",
40
- "checkbox-tree__leaves": "_checkbox-tree__leaves_l338d_39",
41
- "checkbox-tree__leaves--expanded": "_checkbox-tree__leaves--expanded_l338d_48",
42
- "checkbox-tree__leaf": "_checkbox-tree__leaf_l338d_52"
35
+ "checkbox-tree__header": "_checkbox-tree__header_1kejb_1",
36
+ "checkbox-tree__branch": "_checkbox-tree__branch_1kejb_8",
37
+ "checkbox-tree__branch--icon": "_checkbox-tree__branch--icon_1kejb_21",
38
+ "checkbox-tree__branch--icon--expanded": "_checkbox-tree__branch--icon--expanded_1kejb_27",
39
+ "checkbox-tree__branch--formfield": "_checkbox-tree__branch--formfield_1kejb_32",
40
+ "checkbox-tree__leaves": "_checkbox-tree__leaves_1kejb_39",
41
+ "checkbox-tree__leaves--expanded": "_checkbox-tree__leaves--expanded_1kejb_48",
42
+ "checkbox-tree__leaf": "_checkbox-tree__leaf_1kejb_52"
43
43
  }, me = ({
44
- title: p,
44
+ title: b,
45
45
  checkboxTree: F,
46
46
  selectedValues: d,
47
- noLabelFrontWeight: f = !1,
48
- onChange: b
47
+ noLabelFrontWeight: p = !1,
48
+ onChange: f
49
49
  }) => {
50
50
  const c = G({}), [m, x] = S([]), { lessThan: h } = N(), R = (r, e) => {
51
51
  if (r.length !== e.length) return !1;
52
- const t = (o) => o.reduce((_, O) => (_[O] = (_[O] || 0) + 1, _), {}), n = t(r), s = t(e);
52
+ const t = (o) => o.reduce((_, j) => (_[j] = (_[j] || 0) + 1, _), {}), n = t(r), s = t(e);
53
53
  return !Object.keys(n).some((o) => n[o] !== s[o]);
54
54
  }, k = (r) => (c.current[r] || (c.current[r] = q()), c.current[r]), v = () => {
55
55
  const r = [];
56
56
  Object.entries(c.current).forEach(([e]) => {
57
57
  const t = c.current[e].current;
58
58
  t && t.name.indexOf("Group") === -1 && t.checked && r.push(t.value);
59
- }), x(r), b && b(r);
60
- }, u = (r) => {
59
+ }), x(r), f && f(r);
60
+ }, l = (r) => {
61
61
  if (r === "") return;
62
62
  const e = [];
63
63
  Object.entries(c.current).forEach(([s]) => {
@@ -87,41 +87,41 @@ import '../../assets/CheckboxTree.css';const a = {
87
87
  if (!s || !o) return;
88
88
  s.checked = !!o.checked;
89
89
  }
90
- }), u(t), v();
90
+ }), l(t), v();
91
91
  return;
92
92
  }
93
- u(e.getAttribute("data-groupname") || ""), v();
93
+ l(e.getAttribute("data-groupname") || ""), v();
94
94
  }
95
95
  }, y = (r) => {
96
96
  const e = r.target, t = e.closest("[data-li]");
97
97
  g(e, t);
98
98
  };
99
- return E(() => {
99
+ return O(() => {
100
100
  d && !R(d, m) && Object.entries(c.current).forEach(([r]) => {
101
101
  const e = c.current[r].current;
102
102
  e && (d?.includes(e.value) ? e.checked = !0 : e.checked = !1, e.name.indexOf("Group") !== -1 && x(d || []));
103
103
  });
104
- }, [d]), E(() => {
104
+ }, [d]), O(() => {
105
105
  Object.entries(c.current).forEach(([r]) => {
106
106
  const e = c.current[r].current;
107
- e && e.name.indexOf("Group") !== -1 && u(e.name);
107
+ e && e.name.indexOf("Group") !== -1 && l(e.name);
108
108
  });
109
- }, [m]), /* @__PURE__ */ l("div", { children: [
110
- p && /* @__PURE__ */ i("span", { className: a["checkbox-tree__header"], children: p }),
111
- /* @__PURE__ */ i("div", { onClick: $, "data-ul": !0, role: "tree", tabIndex: 0, children: F.map(({ itemName: r, children: e }, t) => /* @__PURE__ */ l(
109
+ }, [m]), /* @__PURE__ */ u("div", { children: [
110
+ b && /* @__PURE__ */ i("span", { className: a["checkbox-tree__header"], children: b }),
111
+ /* @__PURE__ */ i("div", { onClick: $, "data-ul": !0, role: "tree", tabIndex: 0, children: F.map(({ itemName: r, children: e }, t) => /* @__PURE__ */ u(
112
112
  "div",
113
113
  {
114
114
  className: a["checkbox-tree__branch"],
115
115
  "data-li": !0,
116
116
  "aria-expanded": h.md ? "false" : "true",
117
117
  children: [
118
- /* @__PURE__ */ l(C, { inline: !0, className: a["checkbox-tree__branch--formfield"], children: [
118
+ /* @__PURE__ */ u(C, { inline: !0, className: a["checkbox-tree__branch--formfield"], children: [
119
119
  /* @__PURE__ */ i(L, { variant: "blank", onClick: y, children: /* @__PURE__ */ i(
120
120
  I,
121
121
  {
122
122
  name: "CheveronRight",
123
123
  size: 16,
124
- className: j(a["checkbox-tree__branch--icon"], {
124
+ className: E(a["checkbox-tree__branch--icon"], {
125
125
  [a["checkbox-tree__branch--icon--expanded"]]: !h.md
126
126
  })
127
127
  }
@@ -135,16 +135,16 @@ import '../../assets/CheckboxTree.css';const a = {
135
135
  ref: k(`Group${t}`)
136
136
  }
137
137
  ),
138
- /* @__PURE__ */ i(A, { htmlFor: r, noFontWeight: f, children: r })
138
+ /* @__PURE__ */ i(A, { htmlFor: r, noFontWeight: p, children: r })
139
139
  ] }),
140
140
  /* @__PURE__ */ i(
141
141
  "div",
142
142
  {
143
- className: j(a["checkbox-tree__leaves"], {
143
+ className: E(a["checkbox-tree__leaves"], {
144
144
  [a["checkbox-tree__leaves--expanded"]]: !h.md
145
145
  }),
146
146
  "data-ul": !0,
147
- children: e.map(({ itemName: n, itemValue: s, disabled: o }) => /* @__PURE__ */ i("div", { className: a["checkbox-tree__leaf"], "data-li": !0, children: /* @__PURE__ */ l(C, { inline: !0, className: a["checkbox-tree__branch--formfield"], children: [
147
+ children: e.map(({ itemName: n, itemValue: s, disabled: o }) => /* @__PURE__ */ i("div", { className: a["checkbox-tree__leaf"], "data-li": !0, children: /* @__PURE__ */ u(C, { inline: !0, className: a["checkbox-tree__branch--formfield"], children: [
148
148
  /* @__PURE__ */ i(
149
149
  B,
150
150
  {
@@ -156,7 +156,7 @@ import '../../assets/CheckboxTree.css';const a = {
156
156
  ref: k(`Group${t}_${n}`)
157
157
  }
158
158
  ),
159
- /* @__PURE__ */ i(A, { htmlFor: n, noFontWeight: f, children: n })
159
+ /* @__PURE__ */ i(A, { htmlFor: n, noFontWeight: p, children: n })
160
160
  ] }) }, n))
161
161
  }
162
162
  )
@@ -1,12 +1,12 @@
1
- import { jsxs as o, jsx as _ } from "react/jsx-runtime";
1
+ import { jsxs as o, jsx as s } from "react/jsx-runtime";
2
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 = {
3
+ import '../../assets/Chip.css';const e = "_chip_12dmi_1", l = "_chip__label_12dmi_25", c = {
4
4
  chip: e,
5
5
  chip__label: l,
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"] })
6
+ "chip__close-button": "_chip__close-button_12dmi_32"
7
+ }, h = ({ label: _, onDelete: i }) => /* @__PURE__ */ o("button", { className: c.chip, onClick: () => i(_), children: [
8
+ /* @__PURE__ */ s("span", { className: c.chip__label, children: _ }),
9
+ /* @__PURE__ */ s(t, { name: "Cross", size: 20, className: c["chip__close-button"] })
10
10
  ] });
11
11
  export {
12
12
  h as Chip
@@ -1,70 +1,70 @@
1
- import { jsxs as c, Fragment as g, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as l, Fragment as g, jsx as o } from "react/jsx-runtime";
2
2
  import { useId as I } from "react";
3
- import { c as b } from "../../clsx-OuTLNxxd.js";
3
+ import { c as a } from "../../clsx-OuTLNxxd.js";
4
4
  import { Icon as $ } from "../Icon/Icon.js";
5
5
  import '../../assets/ControlsButton.css';const t = {
6
- "controls-input": "_controls-input_lu12f_1",
7
- "controls-button": "_controls-button_lu12f_32",
8
- "controls-button--squared": "_controls-button--squared_lu12f_50",
9
- "controls-button--with-prefix": "_controls-button--with-prefix_lu12f_62",
10
- "controls-button--with-icon": "_controls-button--with-icon_lu12f_68",
11
- "controls-button__wrapper": "_controls-button__wrapper_lu12f_72",
12
- "controls-button__prefix": "_controls-button__prefix_lu12f_78",
13
- "controls-button__tooltip": "_controls-button__tooltip_lu12f_83",
14
- "controls-button__tooltip--left": "_controls-button__tooltip--left_lu12f_98",
15
- "controls-button__tooltip--center": "_controls-button__tooltip--center_lu12f_102",
16
- "controls-button__tooltip--right": "_controls-button__tooltip--right_lu12f_107"
6
+ "controls-input": "_controls-input_amb4c_1",
7
+ "controls-button": "_controls-button_amb4c_32",
8
+ "controls-button--squared": "_controls-button--squared_amb4c_50",
9
+ "controls-button--with-prefix": "_controls-button--with-prefix_amb4c_62",
10
+ "controls-button--with-icon": "_controls-button--with-icon_amb4c_68",
11
+ "controls-button__wrapper": "_controls-button__wrapper_amb4c_72",
12
+ "controls-button__prefix": "_controls-button__prefix_amb4c_78",
13
+ "controls-button__tooltip": "_controls-button__tooltip_amb4c_83",
14
+ "controls-button__tooltip--left": "_controls-button__tooltip--left_amb4c_98",
15
+ "controls-button__tooltip--center": "_controls-button__tooltip--center_amb4c_102",
16
+ "controls-button__tooltip--right": "_controls-button__tooltip--right_amb4c_107"
17
17
  }, z = ({
18
- type: p = "checkbox",
18
+ type: u = "checkbox",
19
19
  label: n,
20
20
  value: i,
21
21
  iconName: r,
22
- prefix: l,
22
+ prefix: c,
23
23
  tooltip: s,
24
- tooltipPosition: a = "center",
25
- name: f,
24
+ tooltipPosition: p = "center",
25
+ name: m,
26
26
  forceSquared: d = !1,
27
27
  checked: h,
28
- disabled: m,
28
+ disabled: f,
29
29
  onSetValue: x
30
30
  }) => {
31
- const w = I(), u = (typeof n == "string" ? n : i).replace(/\s+/g, "_"), _ = `${w}${u}`, e = `${_}-tooltip`;
32
- return /* @__PURE__ */ c(g, { children: [
31
+ const w = I(), e = (typeof n == "string" ? n : i).replace(/\s+/g, "_"), _ = `${w}${e}`, b = `${_}-tooltip`;
32
+ return /* @__PURE__ */ l(g, { children: [
33
33
  /* @__PURE__ */ o(
34
34
  "input",
35
35
  {
36
- type: p,
36
+ type: u,
37
37
  id: _,
38
- name: f ?? u,
39
- disabled: m,
38
+ name: m ?? e,
39
+ disabled: f,
40
40
  value: i,
41
41
  checked: h,
42
42
  onChange: x,
43
43
  className: t["controls-input"],
44
- "aria-describedby": s ? e : void 0
44
+ "aria-describedby": s ? b : void 0
45
45
  }
46
46
  ),
47
- /* @__PURE__ */ c(
47
+ /* @__PURE__ */ l(
48
48
  "label",
49
49
  {
50
50
  htmlFor: _,
51
- className: b(t["controls-button"], [
51
+ className: a(t["controls-button"], [
52
52
  d && t["controls-button--squared"],
53
- l && t["controls-button--with-prefix"],
53
+ c && t["controls-button--with-prefix"],
54
54
  r && t["controls-button--with-icon"]
55
55
  ]),
56
56
  children: [
57
57
  r && /* @__PURE__ */ o($, { name: r, size: 20 }),
58
- /* @__PURE__ */ c("div", { className: t["controls-button__wrapper"], children: [
59
- l && /* @__PURE__ */ o("div", { className: t["controls-button__prefix"], children: l }),
58
+ /* @__PURE__ */ l("div", { className: t["controls-button__wrapper"], children: [
59
+ c && /* @__PURE__ */ o("div", { className: t["controls-button__prefix"], children: c }),
60
60
  n
61
61
  ] }),
62
62
  s && /* @__PURE__ */ o(
63
63
  "div",
64
64
  {
65
- id: e,
65
+ id: b,
66
66
  role: "tooltip",
67
- className: b(t["controls-button__tooltip"], t[`controls-button__tooltip--${a}`]),
67
+ className: a(t["controls-button__tooltip"], t[`controls-button__tooltip--${p}`]),
68
68
  children: s
69
69
  }
70
70
  )
@@ -1,55 +1,55 @@
1
- import { jsxs as i, jsx as y } from "react/jsx-runtime";
1
+ import { jsxs as u, jsx as y } from "react/jsx-runtime";
2
2
  import { c as b } from "../../clsx-OuTLNxxd.js";
3
3
  import { useState as f, useRef as m, useEffect as h } from "react";
4
4
  import { Icon as C } from "../Icon/Icon.js";
5
5
  import '../../assets/CopyableText.css';const a = {
6
- "copyable-text-container": "_copyable-text-container_1up1q_1",
7
- "copyable-text-copy-button": "_copyable-text-copy-button_1up1q_8",
8
- "copyable-text-copy-visually-hidden": "_copyable-text-copy-visually-hidden_1up1q_32"
6
+ "copyable-text-container": "_copyable-text-container_l97qt_1",
7
+ "copyable-text-copy-button": "_copyable-text-copy-button_l97qt_8",
8
+ "copyable-text-copy-visually-hidden": "_copyable-text-copy-visually-hidden_l97qt_32"
9
9
  }, _ = 2e3, T = ({
10
10
  text: o,
11
11
  additionalClassName: r = "",
12
12
  ariaLabelCopy: s,
13
13
  ariaLabelHasBeenCopied: p
14
14
  }) => {
15
- const [t, n] = f(!1), c = m(null), x = m(null), [d, e] = f(!1);
15
+ const [e, n] = f(!1), c = m(null), x = m(null), [d, t] = f(!1);
16
16
  h(() => () => {
17
17
  c.current && clearTimeout(c.current);
18
18
  }, []);
19
- const u = () => {
19
+ const i = () => {
20
20
  n(!0), c.current = setTimeout(() => {
21
- n(!1), e(!1);
21
+ n(!1), t(!1);
22
22
  }, _), navigator.clipboard.writeText(o).catch(() => n(!1));
23
23
  };
24
- return /* @__PURE__ */ i(
24
+ return /* @__PURE__ */ u(
25
25
  "span",
26
26
  {
27
27
  className: b(a["copyable-text-container"], r),
28
28
  role: "button",
29
29
  tabIndex: 0,
30
- onFocus: () => e(!0),
31
- onBlur: () => !t && e(!1),
30
+ onFocus: () => t(!0),
31
+ onBlur: () => !e && t(!1),
32
32
  onKeyDown: (l) => {
33
- e(!0), (l.key === "Enter" || l.key === " ") && (l.preventDefault(), u());
33
+ t(!0), (l.key === "Enter" || l.key === " ") && (l.preventDefault(), i());
34
34
  },
35
- onMouseEnter: () => e(!0),
36
- onMouseLeave: () => !t && e(!1),
35
+ onMouseEnter: () => t(!0),
36
+ onMouseLeave: () => !e && t(!1),
37
37
  children: [
38
38
  o,
39
- d && /* @__PURE__ */ i(
39
+ d && /* @__PURE__ */ u(
40
40
  "button",
41
41
  {
42
42
  ref: x,
43
43
  className: b(a["copyable-text-copy-button"], r),
44
- onClick: u,
44
+ onClick: i,
45
45
  type: "button",
46
46
  "aria-keyshortcuts": "Enter Space",
47
- "aria-label": t ? p ?? "Copied" : s ?? "Copy to clipboard",
47
+ "aria-label": e ? p ?? "Copied" : s ?? "Copy to clipboard",
48
48
  tabIndex: -1,
49
49
  children: [
50
50
  o,
51
- /* @__PURE__ */ y(C, { name: t ? "CheckSmall" : "Copy", size: 20 }),
52
- /* @__PURE__ */ y("span", { className: a["copyable-text-copy-visually-hidden"], "aria-live": "polite", children: t ? p ?? "Copied" : s ?? "Copy to clipboard" })
51
+ /* @__PURE__ */ y(C, { name: e ? "CheckSmall" : "Copy", size: 20 }),
52
+ /* @__PURE__ */ y("span", { className: a["copyable-text-copy-visually-hidden"], "aria-live": "polite", children: e ? p ?? "Copied" : s ?? "Copy to clipboard" })
53
53
  ]
54
54
  }
55
55
  )