sy-ui-lib 1.0.44 → 1.0.45

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.js CHANGED
@@ -9374,21 +9374,23 @@ const dt = (e) => {
9374
9374
  onSearch: o = () => {
9375
9375
  },
9376
9376
  debounceTime: i = 500,
9377
- ...l
9378
- } = e, [a, C] = I(""), c = `flex justify-between items-center gap-1 bg-white border border-brightgray rounded-lg ${k4[r].size} ${s ? "w-full" : k4[r].width}`, d = "w-full text-xs text-smokyblack font-normal leading-4 tracking-tight outline-none border-none focus:outline-none focus:border-none";
9377
+ defaultValue: l = "",
9378
+ ...a
9379
+ } = e, [C, c] = I(l), d = `flex justify-between items-center gap-1 bg-white border border-brightgray rounded-lg ${k4[r].size} ${s ? "w-full" : k4[r].width}`, u = "w-full text-xs text-smokyblack font-normal leading-4 tracking-tight outline-none border-none focus:outline-none focus:border-none";
9379
9380
  return J(() => {
9380
- const u = setTimeout(() => {
9381
- o(a);
9381
+ const f = setTimeout(() => {
9382
+ o(C);
9382
9383
  }, i);
9383
- return () => clearTimeout(u);
9384
- }, [a, i, o]), /* @__PURE__ */ n.jsxs("div", { className: c, children: [
9384
+ return () => clearTimeout(f);
9385
+ }, [C, i, o]), /* @__PURE__ */ n.jsxs("div", { className: d, children: [
9385
9386
  /* @__PURE__ */ n.jsx(
9386
9387
  "input",
9387
9388
  {
9388
9389
  placeholder: t,
9389
- onChange: (u) => C(u.target.value),
9390
- className: d,
9391
- ...l
9390
+ value: C,
9391
+ onChange: (f) => c(f.target.value),
9392
+ className: u,
9393
+ ...a
9392
9394
  }
9393
9395
  ),
9394
9396
  /* @__PURE__ */ n.jsx("span", { className: "ml-2 flex items-center", children: /* @__PURE__ */ n.jsx(z, { icon: "search", size: k4[r].icon }) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sy-ui-lib",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",