@uva-glass/component-library 3.0.14 → 3.1.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/FeedbackBar.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/CheckboxButton/CheckboxButton.stories.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +2 -2
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FeedbackBar/FeedbackBar.d.ts +3 -0
- package/dist/components/FeedbackBar/FeedbackBar.js +30 -0
- package/dist/components/FeedbackBar/FeedbackBar.js.map +1 -0
- package/dist/components/FeedbackBar/FeedbackBar.stories.d.ts +7 -0
- package/dist/components/FeedbackBar/FeedbackBar.stories.js +33 -0
- package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -0
- package/dist/components/FeedbackBar/FeedbackBar.test.d.ts +0 -0
- package/dist/components/FeedbackBar/FeedbackBar.test.js +14 -0
- package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -0
- package/dist/components/FeedbackBar/index.d.ts +1 -0
- package/dist/components/FeedbackBar/index.js +5 -0
- package/dist/components/FeedbackBar/index.js.map +1 -0
- 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/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/Sortable/Sortable.stories.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 +1 -0
- package/dist/components/index.js +84 -82
- package/dist/components/index.js.map +1 -1
- package/dist/{index-DpyOH4wL.js → index-C7jFUWYs.js} +2 -2
- package/dist/{index-DpyOH4wL.js.map → index-C7jFUWYs.js.map} +1 -1
- package/dist/{index-BldK5xU9.js → index-DH9Vbk37.js} +3 -9
- package/dist/index-DH9Vbk37.js.map +1 -0
- package/dist/index.js +84 -82
- package/dist/index.js.map +1 -1
- package/dist/storybook__react.d.js +1887 -1874
- package/dist/storybook__react.d.js.map +1 -1
- package/package.json +16 -16
- package/dist/index-BldK5xU9.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._feedback-bar_1p46c_1{background-color:var(--color-green-50);border:1px solid var(--color-green-500);border-radius:.5rem;display:flex;font-weight:var(--semibold);gap:.5rem;justify-content:space-between;padding:0 1rem;max-height:0;opacity:0;transition:all .5s}._feedback-bar--visible_1p46c_17{max-height:6.625rem;opacity:1;padding:1rem}._feedback-bar__icon_1p46c_23{color:var(--color-green-500)}._feedback-bar__close-button_1p46c_27{align-items:center;background-color:transparent;border:1px solid transparent;border-radius:.25rem;color:var(--color-black);display:inline-flex;height:1.5rem;justify-content:center;transition:var(--transition-colors);width:1.5rem}._feedback-bar__close-button_1p46c_27:focus-visible{outline:.125rem dotted var(--color-cobalt);outline-offset:.125rem}._feedback-bar__close-button_1p46c_27:hover{background-color:var(--color-green-100);cursor:pointer;outline:0}._feedback-bar__close-button_1p46c_27:after{width:2.625rem;height:2.625rem;content:" ";position:absolute}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a, Fragment as s } from "react/jsx-runtime";
|
|
2
|
-
import { fn as l } from "../../index-
|
|
2
|
+
import { fn as l } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { Button as n } from "./Button.js";
|
|
4
4
|
const c = "<Button variant={variant} onClick={onClictFunction}>{children}</Button>", h = {
|
|
5
5
|
title: "Atoms/Buttons/Button",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a, Fragment as l } from "react/jsx-runtime";
|
|
2
|
-
import { fn as s } from "../../index-
|
|
2
|
+
import { fn as s } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { BrowserRouter as c } from "react-router";
|
|
4
4
|
import { LinkButton as n } from "./LinkButton.js";
|
|
5
5
|
const d = `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, jsxs as s, Fragment as l } from "react/jsx-runtime";
|
|
2
|
-
import { fn as c } from "../../index-
|
|
2
|
+
import { fn as c } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { MenuButton as t } from "./MenuButton.js";
|
|
4
4
|
const d = `
|
|
5
5
|
// Has all LabelHTMLAttributes props available except "className" and "style"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as g, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { fn as e } from "../../index-
|
|
2
|
+
import { fn as e } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { Checkbox as n } from "./Checkbox.js";
|
|
4
4
|
import { FormField as t } from "../FormField/FormField.js";
|
|
5
5
|
import { Label as i } from "../Label/Label.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { fn as n } from "../../index-
|
|
2
|
+
import { fn as n } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { CheckboxButton as o } from "./CheckboxButton.js";
|
|
4
4
|
const a = "<CheckboxButton label={} value={} isChecked={} variant={} disabled={} notValid={} onSetValue={} key={} />", b = {
|
|
5
5
|
title: "Atoms/CheckboxButton",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { fn as l } from "../../index-
|
|
2
|
+
import { fn as l } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { CheckboxButtonBar as e } from "./CheckboxButtonBar.js";
|
|
4
4
|
const a = "<CheckboxButtonBar checkboxes={} defaultValues={} label={} labelPosition={} required={} notValidatedText={} disableGroup={} onSetValues={} />", i = {
|
|
5
5
|
title: "Molecules/CheckboxButtonBar",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _, jsxs as A } from "react/jsx-runtime";
|
|
2
|
-
import { fn as w } from "../../index-
|
|
3
|
-
import { s as g, j as V, V as j } from "../../index-
|
|
2
|
+
import { fn as w } from "../../index-C7jFUWYs.js";
|
|
3
|
+
import { s as g, j as V, V as j } from "../../index-DH9Vbk37.js";
|
|
4
4
|
import { useState as D } from "react";
|
|
5
5
|
import { CheckboxTree as O } from "./CheckboxTree.js";
|
|
6
6
|
import { Chip as I } from "../Chip/Chip.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { fn as t } from "../../index-
|
|
2
|
+
import { fn as t } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { Chip as e } from "./Chip.js";
|
|
4
4
|
const s = "<Chip label={string} onDelete={onDeleteFunction(label)}/>", b = {
|
|
5
5
|
title: "Atoms/Chip",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { OverlayProvider as p } from "@react-aria/overlays";
|
|
3
|
-
import { fn as m } from "../../index-
|
|
3
|
+
import { fn as m } from "../../index-C7jFUWYs.js";
|
|
4
4
|
import { useState as c } from "react";
|
|
5
5
|
import { Drawer as r } from "./Drawer.js";
|
|
6
6
|
import { Button as o } from "../Buttons/Button.js";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs as s, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { useState as l, useEffect as _ } from "react";
|
|
4
|
+
import { Icon as b } from "../Icon/Icon.js";
|
|
5
|
+
import { Repeater as f } from "../Repeater/Repeater.js";
|
|
6
|
+
import '../../assets/FeedbackBar.css';const e = {
|
|
7
|
+
"feedback-bar": "_feedback-bar_1p46c_1",
|
|
8
|
+
"feedback-bar--visible": "_feedback-bar--visible_1p46c_17",
|
|
9
|
+
"feedback-bar__icon": "_feedback-bar__icon_1p46c_23",
|
|
10
|
+
"feedback-bar__close-button": "_feedback-bar__close-button_1p46c_27"
|
|
11
|
+
}, u = ({ children: o }) => {
|
|
12
|
+
const [t, r] = l(!1);
|
|
13
|
+
_(() => {
|
|
14
|
+
r(!0);
|
|
15
|
+
}, []);
|
|
16
|
+
const i = () => {
|
|
17
|
+
r(!1);
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ s("div", { className: a(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
|
|
20
|
+
/* @__PURE__ */ s(f, { flexDirection: "row", children: [
|
|
21
|
+
/* @__PURE__ */ c(b, { className: a(e["feedback-bar__icon"]), name: "CheckCircle" }),
|
|
22
|
+
o
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ c("button", { className: a(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ c(b, { name: "Cross", size: 24 }) })
|
|
25
|
+
] });
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
u as FeedbackBar
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=FeedbackBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBar.js","sources":["../../../src/components/FeedbackBar/FeedbackBar.tsx"],"sourcesContent":["import classNames from 'clsx';\nimport { useEffect, useState, type PropsWithChildren } from 'react';\n\nimport styles from './FeedbackBar.module.css';\n\nimport { Icon } from 'components/Icon';\nimport { Repeater } from 'components/Repeater';\n\n/** Represents a component to show feedback within a Page. */\nexport const FeedbackBar = ({ children }: PropsWithChildren) => {\n const [isVisible, setIsVisible] = useState(false);\n\n useEffect(() => {\n setIsVisible(true);\n }, []);\n\n const close = () => {\n setIsVisible(false);\n };\n\n return (\n <div className={classNames(styles['feedback-bar'], { [styles['feedback-bar--visible']]: isVisible })} role=\"alert\">\n <Repeater flexDirection=\"row\">\n <Icon className={classNames(styles['feedback-bar__icon'])} name=\"CheckCircle\" />\n {children}\n </Repeater>\n <button className={classNames(styles['feedback-bar__close-button'])} type=\"button\" onClick={close}>\n <Icon name=\"Cross\" size={24} />\n </button>\n </div>\n );\n};\n"],"names":["FeedbackBar","children","isVisible","setIsVisible","useState","useEffect","close","classNames","styles","jsxs","Repeater","jsx","Icon"],"mappings":";;;;;;;;;;GASaA,IAAc,CAAC,EAAE,UAAAC,QAAkC;AAC9D,QAAM,CAACC,GAAWC,CAAY,IAAIC,EAAS,EAAK;AAEhD,EAAAC,EAAU,MAAM;AACd,IAAAF,EAAa,EAAI;AAAA,EACnB,GAAG,EAAE;AAEL,QAAMG,IAAQ,MAAM;AAClB,IAAAH,EAAa,EAAK;AAAA,EACpB;AAEA,2BACG,OAAI,EAAA,WAAWI,EAAWC,EAAO,cAAc,GAAG,EAAE,CAACA,EAAO,uBAAuB,CAAC,GAAGN,GAAW,GAAG,MAAK,SACzG,UAAA;AAAA,IAAC,gBAAAO,EAAAC,GAAA,EAAS,eAAc,OACtB,UAAA;AAAA,MAAC,gBAAAC,EAAAC,GAAA,EAAK,WAAWL,EAAWC,EAAO,oBAAoB,CAAC,GAAG,MAAK,eAAc;AAAA,MAC7EP;AAAA,IAAA,GACH;AAAA,sBACC,UAAO,EAAA,WAAWM,EAAWC,EAAO,4BAA4B,CAAC,GAAG,MAAK,UAAS,SAASF,GAC1F,UAAC,gBAAAK,EAAAC,GAAA,EAAK,MAAK,SAAQ,MAAM,IAAI,EAC/B,CAAA;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Meta } from '@storybook/react';
|
|
3
|
+
declare const _default: Meta<PropsWithChildren>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const FeedbackBarExample: import('@storybook/core/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, {
|
|
6
|
+
children?: import('react').ReactNode | undefined;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import { FeedbackBar as r } from "./FeedbackBar.js";
|
|
4
|
+
import { Button as o } from "../Buttons/Button.js";
|
|
5
|
+
import "../Buttons/LinkButton.js";
|
|
6
|
+
import "@react-aria/button";
|
|
7
|
+
import { Repeater as s } from "../Repeater/Repeater.js";
|
|
8
|
+
import { ButtonGroup as m } from "../ButtonGroup/ButtonGroup.js";
|
|
9
|
+
const p = "<FeedbackBar>{children}</FeedbackBar>", C = {
|
|
10
|
+
title: "Molecules/FeedbackBar",
|
|
11
|
+
component: r,
|
|
12
|
+
parameters: {
|
|
13
|
+
inspectComponent: r,
|
|
14
|
+
codeString: p
|
|
15
|
+
}
|
|
16
|
+
}, l = (i) => {
|
|
17
|
+
const [n, t] = c(!1);
|
|
18
|
+
return /* @__PURE__ */ a(s, { children: [
|
|
19
|
+
/* @__PURE__ */ a(m, { children: [
|
|
20
|
+
/* @__PURE__ */ e(o, { variant: "primary", onClick: () => t(!0), children: "Click to open FeedbackBar" }),
|
|
21
|
+
/* @__PURE__ */ e(o, { variant: "primary", onClick: () => t(!1), children: "Click to reset animation for FeedbackBar" })
|
|
22
|
+
] }),
|
|
23
|
+
n && /* @__PURE__ */ e(r, { ...i })
|
|
24
|
+
] });
|
|
25
|
+
}, d = l.bind({});
|
|
26
|
+
d.args = {
|
|
27
|
+
children: "This is example feedback"
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
d as FeedbackBarExample,
|
|
31
|
+
C as default
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=FeedbackBar.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBar.stories.js","sources":["../../../src/components/FeedbackBar/FeedbackBar.stories.tsx"],"sourcesContent":["import { useState, type PropsWithChildren } from 'react';\n\nimport type { Meta, StoryFn } from '@storybook/react';\n\nimport { FeedbackBar } from 'components/FeedbackBar';\nimport { Button } from 'components/Buttons';\nimport { Repeater } from 'components/Repeater';\nimport { ButtonGroup } from 'components/ButtonGroup';\n\nconst codeString = '<FeedbackBar>{children}</FeedbackBar>';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n title: 'Molecules/FeedbackBar',\n component: FeedbackBar,\n parameters: {\n inspectComponent: FeedbackBar,\n codeString: codeString,\n },\n} as Meta<PropsWithChildren>;\n\nconst Template: StoryFn<PropsWithChildren> = (args) => {\n const [isOpen, setIsOpen] = useState(false);\n\n return (\n <Repeater>\n <ButtonGroup>\n <Button variant=\"primary\" onClick={() => setIsOpen(true)}>\n Click to open FeedbackBar\n </Button>\n <Button variant=\"primary\" onClick={() => setIsOpen(false)}>\n Click to reset animation for FeedbackBar\n </Button>\n </ButtonGroup>\n {isOpen && <FeedbackBar {...args} />}\n </Repeater>\n );\n};\n\nexport const FeedbackBarExample = Template.bind({});\nFeedbackBarExample.args = {\n children: 'This is example feedback',\n};\n"],"names":["codeString","FeedbackBar_stories","FeedbackBar","Template","args","isOpen","setIsOpen","useState","Repeater","jsxs","ButtonGroup","jsx","Button","FeedbackBarExample"],"mappings":";;;;;;;;AASA,MAAMA,IAAa,yCAGJC,IAAA;AAAA,EACb,OAAO;AAAA,EACP,WAAWC;AAAA,EACX,YAAY;AAAA,IACV,kBAAkBA;AAAA,IAClB,YAAAF;AAAA,EAAA;AAEJ,GAEMG,IAAuC,CAACC,MAAS;AACrD,QAAM,CAACC,GAAQC,CAAS,IAAIC,EAAS,EAAK;AAE1C,2BACGC,GACC,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAACC,GACC,EAAA,UAAA;AAAA,MAAC,gBAAAC,EAAAC,GAAA,EAAO,SAAQ,WAAU,SAAS,MAAMN,EAAU,EAAI,GAAG,UAE1D,4BAAA,CAAA;AAAA,MACA,gBAAAK,EAACC,KAAO,SAAQ,WAAU,SAAS,MAAMN,EAAU,EAAK,GAAG,UAE3D,2CAAA,CAAA;AAAA,IAAA,GACF;AAAA,IACCD,KAAU,gBAAAM,EAACT,GAAa,EAAA,GAAGE,EAAM,CAAA;AAAA,EAAA,GACpC;AAEJ,GAEaS,IAAqBV,EAAS,KAAK,CAAE,CAAA;AAClDU,EAAmB,OAAO;AAAA,EACxB,UAAU;AACZ;"}
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "../../index-Z7qwJmRM.js";
|
|
3
|
+
import { r as s, s as e, f as r } from "../../react.esm-BOUd0cvD.js";
|
|
4
|
+
import { FeedbackBar as c } from "./FeedbackBar.js";
|
|
5
|
+
describe("FeedbackBar", () => {
|
|
6
|
+
it("should render with children text", () => {
|
|
7
|
+
s(/* @__PURE__ */ t(c, { children: "My feedback message" })), expect(e.getByText("My feedback message")).toBeInTheDocument();
|
|
8
|
+
}), it("should close when the close button is clicked", () => {
|
|
9
|
+
s(/* @__PURE__ */ t(c, { children: "My closed feedback message" })), expect(e.getByRole("alert")).toHaveClass("feedback-bar--visible");
|
|
10
|
+
const o = e.getByRole("button");
|
|
11
|
+
r.click(o), expect(e.getByRole("alert")).not.toHaveClass("feedback-bar--visible");
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=FeedbackBar.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeedbackBar.test.js","sources":["../../../src/components/FeedbackBar/FeedbackBar.test.tsx"],"sourcesContent":["import '@testing-library/jest-dom';\nimport { fireEvent, render, screen } from '@testing-library/react';\n\nimport { FeedbackBar } from './FeedbackBar';\n\ndescribe('FeedbackBar', () => {\n it('should render with children text', () => {\n render(<FeedbackBar>My feedback message</FeedbackBar>);\n expect(screen.getByText('My feedback message')).toBeInTheDocument();\n });\n\n it('should close when the close button is clicked', () => {\n render(<FeedbackBar>My closed feedback message</FeedbackBar>);\n\n expect(screen.getByRole('alert')).toHaveClass('feedback-bar--visible');\n\n const closeButton = screen.getByRole('button');\n fireEvent.click(closeButton);\n\n expect(screen.getByRole('alert')).not.toHaveClass('feedback-bar--visible');\n });\n});\n"],"names":["render","jsx","FeedbackBar","screen","closeButton","fireEvent"],"mappings":";;;;AAKA,SAAS,eAAe,MAAM;AAC5B,KAAG,oCAAoC,MAAM;AACpC,IAAAA,EAAA,gBAAAC,EAACC,GAAY,EAAA,UAAA,sBAAmB,CAAA,CAAc,GACrD,OAAOC,EAAO,UAAU,qBAAqB,CAAC,EAAE,kBAAkB;AAAA,EAAA,CACnE,GAED,GAAG,iDAAiD,MAAM;AACjD,IAAAH,EAAA,gBAAAC,EAACC,GAAY,EAAA,UAAA,6BAA0B,CAAA,CAAc,GAE5D,OAAOC,EAAO,UAAU,OAAO,CAAC,EAAE,YAAY,uBAAuB;AAE/D,UAAAC,IAAcD,EAAO,UAAU,QAAQ;AAC7C,IAAAE,EAAU,MAAMD,CAAW,GAE3B,OAAOD,EAAO,UAAU,OAAO,CAAC,EAAE,IAAI,YAAY,uBAAuB;AAAA,EAAA,CAC1E;AACH,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FeedbackBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { fn as i } from "../../index-
|
|
2
|
+
import { fn as i } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { FormInput as a } from "./FormInput.js";
|
|
4
4
|
import { SelectListbox as o } from "../SelectListbox/SelectListbox.js";
|
|
5
5
|
const m = `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { fn as r } from "../../index-
|
|
2
|
+
import { fn as r } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { IconButton as t } from "./IconButton.js";
|
|
4
4
|
import { Icon as i } from "../Icon/Icon.js";
|
|
5
5
|
const l = `<IconButton variant={variant} aria-label={aria-label} onClick={onClickFunction}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useRef as g } from "react";
|
|
3
|
-
import { fn as p } from "../../index-
|
|
3
|
+
import { fn as p } from "../../index-C7jFUWYs.js";
|
|
4
4
|
import { InputField as o } from "./InputField.js";
|
|
5
5
|
import { Container as u } from "../../storyComponents/Container/Container.js";
|
|
6
6
|
import { Icon as f } from "../Icon/Icon.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { ModalProvider as l } from "@react-aria/overlays";
|
|
3
|
-
import { fn as i } from "../../index-
|
|
3
|
+
import { fn as i } from "../../index-C7jFUWYs.js";
|
|
4
4
|
import { ModalDialog as t } from "./ModalDialog.js";
|
|
5
5
|
import { Button as n } from "../Buttons/Button.js";
|
|
6
6
|
import "../Buttons/LinkButton.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as S, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { fn as d } from "../../index-
|
|
2
|
+
import { fn as d } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { useState as p } from "react";
|
|
4
4
|
import { M as e } from "../../TablePlugin-DlTujN8R.js";
|
|
5
5
|
import { Container as M } from "../../storyComponents/Container/Container.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { fn as a } from "../../index-
|
|
2
|
+
import { fn as a } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { OverlayCloseButton as o } from "./OverlayCloseButton.js";
|
|
4
4
|
import { Container as l } from "../../storyComponents/Container/Container.js";
|
|
5
5
|
const n = "<OverlayCloseButton aria-label={aria-label} onClick={onClickFunction} />", c = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { fn as t } from "../../index-
|
|
2
|
+
import { fn as t } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { PeriodSelector as e } from "./PeriodSelector.js";
|
|
4
4
|
const i = "<PeriodSelector maxPeriods={} defaultValues={} label={} labelPosition={} required={} onChange={} />", m = {
|
|
5
5
|
title: "Organisms/PeriodSelector",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { fn as a } from "../../index-
|
|
2
|
+
import { fn as a } from "../../index-C7jFUWYs.js";
|
|
3
3
|
import { ProgrammeCard as o } from "./ProgrammeCard.js";
|
|
4
4
|
import { Container as n } from "../../storyComponents/Container/Container.js";
|
|
5
5
|
import "react";
|
|
@@ -12,13 +12,13 @@ import "@react-aria/dialog";
|
|
|
12
12
|
import "@react-aria/focus";
|
|
13
13
|
import "@react-aria/overlays";
|
|
14
14
|
import "../OverlayCloseButton/OverlayCloseButton.js";
|
|
15
|
+
import { Repeater as i } from "../Repeater/Repeater.js";
|
|
15
16
|
import "../GridRow/GridRow.js";
|
|
16
17
|
import "../IconButton/IconButton.js";
|
|
17
18
|
import "../Input/Input.js";
|
|
18
19
|
import "../InputField/InputField.js";
|
|
19
20
|
import "react-router";
|
|
20
21
|
import "../../TablePlugin-DlTujN8R.js";
|
|
21
|
-
import { Repeater as i } from "../Repeater/Repeater.js";
|
|
22
22
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
23
23
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
24
24
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -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-C7jFUWYs.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 o } from "react/jsx-runtime";
|
|
2
|
-
import { fn as l } from "../../index-
|
|
2
|
+
import { fn as l } from "../../index-C7jFUWYs.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"
|
|
@@ -14,6 +14,7 @@ export * from './CheckboxTree';
|
|
|
14
14
|
export * from './Chip';
|
|
15
15
|
export * from './Drawer';
|
|
16
16
|
export * from './EmptyStateDataDisplay';
|
|
17
|
+
export * from './FeedbackBar';
|
|
17
18
|
export * from './FeedbackBox';
|
|
18
19
|
export * from './FieldHint';
|
|
19
20
|
export * from './Fieldset';
|
package/dist/components/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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 x } from "./ActionList/ActionList.js";
|
|
4
|
-
import { AppStatusBar as
|
|
4
|
+
import { AppStatusBar as a } 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 u } from "./ButtonGroup/ButtonGroup.js";
|
|
8
|
-
import { Button as
|
|
9
|
-
import { LinkButton as
|
|
10
|
-
import { MenuButton as
|
|
8
|
+
import { Button as s } from "./Buttons/Button.js";
|
|
9
|
+
import { LinkButton as b } from "./Buttons/LinkButton.js";
|
|
10
|
+
import { MenuButton as C } from "./Buttons/MenuButton.js";
|
|
11
11
|
import { Card as I } from "./Card/Card.js";
|
|
12
12
|
import { Checkbox as M } from "./Checkbox/Checkbox.js";
|
|
13
13
|
import { CheckboxButton as h } from "./CheckboxButton/CheckboxButton.js";
|
|
@@ -16,50 +16,51 @@ import { CheckboxTree as D } from "./CheckboxTree/CheckboxTree.js";
|
|
|
16
16
|
import { Chip as v } from "./Chip/Chip.js";
|
|
17
17
|
import { Drawer as w } from "./Drawer/Drawer.js";
|
|
18
18
|
import { EmptyStateDataDisplay as E } from "./EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
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 {
|
|
19
|
+
import { FeedbackBar as H } from "./FeedbackBar/FeedbackBar.js";
|
|
20
|
+
import { FeedbackBox as N } from "./FeedbackBox/FeedbackBox.js";
|
|
21
|
+
import { FieldHint as j } from "./FieldHint/FieldHint.js";
|
|
22
|
+
import { Fieldset as J } from "./Fieldset/Fieldset.js";
|
|
23
|
+
import { FormField as Q } from "./FormField/FormField.js";
|
|
24
|
+
import { FormInput as W } from "./FormInput/FormInput.js";
|
|
25
|
+
import { GridRow as Y } from "./GridRow/GridRow.js";
|
|
26
|
+
import { HorizontalList as _ } from "./HorizontalList/HorizontalList.js";
|
|
27
|
+
import { Icon as oo } from "./Icon/Icon.js";
|
|
28
|
+
import { IconButton as to } from "./IconButton/IconButton.js";
|
|
29
|
+
import { InfoMessage as po } from "./InfoMessage/InfoMessage.js";
|
|
30
|
+
import { Input as xo } from "./Input/Input.js";
|
|
31
|
+
import { InputField as ao } from "./InputField/InputField.js";
|
|
32
|
+
import { Label as no } from "./Label/Label.js";
|
|
33
|
+
import { MenuLink as co } from "./MenuLink/MenuLink.js";
|
|
34
|
+
import { MetaDataList as Bo } from "./MetaDataList/MetaDataList.js";
|
|
35
|
+
import { ModalDialog as So } from "./ModalDialog/ModalDialog.js";
|
|
36
|
+
import { M as ko } from "../TablePlugin-DlTujN8R.js";
|
|
37
|
+
import { OverlayCloseButton as Fo } from "./OverlayCloseButton/OverlayCloseButton.js";
|
|
38
|
+
import { OverlayStepBar as Lo } from "./OverlayStepBar/OverlayStepBar.js";
|
|
39
|
+
import { PageOverlay as go } from "./PageOverlay/PageOverlay.js";
|
|
40
|
+
import { Periods as Po } from "./Periods/Periods.js";
|
|
41
|
+
import { PeriodSelector as Ao } from "./PeriodSelector/PeriodSelector.js";
|
|
42
|
+
import { ProgrammeCard as Ro } from "./ProgrammeCard/ProgrammeCard.js";
|
|
43
|
+
import { RadioButton as To } from "./RadioButton/RadioButton.js";
|
|
44
|
+
import { Repeater as Oo } from "./Repeater/Repeater.js";
|
|
45
|
+
import { Rte as Go, RteEditor as Ho } from "./RteEditor/RteEditor.js";
|
|
46
|
+
import { SectionNotification as No } from "./SectionNotification/SectionNotification.js";
|
|
47
|
+
import { SelectListbox as jo } from "./SelectListbox/SelectListbox.js";
|
|
48
|
+
import { SelectProvider as Jo, useSelect as Ko } from "./SelectListbox/SelectProvider.js";
|
|
49
|
+
import { Sortable as Uo } from "./Sortable/Sortable.js";
|
|
50
|
+
import { Spinner as Xo } from "./Spinner/Spinner.js";
|
|
51
|
+
import { StatusPill as Zo } from "./StatusPill/StatusPill.js";
|
|
52
|
+
import { Timeline as $o } from "./Timeline/Timeline.js";
|
|
53
|
+
import { ToggleSwitch as rr } from "./ToggleSwitch/ToggleSwitch.js";
|
|
54
|
+
import { Tooltip as er } from "./Tooltip/Tooltip.js";
|
|
55
|
+
import { VarIndicator as mr } from "./VarIndicator/VarIndicator.js";
|
|
55
56
|
export {
|
|
56
57
|
t as Accordion,
|
|
57
58
|
p as AccordionCard,
|
|
58
59
|
x as ActionList,
|
|
59
|
-
|
|
60
|
+
a as AppStatusBar,
|
|
60
61
|
n as Attention,
|
|
61
62
|
c as Backdrop,
|
|
62
|
-
|
|
63
|
+
s as Button,
|
|
63
64
|
u as ButtonGroup,
|
|
64
65
|
I as Card,
|
|
65
66
|
M as Checkbox,
|
|
@@ -69,45 +70,46 @@ export {
|
|
|
69
70
|
v as Chip,
|
|
70
71
|
w as Drawer,
|
|
71
72
|
E as EmptyStateDataDisplay,
|
|
72
|
-
H as
|
|
73
|
-
N as
|
|
74
|
-
j as
|
|
75
|
-
J as
|
|
76
|
-
Q as
|
|
77
|
-
W as
|
|
78
|
-
Y as
|
|
79
|
-
_ as
|
|
80
|
-
oo as
|
|
81
|
-
to as
|
|
82
|
-
po as
|
|
83
|
-
xo as
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
co as
|
|
89
|
-
|
|
90
|
-
So as
|
|
91
|
-
|
|
92
|
-
Fo as
|
|
93
|
-
Lo as
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Ro as
|
|
98
|
-
To as
|
|
99
|
-
Oo as
|
|
100
|
-
|
|
101
|
-
Ho as
|
|
102
|
-
No as
|
|
103
|
-
jo as
|
|
104
|
-
|
|
105
|
-
Uo as
|
|
106
|
-
Xo as
|
|
107
|
-
Zo as
|
|
108
|
-
$o as
|
|
109
|
-
rr as
|
|
110
|
-
er as
|
|
111
|
-
|
|
73
|
+
H as FeedbackBar,
|
|
74
|
+
N as FeedbackBox,
|
|
75
|
+
j as FieldHint,
|
|
76
|
+
J as Fieldset,
|
|
77
|
+
Q as FormField,
|
|
78
|
+
W as FormInput,
|
|
79
|
+
Y as GridRow,
|
|
80
|
+
_ as HorizontalList,
|
|
81
|
+
oo as Icon,
|
|
82
|
+
to as IconButton,
|
|
83
|
+
po as InfoMessage,
|
|
84
|
+
xo as Input,
|
|
85
|
+
ao as InputField,
|
|
86
|
+
no as Label,
|
|
87
|
+
b as LinkButton,
|
|
88
|
+
C as MenuButton,
|
|
89
|
+
co as MenuLink,
|
|
90
|
+
Bo as MetaDataList,
|
|
91
|
+
So as ModalDialog,
|
|
92
|
+
ko as MultiSelect,
|
|
93
|
+
Fo as OverlayCloseButton,
|
|
94
|
+
Lo as OverlayStepBar,
|
|
95
|
+
go as PageOverlay,
|
|
96
|
+
Ao as PeriodSelector,
|
|
97
|
+
Po as Periods,
|
|
98
|
+
Ro as ProgrammeCard,
|
|
99
|
+
To as RadioButton,
|
|
100
|
+
Oo as Repeater,
|
|
101
|
+
Go as Rte,
|
|
102
|
+
Ho as RteEditor,
|
|
103
|
+
No as SectionNotification,
|
|
104
|
+
jo as SelectListbox,
|
|
105
|
+
Jo as SelectProvider,
|
|
106
|
+
Uo as Sortable,
|
|
107
|
+
Xo as Spinner,
|
|
108
|
+
Zo as StatusPill,
|
|
109
|
+
$o as Timeline,
|
|
110
|
+
rr as ToggleSwitch,
|
|
111
|
+
er as Tooltip,
|
|
112
|
+
mr as VarIndicator,
|
|
113
|
+
Ko as useSelect
|
|
112
114
|
};
|
|
113
115
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var py = Object.defineProperty;
|
|
2
2
|
var my = (e, t, r) => t in e ? py(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var Re = (e, t, r) => my(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { s as Te, n as Pd, V as hy, P as js, B as by, p as yy } from "./index-
|
|
4
|
+
import { s as Te, n as Pd, V as hy, P as js, B as by, p as yy } from "./index-DH9Vbk37.js";
|
|
5
5
|
var gy = ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (t, r) => (typeof require < "u" ? require : t)[r] }) : e)(function(e) {
|
|
6
6
|
if (typeof require < "u") return require.apply(this, arguments);
|
|
7
7
|
throw Error('Dynamic require of "' + e + '" is not supported');
|
|
@@ -14732,4 +14732,4 @@ export {
|
|
|
14732
14732
|
o2 as waitForElementToBeRemoved,
|
|
14733
14733
|
N$ as within
|
|
14734
14734
|
};
|
|
14735
|
-
//# sourceMappingURL=index-
|
|
14735
|
+
//# sourceMappingURL=index-C7jFUWYs.js.map
|