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