@remotion/shapes 4.0.277 → 4.0.279
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.
package/dist/components/pie.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type PieProps = MakePieProps & AllShapesProps;
|
|
|
8
8
|
* @param {Number} progress The percentage of the circle that is filled. 0 means fully empty, 1 means fully filled.
|
|
9
9
|
* @param {Boolean} closePath If set to false, no path to the middle of the circle will be drawn, leading to an open arc. Default true.
|
|
10
10
|
* @param {Boolean} counterClockwise If set, the circle gets filled counterclockwise instead of clockwise. Default false.
|
|
11
|
-
* @param {
|
|
11
|
+
* @param {Number} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation
|
|
12
12
|
* @see [Documentation](https://www.remotion.dev/docs/shapes/pie)
|
|
13
13
|
*/
|
|
14
14
|
export declare const Pie: React.FC<PieProps>;
|
package/dist/components/pie.js
CHANGED
|
@@ -10,7 +10,7 @@ const render_svg_1 = require("./render-svg");
|
|
|
10
10
|
* @param {Number} progress The percentage of the circle that is filled. 0 means fully empty, 1 means fully filled.
|
|
11
11
|
* @param {Boolean} closePath If set to false, no path to the middle of the circle will be drawn, leading to an open arc. Default true.
|
|
12
12
|
* @param {Boolean} counterClockwise If set, the circle gets filled counterclockwise instead of clockwise. Default false.
|
|
13
|
-
* @param {
|
|
13
|
+
* @param {Number} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation
|
|
14
14
|
* @see [Documentation](https://www.remotion.dev/docs/shapes/pie)
|
|
15
15
|
*/
|
|
16
16
|
const Pie = ({ radius, progress, closePath, counterClockwise, rotation, ...props }) => {
|
package/dist/utils/make-pie.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type MakePieProps = {
|
|
|
12
12
|
* @param {Number} progress The percentage of the circle that is filled. 0 means fully empty, 1 means fully filled.
|
|
13
13
|
* @param {Boolean} closePath If set to false, no path to the middle of the circle will be drawn, leading to an open arc. Default true.
|
|
14
14
|
* @param {Boolean} counterClockwise If set, the circle gets filled counterclockwise instead of clockwise. Default false.
|
|
15
|
-
* @param {
|
|
15
|
+
* @param {Number} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation
|
|
16
16
|
* @see [Documentation](https://www.remotion.dev/docs/shapes/make-pie)
|
|
17
17
|
*/
|
|
18
18
|
export declare const makePie: ({ progress, radius, closePath, counterClockwise, rotation, }: MakePieProps) => {
|
package/dist/utils/make-pie.js
CHANGED
|
@@ -16,7 +16,7 @@ const getCoord = ({ counterClockwise, actualProgress, rotation, radius, coord, }
|
|
|
16
16
|
* @param {Number} progress The percentage of the circle that is filled. 0 means fully empty, 1 means fully filled.
|
|
17
17
|
* @param {Boolean} closePath If set to false, no path to the middle of the circle will be drawn, leading to an open arc. Default true.
|
|
18
18
|
* @param {Boolean} counterClockwise If set, the circle gets filled counterclockwise instead of clockwise. Default false.
|
|
19
|
-
* @param {
|
|
19
|
+
* @param {Number} rotation Add rotation to the path. 0 means no rotation, Math.PI * 2 means 1 full clockwise rotation
|
|
20
20
|
* @see [Documentation](https://www.remotion.dev/docs/shapes/make-pie)
|
|
21
21
|
*/
|
|
22
22
|
const makePie = ({ progress, radius, closePath = true, counterClockwise = false, rotation = 0, }) => {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/shapes"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/shapes",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.279",
|
|
7
7
|
"description": "Generate SVG shapes",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react-dom": "19.0.0",
|
|
30
30
|
"@happy-dom/global-registrator": "14.5.1",
|
|
31
31
|
"eslint": "9.19.0",
|
|
32
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
32
|
+
"@remotion/eslint-config-internal": "4.0.279"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"svg",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"react-dom": ">=16.8.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@remotion/paths": "4.0.
|
|
47
|
+
"@remotion/paths": "4.0.279"
|
|
48
48
|
},
|
|
49
49
|
"homepage": "https://www.remotion.dev/docs/shapes",
|
|
50
50
|
"scripts": {
|