@conboai/storybook.components 0.5.22 → 0.5.24

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
  }
@@ -79,6 +79,7 @@ interface Icons {
79
79
  show: Icon;
80
80
  hide: Icon;
81
81
  largeClose: Icon;
82
+ exclamatory: Icon;
82
83
  }
83
84
  interface Icon {
84
85
  paths: string[];
@@ -28834,6 +28834,14 @@ const $Z = {
28834
28834
  strokeLineca: "round",
28835
28835
  strokeLinejoi: "round"
28836
28836
  }
28837
+ },
28838
+ exclamatory: {
28839
+ width: 16,
28840
+ height: 16,
28841
+ paths: ["M8 0.5C3.85786 0.5 0.5 3.85786 0.5 8C0.5 12.1421 3.85786 15.5 8 15.5C12.1421 15.5 15.5 12.1421 15.5 8C15.5 3.85786 12.1421 0.5 8 0.5ZM6.75 3H9.25V9.25H6.75V3ZM9.25 11.75C9.25 12.4404 8.69035 13 8 13C7.30964 13 6.75 12.4404 6.75 11.75C6.75 11.0596 7.30964 10.5 8 10.5C8.69035 10.5 9.25 11.0596 9.25 11.75Z"],
28842
+ attributes: {
28843
+ fill: "#828282"
28844
+ }
28837
28845
  }
28838
28846
  };
28839
28847
  function Cn({ fill: e = "black", icon: t, width: n, height: r, fillOpacity: o }) {
@@ -67336,19 +67344,21 @@ const vve = sr(Hce), Uce = (e, t) => ({
67336
67344
  endAdornment: t,
67337
67345
  label: n,
67338
67346
  onChange: r,
67339
- type: o = "text",
67340
- error: i,
67341
- variant: s = "light",
67342
- ...l
67343
- }, c) => /* @__PURE__ */ H.jsx(
67347
+ onBlur: o,
67348
+ type: i = "text",
67349
+ error: s,
67350
+ variant: l = "light",
67351
+ ...c
67352
+ }, u) => /* @__PURE__ */ H.jsx(
67344
67353
  Ha,
67345
67354
  {
67346
- ...l,
67347
- sx: Uce(s, i),
67355
+ ...c,
67356
+ sx: Uce(l, s),
67348
67357
  label: n,
67349
- type: o,
67358
+ type: i,
67350
67359
  onChange: r,
67351
- ref: c,
67360
+ onBlur: o,
67361
+ ref: u,
67352
67362
  InputProps: {
67353
67363
  startAdornment: e && /* @__PURE__ */ H.jsx(lu, { position: "start", children: e }),
67354
67364
  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.24",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [