@uva-glass/component-library 1.47.8 → 1.48.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/CheckboxTree.css +1 -0
- package/dist/components/Button/Button.stories.js +9 -9
- package/dist/components/Checkbox/Checkbox.stories.js +13 -13
- package/dist/components/Checkbox/Checkbox.stories.js.map +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.d.ts +20 -0
- package/dist/components/CheckboxTree/CheckboxTree.js +120 -0
- package/dist/components/CheckboxTree/CheckboxTree.js.map +1 -0
- package/dist/components/CheckboxTree/CheckboxTree.stories.d.ts +5 -0
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +74 -0
- package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -0
- package/dist/components/CheckboxTree/index.d.ts +1 -0
- package/dist/components/CheckboxTree/index.js +5 -0
- package/dist/components/CheckboxTree/index.js.map +1 -0
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FeedbackBox/FeedbackBox.stories.js +10 -7
- package/dist/components/FeedbackBox/FeedbackBox.stories.js.map +1 -1
- package/dist/components/IconButton/IconButton.stories.js +1 -1
- package/dist/components/InputField/InputField.stories.js +1 -1
- package/dist/components/MenuButton/MenuButton.stories.js +10 -10
- 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/ProgrammeCard/ProgrammeCard.stories.js +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +65 -63
- package/dist/components/index.js.map +1 -1
- package/dist/index-2mUSc_Ki.js +8 -0
- package/dist/index-2mUSc_Ki.js.map +1 -0
- package/dist/{index-CuON43Qx.js → index-MQ0yPLdl.js} +89 -12
- package/dist/{index-CuON43Qx.js.map → index-MQ0yPLdl.js.map} +1 -1
- package/dist/index.js +65 -63
- package/dist/index.js.map +1 -1
- package/dist/react-18-m8Z-Ep7B.js +52 -0
- package/dist/react-18-m8Z-Ep7B.js.map +1 -0
- package/dist/storybook__react.d-fgYZl9aD.js +21053 -0
- package/dist/storybook__react.d-fgYZl9aD.js.map +1 -0
- package/dist/storybook__react.d.js +2 -0
- package/dist/storybook__react.d.js.map +1 -0
- package/package.json +14 -14
package/dist/index.js
CHANGED
|
@@ -3,80 +3,82 @@ import { ActionList as p } from "./components/ActionList/ActionList.js";
|
|
|
3
3
|
import { AppStatusBar as x } from "./components/AppStatusBar/AppStatusBar.js";
|
|
4
4
|
import { Attention as i } from "./components/Attention/Attention.js";
|
|
5
5
|
import { Backdrop as n } from "./components/Backdrop/Backdrop.js";
|
|
6
|
-
import { Button as
|
|
6
|
+
import { Button as c } from "./components/Button/Button.js";
|
|
7
7
|
import { ButtonGroup as d } from "./components/ButtonGroup/ButtonGroup.js";
|
|
8
8
|
import { Card as B } from "./components/Card/Card.js";
|
|
9
9
|
import { Checkbox as M } from "./components/Checkbox/Checkbox.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
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 {
|
|
10
|
+
import { CheckboxTree as L } from "./components/CheckboxTree/CheckboxTree.js";
|
|
11
|
+
import { Drawer as k } from "./components/Drawer/Drawer.js";
|
|
12
|
+
import { EmptyStateDataDisplay as D } from "./components/EmptyStateDataDisplay/EmptyStateDataDisplay.js";
|
|
13
|
+
import { FeedbackBox as A } from "./components/FeedbackBox/FeedbackBox.js";
|
|
14
|
+
import { FieldHint as g } from "./components/FieldHint/FieldHint.js";
|
|
15
|
+
import { Fieldset as R } from "./components/Fieldset/Fieldset.js";
|
|
16
|
+
import { FormField as v } from "./components/FormField/FormField.js";
|
|
17
|
+
import { GridRow as G } from "./components/GridRow/GridRow.js";
|
|
18
|
+
import { HorizontalList as T } from "./components/HorizontalList/HorizontalList.js";
|
|
19
|
+
import { Icon as E } from "./components/Icon/Icon.js";
|
|
20
|
+
import { IconButton as O } from "./components/IconButton/IconButton.js";
|
|
21
|
+
import { InfoMessage as q } from "./components/InfoMessage/InfoMessage.js";
|
|
22
|
+
import { Input as K } from "./components/Input/Input.js";
|
|
23
|
+
import { InputField as U } from "./components/InputField/InputField.js";
|
|
24
|
+
import { Label as W } from "./components/Label/Label.js";
|
|
25
|
+
import { MenuButton as Y } from "./components/MenuButton/MenuButton.js";
|
|
26
|
+
import { MenuLink as _ } from "./components/MenuLink/MenuLink.js";
|
|
27
|
+
import { MetaDataList as oo } from "./components/MetaDataList/MetaDataList.js";
|
|
28
|
+
import { ModalDialog as to } from "./components/ModalDialog/ModalDialog.js";
|
|
29
|
+
import { M as po } from "./MultiSelect-Ckf3uGw5.js";
|
|
30
|
+
import { OverlayCloseButton as xo } from "./components/OverlayCloseButton/OverlayCloseButton.js";
|
|
31
|
+
import { Periods as io } from "./components/Periods/Periods.js";
|
|
32
|
+
import { ProgrammeCard as no } from "./components/ProgrammeCard/ProgrammeCard.js";
|
|
33
|
+
import { RadioButton as co } from "./components/RadioButton/RadioButton.js";
|
|
34
|
+
import { Repeater as so } from "./components/Repeater/Repeater.js";
|
|
35
|
+
import { SectionNotification as So } from "./components/SectionNotification/SectionNotification.js";
|
|
36
|
+
import { SelectListbox as Fo } from "./components/SelectListbox/SelectListbox.js";
|
|
37
|
+
import { SelectProvider as bo, useSelect as ko } from "./components/SelectListbox/SelectProvider.js";
|
|
38
|
+
import { Spinner as Do } from "./components/Spinner/Spinner.js";
|
|
39
|
+
import { StatusPill as Ao } from "./components/StatusPill/StatusPill.js";
|
|
40
|
+
import { Tooltip as go } from "./components/Tooltip/Tooltip.js";
|
|
40
41
|
export {
|
|
41
42
|
t as Accordion,
|
|
42
43
|
p as ActionList,
|
|
43
44
|
x as AppStatusBar,
|
|
44
45
|
i as Attention,
|
|
45
46
|
n as Backdrop,
|
|
46
|
-
|
|
47
|
+
c as Button,
|
|
47
48
|
d as ButtonGroup,
|
|
48
49
|
B as Card,
|
|
49
50
|
M as Checkbox,
|
|
50
|
-
L as
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
g as
|
|
55
|
-
R as
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
q as
|
|
62
|
-
K as
|
|
63
|
-
U as
|
|
64
|
-
W as
|
|
65
|
-
Y as
|
|
66
|
-
_ as
|
|
67
|
-
oo as
|
|
68
|
-
to as
|
|
69
|
-
po as
|
|
70
|
-
xo as
|
|
71
|
-
io as
|
|
72
|
-
no as
|
|
73
|
-
|
|
74
|
-
so as
|
|
75
|
-
So as
|
|
76
|
-
Fo as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
51
|
+
L as CheckboxTree,
|
|
52
|
+
k as Drawer,
|
|
53
|
+
D as EmptyStateDataDisplay,
|
|
54
|
+
A as FeedbackBox,
|
|
55
|
+
g as FieldHint,
|
|
56
|
+
R as Fieldset,
|
|
57
|
+
v as FormField,
|
|
58
|
+
G as GridRow,
|
|
59
|
+
T as HorizontalList,
|
|
60
|
+
E as Icon,
|
|
61
|
+
O as IconButton,
|
|
62
|
+
q as InfoMessage,
|
|
63
|
+
K as Input,
|
|
64
|
+
U as InputField,
|
|
65
|
+
W as Label,
|
|
66
|
+
Y as MenuButton,
|
|
67
|
+
_ as MenuLink,
|
|
68
|
+
oo as MetaDataList,
|
|
69
|
+
to as ModalDialog,
|
|
70
|
+
po as MultiSelect,
|
|
71
|
+
xo as OverlayCloseButton,
|
|
72
|
+
io as Periods,
|
|
73
|
+
no as ProgrammeCard,
|
|
74
|
+
co as RadioButton,
|
|
75
|
+
so as Repeater,
|
|
76
|
+
So as SectionNotification,
|
|
77
|
+
Fo as SelectListbox,
|
|
78
|
+
bo as SelectProvider,
|
|
79
|
+
Do as Spinner,
|
|
80
|
+
Ao as StatusPill,
|
|
81
|
+
go as Tooltip,
|
|
82
|
+
ko as useSelect
|
|
81
83
|
};
|
|
82
84
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { r as R } from "./storybook__react.d-fgYZl9aD.js";
|
|
3
|
+
var u, n = R;
|
|
4
|
+
if (process.env.NODE_ENV === "production")
|
|
5
|
+
u = n.createRoot, n.hydrateRoot;
|
|
6
|
+
else {
|
|
7
|
+
var a = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
8
|
+
u = function(e, r) {
|
|
9
|
+
a.usingClientEntryPoint = !0;
|
|
10
|
+
try {
|
|
11
|
+
return n.createRoot(e, r);
|
|
12
|
+
} finally {
|
|
13
|
+
a.usingClientEntryPoint = !1;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
var s = /* @__PURE__ */ new Map();
|
|
18
|
+
function m() {
|
|
19
|
+
return globalThis.IS_REACT_ACT_ENVIRONMENT;
|
|
20
|
+
}
|
|
21
|
+
var c = ({ callback: e, children: r }) => {
|
|
22
|
+
let t = i.useRef();
|
|
23
|
+
return i.useLayoutEffect(() => {
|
|
24
|
+
t.current !== e && (t.current = e, e());
|
|
25
|
+
}, [e]), r;
|
|
26
|
+
};
|
|
27
|
+
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
28
|
+
let e = null, r = null;
|
|
29
|
+
return { promise: new Promise((t, o) => {
|
|
30
|
+
e = t, r = o;
|
|
31
|
+
}), resolve: e, reject: r };
|
|
32
|
+
});
|
|
33
|
+
var f = async (e, r, t) => {
|
|
34
|
+
let o = await _(r, t);
|
|
35
|
+
if (m()) {
|
|
36
|
+
o.render(e);
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
let { promise: l, resolve: E } = Promise.withResolvers();
|
|
40
|
+
return o.render(i.createElement(c, { callback: E }, e)), l;
|
|
41
|
+
}, p = (e, r) => {
|
|
42
|
+
let t = s.get(e);
|
|
43
|
+
t && (t.unmount(), s.delete(e));
|
|
44
|
+
}, _ = async (e, r) => {
|
|
45
|
+
let t = s.get(e);
|
|
46
|
+
return t || (t = u(e, r), s.set(e, t)), t;
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
f as renderElement,
|
|
50
|
+
p as unmountElement
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=react-18-m8Z-Ep7B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-18-m8Z-Ep7B.js","sources":["../node_modules/react-dom/client.js","../node_modules/@storybook/react-dom-shim/dist/react-18.mjs"],"sourcesContent":["'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","import * as React from 'react';\nimport * as ReactDOM from 'react-dom/client';\n\nvar nodes=new Map;function getIsReactActEnvironment(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var WithCallback=({callback,children})=>{let once=React.useRef();return React.useLayoutEffect(()=>{once.current!==callback&&(once.current=callback,callback());},[callback]),children};typeof Promise.withResolvers>\"u\"&&(Promise.withResolvers=()=>{let resolve=null,reject=null;return {promise:new Promise((res,rej)=>{resolve=res,reject=rej;}),resolve,reject}});var renderElement=async(node,el,rootOptions)=>{let root=await getReactRoot(el,rootOptions);if(getIsReactActEnvironment()){root.render(node);return}let{promise,resolve}=Promise.withResolvers();return root.render(React.createElement(WithCallback,{callback:resolve},node)),promise},unmountElement=(el,shouldUseNewRootApi)=>{let root=nodes.get(el);root&&(root.unmount(),nodes.delete(el));},getReactRoot=async(el,rootOptions)=>{let root=nodes.get(el);return root||(root=ReactDOM.createRoot(el,rootOptions),nodes.set(el,root)),root};\n\nexport { renderElement, unmountElement };\n"],"names":["m","require$$0","createRoot","i","c","o","nodes","getIsReactActEnvironment","WithCallback","callback","children","once","React","resolve","reject","res","rej","renderElement","node","el","rootOptions","root","getReactRoot","promise","unmountElement","shouldUseNewRootApi","ReactDOM.createRoot"],"mappings":";;OAEIA,IAAIC;AACR,IAAI,QAAQ,IAAI,aAAa;AAC3B,EAAAC,IAAqBF,EAAE,YACDA,EAAE;AAAA,KACnB;AACL,MAAIG,IAAIH,EAAE;AACV,EAAAE,IAAqB,SAASE,GAAGC,GAAG;AAClC,IAAAF,EAAE,wBAAwB;AAC1B,QAAI;AACF,aAAOH,EAAE,WAAWI,GAAGC,CAAC;AAAA,IAC9B,UAAc;AACR,MAAAF,EAAE,wBAAwB;AAAA,IAC3B;AAAA,EACL;AAS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