@lanaco/lnc-react-ui 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle-visualization.html +4842 -0
- package/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +55 -50
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +15 -15
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +11 -11
- package/dist/ActionsToolbar.cjs +2 -2
- package/dist/ActionsToolbar.js +16 -16
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +23 -23
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.js +23 -25
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +21 -14
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +28 -28
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +21 -21
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +10 -6
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +4 -4
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +9 -9
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +5 -5
- package/dist/ConfirmationForm.cjs +5 -5
- package/dist/ConfirmationForm.js +59 -59
- package/dist/Content.cjs +1 -1
- package/dist/Content.js +8 -8
- package/dist/{CustomStyles-nfD3J1mi.js → CustomStyles-BUSJ8bZt.js} +5 -5
- package/dist/{CustomStyles-CqlCjTgU.cjs → CustomStyles-Dlqxic2X.cjs} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +2 -2
- package/dist/DateInput.cjs +4 -4
- package/dist/DateInput.js +491 -491
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +5 -5
- package/dist/DetailsView.cjs +4 -4
- package/dist/DetailsView.js +40 -40
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +4 -4
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +6 -6
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +4 -4
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +15 -15
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +6 -6
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +4 -4
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +6 -6
- package/dist/DropdownMenu.cjs +7 -1
- package/dist/DropdownMenu.js +192 -10
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +4 -4
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +4 -4
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +14 -14
- package/dist/FlexGrid.cjs +1 -1
- package/dist/FlexGrid.js +30 -30
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +3 -3
- package/dist/Footer.cjs +1 -1
- package/dist/Footer.js +5 -5
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +8 -9
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +31 -31
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +2 -2
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +2 -2
- package/dist/Header.cjs +1 -1
- package/dist/Header.js +7 -7
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +33 -10
- package/dist/IconButton.cjs +5 -5
- package/dist/IconButton.js +33 -33
- package/dist/Kanban.cjs +12 -12
- package/dist/Kanban.js +948 -936
- package/dist/KanbanActionsToolbar.cjs +2 -2
- package/dist/KanbanActionsToolbar.js +28 -28
- package/dist/{KanbanCard-D9OhU8C6.js → KanbanCard-CHZ_C9kk.js} +50 -50
- package/dist/KanbanCard-DV3VnSUi.cjs +30 -0
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +5 -5
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +40 -40
- package/dist/KanbanHeader.cjs +2 -2
- package/dist/KanbanHeader.js +46 -46
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +27 -27
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +9 -9
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +11 -11
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +7 -7
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +4 -4
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +4 -4
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +18 -18
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +9 -9
- package/dist/Notification.cjs +1 -83
- package/dist/Notification.js +3 -1077
- package/dist/NotificationContainer.cjs +37 -0
- package/dist/NotificationContainer.js +162 -0
- package/dist/NotificationMessage.cjs +47 -0
- package/dist/NotificationMessage.js +133 -0
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +5 -5
- package/dist/PageLayout.cjs +2 -2
- package/dist/PageLayout.js +27 -27
- package/dist/Pagination.cjs +12 -0
- package/dist/Pagination.js +248 -0
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +14 -14
- package/dist/Popover.cjs +1 -0
- package/dist/Popover.js +36 -0
- package/dist/PopoverClose.cjs +1 -0
- package/dist/PopoverClose.js +15 -0
- package/dist/PopoverContent.cjs +10 -0
- package/dist/PopoverContent.js +68 -0
- package/dist/PopoverContext.cjs +1 -0
- package/dist/PopoverContext.js +5 -0
- package/dist/PopoverDescription.cjs +1 -0
- package/dist/PopoverDescription.js +16 -0
- package/dist/PopoverHeading.cjs +1 -0
- package/dist/PopoverHeading.js +16 -0
- package/dist/PopoverTrigger.cjs +1 -0
- package/dist/PopoverTrigger.js +38 -0
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +35 -24
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +3 -3
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +4 -4
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +4 -4
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +6 -6
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +9 -9
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +4 -4
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +25 -20
- package/dist/Surface.cjs +2 -2
- package/dist/Surface.js +14 -15
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +4 -4
- package/dist/TabItem.cjs +26 -0
- package/dist/TabItem.js +210 -0
- package/dist/Table.cjs +20 -20
- package/dist/Table.js +13 -12
- package/dist/TableView.cjs +8 -1
- package/dist/TableView.js +238 -9
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +3 -3
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +5 -5
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +5 -5
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +5 -5
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +9 -9
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +4 -4
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +2 -2
- package/dist/TreeMenuSeparator.cjs +3 -3
- package/dist/TreeMenuSeparator.js +11 -11
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +29 -29
- package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/{defineProperty-BHpTtkhC.js → defineProperty-B5pLF6px.js} +8 -8
- package/dist/{emotion-element-5486c51c.browser.esm-CSejtOeT.js → emotion-element-5486c51c.browser.esm-Bb4VkP8U.js} +4 -4
- package/dist/{emotion-is-prop-valid.esm-BzFBwmJz.js → emotion-is-prop-valid.esm-DkbeH1Xy.js} +1 -1
- package/dist/{emotion-react.browser.esm-OWM-uG8Q.js → emotion-react.browser.esm-CN-s34fZ.js} +6 -6
- package/dist/{emotion-react.browser.esm-DQBL7Wls.cjs → emotion-react.browser.esm-D7h2t2Bz.cjs} +1 -1
- package/dist/{emotion-styled.browser.esm-BZSYYThs.js → emotion-styled.browser.esm-BiK8DcgW.js} +12 -12
- package/dist/floating-ui.react.esm-72DKnou_.js +1198 -0
- package/dist/floating-ui.react.esm-C4vrBVJU.cjs +4 -0
- package/dist/{hoist-non-react-statics.cjs-Drf1aBlk.js → hoist-non-react-statics.cjs-CAHiRNzQ.js} +1 -1
- package/dist/{hoist-non-react-statics.cjs-B8r9S_ak.cjs → hoist-non-react-statics.cjs-Dr-ytKVG.cjs} +3 -3
- package/dist/{index-CZJEA84h.js → index--Kmch3aI.js} +1 -1
- package/dist/index-BIlhCoy2.cjs +20 -0
- package/dist/{index-BLQWNy78.js → index-BUChtubz.js} +4 -4
- package/dist/{index-Ds9PUTwb.js → index-BYnWp42a.js} +208 -213
- package/dist/{index-D5vEbKUT.js → index-CNBqQrtK.js} +1 -1
- package/dist/{index-IO9v6o0I.cjs → index-CSXL784P.cjs} +2 -2
- package/dist/{index-C29T0m2a.cjs → index-Ct1N7fF4.cjs} +1 -1
- package/dist/{index-BklgDeu4.js → index-Cu0xwYjD.js} +1 -1
- package/dist/{index-Cdkz-XH-.js → index-CvebWhtp.js} +1 -1
- package/dist/index-DAOBjHnD.cjs +1 -0
- package/dist/index-DBXXH_TD.cjs +1 -0
- package/dist/{index-B_da1uvD.js → index-DLVVKJXD.js} +1 -1
- package/dist/index-DaiUAQVF.cjs +1 -0
- package/dist/index.cjs +1 -26
- package/dist/index.js +180 -376
- package/dist/{motion-CtkUpWEn.js → motion-ecIGZGwI.js} +1 -1
- package/dist/react-toastify.esm-CkXGwKXL.js +798 -0
- package/dist/react-toastify.esm-Dqcb4SQT.cjs +1 -0
- package/dist/{setPrototypeOf-a891FLQJ.js → setPrototypeOf-CttqfWo1.js} +2 -2
- package/dist/{tslib.es6-ZNVz5r_T.js → tslib.es6-DQ-SzcmG.js} +5 -5
- package/dist/usePopover.cjs +1 -0
- package/dist/usePopover.js +44 -0
- package/dist/{utils-DEke8iwo.js → utils-C52T57HO.js} +73 -73
- package/dist/{utils-hdRGTsQ7.cjs → utils-DTAPpJXU.cjs} +1 -1
- package/package.json +17 -5
- package/vite.config.js +16 -0
- package/dist/DropdownMenu-B6qr13ik.cjs +0 -19
- package/dist/DropdownMenu-DZi3TJ8Q.js +0 -1547
- package/dist/KanbanCard-ConTmu3w.cjs +0 -30
- package/dist/TableView-Cj5_fbSR.js +0 -481
- package/dist/TableView-D8ex512p.cjs +0 -19
- package/dist/index-BjdOz5Ok.cjs +0 -1
- package/dist/index-DXnSjbfJ.cjs +0 -20
- package/dist/index-Dzkd2i4n.cjs +0 -1
- package/dist/index-P-naJISQ.cjs +0 -1
package/dist/KanbanHeader.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { n as
|
|
4
|
-
import { P as e } from "./index-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { u as
|
|
9
|
-
const
|
|
1
|
+
import { jsxs as N, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { memo as w, forwardRef as E } from "react";
|
|
3
|
+
import { n as T } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { P as e } from "./index-BYnWp42a.js";
|
|
5
|
+
import k from "./DropdownMenu.js";
|
|
6
|
+
import v from "./DropdownItem.js";
|
|
7
|
+
import D from "./Icon.js";
|
|
8
|
+
import { u as H } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
9
|
+
const P = T.div`
|
|
10
10
|
font-family: ${(n) => {
|
|
11
|
-
var
|
|
12
|
-
return (o = (
|
|
11
|
+
var i, o;
|
|
12
|
+
return (o = (i = n.theme) == null ? void 0 : i.typography) == null ? void 0 : o.fontFamily;
|
|
13
13
|
}};
|
|
14
14
|
position: relative;
|
|
15
15
|
width: 100%;
|
|
@@ -23,65 +23,65 @@ const H = E.div`
|
|
|
23
23
|
& > span {
|
|
24
24
|
${(n) => n.clickable && "cursor: pointer;"}
|
|
25
25
|
}
|
|
26
|
-
`,
|
|
27
|
-
|
|
26
|
+
`, t = w(
|
|
27
|
+
E(
|
|
28
28
|
({
|
|
29
29
|
__TYPE__: n = "KANBAN_HEADER",
|
|
30
|
-
id:
|
|
30
|
+
id: i,
|
|
31
31
|
item: o,
|
|
32
32
|
column: s,
|
|
33
|
-
actionsMenu:
|
|
34
|
-
actions:
|
|
35
|
-
onDetails:
|
|
33
|
+
actionsMenu: p = !1,
|
|
34
|
+
actions: a = [],
|
|
35
|
+
onDetails: m = () => {
|
|
36
36
|
},
|
|
37
|
-
color:
|
|
38
|
-
size:
|
|
39
|
-
className:
|
|
40
|
-
style:
|
|
41
|
-
children:
|
|
42
|
-
...
|
|
43
|
-
},
|
|
44
|
-
const b =
|
|
45
|
-
return /* @__PURE__ */
|
|
46
|
-
|
|
37
|
+
color: c = "primary",
|
|
38
|
+
size: f = "small",
|
|
39
|
+
className: d = "",
|
|
40
|
+
style: u = {},
|
|
41
|
+
children: y,
|
|
42
|
+
...g
|
|
43
|
+
}, h) => {
|
|
44
|
+
const b = H();
|
|
45
|
+
return /* @__PURE__ */ N(
|
|
46
|
+
P,
|
|
47
47
|
{
|
|
48
|
-
ref:
|
|
48
|
+
ref: h,
|
|
49
49
|
theme: b,
|
|
50
|
-
className:
|
|
51
|
-
style:
|
|
52
|
-
clickable: !!
|
|
53
|
-
...
|
|
50
|
+
className: d,
|
|
51
|
+
style: u,
|
|
52
|
+
clickable: !!m,
|
|
53
|
+
...g,
|
|
54
54
|
children: [
|
|
55
|
-
/* @__PURE__ */ l("span", { onClick: (r) =>
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
/* @__PURE__ */ l("span", { onClick: (r) => m(r, o, s), children: y }),
|
|
56
|
+
p && /* @__PURE__ */ l(
|
|
57
|
+
k,
|
|
58
58
|
{
|
|
59
59
|
className: "column-action-lnc",
|
|
60
60
|
horizontalAlignment: "right",
|
|
61
61
|
verticalAlignment: "bottom",
|
|
62
|
-
color:
|
|
63
|
-
size:
|
|
62
|
+
color: c,
|
|
63
|
+
size: f,
|
|
64
64
|
control: /* @__PURE__ */ l(
|
|
65
|
-
|
|
65
|
+
D,
|
|
66
66
|
{
|
|
67
67
|
color: "neutral",
|
|
68
68
|
className: "column-action-lnc",
|
|
69
69
|
icon: "ellipsis-v"
|
|
70
70
|
}
|
|
71
71
|
),
|
|
72
|
-
children:
|
|
72
|
+
children: a == null ? void 0 : a.map((r, _) => {
|
|
73
73
|
if ((r == null ? void 0 : r.show) != !1)
|
|
74
74
|
return /* @__PURE__ */ l(
|
|
75
|
-
|
|
75
|
+
v,
|
|
76
76
|
{
|
|
77
77
|
icon: r.icon,
|
|
78
78
|
disabled: r.enable == !1,
|
|
79
|
-
onClick: (
|
|
80
|
-
r.onAction(
|
|
79
|
+
onClick: (A) => {
|
|
80
|
+
r.onAction(A, o, s);
|
|
81
81
|
},
|
|
82
82
|
children: r.name
|
|
83
83
|
},
|
|
84
|
-
|
|
84
|
+
_
|
|
85
85
|
);
|
|
86
86
|
})
|
|
87
87
|
}
|
|
@@ -92,7 +92,7 @@ const H = E.div`
|
|
|
92
92
|
}
|
|
93
93
|
)
|
|
94
94
|
);
|
|
95
|
-
|
|
95
|
+
t.propTypes = {
|
|
96
96
|
__TYPE__: e.string,
|
|
97
97
|
id: e.oneOfType([e.string, e.number]),
|
|
98
98
|
/**
|
|
@@ -121,7 +121,7 @@ p.propTypes = {
|
|
|
121
121
|
]),
|
|
122
122
|
size: e.oneOf(["small", "medium", "large"])
|
|
123
123
|
};
|
|
124
|
-
|
|
124
|
+
t.displayName = "KANBAN_HEADER";
|
|
125
125
|
export {
|
|
126
|
-
|
|
126
|
+
t as default
|
|
127
127
|
};
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BIlhCoy2.cjs"),X=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-DTAPpJXU.cjs"),$=require("./Kanban.cjs"),k=require("./KanbanCard-DV3VnSUi.cjs"),ee=require("./KanbanHeader.cjs"),oe=require("./KanbanFooter.cjs"),ne=X.newStyled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
package/dist/KanbanView.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import $ from "react";
|
|
3
|
-
import { P as e } from "./index-
|
|
4
|
-
import { n as k } from "./emotion-styled.browser.esm-
|
|
1
|
+
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as $ } from "react";
|
|
3
|
+
import { P as e } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as k } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import P from "./KanbanActionsToolbar.js";
|
|
6
|
-
import { r as
|
|
6
|
+
import { r as s, i as d } from "./utils-C52T57HO.js";
|
|
7
7
|
import ee from "./Kanban.js";
|
|
8
|
-
import { K as oe } from "./KanbanCard-
|
|
8
|
+
import { K as oe } from "./KanbanCard-CHZ_C9kk.js";
|
|
9
9
|
import ne from "./KanbanHeader.js";
|
|
10
10
|
import ae from "./KanbanFooter.js";
|
|
11
11
|
const te = k.div`
|
|
@@ -15,7 +15,7 @@ const te = k.div`
|
|
|
15
15
|
& .kanban-view-toolbar-lnc {
|
|
16
16
|
margin: 0 0.625rem;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`, C = $((u, b) => {
|
|
19
19
|
const {
|
|
20
20
|
__TYPE__: le = "KANBAN_VIEW",
|
|
21
21
|
goToPreviousView: re,
|
|
@@ -25,15 +25,15 @@ const te = k.div`
|
|
|
25
25
|
footerProps: a = {},
|
|
26
26
|
showCreate: A = !0,
|
|
27
27
|
enableCreate: h = !0,
|
|
28
|
-
loading:
|
|
28
|
+
loading: ie = !1,
|
|
29
29
|
customCardActions: N = [],
|
|
30
30
|
customColumnActions: E = [],
|
|
31
31
|
editCardText: D = "Edit",
|
|
32
32
|
enableEditCard: T = !0,
|
|
33
33
|
showEditCard: z = !0,
|
|
34
34
|
deleteCardText: g = "Delete",
|
|
35
|
-
enableDeleteCard:
|
|
36
|
-
showDeleteCard:
|
|
35
|
+
enableDeleteCard: y = !0,
|
|
36
|
+
showDeleteCard: _ = !0,
|
|
37
37
|
editColumnText: K = "Edit",
|
|
38
38
|
enableEditColumn: x = !0,
|
|
39
39
|
showEditColumn: v = !0,
|
|
@@ -47,9 +47,9 @@ const te = k.div`
|
|
|
47
47
|
},
|
|
48
48
|
onEditCard: L = () => {
|
|
49
49
|
},
|
|
50
|
-
onDeleteCard:
|
|
50
|
+
onDeleteCard: I = () => {
|
|
51
51
|
},
|
|
52
|
-
onEditColumn:
|
|
52
|
+
onEditColumn: R = () => {
|
|
53
53
|
},
|
|
54
54
|
onDeleteColumn: F = () => {
|
|
55
55
|
},
|
|
@@ -68,7 +68,7 @@ const te = k.div`
|
|
|
68
68
|
color: r = "primary",
|
|
69
69
|
children: t,
|
|
70
70
|
...G
|
|
71
|
-
} =
|
|
71
|
+
} = u, o = {
|
|
72
72
|
...f,
|
|
73
73
|
showCreate: A,
|
|
74
74
|
enableCreate: h,
|
|
@@ -76,7 +76,7 @@ const te = k.div`
|
|
|
76
76
|
actions: w
|
|
77
77
|
}, J = (Z) => {
|
|
78
78
|
c(Z);
|
|
79
|
-
}, Q = () =>
|
|
79
|
+
}, Q = () => s(
|
|
80
80
|
d("KANBAN_VIEW_ACTIONS_TOOLBAR", t),
|
|
81
81
|
{
|
|
82
82
|
...o,
|
|
@@ -85,7 +85,7 @@ const te = k.div`
|
|
|
85
85
|
className: "kanban-view-toolbar-lnc " + (o == null ? void 0 : o.className)
|
|
86
86
|
},
|
|
87
87
|
t
|
|
88
|
-
) || /* @__PURE__ */
|
|
88
|
+
) || /* @__PURE__ */ i(
|
|
89
89
|
P,
|
|
90
90
|
{
|
|
91
91
|
...o,
|
|
@@ -94,7 +94,7 @@ const te = k.div`
|
|
|
94
94
|
color: o != null && o.color ? o.color : r,
|
|
95
95
|
onCreate: J
|
|
96
96
|
}
|
|
97
|
-
), U = () =>
|
|
97
|
+
), U = () => s(
|
|
98
98
|
d("KANBAN", t),
|
|
99
99
|
{
|
|
100
100
|
...n,
|
|
@@ -110,7 +110,7 @@ const te = k.div`
|
|
|
110
110
|
color: n != null && n.color ? n.color : r,
|
|
111
111
|
...n,
|
|
112
112
|
children: [
|
|
113
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ i(
|
|
114
114
|
ne,
|
|
115
115
|
{
|
|
116
116
|
onDetails: W,
|
|
@@ -120,7 +120,7 @@ const te = k.div`
|
|
|
120
120
|
name: K,
|
|
121
121
|
enable: x,
|
|
122
122
|
show: v,
|
|
123
|
-
onAction:
|
|
123
|
+
onAction: R,
|
|
124
124
|
icon: "pen"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
@@ -134,7 +134,7 @@ const te = k.div`
|
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
136
|
),
|
|
137
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ i(
|
|
138
138
|
oe,
|
|
139
139
|
{
|
|
140
140
|
onDetails: S,
|
|
@@ -149,9 +149,9 @@ const te = k.div`
|
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
name: g,
|
|
152
|
-
enable:
|
|
153
|
-
show:
|
|
154
|
-
onAction:
|
|
152
|
+
enable: y,
|
|
153
|
+
show: _,
|
|
154
|
+
onAction: I,
|
|
155
155
|
icon: "trash"
|
|
156
156
|
},
|
|
157
157
|
...N
|
|
@@ -159,7 +159,7 @@ const te = k.div`
|
|
|
159
159
|
}
|
|
160
160
|
),
|
|
161
161
|
t,
|
|
162
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ i(
|
|
163
163
|
ae,
|
|
164
164
|
{
|
|
165
165
|
showAddNewCard: M,
|
|
@@ -170,7 +170,7 @@ const te = k.div`
|
|
|
170
170
|
)
|
|
171
171
|
]
|
|
172
172
|
}
|
|
173
|
-
), X = () =>
|
|
173
|
+
), X = () => s(
|
|
174
174
|
d("KANBAN_VIEW_FOOTER", t),
|
|
175
175
|
{
|
|
176
176
|
...a,
|
|
@@ -186,7 +186,7 @@ const te = k.div`
|
|
|
186
186
|
X()
|
|
187
187
|
] });
|
|
188
188
|
});
|
|
189
|
-
|
|
189
|
+
C.propTypes = {
|
|
190
190
|
__TYPE__: e.string,
|
|
191
191
|
kanbanProps: e.object,
|
|
192
192
|
actionsToolbarProps: e.object,
|
|
@@ -249,7 +249,7 @@ u.propTypes = {
|
|
|
249
249
|
"gray"
|
|
250
250
|
])
|
|
251
251
|
};
|
|
252
|
-
|
|
252
|
+
C.displayName = "KanbanView";
|
|
253
253
|
export {
|
|
254
|
-
|
|
254
|
+
C as default
|
|
255
255
|
};
|
package/dist/Link.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const y=require("react/jsx-runtime"),d=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const y=require("react/jsx-runtime"),d=require("react"),t=require("./index-BIlhCoy2.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-DTAPpJXU.cjs"),h=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),b=g.newStyled.a`
|
|
2
2
|
${e=>o.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
3
|
color: ${e=>o.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|
package/dist/Link.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { P as o } from "./index-
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import { u } from "./emotion-element-5486c51c.browser.esm-
|
|
7
|
-
const
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
|
+
import { P as o } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as f } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
+
import { g as y, a as t } from "./utils-C52T57HO.js";
|
|
6
|
+
import { u as g } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
7
|
+
const u = f.a`
|
|
8
8
|
${(e) => y(
|
|
9
9
|
e.theme,
|
|
10
10
|
"Breadcrumbs",
|
|
@@ -23,7 +23,7 @@ const g = h.a`
|
|
|
23
23
|
&:visited {
|
|
24
24
|
color: ${(e) => t(e.theme, "Link", e.color, "visited", "text")};
|
|
25
25
|
}
|
|
26
|
-
`, p =
|
|
26
|
+
`, p = h((e, r) => {
|
|
27
27
|
const {
|
|
28
28
|
//----------------
|
|
29
29
|
className: a = "",
|
|
@@ -33,13 +33,13 @@ const g = h.a`
|
|
|
33
33
|
children: i,
|
|
34
34
|
...l
|
|
35
35
|
} = e, c = {
|
|
36
|
-
theme:
|
|
36
|
+
theme: g(),
|
|
37
37
|
size: m,
|
|
38
38
|
color: n,
|
|
39
39
|
className: "lnc-ui-link " + a,
|
|
40
40
|
style: s
|
|
41
41
|
};
|
|
42
|
-
return /* @__PURE__ */ d(
|
|
42
|
+
return /* @__PURE__ */ d(u, { ref: r, ...c, ...l, children: i });
|
|
43
43
|
});
|
|
44
44
|
p.propTypes = {
|
|
45
45
|
//---------------------------------------------------------------
|
package/dist/MenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-BIlhCoy2.cjs"),Y=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),M=require("./Icon.cjs"),l=require("./utils-DTAPpJXU.cjs"),G=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),H=Y.newStyled.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${n=>n.disabled==!1?"pointer":"context-menu"};
|
|
4
4
|
width: 100%;
|
package/dist/MenuItem.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as m, Fragment as V, jsxs as G } from "react/jsx-runtime";
|
|
2
2
|
import H, { useRef as J, useState as Q, useEffect as W } from "react";
|
|
3
|
-
import { P as o } from "./index-
|
|
4
|
-
import { n as X } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { P as o } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as X } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import k from "./Icon.js";
|
|
6
|
-
import {
|
|
7
|
-
import { u as I } from "./emotion-element-5486c51c.browser.esm-
|
|
6
|
+
import { a as i, g as Z, h as v } from "./utils-C52T57HO.js";
|
|
7
|
+
import { u as I } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
8
|
const ee = X.div`
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
cursor: ${(n) => n.disabled == !1 ? "pointer" : "context-menu"};
|
|
@@ -123,8 +123,8 @@ const ee = X.div`
|
|
|
123
123
|
}, B = (e) => {
|
|
124
124
|
c == null && y(!1), $(e);
|
|
125
125
|
}, K = (e) => {
|
|
126
|
-
e.preventDefault(), e.key == "ArrowDown" ?
|
|
127
|
-
},
|
|
126
|
+
e.preventDefault(), e.key == "ArrowDown" ? h(a ? a.current : u.current) : e.key == "ArrowUp" ? b(a ? a.current : u.current) : (e.key == "Enter" || e.keyCode == 32) && r == !1 && (d && f && f(), N(e, g)), _(e);
|
|
127
|
+
}, h = (e) => {
|
|
128
128
|
if (e != null && e.nextSibling) {
|
|
129
129
|
let l = z(e);
|
|
130
130
|
if (l != null && l.node && (l == null ? void 0 : l.type) == "item")
|
|
@@ -132,9 +132,9 @@ const ee = X.div`
|
|
|
132
132
|
else if (l != null && l.node && (l == null ? void 0 : l.type) == "nested") {
|
|
133
133
|
let s = U(l.node);
|
|
134
134
|
s && s.focus();
|
|
135
|
-
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") &&
|
|
136
|
-
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") &&
|
|
137
|
-
},
|
|
135
|
+
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") && h(e.parentElement);
|
|
136
|
+
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") && h(e.parentElement);
|
|
137
|
+
}, b = (e) => {
|
|
138
138
|
if (e != null && e.previousSibling) {
|
|
139
139
|
let l = L(e);
|
|
140
140
|
if (l != null && l.node && (l == null ? void 0 : l.type) == "item")
|
|
@@ -142,8 +142,8 @@ const ee = X.div`
|
|
|
142
142
|
else if (l != null && l.node && (l == null ? void 0 : l.type) == "nested") {
|
|
143
143
|
let s = q(l.node);
|
|
144
144
|
s && s.focus();
|
|
145
|
-
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") &&
|
|
146
|
-
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") &&
|
|
145
|
+
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") && b(e.parentElement);
|
|
146
|
+
} else e != null && e.parentElement && t(e.parentElement, "nested-item-lnc") && b(e.parentElement);
|
|
147
147
|
}, z = (e) => {
|
|
148
148
|
for (; e = e.nextSibling; ) {
|
|
149
149
|
if (t(e, "menu-item-lnc"))
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-BIlhCoy2.cjs"),j=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),_=require("./Icon.cjs"),w=require("./utils-DTAPpJXU.cjs"),D=require("./index-Ct1N7fF4.cjs"),L=require("./motion-Oud-wpUz.cjs"),V=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),E=require("./index-BP5r5zGN.cjs"),x="5rem",h="3.8rem",l="1.5rem",G=(e,r,n)=>r&&n?e=="FULL"?`calc(100dvh - ${h} - ${x})`:`calc(100dvh - ${h} - ${x} - ${l})`:r?e=="FULL"?`calc(100dvh - ${h})`:`calc(100dvh - ${h} - ${l})`:n?e=="FULL"?`calc(100dvh - ${x})`:`calc(100dvh - ${x} - ${l})`:e=="FULL"?"100dvh":`calc(100dvh - ${l})`,W=e=>e=="FULL"?"100vw":`calc(100vw - ${l})`,X=(e,r,n)=>e=="FULL"?"0":`${r?"0":"16px"} 0 ${n?"0":"16px"} 0`,J=j.newStyled(L.motion.div)`
|
|
2
2
|
position: ${e=>e.scrollOverlay==!0?"absolute":"fixed"};
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
package/dist/Modal.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as t, Fragment as w, jsxs as S } from "react/jsx-runtime";
|
|
2
2
|
import U, { useRef as W, useState as X, useImperativeHandle as V } from "react";
|
|
3
|
-
import { P as o } from "./index-
|
|
4
|
-
import { n as O } from "./emotion-styled.browser.esm-
|
|
3
|
+
import { P as o } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as O } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import q from "./Icon.js";
|
|
6
|
-
import {
|
|
7
|
-
import { r as J } from "./index
|
|
8
|
-
import { m as z } from "./motion-
|
|
9
|
-
import { u as K } from "./emotion-element-5486c51c.browser.esm-
|
|
10
|
-
import { A as D } from "./index-
|
|
6
|
+
import { a as L } from "./utils-C52T57HO.js";
|
|
7
|
+
import { r as J } from "./index--Kmch3aI.js";
|
|
8
|
+
import { m as z } from "./motion-ecIGZGwI.js";
|
|
9
|
+
import { u as K } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
10
|
+
import { A as D } from "./index-BUChtubz.js";
|
|
11
11
|
const u = "5rem", h = "3.8rem", a = "1.5rem", Q = (e, r, n) => r && n ? e == "FULL" ? `calc(100dvh - ${h} - ${u})` : `calc(100dvh - ${h} - ${u} - ${a})` : r ? e == "FULL" ? `calc(100dvh - ${h})` : `calc(100dvh - ${h} - ${a})` : n ? e == "FULL" ? `calc(100dvh - ${u})` : `calc(100dvh - ${u} - ${a})` : e == "FULL" ? "100dvh" : `calc(100dvh - ${a})`, Y = (e) => e == "FULL" ? "100vw" : `calc(100vw - ${a})`, Z = (e, r, n) => e == "FULL" ? "0" : `${r ? "0" : "16px"} 0 ${n ? "0" : "16px"} 0`, P = O(z.div)`
|
|
12
12
|
position: ${(e) => e.scrollOverlay == !0 ? "absolute" : "fixed"};
|
|
13
13
|
top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),e=require("./index-
|
|
1
|
+
"use strict";const g=require("react/jsx-runtime"),e=require("./index-BIlhCoy2.cjs"),s=require("react"),O=require("./CustomStyles-Dlqxic2X.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./Dropdown.cjs"),S=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=180,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:c="primary",className:a="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((d,f)=>{o==null||o(d,f)},l));return g.jsx(M.default,{isMulti:!0,ref:t,styles:p||O.customStyles,size:i,color:c,theme:b,isSearchable:u,isClearable:y,onInputChange:m,className:a,style:T,...P})});r.propTypes={options:e.PropTypes.array,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,onKeyDown:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as O } from "react/jsx-runtime";
|
|
2
|
-
import { P as e } from "./index-
|
|
2
|
+
import { P as e } from "./index-BYnWp42a.js";
|
|
3
3
|
import y, { useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
5
|
-
import { d as S } from "./index-
|
|
4
|
+
import { a as M } from "./CustomStyles-BUSJ8bZt.js";
|
|
5
|
+
import { d as S } from "./index-CNBqQrtK.js";
|
|
6
6
|
import C from "./Dropdown.js";
|
|
7
|
-
import { u as I } from "./emotion-element-5486c51c.browser.esm-
|
|
7
|
+
import { u as I } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
8
|
const w = y.forwardRef((l, t) => {
|
|
9
9
|
const {
|
|
10
10
|
// options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const O=require("react/jsx-runtime"),e=require("./index-
|
|
1
|
+
"use strict";const O=require("react/jsx-runtime"),e=require("./index-BIlhCoy2.cjs"),s=require("react"),g=require("./CustomStyles-Dlqxic2X.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./DropdownLookup.cjs"),S=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=180,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:c="primary",className:a="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((f,d)=>{o==null||o(f,d)},l));return O.jsx(M,{isMulti:!0,ref:t,styles:p||g.customStyles,size:i,color:c,theme:b,isSearchable:u,isClearable:y,onInputChange:m,className:a,style:T,...P})});r.propTypes={defaultOptions:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.array]),cacheOptions:e.PropTypes.any,loadOptions:e.PropTypes.func,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,onKeyDown:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import { P as e } from "./index-
|
|
2
|
+
import { P as e } from "./index-BYnWp42a.js";
|
|
3
3
|
import y, { useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
5
|
-
import { d as S } from "./index-
|
|
4
|
+
import { a as M } from "./CustomStyles-BUSJ8bZt.js";
|
|
5
|
+
import { d as S } from "./index-CNBqQrtK.js";
|
|
6
6
|
import C from "./DropdownLookup.js";
|
|
7
|
-
import { u as I } from "./emotion-element-5486c51c.browser.esm-
|
|
7
|
+
import { u as I } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
8
|
const T = y.forwardRef((l, t) => {
|
|
9
9
|
const {
|
|
10
10
|
// defaultOptions,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-BIlhCoy2.cjs"),I=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),S=require("./utils-DTAPpJXU.cjs"),b=require("./motion-Oud-wpUz.cjs"),M=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),q=require("./index-BP5r5zGN.cjs"),j=I.newStyled(b.motion.div)`
|
|
2
2
|
margin-left: 0.3rem;
|
|
3
3
|
padding-left: 0.3rem;
|
|
4
4
|
border-left: ${s=>`2px solid ${S.getColorRgbaValue(s.theme,"MenuItem",s.color,"focus","background")}`};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as b, Fragment as l, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import o, { useState as x } from "react";
|
|
3
|
-
import { P as t } from "./index-
|
|
4
|
-
import { n as P } from "./emotion-styled.browser.esm-
|
|
5
|
-
import {
|
|
6
|
-
import { m as h } from "./motion-
|
|
7
|
-
import { u as D } from "./emotion-element-5486c51c.browser.esm-
|
|
8
|
-
import { A as j } from "./index-
|
|
3
|
+
import { P as t } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as P } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
+
import { a as O } from "./utils-C52T57HO.js";
|
|
6
|
+
import { m as h } from "./motion-ecIGZGwI.js";
|
|
7
|
+
import { u as D } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
|
+
import { A as j } from "./index-BUChtubz.js";
|
|
9
9
|
const Y = P(h.div)`
|
|
10
10
|
margin-left: 0.3rem;
|
|
11
11
|
padding-left: 0.3rem;
|
|
@@ -40,38 +40,38 @@ const Y = P(h.div)`
|
|
|
40
40
|
className: E = "",
|
|
41
41
|
style: y = {},
|
|
42
42
|
color: n = "primary",
|
|
43
|
-
size:
|
|
43
|
+
size: a = "small",
|
|
44
44
|
children: g,
|
|
45
45
|
...T
|
|
46
|
-
} = r, N = D(), [
|
|
47
|
-
I(!
|
|
46
|
+
} = r, N = D(), [s, I] = x(u), M = () => {
|
|
47
|
+
I(!s);
|
|
48
48
|
}, S = o.cloneElement(f, {
|
|
49
49
|
isNested: !0,
|
|
50
|
-
showNested:
|
|
50
|
+
showNested: s,
|
|
51
51
|
toggleNested: M,
|
|
52
52
|
color: n,
|
|
53
|
-
size:
|
|
54
|
-
}),
|
|
53
|
+
size: a
|
|
54
|
+
}), w = o.Children.map(g, (e, z) => {
|
|
55
55
|
var i, p;
|
|
56
56
|
return o.isValidElement(e) && (e.props.__TYPE__ == "MENU_ITEM" || ((i = e == null ? void 0 : e.type) == null ? void 0 : i.displayName) === "MENU_ITEM" || e.props.__TYPE__ == "NESTED_ITEM" || ((p = e == null ? void 0 : e.type) == null ? void 0 : p.displayName) === "NESTED_ITEM") ? o.cloneElement(e, {
|
|
57
57
|
color: e.props.color ? e.props.color : n,
|
|
58
|
-
size:
|
|
58
|
+
size: a,
|
|
59
59
|
onItemSelected: c
|
|
60
60
|
}) : e;
|
|
61
61
|
});
|
|
62
|
-
return /* @__PURE__ */
|
|
62
|
+
return /* @__PURE__ */ b(l, { children: [
|
|
63
63
|
/* @__PURE__ */ m(l, { children: S }),
|
|
64
|
-
/* @__PURE__ */ m(j, { children:
|
|
64
|
+
/* @__PURE__ */ m(j, { children: s && /* @__PURE__ */ m(
|
|
65
65
|
Y,
|
|
66
66
|
{
|
|
67
67
|
..._,
|
|
68
68
|
theme: N,
|
|
69
69
|
color: n,
|
|
70
|
-
size:
|
|
70
|
+
size: a,
|
|
71
71
|
className: "nested-item-lnc " + E,
|
|
72
72
|
style: y,
|
|
73
73
|
...T,
|
|
74
|
-
children:
|
|
74
|
+
children: w
|
|
75
75
|
}
|
|
76
76
|
) })
|
|
77
77
|
] });
|
package/dist/NestedMenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-BIlhCoy2.cjs"),M=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),w=require("./utils-DTAPpJXU.cjs"),q=require("./motion-Oud-wpUz.cjs"),j=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),O=require("./index-BP5r5zGN.cjs"),$=M.newStyled(q.motion.div)`
|
|
2
2
|
${n=>n.tuckIn==!0&&`margin-left: ${n.tuckInSize};`}
|
|
3
3
|
${n=>n.tuckIn==!0&&`padding-left: ${n.tuckInSize};`}
|
|
4
4
|
${n=>n.tuckIn==!0&&`border-left: 2px solid ${w.getColorRgbaValue(n.theme,"MenuItem",n.color,"focus","background","backgroundOpacity")};`}
|
package/dist/NestedMenuItem.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as O, Fragment as u, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import n, { useState as P } from "react";
|
|
3
|
-
import { P as t } from "./index-
|
|
4
|
-
import { n as h } from "./emotion-styled.browser.esm-
|
|
5
|
-
import {
|
|
6
|
-
import { m as $ } from "./motion-
|
|
7
|
-
import { u as j } from "./emotion-element-5486c51c.browser.esm-
|
|
8
|
-
import { A as D } from "./index-
|
|
3
|
+
import { P as t } from "./index-BYnWp42a.js";
|
|
4
|
+
import { n as h } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
+
import { a as z } from "./utils-C52T57HO.js";
|
|
6
|
+
import { m as $ } from "./motion-ecIGZGwI.js";
|
|
7
|
+
import { u as j } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
|
+
import { A as D } from "./index-BUChtubz.js";
|
|
9
9
|
const Y = h($.div)`
|
|
10
10
|
${(o) => o.tuckIn == !0 && `margin-left: ${o.tuckInSize};`}
|
|
11
11
|
${(o) => o.tuckIn == !0 && `padding-left: ${o.tuckInSize};`}
|
|
@@ -46,12 +46,12 @@ const Y = h($.div)`
|
|
|
46
46
|
__TYPE__: C = "NESTED_ITEM",
|
|
47
47
|
children: N,
|
|
48
48
|
...S
|
|
49
|
-
} = o, k = j(), [r,
|
|
50
|
-
|
|
49
|
+
} = o, k = j(), [r, M] = P(_), b = () => {
|
|
50
|
+
M(!r);
|
|
51
51
|
}, w = n.cloneElement(d, {
|
|
52
52
|
isNested: !0,
|
|
53
53
|
showNested: r,
|
|
54
|
-
toggleNested:
|
|
54
|
+
toggleNested: b,
|
|
55
55
|
color: a,
|
|
56
56
|
size: s
|
|
57
57
|
}), x = n.Children.map(N, (e, R) => {
|