@abdellatifui/react 3.2.192 → 3.2.193
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/nextgen.css +1 -1
- package/dist/nextgen.js +14 -16
- package/package.json +1 -1
package/dist/nextgen.js
CHANGED
|
@@ -18705,21 +18705,19 @@ const Mw = pe(Id), zw = xe(
|
|
|
18705
18705
|
onClick: f,
|
|
18706
18706
|
disableAfterClick: p,
|
|
18707
18707
|
size: m,
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
|
|
18711
|
-
|
|
18712
|
-
disable: a || !1,
|
|
18713
|
-
addClass: h || []
|
|
18708
|
+
ref: h = re(),
|
|
18709
|
+
sourceElement: g
|
|
18710
|
+
} = e, [d, v] = R({
|
|
18711
|
+
disable: a || !1
|
|
18714
18712
|
});
|
|
18715
18713
|
Y(() => {
|
|
18716
|
-
|
|
18717
|
-
...
|
|
18714
|
+
v((w) => ({
|
|
18715
|
+
...w,
|
|
18718
18716
|
disable: a || !1
|
|
18719
18717
|
}));
|
|
18720
18718
|
}, [a]);
|
|
18721
|
-
const
|
|
18722
|
-
p &&
|
|
18719
|
+
const S = (w) => {
|
|
18720
|
+
p && v((C) => ({ ...C, disable: !0 })), f?.(w, h);
|
|
18723
18721
|
};
|
|
18724
18722
|
return /* @__PURE__ */ c.jsx(
|
|
18725
18723
|
Kt,
|
|
@@ -18730,12 +18728,12 @@ const Mw = pe(Id), zw = xe(
|
|
|
18730
18728
|
An,
|
|
18731
18729
|
{
|
|
18732
18730
|
...e,
|
|
18733
|
-
ref:
|
|
18734
|
-
disabled:
|
|
18735
|
-
onClick:
|
|
18731
|
+
ref: h,
|
|
18732
|
+
disabled: d.disable,
|
|
18733
|
+
onClick: S,
|
|
18736
18734
|
style: l,
|
|
18737
18735
|
size: "icon",
|
|
18738
|
-
className: W(zw({ variant: n, size: m || "default", border: i, disable:
|
|
18736
|
+
className: W(zw({ variant: n, size: m || "default", border: i, disable: d.disable }), o),
|
|
18739
18737
|
children: /* @__PURE__ */ c.jsx("div", { className: "w-full h-full flex items-center justify-center *:h-[20px] *:w-[20px]", children: r })
|
|
18740
18738
|
}
|
|
18741
18739
|
)
|
|
@@ -23559,7 +23557,7 @@ const pS = xe("relative w-fit data-[state=active]:font-medium group", {
|
|
|
23559
23557
|
items: A
|
|
23560
23558
|
}), [u, A]);
|
|
23561
23559
|
return /* @__PURE__ */ c.jsxs("div", { ref: s, className: W("relative flex items-center h-[35px] overflow-hidden", i), children: [
|
|
23562
|
-
/* @__PURE__ */ c.jsx(ln, { ...x, variant: d, disable: f, className: "relative rounded-r-none", onClick: P, children: a }),
|
|
23560
|
+
/* @__PURE__ */ c.jsx(ln, { ...x, variant: d, disable: f, className: "relative rounded-r-none!", onClick: P, children: a }),
|
|
23563
23561
|
/* @__PURE__ */ c.jsx(
|
|
23564
23562
|
ln,
|
|
23565
23563
|
{
|
|
@@ -23567,7 +23565,7 @@ const pS = xe("relative w-fit data-[state=active]:font-medium group", {
|
|
|
23567
23565
|
onClick: M,
|
|
23568
23566
|
icon: k,
|
|
23569
23567
|
disable: f,
|
|
23570
|
-
className: "rounded-l-none
|
|
23568
|
+
className: "rounded-l-none!",
|
|
23571
23569
|
variant: d
|
|
23572
23570
|
}
|
|
23573
23571
|
),
|