New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@remotion/shapes

Package Overview
Dependencies
Maintainers
1
Versions
369
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remotion/shapes - npm Package Compare versions

Comparing version 4.0.0-alpha13 to 4.0.0-alpha14

2

dist/components/circle.d.ts
import React from 'react';
import type { MakeCircleProps } from '../utils/make-circle';
import type { AllShapesProps } from './render-svg';
export declare type CircleProps = MakeCircleProps & AllShapesProps;
export type CircleProps = MakeCircleProps & AllShapesProps;
/**

@@ -6,0 +6,0 @@ * @description Renders an SVG element drawing a circle.

import React from 'react';
import type { MakeEllipseOptions } from '../utils/make-ellipse';
import type { AllShapesProps } from './render-svg';
export declare type EllipseProps = MakeEllipseOptions & AllShapesProps;
export type EllipseProps = MakeEllipseOptions & AllShapesProps;
/**

@@ -6,0 +6,0 @@ * @description Renders an SVG element drawing an ellipse.

import React from 'react';
import type { MakePieProps } from '../utils/make-pie';
import type { AllShapesProps } from './render-svg';
export declare type PieProps = MakePieProps & AllShapesProps;
export type PieProps = MakePieProps & AllShapesProps;
/**

@@ -6,0 +6,0 @@ * @description Renders an SVG element drawing a pie piece.

import React from 'react';
import type { MakeRectOptions } from '../utils/make-rect';
import type { AllShapesProps } from './render-svg';
export declare type RectProps = MakeRectOptions & AllShapesProps;
export type RectProps = MakeRectOptions & AllShapesProps;
/**

@@ -6,0 +6,0 @@ * @description Renders an SVG element containing a rectangle.

import type { Instruction } from '@remotion/paths';
import React from 'react';
export declare type AllShapesProps = Omit<React.SVGProps<SVGPathElement>, 'width' | 'height' | 'd'> & {
export type AllShapesProps = Omit<React.SVGProps<SVGPathElement>, 'width' | 'height' | 'd'> & {
debug?: boolean;

@@ -5,0 +5,0 @@ pathStyle?: React.CSSProperties;

import React from 'react';
import type { MakeStarProps } from '../utils/make-star';
import type { AllShapesProps } from './render-svg';
export declare type StarProps = MakeStarProps & Omit<AllShapesProps, 'points'>;
export type StarProps = MakeStarProps & Omit<AllShapesProps, 'points'>;
/**

@@ -6,0 +6,0 @@ * @description Renders an SVG element containing a star.

import React from 'react';
import type { MakeTriangleProps } from '../utils/make-triangle';
import type { AllShapesProps } from './render-svg';
export declare type TriangleProps = MakeTriangleProps & AllShapesProps;
export type TriangleProps = MakeTriangleProps & AllShapesProps;
/**

@@ -6,0 +6,0 @@ * @description Renders an SVG element containing a triangle with same length on all sides.

import type { ShapeInfo } from './shape-info';
export declare type MakeCircleProps = {
export type MakeCircleProps = {
radius: number;

@@ -4,0 +4,0 @@ };

import type { ShapeInfo } from './shape-info';
export declare type MakeEllipseOptions = {
export type MakeEllipseOptions = {
rx: number;

@@ -4,0 +4,0 @@ ry: number;

import type { Instruction } from '@remotion/paths';
export declare type MakePieProps = {
export type MakePieProps = {
radius: number;

@@ -4,0 +4,0 @@ progress: number;

import type { ShapeInfo } from './shape-info';
export declare type MakeRectOptions = {
export type MakeRectOptions = {
width: number;

@@ -4,0 +4,0 @@ height: number;

import type { ShapeInfo } from './shape-info';
export declare type MakeStarProps = {
export type MakeStarProps = {
points: number;

@@ -9,3 +9,3 @@ innerRadius: number;

};
export declare type StarProps = {
export type StarProps = {
centerX: number;

@@ -12,0 +12,0 @@ centerY: number;

import type { ShapeInfo } from './shape-info';
declare type Direction = 'right' | 'left' | 'up' | 'down';
export declare type MakeTriangleProps = {
type Direction = 'right' | 'left' | 'up' | 'down';
export type MakeTriangleProps = {
length: number;

@@ -5,0 +5,0 @@ direction: Direction;

import type { Instruction } from '@remotion/paths';
export declare type ShapeInfo = {
export type ShapeInfo = {
path: string;

@@ -4,0 +4,0 @@ width: number;

{
"name": "@remotion/shapes",
"version": "4.0.0-alpha13",
"version": "4.0.0-alpha14",
"description": "Utility functions and components for SVG shapes",

@@ -21,3 +21,3 @@ "main": "dist/index.js",

"@vitejs/plugin-react": "^2.0.0",
"eslint": "8.25.0",
"eslint": "8.42.0",
"prettier": "^2.7.1",

@@ -27,3 +27,3 @@ "prettier-plugin-organize-imports": "^2.3.4",

"react-dom": "18.0.0",
"typescript": "^4.7.0",
"typescript": "4.9.5",
"vitest": "0.31.1"

@@ -44,3 +44,3 @@ },

"dependencies": {
"@remotion/paths": "4.0.0-alpha13"
"@remotion/paths": "4.0.0-alpha14"
},

@@ -47,0 +47,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc