@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.
Files changed (72) hide show
  1. package/dist/{Lexical.prod-YJ1n9pVJ.js → Lexical.prod-A4JuKqM3.js} +1494 -1428
  2. package/dist/Lexical.prod-A4JuKqM3.js.map +1 -0
  3. package/dist/{LexicalClipboard.prod-CDPAGlNs.js → LexicalClipboard.prod-CoyZP29w.js} +60 -60
  4. package/dist/{LexicalClipboard.prod-CDPAGlNs.js.map → LexicalClipboard.prod-CoyZP29w.js.map} +1 -1
  5. package/dist/{LexicalExtension.prod-2-giLTv9.js → LexicalExtension.prod-DFPuTMk1.js} +94 -93
  6. package/dist/LexicalExtension.prod-DFPuTMk1.js.map +1 -0
  7. package/dist/LexicalLink.prod-Dp06n3Hn.js +561 -0
  8. package/dist/LexicalLink.prod-Dp06n3Hn.js.map +1 -0
  9. package/dist/LexicalList.prod-D3TdO_Pq.js +632 -0
  10. package/dist/LexicalList.prod-D3TdO_Pq.js.map +1 -0
  11. package/dist/{LexicalSelection.prod-CpZE7Sey.js → LexicalSelection.prod-BapitO0n.js} +39 -39
  12. package/dist/{LexicalSelection.prod-CpZE7Sey.js.map → LexicalSelection.prod-BapitO0n.js.map} +1 -1
  13. package/dist/LexicalTable.prod-bzYpvqMi.js +1892 -0
  14. package/dist/LexicalTable.prod-bzYpvqMi.js.map +1 -0
  15. package/dist/LexicalUtils.prod-CAsHFX57.js +134 -0
  16. package/dist/LexicalUtils.prod-CAsHFX57.js.map +1 -0
  17. package/dist/{TableCellResizerPlugin-BTfuE_kM.js → TableCellResizerPlugin-ffA1s2mD.js} +62 -62
  18. package/dist/{TableCellResizerPlugin-BTfuE_kM.js.map → TableCellResizerPlugin-ffA1s2mD.js.map} +1 -1
  19. package/dist/{TablePlugin-bFqq2Yd9.js → TablePlugin-CzmrXpxk.js} +89 -89
  20. package/dist/{TablePlugin-bFqq2Yd9.js.map → TablePlugin-CzmrXpxk.js.map} +1 -1
  21. package/dist/{chunk-2N4WE3KZ-nJkI9rUN.js → chunk-OPOZOKLO-nJkI9rUN.js} +1 -1
  22. package/dist/{chunk-2N4WE3KZ-nJkI9rUN.js.map → chunk-OPOZOKLO-nJkI9rUN.js.map} +1 -1
  23. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  24. package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
  25. package/dist/components/FormInput/FormInput.js +1 -1
  26. package/dist/components/InputField/InputField.stories.js +1 -1
  27. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  28. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  29. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  30. package/dist/components/MultiSelect/index.js +1 -1
  31. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  32. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  33. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
  34. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  35. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +4 -4
  36. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +51 -51
  37. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  38. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
  39. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +42 -42
  40. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +1 -1
  41. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +7 -7
  42. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +22 -22
  43. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +13 -13
  44. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +4 -4
  45. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  46. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  47. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
  48. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +24 -24
  49. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  50. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +34 -34
  51. package/dist/components/RteEditor/Plugins/index.js +2 -2
  52. package/dist/components/RteEditor/RteEditor.js +479 -485
  53. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  54. package/dist/components/RteEditor/RteEditor.stories.js +0 -1
  55. package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
  56. package/dist/components/RteEditor/helpers.js +20 -20
  57. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +15 -15
  58. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +13 -13
  59. package/dist/components/index.js +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/storybook__react.d.js +1 -1
  62. package/package.json +17 -17
  63. package/dist/Lexical.prod-YJ1n9pVJ.js.map +0 -1
  64. package/dist/LexicalExtension.prod-2-giLTv9.js.map +0 -1
  65. package/dist/LexicalLink.prod-u8L4ioQd.js +0 -528
  66. package/dist/LexicalLink.prod-u8L4ioQd.js.map +0 -1
  67. package/dist/LexicalList.prod-DMU0XSLO.js +0 -630
  68. package/dist/LexicalList.prod-DMU0XSLO.js.map +0 -1
  69. package/dist/LexicalTable.prod-BOlKc5zf.js +0 -1846
  70. package/dist/LexicalTable.prod-BOlKc5zf.js.map +0 -1
  71. package/dist/LexicalUtils.prod-BQnuAaA9.js +0 -92
  72. package/dist/LexicalUtils.prod-BQnuAaA9.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { o as g } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
2
- import { E as f, n as p, g as c, ap as C, ao as _, a as m, N as k, _ as d } from "../../../../Lexical.prod-YJ1n9pVJ.js";
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-BQnuAaA9.js";
5
- class s extends f {
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 N(o) {
77
+ function b(o) {
78
78
  return o instanceof s;
79
79
  }
80
- function A(o) {
81
- return N(o) ? o.__linkType : null;
80
+ function O(o) {
81
+ return b(o) ? o.__linkType : null;
82
82
  }
83
- const b = p("insertCourseCatalogueLink"), h = p("removeCourseCatalogueLink");
83
+ const h = p("insertCourseCatalogueLink"), N = p("removeCourseCatalogueLink");
84
84
  function v() {
85
- const [o] = g();
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
- b,
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
- h,
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
- A as $getLinkTypeFromNode,
120
- N as $isCourseCatalogueNode,
119
+ O as $getLinkTypeFromNode,
120
+ b as $isCourseCatalogueNode,
121
121
  v as CourseCatalogueLinkPlugin,
122
122
  s as CourseCatalogueNode,
123
- b as INSERT_COURSE_CATALOGUE_LINK,
124
- h as REMOVE_COURSE_CATALOGUE_LINK
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 N } from "../../../../LexicalComposerContext.prod-DOyoZx0P.js";
2
- import { E as W, j as d, n as f, a as p, N as l, ao as u, O as E } from "../../../../Lexical.prod-YJ1n9pVJ.js";
3
- import { v as T } from "../../../../LexicalUtils.prod-BQnuAaA9.js";
4
- import { W as b } from "../../../../LexicalSelection.prod-CpZE7Sey.js";
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 W {
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 D(r) {
28
+ function $(r) {
29
29
  return r instanceof o;
30
30
  }
31
31
  const w = f("insertTableWrapperNode"), A = f("removeTableWrapperNode");
32
- function j() {
33
- const [r] = N();
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) && b(e, h), !0;
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 (!E(a)) return !1;
51
- const s = T(a, o);
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
- D as $isTableWrapperNode,
69
+ $ as $isTableWrapperNode,
70
70
  w as INSERT_TABLE_WRAPPER,
71
71
  A as REMOVE_TABLE_WRAPPER,
72
72
  o as TableWrapperNode,
73
- j as TableWrapperPlugin
73
+ B as TableWrapperPlugin
74
74
  };
75
75
  //# sourceMappingURL=TableWrapperNode.js.map
@@ -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-bFqq2Yd9.js";
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-bFqq2Yd9.js";
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-2N4WE3KZ-nJkI9rUN.js";
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.0",
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.0",
54
+ "@semantic-release/gitlab": "^13.3.2",
55
55
  "@semantic-release/npm": "^13.1.4",
56
- "@storybook/addon-a11y": "^10.2.10",
57
- "@storybook/addon-docs": "^10.2.10",
58
- "@storybook/addon-links": "^10.2.10",
59
- "@storybook/react": "^10.2.10",
60
- "@storybook/react-vite": "^10.2.10",
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.0",
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.0",
84
+ "react-router": "^7.13.1",
85
85
  "semantic-release": "^25.0.3",
86
- "storybook": "^10.2.10",
86
+ "storybook": "^10.2.13",
87
87
  "style-dictionary": "^5.3.2",
88
- "stylelint": "^17.3.0",
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.40.0",
106
- "@lexical/list": "^0.40.0",
107
- "@lexical/react": "^0.40.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.40.0"
109
+ "lexical": "^0.41.0"
110
110
  },
111
111
  "optionalDependencies": {
112
- "@ast-grep/napi-linux-x64-gnu": "0.40.5",
113
- "@rollup/rollup-linux-x64-gnu": "^4.58.0",
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
  }