@uva-glass/component-library 1.64.5 → 1.64.7

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 (87) hide show
  1. package/dist/Lexical.prod-DeeCy7Xd.js +4216 -0
  2. package/dist/Lexical.prod-DeeCy7Xd.js.map +1 -0
  3. package/dist/LexicalClipboard.prod-CayrMfkI.js +258 -0
  4. package/dist/LexicalClipboard.prod-CayrMfkI.js.map +1 -0
  5. package/dist/{LexicalLink.prod-BvJo1BD4.js → LexicalLink.prod-Biaqry-c.js} +40 -40
  6. package/dist/LexicalLink.prod-Biaqry-c.js.map +1 -0
  7. package/dist/{LexicalList.prod-igdv32dp.js → LexicalList.prod-Uk8UObU7.js} +52 -50
  8. package/dist/LexicalList.prod-Uk8UObU7.js.map +1 -0
  9. package/dist/LexicalSelection.prod-C1TEIGhq.js +86 -0
  10. package/dist/{LexicalSelection.prod-CL_DfdL6.js.map → LexicalSelection.prod-C1TEIGhq.js.map} +1 -1
  11. package/dist/LexicalTable.prod-hx6rW3fc.js +1338 -0
  12. package/dist/LexicalTable.prod-hx6rW3fc.js.map +1 -0
  13. package/dist/LexicalUtils.prod-CCjlRAc-.js +94 -0
  14. package/dist/LexicalUtils.prod-CCjlRAc-.js.map +1 -0
  15. package/dist/{TablePlugin-BVkwu1Gt.js → TablePlugin-BbiBRjod.js} +45 -45
  16. package/dist/{TablePlugin-BVkwu1Gt.js.map → TablePlugin-BbiBRjod.js.map} +1 -1
  17. package/dist/components/Buttons/Button.stories.js +1 -1
  18. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  19. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  20. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  21. package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
  22. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  23. package/dist/components/CheckboxTree/CheckboxTree.js +2 -2
  24. package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
  25. package/dist/components/Drawer/Drawer.stories.js +1 -1
  26. package/dist/components/FormInput/FormInput.js +2 -2
  27. package/dist/components/FormInput/FormInput.stories.js +1 -1
  28. package/dist/components/IconButton/IconButton.stories.js +1 -1
  29. package/dist/components/InputField/InputField.stories.js +3 -3
  30. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  31. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  32. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  33. package/dist/components/MultiSelect/components/MultiSelectHeader.js +2 -2
  34. package/dist/components/MultiSelect/index.js +1 -1
  35. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  36. package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
  37. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  38. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +3 -3
  39. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +2 -2
  40. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +7 -7
  41. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +5 -5
  42. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +3 -3
  43. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  44. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +69 -69
  45. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  46. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +25 -25
  47. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +12 -12
  48. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
  49. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
  50. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +24 -24
  51. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  52. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +26 -26
  53. package/dist/components/RteEditor/Plugins/index.js +1 -1
  54. package/dist/components/RteEditor/RteEditor.js +474 -473
  55. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  56. package/dist/components/RteEditor/helpers.js +9 -9
  57. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  58. package/dist/components/Sortable/Sortable.stories.js +1 -1
  59. package/dist/components/index.js +1 -1
  60. package/dist/{helpers-BKqr9jXh.js → helpers-CgzuKnuq.js} +39 -39
  61. package/dist/{helpers-BKqr9jXh.js.map → helpers-CgzuKnuq.js.map} +1 -1
  62. package/dist/index-0wq-B7do.js +238 -0
  63. package/dist/{index-DPQ9bZx5.js.map → index-0wq-B7do.js.map} +1 -1
  64. package/dist/{index-DsprzSCj.js → index-B9BWML6P.js} +1025 -963
  65. package/dist/{index-DsprzSCj.js.map → index-B9BWML6P.js.map} +1 -1
  66. package/dist/{index-C9QoqAAt.js → index-DQyNeMuh.js} +66 -66
  67. package/dist/index-DQyNeMuh.js.map +1 -0
  68. package/dist/index.js +1 -1
  69. package/dist/react-18-BIqxBxbW.js +65 -0
  70. package/dist/{react-18-C0Aiha-e.js.map → react-18-BIqxBxbW.js.map} +1 -1
  71. package/dist/storybook__react.d.js +186 -183
  72. package/dist/storybook__react.d.js.map +1 -1
  73. package/package.json +19 -19
  74. package/dist/Lexical.prod-RJB8n7sC.js +0 -4072
  75. package/dist/Lexical.prod-RJB8n7sC.js.map +0 -1
  76. package/dist/LexicalClipboard.prod-DB_B0Sr6.js +0 -259
  77. package/dist/LexicalClipboard.prod-DB_B0Sr6.js.map +0 -1
  78. package/dist/LexicalLink.prod-BvJo1BD4.js.map +0 -1
  79. package/dist/LexicalList.prod-igdv32dp.js.map +0 -1
  80. package/dist/LexicalSelection.prod-CL_DfdL6.js +0 -86
  81. package/dist/LexicalTable.prod-CfgKmbyy.js +0 -1221
  82. package/dist/LexicalTable.prod-CfgKmbyy.js.map +0 -1
  83. package/dist/LexicalUtils.prod-mYf1cd8X.js +0 -94
  84. package/dist/LexicalUtils.prod-mYf1cd8X.js.map +0 -1
  85. package/dist/index-C9QoqAAt.js.map +0 -1
  86. package/dist/index-DPQ9bZx5.js +0 -231
  87. package/dist/react-18-C0Aiha-e.js +0 -52
@@ -1,20 +1,20 @@
1
1
  import { jsxs as P, jsx as n } from "react/jsx-runtime";
2
2
  import { u as y } from "../../../../LexicalComposerContext.prod-Dyvim1tK.js";
3
- import { M as g, v as h, F as C } from "../../../../Lexical.prod-RJB8n7sC.js";
4
- import { useState as E, useRef as L, useCallback as T, useEffect as m } from "react";
5
- import { g as b } from "../../../../LexicalTable.prod-CfgKmbyy.js";
6
- import { BlockFormatPlugin as N } from "../BlockFormatPlugin/BlockFormatPlugin.js";
3
+ import { R as h, a as g, F as C } from "../../../../Lexical.prod-DeeCy7Xd.js";
4
+ import { useState as L, useRef as E, useCallback as S, useEffect as m } from "react";
5
+ import { S as b } from "../../../../LexicalTable.prod-hx6rW3fc.js";
6
+ import { BlockFormatPlugin as T } from "../BlockFormatPlugin/BlockFormatPlugin.js";
7
7
  import { ListPlugin as k } from "../ListPlugin/ListPlugin.js";
8
- import { LinkPlugin as x } from "../LinkPlugin/LinkPlugin.js";
9
- import { HistoryPlugin as B } from "../HistoryPlugin/HistoryPlugin.js";
10
- import { T as S } from "../../../../TablePlugin-BVkwu1Gt.js";
11
- import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
12
- import { s as A } from "../../../../RteEditor.module-oFMKEW6f.js";
13
- import { setScrollableContainers as v, removeScrollableContainers as K } from "../../helpers.js";
8
+ import { LinkPlugin as N } from "../LinkPlugin/LinkPlugin.js";
9
+ import { HistoryPlugin as x } from "../HistoryPlugin/HistoryPlugin.js";
10
+ import { T as B } from "../../../../TablePlugin-BbiBRjod.js";
11
+ import { TableCellContextMenu as R } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
12
+ import { s as z } from "../../../../RteEditor.module-oFMKEW6f.js";
13
+ import { setScrollableContainers as w, removeScrollableContainers as A } from "../../helpers.js";
14
14
  const Q = ({ editorScrollPosition: d }) => {
15
- const [t] = y(), [i, s] = E(null), u = L(null), f = T(() => {
16
- const e = g();
17
- if (h(e)) {
15
+ const [t] = y(), [i, s] = L(null), u = E(null), f = S(() => {
16
+ const e = h();
17
+ if (g(e)) {
18
18
  const l = e.anchor.getNode(), a = b(l);
19
19
  if (a) {
20
20
  const p = t.getElementByKey(a.getKey()), c = p ? p.getBoundingClientRect() : { right: 0, bottom: 0, height: 0 };
@@ -22,13 +22,13 @@ const Q = ({ editorScrollPosition: d }) => {
22
22
  } else
23
23
  s(null);
24
24
  }
25
- }, [t]), w = (e) => {
25
+ }, [t]), v = (e) => {
26
26
  var r;
27
27
  (r = u.current) == null || r.mutateTable(e);
28
28
  }, o = () => {
29
29
  t.update(() => {
30
- const e = g();
31
- if (h(e)) {
30
+ const e = h();
31
+ if (g(e)) {
32
32
  const l = e.anchor.getNode();
33
33
  b(l) && (C(null), s(null));
34
34
  }
@@ -40,29 +40,29 @@ const Q = ({ editorScrollPosition: d }) => {
40
40
  f();
41
41
  });
42
42
  });
43
- }, [t, f]), m(() => (v(o), window.addEventListener("scroll", o), window.addEventListener("resize", o), () => {
44
- window.removeEventListener("scroll", o), window.removeEventListener("resize", o), K(o);
43
+ }, [t, f]), m(() => (w(o), window.addEventListener("scroll", o), window.addEventListener("resize", o), () => {
44
+ window.removeEventListener("scroll", o), window.removeEventListener("resize", o), A(o);
45
45
  }), [t]), m(() => {
46
46
  const e = () => {
47
- v(o);
47
+ w(o);
48
48
  };
49
49
  return window.addEventListener("keydown", e, { capture: !0 }), () => {
50
50
  window.removeEventListener("keydown", e);
51
51
  };
52
- }, []), /* @__PURE__ */ P("div", { className: A.editor__toolbar, children: [
53
- /* @__PURE__ */ n(N, {}),
52
+ }, []), /* @__PURE__ */ P("div", { className: z.editor__toolbar, children: [
53
+ /* @__PURE__ */ n(T, {}),
54
54
  /* @__PURE__ */ n(k, {}),
55
- /* @__PURE__ */ n(S, { isActive: !!i, ref: u }),
55
+ /* @__PURE__ */ n(B, { isActive: !!i, ref: u }),
56
56
  i && /* @__PURE__ */ n(
57
- z,
57
+ R,
58
58
  {
59
59
  position: i,
60
60
  parentScrollPosition: d,
61
- onAction: w
61
+ onAction: v
62
62
  }
63
63
  ),
64
- /* @__PURE__ */ n(x, { parentScrollPosition: d }),
65
- /* @__PURE__ */ n(B, {})
64
+ /* @__PURE__ */ n(N, { parentScrollPosition: d }),
65
+ /* @__PURE__ */ n(x, {})
66
66
  ] });
67
67
  };
68
68
  export {
@@ -3,7 +3,7 @@ import { BlockFormatPlugin as l } from "./BlockFormatPlugin/BlockFormatPlugin.js
3
3
  import { ListPlugin as n } from "./ListPlugin/ListPlugin.js";
4
4
  import { LinkPlugin as m, getLinkNodeTag as x } from "./LinkPlugin/LinkPlugin.js";
5
5
  import { HistoryPlugin as p } from "./HistoryPlugin/HistoryPlugin.js";
6
- import { T as a } from "../../../TablePlugin-BVkwu1Gt.js";
6
+ import { T as a } from "../../../TablePlugin-BbiBRjod.js";
7
7
  import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
8
8
  export {
9
9
  l as BlockFormatPlugin,