@uva-glass/component-library 3.11.0 → 3.12.0
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/assets/ModalDialog.css +1 -1
- package/dist/assets/MultiSelectBox.css +1 -1
- package/dist/client-EQRlhXX7.js +25200 -0
- package/dist/client-EQRlhXX7.js.map +1 -0
- package/dist/components/Accordion/Accordion.test.js +2 -2
- package/dist/components/AccordionCard/AccordionCard.test.js +2 -2
- 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.test.js +1 -1
- package/dist/components/Buttons/LinkButton.test.js +1 -1
- package/dist/components/Buttons/MenuButton.d.ts +1 -3
- package/dist/components/Buttons/MenuButton.js.map +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.test.js +1 -1
- package/dist/components/CheckboxButton/CheckboxButton.test.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.test.js +1 -1
- package/dist/components/Label/Label.test.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.d.ts +2 -4
- package/dist/components/ModalDialog/ModalDialog.js +58 -59
- package/dist/components/ModalDialog/ModalDialog.js.map +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +12 -13
- package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.js +67 -67
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js +1 -1
- package/dist/components/PageOverlay/PageOverlay.stories.js +35 -35
- package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
- package/dist/components/RadioGroup/Radiogroup.test.js +1 -1
- package/dist/components/StatusBadge/StatusBadge.test.js +1 -1
- package/dist/components/TextArea/TextArea.test.js +1 -1
- package/dist/components/Timeline/Timeline.test.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.test.js +2 -2
- package/dist/{index-xaEX581l.js → index-CUap8sKR.js} +2 -2
- package/dist/{index-xaEX581l.js.map → index-CUap8sKR.js.map} +1 -1
- package/dist/{react-18-CcyoHPTJ.js → react-18-dpbWrd2-.js} +2 -2
- package/dist/{react-18-CcyoHPTJ.js.map → react-18-dpbWrd2-.js.map} +1 -1
- package/dist/{react.esm-PmLHNn73.js → react.esm-CsMDid07.js} +3 -3
- package/dist/{react.esm-PmLHNn73.js.map → react.esm-CsMDid07.js.map} +1 -1
- package/dist/storybook__react.d.js +2 -2
- package/dist/test-utils-ea_YDVtd.js +74 -0
- package/dist/test-utils-ea_YDVtd.js.map +1 -0
- package/package.json +14 -14
- package/dist/client-CTOhtEms.js +0 -33
- package/dist/client-CTOhtEms.js.map +0 -1
- package/dist/test-utils-grX3FDss.js +0 -1148
- 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-
|
|
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-
|
|
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.
|
|
5
|
+
"version": "3.12.0",
|
|
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.
|
|
43
|
-
"react-dom": "^19.
|
|
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.
|
|
49
|
-
"@react-aria/dialog": "^3.5.
|
|
50
|
-
"@react-aria/overlays": "^3.
|
|
51
|
-
"@react-types/dialog": "^3.5.
|
|
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.
|
|
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": "^
|
|
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": "^
|
|
86
|
-
"react-dom": "^
|
|
87
|
-
"react-router": "^7.5.
|
|
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": "^
|
|
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.
|
|
102
|
+
"vite": "^6.3.2"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"@babel/preset-env": "^7.26.9",
|
package/dist/client-CTOhtEms.js
DELETED
|
@@ -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]}
|