@conboai/storybook.components 0.5.22 → 0.5.23

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.
@@ -5,6 +5,7 @@ export interface ICustomInputProps {
5
5
  endAdornment?: React.ReactNode;
6
6
  label?: string;
7
7
  onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
8
+ onBlur?: (event: React.ChangeEvent<HTMLInputElement>) => void;
8
9
  type?: string;
9
10
  variant?: "light" | "dark";
10
11
  }
@@ -67336,19 +67336,21 @@ const vve = sr(Hce), Uce = (e, t) => ({
67336
67336
  endAdornment: t,
67337
67337
  label: n,
67338
67338
  onChange: r,
67339
- type: o = "text",
67340
- error: i,
67341
- variant: s = "light",
67342
- ...l
67343
- }, c) => /* @__PURE__ */ H.jsx(
67339
+ onBlur: o,
67340
+ type: i = "text",
67341
+ error: s,
67342
+ variant: l = "light",
67343
+ ...c
67344
+ }, u) => /* @__PURE__ */ H.jsx(
67344
67345
  Ha,
67345
67346
  {
67346
- ...l,
67347
- sx: Uce(s, i),
67347
+ ...c,
67348
+ sx: Uce(l, s),
67348
67349
  label: n,
67349
- type: o,
67350
+ type: i,
67350
67351
  onChange: r,
67351
- ref: c,
67352
+ onBlur: o,
67353
+ ref: u,
67352
67354
  InputProps: {
67353
67355
  startAdornment: e && /* @__PURE__ */ H.jsx(lu, { position: "start", children: e }),
67354
67356
  endAdornment: t && /* @__PURE__ */ H.jsx(lu, { position: "end", children: t })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.5.22",
3
+ "version": "0.5.23",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [