@uva-glass/component-library 2.7.1 → 3.0.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/{SelectListbox.module-DX1IVM9E.js → SelectListbox.module-BD2qbcmZ.js} +21 -21
- package/dist/SelectListbox.module-BD2qbcmZ.js.map +1 -0
- package/dist/{TablePlugin-C_QKVXSo.js → TablePlugin-CPEwD-wi.js} +2 -2
- package/dist/TablePlugin-CPEwD-wi.js.map +1 -0
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/components/ActionList/ActionList.js +15 -5
- package/dist/components/ActionList/ActionList.js.map +1 -1
- 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.js +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.js.map +1 -1
- package/dist/components/CheckboxTree/CheckboxTree.stories.js +10 -10
- package/dist/components/Chip/Chip.stories.js +1 -1
- package/dist/components/Drawer/Drawer.stories.js +1 -1
- package/dist/components/FormInput/FormInput.js +1 -1
- 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 +2 -2
- package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.d.ts +1 -0
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +2 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.d.ts +1 -0
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js.map +1 -1
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/RteEditor.js +114 -115
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/hooks/components/Flyout.js.map +1 -1
- package/dist/components/RteEditor/hooks/useFlyout.js.map +1 -1
- package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
- package/dist/components/SelectListbox/SelectListbox.d.ts +2 -1
- package/dist/components/SelectListbox/SelectListbox.js +36 -39
- package/dist/components/SelectListbox/SelectListbox.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectButton.js +1 -1
- package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
- package/dist/components/SelectListbox/components/SelectOption.d.ts +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js.map +1 -1
- package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
- package/dist/components/Sortable/Sortable.stories.js +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
- package/dist/components/hooks/useDebounce.js +5 -5
- package/dist/components/hooks/useDebounce.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index-Sh2oo6_C.js +23304 -0
- package/dist/index-Sh2oo6_C.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{react-18-CT6mjea2.js → react-18-C9Y1Flwa.js} +23 -23
- package/dist/{react-18-CT6mjea2.js.map → react-18-C9Y1Flwa.js.map} +1 -1
- package/dist/storybook__react.d.js +604 -562
- package/dist/storybook__react.d.js.map +1 -1
- package/package.json +29 -33
- package/dist/SelectListbox.module-DX1IVM9E.js.map +0 -1
- package/dist/TablePlugin-C_QKVXSo.js.map +0 -1
- package/dist/index-BpZ8v2ye.js +0 -19125
- package/dist/index-BpZ8v2ye.js.map +0 -1
- package/dist/index-CHX1d9_A.js +0 -21922
- package/dist/index-CHX1d9_A.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ import { Label as io } from "./components/Label/Label.js";
|
|
|
32
32
|
import { MenuLink as no } from "./components/MenuLink/MenuLink.js";
|
|
33
33
|
import { MetaDataList as co } from "./components/MetaDataList/MetaDataList.js";
|
|
34
34
|
import { ModalDialog as so } from "./components/ModalDialog/ModalDialog.js";
|
|
35
|
-
import { M as So } from "./TablePlugin-
|
|
35
|
+
import { M as So } from "./TablePlugin-CPEwD-wi.js";
|
|
36
36
|
import { OverlayCloseButton as bo } from "./components/OverlayCloseButton/OverlayCloseButton.js";
|
|
37
37
|
import { OverlayStepBar as Fo } from "./components/OverlayStepBar/OverlayStepBar.js";
|
|
38
38
|
import { PageOverlay as Mo } from "./components/PageOverlay/PageOverlay.js";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
var
|
|
1
|
+
import * as s from "react";
|
|
2
|
+
import R from "react-dom";
|
|
3
|
+
var o = {}, a;
|
|
4
4
|
function c() {
|
|
5
|
-
if (a) return
|
|
5
|
+
if (a) return o;
|
|
6
6
|
a = 1;
|
|
7
|
-
var e = R
|
|
7
|
+
var e = R;
|
|
8
8
|
if (process.env.NODE_ENV === "production")
|
|
9
|
-
|
|
9
|
+
o.createRoot = e.createRoot, o.hydrateRoot = e.hydrateRoot;
|
|
10
10
|
else {
|
|
11
11
|
var r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
12
|
-
|
|
12
|
+
o.createRoot = function(t, n) {
|
|
13
13
|
r.usingClientEntryPoint = !0;
|
|
14
14
|
try {
|
|
15
|
-
return e.createRoot(t,
|
|
15
|
+
return e.createRoot(t, n);
|
|
16
16
|
} finally {
|
|
17
17
|
r.usingClientEntryPoint = !1;
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, o.hydrateRoot = function(t, n, u) {
|
|
20
20
|
r.usingClientEntryPoint = !0;
|
|
21
21
|
try {
|
|
22
|
-
return e.hydrateRoot(t,
|
|
22
|
+
return e.hydrateRoot(t, n, u);
|
|
23
23
|
} finally {
|
|
24
24
|
r.usingClientEntryPoint = !1;
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return o;
|
|
29
29
|
}
|
|
30
30
|
var E = c(), i = /* @__PURE__ */ new Map();
|
|
31
|
-
function
|
|
31
|
+
function f() {
|
|
32
32
|
return globalThis.IS_REACT_ACT_ENVIRONMENT;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
let t =
|
|
36
|
-
return
|
|
34
|
+
var m = ({ callback: e, children: r }) => {
|
|
35
|
+
let t = s.useRef();
|
|
36
|
+
return s.useLayoutEffect(() => {
|
|
37
37
|
t.current !== e && (t.current = e, e());
|
|
38
38
|
}, [e]), r;
|
|
39
39
|
};
|
|
40
40
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
41
41
|
let e = null, r = null;
|
|
42
|
-
return { promise: new Promise((t,
|
|
43
|
-
e = t, r =
|
|
42
|
+
return { promise: new Promise((t, n) => {
|
|
43
|
+
e = t, r = n;
|
|
44
44
|
}), resolve: e, reject: r };
|
|
45
45
|
});
|
|
46
46
|
var _ = async (e, r, t) => {
|
|
47
|
-
let
|
|
48
|
-
if (
|
|
49
|
-
|
|
47
|
+
let n = await y(r, t);
|
|
48
|
+
if (f()) {
|
|
49
|
+
n.render(e);
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
-
let { promise:
|
|
53
|
-
return
|
|
52
|
+
let { promise: u, resolve: l } = Promise.withResolvers();
|
|
53
|
+
return n.render(s.createElement(m, { callback: l }, e)), u;
|
|
54
54
|
}, d = (e, r) => {
|
|
55
55
|
let t = i.get(e);
|
|
56
56
|
t && (t.unmount(), i.delete(e));
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
_ as renderElement,
|
|
63
63
|
d as unmountElement
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=react-18-
|
|
65
|
+
//# sourceMappingURL=react-18-C9Y1Flwa.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-18-
|
|
1
|
+
{"version":3,"file":"react-18-C9Y1Flwa.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","client","i","c","o","h","nodes","getIsReactActEnvironment","WithCallback","callback","children","once","React","resolve","reject","res","rej","renderElement","node","el","rootOptions","root","getReactRoot","promise","unmountElement","shouldUseNewRootApi","ReactDOM.createRoot"],"mappings":";;;;;;AAEA,MAAIA,IAAIC;AACR,MAAI,QAAQ,IAAI,aAAa;AAC3B,IAAAC,EAAkB,aAAGF,EAAE,YACvBE,EAAmB,cAAGF,EAAE;AAAA,OACnB;AACL,QAAIG,IAAIH,EAAE;AACV,IAAAE,eAAqB,SAASE,GAAGC,GAAG;AAClC,MAAAF,EAAE,wBAAwB;AAC1B,UAAI;AACF,eAAOH,EAAE,WAAWI,GAAGC,CAAC;AAAA,MAC9B,UAAc;AACR,QAAAF,EAAE,wBAAwB;AAAA,MAChC;AAAA,IACG,GACDD,EAAA,c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