@uva-glass/component-library 2.6.2 → 2.6.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 (119) hide show
  1. package/dist/{Lexical.prod-BAr6tzpa.js → Lexical.prod-sR6tW7N6.js} +894 -894
  2. package/dist/Lexical.prod-sR6tW7N6.js.map +1 -0
  3. package/dist/{LexicalClipboard.prod-CLCBYtDj.js → LexicalClipboard.prod-BbRoaXo6.js} +93 -93
  4. package/dist/LexicalClipboard.prod-BbRoaXo6.js.map +1 -0
  5. package/dist/{LexicalComposerContext.prod-Dyvim1tK.js → LexicalComposerContext.prod-DxxjdrXB.js} +2 -2
  6. package/dist/{LexicalComposerContext.prod-Dyvim1tK.js.map → LexicalComposerContext.prod-DxxjdrXB.js.map} +1 -1
  7. package/dist/{LexicalLink.prod-CBgZ4B3x.js → LexicalLink.prod-iDKxtfCF.js} +42 -42
  8. package/dist/LexicalLink.prod-iDKxtfCF.js.map +1 -0
  9. package/dist/{LexicalList.prod-haeqjypw.js → LexicalList.prod-ywkx7SnO.js} +56 -56
  10. package/dist/LexicalList.prod-ywkx7SnO.js.map +1 -0
  11. package/dist/LexicalSelection.prod-mYXylG1z.js +86 -0
  12. package/dist/{LexicalSelection.prod-C8x7KK4L.js.map → LexicalSelection.prod-mYXylG1z.js.map} +1 -1
  13. package/dist/LexicalTable.prod-XN7avk7R.js +1447 -0
  14. package/dist/LexicalTable.prod-XN7avk7R.js.map +1 -0
  15. package/dist/{LexicalUtils.prod-Dsec_Kl-.js → LexicalUtils.prod-DnFLi0Ww.js} +24 -24
  16. package/dist/{LexicalUtils.prod-Dsec_Kl-.js.map → LexicalUtils.prod-DnFLi0Ww.js.map} +1 -1
  17. package/dist/{SortableProvider-BUsvniX7.js → SortableProvider-RaH_ZXB3.js} +20 -20
  18. package/dist/{SortableProvider-BUsvniX7.js.map → SortableProvider-RaH_ZXB3.js.map} +1 -1
  19. package/dist/{TablePlugin-sPSGmCno.js → TablePlugin-5Cs2F_co.js} +12 -11
  20. package/dist/{TablePlugin-sPSGmCno.js.map → TablePlugin-5Cs2F_co.js.map} +1 -1
  21. package/dist/components/Buttons/Button.stories.js +1 -1
  22. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  23. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  24. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  25. package/dist/components/Checkbox/Checkbox.js +6 -5
  26. package/dist/components/Checkbox/Checkbox.js.map +1 -1
  27. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  28. package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
  29. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  30. package/dist/components/CheckboxTree/CheckboxTree.d.ts +2 -2
  31. package/dist/components/CheckboxTree/CheckboxTree.js +110 -74
  32. package/dist/components/CheckboxTree/CheckboxTree.js.map +1 -1
  33. package/dist/components/CheckboxTree/CheckboxTree.stories.d.ts +2 -1
  34. package/dist/components/CheckboxTree/CheckboxTree.stories.js +121 -31
  35. package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
  36. package/dist/components/Chip/Chip.stories.js +1 -1
  37. package/dist/components/Drawer/Drawer.stories.js +1 -1
  38. package/dist/components/FormInput/FormInput.js +14 -13
  39. package/dist/components/FormInput/FormInput.js.map +1 -1
  40. package/dist/components/FormInput/FormInput.stories.js +1 -1
  41. package/dist/components/IconButton/IconButton.stories.js +1 -1
  42. package/dist/components/InputField/InputField.js +17 -17
  43. package/dist/components/InputField/InputField.stories.js +17 -16
  44. package/dist/components/InputField/InputField.stories.js.map +1 -1
  45. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  46. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  47. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  48. package/dist/components/MultiSelect/components/MultiSelectHeader.js +5 -4
  49. package/dist/components/MultiSelect/components/MultiSelectHeader.js.map +1 -1
  50. package/dist/components/MultiSelect/index.js +1 -1
  51. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +4 -4
  52. package/dist/components/OverlayStepBar/OverlayStepBar.js +13 -12
  53. package/dist/components/OverlayStepBar/OverlayStepBar.js.map +1 -1
  54. package/dist/components/PeriodSelector/PeriodSelector.js +15 -14
  55. package/dist/components/PeriodSelector/PeriodSelector.js.map +1 -1
  56. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  57. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +11 -10
  58. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
  59. package/dist/components/RadioButton/RadioButton.js +3 -3
  60. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +6 -5
  61. package/dist/components/RteEditor/EditorHeader/EditorHeader.js.map +1 -1
  62. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +2 -2
  63. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +15 -14
  64. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js.map +1 -1
  65. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +6 -5
  66. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js.map +1 -1
  67. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  68. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +10 -9
  69. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +1 -1
  70. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  71. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +48 -48
  72. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +5 -5
  73. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +5 -4
  74. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js.map +1 -1
  75. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +1 -1
  76. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +8 -7
  77. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js.map +1 -1
  78. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +5 -5
  79. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  80. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +4 -4
  81. package/dist/components/RteEditor/Plugins/index.js +1 -1
  82. package/dist/components/RteEditor/Providers/LanguageProvider.js +7 -7
  83. package/dist/components/RteEditor/RteEditor.js +473 -472
  84. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  85. package/dist/components/RteEditor/helpers.js +4 -4
  86. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  87. package/dist/components/SelectListbox/SelectProvider.js +10 -10
  88. package/dist/components/Sortable/Sortable.js +1 -1
  89. package/dist/components/Sortable/Sortable.stories.js +7 -7
  90. package/dist/components/Sortable/SortableProvider.js +1 -1
  91. package/dist/components/Sortable/components/SortableContainer.js +1 -1
  92. package/dist/components/Sortable/components/SortableItem.js +15 -15
  93. package/dist/components/Sortable/sortableReducer.js +21 -21
  94. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +5 -5
  95. package/dist/components/Tooltip/Tooltip.js +22 -22
  96. package/dist/components/index.js +1 -1
  97. package/dist/{helpers-DHHQR5ys.js → helpers-BpqX-Lj3.js} +26 -26
  98. package/dist/helpers-BpqX-Lj3.js.map +1 -0
  99. package/dist/{index-0wq-B7do.js → index-B3c5pcHk.js} +22 -22
  100. package/dist/{index-0wq-B7do.js.map → index-B3c5pcHk.js.map} +1 -1
  101. package/dist/{index-B9BWML6P.js → index-BpZ8v2ye.js} +7088 -7092
  102. package/dist/{index-B9BWML6P.js.map → index-BpZ8v2ye.js.map} +1 -1
  103. package/dist/index-CHX1d9_A.js +21922 -0
  104. package/dist/{index-DWzkl4aY.js.map → index-CHX1d9_A.js.map} +1 -1
  105. package/dist/index.js +1 -1
  106. package/dist/{react-18-BIqxBxbW.js → react-18-CT6mjea2.js} +2 -2
  107. package/dist/{react-18-BIqxBxbW.js.map → react-18-CT6mjea2.js.map} +1 -1
  108. package/dist/storybook__react.d.js +510 -510
  109. package/dist/storybook__react.d.js.map +1 -1
  110. package/package.json +1 -1
  111. package/dist/Lexical.prod-BAr6tzpa.js.map +0 -1
  112. package/dist/LexicalClipboard.prod-CLCBYtDj.js.map +0 -1
  113. package/dist/LexicalLink.prod-CBgZ4B3x.js.map +0 -1
  114. package/dist/LexicalList.prod-haeqjypw.js.map +0 -1
  115. package/dist/LexicalSelection.prod-C8x7KK4L.js +0 -86
  116. package/dist/LexicalTable.prod-8RqiGUG-.js +0 -1447
  117. package/dist/LexicalTable.prod-8RqiGUG-.js.map +0 -1
  118. package/dist/helpers-DHHQR5ys.js.map +0 -1
  119. package/dist/index-DWzkl4aY.js +0 -21915
@@ -1,68 +1,68 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { u as I } from "../../../../LexicalComposerContext.prod-Dyvim1tK.js";
3
- import { Y as N, Q as v, G as P, K as S, H as f, q as y } from "../../../../LexicalList.prod-haeqjypw.js";
4
- import { _ as H } from "../../../../LexicalSelection.prod-C8x7KK4L.js";
5
- import { useState as p, useEffect as k } from "react";
6
- import { c as O } from "../../../../clsx-OuTLNxxd.js";
7
- import { a7 as q, f as x, N as U, H as b, a as h, q as $, V as w } from "../../../../Lexical.prod-BAr6tzpa.js";
8
- import { Icon as B } from "../../../Icon/Icon.js";
9
- import { s as l } from "../../../../RteEditor.module-oFMKEW6f.js";
10
- import { useTranslation as E } from "../../hooks/useTranslation.js";
11
- const V = {
2
+ import { u as S } from "../../../../LexicalComposerContext.prod-DxxjdrXB.js";
3
+ import { Y as N, Q as P, G as k, K as y, H as f, q as H } from "../../../../LexicalList.prod-ywkx7SnO.js";
4
+ import { _ as O } from "../../../../LexicalSelection.prod-mYXylG1z.js";
5
+ import { useState as p, useEffect as K } from "react";
6
+ import { c as q } from "../../../../clsx-OuTLNxxd.js";
7
+ import { a7 as x, f as U, N as $, H as b, a as h, q as w, V as B } from "../../../../Lexical.prod-sR6tW7N6.js";
8
+ import { Icon as E } from "../../../Icon/Icon.js";
9
+ import { s as u } from "../../../../RteEditor.module-oFMKEW6f.js";
10
+ import { useTranslation as V } from "../../hooks/useTranslation.js";
11
+ const Y = {
12
12
  bullet: "BulletList",
13
13
  number: "NumberedList"
14
- }, Y = ["bullet", "number"], W = () => {
15
- const u = E(), [e] = I(), [g, s] = p("paragraph"), [c, _] = p(!1), [m, L] = p(!1), K = () => {
14
+ }, j = ["bullet", "number"], W = () => {
15
+ const l = V(), [e] = S(), [g, n] = p("paragraph"), [c, _] = p(!1), [m, L] = p(!1), D = () => {
16
16
  e.update(() => {
17
17
  const t = b();
18
- h(t) && H(t, () => w());
18
+ h(t) && O(t, () => B());
19
19
  });
20
- }, D = (t) => {
21
- t === "number" && g !== "number" ? (e.dispatchCommand(v, void 0), s("number")) : t === "bullet" && g !== "bullet" ? (e.dispatchCommand(P, void 0), s("bullet")) : (K(), s("paragraph"));
20
+ }, I = (t) => {
21
+ t === "number" && g !== "number" ? (e.dispatchCommand(P, void 0), n("number")) : t === "bullet" && g !== "bullet" ? (e.dispatchCommand(k, void 0), n("bullet")) : (D(), n("paragraph"));
22
22
  };
23
- return k(() => {
23
+ return K(() => {
24
24
  const t = e.registerCommand(
25
- q,
26
- (r) => r.ctrlKey && r.shiftKey && r.code === "Digit7" ? (r.preventDefault(), m ? e.dispatchCommand(N, void 0) : e.dispatchCommand(v, void 0), !0) : r.ctrlKey && r.shiftKey && r.code === "Digit8" ? (r.preventDefault(), c ? e.dispatchCommand(N, void 0) : e.dispatchCommand(P, void 0), !0) : !1,
27
- x
25
+ x,
26
+ (r) => r.ctrlKey && r.shiftKey && r.code === "Digit7" ? (r.preventDefault(), m ? e.dispatchCommand(N, void 0) : e.dispatchCommand(P, void 0), !0) : r.ctrlKey && r.shiftKey && r.code === "Digit8" ? (r.preventDefault(), c ? e.dispatchCommand(N, void 0) : e.dispatchCommand(k, void 0), !0) : !1,
27
+ U
28
28
  );
29
29
  return () => {
30
30
  t();
31
31
  };
32
- }, [e, m, c]), k(() => {
32
+ }, [e, m, c]), K(() => {
33
33
  e.registerCommand(
34
- U,
34
+ $,
35
35
  (r) => (r.preventDefault(), e.update(() => {
36
- const n = b();
37
- if (!h(n))
36
+ const i = b();
37
+ if (!h(i))
38
38
  return;
39
- const o = n.anchor.getNode(), i = o.getParent();
40
- if (!S(i))
39
+ const o = i.anchor.getNode(), s = o.getParent();
40
+ if (!y(s))
41
41
  return;
42
- const a = i.getParent();
42
+ const a = s.getParent();
43
43
  if (f(a)) {
44
- const C = y(f(a) ? a.getListType() : "bullet");
45
- i.append(C), C.append(o);
44
+ const C = H(f(a) ? a.getListType() : "bullet");
45
+ s.append(C), C.append(o);
46
46
  }
47
47
  }), !0),
48
- $
48
+ w
49
49
  );
50
50
  const t = e.registerUpdateListener(({ editorState: r }) => {
51
51
  r.read(() => {
52
- const n = b();
53
- if (h(n)) {
54
- let o = n.anchor.getNode();
52
+ const i = b();
53
+ if (h(i)) {
54
+ let o = i.anchor.getNode();
55
55
  for (; o !== null; ) {
56
56
  if (f(o)) {
57
57
  const a = o.getTag();
58
- _(a === "ul"), L(a === "ol"), a === "ul" && s("bullet"), a === "ol" && s("number");
58
+ _(a === "ul"), L(a === "ol"), a === "ul" && n("bullet"), a === "ol" && n("number");
59
59
  return;
60
60
  }
61
- const i = o.getParent();
62
- if (i === null) break;
63
- o = i;
61
+ const s = o.getParent();
62
+ if (s === null) break;
63
+ o = s;
64
64
  }
65
- _(!1), L(!1), s("paragraph");
65
+ _(!1), L(!1), n("paragraph");
66
66
  }
67
67
  return !1;
68
68
  });
@@ -70,21 +70,21 @@ const V = {
70
70
  return () => {
71
71
  t();
72
72
  };
73
- }, [e]), /* @__PURE__ */ d("div", { className: l["editor__toolbar-button-group"], children: Y.map((t) => /* @__PURE__ */ d(
73
+ }, [e]), /* @__PURE__ */ d("div", { className: u["editor__toolbar-button-group"], children: j.map((t) => /* @__PURE__ */ d(
74
74
  "button",
75
75
  {
76
- onClick: () => D(t),
77
- title: u.format[`${t}Tooltip`],
78
- className: O(
79
- l["editor__toolbar-button"],
80
- l[`editor__toolbar-button--${t}`],
81
- t === "bullet" && c && l["editor__toolbar-button--active"],
82
- t === "number" && m && l["editor__toolbar-button--active"]
76
+ onClick: () => I(t),
77
+ title: l.format[`${t}Tooltip`],
78
+ className: q(
79
+ u["editor__toolbar-button"],
80
+ u[`editor__toolbar-button--${t}`],
81
+ t === "bullet" && c && u["editor__toolbar-button--active"],
82
+ t === "number" && m && u["editor__toolbar-button--active"]
83
83
  ),
84
- "aria-label": u.aria.labels[t],
85
- "aria-keyshortcuts": u.aria.keyshortcuts[t],
84
+ "aria-label": l.aria.labels[t],
85
+ "aria-keyshortcuts": l.aria.keyshortcuts[t],
86
86
  type: "button",
87
- children: /* @__PURE__ */ d(B, { name: V[t], size: 24 })
87
+ children: /* @__PURE__ */ d(E, { name: Y[t], size: 24 })
88
88
  },
89
89
  t
90
90
  )) });
@@ -1,9 +1,9 @@
1
- import { u as m } from "../../../../LexicalComposerContext.prod-Dyvim1tK.js";
1
+ import { u as m } from "../../../../LexicalComposerContext.prod-DxxjdrXB.js";
2
2
  import { useEffect as c } from "react";
3
- import { a1 as f, X as u, H as p } from "../../../../Lexical.prod-BAr6tzpa.js";
4
- import { c as i } from "../../../../LexicalUtils.prod-Dsec_Kl-.js";
5
- import { N as d } from "../../../../LexicalClipboard.prod-CLCBYtDj.js";
6
- import { d as D } from "../../../../index-0wq-B7do.js";
3
+ import { a1 as f, X as u, H as p } from "../../../../Lexical.prod-sR6tW7N6.js";
4
+ import { c as i } from "../../../../LexicalUtils.prod-DnFLi0Ww.js";
5
+ import { N as d } from "../../../../LexicalClipboard.prod-BbRoaXo6.js";
6
+ import { d as D } from "../../../../index-B3c5pcHk.js";
7
7
  const g = () => {
8
8
  const [a] = m(), l = (t) => {
9
9
  t.preventDefault(), a.update(() => {
@@ -1,9 +1,10 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { b as z } from "../../../../TablePlugin-sPSGmCno.js";
3
+ import { b as B } from "../../../../TablePlugin-5Cs2F_co.js";
4
4
  import "../../../Buttons/Button.js";
5
5
  import "../../../Buttons/LinkButton.js";
6
6
  import "@react-aria/button";
7
+ import "../../../Checkbox/Checkbox.js";
7
8
  import "../../../Label/Label.js";
8
9
  import "@react-aria/dialog";
9
10
  import "@react-aria/focus";
@@ -20,12 +21,12 @@ import "../../hooks/useTranslation.js";
20
21
  import "../LinkPlugin/LinkContextMenu/LinkContextMenu.js";
21
22
  import "../../hooks/components/Flyout.js";
22
23
  import "../../Providers/LanguageProvider.js";
23
- import "../../../../index-0wq-B7do.js";
24
+ import "../../../../index-B3c5pcHk.js";
24
25
  import "../../../SelectListbox/SelectListbox.js";
25
26
  import "../../../SelectListbox/SelectProvider.js";
26
27
  import "../../../Sortable/components/SortableItem.js";
27
- import "../../../../SortableProvider-BUsvniX7.js";
28
+ import "../../../../SortableProvider-RaH_ZXB3.js";
28
29
  export {
29
- z as AddTableForm
30
+ B as AddTableForm
30
31
  };
31
32
  //# sourceMappingURL=AddTableFrom.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddTableFrom.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"AddTableFrom.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { jsxs as y, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as _, useRef as b, useEffect as R } from "react";
3
3
  import { c as w } from "../../../../../clsx-OuTLNxxd.js";
4
- import { u as P } from "../../../../../LexicalComposerContext.prod-Dyvim1tK.js";
4
+ import { u as P } from "../../../../../LexicalComposerContext.prod-DxxjdrXB.js";
5
5
  import { Icon as $ } from "../../../../Icon/Icon.js";
6
6
  import { useTranslation as H } from "../../../hooks/useTranslation.js";
7
7
  import '../../../../../assets/TableCellContextMenu.css';const n = {
@@ -1,16 +1,17 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../../LexicalComposerContext.prod-Dyvim1tK.js";
2
+ import "../../../../LexicalComposerContext.prod-DxxjdrXB.js";
3
3
  import "../../../../clsx-OuTLNxxd.js";
4
- import "../../../../LexicalTable.prod-8RqiGUG-.js";
5
- import "../../../../Lexical.prod-BAr6tzpa.js";
4
+ import "../../../../LexicalTable.prod-XN7avk7R.js";
5
+ import "../../../../Lexical.prod-sR6tW7N6.js";
6
6
  import "react";
7
- import { T as E } from "../../../../TablePlugin-sPSGmCno.js";
7
+ import { T as F } from "../../../../TablePlugin-5Cs2F_co.js";
8
8
  import "./helpers.js";
9
9
  import "../../hooks/useFlyout.js";
10
10
  import "../../../Icon/Icon.js";
11
11
  import "../../../Buttons/Button.js";
12
12
  import "../../../Buttons/LinkButton.js";
13
13
  import "@react-aria/button";
14
+ import "../../../Checkbox/Checkbox.js";
14
15
  import "@react-aria/dialog";
15
16
  import "@react-aria/focus";
16
17
  import "@react-aria/overlays";
@@ -24,12 +25,12 @@ import "../../../../RteEditor.module-oFMKEW6f.js";
24
25
  import "../../hooks/useTranslation.js";
25
26
  import "../LinkPlugin/LinkContextMenu/LinkContextMenu.js";
26
27
  import "../../Providers/LanguageProvider.js";
27
- import "../../../../index-0wq-B7do.js";
28
+ import "../../../../index-B3c5pcHk.js";
28
29
  import "../../../SelectListbox/SelectListbox.js";
29
30
  import "../../../SelectListbox/SelectProvider.js";
30
31
  import "../../../Sortable/components/SortableItem.js";
31
- import "../../../../SortableProvider-BUsvniX7.js";
32
+ import "../../../../SortableProvider-RaH_ZXB3.js";
32
33
  export {
33
- E as TablePlugin
34
+ F as TablePlugin
34
35
  };
35
36
  //# sourceMappingURL=TablePlugin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TablePlugin.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"TablePlugin.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import { x as S, _ as h, d, T as w, R as C, g as m, O as E, F as p, L as I } from "../../../../LexicalTable.prod-8RqiGUG-.js";
2
- import { V as g } from "../../../../Lexical.prod-BAr6tzpa.js";
1
+ import { x as S, _ as h, d, T as w, R as C, g as m, O as E, F as p, L as I } from "../../../../LexicalTable.prod-XN7avk7R.js";
2
+ import { V as g } from "../../../../Lexical.prod-sR6tW7N6.js";
3
3
  const b = 100, F = (e, n) => {
4
4
  const t = S(0, 0, !1);
5
5
  for (let o = 0; o < e; o++) {
@@ -17,7 +17,7 @@ const b = 100, F = (e, n) => {
17
17
  const r = t.getFirstDescendant();
18
18
  r && r.select();
19
19
  }
20
- }, v = (e) => {
20
+ }, O = (e) => {
21
21
  C(e).remove();
22
22
  }, L = (e, n) => {
23
23
  const t = h(), o = w(e), r = o.getChildrenSize();
@@ -53,13 +53,13 @@ const b = 100, F = (e, n) => {
53
53
  if (!m(e))
54
54
  throw new Error("Selected node is not a TableCellNode");
55
55
  const n = C(e), t = ((r = n.getFirstChild()) == null ? void 0 : r.getChildrenSize()) || 0, o = p(e);
56
- t === 1 ? v(e) : I(n, o);
56
+ t === 1 ? O(e) : I(n, o);
57
57
  };
58
58
  export {
59
59
  F as createTable,
60
60
  P as deleteColumn,
61
61
  A as deleteRow,
62
- v as deleteTable,
62
+ O as deleteTable,
63
63
  z as insertColumn,
64
64
  L as insertRow
65
65
  };
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../../../TablePlugin-sPSGmCno.js";
1
+ import { T as o } from "../../../../TablePlugin-5Cs2F_co.js";
2
2
  import { TableCellContextMenu as t } from "./TableCellContextMenu/TableCellContextMenu.js";
3
3
  export {
4
4
  t as TableCellContextMenu,
@@ -1,13 +1,13 @@
1
1
  import { jsxs as P, jsx as n } from "react/jsx-runtime";
2
- import { u as y } from "../../../../LexicalComposerContext.prod-Dyvim1tK.js";
3
- import { H as h, a as g, M as C } from "../../../../Lexical.prod-BAr6tzpa.js";
2
+ import { u as y } from "../../../../LexicalComposerContext.prod-DxxjdrXB.js";
3
+ import { H as h, a as g, M as C } from "../../../../Lexical.prod-sR6tW7N6.js";
4
4
  import { useState as L, useRef as E, useCallback as T, useEffect as m } from "react";
5
- import { v as b } from "../../../../LexicalTable.prod-8RqiGUG-.js";
5
+ import { v as b } from "../../../../LexicalTable.prod-XN7avk7R.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-sPSGmCno.js";
10
+ import { T as S } from "../../../../TablePlugin-5Cs2F_co.js";
11
11
  import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
12
12
  import { s as A } from "../../../../RteEditor.module-oFMKEW6f.js";
13
13
  import { setScrollableContainers as v, removeScrollableContainers as H } from "../../helpers.js";
@@ -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-sPSGmCno.js";
6
+ import { T as a } from "../../../TablePlugin-5Cs2F_co.js";
7
7
  import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
8
8
  export {
9
9
  l as BlockFormatPlugin,
@@ -1,18 +1,18 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { createContext as g, useState as s, useContext as i } from "react";
3
- const t = g(void 0), x = ({ children: e }) => {
4
- const [n, o] = s("en"), a = (r) => {
5
- o(r);
3
+ const t = g(void 0), d = ({ children: e }) => {
4
+ const [n, a] = s("en"), o = (r) => {
5
+ a(r);
6
6
  };
7
- return /* @__PURE__ */ u(t.Provider, { value: { language: n, switchLanguage: a }, children: e });
8
- }, d = () => {
7
+ return /* @__PURE__ */ u(t.Provider, { value: { language: n, switchLanguage: o }, children: e });
8
+ }, x = () => {
9
9
  const e = i(t);
10
10
  if (!e)
11
11
  throw new Error("useLanguage must be used within a LanguageProvider");
12
12
  return e;
13
13
  };
14
14
  export {
15
- x as LanguageProvider,
16
- d as useLanguage
15
+ d as LanguageProvider,
16
+ x as useLanguage
17
17
  };
18
18
  //# sourceMappingURL=LanguageProvider.js.map