@uva-glass/component-library 3.53.0 → 3.53.2
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-DH2XfwvA.js → Lexical.prod-Dgzi-S1E.js} +1427 -1409
- package/dist/Lexical.prod-Dgzi-S1E.js.map +1 -0
- package/dist/{LexicalClipboard.prod-DTuNvXAS.js → LexicalClipboard.prod-Dxc8c2F_.js} +86 -86
- package/dist/{LexicalClipboard.prod-DTuNvXAS.js.map → LexicalClipboard.prod-Dxc8c2F_.js.map} +1 -1
- package/dist/LexicalExtension.prod-CNBWjmfs.js +551 -0
- package/dist/LexicalExtension.prod-CNBWjmfs.js.map +1 -0
- package/dist/LexicalLink.prod-EEOzXxej.js +502 -0
- package/dist/LexicalLink.prod-EEOzXxej.js.map +1 -0
- package/dist/{LexicalList.prod-DA9du3qx.js → LexicalList.prod-DADZlhem.js} +65 -65
- package/dist/LexicalList.prod-DADZlhem.js.map +1 -0
- package/dist/{LexicalSelection.prod-mQk00-U_.js → LexicalSelection.prod-B0uiXGSS.js} +44 -44
- package/dist/LexicalSelection.prod-B0uiXGSS.js.map +1 -0
- package/dist/{LexicalTable.prod-RGq0GKAR.js → LexicalTable.prod-QpQxZNNH.js} +331 -319
- package/dist/LexicalTable.prod-QpQxZNNH.js.map +1 -0
- package/dist/{LexicalUtils.prod-DU4QwthB.js → LexicalUtils.prod-D1mwAww-.js} +39 -39
- package/dist/LexicalUtils.prod-D1mwAww-.js.map +1 -0
- package/dist/{TableCellResizerPlugin-DRwI83s2.js → TableCellResizerPlugin-9kvw_LpH.js} +57 -57
- package/dist/{TableCellResizerPlugin-DRwI83s2.js.map → TableCellResizerPlugin-9kvw_LpH.js.map} +1 -1
- package/dist/{TablePlugin-DmE96vN7.js → TablePlugin-Culqb83M.js} +67 -67
- package/dist/{TablePlugin-DmE96vN7.js.map → TablePlugin-Culqb83M.js.map} +1 -1
- package/dist/{chunk-SS2NHR7W-qmI2h7CJ.js → chunk-GPBRNGY5-BSRMHXbx.js} +3 -3
- package/dist/chunk-GPBRNGY5-BSRMHXbx.js.map +1 -0
- package/dist/{client-D4oO7Spw.js → client-DdSuZDnt.js} +93 -95
- package/dist/{client-D4oO7Spw.js.map → client-DdSuZDnt.js.map} +1 -1
- package/dist/components/Accordion/Accordion.test.js +2 -2
- package/dist/components/AccordionCard/AccordionCard.test.js +2 -2
- package/dist/components/ActionList/ActionList.d.ts +1 -1
- package/dist/components/ActionList/ActionList.test.js +2 -2
- package/dist/components/AppStatusBar/AppStatusBar.test.js +1 -1
- package/dist/components/Attention/Attention.test.js +1 -1
- package/dist/components/Backdrop/Backdrop.test.js +1 -1
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/Button.test.js +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.test.js +1 -1
- package/dist/components/Buttons/MenuButton.d.ts +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.test.js +1 -1
- package/dist/components/Card/Card.test.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.test.js +2 -2
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +2 -2
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.d.ts +1 -1
- package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +1 -1
- package/dist/components/FormInput/FormInput.js +1 -1
- package/dist/components/FormInput/FormInput.stories.js +1 -1
- package/dist/components/IconButton/IconButton.stories.d.ts +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/InfoBanner/InfoBanner.d.ts +1 -1
- package/dist/components/InfoBanner/InfoBanner.stories.d.ts +1 -1
- package/dist/components/InputField/InputField.stories.js +2 -2
- package/dist/components/Label/Label.test.js +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.d.ts +1 -1
- package/dist/components/MetaDataBar/MetaDataBar.test.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +2 -2
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +1 -1
- package/dist/components/Notification/Notification.stories.js +1 -1
- package/dist/components/Notification/Notification.test.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.d.ts +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +1 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +63 -63
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +7 -7
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.d.ts +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +64 -64
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +21 -21
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +7 -7
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.d.ts +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +29 -29
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.d.ts +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +15 -15
- package/dist/components/RteEditor/Plugins/index.js +2 -2
- package/dist/components/RteEditor/RteEditor.js +218 -215
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/helpers.js +5 -5
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +12 -12
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +14 -14
- package/dist/components/SectionNotification/SectionNotification.stories.d.ts +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/SelectListbox/components/SelectButton.d.ts +1 -1
- package/dist/components/SelectListbox/components/SelectOption.d.ts +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/Sortable/components/SortableItem.d.ts +1 -1
- package/dist/components/StatusBadge/StatusBadge.stories.d.ts +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +1 -1
- package/dist/components/TextArea/TextArea.stories.js +1 -1
- package/dist/components/TextArea/TextArea.test.js +2 -2
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +2 -2
- package/dist/components/WeekSelector/WeekSelector.stories.d.ts +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOption.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{index-B4NxQN5d.js → index-Cfzi-sRQ.js} +333 -332
- package/dist/index-Cfzi-sRQ.js.map +1 -0
- package/dist/{index-ZQcmo1D_.js → index-DcECbqp4.js} +12 -12
- package/dist/{index-ZQcmo1D_.js.map → index-DcECbqp4.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{react-18-BczhA0zC.js → react-18-plvLTuyc.js} +2 -2
- package/dist/{react-18-BczhA0zC.js.map → react-18-plvLTuyc.js.map} +1 -1
- package/dist/{react.esm-BDo_tPxu.js → react.esm-BpII5CMY.js} +712 -733
- package/dist/{react.esm-BDo_tPxu.js.map → react.esm-BpII5CMY.js.map} +1 -1
- package/dist/storybook__react.d.js +8 -8
- package/dist/storybook__react.d.js.map +1 -1
- package/package.json +26 -26
- package/dist/Lexical.prod-DH2XfwvA.js.map +0 -1
- package/dist/LexicalLink.prod-BV5Y2RYj.js +0 -1046
- package/dist/LexicalLink.prod-BV5Y2RYj.js.map +0 -1
- package/dist/LexicalList.prod-DA9du3qx.js.map +0 -1
- package/dist/LexicalSelection.prod-mQk00-U_.js.map +0 -1
- package/dist/LexicalTable.prod-RGq0GKAR.js.map +0 -1
- package/dist/LexicalUtils.prod-DU4QwthB.js.map +0 -1
- package/dist/chunk-SS2NHR7W-qmI2h7CJ.js.map +0 -1
- package/dist/index-B4NxQN5d.js.map +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { o as
|
|
3
|
-
import {
|
|
4
|
-
import { useState as
|
|
5
|
-
import {
|
|
6
|
-
import { CourseCataloguePlugin as
|
|
1
|
+
import { jsxs as y, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { o as E } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
|
|
3
|
+
import { c as g, b, l as L } from "../../../../Lexical.prod-Dgzi-S1E.js";
|
|
4
|
+
import { useState as T, useRef as N, useCallback as x, useEffect as m } from "react";
|
|
5
|
+
import { P as w } from "../../../../LexicalTable.prod-QpQxZNNH.js";
|
|
6
|
+
import { CourseCataloguePlugin as B } from "../CourseCataloguePlugin/CourseCataloguePlugin.js";
|
|
7
7
|
import { BlockFormatPlugin as k } from "../BlockFormatPlugin/BlockFormatPlugin.js";
|
|
8
8
|
import { ListPlugin as S } from "../ListPlugin/ListPlugin.js";
|
|
9
9
|
import { LinkPlugin as z } from "../LinkPlugin/LinkPlugin.js";
|
|
10
10
|
import { HistoryPlugin as A } from "../HistoryPlugin/HistoryPlugin.js";
|
|
11
|
-
import { T as K } from "../../../../TablePlugin-
|
|
11
|
+
import { T as K } from "../../../../TablePlugin-Culqb83M.js";
|
|
12
12
|
import { TableCellContextMenu as R } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
13
13
|
import "react-dom";
|
|
14
14
|
import "../../../../index-yEhaxKq-.js";
|
|
15
15
|
import { s as j } from "../../../../RteEditor.module-DaBh86FK.js";
|
|
16
16
|
import { setScrollableContainers as v, removeScrollableContainers as _ } from "../../helpers.js";
|
|
17
|
-
const
|
|
17
|
+
const Z = ({
|
|
18
18
|
editorScrollPosition: r,
|
|
19
19
|
onCatalogueLinkSearch: d,
|
|
20
20
|
catalogueSearchResponse: u
|
|
21
21
|
}) => {
|
|
22
|
-
const [n] =
|
|
22
|
+
const [n] = E(), [i, s] = T(null), p = N(null), f = x(() => {
|
|
23
23
|
const o = g();
|
|
24
24
|
if (b(o)) {
|
|
25
25
|
const l = o.anchor.getNode(), a = w(l);
|
|
@@ -29,14 +29,14 @@ const $ = ({
|
|
|
29
29
|
} else
|
|
30
30
|
s(null);
|
|
31
31
|
}
|
|
32
|
-
}, [n]),
|
|
32
|
+
}, [n]), P = (o) => {
|
|
33
33
|
p.current?.mutateTable(o);
|
|
34
34
|
}, e = () => {
|
|
35
35
|
n.update(() => {
|
|
36
36
|
const o = g();
|
|
37
37
|
if (b(o)) {
|
|
38
38
|
const l = o.anchor.getNode();
|
|
39
|
-
w(l) && (
|
|
39
|
+
w(l) && (L(null), s(null));
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
};
|
|
@@ -55,7 +55,7 @@ const $ = ({
|
|
|
55
55
|
return window.addEventListener("keydown", o, { capture: !0 }), () => {
|
|
56
56
|
window.removeEventListener("keydown", o);
|
|
57
57
|
};
|
|
58
|
-
}, []), /* @__PURE__ */
|
|
58
|
+
}, []), /* @__PURE__ */ y("div", { className: j.editor__toolbar, children: [
|
|
59
59
|
/* @__PURE__ */ t(k, {}),
|
|
60
60
|
/* @__PURE__ */ t(S, {}),
|
|
61
61
|
/* @__PURE__ */ t(K, { isActive: !!i, ref: p }),
|
|
@@ -64,12 +64,12 @@ const $ = ({
|
|
|
64
64
|
{
|
|
65
65
|
position: i,
|
|
66
66
|
parentScrollPosition: r,
|
|
67
|
-
onAction:
|
|
67
|
+
onAction: P
|
|
68
68
|
}
|
|
69
69
|
),
|
|
70
70
|
/* @__PURE__ */ t(z, { parentScrollPosition: r }),
|
|
71
71
|
d && u && /* @__PURE__ */ t(
|
|
72
|
-
|
|
72
|
+
B,
|
|
73
73
|
{
|
|
74
74
|
parentScrollPosition: r,
|
|
75
75
|
onSearch: d,
|
|
@@ -80,6 +80,6 @@ const $ = ({
|
|
|
80
80
|
] });
|
|
81
81
|
};
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
Z as ToolBarPlugin
|
|
84
84
|
};
|
|
85
85
|
//# sourceMappingURL=ToolbarPlugin.js.map
|
|
@@ -3,9 +3,9 @@ import { BlockFormatPlugin as t } from "./BlockFormatPlugin/BlockFormatPlugin.js
|
|
|
3
3
|
import { ListPlugin as n } from "./ListPlugin/ListPlugin.js";
|
|
4
4
|
import { LinkPlugin as x } from "./LinkPlugin/LinkPlugin.js";
|
|
5
5
|
import { HistoryPlugin as f } from "./HistoryPlugin/HistoryPlugin.js";
|
|
6
|
-
import { T as u } from "../../../TablePlugin-
|
|
6
|
+
import { T as u } from "../../../TablePlugin-Culqb83M.js";
|
|
7
7
|
import { TableCellContextMenu as g } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
8
|
-
import { T } from "../../../TableCellResizerPlugin-
|
|
8
|
+
import { T } from "../../../TableCellResizerPlugin-9kvw_LpH.js";
|
|
9
9
|
import { PasteHandlerPlugin as C } from "./PasteHandlerPlugin/PasteHandlerPlugin.js";
|
|
10
10
|
export {
|
|
11
11
|
t as BlockFormatPlugin,
|