@uva-glass/component-library 1.5.0 → 1.7.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.
- package/dist/{SelectListbox.module-1nd3xIGj.js → SelectListbox.module-DSjx989r.js} +1 -2
- package/dist/SelectListbox.module-DSjx989r.js.map +1 -0
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/FieldHint.css +1 -0
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/InfoMessage.css +1 -1
- package/dist/assets/Input.css +1 -0
- package/dist/assets/InputField.css +1 -0
- package/dist/assets/InputField2.css +1 -0
- package/dist/assets/SectionNotification.css +1 -1
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/components/Button/Button.js +10 -11
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Card/Card.js +9 -10
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/IconButton/IconButton.js +12 -13
- package/dist/components/IconButton/IconButton.js.map +1 -1
- package/dist/components/IconButton/IconButton.stories.js +13 -10
- package/dist/components/IconButton/IconButton.stories.js.map +1 -1
- package/dist/components/InfoMessage/InfoMessage.js +8 -9
- package/dist/components/InfoMessage/InfoMessage.js.map +1 -1
- package/dist/components/Input/Input.d.ts +10 -0
- package/dist/components/Input/Input.js +28 -0
- package/dist/components/Input/Input.js.map +1 -0
- package/dist/components/Input/Input.stories.d.ts +8 -0
- package/dist/components/Input/Input.stories.js +41 -0
- package/dist/components/Input/Input.stories.js.map +1 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.js +5 -0
- package/dist/components/Input/index.js.map +1 -0
- package/dist/components/InputField/InputField.d.ts +12 -0
- package/dist/components/InputField/InputField.js +29 -0
- package/dist/components/InputField/InputField.js.map +1 -0
- package/dist/components/InputField/InputField.stories.d.ts +7 -0
- package/dist/components/InputField/InputField.stories.js +65 -0
- package/dist/components/InputField/InputField.stories.js.map +1 -0
- package/dist/components/InputField/components/FieldHint.d.ts +7 -0
- package/dist/components/InputField/components/FieldHint.js +15 -0
- package/dist/components/InputField/components/FieldHint.js.map +1 -0
- package/dist/components/InputField/index.d.ts +1 -0
- package/dist/components/InputField/index.js +5 -0
- package/dist/components/InputField/index.js.map +1 -0
- package/dist/components/SectionNotification/SectionNotification.js +2 -3
- package/dist/components/SectionNotification/SectionNotification.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +1 -1
- package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +1 -1
- package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +17 -13
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +17 -13
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/dist/SelectListbox.module-1nd3xIGj.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as v } from "../../../clsx-DB4S2d7J.js";
|
|
3
3
|
import { useRef as D, useEffect as p } from "react";
|
|
4
4
|
import { useSelect as y } from "../SelectProvider.js";
|
|
5
|
-
import { s as b } from "../../../SelectListbox.module-
|
|
5
|
+
import { s as b } from "../../../SelectListbox.module-DSjx989r.js";
|
|
6
6
|
const S = ({ option: t, index: l, children: m }) => {
|
|
7
7
|
const o = D(null), { isOpen: r, activeIndex: s, setActiveIndex: c, selectedValue: f, setSelectedValue: u, setIsOpen: i, options: a } = y(), w = (e) => {
|
|
8
8
|
u(a[e]), i(!1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m, useRef as x } from "react";
|
|
3
|
-
import { s as i } from "../../../SelectListbox.module-
|
|
3
|
+
import { s as i } from "../../../SelectListbox.module-DSjx989r.js";
|
|
4
4
|
import { useSelect as a } from "../SelectProvider.js";
|
|
5
5
|
const h = m((l, e) => {
|
|
6
6
|
const { style: t, children: o } = l, { listboxId: r, isOpen: c } = a(), n = x(null);
|
|
@@ -4,6 +4,8 @@ export * from './Card';
|
|
|
4
4
|
export * from './Icon';
|
|
5
5
|
export * from './IconButton';
|
|
6
6
|
export * from './InfoMessage';
|
|
7
|
+
export * from './Input';
|
|
8
|
+
export * from './InputField';
|
|
7
9
|
export * from './SectionNotification';
|
|
8
10
|
export * from './SelectListbox';
|
|
9
11
|
export * from './SelectListbox/SelectProvider';
|
package/dist/components/index.js
CHANGED
|
@@ -2,23 +2,27 @@ import { AppStatusBar as t } from "./AppStatusBar/AppStatusBar.js";
|
|
|
2
2
|
import { Button as p } from "./Button/Button.js";
|
|
3
3
|
import { Card as x } from "./Card/Card.js";
|
|
4
4
|
import { Icon as n } from "./Icon/Icon.js";
|
|
5
|
-
import { IconButton as
|
|
6
|
-
import { InfoMessage as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import { IconButton as c } from "./IconButton/IconButton.js";
|
|
6
|
+
import { InfoMessage as S } from "./InfoMessage/InfoMessage.js";
|
|
7
|
+
import { Input as s } from "./Input/Input.js";
|
|
8
|
+
import { InputField as l } from "./InputField/InputField.js";
|
|
9
|
+
import { SectionNotification as B } from "./SectionNotification/SectionNotification.js";
|
|
10
|
+
import { SelectListbox as g } from "./SelectListbox/SelectListbox.js";
|
|
11
|
+
import { SelectProvider as A, useSelect as C } from "./SelectListbox/SelectProvider.js";
|
|
12
|
+
import { Spinner as L } from "./Spinner/Spinner.js";
|
|
11
13
|
export {
|
|
12
14
|
t as AppStatusBar,
|
|
13
15
|
p as Button,
|
|
14
16
|
x as Card,
|
|
15
17
|
n as Icon,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
c as IconButton,
|
|
19
|
+
S as InfoMessage,
|
|
20
|
+
s as Input,
|
|
21
|
+
l as InputField,
|
|
22
|
+
B as SectionNotification,
|
|
23
|
+
g as SelectListbox,
|
|
24
|
+
A as SelectProvider,
|
|
25
|
+
L as Spinner,
|
|
26
|
+
C as useSelect
|
|
23
27
|
};
|
|
24
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -2,23 +2,27 @@ import { AppStatusBar as t } from "./components/AppStatusBar/AppStatusBar.js";
|
|
|
2
2
|
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
|
-
import { IconButton as
|
|
6
|
-
import { InfoMessage as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import { IconButton as c } from "./components/IconButton/IconButton.js";
|
|
6
|
+
import { InfoMessage as S } from "./components/InfoMessage/InfoMessage.js";
|
|
7
|
+
import { Input as s } from "./components/Input/Input.js";
|
|
8
|
+
import { InputField as l } from "./components/InputField/InputField.js";
|
|
9
|
+
import { SectionNotification as B } from "./components/SectionNotification/SectionNotification.js";
|
|
10
|
+
import { SelectListbox as g } from "./components/SelectListbox/SelectListbox.js";
|
|
11
|
+
import { SelectProvider as A, useSelect as C } from "./components/SelectListbox/SelectProvider.js";
|
|
12
|
+
import { Spinner as L } from "./components/Spinner/Spinner.js";
|
|
11
13
|
export {
|
|
12
14
|
t as AppStatusBar,
|
|
13
15
|
p as Button,
|
|
14
16
|
x as Card,
|
|
15
17
|
n as Icon,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
c as IconButton,
|
|
19
|
+
S as InfoMessage,
|
|
20
|
+
s as Input,
|
|
21
|
+
l as InputField,
|
|
22
|
+
B as SectionNotification,
|
|
23
|
+
g as SelectListbox,
|
|
24
|
+
A as SelectProvider,
|
|
25
|
+
L as Spinner,
|
|
26
|
+
C as useSelect
|
|
23
27
|
};
|
|
24
28
|
//# 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.7.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -44,14 +44,14 @@
|
|
|
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.1",
|
|
48
|
+
"@storybook/addon-essentials": "^8.1.1",
|
|
49
|
+
"@storybook/addon-interactions": "^8.1.1",
|
|
50
|
+
"@storybook/addon-links": "^8.1.1",
|
|
51
|
+
"@storybook/blocks": "^8.1.1",
|
|
52
|
+
"@storybook/react": "^8.1.1",
|
|
53
|
+
"@storybook/react-vite": "^8.1.1",
|
|
54
|
+
"@storybook/test": "^8.1.1",
|
|
55
55
|
"@types/node": "^20.12.12",
|
|
56
56
|
"@types/react": "^18.3.2",
|
|
57
57
|
"@types/react-dom": "^18.3.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.1",
|
|
81
81
|
"style-dictionary": "^3.9.2",
|
|
82
82
|
"stylelint": "^16.5.0",
|
|
83
83
|
"stylelint-config-recommended": "^14.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectListbox.module-1nd3xIGj.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|