@uva-glass/component-library 3.0.4 → 3.0.6

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 (81) hide show
  1. package/dist/{Lexical.prod-CZAqLAjm.js → Lexical.prod-DTADK2yJ.js} +1496 -1469
  2. package/dist/Lexical.prod-DTADK2yJ.js.map +1 -0
  3. package/dist/LexicalClipboard.prod-Dx5Fm6e5.js +258 -0
  4. package/dist/LexicalClipboard.prod-Dx5Fm6e5.js.map +1 -0
  5. package/dist/{LexicalLink.prod-kqeQGYSo.js → LexicalLink.prod-JpC4y56U.js} +32 -32
  6. package/dist/LexicalLink.prod-JpC4y56U.js.map +1 -0
  7. package/dist/LexicalList.prod-w0kSq9sB.js +579 -0
  8. package/dist/LexicalList.prod-w0kSq9sB.js.map +1 -0
  9. package/dist/LexicalSelection.prod-DQLHaigk.js +78 -0
  10. package/dist/LexicalSelection.prod-DQLHaigk.js.map +1 -0
  11. package/dist/{LexicalTable.prod-DtAMjSWg.js → LexicalTable.prod-DjfZc87j.js} +351 -333
  12. package/dist/LexicalTable.prod-DjfZc87j.js.map +1 -0
  13. package/dist/{LexicalUtils.prod-C-NXnTzK.js → LexicalUtils.prod-BBwue2Aj.js} +38 -38
  14. package/dist/LexicalUtils.prod-BBwue2Aj.js.map +1 -0
  15. package/dist/{TablePlugin-DkL40qIf.js → TablePlugin-Co5vgBHF.js} +45 -45
  16. package/dist/{TablePlugin-DkL40qIf.js.map → TablePlugin-Co5vgBHF.js.map} +1 -1
  17. package/dist/assets/variables.css +3 -14
  18. package/dist/components/Buttons/Button.stories.js +1 -1
  19. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  20. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  21. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  22. package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
  23. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  24. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  25. package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
  26. package/dist/components/Chip/Chip.stories.js +1 -1
  27. package/dist/components/Drawer/Drawer.stories.js +1 -1
  28. package/dist/components/FormInput/FormInput.js +1 -1
  29. package/dist/components/FormInput/FormInput.stories.js +1 -1
  30. package/dist/components/IconButton/IconButton.stories.js +1 -1
  31. package/dist/components/InputField/InputField.stories.js +2 -2
  32. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  33. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  34. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  35. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  36. package/dist/components/MultiSelect/index.js +1 -1
  37. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  38. package/dist/components/OverlayStepBar/OverlayStepBar.js +1 -1
  39. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  40. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  41. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
  42. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  43. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +3 -3
  44. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  45. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
  46. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  47. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +45 -45
  48. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  49. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +27 -27
  50. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +7 -7
  51. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  52. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
  53. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +10 -10
  54. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  55. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +15 -15
  56. package/dist/components/RteEditor/Plugins/index.js +1 -1
  57. package/dist/components/RteEditor/RteEditor.js +240 -240
  58. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  59. package/dist/components/RteEditor/helpers.js +4 -4
  60. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  61. package/dist/components/Sortable/Sortable.stories.js +1 -1
  62. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  63. package/dist/components/index.js +1 -1
  64. package/dist/{helpers-DYmWlhgC.js → helpers-DgTW1vIO.js} +30 -30
  65. package/dist/{helpers-DYmWlhgC.js.map → helpers-DgTW1vIO.js.map} +1 -1
  66. package/dist/{index-DkNZhwJb.js → index-CcK2jjMp.js} +275 -243
  67. package/dist/index-CcK2jjMp.js.map +1 -0
  68. package/dist/index.js +1 -1
  69. package/dist/storybook__react.d.js +1 -1
  70. package/package.json +21 -21
  71. package/dist/Lexical.prod-CZAqLAjm.js.map +0 -1
  72. package/dist/LexicalClipboard.prod-B0GrUtzr.js +0 -258
  73. package/dist/LexicalClipboard.prod-B0GrUtzr.js.map +0 -1
  74. package/dist/LexicalLink.prod-kqeQGYSo.js.map +0 -1
  75. package/dist/LexicalList.prod-BEKqHUO2.js +0 -576
  76. package/dist/LexicalList.prod-BEKqHUO2.js.map +0 -1
  77. package/dist/LexicalSelection.prod-B1DTqn9H.js +0 -86
  78. package/dist/LexicalSelection.prod-B1DTqn9H.js.map +0 -1
  79. package/dist/LexicalTable.prod-DtAMjSWg.js.map +0 -1
  80. package/dist/LexicalUtils.prod-C-NXnTzK.js.map +0 -1
  81. package/dist/index-DkNZhwJb.js.map +0 -1
@@ -1,18 +1,18 @@
1
- import { jsxs as P, jsx as n } from "react/jsx-runtime";
2
- import { u as y } from "../../../../LexicalComposerContext.prod-BCXERl09.js";
3
- import { H as h, a as g, M as C } from "../../../../Lexical.prod-CZAqLAjm.js";
4
- import { useState as L, useRef as E, useCallback as T, useEffect as m } from "react";
5
- import { v as b } from "../../../../LexicalTable.prod-DtAMjSWg.js";
1
+ import { jsxs as L, jsx as n } from "react/jsx-runtime";
2
+ import { u as P } from "../../../../LexicalComposerContext.prod-BCXERl09.js";
3
+ import { q as h, a as g, c as y } from "../../../../Lexical.prod-DTADK2yJ.js";
4
+ import { useState as C, useRef as T, useCallback as E, useEffect as m } from "react";
5
+ import { T as b } from "../../../../LexicalTable.prod-DjfZc87j.js";
6
6
  import { BlockFormatPlugin as N } from "../BlockFormatPlugin/BlockFormatPlugin.js";
7
7
  import { ListPlugin as k } from "../ListPlugin/ListPlugin.js";
8
8
  import { LinkPlugin as x } from "../LinkPlugin/LinkPlugin.js";
9
9
  import { HistoryPlugin as B } from "../HistoryPlugin/HistoryPlugin.js";
10
- import { T as S } from "../../../../TablePlugin-DkL40qIf.js";
10
+ import { T as S } from "../../../../TablePlugin-Co5vgBHF.js";
11
11
  import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
12
12
  import { s as A } from "../../../../RteEditor.module-oFMKEW6f.js";
13
- import { setScrollableContainers as v, removeScrollableContainers as H } from "../../helpers.js";
13
+ import { setScrollableContainers as w, removeScrollableContainers as K } from "../../helpers.js";
14
14
  const Q = ({ editorScrollPosition: d }) => {
15
- const [t] = y(), [i, s] = L(null), u = E(null), f = T(() => {
15
+ const [t] = P(), [i, s] = C(null), u = T(null), f = E(() => {
16
16
  const e = h();
17
17
  if (g(e)) {
18
18
  const l = e.anchor.getNode(), a = b(l);
@@ -22,7 +22,7 @@ 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 = () => {
@@ -30,7 +30,7 @@ const Q = ({ editorScrollPosition: d }) => {
30
30
  const e = h();
31
31
  if (g(e)) {
32
32
  const l = e.anchor.getNode();
33
- b(l) && (C(null), s(null));
33
+ b(l) && (y(null), s(null));
34
34
  }
35
35
  });
36
36
  };
@@ -40,16 +40,16 @@ 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), H(o);
43
+ }, [t, f]), m(() => (w(o), window.addEventListener("scroll", o), window.addEventListener("resize", o), () => {
44
+ window.removeEventListener("scroll", o), window.removeEventListener("resize", o), K(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: [
52
+ }, []), /* @__PURE__ */ L("div", { className: A.editor__toolbar, children: [
53
53
  /* @__PURE__ */ n(N, {}),
54
54
  /* @__PURE__ */ n(k, {}),
55
55
  /* @__PURE__ */ n(S, { isActive: !!i, ref: u }),
@@ -58,7 +58,7 @@ const Q = ({ editorScrollPosition: d }) => {
58
58
  {
59
59
  position: i,
60
60
  parentScrollPosition: d,
61
- onAction: w
61
+ onAction: v
62
62
  }
63
63
  ),
64
64
  /* @__PURE__ */ n(x, { parentScrollPosition: d }),
@@ -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-DkL40qIf.js";
6
+ import { T as a } from "../../../TablePlugin-Co5vgBHF.js";
7
7
  import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
8
8
  export {
9
9
  l as BlockFormatPlugin,