@uva-glass/component-library 2.1.0 → 2.2.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/SelectListbox.module-BWavTmq8.js +25 -0
- package/dist/SelectListbox.module-BWavTmq8.js.map +1 -0
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/assets/ToggleSwitch.css +1 -0
- package/dist/components/SelectListbox/SelectListBox.stories.js +2 -2
- package/dist/components/SelectListbox/SelectListBox.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectListbox.d.ts +4 -2
- package/dist/components/SelectListbox/SelectListbox.js +31 -29
- package/dist/components/SelectListbox/SelectListbox.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectButton.d.ts +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js.map +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/ToggleSwitch/ToggleSwitch.d.ts +15 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.js +66 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.js.map +1 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.d.ts +5 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +26 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js.map +1 -0
- package/dist/components/ToggleSwitch/index.d.ts +1 -0
- package/dist/components/ToggleSwitch/index.js +5 -0
- package/dist/components/ToggleSwitch/index.js.map +1 -0
- package/dist/components/hooks/usePositionedFloaters.d.ts +1 -0
- package/dist/components/hooks/usePositionedFloaters.js +22 -20
- package/dist/components/hooks/usePositionedFloaters.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +30 -28
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +30 -28
- package/dist/index.js.map +1 -1
- package/package.json +17 -17
- package/dist/SelectListbox.module-ByNtXEyE.js +0 -24
- package/dist/SelectListbox.module-ByNtXEyE.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -9,14 +9,14 @@ import { Button as B } from "./components/Buttons/Button.js";
|
|
|
9
9
|
import { LinkButton as b } from "./components/Buttons/LinkButton.js";
|
|
10
10
|
import { MenuButton as C } from "./components/Buttons/MenuButton.js";
|
|
11
11
|
import { Card as L } from "./components/Card/Card.js";
|
|
12
|
-
import { Checkbox as
|
|
13
|
-
import { CheckboxButton as
|
|
14
|
-
import { CheckboxButtonBar as
|
|
15
|
-
import { CheckboxTree as
|
|
12
|
+
import { Checkbox as g } from "./components/Checkbox/Checkbox.js";
|
|
13
|
+
import { CheckboxButton as P } from "./components/CheckboxButton/CheckboxButton.js";
|
|
14
|
+
import { CheckboxButtonBar as A } from "./components/CheckboxButtonBar/CheckboxButtonBar.js";
|
|
15
|
+
import { CheckboxTree as R } from "./components/CheckboxTree/CheckboxTree.js";
|
|
16
16
|
import { Drawer as v } from "./components/Drawer/Drawer.js";
|
|
17
|
-
import { EmptyStateDataDisplay as
|
|
18
|
-
import { FeedbackBox as
|
|
19
|
-
import { FieldHint as
|
|
17
|
+
import { EmptyStateDataDisplay as T } from "./components/EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
18
|
+
import { FeedbackBox as G } from "./components/FeedbackBox/FeedbackBox.js";
|
|
19
|
+
import { FieldHint as O } from "./components/FieldHint/FieldHint.js";
|
|
20
20
|
import { Fieldset as N } from "./components/Fieldset/Fieldset.js";
|
|
21
21
|
import { FormField as q } from "./components/FormField/FormField.js";
|
|
22
22
|
import { FormInput as K } from "./components/FormInput/FormInput.js";
|
|
@@ -36,17 +36,18 @@ import { OverlayCloseButton as So } from "./components/OverlayCloseButton/Overla
|
|
|
36
36
|
import { PageOverlay as ko } from "./components/PageOverlay/PageOverlay.js";
|
|
37
37
|
import { Periods as Fo } from "./components/Periods/Periods.js";
|
|
38
38
|
import { PeriodSelector as Mo } from "./components/PeriodSelector/PeriodSelector.js";
|
|
39
|
-
import { ProgrammeCard as
|
|
40
|
-
import { RadioButton as
|
|
41
|
-
import { Repeater as
|
|
39
|
+
import { ProgrammeCard as Io } from "./components/ProgrammeCard/ProgrammeCard.js";
|
|
40
|
+
import { RadioButton as ho } from "./components/RadioButton/RadioButton.js";
|
|
41
|
+
import { Repeater as Do } from "./components/Repeater/Repeater.js";
|
|
42
42
|
import { Rte as yo, RteEditor as vo } from "./components/RteEditor/RteEditor.js";
|
|
43
|
-
import { SectionNotification as
|
|
44
|
-
import { SelectListbox as
|
|
45
|
-
import { SelectProvider as
|
|
43
|
+
import { SectionNotification as To } from "./components/SectionNotification/SectionNotification.js";
|
|
44
|
+
import { SelectListbox as Go } from "./components/SelectListbox/SelectListbox.js";
|
|
45
|
+
import { SelectProvider as Oo, useSelect as zo } from "./components/SelectListbox/SelectProvider.js";
|
|
46
46
|
import { Sortable as jo } from "./components/Sortable/Sortable.js";
|
|
47
47
|
import { Spinner as Jo } from "./components/Spinner/Spinner.js";
|
|
48
48
|
import { StatusPill as Qo } from "./components/StatusPill/StatusPill.js";
|
|
49
|
-
import {
|
|
49
|
+
import { ToggleSwitch as Vo } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
50
|
+
import { Tooltip as Xo } from "./components/Tooltip/Tooltip.js";
|
|
50
51
|
export {
|
|
51
52
|
t as Accordion,
|
|
52
53
|
p as AccordionCard,
|
|
@@ -57,14 +58,14 @@ export {
|
|
|
57
58
|
B as Button,
|
|
58
59
|
d as ButtonGroup,
|
|
59
60
|
L as Card,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
g as Checkbox,
|
|
62
|
+
P as CheckboxButton,
|
|
63
|
+
A as CheckboxButtonBar,
|
|
64
|
+
R as CheckboxTree,
|
|
64
65
|
v as Drawer,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
T as EmptyStateDataDisplay,
|
|
67
|
+
G as FeedbackBox,
|
|
68
|
+
O as FieldHint,
|
|
68
69
|
N as Fieldset,
|
|
69
70
|
q as FormField,
|
|
70
71
|
K as FormInput,
|
|
@@ -86,18 +87,19 @@ export {
|
|
|
86
87
|
ko as PageOverlay,
|
|
87
88
|
Mo as PeriodSelector,
|
|
88
89
|
Fo as Periods,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
Io as ProgrammeCard,
|
|
91
|
+
ho as RadioButton,
|
|
92
|
+
Do as Repeater,
|
|
92
93
|
yo as Rte,
|
|
93
94
|
vo as RteEditor,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
To as SectionNotification,
|
|
96
|
+
Go as SelectListbox,
|
|
97
|
+
Oo as SelectProvider,
|
|
97
98
|
jo as Sortable,
|
|
98
99
|
Jo as Spinner,
|
|
99
100
|
Qo as StatusPill,
|
|
100
|
-
Vo as
|
|
101
|
+
Vo as ToggleSwitch,
|
|
102
|
+
Xo as Tooltip,
|
|
101
103
|
zo as useSelect
|
|
102
104
|
};
|
|
103
105
|
//# 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": "2.
|
|
5
|
+
"version": "2.2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -47,27 +47,27 @@
|
|
|
47
47
|
"@react-aria/overlays": "^3.24.0",
|
|
48
48
|
"@react-types/dialog": "^3.5.14",
|
|
49
49
|
"@semantic-release/git": "^10.0.1",
|
|
50
|
-
"@semantic-release/gitlab": "^13.2.
|
|
50
|
+
"@semantic-release/gitlab": "^13.2.3",
|
|
51
51
|
"@semantic-release/npm": "^12.0.1",
|
|
52
|
-
"@storybook/addon-a11y": "^8.4.
|
|
53
|
-
"@storybook/addon-essentials": "^8.4.
|
|
54
|
-
"@storybook/addon-links": "^8.4.
|
|
55
|
-
"@storybook/blocks": "^8.4.
|
|
56
|
-
"@storybook/manager-api": "^8.4.
|
|
57
|
-
"@storybook/preview-api": "^8.4.
|
|
58
|
-
"@storybook/react-vite": "^8.4.
|
|
59
|
-
"@storybook/react": "^8.4.
|
|
60
|
-
"@storybook/test": "^8.4.
|
|
52
|
+
"@storybook/addon-a11y": "^8.4.7",
|
|
53
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
54
|
+
"@storybook/addon-links": "^8.4.7",
|
|
55
|
+
"@storybook/blocks": "^8.4.7",
|
|
56
|
+
"@storybook/manager-api": "^8.4.7",
|
|
57
|
+
"@storybook/preview-api": "^8.4.7",
|
|
58
|
+
"@storybook/react-vite": "^8.4.7",
|
|
59
|
+
"@storybook/react": "^8.4.7",
|
|
60
|
+
"@storybook/test": "^8.4.7",
|
|
61
61
|
"@types/node": "^22.10.1",
|
|
62
|
-
"@types/react-dom": "^18.3.
|
|
63
|
-
"@types/react": "^18.3.
|
|
62
|
+
"@types/react-dom": "^18.3.2",
|
|
63
|
+
"@types/react": "^18.3.14",
|
|
64
64
|
"@uva-glass/eslint-config": "^1.3.1",
|
|
65
65
|
"@uva-glass/stylelint-config": "^1.1.0",
|
|
66
66
|
"@vitejs/plugin-react": "^4.3.4",
|
|
67
67
|
"clsx": "^2.1.1",
|
|
68
68
|
"eslint-config-prettier": "^9.1.0",
|
|
69
69
|
"eslint-plugin-prettier": "^5.2.1",
|
|
70
|
-
"eslint-plugin-react-hooks": "^5.
|
|
70
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
71
71
|
"eslint-plugin-react-refresh": "^0.4.16",
|
|
72
72
|
"eslint-plugin-storybook": "^0.11.1",
|
|
73
73
|
"glob": "^11.0.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"react-router": "^7.0.2",
|
|
81
81
|
"react": "^18.3.1",
|
|
82
82
|
"semantic-release": "^24.2.0",
|
|
83
|
-
"storybook": "^8.4.
|
|
83
|
+
"storybook": "^8.4.7",
|
|
84
84
|
"style-dictionary": "^4.2.0",
|
|
85
85
|
"stylelint-config-recommended": "^14.0.1",
|
|
86
86
|
"stylelint-config-standard": "^36.0.1",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
92
92
|
"vite-plugin-static-copy": "^2.2.0",
|
|
93
93
|
"vite-plugin-svgr": "^4.3.0",
|
|
94
|
-
"vite-tsconfig-paths": "^5.1.
|
|
95
|
-
"vite": "^6.0.
|
|
94
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
95
|
+
"vite": "^6.0.3"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@lexical/link": "^0.21.0",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import './assets/SelectListbox.css';const e = {
|
|
2
|
-
"select-listbox-container": "_select-listbox-container_1f0f3_1",
|
|
3
|
-
"select-listbox__wrapper": "_select-listbox__wrapper_1f0f3_5",
|
|
4
|
-
"select-listbox-trigger": "_select-listbox-trigger_1f0f3_15",
|
|
5
|
-
"select-listbox-trigger--default": "_select-listbox-trigger--default_1f0f3_30",
|
|
6
|
-
"select-listbox-trigger--small": "_select-listbox-trigger--small_1f0f3_34",
|
|
7
|
-
"select-listbox-trigger--medium": "_select-listbox-trigger--medium_1f0f3_38",
|
|
8
|
-
"select-listbox-trigger-label": "_select-listbox-trigger-label_1f0f3_43",
|
|
9
|
-
"select-listbox__wrapper--align-right": "_select-listbox__wrapper--align-right_1f0f3_51",
|
|
10
|
-
"select-listbox-trigger--bold": "_select-listbox-trigger--bold_1f0f3_55",
|
|
11
|
-
"select-listbox-trigger--pill": "_select-listbox-trigger--pill_1f0f3_59",
|
|
12
|
-
"select-listbox-trigger--pillLeft": "_select-listbox-trigger--pillLeft_1f0f3_64",
|
|
13
|
-
"select-listbox-trigger--pillRight": "_select-listbox-trigger--pillRight_1f0f3_69",
|
|
14
|
-
"select-listbox-trigger--noborder": "_select-listbox-trigger--noborder_1f0f3_84",
|
|
15
|
-
"select-listbox-trigger-icon": "_select-listbox-trigger-icon_1f0f3_96",
|
|
16
|
-
"select-listbox-trigger-icon--open": "_select-listbox-trigger-icon--open_1f0f3_101",
|
|
17
|
-
"select-listbox": "_select-listbox_1f0f3_1",
|
|
18
|
-
"select-listbox-option": "_select-listbox-option_1f0f3_115",
|
|
19
|
-
"select-listbox-option--active": "_select-listbox-option--active_1f0f3_127"
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
e as s
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=SelectListbox.module-ByNtXEyE.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SelectListbox.module-ByNtXEyE.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|