@uva-glass/component-library 1.12.0 → 1.14.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/InputField.css +1 -1
- package/dist/assets/InputField2.css +1 -1
- package/dist/assets/OverlayCloseButton.css +1 -0
- package/dist/assets/OverlayCloseButton2.css +1 -0
- package/dist/components/{InputField/components → FieldHint}/FieldHint.d.ts +2 -3
- package/dist/components/{InputField/components → FieldHint}/FieldHint.js +2 -2
- package/dist/components/FieldHint/FieldHint.js.map +1 -0
- package/dist/components/FieldHint/FieldHint.stories.d.ts +6 -0
- package/dist/components/FieldHint/FieldHint.stories.js +33 -0
- package/dist/components/FieldHint/FieldHint.stories.js.map +1 -0
- package/dist/components/InputField/InputField.d.ts +0 -4
- package/dist/components/InputField/InputField.js +19 -23
- package/dist/components/InputField/InputField.js.map +1 -1
- package/dist/components/InputField/InputField.stories.d.ts +0 -2
- package/dist/components/InputField/InputField.stories.js +14 -42
- package/dist/components/InputField/InputField.stories.js.map +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.d.ts +7 -0
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js +25 -0
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js.map +1 -0
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.d.ts +5 -0
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +25 -0
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -0
- package/dist/components/OverlayCloseButton/index.d.ts +1 -0
- package/dist/components/OverlayCloseButton/index.js +5 -0
- package/dist/components/OverlayCloseButton/index.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +17 -15
- package/dist/components/index.js.map +1 -1
- package/dist/index-Ca2Q7D5u.js.map +1 -1
- package/dist/index.js +17 -15
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/dist/components/InputField/components/FieldHint.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3,14 +3,15 @@ import { Button as p } from "./components/Button/Button.js";
|
|
|
3
3
|
import { Card as x } from "./components/Card/Card.js";
|
|
4
4
|
import { Icon as n } from "./components/Icon/Icon.js";
|
|
5
5
|
import { IconButton as a } from "./components/IconButton/IconButton.js";
|
|
6
|
-
import { InfoMessage as
|
|
7
|
-
import { Input as
|
|
8
|
-
import { InputField as
|
|
9
|
-
import { Label as
|
|
6
|
+
import { InfoMessage as c } from "./components/InfoMessage/InfoMessage.js";
|
|
7
|
+
import { Input as s } from "./components/Input/Input.js";
|
|
8
|
+
import { InputField as B } from "./components/InputField/InputField.js";
|
|
9
|
+
import { Label as d } from "./components/Label/Label.js";
|
|
10
|
+
import { OverlayCloseButton as v } from "./components/OverlayCloseButton/OverlayCloseButton.js";
|
|
10
11
|
import { RadioButton as L } from "./components/RadioButton/RadioButton.js";
|
|
11
|
-
import { SectionNotification as
|
|
12
|
-
import { SelectListbox as
|
|
13
|
-
import { SelectProvider as
|
|
12
|
+
import { SectionNotification as y } from "./components/SectionNotification/SectionNotification.js";
|
|
13
|
+
import { SelectListbox as F } from "./components/SelectListbox/SelectListbox.js";
|
|
14
|
+
import { SelectProvider as N, useSelect as O } from "./components/SelectListbox/SelectProvider.js";
|
|
14
15
|
import { Spinner as R } from "./components/Spinner/Spinner.js";
|
|
15
16
|
export {
|
|
16
17
|
t as AppStatusBar,
|
|
@@ -18,15 +19,16 @@ export {
|
|
|
18
19
|
x as Card,
|
|
19
20
|
n as Icon,
|
|
20
21
|
a as IconButton,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
c as InfoMessage,
|
|
23
|
+
s as Input,
|
|
24
|
+
B as InputField,
|
|
25
|
+
d as Label,
|
|
26
|
+
v as OverlayCloseButton,
|
|
25
27
|
L as RadioButton,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
y as SectionNotification,
|
|
29
|
+
F as SelectListbox,
|
|
30
|
+
N as SelectProvider,
|
|
29
31
|
R as Spinner,
|
|
30
|
-
|
|
32
|
+
O as useSelect
|
|
31
33
|
};
|
|
32
34
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
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": "1.
|
|
5
|
+
"version": "1.14.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"@semantic-release/git": "^10.0.1",
|
|
45
45
|
"@semantic-release/gitlab": "^13.1.0",
|
|
46
46
|
"@semantic-release/npm": "^12.0.1",
|
|
47
|
-
"@storybook/addon-a11y": "^8.1.
|
|
48
|
-
"@storybook/addon-essentials": "^8.1.
|
|
49
|
-
"@storybook/addon-interactions": "^8.1.
|
|
50
|
-
"@storybook/addon-links": "^8.1.
|
|
51
|
-
"@storybook/blocks": "^8.1.
|
|
52
|
-
"@storybook/react": "^8.1.
|
|
53
|
-
"@storybook/react-vite": "^8.1.
|
|
54
|
-
"@storybook/test": "^8.1.
|
|
47
|
+
"@storybook/addon-a11y": "^8.1.4",
|
|
48
|
+
"@storybook/addon-essentials": "^8.1.4",
|
|
49
|
+
"@storybook/addon-interactions": "^8.1.4",
|
|
50
|
+
"@storybook/addon-links": "^8.1.4",
|
|
51
|
+
"@storybook/blocks": "^8.1.4",
|
|
52
|
+
"@storybook/react": "^8.1.4",
|
|
53
|
+
"@storybook/react-vite": "^8.1.4",
|
|
54
|
+
"@storybook/test": "^8.1.4",
|
|
55
55
|
"@types/node": "^20.12.12",
|
|
56
56
|
"@types/react": "^18.3.3",
|
|
57
57
|
"@types/react-dom": "^18.3.0",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
59
|
-
"@typescript-eslint/parser": "^7.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
59
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
60
60
|
"@uva-glass/eslint-config": "^1.2.0",
|
|
61
61
|
"@uva-glass/stylelint-config": "^1.1.0",
|
|
62
62
|
"@vitejs/plugin-react": "^4.3.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"eslint": "^8.57.0",
|
|
65
65
|
"eslint-config-prettier": "^9.1.0",
|
|
66
66
|
"eslint-plugin-prettier": "^5.1.3",
|
|
67
|
-
"eslint-plugin-react": "^7.34.
|
|
67
|
+
"eslint-plugin-react": "^7.34.2",
|
|
68
68
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
69
69
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
70
70
|
"eslint-plugin-storybook": "^0.8.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"react": "^18.3.1",
|
|
78
78
|
"react-dom": "^18.3.1",
|
|
79
79
|
"semantic-release": "^23.1.1",
|
|
80
|
-
"storybook": "^8.1.
|
|
80
|
+
"storybook": "^8.1.4",
|
|
81
81
|
"style-dictionary": "^3.9.2",
|
|
82
82
|
"stylelint": "^16.6.0",
|
|
83
83
|
"stylelint-config-recommended": "^14.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldHint.js","sources":["../../../../src/components/InputField/components/FieldHint.tsx"],"sourcesContent":["import styles from './FieldHint.module.css';\n\nimport { Spinner } from 'components/Spinner/Spinner';\n\ninterface Props {\n value?: string;\n spinnerAriaValueText: string;\n loading?: boolean;\n}\n\nexport function FieldHint({ value, spinnerAriaValueText, loading }: Props) {\n return (\n <span className={styles['field-hint']}>\n {value && <>{value}</>}\n {!value && loading && <Spinner ariaValueText={spinnerAriaValueText} />}\n </span>\n );\n}\n"],"names":["FieldHint","value","spinnerAriaValueText","loading","jsxs","styles","jsx","Spinner"],"mappings":";;;;;AAUO,SAASA,EAAU,EAAE,OAAAC,GAAO,sBAAAC,GAAsB,SAAAC,KAAkB;AACzE,SACG,gBAAAC,EAAA,QAAA,EAAK,WAAWC,EAAO,YAAY,GACjC,UAAA;AAAA,IAAAJ,4BAAY,UAAMA,EAAA,CAAA;AAAA,IAClB,CAACA,KAASE,KAAY,gBAAAG,EAAAC,GAAA,EAAQ,eAAeL,GAAsB;AAAA,EACtE,EAAA,CAAA;AAEJ;"}
|