@uva-glass/component-library 3.49.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 -1
- 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.js +39 -39
- package/dist/components/Slider/Slider.js.map +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 +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.js +1 -1
- package/dist/index.js +1 -1
- package/dist/storyComponents/Container/Container.js +10 -10
- package/package.json +4 -4
- 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
|
@@ -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 "../../../TablePlugin-
|
|
18
|
+
import "../../../TablePlugin-8TKXJMYE.js";
|
|
19
19
|
import "../Providers/LanguageProvider.js";
|
|
20
20
|
import "../Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
21
21
|
import "../hooks/components/Flyout.js";
|
|
@@ -25,16 +25,16 @@ import "../../SearchField/SearchField.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-BbwlEPIr.js";
|
|
29
29
|
import "../../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
30
30
|
import '../../../assets/EditorHeader.css';const t = {
|
|
31
|
-
"editor-header__container": "_editor-
|
|
32
|
-
"editor-header__info": "_editor-
|
|
33
|
-
}, G = ({ label:
|
|
31
|
+
"editor-header__container": "_editor-header__container_18ifd_1",
|
|
32
|
+
"editor-header__info": "_editor-header__info_18ifd_10"
|
|
33
|
+
}, G = ({ label: i, info: o = "", required: m = !1 }) => {
|
|
34
34
|
const e = `info_${d()}`;
|
|
35
35
|
return /* @__PURE__ */ p("div", { className: t["editor-header__container"], children: [
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
i !== "" && /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(_, { htmlFor: e, required: m, children: i }) }),
|
|
37
|
+
o !== "" && /* @__PURE__ */ r("div", { className: t["editor-header__info"], children: o })
|
|
38
38
|
] });
|
|
39
39
|
};
|
|
40
40
|
export {
|
|
@@ -4,7 +4,7 @@ import { c as u } from "../../../../clsx-OuTLNxxd.js";
|
|
|
4
4
|
import { a as _, f as p, V as h } from "../../../../Lexical.prod-DBU6xTBY.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-CmYZ4MmA.js";
|
|
8
8
|
import { useTranslation as B } from "../../hooks/useTranslation.js";
|
|
9
9
|
const C = {
|
|
10
10
|
bold: "Bold",
|
|
@@ -18,8 +18,8 @@ import "../../../IconButton/IconButton.js";
|
|
|
18
18
|
import "../../../Input/Input.js";
|
|
19
19
|
import "../../../InputField/InputField.js";
|
|
20
20
|
import "react-router";
|
|
21
|
-
import "../../../../TablePlugin-
|
|
22
|
-
import { s as r } from "../../../../RteEditor.module-
|
|
21
|
+
import "../../../../TablePlugin-8TKXJMYE.js";
|
|
22
|
+
import { s as r } from "../../../../RteEditor.module-CmYZ4MmA.js";
|
|
23
23
|
import { useTranslation as g } from "../../hooks/useTranslation.js";
|
|
24
24
|
import "../LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
25
25
|
import "../../hooks/components/Flyout.js";
|
|
@@ -30,7 +30,7 @@ import "../../../SearchField/SearchField.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-BbwlEPIr.js";
|
|
34
34
|
import "../../../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
35
35
|
const ro = () => {
|
|
36
36
|
const o = g(), [t] = h(), [p, d] = m(!1), [l, c] = m(!1), u = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { A as I } from "../../../../../TablePlugin-
|
|
3
|
+
import { A as I } from "../../../../../TablePlugin-8TKXJMYE.js";
|
|
4
4
|
import "../helpers.js";
|
|
5
5
|
import "../../../../Accordion/Accordion.js";
|
|
6
6
|
import "../../../../Icon/Icon.js";
|
|
@@ -30,7 +30,7 @@ import "../../../../SearchField/SearchField.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-BbwlEPIr.js";
|
|
34
34
|
import "../../../../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
35
35
|
export {
|
|
36
36
|
I as AddLinkForm
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as L, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { ensureHttps as
|
|
2
|
+
import { forwardRef as j, useState as d, useRef as K, useImperativeHandle as N, useLayoutEffect as T } from "react";
|
|
3
|
+
import { ensureHttps as g } from "../helpers.js";
|
|
4
4
|
import { Icon as k } from "../../../../Icon/Icon.js";
|
|
5
|
-
import { useTranslation as
|
|
5
|
+
import { useTranslation as E } from "../../../hooks/useTranslation.js";
|
|
6
6
|
import { Button as b } from "../../../../Buttons/Button.js";
|
|
7
7
|
import "../../../../Buttons/LinkButton.js";
|
|
8
8
|
import "@react-aria/button";
|
|
9
9
|
import '../../../../../assets/LinkContextMenu.css';const i = {
|
|
10
|
-
"link-context-menu__wrapper": "_link-context-
|
|
11
|
-
"link-context-menu__input": "_link-context-
|
|
12
|
-
"link-context-menu__button": "_link-context-
|
|
13
|
-
"link-context-menu__actions": "_link-context-
|
|
14
|
-
}, I =
|
|
15
|
-
const t =
|
|
16
|
-
o(
|
|
10
|
+
"link-context-menu__wrapper": "_link-context-menu__wrapper_njt00_1",
|
|
11
|
+
"link-context-menu__input": "_link-context-menu__input_njt00_7",
|
|
12
|
+
"link-context-menu__button": "_link-context-menu__button_njt00_25",
|
|
13
|
+
"link-context-menu__actions": "_link-context-menu__actions_njt00_36"
|
|
14
|
+
}, I = j(({ url: a, onSave: y, onDelete: f, onClose: h }, x) => {
|
|
15
|
+
const t = E(), [m, o] = d(a), [s, c] = d(!1), l = K(null), r = () => {
|
|
16
|
+
o(a), c(!1), l.current?.blur();
|
|
17
17
|
}, w = () => {
|
|
18
18
|
y(m), r();
|
|
19
19
|
}, _ = () => {
|
|
@@ -21,15 +21,15 @@ import '../../../../../assets/LinkContextMenu.css';const i = {
|
|
|
21
21
|
}, C = () => {
|
|
22
22
|
r(), h();
|
|
23
23
|
}, p = () => {
|
|
24
|
-
window.open(
|
|
24
|
+
window.open(g(a), "_blank");
|
|
25
25
|
};
|
|
26
|
-
return
|
|
26
|
+
return N(x, () => ({
|
|
27
27
|
clearForm: r
|
|
28
|
-
})),
|
|
29
|
-
o(
|
|
30
|
-
e.ctrlKey && e.shiftKey && e.key === "L" && (c(!0), setTimeout(() =>
|
|
28
|
+
})), T(() => {
|
|
29
|
+
o(a), window.addEventListener("keydown", (e) => {
|
|
30
|
+
e.ctrlKey && e.shiftKey && e.key === "L" && (c(!0), setTimeout(() => l.current?.focus(), 0)), e.ctrlKey && e.shiftKey && e.code === "Digit1" && (p(), setTimeout(() => l.current?.focus(), 0)), e.ctrlKey && e.shiftKey && e.key === "Q" && (_(), setTimeout(() => l.current?.focus(), 0));
|
|
31
31
|
});
|
|
32
|
-
}, [
|
|
32
|
+
}, [a]), /* @__PURE__ */ u(L, { children: [
|
|
33
33
|
/* @__PURE__ */ u("div", { className: i["link-context-menu__wrapper"], children: [
|
|
34
34
|
/* @__PURE__ */ n(
|
|
35
35
|
"input",
|
|
@@ -39,7 +39,7 @@ import '../../../../../assets/LinkContextMenu.css';const i = {
|
|
|
39
39
|
onChange: (e) => o(e.target.value),
|
|
40
40
|
className: i["link-context-menu__input"],
|
|
41
41
|
disabled: !s,
|
|
42
|
-
ref:
|
|
42
|
+
ref: l
|
|
43
43
|
}
|
|
44
44
|
),
|
|
45
45
|
!s && /* @__PURE__ */ n(
|
|
@@ -4,7 +4,7 @@ import { c as Y } from "../../../../clsx-OuTLNxxd.js";
|
|
|
4
4
|
import { w as I, P as q, J as G } from "../../../../LexicalLink.prod-DV9kT537.js";
|
|
5
5
|
import { useRef as a, useState as Q, useEffect as m } from "react";
|
|
6
6
|
import { a0 as X, a as p, p as Z, ar as $, f as w, A as tt, a1 as et, t as ot } from "../../../../Lexical.prod-DBU6xTBY.js";
|
|
7
|
-
import { A as rt } from "../../../../TablePlugin-
|
|
7
|
+
import { A as rt } from "../../../../TablePlugin-8TKXJMYE.js";
|
|
8
8
|
import { ensureHttps as nt } from "./helpers.js";
|
|
9
9
|
import { LinkContextMenu as it } from "./LinkContextMenu/LinkContextMenu.js";
|
|
10
10
|
import { useFlyout as st } from "../../hooks/useFlyout.js";
|
|
@@ -24,7 +24,7 @@ import "../../../Input/Input.js";
|
|
|
24
24
|
import "../../../InputField/InputField.js";
|
|
25
25
|
import "react-router";
|
|
26
26
|
import { setScrollableContainers as A, removeScrollableContainers as lt } from "../../helpers.js";
|
|
27
|
-
import { s as h } from "../../../../RteEditor.module-
|
|
27
|
+
import { s as h } from "../../../../RteEditor.module-CmYZ4MmA.js";
|
|
28
28
|
import { useTranslation as at } from "../../hooks/useTranslation.js";
|
|
29
29
|
import "react-dom";
|
|
30
30
|
import "../../../../index-yEhaxKq-.js";
|
|
@@ -33,7 +33,7 @@ import "../../../SearchField/SearchField.js";
|
|
|
33
33
|
import "../../../SelectListbox/SelectListbox.js";
|
|
34
34
|
import "../../../SelectListbox/SelectProvider.js";
|
|
35
35
|
import "../../../Sortable/components/SortableItem.js";
|
|
36
|
-
import "../../../../SortableProvider-
|
|
36
|
+
import "../../../../SortableProvider-BbwlEPIr.js";
|
|
37
37
|
import "../../../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
38
38
|
const ut = 200, B = (f) => {
|
|
39
39
|
let n = f;
|
|
@@ -5,7 +5,7 @@ import { useState as p, useEffect as k } from "react";
|
|
|
5
5
|
import { c as K } from "../../../../clsx-OuTLNxxd.js";
|
|
6
6
|
import { ar as y, A as O, Y as U, a as v, f as P, P as w } from "../../../../Lexical.prod-DBU6xTBY.js";
|
|
7
7
|
import { Icon as A } from "../../../Icon/Icon.js";
|
|
8
|
-
import { s as l } from "../../../../RteEditor.module-
|
|
8
|
+
import { s as l } from "../../../../RteEditor.module-CmYZ4MmA.js";
|
|
9
9
|
import { useTranslation as B } from "../../hooks/useTranslation.js";
|
|
10
10
|
const E = {
|
|
11
11
|
bullet: "BulletList",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { b as G } from "../../../../TablePlugin-
|
|
3
|
+
import { b as G } from "../../../../TablePlugin-8TKXJMYE.js";
|
|
4
4
|
import "../../../Accordion/Accordion.js";
|
|
5
5
|
import "../../../Buttons/Button.js";
|
|
6
6
|
import "../../../Buttons/LinkButton.js";
|
|
@@ -28,7 +28,7 @@ import "../../../SearchField/SearchField.js";
|
|
|
28
28
|
import "../../../SelectListbox/SelectListbox.js";
|
|
29
29
|
import "../../../SelectListbox/SelectProvider.js";
|
|
30
30
|
import "../../../Sortable/components/SortableItem.js";
|
|
31
|
-
import "../../../../SortableProvider-
|
|
31
|
+
import "../../../../SortableProvider-BbwlEPIr.js";
|
|
32
32
|
import "../../../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
33
33
|
export {
|
|
34
34
|
G as AddTableForm
|
package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js
CHANGED
|
@@ -5,39 +5,39 @@ import { o as $ } from "../../../../../LexicalComposerContext.prod-DOyoZx0P.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_c2vuh_1",
|
|
9
|
+
"context-menu__button": "_context-menu__button_c2vuh_10",
|
|
10
|
+
"context-menu": "_context-menu_c2vuh_1",
|
|
11
|
+
"context-menu--open": "_context-menu--open_c2vuh_38",
|
|
12
|
+
"context-menu__item": "_context-menu__item_c2vuh_43",
|
|
13
|
+
"context-menu__item-divider": "_context-menu__item-divider_c2vuh_57",
|
|
14
|
+
"context-menu__wrapper--hidden": "_context-menu__wrapper--hidden_c2vuh_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(), [
|
|
22
|
-
b(l),
|
|
20
|
+
}, W = ({ position: a, parentScrollPosition: r, onAction: b }) => {
|
|
21
|
+
const t = H(), [v, h] = _(!1), [T, p] = _(!1), [c, E] = _({ xPos: 0, yPos: 0, height: 0 }), [m, B] = _(0), C = d(0), i = d(null), s = d(null), o = d(null), [I] = $(), u = (l) => {
|
|
22
|
+
b(l), h(!1);
|
|
23
23
|
}, g = () => {
|
|
24
|
-
const l =
|
|
25
|
-
s.current &&
|
|
26
|
-
},
|
|
24
|
+
const l = i.current ? i.current.getBoundingClientRect().width : 0;
|
|
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 || B(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
|
+
}, P = () => (g(), `translate(${(c?.xPos ?? 0) - (i.current ? i.current.getBoundingClientRect().width : 0)}px, ${c.yPos - (r - C.current)}px)`);
|
|
27
27
|
return R(() => {
|
|
28
|
-
|
|
29
|
-
}, [
|
|
28
|
+
E(a), a && (C.current = r), h(!1), p(!1);
|
|
29
|
+
}, [a]), R(() => {
|
|
30
30
|
if (o.current) {
|
|
31
|
-
const l = o.current.getBoundingClientRect(),
|
|
32
|
-
if (!
|
|
33
|
-
l.top -
|
|
31
|
+
const l = o.current.getBoundingClientRect(), x = I.getRootElement();
|
|
32
|
+
if (!x) return;
|
|
33
|
+
l.top - x.getBoundingClientRect().top <= 0 || l.top - x.getBoundingClientRect().bottom + O >= 0 ? p(!0) : p(!1), g();
|
|
34
34
|
}
|
|
35
35
|
}, [r]), /* @__PURE__ */ y(
|
|
36
36
|
"div",
|
|
37
37
|
{
|
|
38
|
-
className: w(n["context-menu__wrapper"], [
|
|
38
|
+
className: w(n["context-menu__wrapper"], [T && n["context-menu__wrapper--hidden"]]),
|
|
39
39
|
style: {
|
|
40
|
-
transform: `${
|
|
40
|
+
transform: `${P()}`
|
|
41
41
|
},
|
|
42
42
|
ref: s,
|
|
43
43
|
children: [
|
|
@@ -45,18 +45,18 @@ import '../../../../../assets/TableCellContextMenu.css';const n = {
|
|
|
45
45
|
"button",
|
|
46
46
|
{
|
|
47
47
|
type: "button",
|
|
48
|
-
onClick: () =>
|
|
48
|
+
onClick: () => h((l) => !l),
|
|
49
49
|
className: n["context-menu__button"],
|
|
50
50
|
ref: o,
|
|
51
51
|
children: /* @__PURE__ */ e(k, { name: "CheveronDown", size: 16 })
|
|
52
52
|
}
|
|
53
53
|
),
|
|
54
|
-
/* @__PURE__ */ y("ul", { ref:
|
|
54
|
+
/* @__PURE__ */ y("ul", { ref: i, className: w(n["context-menu"], v && n["context-menu--open"]), children: [
|
|
55
55
|
/* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
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
|
|
@@ -5,7 +5,7 @@ import "../../../../LexicalTable.prod-CZ1mYUR-.js";
|
|
|
5
5
|
import "../../../../Lexical.prod-DBU6xTBY.js";
|
|
6
6
|
import "../../../../LexicalUtils.prod-C3vvQk50.js";
|
|
7
7
|
import "react";
|
|
8
|
-
import { T as L } from "../../../../TablePlugin-
|
|
8
|
+
import { T as L } from "../../../../TablePlugin-8TKXJMYE.js";
|
|
9
9
|
import "./helpers.js";
|
|
10
10
|
import "../../nodes/TableWrapperNode/TableWrapperNode.js";
|
|
11
11
|
import "../../hooks/useFlyout.js";
|
|
@@ -24,7 +24,7 @@ import "../../../IconButton/IconButton.js";
|
|
|
24
24
|
import "../../../Input/Input.js";
|
|
25
25
|
import "../../../InputField/InputField.js";
|
|
26
26
|
import "react-router";
|
|
27
|
-
import "../../../../RteEditor.module-
|
|
27
|
+
import "../../../../RteEditor.module-CmYZ4MmA.js";
|
|
28
28
|
import "../../hooks/useTranslation.js";
|
|
29
29
|
import "../LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
30
30
|
import "react-dom";
|
|
@@ -34,7 +34,7 @@ import "../../../SearchField/SearchField.js";
|
|
|
34
34
|
import "../../../SelectListbox/SelectListbox.js";
|
|
35
35
|
import "../../../SelectListbox/SelectProvider.js";
|
|
36
36
|
import "../../../Sortable/components/SortableItem.js";
|
|
37
|
-
import "../../../../SortableProvider-
|
|
37
|
+
import "../../../../SortableProvider-BbwlEPIr.js";
|
|
38
38
|
import "../../../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
39
39
|
export {
|
|
40
40
|
L as TablePlugin
|
|
@@ -7,11 +7,11 @@ import { BlockFormatPlugin as x } from "../BlockFormatPlugin/BlockFormatPlugin.j
|
|
|
7
7
|
import { ListPlugin as N } from "../ListPlugin/ListPlugin.js";
|
|
8
8
|
import { LinkPlugin as k } 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-8TKXJMYE.js";
|
|
11
11
|
import { TableCellContextMenu as z } from "../TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
12
12
|
import "react-dom";
|
|
13
13
|
import "../../../../index-yEhaxKq-.js";
|
|
14
|
-
import { s as A } from "../../../../RteEditor.module-
|
|
14
|
+
import { s as A } from "../../../../RteEditor.module-CmYZ4MmA.js";
|
|
15
15
|
import { setScrollableContainers as b, removeScrollableContainers as K } from "../../helpers.js";
|
|
16
16
|
const W = ({ editorScrollPosition: m }) => {
|
|
17
17
|
const [t] = y(), [r, i] = L(null), d = E(null), u = T(() => {
|
|
@@ -3,7 +3,7 @@ import { BlockFormatPlugin as t } from "./BlockFormatPlugin/BlockFormatPlugin.js
|
|
|
3
3
|
import { ListPlugin as n } from "./ListPlugin/ListPlugin.js";
|
|
4
4
|
import { LinkPlugin as g, getLinkNodeTag as m } from "./LinkPlugin/LinkPlugin.js";
|
|
5
5
|
import { HistoryPlugin as f } from "./HistoryPlugin/HistoryPlugin.js";
|
|
6
|
-
import { T as u } from "../../../TablePlugin-
|
|
6
|
+
import { T as u } from "../../../TablePlugin-8TKXJMYE.js";
|
|
7
7
|
import { TableCellContextMenu as T } from "./TablePlugin/TableCellContextMenu/TableCellContextMenu.js";
|
|
8
8
|
import { T as b } from "../../../TableCellResizerPlugin-CxFy7dbe.js";
|
|
9
9
|
import { PasteHandlerPlugin as C } from "./PasteHandlerPlugin/PasteHandlerPlugin.js";
|
|
@@ -13,10 +13,10 @@ import { u as or, h as ar, d as Ae, v as sr, N as ir, y as lr, T as Ke, k as dr
|
|
|
13
13
|
import { c as ur } from "../../clsx-OuTLNxxd.js";
|
|
14
14
|
import { exportMap as cr, mergeBoldStrongTags as fr, cleanUpTable as mr } from "./helpers.js";
|
|
15
15
|
import { validateUrl as pr, MATCHERS as gr } from "./Plugins/LinkPlugin/helpers.js";
|
|
16
|
-
import { s as $ } from "../../RteEditor.module-
|
|
16
|
+
import { s as $ } from "../../RteEditor.module-CmYZ4MmA.js";
|
|
17
17
|
import { ToolBarPlugin as hr } from "./Plugins/ToolbarPlugin/ToolbarPlugin.js";
|
|
18
18
|
import { useTranslation as vr } from "./hooks/useTranslation.js";
|
|
19
|
-
import "../../TablePlugin-
|
|
19
|
+
import "../../TablePlugin-8TKXJMYE.js";
|
|
20
20
|
import "./Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
|
|
21
21
|
import "./hooks/components/Flyout.js";
|
|
22
22
|
import "../Accordion/Accordion.js";
|
|
@@ -38,7 +38,7 @@ import "../SearchField/SearchField.js";
|
|
|
38
38
|
import "../SelectListbox/SelectListbox.js";
|
|
39
39
|
import "../SelectListbox/SelectProvider.js";
|
|
40
40
|
import "../Sortable/components/SortableItem.js";
|
|
41
|
-
import "../../SortableProvider-
|
|
41
|
+
import "../../SortableProvider-BbwlEPIr.js";
|
|
42
42
|
import "../WeekSelector/components/WeekSelectorOptionContainer.js";
|
|
43
43
|
import { PasteHandlerPlugin as Cr } from "./Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js";
|
|
44
44
|
import { UvaTheme as br } from "./UvaTheme/UvaTheme.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 s = "_flyout__wrapper_1cw8u_1", u = "_flyout__open_1cw8u_14", t = {
|
|
5
|
+
flyout__wrapper: s,
|
|
6
|
+
flyout__open: u
|
|
7
7
|
}, m = l(
|
|
8
8
|
({ position: o, visible: _, children: p }, r) => /* @__PURE__ */ e(
|
|
9
9
|
"div",
|
|
@@ -2,7 +2,7 @@ import { jsxs as x, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as y, useState as k, useEffect as F, Children as m, isValidElement as N, cloneElement as O } from "react";
|
|
3
3
|
import { c as S } from "../../clsx-OuTLNxxd.js";
|
|
4
4
|
import { ResultOption as D } from "./components/ResultsOption.js";
|
|
5
|
-
import { s as t } from "../../SearchField.module-
|
|
5
|
+
import { s as t } from "../../SearchField.module-CMUEgX7d.js";
|
|
6
6
|
import { ResultOptionBox as E } from "./components/ResultOptionBox.js";
|
|
7
7
|
import { Icon as w } from "../Icon/Icon.js";
|
|
8
8
|
import { useOnClickOutside as j } from "../hooks/useOnClickOutside.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as a, Fragment as i } from "react";
|
|
3
|
-
import { s } from "../../../SearchField.module-
|
|
3
|
+
import { s } from "../../../SearchField.module-CMUEgX7d.js";
|
|
4
4
|
const m = a(({ children: t, resultCountRow: e }, l) => /* @__PURE__ */ o("div", { className: s["search-field__result-wrapper"], ref: l, children: [
|
|
5
5
|
/* @__PURE__ */ r("ul", { className: s["search-field__result-list"], role: "listbox", tabIndex: -1, children: t }),
|
|
6
6
|
e && /* @__PURE__ */ r(i, { children: e }, "result-count")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
-
import { s as c } from "../../../SearchField.module-
|
|
2
|
+
import { s as c } from "../../../SearchField.module-CMUEgX7d.js";
|
|
3
3
|
const m = ({ value: l, key: o, ariaLabel: n, children: s, onSelect: p, onReset: r, onEscape: a }) => {
|
|
4
4
|
const i = (e) => {
|
|
5
5
|
e.stopPropagation(), a(), r && r(), p(l);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { c } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import '../../assets/SectionNotification.css';const i = {
|
|
4
|
-
"section-notification": "_section-
|
|
5
|
-
"section-notification--fullwidth": "_section-notification--
|
|
6
|
-
}, a = ({ fullWidth:
|
|
4
|
+
"section-notification": "_section-notification_1hgo5_1",
|
|
5
|
+
"section-notification--fullwidth": "_section-notification--fullwidth_1hgo5_10"
|
|
6
|
+
}, a = ({ fullWidth: o = !1, children: t }) => /* @__PURE__ */ n(
|
|
7
7
|
"div",
|
|
8
8
|
{
|
|
9
9
|
className: c(i["section-notification"], {
|
|
10
|
-
[i["section-notification--fullwidth"]]:
|
|
10
|
+
[i["section-notification--fullwidth"]]: o
|
|
11
11
|
}),
|
|
12
|
-
children:
|
|
12
|
+
children: t
|
|
13
13
|
}
|
|
14
14
|
);
|
|
15
15
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c, jsxs as K } from "react/jsx-runtime";
|
|
2
2
|
import { c as m } from "../../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { forwardRef as N, useRef as h, useEffect as u } from "react";
|
|
4
|
-
import { s as t } from "../../../SelectListbox.module-
|
|
4
|
+
import { s as t } from "../../../SelectListbox.module-CgZyIxwT.js";
|
|
5
5
|
import { Icon as R } from "../../Icon/Icon.js";
|
|
6
6
|
import { useSelect as S } from "../SelectProvider.js";
|
|
7
7
|
const O = N((y, b) => {
|
|
@@ -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-CgZyIxwT.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 v, Fragment as x, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as I } from "../../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { useRef as O, useEffect as k } from "react";
|
|
4
4
|
import { useSelect as g } from "../SelectProvider.js";
|
|
5
|
-
import { s as c } from "../../../SelectListbox.module-
|
|
5
|
+
import { s as c } from "../../../SelectListbox.module-CgZyIxwT.js";
|
|
6
6
|
const K = ({ option: a, index: s, dividerAfter: u, children: w }) => {
|
|
7
7
|
const i = O(null), { isOpen: l, activeIndex: t, setActiveIndex: r, selectedValue: n, setSelectedValue: p, setIsOpen: f, options: o } = g(), y = (e) => {
|
|
8
8
|
p(o[e]), f(!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-CgZyIxwT.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);
|