@uva-glass/component-library 3.19.1 → 3.19.3
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/Button.module-BVsTgdTe.js +15 -0
- package/dist/Button.module-BVsTgdTe.js.map +1 -0
- package/dist/MultiSelectItem-DbOdEllV.js +24 -0
- package/dist/{MultiSelectItem-D9PxdX43.js.map → MultiSelectItem-DbOdEllV.js.map} +1 -1
- package/dist/RteEditor.module-45648CA2.js +41 -0
- package/dist/RteEditor.module-45648CA2.js.map +1 -0
- package/dist/{SelectListbox.module-ignbxWNU.js → SelectListbox.module-N3Kg0UvL.js} +21 -21
- package/dist/SelectListbox.module-N3Kg0UvL.js.map +1 -0
- package/dist/Sortable.module-CuvuQhr8.js +23 -0
- package/dist/Sortable.module-CuvuQhr8.js.map +1 -0
- package/dist/{SortableProvider-DZggDO3M.js → SortableProvider-B3_u0pKv.js} +2 -2
- package/dist/{SortableProvider-DZggDO3M.js.map → SortableProvider-B3_u0pKv.js.map} +1 -1
- package/dist/{TablePlugin-CE20cPhW.js → TablePlugin-hxs9O_ox.js} +28 -28
- package/dist/{TablePlugin-CE20cPhW.js.map → TablePlugin-hxs9O_ox.js.map} +1 -1
- package/dist/assets/AccordionCard.css +1 -1
- package/dist/assets/ActionList.css +1 -1
- package/dist/assets/AppStatusBar.css +1 -1
- package/dist/assets/Backdrop.css +1 -1
- package/dist/assets/Button.css +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/assets/LinkContextMenu.css +1 -1
- package/dist/assets/MetaDataList.css +1 -1
- package/dist/assets/ModalDialog.css +1 -1
- package/dist/assets/MultiSelectBox.css +1 -1
- package/dist/assets/MultiSelectItem.css +1 -1
- package/dist/assets/OverlayCloseButton.css +1 -1
- package/dist/assets/OverlayStepBar.css +1 -1
- package/dist/assets/PageOverlay.css +1 -1
- package/dist/assets/Periods.css +1 -1
- package/dist/assets/ProgrammeCard.css +1 -1
- package/dist/assets/RadioButton.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/RteEditor.css +1 -1
- package/dist/assets/SectionNotification.css +1 -1
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/assets/Sortable.css +1 -1
- package/dist/assets/Spinner.css +1 -1
- package/dist/assets/TableCellContextMenu.css +1 -1
- package/dist/assets/TablePlugin.css +1 -1
- package/dist/components/AccordionCard/AccordionCard.js +22 -22
- package/dist/components/ActionList/ActionList.js +14 -14
- package/dist/components/AppStatusBar/AppStatusBar.js +5 -5
- package/dist/components/Backdrop/Backdrop.js +5 -5
- package/dist/components/Buttons/Button.js +1 -1
- package/dist/components/Buttons/LinkButton.js +1 -1
- package/dist/components/Buttons/MenuButton.js +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 +42 -42
- 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 +21 -21
- 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 +2 -2
- package/dist/components/Label/Label.js +13 -13
- package/dist/components/MetaDataList/MetaDataList.js +4 -4
- package/dist/components/ModalDialog/ModalDialog.js +27 -27
- package/dist/components/MultiSelect/MultiSelect.js +2 -2
- package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -3
- package/dist/components/MultiSelect/components/MultiSelectItem.js +1 -1
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.js +33 -33
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js +2 -2
- package/dist/components/OverlayStepBar/OverlayStepBar.js +6 -6
- package/dist/components/PageOverlay/PageOverlay.js +30 -30
- package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
- package/dist/components/Periods/Periods.js +16 -16
- package/dist/components/ProgrammeCard/ProgrammeCard.js +4 -4
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
- package/dist/components/RadioButton/RadioButton.js +9 -9
- package/dist/components/RadioGroup/RadioGroup.js +27 -27
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +2 -2
- package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +2 -2
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +23 -23
- package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +1 -1
- package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +2 -2
- package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +37 -37
- package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -3
- package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
- package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +2 -2
- package/dist/components/RteEditor/Plugins/index.js +1 -1
- package/dist/components/RteEditor/RteEditor.js +3 -3
- package/dist/components/RteEditor/UvaTheme/UvaTheme.js +1 -1
- package/dist/components/SectionNotification/SectionNotification.js +2 -2
- package/dist/components/SelectListbox/components/SelectButton.js +1 -1
- package/dist/components/SelectListbox/components/SelectContainer.js +1 -1
- package/dist/components/SelectListbox/components/SelectOption.js +1 -1
- package/dist/components/SelectListbox/components/SelectOptionBox.js +1 -1
- package/dist/components/Sortable/Sortable.js +1 -1
- package/dist/components/Sortable/SortableProvider.js +1 -1
- package/dist/components/Sortable/components/SortableContainer.js +2 -2
- package/dist/components/Sortable/components/SortableHandle.js +1 -1
- package/dist/components/Sortable/components/SortableItem.js +2 -2
- package/dist/components/Spinner/Spinner.js +2 -2
- package/dist/components/Timeline/Timeline.test.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/dist/Button.module-FL3-CODh.js +0 -15
- package/dist/Button.module-FL3-CODh.js.map +0 -1
- package/dist/MultiSelectItem-D9PxdX43.js +0 -24
- package/dist/RteEditor.module-oFMKEW6f.js +0 -41
- package/dist/RteEditor.module-oFMKEW6f.js.map +0 -1
- package/dist/SelectListbox.module-ignbxWNU.js.map +0 -1
- package/dist/Sortable.module-DDhRFD1T.js +0 -23
- package/dist/Sortable.module-DDhRFD1T.js.map +0 -1
|
@@ -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-hxs9O_ox.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";
|
|
@@ -24,44 +24,44 @@ import "../../index-DllfJcv4.js";
|
|
|
24
24
|
import "../SelectListbox/SelectListbox.js";
|
|
25
25
|
import "../SelectListbox/SelectProvider.js";
|
|
26
26
|
import "../Sortable/components/SortableItem.js";
|
|
27
|
-
import "../../SortableProvider-
|
|
27
|
+
import "../../SortableProvider-B3_u0pKv.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-hxs9O_ox.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";
|
|
@@ -24,7 +24,7 @@ import "../../index-DllfJcv4.js";
|
|
|
24
24
|
import "../SelectListbox/SelectListbox.js";
|
|
25
25
|
import "../SelectListbox/SelectProvider.js";
|
|
26
26
|
import "../Sortable/components/SortableItem.js";
|
|
27
|
-
import "../../SortableProvider-
|
|
27
|
+
import "../../SortableProvider-B3_u0pKv.js";
|
|
28
28
|
const f = `
|
|
29
29
|
// Has all HTMLInputElement props available except "className" and "style"
|
|
30
30
|
<InputField aria-labelledby={aria-labelledby} id={id} onChange={onChangeFunction}
|
|
@@ -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
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as a, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import '../../assets/MetaDataList.css';const t = {
|
|
3
|
-
"meta-data-list": "_meta-data-
|
|
4
|
-
"meta-data-list__item": "_meta-data-
|
|
5
|
-
"meta-data-list__term": "_meta-data-
|
|
6
|
-
"meta-data-list__description": "_meta-data-
|
|
3
|
+
"meta-data-list": "_meta-data-list_en1ef_1",
|
|
4
|
+
"meta-data-list__item": "_meta-data-list__item_en1ef_5",
|
|
5
|
+
"meta-data-list__term": "_meta-data-list__term_en1ef_16",
|
|
6
|
+
"meta-data-list__description": "_meta-data-list__description_en1ef_20"
|
|
7
7
|
}, m = ({ items: s }) => /* @__PURE__ */ a("dl", { className: t["meta-data-list"], children: Object.entries(s).map(([e, _]) => /* @__PURE__ */ i("div", { className: t["meta-data-list__item"], children: [
|
|
8
8
|
/* @__PURE__ */ a("dt", { className: t["meta-data-list__term"], children: e }),
|
|
9
9
|
/* @__PURE__ */ a("dd", { className: t["meta-data-list__description"], children: _ })
|
|
@@ -8,21 +8,21 @@ import { Backdrop as Y } from "../Backdrop/Backdrop.js";
|
|
|
8
8
|
import { OverlayCloseButton as Z } from "../OverlayCloseButton/OverlayCloseButton.js";
|
|
9
9
|
import { Spinner as oo } from "../Spinner/Spinner.js";
|
|
10
10
|
import '../../assets/ModalDialog.css';const o = {
|
|
11
|
-
"modal-dialog": "_modal-
|
|
12
|
-
"modal-dialog--padded": "_modal-dialog--
|
|
13
|
-
"modal-dialog__content": "_modal-
|
|
14
|
-
"modal-dialog__children": "_modal-
|
|
15
|
-
"modal-dialog__title": "_modal-
|
|
16
|
-
"modal-dialog--confirm": "_modal-dialog--
|
|
17
|
-
"modal-dialog__buttons": "_modal-
|
|
18
|
-
"modal-dialog__buttons--border": "_modal-dialog__buttons--
|
|
19
|
-
"modal-dialog__buttons--shadow": "_modal-dialog__buttons--
|
|
20
|
-
"modal-dialog__close": "_modal-
|
|
21
|
-
"modal-dialog--small": "_modal-dialog--
|
|
22
|
-
"modal-dialog--regular": "_modal-dialog--
|
|
23
|
-
"modal-dialog--medium": "_modal-dialog--
|
|
24
|
-
"modal-dialog--large": "_modal-dialog--
|
|
25
|
-
"modal-dialog--content-with-buttons": "_modal-dialog--content-with-
|
|
11
|
+
"modal-dialog": "_modal-dialog_1s7u8_1",
|
|
12
|
+
"modal-dialog--padded": "_modal-dialog--padded_1s7u8_18",
|
|
13
|
+
"modal-dialog__content": "_modal-dialog__content_1s7u8_22",
|
|
14
|
+
"modal-dialog__children": "_modal-dialog__children_1s7u8_33",
|
|
15
|
+
"modal-dialog__title": "_modal-dialog__title_1s7u8_37",
|
|
16
|
+
"modal-dialog--confirm": "_modal-dialog--confirm_1s7u8_44",
|
|
17
|
+
"modal-dialog__buttons": "_modal-dialog__buttons_1s7u8_48",
|
|
18
|
+
"modal-dialog__buttons--border": "_modal-dialog__buttons--border_1s7u8_61",
|
|
19
|
+
"modal-dialog__buttons--shadow": "_modal-dialog__buttons--shadow_1s7u8_78",
|
|
20
|
+
"modal-dialog__close": "_modal-dialog__close_1s7u8_82",
|
|
21
|
+
"modal-dialog--small": "_modal-dialog--small_1s7u8_99",
|
|
22
|
+
"modal-dialog--regular": "_modal-dialog--regular_1s7u8_103",
|
|
23
|
+
"modal-dialog--medium": "_modal-dialog--medium_1s7u8_107",
|
|
24
|
+
"modal-dialog--large": "_modal-dialog--large_1s7u8_111",
|
|
25
|
+
"modal-dialog--content-with-buttons": "_modal-dialog--content-with-buttons_1s7u8_125"
|
|
26
26
|
};
|
|
27
27
|
function _o(y) {
|
|
28
28
|
const {
|
|
@@ -35,17 +35,17 @@ function _o(y) {
|
|
|
35
35
|
closeButtonAriaValueText: C = "Close",
|
|
36
36
|
isOpen: e,
|
|
37
37
|
noValidate: E = !1,
|
|
38
|
-
onClose:
|
|
38
|
+
onClose: u,
|
|
39
39
|
onSubmit: L,
|
|
40
40
|
role: N = "dialog",
|
|
41
|
-
title:
|
|
42
|
-
headerContent:
|
|
41
|
+
title: s,
|
|
42
|
+
headerContent: r,
|
|
43
43
|
variant: n = "dialog",
|
|
44
|
-
padded:
|
|
44
|
+
padded: g,
|
|
45
45
|
size: z = "regular",
|
|
46
46
|
noButtonBorder: f = !1
|
|
47
47
|
} = y, m = w(null), p = w(null), [F, H] = T(!1), [O, V] = T(!1), { dialogProps: k, titleProps: A } = $({ role: N }, m), { modalProps: I } = G({ isDisabled: !e }), { overlayProps: M, underlayProps: R } = J(
|
|
48
|
-
{ isDismissable: c, isKeyboardDismissDisabled: B, isOpen: e, onClose:
|
|
48
|
+
{ isDismissable: c, isKeyboardDismissDisabled: B, isOpen: e, onClose: u },
|
|
49
49
|
m
|
|
50
50
|
);
|
|
51
51
|
Q({ isDisabled: !e }), X(() => {
|
|
@@ -66,7 +66,7 @@ function _o(y) {
|
|
|
66
66
|
return () => {
|
|
67
67
|
l && l.removeEventListener("scroll", d), window.removeEventListener("resize", d), clearTimeout(K);
|
|
68
68
|
};
|
|
69
|
-
}, [e,
|
|
69
|
+
}, [e, r]);
|
|
70
70
|
function j(l) {
|
|
71
71
|
l.stopPropagation();
|
|
72
72
|
}
|
|
@@ -78,21 +78,21 @@ function _o(y) {
|
|
|
78
78
|
...M,
|
|
79
79
|
className: i(o["modal-dialog"], [o[`modal-dialog--${z}`]], {
|
|
80
80
|
[o["modal-dialog--confirm"]]: n === "confirm",
|
|
81
|
-
[o["modal-dialog--padded"]]:
|
|
81
|
+
[o["modal-dialog--padded"]]: g
|
|
82
82
|
}),
|
|
83
83
|
onKeyUp: j,
|
|
84
84
|
role: "presentation",
|
|
85
85
|
ref: m,
|
|
86
86
|
children: [
|
|
87
|
-
(
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
(s || r) && n === "dialog" && /* @__PURE__ */ _(S, { children: [
|
|
88
|
+
s && /* @__PURE__ */ a("h1", { ...A, className: o["modal-dialog__title"], children: s }),
|
|
89
|
+
r,
|
|
90
90
|
n === "dialog" && /* @__PURE__ */ a("span", { className: o["modal-dialog__close"], children: /* @__PURE__ */ a(
|
|
91
91
|
Z,
|
|
92
92
|
{
|
|
93
93
|
"aria-label": C,
|
|
94
|
-
onClick:
|
|
95
|
-
paddedModal:
|
|
94
|
+
onClick: u,
|
|
95
|
+
paddedModal: g
|
|
96
96
|
}
|
|
97
97
|
) })
|
|
98
98
|
] }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../clsx-OuTLNxxd.js";
|
|
3
|
-
import "../../MultiSelectItem-
|
|
4
|
-
import { M as p } from "../../TablePlugin-
|
|
3
|
+
import "../../MultiSelectItem-DbOdEllV.js";
|
|
4
|
+
import { M as p } from "../../TablePlugin-hxs9O_ox.js";
|
|
5
5
|
export {
|
|
6
6
|
p as MultiSelect
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as S, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { fn as d } from "../../index-BCvy9BiK.js";
|
|
3
3
|
import { useState as p } from "react";
|
|
4
|
-
import { M as e } from "../../TablePlugin-
|
|
4
|
+
import { M as e } from "../../TablePlugin-hxs9O_ox.js";
|
|
5
5
|
import { Container as M } from "../../storyComponents/Container/Container.js";
|
|
6
6
|
const C = `
|
|
7
7
|
// MultiSelectHeader can be added optionally
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../MultiSelectItem-
|
|
2
|
+
import "../../../MultiSelectItem-DbOdEllV.js";
|
|
3
3
|
import "../../Label/Label.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../../Buttons/Button.js";
|
|
@@ -15,7 +15,7 @@ import "../../IconButton/IconButton.js";
|
|
|
15
15
|
import "../../Input/Input.js";
|
|
16
16
|
import "../../InputField/InputField.js";
|
|
17
17
|
import "react-router";
|
|
18
|
-
import { a as y } from "../../../TablePlugin-
|
|
18
|
+
import { a as y } from "../../../TablePlugin-hxs9O_ox.js";
|
|
19
19
|
import "../../RteEditor/Providers/LanguageProvider.js";
|
|
20
20
|
import "../../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
21
21
|
import "../../RteEditor/hooks/components/Flyout.js";
|
|
@@ -23,7 +23,7 @@ import "../../../index-DllfJcv4.js";
|
|
|
23
23
|
import "../../SelectListbox/SelectListbox.js";
|
|
24
24
|
import "../../SelectListbox/SelectProvider.js";
|
|
25
25
|
import "../../Sortable/components/SortableItem.js";
|
|
26
|
-
import "../../../SortableProvider-
|
|
26
|
+
import "../../../SortableProvider-B3_u0pKv.js";
|
|
27
27
|
export {
|
|
28
28
|
y as MultiSelectHeader
|
|
29
29
|
};
|