@uva-glass/component-library 3.22.0 → 3.24.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-Dlqf6mMD.js +15 -0
- package/dist/Button.module-Dlqf6mMD.js.map +1 -0
- package/dist/RteEditor.module-B_3uFnFu.js +41 -0
- package/dist/RteEditor.module-B_3uFnFu.js.map +1 -0
- package/dist/{SelectListbox.module-N3Kg0UvL.js → SelectListbox.module-DHFU0NjU.js} +21 -21
- package/dist/SelectListbox.module-DHFU0NjU.js.map +1 -0
- package/dist/Sortable.module-CekPNg54.js +23 -0
- package/dist/Sortable.module-CekPNg54.js.map +1 -0
- package/dist/{SortableProvider-B3_u0pKv.js → SortableProvider-CwX1lFMa.js} +2 -2
- package/dist/{SortableProvider-B3_u0pKv.js.map → SortableProvider-CwX1lFMa.js.map} +1 -1
- package/dist/{TablePlugin-CrCof8yO.js → TablePlugin-Bj5FObQ_.js} +3 -3
- package/dist/{TablePlugin-CrCof8yO.js.map → TablePlugin-Bj5FObQ_.js.map} +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/CheckboxTree.css +1 -1
- package/dist/assets/Container.css +1 -1
- package/dist/assets/EditorHeader.css +1 -1
- package/dist/assets/Flyout.css +1 -1
- package/dist/assets/InfoBanner.css +1 -0
- package/dist/assets/Input.css +1 -1
- package/dist/assets/MultiSelectBox.css +1 -1
- package/dist/assets/OverlayStepBar.css +1 -1
- package/dist/assets/PageOverlay.css +1 -1
- package/dist/assets/RteEditor.css +1 -1
- package/dist/assets/SelectListbox.css +1 -1
- package/dist/assets/Sortable.css +1 -1
- package/dist/assets/StatusBage.css +1 -1
- package/dist/assets/TableCellContextMenu.css +1 -1
- package/dist/assets/ToggleSwitch.css +1 -1
- package/dist/assets/variables.css +75 -52
- 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/CheckboxTree/CheckboxTree.js +19 -19
- package/dist/components/FormInput/FormInput.js +2 -2
- package/dist/components/Icon/icons/index.d.ts +12 -0
- package/dist/components/Icon/icons/index.js +179 -169
- package/dist/components/Icon/icons/index.js.map +1 -1
- package/dist/components/InfoBanner/InfoBanner.d.ts +9 -0
- package/dist/components/InfoBanner/InfoBanner.js +12 -0
- package/dist/components/InfoBanner/InfoBanner.js.map +1 -0
- package/dist/components/InfoBanner/InfoBanner.stories.d.ts +5 -0
- package/dist/components/InfoBanner/InfoBanner.stories.js +23 -0
- package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -0
- package/dist/components/InfoBanner/index.d.ts +1 -0
- package/dist/components/InfoBanner/index.js +5 -0
- package/dist/components/InfoBanner/index.js.map +1 -0
- package/dist/components/Input/Input.js +16 -16
- package/dist/components/InputField/InputField.stories.js +2 -2
- package/dist/components/MultiSelect/MultiSelect.js +1 -1
- package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
- package/dist/components/MultiSelect/components/MultiSelectHeader.js +2 -2
- package/dist/components/MultiSelect/index.js +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.js +56 -56
- package/dist/components/MultiSelectBox/MultiSelectBox.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
- package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
- package/dist/components/OverlayStepBar/OverlayStepBar.js +6 -6
- package/dist/components/PageOverlay/PageOverlay.js +26 -26
- package/dist/components/PeriodSelector/PeriodSelector.js +2 -2
- package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +2 -2
- package/dist/components/RadioTabSelector/RadioTabSelector.js +2 -2
- package/dist/components/RteEditor/EditorHeader/EditorHeader.js +8 -8
- 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/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 +20 -20
- 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/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/StatusBadge/StatusBage.js +6 -6
- package/dist/components/TextArea/TextArea.d.ts +3 -1
- package/dist/components/TextArea/TextArea.js +9 -8
- package/dist/components/TextArea/TextArea.js.map +1 -1
- package/dist/components/TextArea/TextArea.stories.js +8 -7
- package/dist/components/TextArea/TextArea.stories.js.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.js +10 -10
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +70 -68
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +70 -68
- package/dist/index.js.map +1 -1
- package/dist/storyComponents/Container/Container.js +22 -22
- package/package.json +6 -6
- package/dist/Button.module-BXzi8gZH.js +0 -15
- package/dist/Button.module-BXzi8gZH.js.map +0 -1
- package/dist/RteEditor.module-45648CA2.js +0 -41
- package/dist/RteEditor.module-45648CA2.js.map +0 -1
- package/dist/SelectListbox.module-N3Kg0UvL.js.map +0 -1
- package/dist/Sortable.module-CuvuQhr8.js +0 -23
- package/dist/Sortable.module-CuvuQhr8.js.map +0 -1
|
@@ -3,47 +3,47 @@ import { useDialog as A } from "@react-aria/dialog";
|
|
|
3
3
|
import { FocusScope as C } from "@react-aria/focus";
|
|
4
4
|
import { useModal as K, useOverlay as M, usePreventScroll as U, OverlayContainer as V } from "@react-aria/overlays";
|
|
5
5
|
import { c as i } from "../../clsx-OuTLNxxd.js";
|
|
6
|
-
import { useRef as m, useState as
|
|
6
|
+
import { useRef as m, useState as f, useEffect as q } from "react";
|
|
7
7
|
import { OverlayCloseButton as G } from "../OverlayCloseButton/OverlayCloseButton.js";
|
|
8
8
|
import { Spinner as J } from "../Spinner/Spinner.js";
|
|
9
9
|
import { Backdrop as O } from "../Backdrop/Backdrop.js";
|
|
10
10
|
import '../../assets/PageOverlay.css';const e = {
|
|
11
|
-
"page-overlay__container": "_page-
|
|
12
|
-
"page-overlay": "_page-
|
|
13
|
-
"page-overlay--full-screen": "_page-overlay--full-
|
|
14
|
-
"page-overlay--with-gutters": "_page-overlay--with-
|
|
15
|
-
"page-overlay__content": "_page-
|
|
16
|
-
"page-overlay__content--grey": "_page-overlay__content--
|
|
17
|
-
"page-overlay__content--white": "_page-overlay__content--
|
|
18
|
-
"page-overlay__children": "_page-
|
|
19
|
-
"page-overlay__title-wrapper": "_page-overlay__title-
|
|
20
|
-
"page-overlay__title": "_page-
|
|
21
|
-
"page-overlay__buttons-bar": "_page-overlay__buttons-
|
|
22
|
-
"page-overlay__buttons-bar--shadow": "_page-overlay__buttons-bar--
|
|
23
|
-
"page-overlay__close": "_page-
|
|
11
|
+
"page-overlay__container": "_page-overlay__container_1oudu_1",
|
|
12
|
+
"page-overlay": "_page-overlay_1oudu_1",
|
|
13
|
+
"page-overlay--full-screen": "_page-overlay--full-screen_1oudu_19",
|
|
14
|
+
"page-overlay--with-gutters": "_page-overlay--with-gutters_1oudu_23",
|
|
15
|
+
"page-overlay__content": "_page-overlay__content_1oudu_28",
|
|
16
|
+
"page-overlay__content--grey": "_page-overlay__content--grey_1oudu_39",
|
|
17
|
+
"page-overlay__content--white": "_page-overlay__content--white_1oudu_43",
|
|
18
|
+
"page-overlay__children": "_page-overlay__children_1oudu_47",
|
|
19
|
+
"page-overlay__title-wrapper": "_page-overlay__title-wrapper_1oudu_51",
|
|
20
|
+
"page-overlay__title": "_page-overlay__title_1oudu_51",
|
|
21
|
+
"page-overlay__buttons-bar": "_page-overlay__buttons-bar_1oudu_62",
|
|
22
|
+
"page-overlay__buttons-bar--shadow": "_page-overlay__buttons-bar--shadow_1oudu_88",
|
|
23
|
+
"page-overlay__close": "_page-overlay__close_1oudu_94"
|
|
24
24
|
};
|
|
25
25
|
function le({
|
|
26
26
|
buttons: t,
|
|
27
|
-
children:
|
|
28
|
-
isLoading:
|
|
29
|
-
spinnerAriaValueText:
|
|
27
|
+
children: h,
|
|
28
|
+
isLoading: b,
|
|
29
|
+
spinnerAriaValueText: w = "Loading",
|
|
30
30
|
closeButtonAriaValueText: S = "Close",
|
|
31
31
|
isOpen: a,
|
|
32
32
|
noValidate: N = !1,
|
|
33
|
-
onClose:
|
|
33
|
+
onClose: u,
|
|
34
34
|
onSubmit: P,
|
|
35
35
|
title: _,
|
|
36
36
|
headerContent: n,
|
|
37
|
-
variant:
|
|
37
|
+
variant: p = "full-screen",
|
|
38
38
|
contentBackgroundColor: T = "grey"
|
|
39
39
|
}) {
|
|
40
|
-
const s = m(null), g = m(null), [E, x] =
|
|
40
|
+
const s = m(null), g = m(null), [E, x] = f(!1), [L, B] = f(!1), { dialogProps: F, titleProps: H } = A({ role: "dialog" }, s), { modalProps: k } = K({ isDisabled: !a }), { overlayProps: z, underlayProps: D } = M({ isOpen: a, onClose: u }, s);
|
|
41
41
|
U({ isDisabled: !a }), q(() => {
|
|
42
42
|
const r = g.current;
|
|
43
43
|
if (!r) return;
|
|
44
44
|
function v() {
|
|
45
|
-
const
|
|
46
|
-
x(
|
|
45
|
+
const d = r.scrollHeight, y = r.clientHeight, j = r.scrollTop;
|
|
46
|
+
x(d > y), B(j + y >= d);
|
|
47
47
|
}
|
|
48
48
|
function l() {
|
|
49
49
|
v();
|
|
@@ -59,14 +59,14 @@ function le({
|
|
|
59
59
|
function I(r) {
|
|
60
60
|
r.stopPropagation();
|
|
61
61
|
}
|
|
62
|
-
return a ? /* @__PURE__ */ o(V, { className: e["page-overlay__container"], children: /* @__PURE__ */ o(O, { ...D, children:
|
|
62
|
+
return a ? /* @__PURE__ */ o(V, { className: e["page-overlay__container"], children: /* @__PURE__ */ o(O, { ...D, children: b ? /* @__PURE__ */ o(J, { ariaValueText: w }) : /* @__PURE__ */ o($, { children: /* @__PURE__ */ o(C, { autoFocus: !0, contain: !0, restoreFocus: !0, children: /* @__PURE__ */ c(
|
|
63
63
|
"div",
|
|
64
64
|
{
|
|
65
65
|
...F,
|
|
66
66
|
...k,
|
|
67
67
|
...z,
|
|
68
68
|
className: i(e["page-overlay"], {
|
|
69
|
-
[e[`page-overlay--${
|
|
69
|
+
[e[`page-overlay--${p}`]]: p
|
|
70
70
|
}),
|
|
71
71
|
onKeyUp: I,
|
|
72
72
|
role: "presentation",
|
|
@@ -75,7 +75,7 @@ function le({
|
|
|
75
75
|
(_ || n) && /* @__PURE__ */ c("div", { className: e["page-overlay__title-wrapper"], children: [
|
|
76
76
|
_ && /* @__PURE__ */ o("h1", { ...H, className: e["page-overlay__title"], children: _ }),
|
|
77
77
|
n,
|
|
78
|
-
/* @__PURE__ */ o("span", { className: e["page-overlay__close"], children: /* @__PURE__ */ o(G, { "aria-label": S, onClick:
|
|
78
|
+
/* @__PURE__ */ o("span", { className: e["page-overlay__close"], children: /* @__PURE__ */ o(G, { "aria-label": S, onClick: u }) })
|
|
79
79
|
] }),
|
|
80
80
|
/* @__PURE__ */ c(
|
|
81
81
|
"form",
|
|
@@ -91,7 +91,7 @@ function le({
|
|
|
91
91
|
noValidate: N,
|
|
92
92
|
ref: g,
|
|
93
93
|
children: [
|
|
94
|
-
/* @__PURE__ */ o("div", { className: e["page-overlay__children"], children:
|
|
94
|
+
/* @__PURE__ */ o("div", { className: e["page-overlay__children"], children: h }),
|
|
95
95
|
t && /* @__PURE__ */ o(
|
|
96
96
|
"div",
|
|
97
97
|
{
|
|
@@ -17,7 +17,7 @@ import "../Input/Input.js";
|
|
|
17
17
|
import "../InputField/InputField.js";
|
|
18
18
|
import { Label as B } from "../Label/Label.js";
|
|
19
19
|
import "react-router";
|
|
20
|
-
import "../../TablePlugin-
|
|
20
|
+
import "../../TablePlugin-Bj5FObQ_.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";
|
|
@@ -25,7 +25,7 @@ import "../../index-DllfJcv4.js";
|
|
|
25
25
|
import "../SelectListbox/SelectListbox.js";
|
|
26
26
|
import "../SelectListbox/SelectProvider.js";
|
|
27
27
|
import "../Sortable/components/SortableItem.js";
|
|
28
|
-
import "../../SortableProvider-
|
|
28
|
+
import "../../SortableProvider-CwX1lFMa.js";
|
|
29
29
|
import '../../assets/PeriodSelector.css';const l = {
|
|
30
30
|
"period-selector__container": "_period-selector__container_d1p0j_1",
|
|
31
31
|
"period-selector__container--label-left": "_period-selector__container--label-left_d1p0j_6",
|
|
@@ -17,7 +17,7 @@ import "../GridRow/GridRow.js";
|
|
|
17
17
|
import "../IconButton/IconButton.js";
|
|
18
18
|
import "../Input/Input.js";
|
|
19
19
|
import "../InputField/InputField.js";
|
|
20
|
-
import "../../TablePlugin-
|
|
20
|
+
import "../../TablePlugin-Bj5FObQ_.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";
|
|
@@ -25,7 +25,7 @@ import "../../index-DllfJcv4.js";
|
|
|
25
25
|
import "../SelectListbox/SelectListbox.js";
|
|
26
26
|
import "../SelectListbox/SelectProvider.js";
|
|
27
27
|
import "../Sortable/components/SortableItem.js";
|
|
28
|
-
import "../../SortableProvider-
|
|
28
|
+
import "../../SortableProvider-CwX1lFMa.js";
|
|
29
29
|
const p = "<ProgrammeCard key={key} header={header} details={details} href={href} />", J = {
|
|
30
30
|
title: "Atoms/ProgrammeCard",
|
|
31
31
|
component: o,
|
|
@@ -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-Bj5FObQ_.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";
|
|
@@ -25,7 +25,7 @@ import "../../index-DllfJcv4.js";
|
|
|
25
25
|
import "../SelectListbox/SelectListbox.js";
|
|
26
26
|
import "../SelectListbox/SelectProvider.js";
|
|
27
27
|
import "../Sortable/components/SortableItem.js";
|
|
28
|
-
import "../../SortableProvider-
|
|
28
|
+
import "../../SortableProvider-CwX1lFMa.js";
|
|
29
29
|
import '../../assets/RadioTabSelector.css';const t = {
|
|
30
30
|
"radio-tab-selector-button-bar__container": "_radio-tab-selector-button-bar__container_a4wnc_1",
|
|
31
31
|
"radio-tab-selector-button-bar__container--label-left": "_radio-tab-selector-button-bar__container--label-left_a4wnc_6",
|
|
@@ -4,7 +4,7 @@ import "../../Buttons/Button.js";
|
|
|
4
4
|
import "../../Buttons/LinkButton.js";
|
|
5
5
|
import "@react-aria/button";
|
|
6
6
|
import "../../Checkbox/Checkbox.js";
|
|
7
|
-
import { Label as
|
|
7
|
+
import { Label as _ } from "../../Label/Label.js";
|
|
8
8
|
import "@react-aria/dialog";
|
|
9
9
|
import "@react-aria/focus";
|
|
10
10
|
import "@react-aria/overlays";
|
|
@@ -14,7 +14,7 @@ import "../../IconButton/IconButton.js";
|
|
|
14
14
|
import "../../Input/Input.js";
|
|
15
15
|
import "../../InputField/InputField.js";
|
|
16
16
|
import "react-router";
|
|
17
|
-
import "../../../TablePlugin-
|
|
17
|
+
import "../../../TablePlugin-Bj5FObQ_.js";
|
|
18
18
|
import "../Providers/LanguageProvider.js";
|
|
19
19
|
import "../Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
20
20
|
import "../hooks/components/Flyout.js";
|
|
@@ -22,15 +22,15 @@ import "../../../index-DllfJcv4.js";
|
|
|
22
22
|
import "../../SelectListbox/SelectListbox.js";
|
|
23
23
|
import "../../SelectListbox/SelectProvider.js";
|
|
24
24
|
import "../../Sortable/components/SortableItem.js";
|
|
25
|
-
import "../../../SortableProvider-
|
|
25
|
+
import "../../../SortableProvider-CwX1lFMa.js";
|
|
26
26
|
import '../../../assets/EditorHeader.css';const t = {
|
|
27
|
-
"editor-header__container": "_editor-
|
|
28
|
-
"editor-header__info": "_editor-
|
|
29
|
-
}, A = ({ label:
|
|
27
|
+
"editor-header__container": "_editor-header__container_9khdz_1",
|
|
28
|
+
"editor-header__info": "_editor-header__info_9khdz_10"
|
|
29
|
+
}, A = ({ label: o, info: i = "", required: e = !1 }) => {
|
|
30
30
|
const m = `info_${d()}`;
|
|
31
31
|
return /* @__PURE__ */ p("div", { className: t["editor-header__container"], children: [
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
o !== "" && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(_, { htmlFor: m, required: e, children: o }) }),
|
|
33
|
+
i !== "" && /* @__PURE__ */ r("div", { className: t["editor-header__info"], children: i })
|
|
34
34
|
] });
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
@@ -4,7 +4,7 @@ import { c as f } from "../../../../clsx-OuTLNxxd.js";
|
|
|
4
4
|
import { N as _, c as p, M as h } from "../../../../Lexical.prod-DOV_uwol.js";
|
|
5
5
|
import { useState as l, useEffect as k } from "react";
|
|
6
6
|
import { Icon as I } from "../../../Icon/Icon.js";
|
|
7
|
-
import { s as a } from "../../../../RteEditor.module-
|
|
7
|
+
import { s as a } from "../../../../RteEditor.module-B_3uFnFu.js";
|
|
8
8
|
import { useTranslation as B } from "../../hooks/useTranslation.js";
|
|
9
9
|
const C = {
|
|
10
10
|
bold: "Bold",
|
|
@@ -17,8 +17,8 @@ import "../../../IconButton/IconButton.js";
|
|
|
17
17
|
import "../../../Input/Input.js";
|
|
18
18
|
import "../../../InputField/InputField.js";
|
|
19
19
|
import "react-router";
|
|
20
|
-
import "../../../../TablePlugin-
|
|
21
|
-
import { s as r } from "../../../../RteEditor.module-
|
|
20
|
+
import "../../../../TablePlugin-Bj5FObQ_.js";
|
|
21
|
+
import { s as r } from "../../../../RteEditor.module-B_3uFnFu.js";
|
|
22
22
|
import { useTranslation as x } from "../../hooks/useTranslation.js";
|
|
23
23
|
import "../LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
24
24
|
import "../../hooks/components/Flyout.js";
|
|
@@ -27,7 +27,7 @@ import "../../../../index-DllfJcv4.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-CwX1lFMa.js";
|
|
31
31
|
const Z = () => {
|
|
32
32
|
const o = x(), [t] = h(), [p, d] = s(!1), [l, c] = s(!1), u = () => {
|
|
33
33
|
t.dispatchCommand(y, void 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { A as D } from "../../../../../TablePlugin-
|
|
3
|
+
import { A as D } from "../../../../../TablePlugin-Bj5FObQ_.js";
|
|
4
4
|
import "../../../../../helpers-DxxBlpKs.js";
|
|
5
5
|
import "../../../../Icon/Icon.js";
|
|
6
6
|
import "../../../../Buttons/Button.js";
|
|
@@ -27,7 +27,7 @@ import "../../../../../index-DllfJcv4.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-CwX1lFMa.js";
|
|
31
31
|
export {
|
|
32
32
|
D as AddLinkForm
|
|
33
33
|
};
|
|
@@ -4,7 +4,7 @@ import { c as q } from "../../../../clsx-OuTLNxxd.js";
|
|
|
4
4
|
import { p as U, k as G, N as J } from "../../../../LexicalLink.prod-XYC56-_H.js";
|
|
5
5
|
import { useRef as a, useState as Q, useEffect as m } from "react";
|
|
6
6
|
import { Y as Z, N as f, n as $, ap as tt, c as N, L as et, y as ot, X as rt } from "../../../../Lexical.prod-DOV_uwol.js";
|
|
7
|
-
import { A as nt } from "../../../../TablePlugin-
|
|
7
|
+
import { A as nt } from "../../../../TablePlugin-Bj5FObQ_.js";
|
|
8
8
|
import { e as it } from "../../../../helpers-DxxBlpKs.js";
|
|
9
9
|
import { LinkContextMenu as st } from "./LinkContextMenu/LinkContextMenu.js";
|
|
10
10
|
import { useFlyout as ct } from "../../hooks/useFlyout.js";
|
|
@@ -23,14 +23,14 @@ import "../../../Input/Input.js";
|
|
|
23
23
|
import "../../../InputField/InputField.js";
|
|
24
24
|
import "react-router";
|
|
25
25
|
import { setScrollableContainers as z, removeScrollableContainers as at } from "../../helpers.js";
|
|
26
|
-
import { s as h } from "../../../../RteEditor.module-
|
|
26
|
+
import { s as h } from "../../../../RteEditor.module-B_3uFnFu.js";
|
|
27
27
|
import { useTranslation as ut } from "../../hooks/useTranslation.js";
|
|
28
28
|
import "../../Providers/LanguageProvider.js";
|
|
29
29
|
import "../../../../index-DllfJcv4.js";
|
|
30
30
|
import "../../../SelectListbox/SelectListbox.js";
|
|
31
31
|
import "../../../SelectListbox/SelectProvider.js";
|
|
32
32
|
import "../../../Sortable/components/SortableItem.js";
|
|
33
|
-
import "../../../../SortableProvider-
|
|
33
|
+
import "../../../../SortableProvider-CwX1lFMa.js";
|
|
34
34
|
const mt = 200, I = (p) => {
|
|
35
35
|
let n = p;
|
|
36
36
|
for (; n; ) {
|
|
@@ -6,7 +6,7 @@ import { useState as p, useEffect as I } from "react";
|
|
|
6
6
|
import { c as O } from "../../../../clsx-OuTLNxxd.js";
|
|
7
7
|
import { ap as U, L as w, V as B, N as b, c as h, I as E, P as $ } from "../../../../Lexical.prod-DOV_uwol.js";
|
|
8
8
|
import { Icon as j } from "../../../Icon/Icon.js";
|
|
9
|
-
import { s as l } from "../../../../RteEditor.module-
|
|
9
|
+
import { s as l } from "../../../../RteEditor.module-B_3uFnFu.js";
|
|
10
10
|
import { useTranslation as z } from "../../hooks/useTranslation.js";
|
|
11
11
|
const V = {
|
|
12
12
|
bullet: "BulletList",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { b as B } from "../../../../TablePlugin-
|
|
3
|
+
import { b as B } from "../../../../TablePlugin-Bj5FObQ_.js";
|
|
4
4
|
import "../../../Buttons/Button.js";
|
|
5
5
|
import "../../../Buttons/LinkButton.js";
|
|
6
6
|
import "@react-aria/button";
|
|
@@ -25,7 +25,7 @@ import "../../../../index-DllfJcv4.js";
|
|
|
25
25
|
import "../../../SelectListbox/SelectListbox.js";
|
|
26
26
|
import "../../../SelectListbox/SelectProvider.js";
|
|
27
27
|
import "../../../Sortable/components/SortableItem.js";
|
|
28
|
-
import "../../../../SortableProvider-
|
|
28
|
+
import "../../../../SortableProvider-CwX1lFMa.js";
|
|
29
29
|
export {
|
|
30
30
|
B as AddTableForm
|
|
31
31
|
};
|
package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js
CHANGED
|
@@ -5,28 +5,28 @@ import { o as $ } from "../../../../../LexicalComposerContext.prod-DLlRM5wP.js";
|
|
|
5
5
|
import { Icon as k } from "../../../../Icon/Icon.js";
|
|
6
6
|
import { useTranslation as H } from "../../../hooks/useTranslation.js";
|
|
7
7
|
import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
8
|
-
"context-menu__wrapper": "_context-
|
|
9
|
-
"context-menu__button": "_context-
|
|
10
|
-
"context-menu": "_context-
|
|
11
|
-
"context-menu--open": "_context-menu--
|
|
12
|
-
"context-menu__item": "_context-
|
|
13
|
-
"context-menu__item-divider": "_context-menu__item-
|
|
14
|
-
"context-menu__wrapper--hidden": "_context-menu__wrapper--
|
|
15
|
-
}, O = 25, N = 10, f = 4, A = 25, M = (
|
|
16
|
-
const r =
|
|
8
|
+
"context-menu__wrapper": "_context-menu__wrapper_6m871_1",
|
|
9
|
+
"context-menu__button": "_context-menu__button_6m871_10",
|
|
10
|
+
"context-menu": "_context-menu_6m871_1",
|
|
11
|
+
"context-menu--open": "_context-menu--open_6m871_38",
|
|
12
|
+
"context-menu__item": "_context-menu__item_6m871_43",
|
|
13
|
+
"context-menu__item-divider": "_context-menu__item-divider_6m871_57",
|
|
14
|
+
"context-menu__wrapper--hidden": "_context-menu__wrapper--hidden_6m871_61"
|
|
15
|
+
}, O = 25, N = 10, f = 4, A = 25, M = (a) => {
|
|
16
|
+
const r = a.cloneNode(!0);
|
|
17
17
|
r.style.height = "auto", r.style.left = "-3000px", document.body.appendChild(r);
|
|
18
18
|
const b = r.getBoundingClientRect().height;
|
|
19
19
|
return document.body.removeChild(r), b;
|
|
20
|
-
}, W = ({ position:
|
|
21
|
-
const t = H(), [T, p] = _(!1), [E, x] = _(!1), [c, B] = _({ xPos: 0, yPos: 0, height: 0 }), [m, I] = _(0), C = d(0), i = d(null), s = d(null), o = d(null), [v] = $(),
|
|
20
|
+
}, W = ({ position: a, parentScrollPosition: r, onAction: b }) => {
|
|
21
|
+
const t = H(), [T, p] = _(!1), [E, x] = _(!1), [c, B] = _({ xPos: 0, yPos: 0, height: 0 }), [m, I] = _(0), C = d(0), i = d(null), s = d(null), o = d(null), [v] = $(), u = (l) => {
|
|
22
22
|
b(l), p(!1);
|
|
23
23
|
}, g = () => {
|
|
24
24
|
const l = i.current ? i.current.getBoundingClientRect().width : 0;
|
|
25
25
|
s.current && i.current && o.current && (c.xPos < l && s.current ? (s.current.style.left = `${l - c.xPos + N}px`, o.current.style.right = `${l - c.xPos + f + N}px`) : (s.current.style.left = "0px", o.current.style.right = `${f}px`), m || I(M(i.current)), m > document.documentElement.clientHeight - c.yPos ? (s.current.style.top = `-${m + c.height}px`, o.current.style.top = `${m + f}px`, o.current.style.transform = "rotate(180deg)") : (s.current.style.top = "0px", o.current.style.top = `-${A}px`, o.current.style.transform = "none"));
|
|
26
26
|
}, P = () => (g(), `translate(${((c == null ? void 0 : c.xPos) ?? 0) - (i.current ? i.current.getBoundingClientRect().width : 0)}px, ${c.yPos - (r - C.current)}px)`);
|
|
27
27
|
return R(() => {
|
|
28
|
-
B(
|
|
29
|
-
}, [
|
|
28
|
+
B(a), a && (C.current = r), p(!1), x(!1);
|
|
29
|
+
}, [a]), R(() => {
|
|
30
30
|
if (o.current) {
|
|
31
31
|
const l = o.current.getBoundingClientRect(), h = v.getRootElement();
|
|
32
32
|
if (!h) return;
|
|
@@ -56,7 +56,7 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
56
56
|
"button",
|
|
57
57
|
{
|
|
58
58
|
type: "button",
|
|
59
|
-
onClick: () =>
|
|
59
|
+
onClick: () => u("insertRowAbove"),
|
|
60
60
|
className: n["context-menu__item"],
|
|
61
61
|
"aria-label": t.aria.labels.tableInsertRowAbove,
|
|
62
62
|
children: t.table.insertRowAbove
|
|
@@ -66,7 +66,7 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
66
66
|
"button",
|
|
67
67
|
{
|
|
68
68
|
type: "button",
|
|
69
|
-
onClick: () =>
|
|
69
|
+
onClick: () => u("insertRowBelow"),
|
|
70
70
|
className: n["context-menu__item"],
|
|
71
71
|
"aria-label": t.aria.labels.tableInsertRowBelow,
|
|
72
72
|
children: t.table.insertRowBelow
|
|
@@ -76,7 +76,7 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
76
76
|
"button",
|
|
77
77
|
{
|
|
78
78
|
type: "button",
|
|
79
|
-
onClick: () =>
|
|
79
|
+
onClick: () => u("deleteRow"),
|
|
80
80
|
className: n["context-menu__item"],
|
|
81
81
|
"aria-label": t.aria.labels.tableDeleteRow,
|
|
82
82
|
children: t.table.deleteRow
|
|
@@ -86,7 +86,7 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
86
86
|
"button",
|
|
87
87
|
{
|
|
88
88
|
type: "button",
|
|
89
|
-
onClick: () =>
|
|
89
|
+
onClick: () => u("insertColumnLeft"),
|
|
90
90
|
className: n["context-menu__item"],
|
|
91
91
|
"aria-label": t.aria.labels.tableInsertColumnLeft,
|
|
92
92
|
children: t.table.insertColumnLeft
|
|
@@ -96,7 +96,7 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
96
96
|
"button",
|
|
97
97
|
{
|
|
98
98
|
type: "button",
|
|
99
|
-
onClick: () =>
|
|
99
|
+
onClick: () => u("insertColumnRight"),
|
|
100
100
|
className: n["context-menu__item"],
|
|
101
101
|
"aria-label": t.aria.labels.tableInsertColumnRight,
|
|
102
102
|
children: t.table.insertColumnRight
|
|
@@ -106,7 +106,7 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
106
106
|
"button",
|
|
107
107
|
{
|
|
108
108
|
type: "button",
|
|
109
|
-
onClick: () =>
|
|
109
|
+
onClick: () => u("deleteColumn"),
|
|
110
110
|
className: n["context-menu__item"],
|
|
111
111
|
"aria-label": t.aria.labels.tableDeleteColumn,
|
|
112
112
|
children: t.table.deleteColumn
|
|
@@ -116,7 +116,7 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
116
116
|
"button",
|
|
117
117
|
{
|
|
118
118
|
type: "button",
|
|
119
|
-
onClick: () =>
|
|
119
|
+
onClick: () => u("deleteTable"),
|
|
120
120
|
className: n["context-menu__item"],
|
|
121
121
|
"aria-label": t.aria.labels.tableDeleteTable,
|
|
122
122
|
children: t.table.deleteTable
|
|
@@ -4,7 +4,7 @@ import "../../../../clsx-OuTLNxxd.js";
|
|
|
4
4
|
import "../../../../LexicalTable.prod-M0HiIwBZ.js";
|
|
5
5
|
import "../../../../Lexical.prod-DOV_uwol.js";
|
|
6
6
|
import "react";
|
|
7
|
-
import { T as F } from "../../../../TablePlugin-
|
|
7
|
+
import { T as F } from "../../../../TablePlugin-Bj5FObQ_.js";
|
|
8
8
|
import "./helpers.js";
|
|
9
9
|
import "../../hooks/useFlyout.js";
|
|
10
10
|
import "../../../Icon/Icon.js";
|
|
@@ -21,7 +21,7 @@ import "../../../IconButton/IconButton.js";
|
|
|
21
21
|
import "../../../Input/Input.js";
|
|
22
22
|
import "../../../InputField/InputField.js";
|
|
23
23
|
import "react-router";
|
|
24
|
-
import "../../../../RteEditor.module-
|
|
24
|
+
import "../../../../RteEditor.module-B_3uFnFu.js";
|
|
25
25
|
import "../../hooks/useTranslation.js";
|
|
26
26
|
import "../LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
27
27
|
import "../../Providers/LanguageProvider.js";
|
|
@@ -29,7 +29,7 @@ import "../../../../index-DllfJcv4.js";
|
|
|
29
29
|
import "../../../SelectListbox/SelectListbox.js";
|
|
30
30
|
import "../../../SelectListbox/SelectProvider.js";
|
|
31
31
|
import "../../../Sortable/components/SortableItem.js";
|
|
32
|
-
import "../../../../SortableProvider-
|
|
32
|
+
import "../../../../SortableProvider-CwX1lFMa.js";
|
|
33
33
|
export {
|
|
34
34
|
F as TablePlugin
|
|
35
35
|
};
|
|
@@ -7,9 +7,9 @@ import { BlockFormatPlugin as T } from "../BlockFormatPlugin/BlockFormatPlugin.j
|
|
|
7
7
|
import { ListPlugin as k } from "../ListPlugin/ListPlugin.js";
|
|
8
8
|
import { LinkPlugin as x } from "../LinkPlugin/LinkPlugin.js";
|
|
9
9
|
import { HistoryPlugin as B } from "../HistoryPlugin/HistoryPlugin.js";
|
|
10
|
-
import { T as S } from "../../../../TablePlugin-
|
|
10
|
+
import { T as S } from "../../../../TablePlugin-Bj5FObQ_.js";
|
|
11
11
|
import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
12
|
-
import { s as A } from "../../../../RteEditor.module-
|
|
12
|
+
import { s as A } from "../../../../RteEditor.module-B_3uFnFu.js";
|
|
13
13
|
import { setScrollableContainers as w, removeScrollableContainers as K } from "../../helpers.js";
|
|
14
14
|
const O = ({ editorScrollPosition: d }) => {
|
|
15
15
|
const [t] = P(), [i, s] = L(null), u = E(null), f = N(() => {
|
|
@@ -3,7 +3,7 @@ import { BlockFormatPlugin as l } from "./BlockFormatPlugin/BlockFormatPlugin.js
|
|
|
3
3
|
import { ListPlugin as n } from "./ListPlugin/ListPlugin.js";
|
|
4
4
|
import { LinkPlugin as m, getLinkNodeTag as x } from "./LinkPlugin/LinkPlugin.js";
|
|
5
5
|
import { HistoryPlugin as p } from "./HistoryPlugin/HistoryPlugin.js";
|
|
6
|
-
import { T as a } from "../../../TablePlugin-
|
|
6
|
+
import { T as a } from "../../../TablePlugin-Bj5FObQ_.js";
|
|
7
7
|
import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
8
8
|
export {
|
|
9
9
|
l as BlockFormatPlugin,
|
|
@@ -13,10 +13,10 @@ import { s as Yt, c as Qt, a as je, b as Zt, w as er, S as tr, y as Je, O as rr
|
|
|
13
13
|
import { a as nr, w as or, M as ar } from "../../helpers-DxxBlpKs.js";
|
|
14
14
|
import { c as sr } from "../../clsx-OuTLNxxd.js";
|
|
15
15
|
import { exportMap as ir, isStartingWithHtmlTag as lr, mergeBoldStrongTags as ur } from "./helpers.js";
|
|
16
|
-
import { s as I } from "../../RteEditor.module-
|
|
16
|
+
import { s as I } from "../../RteEditor.module-B_3uFnFu.js";
|
|
17
17
|
import { ToolBarPlugin as cr } from "./Plugins/ToolbarPlugin/ToolbarPlugin.js";
|
|
18
18
|
import { useTranslation as dr } from "./hooks/useTranslation.js";
|
|
19
|
-
import "../../TablePlugin-
|
|
19
|
+
import "../../TablePlugin-Bj5FObQ_.js";
|
|
20
20
|
import "./Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
21
21
|
import "./hooks/components/Flyout.js";
|
|
22
22
|
import "../Buttons/Button.js";
|
|
@@ -36,7 +36,7 @@ import "react-router";
|
|
|
36
36
|
import "../SelectListbox/SelectListbox.js";
|
|
37
37
|
import "../SelectListbox/SelectProvider.js";
|
|
38
38
|
import "../Sortable/components/SortableItem.js";
|
|
39
|
-
import "../../SortableProvider-
|
|
39
|
+
import "../../SortableProvider-CwX1lFMa.js";
|
|
40
40
|
import { UvaTheme as mr } from "./UvaTheme/UvaTheme.js";
|
|
41
41
|
import { EditorHeader as pr } from "./EditorHeader/EditorHeader.js";
|
|
42
42
|
import { LanguageProvider as gr, useLanguage as hr } from "./Providers/LanguageProvider.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { c as f } from "../../../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { forwardRef as l } from "react";
|
|
4
|
-
import '../../../../assets/Flyout.css';const
|
|
5
|
-
flyout__wrapper:
|
|
6
|
-
flyout__open:
|
|
4
|
+
import '../../../../assets/Flyout.css';const a = "_flyout__wrapper_cadga_1", s = "_flyout__open_cadga_14", t = {
|
|
5
|
+
flyout__wrapper: a,
|
|
6
|
+
flyout__open: s
|
|
7
7
|
}, m = l(
|
|
8
8
|
({ position: o, visible: _, children: p }, r) => /* @__PURE__ */ e(
|
|
9
9
|
"div",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { c as f } from "../../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { forwardRef as E, useRef as g, useEffect as c } from "react";
|
|
4
|
-
import { s as t } from "../../../SelectListbox.module-
|
|
4
|
+
import { s as t } from "../../../SelectListbox.module-DHFU0NjU.js";
|
|
5
5
|
import { Icon as L } from "../../Icon/Icon.js";
|
|
6
6
|
import { useSelect as N } from "../SelectProvider.js";
|
|
7
7
|
const O = E((d, u) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as i, useCallback as u, useEffect as l } from "react";
|
|
3
3
|
import { useSelect as m } from "../SelectProvider.js";
|
|
4
|
-
import { s as f } from "../../../SelectListbox.module-
|
|
4
|
+
import { s as f } from "../../../SelectListbox.module-DHFU0NjU.js";
|
|
5
5
|
const E = ({ children: o }) => {
|
|
6
6
|
const { isOpen: r, setIsOpen: n } = m(), t = i(null), e = u(
|
|
7
7
|
({ target: s }) => {
|
|
@@ -2,7 +2,7 @@ import { jsxs as D, Fragment as h, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as y } from "../../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { useRef as O, useEffect as d } from "react";
|
|
4
4
|
import { useSelect as x } from "../SelectProvider.js";
|
|
5
|
-
import { s as o } from "../../../SelectListbox.module-
|
|
5
|
+
import { s as o } from "../../../SelectListbox.module-DHFU0NjU.js";
|
|
6
6
|
const j = ({ option: l, index: t, dividerAfter: u, children: v }) => {
|
|
7
7
|
const i = O(null), { isOpen: r, activeIndex: s, setActiveIndex: c, selectedValue: f, setSelectedValue: p, setIsOpen: n, options: a } = x(), w = (e) => {
|
|
8
8
|
p(a[e]), n(!1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as m, useRef as x } from "react";
|
|
3
|
-
import { s as i } from "../../../SelectListbox.module-
|
|
3
|
+
import { s as i } from "../../../SelectListbox.module-DHFU0NjU.js";
|
|
4
4
|
import { useSelect as a } from "../SelectProvider.js";
|
|
5
5
|
const h = m((l, e) => {
|
|
6
6
|
const { style: t, children: o } = l, { listboxId: r, isOpen: c } = a(), n = x(null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Children as e } from "react";
|
|
3
3
|
import { SortableItem as b } from "./components/SortableItem.js";
|
|
4
|
-
import { S as n } from "../../SortableProvider-
|
|
4
|
+
import { S as n } from "../../SortableProvider-CwX1lFMa.js";
|
|
5
5
|
const S = ({ children: t, ItemHandlePlacement: m = "left", scrollable: a, disabled: l, onSort: i }) => /* @__PURE__ */ o(
|
|
6
6
|
n,
|
|
7
7
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "./sortableReducer.js";
|
|
4
|
-
import { S as p, u as a } from "../../SortableProvider-
|
|
4
|
+
import { S as p, u as a } from "../../SortableProvider-CwX1lFMa.js";
|
|
5
5
|
import "./actions.js";
|
|
6
6
|
export {
|
|
7
7
|
p as SortableProvider,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../clsx-OuTLNxxd.js";
|
|
4
|
-
import "../../../Sortable.module-
|
|
5
|
-
import { a } from "../../../SortableProvider-
|
|
4
|
+
import "../../../Sortable.module-CekPNg54.js";
|
|
5
|
+
import { a } from "../../../SortableProvider-CwX1lFMa.js";
|
|
6
6
|
export {
|
|
7
7
|
a as SortableContainer
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as e } from "../../Icon/Icon.js";
|
|
3
|
-
import { s as t } from "../../../Sortable.module-
|
|
3
|
+
import { s as t } from "../../../Sortable.module-CekPNg54.js";
|
|
4
4
|
const r = "ontouchstart" in globalThis.document.documentElement;
|
|
5
5
|
function m({ placement: n }) {
|
|
6
6
|
return r ? null : /* @__PURE__ */ o("div", { className: `${t.sortable__handle} ${t[`sortable__handle--${n}`]}`, children: /* @__PURE__ */ o(e, { name: "Dots" }) });
|
|
@@ -2,8 +2,8 @@ import { jsxs as i, jsx as r, Fragment as v } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as S, useRef as M, useEffect as Q } from "react";
|
|
3
3
|
import { Icon as w } from "../../Icon/Icon.js";
|
|
4
4
|
import { SortableHandle as E } from "./SortableHandle.js";
|
|
5
|
-
import { s as t } from "../../../Sortable.module-
|
|
6
|
-
import { u as k } from "../../../SortableProvider-
|
|
5
|
+
import { s as t } from "../../../Sortable.module-CekPNg54.js";
|
|
6
|
+
import { u as k } from "../../../SortableProvider-CwX1lFMa.js";
|
|
7
7
|
const G = ["Space", "ArrowDown", "ArrowUp"], J = "ontouchstart" in globalThis.document.documentElement, C = new Image(0, 0);
|
|
8
8
|
C.src = // 1px transparent png
|
|
9
9
|
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==";
|