@gravity-ui/page-constructor 4.29.0 → 4.29.1
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.
|
@@ -11,6 +11,5 @@ export interface ReactPlayerBlockProps extends Omit<MediaVideoProps, 'loop' | 's
|
|
|
11
11
|
ratio?: number;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
export declare const ReactPlayerBlock: React.ForwardRefExoticComponent<ReactPlayerBlockProps & React.RefAttributes<ReactPlayerBlockRefType>>;
|
|
14
|
+
export declare const ReactPlayerBlock: React.ForwardRefExoticComponent<ReactPlayerBlockProps & React.RefAttributes<ReactPlayerBlockHandler>>;
|
|
16
15
|
export default ReactPlayerBlock;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export type ArrowDirection = 'left' | 'right';
|
|
2
|
-
export
|
|
3
|
-
}
|
|
2
|
+
export type ReactPlayerBlockHandler = Pick<HTMLVideoElement, 'play' | 'pause' | 'addEventListener'> | undefined;
|
|
@@ -12,6 +12,5 @@ export interface ReactPlayerBlockProps extends Omit<MediaVideoProps, 'loop' | 's
|
|
|
12
12
|
ratio?: number;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
export declare const ReactPlayerBlock: React.ForwardRefExoticComponent<ReactPlayerBlockProps & React.RefAttributes<ReactPlayerBlockRefType>>;
|
|
15
|
+
export declare const ReactPlayerBlock: React.ForwardRefExoticComponent<ReactPlayerBlockProps & React.RefAttributes<ReactPlayerBlockHandler>>;
|
|
17
16
|
export default ReactPlayerBlock;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export type ArrowDirection = 'left' | 'right';
|
|
2
|
-
export
|
|
3
|
-
}
|
|
2
|
+
export type ReactPlayerBlockHandler = Pick<HTMLVideoElement, 'play' | 'pause' | 'addEventListener'> | undefined;
|
package/package.json
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export type ArrowDirection = 'left' | 'right';
|
|
2
|
-
export
|
|
3
|
-
}
|
|
2
|
+
export type ReactPlayerBlockHandler = Pick<HTMLVideoElement, 'play' | 'pause' | 'addEventListener'> | undefined;
|