@uva-glass/component-library 3.54.0 → 3.54.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-YJ1n9pVJ.js → Lexical.prod-A4JuKqM3.js} +1494 -1428
- package/dist/Lexical.prod-A4JuKqM3.js.map +1 -0
- package/dist/{LexicalClipboard.prod-CDPAGlNs.js → LexicalClipboard.prod-CoyZP29w.js} +60 -60
- package/dist/{LexicalClipboard.prod-CDPAGlNs.js.map → LexicalClipboard.prod-CoyZP29w.js.map} +1 -1
- package/dist/{LexicalExtension.prod-2-giLTv9.js → LexicalExtension.prod-DFPuTMk1.js} +94 -93
- package/dist/LexicalExtension.prod-DFPuTMk1.js.map +1 -0
- package/dist/LexicalLink.prod-Dp06n3Hn.js +561 -0
- package/dist/LexicalLink.prod-Dp06n3Hn.js.map +1 -0
- package/dist/LexicalList.prod-D3TdO_Pq.js +632 -0
- package/dist/LexicalList.prod-D3TdO_Pq.js.map +1 -0
- package/dist/{LexicalSelection.prod-CpZE7Sey.js → LexicalSelection.prod-BapitO0n.js} +39 -39
- package/dist/{LexicalSelection.prod-CpZE7Sey.js.map → LexicalSelection.prod-BapitO0n.js.map} +1 -1
- package/dist/LexicalTable.prod-bzYpvqMi.js +1892 -0
- package/dist/LexicalTable.prod-bzYpvqMi.js.map +1 -0
- package/dist/LexicalUtils.prod-CAsHFX57.js +134 -0
- package/dist/LexicalUtils.prod-CAsHFX57.js.map +1 -0
- package/dist/{TableCellResizerPlugin-BTfuE_kM.js → TableCellResizerPlugin-ffA1s2mD.js} +62 -62
- package/dist/{TableCellResizerPlugin-BTfuE_kM.js.map → TableCellResizerPlugin-ffA1s2mD.js.map} +1 -1
- package/dist/{TablePlugin-bFqq2Yd9.js → TablePlugin-CzmrXpxk.js} +89 -89
- package/dist/{TablePlugin-bFqq2Yd9.js.map → TablePlugin-CzmrXpxk.js.map} +1 -1
- package/dist/{chunk-2N4WE3KZ-nJkI9rUN.js → chunk-OPOZOKLO-nJkI9rUN.js} +1 -1
- package/dist/{chunk-2N4WE3KZ-nJkI9rUN.js.map → chunk-OPOZOKLO-nJkI9rUN.js.map} +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
- package/dist/components/FormInput/FormInput.js +1 -1
- package/dist/components/InputField/InputField.stories.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +51 -51
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +42 -42
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +7 -7
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +22 -22
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +13 -13
- 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/TablePlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +24 -24
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +34 -34
- package/dist/components/RteEditor/Plugins/index.js +2 -2
- package/dist/components/RteEditor/RteEditor.js +479 -485
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/RteEditor.stories.js +0 -1
- package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
- package/dist/components/RteEditor/helpers.js +20 -20
- package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +15 -15
- package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +13 -13
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/storybook__react.d.js +1 -1
- package/package.json +17 -17
- package/dist/Lexical.prod-YJ1n9pVJ.js.map +0 -1
- package/dist/LexicalExtension.prod-2-giLTv9.js.map +0 -1
- package/dist/LexicalLink.prod-u8L4ioQd.js +0 -528
- package/dist/LexicalLink.prod-u8L4ioQd.js.map +0 -1
- package/dist/LexicalList.prod-DMU0XSLO.js +0 -630
- package/dist/LexicalList.prod-DMU0XSLO.js.map +0 -1
- package/dist/LexicalTable.prod-BOlKc5zf.js +0 -1846
- package/dist/LexicalTable.prod-BOlKc5zf.js.map +0 -1
- package/dist/LexicalUtils.prod-BQnuAaA9.js +0 -92
- package/dist/LexicalUtils.prod-BQnuAaA9.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as
|
|
2
|
-
import {
|
|
1
|
+
import { o as f } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
|
|
2
|
+
import { A as g, n as p, p as c, ar as C, aq as _, $ as m, w as k, y as d } from "../../../../Lexical.prod-A4JuKqM3.js";
|
|
3
3
|
import { useEffect as T } from "react";
|
|
4
|
-
import { v as y } from "../../../../LexicalUtils.prod-
|
|
5
|
-
class s extends
|
|
4
|
+
import { v as y } from "../../../../LexicalUtils.prod-CAsHFX57.js";
|
|
5
|
+
class s extends g {
|
|
6
6
|
__linkType;
|
|
7
7
|
__code;
|
|
8
8
|
__label;
|
|
@@ -74,27 +74,27 @@ class s extends f {
|
|
|
74
74
|
function u(o, e, t = "") {
|
|
75
75
|
return new s(o, e, t);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function b(o) {
|
|
78
78
|
return o instanceof s;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return
|
|
80
|
+
function O(o) {
|
|
81
|
+
return b(o) ? o.__linkType : null;
|
|
82
82
|
}
|
|
83
|
-
const
|
|
83
|
+
const h = p("insertCourseCatalogueLink"), N = p("removeCourseCatalogueLink");
|
|
84
84
|
function v() {
|
|
85
|
-
const [o] =
|
|
85
|
+
const [o] = f();
|
|
86
86
|
if (!o.hasNodes([s]))
|
|
87
87
|
throw new Error("CourseCataloguePlugin: CourseCatalogueNode is not registered on editor");
|
|
88
88
|
return T(() => {
|
|
89
89
|
const e = o.registerCommand(
|
|
90
|
-
|
|
90
|
+
h,
|
|
91
91
|
(n) => {
|
|
92
92
|
const r = u(n.linkType, n.code, n.label), a = c(n.label);
|
|
93
93
|
return r.append(a), C([r]), !0;
|
|
94
94
|
},
|
|
95
95
|
_
|
|
96
96
|
), t = o.registerCommand(
|
|
97
|
-
|
|
97
|
+
N,
|
|
98
98
|
() => {
|
|
99
99
|
const n = m();
|
|
100
100
|
if (k(n)) {
|
|
@@ -116,11 +116,11 @@ function v() {
|
|
|
116
116
|
}
|
|
117
117
|
export {
|
|
118
118
|
u as $createCourseCatalogueNode,
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
O as $getLinkTypeFromNode,
|
|
120
|
+
b as $isCourseCatalogueNode,
|
|
121
121
|
v as CourseCatalogueLinkPlugin,
|
|
122
122
|
s as CourseCatalogueNode,
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
h as INSERT_COURSE_CATALOGUE_LINK,
|
|
124
|
+
N as REMOVE_COURSE_CATALOGUE_LINK
|
|
125
125
|
};
|
|
126
126
|
//# sourceMappingURL=CourseCatalogueNode.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as
|
|
2
|
-
import {
|
|
3
|
-
import { v as
|
|
4
|
-
import { W as
|
|
1
|
+
import { o as W } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
|
|
2
|
+
import { A as N, V as d, n as f, $ as p, w as l, aq as u, P as T } from "../../../../Lexical.prod-A4JuKqM3.js";
|
|
3
|
+
import { v as b } from "../../../../LexicalUtils.prod-CAsHFX57.js";
|
|
4
|
+
import { W as E } from "../../../../LexicalSelection.prod-BapitO0n.js";
|
|
5
5
|
import { useEffect as g } from "react";
|
|
6
|
-
class o extends
|
|
6
|
+
class o extends N {
|
|
7
7
|
static getType() {
|
|
8
8
|
return "tableWrapper";
|
|
9
9
|
}
|
|
@@ -25,12 +25,12 @@ class o extends W {
|
|
|
25
25
|
function h() {
|
|
26
26
|
return new o();
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function $(r) {
|
|
29
29
|
return r instanceof o;
|
|
30
30
|
}
|
|
31
31
|
const w = f("insertTableWrapperNode"), A = f("removeTableWrapperNode");
|
|
32
|
-
function
|
|
33
|
-
const [r] =
|
|
32
|
+
function B() {
|
|
33
|
+
const [r] = W();
|
|
34
34
|
if (!r.hasNodes([o]))
|
|
35
35
|
throw new Error("TableWrapperPlugin: TableWrapperNode is not registered on editor");
|
|
36
36
|
return g(() => {
|
|
@@ -38,7 +38,7 @@ function j() {
|
|
|
38
38
|
w,
|
|
39
39
|
() => {
|
|
40
40
|
const e = p();
|
|
41
|
-
return l(e) &&
|
|
41
|
+
return l(e) && E(e, h), !0;
|
|
42
42
|
},
|
|
43
43
|
u
|
|
44
44
|
), n = r.registerCommand(
|
|
@@ -47,8 +47,8 @@ function j() {
|
|
|
47
47
|
const e = p();
|
|
48
48
|
if (l(e)) {
|
|
49
49
|
const a = e.anchor.getNode();
|
|
50
|
-
if (!
|
|
51
|
-
const s =
|
|
50
|
+
if (!T(a)) return !1;
|
|
51
|
+
const s = b(a, o);
|
|
52
52
|
if (!s) return !1;
|
|
53
53
|
const i = s?.getChildren();
|
|
54
54
|
if (!i) return !1;
|
|
@@ -66,10 +66,10 @@ function j() {
|
|
|
66
66
|
}
|
|
67
67
|
export {
|
|
68
68
|
h as $createTableWrapperNode,
|
|
69
|
-
|
|
69
|
+
$ as $isTableWrapperNode,
|
|
70
70
|
w as INSERT_TABLE_WRAPPER,
|
|
71
71
|
A as REMOVE_TABLE_WRAPPER,
|
|
72
72
|
o as TableWrapperNode,
|
|
73
|
-
|
|
73
|
+
B as TableWrapperPlugin
|
|
74
74
|
};
|
|
75
75
|
//# sourceMappingURL=TableWrapperNode.js.map
|
package/dist/components/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import { MenuLink as Co } from "./MenuLink/MenuLink.js";
|
|
|
37
37
|
import { MetaDataBar as Fo } from "./MetaDataBar/MetaDataBar.js";
|
|
38
38
|
import { MetaDataList as Mo } from "./MetaDataList/MetaDataList.js";
|
|
39
39
|
import { ModalDialog as Lo } from "./ModalDialog/ModalDialog.js";
|
|
40
|
-
import { M as Ro } from "../TablePlugin-
|
|
40
|
+
import { M as Ro } from "../TablePlugin-CzmrXpxk.js";
|
|
41
41
|
import { MultiSelectBox as yo } from "./MultiSelectBox/MultiSelectBox.js";
|
|
42
42
|
import { Notification as Do } from "./Notification/Notification.js";
|
|
43
43
|
import { OverlayCloseButton as vo } from "./OverlayCloseButton/OverlayCloseButton.js";
|
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import { MenuLink as Co } from "./components/MenuLink/MenuLink.js";
|
|
|
37
37
|
import { MetaDataBar as Fo } from "./components/MetaDataBar/MetaDataBar.js";
|
|
38
38
|
import { MetaDataList as Mo } from "./components/MetaDataList/MetaDataList.js";
|
|
39
39
|
import { ModalDialog as Lo } from "./components/ModalDialog/ModalDialog.js";
|
|
40
|
-
import { M as Ro } from "./TablePlugin-
|
|
40
|
+
import { M as Ro } from "./TablePlugin-CzmrXpxk.js";
|
|
41
41
|
import { MultiSelectBox as yo } from "./components/MultiSelectBox/MultiSelectBox.js";
|
|
42
42
|
import { Notification as Do } from "./components/Notification/Notification.js";
|
|
43
43
|
import { OverlayCloseButton as vo } from "./components/OverlayCloseButton/OverlayCloseButton.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as lt from "react";
|
|
2
2
|
import Me, { StrictMode as gn, Fragment as Yt, Component as Fn, isValidElement as Ht, createElement as yn } from "react";
|
|
3
|
-
import { d as Bn, e as xn, b as vn, c as fe, h as _n, f as Sn, T as pr, i as Dt, g as bn, u as wn, j as kn, S as fr, k as Tn, l as dr, m as Pn } from "./chunk-
|
|
3
|
+
import { d as Bn, e as xn, b as vn, c as fe, h as _n, f as Sn, T as pr, i as Dt, g as bn, u as wn, j as kn, S as fr, k as Tn, l as dr, m as Pn } from "./chunk-OPOZOKLO-nJkI9rUN.js";
|
|
4
4
|
import { s as Qt, c as In, l as bt } from "./index-B_q_4aBT.js";
|
|
5
5
|
var Nn = {
|
|
6
6
|
/** Story has a test function */
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uva-glass/component-library",
|
|
3
3
|
"author": "Team Glass - Frontend vrienden",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "3.54.
|
|
5
|
+
"version": "3.54.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -51,17 +51,17 @@
|
|
|
51
51
|
"@react-aria/overlays": "^3.31.1",
|
|
52
52
|
"@react-types/dialog": "^3.5.23",
|
|
53
53
|
"@semantic-release/git": "^10.0.1",
|
|
54
|
-
"@semantic-release/gitlab": "^13.3.
|
|
54
|
+
"@semantic-release/gitlab": "^13.3.2",
|
|
55
55
|
"@semantic-release/npm": "^13.1.4",
|
|
56
|
-
"@storybook/addon-a11y": "^10.2.
|
|
57
|
-
"@storybook/addon-docs": "^10.2.
|
|
58
|
-
"@storybook/addon-links": "^10.2.
|
|
59
|
-
"@storybook/react": "^10.2.
|
|
60
|
-
"@storybook/react-vite": "^10.2.
|
|
56
|
+
"@storybook/addon-a11y": "^10.2.13",
|
|
57
|
+
"@storybook/addon-docs": "^10.2.13",
|
|
58
|
+
"@storybook/addon-links": "^10.2.13",
|
|
59
|
+
"@storybook/react": "^10.2.13",
|
|
60
|
+
"@storybook/react-vite": "^10.2.13",
|
|
61
61
|
"@testing-library/jest-dom": "^6.9.1",
|
|
62
62
|
"@testing-library/react": "^16.3.2",
|
|
63
63
|
"@types/jest": "^30.0.0",
|
|
64
|
-
"@types/node": "^25.3.
|
|
64
|
+
"@types/node": "^25.3.2",
|
|
65
65
|
"@types/react": "^19.2.14",
|
|
66
66
|
"@types/react-dom": "^19.2.3",
|
|
67
67
|
"@uva-glass/eslint-config": "^1.3.11",
|
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
"npm-run-all2": "^8.0.4",
|
|
82
82
|
"react": "^19.2.4",
|
|
83
83
|
"react-dom": "^19.2.4",
|
|
84
|
-
"react-router": "^7.13.
|
|
84
|
+
"react-router": "^7.13.1",
|
|
85
85
|
"semantic-release": "^25.0.3",
|
|
86
|
-
"storybook": "^10.2.
|
|
86
|
+
"storybook": "^10.2.13",
|
|
87
87
|
"style-dictionary": "^5.3.2",
|
|
88
|
-
"stylelint": "^17.
|
|
88
|
+
"stylelint": "^17.4.0",
|
|
89
89
|
"stylelint-config-recommended": "^18.0.0",
|
|
90
90
|
"stylelint-config-standard": "^40.0.0",
|
|
91
91
|
"stylelint-order": "^7.0.1",
|
|
@@ -102,15 +102,15 @@
|
|
|
102
102
|
"@babel/preset-env": "^7.29.0",
|
|
103
103
|
"@babel/preset-react": "^7.28.5",
|
|
104
104
|
"@babel/preset-typescript": "^7.28.5",
|
|
105
|
-
"@lexical/link": "^0.
|
|
106
|
-
"@lexical/list": "^0.
|
|
107
|
-
"@lexical/react": "^0.
|
|
105
|
+
"@lexical/link": "^0.41.0",
|
|
106
|
+
"@lexical/list": "^0.41.0",
|
|
107
|
+
"@lexical/react": "^0.41.0",
|
|
108
108
|
"@staartwind.nl/lexical-paste-from-word": "^1.0.2",
|
|
109
|
-
"lexical": "^0.
|
|
109
|
+
"lexical": "^0.41.0"
|
|
110
110
|
},
|
|
111
111
|
"optionalDependencies": {
|
|
112
|
-
"@ast-grep/napi-linux-x64-gnu": "0.
|
|
113
|
-
"@rollup/rollup-linux-x64-gnu": "^4.
|
|
112
|
+
"@ast-grep/napi-linux-x64-gnu": "0.41.0",
|
|
113
|
+
"@rollup/rollup-linux-x64-gnu": "^4.59.0",
|
|
114
114
|
"@rspack/binding-darwin-arm64": "1.7.6",
|
|
115
115
|
"@rspack/binding-linux-x64-gnu": "1.7.6"
|
|
116
116
|
}
|