@uva-glass/component-library 3.33.1 → 3.33.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.
- package/dist/{Lexical.prod-B84LhBo3.js → Lexical.prod-BjpEXQJZ.js} +1440 -1365
- package/dist/Lexical.prod-BjpEXQJZ.js.map +1 -0
- package/dist/LexicalClipboard.prod-B4j0EyWx.js +276 -0
- package/dist/LexicalClipboard.prod-B4j0EyWx.js.map +1 -0
- package/dist/{LexicalLink.prod-DoU9RL94.js → LexicalLink.prod-CYNCWmMx.js} +38 -38
- package/dist/{LexicalLink.prod-DoU9RL94.js.map → LexicalLink.prod-CYNCWmMx.js.map} +1 -1
- package/dist/{LexicalList.prod-Cw2TK1jY.js → LexicalList.prod-BRwEushm.js} +189 -204
- package/dist/LexicalList.prod-BRwEushm.js.map +1 -0
- package/dist/{LexicalSelection.prod-TB5pn9xc.js → LexicalSelection.prod-DYo5_Y2k.js} +25 -25
- package/dist/{LexicalSelection.prod-TB5pn9xc.js.map → LexicalSelection.prod-DYo5_Y2k.js.map} +1 -1
- package/dist/{LexicalTable.prod-9xjyWB0C.js → LexicalTable.prod-BArw8Dt5.js} +458 -457
- package/dist/LexicalTable.prod-BArw8Dt5.js.map +1 -0
- package/dist/{LexicalUtils.prod-CD3xGFhm.js → LexicalUtils.prod-DJRX2pwP.js} +48 -48
- package/dist/{LexicalUtils.prod-CD3xGFhm.js.map → LexicalUtils.prod-DJRX2pwP.js.map} +1 -1
- package/dist/Sortable.module-B6I6E9un.js +26 -0
- package/dist/Sortable.module-B6I6E9un.js.map +1 -0
- package/dist/{SortableProvider-DisCfTTN.js → SortableProvider-l8-7ClBJ.js} +2 -2
- package/dist/{SortableProvider-DisCfTTN.js.map → SortableProvider-l8-7ClBJ.js.map} +1 -1
- package/dist/{TablePlugin-oF-gInNx.js → TablePlugin-BagQHe1w.js} +64 -64
- package/dist/{TablePlugin-oF-gInNx.js.map → TablePlugin-BagQHe1w.js.map} +1 -1
- package/dist/assets/Sortable.css +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +2 -2
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
- package/dist/components/FormInput/FormInput.js +2 -2
- package/dist/components/InputField/InputField.stories.js +2 -2
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +2 -2
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
- package/dist/components/RadioTabSelector/RadioTabSelector.js +2 -2
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +2 -2
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +9 -9
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +9 -9
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +3 -3
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +41 -41
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +25 -25
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +5 -5
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +8 -8
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +14 -14
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/RteEditor.js +172 -172
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/helpers.js +6 -6
- package/dist/components/Sortable/Sortable.js +1 -1
- package/dist/components/Sortable/SortableProvider.js +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +2 -2
- package/dist/components/Sortable/components/SortableHandle.js +1 -1
- package/dist/components/Sortable/components/SortableItem.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/{helpers-CMG0anwr.js → helpers-DM8qHaKY.js} +54 -54
- package/dist/helpers-DM8qHaKY.js.map +1 -0
- package/dist/{index-KJPw-7za.js → index-Ccsg2cb2.js} +285 -284
- package/dist/index-Ccsg2cb2.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/storybook__react.d.js +1 -1
- package/package.json +14 -14
- package/dist/Lexical.prod-B84LhBo3.js.map +0 -1
- package/dist/LexicalClipboard.prod-DLgWWXys.js +0 -255
- package/dist/LexicalClipboard.prod-DLgWWXys.js.map +0 -1
- package/dist/LexicalList.prod-Cw2TK1jY.js.map +0 -1
- package/dist/LexicalTable.prod-9xjyWB0C.js.map +0 -1
- package/dist/Sortable.module--kgnzOjW.js +0 -26
- package/dist/Sortable.module--kgnzOjW.js.map +0 -1
- package/dist/helpers-CMG0anwr.js.map +0 -1
- package/dist/index-KJPw-7za.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
3
|
import "../../../../clsx-OuTLNxxd.js";
|
|
4
|
-
import "../../../../LexicalTable.prod-
|
|
5
|
-
import "../../../../Lexical.prod-
|
|
4
|
+
import "../../../../LexicalTable.prod-BArw8Dt5.js";
|
|
5
|
+
import "../../../../Lexical.prod-BjpEXQJZ.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import { T as F } from "../../../../TablePlugin-
|
|
7
|
+
import { T as F } from "../../../../TablePlugin-BagQHe1w.js";
|
|
8
8
|
import "./helpers.js";
|
|
9
9
|
import "../../hooks/useFlyout.js";
|
|
10
10
|
import "../../../Icon/Icon.js";
|
|
@@ -29,7 +29,7 @@ import "../../../../index-nrPtQ1dv.js";
|
|
|
29
29
|
import "../../../SelectListbox/SelectListbox.js";
|
|
30
30
|
import "../../../SelectListbox/SelectProvider.js";
|
|
31
31
|
import "../../../Sortable/components/SortableItem.js";
|
|
32
|
-
import "../../../../SortableProvider-
|
|
32
|
+
import "../../../../SortableProvider-l8-7ClBJ.js";
|
|
33
33
|
export {
|
|
34
34
|
F as TablePlugin
|
|
35
35
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { H as d, R as h, B as m, Z as x, z as w, P as S, v as C, K as p, L as E } from "../../../../LexicalTable.prod-
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { H as d, R as h, B as m, Z as x, z as w, P as S, v as C, K as p, L as E } from "../../../../LexicalTable.prod-BArw8Dt5.js";
|
|
2
|
+
import { R as u } from "../../../../Lexical.prod-BjpEXQJZ.js";
|
|
3
|
+
const R = 100, P = (e, n) => {
|
|
4
4
|
const t = E(0, 0, !1);
|
|
5
5
|
for (let o = 0; o < e; o++) {
|
|
6
6
|
const s = p();
|
|
7
7
|
for (let l = 0; l < n; l++) {
|
|
8
|
-
const r = C(0, void 0,
|
|
8
|
+
const r = C(0, void 0, R / n);
|
|
9
9
|
r.append(u()), s.append(r);
|
|
10
10
|
}
|
|
11
11
|
t.append(s);
|
|
@@ -34,14 +34,14 @@ const b = 100, D = (e, n) => {
|
|
|
34
34
|
throw new Error("Selected node is not a TableCellNode");
|
|
35
35
|
const o = S(e), s = t.getChildren().length, l = d(e);
|
|
36
36
|
let r = m(e);
|
|
37
|
-
const c = l.getChildren(),
|
|
38
|
-
for (let i = 0; i <
|
|
37
|
+
const c = l.getChildren(), b = c.length;
|
|
38
|
+
for (let i = 0; i < b; i++) {
|
|
39
39
|
const a = C(0);
|
|
40
40
|
a.append(u());
|
|
41
41
|
const f = c[i].getChildren()[r];
|
|
42
42
|
f && (n === "insertColumnLeft" ? f.insertBefore(a) : f.insertAfter(a)), c.forEach((T) => {
|
|
43
43
|
T.getChildren().forEach((v) => {
|
|
44
|
-
v.setWidth(
|
|
44
|
+
v.setWidth(R / s);
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -55,7 +55,7 @@ const b = 100, D = (e, n) => {
|
|
|
55
55
|
t === 1 ? I(e) : x(n, o);
|
|
56
56
|
};
|
|
57
57
|
export {
|
|
58
|
-
|
|
58
|
+
P as createTable,
|
|
59
59
|
O as deleteColumn,
|
|
60
60
|
A as deleteRow,
|
|
61
61
|
I as deleteTable,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { o as
|
|
3
|
-
import {
|
|
4
|
-
import { useState as
|
|
5
|
-
import { W as
|
|
6
|
-
import { BlockFormatPlugin as
|
|
1
|
+
import { jsxs as E, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { o as P } from "../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
3
|
+
import { D as p, g, E as y } from "../../../../Lexical.prod-BjpEXQJZ.js";
|
|
4
|
+
import { useState as C, useRef as L, useCallback as T, useEffect as c } from "react";
|
|
5
|
+
import { W as h } from "../../../../LexicalTable.prod-BArw8Dt5.js";
|
|
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-
|
|
10
|
+
import { T as S } from "../../../../TablePlugin-BagQHe1w.js";
|
|
11
11
|
import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
12
12
|
import { s as A } from "../../../../RteEditor.module-B_3uFnFu.js";
|
|
13
13
|
import { setScrollableContainers as b, removeScrollableContainers as K } from "../../helpers.js";
|
|
14
14
|
const O = ({ editorScrollPosition: m }) => {
|
|
15
|
-
const [t] =
|
|
15
|
+
const [t] = P(), [r, i] = C(null), d = L(null), u = T(() => {
|
|
16
16
|
const e = p();
|
|
17
|
-
if (
|
|
18
|
-
const s = e.anchor.getNode(), l =
|
|
17
|
+
if (g(e)) {
|
|
18
|
+
const s = e.anchor.getNode(), l = h(s);
|
|
19
19
|
if (l) {
|
|
20
20
|
const f = t.getElementByKey(l.getKey()), a = f ? f.getBoundingClientRect() : { right: 0, bottom: 0, height: 0 };
|
|
21
21
|
i({ xPos: a.right, yPos: a.bottom, height: a.height });
|
|
@@ -27,9 +27,9 @@ const O = ({ editorScrollPosition: m }) => {
|
|
|
27
27
|
}, o = () => {
|
|
28
28
|
t.update(() => {
|
|
29
29
|
const e = p();
|
|
30
|
-
if (
|
|
30
|
+
if (g(e)) {
|
|
31
31
|
const s = e.anchor.getNode();
|
|
32
|
-
|
|
32
|
+
h(s) && (y(null), i(null));
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
};
|
|
@@ -48,8 +48,8 @@ const O = ({ editorScrollPosition: m }) => {
|
|
|
48
48
|
return window.addEventListener("keydown", e, { capture: !0 }), () => {
|
|
49
49
|
window.removeEventListener("keydown", e);
|
|
50
50
|
};
|
|
51
|
-
}, []), /* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */ n(
|
|
51
|
+
}, []), /* @__PURE__ */ E("div", { className: A.editor__toolbar, children: [
|
|
52
|
+
/* @__PURE__ */ n(N, {}),
|
|
53
53
|
/* @__PURE__ */ n(k, {}),
|
|
54
54
|
/* @__PURE__ */ n(S, { isActive: !!r, ref: d }),
|
|
55
55
|
r && /* @__PURE__ */ n(
|
|
@@ -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-
|
|
6
|
+
import { T as a } from "../../../TablePlugin-BagQHe1w.js";
|
|
7
7
|
import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
8
8
|
export {
|
|
9
9
|
l as BlockFormatPlugin,
|