@remotion/player
Advanced tools
Comparing version 2.6.3 to 2.6.4
@@ -0,1 +1,4 @@ | ||
export declare const Loading: React.FC<{ | ||
size: number; | ||
}>; | ||
//# sourceMappingURL=Loading.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Loading = void 0; | ||
const jsx_runtime_1 = require("react/jsx-runtime"); | ||
const Loading = ({ size }) => { | ||
const triangle = (opacity, triangleSize) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ xmlnsXlink: "http://www.w3.org/1999/xlink", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 400 400", style: { | ||
opacity, | ||
width: triangleSize, | ||
height: triangleSize, | ||
position: 'absolute', | ||
transform: 'rotate(90deg)', | ||
} }, { children: [(0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("linearGradient", Object.assign({ id: "gradient" }, { children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#42e9f5", stopOpacity: "1", offset: "0" }, void 0), (0, jsx_runtime_1.jsx)("stop", { stopColor: "#4290f5", stopOpacity: "1", offset: "100%" }, void 0)] }), void 0) }, void 0), (0, jsx_runtime_1.jsx)("g", Object.assign({ stroke: 'url("#gradient")', strokeWidth: "100px", strokeLinejoin: "round" }, { children: (0, jsx_runtime_1.jsx)("path", { fill: 'url("#gradient")', d: "M 102 272 a 196 100 0 0 0 195 5 A 196 240 0 0 0 200 102.259 A 196 240 0 0 0 102 272 z", stroke: 'url("#gradient")', strokeWidth: "100px" }, void 0) }), void 0)] }), void 0)); | ||
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ style: { | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
flex: 1, | ||
height: '100%', | ||
width: '100%', | ||
} }, { children: [triangle(0.2, size), triangle(0.4, (size * 9) / 11), triangle(1, (size * 7) / 11)] }), void 0)); | ||
}; | ||
exports.Loading = Loading; | ||
//# sourceMappingURL=Loading.js.map |
{ | ||
"name": "@remotion/player", | ||
"version": "2.6.3", | ||
"version": "2.6.4", | ||
"description": "Remotion Player", | ||
@@ -27,3 +27,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"remotion": "2.6.3" | ||
"remotion": "2.6.4" | ||
}, | ||
@@ -53,3 +53,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "96b2b703d1c4e08fe35c050b6bf0c97e0281fc01" | ||
"gitHead": "729afee8ec8dd9c59a5aa087d135997e5ccf53b3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
176988
151
2205
+ Addedremotion@2.6.4(transitive)
- Removedremotion@2.6.3(transitive)
Updatedremotion@2.6.4