@scalemule/nextjs 0.1.23 → 0.1.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.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -899,9 +899,10 @@ interface NarrationPlayerProps {
|
|
|
899
899
|
narrationLabel?: string;
|
|
900
900
|
refreshing?: boolean;
|
|
901
901
|
onRefresh?: () => void | Promise<void>;
|
|
902
|
+
showRefreshButton?: boolean;
|
|
902
903
|
onPlaybackError?: () => void;
|
|
903
904
|
}
|
|
904
|
-
declare function NarrationPlayer({ audio, className, providerLabel, narrationLabel, refreshing, onRefresh, onPlaybackError, }: NarrationPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
905
|
+
declare function NarrationPlayer({ audio, className, providerLabel, narrationLabel, refreshing, onRefresh, showRefreshButton, onPlaybackError, }: NarrationPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
905
906
|
|
|
906
907
|
/**
|
|
907
908
|
* Client-side validation helpers
|
package/dist/index.d.ts
CHANGED
|
@@ -899,9 +899,10 @@ interface NarrationPlayerProps {
|
|
|
899
899
|
narrationLabel?: string;
|
|
900
900
|
refreshing?: boolean;
|
|
901
901
|
onRefresh?: () => void | Promise<void>;
|
|
902
|
+
showRefreshButton?: boolean;
|
|
902
903
|
onPlaybackError?: () => void;
|
|
903
904
|
}
|
|
904
|
-
declare function NarrationPlayer({ audio, className, providerLabel, narrationLabel, refreshing, onRefresh, onPlaybackError, }: NarrationPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
905
|
+
declare function NarrationPlayer({ audio, className, providerLabel, narrationLabel, refreshing, onRefresh, showRefreshButton, onPlaybackError, }: NarrationPlayerProps): react_jsx_runtime.JSX.Element | null;
|
|
905
906
|
|
|
906
907
|
/**
|
|
907
908
|
* Client-side validation helpers
|
package/dist/index.js
CHANGED
|
@@ -11463,6 +11463,7 @@ function NarrationPlayer({
|
|
|
11463
11463
|
narrationLabel = "AI-Narrated",
|
|
11464
11464
|
refreshing = false,
|
|
11465
11465
|
onRefresh,
|
|
11466
|
+
showRefreshButton = false,
|
|
11466
11467
|
onPlaybackError
|
|
11467
11468
|
}) {
|
|
11468
11469
|
const audioRef = React.useRef(null);
|
|
@@ -11718,7 +11719,7 @@ function NarrationPlayer({
|
|
|
11718
11719
|
]
|
|
11719
11720
|
}
|
|
11720
11721
|
),
|
|
11721
|
-
onRefresh && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11722
|
+
onRefresh && showRefreshButton && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11722
11723
|
"button",
|
|
11723
11724
|
{
|
|
11724
11725
|
type: "button",
|
package/dist/index.mjs
CHANGED
|
@@ -11443,6 +11443,7 @@ function NarrationPlayer({
|
|
|
11443
11443
|
narrationLabel = "AI-Narrated",
|
|
11444
11444
|
refreshing = false,
|
|
11445
11445
|
onRefresh,
|
|
11446
|
+
showRefreshButton = false,
|
|
11446
11447
|
onPlaybackError
|
|
11447
11448
|
}) {
|
|
11448
11449
|
const audioRef = useRef(null);
|
|
@@ -11698,7 +11699,7 @@ function NarrationPlayer({
|
|
|
11698
11699
|
]
|
|
11699
11700
|
}
|
|
11700
11701
|
),
|
|
11701
|
-
onRefresh && /* @__PURE__ */ jsx(
|
|
11702
|
+
onRefresh && showRefreshButton && /* @__PURE__ */ jsx(
|
|
11702
11703
|
"button",
|
|
11703
11704
|
{
|
|
11704
11705
|
type: "button",
|
package/package.json
CHANGED