@uva-glass/component-library 1.19.0 → 1.20.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/MenuLink-CLEqkVVh.js +865 -0
- package/dist/MenuLink-CLEqkVVh.js.map +1 -0
- package/dist/ModalDialog-yEr_JLht.js +1276 -0
- package/dist/ModalDialog-yEr_JLht.js.map +1 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.map +1 -0
- package/dist/assets/Container.css +1 -1
- package/dist/assets/ModalDialog.css +1 -0
- package/dist/assets/ModalDialog2.css +1 -0
- package/dist/components/Button/Button.stories.js +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/MenuLink/MenuLink.js +1 -1
- package/dist/components/MenuLink/MenuLink.stories.js +1 -1
- package/dist/components/MenuLink/index.js +1 -1
- package/dist/components/ModalDialog/ModalDialog.d.ts +24 -0
- package/dist/components/ModalDialog/ModalDialog.js +11 -0
- package/dist/components/ModalDialog/ModalDialog.js.map +1 -0
- package/dist/components/ModalDialog/ModalDialog.stories.d.ts +6 -0
- package/dist/components/ModalDialog/ModalDialog.stories.js +74 -0
- package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -0
- package/dist/components/ModalDialog/index.d.ts +1 -0
- package/dist/components/ModalDialog/index.js +5 -0
- package/dist/components/ModalDialog/index.js.map +1 -0
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +4 -4
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +35 -33
- package/dist/components/index.js.map +1 -1
- package/dist/components/storyComponents/Container/Container.d.ts +2 -1
- package/dist/components/storyComponents/Container/Container.js +22 -19
- package/dist/components/storyComponents/Container/Container.js.map +1 -1
- package/dist/{MenuLink-DDAin3rf.js → index-BA9Z7itR.js} +8080 -8937
- package/dist/index-BA9Z7itR.js.map +1 -0
- package/dist/{index-Ce_VqA9S.js → index-DFUrxrKJ.js} +910 -913
- package/dist/{index-Ce_VqA9S.js.map → index-DFUrxrKJ.js.map} +1 -1
- package/dist/index.js +35 -33
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/dist/MenuLink-DDAin3rf.js.map +0 -1
package/dist/components/index.js
CHANGED
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
import { AppStatusBar as t } from "./AppStatusBar/AppStatusBar.js";
|
|
2
2
|
import { Backdrop as p } from "./Backdrop/Backdrop.js";
|
|
3
3
|
import { Button as x } from "./Button/Button.js";
|
|
4
|
-
import { Card as
|
|
5
|
-
import { FieldHint as
|
|
6
|
-
import { Icon as
|
|
7
|
-
import { IconButton as
|
|
4
|
+
import { Card as a } from "./Card/Card.js";
|
|
5
|
+
import { FieldHint as i } from "./FieldHint/FieldHint.js";
|
|
6
|
+
import { Icon as s } from "./Icon/Icon.js";
|
|
7
|
+
import { IconButton as c } from "./IconButton/IconButton.js";
|
|
8
8
|
import { InfoMessage as B } from "./InfoMessage/InfoMessage.js";
|
|
9
|
-
import { Input as
|
|
10
|
-
import { InputField as
|
|
11
|
-
import { Label as
|
|
12
|
-
import { M as
|
|
13
|
-
import { MetaDataList as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
9
|
+
import { Input as S } from "./Input/Input.js";
|
|
10
|
+
import { InputField as L } from "./InputField/InputField.js";
|
|
11
|
+
import { Label as g } from "./Label/Label.js";
|
|
12
|
+
import { M as v } from "../MenuLink-CLEqkVVh.js";
|
|
13
|
+
import { MetaDataList as D } from "./MetaDataList/MetaDataList.js";
|
|
14
|
+
import { M as y } from "../ModalDialog-yEr_JLht.js";
|
|
15
|
+
import { OverlayCloseButton as H } from "./OverlayCloseButton/OverlayCloseButton.js";
|
|
16
|
+
import { RadioButton as O } from "./RadioButton/RadioButton.js";
|
|
17
|
+
import { SectionNotification as R } from "./SectionNotification/SectionNotification.js";
|
|
18
|
+
import { SelectListbox as h } from "./SelectListbox/SelectListbox.js";
|
|
19
|
+
import { SelectProvider as q, useSelect as w } from "./SelectListbox/SelectProvider.js";
|
|
20
|
+
import { Spinner as E } from "./Spinner/Spinner.js";
|
|
21
|
+
import { Tooltip as J } from "./Tooltip/Tooltip.js";
|
|
21
22
|
export {
|
|
22
23
|
t as AppStatusBar,
|
|
23
24
|
p as Backdrop,
|
|
24
25
|
x as Button,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
a as Card,
|
|
27
|
+
i as FieldHint,
|
|
28
|
+
s as Icon,
|
|
29
|
+
c as IconButton,
|
|
29
30
|
B as InfoMessage,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
H as
|
|
37
|
-
O as
|
|
38
|
-
R as
|
|
39
|
-
h as
|
|
40
|
-
|
|
41
|
-
E as
|
|
42
|
-
|
|
31
|
+
S as Input,
|
|
32
|
+
L as InputField,
|
|
33
|
+
g as Label,
|
|
34
|
+
v as MenuLink,
|
|
35
|
+
D as MetaDataList,
|
|
36
|
+
y as ModalDialog,
|
|
37
|
+
H as OverlayCloseButton,
|
|
38
|
+
O as RadioButton,
|
|
39
|
+
R as SectionNotification,
|
|
40
|
+
h as SelectListbox,
|
|
41
|
+
q as SelectProvider,
|
|
42
|
+
E as Spinner,
|
|
43
|
+
J as Tooltip,
|
|
44
|
+
w as useSelect
|
|
43
45
|
};
|
|
44
46
|
//# 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":";;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,6 +4,7 @@ interface ContainerProps {
|
|
|
4
4
|
size?: 'small' | 'medium' | 'large';
|
|
5
5
|
visible?: boolean;
|
|
6
6
|
centerContent?: boolean;
|
|
7
|
+
padded?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const Container: ({ children, size, centerContent, visible, }: PropsWithChildren<ContainerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Container: ({ children, size, centerContent, visible, padded, }: PropsWithChildren<ContainerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { jsxs as i, Fragment as
|
|
1
|
+
import { jsxs as i, Fragment as m, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as d } from "../../../clsx-DB4S2d7J.js";
|
|
3
|
-
import '../../../assets/Container.css';const
|
|
4
|
-
container:
|
|
5
|
-
"container--
|
|
6
|
-
"container--
|
|
7
|
-
"container--
|
|
8
|
-
"container--
|
|
9
|
-
"container--
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import '../../../assets/Container.css';const l = "_container_11my7_1", n = {
|
|
4
|
+
container: l,
|
|
5
|
+
"container--padded": "_container--padded_11my7_7",
|
|
6
|
+
"container--small": "_container--small_11my7_11",
|
|
7
|
+
"container--medium": "_container--medium_11my7_16",
|
|
8
|
+
"container--large": "_container--large_11my7_21",
|
|
9
|
+
"container--hidden": "_container--hidden_11my7_26",
|
|
10
|
+
"container--centered-content": "_container--centered-content_11my7_30"
|
|
11
|
+
}, u = ({
|
|
12
|
+
children: a,
|
|
12
13
|
size: e = "medium",
|
|
13
|
-
centerContent:
|
|
14
|
-
visible:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/* @__PURE__ */ t
|
|
14
|
+
centerContent: o = !1,
|
|
15
|
+
visible: c = !0,
|
|
16
|
+
padded: t = !0
|
|
17
|
+
}) => /* @__PURE__ */ i(m, { children: [
|
|
18
|
+
/* @__PURE__ */ r("label", { htmlFor: "container", children: t ? "Storybook container with 1rem padding" : "Storybook container" }),
|
|
19
|
+
/* @__PURE__ */ r(
|
|
18
20
|
"div",
|
|
19
21
|
{
|
|
20
22
|
id: "container",
|
|
@@ -22,14 +24,15 @@ import '../../../assets/Container.css';const m = "_container_dkfb2_1", n = {
|
|
|
22
24
|
[n["container--small"]]: e === "small",
|
|
23
25
|
[n["container--medium"]]: e === "medium",
|
|
24
26
|
[n["container--large"]]: e === "large",
|
|
25
|
-
[n["container--
|
|
26
|
-
[n["container--
|
|
27
|
+
[n["container--padded"]]: t,
|
|
28
|
+
[n["container--centered-content"]]: o,
|
|
29
|
+
[n["container--hidden"]]: !c
|
|
27
30
|
}),
|
|
28
|
-
children:
|
|
31
|
+
children: a
|
|
29
32
|
}
|
|
30
33
|
)
|
|
31
34
|
] });
|
|
32
35
|
export {
|
|
33
|
-
|
|
36
|
+
u as Container
|
|
34
37
|
};
|
|
35
38
|
//# sourceMappingURL=Container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Container.js","sources":["../../../../src/components/storyComponents/Container/Container.tsx"],"sourcesContent":["import clsx from 'clsx';\n\nimport type { PropsWithChildren } from 'react';\n\nimport styles from './Container.module.css';\n\ninterface ContainerProps {\n size?: 'small' | 'medium' | 'large';\n visible?: boolean;\n centerContent?: boolean;\n}\n\nexport const Container = ({\n children,\n size = 'medium',\n centerContent = false,\n visible = true,\n}: PropsWithChildren<ContainerProps>) => {\n return (\n <>\n <label htmlFor=\"container\">
|
|
1
|
+
{"version":3,"file":"Container.js","sources":["../../../../src/components/storyComponents/Container/Container.tsx"],"sourcesContent":["import clsx from 'clsx';\n\nimport type { PropsWithChildren } from 'react';\n\nimport styles from './Container.module.css';\n\ninterface ContainerProps {\n size?: 'small' | 'medium' | 'large';\n visible?: boolean;\n centerContent?: boolean;\n padded?: boolean;\n}\n\nexport const Container = ({\n children,\n size = 'medium',\n centerContent = false,\n visible = true,\n padded = true,\n}: PropsWithChildren<ContainerProps>) => {\n const label = padded ? 'Storybook container with 1rem padding' : 'Storybook container';\n\n return (\n <>\n <label htmlFor=\"container\">{label}</label>\n <div\n id=\"container\"\n className={clsx(styles['container'], {\n [styles['container--small']]: size === 'small',\n [styles['container--medium']]: size === 'medium',\n [styles['container--large']]: size === 'large',\n [styles['container--padded']]: padded,\n [styles['container--centered-content']]: centerContent,\n [styles['container--hidden']]: !visible,\n })}\n >\n {children}\n </div>\n </>\n );\n};\n"],"names":["Container","children","size","centerContent","visible","padded","jsxs","Fragment","jsx","clsx","styles"],"mappings":";;;;;;;;;;GAaaA,IAAY,CAAC;AAAA,EACxB,UAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,eAAAC,IAAgB;AAAA,EAChB,SAAAC,IAAU;AAAA,EACV,QAAAC,IAAS;AACX,MAKM,gBAAAC,EAAAC,GAAA,EAAA,UAAA;AAAA,EAAC,gBAAAC,EAAA,SAAA,EAAM,SAAQ,aAAa,UAJlBH,IAAS,0CAA0C,uBAI3B;AAAA,EAClC,gBAAAG;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,WAAWC,EAAKC,EAAO,WAAc;AAAA,QACnC,CAACA,EAAO,kBAAkB,CAAC,GAAGR,MAAS;AAAA,QACvC,CAACQ,EAAO,mBAAmB,CAAC,GAAGR,MAAS;AAAA,QACxC,CAACQ,EAAO,kBAAkB,CAAC,GAAGR,MAAS;AAAA,QACvC,CAACQ,EAAO,mBAAmB,CAAC,GAAGL;AAAA,QAC/B,CAACK,EAAO,6BAA6B,CAAC,GAAGP;AAAA,QACzC,CAACO,EAAO,mBAAmB,CAAC,GAAG,CAACN;AAAA,MAAA,CACjC;AAAA,MAEA,UAAAH;AAAA,IAAA;AAAA,EACH;AACF,EAAA,CAAA;"}
|