@wix/editor-react-components 1.2843.0 → 1.2845.0
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.
|
@@ -41,6 +41,11 @@ export interface VideoScrubProps {
|
|
|
41
41
|
* Preview, because the editor stage keeps the designed height.
|
|
42
42
|
*/
|
|
43
43
|
scrubAllowed?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Shown over the stage while it cannot scrub. Only the editor bundle passes it, so the live bundle
|
|
46
|
+
* does not load it.
|
|
47
|
+
*/
|
|
48
|
+
stageHint?: ReactNode;
|
|
44
49
|
timeframes?: Array<VideoScrubTimeframe>;
|
|
45
50
|
/** The timeframe selected in the editor. Used only while editing. */
|
|
46
51
|
activeTimeframeIndex?: number;
|
|
@@ -497,6 +497,7 @@ const VideoScrub = ({
|
|
|
497
497
|
scrollSpeed = ScrollSpeed.normal,
|
|
498
498
|
scrubStart = ScrubStart.top,
|
|
499
499
|
scrubAllowed = true,
|
|
500
|
+
stageHint,
|
|
500
501
|
timeframes: savedTimeframes,
|
|
501
502
|
activeTimeframeIndex = 0,
|
|
502
503
|
a11y,
|
|
@@ -600,7 +601,8 @@ const VideoScrub = ({
|
|
|
600
601
|
activeIndex: timeframe.activeIndex,
|
|
601
602
|
a11yAttributes: layerA11y
|
|
602
603
|
}
|
|
603
|
-
)
|
|
604
|
+
),
|
|
605
|
+
editing && stageHint
|
|
604
606
|
]
|
|
605
607
|
}
|
|
606
608
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2845.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -228,5 +228,5 @@
|
|
|
228
228
|
"registry": "https://registry.npmjs.org/",
|
|
229
229
|
"access": "public"
|
|
230
230
|
},
|
|
231
|
-
"falconPackageHash": "
|
|
231
|
+
"falconPackageHash": "323abed53bd70ad22dc8bbbad3e422ab7f491d756cf9d720c7a6d4f4"
|
|
232
232
|
}
|