@uva-glass/component-library 3.11.0 → 3.11.1

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 (43) hide show
  1. package/dist/assets/MultiSelectBox.css +1 -1
  2. package/dist/client-EQRlhXX7.js +25200 -0
  3. package/dist/client-EQRlhXX7.js.map +1 -0
  4. package/dist/components/Accordion/Accordion.test.js +2 -2
  5. package/dist/components/AccordionCard/AccordionCard.test.js +2 -2
  6. package/dist/components/ActionList/ActionList.test.js +2 -2
  7. package/dist/components/AppStatusBar/AppStatusBar.test.js +1 -1
  8. package/dist/components/Attention/Attention.test.js +1 -1
  9. package/dist/components/Backdrop/Backdrop.test.js +1 -1
  10. package/dist/components/Buttons/Button.test.js +1 -1
  11. package/dist/components/Buttons/LinkButton.test.js +1 -1
  12. package/dist/components/Buttons/MenuButton.d.ts +1 -3
  13. package/dist/components/Buttons/MenuButton.js.map +1 -1
  14. package/dist/components/Buttons/MenuButton.test.js +1 -1
  15. package/dist/components/Card/Card.test.js +1 -1
  16. package/dist/components/Checkbox/Checkbox.test.js +1 -1
  17. package/dist/components/CheckboxButton/CheckboxButton.test.js +1 -1
  18. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +1 -1
  19. package/dist/components/FeedbackBar/FeedbackBar.test.js +1 -1
  20. package/dist/components/Label/Label.test.js +1 -1
  21. package/dist/components/MultiSelectBox/MultiSelectBox.js +67 -67
  22. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +1 -1
  23. package/dist/components/PageOverlay/PageOverlay.stories.js +35 -35
  24. package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
  25. package/dist/components/RadioGroup/Radiogroup.test.js +1 -1
  26. package/dist/components/StatusBadge/StatusBadge.test.js +1 -1
  27. package/dist/components/TextArea/TextArea.test.js +1 -1
  28. package/dist/components/Timeline/Timeline.test.js +1 -1
  29. package/dist/components/VarIndicator/VarIndicator.test.js +2 -2
  30. package/dist/{index-xaEX581l.js → index-CUap8sKR.js} +2 -2
  31. package/dist/{index-xaEX581l.js.map → index-CUap8sKR.js.map} +1 -1
  32. package/dist/{react-18-CcyoHPTJ.js → react-18-dpbWrd2-.js} +2 -2
  33. package/dist/{react-18-CcyoHPTJ.js.map → react-18-dpbWrd2-.js.map} +1 -1
  34. package/dist/{react.esm-PmLHNn73.js → react.esm-CsMDid07.js} +3 -3
  35. package/dist/{react.esm-PmLHNn73.js.map → react.esm-CsMDid07.js.map} +1 -1
  36. package/dist/storybook__react.d.js +2 -2
  37. package/dist/test-utils-ea_YDVtd.js +74 -0
  38. package/dist/test-utils-ea_YDVtd.js.map +1 -0
  39. package/package.json +14 -14
  40. package/dist/client-CTOhtEms.js +0 -33
  41. package/dist/client-CTOhtEms.js.map +0 -1
  42. package/dist/test-utils-grX3FDss.js +0 -1148
  43. package/dist/test-utils-grX3FDss.js.map +0 -1
@@ -690,7 +690,7 @@ var Hc = Ms((tp, er) => {
690
690
  let e;
691
691
  if (typeof Ai.act == "function") e = Ai.act;
692
692
  else {
693
- let r = await import("./test-utils-grX3FDss.js").then((n) => n.t);
693
+ let r = await import("./test-utils-ea_YDVtd.js").then((n) => n.t);
694
694
  e = ((t = r == null ? void 0 : r.default) == null ? void 0 : t.act) ?? r.act;
695
695
  }
696
696
  return process.env.NODE_ENV === "production" ? (r) => r() : Sa(e);
@@ -724,7 +724,7 @@ var Hc = Ms((tp, er) => {
724
724
  e && await e(), Hr = !1, cu();
725
725
  };
726
726
  async function ba({ storyContext: e, unboundStoryFn: t, showMain: r, showException: n, forceRemount: i }, s) {
727
- let { renderElement: o, unmountElement: c } = await import("./react-18-CcyoHPTJ.js"), l = t, f = e.parameters.__isPortableStory ? at.createElement(l, { ...e }) : at.createElement(_a, { showMain: r, showException: n }, at.createElement(l, { ...e })), p = gi ? at.createElement(gi, null, f) : f;
727
+ let { renderElement: o, unmountElement: c } = await import("./react-18-dpbWrd2-.js"), l = t, f = e.parameters.__isPortableStory ? at.createElement(l, { ...e }) : at.createElement(_a, { showMain: r, showException: n }, at.createElement(l, { ...e })), p = gi ? at.createElement(gi, null, f) : f;
728
728
  i && c(s);
729
729
  let v = await lu();
730
730
  return await new Promise(async (E, D) => {
@@ -0,0 +1,74 @@
1
+ import { g as m } from "./_commonjsHelpers-DaMA6jEr.js";
2
+ import d from "react";
3
+ function v(e, t) {
4
+ for (var r = 0; r < t.length; r++) {
5
+ const o = t[r];
6
+ if (typeof o != "string" && !Array.isArray(o)) {
7
+ for (const s in o)
8
+ if (s !== "default" && !(s in e)) {
9
+ const i = Object.getOwnPropertyDescriptor(o, s);
10
+ i && Object.defineProperty(e, s, i.get ? i : {
11
+ enumerable: !0,
12
+ get: () => o[s]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
18
+ }
19
+ var a = { exports: {} }, c = {};
20
+ /**
21
+ * @license React
22
+ * react-dom-test-utils.production.js
23
+ *
24
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE file in the root directory of this source tree.
28
+ */
29
+ var u;
30
+ function U() {
31
+ if (u) return c;
32
+ u = 1;
33
+ var e = d, t = !1;
34
+ return c.act = function(r) {
35
+ return t === !1 && (t = !0, console.error(
36
+ "`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info."
37
+ )), e.act(r);
38
+ }, c;
39
+ }
40
+ var n = {};
41
+ /**
42
+ * @license React
43
+ * react-dom-test-utils.development.js
44
+ *
45
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
46
+ *
47
+ * This source code is licensed under the MIT license found in the
48
+ * LICENSE file in the root directory of this source tree.
49
+ */
50
+ var f;
51
+ function _() {
52
+ return f || (f = 1, process.env.NODE_ENV !== "production" && function() {
53
+ var e = d, t = !1;
54
+ n.act = function(r) {
55
+ return t === !1 && (t = !0, console.error(
56
+ "`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info."
57
+ )), e.act(r);
58
+ };
59
+ }()), n;
60
+ }
61
+ var l;
62
+ function g() {
63
+ return l || (l = 1, process.env.NODE_ENV === "production" ? a.exports = U() : a.exports = _()), a.exports;
64
+ }
65
+ var p = g();
66
+ const R = /* @__PURE__ */ m(p), O = /* @__PURE__ */ v({
67
+ __proto__: null,
68
+ default: R
69
+ }, [p]);
70
+ export {
71
+ p as a,
72
+ O as t
73
+ };
74
+ //# sourceMappingURL=test-utils-ea_YDVtd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-utils-ea_YDVtd.js","sources":["../node_modules/react-dom/cjs/react-dom-test-utils.production.js","../node_modules/react-dom/cjs/react-dom-test-utils.development.js","../node_modules/react-dom/test-utils.js"],"sourcesContent":["/**\n * @license React\n * react-dom-test-utils.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n didWarnAboutUsingAct = !1;\nexports.act = function (callback) {\n !1 === didWarnAboutUsingAct &&\n ((didWarnAboutUsingAct = !0),\n console.error(\n \"`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.\"\n ));\n return React.act(callback);\n};\n","/**\n * @license React\n * react-dom-test-utils.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n var React = require(\"react\"),\n didWarnAboutUsingAct = !1;\n exports.act = function (callback) {\n !1 === didWarnAboutUsingAct &&\n ((didWarnAboutUsingAct = !0),\n console.error(\n \"`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.\"\n ));\n return React.act(callback);\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-dom-test-utils.production.js');\n} else {\n module.exports = require('./cjs/react-dom-test-utils.development.js');\n}\n"],"names":["React","require$$0","didWarnAboutUsingAct","reactDomTestUtils_production","callback","reactDomTestUtils_development","testUtilsModule","require$$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,MAAIA,IAAQC,GACVC,IAAuB;AACd,SAAAC,EAAA,MAAG,SAAUC,GAAU;AAChC,WAAOF,MAAP,OACIA,IAAuB,IACzB,QAAQ;AAAA,MACN;AAAA,IACN,IACSF,EAAM,IAAII,CAAQ;AAAA,EAC1B;;;;;;;;;;;;;;sBCTgB,QAAQ,IAAI,aAA7B,gBACG,WAAY;AACX,QAAIJ,IAAQC,GACVC,IAAuB;AACzB,IAAAG,EAAW,MAAG,SAAUD,GAAU;AAChC,aAAOF,MAAP,OACIA,IAAuB,IACzB,QAAQ;AAAA,QACN;AAAA,MACV,IACaF,EAAM,IAAII,CAAQ;AAAA,IAC1B;AAAA,EACL,EAAM;;;;sBCrBF,QAAQ,IAAI,aAAa,eAC3BE,EAAA,UAAiBL,EAAmD,IAEpEK,EAAA,UAAiBC,EAAoD;;;;;;;","x_google_ignoreList":[0,1,2]}
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.11.0",
5
+ "version": "3.11.1",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -39,16 +39,16 @@
39
39
  "test": "npx jest"
40
40
  },
41
41
  "peerDependencies": {
42
- "react": "^19.0.0",
43
- "react-dom": "^19.0.0"
42
+ "react": "^19.1.0",
43
+ "react-dom": "^19.1.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@commitlint/cli": "^19.8.0",
47
47
  "@commitlint/config-conventional": "^19.8.0",
48
- "@react-aria/button": "^3.12.1",
49
- "@react-aria/dialog": "^3.5.23",
50
- "@react-aria/overlays": "^3.26.1",
51
- "@react-types/dialog": "^3.5.16",
48
+ "@react-aria/button": "^3.13.0",
49
+ "@react-aria/dialog": "^3.5.24",
50
+ "@react-aria/overlays": "^3.27.0",
51
+ "@react-types/dialog": "^3.5.17",
52
52
  "@semantic-release/git": "^10.0.1",
53
53
  "@semantic-release/gitlab": "^13.2.4",
54
54
  "@semantic-release/npm": "^12.0.1",
@@ -69,11 +69,11 @@
69
69
  "@types/react": "^19.1.2",
70
70
  "@uva-glass/eslint-config": "^1.3.10",
71
71
  "@uva-glass/stylelint-config": "^1.2.2",
72
- "@vitejs/plugin-react": "^4.4.0",
72
+ "@vitejs/plugin-react": "^4.4.1",
73
73
  "babel-jest": "^29.7.0",
74
74
  "babel-plugin-transform-vite-meta-env": "^1.0.3",
75
75
  "clsx": "^2.1.1",
76
- "eslint-plugin-react-hooks": "^5.2.0",
76
+ "eslint-plugin-react-hooks": "^6.0.0",
77
77
  "glob": "^11.0.1",
78
78
  "husky": "^9.1.7",
79
79
  "identity-obj-proxy": "^3.0.0",
@@ -82,16 +82,16 @@
82
82
  "jest-junit": "^16.0.0",
83
83
  "jsdom": "^26.1.0",
84
84
  "npm-run-all2": "^7.0.2",
85
- "react": "^18.3.1",
86
- "react-dom": "^18.3.1",
87
- "react-router": "^7.5.0",
85
+ "react": "^19.1.0",
86
+ "react-dom": "^19.1.0",
87
+ "react-router": "^7.5.1",
88
88
  "semantic-release": "^24.2.3",
89
89
  "storybook": "^8.6.12",
90
90
  "style-dictionary": "^4.3.3",
91
91
  "stylelint": "^16.18.0",
92
92
  "stylelint-config-recommended": "^16.0.0",
93
93
  "stylelint-config-standard": "^38.0.0",
94
- "stylelint-order": "^6.0.4",
94
+ "stylelint-order": "^7.0.0",
95
95
  "ts-node": "^10.9.2",
96
96
  "typescript": "^5.8.3",
97
97
  "vite-plugin-dts": "^4.5.3",
@@ -99,7 +99,7 @@
99
99
  "vite-plugin-static-copy": "^2.3.1",
100
100
  "vite-plugin-svgr": "^4.3.0",
101
101
  "vite-tsconfig-paths": "^5.1.4",
102
- "vite": "^6.3.0"
102
+ "vite": "^6.3.2"
103
103
  },
104
104
  "dependencies": {
105
105
  "@babel/preset-env": "^7.26.9",
@@ -1,33 +0,0 @@
1
- import u from "react-dom";
2
- var t = {}, i;
3
- function l() {
4
- if (i) return t;
5
- i = 1;
6
- var e = u;
7
- if (process.env.NODE_ENV === "production")
8
- t.createRoot = e.createRoot, t.hydrateRoot = e.hydrateRoot;
9
- else {
10
- var r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
11
- t.createRoot = function(n, o) {
12
- r.usingClientEntryPoint = !0;
13
- try {
14
- return e.createRoot(n, o);
15
- } finally {
16
- r.usingClientEntryPoint = !1;
17
- }
18
- }, t.hydrateRoot = function(n, o, a) {
19
- r.usingClientEntryPoint = !0;
20
- try {
21
- return e.hydrateRoot(n, o, a);
22
- } finally {
23
- r.usingClientEntryPoint = !1;
24
- }
25
- };
26
- }
27
- return t;
28
- }
29
- var c = l();
30
- export {
31
- c
32
- };
33
- //# sourceMappingURL=client-CTOhtEms.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client-CTOhtEms.js","sources":["../node_modules/react-dom/client.js"],"sourcesContent":["'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n"],"names":["m","require$$0","client","i","c","h","o"],"mappings":";;;;;AAEA,MAAIA,IAAIC;AACR,MAAI,QAAQ,IAAI,aAAa;AAC3B,IAAAC,EAAkB,aAAGF,EAAE,YACvBE,EAAmB,cAAGF,EAAE;AAAA,OACnB;AACL,QAAIG,IAAIH,EAAE;AACV,IAAAE,eAAqB,SAASE,GAAG,GAAG;AAClC,MAAAD,EAAE,wBAAwB;AAC1B,UAAI;AACF,eAAOH,EAAE,WAAWI,GAAG,CAAC;AAAA,MAC9B,UAAc;AACR,QAAAD,EAAE,wBAAwB;AAAA,MAChC;AAAA,IACG,GACDD,EAAA,cAAsB,SAASE,GAAGC,GAAGC,GAAG;AACtC,MAAAH,EAAE,wBAAwB;AAC1B,UAAI;AACF,eAAOH,EAAE,YAAYI,GAAGC,GAAGC,CAAC;AAAA,MAClC,UAAc;AACR,QAAAH,EAAE,wBAAwB;AAAA,MAChC;AAAA,IACG;AAAA,EACH;;;;","x_google_ignoreList":[0]}