@kashifd/jwero-components 0.5.24 → 0.5.25
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/index.es.js +18 -15
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -39490,13 +39490,15 @@ const sI = /* @__PURE__ */ Gn(rI), hd = U(Nt)(({}) => ({
|
|
|
39490
39490
|
iconProps: r = {
|
|
39491
39491
|
position: xd
|
|
39492
39492
|
},
|
|
39493
|
-
endIcon: s
|
|
39493
|
+
endIcon: s,
|
|
39494
|
+
boxSx: i,
|
|
39495
|
+
labelProps: a
|
|
39494
39496
|
}) => {
|
|
39495
|
-
const
|
|
39496
|
-
|
|
39497
|
-
},
|
|
39498
|
-
|
|
39499
|
-
},
|
|
39497
|
+
const l = Cd(null), [c, u] = Js(!1), d = () => {
|
|
39498
|
+
u(!0), t && t();
|
|
39499
|
+
}, p = () => {
|
|
39500
|
+
u(!1), o && o();
|
|
39501
|
+
}, h = [
|
|
39500
39502
|
{
|
|
39501
39503
|
title: "Option 1",
|
|
39502
39504
|
options: [
|
|
@@ -39528,13 +39530,13 @@ const sI = /* @__PURE__ */ Gn(rI), hd = U(Nt)(({}) => ({
|
|
|
39528
39530
|
/* @__PURE__ */ f.jsxs(
|
|
39529
39531
|
Fe,
|
|
39530
39532
|
{
|
|
39531
|
-
onClick:
|
|
39532
|
-
ref:
|
|
39533
|
+
onClick: d,
|
|
39534
|
+
ref: l,
|
|
39533
39535
|
direction: "row",
|
|
39534
39536
|
alignItems: "center",
|
|
39535
39537
|
justifyContent: "space-between",
|
|
39536
|
-
spacing: 1,
|
|
39537
39538
|
sx: {
|
|
39539
|
+
gap: "0.5rem",
|
|
39538
39540
|
padding: "0.5rem 0.75rem 0.5rem 0.5rem",
|
|
39539
39541
|
backgroundColor: "#fff",
|
|
39540
39542
|
borderRadius: "0.5rem",
|
|
@@ -39545,12 +39547,13 @@ const sI = /* @__PURE__ */ Gn(rI), hd = U(Nt)(({}) => ({
|
|
|
39545
39547
|
"&:hover": {
|
|
39546
39548
|
cursor: "pointer",
|
|
39547
39549
|
boxShadow: "0px 1px 4px 0px rgba(0, 0, 0, 0.50))}"
|
|
39548
|
-
}
|
|
39550
|
+
},
|
|
39551
|
+
...i
|
|
39549
39552
|
},
|
|
39550
39553
|
children: [
|
|
39551
39554
|
/* @__PURE__ */ f.jsxs(Fe, { direction: "row", alignItems: "center", spacing: 0.75, children: [
|
|
39552
39555
|
r.icon && r.position === xd && r.icon,
|
|
39553
|
-
/* @__PURE__ */ f.jsx(ut, { children: e }),
|
|
39556
|
+
/* @__PURE__ */ f.jsx(ut, { ...a, children: e }),
|
|
39554
39557
|
r.icon && r.position === pI && r.icon
|
|
39555
39558
|
] }),
|
|
39556
39559
|
s && s
|
|
@@ -39560,11 +39563,11 @@ const sI = /* @__PURE__ */ Gn(rI), hd = U(Nt)(({}) => ({
|
|
|
39560
39563
|
/* @__PURE__ */ f.jsx(
|
|
39561
39564
|
Wm,
|
|
39562
39565
|
{
|
|
39563
|
-
open:
|
|
39564
|
-
onClose:
|
|
39565
|
-
anchorEl:
|
|
39566
|
+
open: c,
|
|
39567
|
+
onClose: p,
|
|
39568
|
+
anchorEl: l == null ? void 0 : l.current,
|
|
39566
39569
|
placement: "bottom-start",
|
|
39567
|
-
children: /* @__PURE__ */ f.jsx(dI, { menuList:
|
|
39570
|
+
children: /* @__PURE__ */ f.jsx(dI, { menuList: h })
|
|
39568
39571
|
}
|
|
39569
39572
|
)
|
|
39570
39573
|
] });
|