@conboai/storybook.components 0.1.19 → 0.1.20

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,7 +7,7 @@ interface IVideoBox {
7
7
  autoPlay?: boolean;
8
8
  controls?: boolean;
9
9
  isHls?: boolean;
10
- playVideo?: boolean;
10
+ isVideoGenerating?: boolean;
11
11
  }
12
12
  declare const VideoBox: FC<IVideoBox>;
13
13
  export default VideoBox;
@@ -58289,10 +58289,10 @@ const _5 = {
58289
58289
  isLoading: e,
58290
58290
  src: n,
58291
58291
  isHls: r,
58292
- playVideo: o = !1
58292
+ isVideoGenerating: o = !1
58293
58293
  }) => {
58294
- const [i, a] = ut(o), l = () => {
58295
- t(), a(!0);
58294
+ const i = () => {
58295
+ t();
58296
58296
  };
58297
58297
  return /* @__PURE__ */ E.jsx(
58298
58298
  at,
@@ -58302,7 +58302,7 @@ const _5 = {
58302
58302
  justifyContent: "center",
58303
58303
  alignItems: "center",
58304
58304
  sx: { display: "flex", backgroundColor: gn },
58305
- children: i ? /* @__PURE__ */ E.jsx(N5, { src: n, isLoading: e, isHls: r }) : /* @__PURE__ */ E.jsx(Yr, { onClick: l, size: "large", children: "Generate video" })
58305
+ children: o ? /* @__PURE__ */ E.jsx(N5, { src: n, isLoading: e, isHls: r }) : /* @__PURE__ */ E.jsx(Yr, { onClick: i, size: "large", children: "Generate video" })
58306
58306
  }
58307
58307
  );
58308
58308
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [