@uva-glass/component-library 3.24.0 → 3.25.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/assets/ExpandableInfoPanel.css +1 -0
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.d.ts +14 -0
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js +50 -0
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js.map +1 -0
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.d.ts +5 -0
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js +31 -0
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js.map +1 -0
- package/dist/components/ExpandableInfoPanel/index.d.ts +1 -0
- package/dist/components/ExpandableInfoPanel/index.js +5 -0
- package/dist/components/ExpandableInfoPanel/index.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +98 -96
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +98 -96
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._expandable-info-panel_wrapper_v55q8_1{display:flex;flex-direction:column;width:100%}._expandable-info-panel_header_v55q8_7{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding-bottom:.5rem;width:100%}._expandable-info-panel_trigger_v55q8_16{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:.25rem;display:flex;font-size:var(--font-size-default);gap:.5rem;height:2.75rem;margin-bottom:0;outline:none;padding:.5rem;position:relative;width:fit-content}._expandable-info-panel_trigger_v55q8_16:focus-visible{outline:.125rem dotted var(--new-color-navy-600);outline-offset:.125rem;text-decoration:underline}._expandable-info-panel_trigger_v55q8_16:hover{background-color:var(--new-color-grey-200);text-decoration:underline}._expandable-info-panel_trigger--active_v55q8_44{background-color:var(--new-color-navy-200);border-radius:.25rem .25rem 0 0}._expandable-info-panel_trigger--active_v55q8_44:after{background-color:var(--new-color-navy-200);content:"";display:block;height:.5rem;left:0;position:absolute;right:0;top:100%;z-index:-1}._expandable-info-panel_trigger--active_v55q8_44:hover,._expandable-info-panel_trigger--active_v55q8_44:hover:after{background-color:var(--new-color-navy-300)}._expandable-info-panel_content-wrapper_v55q8_66{align-items:start;background-color:var(--new-color-navy-200);display:grid;gap:1rem;grid-template-columns:1.5rem 1fr;padding:1.5rem}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ExpandableInfoPanelProps {
|
|
3
|
+
/** Label for the trigger button that toggles the expandable panel. */
|
|
4
|
+
triggerLabel: string;
|
|
5
|
+
/** Main header displayed inline left of the trigger button. */
|
|
6
|
+
mainHeader?: ReactNode | string;
|
|
7
|
+
/** Aria-label for the button when the panel is collapsed. */
|
|
8
|
+
collapseLabel?: string;
|
|
9
|
+
/** Aria-label for the button when the panel is expanded. */
|
|
10
|
+
expandLabel?: string;
|
|
11
|
+
/** Content to be displayed inside the expandable panel. */
|
|
12
|
+
content: ReactNode | string;
|
|
13
|
+
}
|
|
14
|
+
export declare const ExpandableInfoPanel: ({ triggerLabel, mainHeader, collapseLabel, expandLabel, content, }: ExpandableInfoPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs as n, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useId as f } from "react";
|
|
3
|
+
import { c as x } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import { Icon as r } from "../Icon/Icon.js";
|
|
5
|
+
import '../../assets/ExpandableInfoPanel.css';const a = {
|
|
6
|
+
"expandable-info-panel_wrapper": "_expandable-info-panel_wrapper_v55q8_1",
|
|
7
|
+
"expandable-info-panel_header": "_expandable-info-panel_header_v55q8_7",
|
|
8
|
+
"expandable-info-panel_trigger": "_expandable-info-panel_trigger_v55q8_16",
|
|
9
|
+
"expandable-info-panel_trigger--active": "_expandable-info-panel_trigger--active_v55q8_44",
|
|
10
|
+
"expandable-info-panel_content-wrapper": "_expandable-info-panel_content-wrapper_v55q8_66"
|
|
11
|
+
}, h = ({
|
|
12
|
+
triggerLabel: l,
|
|
13
|
+
mainHeader: o,
|
|
14
|
+
collapseLabel: t = "",
|
|
15
|
+
expandLabel: d = "",
|
|
16
|
+
content: _
|
|
17
|
+
}) => {
|
|
18
|
+
const [e, c] = s(!1), i = f();
|
|
19
|
+
return /* @__PURE__ */ n("div", { className: a["expandable-info-panel_wrapper"], children: [
|
|
20
|
+
/* @__PURE__ */ n("div", { className: a["expandable-info-panel_header"], children: [
|
|
21
|
+
o,
|
|
22
|
+
/* @__PURE__ */ n(
|
|
23
|
+
"button",
|
|
24
|
+
{
|
|
25
|
+
className: x(a["expandable-info-panel_trigger"], {
|
|
26
|
+
[a["expandable-info-panel_trigger--active"]]: e
|
|
27
|
+
}),
|
|
28
|
+
type: "button",
|
|
29
|
+
"aria-expanded": e,
|
|
30
|
+
"aria-controls": i,
|
|
31
|
+
"aria-label": `${l} - ${e ? t : d}`,
|
|
32
|
+
onClick: () => c(!e),
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ p(r, { name: e ? "SquareInfoSolid" : "SquareInfo", size: 24 }),
|
|
35
|
+
l,
|
|
36
|
+
/* @__PURE__ */ p(r, { name: e ? "CheveronUp" : "CheveronDown", size: 16 })
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
] }),
|
|
41
|
+
e && /* @__PURE__ */ n("div", { id: i, className: a["expandable-info-panel_content-wrapper"], children: [
|
|
42
|
+
/* @__PURE__ */ p(r, { name: "SquareInfo", size: 24 }),
|
|
43
|
+
/* @__PURE__ */ p("div", { children: _ })
|
|
44
|
+
] })
|
|
45
|
+
] });
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
h as ExpandableInfoPanel
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=ExpandableInfoPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandableInfoPanel.js","sources":["../../../src/components/ExpandableInfoPanel/ExpandableInfoPanel.tsx"],"sourcesContent":["import { useState, type ReactNode } from 'react';\r\nimport clsx from 'clsx';\r\nimport { useId } from 'react';\r\n\r\nimport styles from './ExpandableInfoPanel.module.css';\r\n\r\nimport { Icon } from 'components/Icon';\r\n\r\nexport interface ExpandableInfoPanelProps {\r\n /** Label for the trigger button that toggles the expandable panel. */\r\n triggerLabel: string;\r\n /** Main header displayed inline left of the trigger button. */\r\n mainHeader?: ReactNode | string;\r\n /** Aria-label for the button when the panel is collapsed. */\r\n collapseLabel?: string;\r\n /** Aria-label for the button when the panel is expanded. */\r\n expandLabel?: string;\r\n /** Content to be displayed inside the expandable panel. */\r\n content: ReactNode | string;\r\n}\r\n\r\nexport const ExpandableInfoPanel = ({\r\n triggerLabel,\r\n mainHeader,\r\n collapseLabel = '',\r\n expandLabel = '',\r\n content,\r\n}: ExpandableInfoPanelProps) => {\r\n const [active, setActive] = useState(false);\r\n const contentId = useId();\r\n\r\n return (\r\n <div className={styles['expandable-info-panel_wrapper']}>\r\n <div className={styles['expandable-info-panel_header']}>\r\n {mainHeader}\r\n <button\r\n className={clsx(styles['expandable-info-panel_trigger'], {\r\n [styles['expandable-info-panel_trigger--active']]: active,\r\n })}\r\n type=\"button\"\r\n aria-expanded={active}\r\n aria-controls={contentId}\r\n aria-label={`${triggerLabel} - ${active ? collapseLabel : expandLabel}`}\r\n onClick={() => setActive(!active)}\r\n >\r\n <Icon name={active ? 'SquareInfoSolid' : 'SquareInfo'} size={24} />\r\n {triggerLabel}\r\n <Icon name={active ? 'CheveronUp' : 'CheveronDown'} size={16} />\r\n </button>\r\n </div>\r\n {active && (\r\n <div id={contentId} className={styles['expandable-info-panel_content-wrapper']}>\r\n <Icon name=\"SquareInfo\" size={24} />\r\n <div>{content}</div>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n};\r\n"],"names":["ExpandableInfoPanel","triggerLabel","mainHeader","collapseLabel","expandLabel","content","active","setActive","useState","contentId","useId","jsxs","styles","clsx","jsx","Icon"],"mappings":";;;;;;;;;;GAqBaA,IAAsB,CAAC;AAAA,EAClC,cAAAC;AAAA,EACA,YAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,aAAAC,IAAc;AAAA,EACd,SAAAC;AACF,MAAgC;AAC9B,QAAM,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAK,GACpCC,IAAYC,EAAM;AAExB,SACG,gBAAAC,EAAA,OAAA,EAAI,WAAWC,EAAO,+BAA+B,GACpD,UAAA;AAAA,IAAA,gBAAAD,EAAC,OAAI,EAAA,WAAWC,EAAO,8BAA8B,GAClD,UAAA;AAAA,MAAAV;AAAA,MACD,gBAAAS;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAWE,EAAKD,EAAO,+BAA+B,GAAG;AAAA,YACvD,CAACA,EAAO,uCAAuC,CAAC,GAAGN;AAAA,UAAA,CACpD;AAAA,UACD,MAAK;AAAA,UACL,iBAAeA;AAAA,UACf,iBAAeG;AAAA,UACf,cAAY,GAAGR,CAAY,MAAMK,IAASH,IAAgBC,CAAW;AAAA,UACrE,SAAS,MAAMG,EAAU,CAACD,CAAM;AAAA,UAEhC,UAAA;AAAA,YAAA,gBAAAQ,EAACC,KAAK,MAAMT,IAAS,oBAAoB,cAAc,MAAM,IAAI;AAAA,YAChEL;AAAA,8BACAc,GAAK,EAAA,MAAMT,IAAS,eAAe,gBAAgB,MAAM,GAAI,CAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAChE,GACF;AAAA,IACCA,uBACE,OAAI,EAAA,IAAIG,GAAW,WAAWG,EAAO,uCAAuC,GAC3E,UAAA;AAAA,MAAA,gBAAAE,EAACC,GAAK,EAAA,MAAK,cAAa,MAAM,IAAI;AAAA,MAClC,gBAAAD,EAAC,SAAK,UAAQT,EAAA,CAAA;AAAA,IAAA,EAChB,CAAA;AAAA,EAAA,GAEJ;AAEJ;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ExpandableInfoPanelProps } from './ExpandableInfoPanel';
|
|
3
|
+
declare const _default: Meta<ExpandableInfoPanelProps>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const ExpandableInfoPanelExample: import('@storybook/core/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ExpandableInfoPanelProps>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e, Fragment as t } from "react/jsx-runtime";
|
|
2
|
+
import { ExpandableInfoPanel as n } from "./ExpandableInfoPanel.js";
|
|
3
|
+
const r = "<ExpandableInfoPanel triggerLabel={string} mainHeader={string or reactnode} collapseLabel={string} expandLabel={string} content={string or reactnode} />", p = {
|
|
4
|
+
title: "Molecules/ExpandableInfoPanel",
|
|
5
|
+
component: n,
|
|
6
|
+
parameters: {
|
|
7
|
+
inspectComponent: n,
|
|
8
|
+
codeString: r
|
|
9
|
+
}
|
|
10
|
+
}, o = (i) => /* @__PURE__ */ a(t, { children: [
|
|
11
|
+
/* @__PURE__ */ e(n, { ...i }),
|
|
12
|
+
/* @__PURE__ */ e("div", { style: { marginTop: "1rem" }, children: "De universiteit biedt een breed scala aan vakken aan, variërend van exacte wetenschappen tot geesteswetenschappen. Studenten kunnen kiezen uit uitdagende keuzevakken, minors en specialisaties die hun studie verrijken. Deze vaklaanbiedingen stimuleren interdisciplinair leren, persoonlijke ontwikkeling en academische verdieping, afgestemd op actuele maatschappelijke vraagstukken en de behoeften van de arbeidsmarkt." })
|
|
13
|
+
] }), s = o.bind({});
|
|
14
|
+
s.args = {
|
|
15
|
+
triggerLabel: "Wat moet ik doen?",
|
|
16
|
+
mainHeader: /* @__PURE__ */ e("h1", { children: "Basisgegevens" }),
|
|
17
|
+
collapseLabel: "Sluit informatiepaneel",
|
|
18
|
+
expandLabel: "Open informatiepaneel",
|
|
19
|
+
content: /* @__PURE__ */ a(t, { children: [
|
|
20
|
+
/* @__PURE__ */ e("h3", { style: { marginTop: "0" }, children: "Wat moet ik doen?" }),
|
|
21
|
+
/* @__PURE__ */ e("span", { children: "Controleer de onderstaande basisgegevens. Klik daarna op ‘Start’ om te beginnen met het invoeren van de roosterwensen. Je kunt tussentijds opslaan en op een later moment verdergaan." }),
|
|
22
|
+
/* @__PURE__ */ e("br", {}),
|
|
23
|
+
/* @__PURE__ */ e("br", {}),
|
|
24
|
+
/* @__PURE__ */ e("span", { children: "Kloppen de gegevens niet? Neem contact op met de opleidingscoördinator." })
|
|
25
|
+
] })
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
s as ExpandableInfoPanelExample,
|
|
29
|
+
p as default
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=ExpandableInfoPanel.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpandableInfoPanel.stories.js","sources":["../../../src/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.tsx"],"sourcesContent":["import type { Meta, StoryFn } from '@storybook/react';\r\nimport type { ExpandableInfoPanelProps } from './ExpandableInfoPanel';\r\n\r\nimport { ExpandableInfoPanel } from './ExpandableInfoPanel';\r\n\r\nconst codeString =\r\n '<ExpandableInfoPanel triggerLabel={string} mainHeader={string or reactnode} collapseLabel={string} expandLabel={string} content={string or reactnode} />';\r\n\r\n// eslint-disable-next-line import/no-default-export\r\nexport default {\r\n title: 'Molecules/ExpandableInfoPanel',\r\n component: ExpandableInfoPanel,\r\n parameters: {\r\n inspectComponent: ExpandableInfoPanel,\r\n codeString: codeString,\r\n },\r\n} as Meta<ExpandableInfoPanelProps>;\r\n\r\nconst Template: StoryFn<ExpandableInfoPanelProps> = (args) => (\r\n <>\r\n <ExpandableInfoPanel {...args} />\r\n <div style={{ marginTop: '1rem' }}>\r\n De universiteit biedt een breed scala aan vakken aan, variërend van exacte wetenschappen tot geesteswetenschappen.\r\n Studenten kunnen kiezen uit uitdagende keuzevakken, minors en specialisaties die hun studie verrijken. Deze\r\n vaklaanbiedingen stimuleren interdisciplinair leren, persoonlijke ontwikkeling en academische verdieping,\r\n afgestemd op actuele maatschappelijke vraagstukken en de behoeften van de arbeidsmarkt.\r\n </div>\r\n </>\r\n);\r\n\r\nexport const ExpandableInfoPanelExample = Template.bind({});\r\nExpandableInfoPanelExample.args = {\r\n triggerLabel: 'Wat moet ik doen?',\r\n mainHeader: <h1>Basisgegevens</h1>,\r\n collapseLabel: 'Sluit informatiepaneel',\r\n expandLabel: 'Open informatiepaneel',\r\n content: (\r\n <>\r\n <h3 style={{ marginTop: '0' }}>Wat moet ik doen?</h3>\r\n <span>\r\n Controleer de onderstaande basisgegevens. Klik daarna op ‘Start’ om te beginnen met het invoeren van de\r\n roosterwensen. Je kunt tussentijds opslaan en op een later moment verdergaan.\r\n </span>\r\n <br />\r\n <br />\r\n <span>Kloppen de gegevens niet? Neem contact op met de opleidingscoördinator.</span>\r\n </>\r\n ),\r\n};\r\n"],"names":["codeString","ExpandableInfoPanel_stories","ExpandableInfoPanel","Template","args","jsxs","Fragment","jsx","ExpandableInfoPanelExample"],"mappings":";;AAKA,MAAMA,IACJ,4JAGaC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EAAA;AAEJ,GAEMG,IAA8C,CAACC,MAEjD,gBAAAC,EAAAC,GAAA,EAAA,UAAA;AAAA,EAAC,gBAAAC,EAAAL,GAAA,EAAqB,GAAGE,GAAM;AAAA,oBAC9B,OAAI,EAAA,OAAO,EAAE,WAAW,UAAU,UAKnC,maAAA,CAAA;AAAA,GACF,GAGWI,IAA6BL,EAAS,KAAK,CAAE,CAAA;AAC1DK,EAA2B,OAAO;AAAA,EAChC,cAAc;AAAA,EACd,YAAa,gBAAAD,EAAA,MAAA,EAAG,UAAa,gBAAA,CAAA;AAAA,EAC7B,eAAe;AAAA,EACf,aAAa;AAAA,EACb,SAEI,gBAAAF,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAAC,QAAG,OAAO,EAAE,WAAW,OAAO,UAAiB,qBAAA;AAAA,IAChD,gBAAAA,EAAC,UAAK,UAGN,wLAAA,CAAA;AAAA,sBACC,MAAG,EAAA;AAAA,sBACH,MAAG,EAAA;AAAA,IACJ,gBAAAA,EAAC,UAAK,UAAuE,0EAAA,CAAA;AAAA,EAAA,EAC/E,CAAA;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ExpandableInfoPanel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -14,6 +14,7 @@ export * from './Chip';
|
|
|
14
14
|
export * from './ControlsButton';
|
|
15
15
|
export * from './Drawer';
|
|
16
16
|
export * from './EmptyStateDataDisplay';
|
|
17
|
+
export * from './ExpandableInfoPanel';
|
|
17
18
|
export * from './FeedbackBar';
|
|
18
19
|
export * from './FeedbackBox';
|
|
19
20
|
export * from './FieldHint';
|
package/dist/components/index.js
CHANGED
|
@@ -7,57 +7,58 @@ 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
|
|
11
|
-
import { Card as
|
|
10
|
+
import { MenuButton as I } from "./Buttons/MenuButton.js";
|
|
11
|
+
import { Card as F } from "./Card/Card.js";
|
|
12
12
|
import { Checkbox as g } from "./Checkbox/Checkbox.js";
|
|
13
|
-
import { CheckboxButtonBar as
|
|
14
|
-
import { CheckboxTree as
|
|
13
|
+
import { CheckboxButtonBar as P } from "./CheckboxButtonBar/CheckboxButtonBar.js";
|
|
14
|
+
import { CheckboxTree as A } from "./CheckboxTree/CheckboxTree.js";
|
|
15
15
|
import { Chip as y } from "./Chip/Chip.js";
|
|
16
16
|
import { ControlsButton as T } from "./ControlsButton/ControlsButton.js";
|
|
17
17
|
import { Drawer as w } from "./Drawer/Drawer.js";
|
|
18
|
-
import { EmptyStateDataDisplay as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
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 {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
18
|
+
import { EmptyStateDataDisplay as G } from "./EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
19
|
+
import { ExpandableInfoPanel as H } from "./ExpandableInfoPanel/ExpandableInfoPanel.js";
|
|
20
|
+
import { FeedbackBar as N } from "./FeedbackBar/FeedbackBar.js";
|
|
21
|
+
import { FeedbackBox as j } from "./FeedbackBox/FeedbackBox.js";
|
|
22
|
+
import { FieldHint as J } from "./FieldHint/FieldHint.js";
|
|
23
|
+
import { Fieldset as Q } from "./Fieldset/Fieldset.js";
|
|
24
|
+
import { FormField as W } from "./FormField/FormField.js";
|
|
25
|
+
import { FormInput as Y } from "./FormInput/FormInput.js";
|
|
26
|
+
import { GridRow as _ } from "./GridRow/GridRow.js";
|
|
27
|
+
import { HorizontalList as oo } from "./HorizontalList/HorizontalList.js";
|
|
28
|
+
import { Icon as to } from "./Icon/Icon.js";
|
|
29
|
+
import { IconButton as po } from "./IconButton/IconButton.js";
|
|
30
|
+
import { InfoBanner as mo } from "./InfoBanner/InfoBanner.js";
|
|
31
|
+
import { InfoMessage as ao } from "./InfoMessage/InfoMessage.js";
|
|
32
|
+
import { Input as no } from "./Input/Input.js";
|
|
33
|
+
import { InputField as co } from "./InputField/InputField.js";
|
|
34
|
+
import { Label as Bo } from "./Label/Label.js";
|
|
35
|
+
import { MenuLink as So } from "./MenuLink/MenuLink.js";
|
|
36
|
+
import { MetaDataList as Co } from "./MetaDataList/MetaDataList.js";
|
|
37
|
+
import { ModalDialog as ko } from "./ModalDialog/ModalDialog.js";
|
|
38
|
+
import { M as Mo } from "../TablePlugin-Bj5FObQ_.js";
|
|
39
|
+
import { MultiSelectBox as Lo } from "./MultiSelectBox/MultiSelectBox.js";
|
|
40
|
+
import { OverlayCloseButton as Ro } from "./OverlayCloseButton/OverlayCloseButton.js";
|
|
41
|
+
import { OverlayStepBar as ho } from "./OverlayStepBar/OverlayStepBar.js";
|
|
42
|
+
import { PageOverlay as Do } from "./PageOverlay/PageOverlay.js";
|
|
43
|
+
import { Periods as vo } from "./Periods/Periods.js";
|
|
44
|
+
import { PeriodSelector as Eo } from "./PeriodSelector/PeriodSelector.js";
|
|
45
|
+
import { ProgrammeCard as Oo } from "./ProgrammeCard/ProgrammeCard.js";
|
|
46
|
+
import { RadioButton as zo } from "./RadioButton/RadioButton.js";
|
|
47
|
+
import { RadioGroup as Vo } from "./RadioGroup/RadioGroup.js";
|
|
48
|
+
import { RadioTabSelector as qo } from "./RadioTabSelector/RadioTabSelector.js";
|
|
49
|
+
import { Repeater as Ko } from "./Repeater/Repeater.js";
|
|
50
|
+
import { Rte as Uo, RteEditor as Wo } from "./RteEditor/RteEditor.js";
|
|
51
|
+
import { SectionNotification as Yo } from "./SectionNotification/SectionNotification.js";
|
|
52
|
+
import { SelectListbox as _o } from "./SelectListbox/SelectListbox.js";
|
|
53
|
+
import { SelectProvider as or, useSelect as rr } from "./SelectListbox/SelectProvider.js";
|
|
54
|
+
import { Sortable as er } from "./Sortable/Sortable.js";
|
|
55
|
+
import { Spinner as xr } from "./Spinner/Spinner.js";
|
|
56
|
+
import { StatusBadge as fr } from "./StatusBadge/StatusBage.js";
|
|
57
|
+
import { StatusPill as ir } from "./StatusPill/StatusPill.js";
|
|
58
|
+
import { TextArea as lr } from "./TextArea/TextArea.js";
|
|
59
|
+
import { ToggleSwitch as dr } from "./ToggleSwitch/ToggleSwitch.js";
|
|
60
|
+
import { Tooltip as Br } from "./Tooltip/Tooltip.js";
|
|
61
|
+
import { VarIndicator as Sr } from "./VarIndicator/VarIndicator.js";
|
|
61
62
|
export {
|
|
62
63
|
t as Accordion,
|
|
63
64
|
p as AccordionCard,
|
|
@@ -67,59 +68,60 @@ export {
|
|
|
67
68
|
c as Backdrop,
|
|
68
69
|
s as Button,
|
|
69
70
|
u as ButtonGroup,
|
|
70
|
-
|
|
71
|
+
F as Card,
|
|
71
72
|
g as Checkbox,
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
P as CheckboxButtonBar,
|
|
74
|
+
A as CheckboxTree,
|
|
74
75
|
y as Chip,
|
|
75
76
|
T as ControlsButton,
|
|
76
77
|
w as Drawer,
|
|
77
|
-
|
|
78
|
-
H as
|
|
79
|
-
N as
|
|
80
|
-
j as
|
|
81
|
-
J as
|
|
82
|
-
Q as
|
|
83
|
-
W as
|
|
84
|
-
Y as
|
|
85
|
-
_ as
|
|
86
|
-
oo as
|
|
87
|
-
to as
|
|
88
|
-
po as
|
|
89
|
-
mo as
|
|
90
|
-
ao as
|
|
91
|
-
no as
|
|
92
|
-
co as
|
|
78
|
+
G as EmptyStateDataDisplay,
|
|
79
|
+
H as ExpandableInfoPanel,
|
|
80
|
+
N as FeedbackBar,
|
|
81
|
+
j as FeedbackBox,
|
|
82
|
+
J as FieldHint,
|
|
83
|
+
Q as Fieldset,
|
|
84
|
+
W as FormField,
|
|
85
|
+
Y as FormInput,
|
|
86
|
+
_ as GridRow,
|
|
87
|
+
oo as HorizontalList,
|
|
88
|
+
to as Icon,
|
|
89
|
+
po as IconButton,
|
|
90
|
+
mo as InfoBanner,
|
|
91
|
+
ao as InfoMessage,
|
|
92
|
+
no as Input,
|
|
93
|
+
co as InputField,
|
|
94
|
+
Bo as Label,
|
|
93
95
|
b as LinkButton,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
96
|
+
I as MenuButton,
|
|
97
|
+
So as MenuLink,
|
|
98
|
+
Co as MetaDataList,
|
|
99
|
+
ko as ModalDialog,
|
|
100
|
+
Mo as MultiSelect,
|
|
101
|
+
Lo as MultiSelectBox,
|
|
102
|
+
Ro as OverlayCloseButton,
|
|
103
|
+
ho as OverlayStepBar,
|
|
104
|
+
Do as PageOverlay,
|
|
105
|
+
Eo as PeriodSelector,
|
|
106
|
+
vo as Periods,
|
|
107
|
+
Oo as ProgrammeCard,
|
|
108
|
+
zo as RadioButton,
|
|
109
|
+
Vo as RadioGroup,
|
|
110
|
+
qo as RadioTabSelector,
|
|
111
|
+
Ko as Repeater,
|
|
112
|
+
Uo as Rte,
|
|
113
|
+
Wo as RteEditor,
|
|
114
|
+
Yo as SectionNotification,
|
|
115
|
+
_o as SelectListbox,
|
|
116
|
+
or as SelectProvider,
|
|
117
|
+
er as Sortable,
|
|
118
|
+
xr as Spinner,
|
|
119
|
+
fr as StatusBadge,
|
|
120
|
+
ir as StatusPill,
|
|
121
|
+
lr as TextArea,
|
|
122
|
+
dr as ToggleSwitch,
|
|
123
|
+
Br as Tooltip,
|
|
124
|
+
Sr as VarIndicator,
|
|
125
|
+
rr as useSelect
|
|
124
126
|
};
|
|
125
127
|
//# 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
|
@@ -7,57 +7,58 @@ import { Backdrop as c } from "./components/Backdrop/Backdrop.js";
|
|
|
7
7
|
import { ButtonGroup as u } from "./components/ButtonGroup/ButtonGroup.js";
|
|
8
8
|
import { Button as s } from "./components/Buttons/Button.js";
|
|
9
9
|
import { LinkButton as b } from "./components/Buttons/LinkButton.js";
|
|
10
|
-
import { MenuButton as
|
|
11
|
-
import { Card as
|
|
10
|
+
import { MenuButton as I } from "./components/Buttons/MenuButton.js";
|
|
11
|
+
import { Card as F } from "./components/Card/Card.js";
|
|
12
12
|
import { Checkbox as g } from "./components/Checkbox/Checkbox.js";
|
|
13
|
-
import { CheckboxButtonBar as
|
|
14
|
-
import { CheckboxTree as
|
|
13
|
+
import { CheckboxButtonBar as P } from "./components/CheckboxButtonBar/CheckboxButtonBar.js";
|
|
14
|
+
import { CheckboxTree as A } from "./components/CheckboxTree/CheckboxTree.js";
|
|
15
15
|
import { Chip as y } from "./components/Chip/Chip.js";
|
|
16
16
|
import { ControlsButton as T } from "./components/ControlsButton/ControlsButton.js";
|
|
17
17
|
import { Drawer as w } from "./components/Drawer/Drawer.js";
|
|
18
|
-
import { EmptyStateDataDisplay as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
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 {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
18
|
+
import { EmptyStateDataDisplay as G } from "./components/EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
19
|
+
import { ExpandableInfoPanel as H } from "./components/ExpandableInfoPanel/ExpandableInfoPanel.js";
|
|
20
|
+
import { FeedbackBar as N } from "./components/FeedbackBar/FeedbackBar.js";
|
|
21
|
+
import { FeedbackBox as j } from "./components/FeedbackBox/FeedbackBox.js";
|
|
22
|
+
import { FieldHint as J } from "./components/FieldHint/FieldHint.js";
|
|
23
|
+
import { Fieldset as Q } from "./components/Fieldset/Fieldset.js";
|
|
24
|
+
import { FormField as W } from "./components/FormField/FormField.js";
|
|
25
|
+
import { FormInput as Y } from "./components/FormInput/FormInput.js";
|
|
26
|
+
import { GridRow as _ } from "./components/GridRow/GridRow.js";
|
|
27
|
+
import { HorizontalList as oo } from "./components/HorizontalList/HorizontalList.js";
|
|
28
|
+
import { Icon as to } from "./components/Icon/Icon.js";
|
|
29
|
+
import { IconButton as po } from "./components/IconButton/IconButton.js";
|
|
30
|
+
import { InfoBanner as mo } from "./components/InfoBanner/InfoBanner.js";
|
|
31
|
+
import { InfoMessage as ao } from "./components/InfoMessage/InfoMessage.js";
|
|
32
|
+
import { Input as no } from "./components/Input/Input.js";
|
|
33
|
+
import { InputField as co } from "./components/InputField/InputField.js";
|
|
34
|
+
import { Label as Bo } from "./components/Label/Label.js";
|
|
35
|
+
import { MenuLink as So } from "./components/MenuLink/MenuLink.js";
|
|
36
|
+
import { MetaDataList as Co } from "./components/MetaDataList/MetaDataList.js";
|
|
37
|
+
import { ModalDialog as ko } from "./components/ModalDialog/ModalDialog.js";
|
|
38
|
+
import { M as Mo } from "./TablePlugin-Bj5FObQ_.js";
|
|
39
|
+
import { MultiSelectBox as Lo } from "./components/MultiSelectBox/MultiSelectBox.js";
|
|
40
|
+
import { OverlayCloseButton as Ro } from "./components/OverlayCloseButton/OverlayCloseButton.js";
|
|
41
|
+
import { OverlayStepBar as ho } from "./components/OverlayStepBar/OverlayStepBar.js";
|
|
42
|
+
import { PageOverlay as Do } from "./components/PageOverlay/PageOverlay.js";
|
|
43
|
+
import { Periods as vo } from "./components/Periods/Periods.js";
|
|
44
|
+
import { PeriodSelector as Eo } from "./components/PeriodSelector/PeriodSelector.js";
|
|
45
|
+
import { ProgrammeCard as Oo } from "./components/ProgrammeCard/ProgrammeCard.js";
|
|
46
|
+
import { RadioButton as zo } from "./components/RadioButton/RadioButton.js";
|
|
47
|
+
import { RadioGroup as Vo } from "./components/RadioGroup/RadioGroup.js";
|
|
48
|
+
import { RadioTabSelector as qo } from "./components/RadioTabSelector/RadioTabSelector.js";
|
|
49
|
+
import { Repeater as Ko } from "./components/Repeater/Repeater.js";
|
|
50
|
+
import { Rte as Uo, RteEditor as Wo } from "./components/RteEditor/RteEditor.js";
|
|
51
|
+
import { SectionNotification as Yo } from "./components/SectionNotification/SectionNotification.js";
|
|
52
|
+
import { SelectListbox as _o } from "./components/SelectListbox/SelectListbox.js";
|
|
53
|
+
import { SelectProvider as or, useSelect as rr } from "./components/SelectListbox/SelectProvider.js";
|
|
54
|
+
import { Sortable as er } from "./components/Sortable/Sortable.js";
|
|
55
|
+
import { Spinner as xr } from "./components/Spinner/Spinner.js";
|
|
56
|
+
import { StatusBadge as fr } from "./components/StatusBadge/StatusBage.js";
|
|
57
|
+
import { StatusPill as ir } from "./components/StatusPill/StatusPill.js";
|
|
58
|
+
import { TextArea as lr } from "./components/TextArea/TextArea.js";
|
|
59
|
+
import { ToggleSwitch as dr } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
60
|
+
import { Tooltip as Br } from "./components/Tooltip/Tooltip.js";
|
|
61
|
+
import { VarIndicator as Sr } from "./components/VarIndicator/VarIndicator.js";
|
|
61
62
|
export {
|
|
62
63
|
t as Accordion,
|
|
63
64
|
p as AccordionCard,
|
|
@@ -67,59 +68,60 @@ export {
|
|
|
67
68
|
c as Backdrop,
|
|
68
69
|
s as Button,
|
|
69
70
|
u as ButtonGroup,
|
|
70
|
-
|
|
71
|
+
F as Card,
|
|
71
72
|
g as Checkbox,
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
P as CheckboxButtonBar,
|
|
74
|
+
A as CheckboxTree,
|
|
74
75
|
y as Chip,
|
|
75
76
|
T as ControlsButton,
|
|
76
77
|
w as Drawer,
|
|
77
|
-
|
|
78
|
-
H as
|
|
79
|
-
N as
|
|
80
|
-
j as
|
|
81
|
-
J as
|
|
82
|
-
Q as
|
|
83
|
-
W as
|
|
84
|
-
Y as
|
|
85
|
-
_ as
|
|
86
|
-
oo as
|
|
87
|
-
to as
|
|
88
|
-
po as
|
|
89
|
-
mo as
|
|
90
|
-
ao as
|
|
91
|
-
no as
|
|
92
|
-
co as
|
|
78
|
+
G as EmptyStateDataDisplay,
|
|
79
|
+
H as ExpandableInfoPanel,
|
|
80
|
+
N as FeedbackBar,
|
|
81
|
+
j as FeedbackBox,
|
|
82
|
+
J as FieldHint,
|
|
83
|
+
Q as Fieldset,
|
|
84
|
+
W as FormField,
|
|
85
|
+
Y as FormInput,
|
|
86
|
+
_ as GridRow,
|
|
87
|
+
oo as HorizontalList,
|
|
88
|
+
to as Icon,
|
|
89
|
+
po as IconButton,
|
|
90
|
+
mo as InfoBanner,
|
|
91
|
+
ao as InfoMessage,
|
|
92
|
+
no as Input,
|
|
93
|
+
co as InputField,
|
|
94
|
+
Bo as Label,
|
|
93
95
|
b as LinkButton,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
96
|
+
I as MenuButton,
|
|
97
|
+
So as MenuLink,
|
|
98
|
+
Co as MetaDataList,
|
|
99
|
+
ko as ModalDialog,
|
|
100
|
+
Mo as MultiSelect,
|
|
101
|
+
Lo as MultiSelectBox,
|
|
102
|
+
Ro as OverlayCloseButton,
|
|
103
|
+
ho as OverlayStepBar,
|
|
104
|
+
Do as PageOverlay,
|
|
105
|
+
Eo as PeriodSelector,
|
|
106
|
+
vo as Periods,
|
|
107
|
+
Oo as ProgrammeCard,
|
|
108
|
+
zo as RadioButton,
|
|
109
|
+
Vo as RadioGroup,
|
|
110
|
+
qo as RadioTabSelector,
|
|
111
|
+
Ko as Repeater,
|
|
112
|
+
Uo as Rte,
|
|
113
|
+
Wo as RteEditor,
|
|
114
|
+
Yo as SectionNotification,
|
|
115
|
+
_o as SelectListbox,
|
|
116
|
+
or as SelectProvider,
|
|
117
|
+
er as Sortable,
|
|
118
|
+
xr as Spinner,
|
|
119
|
+
fr as StatusBadge,
|
|
120
|
+
ir as StatusPill,
|
|
121
|
+
lr as TextArea,
|
|
122
|
+
dr as ToggleSwitch,
|
|
123
|
+
Br as Tooltip,
|
|
124
|
+
Sr as VarIndicator,
|
|
125
|
+
rr as useSelect
|
|
124
126
|
};
|
|
125
127
|
//# 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": "3.
|
|
5
|
+
"version": "3.25.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@types/jest": "^29.5.14",
|
|
67
67
|
"@types/node": "^22.15.21",
|
|
68
68
|
"@types/react-dom": "^19.1.5",
|
|
69
|
-
"@types/react": "^19.1.
|
|
69
|
+
"@types/react": "^19.1.6",
|
|
70
70
|
"@uva-glass/eslint-config": "^1.3.10",
|
|
71
71
|
"@uva-glass/stylelint-config": "^1.2.2",
|
|
72
72
|
"@vitejs/plugin-react": "^4.5.0",
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
},
|
|
114
114
|
"optionalDependencies": {
|
|
115
115
|
"@rollup/rollup-linux-x64-gnu": "^4.41.1",
|
|
116
|
-
"@rspack/binding-darwin-arm64": "1.3.
|
|
117
|
-
"@rspack/binding-linux-x64-gnu": "1.3.
|
|
116
|
+
"@rspack/binding-darwin-arm64": "1.3.12",
|
|
117
|
+
"@rspack/binding-linux-x64-gnu": "1.3.12",
|
|
118
118
|
"@ast-grep/napi-linux-x64-gnu": "0.38.2"
|
|
119
119
|
}
|
|
120
120
|
}
|