@kashifd/jwero-components 0.5.25 → 0.5.26
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 +29 -22
- 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
|
@@ -39492,13 +39492,14 @@ const sI = /* @__PURE__ */ Gn(rI), hd = U(Nt)(({}) => ({
|
|
|
39492
39492
|
},
|
|
39493
39493
|
endIcon: s,
|
|
39494
39494
|
boxSx: i,
|
|
39495
|
-
|
|
39495
|
+
innerBoxSx: a,
|
|
39496
|
+
labelProps: l
|
|
39496
39497
|
}) => {
|
|
39497
|
-
const
|
|
39498
|
-
|
|
39499
|
-
},
|
|
39500
|
-
|
|
39501
|
-
},
|
|
39498
|
+
const c = Cd(null), [u, d] = Js(!1), p = () => {
|
|
39499
|
+
d(!0), t && t();
|
|
39500
|
+
}, h = () => {
|
|
39501
|
+
d(!1), o && o();
|
|
39502
|
+
}, y = [
|
|
39502
39503
|
{
|
|
39503
39504
|
title: "Option 1",
|
|
39504
39505
|
options: [
|
|
@@ -39530,32 +39531,38 @@ const sI = /* @__PURE__ */ Gn(rI), hd = U(Nt)(({}) => ({
|
|
|
39530
39531
|
/* @__PURE__ */ f.jsxs(
|
|
39531
39532
|
Fe,
|
|
39532
39533
|
{
|
|
39533
|
-
onClick:
|
|
39534
|
-
ref:
|
|
39534
|
+
onClick: p,
|
|
39535
|
+
ref: c,
|
|
39535
39536
|
direction: "row",
|
|
39536
39537
|
alignItems: "center",
|
|
39537
39538
|
justifyContent: "space-between",
|
|
39538
39539
|
sx: {
|
|
39539
|
-
gap: "
|
|
39540
|
+
gap: "1rem",
|
|
39540
39541
|
padding: "0.5rem 0.75rem 0.5rem 0.5rem",
|
|
39541
39542
|
backgroundColor: "#fff",
|
|
39542
39543
|
borderRadius: "0.5rem",
|
|
39543
|
-
minWidth: "10rem",
|
|
39544
|
-
maxWidth: "10rem",
|
|
39545
39544
|
border: "1px solid rgba(0, 0, 0, 0.08)",
|
|
39546
|
-
boxShadow: "0px 0px 1px 0px rgba(0, 0, 0, 0.50)
|
|
39545
|
+
boxShadow: "0px 0px 1px 0px rgba(0, 0, 0, 0.50)",
|
|
39547
39546
|
"&:hover": {
|
|
39548
39547
|
cursor: "pointer",
|
|
39549
|
-
boxShadow: "0px 1px 4px 0px rgba(0, 0, 0, 0.50)
|
|
39548
|
+
boxShadow: "0px 1px 4px 0px rgba(0, 0, 0, 0.50)"
|
|
39550
39549
|
},
|
|
39551
39550
|
...i
|
|
39552
39551
|
},
|
|
39553
39552
|
children: [
|
|
39554
|
-
/* @__PURE__ */ f.jsxs(
|
|
39555
|
-
|
|
39556
|
-
|
|
39557
|
-
|
|
39558
|
-
|
|
39553
|
+
/* @__PURE__ */ f.jsxs(
|
|
39554
|
+
Fe,
|
|
39555
|
+
{
|
|
39556
|
+
direction: "row",
|
|
39557
|
+
alignItems: "center",
|
|
39558
|
+
sx: { gap: "0.5rem", ...a },
|
|
39559
|
+
children: [
|
|
39560
|
+
r.icon && r.position === xd && r.icon,
|
|
39561
|
+
/* @__PURE__ */ f.jsx(ut, { ...l, children: e }),
|
|
39562
|
+
r.icon && r.position === pI && r.icon
|
|
39563
|
+
]
|
|
39564
|
+
}
|
|
39565
|
+
),
|
|
39559
39566
|
s && s
|
|
39560
39567
|
]
|
|
39561
39568
|
}
|
|
@@ -39563,11 +39570,11 @@ const sI = /* @__PURE__ */ Gn(rI), hd = U(Nt)(({}) => ({
|
|
|
39563
39570
|
/* @__PURE__ */ f.jsx(
|
|
39564
39571
|
Wm,
|
|
39565
39572
|
{
|
|
39566
|
-
open:
|
|
39567
|
-
onClose:
|
|
39568
|
-
anchorEl:
|
|
39573
|
+
open: u,
|
|
39574
|
+
onClose: h,
|
|
39575
|
+
anchorEl: c == null ? void 0 : c.current,
|
|
39569
39576
|
placement: "bottom-start",
|
|
39570
|
-
children: /* @__PURE__ */ f.jsx(dI, { menuList:
|
|
39577
|
+
children: /* @__PURE__ */ f.jsx(dI, { menuList: y })
|
|
39571
39578
|
}
|
|
39572
39579
|
)
|
|
39573
39580
|
] });
|