@conboai/storybook.components 0.2.7 → 0.2.8

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.
@@ -7,6 +7,7 @@ export interface ICustomSelect {
7
7
  value: string | number;
8
8
  label: string;
9
9
  }[];
10
+ value: string | number;
10
11
  onChange: (event: SelectChangeEvent) => void;
11
12
  }
12
13
  declare const CustomSelect: React.FC<ICustomSelect & SelectProps>;
@@ -58600,10 +58600,11 @@ function R4({ images: t }) {
58600
58600
  const w4 = ({
58601
58601
  label: t,
58602
58602
  options: e,
58603
- onChange: n
58603
+ value: n,
58604
+ onChange: r
58604
58605
  }) => /* @__PURE__ */ T.jsxs(Os, { fullWidth: !0, size: "small", children: [
58605
58606
  /* @__PURE__ */ T.jsx(bo, { sx: $y, children: t }),
58606
- /* @__PURE__ */ T.jsx(Ro, { sx: Ny, label: t, onChange: n, children: e.map((r) => /* @__PURE__ */ T.jsx(Co, { value: r.value, children: r.label }, r.value)) })
58607
+ /* @__PURE__ */ T.jsx(Ro, { sx: Ny, label: t, onChange: r, value: n, children: e.map((o) => /* @__PURE__ */ T.jsx(Co, { value: o.value, children: o.label }, o.value)) })
58607
58608
  ] }), n4 = (t) => t.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()), I4 = (t) => t.join(", "), tg = (t, e, n) => St().startOf(t).set(e, n), r4 = (t, e, n) => St().endOf(t).set(e, n), o4 = (t) => St().subtract(1, "day").startOf("day").set("hour", t), ng = (t, e) => St().subtract(t, e), s4 = () => {
58608
58609
  const e = new Intl.DateTimeFormat(void 0, {
58609
58610
  year: "numeric",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [