Revert all package upgrades to unblock testing.

This commit is contained in:
Patrick Fic
2023-01-25 11:20:51 -08:00
parent d8cc25a54f
commit 66a80e439f
131 changed files with 18482 additions and 10892 deletions

View File

@@ -1,8 +1,8 @@
import React from "react";
import TweenOne from "rc-tween-one";
import OverPack from "rc-scroll-anim/lib/ScrollOverPack";
//import VideoPlay from 'react-sublime-video';
import { getChildrenToRender } from "./utils";
import React from 'react';
import TweenOne from 'rc-tween-one';
import OverPack from 'rc-scroll-anim/lib/ScrollOverPack';
import VideoPlay from 'react-sublime-video';
import { getChildrenToRender } from './utils';
function Content4(props) {
const { ...tagProps } = props;
@@ -10,13 +10,13 @@ function Content4(props) {
delete tagProps.dataSource;
delete tagProps.isMobile;
const animation = {
y: "+=30",
y: '+=30',
opacity: 0,
type: "from",
ease: "easeOutQuad",
type: 'from',
ease: 'easeOutQuad',
};
const videoChildren = dataSource.video.children.video;
const videoNameArray = videoChildren.split(".");
const videoNameArray = videoChildren.split('.');
const type = videoNameArray[videoNameArray.length - 1];
return (
<div {...tagProps} {...dataSource.wrapper}>
@@ -40,15 +40,15 @@ function Content4(props) {
<source src={videoChildren} type={`video/${type}`} />
<track kind="captions" />
</video>
) : null
// <VideoPlay
// loop
// width="100%"
// poster={dataSource.video.children.image}
// >
// <source src={videoChildren} type={`video/${type}`} />
// </VideoPlay>
}
) : (
<VideoPlay
loop
width="100%"
poster={dataSource.video.children.image}
>
<source src={videoChildren} type={`video/${type}`} />
</VideoPlay>
)}
</TweenOne>
</OverPack>
</div>

View File

@@ -1,5 +1,4 @@
/* @import "~antd/lib/style/themes/default.less";
*/
@import "~antd/lib/style/themes/default.less";
@line-color: #e9e9e9;