@uva-glass/component-library 3.19.2 → 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 (103) 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/LinkContextMenu.css +1 -1
  21. package/dist/assets/MetaDataList.css +1 -1
  22. package/dist/assets/ModalDialog.css +1 -1
  23. package/dist/assets/MultiSelectBox.css +1 -1
  24. package/dist/assets/MultiSelectItem.css +1 -1
  25. package/dist/assets/OverlayCloseButton.css +1 -1
  26. package/dist/assets/OverlayStepBar.css +1 -1
  27. package/dist/assets/PageOverlay.css +1 -1
  28. package/dist/assets/Periods.css +1 -1
  29. package/dist/assets/ProgrammeCard.css +1 -1
  30. package/dist/assets/RadioButton.css +1 -1
  31. package/dist/assets/RadioGroup.css +1 -1
  32. package/dist/assets/RteEditor.css +1 -1
  33. package/dist/assets/SectionNotification.css +1 -1
  34. package/dist/assets/SelectListbox.css +1 -1
  35. package/dist/assets/Sortable.css +1 -1
  36. package/dist/assets/Spinner.css +1 -1
  37. package/dist/assets/TableCellContextMenu.css +1 -1
  38. package/dist/assets/TablePlugin.css +1 -1
  39. package/dist/components/AccordionCard/AccordionCard.js +22 -22
  40. package/dist/components/ActionList/ActionList.js +14 -14
  41. package/dist/components/AppStatusBar/AppStatusBar.js +5 -5
  42. package/dist/components/Backdrop/Backdrop.js +5 -5
  43. package/dist/components/Buttons/Button.js +1 -1
  44. package/dist/components/Buttons/LinkButton.js +1 -1
  45. package/dist/components/Buttons/MenuButton.js +1 -1
  46. package/dist/components/CheckboxTree/CheckboxTree.js +2 -2
  47. package/dist/components/FormInput/FormInput.js +2 -2
  48. package/dist/components/InputField/InputField.stories.js +2 -2
  49. package/dist/components/MetaDataList/MetaDataList.js +4 -4
  50. package/dist/components/ModalDialog/ModalDialog.js +27 -27
  51. package/dist/components/MultiSelect/MultiSelect.js +2 -2
  52. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  53. package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -3
  54. package/dist/components/MultiSelect/components/MultiSelectItem.js +1 -1
  55. package/dist/components/MultiSelect/index.js +1 -1
  56. package/dist/components/MultiSelectBox/MultiSelectBox.js +33 -33
  57. package/dist/components/OverlayCloseButton/OverlayCloseButton.js +2 -2
  58. package/dist/components/OverlayStepBar/OverlayStepBar.js +6 -6
  59. package/dist/components/PageOverlay/PageOverlay.js +30 -30
  60. package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
  61. package/dist/components/Periods/Periods.js +16 -16
  62. package/dist/components/ProgrammeCard/ProgrammeCard.js +4 -4
  63. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
  64. package/dist/components/RadioButton/RadioButton.js +9 -9
  65. package/dist/components/RadioGroup/RadioGroup.js +27 -27
  66. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +2 -2
  67. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
  68. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -3
  69. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  70. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +23 -23
  71. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -3
  72. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +1 -1
  73. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
  74. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +37 -37
  75. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
  76. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  77. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +2 -2
  78. package/dist/components/RteEditor/Plugins/index.js +1 -1
  79. package/dist/components/RteEditor/RteEditor.js +3 -3
  80. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
  81. package/dist/components/SectionNotification/SectionNotification.js +2 -2
  82. package/dist/components/SelectListbox/components/SelectButton.js +1 -1
  83. package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
  84. package/dist/components/SelectListbox/components/SelectOption.js +1 -1
  85. package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
  86. package/dist/components/Sortable/Sortable.js +1 -1
  87. package/dist/components/Sortable/SortableProvider.js +1 -1
  88. package/dist/components/Sortable/components/SortableContainer.js +2 -2
  89. package/dist/components/Sortable/components/SortableHandle.js +1 -1
  90. package/dist/components/Sortable/components/SortableItem.js +2 -2
  91. package/dist/components/Spinner/Spinner.js +2 -2
  92. package/dist/components/Timeline/Timeline.test.js +2 -2
  93. package/dist/components/index.js +1 -1
  94. package/dist/index.js +1 -1
  95. package/package.json +1 -1
  96. package/dist/Button.module-FL3-CODh.js +0 -15
  97. package/dist/Button.module-FL3-CODh.js.map +0 -1
  98. package/dist/MultiSelectItem-D9PxdX43.js +0 -24
  99. package/dist/RteEditor.module-oFMKEW6f.js +0 -41
  100. package/dist/RteEditor.module-oFMKEW6f.js.map +0 -1
  101. package/dist/SelectListbox.module-ignbxWNU.js.map +0 -1
  102. package/dist/Sortable.module-DDhRFD1T.js +0 -23
  103. package/dist/Sortable.module-DDhRFD1T.js.map +0 -1
@@ -8,21 +8,21 @@ import { Backdrop as Y } from "../Backdrop/Backdrop.js";
8
8
  import { OverlayCloseButton as Z } from "../OverlayCloseButton/OverlayCloseButton.js";
9
9
  import { Spinner as oo } from "../Spinner/Spinner.js";
10
10
  import '../../assets/ModalDialog.css';const o = {
11
- "modal-dialog": "_modal-dialog_f080o_1",
12
- "modal-dialog--padded": "_modal-dialog--padded_f080o_18",
13
- "modal-dialog__content": "_modal-dialog__content_f080o_22",
14
- "modal-dialog__children": "_modal-dialog__children_f080o_33",
15
- "modal-dialog__title": "_modal-dialog__title_f080o_37",
16
- "modal-dialog--confirm": "_modal-dialog--confirm_f080o_44",
17
- "modal-dialog__buttons": "_modal-dialog__buttons_f080o_48",
18
- "modal-dialog__buttons--border": "_modal-dialog__buttons--border_f080o_61",
19
- "modal-dialog__buttons--shadow": "_modal-dialog__buttons--shadow_f080o_78",
20
- "modal-dialog__close": "_modal-dialog__close_f080o_82",
21
- "modal-dialog--small": "_modal-dialog--small_f080o_99",
22
- "modal-dialog--regular": "_modal-dialog--regular_f080o_103",
23
- "modal-dialog--medium": "_modal-dialog--medium_f080o_107",
24
- "modal-dialog--large": "_modal-dialog--large_f080o_111",
25
- "modal-dialog--content-with-buttons": "_modal-dialog--content-with-buttons_f080o_125"
11
+ "modal-dialog": "_modal-dialog_1s7u8_1",
12
+ "modal-dialog--padded": "_modal-dialog--padded_1s7u8_18",
13
+ "modal-dialog__content": "_modal-dialog__content_1s7u8_22",
14
+ "modal-dialog__children": "_modal-dialog__children_1s7u8_33",
15
+ "modal-dialog__title": "_modal-dialog__title_1s7u8_37",
16
+ "modal-dialog--confirm": "_modal-dialog--confirm_1s7u8_44",
17
+ "modal-dialog__buttons": "_modal-dialog__buttons_1s7u8_48",
18
+ "modal-dialog__buttons--border": "_modal-dialog__buttons--border_1s7u8_61",
19
+ "modal-dialog__buttons--shadow": "_modal-dialog__buttons--shadow_1s7u8_78",
20
+ "modal-dialog__close": "_modal-dialog__close_1s7u8_82",
21
+ "modal-dialog--small": "_modal-dialog--small_1s7u8_99",
22
+ "modal-dialog--regular": "_modal-dialog--regular_1s7u8_103",
23
+ "modal-dialog--medium": "_modal-dialog--medium_1s7u8_107",
24
+ "modal-dialog--large": "_modal-dialog--large_1s7u8_111",
25
+ "modal-dialog--content-with-buttons": "_modal-dialog--content-with-buttons_1s7u8_125"
26
26
  };
27
27
  function _o(y) {
28
28
  const {
@@ -35,17 +35,17 @@ function _o(y) {
35
35
  closeButtonAriaValueText: C = "Close",
36
36
  isOpen: e,
37
37
  noValidate: E = !1,
38
- onClose: g,
38
+ onClose: u,
39
39
  onSubmit: L,
40
40
  role: N = "dialog",
41
- title: r,
42
- headerContent: s,
41
+ title: s,
42
+ headerContent: r,
43
43
  variant: n = "dialog",
44
- padded: u,
44
+ padded: g,
45
45
  size: z = "regular",
46
46
  noButtonBorder: f = !1
47
47
  } = y, m = w(null), p = w(null), [F, H] = T(!1), [O, V] = T(!1), { dialogProps: k, titleProps: A } = $({ role: N }, m), { modalProps: I } = G({ isDisabled: !e }), { overlayProps: M, underlayProps: R } = J(
48
- { isDismissable: c, isKeyboardDismissDisabled: B, isOpen: e, onClose: g },
48
+ { isDismissable: c, isKeyboardDismissDisabled: B, isOpen: e, onClose: u },
49
49
  m
50
50
  );
51
51
  Q({ isDisabled: !e }), X(() => {
@@ -66,7 +66,7 @@ function _o(y) {
66
66
  return () => {
67
67
  l && l.removeEventListener("scroll", d), window.removeEventListener("resize", d), clearTimeout(K);
68
68
  };
69
- }, [e, s]);
69
+ }, [e, r]);
70
70
  function j(l) {
71
71
  l.stopPropagation();
72
72
  }
@@ -78,21 +78,21 @@ function _o(y) {
78
78
  ...M,
79
79
  className: i(o["modal-dialog"], [o[`modal-dialog--${z}`]], {
80
80
  [o["modal-dialog--confirm"]]: n === "confirm",
81
- [o["modal-dialog--padded"]]: u
81
+ [o["modal-dialog--padded"]]: g
82
82
  }),
83
83
  onKeyUp: j,
84
84
  role: "presentation",
85
85
  ref: m,
86
86
  children: [
87
- (r || s) && n === "dialog" && /* @__PURE__ */ _(S, { children: [
88
- r && /* @__PURE__ */ a("h1", { ...A, className: o["modal-dialog__title"], children: r }),
89
- s,
87
+ (s || r) && n === "dialog" && /* @__PURE__ */ _(S, { children: [
88
+ s && /* @__PURE__ */ a("h1", { ...A, className: o["modal-dialog__title"], children: s }),
89
+ r,
90
90
  n === "dialog" && /* @__PURE__ */ a("span", { className: o["modal-dialog__close"], children: /* @__PURE__ */ a(
91
91
  Z,
92
92
  {
93
93
  "aria-label": C,
94
- onClick: g,
95
- paddedModal: u
94
+ onClick: u,
95
+ paddedModal: g
96
96
  }
97
97
  ) })
98
98
  ] }),
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../clsx-OuTLNxxd.js";
3
- import "../../MultiSelectItem-D9PxdX43.js";
4
- import { M as p } from "../../TablePlugin-CE20cPhW.js";
3
+ import "../../MultiSelectItem-DbOdEllV.js";
4
+ import { M as p } from "../../TablePlugin-hxs9O_ox.js";
5
5
  export {
6
6
  p as MultiSelect
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as S, jsx as r } from "react/jsx-runtime";
2
2
  import { fn as d } from "../../index-BCvy9BiK.js";
3
3
  import { useState as p } from "react";
4
- import { M as e } from "../../TablePlugin-CE20cPhW.js";
4
+ import { M as e } from "../../TablePlugin-hxs9O_ox.js";
5
5
  import { Container as M } from "../../storyComponents/Container/Container.js";
6
6
  const C = `
7
7
  // MultiSelectHeader can be added optionally
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../MultiSelectItem-D9PxdX43.js";
2
+ import "../../../MultiSelectItem-DbOdEllV.js";
3
3
  import "../../Label/Label.js";
4
4
  import "react";
5
5
  import "../../Buttons/Button.js";
@@ -15,7 +15,7 @@ import "../../IconButton/IconButton.js";
15
15
  import "../../Input/Input.js";
16
16
  import "../../InputField/InputField.js";
17
17
  import "react-router";
18
- import { a as y } from "../../../TablePlugin-CE20cPhW.js";
18
+ import { a as y } from "../../../TablePlugin-hxs9O_ox.js";
19
19
  import "../../RteEditor/Providers/LanguageProvider.js";
20
20
  import "../../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
21
21
  import "../../RteEditor/hooks/components/Flyout.js";
@@ -23,7 +23,7 @@ import "../../../index-DllfJcv4.js";
23
23
  import "../../SelectListbox/SelectListbox.js";
24
24
  import "../../SelectListbox/SelectProvider.js";
25
25
  import "../../Sortable/components/SortableItem.js";
26
- import "../../../SortableProvider-DZggDO3M.js";
26
+ import "../../../SortableProvider-B3_u0pKv.js";
27
27
  export {
28
28
  y as MultiSelectHeader
29
29
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { M as e } from "../../../MultiSelectItem-D9PxdX43.js";
3
+ import { M as e } from "../../../MultiSelectItem-DbOdEllV.js";
4
4
  import "../../Checkbox/Checkbox.js";
5
5
  import "../../Label/Label.js";
6
6
  export {
@@ -1,4 +1,4 @@
1
- import { M as l } from "../../TablePlugin-CE20cPhW.js";
1
+ import { M as l } from "../../TablePlugin-hxs9O_ox.js";
2
2
  export {
3
3
  l as MultiSelect
4
4
  };
@@ -1,44 +1,44 @@
1
- import { jsxs as g, jsx as u } from "react/jsx-runtime";
2
- import { useId as U, useState as b, useRef as S, useCallback as _, useEffect as y } from "react";
1
+ import { jsxs as f, jsx as u } from "react/jsx-runtime";
2
+ import { useId as U, useState as b, useRef as S, useCallback as g, useEffect as w } from "react";
3
3
  import { c as I } from "../../clsx-OuTLNxxd.js";
4
4
  import { Icon as H } from "../Icon/Icon.js";
5
5
  import { Checkbox as q } from "../Checkbox/Checkbox.js";
6
6
  import { usePositionedFloaters as G } from "../hooks/usePositionedFloaters.js";
7
7
  import '../../assets/MultiSelectBox.css';const n = {
8
- "multi-select-box-wrapper": "_multi-select-box-wrapper_17783_1",
9
- "multi-select-box-trigger": "_multi-select-box-trigger_17783_5",
10
- "multi-select-box-trigger-label": "_multi-select-box-trigger-label_17783_32",
11
- "multi-select-box-trigger-icon": "_multi-select-box-trigger-icon_17783_41",
12
- "multi-select-box-trigger-icon--open": "_multi-select-box-trigger-icon--open_17783_46",
13
- "multi-select-box-listbox--wrapper": "_multi-select-box-listbox--wrapper_17783_50",
14
- "multi-select-box-listbox": "_multi-select-box-listbox_17783_50",
15
- "multi-select-box-listbox-option": "_multi-select-box-listbox-option_17783_77",
16
- "multi-select-box-listbox-option--active": "_multi-select-box-listbox-option--active_17783_88",
17
- "multi-select-box-listbox-option-content": "_multi-select-box-listbox-option-content_17783_99",
18
- "multi-select-box-listbox-option--disabled": "_multi-select-box-listbox-option--disabled_17783_113"
8
+ "multi-select-box-wrapper": "_multi-select-box-wrapper_1yhht_1",
9
+ "multi-select-box-trigger": "_multi-select-box-trigger_1yhht_5",
10
+ "multi-select-box-trigger-label": "_multi-select-box-trigger-label_1yhht_32",
11
+ "multi-select-box-trigger-icon": "_multi-select-box-trigger-icon_1yhht_41",
12
+ "multi-select-box-trigger-icon--open": "_multi-select-box-trigger-icon--open_1yhht_46",
13
+ "multi-select-box-listbox--wrapper": "_multi-select-box-listbox--wrapper_1yhht_50",
14
+ "multi-select-box-listbox": "_multi-select-box-listbox_1yhht_50",
15
+ "multi-select-box-listbox-option": "_multi-select-box-listbox-option_1yhht_77",
16
+ "multi-select-box-listbox-option--active": "_multi-select-box-listbox-option--active_1yhht_88",
17
+ "multi-select-box-listbox-option-content": "_multi-select-box-listbox-option-content_1yhht_99",
18
+ "multi-select-box-listbox-option--disabled": "_multi-select-box-listbox-option--disabled_1yhht_113"
19
19
  }, Z = ({
20
20
  selectData: c,
21
21
  onChange: m,
22
- defaultSelectedItems: f,
22
+ defaultSelectedItems: h,
23
23
  labelSuffix: E = "geselecteerd",
24
24
  disabled: P = !1,
25
25
  fullWidth: C = !1,
26
26
  maxOptionHeight: L,
27
27
  optionPositionRight: O
28
28
  }) => {
29
- const h = U(), [r, v] = b(f || []), [N, k] = b((f == null ? void 0 : f.length) || 0), [i, a] = b(!1), [d, x] = b(-1), w = S(null), A = S(null), [F, K] = b(null), [R, $] = b(null), { style: D } = G(F, R, {
29
+ const _ = U(), [r, y] = b(h || []), [N, v] = b((h == null ? void 0 : h.length) || 0), [i, a] = b(!1), [d, x] = b(-1), k = S(null), A = S(null), [F, K] = b(null), [R, $] = b(null), { style: D } = G(F, R, {
30
30
  mouseEvent: "click",
31
31
  offset: 4,
32
32
  maxFixedHeight: L,
33
33
  horizontalPosition: O ? "right" : "left",
34
34
  mobileBreakpoint: "28rem",
35
35
  fullWidth: C
36
- }), p = _(
36
+ }), p = g(
37
37
  ({ target: e }) => {
38
- !e || !w.current || w.current.contains(e) || a(!1);
38
+ !e || !k.current || k.current.contains(e) || a(!1);
39
39
  },
40
40
  [a]
41
- ), M = _(
41
+ ), M = g(
42
42
  (e) => {
43
43
  switch (e.key) {
44
44
  case "Enter":
@@ -50,7 +50,7 @@ import '../../assets/MultiSelectBox.css';const n = {
50
50
  }
51
51
  },
52
52
  [i]
53
- ), T = _(
53
+ ), T = g(
54
54
  (e) => {
55
55
  if (i)
56
56
  switch (e.key) {
@@ -79,7 +79,7 @@ import '../../assets/MultiSelectBox.css';const n = {
79
79
  const t = c[d];
80
80
  if (!t || t.disabled) break;
81
81
  const l = r.some((s) => s.value === t.value) ? r.filter((s) => s.value !== t.value) : [...r, t];
82
- v(l), k(l.length), m(l);
82
+ y(l), v(l.length), m(l);
83
83
  break;
84
84
  }
85
85
  case "Tab":
@@ -94,8 +94,8 @@ import '../../assets/MultiSelectBox.css';const n = {
94
94
  ), j = (e, t) => {
95
95
  if (t.disabled || e.target.tagName === "INPUT") return;
96
96
  const l = r.some((s) => s.value === t.value) ? r.filter((s) => s.value !== t.value) : [...r, t];
97
- v(l), k(l.length), m(l);
98
- }, z = _(
97
+ y(l), v(l.length), m(l);
98
+ }, z = g(
99
99
  (e) => {
100
100
  const { checked: t, value: o } = e.target;
101
101
  let l = [...r];
@@ -104,23 +104,23 @@ import '../../assets/MultiSelectBox.css';const n = {
104
104
  s && l.push(s);
105
105
  } else
106
106
  l = l.filter((s) => s.value !== o);
107
- v(l), k(l.length), m(l);
107
+ y(l), v(l.length), m(l);
108
108
  },
109
109
  [c, r, m]
110
110
  );
111
- return y(() => {
111
+ return w(() => {
112
112
  i && x(0);
113
- }, [i]), y(() => {
113
+ }, [i]), w(() => {
114
114
  var t;
115
115
  const e = (t = A.current) == null ? void 0 : t.children[d];
116
116
  e == null || e.focus();
117
- }, [d]), y(() => {
117
+ }, [d]), w(() => {
118
118
  if (i)
119
119
  return document.addEventListener("click", p, !0), document.addEventListener("scroll", p, !0), () => {
120
120
  document.removeEventListener("click", p, !0), document.removeEventListener("scroll", p, !0);
121
121
  };
122
- }, [p, i]), /* @__PURE__ */ g("div", { className: n["multi-select-box-wrapper"], ref: w, children: [
123
- /* @__PURE__ */ g(
122
+ }, [p, i]), /* @__PURE__ */ f("div", { className: n["multi-select-box-wrapper"], ref: k, children: [
123
+ /* @__PURE__ */ f(
124
124
  "button",
125
125
  {
126
126
  className: n["multi-select-box-trigger"],
@@ -133,10 +133,10 @@ import '../../assets/MultiSelectBox.css';const n = {
133
133
  "aria-haspopup": "listbox",
134
134
  "aria-label": `${N} ${E}`,
135
135
  disabled: P,
136
- ...i && { "aria-controls": h },
136
+ ...i && { "aria-controls": _ },
137
137
  ref: $,
138
138
  children: [
139
- /* @__PURE__ */ g("span", { className: n["multi-select-box-trigger-label"], children: [
139
+ /* @__PURE__ */ f("span", { className: n["multi-select-box-trigger-label"], children: [
140
140
  N,
141
141
  " ",
142
142
  E
@@ -157,7 +157,7 @@ import '../../assets/MultiSelectBox.css';const n = {
157
157
  /* @__PURE__ */ u(
158
158
  "div",
159
159
  {
160
- id: h,
160
+ id: _,
161
161
  className: I(n["multi-select-box-listbox--wrapper"]),
162
162
  style: { ...D.style, visibility: i ? "visible" : "hidden" },
163
163
  role: "listbox",
@@ -176,11 +176,11 @@ import '../../assets/MultiSelectBox.css';const n = {
176
176
  onFocus: () => x(l),
177
177
  tabIndex: 0,
178
178
  "aria-selected": r.some((s) => s.value === t),
179
- children: /* @__PURE__ */ g("label", { htmlFor: e, className: n["multi-select-box-listbox-option-content"], tabIndex: -1, children: [
179
+ children: /* @__PURE__ */ f("label", { htmlFor: e, className: n["multi-select-box-listbox-option-content"], tabIndex: -1, children: [
180
180
  /* @__PURE__ */ u(
181
181
  q,
182
182
  {
183
- id: `${e}-${h}`,
183
+ id: `${e}-${_}`,
184
184
  onChange: z,
185
185
  value: t,
186
186
  tabIndex: -1,
@@ -3,8 +3,8 @@ import { c as l } from "../../clsx-OuTLNxxd.js";
3
3
  import { forwardRef as a } from "react";
4
4
  import { Icon as n } from "../Icon/Icon.js";
5
5
  import '../../assets/OverlayCloseButton.css';const t = {
6
- "overlay-close-button": "_overlay-close-button_1uqum_1",
7
- "overlay-close-button--padded": "_overlay-close-button--padded_1uqum_39"
6
+ "overlay-close-button": "_overlay-close-button_1gbam_1",
7
+ "overlay-close-button--padded": "_overlay-close-button--padded_1gbam_39"
8
8
  }, p = a(
9
9
  ({ paddedModal: e, ...r }, s) => /* @__PURE__ */ o(
10
10
  "button",
@@ -1,12 +1,12 @@
1
1
  import { jsx as s, jsxs as l } from "react/jsx-runtime";
2
2
  import { c as o } from "../../clsx-OuTLNxxd.js";
3
3
  import '../../assets/OverlayStepBar.css';const r = {
4
- "overlay-step-bar__container": "_overlay-step-bar__container_1l3x3_1",
5
- "overlay-step-bar__step-wrapper": "_overlay-step-bar__step-wrapper_1l3x3_10",
6
- "overlay-step-bar__step": "_overlay-step-bar__step_1l3x3_10",
7
- "overlay-step-bar__step--label": "_overlay-step-bar__step--label_1l3x3_56",
8
- "overlay-step-bar__step--index": "_overlay-step-bar__step--index_1l3x3_62",
9
- "overlay-step-bar__step--active": "_overlay-step-bar__step--active_1l3x3_87"
4
+ "overlay-step-bar__container": "_overlay-step-bar__container_olxm1_1",
5
+ "overlay-step-bar__step-wrapper": "_overlay-step-bar__step-wrapper_olxm1_10",
6
+ "overlay-step-bar__step": "_overlay-step-bar__step_olxm1_10",
7
+ "overlay-step-bar__step--label": "_overlay-step-bar__step--label_olxm1_56",
8
+ "overlay-step-bar__step--index": "_overlay-step-bar__step--index_olxm1_62",
9
+ "overlay-step-bar__step--active": "_overlay-step-bar__step--active_olxm1_87"
10
10
  }, v = ({ stepLabels: _, activeStep: a = 0, onStepClick: t }) => (a > _.length && console.error("activeStep is greater than the number of steps"), /* @__PURE__ */ s("div", { className: r["overlay-step-bar__container"], children: _.length && _.map((p, e) => /* @__PURE__ */ s("span", { className: r["overlay-step-bar__step-wrapper"], children: /* @__PURE__ */ l(
11
11
  "button",
12
12
  {
@@ -1,24 +1,24 @@
1
- import { jsx as o, Fragment as j, jsxs as c } from "react/jsx-runtime";
1
+ import { jsx as o, Fragment as j, jsxs as _ } from "react/jsx-runtime";
2
2
  import { useDialog as A } from "@react-aria/dialog";
3
3
  import { FocusScope as C } from "@react-aria/focus";
4
4
  import { useModal as K, useOverlay as M, usePreventScroll as U, OverlayContainer as V } from "@react-aria/overlays";
5
5
  import { c as i } from "../../clsx-OuTLNxxd.js";
6
- import { useRef as y, useState as f, useEffect as $ } from "react";
6
+ import { useRef as d, useState as f, useEffect as $ } from "react";
7
7
  import { OverlayCloseButton as q } from "../OverlayCloseButton/OverlayCloseButton.js";
8
8
  import { Spinner as G } from "../Spinner/Spinner.js";
9
9
  import { Backdrop as J } from "../Backdrop/Backdrop.js";
10
10
  import '../../assets/PageOverlay.css';const e = {
11
- "page-overlay__container": "_page-overlay__container_1dv9m_1",
12
- "page-overlay": "_page-overlay_1dv9m_1",
13
- "page-overlay--full-screen": "_page-overlay--full-screen_1dv9m_18",
14
- "page-overlay--with-gutters": "_page-overlay--with-gutters_1dv9m_22",
15
- "page-overlay__content": "_page-overlay__content_1dv9m_27",
16
- "page-overlay__children": "_page-overlay__children_1dv9m_39",
17
- "page-overlay__title-wrapper": "_page-overlay__title-wrapper_1dv9m_43",
18
- "page-overlay__title": "_page-overlay__title_1dv9m_43",
19
- "page-overlay__buttons-bar": "_page-overlay__buttons-bar_1dv9m_54",
20
- "page-overlay__buttons-bar--shadow": "_page-overlay__buttons-bar--shadow_1dv9m_80",
21
- "page-overlay__close": "_page-overlay__close_1dv9m_85"
11
+ "page-overlay__container": "_page-overlay__container_g079c_1",
12
+ "page-overlay": "_page-overlay_g079c_1",
13
+ "page-overlay--full-screen": "_page-overlay--full-screen_g079c_18",
14
+ "page-overlay--with-gutters": "_page-overlay--with-gutters_g079c_22",
15
+ "page-overlay__content": "_page-overlay__content_g079c_27",
16
+ "page-overlay__children": "_page-overlay__children_g079c_39",
17
+ "page-overlay__title-wrapper": "_page-overlay__title-wrapper_g079c_43",
18
+ "page-overlay__title": "_page-overlay__title_g079c_43",
19
+ "page-overlay__buttons-bar": "_page-overlay__buttons-bar_g079c_54",
20
+ "page-overlay__buttons-bar--shadow": "_page-overlay__buttons-bar--shadow_g079c_80",
21
+ "page-overlay__close": "_page-overlay__close_g079c_85"
22
22
  };
23
23
  function ae({
24
24
  buttons: t,
@@ -31,50 +31,50 @@ function ae({
31
31
  onClose: p,
32
32
  onSubmit: P,
33
33
  title: s,
34
- headerContent: n,
35
- variant: v = "full-screen"
34
+ headerContent: c,
35
+ variant: g = "full-screen"
36
36
  }) {
37
- const _ = y(null), m = y(null), [T, E] = f(!1), [x, L] = f(!1), { dialogProps: B, titleProps: F } = A({ role: "dialog" }, _), { modalProps: H } = K({ isDisabled: !a }), { overlayProps: k, underlayProps: z } = M({ isOpen: a, onClose: p }, _);
37
+ const n = d(null), v = d(null), [T, E] = f(!1), [x, L] = f(!1), { dialogProps: B, titleProps: F } = A({ role: "dialog" }, n), { modalProps: H } = K({ isDisabled: !a }), { overlayProps: k, underlayProps: z } = M({ isOpen: a, onClose: p }, n);
38
38
  U({ isDisabled: !a }), $(() => {
39
- const r = m.current;
39
+ const r = v.current;
40
40
  if (!r) return;
41
- function d() {
42
- const g = r.scrollHeight, u = r.clientHeight, R = r.scrollTop;
43
- E(g > u), L(R + u >= g);
41
+ function u() {
42
+ const y = r.scrollHeight, m = r.clientHeight, R = r.scrollTop;
43
+ E(y > m), L(R + m >= y);
44
44
  }
45
45
  function l() {
46
- d();
46
+ u();
47
47
  }
48
48
  r.addEventListener("scroll", l), window.addEventListener("resize", l);
49
49
  const I = setTimeout(() => {
50
- d();
50
+ u();
51
51
  }, 0);
52
52
  return () => {
53
53
  r.removeEventListener("scroll", l), window.removeEventListener("resize", l), clearTimeout(I);
54
54
  };
55
- }, [a, n]);
55
+ }, [a, c]);
56
56
  function D(r) {
57
57
  r.stopPropagation();
58
58
  }
59
- return a ? /* @__PURE__ */ o(V, { className: e["page-overlay__container"], children: /* @__PURE__ */ o(J, { ...z, children: b ? /* @__PURE__ */ o(G, { ariaValueText: w }) : /* @__PURE__ */ o(j, { children: /* @__PURE__ */ o(C, { autoFocus: !0, contain: !0, restoreFocus: !0, children: /* @__PURE__ */ c(
59
+ return a ? /* @__PURE__ */ o(V, { className: e["page-overlay__container"], children: /* @__PURE__ */ o(J, { ...z, children: b ? /* @__PURE__ */ o(G, { ariaValueText: w }) : /* @__PURE__ */ o(j, { children: /* @__PURE__ */ o(C, { autoFocus: !0, contain: !0, restoreFocus: !0, children: /* @__PURE__ */ _(
60
60
  "div",
61
61
  {
62
62
  ...B,
63
63
  ...H,
64
64
  ...k,
65
65
  className: i(e["page-overlay"], {
66
- [e[`page-overlay--${v}`]]: v
66
+ [e[`page-overlay--${g}`]]: g
67
67
  }),
68
68
  onKeyUp: D,
69
69
  role: "presentation",
70
- ref: _,
70
+ ref: n,
71
71
  children: [
72
- (s || n) && /* @__PURE__ */ c("div", { className: e["page-overlay__title-wrapper"], children: [
72
+ (s || c) && /* @__PURE__ */ _("div", { className: e["page-overlay__title-wrapper"], children: [
73
73
  s && /* @__PURE__ */ o("h1", { ...F, className: e["page-overlay__title"], children: s }),
74
- n,
74
+ c,
75
75
  /* @__PURE__ */ o("span", { className: e["page-overlay__close"], children: /* @__PURE__ */ o(q, { "aria-label": S, onClick: p }) })
76
76
  ] }),
77
- /* @__PURE__ */ c(
77
+ /* @__PURE__ */ _(
78
78
  "form",
79
79
  {
80
80
  className: i(e["page-overlay__content"], {
@@ -82,7 +82,7 @@ function ae({
82
82
  }),
83
83
  onSubmit: P,
84
84
  noValidate: N,
85
- ref: m,
85
+ ref: v,
86
86
  children: [
87
87
  /* @__PURE__ */ o("div", { className: e["page-overlay__children"], children: h }),
88
88
  t && /* @__PURE__ */ o(
@@ -17,7 +17,7 @@ import "../Input/Input.js";
17
17
  import "../InputField/InputField.js";
18
18
  import { Label as D } from "../Label/Label.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,7 +25,7 @@ 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";
28
+ import "../../SortableProvider-B3_u0pKv.js";
29
29
  import '../../assets/PeriodSelector.css';const l = {
30
30
  "period-selector__container": "_period-selector__container_10t7p_1",
31
31
  "period-selector__container--label-left": "_period-selector__container--label-left_10t7p_6",
@@ -1,14 +1,14 @@
1
- import { jsx as l } from "react/jsx-runtime";
1
+ import { jsx as f } from "react/jsx-runtime";
2
2
  import { c as P } from "../../clsx-OuTLNxxd.js";
3
- import { useId as N } from "react";
4
- import '../../assets/Periods.css';const g = "_periods__container_197yl_1", v = "_periods__item_197yl_6", _ = {
5
- periods__container: g,
6
- periods__item: v,
7
- "periods__item--active": "_periods__item--active_197yl_23"
8
- }, S = 6, O = ({ periods: i, tooltipTranslations: u, maxPeriods: p = S }) => {
9
- const f = Array.from({ length: p }, (e, t) => t + 1), $ = N(), a = i.some((e) => typeof e == "number"), b = (e) => {
3
+ import { useId as j } from "react";
4
+ import '../../assets/Periods.css';const N = "_periods__container_13djf_1", g = "_periods__item_13djf_6", _ = {
5
+ periods__container: N,
6
+ periods__item: g,
7
+ "periods__item--active": "_periods__item--active_13djf_23"
8
+ }, v = 6, O = ({ periods: i, tooltipTranslations: d, maxPeriods: p = v }) => {
9
+ const l = Array.from({ length: p }, (e, t) => t + 1), $ = j(), u = i.some((e) => typeof e == "number"), b = (e) => {
10
10
  const t = {};
11
- return a ? i.forEach((s) => {
11
+ return u ? i.forEach((s) => {
12
12
  if (typeof s == "number") {
13
13
  const r = Math.ceil(s / 3), o = (s - 1) % 3 + 1;
14
14
  t[r] || (t[r] = []), t[r].push(o);
@@ -19,21 +19,21 @@ import '../../assets/Periods.css';const g = "_periods__container_197yl_1", v = "
19
19
  }), Object.keys(t).reduce((s, r, o) => {
20
20
  const c = Number(r), n = t[c];
21
21
  let m = "";
22
- const d = n.length > 1 ? e.periods : e.period;
22
+ const a = n.length > 1 ? e.periods : e.period;
23
23
  if (n.length > 1) {
24
- const h = n.pop();
25
- m = `Semester ${c} ${d} ${n.join(", ")} ${e.and} ${h}`;
24
+ const y = n.pop();
25
+ m = `Semester ${c} ${a} ${n.join(", ")} ${e.and} ${y}`;
26
26
  } else
27
- m = `Semester ${c} ${d} ${n[0]}`;
27
+ m = `Semester ${c} ${a} ${n[0]}`;
28
28
  return `${s}${o > 0 ? ". " : ""}${m}`;
29
29
  }, "").trim() + ".";
30
- }, y = (e) => a ? i.includes(e) : !!i.find((t) => t.number === e);
31
- return /* @__PURE__ */ l("div", { className: _.periods__container, title: u ? b(u) : "", children: f.map((e) => /* @__PURE__ */ l(
30
+ }, h = (e) => u ? i.includes(e) : !!i.find((t) => t.number === e);
31
+ return /* @__PURE__ */ f("div", { className: _.periods__container, title: d ? b(d) : "", children: l.map((e) => /* @__PURE__ */ f(
32
32
  "span",
33
33
  {
34
34
  className: P(
35
35
  _.periods__item,
36
- y(e) ? _["periods__item--active"] : ""
36
+ h(e) ? _["periods__item--active"] : ""
37
37
  )
38
38
  },
39
39
  `${$}-${e}`
@@ -1,9 +1,9 @@
1
1
  import { jsxs as d, jsx as i } from "react/jsx-runtime";
2
2
  import { useNavigate as s } from "react-router";
3
3
  import '../../assets/ProgrammeCard.css';const o = {
4
- "programme-card": "_programme-card_15p36_1",
5
- "programme-card__divider": "_programme-card__divider_15p36_18"
6
- }, _ = ({ href: a, header: e, details: m }) => {
4
+ "programme-card": "_programme-card_3w5ln_1",
5
+ "programme-card__divider": "_programme-card__divider_3w5ln_18"
6
+ }, p = ({ href: a, header: e, details: m }) => {
7
7
  const c = s();
8
8
  return /* @__PURE__ */ d(
9
9
  "a",
@@ -22,6 +22,6 @@ import '../../assets/ProgrammeCard.css';const o = {
22
22
  );
23
23
  };
24
24
  export {
25
- _ as ProgrammeCard
25
+ p as ProgrammeCard
26
26
  };
27
27
  //# sourceMappingURL=ProgrammeCard.js.map
@@ -17,7 +17,7 @@ import "../GridRow/GridRow.js";
17
17
  import "../IconButton/IconButton.js";
18
18
  import "../Input/Input.js";
19
19
  import "../InputField/InputField.js";
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,7 +25,7 @@ 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";
28
+ import "../../SortableProvider-B3_u0pKv.js";
29
29
  const p = "<ProgrammeCard key={key} header={header} details={details} href={href} />", J = {
30
30
  title: "Atoms/ProgrammeCard",
31
31
  component: o,
@@ -1,12 +1,12 @@
1
- import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
- import { c as d } from "../../clsx-OuTLNxxd.js";
1
+ import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
+ import { c as b } from "../../clsx-OuTLNxxd.js";
3
3
  import '../../assets/RadioButton.css';const t = {
4
- "radio-button": "_radio-button_1if7s_1",
5
- "radio-button__input": "_radio-button__input_1if7s_8",
6
- "radio-button__label": "_radio-button__label_1if7s_13",
7
- "radio-button__description": "_radio-button__description_1if7s_19",
8
- "radio-button--gap-large": "_radio-button--gap-large_1if7s_34"
9
- }, l = ({ id: o, label: r, gap: _ = "normal", description: i, ...n }) => /* @__PURE__ */ s("div", { className: d(t["radio-button"], t[`radio-button--gap-${_}`]), children: [
4
+ "radio-button": "_radio-button_175ij_1",
5
+ "radio-button__input": "_radio-button__input_175ij_8",
6
+ "radio-button__label": "_radio-button__label_175ij_13",
7
+ "radio-button__description": "_radio-button__description_175ij_19",
8
+ "radio-button--gap-large": "_radio-button--gap-large_175ij_34"
9
+ }, s = ({ id: o, label: r, gap: _ = "normal", description: i, ...n }) => /* @__PURE__ */ d("div", { className: b(t["radio-button"], t[`radio-button--gap-${_}`]), children: [
10
10
  /* @__PURE__ */ a(
11
11
  "input",
12
12
  {
@@ -21,6 +21,6 @@ import '../../assets/RadioButton.css';const t = {
21
21
  i && /* @__PURE__ */ a("p", { id: `${o}-description`, className: t["radio-button__description"], children: i })
22
22
  ] });
23
23
  export {
24
- l as RadioButton
24
+ s as RadioButton
25
25
  };
26
26
  //# sourceMappingURL=RadioButton.js.map