@hybr1d-tech/charizard 0.7.176 → 0.7.177
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/hybr1d-ui.js +12 -12
- package/dist/hybr1d-ui.umd.cjs +1 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -7302,22 +7302,22 @@ function E3({
|
|
|
7302
7302
|
}
|
|
7303
7303
|
k4.displayName = f0.LEFT_ICON;
|
|
7304
7304
|
E3.displayName = f0.RIGHT_ICON;
|
|
7305
|
-
function y7({ search: e = "", setSearch: l,
|
|
7306
|
-
const [
|
|
7305
|
+
function y7({ search: e = "", setSearch: l, inputGroupProps: c = {}, ...n }) {
|
|
7306
|
+
const [a, s] = q.useState(e), r = q8(a), i = typeof l == "function";
|
|
7307
7307
|
q.useEffect(() => {
|
|
7308
|
-
e !==
|
|
7308
|
+
e !== a && s(e);
|
|
7309
7309
|
}, [e]), q.useEffect(() => {
|
|
7310
|
-
|
|
7311
|
-
}, [
|
|
7312
|
-
const
|
|
7313
|
-
|
|
7314
|
-
},
|
|
7315
|
-
|
|
7310
|
+
i && l(r);
|
|
7311
|
+
}, [r, i, l]);
|
|
7312
|
+
const o = (m) => {
|
|
7313
|
+
s(m.target.value);
|
|
7314
|
+
}, u = () => {
|
|
7315
|
+
s(""), i && l("");
|
|
7316
7316
|
};
|
|
7317
|
-
return /* @__PURE__ */ t.jsxs(T1, { children: [
|
|
7317
|
+
return /* @__PURE__ */ t.jsxs(T1, { ...c, children: [
|
|
7318
7318
|
/* @__PURE__ */ t.jsx(k4, { icon: M6 }),
|
|
7319
|
-
/* @__PURE__ */ t.jsx(P1, { ...
|
|
7320
|
-
|
|
7319
|
+
/* @__PURE__ */ t.jsx(P1, { ...n, value: a, onChange: o }),
|
|
7320
|
+
a && /* @__PURE__ */ t.jsx(E3, { onClick: u, icon: m2 })
|
|
7321
7321
|
] });
|
|
7322
7322
|
}
|
|
7323
7323
|
function ti({
|