@uva-glass/component-library 3.50.6 → 3.50.8

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 (59) hide show
  1. package/dist/{Lexical.prod-DBU6xTBY.js → Lexical.prod-BAE-wnll.js} +873 -863
  2. package/dist/Lexical.prod-BAE-wnll.js.map +1 -0
  3. package/dist/LexicalClipboard.prod-BS4qAkmJ.js +263 -0
  4. package/dist/LexicalClipboard.prod-BS4qAkmJ.js.map +1 -0
  5. package/dist/{LexicalLink.prod-DV9kT537.js → LexicalLink.prod-C6Or2Yo6.js} +97 -97
  6. package/dist/{LexicalLink.prod-DV9kT537.js.map → LexicalLink.prod-C6Or2Yo6.js.map} +1 -1
  7. package/dist/{LexicalList.prod-2UfLUgO1.js → LexicalList.prod-rTq41CO0.js} +24 -24
  8. package/dist/{LexicalList.prod-2UfLUgO1.js.map → LexicalList.prod-rTq41CO0.js.map} +1 -1
  9. package/dist/LexicalSelection.prod-fLzEGOT_.js +116 -0
  10. package/dist/LexicalSelection.prod-fLzEGOT_.js.map +1 -0
  11. package/dist/{LexicalTable.prod-CZ1mYUR-.js → LexicalTable.prod-BBI7yaOy.js} +118 -118
  12. package/dist/LexicalTable.prod-BBI7yaOy.js.map +1 -0
  13. package/dist/{LexicalUtils.prod-C3vvQk50.js → LexicalUtils.prod-D8DAKg7O.js} +36 -36
  14. package/dist/{LexicalUtils.prod-C3vvQk50.js.map → LexicalUtils.prod-D8DAKg7O.js.map} +1 -1
  15. package/dist/{TableCellResizerPlugin-CxFy7dbe.js → TableCellResizerPlugin-HPo4ZkHo.js} +39 -39
  16. package/dist/{TableCellResizerPlugin-CxFy7dbe.js.map → TableCellResizerPlugin-HPo4ZkHo.js.map} +1 -1
  17. package/dist/{TablePlugin-8TKXJMYE.js → TablePlugin-CeZO4BR1.js} +70 -70
  18. package/dist/{TablePlugin-8TKXJMYE.js.map → TablePlugin-CeZO4BR1.js.map} +1 -1
  19. package/dist/assets/Slider.css +1 -1
  20. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  21. package/dist/components/FormInput/FormInput.js +1 -1
  22. package/dist/components/InputField/InputField.stories.js +1 -1
  23. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  24. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  25. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  26. package/dist/components/MultiSelect/index.js +1 -1
  27. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  28. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  29. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
  30. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  31. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +7 -7
  32. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
  33. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
  34. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +41 -41
  35. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  36. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +14 -14
  37. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +5 -5
  38. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +4 -4
  39. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  40. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  41. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +4 -4
  42. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +12 -12
  43. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  44. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +16 -16
  45. package/dist/components/RteEditor/Plugins/index.js +2 -2
  46. package/dist/components/RteEditor/RteEditor.js +219 -219
  47. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  48. package/dist/components/RteEditor/helpers.js +4 -4
  49. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +15 -15
  50. package/dist/components/Slider/Slider.js +36 -36
  51. package/dist/components/index.js +1 -1
  52. package/dist/index.js +1 -1
  53. package/package.json +7 -7
  54. package/dist/Lexical.prod-DBU6xTBY.js.map +0 -1
  55. package/dist/LexicalClipboard.prod-CzGBnMdD.js +0 -272
  56. package/dist/LexicalClipboard.prod-CzGBnMdD.js.map +0 -1
  57. package/dist/LexicalSelection.prod-C1JYA_go.js +0 -114
  58. package/dist/LexicalSelection.prod-C1JYA_go.js.map +0 -1
  59. package/dist/LexicalTable.prod-CZ1mYUR-.js.map +0 -1
@@ -1,72 +1,72 @@
1
- import { jsxs as m, jsx as a } from "react/jsx-runtime";
2
- import { useState as S, useRef as v, useEffectEvent as x, useEffect as B } from "react";
1
+ import { jsxs as g, jsx as a } from "react/jsx-runtime";
2
+ import { useState as x, useRef as m, useEffectEvent as z, useEffect as B } from "react";
3
3
  import { c as H } from "../../clsx-OuTLNxxd.js";
4
- import { Icon as E } from "../Icon/Icon.js";
5
- import '../../assets/Slider.css';const T = "_slider_wrapper_euug7_1", j = "_slider_button_euug7_8", C = "_slider_trackwrapper_euug7_38", D = "_slider_balloon_euug7_44", F = "_slider_input_euug7_52", l = {
4
+ import { Icon as S } from "../Icon/Icon.js";
5
+ import '../../assets/Slider.css';const T = "_slider_wrapper_8wxrb_1", j = "_slider_button_8wxrb_8", C = "_slider_trackwrapper_8wxrb_38", D = "_slider_balloon_8wxrb_44", F = "_slider_input_8wxrb_53", l = {
6
6
  slider_wrapper: T,
7
7
  slider_button: j,
8
8
  slider_trackwrapper: C,
9
9
  slider_balloon: D,
10
10
  slider_input: F
11
- }, w = 0.5, I = 100, p = 16, U = 16, G = ({
11
+ }, v = 0.5, I = 100, p = 16, U = 16, G = ({
12
12
  min: t,
13
13
  max: o,
14
14
  value: i,
15
15
  step: k = 1,
16
16
  units: c,
17
- navigationLabels: u,
17
+ navigationLabels: d,
18
18
  disabled: s = !1,
19
- onChange: d
19
+ onChange: u
20
20
  }) => {
21
- const [n, f] = S(i !== void 0 ? i : (t + o) * w), [V, P] = S(""), _ = v(null), g = v(null), b = v(null), N = (r) => {
22
- const e = n + r * k;
23
- e >= t && e <= o && (f(e), h(e), y(e), d && d(e));
24
- }, R = (r) => {
25
- const e = Number(r.target.value);
26
- f(e), h(e), y(e), d && d(e);
27
- }, h = (r) => {
21
+ const [n, f] = x(i !== void 0 ? i : (t + o) * v), [E, V] = x(""), _ = m(null), b = m(null), w = m(null), N = (e) => {
22
+ const r = n + e * k;
23
+ r >= t && r <= o && (f(r), h(r), y(r), u && u(r));
24
+ }, P = (e) => {
25
+ const r = Number(e.target.value);
26
+ f(r), h(r), y(r), u && u(r);
27
+ }, h = (e) => {
28
28
  if (!_.current) return;
29
- const e = (r - t) / (o - t) * I;
29
+ const r = (e - t) / (o - t) * I;
30
30
  s ? _.current.style.background = `linear-gradient(
31
31
  to right,
32
32
  var(--color-grey-700) 0%,
33
- var(--color-grey-700) ${e}%,
34
- var(--color-grey-400) ${e}%,
33
+ var(--color-grey-700) ${r}%,
34
+ var(--color-grey-400) ${r}%,
35
35
  var(--color-grey-400) 100%)` : _.current.style.background = `linear-gradient(
36
36
  to right,
37
37
  var(--color-navy-600) 0%,
38
- var(--color-navy-600) ${e}%,
39
- var(--color-grey-400) ${e}%,
38
+ var(--color-navy-600) ${r}%,
39
+ var(--color-grey-400) ${r}%,
40
40
  var(--color-grey-400) 100%)`;
41
- }, y = (r) => {
42
- if (g.current && b.current) {
43
- const e = b.current.clientWidth, $ = g.current.clientWidth - p, W = (r - t) / (o - t) * $ - (e - p) * w, z = Math.max(0, Math.min(W, $ - e + p * w));
44
- P(`${z}px`);
41
+ }, y = (e) => {
42
+ if (b.current && w.current) {
43
+ const r = w.current.clientWidth, $ = b.current.clientWidth - p, M = (e - t) / (o - t) * $ - (r - p) * v, W = Math.max(0, Math.min(M, $ - r + p * v));
44
+ V(`${W}px`);
45
45
  }
46
- }, M = x((r) => {
47
- f(r), h(r), y(r);
46
+ }, R = z((e) => {
47
+ f(e), h(e), y(e);
48
48
  });
49
49
  return B(() => {
50
- i !== void 0 && M(i);
51
- }, [i, s]), /* @__PURE__ */ m("div", { className: l.slider_wrapper, children: [
50
+ i !== void 0 && R(i);
51
+ }, [i, s]), /* @__PURE__ */ g("div", { className: l.slider_wrapper, children: [
52
52
  /* @__PURE__ */ a(
53
53
  "button",
54
54
  {
55
55
  type: "button",
56
56
  className: l.slider_button,
57
57
  onClick: () => N(-1),
58
- "aria-label": u?.decrease ? u.decrease : "Verlaag waarde",
58
+ "aria-label": d?.decrease ? d.decrease : "Verlaag waarde",
59
59
  disabled: s,
60
- children: /* @__PURE__ */ a(E, { name: "Minus", size: 20 })
60
+ children: /* @__PURE__ */ a(S, { name: "Minus", size: 20 })
61
61
  }
62
62
  ),
63
- /* @__PURE__ */ m("div", { className: l.slider_trackwrapper, ref: g, children: [
64
- /* @__PURE__ */ m(
63
+ /* @__PURE__ */ g("div", { className: l.slider_trackwrapper, ref: b, children: [
64
+ /* @__PURE__ */ g(
65
65
  "div",
66
66
  {
67
67
  className: H(l.slider_balloon, { [l["slider_balloon--disabled"]]: s }),
68
- style: { left: V },
69
- ref: b,
68
+ style: { left: E },
69
+ ref: w,
70
70
  children: [
71
71
  n,
72
72
  c && /* @__PURE__ */ a("span", { className: l.slider_units, children: c })
@@ -82,7 +82,7 @@ import '../../assets/Slider.css';const T = "_slider_wrapper_euug7_1", j = "_slid
82
82
  max: o,
83
83
  step: k,
84
84
  value: n,
85
- onChange: R,
85
+ onChange: P,
86
86
  ref: _,
87
87
  style: { "--thumb-size": `${p / U}rem` },
88
88
  "aria-valuemin": t,
@@ -100,9 +100,9 @@ import '../../assets/Slider.css';const T = "_slider_wrapper_euug7_1", j = "_slid
100
100
  type: "button",
101
101
  className: l.slider_button,
102
102
  onClick: () => N(1),
103
- "aria-label": u?.increase ? u.increase : "Verhoog waarde",
103
+ "aria-label": d?.increase ? d.increase : "Verhoog waarde",
104
104
  disabled: s,
105
- children: /* @__PURE__ */ a(E, { name: "Plus", size: 20 })
105
+ children: /* @__PURE__ */ a(S, { name: "Plus", size: 20 })
106
106
  }
107
107
  )
108
108
  ] });
@@ -36,7 +36,7 @@ import { Label as so } from "./Label/Label.js";
36
36
  import { MenuLink as Co } from "./MenuLink/MenuLink.js";
37
37
  import { MetaDataList as Fo } from "./MetaDataList/MetaDataList.js";
38
38
  import { ModalDialog as Mo } from "./ModalDialog/ModalDialog.js";
39
- import { M as Lo } from "../TablePlugin-8TKXJMYE.js";
39
+ import { M as Lo } from "../TablePlugin-CeZO4BR1.js";
40
40
  import { MultiSelectBox as Ro } from "./MultiSelectBox/MultiSelectBox.js";
41
41
  import { Notification as yo } from "./Notification/Notification.js";
42
42
  import { OverlayCloseButton as To } from "./OverlayCloseButton/OverlayCloseButton.js";
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ import { Label as so } from "./components/Label/Label.js";
36
36
  import { MenuLink as Co } from "./components/MenuLink/MenuLink.js";
37
37
  import { MetaDataList as Fo } from "./components/MetaDataList/MetaDataList.js";
38
38
  import { ModalDialog as Mo } from "./components/ModalDialog/ModalDialog.js";
39
- import { M as Lo } from "./TablePlugin-8TKXJMYE.js";
39
+ import { M as Lo } from "./TablePlugin-CeZO4BR1.js";
40
40
  import { MultiSelectBox as Ro } from "./components/MultiSelectBox/MultiSelectBox.js";
41
41
  import { Notification as yo } from "./components/Notification/Notification.js";
42
42
  import { OverlayCloseButton as To } from "./components/OverlayCloseButton/OverlayCloseButton.js";
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.50.6",
5
+ "version": "3.50.8",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -52,7 +52,7 @@
52
52
  "@react-types/dialog": "^3.5.22",
53
53
  "@semantic-release/git": "^10.0.1",
54
54
  "@semantic-release/gitlab": "^13.2.9",
55
- "@semantic-release/npm": "^12.0.2",
55
+ "@semantic-release/npm": "^13.0.0",
56
56
  "@storybook/addon-a11y": "^9.1.10",
57
57
  "@storybook/addon-docs": "^9.1.10",
58
58
  "@storybook/addon-links": "^9.1.10",
@@ -63,7 +63,7 @@
63
63
  "@types/jest": "^30.0.0",
64
64
  "@types/node": "^24.7.2",
65
65
  "@types/react": "^19.2.2",
66
- "@types/react-dom": "^19.2.1",
66
+ "@types/react-dom": "^19.2.2",
67
67
  "@uva-glass/eslint-config": "^1.3.11",
68
68
  "@uva-glass/stylelint-config": "^1.2.3",
69
69
  "@vitejs/plugin-react": "^5.0.4",
@@ -102,11 +102,11 @@
102
102
  "@babel/preset-env": "^7.28.3",
103
103
  "@babel/preset-react": "^7.27.1",
104
104
  "@babel/preset-typescript": "^7.27.1",
105
- "@lexical/link": "^0.36.2",
106
- "@lexical/list": "^0.36.2",
107
- "@lexical/react": "^0.36.2",
105
+ "@lexical/link": "^0.37.0",
106
+ "@lexical/list": "^0.37.0",
107
+ "@lexical/react": "^0.37.0",
108
108
  "@staartwind.nl/lexical-paste-from-word": "^1.0.2",
109
- "lexical": "^0.36.2"
109
+ "lexical": "^0.37.0"
110
110
  },
111
111
  "optionalDependencies": {
112
112
  "@ast-grep/napi-linux-x64-gnu": "0.39.6",