flomotion 0.2.0 → 0.4.0

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.
Files changed (129) hide show
  1. package/CHANGELOG.md +58 -2
  2. package/LICENSE +1 -1
  3. package/README.md +29 -20
  4. package/dist/bin.mjs +6279 -2582
  5. package/dist/chunks/{chunk-QG2MOGKO.mjs → chunk-IGG2VZB6.mjs} +178 -14
  6. package/dist/chunks/{chunk-AVP5XX4G.mjs → chunk-PEC2UVQY.mjs} +138 -108
  7. package/dist/chunks/{chunk-IUSYVGP6.mjs → chunk-TTHAZGRG.mjs} +7 -7
  8. package/dist/chunks/{chunk-JCLRAREG.mjs → chunk-XWY6CUY6.mjs} +16 -16
  9. package/dist/chunks/{lock-MLQUU7X3.mjs → lock-WGPR7CJ2.mjs} +3 -3
  10. package/dist/components.mjs +19 -13
  11. package/dist/core.mjs +12 -12
  12. package/dist/hooks.mjs +8 -12
  13. package/dist/jsx-dev-runtime.mjs +1 -1
  14. package/dist/jsx-runtime.mjs +1 -1
  15. package/docs/components/Adjustment.md +2 -2
  16. package/docs/components/Audio.md +2 -2
  17. package/docs/components/B.md +3 -3
  18. package/docs/components/Captions.md +2 -2
  19. package/docs/components/Card.md +2 -2
  20. package/docs/components/Center.md +2 -2
  21. package/docs/components/Chart.md +2 -2
  22. package/docs/components/Chip.md +2 -2
  23. package/docs/components/Circle.md +2 -2
  24. package/docs/components/Clip.md +2 -2
  25. package/docs/components/CodeBlock.md +2 -2
  26. package/docs/components/Composition.md +2 -2
  27. package/docs/components/Counter.md +2 -2
  28. package/docs/components/Cursor.md +2 -2
  29. package/docs/components/Fonts.md +2 -2
  30. package/docs/components/GlassCard.md +2 -2
  31. package/docs/components/Grid.md +2 -2
  32. package/docs/components/Group.md +2 -2
  33. package/docs/components/Highlight.md +3 -3
  34. package/docs/components/I.md +3 -3
  35. package/docs/components/Image.md +2 -2
  36. package/docs/components/Line.md +2 -2
  37. package/docs/components/Marker.md +2 -2
  38. package/docs/components/Path.md +2 -2
  39. package/docs/components/Polygon.md +2 -2
  40. package/docs/components/Precomp.md +2 -2
  41. package/docs/components/ProgressRing.md +2 -2
  42. package/docs/components/Rect.md +2 -2
  43. package/docs/components/RoundRect.md +2 -2
  44. package/docs/components/SafeArea.md +2 -2
  45. package/docs/components/Scene.md +2 -2
  46. package/docs/components/Sequence.md +2 -2
  47. package/docs/components/Span.md +3 -3
  48. package/docs/components/SplitText.md +2 -2
  49. package/docs/components/Stack.md +2 -2
  50. package/docs/components/Stagger.md +2 -2
  51. package/docs/components/Strike.md +3 -3
  52. package/docs/components/Svg.md +2 -2
  53. package/docs/components/Text.md +2 -2
  54. package/docs/components/Title.md +2 -2
  55. package/docs/components/Track.md +2 -2
  56. package/docs/components/UIMock.md +2 -2
  57. package/docs/components/Underline.md +3 -3
  58. package/docs/components/Video.md +2 -2
  59. package/docs/gate2-manual-checklist.md +10 -9
  60. package/docs/hyperframes-notes.md +20 -20
  61. package/docs/later.md +23 -16
  62. package/docs/spec.md +83 -22
  63. package/package.json +1 -2
  64. package/skills/flomotion-studio/CHANGELOG.md +39 -0
  65. package/skills/flomotion-studio/README.md +81 -0
  66. package/skills/flomotion-studio/SKILL.md +90 -0
  67. package/skills/flomotion-studio/config/thresholds.md +191 -0
  68. package/skills/flomotion-studio/dataset/annotations/ansarada.md +53 -0
  69. package/skills/flomotion-studio/dataset/annotations/canva.md +49 -0
  70. package/skills/flomotion-studio/dataset/annotations/clickup.md +60 -0
  71. package/skills/flomotion-studio/dataset/annotations/gemini-stub.md +39 -0
  72. package/skills/flomotion-studio/dataset/annotations/monday.md +51 -0
  73. package/skills/flomotion-studio/dataset/annotations/phantom.md +53 -0
  74. package/skills/flomotion-studio/dataset/annotations/slack.md +54 -0
  75. package/skills/flomotion-studio/dataset/annotations/unknown-7.md +39 -0
  76. package/skills/flomotion-studio/dataset/annotations/vaylens.md +53 -0
  77. package/skills/flomotion-studio/dataset/brief-template.md +110 -0
  78. package/skills/flomotion-studio/dataset/rating-sheet.md +28 -0
  79. package/skills/flomotion-studio/dataset/schema.md +44 -0
  80. package/skills/flomotion-studio/evals/README.md +33 -0
  81. package/skills/flomotion-studio/evals/briefs/briefs.md +25 -0
  82. package/skills/{motion-studio/looks → flomotion-studio/examples/engine-looks}/kinetic.scene.tsx +1 -1
  83. package/skills/{motion-studio/looks → flomotion-studio/examples/engine-looks}/minimal.scene.tsx +1 -1
  84. package/skills/{motion-studio/looks → flomotion-studio/examples/engine-looks}/sketch.scene.tsx +1 -1
  85. package/skills/flomotion-studio/examples/flomotion-ad/LOG.md +39 -0
  86. package/skills/flomotion-studio/examples/flomotion-ad/brief.md +41 -0
  87. package/skills/flomotion-studio/examples/flomotion-ad/ideas.md +12 -0
  88. package/skills/flomotion-studio/examples/flomotion-ad/project.tsx +1694 -0
  89. package/skills/flomotion-studio/examples/flomotion-ad/script.md +28 -0
  90. package/skills/flomotion-studio/examples/flomotion-ad/storyboard.md +93 -0
  91. package/skills/{motion-studio → flomotion-studio}/examples/saas-promo/README.md +1 -1
  92. package/skills/{motion-studio → flomotion-studio}/examples/saas-promo/make-assets.sh +1 -1
  93. package/skills/{motion-studio → flomotion-studio}/examples/saas-promo/project.tsx +3 -3
  94. package/skills/flomotion-studio/looks/bold-kinetic.md +122 -0
  95. package/skills/flomotion-studio/looks/clean-light.md +122 -0
  96. package/skills/flomotion-studio/looks/dark-product.md +120 -0
  97. package/skills/flomotion-studio/references/anti-patterns.md +36 -0
  98. package/skills/flomotion-studio/references/assets.md +42 -0
  99. package/skills/flomotion-studio/references/block-recipes.md +249 -0
  100. package/skills/flomotion-studio/references/blocks.md +114 -0
  101. package/skills/flomotion-studio/references/catalogue.md +53 -0
  102. package/skills/flomotion-studio/references/checks.md +87 -0
  103. package/skills/flomotion-studio/references/clean-styles.md +56 -0
  104. package/skills/{motion-studio → flomotion-studio}/references/components.md +94 -94
  105. package/skills/flomotion-studio/references/copywriting.md +64 -0
  106. package/skills/flomotion-studio/references/decision-tables.md +80 -0
  107. package/skills/flomotion-studio/references/interview.md +145 -0
  108. package/skills/flomotion-studio/references/looks.md +45 -0
  109. package/skills/flomotion-studio/references/mcp-tools.md +70 -0
  110. package/skills/flomotion-studio/references/motion.md +68 -0
  111. package/skills/flomotion-studio/references/patterns.md +45 -0
  112. package/skills/flomotion-studio/references/review.md +56 -0
  113. package/skills/flomotion-studio/references/script-craft.md +59 -0
  114. package/skills/flomotion-studio/references/sound.md +57 -0
  115. package/skills/flomotion-studio/references/story-templates.md +52 -0
  116. package/skills/flomotion-studio/references/storyboard.md +62 -0
  117. package/skills/flomotion-studio/references/styles.md +70 -0
  118. package/skills/flomotion-studio/references/transitions.md +62 -0
  119. package/skills/flomotion-studio/references/typography.md +46 -0
  120. package/skills/flomotion-studio/references/workflow.md +96 -0
  121. package/skills/motion-studio/SKILL.md +0 -87
  122. package/skills/motion-studio/looks/kinetic.json +0 -89
  123. package/skills/motion-studio/looks/minimal.json +0 -91
  124. package/skills/motion-studio/looks/sketch.json +0 -83
  125. package/skills/motion-studio/references/motion.md +0 -73
  126. package/skills/motion-studio/references/review.md +0 -32
  127. package/skills/motion-studio/references/saas-promo.md +0 -29
  128. package/skills/motion-studio/references/sound.md +0 -47
  129. package/skills/motion-studio/references/typography.md +0 -50
@@ -6,13 +6,13 @@ var __export = (target, all) => {
6
6
  };
7
7
 
8
8
  // packages/core/src/errors.ts
9
- var CodeCutError = class extends Error {
9
+ var FlomotionError = class extends Error {
10
10
  code;
11
11
  fix;
12
12
  details;
13
13
  constructor(code, message, opts = {}) {
14
14
  super(message);
15
- this.name = "CodeCutError";
15
+ this.name = "FlomotionError";
16
16
  this.code = code;
17
17
  this.fix = opts.fix;
18
18
  this.details = opts.details;
@@ -21,7 +21,7 @@ var CodeCutError = class extends Error {
21
21
  return { code: this.code, message: this.message, fix: this.fix, details: this.details };
22
22
  }
23
23
  };
24
- var isCodeCutError = (e) => e instanceof CodeCutError;
24
+ var isFlomotionError = (e) => e instanceof FlomotionError;
25
25
 
26
26
  // packages/core/src/ast/node.ts
27
27
  var isNode = (x) => typeof x === "object" && x !== null && x.$cc === 1;
@@ -93,7 +93,7 @@ function build(type, props) {
93
93
  if (typeof type === "symbol") {
94
94
  return { $cc: 1, name: FRAGMENT, props: {}, children: flattenChildren(props.children) };
95
95
  }
96
- throw new CodeCutError("unknown_component", `Unknown element <${String(type)}>`, {
96
+ throw new FlomotionError("unknown_component", `Unknown element <${String(type)}>`, {
97
97
  fix: "Only components created with defineComponent/defineEffect can be used as JSX tags."
98
98
  });
99
99
  }
@@ -102,12 +102,12 @@ function jsx(type, props, _key) {
102
102
  }
103
103
  var jsxs = jsx;
104
104
  var jsxDEV = jsx;
105
- var Fragment = /* @__PURE__ */ Symbol.for("codecut.fragment");
105
+ var Fragment = /* @__PURE__ */ Symbol.for("flomotion.fragment");
106
106
 
107
107
  export {
108
108
  __export,
109
- CodeCutError,
110
- isCodeCutError,
109
+ FlomotionError,
110
+ isFlomotionError,
111
111
  isNode,
112
112
  FRAGMENT,
113
113
  flattenChildren,
@@ -1,13 +1,13 @@
1
1
  import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
2
2
  import {
3
- CODECUT_DIR,
3
+ FLOMOTION_DIR,
4
4
  classifyFontLicense,
5
5
  emptyLedger,
6
6
  upsertEntry
7
- } from "./chunk-AVP5XX4G.mjs";
7
+ } from "./chunk-PEC2UVQY.mjs";
8
8
  import {
9
- CodeCutError
10
- } from "./chunk-IUSYVGP6.mjs";
9
+ FlomotionError
10
+ } from "./chunk-TTHAZGRG.mjs";
11
11
 
12
12
  // packages/render/src/fonts/lock.ts
13
13
  import { existsSync, mkdirSync, readFileSync as readFileSync2, writeFileSync } from "node:fs";
@@ -67,9 +67,9 @@ function inspectFont(path) {
67
67
  }
68
68
 
69
69
  // packages/render/src/fonts/lock.ts
70
- var lockPath = (root) => join(root, CODECUT_DIR, "fonts.lock.json");
71
- var ledgerPath = (root) => join(root, CODECUT_DIR, "ledger.json");
72
- var layoutCachePath = (root) => join(root, CODECUT_DIR, "layout-cache.json");
70
+ var lockPath = (root) => join(root, FLOMOTION_DIR, "fonts.lock.json");
71
+ var ledgerPath = (root) => join(root, FLOMOTION_DIR, "ledger.json");
72
+ var layoutCachePath = (root) => join(root, FLOMOTION_DIR, "layout-cache.json");
73
73
  function readJson(path, fallback) {
74
74
  try {
75
75
  return JSON.parse(readFileSync2(path, "utf8"));
@@ -148,33 +148,33 @@ function resolveFromLock(root, decl, lock = readLock(root)) {
148
148
  };
149
149
  }
150
150
  if (!e) {
151
- throw new CodeCutError(
151
+ throw new FlomotionError(
152
152
  "font_error",
153
- `Font "${decl.id}" (${decl.family}) is not in .codecut/fonts.lock.json`,
154
- { fix: "Run `codecut fonts sync` to download and lock it." }
153
+ `Font "${decl.id}" (${decl.family}) is not in .flomotion/fonts.lock.json`,
154
+ { fix: "Run `flomotion fonts sync` to download and lock it." }
155
155
  );
156
156
  }
157
157
  if (e.declHash !== declHash(decl)) {
158
- throw new CodeCutError("font_error", `Font "${decl.id}" changed since it was locked`, {
159
- fix: "Run `codecut fonts sync` to refresh the lock for the new declaration."
158
+ throw new FlomotionError("font_error", `Font "${decl.id}" changed since it was locked`, {
159
+ fix: "Run `flomotion fonts sync` to refresh the lock for the new declaration."
160
160
  });
161
161
  }
162
162
  const files = [];
163
163
  for (const f of e.files) {
164
164
  const abs = join(root, f.path);
165
165
  if (!existsSync(abs)) {
166
- throw new CodeCutError("font_error", `Font "${decl.id}": file ${f.path} is missing`, {
167
- fix: "Restore the file or run `codecut fonts sync`.",
166
+ throw new FlomotionError("font_error", `Font "${decl.id}": file ${f.path} is missing`, {
167
+ fix: "Restore the file or run `flomotion fonts sync`.",
168
168
  details: { id: decl.id, path: f.path }
169
169
  });
170
170
  }
171
171
  const hash = sha256(readFileSync2(abs));
172
172
  if (hash !== f.hash) {
173
- throw new CodeCutError(
173
+ throw new FlomotionError(
174
174
  "font_error",
175
175
  `Font "${decl.id}": ${f.path} changed on disk (hash mismatch)`,
176
176
  {
177
- fix: "If the change is intended, run `codecut fonts sync --update-lock`.",
177
+ fix: "If the change is intended, run `flomotion fonts sync --update-lock`.",
178
178
  details: { id: decl.id, path: f.path, expected: f.hash, actual: hash }
179
179
  }
180
180
  );
@@ -11,9 +11,9 @@ import {
11
11
  recordLedger,
12
12
  resolveFromLock,
13
13
  writeJson
14
- } from "./chunk-JCLRAREG.mjs";
15
- import "./chunk-AVP5XX4G.mjs";
16
- import "./chunk-IUSYVGP6.mjs";
14
+ } from "./chunk-XWY6CUY6.mjs";
15
+ import "./chunk-PEC2UVQY.mjs";
16
+ import "./chunk-TTHAZGRG.mjs";
17
17
  export {
18
18
  declHash,
19
19
  layoutCachePath,
@@ -5,18 +5,21 @@ import {
5
5
  Audio,
6
6
  B,
7
7
  Blur,
8
+ BoldKinetic,
8
9
  Captions,
9
10
  Card,
10
11
  Center,
11
12
  Chart,
12
13
  Chip,
13
14
  Circle,
15
+ CleanLight,
14
16
  Clip,
15
17
  CodeBlock,
16
18
  ColorGrade,
17
19
  Counter,
18
20
  Cursor,
19
21
  Curves,
22
+ DarkProduct,
20
23
  DropShadow,
21
24
  Enter,
22
25
  Exit,
@@ -119,20 +122,20 @@ import {
119
122
  unitChannels,
120
123
  unitPosition,
121
124
  withAlpha
122
- } from "./chunks/chunk-QG2MOGKO.mjs";
125
+ } from "./chunks/chunk-IGG2VZB6.mjs";
123
126
  import {
124
127
  AT_PRESETS,
125
128
  Adjustment,
126
129
  BLEND_MODES,
127
- CODECUT_DIR,
128
- CODECUT_NAME,
129
- CODECUT_SCOPE,
130
130
  CacheMeasurer,
131
131
  CollectingMeasurer,
132
132
  Composition,
133
133
  DEFAULT_LINT_CONFIG,
134
134
  DIRECTIONS8,
135
135
  EDIT_OPS,
136
+ FLOMOTION_DIR,
137
+ FLOMOTION_NAME,
138
+ FLOMOTION_SCOPE,
136
139
  FONT_SOURCES,
137
140
  Font,
138
141
  Fonts,
@@ -275,21 +278,21 @@ import {
275
278
  validateProps,
276
279
  vec2,
277
280
  vec3
278
- } from "./chunks/chunk-AVP5XX4G.mjs";
281
+ } from "./chunks/chunk-PEC2UVQY.mjs";
279
282
  import {
280
- CodeCutError,
281
283
  FRAGMENT,
284
+ FlomotionError,
282
285
  cloneNode,
283
286
  findById,
284
287
  flattenChildren,
285
- isCodeCutError,
288
+ isFlomotionError,
286
289
  isNode,
287
290
  jsx,
288
291
  jsxDEV,
289
292
  jsxs,
290
293
  serializeNode,
291
294
  walk
292
- } from "./chunks/chunk-IUSYVGP6.mjs";
295
+ } from "./chunks/chunk-TTHAZGRG.mjs";
293
296
  export {
294
297
  ANIMATE_PROPS,
295
298
  AT_PRESETS,
@@ -299,9 +302,7 @@ export {
299
302
  B,
300
303
  BLEND_MODES,
301
304
  Blur,
302
- CODECUT_DIR,
303
- CODECUT_NAME,
304
- CODECUT_SCOPE,
305
+ BoldKinetic,
305
306
  CacheMeasurer,
306
307
  Captions,
307
308
  Card,
@@ -309,9 +310,9 @@ export {
309
310
  Chart,
310
311
  Chip,
311
312
  Circle,
313
+ CleanLight,
312
314
  Clip,
313
315
  CodeBlock,
314
- CodeCutError,
315
316
  CollectingMeasurer,
316
317
  ColorGrade,
317
318
  Composition,
@@ -320,12 +321,17 @@ export {
320
321
  Curves,
321
322
  DEFAULT_LINT_CONFIG,
322
323
  DIRECTIONS8,
324
+ DarkProduct,
323
325
  DropShadow,
324
326
  EDIT_OPS,
325
327
  Enter,
326
328
  Exit,
329
+ FLOMOTION_DIR,
330
+ FLOMOTION_NAME,
331
+ FLOMOTION_SCOPE,
327
332
  FONT_SOURCES,
328
333
  FRAGMENT,
334
+ FlomotionError,
329
335
  Font,
330
336
  Fonts,
331
337
  Fragment,
@@ -467,9 +473,9 @@ export {
467
473
  halfPlanePolygon,
468
474
  hashSeed,
469
475
  int,
470
- isCodeCutError,
471
476
  isConst,
472
477
  isExpr,
478
+ isFlomotionError,
473
479
  isKeyframes,
474
480
  isNode,
475
481
  isSignal,
package/dist/core.mjs CHANGED
@@ -3,15 +3,15 @@ import {
3
3
  AT_PRESETS,
4
4
  Adjustment,
5
5
  BLEND_MODES,
6
- CODECUT_DIR,
7
- CODECUT_NAME,
8
- CODECUT_SCOPE,
9
6
  CacheMeasurer,
10
7
  CollectingMeasurer,
11
8
  Composition,
12
9
  DEFAULT_LINT_CONFIG,
13
10
  DIRECTIONS8,
14
11
  EDIT_OPS,
12
+ FLOMOTION_DIR,
13
+ FLOMOTION_NAME,
14
+ FLOMOTION_SCOPE,
15
15
  FONT_SOURCES,
16
16
  Font,
17
17
  Fonts,
@@ -154,37 +154,37 @@ import {
154
154
  validateProps,
155
155
  vec2,
156
156
  vec3
157
- } from "./chunks/chunk-AVP5XX4G.mjs";
157
+ } from "./chunks/chunk-PEC2UVQY.mjs";
158
158
  import {
159
- CodeCutError,
160
159
  FRAGMENT,
160
+ FlomotionError,
161
161
  cloneNode,
162
162
  findById,
163
163
  flattenChildren,
164
- isCodeCutError,
164
+ isFlomotionError,
165
165
  isNode,
166
166
  jsx,
167
167
  jsxDEV,
168
168
  jsxs,
169
169
  serializeNode,
170
170
  walk
171
- } from "./chunks/chunk-IUSYVGP6.mjs";
171
+ } from "./chunks/chunk-TTHAZGRG.mjs";
172
172
  export {
173
173
  AT_PRESETS,
174
174
  Adjustment,
175
175
  BLEND_MODES,
176
- CODECUT_DIR,
177
- CODECUT_NAME,
178
- CODECUT_SCOPE,
179
176
  CacheMeasurer,
180
- CodeCutError,
181
177
  CollectingMeasurer,
182
178
  Composition,
183
179
  DEFAULT_LINT_CONFIG,
184
180
  DIRECTIONS8,
185
181
  EDIT_OPS,
182
+ FLOMOTION_DIR,
183
+ FLOMOTION_NAME,
184
+ FLOMOTION_SCOPE,
186
185
  FONT_SOURCES,
187
186
  FRAGMENT,
187
+ FlomotionError,
188
188
  Font,
189
189
  Fonts,
190
190
  Fragment,
@@ -263,9 +263,9 @@ export {
263
263
  halfPlanePolygon,
264
264
  hashSeed,
265
265
  int,
266
- isCodeCutError,
267
266
  isConst,
268
267
  isExpr,
268
+ isFlomotionError,
269
269
  isKeyframes,
270
270
  isNode,
271
271
  isSignal,
package/dist/hooks.mjs CHANGED
@@ -1,24 +1,20 @@
1
1
  // Node module hooks for the published CLI (registered by bin.ts; not used in the repo, where tsx does this).
2
2
  //
3
- // 1. Project files import "@codecut/components" and the JSX runtime "@codecut/core/jsx-runtime". In a published
4
- // install those names are not in any node_modules, so map them (and the public "codecut/…" names) to the files
3
+ // 1. Project files import "@flomotion/components" and the JSX runtime "@flomotion/core/jsx-runtime". In a published
4
+ // install those names are not in any node_modules, so map them (and the public "flomotion/…" names) to the files
5
5
  // of the running install. One copy of each module means one component registry, whatever else is installed.
6
6
  // 2. TypeScript and TSX files outside node_modules are compiled with esbuild using the JSX runtime of
7
- // @codecut/core. Nothing depends on the working directory or on a tsconfig.json that may not exist yet.
7
+ // @flomotion/core. Nothing depends on the working directory or on a tsconfig.json that may not exist yet.
8
8
  import { readFileSync, existsSync, statSync } from "node:fs";
9
9
  import { fileURLToPath, pathToFileURL } from "node:url";
10
10
  import { transformSync } from "esbuild";
11
11
 
12
12
  const here = new URL("./", import.meta.url);
13
13
  const LIBS = new Map([
14
- ["@codecut/core", "core.mjs"],
15
- ["@codecut/components", "components.mjs"],
16
- ["@codecut/core/jsx-runtime", "jsx-runtime.mjs"],
17
- ["@codecut/core/jsx-dev-runtime", "jsx-dev-runtime.mjs"],
18
- ["codecut/core", "core.mjs"],
19
- ["codecut/components", "components.mjs"],
20
- ["codecut/jsx-runtime", "jsx-runtime.mjs"],
21
- ["codecut/jsx-dev-runtime", "jsx-dev-runtime.mjs"],
14
+ ["@flomotion/core", "core.mjs"],
15
+ ["@flomotion/components", "components.mjs"],
16
+ ["@flomotion/core/jsx-runtime", "jsx-runtime.mjs"],
17
+ ["@flomotion/core/jsx-dev-runtime", "jsx-dev-runtime.mjs"],
22
18
  ["flomotion/core", "core.mjs"],
23
19
  ["flomotion/components", "components.mjs"],
24
20
  ["flomotion/jsx-runtime", "jsx-runtime.mjs"],
@@ -56,7 +52,7 @@ export async function load(url, context, nextLoad) {
56
52
  format: "esm",
57
53
  target: "es2023",
58
54
  jsx: "automatic",
59
- jsxImportSource: "@codecut/core",
55
+ jsxImportSource: "@flomotion/core",
60
56
  sourcefile: path,
61
57
  sourcemap: "inline",
62
58
  });
@@ -4,7 +4,7 @@ import {
4
4
  jsx,
5
5
  jsxDEV,
6
6
  jsxs
7
- } from "./chunks/chunk-IUSYVGP6.mjs";
7
+ } from "./chunks/chunk-TTHAZGRG.mjs";
8
8
  export {
9
9
  Fragment,
10
10
  jsx,
@@ -3,7 +3,7 @@ import {
3
3
  Fragment,
4
4
  jsx,
5
5
  jsxs
6
- } from "./chunks/chunk-IUSYVGP6.mjs";
6
+ } from "./chunks/chunk-TTHAZGRG.mjs";
7
7
  export {
8
8
  Fragment,
9
9
  jsx,
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -31,7 +31,7 @@ Children: effects only.
31
31
 
32
32
  ```ts
33
33
  export interface AdjustmentProps {
34
- /** Stable unique id. Written back as cc_… when missing. */
34
+ /** Stable unique id. Written back as fm_… when missing. */
35
35
  id?: string;
36
36
  label?: string;
37
37
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: none.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -25,7 +25,7 @@ Children: none.
25
25
 
26
26
  ```ts
27
27
  export interface AudioProps {
28
- /** Stable unique id. Written back as cc_… when missing. */
28
+ /** Stable unique id. Written back as fm_… when missing. */
29
29
  id?: string;
30
30
  label?: string;
31
31
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,15 +8,15 @@ Children: any layers and effects.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
+ | `id` | `string` | | Stable unique id. |
11
12
  | `weight` | `number` | `700` | range 1..1000 |
12
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
13
13
 
14
14
  ```ts
15
15
  export interface BProps {
16
+ /** Stable unique id. */
17
+ id?: string;
16
18
  /** range 1..1000; default 700 */
17
19
  weight?: number;
18
- /** Stable unique id. Written back as cc_… when missing. */
19
- id?: string;
20
20
  children?: unknown;
21
21
  }
22
22
  ```
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -77,7 +77,7 @@ Children: effects only.
77
77
 
78
78
  ```ts
79
79
  export interface CaptionsProps {
80
- /** Stable unique id. Written back as cc_… when missing. */
80
+ /** Stable unique id. Written back as fm_… when missing. */
81
81
  id?: string;
82
82
  label?: string;
83
83
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: any layers and effects.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -42,7 +42,7 @@ Children: any layers and effects.
42
42
 
43
43
  ```ts
44
44
  export interface CardProps {
45
- /** Stable unique id. Written back as cc_… when missing. */
45
+ /** Stable unique id. Written back as fm_… when missing. */
46
46
  id?: string;
47
47
  label?: string;
48
48
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: any layers and effects.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -33,7 +33,7 @@ Children: any layers and effects.
33
33
 
34
34
  ```ts
35
35
  export interface CenterProps {
36
- /** Stable unique id. Written back as cc_… when missing. */
36
+ /** Stable unique id. Written back as fm_… when missing. */
37
37
  id?: string;
38
38
  label?: string;
39
39
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -45,7 +45,7 @@ Children: effects only.
45
45
 
46
46
  ```ts
47
47
  export interface ChartProps {
48
- /** Stable unique id. Written back as cc_… when missing. */
48
+ /** Stable unique id. Written back as fm_… when missing. */
49
49
  id?: string;
50
50
  label?: string;
51
51
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | `"Label"` | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -41,7 +41,7 @@ Children: effects only.
41
41
 
42
42
  ```ts
43
43
  export interface ChipProps {
44
- /** Stable unique id. Written back as cc_… when missing. */
44
+ /** Stable unique id. Written back as fm_… when missing. */
45
45
  id?: string;
46
46
  /** default "Label" */
47
47
  label?: string;
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -36,7 +36,7 @@ Children: effects only.
36
36
 
37
37
  ```ts
38
38
  export interface CircleProps {
39
- /** Stable unique id. Written back as cc_… when missing. */
39
+ /** Stable unique id. Written back as fm_… when missing. */
40
40
  id?: string;
41
41
  label?: string;
42
42
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -42,7 +42,7 @@ Children: effects only.
42
42
 
43
43
  ```ts
44
44
  export interface ClipProps {
45
- /** Stable unique id. Written back as cc_… when missing. */
45
+ /** Stable unique id. Written back as fm_… when missing. */
46
46
  id?: string;
47
47
  label?: string;
48
48
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -41,7 +41,7 @@ Children: effects only.
41
41
 
42
42
  ```ts
43
43
  export interface CodeBlockProps {
44
- /** Stable unique id. Written back as cc_… when missing. */
44
+ /** Stable unique id. Written back as fm_… when missing. */
45
45
  id?: string;
46
46
  label?: string;
47
47
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: any layers and effects.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `size` | `number | Vec2` | `[1920,1080]` | [width, height]; unit px |
13
13
  | `fps` | `number` | `30` | range 1..240 |
14
14
  | `duration` | `Time` | | unit s |
@@ -19,7 +19,7 @@ Children: any layers and effects.
19
19
 
20
20
  ```ts
21
21
  export interface CompositionProps {
22
- /** Stable unique id. Written back as cc_… when missing. */
22
+ /** Stable unique id. Written back as fm_… when missing. */
23
23
  id?: string;
24
24
  /** [width, height]; unit px; default [1920,1080] */
25
25
  size?: number | Vec2;
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -80,7 +80,7 @@ Children: effects only.
80
80
 
81
81
  ```ts
82
82
  export interface CounterProps {
83
- /** Stable unique id. Written back as cc_… when missing. */
83
+ /** Stable unique id. Written back as fm_… when missing. */
84
84
  id?: string;
85
85
  label?: string;
86
86
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */
@@ -8,7 +8,7 @@ Children: effects only.
8
8
 
9
9
  | Prop | Type | Default | Notes |
10
10
  | --- | --- | --- | --- |
11
- | `id` | `string` | | Stable unique id. Written back as cc_… when missing. |
11
+ | `id` | `string` | | Stable unique id. Written back as fm_… when missing. |
12
12
  | `label` | `string` | | |
13
13
  | `start` | `Time` | | Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s |
14
14
  | `duration` | `Time` | | Defaults to the rest of the parent.; unit s |
@@ -38,7 +38,7 @@ Children: effects only.
38
38
 
39
39
  ```ts
40
40
  export interface CursorProps {
41
- /** Stable unique id. Written back as cc_… when missing. */
41
+ /** Stable unique id. Written back as fm_… when missing. */
42
42
  id?: string;
43
43
  label?: string;
44
44
  /** Start relative to the parent Scene/Precomp. Use "@12s" for absolute time.; unit s */