@uva-glass/component-library 3.53.15 → 3.54.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/README.md +1 -0
- package/dist/{chunk-2N4WE3KZ-DiBZ4E0Z.js → chunk-2N4WE3KZ-nJkI9rUN.js} +16 -16
- package/dist/{chunk-2N4WE3KZ-DiBZ4E0Z.js.map → chunk-2N4WE3KZ-nJkI9rUN.js.map} +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
- package/dist/components/TextArea/TextArea.js +34 -29
- package/dist/components/TextArea/TextArea.js.map +1 -1
- package/dist/components/TextArea/TextArea.stories.js +15 -11
- package/dist/components/TextArea/TextArea.stories.js.map +1 -1
- package/dist/storybook__react.d.js +1 -1
- package/package.json +14 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as d, jsxs as y } from "react/jsx-runtime";
|
|
2
2
|
import { s as O, f as _ } from "../../index-B_q_4aBT.js";
|
|
3
|
-
import { I as C, a as v } from "../../chunk-2N4WE3KZ-
|
|
3
|
+
import { I as C, a as v } from "../../chunk-2N4WE3KZ-nJkI9rUN.js";
|
|
4
4
|
import { useState as R } from "react";
|
|
5
5
|
import { CheckboxTree as u } from "./CheckboxTree.js";
|
|
6
6
|
import { Chip as w } from "../Chip/Chip.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import '../../assets/TextArea.css';const
|
|
1
|
+
import { jsxs as _, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as w, useState as k, useEffect as m } from "react";
|
|
3
|
+
import { c as s } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import '../../assets/TextArea.css';const v = "_required_19dqk_25", e = {
|
|
5
5
|
"text-area__wrapper": "_text-area__wrapper_19dqk_1",
|
|
6
6
|
"text-area__header": "_text-area__header_19dqk_7",
|
|
7
7
|
"text-area__label-wrapper": "_text-area__label-wrapper_19dqk_13",
|
|
8
8
|
"text-area__label": "_text-area__label_19dqk_13",
|
|
9
|
-
required:
|
|
9
|
+
required: v,
|
|
10
10
|
"text-area__sub-label": "_text-area__sub-label_19dqk_33",
|
|
11
11
|
"text-area__word-count": "_text-area__word-count_19dqk_38",
|
|
12
12
|
"text-area__word-count--alert": "_text-area__word-count--alert_19dqk_43",
|
|
@@ -14,47 +14,52 @@ import '../../assets/TextArea.css';const k = "_required_19dqk_25", e = {
|
|
|
14
14
|
"text-area--oneLine": "_text-area--oneLine_19dqk_61",
|
|
15
15
|
"not-valid": "_not-valid_19dqk_66"
|
|
16
16
|
};
|
|
17
|
-
function
|
|
18
|
-
onChange:
|
|
19
|
-
label:
|
|
20
|
-
subLabel:
|
|
17
|
+
function y({
|
|
18
|
+
onChange: u,
|
|
19
|
+
label: l,
|
|
20
|
+
subLabel: o,
|
|
21
21
|
maxCharacters: a = 0,
|
|
22
|
-
heightAsTextField:
|
|
23
|
-
defaultValue:
|
|
24
|
-
required:
|
|
25
|
-
notValid:
|
|
22
|
+
heightAsTextField: c = !1,
|
|
23
|
+
defaultValue: d = "",
|
|
24
|
+
required: x = !1,
|
|
25
|
+
notValid: p = !1
|
|
26
26
|
}) {
|
|
27
|
-
const t =
|
|
28
|
-
t.current && (t.current.style.height = "auto", t.current.style.height = `${t.current.scrollHeight}px`,
|
|
27
|
+
const t = w(null), [i, h] = k(d.length), q = () => {
|
|
28
|
+
t.current && (t.current.style.height = "auto", t.current.style.height = `${t.current.scrollHeight}px`, h(t.current.value.length), u(t.current.value.trim()));
|
|
29
|
+
}, f = () => {
|
|
30
|
+
const r = t.current;
|
|
31
|
+
r && (r.style.height = "auto", r.style.height = `${r.scrollHeight}px`);
|
|
29
32
|
};
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
return m(() => {
|
|
34
|
+
c || f();
|
|
35
|
+
}, []), /* @__PURE__ */ _("div", { className: e["text-area__wrapper"], children: [
|
|
36
|
+
(l || a > 0) && /* @__PURE__ */ _("div", { className: e["text-area__header"], children: [
|
|
37
|
+
/* @__PURE__ */ _("span", { className: e["text-area__label-wrapper"], children: [
|
|
38
|
+
l && /* @__PURE__ */ n("span", { className: s(e["text-area__label"], { [e.required]: x }), children: l }),
|
|
39
|
+
o && /* @__PURE__ */ n("span", { className: e["text-area__sub-label"], children: o })
|
|
35
40
|
] }),
|
|
36
|
-
a > 0 && /* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
41
|
+
a > 0 && /* @__PURE__ */ _("div", { className: e["text-area__word-count"], children: [
|
|
42
|
+
/* @__PURE__ */ n("span", { className: s({ [e["text-area__word-count--alert"]]: i === a }), children: i }),
|
|
38
43
|
" / ",
|
|
39
44
|
a
|
|
40
45
|
] })
|
|
41
46
|
] }),
|
|
42
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ n(
|
|
43
48
|
"textarea",
|
|
44
49
|
{
|
|
45
50
|
ref: t,
|
|
46
|
-
className:
|
|
47
|
-
[e["not-valid"]]:
|
|
48
|
-
[e["text-area--oneLine"]]:
|
|
51
|
+
className: s(e["text-area"], {
|
|
52
|
+
[e["not-valid"]]: p,
|
|
53
|
+
[e["text-area--oneLine"]]: c
|
|
49
54
|
}),
|
|
50
55
|
maxLength: a > 0 ? a : void 0,
|
|
51
|
-
onInput:
|
|
52
|
-
defaultValue:
|
|
56
|
+
onInput: q,
|
|
57
|
+
defaultValue: d
|
|
53
58
|
}
|
|
54
59
|
)
|
|
55
60
|
] });
|
|
56
61
|
}
|
|
57
62
|
export {
|
|
58
|
-
|
|
63
|
+
y as TextArea
|
|
59
64
|
};
|
|
60
65
|
//# sourceMappingURL=TextArea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.js","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport { clsx } from 'clsx';\n\nimport styles from './TextArea.module.css';\n\nexport interface TextAreaProps {\n /** Returns entered values as trimmed string */\n onChange: (value: string) => void;\n /** The label for the text area */\n label?: string;\n /** Optional sub label for the text area */\n subLabel?: string;\n /** The max amount of allowed charecters in the text area */\n maxCharacters?: number;\n /** The max number of visible lines in the text area */\n heightAsTextField?: boolean;\n /** The default value for the text area */\n defaultValue?: string;\n /** `true` to show an asterisk to indicate an item is required; otherwise, `false`. */\n required?: boolean;\n /** `true` to color border red to show not valid; otherwise, `false`. */\n notValid?: boolean;\n}\n\nexport function TextArea({\n onChange,\n label,\n subLabel,\n maxCharacters = 0,\n heightAsTextField = false,\n defaultValue = '',\n required = false,\n notValid = false,\n}: TextAreaProps) {\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n const [characterCount, setCharacterCount] = useState(defaultValue.length);\n\n const handleInput = () => {\n if (textAreaRef.current) {\n textAreaRef.current.style.height = 'auto';\n textAreaRef.current.style.height = `${textAreaRef.current.scrollHeight}px`;\n\n setCharacterCount(textAreaRef.current.value.length);\n onChange(textAreaRef.current.value.trim());\n }\n };\n\n return (\n <div className={styles['text-area__wrapper']}>\n {(label || maxCharacters > 0) && (\n <div className={styles['text-area__header']}>\n <span className={styles['text-area__label-wrapper']}>\n {label && (\n <span className={clsx(styles['text-area__label'], { [styles['required']]: required })}>{label}</span>\n )}\n {subLabel && <span className={styles['text-area__sub-label']}>{subLabel}</span>}\n </span>\n {maxCharacters > 0 && (\n <div className={styles['text-area__word-count']}>\n <span className={clsx({ [styles['text-area__word-count--alert']]: characterCount === maxCharacters })}>\n {characterCount}\n </span>\n / {maxCharacters}\n </div>\n )}\n </div>\n )}\n\n <textarea\n ref={textAreaRef}\n className={clsx(styles['text-area'], {\n [styles['not-valid']]: notValid,\n [styles['text-area--oneLine']]: heightAsTextField,\n })}\n maxLength={maxCharacters > 0 ? maxCharacters : undefined}\n onInput={handleInput}\n defaultValue={defaultValue}\n />\n </div>\n );\n}\n"],"names":["TextArea","onChange","label","subLabel","maxCharacters","heightAsTextField","defaultValue","required","notValid","textAreaRef","useRef","characterCount","setCharacterCount","useState","handleInput","jsxs","styles","clsx","jsx"],"mappings":";;;;;;;;;;;;;;;;AAwBO,SAASA,EAAS;AAAA,EACvB,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,mBAAAC,IAAoB;AAAA,EACpB,cAAAC,IAAe;AAAA,EACf,UAAAC,IAAW;AAAA,EACX,UAAAC,IAAW;AACb,GAAkB;AAChB,QAAMC,IAAcC,EAA4B,IAAI,GAC9C,CAACC,GAAgBC,CAAiB,IAAIC,EAASP,EAAa,MAAM,GAElEQ,IAAc,MAAM;AACxB,IAAIL,EAAY,YACdA,EAAY,QAAQ,MAAM,SAAS,QACnCA,EAAY,QAAQ,MAAM,SAAS,GAAGA,EAAY,QAAQ,YAAY,MAEtEG,EAAkBH,EAAY,QAAQ,MAAM,MAAM,GAClDR,EAASQ,EAAY,QAAQ,MAAM,KAAA,CAAM;AAAA,EAE7C;AAEA,
|
|
1
|
+
{"version":3,"file":"TextArea.js","sources":["../../../src/components/TextArea/TextArea.tsx"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport { clsx } from 'clsx';\n\nimport styles from './TextArea.module.css';\n\nexport interface TextAreaProps {\n /** Returns entered values as trimmed string */\n onChange: (value: string) => void;\n /** The label for the text area */\n label?: string;\n /** Optional sub label for the text area */\n subLabel?: string;\n /** The max amount of allowed charecters in the text area */\n maxCharacters?: number;\n /** The max number of visible lines in the text area */\n heightAsTextField?: boolean;\n /** The default value for the text area */\n defaultValue?: string;\n /** `true` to show an asterisk to indicate an item is required; otherwise, `false`. */\n required?: boolean;\n /** `true` to color border red to show not valid; otherwise, `false`. */\n notValid?: boolean;\n}\n\nexport function TextArea({\n onChange,\n label,\n subLabel,\n maxCharacters = 0,\n heightAsTextField = false,\n defaultValue = '',\n required = false,\n notValid = false,\n}: TextAreaProps) {\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n const [characterCount, setCharacterCount] = useState(defaultValue.length);\n\n const handleInput = () => {\n if (textAreaRef.current) {\n textAreaRef.current.style.height = 'auto';\n textAreaRef.current.style.height = `${textAreaRef.current.scrollHeight}px`;\n\n setCharacterCount(textAreaRef.current.value.length);\n onChange(textAreaRef.current.value.trim());\n }\n };\n\n const autoResize = () => {\n const el = textAreaRef.current;\n if (!el) return;\n el.style.height = 'auto';\n el.style.height = `${el.scrollHeight}px`;\n };\n\n useEffect(() => {\n if (!heightAsTextField) {\n autoResize();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n <div className={styles['text-area__wrapper']}>\n {(label || maxCharacters > 0) && (\n <div className={styles['text-area__header']}>\n <span className={styles['text-area__label-wrapper']}>\n {label && (\n <span className={clsx(styles['text-area__label'], { [styles['required']]: required })}>{label}</span>\n )}\n {subLabel && <span className={styles['text-area__sub-label']}>{subLabel}</span>}\n </span>\n {maxCharacters > 0 && (\n <div className={styles['text-area__word-count']}>\n <span className={clsx({ [styles['text-area__word-count--alert']]: characterCount === maxCharacters })}>\n {characterCount}\n </span>\n / {maxCharacters}\n </div>\n )}\n </div>\n )}\n\n <textarea\n ref={textAreaRef}\n className={clsx(styles['text-area'], {\n [styles['not-valid']]: notValid,\n [styles['text-area--oneLine']]: heightAsTextField,\n })}\n maxLength={maxCharacters > 0 ? maxCharacters : undefined}\n onInput={handleInput}\n defaultValue={defaultValue}\n />\n </div>\n );\n}\n"],"names":["TextArea","onChange","label","subLabel","maxCharacters","heightAsTextField","defaultValue","required","notValid","textAreaRef","useRef","characterCount","setCharacterCount","useState","handleInput","autoResize","el","useEffect","jsxs","styles","clsx","jsx"],"mappings":";;;;;;;;;;;;;;;;AAwBO,SAASA,EAAS;AAAA,EACvB,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,mBAAAC,IAAoB;AAAA,EACpB,cAAAC,IAAe;AAAA,EACf,UAAAC,IAAW;AAAA,EACX,UAAAC,IAAW;AACb,GAAkB;AAChB,QAAMC,IAAcC,EAA4B,IAAI,GAC9C,CAACC,GAAgBC,CAAiB,IAAIC,EAASP,EAAa,MAAM,GAElEQ,IAAc,MAAM;AACxB,IAAIL,EAAY,YACdA,EAAY,QAAQ,MAAM,SAAS,QACnCA,EAAY,QAAQ,MAAM,SAAS,GAAGA,EAAY,QAAQ,YAAY,MAEtEG,EAAkBH,EAAY,QAAQ,MAAM,MAAM,GAClDR,EAASQ,EAAY,QAAQ,MAAM,KAAA,CAAM;AAAA,EAE7C,GAEMM,IAAa,MAAM;AACvB,UAAMC,IAAKP,EAAY;AACvB,IAAKO,MACLA,EAAG,MAAM,SAAS,QAClBA,EAAG,MAAM,SAAS,GAAGA,EAAG,YAAY;AAAA,EACtC;AAEA,SAAAC,EAAU,MAAM;AACd,IAAKZ,KACHU,EAAA;AAAA,EAGJ,GAAG,CAAA,CAAE,GAGH,gBAAAG,EAAC,OAAA,EAAI,WAAWC,EAAO,oBAAoB,GACvC,UAAA;AAAA,KAAAjB,KAASE,IAAgB,MACzB,gBAAAc,EAAC,SAAI,WAAWC,EAAO,mBAAmB,GACxC,UAAA;AAAA,MAAA,gBAAAD,EAAC,QAAA,EAAK,WAAWC,EAAO,0BAA0B,GAC/C,UAAA;AAAA,QAAAjB,uBACE,QAAA,EAAK,WAAWkB,EAAKD,EAAO,kBAAkB,GAAG,EAAE,CAACA,EAAO,QAAW,GAAGZ,EAAA,CAAU,GAAI,UAAAL,GAAM;AAAA,QAE/FC,KAAY,gBAAAkB,EAAC,QAAA,EAAK,WAAWF,EAAO,sBAAsB,GAAI,UAAAhB,EAAA,CAAS;AAAA,MAAA,GAC1E;AAAA,MACCC,IAAgB,KACf,gBAAAc,EAAC,SAAI,WAAWC,EAAO,uBAAuB,GAC5C,UAAA;AAAA,QAAA,gBAAAE,EAAC,QAAA,EAAK,WAAWD,EAAK,EAAE,CAACD,EAAO,8BAA8B,CAAC,GAAGR,MAAmBP,EAAA,CAAe,GACjG,UAAAO,EAAA,CACH;AAAA,QAAO;AAAA,QACOP;AAAA,MAAA,EAAA,CAChB;AAAA,IAAA,GAEJ;AAAA,IAGF,gBAAAiB;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAKZ;AAAA,QACL,WAAWW,EAAKD,EAAO,WAAW,GAAG;AAAA,UACnC,CAACA,EAAO,WAAW,CAAC,GAAGX;AAAA,UACvB,CAACW,EAAO,oBAAoB,CAAC,GAAGd;AAAA,QAAA,CACjC;AAAA,QACD,WAAWD,IAAgB,IAAIA,IAAgB;AAAA,QAC/C,SAASU;AAAA,QACT,cAAAR;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
|
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { f as a } from "../../index-B_q_4aBT.js";
|
|
3
3
|
import { TextArea as e } from "./TextArea.js";
|
|
4
|
-
const
|
|
5
|
-
<TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `,
|
|
4
|
+
const m = `
|
|
5
|
+
<TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `, x = {
|
|
6
6
|
title: "Atoms/TextArea",
|
|
7
7
|
component: e,
|
|
8
8
|
argTypes: { label: { control: "text" }, maxCharacters: { control: "number" } },
|
|
9
|
-
parameters: { inspectComponent: e, codeString:
|
|
10
|
-
},
|
|
11
|
-
|
|
9
|
+
parameters: { inspectComponent: e, codeString: m }
|
|
10
|
+
}, l = (t) => /* @__PURE__ */ r(e, { ...t }), n = l.bind({});
|
|
11
|
+
n.args = {
|
|
12
12
|
label: "Sample label",
|
|
13
13
|
maxCharacters: 140,
|
|
14
14
|
defaultValue: "Sample default value",
|
|
15
15
|
onChange: a()
|
|
16
16
|
};
|
|
17
|
-
const
|
|
18
|
-
|
|
17
|
+
const o = l.bind({});
|
|
18
|
+
o.args = {
|
|
19
19
|
label: "Sample label",
|
|
20
20
|
subLabel: "Sample sub label",
|
|
21
21
|
maxCharacters: 140,
|
|
22
|
-
defaultValue:
|
|
22
|
+
defaultValue: `Sample default value
|
|
23
|
+
Sample default value
|
|
24
|
+
Sample default value
|
|
25
|
+
Sample default value
|
|
26
|
+
Sample default value`,
|
|
23
27
|
onChange: a()
|
|
24
28
|
};
|
|
25
29
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
n as TextAreaExample,
|
|
31
|
+
o as TextAreaSubtitleExample,
|
|
32
|
+
x as default
|
|
29
33
|
};
|
|
30
34
|
//# sourceMappingURL=TextArea.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.stories.js","sources":["../../../src/components/TextArea/TextArea.stories.tsx"],"sourcesContent":["import { fn } from 'storybook/test';\n\nimport type { Meta, StoryFn } from '@storybook/react';\nimport type { TextAreaProps } from './TextArea';\n\nimport { TextArea } from './TextArea';\n\nconst codeString = `\n <TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `;\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n title: 'Atoms/TextArea',\n component: TextArea,\n argTypes: { label: { control: 'text' }, maxCharacters: { control: 'number' } },\n parameters: { inspectComponent: TextArea, codeString: codeString },\n} as Meta<TextAreaProps>;\n\nconst Template: StoryFn<TextAreaProps> = (args) => <TextArea {...args} />;\n\nexport const TextAreaExample = Template.bind({});\nTextAreaExample.args = {\n label: 'Sample label',\n maxCharacters: 140,\n defaultValue: 'Sample default value',\n onChange: fn(),\n};\n\nexport const TextAreaSubtitleExample = Template.bind({});\nTextAreaSubtitleExample.args = {\n label: 'Sample label',\n subLabel: 'Sample sub label',\n maxCharacters: 140,\n defaultValue
|
|
1
|
+
{"version":3,"file":"TextArea.stories.js","sources":["../../../src/components/TextArea/TextArea.stories.tsx"],"sourcesContent":["import { fn } from 'storybook/test';\n\nimport type { Meta, StoryFn } from '@storybook/react';\nimport type { TextAreaProps } from './TextArea';\n\nimport { TextArea } from './TextArea';\n\nconst codeString = `\n <TextArea label={label} maxCharacters={maxCharacters} defaultValue={string}/> `;\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n title: 'Atoms/TextArea',\n component: TextArea,\n argTypes: { label: { control: 'text' }, maxCharacters: { control: 'number' } },\n parameters: { inspectComponent: TextArea, codeString: codeString },\n} as Meta<TextAreaProps>;\n\nconst Template: StoryFn<TextAreaProps> = (args) => <TextArea {...args} />;\n\nexport const TextAreaExample = Template.bind({});\nTextAreaExample.args = {\n label: 'Sample label',\n maxCharacters: 140,\n defaultValue: 'Sample default value',\n onChange: fn(),\n};\n\nexport const TextAreaSubtitleExample = Template.bind({});\nTextAreaSubtitleExample.args = {\n label: 'Sample label',\n subLabel: 'Sample sub label',\n maxCharacters: 140,\n defaultValue:\n 'Sample default value \\n Sample default value \\n Sample default value \\n Sample default value \\n Sample default value',\n onChange: fn(),\n};\n"],"names":["codeString","TextArea_stories","TextArea","Template","args","jsx","TextAreaExample","fn","TextAreaSubtitleExample"],"mappings":";;;AAOA,MAAMA,IAAa;AAAA,mFAInBC,IAAe;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,UAAU,EAAE,OAAO,EAAE,SAAS,OAAA,GAAU,eAAe,EAAE,SAAS,WAAS;AAAA,EAC3E,YAAY,EAAE,kBAAkBA,GAAU,YAAAF,EAAA;AAC5C,GAEMG,IAAmC,CAACC,MAAS,gBAAAC,EAACH,GAAA,EAAU,GAAGE,GAAM,GAE1DE,IAAkBH,EAAS,KAAK,CAAA,CAAE;AAC/CG,EAAgB,OAAO;AAAA,EACrB,OAAO;AAAA,EACP,eAAe;AAAA,EACf,cAAc;AAAA,EACd,UAAUC,EAAA;AACZ;AAEO,MAAMC,IAA0BL,EAAS,KAAK,CAAA,CAAE;AACvDK,EAAwB,OAAO;AAAA,EAC7B,OAAO;AAAA,EACP,UAAU;AAAA,EACV,eAAe;AAAA,EACf,cACE;AAAA;AAAA;AAAA;AAAA;AAAA,EACF,UAAUD,EAAA;AACZ;"}
|
|
@@ -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-
|
|
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";
|
|
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.
|
|
5
|
+
"version": "3.54.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"react-dom": "^19.2.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@commitlint/cli": "^20.4.
|
|
47
|
-
"@commitlint/config-conventional": "^20.4.
|
|
46
|
+
"@commitlint/cli": "^20.4.2",
|
|
47
|
+
"@commitlint/config-conventional": "^20.4.2",
|
|
48
48
|
"@react-aria/button": "^3.14.4",
|
|
49
49
|
"@react-aria/dialog": "^3.5.33",
|
|
50
50
|
"@react-aria/focus": "^3.21.4",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"@semantic-release/git": "^10.0.1",
|
|
54
54
|
"@semantic-release/gitlab": "^13.3.0",
|
|
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.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",
|
|
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.
|
|
64
|
+
"@types/node": "^25.3.0",
|
|
65
65
|
"@types/react": "^19.2.14",
|
|
66
66
|
"@types/react-dom": "^19.2.3",
|
|
67
67
|
"@uva-glass/eslint-config": "^1.3.11",
|
|
@@ -71,20 +71,20 @@
|
|
|
71
71
|
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
|
72
72
|
"clsx": "^2.1.1",
|
|
73
73
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
74
|
-
"glob": "^13.0.
|
|
74
|
+
"glob": "^13.0.6",
|
|
75
75
|
"husky": "^9.1.7",
|
|
76
76
|
"identity-obj-proxy": "^3.0.0",
|
|
77
77
|
"jest": "^30.2.0",
|
|
78
78
|
"jest-environment-jsdom": "^30.2.0",
|
|
79
79
|
"jest-junit": "^16.0.0",
|
|
80
|
-
"jsdom": "^28.
|
|
80
|
+
"jsdom": "^28.1.0",
|
|
81
81
|
"npm-run-all2": "^8.0.4",
|
|
82
82
|
"react": "^19.2.4",
|
|
83
83
|
"react-dom": "^19.2.4",
|
|
84
84
|
"react-router": "^7.13.0",
|
|
85
85
|
"semantic-release": "^25.0.3",
|
|
86
|
-
"storybook": "^10.2.
|
|
87
|
-
"style-dictionary": "^5.3.
|
|
86
|
+
"storybook": "^10.2.10",
|
|
87
|
+
"style-dictionary": "^5.3.2",
|
|
88
88
|
"stylelint": "^17.3.0",
|
|
89
89
|
"stylelint-config-recommended": "^18.0.0",
|
|
90
90
|
"stylelint-config-standard": "^40.0.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
},
|
|
111
111
|
"optionalDependencies": {
|
|
112
112
|
"@ast-grep/napi-linux-x64-gnu": "0.40.5",
|
|
113
|
-
"@rollup/rollup-linux-x64-gnu": "^4.
|
|
113
|
+
"@rollup/rollup-linux-x64-gnu": "^4.58.0",
|
|
114
114
|
"@rspack/binding-darwin-arm64": "1.7.6",
|
|
115
115
|
"@rspack/binding-linux-x64-gnu": "1.7.6"
|
|
116
116
|
}
|