@hyperframes/studio 0.8.50 → 0.8.51

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 (215) hide show
  1. package/dist/assets/{hyperframes-player-CxxDxHTW.js → hyperframes-player-Cn_PpHqP.js} +3 -3
  2. package/dist/assets/index-C05SNrvY.js +360 -0
  3. package/dist/assets/{index-DUAIWxkI.js → index-CPS3Cvj8.js} +1 -1
  4. package/dist/assets/{index-Dt3qBI-9.js → index-Clrb11lj.js} +1 -1
  5. package/dist/assets/index-DUR9qzQM.css +1 -0
  6. package/dist/index.d.ts +18 -13
  7. package/dist/index.html +2 -2
  8. package/dist/index.js +1867 -3335
  9. package/dist/index.js.map +1 -1
  10. package/dist/styles/tailwind-preset.js.map +1 -1
  11. package/package.json +11 -12
  12. package/src/App.tsx +128 -141
  13. package/src/captions/components/CaptionAnimationPanel.tsx +4 -4
  14. package/src/captions/components/CaptionOverlayUtils.ts +2 -3
  15. package/src/captions/components/CaptionPropertyPanel.tsx +3 -3
  16. package/src/captions/components/CaptionTimeline.tsx +1 -1
  17. package/src/captions/components/shared.tsx +2 -2
  18. package/src/components/AskAgentModal.tsx +5 -5
  19. package/src/components/EditorShell.tsx +4 -7
  20. package/src/components/ExternalFileConflictBanner.tsx +16 -16
  21. package/src/components/LintModal.tsx +6 -16
  22. package/src/components/MediaPreview.tsx +2 -2
  23. package/src/components/SaveQueuePausedBanner.tsx +2 -2
  24. package/src/components/StudioHeader.tsx +2 -62
  25. package/src/components/StudioLeftSidebar.tsx +7 -4
  26. package/src/components/StudioOverlays.tsx +1 -1
  27. package/src/components/StudioRightPanel.tsx +4 -4
  28. package/src/components/StudioToast.tsx +2 -2
  29. package/src/components/TimelineToolbar.tsx +7 -7
  30. package/src/components/dock/Dock.test.tsx +192 -0
  31. package/src/components/dock/Dock.tsx +264 -0
  32. package/src/components/dock/dock.css +23 -0
  33. package/src/components/dock/dockLayout.ts +58 -0
  34. package/src/components/dock/dockLayoutSchema.ts +66 -0
  35. package/src/components/dock/dockLayoutStore.ts +91 -0
  36. package/src/components/dock/panelRegistry.ts +67 -0
  37. package/src/components/editor/AnimationCard.tsx +4 -4
  38. package/src/components/editor/AnimationCardParts.tsx +6 -6
  39. package/src/components/editor/BlockParamsPanel.tsx +4 -4
  40. package/src/components/editor/BorderRadiusEditor.tsx +1 -1
  41. package/src/components/editor/CanvasContextMenu.tsx +1 -1
  42. package/src/components/editor/ComputedTweenNotice.tsx +1 -1
  43. package/src/components/editor/DomEditOverlay.tsx +1 -1
  44. package/src/components/editor/EaseCurveSection.tsx +1 -1
  45. package/src/components/editor/EaseParamFields.tsx +5 -5
  46. package/src/components/editor/FileTree.tsx +4 -4
  47. package/src/components/editor/FileTreeIcons.tsx +1 -1
  48. package/src/components/editor/FileTreeNodes.tsx +13 -13
  49. package/src/components/editor/InlineTextToolbar.tsx +1 -1
  50. package/src/components/editor/InspectorHeaderActions.tsx +3 -3
  51. package/src/components/editor/KeyframeDiamond.tsx +1 -1
  52. package/src/components/editor/KeyframeEaseList.tsx +1 -1
  53. package/src/components/editor/LayersPanel.tsx +3 -3
  54. package/src/components/editor/MarqueeOverlay.tsx +1 -1
  55. package/src/components/editor/OffCanvasIndicators.tsx +1 -1
  56. package/src/components/editor/PromotableControl.tsx +2 -2
  57. package/src/components/editor/PropertyPanelEmptyState.tsx +7 -7
  58. package/src/components/editor/PropertyPanelFlatHeader.tsx +2 -2
  59. package/src/components/editor/SnapToolbar.tsx +2 -2
  60. package/src/components/editor/TimelineFxPopover.tsx +1 -1
  61. package/src/components/editor/TopologyLens.tsx +4 -4
  62. package/src/components/editor/Transform3DCube.tsx +2 -2
  63. package/src/components/editor/audioFxRevealTarget.ts +1 -0
  64. package/src/components/editor/domEditing.test.ts +1 -1
  65. package/src/components/editor/domEditingAgentPrompt.test.ts +8 -6
  66. package/src/components/editor/domEditingAgentPrompt.ts +4 -3
  67. package/src/components/editor/propertyPanelColor.tsx +11 -11
  68. package/src/components/editor/propertyPanelColorCurveGraph.tsx +1 -1
  69. package/src/components/editor/propertyPanelColorGradingControls.tsx +7 -9
  70. package/src/components/editor/propertyPanelColorGradingSection.tsx +6 -6
  71. package/src/components/editor/propertyPanelColorGradingSlider.tsx +5 -5
  72. package/src/components/editor/propertyPanelColorWheels.tsx +1 -1
  73. package/src/components/editor/propertyPanelCommitField.tsx +1 -1
  74. package/src/components/editor/propertyPanelFill.tsx +4 -4
  75. package/src/components/editor/propertyPanelFlatColorGradingAccessory.tsx +3 -3
  76. package/src/components/editor/propertyPanelFlatColorGradingSection.tsx +7 -7
  77. package/src/components/editor/propertyPanelFlatEffectsSection.tsx +4 -4
  78. package/src/components/editor/propertyPanelFlatMediaSection.tsx +3 -3
  79. package/src/components/editor/propertyPanelFlatOverlaysSection.tsx +1 -1
  80. package/src/components/editor/propertyPanelFlatPrimitives.tsx +10 -10
  81. package/src/components/editor/propertyPanelFlatSelectRow.tsx +3 -3
  82. package/src/components/editor/propertyPanelFlatTextSection.test.tsx +8 -9
  83. package/src/components/editor/propertyPanelFlatTextSection.tsx +5 -5
  84. package/src/components/editor/propertyPanelFlatToggle.tsx +1 -1
  85. package/src/components/editor/propertyPanelFont.tsx +5 -5
  86. package/src/components/editor/propertyPanelFxCarveModule.tsx +1 -1
  87. package/src/components/editor/propertyPanelFxControls.test.tsx +1 -1
  88. package/src/components/editor/propertyPanelFxControls.tsx +6 -6
  89. package/src/components/editor/propertyPanelFxEqModule.tsx +2 -2
  90. package/src/components/editor/propertyPanelFxPresetStyle.ts +2 -2
  91. package/src/components/editor/propertyPanelGradingNumberField.tsx +1 -1
  92. package/src/components/editor/propertyPanelMediaSection.tsx +1 -1
  93. package/src/components/editor/propertyPanelPrimitives.tsx +7 -7
  94. package/src/components/editor/propertyPanelSections.tsx +8 -8
  95. package/src/components/feedback/StudioFeedbackCard.tsx +7 -7
  96. package/src/components/feedback/feedbackTrigger.ts +0 -1
  97. package/src/components/nle/AssetPreviewOverlay.tsx +6 -2
  98. package/src/components/nle/CompositionBreadcrumb.tsx +3 -3
  99. package/src/components/nle/NLEPreview.tsx +3 -3
  100. package/src/components/nle/PreviewOverlays.tsx +6 -6
  101. package/src/components/nle/PreviewPane.tsx +2 -2
  102. package/src/components/nle/TimelinePane.tsx +3 -3
  103. package/src/components/nle/TimelineResizeDivider.tsx +2 -2
  104. package/src/components/panels/SlideshowPanel.tsx +2 -2
  105. package/src/components/panels/SlideshowSubPanels.tsx +20 -17
  106. package/src/components/panels/VariablesBindElement.tsx +2 -2
  107. package/src/components/panels/VariablesDeclarationForm.tsx +2 -2
  108. package/src/components/panels/VariablesOtherCompositions.tsx +1 -1
  109. package/src/components/panels/VariablesPanel.tsx +3 -3
  110. package/src/components/panels/VariablesValueControls.tsx +2 -2
  111. package/src/components/renders/FfmpegRequiredNotice.tsx +5 -5
  112. package/src/components/renders/RenderQueue.test.tsx +7 -0
  113. package/src/components/renders/RenderQueue.tsx +6 -6
  114. package/src/components/renders/RenderQueueItem.tsx +6 -6
  115. package/src/components/sidebar/AssetCard.tsx +8 -8
  116. package/src/components/sidebar/AssetContextMenu.tsx +8 -8
  117. package/src/components/sidebar/AssetsTab.tsx +2 -2
  118. package/src/components/sidebar/AudioRow.tsx +6 -6
  119. package/src/components/sidebar/BlocksTab.tsx +6 -6
  120. package/src/components/sidebar/CompositionsTab.tsx +5 -5
  121. package/src/components/sidebar/GlobalAssetsView.tsx +1 -1
  122. package/src/components/sidebar/LeftSidebar.lintBadge.test.tsx +58 -0
  123. package/src/components/sidebar/LeftSidebar.tsx +19 -5
  124. package/src/components/sidebar/PromptPreviewModal.tsx +3 -3
  125. package/src/components/ui/Button.test.tsx +60 -0
  126. package/src/components/ui/Button.tsx +4 -4
  127. package/src/components/ui/SearchInput.tsx +2 -2
  128. package/src/components/ui/Tooltip.tsx +1 -1
  129. package/src/hooks/useAppHotkeys.ts +1 -1
  130. package/src/hooks/useLintModal.test.tsx +65 -0
  131. package/src/hooks/useLintModal.ts +3 -0
  132. package/src/hooks/useSdkSession.lifecycle.test.tsx +49 -4
  133. package/src/hooks/useSdkSession.ts +43 -10
  134. package/src/hooks/useTimelineAssetDropOps.test.tsx +41 -1
  135. package/src/hooks/useTimelineAssetDropOps.ts +52 -11
  136. package/src/main.tsx +9 -3
  137. package/src/player/components/AudioWaveform.tsx +1 -1
  138. package/src/player/components/AutomationSelectionMenu.tsx +2 -2
  139. package/src/player/components/ClipContextMenu.tsx +3 -3
  140. package/src/player/components/CompositionThumbnail.test.ts +0 -3
  141. package/src/player/components/CompositionThumbnail.tsx +3 -4
  142. package/src/player/components/EditModal.tsx +1 -1
  143. package/src/player/components/ImageThumbnail.tsx +1 -1
  144. package/src/player/components/KeyframeDiamondContextMenu.tsx +4 -4
  145. package/src/player/components/LayerDisclosureRow.tsx +2 -2
  146. package/src/player/components/PlayerControls.tsx +1 -1
  147. package/src/player/components/ShortcutsPanel.tsx +9 -9
  148. package/src/player/components/SpeedMenu.tsx +3 -5
  149. package/src/player/components/Timeline.tsx +2 -1
  150. package/src/player/components/TimelineCanvas.tsx +17 -10
  151. package/src/player/components/TimelineDiamondConnectors.tsx +1 -1
  152. package/src/player/components/TimelineEmptyState.tsx +5 -5
  153. package/src/player/components/TimelineFxButton.tsx +6 -6
  154. package/src/player/components/TimelineGroupHeader.tsx +5 -5
  155. package/src/player/components/TimelineGroupLaneLabels.tsx +1 -1
  156. package/src/player/components/TimelineGroupRow.tsx +1 -1
  157. package/src/player/components/TimelineLanes.test.tsx +32 -0
  158. package/src/player/components/TimelineLanes.tsx +2 -5
  159. package/src/player/components/TimelineLayerGroupHeader.tsx +2 -2
  160. package/src/player/components/TimelineRuler.tsx +1 -1
  161. package/src/player/components/TimelineShortcutHint.tsx +1 -1
  162. package/src/player/components/TimelineTrackHeader.tsx +1 -1
  163. package/src/player/components/TimelineTrackPlainHeader.tsx +3 -3
  164. package/src/player/components/TimelineTypes.ts +2 -1
  165. package/src/player/components/TrackGapContextMenu.tsx +1 -1
  166. package/src/player/components/VideoThumbnail.tsx +4 -2
  167. package/src/player/components/VolumeControl.tsx +2 -2
  168. package/src/player/components/timelineCallbacks.ts +8 -8
  169. package/src/player/components/timelineClipDragPreview.ts +51 -27
  170. package/src/player/components/timelineClipDragTypes.ts +3 -0
  171. package/src/player/components/timelineDragDrop.test.tsx +61 -1
  172. package/src/player/components/timelineDragDrop.ts +57 -15
  173. package/src/player/components/timelineLaneProps.ts +3 -0
  174. package/src/player/components/timelineSnapping.test.ts +27 -0
  175. package/src/player/components/timelineSnapping.ts +14 -1
  176. package/src/player/components/trackHeaderLabelRows.tsx +4 -4
  177. package/src/player/components/useTimelineClipDrag.resize.test.tsx +136 -2
  178. package/src/player/components/useTimelineClipDrag.ts +30 -3
  179. package/src/player/lib/describeClips.ts +3 -54
  180. package/src/styles/iconTokens.ts +20 -0
  181. package/src/styles/palette-reset.css +6 -0
  182. package/src/styles/studio.css +24 -21
  183. package/src/styles/tailwind-preset.shared.js +3 -0
  184. package/src/styles/theme.css +213 -0
  185. package/src/styles/theme.test.ts +196 -0
  186. package/src/utils/studioUiPreferences.ts +7 -0
  187. package/src/utils/timelineDropTrackInsert.test.ts +134 -0
  188. package/src/utils/timelineDropTrackInsert.ts +83 -0
  189. package/dist/assets/index-n2ml4tUn.js +0 -442
  190. package/dist/assets/index-pO6p0H27.css +0 -1
  191. package/src/components/storyboard/AgentChatMessageButton.test.tsx +0 -47
  192. package/src/components/storyboard/AgentChatMessageButton.tsx +0 -45
  193. package/src/components/storyboard/FramePoster.test.tsx +0 -61
  194. package/src/components/storyboard/FramePoster.tsx +0 -86
  195. package/src/components/storyboard/StoryboardDirection.tsx +0 -45
  196. package/src/components/storyboard/StoryboardFrameFocus.tsx +0 -412
  197. package/src/components/storyboard/StoryboardFrameTile.tsx +0 -117
  198. package/src/components/storyboard/StoryboardGrid.tsx +0 -55
  199. package/src/components/storyboard/StoryboardLoaded.tsx +0 -307
  200. package/src/components/storyboard/StoryboardReviewGuide.tsx +0 -300
  201. package/src/components/storyboard/StoryboardScriptPanel.tsx +0 -26
  202. package/src/components/storyboard/StoryboardSourceEditor.tsx +0 -231
  203. package/src/components/storyboard/StoryboardStatusLegend.tsx +0 -21
  204. package/src/components/storyboard/StoryboardView.tsx +0 -169
  205. package/src/components/storyboard/StoryboardViewModeGuard.test.tsx +0 -187
  206. package/src/components/storyboard/frameComments.test.ts +0 -95
  207. package/src/components/storyboard/frameComments.ts +0 -115
  208. package/src/components/storyboard/frameStatus.ts +0 -36
  209. package/src/components/storyboard/storyboardReviewStage.test.ts +0 -40
  210. package/src/components/storyboard/storyboardReviewStage.ts +0 -45
  211. package/src/components/storyboard/useFrameComments.ts +0 -98
  212. package/src/contexts/ViewModeContext.tsx +0 -142
  213. package/src/hooks/useProjectSignaturePoll.test.tsx +0 -135
  214. package/src/hooks/useProjectSignaturePoll.ts +0 -68
  215. package/src/hooks/useStoryboard.ts +0 -99
@@ -83,7 +83,7 @@ export function PromotableControl({
83
83
  <span
84
84
  // Sits above the row (not on top of top-0) so it clears a value that
85
85
  // renders flush to the row's right edge, e.g. flat Font/Color rows.
86
- className="pointer-events-none absolute -top-2 right-1.5 z-10 inline-flex max-w-[60%] items-center gap-1 truncate rounded bg-studio-accent/20 px-1 py-px font-mono text-[8px] font-medium text-studio-accent"
86
+ className="pointer-events-none absolute -top-2 right-1.5 z-10 inline-flex max-w-[60%] items-center gap-1 truncate rounded-sm bg-studio-accent/20 px-1 py-px font-mono text-[8px] font-medium text-studio-accent"
87
87
  title={`Bound to variable "${promote.boundId}"`}
88
88
  >
89
89
  ◆ {promote.boundId}
@@ -97,7 +97,7 @@ export function PromotableControl({
97
97
  e.stopPropagation();
98
98
  promote.promote();
99
99
  }}
100
- className="absolute -top-2 right-1.5 z-10 inline-flex items-center gap-1 rounded bg-neutral-800/80 px-1 py-px font-mono text-[8px] font-medium text-neutral-400 opacity-70 transition-colors hover:bg-studio-accent/20 hover:text-studio-accent hover:opacity-100"
100
+ className="absolute -top-2 right-1.5 z-10 inline-flex items-center gap-1 rounded-sm bg-neutral-800/80 px-1 py-px font-mono text-[8px] font-medium text-neutral-400 opacity-70 transition-colors hover:bg-studio-accent/20 hover:text-studio-accent hover:opacity-100"
101
101
  >
102
102
  ◇ var
103
103
  </button>
@@ -18,7 +18,7 @@ function FlatEmptyState() {
18
18
  </svg>
19
19
  </span>
20
20
  <div className="text-[13px] font-semibold text-panel-text-0">Nothing selected</div>
21
- <div className="max-w-[250px] text-[11px] leading-[1.5] text-panel-text-3">
21
+ <div className="max-w-[250px] text-[11px] leading-normal text-panel-text-3">
22
22
  Click any element on the canvas to edit it, or drag to select several.
23
23
  </div>
24
24
  <div className="mt-2 flex w-full flex-col gap-1.5">
@@ -27,7 +27,7 @@ function FlatEmptyState() {
27
27
  <span className="text-panel-danger">●</span>
28
28
  Record a gesture
29
29
  </span>
30
- <span className="rounded border border-panel-border-input px-[5px] py-px font-mono text-[9px] text-panel-text-5">
30
+ <span className="rounded-sm border border-panel-border-input px-[5px] py-px font-mono text-[9px] text-panel-text-5">
31
31
  R
32
32
  </span>
33
33
  </span>
@@ -36,7 +36,7 @@ function FlatEmptyState() {
36
36
  <span className="text-panel-accent">✦</span>
37
37
  Describe a change to the agent
38
38
  </span>
39
- <span className="rounded border border-panel-border-input px-[5px] py-px font-mono text-[9px] text-panel-text-5">
39
+ <span className="rounded-sm border border-panel-border-input px-[5px] py-px font-mono text-[9px] text-panel-text-5">
40
40
  ⌘K
41
41
  </span>
42
42
  </span>
@@ -74,7 +74,7 @@ function FlatMultiSelectState({
74
74
  return (
75
75
  <div className="flex flex-col gap-3 px-4 py-3">
76
76
  <div className="flex items-center gap-3 rounded-xl border border-panel-border bg-panel-surface p-3">
77
- <span className="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg bg-panel-accent/10 text-panel-accent">
77
+ <span className="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-panel-accent/10 text-panel-accent">
78
78
  <Layers size={16} />
79
79
  </span>
80
80
  <div className="min-w-0 flex-1">
@@ -90,7 +90,7 @@ function FlatMultiSelectState({
90
90
  data-flat-multiselect-clear="true"
91
91
  aria-label="Clear selection"
92
92
  onClick={onClearSelection}
93
- className="flex h-[26px] w-[26px] flex-shrink-0 items-center justify-center text-panel-text-3"
93
+ className="flex h-[26px] w-[26px] shrink-0 items-center justify-center text-panel-text-3"
94
94
  >
95
95
  <svg
96
96
  width="13"
@@ -113,14 +113,14 @@ function FlatMultiSelectState({
113
113
  className="flex items-center gap-2 rounded-lg border border-panel-border bg-panel-bg px-2.5 py-[7px]"
114
114
  >
115
115
  <span
116
- className={`flex h-[18px] w-[18px] flex-shrink-0 items-center justify-center rounded text-[9px] font-bold ${className}`}
116
+ className={`flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-sm text-[9px] font-bold ${className}`}
117
117
  >
118
118
  {glyph}
119
119
  </span>
120
120
  <span className="min-w-0 flex-1 truncate text-[11px] text-panel-text-1">
121
121
  {element.label}
122
122
  </span>
123
- <span className="flex-shrink-0 font-mono text-[9px] text-panel-text-4">
123
+ <span className="shrink-0 font-mono text-[9px] text-panel-text-4">
124
124
  {element.id ? `#${element.id}` : element.selector}
125
125
  </span>
126
126
  </span>
@@ -41,13 +41,13 @@ export function PropertyPanelFlatHeader({
41
41
  <Icon
42
42
  size={15}
43
43
  data-flat-header-icon="true"
44
- className={`flex-shrink-0 ${ICON_COLOR_BY_KIND[elementKind]}`}
44
+ className={`shrink-0 ${ICON_COLOR_BY_KIND[elementKind]}`}
45
45
  />
46
46
  <div className="flex min-w-0 flex-1 items-baseline gap-2">
47
47
  <span className="truncate text-[13px] font-semibold text-panel-text-0">{name}</span>
48
48
  <span className="truncate font-mono text-[10px] text-panel-text-4">{meta}</span>
49
49
  </div>
50
- <div className="flex flex-shrink-0 items-center gap-2.5 text-panel-text-3">
50
+ <div className="flex shrink-0 items-center gap-2.5 text-panel-text-3">
51
51
  {showUngroup && (
52
52
  <button
53
53
  type="button"
@@ -179,7 +179,7 @@ export const SnapToolbar = memo(function SnapToolbar({ onSnapChange }: SnapToolb
179
179
  </button>
180
180
  <button
181
181
  type="button"
182
- className="absolute -right-0.5 -bottom-0.5 rounded p-0.5 text-white/50 hover:text-white/90 bg-black/50"
182
+ className="absolute -right-0.5 -bottom-0.5 rounded-sm p-0.5 text-white/50 hover:text-white/90 bg-black/50"
183
183
  onClick={() => setGridPopoverOpen((v) => !v)}
184
184
  title="Grid options"
185
185
  aria-label="Grid options"
@@ -209,7 +209,7 @@ export const SnapToolbar = memo(function SnapToolbar({ onSnapChange }: SnapToolb
209
209
  updatePrefs({ gridSpacing: val });
210
210
  }
211
211
  }}
212
- className="w-16 rounded bg-neutral-900 border border-neutral-600 px-1.5 py-0.5 text-xs text-white text-right tabular-nums outline-none focus:border-studio-accent"
212
+ className="w-16 rounded-sm bg-neutral-900 border border-neutral-600 px-1.5 py-0.5 text-xs text-white text-right tabular-nums outline-hidden focus:border-studio-accent"
213
213
  />
214
214
  </label>
215
215
  <label className="flex items-center gap-2 text-xs text-white/80 cursor-pointer">
@@ -139,7 +139,7 @@ export function TimelineFxPopover({
139
139
  ref={rootRef}
140
140
  role="dialog"
141
141
  aria-label="Effects"
142
- className="z-[200] flex flex-col overflow-hidden rounded-md border border-white/10 bg-[#1b1b1f] p-2 shadow-xl"
142
+ className="z-200 flex flex-col overflow-hidden rounded-md border border-white/10 bg-[#1b1b1f] p-2 shadow-xl"
143
143
  style={clampedStyle(anchorRect)}
144
144
  onKeyDown={onKeyDown}
145
145
  onPointerDown={(event) => event.stopPropagation()}
@@ -143,7 +143,7 @@ export function TopologyLens({ iframeRef, activeCompositionPath }: TopologyLensP
143
143
  ref={overlayRef}
144
144
  aria-hidden="true"
145
145
  data-topology-lens={visible ? state.phase : "hidden"}
146
- className="pointer-events-none absolute inset-0 z-[58] overflow-hidden"
146
+ className="pointer-events-none absolute inset-0 z-58 overflow-hidden"
147
147
  >
148
148
  {visible && (
149
149
  <>
@@ -171,7 +171,7 @@ export function TopologyLens({ iframeRef, activeCompositionPath }: TopologyLensP
171
171
  key={index}
172
172
  data-topology-contour="true"
173
173
  data-topology-node={label}
174
- className="hf-topology-contour pointer-events-none absolute z-[1] rounded"
174
+ className="hf-topology-contour pointer-events-none absolute z-1 rounded-sm"
175
175
  style={{
176
176
  ...rectStyle(rect),
177
177
  animationDelay: `${Math.min(index, 5) * 28}ms`,
@@ -181,7 +181,7 @@ export function TopologyLens({ iframeRef, activeCompositionPath }: TopologyLensP
181
181
  {!reducedMotion && (
182
182
  <div
183
183
  data-topology-scan="true"
184
- className="pointer-events-none absolute z-[2] overflow-hidden rounded"
184
+ className="pointer-events-none absolute z-2 overflow-hidden rounded-sm"
185
185
  style={rectStyle(geometry.field.rect)}
186
186
  >
187
187
  <div className="hf-topology-scan absolute inset-y-0 left-0 w-1/4" />
@@ -196,7 +196,7 @@ export function TopologyLens({ iframeRef, activeCompositionPath }: TopologyLensP
196
196
  data-topology-terminal={
197
197
  state.phase === "localizing" ? (state.terminal ?? undefined) : undefined
198
198
  }
199
- className="hf-topology-target pointer-events-none absolute z-[3] rounded-md"
199
+ className="hf-topology-target pointer-events-none absolute z-3 rounded-md"
200
200
  style={rectStyle(geometry.target.rect)}
201
201
  />
202
202
  </>
@@ -183,7 +183,7 @@ export function Transform3DCube({
183
183
  };
184
184
 
185
185
  return (
186
- <div className="relative overflow-hidden rounded-lg border border-neutral-800 bg-gradient-to-b from-neutral-900 to-neutral-950">
186
+ <div className="relative overflow-hidden rounded-lg border border-neutral-800 bg-linear-to-b from-neutral-900 to-neutral-950">
187
187
  <svg
188
188
  ref={svgRef}
189
189
  viewBox={`0 0 ${VIEW_W} ${VIEW_H}`}
@@ -294,7 +294,7 @@ export function Transform3DCube({
294
294
  onClick={onRecenter}
295
295
  title="Reset 3D orientation"
296
296
  aria-label="Reset 3D orientation"
297
- className="absolute right-1.5 top-1.5 rounded p-0.5 text-neutral-500 hover:bg-neutral-800 hover:text-neutral-200"
297
+ className="absolute right-1.5 top-1.5 rounded-sm p-0.5 text-neutral-500 hover:bg-neutral-800 hover:text-neutral-200"
298
298
  >
299
299
  <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor">
300
300
  <circle cx="12" cy="12" r="9" strokeWidth="2" />
@@ -37,6 +37,7 @@ export function audioFxRevealTarget(
37
37
  const parsed = parseAutomationTarget(target);
38
38
  if (!parsed) return null;
39
39
  if (parsed.kind === "volume") return { kind: "volume" };
40
+ if (parsed.kind === "rate") return null;
40
41
  if (parsed.kind === "preset") {
41
42
  // A preset-level lane names the preset, not a node inside it: find its run
42
43
  // by the first node that belongs to it, which is how `runKey` is built.
@@ -1103,7 +1103,7 @@ describe("patch builders and prompt builder", () => {
1103
1103
  expect(prompt).toContain("Computed styles (browser-resolved):");
1104
1104
  expect(prompt).toContain("Target HTML:");
1105
1105
  expect(prompt).toContain("Guardrails:");
1106
- expect(prompt).toContain("Do not modify other elements' data-* attributes or positioning.");
1106
+ expect(prompt).toContain("Do not modify other elements' data-* attributes or positioning");
1107
1107
  });
1108
1108
 
1109
1109
  it("uses an absolute source path in copied agent prompts when provided", () => {
@@ -78,9 +78,10 @@ describe("buildElementAgentPrompt", () => {
78
78
  "Text: Hello world",
79
79
  "",
80
80
  "Guardrails:",
81
- "- Make a targeted change to this element only.",
82
- "- Preserve the rest of the composition and its timing.",
83
- "- Do not modify other elements' data-* attributes or positioning.",
81
+ "- Make a targeted change to this element only, unless the request is a timeline edit.",
82
+ "- Preserve the rest of the composition and its timing, except what a timeline edit changes.",
83
+ "- Do not modify other elements' data-* attributes or positioning, except where the requested timeline edit requires it (split, retime, reorder, copy a group, swap media).",
84
+ "- For timeline edits (trim, split, speed, volume, copy, swap), follow the creator-editing-recipes reference of the hyperframes-core skill and use its exact attribute forms.",
84
85
  "- Prefer existing inline styles or existing CSS rules for this element over adding unrelated selectors.",
85
86
  ].join("\n"),
86
87
  );
@@ -160,9 +161,10 @@ describe("buildPickerAgentPrompt", () => {
160
161
  // Both end on the identical guardrails block, byte for byte.
161
162
  const guardrails = [
162
163
  "Guardrails:",
163
- "- Make a targeted change to this element only.",
164
- "- Preserve the rest of the composition and its timing.",
165
- "- Do not modify other elements' data-* attributes or positioning.",
164
+ "- Make a targeted change to this element only, unless the request is a timeline edit.",
165
+ "- Preserve the rest of the composition and its timing, except what a timeline edit changes.",
166
+ "- Do not modify other elements' data-* attributes or positioning, except where the requested timeline edit requires it (split, retime, reorder, copy a group, swap media).",
167
+ "- For timeline edits (trim, split, speed, volume, copy, swap), follow the creator-editing-recipes reference of the hyperframes-core skill and use its exact attribute forms.",
166
168
  "- Prefer existing inline styles or existing CSS rules for this element over adding unrelated selectors.",
167
169
  ].join("\n");
168
170
  expect(domPrompt.endsWith(guardrails)).toBe(true);
@@ -28,9 +28,10 @@ export interface AgentPromptElementInfo {
28
28
 
29
29
  const GUARDRAIL_LINES = [
30
30
  "Guardrails:",
31
- "- Make a targeted change to this element only.",
32
- "- Preserve the rest of the composition and its timing.",
33
- "- Do not modify other elements' data-* attributes or positioning.",
31
+ "- Make a targeted change to this element only, unless the request is a timeline edit.",
32
+ "- Preserve the rest of the composition and its timing, except what a timeline edit changes.",
33
+ "- Do not modify other elements' data-* attributes or positioning, except where the requested timeline edit requires it (split, retime, reorder, copy a group, swap media).",
34
+ "- For timeline edits (trim, split, speed, volume, copy, swap), follow the creator-editing-recipes reference of the hyperframes-core skill and use its exact attribute forms.",
34
35
  "- Prefer existing inline styles or existing CSS rules for this element over adding unrelated selectors.",
35
36
  ];
36
37
 
@@ -79,7 +79,7 @@ function ColorSlider({
79
79
  aria-valuemax={max}
80
80
  aria-valuenow={value}
81
81
  aria-disabled={disabled}
82
- className={`relative h-4 rounded-full border border-neutral-700 shadow-[inset_0_1px_2px_rgba(0,0,0,0.55)] outline-none focus:border-panel-accent focus:ring-2 focus:ring-panel-accent/40 ${
82
+ className={`relative h-4 rounded-full border border-neutral-700 shadow-[inset_0_1px_2px_rgba(0,0,0,0.55)] outline-hidden focus:border-panel-accent focus:ring-2 focus:ring-panel-accent/40 ${
83
83
  disabled ? "cursor-not-allowed opacity-50" : "cursor-ew-resize"
84
84
  }`}
85
85
  style={{ background }}
@@ -328,7 +328,7 @@ export function ColorField({
328
328
  role="dialog"
329
329
  aria-label={`${label} color picker`}
330
330
  tabIndex={-1}
331
- className="fixed z-[9999] w-[292px] overflow-hidden rounded-2xl border border-neutral-700 bg-neutral-950 shadow-2xl shadow-black/50 outline-none"
331
+ className="fixed z-9999 w-[292px] overflow-hidden rounded-2xl border border-neutral-700 bg-neutral-950 shadow-2xl shadow-black/50 outline-hidden"
332
332
  style={{
333
333
  left: panelPosition?.left ?? -9999,
334
334
  top: panelPosition?.top ?? -9999,
@@ -367,8 +367,8 @@ export function ColorField({
367
367
  onPointerUp={settleColorGesture}
368
368
  onPointerCancel={cancelColorGesture}
369
369
  >
370
- <div className="absolute inset-0 bg-gradient-to-r from-white to-transparent" />
371
- <div className="absolute inset-0 bg-gradient-to-t from-black to-transparent" />
370
+ <div className="absolute inset-0 bg-linear-to-r from-white to-transparent" />
371
+ <div className="absolute inset-0 bg-linear-to-t from-black to-transparent" />
372
372
  <div
373
373
  className="pointer-events-none absolute top-0 h-full w-px -translate-x-1/2 bg-white/70 shadow-[0_0_0_1px_rgba(0,0,0,0.45)] mix-blend-difference"
374
374
  style={{ left: `${hsv.saturation * 100}%` }}
@@ -389,7 +389,7 @@ export function ColorField({
389
389
 
390
390
  <div className="flex min-w-0 items-center gap-3">
391
391
  <div
392
- className="h-9 w-9 flex-shrink-0 rounded-xl border border-neutral-600 shadow-[inset_0_1px_0_rgba(255,255,255,0.08)]"
392
+ className="h-9 w-9 shrink-0 rounded-xl border border-neutral-600 shadow-[inset_0_1px_0_rgba(255,255,255,0.08)]"
393
393
  style={{ backgroundColor: currentColor }}
394
394
  />
395
395
  <div className="min-w-0 flex-1">
@@ -442,7 +442,7 @@ export function ColorField({
442
442
  value={hexDraft}
443
443
  onChange={(event) => handleHexChange(event.target.value)}
444
444
  onBlur={settleColorGesture}
445
- className={`${FIELD} h-10 w-full text-[11px] font-medium outline-none`}
445
+ className={`${FIELD} h-10 w-full text-[11px] font-medium outline-hidden`}
446
446
  spellCheck={false}
447
447
  />
448
448
  </label>
@@ -475,7 +475,7 @@ export function ColorField({
475
475
  className="flex items-center gap-2 disabled:cursor-not-allowed"
476
476
  >
477
477
  <span
478
- className="h-4 w-4 flex-shrink-0 rounded-[4px]"
478
+ className="h-4 w-4 shrink-0 rounded-[4px]"
479
479
  style={{ backgroundColor: open ? currentColor : value || "transparent" }}
480
480
  />
481
481
  <span className="font-mono text-[11px] text-panel-text-0">
@@ -484,7 +484,7 @@ export function ColorField({
484
484
  {mixed && (
485
485
  <span
486
486
  data-color-mixed-indicator="true"
487
- className="rounded bg-panel-hover px-1.5 py-0.5 text-[9px] font-medium text-panel-text-4"
487
+ className="rounded-sm bg-panel-hover px-1.5 py-0.5 text-[9px] font-medium text-panel-text-4"
488
488
  >
489
489
  Mixed
490
490
  </span>
@@ -504,7 +504,7 @@ export function ColorField({
504
504
  type="button"
505
505
  disabled={disabled}
506
506
  onClick={onReset}
507
- className="rounded bg-panel-hover px-1.5 py-0.5 text-[9px] font-medium text-panel-text-4 transition-colors hover:text-panel-text-0 disabled:cursor-not-allowed disabled:opacity-40"
507
+ className="rounded-sm bg-panel-hover px-1.5 py-0.5 text-[9px] font-medium text-panel-text-4 transition-colors hover:text-panel-text-0 disabled:cursor-not-allowed disabled:opacity-40"
508
508
  >
509
509
  Reset
510
510
  </button>
@@ -519,7 +519,7 @@ export function ColorField({
519
519
  className={`${FIELD} flex items-center gap-3 text-left hover:border-neutral-700 disabled:cursor-not-allowed ${open ? "border-neutral-600" : ""}`}
520
520
  >
521
521
  <div
522
- className="relative h-7 w-7 flex-shrink-0 overflow-hidden rounded-lg border border-neutral-700 bg-neutral-950 shadow-[inset_0_1px_0_rgba(255,255,255,0.04)]"
522
+ className="relative h-7 w-7 shrink-0 overflow-hidden rounded-lg border border-neutral-700 bg-neutral-950 shadow-[inset_0_1px_0_rgba(255,255,255,0.04)]"
523
523
  style={{ backgroundColor: value || "transparent" }}
524
524
  />
525
525
  <span className="min-w-0 flex-1 truncate text-[11px] font-medium text-neutral-100">
@@ -528,7 +528,7 @@ export function ColorField({
528
528
  {mixed && (
529
529
  <span
530
530
  data-color-mixed-indicator="true"
531
- className="rounded bg-panel-hover px-1.5 py-0.5 text-[9px] font-medium text-panel-text-4"
531
+ className="rounded-sm bg-panel-hover px-1.5 py-0.5 text-[9px] font-medium text-panel-text-4"
532
532
  >
533
533
  Mixed
534
534
  </span>
@@ -477,7 +477,7 @@ export function CurveGraph({
477
477
  onSettle();
478
478
  }
479
479
  }}
480
- className="mx-auto aspect-square w-full max-w-[200px] touch-none rounded border border-panel-border-input bg-black/20 outline-none focus:ring-1 focus:ring-panel-accent"
480
+ className="mx-auto aspect-square w-full max-w-[200px] touch-none rounded-sm border border-panel-border-input bg-black/20 outline-hidden focus:ring-1 focus:ring-panel-accent"
481
481
  >
482
482
  <defs>
483
483
  <linearGradient id={`hf-hue-axis-${tab.key}`}>
@@ -328,7 +328,7 @@ export function ColorGradingControls({
328
328
  <select
329
329
  value={String(grading.preset ?? "neutral")}
330
330
  onChange={(event) => applyPreset(event.target.value)}
331
- className="w-full min-w-0 rounded-md bg-panel-input px-3 py-2 text-[11px] font-medium text-panel-text-1 outline-none"
331
+ className="w-full min-w-0 rounded-md bg-panel-input px-3 py-2 text-[11px] font-medium text-panel-text-1 outline-hidden"
332
332
  >
333
333
  {HF_COLOR_GRADING_PRESETS.map((preset) => (
334
334
  <option key={preset.id} value={preset.id}>
@@ -358,14 +358,12 @@ export function ColorGradingControls({
358
358
  aria-expanded={lutOpen}
359
359
  >
360
360
  {lutOpen ? (
361
- <ChevronDown size={11} className="flex-shrink-0 text-panel-text-5" />
361
+ <ChevronDown size={11} className="shrink-0 text-panel-text-5" />
362
362
  ) : (
363
- <ChevronRight size={11} className="flex-shrink-0 text-panel-text-5" />
363
+ <ChevronRight size={11} className="shrink-0 text-panel-text-5" />
364
364
  )}
365
365
  <span className="min-w-0 flex-1 truncate">Custom LUT</span>
366
- {grading.lut && (
367
- <span className="h-1.5 w-1.5 flex-shrink-0 rounded-full bg-studio-accent" />
368
- )}
366
+ {grading.lut && <span className="h-1.5 w-1.5 shrink-0 rounded-full bg-studio-accent" />}
369
367
  </button>
370
368
  {lutOpen && (
371
369
  <div className="grid gap-1.5 border-t border-panel-border/60 p-1.5">
@@ -380,7 +378,7 @@ export function ColorGradingControls({
380
378
  nextSrc && grading.lut?.src === nextSrc ? grading.lut.intensity : 1,
381
379
  );
382
380
  }}
383
- className="w-full min-w-0 rounded-md bg-panel-input px-3 py-2 text-[11px] font-medium text-panel-text-1 outline-none"
381
+ className="w-full min-w-0 rounded-md bg-panel-input px-3 py-2 text-[11px] font-medium text-panel-text-1 outline-hidden"
384
382
  title="Uploaded .cube LUT"
385
383
  >
386
384
  <option value="">None</option>
@@ -441,7 +439,7 @@ export function ColorGradingControls({
441
439
  <div className="grid gap-2">
442
440
  {selectedProjectLut && (
443
441
  <div className="flex min-w-0 items-start gap-2 text-[10px] leading-4 text-panel-text-3">
444
- <span className="mt-[5px] h-1.5 w-1.5 flex-shrink-0 rounded-full bg-studio-accent" />
442
+ <span className="mt-[5px] h-1.5 w-1.5 shrink-0 rounded-full bg-studio-accent" />
445
443
  <span className="min-w-0 flex-1 truncate" title={selectedProjectLut}>
446
444
  <span className="font-medium text-panel-text-2">Uploaded LUT</span>
447
445
  {` · ${selectedProjectLut}`}
@@ -527,7 +525,7 @@ export function ColorGradingControls({
527
525
  aria-label="Close settings"
528
526
  title="Close settings"
529
527
  onClick={() => setDetailSettings(null)}
530
- className="flex h-5 w-5 flex-shrink-0 items-center justify-center rounded text-panel-text-5 transition-colors hover:bg-panel-hover hover:text-panel-text-1"
528
+ className="flex h-5 w-5 shrink-0 items-center justify-center rounded-sm text-panel-text-5 transition-colors hover:bg-panel-hover hover:text-panel-text-1"
531
529
  >
532
530
  <X size={11} />
533
531
  </button>
@@ -22,10 +22,10 @@ function StatusPill({ status }: { status: RuntimeColorGradingStatus }) {
22
22
  : "bg-panel-text-5";
23
23
  return (
24
24
  <div
25
- className="flex min-w-0 items-center gap-1.5 rounded bg-panel-input px-2 py-1 text-[10px] font-medium text-panel-text-3"
25
+ className="flex min-w-0 items-center gap-1.5 rounded-sm bg-panel-input px-2 py-1 text-[10px] font-medium text-panel-text-3"
26
26
  title={status.message}
27
27
  >
28
- <span className={`h-1.5 w-1.5 flex-shrink-0 rounded-full ${dotClass}`} />
28
+ <span className={`h-1.5 w-1.5 shrink-0 rounded-full ${dotClass}`} />
29
29
  <span className="truncate">{status.message}</span>
30
30
  </div>
31
31
  );
@@ -47,7 +47,7 @@ function HdrMediaWarning({ metadata }: { metadata: MediaMetadata | null }) {
47
47
  <div className="mb-3 rounded-md border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-[11px] leading-4 text-amber-100">
48
48
  <div className="mb-1 flex min-w-0 items-center justify-between gap-2">
49
49
  <span className="font-semibold">{metadata.color.label} source</span>
50
- <span className="rounded bg-amber-400/20 px-1.5 py-0.5 text-[9px] font-semibold uppercase tracking-wide text-amber-100">
50
+ <span className="rounded-sm bg-amber-400/20 px-1.5 py-0.5 text-[9px] font-semibold uppercase tracking-wide text-amber-100">
51
51
  SDR preview
52
52
  </span>
53
53
  </div>
@@ -118,7 +118,7 @@ function HoldBeforeButton({
118
118
  event.preventDefault();
119
119
  onHoldChange(false);
120
120
  }}
121
- className={`flex h-6 w-6 flex-shrink-0 items-center justify-center rounded transition-colors ${
121
+ className={`flex h-6 w-6 shrink-0 items-center justify-center rounded transition-colors ${
122
122
  active
123
123
  ? "bg-studio-accent text-black"
124
124
  : "text-panel-text-4 hover:bg-panel-hover hover:text-panel-text-1"
@@ -194,7 +194,7 @@ export function ColorGradingSection({
194
194
  track("button", "Reset color grading");
195
195
  resetGrading();
196
196
  }}
197
- className="flex h-6 w-6 flex-shrink-0 items-center justify-center rounded text-panel-text-4 transition-colors hover:bg-panel-hover hover:text-panel-text-1"
197
+ className="flex h-6 w-6 shrink-0 items-center justify-center rounded-sm text-panel-text-4 transition-colors hover:bg-panel-hover hover:text-panel-text-1"
198
198
  title="Reset color grading"
199
199
  >
200
200
  <RotateCcw size={12} />
@@ -218,7 +218,7 @@ export function ColorGradingSection({
218
218
  setApplyScope(event.currentTarget.value as typeof applyScope);
219
219
  }}
220
220
  disabled={applyBusy}
221
- className="w-full min-w-0 rounded-md bg-panel-input px-3 py-2 text-[11px] font-medium text-panel-text-1 outline-none disabled:cursor-not-allowed disabled:opacity-50"
221
+ className="w-full min-w-0 rounded-md bg-panel-input px-3 py-2 text-[11px] font-medium text-panel-text-1 outline-hidden disabled:cursor-not-allowed disabled:opacity-50"
222
222
  title="Choose where to copy these color grading settings"
223
223
  >
224
224
  <option value="source-file">Current file media</option>
@@ -157,7 +157,7 @@ export function ColorGradingSliderControl({
157
157
  event.stopPropagation();
158
158
  settings.onClick();
159
159
  }}
160
- className={`relative flex h-5 w-5 flex-shrink-0 items-center justify-center rounded transition-colors hover:bg-panel-hover hover:text-panel-text-1 disabled:cursor-not-allowed disabled:opacity-40 ${
160
+ className={`relative flex h-5 w-5 shrink-0 items-center justify-center rounded transition-colors hover:bg-panel-hover hover:text-panel-text-1 disabled:cursor-not-allowed disabled:opacity-40 ${
161
161
  settings.active ? "text-studio-accent" : "text-panel-text-5"
162
162
  }`}
163
163
  title={settings.label}
@@ -178,7 +178,7 @@ export function ColorGradingSliderControl({
178
178
  track("button", `Reset ${label}`);
179
179
  onReset();
180
180
  }}
181
- className="flex h-5 w-5 flex-shrink-0 items-center justify-center rounded text-panel-text-5 transition-colors hover:bg-panel-hover hover:text-panel-text-1 disabled:cursor-not-allowed disabled:opacity-40"
181
+ className="flex h-5 w-5 shrink-0 items-center justify-center rounded-sm text-panel-text-5 transition-colors hover:bg-panel-hover hover:text-panel-text-1 disabled:cursor-not-allowed disabled:opacity-40"
182
182
  title={`Reset ${label}`}
183
183
  >
184
184
  <RotateCcw size={11} />
@@ -228,7 +228,7 @@ export function ColorGradingSliderControl({
228
228
  </div>
229
229
 
230
230
  <div className="flex min-w-0 items-center justify-end gap-1">
231
- <div className="flex flex-shrink-0 items-center rounded-md bg-panel-input px-1.5 py-px">
231
+ <div className="flex shrink-0 items-center rounded-md bg-panel-input px-1.5 py-px">
232
232
  <input
233
233
  type="number"
234
234
  value={inputValue}
@@ -256,12 +256,12 @@ export function ColorGradingSliderControl({
256
256
  nudge(-1);
257
257
  }
258
258
  }}
259
- className="hf-color-grading-number h-4 w-[36px] bg-transparent text-right text-[10px] font-medium tabular-nums text-panel-text-1 outline-none disabled:cursor-not-allowed"
259
+ className="hf-color-grading-number h-4 w-[36px] bg-transparent text-right text-[10px] font-medium tabular-nums text-panel-text-1 outline-hidden disabled:cursor-not-allowed"
260
260
  title={displayValue}
261
261
  />
262
262
  {suffix && <span className="ml-0.5 text-[10px] text-panel-text-5">{suffix}</span>}
263
263
  </div>
264
- <div className="flex flex-shrink-0 overflow-hidden rounded-md bg-panel-input">
264
+ <div className="flex shrink-0 overflow-hidden rounded-md bg-panel-input">
265
265
  <button
266
266
  type="button"
267
267
  disabled={disabled}
@@ -204,7 +204,7 @@ function TonalWheel({
204
204
  }
205
205
  }}
206
206
  onBlur={onSettle}
207
- className="relative mx-auto aspect-square w-full max-w-[112px] touch-none rounded-full border border-panel-border-input outline-none focus:ring-1 focus:ring-panel-accent disabled:opacity-40"
207
+ className="relative mx-auto aspect-square w-full max-w-[112px] touch-none rounded-full border border-panel-border-input outline-hidden focus:ring-1 focus:ring-panel-accent disabled:opacity-40"
208
208
  style={{
209
209
  background:
210
210
  "radial-gradient(circle, rgb(128 128 128) 0%, transparent 72%), conic-gradient(from 90deg, #f33, #f3f, #33f, #3ff, #3f3, #ff3, #f33)",
@@ -213,7 +213,7 @@ export function CommitField({
213
213
  }}
214
214
  onKeyDown={handleKeyDown}
215
215
  title={parseNumericToken(value) ? "Scroll or use Arrow keys to adjust" : undefined}
216
- className={`min-w-0 w-full bg-transparent text-[11px] font-medium text-neutral-100 outline-none disabled:cursor-not-allowed disabled:text-neutral-600 ${
216
+ className={`min-w-0 w-full bg-transparent text-[11px] font-medium text-neutral-100 outline-hidden disabled:cursor-not-allowed disabled:text-neutral-600 ${
217
217
  align === "right" ? "text-right" : "text-left"
218
218
  }`}
219
219
  />
@@ -133,7 +133,7 @@ export function ImageFillField({
133
133
  : "cursor-pointer hover:border-neutral-600 hover:text-white"
134
134
  }`}
135
135
  >
136
- <Plus size={12} className="flex-shrink-0" />
136
+ <Plus size={12} className="shrink-0" />
137
137
  <span className="truncate">{uploading ? "Uploading…" : "Upload image"}</span>
138
138
  </button>
139
139
  <input
@@ -178,7 +178,7 @@ export function ImageFillField({
178
178
  }
179
179
  onCommit(`url("${toProjectRootAssetPath(next)}")`);
180
180
  }}
181
- className="min-w-0 w-full appearance-none bg-transparent text-[11px] font-medium text-neutral-100 outline-none disabled:cursor-not-allowed disabled:text-neutral-600"
181
+ className="min-w-0 w-full appearance-none bg-transparent text-[11px] font-medium text-neutral-100 outline-hidden disabled:cursor-not-allowed disabled:text-neutral-600"
182
182
  >
183
183
  <option value="">None</option>
184
184
  {imageAssets.map((asset) => (
@@ -288,7 +288,7 @@ export function GradientField({
288
288
  position: Math.max(0, Math.min(100, Math.round(stop.position + delta))),
289
289
  });
290
290
  }}
291
- className="absolute top-1/2 h-4 w-4 -translate-y-1/2 cursor-ew-resize rounded-full border-2 border-white/90 shadow-[0_0_0_1px_rgba(0,0,0,0.35)] outline-none focus-visible:ring-2 focus-visible:ring-studio-accent"
291
+ className="absolute top-1/2 h-4 w-4 -translate-y-1/2 cursor-ew-resize rounded-full border-2 border-white/90 shadow-[0_0_0_1px_rgba(0,0,0,0.35)] outline-hidden focus-visible:ring-2 focus-visible:ring-studio-accent"
292
292
  style={{
293
293
  left: `calc(${stop.position}% - 8px)`,
294
294
  backgroundColor: stop.color,
@@ -339,7 +339,7 @@ export function GradientField({
339
339
  track("toggle", "Repeat gradient");
340
340
  patch({ repeating: e.target.checked });
341
341
  }}
342
- className="h-4 w-4 rounded border-neutral-700 bg-neutral-950 text-panel-accent focus:ring-panel-accent"
342
+ className="h-4 w-4 rounded-sm border-neutral-700 bg-neutral-950 text-panel-accent focus:ring-panel-accent"
343
343
  />
344
344
  Repeat
345
345
  </label>
@@ -74,7 +74,7 @@ export function FlatColorGradingAccessory({
74
74
  commitCompare(false);
75
75
  }}
76
76
  title="Hold to show original"
77
- className="flex-shrink-0 text-panel-text-3 hover:text-panel-text-1 disabled:cursor-not-allowed disabled:opacity-40"
77
+ className="shrink-0 text-panel-text-3 hover:text-panel-text-1 disabled:cursor-not-allowed disabled:opacity-40"
78
78
  >
79
79
  <Compare size={12} />
80
80
  </button>
@@ -82,7 +82,7 @@ export function FlatColorGradingAccessory({
82
82
  <span
83
83
  data-flat-grade-status-dot="true"
84
84
  title={runtimeStatus.message}
85
- className={`h-[5px] w-[5px] flex-shrink-0 rounded-full ${STATUS_DOT_CLASS[runtimeStatus.state]}`}
85
+ className={`h-[5px] w-[5px] shrink-0 rounded-full ${STATUS_DOT_CLASS[runtimeStatus.state]}`}
86
86
  />
87
87
  <span
88
88
  data-flat-grade-status-message="true"
@@ -100,7 +100,7 @@ export function FlatColorGradingAccessory({
100
100
  track("button", "Reset color grading");
101
101
  resetGrading();
102
102
  }}
103
- className="flex-shrink-0 text-panel-text-3 hover:text-panel-text-1"
103
+ className="shrink-0 text-panel-text-3 hover:text-panel-text-1"
104
104
  >
105
105
  <RotateCcw size={12} />
106
106
  </button>