@uva-glass/component-library 2.4.0 → 2.5.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.
@@ -0,0 +1 @@
1
+ ._chip_7nmzv_1{align-items:center;background-color:var(--color-white);border:1px solid var(--color-grey-200);border-radius:1rem;cursor:pointer;display:grid;grid-template-columns:auto 1fr;min-height:2rem;padding:0 0 0 1rem;-webkit-user-select:none;user-select:none;width:fit-content}._chip_7nmzv_1:hover{background-color:var(--color-grey-200)}._chip_7nmzv_1:focus-visible{outline:.125rem dotted var(--color-cobalt);outline-offset:.125rem}._chip__label_7nmzv_24{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}._chip__close-button_7nmzv_31{margin:0 .5rem}
@@ -0,0 +1,7 @@
1
+ export interface ChipProps {
2
+ /** Text on the chip */
3
+ label: string;
4
+ /** Function to remove chip from chip-list on label-text*/
5
+ onDelete: (label: string) => void;
6
+ }
7
+ export declare const Chip: ({ label, onDelete }: ChipProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { jsxs as i, jsx as s } from "react/jsx-runtime";
2
+ import { Icon as n } from "../Icon/Icon.js";
3
+ import '../../assets/Chip.css';const t = "_chip_7nmzv_1", e = "_chip__label_7nmzv_24", c = {
4
+ chip: t,
5
+ chip__label: e,
6
+ "chip__close-button": "_chip__close-button_7nmzv_31"
7
+ }, h = ({ label: _, onDelete: o }) => /* @__PURE__ */ i("button", { className: c.chip, onClick: () => o(_), children: [
8
+ /* @__PURE__ */ s("span", { className: c.chip__label, children: _ }),
9
+ /* @__PURE__ */ s(n, { name: "Cross", size: 20, className: c["chip__close-button"] })
10
+ ] });
11
+ export {
12
+ h as Chip
13
+ };
14
+ //# sourceMappingURL=Chip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.js","sources":["../../../src/components/Chip/Chip.tsx"],"sourcesContent":["import styles from './Chip.module.css';\n\nimport { Icon } from 'components/Icon';\n\nexport interface ChipProps {\n /** Text on the chip */\n label: string;\n /** Function to remove chip from chip-list on label-text*/\n onDelete: (label: string) => void;\n}\n\nexport const Chip = ({ label, onDelete }: ChipProps) => {\n return (\n <button className={styles['chip']} onClick={() => onDelete(label)}>\n <span className={styles['chip__label']}>{label}</span>\n <Icon name=\"Cross\" size={20} className={styles['chip__close-button']} />\n </button>\n );\n};\n"],"names":["Chip","label","onDelete","jsxs","styles","jsx","Icon"],"mappings":";;;;;;GAWaA,IAAO,CAAC,EAAE,OAAAC,GAAO,UAAAC,QAE1B,gBAAAC,EAAC,UAAO,EAAA,WAAWC,EAAO,MAAS,SAAS,MAAMF,EAASD,CAAK,GAC9D,UAAA;AAAA,EAAA,gBAAAI,EAAC,QAAK,EAAA,WAAWD,EAAO,aAAiB,UAAMH,GAAA;AAAA,EAC/C,gBAAAI,EAACC,KAAK,MAAK,SAAQ,MAAM,IAAI,WAAWF,EAAO,oBAAoB,EAAG,CAAA;AAAA,GACxE;"}
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/react';
2
+ import { ChipProps } from './Chip';
3
+ declare const _default: Meta<ChipProps>;
4
+ export default _default;
5
+ export declare const ChipExample: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ChipProps>;
6
+ export declare const ChipLongLabel: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ChipProps>;
@@ -0,0 +1,29 @@
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { fn as t } from "../../index-DWzkl4aY.js";
3
+ import { Chip as e } from "./Chip.js";
4
+ const s = "<Chip label={string} onDelete={onDeleteFunction(label)}/>", b = {
5
+ title: "Atoms/Chip",
6
+ component: e,
7
+ argTypes: {},
8
+ parameters: {
9
+ inspectComponent: e,
10
+ codeString: s
11
+ }
12
+ }, n = (o) => /* @__PURE__ */ l(e, { ...o }), a = {
13
+ label: "Nederlands",
14
+ onDelete: t()
15
+ }, i = n.bind({});
16
+ i.args = {
17
+ ...a
18
+ };
19
+ const r = n.bind({});
20
+ r.args = {
21
+ label: "Een filter met een veel te lang label",
22
+ onDelete: t()
23
+ };
24
+ export {
25
+ i as ChipExample,
26
+ r as ChipLongLabel,
27
+ b as default
28
+ };
29
+ //# sourceMappingURL=Chip.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.stories.js","sources":["../../../src/components/Chip/Chip.stories.tsx"],"sourcesContent":["import { fn } from '@storybook/test';\n\nimport type { Meta, StoryFn } from '@storybook/react';\nimport type { ChipProps } from './Chip';\n\nimport { Chip } from './Chip';\n\nconst codeString = '<Chip label={string} onDelete={onDeleteFunction(label)}/>';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n title: 'Atoms/Chip',\n component: Chip,\n argTypes: {},\n parameters: {\n inspectComponent: Chip,\n codeString: codeString,\n },\n} as Meta<ChipProps>;\n\nconst Template: StoryFn<ChipProps> = (args) => <Chip {...args} />;\n\nconst defaultArgs: Partial<ChipProps> = {\n label: 'Nederlands',\n onDelete: fn(),\n};\n\nexport const ChipExample = Template.bind({});\nChipExample.args = {\n ...defaultArgs,\n};\n\nexport const ChipLongLabel = Template.bind({});\nChipLongLabel.args = {\n label: 'Een filter met een veel te lang label',\n onDelete: fn(),\n};\n"],"names":["codeString","Chip_stories","Chip","Template","args","jsx","defaultArgs","fn","ChipExample","ChipLongLabel"],"mappings":";;;AAOA,MAAMA,IAAa,6DAGJC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,UAAU,CAAC;AAAA,EACX,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EAAA;AAEJ,GAEMG,IAA+B,CAACC,MAAU,gBAAAC,EAAAH,GAAA,EAAM,GAAGE,GAAM,GAEzDE,IAAkC;AAAA,EACtC,OAAO;AAAA,EACP,UAAUC,EAAG;AACf,GAEaC,IAAcL,EAAS,KAAK,CAAE,CAAA;AAC3CK,EAAY,OAAO;AAAA,EACjB,GAAGF;AACL;AAEO,MAAMG,IAAgBN,EAAS,KAAK,CAAE,CAAA;AAC7CM,EAAc,OAAO;AAAA,EACnB,OAAO;AAAA,EACP,UAAUF,EAAG;AACf;"}
@@ -0,0 +1 @@
1
+ export * from './Chip';
@@ -0,0 +1,5 @@
1
+ import { Chip as r } from "./Chip.js";
2
+ export {
3
+ r as Chip
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -11,6 +11,7 @@ export * from './Checkbox';
11
11
  export * from './CheckboxButton';
12
12
  export * from './CheckboxButtonBar';
13
13
  export * from './CheckboxTree';
14
+ export * from './Chip';
14
15
  export * from './Drawer';
15
16
  export * from './EmptyStateDataDisplay';
16
17
  export * from './FeedbackBox';
@@ -1,107 +1,109 @@
1
1
  import { Accordion as t } from "./Accordion/Accordion.js";
2
2
  import { AccordionCard as p } from "./AccordionCard/AccordionCard.js";
3
3
  import { ActionList as m } from "./ActionList/ActionList.js";
4
- import { AppStatusBar as a } from "./AppStatusBar/AppStatusBar.js";
4
+ import { AppStatusBar as i } from "./AppStatusBar/AppStatusBar.js";
5
5
  import { Attention as n } from "./Attention/Attention.js";
6
6
  import { Backdrop as c } from "./Backdrop/Backdrop.js";
7
7
  import { ButtonGroup as d } from "./ButtonGroup/ButtonGroup.js";
8
8
  import { Button as B } from "./Buttons/Button.js";
9
- import { LinkButton as b } from "./Buttons/LinkButton.js";
10
- import { MenuButton as C } from "./Buttons/MenuButton.js";
9
+ import { LinkButton as C } from "./Buttons/LinkButton.js";
10
+ import { MenuButton as k } from "./Buttons/MenuButton.js";
11
11
  import { Card as L } from "./Card/Card.js";
12
12
  import { Checkbox as g } from "./Checkbox/Checkbox.js";
13
- import { CheckboxButton as P } from "./CheckboxButton/CheckboxButton.js";
13
+ import { CheckboxButton as I } from "./CheckboxButton/CheckboxButton.js";
14
14
  import { CheckboxButtonBar as y } from "./CheckboxButtonBar/CheckboxButtonBar.js";
15
15
  import { CheckboxTree as D } from "./CheckboxTree/CheckboxTree.js";
16
- import { Drawer as v } from "./Drawer/Drawer.js";
17
- import { EmptyStateDataDisplay as O } from "./EmptyStateDataDisplay/EmptyStateDataDisplay.js";
18
- import { FeedbackBox as E } from "./FeedbackBox/FeedbackBox.js";
19
- import { FieldHint as H } from "./FieldHint/FieldHint.js";
20
- import { Fieldset as N } from "./Fieldset/Fieldset.js";
21
- import { FormField as q } from "./FormField/FormField.js";
22
- import { FormInput as K } from "./FormInput/FormInput.js";
23
- import { GridRow as U } from "./GridRow/GridRow.js";
24
- import { HorizontalList as W } from "./HorizontalList/HorizontalList.js";
25
- import { Icon as Y } from "./Icon/Icon.js";
26
- import { IconButton as _ } from "./IconButton/IconButton.js";
27
- import { InfoMessage as oo } from "./InfoMessage/InfoMessage.js";
28
- import { Input as to } from "./Input/Input.js";
29
- import { InputField as po } from "./InputField/InputField.js";
30
- import { Label as mo } from "./Label/Label.js";
31
- import { MenuLink as ao } from "./MenuLink/MenuLink.js";
32
- import { MetaDataList as no } from "./MetaDataList/MetaDataList.js";
33
- import { ModalDialog as co } from "./ModalDialog/ModalDialog.js";
34
- import { M as so } from "../TablePlugin-E6UFlCgy.js";
35
- import { OverlayCloseButton as So } from "./OverlayCloseButton/OverlayCloseButton.js";
36
- import { OverlayStepBar as ko } from "./OverlayStepBar/OverlayStepBar.js";
37
- import { PageOverlay as Fo } from "./PageOverlay/PageOverlay.js";
38
- import { Periods as Mo } from "./Periods/Periods.js";
39
- import { PeriodSelector as Io } from "./PeriodSelector/PeriodSelector.js";
40
- import { ProgrammeCard as ho } from "./ProgrammeCard/ProgrammeCard.js";
41
- import { RadioButton as Ao } from "./RadioButton/RadioButton.js";
42
- import { Repeater as Ro } from "./Repeater/Repeater.js";
43
- import { Rte as wo, RteEditor as Oo } from "./RteEditor/RteEditor.js";
44
- import { SectionNotification as Eo } from "./SectionNotification/SectionNotification.js";
45
- import { SelectListbox as Ho } from "./SelectListbox/SelectListbox.js";
46
- import { SelectProvider as No, useSelect as jo } from "./SelectListbox/SelectProvider.js";
47
- import { Sortable as Jo } from "./Sortable/Sortable.js";
48
- import { Spinner as Qo } from "./Spinner/Spinner.js";
49
- import { StatusPill as Vo } from "./StatusPill/StatusPill.js";
50
- import { ToggleSwitch as Xo } from "./ToggleSwitch/ToggleSwitch.js";
51
- import { Tooltip as Zo } from "./Tooltip/Tooltip.js";
16
+ import { Chip as v } from "./Chip/Chip.js";
17
+ import { Drawer as O } from "./Drawer/Drawer.js";
18
+ import { EmptyStateDataDisplay as E } from "./EmptyStateDataDisplay/EmptyStateDataDisplay.js";
19
+ import { FeedbackBox as H } from "./FeedbackBox/FeedbackBox.js";
20
+ import { FieldHint as N } from "./FieldHint/FieldHint.js";
21
+ import { Fieldset as q } from "./Fieldset/Fieldset.js";
22
+ import { FormField as K } from "./FormField/FormField.js";
23
+ import { FormInput as U } from "./FormInput/FormInput.js";
24
+ import { GridRow as W } from "./GridRow/GridRow.js";
25
+ import { HorizontalList as Y } from "./HorizontalList/HorizontalList.js";
26
+ import { Icon as _ } from "./Icon/Icon.js";
27
+ import { IconButton as oo } from "./IconButton/IconButton.js";
28
+ import { InfoMessage as to } from "./InfoMessage/InfoMessage.js";
29
+ import { Input as po } from "./Input/Input.js";
30
+ import { InputField as mo } from "./InputField/InputField.js";
31
+ import { Label as io } from "./Label/Label.js";
32
+ import { MenuLink as no } from "./MenuLink/MenuLink.js";
33
+ import { MetaDataList as co } from "./MetaDataList/MetaDataList.js";
34
+ import { ModalDialog as so } from "./ModalDialog/ModalDialog.js";
35
+ import { M as So } from "../TablePlugin-E6UFlCgy.js";
36
+ import { OverlayCloseButton as bo } from "./OverlayCloseButton/OverlayCloseButton.js";
37
+ import { OverlayStepBar as Fo } from "./OverlayStepBar/OverlayStepBar.js";
38
+ import { PageOverlay as Mo } from "./PageOverlay/PageOverlay.js";
39
+ import { Periods as ho } from "./Periods/Periods.js";
40
+ import { PeriodSelector as Po } from "./PeriodSelector/PeriodSelector.js";
41
+ import { ProgrammeCard as Ao } from "./ProgrammeCard/ProgrammeCard.js";
42
+ import { RadioButton as Ro } from "./RadioButton/RadioButton.js";
43
+ import { Repeater as wo } from "./Repeater/Repeater.js";
44
+ import { Rte as To, RteEditor as Eo } from "./RteEditor/RteEditor.js";
45
+ import { SectionNotification as Ho } from "./SectionNotification/SectionNotification.js";
46
+ import { SelectListbox as No } from "./SelectListbox/SelectListbox.js";
47
+ import { SelectProvider as qo, useSelect as Jo } from "./SelectListbox/SelectProvider.js";
48
+ import { Sortable as Qo } from "./Sortable/Sortable.js";
49
+ import { Spinner as Vo } from "./Spinner/Spinner.js";
50
+ import { StatusPill as Xo } from "./StatusPill/StatusPill.js";
51
+ import { ToggleSwitch as Zo } from "./ToggleSwitch/ToggleSwitch.js";
52
+ import { Tooltip as $o } from "./Tooltip/Tooltip.js";
52
53
  export {
53
54
  t as Accordion,
54
55
  p as AccordionCard,
55
56
  m as ActionList,
56
- a as AppStatusBar,
57
+ i as AppStatusBar,
57
58
  n as Attention,
58
59
  c as Backdrop,
59
60
  B as Button,
60
61
  d as ButtonGroup,
61
62
  L as Card,
62
63
  g as Checkbox,
63
- P as CheckboxButton,
64
+ I as CheckboxButton,
64
65
  y as CheckboxButtonBar,
65
66
  D as CheckboxTree,
66
- v as Drawer,
67
- O as EmptyStateDataDisplay,
68
- E as FeedbackBox,
69
- H as FieldHint,
70
- N as Fieldset,
71
- q as FormField,
72
- K as FormInput,
73
- U as GridRow,
74
- W as HorizontalList,
75
- Y as Icon,
76
- _ as IconButton,
77
- oo as InfoMessage,
78
- to as Input,
79
- po as InputField,
80
- mo as Label,
81
- b as LinkButton,
82
- C as MenuButton,
83
- ao as MenuLink,
84
- no as MetaDataList,
85
- co as ModalDialog,
86
- so as MultiSelect,
87
- So as OverlayCloseButton,
88
- ko as OverlayStepBar,
89
- Fo as PageOverlay,
90
- Io as PeriodSelector,
91
- Mo as Periods,
92
- ho as ProgrammeCard,
93
- Ao as RadioButton,
94
- Ro as Repeater,
95
- wo as Rte,
96
- Oo as RteEditor,
97
- Eo as SectionNotification,
98
- Ho as SelectListbox,
99
- No as SelectProvider,
100
- Jo as Sortable,
101
- Qo as Spinner,
102
- Vo as StatusPill,
103
- Xo as ToggleSwitch,
104
- Zo as Tooltip,
105
- jo as useSelect
67
+ v as Chip,
68
+ O as Drawer,
69
+ E as EmptyStateDataDisplay,
70
+ H as FeedbackBox,
71
+ N as FieldHint,
72
+ q as Fieldset,
73
+ K as FormField,
74
+ U as FormInput,
75
+ W as GridRow,
76
+ Y as HorizontalList,
77
+ _ as Icon,
78
+ oo as IconButton,
79
+ to as InfoMessage,
80
+ po as Input,
81
+ mo as InputField,
82
+ io as Label,
83
+ C as LinkButton,
84
+ k as MenuButton,
85
+ no as MenuLink,
86
+ co as MetaDataList,
87
+ so as ModalDialog,
88
+ So as MultiSelect,
89
+ bo as OverlayCloseButton,
90
+ Fo as OverlayStepBar,
91
+ Mo as PageOverlay,
92
+ Po as PeriodSelector,
93
+ ho as Periods,
94
+ Ao as ProgrammeCard,
95
+ Ro as RadioButton,
96
+ wo as Repeater,
97
+ To as Rte,
98
+ Eo as RteEditor,
99
+ Ho as SectionNotification,
100
+ No as SelectListbox,
101
+ qo as SelectProvider,
102
+ Qo as Sortable,
103
+ Vo as Spinner,
104
+ Xo as StatusPill,
105
+ Zo as ToggleSwitch,
106
+ $o as Tooltip,
107
+ Jo as useSelect
106
108
  };
107
109
  //# 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
@@ -1,107 +1,109 @@
1
1
  import { Accordion as t } from "./components/Accordion/Accordion.js";
2
2
  import { AccordionCard as p } from "./components/AccordionCard/AccordionCard.js";
3
3
  import { ActionList as m } from "./components/ActionList/ActionList.js";
4
- import { AppStatusBar as a } from "./components/AppStatusBar/AppStatusBar.js";
4
+ import { AppStatusBar as i } from "./components/AppStatusBar/AppStatusBar.js";
5
5
  import { Attention as n } from "./components/Attention/Attention.js";
6
6
  import { Backdrop as c } from "./components/Backdrop/Backdrop.js";
7
7
  import { ButtonGroup as d } from "./components/ButtonGroup/ButtonGroup.js";
8
8
  import { Button as B } from "./components/Buttons/Button.js";
9
- import { LinkButton as b } from "./components/Buttons/LinkButton.js";
10
- import { MenuButton as C } from "./components/Buttons/MenuButton.js";
9
+ import { LinkButton as C } from "./components/Buttons/LinkButton.js";
10
+ import { MenuButton as k } from "./components/Buttons/MenuButton.js";
11
11
  import { Card as L } from "./components/Card/Card.js";
12
12
  import { Checkbox as g } from "./components/Checkbox/Checkbox.js";
13
- import { CheckboxButton as P } from "./components/CheckboxButton/CheckboxButton.js";
13
+ import { CheckboxButton as I } from "./components/CheckboxButton/CheckboxButton.js";
14
14
  import { CheckboxButtonBar as y } from "./components/CheckboxButtonBar/CheckboxButtonBar.js";
15
15
  import { CheckboxTree as D } from "./components/CheckboxTree/CheckboxTree.js";
16
- import { Drawer as v } from "./components/Drawer/Drawer.js";
17
- import { EmptyStateDataDisplay as O } from "./components/EmptyStateDataDisplay/EmptyStateDataDisplay.js";
18
- import { FeedbackBox as E } from "./components/FeedbackBox/FeedbackBox.js";
19
- import { FieldHint as H } from "./components/FieldHint/FieldHint.js";
20
- import { Fieldset as N } from "./components/Fieldset/Fieldset.js";
21
- import { FormField as q } from "./components/FormField/FormField.js";
22
- import { FormInput as K } from "./components/FormInput/FormInput.js";
23
- import { GridRow as U } from "./components/GridRow/GridRow.js";
24
- import { HorizontalList as W } from "./components/HorizontalList/HorizontalList.js";
25
- import { Icon as Y } from "./components/Icon/Icon.js";
26
- import { IconButton as _ } from "./components/IconButton/IconButton.js";
27
- import { InfoMessage as oo } from "./components/InfoMessage/InfoMessage.js";
28
- import { Input as to } from "./components/Input/Input.js";
29
- import { InputField as po } from "./components/InputField/InputField.js";
30
- import { Label as mo } from "./components/Label/Label.js";
31
- import { MenuLink as ao } from "./components/MenuLink/MenuLink.js";
32
- import { MetaDataList as no } from "./components/MetaDataList/MetaDataList.js";
33
- import { ModalDialog as co } from "./components/ModalDialog/ModalDialog.js";
34
- import { M as so } from "./TablePlugin-E6UFlCgy.js";
35
- import { OverlayCloseButton as So } from "./components/OverlayCloseButton/OverlayCloseButton.js";
36
- import { OverlayStepBar as ko } from "./components/OverlayStepBar/OverlayStepBar.js";
37
- import { PageOverlay as Fo } from "./components/PageOverlay/PageOverlay.js";
38
- import { Periods as Mo } from "./components/Periods/Periods.js";
39
- import { PeriodSelector as Io } from "./components/PeriodSelector/PeriodSelector.js";
40
- import { ProgrammeCard as ho } from "./components/ProgrammeCard/ProgrammeCard.js";
41
- import { RadioButton as Ao } from "./components/RadioButton/RadioButton.js";
42
- import { Repeater as Ro } from "./components/Repeater/Repeater.js";
43
- import { Rte as wo, RteEditor as Oo } from "./components/RteEditor/RteEditor.js";
44
- import { SectionNotification as Eo } from "./components/SectionNotification/SectionNotification.js";
45
- import { SelectListbox as Ho } from "./components/SelectListbox/SelectListbox.js";
46
- import { SelectProvider as No, useSelect as jo } from "./components/SelectListbox/SelectProvider.js";
47
- import { Sortable as Jo } from "./components/Sortable/Sortable.js";
48
- import { Spinner as Qo } from "./components/Spinner/Spinner.js";
49
- import { StatusPill as Vo } from "./components/StatusPill/StatusPill.js";
50
- import { ToggleSwitch as Xo } from "./components/ToggleSwitch/ToggleSwitch.js";
51
- import { Tooltip as Zo } from "./components/Tooltip/Tooltip.js";
16
+ import { Chip as v } from "./components/Chip/Chip.js";
17
+ import { Drawer as O } from "./components/Drawer/Drawer.js";
18
+ import { EmptyStateDataDisplay as E } from "./components/EmptyStateDataDisplay/EmptyStateDataDisplay.js";
19
+ import { FeedbackBox as H } from "./components/FeedbackBox/FeedbackBox.js";
20
+ import { FieldHint as N } from "./components/FieldHint/FieldHint.js";
21
+ import { Fieldset as q } from "./components/Fieldset/Fieldset.js";
22
+ import { FormField as K } from "./components/FormField/FormField.js";
23
+ import { FormInput as U } from "./components/FormInput/FormInput.js";
24
+ import { GridRow as W } from "./components/GridRow/GridRow.js";
25
+ import { HorizontalList as Y } from "./components/HorizontalList/HorizontalList.js";
26
+ import { Icon as _ } from "./components/Icon/Icon.js";
27
+ import { IconButton as oo } from "./components/IconButton/IconButton.js";
28
+ import { InfoMessage as to } from "./components/InfoMessage/InfoMessage.js";
29
+ import { Input as po } from "./components/Input/Input.js";
30
+ import { InputField as mo } from "./components/InputField/InputField.js";
31
+ import { Label as io } from "./components/Label/Label.js";
32
+ import { MenuLink as no } from "./components/MenuLink/MenuLink.js";
33
+ import { MetaDataList as co } from "./components/MetaDataList/MetaDataList.js";
34
+ import { ModalDialog as so } from "./components/ModalDialog/ModalDialog.js";
35
+ import { M as So } from "./TablePlugin-E6UFlCgy.js";
36
+ import { OverlayCloseButton as bo } from "./components/OverlayCloseButton/OverlayCloseButton.js";
37
+ import { OverlayStepBar as Fo } from "./components/OverlayStepBar/OverlayStepBar.js";
38
+ import { PageOverlay as Mo } from "./components/PageOverlay/PageOverlay.js";
39
+ import { Periods as ho } from "./components/Periods/Periods.js";
40
+ import { PeriodSelector as Po } from "./components/PeriodSelector/PeriodSelector.js";
41
+ import { ProgrammeCard as Ao } from "./components/ProgrammeCard/ProgrammeCard.js";
42
+ import { RadioButton as Ro } from "./components/RadioButton/RadioButton.js";
43
+ import { Repeater as wo } from "./components/Repeater/Repeater.js";
44
+ import { Rte as To, RteEditor as Eo } from "./components/RteEditor/RteEditor.js";
45
+ import { SectionNotification as Ho } from "./components/SectionNotification/SectionNotification.js";
46
+ import { SelectListbox as No } from "./components/SelectListbox/SelectListbox.js";
47
+ import { SelectProvider as qo, useSelect as Jo } from "./components/SelectListbox/SelectProvider.js";
48
+ import { Sortable as Qo } from "./components/Sortable/Sortable.js";
49
+ import { Spinner as Vo } from "./components/Spinner/Spinner.js";
50
+ import { StatusPill as Xo } from "./components/StatusPill/StatusPill.js";
51
+ import { ToggleSwitch as Zo } from "./components/ToggleSwitch/ToggleSwitch.js";
52
+ import { Tooltip as $o } from "./components/Tooltip/Tooltip.js";
52
53
  export {
53
54
  t as Accordion,
54
55
  p as AccordionCard,
55
56
  m as ActionList,
56
- a as AppStatusBar,
57
+ i as AppStatusBar,
57
58
  n as Attention,
58
59
  c as Backdrop,
59
60
  B as Button,
60
61
  d as ButtonGroup,
61
62
  L as Card,
62
63
  g as Checkbox,
63
- P as CheckboxButton,
64
+ I as CheckboxButton,
64
65
  y as CheckboxButtonBar,
65
66
  D as CheckboxTree,
66
- v as Drawer,
67
- O as EmptyStateDataDisplay,
68
- E as FeedbackBox,
69
- H as FieldHint,
70
- N as Fieldset,
71
- q as FormField,
72
- K as FormInput,
73
- U as GridRow,
74
- W as HorizontalList,
75
- Y as Icon,
76
- _ as IconButton,
77
- oo as InfoMessage,
78
- to as Input,
79
- po as InputField,
80
- mo as Label,
81
- b as LinkButton,
82
- C as MenuButton,
83
- ao as MenuLink,
84
- no as MetaDataList,
85
- co as ModalDialog,
86
- so as MultiSelect,
87
- So as OverlayCloseButton,
88
- ko as OverlayStepBar,
89
- Fo as PageOverlay,
90
- Io as PeriodSelector,
91
- Mo as Periods,
92
- ho as ProgrammeCard,
93
- Ao as RadioButton,
94
- Ro as Repeater,
95
- wo as Rte,
96
- Oo as RteEditor,
97
- Eo as SectionNotification,
98
- Ho as SelectListbox,
99
- No as SelectProvider,
100
- Jo as Sortable,
101
- Qo as Spinner,
102
- Vo as StatusPill,
103
- Xo as ToggleSwitch,
104
- Zo as Tooltip,
105
- jo as useSelect
67
+ v as Chip,
68
+ O as Drawer,
69
+ E as EmptyStateDataDisplay,
70
+ H as FeedbackBox,
71
+ N as FieldHint,
72
+ q as Fieldset,
73
+ K as FormField,
74
+ U as FormInput,
75
+ W as GridRow,
76
+ Y as HorizontalList,
77
+ _ as Icon,
78
+ oo as IconButton,
79
+ to as InfoMessage,
80
+ po as Input,
81
+ mo as InputField,
82
+ io as Label,
83
+ C as LinkButton,
84
+ k as MenuButton,
85
+ no as MenuLink,
86
+ co as MetaDataList,
87
+ so as ModalDialog,
88
+ So as MultiSelect,
89
+ bo as OverlayCloseButton,
90
+ Fo as OverlayStepBar,
91
+ Mo as PageOverlay,
92
+ Po as PeriodSelector,
93
+ ho as Periods,
94
+ Ao as ProgrammeCard,
95
+ Ro as RadioButton,
96
+ wo as Repeater,
97
+ To as Rte,
98
+ Eo as RteEditor,
99
+ Ho as SectionNotification,
100
+ No as SelectListbox,
101
+ qo as SelectProvider,
102
+ Qo as Sortable,
103
+ Vo as Spinner,
104
+ Xo as StatusPill,
105
+ Zo as ToggleSwitch,
106
+ $o as Tooltip,
107
+ Jo as useSelect
106
108
  };
107
109
  //# 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.4.0",
5
+ "version": "2.5.0",
6
6
  "type": "module",
7
7
  "main": "dist/index.js",
8
8
  "types": "dist/index.d.ts",
@@ -58,9 +58,9 @@
58
58
  "@storybook/react-vite": "^8.4.7",
59
59
  "@storybook/react": "^8.4.7",
60
60
  "@storybook/test": "^8.4.7",
61
- "@types/node": "^22.10.1",
62
- "@types/react-dom": "^18.3.3",
63
- "@types/react": "^18.3.14",
61
+ "@types/node": "^22.10.2",
62
+ "@types/react-dom": "^18.3.5",
63
+ "@types/react": "^18.3.16",
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",
@@ -81,7 +81,7 @@
81
81
  "react": "^18.3.1",
82
82
  "semantic-release": "^24.2.0",
83
83
  "storybook": "^8.4.7",
84
- "style-dictionary": "^4.2.0",
84
+ "style-dictionary": "^4.3.0",
85
85
  "stylelint-config-recommended": "^14.0.1",
86
86
  "stylelint-config-standard": "^36.0.1",
87
87
  "stylelint-order": "^6.0.4",