@make-pictures/kits 0.0.0-stage → 2.0.1

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 (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +49 -2
  3. package/dist/chunk-3SUIELJV.mjs +601 -0
  4. package/dist/chunk-4Z3G6FPZ.mjs +485 -0
  5. package/dist/chunk-AHA23PHC.mjs +678 -0
  6. package/dist/chunk-CW623YVB.mjs +1124 -0
  7. package/dist/chunk-NNA7XXQB.mjs +1059 -0
  8. package/dist/chunk-S4CHTWOS.mjs +1237 -0
  9. package/dist/chunk-WAA7P5FT.mjs +912 -0
  10. package/dist/data-storytelling/AnimatedBarRace.d.ts +37 -0
  11. package/dist/data-storytelling/MetricComparisonCard.d.ts +29 -0
  12. package/dist/data-storytelling/TimelineTrack.d.ts +29 -0
  13. package/dist/data-storytelling/index.cjs +1224 -0
  14. package/dist/data-storytelling/index.d.ts +3 -0
  15. package/dist/data-storytelling/index.mjs +10 -0
  16. package/dist/index.cjs +6010 -0
  17. package/dist/index.d.ts +7 -0
  18. package/dist/index.mjs +108 -0
  19. package/dist/isometric-3d/IsometricStudioEnvironment.d.ts +8 -0
  20. package/dist/isometric-3d/Stylized3DCharacter.d.ts +29 -0
  21. package/dist/isometric-3d/index.cjs +611 -0
  22. package/dist/isometric-3d/index.d.ts +2 -0
  23. package/dist/isometric-3d/index.mjs +8 -0
  24. package/dist/kinetic-typography/AnimatedMetricCounter.d.ts +36 -0
  25. package/dist/kinetic-typography/ImpactKeywordCard.d.ts +31 -0
  26. package/dist/kinetic-typography/WordByWordStage.d.ts +47 -0
  27. package/dist/kinetic-typography/index.cjs +665 -0
  28. package/dist/kinetic-typography/index.d.ts +3 -0
  29. package/dist/kinetic-typography/index.mjs +14 -0
  30. package/dist/motion-diagrams-2d/CameraRig.d.ts +34 -0
  31. package/dist/motion-diagrams-2d/CodePayloadToast.d.ts +14 -0
  32. package/dist/motion-diagrams-2d/DataFlowEdge.d.ts +24 -0
  33. package/dist/motion-diagrams-2d/NodeBox.d.ts +65 -0
  34. package/dist/motion-diagrams-2d/SystemNode.d.ts +21 -0
  35. package/dist/motion-diagrams-2d/index.cjs +1137 -0
  36. package/dist/motion-diagrams-2d/index.d.ts +5 -0
  37. package/dist/motion-diagrams-2d/index.mjs +28 -0
  38. package/dist/paper-diorama-3d/ImageCutout3D.d.ts +47 -0
  39. package/dist/paper-diorama-3d/PaperCutout3D.d.ts +62 -0
  40. package/dist/paper-diorama-3d/PaperPopUpBook3D.d.ts +51 -0
  41. package/dist/paper-diorama-3d/PaperStageLighting3D.d.ts +12 -0
  42. package/dist/paper-diorama-3d/index.cjs +1087 -0
  43. package/dist/paper-diorama-3d/index.d.ts +4 -0
  44. package/dist/paper-diorama-3d/index.mjs +34 -0
  45. package/dist/product-frames/BrowserFrame.d.ts +28 -0
  46. package/dist/product-frames/PhoneFrame.d.ts +23 -0
  47. package/dist/product-frames/ScreenSpotlightOverlay.d.ts +34 -0
  48. package/dist/product-frames/frameMedia.d.ts +24 -0
  49. package/dist/product-frames/index.cjs +507 -0
  50. package/dist/product-frames/index.d.ts +8 -0
  51. package/dist/product-frames/index.mjs +12 -0
  52. package/dist/vfx/CinematicLensOverlay.d.ts +29 -0
  53. package/dist/vfx/ParticleField.d.ts +18 -0
  54. package/dist/vfx/SceneTransition.d.ts +24 -0
  55. package/dist/vfx/StagePostProcessing3D.d.ts +44 -0
  56. package/dist/vfx/index.cjs +933 -0
  57. package/dist/vfx/index.d.ts +4 -0
  58. package/dist/vfx/index.mjs +14 -0
  59. package/package.json +95 -4
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ export interface ImpactKeywordCardProps {
3
+ /** Primary bold statement (keep concise: 2–4 words per AGENTS.md) */
4
+ keyword: string;
5
+ /** Optional small category eyebrow above the keyword */
6
+ eyebrow?: string;
7
+ /** Optional concise 2–4 word takeaway sublabel */
8
+ sublabel?: string;
9
+ /** Optional status pill badge (e.g. `"60 FPS"`, `"-14 LUFS"`) */
10
+ badge?: string;
11
+ /** Custom icon node (`lucide-react`); defaults to `<Sparkles />` unless `icon={null}` */
12
+ icon?: React.ReactNode;
13
+ /** Accent bar & glow color (default `STUDIO_THEME.colors.brand[600]`) */
14
+ accentColor?: string;
15
+ /** Theme surface mode (default `'dark'`) */
16
+ variant?: 'dark' | 'light';
17
+ /** Entrance frame (default `2`, obeying Frame 0 clean board rule) */
18
+ enterFrame?: number;
19
+ /** Alias for `enterFrame` */
20
+ startFrame?: number;
21
+ /** Optional exit frame for smooth spring dismissal */
22
+ exitFrame?: number;
23
+ /** Constrain max width cleanly inside `9:16 Golden Safe Box` when vertical (default `true`) */
24
+ safeBox9x16?: boolean;
25
+ style?: React.CSSProperties;
26
+ }
27
+ /**
28
+ * Bold 60 FPS Typographic Hero Card with glowing accent bar, icon badge,
29
+ * and high-damping (`damping: 200`) spring entrance.
30
+ */
31
+ export declare const ImpactKeywordCard: React.FC<ImpactKeywordCardProps>;
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ import type { SceneVoiceoverData, WordTimestamp } from '@make-pictures/core';
3
+ export interface WordPhraseBeat {
4
+ words: WordTimestamp[];
5
+ startFrame: number;
6
+ endFrame: number;
7
+ }
8
+ export interface WordByWordStageProps {
9
+ /** Word-level timestamps (`WordTimestamp[]`) to drive rhythmic phrase beats */
10
+ words?: ReadonlyArray<WordTimestamp>;
11
+ /** Optional sceneId lookup into `voiceoverManifest` (used when `words` is omitted) */
12
+ sceneId?: string;
13
+ /** Optional isolated capsule voiceover manifest */
14
+ voiceoverManifest?: Record<string, SceneVoiceoverData>;
15
+ /** Optional fallback text if neither `words` nor `sceneId` has timestamps yet */
16
+ fallbackText?: string;
17
+ /** Composition frame offset when this scene starts (default `0`) */
18
+ sceneStartFrame?: number;
19
+ /** Target words per visual beat (`3..5` recommended, default `4`) */
20
+ wordsPerBeat?: number;
21
+ /** Highlight pill accent color (default `STUDIO_THEME.colors.brand[600]`) */
22
+ accentColor?: string;
23
+ /** Surface styling mode (`'transparent'` overlays 2D/3D stage cleanly) */
24
+ variant?: 'dark' | 'light' | 'transparent';
25
+ /** Optional top category pill */
26
+ eyebrow?: string;
27
+ /** Optional explicit headline font size in px */
28
+ fontSize?: number;
29
+ /** Constrain layout strictly inside `9:16 Golden Safe Box` when `height > width` (default `true`) */
30
+ safeBox9x16?: boolean;
31
+ /** Entrance start frame (clamped `>= 2` by default so Frame 0 stays clean) */
32
+ enterFrame?: number;
33
+ /** Alias for `enterFrame` */
34
+ startFrame?: number;
35
+ style?: React.CSSProperties;
36
+ }
37
+ /**
38
+ * Groups `WordTimestamp[]` into crisp rhythmic phrases of `3–5` words,
39
+ * breaking naturally on sentence-ending punctuation or vocal pauses.
40
+ */
41
+ export declare function groupWordsIntoBeats(words: ReadonlyArray<WordTimestamp>, wordsPerBeat?: number, fps?: number): WordPhraseBeat[];
42
+ /**
43
+ * Rhythmic 60 FPS Kinetic Typography spotlight synced to `WordTimestamp[]`.
44
+ * Features damped active-word scale pop, glowing pill highlight, smart 3–5 word phrase beats,
45
+ * and automatic `9:16 Golden Safe Box` (`x ∈ [40, 910], y ∈ [220, 1380]`) framing.
46
+ */
47
+ export declare const WordByWordStage: React.FC<WordByWordStageProps>;