@uva-glass/component-library 3.48.0 → 3.50.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/Button.module-S1-6tV9o.js +16 -0
- package/dist/Button.module-S1-6tV9o.js.map +1 -0
- package/dist/MultiSelectItem-BzBmsKof.js +24 -0
- package/dist/{MultiSelectItem-DbOdEllV.js.map → MultiSelectItem-BzBmsKof.js.map} +1 -1
- package/dist/RteEditor.module-CmYZ4MmA.js +36 -0
- package/dist/RteEditor.module-CmYZ4MmA.js.map +1 -0
- package/dist/SearchField.module-CMUEgX7d.js +17 -0
- package/dist/SearchField.module-CMUEgX7d.js.map +1 -0
- package/dist/{SelectListbox.module-CAKDuwcy.js → SelectListbox.module-CgZyIxwT.js} +25 -25
- package/dist/SelectListbox.module-CgZyIxwT.js.map +1 -0
- package/dist/Sortable.module-DCVXxKnw.js +26 -0
- package/dist/Sortable.module-DCVXxKnw.js.map +1 -0
- package/dist/{SortableProvider-l8-7ClBJ.js → SortableProvider-BbwlEPIr.js} +2 -2
- package/dist/{SortableProvider-l8-7ClBJ.js.map → SortableProvider-BbwlEPIr.js.map} +1 -1
- package/dist/{TablePlugin-Cvw0NmoH.js → TablePlugin-8TKXJMYE.js} +62 -62
- package/dist/{TablePlugin-Cvw0NmoH.js.map → TablePlugin-8TKXJMYE.js.map} +1 -1
- package/dist/WeekSelector.module-Clco7jTs.js +17 -0
- package/dist/WeekSelector.module-Clco7jTs.js.map +1 -0
- 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/Backdrop2.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/CheckboxButtonBar.css +1 -1
- package/dist/assets/CheckboxTree.css +1 -1
- package/dist/assets/Chip.css +1 -1
- package/dist/assets/Container.css +1 -1
- package/dist/assets/ControlsButton.css +1 -1
- package/dist/assets/CopyableText.css +1 -1
- package/dist/assets/Drawer.css +1 -1
- package/dist/assets/EditorHeader.css +1 -1
- package/dist/assets/EmptyStateDataDisplay.css +1 -1
- package/dist/assets/ExpandableInfoPanel.css +1 -1
- package/dist/assets/FeedbackBar.css +1 -1
- package/dist/assets/FeedbackBox.css +1 -1
- package/dist/assets/Flyout.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/InfoBanner.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/Notification.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/RadioTabSelector.css +1 -1
- package/dist/assets/RteEditor.css +1 -1
- package/dist/assets/SearchField.css +1 -1
- package/dist/assets/SectionNotification.css +1 -1
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/assets/Slider.css +1 -0
- package/dist/assets/Sortable.css +1 -1
- package/dist/assets/Spinner.css +1 -1
- package/dist/assets/StatusBage.css +1 -1
- package/dist/assets/StatusPill.css +1 -1
- package/dist/assets/TableCellContextMenu.css +1 -1
- package/dist/assets/TablePlugin.css +1 -1
- package/dist/assets/TextArea.css +1 -1
- package/dist/assets/ToggleSwitch.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/VarIndicator.css +1 -1
- package/dist/assets/WeekSelector.css +1 -1
- package/dist/assets/variables.css +72 -147
- package/dist/components/AccordionCard/AccordionCard.js +12 -12
- package/dist/components/ActionList/ActionList.js +16 -16
- package/dist/components/AppStatusBar/AppStatusBar.js +5 -5
- package/dist/components/Backdrop/Backdrop.js +1 -1
- 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 +17 -17
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +40 -40
- package/dist/components/CheckboxTree/CheckboxTree.js +33 -33
- package/dist/components/Chip/Chip.js +6 -6
- package/dist/components/ControlsButton/ControlsButton.js +31 -31
- package/dist/components/CopyableText/CopyableText.js +18 -18
- package/dist/components/Drawer/Drawer.js +34 -34
- package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +20 -20
- package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js +21 -21
- package/dist/components/FeedbackBar/FeedbackBar.js +11 -11
- package/dist/components/FeedbackBox/FeedbackBox.js +18 -18
- package/dist/components/FormInput/FormInput.js +22 -22
- package/dist/components/Icon/Icon.stories.js +9 -9
- package/dist/components/IconButton/IconButton.js +9 -9
- package/dist/components/InfoBanner/InfoBanner.js +1 -1
- package/dist/components/InfoMessage/InfoMessage.js +5 -5
- package/dist/components/Input/Input.js +16 -16
- package/dist/components/InputField/InputField.js +29 -29
- package/dist/components/InputField/InputField.stories.js +2 -2
- package/dist/components/Label/Label.js +7 -7
- package/dist/components/MetaDataList/MetaDataList.js +7 -7
- package/dist/components/ModalDialog/ModalDialog.js +55 -55
- 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 +27 -27
- package/dist/components/Notification/Notification.js +36 -36
- package/dist/components/OverlayCloseButton/OverlayCloseButton.js +10 -10
- package/dist/components/OverlayStepBar/OverlayStepBar.js +24 -24
- package/dist/components/PageOverlay/PageOverlay.js +37 -37
- package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
- package/dist/components/Periods/Periods.js +24 -24
- package/dist/components/ProgrammeCard/ProgrammeCard.js +7 -7
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
- package/dist/components/RadioButton/RadioButton.js +12 -12
- package/dist/components/RadioGroup/RadioGroup.js +23 -23
- package/dist/components/RadioTabSelector/RadioTabSelector.js +25 -25
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +7 -7
- 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 +17 -17
- 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 +31 -31
- 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/RteEditor/hooks/components/Flyout.js +3 -3
- package/dist/components/SearchField/SearchField.js +1 -1
- package/dist/components/SearchField/components/ResultOptionBox.js +1 -1
- package/dist/components/SearchField/components/ResultsOption.js +1 -1
- package/dist/components/SectionNotification/SectionNotification.js +5 -5
- 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/Slider/Slider.d.ts +14 -0
- package/dist/components/Slider/Slider.js +111 -0
- package/dist/components/Slider/Slider.js.map +1 -0
- package/dist/components/Slider/Slider.stories.d.ts +5 -0
- package/dist/components/Slider/Slider.stories.js +39 -0
- package/dist/components/Slider/Slider.stories.js.map +1 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Slider/index.js +5 -0
- package/dist/components/Slider/index.js.map +1 -0
- 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 +8 -8
- package/dist/components/StatusBadge/StatusBage.js +6 -6
- package/dist/components/StatusPill/StatusPill.js +12 -12
- package/dist/components/TextArea/TextArea.js +17 -17
- package/dist/components/ToggleSwitch/ToggleSwitch.js +13 -13
- package/dist/components/Tooltip/Tooltip.js +23 -23
- package/dist/components/VarIndicator/VarIndicator.js +18 -18
- package/dist/components/WeekSelector/WeekSelector.js +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorButton.js +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOption.js +1 -1
- package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +25 -23
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +25 -23
- package/dist/index.js.map +1 -1
- package/dist/storyComponents/Container/Container.js +10 -10
- package/package.json +13 -13
- package/dist/Button.module-D-q-W0TM.js +0 -16
- package/dist/Button.module-D-q-W0TM.js.map +0 -1
- package/dist/MultiSelectItem-DbOdEllV.js +0 -24
- package/dist/RteEditor.module-SmmXEc4R.js +0 -36
- package/dist/RteEditor.module-SmmXEc4R.js.map +0 -1
- package/dist/SearchField.module-Be9ZoU-6.js +0 -17
- package/dist/SearchField.module-Be9ZoU-6.js.map +0 -1
- package/dist/SelectListbox.module-CAKDuwcy.js.map +0 -1
- package/dist/Sortable.module-B6I6E9un.js +0 -26
- package/dist/Sortable.module-B6I6E9un.js.map +0 -1
- package/dist/WeekSelector.module-D9MD4nVJ.js +0 -17
- package/dist/WeekSelector.module-D9MD4nVJ.js.map +0 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { useDialog as b } from "@react-aria/dialog";
|
|
3
3
|
import { FocusScope as C } from "@react-aria/focus";
|
|
4
|
-
import { useModal as D, useOverlay as
|
|
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
|
-
},
|
|
4
|
+
import { useModal as D, useOverlay as y, usePreventScroll as N, OverlayContainer as v } from "@react-aria/overlays";
|
|
5
|
+
import { c as P } from "../../clsx-OuTLNxxd.js";
|
|
6
|
+
import { useState as x, useRef as S, useEffect as j } from "react";
|
|
7
|
+
import { Backdrop as k } from "../Backdrop/Backdrop.js";
|
|
8
|
+
import { OverlayCloseButton as B } from "../OverlayCloseButton/OverlayCloseButton.js";
|
|
9
|
+
import '../../assets/Drawer.css';const F = "_drawer_1g9hi_1", R = "_drawer__content_1g9hi_22", T = "_drawer__header_1g9hi_32", E = "_drawer__footer_1g9hi_39", K = "_drawer__heading_1g9hi_26", M = "_drawer__buttons_1g9hi_64", r = {
|
|
10
|
+
drawer: F,
|
|
11
|
+
drawer__content: R,
|
|
12
|
+
drawer__header: T,
|
|
13
|
+
drawer__footer: E,
|
|
14
|
+
drawer__heading: K,
|
|
15
|
+
"drawer--open": "_drawer--open_1g9hi_59",
|
|
16
|
+
drawer__buttons: M
|
|
17
|
+
}, q = 200;
|
|
18
18
|
function U({
|
|
19
19
|
buttons: s,
|
|
20
20
|
children: n,
|
|
21
21
|
isOpen: o,
|
|
22
|
-
onClose:
|
|
23
|
-
title:
|
|
24
|
-
closeButtonAriaValueText:
|
|
22
|
+
onClose: i,
|
|
23
|
+
title: l,
|
|
24
|
+
closeButtonAriaValueText: c = "Close",
|
|
25
25
|
...w
|
|
26
26
|
}) {
|
|
27
|
-
const [m, t] =
|
|
27
|
+
const [m, t] = x(r.drawer), { modalProps: h } = D({ isDisabled: !o }), a = S(null);
|
|
28
28
|
function _() {
|
|
29
|
-
t(
|
|
30
|
-
|
|
31
|
-
},
|
|
29
|
+
t(r.drawer), globalThis.setTimeout(() => {
|
|
30
|
+
i();
|
|
31
|
+
}, q);
|
|
32
32
|
}
|
|
33
|
-
const { overlayProps:
|
|
33
|
+
const { overlayProps: u, underlayProps: f } = y(
|
|
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: g, titleProps: p } = b({}, a);
|
|
37
|
+
return N({ isDisabled: !o }), j(() => {
|
|
38
|
+
t(P(r.drawer, { [r["drawer--open"]]: o }));
|
|
39
|
+
}, [o]), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(k, { ...f, children: /* @__PURE__ */ e(C, { contain: !0, restoreFocus: !0, children: /* @__PURE__ */ d(
|
|
40
40
|
"aside",
|
|
41
41
|
{
|
|
42
|
+
...h,
|
|
42
43
|
...u,
|
|
43
|
-
...
|
|
44
|
-
...p,
|
|
44
|
+
...g,
|
|
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: r.drawer__header, children: [
|
|
50
|
+
/* @__PURE__ */ e("h1", { className: r.drawer__heading, ...p, children: l }),
|
|
51
|
+
/* @__PURE__ */ e(B, { "aria-label": c, onClick: _ })
|
|
52
52
|
] }),
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
s && /* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ e("div", { className: r.drawer__content, children: n }),
|
|
54
|
+
s && /* @__PURE__ */ e("footer", { className: r.drawer__footer, children: /* @__PURE__ */ e("div", { className: r.drawer__buttons, children: s }) })
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
) }) }) });
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Icon as
|
|
1
|
+
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as y } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { Icon as i } 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_wrapper--slim": "_empty-state-data-display_wrapper--
|
|
9
|
-
"empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-
|
|
10
|
-
"empty-state-data-display_icon-frame--slim": "_empty-state-data-display_icon-frame--
|
|
11
|
-
"empty-state-data-display_text-content": "_empty-state-data-display_text-
|
|
12
|
-
"empty-state-data-display_label": "_empty-state-data-
|
|
13
|
-
"empty-state-data-display_paragraph": "_empty-state-data-
|
|
14
|
-
},
|
|
5
|
+
"empty-state-data-display_wrapper": "_empty-state-data-display_wrapper_1ayed_1",
|
|
6
|
+
"empty-state-data-display_icon-frame": "_empty-state-data-display_icon-frame_1ayed_9",
|
|
7
|
+
"empty-state-data-display_wrapper--invert-colors": "_empty-state-data-display_wrapper--invert-colors_1ayed_19",
|
|
8
|
+
"empty-state-data-display_wrapper--slim": "_empty-state-data-display_wrapper--slim_1ayed_23",
|
|
9
|
+
"empty-state-data-display_icon-frame--invert-colors": "_empty-state-data-display_icon-frame--invert-colors_1ayed_28",
|
|
10
|
+
"empty-state-data-display_icon-frame--slim": "_empty-state-data-display_icon-frame--slim_1ayed_32",
|
|
11
|
+
"empty-state-data-display_text-content": "_empty-state-data-display_text-content_1ayed_37",
|
|
12
|
+
"empty-state-data-display_label": "_empty-state-data-display_label_1ayed_43",
|
|
13
|
+
"empty-state-data-display_paragraph": "_empty-state-data-display_paragraph_1ayed_47"
|
|
14
|
+
}, r = 24, _ = 16;
|
|
15
15
|
function n({
|
|
16
|
-
label:
|
|
16
|
+
label: l,
|
|
17
17
|
paragraph: s,
|
|
18
18
|
invertColors: p,
|
|
19
19
|
variant: e = "regular"
|
|
20
20
|
}) {
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ d(
|
|
22
22
|
"div",
|
|
23
23
|
{
|
|
24
|
-
className:
|
|
24
|
+
className: y(a["empty-state-data-display_wrapper"], {
|
|
25
25
|
[a["empty-state-data-display_wrapper--invert-colors"]]: p,
|
|
26
26
|
[a["empty-state-data-display_wrapper--slim"]]: e === "slim"
|
|
27
27
|
}),
|
|
@@ -29,15 +29,15 @@ function n({
|
|
|
29
29
|
/* @__PURE__ */ t(
|
|
30
30
|
"div",
|
|
31
31
|
{
|
|
32
|
-
className:
|
|
32
|
+
className: y(a["empty-state-data-display_icon-frame"], {
|
|
33
33
|
[a["empty-state-data-display_icon-frame--invert-colors"]]: p,
|
|
34
34
|
[a["empty-state-data-display_icon-frame--slim"]]: e === "slim"
|
|
35
35
|
}),
|
|
36
|
-
children: /* @__PURE__ */ t(
|
|
36
|
+
children: /* @__PURE__ */ t(i, { name: "CubeTransparent", size: e === "regular" ? r : _ })
|
|
37
37
|
}
|
|
38
38
|
),
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children:
|
|
39
|
+
/* @__PURE__ */ d("div", { className: a["empty-state-data-display_text-content"], children: [
|
|
40
|
+
/* @__PURE__ */ t("label", { className: a["empty-state-data-display_label"], children: l }),
|
|
41
41
|
s && /* @__PURE__ */ t("p", { className: a["empty-state-data-display_paragraph"], children: s })
|
|
42
42
|
] })
|
|
43
43
|
]
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
2
|
+
import { useState as f, useId as x } from "react";
|
|
3
|
+
import { c as m } from "../../clsx-OuTLNxxd.js";
|
|
4
4
|
import { Icon as l } from "../Icon/Icon.js";
|
|
5
5
|
import '../../assets/ExpandableInfoPanel.css';const n = {
|
|
6
|
-
"expandable-info-panel_wrapper": "_expandable-info-
|
|
7
|
-
"expandable-info-panel_header": "_expandable-info-
|
|
8
|
-
"expandable-info-panel_trigger": "_expandable-info-
|
|
9
|
-
"expandable-info-panel_trigger--active": "_expandable-info-panel_trigger--
|
|
10
|
-
"expandable-info-panel_content-wrapper": "_expandable-info-panel_content-
|
|
11
|
-
"expandable-info-panel_content-with-note-container": "_expandable-info-panel_content-with-note-
|
|
12
|
-
"expandable-info-panel_note": "_expandable-info-
|
|
13
|
-
},
|
|
6
|
+
"expandable-info-panel_wrapper": "_expandable-info-panel_wrapper_bsdzd_1",
|
|
7
|
+
"expandable-info-panel_header": "_expandable-info-panel_header_bsdzd_7",
|
|
8
|
+
"expandable-info-panel_trigger": "_expandable-info-panel_trigger_bsdzd_16",
|
|
9
|
+
"expandable-info-panel_trigger--active": "_expandable-info-panel_trigger--active_bsdzd_46",
|
|
10
|
+
"expandable-info-panel_content-wrapper": "_expandable-info-panel_content-wrapper_bsdzd_68",
|
|
11
|
+
"expandable-info-panel_content-with-note-container": "_expandable-info-panel_content-with-note-container_bsdzd_77",
|
|
12
|
+
"expandable-info-panel_note": "_expandable-info-panel_note_bsdzd_83"
|
|
13
|
+
}, z = ({
|
|
14
14
|
triggerLabel: p,
|
|
15
|
-
mainHeader:
|
|
15
|
+
mainHeader: t,
|
|
16
16
|
collapseLabel: _ = "",
|
|
17
17
|
expandLabel: s = "",
|
|
18
18
|
content: o,
|
|
19
|
-
note:
|
|
19
|
+
note: d = "",
|
|
20
20
|
defaultOpen: c = !1
|
|
21
21
|
}) => {
|
|
22
|
-
const [e,
|
|
22
|
+
const [e, b] = f(c), r = x();
|
|
23
23
|
return /* @__PURE__ */ i("div", { className: n["expandable-info-panel_wrapper"], children: [
|
|
24
24
|
/* @__PURE__ */ i("div", { className: n["expandable-info-panel_header"], children: [
|
|
25
|
-
|
|
25
|
+
t,
|
|
26
26
|
/* @__PURE__ */ i(
|
|
27
27
|
"button",
|
|
28
28
|
{
|
|
29
|
-
className:
|
|
29
|
+
className: m(n["expandable-info-panel_trigger"], {
|
|
30
30
|
[n["expandable-info-panel_trigger--active"]]: e
|
|
31
31
|
}),
|
|
32
32
|
type: "button",
|
|
33
33
|
"aria-expanded": e,
|
|
34
|
-
"aria-controls":
|
|
34
|
+
"aria-controls": r,
|
|
35
35
|
"aria-label": `${p} - ${e ? _ : s}`,
|
|
36
|
-
onClick: () =>
|
|
36
|
+
onClick: () => b(!e),
|
|
37
37
|
children: [
|
|
38
38
|
/* @__PURE__ */ a(l, { name: e ? "SquareInfoSolid" : "SquareInfo", size: 24 }),
|
|
39
39
|
p,
|
|
@@ -42,16 +42,16 @@ import '../../assets/ExpandableInfoPanel.css';const n = {
|
|
|
42
42
|
}
|
|
43
43
|
)
|
|
44
44
|
] }),
|
|
45
|
-
e && /* @__PURE__ */ i("div", { id:
|
|
45
|
+
e && /* @__PURE__ */ i("div", { id: r, className: n["expandable-info-panel_content-wrapper"], children: [
|
|
46
46
|
/* @__PURE__ */ a(l, { name: "SquareInfo", size: 24 }),
|
|
47
|
-
|
|
47
|
+
d ? /* @__PURE__ */ i("div", { className: n["expandable-info-panel_content-with-note-container"], children: [
|
|
48
48
|
/* @__PURE__ */ a("div", { children: o }),
|
|
49
|
-
/* @__PURE__ */ a("div", { className: n["expandable-info-panel_note"], children:
|
|
49
|
+
/* @__PURE__ */ a("div", { className: n["expandable-info-panel_note"], children: d })
|
|
50
50
|
] }) : /* @__PURE__ */ a("div", { children: o })
|
|
51
51
|
] })
|
|
52
52
|
] });
|
|
53
53
|
};
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
z as ExpandableInfoPanel
|
|
56
56
|
};
|
|
57
57
|
//# sourceMappingURL=ExpandableInfoPanel.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
2
|
-
import { c } from "../../clsx-OuTLNxxd.js";
|
|
1
|
+
import { jsxs as s, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { useState as l, useEffect as _ } from "react";
|
|
4
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
|
-
},
|
|
7
|
+
"feedback-bar": "_feedback-bar_1wc39_1",
|
|
8
|
+
"feedback-bar--visible": "_feedback-bar--visible_1wc39_15",
|
|
9
|
+
"feedback-bar__icon": "_feedback-bar__icon_1wc39_21",
|
|
10
|
+
"feedback-bar__close-button": "_feedback-bar__close-button_1wc39_25"
|
|
11
|
+
}, p = ({ children: o }) => {
|
|
12
12
|
const [t, r] = l(!1);
|
|
13
13
|
_(() => {
|
|
14
14
|
r(!0);
|
|
@@ -16,15 +16,15 @@ import '../../assets/FeedbackBar.css';const e = {
|
|
|
16
16
|
const i = () => {
|
|
17
17
|
r(!1);
|
|
18
18
|
};
|
|
19
|
-
return /* @__PURE__ */ s("div", { className:
|
|
19
|
+
return /* @__PURE__ */ s("div", { className: a(e["feedback-bar"], { [e["feedback-bar--visible"]]: t }), role: "alert", children: [
|
|
20
20
|
/* @__PURE__ */ s(f, { flexDirection: "row", children: [
|
|
21
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ c(b, { className: a(e["feedback-bar__icon"]), name: "CheckCircle" }),
|
|
22
22
|
o
|
|
23
23
|
] }),
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ c("button", { className: a(e["feedback-bar__close-button"]), type: "button", onClick: i, children: /* @__PURE__ */ c(b, { name: "Cross", size: 24 }) })
|
|
25
25
|
] });
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
p as FeedbackBar
|
|
29
29
|
};
|
|
30
30
|
//# sourceMappingURL=FeedbackBar.js.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { Icon as
|
|
4
|
-
import '../../assets/FeedbackBox.css';const
|
|
5
|
-
"feedback-box": "_feedback-
|
|
6
|
-
"feedback-box__success": "_feedback-
|
|
7
|
-
"feedback-box__warning": "_feedback-
|
|
8
|
-
"feedback-box__error": "_feedback-
|
|
9
|
-
},
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { Icon as b } from "../Icon/Icon.js";
|
|
4
|
+
import '../../assets/FeedbackBox.css';const e = {
|
|
5
|
+
"feedback-box": "_feedback-box_tsf5c_1",
|
|
6
|
+
"feedback-box__success": "_feedback-box__success_tsf5c_15",
|
|
7
|
+
"feedback-box__warning": "_feedback-box__warning_tsf5c_19",
|
|
8
|
+
"feedback-box__error": "_feedback-box__error_tsf5c_23"
|
|
9
|
+
}, n = {
|
|
10
10
|
success: "CheckCircle",
|
|
11
11
|
warning: "ExclamationCircle",
|
|
12
12
|
error: "ExclamationTriangleMini"
|
|
13
|
-
},
|
|
13
|
+
}, d = ({ id: s, level: c, feedback: _ }) => /* @__PURE__ */ o(
|
|
14
14
|
"div",
|
|
15
15
|
{
|
|
16
|
-
className:
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
16
|
+
className: a(e["feedback-box"], {
|
|
17
|
+
[e["feedback-box__success"]]: c === "success",
|
|
18
|
+
[e["feedback-box__warning"]]: c === "warning",
|
|
19
|
+
[e["feedback-box__error"]]: c === "error"
|
|
20
20
|
}),
|
|
21
|
-
id:
|
|
21
|
+
id: s,
|
|
22
22
|
children: [
|
|
23
|
-
/* @__PURE__ */ r(
|
|
24
|
-
|
|
23
|
+
/* @__PURE__ */ r(b, { name: n[c], size: 16 }),
|
|
24
|
+
_
|
|
25
25
|
]
|
|
26
26
|
}
|
|
27
27
|
);
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
d as FeedbackBox
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=FeedbackBox.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsxs as u, jsx as t, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { c as h } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import "../Accordion/Accordion.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "../Buttons/Button.js";
|
|
6
6
|
import "../Buttons/LinkButton.js";
|
|
7
7
|
import "@react-aria/button";
|
|
8
8
|
import "../Checkbox/Checkbox.js";
|
|
9
|
-
import { Label as
|
|
10
|
-
import { FeedbackBox as
|
|
9
|
+
import { Label as k } from "../Label/Label.js";
|
|
10
|
+
import { FeedbackBox as v } from "../FeedbackBox/FeedbackBox.js";
|
|
11
11
|
import "@react-aria/dialog";
|
|
12
12
|
import "@react-aria/focus";
|
|
13
13
|
import "@react-aria/overlays";
|
|
@@ -17,7 +17,7 @@ import "../IconButton/IconButton.js";
|
|
|
17
17
|
import "../Input/Input.js";
|
|
18
18
|
import "../InputField/InputField.js";
|
|
19
19
|
import "react-router";
|
|
20
|
-
import "../../TablePlugin-
|
|
20
|
+
import "../../TablePlugin-8TKXJMYE.js";
|
|
21
21
|
import "../RteEditor/Providers/LanguageProvider.js";
|
|
22
22
|
import "../RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
23
23
|
import "../RteEditor/hooks/components/Flyout.js";
|
|
@@ -27,32 +27,32 @@ import "../SearchField/SearchField.js";
|
|
|
27
27
|
import "../SelectListbox/SelectListbox.js";
|
|
28
28
|
import "../SelectListbox/SelectProvider.js";
|
|
29
29
|
import "../Sortable/components/SortableItem.js";
|
|
30
|
-
import "../../SortableProvider-
|
|
30
|
+
import "../../SortableProvider-BbwlEPIr.js";
|
|
31
31
|
import "../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
32
32
|
import '../../assets/FormInput.css';const o = {
|
|
33
|
-
"form-input__container": "_form-
|
|
34
|
-
"form-input__container--label-left": "_form-input__container--label-
|
|
35
|
-
"form-input__container--label-top": "_form-input__container--label-
|
|
36
|
-
"form-input__input-feedback-container": "_form-input__input-feedback-
|
|
37
|
-
"form-input__input-container": "_form-input__input-
|
|
38
|
-
"form-input__input": "_form-
|
|
33
|
+
"form-input__container": "_form-input__container_aau49_1",
|
|
34
|
+
"form-input__container--label-left": "_form-input__container--label-left_aau49_7",
|
|
35
|
+
"form-input__container--label-top": "_form-input__container--label-top_aau49_18",
|
|
36
|
+
"form-input__input-feedback-container": "_form-input__input-feedback-container_aau49_25",
|
|
37
|
+
"form-input__input-container": "_form-input__input-container_aau49_35",
|
|
38
|
+
"form-input__input": "_form-input__input_aau49_25"
|
|
39
39
|
}, Z = ({
|
|
40
40
|
id: i,
|
|
41
41
|
label: n,
|
|
42
|
-
labelPosition:
|
|
42
|
+
labelPosition: c = "top",
|
|
43
43
|
type: p = "text",
|
|
44
|
-
required:
|
|
44
|
+
required: f = !1,
|
|
45
45
|
notValidatedText: e = "",
|
|
46
46
|
onChange: m,
|
|
47
|
-
noContainer:
|
|
48
|
-
customInput:
|
|
47
|
+
noContainer: l = !1,
|
|
48
|
+
customInput: a
|
|
49
49
|
}) => {
|
|
50
50
|
const s = (r) => ["e", "E", "+", "-"].includes(r.key) && r.preventDefault(), d = (r) => {
|
|
51
51
|
typeof m == "function" && m(r.target.value);
|
|
52
|
-
},
|
|
53
|
-
n && /* @__PURE__ */ t(
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
|
|
52
|
+
}, _ = /* @__PURE__ */ u(b, { children: [
|
|
53
|
+
n && /* @__PURE__ */ t(k, { htmlFor: i, required: f, alignRight: !0, children: n }),
|
|
54
|
+
/* @__PURE__ */ u("div", { className: o["form-input__input-feedback-container"], children: [
|
|
55
|
+
a || /* @__PURE__ */ t("div", { className: o["form-input__input-container"], children: /* @__PURE__ */ t(
|
|
56
56
|
"input",
|
|
57
57
|
{
|
|
58
58
|
id: i,
|
|
@@ -62,10 +62,10 @@ import '../../assets/FormInput.css';const o = {
|
|
|
62
62
|
className: o["form-input__input"]
|
|
63
63
|
}
|
|
64
64
|
) }),
|
|
65
|
-
e !== "" && /* @__PURE__ */ t(
|
|
65
|
+
e !== "" && /* @__PURE__ */ t(v, { level: "error", feedback: e })
|
|
66
66
|
] })
|
|
67
67
|
] });
|
|
68
|
-
return
|
|
68
|
+
return l ? _ : /* @__PURE__ */ t("div", { className: h(o["form-input__container"], o[`form-input__container--label-${c}`]), children: _ });
|
|
69
69
|
};
|
|
70
70
|
export {
|
|
71
71
|
Z as FormInput
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as n } from "./Icon.js";
|
|
3
|
-
import { Icons as
|
|
4
|
-
import { ClipboardButton as
|
|
5
|
-
import '../../assets/Icon.css';const s = "
|
|
3
|
+
import { Icons as r } from "./icons/index.js";
|
|
4
|
+
import { ClipboardButton as c } from "../../storyComponents/ClipboardButton/ClipboardButton.js";
|
|
5
|
+
import '../../assets/Icon.css';const s = "_icon__wrapper_18r2r_1", p = "_icon__item_18r2r_13", i = {
|
|
6
6
|
icon__wrapper: s,
|
|
7
7
|
icon__item: p
|
|
8
|
-
}, a = Object.keys(
|
|
8
|
+
}, a = Object.keys(r), m = "<Icon name={iconName} size={size} />", x = {
|
|
9
9
|
title: "Atoms/Icon",
|
|
10
10
|
component: n,
|
|
11
11
|
argTypes: {
|
|
@@ -24,7 +24,7 @@ l.args = {
|
|
|
24
24
|
size: 32,
|
|
25
25
|
title: "Optional Icon title"
|
|
26
26
|
};
|
|
27
|
-
const
|
|
27
|
+
const y = () => /* @__PURE__ */ o(
|
|
28
28
|
"div",
|
|
29
29
|
{
|
|
30
30
|
style: {
|
|
@@ -34,18 +34,18 @@ const x = () => /* @__PURE__ */ o(
|
|
|
34
34
|
padding: "1rem",
|
|
35
35
|
maxWidth: "1024px"
|
|
36
36
|
},
|
|
37
|
-
children: Object.keys(
|
|
37
|
+
children: Object.keys(r).map((e) => /* @__PURE__ */ t("div", { className: i.icon__wrapper, children: [
|
|
38
38
|
/* @__PURE__ */ o(n, { name: e, size: 48 }),
|
|
39
39
|
/* @__PURE__ */ t("div", { className: i.icon__item, children: [
|
|
40
40
|
/* @__PURE__ */ o("span", { children: e }),
|
|
41
|
-
/* @__PURE__ */ o(
|
|
41
|
+
/* @__PURE__ */ o(c, { text: `<Icon icon={${e}} />` })
|
|
42
42
|
] })
|
|
43
43
|
] }, e))
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
46
|
export {
|
|
47
47
|
l as IconExample,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
y as IconOverview,
|
|
49
|
+
x as default
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=Icon.stories.js.map
|
|
@@ -2,17 +2,17 @@ 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_j5fle_1",
|
|
6
|
+
"icon-button--destructive": "_icon-button--destructive_j5fle_27",
|
|
7
|
+
"icon-button--no-border": "_icon-button--no-border_j5fle_35",
|
|
8
|
+
"icon-button--wide": "_icon-button--wide_j5fle_44"
|
|
9
|
+
}, m = _(
|
|
10
|
+
({ children: o, type: n = "button", variant: e, noBorder: c, wide: i, ...r }, u) => /* @__PURE__ */ b(
|
|
11
11
|
"button",
|
|
12
12
|
{
|
|
13
|
-
...
|
|
13
|
+
...r,
|
|
14
14
|
className: s(t["icon-button"], {
|
|
15
|
-
[t["icon-button--destructive"]]:
|
|
15
|
+
[t["icon-button--destructive"]]: e === "destructive",
|
|
16
16
|
[t["icon-button--no-border"]]: c,
|
|
17
17
|
[t["icon-button--wide"]]: i
|
|
18
18
|
}),
|
|
@@ -23,6 +23,6 @@ import '../../assets/IconButton.css';const t = {
|
|
|
23
23
|
)
|
|
24
24
|
);
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
m as IconButton
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=IconButton.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as e, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as a } from "../Icon/Icon.js";
|
|
3
|
-
import '../../assets/InfoBanner.css';const p = "
|
|
3
|
+
import '../../assets/InfoBanner.css';const p = "_infobanner_wrapper_1010z_1", s = {
|
|
4
4
|
infobanner_wrapper: p
|
|
5
5
|
}, f = ({ iconName: n, content: r }) => /* @__PURE__ */ e("div", { className: s.infobanner_wrapper, children: [
|
|
6
6
|
n && /* @__PURE__ */ o(a, { name: n, size: 24 }),
|
|
@@ -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_1h497_1",
|
|
6
|
+
"info-message__container": "_info-message__container_1h497_6",
|
|
7
|
+
"info-message__icon": "_info-message__icon_1h497_11"
|
|
8
|
+
}, r = ({ 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
|
+
r as InfoMessage
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=InfoMessage.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
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 s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as _ } from "react";
|
|
3
|
+
import { c } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import '../../assets/Input.css';const f = "_input_1utsi_1", t = {
|
|
5
|
+
input: f,
|
|
6
|
+
"input--numeric": "_input--numeric_1utsi_13",
|
|
7
|
+
"input--error": "_input--error_1utsi_18",
|
|
8
|
+
"input--full-with": "_input--full-with_1utsi_23"
|
|
9
|
+
}, x = _(function({ id: i, appearance: u, type: r = "text", isNumeric: n, fullWidth: p, ...o }, e) {
|
|
10
|
+
return /* @__PURE__ */ s(
|
|
11
11
|
"input",
|
|
12
12
|
{
|
|
13
13
|
...o,
|
|
14
14
|
ref: e,
|
|
15
|
-
id:
|
|
16
|
-
className:
|
|
17
|
-
[t["input--error"]]:
|
|
15
|
+
id: i,
|
|
16
|
+
className: c(t.input, {
|
|
17
|
+
[t["input--error"]]: u === "error",
|
|
18
18
|
[t["input--full-with"]]: p,
|
|
19
|
-
[t["input--numeric"]]:
|
|
19
|
+
[t["input--numeric"]]: n
|
|
20
20
|
}),
|
|
21
|
-
type:
|
|
21
|
+
type: r
|
|
22
22
|
}
|
|
23
23
|
);
|
|
24
24
|
});
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
x as Input
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=Input.js.map
|