@remotion/shapes 4.0.496 → 4.0.498

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.
@@ -48,6 +48,8 @@ const makeShapeSchema = (shapeFields) => {
48
48
  description: 'Fill',
49
49
  }),
50
50
  ...remotion_1.Internals.transformSchema,
51
+ ...remotion_1.Interactive.backgroundSchema,
52
+ ...remotion_1.Interactive.borderSchema,
51
53
  };
52
54
  };
53
55
  exports.makeShapeSchema = makeShapeSchema;
@@ -1,5 +1,5 @@
1
1
  // src/components/arrow.tsx
2
- import { Interactive } from "remotion";
2
+ import { Interactive as Interactive2 } from "remotion";
3
3
 
4
4
  // src/utils/make-arrow.ts
5
5
  import { serializeInstructions } from "@remotion/paths";
@@ -303,7 +303,8 @@ var RenderSvg = ({
303
303
 
304
304
  // src/components/schema.ts
305
305
  import {
306
- Internals as Internals2
306
+ Internals as Internals2,
307
+ Interactive
307
308
  } from "remotion";
308
309
  var numberField = ({
309
310
  defaultValue,
@@ -363,7 +364,9 @@ var makeShapeSchema = (shapeFields) => {
363
364
  defaultValue: "#0b84ff",
364
365
  description: "Fill"
365
366
  }),
366
- ...Internals2.transformSchema
367
+ ...Internals2.transformSchema,
368
+ ...Interactive.backgroundSchema,
369
+ ...Interactive.borderSchema
367
370
  };
368
371
  };
369
372
 
@@ -424,7 +427,7 @@ var ArrowInner = ({
424
427
  ...props
425
428
  });
426
429
  };
427
- var Arrow = Interactive.withSchema({
430
+ var Arrow = Interactive2.withSchema({
428
431
  Component: ArrowInner,
429
432
  componentName: "<Arrow>",
430
433
  componentIdentity: "dev.remotion.shapes.Arrow",
@@ -432,7 +435,7 @@ var Arrow = Interactive.withSchema({
432
435
  supportsEffects: true
433
436
  });
434
437
  // src/components/callout.tsx
435
- import { Interactive as Interactive2 } from "remotion";
438
+ import { Interactive as Interactive3 } from "remotion";
436
439
 
437
440
  // src/utils/make-callout.ts
438
441
  import { serializeInstructions as serializeInstructions2 } from "@remotion/paths";
@@ -860,7 +863,7 @@ var CalloutInner = ({
860
863
  ...props
861
864
  });
862
865
  };
863
- var Callout = Interactive2.withSchema({
866
+ var Callout = Interactive3.withSchema({
864
867
  Component: CalloutInner,
865
868
  componentName: "<Callout>",
866
869
  componentIdentity: "dev.remotion.shapes.Callout",
@@ -868,7 +871,7 @@ var Callout = Interactive2.withSchema({
868
871
  supportsEffects: true
869
872
  });
870
873
  // src/components/circle.tsx
871
- import { Interactive as Interactive3 } from "remotion";
874
+ import { Interactive as Interactive4 } from "remotion";
872
875
 
873
876
  // src/utils/make-circle.ts
874
877
  import { serializeInstructions as serializeInstructions3 } from "@remotion/paths";
@@ -930,7 +933,7 @@ var CircleInner = ({ radius, ...props }) => {
930
933
  ...props
931
934
  });
932
935
  };
933
- var Circle = Interactive3.withSchema({
936
+ var Circle = Interactive4.withSchema({
934
937
  Component: CircleInner,
935
938
  componentName: "<Circle>",
936
939
  componentIdentity: "dev.remotion.shapes.Circle",
@@ -938,7 +941,7 @@ var Circle = Interactive3.withSchema({
938
941
  supportsEffects: true
939
942
  });
940
943
  // src/components/ellipse.tsx
941
- import { Interactive as Interactive4 } from "remotion";
944
+ import { Interactive as Interactive5 } from "remotion";
942
945
 
943
946
  // src/utils/make-ellipse.ts
944
947
  import { serializeInstructions as serializeInstructions4 } from "@remotion/paths";
@@ -995,7 +998,7 @@ var EllipseInner = ({ rx, ry, ...props }) => {
995
998
  ...props
996
999
  });
997
1000
  };
998
- var Ellipse = Interactive4.withSchema({
1001
+ var Ellipse = Interactive5.withSchema({
999
1002
  Component: EllipseInner,
1000
1003
  componentName: "<Ellipse>",
1001
1004
  componentIdentity: "dev.remotion.shapes.Ellipse",
@@ -1003,7 +1006,7 @@ var Ellipse = Interactive4.withSchema({
1003
1006
  supportsEffects: true
1004
1007
  });
1005
1008
  // src/components/heart.tsx
1006
- import { Interactive as Interactive5 } from "remotion";
1009
+ import { Interactive as Interactive6 } from "remotion";
1007
1010
 
1008
1011
  // src/utils/make-heart.ts
1009
1012
  import { serializeInstructions as serializeInstructions5 } from "@remotion/paths";
@@ -1141,7 +1144,7 @@ var HeartInner = ({
1141
1144
  ...props
1142
1145
  });
1143
1146
  };
1144
- var Heart = Interactive5.withSchema({
1147
+ var Heart = Interactive6.withSchema({
1145
1148
  Component: HeartInner,
1146
1149
  componentName: "<Heart>",
1147
1150
  componentIdentity: "dev.remotion.shapes.Heart",
@@ -1149,7 +1152,7 @@ var Heart = Interactive5.withSchema({
1149
1152
  supportsEffects: true
1150
1153
  });
1151
1154
  // src/components/pie.tsx
1152
- import { Interactive as Interactive6 } from "remotion";
1155
+ import { Interactive as Interactive7 } from "remotion";
1153
1156
 
1154
1157
  // src/utils/make-pie.ts
1155
1158
  import { serializeInstructions as serializeInstructions6 } from "@remotion/paths";
@@ -1303,7 +1306,7 @@ var PieInner = ({
1303
1306
  ...props
1304
1307
  });
1305
1308
  };
1306
- var Pie = Interactive6.withSchema({
1309
+ var Pie = Interactive7.withSchema({
1307
1310
  Component: PieInner,
1308
1311
  componentName: "<Pie>",
1309
1312
  componentIdentity: "dev.remotion.shapes.Pie",
@@ -1311,7 +1314,7 @@ var Pie = Interactive6.withSchema({
1311
1314
  supportsEffects: true
1312
1315
  });
1313
1316
  // src/components/polygon.tsx
1314
- import { Interactive as Interactive7 } from "remotion";
1317
+ import { Interactive as Interactive8 } from "remotion";
1315
1318
 
1316
1319
  // src/utils/make-polygon.ts
1317
1320
  import {
@@ -1415,7 +1418,7 @@ var PolygonInner = ({
1415
1418
  ...props
1416
1419
  });
1417
1420
  };
1418
- var Polygon = Interactive7.withSchema({
1421
+ var Polygon = Interactive8.withSchema({
1419
1422
  Component: PolygonInner,
1420
1423
  componentName: "<Polygon>",
1421
1424
  componentIdentity: "dev.remotion.shapes.Polygon",
@@ -1423,7 +1426,7 @@ var Polygon = Interactive7.withSchema({
1423
1426
  supportsEffects: true
1424
1427
  });
1425
1428
  // src/components/rect.tsx
1426
- import { Interactive as Interactive8 } from "remotion";
1429
+ import { Interactive as Interactive9 } from "remotion";
1427
1430
 
1428
1431
  // src/utils/make-rect.ts
1429
1432
  import { serializeInstructions as serializeInstructions8 } from "@remotion/paths";
@@ -1489,7 +1492,7 @@ var RectInner = ({
1489
1492
  ...props
1490
1493
  });
1491
1494
  };
1492
- var Rect = Interactive8.withSchema({
1495
+ var Rect = Interactive9.withSchema({
1493
1496
  Component: RectInner,
1494
1497
  componentName: "<Rect>",
1495
1498
  componentIdentity: "dev.remotion.shapes.Rect",
@@ -1497,7 +1500,7 @@ var Rect = Interactive8.withSchema({
1497
1500
  supportsEffects: true
1498
1501
  });
1499
1502
  // src/components/spark.tsx
1500
- import { Interactive as Interactive9 } from "remotion";
1503
+ import { Interactive as Interactive10 } from "remotion";
1501
1504
 
1502
1505
  // src/utils/make-spark.ts
1503
1506
  import { serializeInstructions as serializeInstructions9 } from "@remotion/paths";
@@ -1708,7 +1711,7 @@ var SparkInner = ({
1708
1711
  ...props
1709
1712
  });
1710
1713
  };
1711
- var Spark = Interactive9.withSchema({
1714
+ var Spark = Interactive10.withSchema({
1712
1715
  Component: SparkInner,
1713
1716
  componentName: "<Spark>",
1714
1717
  componentIdentity: "dev.remotion.shapes.Spark",
@@ -1716,7 +1719,7 @@ var Spark = Interactive9.withSchema({
1716
1719
  supportsEffects: true
1717
1720
  });
1718
1721
  // src/components/star.tsx
1719
- import { Interactive as Interactive10 } from "remotion";
1722
+ import { Interactive as Interactive11 } from "remotion";
1720
1723
 
1721
1724
  // src/utils/make-star.ts
1722
1725
  import {
@@ -1831,7 +1834,7 @@ var StarInner = ({
1831
1834
  ...props
1832
1835
  });
1833
1836
  };
1834
- var Star = Interactive10.withSchema({
1837
+ var Star = Interactive11.withSchema({
1835
1838
  Component: StarInner,
1836
1839
  componentName: "<Star>",
1837
1840
  componentIdentity: "dev.remotion.shapes.Star",
@@ -1839,7 +1842,7 @@ var Star = Interactive10.withSchema({
1839
1842
  supportsEffects: true
1840
1843
  });
1841
1844
  // src/components/triangle.tsx
1842
- import { Interactive as Interactive11 } from "remotion";
1845
+ import { Interactive as Interactive12 } from "remotion";
1843
1846
 
1844
1847
  // src/utils/make-triangle.ts
1845
1848
  import { serializeInstructions as serializeInstructions11 } from "@remotion/paths";
@@ -1945,7 +1948,7 @@ var TriangleInner = ({
1945
1948
  ...props
1946
1949
  });
1947
1950
  };
1948
- var Triangle = Interactive11.withSchema({
1951
+ var Triangle = Interactive12.withSchema({
1949
1952
  Component: TriangleInner,
1950
1953
  componentName: "<Triangle>",
1951
1954
  componentIdentity: "dev.remotion.shapes.Triangle",
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.496",
6
+ "version": "4.0.498",
7
7
  "description": "Generate SVG shapes",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -34,7 +34,7 @@
34
34
  "react": "19.2.3",
35
35
  "react-dom": "19.2.3",
36
36
  "@happy-dom/global-registrator": "14.5.1",
37
- "@remotion/eslint-config-internal": "4.0.496",
37
+ "@remotion/eslint-config-internal": "4.0.498",
38
38
  "eslint": "9.19.0",
39
39
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
40
40
  },
@@ -51,8 +51,8 @@
51
51
  "react-dom": ">=16.8.0"
52
52
  },
53
53
  "dependencies": {
54
- "@remotion/paths": "4.0.496",
55
- "remotion": "4.0.496"
54
+ "@remotion/paths": "4.0.498",
55
+ "remotion": "4.0.498"
56
56
  },
57
57
  "homepage": "https://www.remotion.dev/docs/shapes"
58
58
  }