@lanaco/lnc-react-ui 4.0.5 → 4.0.8
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/Chip.cjs +1 -1
- package/dist/Chip.js +10 -9
- package/dist/DragAndDropFile.cjs +4 -4
- package/dist/DragAndDropFile.js +121 -116
- package/dist/MenuItem.cjs +2 -2
- package/dist/MenuItem.js +37 -36
- package/dist/NotificationContainer.cjs +2 -2
- package/dist/NotificationContainer.js +24 -23
- package/dist/PopoverContent.cjs +5 -5
- package/dist/PopoverContent.js +30 -28
- package/package.json +1 -1
package/dist/MenuItem.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as m, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as m, Fragment as G, jsxs as H } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "react";
|
|
3
3
|
import { P as o } from "./index-BYnWp42a.js";
|
|
4
|
-
import { n as
|
|
4
|
+
import { n as Z } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import k from "./Icon.js";
|
|
6
|
-
import { a as i, g as
|
|
7
|
-
import { u as
|
|
8
|
-
const
|
|
6
|
+
import { a as i, g as I, h as v } from "./utils-C52T57HO.js";
|
|
7
|
+
import { u as ee } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
|
+
const ne = Z.div`
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
cursor: ${(n) => n.disabled == !1 ? "pointer" : "context-menu"};
|
|
11
11
|
width: 100%;
|
|
@@ -16,7 +16,7 @@ const ee = X.div`
|
|
|
16
16
|
gap: 0.563rem;
|
|
17
17
|
padding: 0.563rem;
|
|
18
18
|
color: ${(n) => i(n.theme, "MenuItem", n.color, "enabled", "text")};
|
|
19
|
-
${(n) =>
|
|
19
|
+
${(n) => I(n.theme, "MenuItem", n.size, "enabled")};
|
|
20
20
|
& .menu-icon-lnc {
|
|
21
21
|
color: ${(n) => n.isActive && n.disabled == !1 ? i(
|
|
22
22
|
n.theme,
|
|
@@ -78,7 +78,7 @@ const ee = X.div`
|
|
|
78
78
|
)};
|
|
79
79
|
`}
|
|
80
80
|
}
|
|
81
|
-
`, C =
|
|
81
|
+
`, C = J((n, a) => {
|
|
82
82
|
const {
|
|
83
83
|
value: g,
|
|
84
84
|
active: c = null,
|
|
@@ -86,7 +86,7 @@ const ee = X.div`
|
|
|
86
86
|
disabled: r = !1,
|
|
87
87
|
isNested: d = !1,
|
|
88
88
|
showNested: M,
|
|
89
|
-
justifyToEnd:
|
|
89
|
+
justifyToEnd: le = !1,
|
|
90
90
|
//----------------
|
|
91
91
|
onFocus: p = () => {
|
|
92
92
|
},
|
|
@@ -96,9 +96,9 @@ const ee = X.div`
|
|
|
96
96
|
},
|
|
97
97
|
onKeyDown: x = () => {
|
|
98
98
|
},
|
|
99
|
-
onMouseEnter:
|
|
99
|
+
onMouseEnter: oe = () => {
|
|
100
100
|
},
|
|
101
|
-
onMouseLeave:
|
|
101
|
+
onMouseLeave: se = () => {
|
|
102
102
|
},
|
|
103
103
|
toggleNested: f = () => {
|
|
104
104
|
},
|
|
@@ -108,15 +108,16 @@ const ee = X.div`
|
|
|
108
108
|
className: A = "",
|
|
109
109
|
style: S = {},
|
|
110
110
|
color: T = "primary",
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
111
|
+
size: _ = "small",
|
|
112
|
+
iconProps: O,
|
|
113
|
+
__TYPE__: te = "MENU_ITEM",
|
|
114
|
+
children: P,
|
|
115
|
+
...D
|
|
116
|
+
} = n, F = { theme: ee(), color: T, style: S, size: _ }, u = Q(), [j, y] = W(c ?? !1);
|
|
117
|
+
X(() => {
|
|
117
118
|
y(c);
|
|
118
119
|
}, [c]);
|
|
119
|
-
const
|
|
120
|
+
const z = (e) => {
|
|
120
121
|
r == !1 && (d && f && f(), N(e, g)), w(w);
|
|
121
122
|
}, B = (e) => {
|
|
122
123
|
y(!0), p(e);
|
|
@@ -126,25 +127,25 @@ const ee = X.div`
|
|
|
126
127
|
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)), x(e);
|
|
127
128
|
}, h = (e) => {
|
|
128
129
|
if (e != null && e.nextSibling) {
|
|
129
|
-
let l =
|
|
130
|
+
let l = L(e);
|
|
130
131
|
if (l != null && l.node && (l == null ? void 0 : l.type) == "item")
|
|
131
132
|
l.node.focus();
|
|
132
133
|
else if (l != null && l.node && (l == null ? void 0 : l.type) == "nested") {
|
|
133
|
-
let t =
|
|
134
|
+
let t = q(l.node);
|
|
134
135
|
t && t.focus();
|
|
135
136
|
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && h(e.parentElement);
|
|
136
137
|
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && h(e.parentElement);
|
|
137
138
|
}, b = (e) => {
|
|
138
139
|
if (e != null && e.previousSibling) {
|
|
139
|
-
let l =
|
|
140
|
+
let l = U(e);
|
|
140
141
|
if (l != null && l.node && (l == null ? void 0 : l.type) == "item")
|
|
141
142
|
l.node.focus();
|
|
142
143
|
else if (l != null && l.node && (l == null ? void 0 : l.type) == "nested") {
|
|
143
|
-
let t =
|
|
144
|
+
let t = Y(l.node);
|
|
144
145
|
t && t.focus();
|
|
145
146
|
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && b(e.parentElement);
|
|
146
147
|
} else e != null && e.parentElement && s(e.parentElement, "nested-item-lnc") && b(e.parentElement);
|
|
147
|
-
},
|
|
148
|
+
}, L = (e) => {
|
|
148
149
|
for (; e = e.nextSibling; ) {
|
|
149
150
|
if (s(e, "menu-item-lnc"))
|
|
150
151
|
return { node: e, type: "item" };
|
|
@@ -152,7 +153,7 @@ const ee = X.div`
|
|
|
152
153
|
return { node: e, type: "nested" };
|
|
153
154
|
}
|
|
154
155
|
return null;
|
|
155
|
-
},
|
|
156
|
+
}, U = (e) => {
|
|
156
157
|
for (; e = e.previousSibling; ) {
|
|
157
158
|
if (s(e, "menu-item-lnc"))
|
|
158
159
|
return { node: e, type: "item" };
|
|
@@ -160,34 +161,34 @@ const ee = X.div`
|
|
|
160
161
|
return { node: e, type: "nested" };
|
|
161
162
|
}
|
|
162
163
|
return null;
|
|
163
|
-
},
|
|
164
|
+
}, q = (e) => {
|
|
164
165
|
var l;
|
|
165
166
|
return (l = Array.from(e.querySelectorAll(".menu-item-lnc"))) == null ? void 0 : l[0];
|
|
166
|
-
},
|
|
167
|
+
}, Y = (e) => {
|
|
167
168
|
var l;
|
|
168
169
|
return (l = Array.from(e.querySelectorAll(".menu-item-lnc"))) == null ? void 0 : l.pop();
|
|
169
170
|
}, s = (e, l) => {
|
|
170
|
-
var t = " " + e.className + " ",
|
|
171
|
-
return t.indexOf(
|
|
171
|
+
var t = " " + e.className + " ", V = " " + l + " ";
|
|
172
|
+
return t.indexOf(V) != -1;
|
|
172
173
|
};
|
|
173
|
-
return /* @__PURE__ */ m(
|
|
174
|
-
|
|
174
|
+
return /* @__PURE__ */ m(G, { children: /* @__PURE__ */ H(
|
|
175
|
+
ne,
|
|
175
176
|
{
|
|
176
177
|
ref: a || u,
|
|
177
178
|
className: "menu-item-lnc " + (d ? "nested-menu-item-lnc " : "") + (M ? "spread-nested-item-lnc " : "") + A,
|
|
178
|
-
...
|
|
179
|
+
...F,
|
|
179
180
|
disabled: r,
|
|
180
181
|
tabIndex: 0,
|
|
181
182
|
onKeyDown: R,
|
|
182
183
|
onFocus: B,
|
|
183
184
|
onBlur: K,
|
|
184
|
-
onClick:
|
|
185
|
-
isActive:
|
|
185
|
+
onClick: z,
|
|
186
|
+
isActive: j,
|
|
186
187
|
showNested: M,
|
|
187
|
-
...
|
|
188
|
+
...D,
|
|
188
189
|
children: [
|
|
189
|
-
E && /* @__PURE__ */ m(k, { icon: E, className: "menu-icon-lnc", ...
|
|
190
|
-
/* @__PURE__ */ m("div", { children:
|
|
190
|
+
E && /* @__PURE__ */ m(k, { icon: E, className: "menu-icon-lnc", ...O }),
|
|
191
|
+
/* @__PURE__ */ m("div", { children: P }),
|
|
191
192
|
d && /* @__PURE__ */ m(k, { icon: "angle-down", className: "sub-menu-icon-lnc" })
|
|
192
193
|
]
|
|
193
194
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),N=require("react"),o=require("./index-BIlhCoy2.cjs"),_=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),R=require("./react-toastify.esm-Dqcb4SQT.cjs");;/* empty css */const t=require("./utils-DTAPpJXU.cjs"),v=require("./ThemeProvider.cjs"),O=_.newStyled.div`
|
|
2
2
|
& .lnc-notification {
|
|
3
3
|
& > div {
|
|
4
4
|
background-color: ${e=>t.getColorRgbaValue(e.theme,"Notification",e.color,"enabled","background","backgroundOpacity")};
|
|
@@ -34,4 +34,4 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
`,r=
|
|
37
|
+
`,r=N.forwardRef((e,i)=>{const{position:a="top-right",autoClose:n=5e5,hideProgressBar:l=!0,newestOnTop:c=!0,closeOnClick:p=!0,rtl:u=!1,pauseOnFocusLoss:b=!1,draggable:g=!1,pauseOnHover:f=!1,closeButton:d=!0,className:m="",style:y={},size:T="small",toastContainerProps:h,...P}=e,{theme:x}=v.useTheme(),C={theme:x,className:"lnc-ui-notification "+m,style:y,size:T};return s.jsx(O,{ref:i,...C,...P,children:s.jsx(R.ToastContainer,{position:a,autoClose:n,hideProgressBar:l,newestOnTop:c,closeOnClick:p,rtl:u,pauseOnFocusLoss:b,draggable:g,pauseOnHover:f,closeButton:d,className:"lnc-notification",...h})})});r.propTypes={position:o.PropTypes.oneOf(["top-right","top-center","top-left","bottom-right","bottom-center","bottom-left"]),autoClose:o.PropTypes.number,hideProgressBar:o.PropTypes.bool,newestOnTop:o.PropTypes.bool,closeOnClick:o.PropTypes.bool,rtl:o.PropTypes.bool,pauseOnFocusLoss:o.PropTypes.bool,draggable:o.PropTypes.bool,pauseOnHover:o.PropTypes.bool,closeButton:o.PropTypes.bool,className:o.PropTypes.string,style:o.PropTypes.object,toastContainerProps:o.PropTypes.any};module.exports=r;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as O } from "react";
|
|
3
3
|
import { P as t } from "./index-BYnWp42a.js";
|
|
4
|
-
import { n as
|
|
5
|
-
import { T as
|
|
4
|
+
import { n as _ } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
+
import { T as v } from "./react-toastify.esm-CkXGwKXL.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { a as e, b as
|
|
8
|
-
import { useTheme as
|
|
9
|
-
const
|
|
7
|
+
import { a as e, b as C } from "./utils-C52T57HO.js";
|
|
8
|
+
import { useTheme as $ } from "./ThemeProvider.js";
|
|
9
|
+
const P = _.div`
|
|
10
10
|
& .lnc-notification {
|
|
11
11
|
& > div {
|
|
12
12
|
background-color: ${(o) => e(
|
|
@@ -27,7 +27,7 @@ const $ = O.div`
|
|
|
27
27
|
"enabled",
|
|
28
28
|
"border"
|
|
29
29
|
)}`};
|
|
30
|
-
border-radius: ${(o) =>
|
|
30
|
+
border-radius: ${(o) => C(o.theme, "regular")};
|
|
31
31
|
}
|
|
32
32
|
& .Toastify__close-button {
|
|
33
33
|
& svg {
|
|
@@ -85,7 +85,7 @@ const $ = O.div`
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
`,
|
|
88
|
+
`, w = O((o, a) => {
|
|
89
89
|
const {
|
|
90
90
|
position: s = "top-right",
|
|
91
91
|
autoClose: n = 5e5,
|
|
@@ -93,22 +93,23 @@ const $ = O.div`
|
|
|
93
93
|
newestOnTop: l = !0,
|
|
94
94
|
closeOnClick: c = !0,
|
|
95
95
|
rtl: f = !1,
|
|
96
|
-
pauseOnFocusLoss:
|
|
97
|
-
draggable:
|
|
96
|
+
pauseOnFocusLoss: m = !1,
|
|
97
|
+
draggable: p = !1,
|
|
98
98
|
pauseOnHover: b = !1,
|
|
99
99
|
closeButton: d = !0,
|
|
100
100
|
className: u = "",
|
|
101
101
|
style: g = {},
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
...
|
|
105
|
-
} = o, { theme:
|
|
106
|
-
theme:
|
|
102
|
+
size: h = "small",
|
|
103
|
+
toastContainerProps: y,
|
|
104
|
+
...N
|
|
105
|
+
} = o, { theme: x } = $(), T = {
|
|
106
|
+
theme: x,
|
|
107
107
|
className: "lnc-ui-notification " + u,
|
|
108
|
-
style: g
|
|
108
|
+
style: g,
|
|
109
|
+
size: h
|
|
109
110
|
};
|
|
110
|
-
return /* @__PURE__ */ i(
|
|
111
|
-
|
|
111
|
+
return /* @__PURE__ */ i(P, { ref: a, ...T, ...N, children: /* @__PURE__ */ i(
|
|
112
|
+
v,
|
|
112
113
|
{
|
|
113
114
|
position: s,
|
|
114
115
|
autoClose: n,
|
|
@@ -116,16 +117,16 @@ const $ = O.div`
|
|
|
116
117
|
newestOnTop: l,
|
|
117
118
|
closeOnClick: c,
|
|
118
119
|
rtl: f,
|
|
119
|
-
pauseOnFocusLoss:
|
|
120
|
-
draggable:
|
|
120
|
+
pauseOnFocusLoss: m,
|
|
121
|
+
draggable: p,
|
|
121
122
|
pauseOnHover: b,
|
|
122
123
|
closeButton: d,
|
|
123
124
|
className: "lnc-notification",
|
|
124
|
-
...
|
|
125
|
+
...y
|
|
125
126
|
}
|
|
126
127
|
) });
|
|
127
128
|
});
|
|
128
|
-
|
|
129
|
+
w.propTypes = {
|
|
129
130
|
position: t.oneOf([
|
|
130
131
|
"top-right",
|
|
131
132
|
"top-center",
|
|
@@ -158,5 +159,5 @@ P.propTypes = {
|
|
|
158
159
|
toastContainerProps: t.any
|
|
159
160
|
};
|
|
160
161
|
export {
|
|
161
|
-
|
|
162
|
+
w as default
|
|
162
163
|
};
|
package/dist/PopoverContent.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),c=require("react"),s=require("./floating-ui.react.esm-C4vrBVJU.cjs"),i=require("./index-BIlhCoy2.cjs"),x=require("./PopoverContext.cjs"),h=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),a=require("./utils-DTAPpJXU.cjs"),y=require("./motion-Oud-wpUz.cjs"),f=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),P=h.newStyled(y.motion.div)`
|
|
2
2
|
font-family: ${e=>{var t,r;return(r=(t=e.theme)==null?void 0:t.typography)==null?void 0:r.fontFamily}};
|
|
3
3
|
animation: fadeIn 0.4s;
|
|
4
|
-
box-shadow: ${e=>getComponentPropValue(e.theme,"Popover",e.color,"enabled","boxShadow")};
|
|
5
|
-
border-radius: ${e=>getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
|
|
4
|
+
box-shadow: ${e=>a.getComponentPropValue(e.theme,"Popover",e.color,"enabled","boxShadow")};
|
|
5
|
+
border-radius: ${e=>a.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
|
|
6
6
|
border-top: 1px solid rgba(0, 0, 0, 0.04);
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
padding: 0.25rem;
|
|
9
|
-
background-color: ${e=>getColorRgbaValue(e.theme,"Popover","default","enabled","bg")};
|
|
10
|
-
`,
|
|
9
|
+
background-color: ${e=>a.getColorRgbaValue(e.theme,"Popover","default","enabled","bg")};
|
|
10
|
+
`,v=()=>{const e=c.useContext(x);if(e==null)throw new Error("Popover components must be wrapped in <Popover />");return e},d=c.forwardRef(function({borderRadius:t="regular",className:r="",zIndex:u,style:m={},...l},p){const o=v(),b=s.useMergeRefs([o.floating,p]),g=f.useTheme();return n.jsx(s.FloatingPortal,{children:o.open&&n.jsx(s.FloatingFocusManager,{context:o.context,modal:o.modal,children:n.jsx("div",{ref:b,style:{position:o.strategy,top:o.y??0,left:o.x??0,width:"max-content",zIndex:u},className:"lnc-ui-floating-manager","aria-labelledby":o.labelId,"aria-describedby":o.descriptionId,...o.getFloatingProps(l),children:n.jsx(P,{theme:g,borderRadius:t,className:"lnc-ui-popover-content "+r,style:m,children:l.children})})})})});d.propTypes={className:i.PropTypes.string,style:i.PropTypes.object,zIndex:i.PropTypes.number};module.exports=d;
|
package/dist/PopoverContent.js
CHANGED
|
@@ -1,52 +1,54 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as c, useContext as
|
|
3
|
-
import { a as
|
|
2
|
+
import { forwardRef as c, useContext as b } from "react";
|
|
3
|
+
import { a as f, F as u, b as g } from "./floating-ui.react.esm-72DKnou_.js";
|
|
4
4
|
import { P as a } from "./index-BYnWp42a.js";
|
|
5
5
|
import h from "./PopoverContext.js";
|
|
6
6
|
import { n as x } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import { c as y, b as P, a as v } from "./utils-C52T57HO.js";
|
|
8
|
+
import { m as w } from "./motion-ecIGZGwI.js";
|
|
9
|
+
import { u as C } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
10
|
+
const F = x(w.div)`
|
|
11
|
+
font-family: ${(o) => {
|
|
10
12
|
var t, r;
|
|
11
|
-
return (r = (t =
|
|
13
|
+
return (r = (t = o.theme) == null ? void 0 : t.typography) == null ? void 0 : r.fontFamily;
|
|
12
14
|
}};
|
|
13
15
|
animation: fadeIn 0.4s;
|
|
14
|
-
box-shadow: ${(
|
|
15
|
-
|
|
16
|
+
box-shadow: ${(o) => y(
|
|
17
|
+
o.theme,
|
|
16
18
|
"Popover",
|
|
17
|
-
|
|
19
|
+
o.color,
|
|
18
20
|
"enabled",
|
|
19
21
|
"boxShadow"
|
|
20
22
|
)};
|
|
21
|
-
border-radius: ${(
|
|
23
|
+
border-radius: ${(o) => P(o.theme, o.borderRadius)};
|
|
22
24
|
border-top: 1px solid rgba(0, 0, 0, 0.04);
|
|
23
25
|
box-sizing: border-box;
|
|
24
26
|
padding: 0.25rem;
|
|
25
|
-
background-color: ${(
|
|
26
|
-
`,
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
27
|
+
background-color: ${(o) => v(o.theme, "Popover", "default", "enabled", "bg")};
|
|
28
|
+
`, R = () => {
|
|
29
|
+
const o = b(h);
|
|
30
|
+
if (o == null)
|
|
29
31
|
throw new Error("Popover components must be wrapped in <Popover />");
|
|
30
|
-
return
|
|
31
|
-
},
|
|
32
|
-
const
|
|
33
|
-
return /* @__PURE__ */ n(
|
|
32
|
+
return o;
|
|
33
|
+
}, I = c(function({ borderRadius: t = "regular", className: r = "", zIndex: s, style: l = {}, ...i }, m) {
|
|
34
|
+
const e = R(), d = f([e.floating, m]), p = C();
|
|
35
|
+
return /* @__PURE__ */ n(u, { children: e.open && /* @__PURE__ */ n(g, { context: e.context, modal: e.modal, children: /* @__PURE__ */ n(
|
|
34
36
|
"div",
|
|
35
37
|
{
|
|
36
|
-
ref:
|
|
38
|
+
ref: d,
|
|
37
39
|
style: {
|
|
38
|
-
position:
|
|
39
|
-
top:
|
|
40
|
-
left:
|
|
40
|
+
position: e.strategy,
|
|
41
|
+
top: e.y ?? 0,
|
|
42
|
+
left: e.x ?? 0,
|
|
41
43
|
width: "max-content",
|
|
42
44
|
zIndex: s
|
|
43
45
|
},
|
|
44
46
|
className: "lnc-ui-floating-manager",
|
|
45
|
-
"aria-labelledby":
|
|
46
|
-
"aria-describedby":
|
|
47
|
-
...
|
|
47
|
+
"aria-labelledby": e.labelId,
|
|
48
|
+
"aria-describedby": e.descriptionId,
|
|
49
|
+
...e.getFloatingProps(i),
|
|
48
50
|
children: /* @__PURE__ */ n(
|
|
49
|
-
|
|
51
|
+
F,
|
|
50
52
|
{
|
|
51
53
|
theme: p,
|
|
52
54
|
borderRadius: t,
|
|
@@ -58,11 +60,11 @@ const P = x(motion.div)`
|
|
|
58
60
|
}
|
|
59
61
|
) }) });
|
|
60
62
|
});
|
|
61
|
-
|
|
63
|
+
I.propTypes = {
|
|
62
64
|
className: a.string,
|
|
63
65
|
style: a.object,
|
|
64
66
|
zIndex: a.number
|
|
65
67
|
};
|
|
66
68
|
export {
|
|
67
|
-
|
|
69
|
+
I as default
|
|
68
70
|
};
|