@wix/editor-react-components 1.2843.0 → 1.2844.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.
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ export declare const SCROLLS_IN_PREVIEW_TEXT = "Scrolls in Preview";
3
+ export declare const ScrollsInPreviewHint: () => React.JSX.Element;
@@ -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.2843.0",
3
+ "version": "1.2844.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": "c1e162c3c148d809dcf16aefc14c6264acd8f0f648d3b8327536cb9e"
231
+ "falconPackageHash": "64cf7cbf77e0a5dddb0e5032794b61ede748efe81a2ef60b5c9899ef"
232
232
  }