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