@uva-glass/component-library 3.20.0 → 3.21.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/ControlsButton.css +1 -0
- package/dist/assets/RadioTabSelector.css +1 -0
- package/dist/components/Buttons/Button.stories.js +1 -1
- package/dist/components/Buttons/LinkButton.stories.js +1 -1
- package/dist/components/Buttons/MenuButton.stories.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +34 -31
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js.map +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/ControlsButton/ControlsButton.d.ts +18 -0
- package/dist/components/ControlsButton/ControlsButton.js +46 -0
- package/dist/components/ControlsButton/ControlsButton.js.map +1 -0
- package/dist/components/ControlsButton/ControlsButton.stories.d.ts +5 -0
- package/dist/components/ControlsButton/ControlsButton.stories.js +45 -0
- package/dist/components/ControlsButton/ControlsButton.stories.js.map +1 -0
- package/dist/components/ControlsButton/index.d.ts +1 -0
- package/dist/components/ControlsButton/index.js +5 -0
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FormInput/FormInput.stories.js +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/InputField/InputField.stories.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
- package/dist/components/RadioTabSelector/RadioTabSelector.d.ts +25 -0
- package/dist/components/RadioTabSelector/RadioTabSelector.js +89 -0
- package/dist/components/RadioTabSelector/RadioTabSelector.js.map +1 -0
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.d.ts +5 -0
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +60 -0
- package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -0
- package/dist/components/RadioTabSelector/index.d.ts +1 -0
- package/dist/components/RadioTabSelector/index.js +5 -0
- package/dist/components/RadioTabSelector/index.js.map +1 -0
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/TextArea/TextArea.stories.js +1 -1
- package/dist/components/TextArea/TextArea.test.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +46 -44
- package/dist/components/index.js.map +1 -1
- package/dist/{index-BCvy9BiK.js → index-Dwqes6RH.js} +5 -2
- package/dist/{index-BCvy9BiK.js.map → index-Dwqes6RH.js.map} +1 -1
- package/dist/index.js +46 -44
- package/dist/index.js.map +1 -1
- package/dist/storybook__react.d.js +1 -1
- package/package.json +22 -22
- package/dist/assets/CheckboxButton.css +0 -1
- package/dist/components/CheckboxButton/CheckboxButton.d.ts +0 -12
- package/dist/components/CheckboxButton/CheckboxButton.js +0 -28
- package/dist/components/CheckboxButton/CheckboxButton.js.map +0 -1
- package/dist/components/CheckboxButton/CheckboxButton.stories.d.ts +0 -5
- package/dist/components/CheckboxButton/CheckboxButton.stories.js +0 -40
- package/dist/components/CheckboxButton/CheckboxButton.stories.js.map +0 -1
- package/dist/components/CheckboxButton/CheckboxButton.test.d.ts +0 -0
- package/dist/components/CheckboxButton/CheckboxButton.test.js +0 -21
- package/dist/components/CheckboxButton/CheckboxButton.test.js.map +0 -1
- package/dist/components/CheckboxButton/index.d.ts +0 -1
- package/dist/components/CheckboxButton/index.js +0 -5
- /package/dist/components/{CheckboxButton → ControlsButton}/index.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioTabSelector.stories.js","sources":["../../../src/components/RadioTabSelector/RadioTabSelector.stories.tsx"],"sourcesContent":["import { fn } from '@storybook/test';\r\n\r\nimport type { Meta, StoryFn } from '@storybook/react';\r\nimport type { RadioTabSelectorProps } from './RadioTabSelector'; // Already imported above\r\n\r\nimport { RadioTabSelector } from './RadioTabSelector';\r\n\r\nconst codeString =\r\n '<RadioTabSelector radioButtons={} defaultValue={} label={} labelPosition={} required={} notValidatedText={} onSetValue={} />';\r\n\r\n// eslint-disable-next-line import/no-default-export\r\nexport default {\r\n title: 'Molecules/RadioTabSelector',\r\n component: RadioTabSelector,\r\n argTypes: {\r\n radioButtons: {\r\n table: {\r\n disable: true,\r\n },\r\n },\r\n defaultValue: {\r\n table: {\r\n disable: true,\r\n },\r\n },\r\n label: {\r\n control: 'text',\r\n },\r\n labelPosition: {\r\n control: 'radio',\r\n options: ['top', 'left'],\r\n },\r\n required: {\r\n control: 'boolean',\r\n },\r\n notValidatedText: {\r\n control: 'text',\r\n },\r\n onSetValue: {\r\n table: {\r\n disable: true,\r\n },\r\n },\r\n },\r\n parameters: {\r\n inspectComponent: RadioTabSelector,\r\n codeString: codeString,\r\n },\r\n} as Meta<RadioTabSelectorProps>;\r\n\r\nconst Template: StoryFn<RadioTabSelectorProps> = (args) => <RadioTabSelector {...args} />;\r\n\r\nexport const RadioTabSelectorExample = Template.bind({});\r\nRadioTabSelectorExample.args = {\r\n buttons: [\r\n { label: 'Digitaal', value: 'digitaal' },\r\n { label: 'Schriftelijk', value: 'schriftelijk' },\r\n { label: 'Presentatie', value: 'presentatie' },\r\n ],\r\n defaultValue: 'digitaal',\r\n radioGroupName: 'radio-group',\r\n label: 'Toetsvorm',\r\n labelPosition: 'top',\r\n required: true,\r\n notValidatedText: '',\r\n onSetValue: fn(),\r\n};\r\n"],"names":["codeString","RadioTabSelector_stories","RadioTabSelector","Template","args","jsx","RadioTabSelectorExample","fn"],"mappings":";;;AAOA,MAAMA,IACJ,gIAGaC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,OAAO;AAAA,QACL,SAAS;AAAA,MAAA;AAAA,IAEb;AAAA,IACA,cAAc;AAAA,MACZ,OAAO;AAAA,QACL,SAAS;AAAA,MAAA;AAAA,IAEb;AAAA,IACA,OAAO;AAAA,MACL,SAAS;AAAA,IACX;AAAA,IACA,eAAe;AAAA,MACb,SAAS;AAAA,MACT,SAAS,CAAC,OAAO,MAAM;AAAA,IACzB;AAAA,IACA,UAAU;AAAA,MACR,SAAS;AAAA,IACX;AAAA,IACA,kBAAkB;AAAA,MAChB,SAAS;AAAA,IACX;AAAA,IACA,YAAY;AAAA,MACV,OAAO;AAAA,QACL,SAAS;AAAA,MAAA;AAAA,IACX;AAAA,EAEJ;AAAA,EACA,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EAAA;AAEJ,GAEMG,IAA2C,CAACC,MAAU,gBAAAC,EAAAH,GAAA,EAAkB,GAAGE,GAAM,GAE1EE,IAA0BH,EAAS,KAAK,CAAE,CAAA;AACvDG,EAAwB,OAAO;AAAA,EAC7B,SAAS;AAAA,IACP,EAAE,OAAO,YAAY,OAAO,WAAW;AAAA,IACvC,EAAE,OAAO,gBAAgB,OAAO,eAAe;AAAA,IAC/C,EAAE,OAAO,eAAe,OAAO,cAAc;AAAA,EAC/C;AAAA,EACA,cAAc;AAAA,EACd,gBAAgB;AAAA,EAChB,OAAO;AAAA,EACP,eAAe;AAAA,EACf,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,YAAYC,EAAG;AACjB;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RadioTabSelector';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as m, Fragment as i } from "react/jsx-runtime";
|
|
2
|
-
import { fn as s } from "../../index-
|
|
2
|
+
import { fn as s } from "../../index-Dwqes6RH.js";
|
|
3
3
|
import { Sortable as o } from "./Sortable.js";
|
|
4
4
|
import { InputField as c } from "../InputField/InputField.js";
|
|
5
5
|
import { Icon as d } from "../Icon/Icon.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { fn as r } from "../../index-
|
|
2
|
+
import { fn as r } from "../../index-Dwqes6RH.js";
|
|
3
3
|
import { TextArea as e } from "./TextArea.js";
|
|
4
4
|
const o = `
|
|
5
5
|
<TextArea label={label} maxCharacters={maxCharacters} /> `, x = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import "../../index-BqLi4tOb.js";
|
|
3
3
|
import { r as n, s as t, f as r } from "../../react.esm-CsMDid07.js";
|
|
4
|
-
import { userEvent as s } from "../../index-
|
|
4
|
+
import { userEvent as s } from "../../index-Dwqes6RH.js";
|
|
5
5
|
import { TextArea as o } from "./TextArea.js";
|
|
6
6
|
describe("TextArea", () => {
|
|
7
7
|
it("should render correctly with label", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { fn as l } from "../../index-
|
|
2
|
+
import { fn as l } from "../../index-Dwqes6RH.js";
|
|
3
3
|
import { ToggleSwitch as e } from "./ToggleSwitch.js";
|
|
4
4
|
const n = `
|
|
5
5
|
// Has all InputHTMLAttributes props available except "className" and "style"
|
|
@@ -8,10 +8,10 @@ export * from './ButtonGroup';
|
|
|
8
8
|
export * from './Buttons';
|
|
9
9
|
export * from './Card';
|
|
10
10
|
export * from './Checkbox';
|
|
11
|
-
export * from './CheckboxButton';
|
|
12
11
|
export * from './CheckboxButtonBar';
|
|
13
12
|
export * from './CheckboxTree';
|
|
14
13
|
export * from './Chip';
|
|
14
|
+
export * from './ControlsButton';
|
|
15
15
|
export * from './Drawer';
|
|
16
16
|
export * from './EmptyStateDataDisplay';
|
|
17
17
|
export * from './FeedbackBar';
|
|
@@ -41,6 +41,7 @@ export * from './PeriodSelector';
|
|
|
41
41
|
export * from './ProgrammeCard';
|
|
42
42
|
export * from './RadioButton';
|
|
43
43
|
export * from './RadioGroup';
|
|
44
|
+
export * from './RadioTabSelector';
|
|
44
45
|
export * from './Repeater';
|
|
45
46
|
export * from './RteEditor';
|
|
46
47
|
export * from './SectionNotification';
|
package/dist/components/index.js
CHANGED
|
@@ -7,13 +7,13 @@ import { Backdrop as c } from "./Backdrop/Backdrop.js";
|
|
|
7
7
|
import { ButtonGroup as u } from "./ButtonGroup/ButtonGroup.js";
|
|
8
8
|
import { Button as s } from "./Buttons/Button.js";
|
|
9
9
|
import { LinkButton as b } from "./Buttons/LinkButton.js";
|
|
10
|
-
import { MenuButton as
|
|
10
|
+
import { MenuButton as k } from "./Buttons/MenuButton.js";
|
|
11
11
|
import { Card as M } from "./Card/Card.js";
|
|
12
12
|
import { Checkbox as I } from "./Checkbox/Checkbox.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
13
|
+
import { CheckboxButtonBar as R } from "./CheckboxButtonBar/CheckboxButtonBar.js";
|
|
14
|
+
import { CheckboxTree as P } from "./CheckboxTree/CheckboxTree.js";
|
|
15
|
+
import { Chip as y } from "./Chip/Chip.js";
|
|
16
|
+
import { ControlsButton as T } from "./ControlsButton/ControlsButton.js";
|
|
17
17
|
import { Drawer as w } from "./Drawer/Drawer.js";
|
|
18
18
|
import { EmptyStateDataDisplay as O } from "./EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
19
19
|
import { FeedbackBar as H } from "./FeedbackBar/FeedbackBar.js";
|
|
@@ -33,29 +33,30 @@ import { Label as no } from "./Label/Label.js";
|
|
|
33
33
|
import { MenuLink as co } from "./MenuLink/MenuLink.js";
|
|
34
34
|
import { MetaDataList as Bo } from "./MetaDataList/MetaDataList.js";
|
|
35
35
|
import { ModalDialog as So } from "./ModalDialog/ModalDialog.js";
|
|
36
|
-
import { M as
|
|
36
|
+
import { M as Co } from "../TablePlugin-hxs9O_ox.js";
|
|
37
37
|
import { MultiSelectBox as Fo } from "./MultiSelectBox/MultiSelectBox.js";
|
|
38
38
|
import { OverlayCloseButton as go } from "./OverlayCloseButton/OverlayCloseButton.js";
|
|
39
39
|
import { OverlayStepBar as Lo } from "./OverlayStepBar/OverlayStepBar.js";
|
|
40
40
|
import { PageOverlay as Ao } from "./PageOverlay/PageOverlay.js";
|
|
41
|
-
import { Periods as
|
|
41
|
+
import { Periods as ho } from "./Periods/Periods.js";
|
|
42
42
|
import { PeriodSelector as Do } from "./PeriodSelector/PeriodSelector.js";
|
|
43
|
-
import { ProgrammeCard as
|
|
43
|
+
import { ProgrammeCard as vo } from "./ProgrammeCard/ProgrammeCard.js";
|
|
44
44
|
import { RadioButton as Go } from "./RadioButton/RadioButton.js";
|
|
45
45
|
import { RadioGroup as Eo } from "./RadioGroup/RadioGroup.js";
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
46
|
+
import { RadioTabSelector as zo } from "./RadioTabSelector/RadioTabSelector.js";
|
|
47
|
+
import { Repeater as Vo } from "./Repeater/Repeater.js";
|
|
48
|
+
import { Rte as qo, RteEditor as Jo } from "./RteEditor/RteEditor.js";
|
|
49
|
+
import { SectionNotification as Qo } from "./SectionNotification/SectionNotification.js";
|
|
50
|
+
import { SelectListbox as Wo } from "./SelectListbox/SelectListbox.js";
|
|
51
|
+
import { SelectProvider as Yo, useSelect as Zo } from "./SelectListbox/SelectProvider.js";
|
|
52
|
+
import { Sortable as $o } from "./Sortable/Sortable.js";
|
|
53
|
+
import { Spinner as rr } from "./Spinner/Spinner.js";
|
|
54
|
+
import { StatusBadge as er } from "./StatusBadge/StatusBage.js";
|
|
55
|
+
import { StatusPill as xr } from "./StatusPill/StatusPill.js";
|
|
56
|
+
import { TextArea as fr } from "./TextArea/TextArea.js";
|
|
57
|
+
import { ToggleSwitch as ir } from "./ToggleSwitch/ToggleSwitch.js";
|
|
58
|
+
import { Tooltip as lr } from "./Tooltip/Tooltip.js";
|
|
59
|
+
import { VarIndicator as dr } from "./VarIndicator/VarIndicator.js";
|
|
59
60
|
export {
|
|
60
61
|
t as Accordion,
|
|
61
62
|
p as AccordionCard,
|
|
@@ -67,10 +68,10 @@ export {
|
|
|
67
68
|
u as ButtonGroup,
|
|
68
69
|
M as Card,
|
|
69
70
|
I as Checkbox,
|
|
70
|
-
|
|
71
|
-
P as
|
|
72
|
-
y as
|
|
73
|
-
|
|
71
|
+
R as CheckboxButtonBar,
|
|
72
|
+
P as CheckboxTree,
|
|
73
|
+
y as Chip,
|
|
74
|
+
T as ControlsButton,
|
|
74
75
|
w as Drawer,
|
|
75
76
|
O as EmptyStateDataDisplay,
|
|
76
77
|
H as FeedbackBar,
|
|
@@ -88,34 +89,35 @@ export {
|
|
|
88
89
|
ao as InputField,
|
|
89
90
|
no as Label,
|
|
90
91
|
b as LinkButton,
|
|
91
|
-
|
|
92
|
+
k as MenuButton,
|
|
92
93
|
co as MenuLink,
|
|
93
94
|
Bo as MetaDataList,
|
|
94
95
|
So as ModalDialog,
|
|
95
|
-
|
|
96
|
+
Co as MultiSelect,
|
|
96
97
|
Fo as MultiSelectBox,
|
|
97
98
|
go as OverlayCloseButton,
|
|
98
99
|
Lo as OverlayStepBar,
|
|
99
100
|
Ao as PageOverlay,
|
|
100
101
|
Do as PeriodSelector,
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
ho as Periods,
|
|
103
|
+
vo as ProgrammeCard,
|
|
103
104
|
Go as RadioButton,
|
|
104
105
|
Eo as RadioGroup,
|
|
105
|
-
zo as
|
|
106
|
-
Vo as
|
|
107
|
-
|
|
108
|
-
Jo as
|
|
109
|
-
Qo as
|
|
110
|
-
Wo as
|
|
111
|
-
|
|
112
|
-
$o as
|
|
113
|
-
rr as
|
|
114
|
-
er as
|
|
115
|
-
xr as
|
|
116
|
-
fr as
|
|
117
|
-
ir as
|
|
118
|
-
lr as
|
|
119
|
-
|
|
106
|
+
zo as RadioTabSelector,
|
|
107
|
+
Vo as Repeater,
|
|
108
|
+
qo as Rte,
|
|
109
|
+
Jo as RteEditor,
|
|
110
|
+
Qo as SectionNotification,
|
|
111
|
+
Wo as SelectListbox,
|
|
112
|
+
Yo as SelectProvider,
|
|
113
|
+
$o as Sortable,
|
|
114
|
+
rr as Spinner,
|
|
115
|
+
er as StatusBadge,
|
|
116
|
+
xr as StatusPill,
|
|
117
|
+
fr as TextArea,
|
|
118
|
+
ir as ToggleSwitch,
|
|
119
|
+
lr as Tooltip,
|
|
120
|
+
dr as VarIndicator,
|
|
121
|
+
Zo as useSelect
|
|
120
122
|
};
|
|
121
123
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -14654,7 +14654,10 @@ var { buildQueries: z$, configure: G$, createEvent: W$, fireEvent: K$, findAllBy
|
|
|
14654
14654
|
let a = rM(e);
|
|
14655
14655
|
return r && a.mockName(r), a;
|
|
14656
14656
|
}
|
|
14657
|
-
if (Array.isArray(e))
|
|
14657
|
+
if (Array.isArray(e)) {
|
|
14658
|
+
t++;
|
|
14659
|
+
for (let a = 0; a < e.length; a++) e[a] = Zl(e[a], t);
|
|
14660
|
+
}
|
|
14658
14661
|
if (typeof e == "object" && e.constructor === Object) {
|
|
14659
14662
|
t++;
|
|
14660
14663
|
for (let [a, o] of Object.entries(e)) (n = Object.getOwnPropertyDescriptor(e, a)) != null && n.writable && (e[a] = Zl(o, t, a));
|
|
@@ -14752,4 +14755,4 @@ export {
|
|
|
14752
14755
|
l2 as waitForElementToBeRemoved,
|
|
14753
14756
|
$$ as within
|
|
14754
14757
|
};
|
|
14755
|
-
//# sourceMappingURL=index-
|
|
14758
|
+
//# sourceMappingURL=index-Dwqes6RH.js.map
|