@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.
Files changed (56) hide show
  1. package/dist/{SelectListbox.module-1nd3xIGj.js → SelectListbox.module-DSjx989r.js} +1 -2
  2. package/dist/SelectListbox.module-DSjx989r.js.map +1 -0
  3. package/dist/assets/Button.css +1 -1
  4. package/dist/assets/Card.css +1 -1
  5. package/dist/assets/FieldHint.css +1 -0
  6. package/dist/assets/IconButton.css +1 -1
  7. package/dist/assets/InfoMessage.css +1 -1
  8. package/dist/assets/Input.css +1 -0
  9. package/dist/assets/InputField.css +1 -0
  10. package/dist/assets/InputField2.css +1 -0
  11. package/dist/assets/SectionNotification.css +1 -1
  12. package/dist/assets/SelectListbox.css +1 -1
  13. package/dist/components/Button/Button.js +10 -11
  14. package/dist/components/Button/Button.js.map +1 -1
  15. package/dist/components/Card/Card.js +9 -10
  16. package/dist/components/Card/Card.js.map +1 -1
  17. package/dist/components/IconButton/IconButton.js +12 -13
  18. package/dist/components/IconButton/IconButton.js.map +1 -1
  19. package/dist/components/IconButton/IconButton.stories.js +13 -10
  20. package/dist/components/IconButton/IconButton.stories.js.map +1 -1
  21. package/dist/components/InfoMessage/InfoMessage.js +8 -9
  22. package/dist/components/InfoMessage/InfoMessage.js.map +1 -1
  23. package/dist/components/Input/Input.d.ts +10 -0
  24. package/dist/components/Input/Input.js +28 -0
  25. package/dist/components/Input/Input.js.map +1 -0
  26. package/dist/components/Input/Input.stories.d.ts +8 -0
  27. package/dist/components/Input/Input.stories.js +41 -0
  28. package/dist/components/Input/Input.stories.js.map +1 -0
  29. package/dist/components/Input/index.d.ts +1 -0
  30. package/dist/components/Input/index.js +5 -0
  31. package/dist/components/Input/index.js.map +1 -0
  32. package/dist/components/InputField/InputField.d.ts +12 -0
  33. package/dist/components/InputField/InputField.js +29 -0
  34. package/dist/components/InputField/InputField.js.map +1 -0
  35. package/dist/components/InputField/InputField.stories.d.ts +7 -0
  36. package/dist/components/InputField/InputField.stories.js +65 -0
  37. package/dist/components/InputField/InputField.stories.js.map +1 -0
  38. package/dist/components/InputField/components/FieldHint.d.ts +7 -0
  39. package/dist/components/InputField/components/FieldHint.js +15 -0
  40. package/dist/components/InputField/components/FieldHint.js.map +1 -0
  41. package/dist/components/InputField/index.d.ts +1 -0
  42. package/dist/components/InputField/index.js +5 -0
  43. package/dist/components/InputField/index.js.map +1 -0
  44. package/dist/components/SectionNotification/SectionNotification.js +2 -3
  45. package/dist/components/SectionNotification/SectionNotification.js.map +1 -1
  46. package/dist/components/SelectListbox/components/SelectButton.js +1 -1
  47. package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
  48. package/dist/components/SelectListbox/components/SelectOption.js +1 -1
  49. package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
  50. package/dist/components/index.d.ts +2 -0
  51. package/dist/components/index.js +17 -13
  52. package/dist/components/index.js.map +1 -1
  53. package/dist/index.js +17 -13
  54. package/dist/index.js.map +1 -1
  55. package/package.json +10 -10
  56. 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-1nd3xIGj.js";
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-1nd3xIGj.js";
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';
@@ -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 i } from "./IconButton/IconButton.js";
6
- import { InfoMessage as a } from "./InfoMessage/InfoMessage.js";
7
- import { SectionNotification as u } from "./SectionNotification/SectionNotification.js";
8
- import { SelectListbox as B } from "./SelectListbox/SelectListbox.js";
9
- import { SelectProvider as d, useSelect as b } from "./SelectListbox/SelectProvider.js";
10
- import { Spinner as v } from "./Spinner/Spinner.js";
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
- i as IconButton,
17
- a as InfoMessage,
18
- u as SectionNotification,
19
- B as SelectListbox,
20
- d as SelectProvider,
21
- v as Spinner,
22
- b as useSelect
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 i } from "./components/IconButton/IconButton.js";
6
- import { InfoMessage as a } from "./components/InfoMessage/InfoMessage.js";
7
- import { SectionNotification as u } from "./components/SectionNotification/SectionNotification.js";
8
- import { SelectListbox as B } from "./components/SelectListbox/SelectListbox.js";
9
- import { SelectProvider as d, useSelect as b } from "./components/SelectListbox/SelectProvider.js";
10
- import { Spinner as v } from "./components/Spinner/Spinner.js";
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
- i as IconButton,
17
- a as InfoMessage,
18
- u as SectionNotification,
19
- B as SelectListbox,
20
- d as SelectProvider,
21
- v as Spinner,
22
- b as useSelect
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.0",
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.0",
48
- "@storybook/addon-essentials": "^8.1.0",
49
- "@storybook/addon-interactions": "^8.1.0",
50
- "@storybook/addon-links": "^8.1.0",
51
- "@storybook/blocks": "^8.1.0",
52
- "@storybook/react": "^8.1.0",
53
- "@storybook/react-vite": "^8.1.0",
54
- "@storybook/test": "^8.1.0",
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.0",
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":";;;;;;;;;;;;;;;;;;;;"}