@conboai/storybook.components 0.1.17 → 0.1.19
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.
|
@@ -58241,8 +58241,7 @@ const _5 = {
|
|
|
58241
58241
|
bottom: u ? 0 : "auto",
|
|
58242
58242
|
width: u ? "100%" : "auto",
|
|
58243
58243
|
backgroundColor: u ? "rgba(0, 0, 0, 0.5)" : "transparent",
|
|
58244
|
-
transition: "opacity 0.5s"
|
|
58245
|
-
opacity: l ? 1 : 0
|
|
58244
|
+
transition: "opacity 0.5s"
|
|
58246
58245
|
},
|
|
58247
58246
|
children: [
|
|
58248
58247
|
/* @__PURE__ */ E.jsx(at, { item: !0, children: /* @__PURE__ */ E.jsx(Wt, { onClick: m, children: r ? /* @__PURE__ */ E.jsx(Yt, { icon: "pause" }) : /* @__PURE__ */ E.jsx(Yt, { icon: "play" }) }) }),
|
|
@@ -58285,9 +58284,15 @@ const _5 = {
|
|
|
58285
58284
|
)
|
|
58286
58285
|
}
|
|
58287
58286
|
);
|
|
58288
|
-
}, c3 = ({
|
|
58289
|
-
|
|
58290
|
-
|
|
58287
|
+
}, c3 = ({
|
|
58288
|
+
onGenerate: t,
|
|
58289
|
+
isLoading: e,
|
|
58290
|
+
src: n,
|
|
58291
|
+
isHls: r,
|
|
58292
|
+
playVideo: o = !1
|
|
58293
|
+
}) => {
|
|
58294
|
+
const [i, a] = ut(o), l = () => {
|
|
58295
|
+
t(), a(!0);
|
|
58291
58296
|
};
|
|
58292
58297
|
return /* @__PURE__ */ E.jsx(
|
|
58293
58298
|
at,
|
|
@@ -58297,7 +58302,7 @@ const _5 = {
|
|
|
58297
58302
|
justifyContent: "center",
|
|
58298
58303
|
alignItems: "center",
|
|
58299
58304
|
sx: { display: "flex", backgroundColor: gn },
|
|
58300
|
-
children:
|
|
58305
|
+
children: i ? /* @__PURE__ */ E.jsx(N5, { src: n, isLoading: e, isHls: r }) : /* @__PURE__ */ E.jsx(Yr, { onClick: l, size: "large", children: "Generate video" })
|
|
58301
58306
|
}
|
|
58302
58307
|
);
|
|
58303
58308
|
};
|