@uva-glass/component-library 3.19.0 → 3.19.2
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/{Lexical.prod-qoFV025v.js → Lexical.prod-DcAfce4S.js} +2 -2
- package/dist/{Lexical.prod-qoFV025v.js.map → Lexical.prod-DcAfce4S.js.map} +1 -1
- package/dist/{LexicalClipboard.prod-BFJoO5qv.js → LexicalClipboard.prod-BktY_t6W.js} +4 -4
- package/dist/{LexicalClipboard.prod-BFJoO5qv.js.map → LexicalClipboard.prod-BktY_t6W.js.map} +1 -1
- package/dist/{LexicalLink.prod-BIN12UMz.js → LexicalLink.prod-BVtqGtVB.js} +3 -3
- package/dist/{LexicalLink.prod-BIN12UMz.js.map → LexicalLink.prod-BVtqGtVB.js.map} +1 -1
- package/dist/{LexicalList.prod-WlGaeo0L.js → LexicalList.prod-CZY2UZ4l.js} +5 -5
- package/dist/{LexicalList.prod-WlGaeo0L.js.map → LexicalList.prod-CZY2UZ4l.js.map} +1 -1
- package/dist/{LexicalSelection.prod-B5grbYgk.js → LexicalSelection.prod-Bbf3tSur.js} +2 -2
- package/dist/{LexicalSelection.prod-B5grbYgk.js.map → LexicalSelection.prod-Bbf3tSur.js.map} +1 -1
- package/dist/{LexicalTable.prod-osQj1CQX.js → LexicalTable.prod-CphD9tIW.js} +53 -53
- package/dist/LexicalTable.prod-CphD9tIW.js.map +1 -0
- package/dist/{LexicalUtils.prod-BpZsS7jD.js → LexicalUtils.prod-DGbydHdL.js} +2 -2
- package/dist/{LexicalUtils.prod-BpZsS7jD.js.map → LexicalUtils.prod-DGbydHdL.js.map} +1 -1
- package/dist/{TablePlugin-6tDdOCQy.js → TablePlugin-CE20cPhW.js} +4 -4
- package/dist/{TablePlugin-6tDdOCQy.js.map → TablePlugin-CE20cPhW.js.map} +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/Checkbox.css +1 -1
- package/dist/assets/CheckboxButton.css +1 -1
- package/dist/assets/CheckboxButtonBar.css +1 -1
- package/dist/assets/CheckboxTree.css +1 -1
- package/dist/assets/Chip.css +1 -1
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/EmptyStateDataDisplay.css +1 -1
- package/dist/assets/FeedbackBar.css +1 -1
- package/dist/assets/FeedbackBox.css +1 -1
- package/dist/assets/FormInput.css +1 -1
- package/dist/assets/Icon.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/InfoMessage.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/InputField.css +1 -1
- package/dist/assets/Label.css +1 -1
- package/dist/components/Card/Card.js +23 -23
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/CheckboxButton/CheckboxButton.js +21 -21
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +20 -20
- package/dist/components/CheckboxTree/CheckboxTree.js +41 -41
- package/dist/components/Chip/Chip.js +8 -8
- package/dist/components/Drawer/Drawer.js +28 -28
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +20 -20
- package/dist/components/FeedbackBar/FeedbackBar.js +15 -15
- package/dist/components/FeedbackBox/FeedbackBox.js +13 -13
- package/dist/components/FormInput/FormInput.js +20 -20
- package/dist/components/Icon/Icon.stories.js +9 -9
- package/dist/components/IconButton/IconButton.js +10 -10
- package/dist/components/InfoMessage/InfoMessage.js +5 -5
- package/dist/components/Input/Input.js +14 -14
- package/dist/components/InputField/InputField.js +40 -40
- package/dist/components/InputField/InputField.stories.js +1 -1
- package/dist/components/Label/Label.js +13 -13
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +2 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +4 -4
- package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +2 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/RteEditor.js +196 -190
- package/dist/components/RteEditor/RteEditor.js.map +1 -1
- package/dist/components/RteEditor/helpers.js +4 -4
- package/dist/components/Timeline/Timeline.test.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{helpers-5RvdadYU.js → helpers-Dpx3BPyY.js} +4 -4
- package/dist/{helpers-5RvdadYU.js.map → helpers-Dpx3BPyY.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +13 -13
- package/dist/LexicalTable.prod-osQj1CQX.js.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useDialog as
|
|
1
|
+
import { jsx as r, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { useDialog as b } from "@react-aria/dialog";
|
|
3
3
|
import { FocusScope as C } from "@react-aria/focus";
|
|
4
4
|
import { useModal as D, useOverlay as g, usePreventScroll as N, OverlayContainer as v } from "@react-aria/overlays";
|
|
5
|
-
import { c as
|
|
6
|
-
import { useState as
|
|
7
|
-
import { Backdrop as
|
|
8
|
-
import { OverlayCloseButton as
|
|
9
|
-
import '../../assets/Drawer.css';const
|
|
10
|
-
drawer:
|
|
11
|
-
drawer__content:
|
|
12
|
-
drawer__header:
|
|
13
|
-
drawer__footer:
|
|
14
|
-
drawer__heading:
|
|
15
|
-
"drawer--open": "_drawer--
|
|
16
|
-
drawer__buttons:
|
|
17
|
-
},
|
|
5
|
+
import { c as z } from "../../clsx-OuTLNxxd.js";
|
|
6
|
+
import { useState as P, useRef as x, useEffect as S } from "react";
|
|
7
|
+
import { Backdrop as j } from "../Backdrop/Backdrop.js";
|
|
8
|
+
import { OverlayCloseButton as k } from "../OverlayCloseButton/OverlayCloseButton.js";
|
|
9
|
+
import '../../assets/Drawer.css';const B = "_drawer_1yz6e_1", F = "_drawer__content_1yz6e_22", R = "_drawer__header_1yz6e_32", T = "_drawer__footer_1yz6e_39", E = "_drawer__heading_1yz6e_26", K = "_drawer__buttons_1yz6e_64", e = {
|
|
10
|
+
drawer: B,
|
|
11
|
+
drawer__content: F,
|
|
12
|
+
drawer__header: R,
|
|
13
|
+
drawer__footer: T,
|
|
14
|
+
drawer__heading: E,
|
|
15
|
+
"drawer--open": "_drawer--open_1yz6e_59",
|
|
16
|
+
drawer__buttons: K
|
|
17
|
+
}, M = 200;
|
|
18
18
|
function U({
|
|
19
19
|
buttons: s,
|
|
20
20
|
children: n,
|
|
@@ -24,34 +24,34 @@ function U({
|
|
|
24
24
|
closeButtonAriaValueText: i = "Close",
|
|
25
25
|
...w
|
|
26
26
|
}) {
|
|
27
|
-
const [m, t] =
|
|
27
|
+
const [m, t] = P(e.drawer), { modalProps: u } = D({ isDisabled: !o }), a = x(null);
|
|
28
28
|
function _() {
|
|
29
|
-
t(
|
|
29
|
+
t(e.drawer), globalThis.setTimeout(() => {
|
|
30
30
|
l();
|
|
31
|
-
},
|
|
31
|
+
}, M);
|
|
32
32
|
}
|
|
33
33
|
const { overlayProps: f, underlayProps: h } = g(
|
|
34
34
|
{ isDismissable: !0, isKeyboardDismissDisabled: !1, isOpen: o, onClose: _ },
|
|
35
35
|
a
|
|
36
|
-
), { dialogProps:
|
|
37
|
-
return N({ isDisabled: !o }),
|
|
38
|
-
t(
|
|
39
|
-
}, [o]), /* @__PURE__ */
|
|
36
|
+
), { dialogProps: p, titleProps: y } = b({}, a);
|
|
37
|
+
return N({ isDisabled: !o }), S(() => {
|
|
38
|
+
t(z(e.drawer, { [e["drawer--open"]]: o }));
|
|
39
|
+
}, [o]), /* @__PURE__ */ r(v, { children: /* @__PURE__ */ r(j, { ...h, children: /* @__PURE__ */ r(C, { contain: !0, restoreFocus: !0, children: /* @__PURE__ */ d(
|
|
40
40
|
"aside",
|
|
41
41
|
{
|
|
42
42
|
...u,
|
|
43
43
|
...f,
|
|
44
|
-
...
|
|
44
|
+
...p,
|
|
45
45
|
...w,
|
|
46
46
|
className: m,
|
|
47
47
|
ref: a,
|
|
48
48
|
children: [
|
|
49
|
-
/* @__PURE__ */ d("header", { className:
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ d("header", { className: e.drawer__header, children: [
|
|
50
|
+
/* @__PURE__ */ r("h1", { className: e.drawer__heading, ...y, children: c }),
|
|
51
|
+
/* @__PURE__ */ r(k, { "aria-label": i, onClick: _ })
|
|
52
52
|
] }),
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
s && /* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ r("div", { className: e.drawer__content, children: n }),
|
|
54
|
+
s && /* @__PURE__ */ r("footer", { className: e.drawer__footer, children: /* @__PURE__ */ r("div", { className: e.drawer__buttons, children: s }) })
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
) }) }) });
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Icon as
|
|
1
|
+
import { jsxs as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as d } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { Icon as l } from "../Icon/Icon.js";
|
|
4
4
|
import '../../assets/EmptyStateDataDisplay.css';const a = {
|
|
5
|
-
"empty-state-data-display_wrapper": "_empty-state-data-
|
|
6
|
-
"empty-state-data-display_icon-frame": "_empty-state-data-display_icon-
|
|
7
|
-
"empty-state-data-display_wrapper--invert-colors": "_empty-state-data-display_wrapper--invert-
|
|
8
|
-
"empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-
|
|
9
|
-
"empty-state-data-display_text-content": "_empty-state-data-display_text-
|
|
10
|
-
"empty-state-data-display_label": "_empty-state-data-
|
|
11
|
-
"empty-state-data-display_paragraph": "_empty-state-data-
|
|
5
|
+
"empty-state-data-display_wrapper": "_empty-state-data-display_wrapper_14bsh_1",
|
|
6
|
+
"empty-state-data-display_icon-frame": "_empty-state-data-display_icon-frame_14bsh_9",
|
|
7
|
+
"empty-state-data-display_wrapper--invert-colors": "_empty-state-data-display_wrapper--invert-colors_14bsh_19",
|
|
8
|
+
"empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-colors_14bsh_23",
|
|
9
|
+
"empty-state-data-display_text-content": "_empty-state-data-display_text-content_14bsh_27",
|
|
10
|
+
"empty-state-data-display_label": "_empty-state-data-display_label_14bsh_33",
|
|
11
|
+
"empty-state-data-display_paragraph": "_empty-state-data-display_paragraph_14bsh_37"
|
|
12
12
|
};
|
|
13
|
-
function
|
|
14
|
-
return /* @__PURE__ */
|
|
13
|
+
function m({ label: r, paragraph: e, invertColors: s }) {
|
|
14
|
+
return /* @__PURE__ */ p(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
|
-
className:
|
|
18
|
-
[a["empty-state-data-display_wrapper--invert-colors"]]:
|
|
17
|
+
className: d(a["empty-state-data-display_wrapper"], {
|
|
18
|
+
[a["empty-state-data-display_wrapper--invert-colors"]]: s
|
|
19
19
|
}),
|
|
20
20
|
children: [
|
|
21
21
|
/* @__PURE__ */ t(
|
|
22
22
|
"div",
|
|
23
23
|
{
|
|
24
|
-
className:
|
|
25
|
-
[a["empty-state-data-display_icon-frame--invert-colors"]]:
|
|
24
|
+
className: d(a["empty-state-data-display_icon-frame"], {
|
|
25
|
+
[a["empty-state-data-display_icon-frame--invert-colors"]]: s
|
|
26
26
|
}),
|
|
27
|
-
children: /* @__PURE__ */ t(
|
|
27
|
+
children: /* @__PURE__ */ t(l, { name: "CubeTransparent" })
|
|
28
28
|
}
|
|
29
29
|
),
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children:
|
|
30
|
+
/* @__PURE__ */ p("div", { className: a["empty-state-data-display_text-content"], children: [
|
|
31
|
+
/* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children: r }),
|
|
32
32
|
e && /* @__PURE__ */ t("p", { className: a["empty-state-data-display_paragraph"], children: e })
|
|
33
33
|
] })
|
|
34
34
|
]
|
|
@@ -36,6 +36,6 @@ function _({ label: d, paragraph: e, invertColors: p }) {
|
|
|
36
36
|
);
|
|
37
37
|
}
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
m as EmptyStateDataDisplay
|
|
40
40
|
};
|
|
41
41
|
//# sourceMappingURL=EmptyStateDataDisplay.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { useState as l, useEffect as _ } from "react";
|
|
4
|
-
import { Icon as
|
|
4
|
+
import { Icon as b } from "../Icon/Icon.js";
|
|
5
5
|
import { Repeater as f } from "../Repeater/Repeater.js";
|
|
6
6
|
import '../../assets/FeedbackBar.css';const e = {
|
|
7
|
-
"feedback-bar": "_feedback-
|
|
8
|
-
"feedback-bar--visible": "_feedback-bar--
|
|
9
|
-
"feedback-bar__icon": "_feedback-
|
|
10
|
-
"feedback-bar__close-button": "_feedback-bar__close-
|
|
11
|
-
}, x = ({ children:
|
|
12
|
-
const [t,
|
|
7
|
+
"feedback-bar": "_feedback-bar_1exld_1",
|
|
8
|
+
"feedback-bar--visible": "_feedback-bar--visible_1exld_15",
|
|
9
|
+
"feedback-bar__icon": "_feedback-bar__icon_1exld_21",
|
|
10
|
+
"feedback-bar__close-button": "_feedback-bar__close-button_1exld_25"
|
|
11
|
+
}, x = ({ children: o }) => {
|
|
12
|
+
const [t, r] = l(!1);
|
|
13
13
|
_(() => {
|
|
14
|
-
|
|
14
|
+
r(!0);
|
|
15
15
|
}, []);
|
|
16
16
|
const i = () => {
|
|
17
|
-
|
|
17
|
+
r(!1);
|
|
18
18
|
};
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */ a(
|
|
22
|
-
|
|
19
|
+
return /* @__PURE__ */ s("div", { className: c(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
|
|
20
|
+
/* @__PURE__ */ s(f, { flexDirection: "row", children: [
|
|
21
|
+
/* @__PURE__ */ a(b, { className: c(e["feedback-bar__icon"]), name: "CheckCircle" }),
|
|
22
|
+
o
|
|
23
23
|
] }),
|
|
24
|
-
/* @__PURE__ */ a("button", { className: c(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ a(
|
|
24
|
+
/* @__PURE__ */ a("button", { className: c(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ a(b, { name: "Cross", size: 24 }) })
|
|
25
25
|
] });
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Icon as
|
|
1
|
+
import { jsxs as _, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as s } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { Icon as a } from "../Icon/Icon.js";
|
|
4
4
|
import '../../assets/FeedbackBox.css';const c = {
|
|
5
|
-
"feedback-box": "_feedback-
|
|
6
|
-
"feedback-box__success": "_feedback-
|
|
7
|
-
"feedback-box__warning": "_feedback-
|
|
8
|
-
"feedback-box__error": "_feedback-
|
|
9
|
-
},
|
|
5
|
+
"feedback-box": "_feedback-box_oidbb_1",
|
|
6
|
+
"feedback-box__success": "_feedback-box__success_oidbb_15",
|
|
7
|
+
"feedback-box__warning": "_feedback-box__warning_oidbb_19",
|
|
8
|
+
"feedback-box__error": "_feedback-box__error_oidbb_23"
|
|
9
|
+
}, i = {
|
|
10
10
|
success: "CheckCircle",
|
|
11
11
|
warning: "ExclamationCircle",
|
|
12
12
|
error: "ExclamationTriangleMini"
|
|
13
|
-
}, f = ({ id:
|
|
13
|
+
}, f = ({ id: o, level: e, feedback: b }) => /* @__PURE__ */ _(
|
|
14
14
|
"div",
|
|
15
15
|
{
|
|
16
|
-
className:
|
|
16
|
+
className: s(c["feedback-box"], {
|
|
17
17
|
[c["feedback-box__success"]]: e === "success",
|
|
18
18
|
[c["feedback-box__warning"]]: e === "warning",
|
|
19
19
|
[c["feedback-box__error"]]: e === "error"
|
|
20
20
|
}),
|
|
21
|
-
id:
|
|
21
|
+
id: o,
|
|
22
22
|
children: [
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
|
|
23
|
+
/* @__PURE__ */ r(a, { name: i[e], size: 16 }),
|
|
24
|
+
b
|
|
25
25
|
]
|
|
26
26
|
}
|
|
27
27
|
);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsxs as a, jsx as t, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { c as v } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../Buttons/Button.js";
|
|
5
5
|
import "../Buttons/LinkButton.js";
|
|
6
6
|
import "@react-aria/button";
|
|
7
7
|
import "../Checkbox/Checkbox.js";
|
|
8
|
-
import { Label as
|
|
8
|
+
import { Label as h } from "../Label/Label.js";
|
|
9
9
|
import "@react-aria/dialog";
|
|
10
10
|
import "@react-aria/focus";
|
|
11
11
|
import "@react-aria/overlays";
|
|
12
12
|
import "../OverlayCloseButton/OverlayCloseButton.js";
|
|
13
|
-
import { FeedbackBox as
|
|
13
|
+
import { FeedbackBox as k } from "../FeedbackBox/FeedbackBox.js";
|
|
14
14
|
import "../GridRow/GridRow.js";
|
|
15
15
|
import "../IconButton/IconButton.js";
|
|
16
16
|
import "../Input/Input.js";
|
|
17
17
|
import "../InputField/InputField.js";
|
|
18
18
|
import "react-router";
|
|
19
|
-
import "../../TablePlugin-
|
|
19
|
+
import "../../TablePlugin-CE20cPhW.js";
|
|
20
20
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
21
21
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
22
22
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -26,42 +26,42 @@ import "../SelectListbox/SelectProvider.js";
|
|
|
26
26
|
import "../Sortable/components/SortableItem.js";
|
|
27
27
|
import "../../SortableProvider-DZggDO3M.js";
|
|
28
28
|
import '../../assets/FormInput.css';const o = {
|
|
29
|
-
"form-input__container": "_form-
|
|
30
|
-
"form-input__container--label-left": "_form-input__container--label-
|
|
31
|
-
"form-input__container--label-top": "_form-input__container--label-
|
|
32
|
-
"form-input__input-feedback-container": "_form-input__input-feedback-
|
|
33
|
-
"form-input__input-container": "_form-input__input-
|
|
34
|
-
"form-input__input": "_form-
|
|
29
|
+
"form-input__container": "_form-input__container_c0vpz_1",
|
|
30
|
+
"form-input__container--label-left": "_form-input__container--label-left_c0vpz_7",
|
|
31
|
+
"form-input__container--label-top": "_form-input__container--label-top_c0vpz_18",
|
|
32
|
+
"form-input__input-feedback-container": "_form-input__input-feedback-container_c0vpz_25",
|
|
33
|
+
"form-input__input-container": "_form-input__input-container_c0vpz_35",
|
|
34
|
+
"form-input__input": "_form-input__input_c0vpz_25"
|
|
35
35
|
}, U = ({
|
|
36
36
|
id: i,
|
|
37
37
|
label: n,
|
|
38
38
|
labelPosition: f = "top",
|
|
39
|
-
type:
|
|
39
|
+
type: p = "text",
|
|
40
40
|
required: l = !1,
|
|
41
|
-
notValidatedText:
|
|
41
|
+
notValidatedText: e = "",
|
|
42
42
|
onChange: m,
|
|
43
43
|
noContainer: u = !1,
|
|
44
44
|
customInput: _
|
|
45
45
|
}) => {
|
|
46
46
|
const s = (r) => ["e", "E", "+", "-"].includes(r.key) && r.preventDefault(), d = (r) => {
|
|
47
47
|
typeof m == "function" && m(r.target.value);
|
|
48
|
-
},
|
|
49
|
-
n && /* @__PURE__ */ t(
|
|
50
|
-
/* @__PURE__ */
|
|
48
|
+
}, c = /* @__PURE__ */ a(b, { children: [
|
|
49
|
+
n && /* @__PURE__ */ t(h, { htmlFor: i, required: l, alignRight: !0, children: n }),
|
|
50
|
+
/* @__PURE__ */ a("div", { className: o["form-input__input-feedback-container"], children: [
|
|
51
51
|
_ || /* @__PURE__ */ t("div", { className: o["form-input__input-container"], children: /* @__PURE__ */ t(
|
|
52
52
|
"input",
|
|
53
53
|
{
|
|
54
54
|
id: i,
|
|
55
|
-
type:
|
|
56
|
-
...
|
|
55
|
+
type: p,
|
|
56
|
+
...p === "number" && { onKeyDown: s },
|
|
57
57
|
onChange: d,
|
|
58
58
|
className: o["form-input__input"]
|
|
59
59
|
}
|
|
60
60
|
) }),
|
|
61
|
-
|
|
61
|
+
e !== "" && /* @__PURE__ */ t(k, { level: "error", feedback: e })
|
|
62
62
|
] })
|
|
63
63
|
] });
|
|
64
|
-
return u ?
|
|
64
|
+
return u ? c : /* @__PURE__ */ t("div", { className: v(o["form-input__container"], o[`form-input__container--label-${f}`]), children: c });
|
|
65
65
|
};
|
|
66
66
|
export {
|
|
67
67
|
U as FormInput
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as i } from "./Icon.js";
|
|
3
3
|
import { Icons as r } from "./icons/index.js";
|
|
4
4
|
import { ClipboardButton as c } from "../../storyComponents/ClipboardButton/ClipboardButton.js";
|
|
5
|
-
import '../../assets/Icon.css';const s = "
|
|
5
|
+
import '../../assets/Icon.css';const s = "_icon__wrapper_106v1_1", p = "_icon__item_106v1_13", t = {
|
|
6
6
|
icon__wrapper: s,
|
|
7
7
|
icon__item: p
|
|
8
8
|
}, a = "<Icon name={iconName} size={size} />", w = {
|
|
@@ -12,13 +12,13 @@ import '../../assets/Icon.css';const s = "_icon__wrapper_lse0u_1", p = "_icon__i
|
|
|
12
12
|
inspectComponent: i,
|
|
13
13
|
codeString: a
|
|
14
14
|
}
|
|
15
|
-
}, m = (
|
|
15
|
+
}, m = (o) => /* @__PURE__ */ e(i, { ...o }), _ = m.bind({});
|
|
16
16
|
_.args = {
|
|
17
17
|
name: "ArrowDownOnSquare",
|
|
18
18
|
size: 32,
|
|
19
19
|
title: "Optional Icon title"
|
|
20
20
|
};
|
|
21
|
-
const x = () => /* @__PURE__ */
|
|
21
|
+
const x = () => /* @__PURE__ */ e(
|
|
22
22
|
"div",
|
|
23
23
|
{
|
|
24
24
|
style: {
|
|
@@ -28,13 +28,13 @@ const x = () => /* @__PURE__ */ o(
|
|
|
28
28
|
padding: "1rem",
|
|
29
29
|
maxWidth: "1024px"
|
|
30
30
|
},
|
|
31
|
-
children: Object.keys(r).map((
|
|
32
|
-
/* @__PURE__ */
|
|
31
|
+
children: Object.keys(r).map((o) => /* @__PURE__ */ n("div", { className: t.icon__wrapper, children: [
|
|
32
|
+
/* @__PURE__ */ e(i, { name: o, size: 48 }),
|
|
33
33
|
/* @__PURE__ */ n("div", { className: t.icon__item, children: [
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ e("span", { children: o }),
|
|
35
|
+
/* @__PURE__ */ e(c, { text: `<Icon icon={${o}} />` })
|
|
36
36
|
] })
|
|
37
|
-
] },
|
|
37
|
+
] }, o))
|
|
38
38
|
}
|
|
39
39
|
);
|
|
40
40
|
export {
|
|
@@ -2,19 +2,19 @@ import { jsx as b } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as s } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { forwardRef as _ } from "react";
|
|
4
4
|
import '../../assets/IconButton.css';const t = {
|
|
5
|
-
"icon-button": "_icon-
|
|
6
|
-
"icon-button--destructive": "_icon-button--
|
|
7
|
-
"icon-button--no-border": "_icon-button--no-
|
|
8
|
-
"icon-button--wide": "_icon-button--
|
|
9
|
-
},
|
|
10
|
-
({ children: o, type: n = "button", variant:
|
|
5
|
+
"icon-button": "_icon-button_1qz6r_1",
|
|
6
|
+
"icon-button--destructive": "_icon-button--destructive_1qz6r_27",
|
|
7
|
+
"icon-button--no-border": "_icon-button--no-border_1qz6r_35",
|
|
8
|
+
"icon-button--wide": "_icon-button--wide_1qz6r_44"
|
|
9
|
+
}, a = _(
|
|
10
|
+
({ children: o, type: n = "button", variant: r, noBorder: c, wide: i, ...e }, u) => /* @__PURE__ */ b(
|
|
11
11
|
"button",
|
|
12
12
|
{
|
|
13
13
|
...e,
|
|
14
14
|
className: s(t["icon-button"], {
|
|
15
|
-
[t["icon-button--destructive"]]:
|
|
16
|
-
[t["icon-button--no-border"]]:
|
|
17
|
-
[t["icon-button--wide"]]:
|
|
15
|
+
[t["icon-button--destructive"]]: r === "destructive",
|
|
16
|
+
[t["icon-button--no-border"]]: c,
|
|
17
|
+
[t["icon-button--wide"]]: i
|
|
18
18
|
}),
|
|
19
19
|
ref: u,
|
|
20
20
|
type: n,
|
|
@@ -23,6 +23,6 @@ import '../../assets/IconButton.css';const t = {
|
|
|
23
23
|
)
|
|
24
24
|
);
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
a as IconButton
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=IconButton.js.map
|
|
@@ -2,10 +2,10 @@ import { jsxs as n, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as a } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { Icon as _ } from "../Icon/Icon.js";
|
|
4
4
|
import '../../assets/InfoMessage.css';const s = {
|
|
5
|
-
"info-message": "_info-
|
|
6
|
-
"info-message__container": "_info-
|
|
7
|
-
"info-message__icon": "_info-
|
|
8
|
-
},
|
|
5
|
+
"info-message": "_info-message_1jurj_1",
|
|
6
|
+
"info-message__container": "_info-message__container_1jurj_6",
|
|
7
|
+
"info-message__icon": "_info-message__icon_1jurj_11"
|
|
8
|
+
}, f = ({ message: e, hasOwnContainer: o = !1 }) => /* @__PURE__ */ n(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
11
|
className: a(s["info-message"], {
|
|
@@ -18,6 +18,6 @@ import '../../assets/InfoMessage.css';const s = {
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
export {
|
|
21
|
-
|
|
21
|
+
f as InfoMessage
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=InfoMessage.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c
|
|
4
|
-
import '../../assets/Input.css';const
|
|
5
|
-
input:
|
|
6
|
-
"input--numeric": "_input--
|
|
7
|
-
"input--error": "_input--
|
|
8
|
-
"input--full-with": "_input--full-
|
|
9
|
-
},
|
|
10
|
-
return /* @__PURE__ */
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
|
+
import { c } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import '../../assets/Input.css';const f = "_input_1hohz_1", t = {
|
|
5
|
+
input: f,
|
|
6
|
+
"input--numeric": "_input--numeric_1hohz_13",
|
|
7
|
+
"input--error": "_input--error_1hohz_18",
|
|
8
|
+
"input--full-with": "_input--full-with_1hohz_23"
|
|
9
|
+
}, w = h(function({ id: r, appearance: n, type: i = "text", isNumeric: u, fullWidth: o, ...p }, e) {
|
|
10
|
+
return /* @__PURE__ */ _(
|
|
11
11
|
"input",
|
|
12
12
|
{
|
|
13
|
-
...
|
|
13
|
+
...p,
|
|
14
14
|
ref: e,
|
|
15
15
|
id: r,
|
|
16
|
-
className:
|
|
16
|
+
className: c(t.input, {
|
|
17
17
|
[t["input--error"]]: n === "error",
|
|
18
|
-
[t["input--full-with"]]:
|
|
18
|
+
[t["input--full-with"]]: o,
|
|
19
19
|
[t["input--numeric"]]: u
|
|
20
20
|
}),
|
|
21
21
|
type: i
|
|
@@ -23,6 +23,6 @@ import '../../assets/Input.css';const c = "_input_whbfw_1", t = {
|
|
|
23
23
|
);
|
|
24
24
|
});
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
w as Input
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=Input.js.map
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsxs as b, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g, useState as x, useRef as y, useEffect as B } from "react";
|
|
3
|
+
import { c as C } from "../../clsx-OuTLNxxd.js";
|
|
4
4
|
import '../../assets/InputField.css';const t = {
|
|
5
|
-
"input-field-wrapper": "_input-field-
|
|
6
|
-
"input-field": "_input-
|
|
7
|
-
"input-field--large": "_input-field--
|
|
8
|
-
"input-field--small": "_input-field--
|
|
9
|
-
"input-field--compact": "_input-field--
|
|
10
|
-
"input-field--white": "_input-field--
|
|
11
|
-
"input-field__clear-button": "_input-field__clear-
|
|
12
|
-
},
|
|
5
|
+
"input-field-wrapper": "_input-field-wrapper_ndcss_1",
|
|
6
|
+
"input-field": "_input-field_ndcss_1",
|
|
7
|
+
"input-field--large": "_input-field--large_ndcss_22",
|
|
8
|
+
"input-field--small": "_input-field--small_ndcss_26",
|
|
9
|
+
"input-field--compact": "_input-field--compact_ndcss_30",
|
|
10
|
+
"input-field--white": "_input-field--white_ndcss_34",
|
|
11
|
+
"input-field__clear-button": "_input-field__clear-button_ndcss_42"
|
|
12
|
+
}, j = g(
|
|
13
13
|
({
|
|
14
|
-
autoComplete:
|
|
15
|
-
id:
|
|
14
|
+
autoComplete: f = "off",
|
|
15
|
+
id: s,
|
|
16
16
|
value: e,
|
|
17
|
-
variant:
|
|
18
|
-
width:
|
|
19
|
-
type:
|
|
20
|
-
background:
|
|
21
|
-
clearTrigger:
|
|
22
|
-
onClear:
|
|
23
|
-
...
|
|
17
|
+
variant: d,
|
|
18
|
+
width: u,
|
|
19
|
+
type: _ = "text",
|
|
20
|
+
background: p,
|
|
21
|
+
clearTrigger: n,
|
|
22
|
+
onClear: c,
|
|
23
|
+
...o
|
|
24
24
|
}, i) => {
|
|
25
|
-
const [
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
const [a, m] = x(0), l = y(null);
|
|
26
|
+
B(() => {
|
|
27
|
+
l.current && m(l.current.offsetWidth);
|
|
28
28
|
}, [e]);
|
|
29
29
|
const h = () => {
|
|
30
|
-
|
|
30
|
+
c && i && "current" in i && i.current && (c(), i.current.focus());
|
|
31
31
|
};
|
|
32
|
-
return /* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
32
|
+
return /* @__PURE__ */ b("div", { className: t["input-field-wrapper"], children: [
|
|
33
|
+
/* @__PURE__ */ r(
|
|
34
34
|
"input",
|
|
35
35
|
{
|
|
36
|
-
...
|
|
37
|
-
autoComplete:
|
|
36
|
+
...o,
|
|
37
|
+
autoComplete: f,
|
|
38
38
|
ref: i,
|
|
39
|
-
id:
|
|
40
|
-
className:
|
|
41
|
-
[t["input-field--large"]]:
|
|
42
|
-
[t[`input-field--${
|
|
43
|
-
[t[`input-field--${
|
|
39
|
+
id: s,
|
|
40
|
+
className: C(t["input-field"], {
|
|
41
|
+
[t["input-field--large"]]: d === "large",
|
|
42
|
+
[t[`input-field--${u}`]]: u,
|
|
43
|
+
[t[`input-field--${p}`]]: p
|
|
44
44
|
}),
|
|
45
|
-
type:
|
|
45
|
+
type: _,
|
|
46
46
|
value: e,
|
|
47
|
-
style: { paddingRight: e &&
|
|
47
|
+
style: { paddingRight: e && n ? a : void 0 }
|
|
48
48
|
}
|
|
49
49
|
),
|
|
50
|
-
e &&
|
|
50
|
+
e && n && /* @__PURE__ */ r(
|
|
51
51
|
"button",
|
|
52
52
|
{
|
|
53
53
|
type: "button",
|
|
54
54
|
className: t["input-field__clear-button"],
|
|
55
55
|
onClick: h,
|
|
56
|
-
ref:
|
|
57
|
-
"aria-label": `clear trigger for ${
|
|
58
|
-
children:
|
|
56
|
+
ref: l,
|
|
57
|
+
"aria-label": `clear trigger for ${s}`,
|
|
58
|
+
children: n
|
|
59
59
|
}
|
|
60
60
|
)
|
|
61
61
|
] });
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
64
|
export {
|
|
65
|
-
|
|
65
|
+
j as InputField
|
|
66
66
|
};
|
|
67
67
|
//# sourceMappingURL=InputField.js.map
|
|
@@ -16,7 +16,7 @@ import "../GridRow/GridRow.js";
|
|
|
16
16
|
import "../IconButton/IconButton.js";
|
|
17
17
|
import "../Input/Input.js";
|
|
18
18
|
import "react-router";
|
|
19
|
-
import "../../TablePlugin-
|
|
19
|
+
import "../../TablePlugin-CE20cPhW.js";
|
|
20
20
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
21
21
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
22
22
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import '../../assets/Label.css';const
|
|
4
|
-
label:
|
|
5
|
-
"label--required": "_label--
|
|
6
|
-
"label--unset-font-weight": "_label--unset-font-
|
|
7
|
-
"label--align-right": "_label--align-
|
|
8
|
-
},
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { c as n } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import '../../assets/Label.css';const _ = "_label_1elrd_1", l = {
|
|
4
|
+
label: _,
|
|
5
|
+
"label--required": "_label--required_1elrd_6",
|
|
6
|
+
"label--unset-font-weight": "_label--unset-font-weight_1elrd_14",
|
|
7
|
+
"label--align-right": "_label--align-right_1elrd_18"
|
|
8
|
+
}, d = ({ children: e, htmlFor: a, noFontWeight: t, required: r = !1, alignRight: b, ...i }) => /* @__PURE__ */ s(
|
|
9
9
|
"label",
|
|
10
10
|
{
|
|
11
|
-
...
|
|
11
|
+
...i,
|
|
12
12
|
htmlFor: a,
|
|
13
|
-
className:
|
|
13
|
+
className: n(l.label, {
|
|
14
14
|
[l["label--unset-font-weight"]]: t,
|
|
15
|
-
[l["label--required"]]:
|
|
16
|
-
[l["label--align-right"]]:
|
|
15
|
+
[l["label--required"]]: r,
|
|
16
|
+
[l["label--align-right"]]: b
|
|
17
17
|
}),
|
|
18
18
|
children: e
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
d as Label
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=Label.js.map
|