Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

docs: drop consumed one-shot plans and a stale tracked worktree handoff

Etienne Lescotda1b9cf7a3b7
diff --git a/design/_adherence.oxlintrc.json b/design/_adherence.oxlintrc.json
deleted file mode 100644
index 62081bd57..000000000
--- a/design/_adherence.oxlintrc.json
+++ /dev/null
@@ -1,511 +0,0 @@
-{
- "plugins": [
- "react",
- "import"
- ],
- "rules": {
- "react/forbid-elements": [
- "warn",
- {
- "forbid": []
- }
- ],
- "no-restricted-imports": [
- "warn",
- {
- "patterns": [
- {
- "group": [
- "components/display/**",
- "components/editor/**",
- "components/forms/**"
- ],
- "message": "Import design-system components from 'index.js', not component internals."
- }
- ]
- }
- ],
- "no-restricted-syntax": [
- "warn",
- {
- "selector": "Literal[value=/#[0-9a-fA-F]{3,8}\\b/]",
- "message": "Raw hex color — use a design-system color token via var()."
- },
- {
- "selector": "Literal[value=/\\b\\d+px\\b/]",
- "message": "Raw px value — use a design-system spacing token via var()."
- },
- {
- "selector": "Literal[value=/font-family\\s*:\\s*(?!['\\\"]?(?:Geist|Geist Mono|Inter|IBM Plex Mono|Fira Code|Caveat|Permanent Marker|Bebas Neue|Oswald|Space Grotesk|Playfair Display))/i]",
- "message": "Font not provided by the design system. Available: Geist, Geist Mono, Inter, IBM Plex Mono, Fira Code, Caveat, Permanent Marker, Bebas Neue, Oswald, Space Grotesk, Playfair Display."
- },
- {
- "selector": "JSXOpeningElement[name.name='Badge'] > JSXAttribute > JSXIdentifier[name!=/^(?:children|tone|dot|soft|mono|style|key|ref|className|style|children)$/]",
- "message": "<Badge> doesn't accept that prop. Declared props: children, tone, dot, soft, mono, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='Badge'] > JSXAttribute[name.name='tone'] > Literal[value!=/^(?:accent|neutral|danger|warn)$/]",
- "message": "<Badge> tone must be one of 'accent' | 'neutral' | 'danger' | 'warn'."
- },
- {
- "selector": "JSXOpeningElement[name.name='Button'] > JSXAttribute > JSXIdentifier[name!=/^(?:variant|size|icon|iconRight|disabled|fullWidth|onClick|children|style|key|ref|className|style|children)$/]",
- "message": "<Button> doesn't accept that prop. Declared props: variant, size, icon, iconRight, disabled, fullWidth, onClick, children, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='Button'] > JSXAttribute[name.name='variant'] > Literal[value!=/^(?:primary|secondary|ghost)$/]",
- "message": "<Button> variant must be one of 'primary' | 'secondary' | 'ghost'."
- },
- {
- "selector": "JSXOpeningElement[name.name='Button'] > JSXAttribute[name.name='size'] > Literal[value!=/^(?:sm|md|lg)$/]",
- "message": "<Button> size must be one of 'sm' | 'md' | 'lg'."
- },
- {
- "selector": "JSXOpeningElement[name.name='Card'] > JSXAttribute > JSXIdentifier[name!=/^(?:children|title|headerRight|elevation|level|radius|padding|style|bodyStyle|key|ref|className|style|children)$/]",
- "message": "<Card> doesn't accept that prop. Declared props: children, title, headerRight, elevation, level, radius, padding, style, bodyStyle."
- },
- {
- "selector": "JSXOpeningElement[name.name='Card'] > JSXAttribute[name.name='elevation'] > Literal[value!=/^(?:card|pop)$/]",
- "message": "<Card> elevation must be one of 'card' | 'pop'."
- },
- {
- "selector": "JSXOpeningElement[name.name='ChatBubble'] > JSXAttribute > JSXIdentifier[name!=/^(?:role|author|time|avatar|children|key|ref|className|style|children)$/]",
- "message": "<ChatBubble> doesn't accept that prop. Declared props: role, author, time, avatar, children."
- },
- {
- "selector": "JSXOpeningElement[name.name='ChatBubble'] > JSXAttribute[name.name='role'] > Literal[value!=/^(?:assistant|user|system)$/]",
- "message": "<ChatBubble> role must be one of 'assistant' | 'user' | 'system'."
- },
- {
- "selector": "JSXOpeningElement[name.name='Chip'] > JSXAttribute > JSXIdentifier[name!=/^(?:children|icon|onClick|style|key|ref|className|style|children)$/]",
- "message": "<Chip> doesn't accept that prop. Declared props: children, icon, onClick, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='FacetRailButton'] > JSXAttribute > JSXIdentifier[name!=/^(?:active|title|onClick|children|style|key|ref|className|style|children)$/]",
- "message": "<FacetRailButton> doesn't accept that prop. Declared props: active, title, onClick, children, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='IconButton'] > JSXAttribute > JSXIdentifier[name!=/^(?:size|active|tone|disabled|title|onClick|children|style|key|ref|className|style|children)$/]",
- "message": "<IconButton> doesn't accept that prop. Declared props: size, active, tone, disabled, title, onClick, children, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='IconButton'] > JSXAttribute[name.name='tone'] > Literal[value!=/^(?:default|danger)$/]",
- "message": "<IconButton> tone must be one of 'default' | 'danger'."
- },
- {
- "selector": "JSXOpeningElement[name.name='MediaCard'] > JSXAttribute > JSXIdentifier[name!=/^(?:name|duration|size|from|to|selected|draggable|onClick|onDragStart|onDragEnd|style|key|ref|className|style|children)$/]",
- "message": "<MediaCard> doesn't accept that prop. Declared props: name, duration, size, from, to, selected, draggable, onClick, onDragStart, onDragEnd, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='ProgressBar'] > JSXAttribute > JSXIdentifier[name!=/^(?:value|height|gradient|style|key|ref|className|style|children)$/]",
- "message": "<ProgressBar> doesn't accept that prop. Declared props: value, height, gradient, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='ProposalItem'] > JSXAttribute > JSXIdentifier[name!=/^(?:range|dur|key|ref|className|style|children)$/]",
- "message": "<ProposalItem> doesn't accept that prop. Declared props: range, dur."
- },
- {
- "selector": "JSXOpeningElement[name.name='SegmentOption'] > JSXAttribute > JSXIdentifier[name!=/^(?:value|label|key|ref|className|style|children)$/]",
- "message": "<SegmentOption> doesn't accept that prop. Declared props: value, label."
- },
- {
- "selector": "JSXOpeningElement[name.name='SelectOption'] > JSXAttribute > JSXIdentifier[name!=/^(?:value|label|key|ref|className|style|children)$/]",
- "message": "<SelectOption> doesn't accept that prop. Declared props: value, label."
- },
- {
- "selector": "JSXOpeningElement[name.name='Slider'] > JSXAttribute > JSXIdentifier[name!=/^(?:label|value|min|max|step|format|onChange|card|style|key|ref|className|style|children)$/]",
- "message": "<Slider> doesn't accept that prop. Declared props: label, value, min, max, step, format, onChange, card, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='Switch'] > JSXAttribute > JSXIdentifier[name!=/^(?:checked|onChange|disabled|style|key|ref|className|style|children)$/]",
- "message": "<Switch> doesn't accept that prop. Declared props: checked, onChange, disabled, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='TextField'] > JSXAttribute > JSXIdentifier[name!=/^(?:value|onChange|placeholder|multiline|leadingIcon|rows|style|wrapStyle|key|ref|className|style|children)$/]",
- "message": "<TextField> doesn't accept that prop. Declared props: value, onChange, placeholder, multiline, leadingIcon, rows, style, wrapStyle."
- },
- {
- "selector": "JSXOpeningElement[name.name='TimelinePill'] > JSXAttribute > JSXIdentifier[name!=/^(?:tone|icon|children|leftPct|widthPct|style|key|ref|className|style|children)$/]",
- "message": "<TimelinePill> doesn't accept that prop. Declared props: tone, icon, children, leftPct, widthPct, style."
- },
- {
- "selector": "JSXOpeningElement[name.name='TimelinePill'] > JSXAttribute[name.name='tone'] > Literal[value!=/^(?:accent|annotation|speed|danger)$/]",
- "message": "<TimelinePill> tone must be one of 'accent' | 'annotation' | 'speed' | 'danger'."
- }
- ]
- },
- "overrides": [
- {
- "files": [
- "**/index.js"
- ],
- "rules": {
- "no-restricted-imports": "off"
- }
- }
- ],
- "x-omelette": {
- "components": {
- "Badge": {
- "replaces": []
- },
- "Button": {
- "replaces": []
- },
- "Card": {
- "replaces": []
- },
- "ChatBubble": {
- "replaces": []
- },
- "Chip": {
- "replaces": []
- },
- "FacetRailButton": {
- "replaces": []
- },
- "IconButton": {
- "replaces": []
- },
- "MediaCard": {
- "replaces": []
- },
- "ProgressBar": {
- "replaces": []
- },
- "ProposalItem": {
- "replaces": []
- },
- "SegmentOption": {
- "replaces": []
- },
- "SelectOption": {
- "replaces": []
- },
- "Slider": {
- "replaces": []
- },
- "Switch": {
- "replaces": []
- },
- "TextField": {
- "replaces": []
- },
- "TimelinePill": {
- "replaces": []
- }
- },
- "tokens": [
- "--accent",
- "--accent-foreground",
- "--accent-primary",
- "--background",
- "--border",
- "--border-default",
- "--brand-green",
- "--brand-green-active",
- "--brand-green-glow",
- "--brand-green-hover",
- "--brand-green-ring",
- "--brand-green-tint",
- "--card",
- "--card-foreground",
- "--color-bg",
- "--color-fg",
- "--control-h-lg",
- "--control-h-md",
- "--control-h-sm",
- "--control-h-xs",
- "--destructive",
- "--destructive-foreground",
- "--dur",
- "--dur-base",
- "--dur-fast",
- "--dur-mid",
- "--dur-slow",
- "--ease",
- "--elev-card",
- "--elev-pop",
- "--fill",
- "--fill-hover",
- "--fill-subtle",
- "--focus-ring",
- "--font-caption-grotesk",
- "--font-caption-hand",
- "--font-caption-impact",
- "--font-caption-marker",
- "--font-caption-serif",
- "--font-mono",
- "--font-sans",
- "--foreground",
- "--fw-bold",
- "--fw-medium",
- "--fw-regular",
- "--fw-semibold",
- "--glass-blur",
- "--glass-blur-strong",
- "--glass-hud",
- "--glass-popover",
- "--glass-shell",
- "--glow-accent",
- "--gradient-panel",
- "--gradient-selected",
- "--gradient-workspace",
- "--icon-lg",
- "--icon-md",
- "--icon-sm",
- "--icon-xs",
- "--input",
- "--lh-none",
- "--lh-normal",
- "--lh-relaxed",
- "--lh-snug",
- "--lh-tight",
- "--line",
- "--line-strong",
- "--line-subtle",
- "--muted",
- "--muted-foreground",
- "--popover",
- "--popover-foreground",
- "--press-scale",
- "--primary",
- "--primary-foreground",
- "--radius",
- "--radius-2xl",
- "--radius-3xl",
- "--radius-full",
- "--radius-lg",
- "--radius-md",
- "--radius-pill",
- "--radius-sm",
- "--radius-window",
- "--radius-xl",
- "--radius-xs",
- "--rail-width",
- "--rec-amber",
- "--rec-amber-text",
- "--rec-red",
- "--rec-red-text",
- "--ring",
- "--ring-focus",
- "--ring-slider",
- "--secondary",
- "--secondary-foreground",
- "--shadow-badge",
- "--shadow-capture",
- "--shadow-card",
- "--shadow-card-hover",
- "--shadow-hud",
- "--shadow-inset-hi",
- "--shadow-panel",
- "--shadow-popover",
- "--shell-0",
- "--shell-1",
- "--shell-2",
- "--shell-3",
- "--shell-4",
- "--shell-5",
- "--space-0",
- "--space-0-5",
- "--space-1",
- "--space-1-5",
- "--space-10",
- "--space-12",
- "--space-2",
- "--space-2-5",
- "--space-3",
- "--space-3-5",
- "--space-4",
- "--space-5",
- "--space-6",
- "--space-8",
- "--surface-card",
- "--surface-popover",
- "--text-1",
- "--text-10",
- "--text-11",
- "--text-12",
- "--text-13",
- "--text-2",
- "--text-2xl",
- "--text-3",
- "--text-4",
- "--text-5",
- "--text-9",
- "--text-base",
- "--text-body",
- "--text-hi",
- "--text-lg",
- "--text-muted",
- "--text-slate-500",
- "--text-sm",
- "--text-xl",
- "--tracking-normal",
- "--tracking-tight",
- "--workspace-pad"
- ],
- "tokenKinds": {
- "--ease": "other",
- "--dur": "other",
- "--brand-green": "color",
- "--brand-green-hover": "color",
- "--brand-green-active": "color",
- "--brand-green-ring": "color",
- "--brand-green-glow": "color",
- "--brand-green-tint": "color",
- "--rec-red": "color",
- "--rec-red-text": "font",
- "--rec-amber": "color",
- "--rec-amber-text": "font",
- "--background": "other",
- "--foreground": "other",
- "--card": "other",
- "--card-foreground": "other",
- "--popover": "other",
- "--popover-foreground": "other",
- "--primary": "other",
- "--primary-foreground": "other",
- "--secondary": "other",
- "--secondary-foreground": "other",
- "--muted": "other",
- "--muted-foreground": "other",
- "--accent": "other",
- "--accent-foreground": "other",
- "--destructive": "other",
- "--destructive-foreground": "other",
- "--border": "other",
- "--input": "other",
- "--ring": "other",
- "--radius": "radius",
- "--shell-0": "color",
- "--shell-1": "color",
- "--shell-2": "color",
- "--shell-3": "color",
- "--shell-4": "color",
- "--shell-5": "color",
- "--line-subtle": "color",
- "--line": "color",
- "--line-strong": "color",
- "--fill-subtle": "color",
- "--fill": "color",
- "--fill-hover": "color",
- "--text-hi": "font",
- "--text-1": "font",
- "--text-2": "font",
- "--text-3": "font",
- "--text-4": "font",
- "--text-5": "font",
- "--text-slate-500": "font",
- "--color-bg": "color",
- "--color-fg": "color",
- "--surface-card": "color",
- "--surface-popover": "color",
- "--text-body": "font",
- "--text-muted": "font",
- "--border-default": "color",
- "--focus-ring": "shadow",
- "--accent-primary": "color",
- "--font-sans": "font",
- "--font-mono": "font",
- "--font-caption-marker": "font",
- "--font-caption-hand": "font",
- "--font-caption-impact": "font",
- "--font-caption-serif": "font",
- "--font-caption-grotesk": "font",
- "--fw-regular": "other",
- "--fw-medium": "other",
- "--fw-semibold": "other",
- "--fw-bold": "other",
- "--text-9": "font",
- "--text-10": "font",
- "--text-11": "font",
- "--text-12": "font",
- "--text-13": "font",
- "--text-sm": "font",
- "--text-base": "font",
- "--text-lg": "font",
- "--text-xl": "font",
- "--text-2xl": "font",
- "--lh-none": "other",
- "--lh-tight": "other",
- "--lh-snug": "other",
- "--lh-normal": "other",
- "--lh-relaxed": "other",
- "--tracking-tight": "font",
- "--tracking-normal": "font",
- "--space-0": "spacing",
- "--space-0-5": "spacing",
- "--space-1": "spacing",
- "--space-1-5": "spacing",
- "--space-2": "spacing",
- "--space-2-5": "spacing",
- "--space-3": "spacing",
- "--space-3-5": "spacing",
- "--space-4": "spacing",
- "--space-5": "spacing",
- "--space-6": "spacing",
- "--space-8": "spacing",
- "--space-10": "spacing",
- "--space-12": "spacing",
- "--radius-sm": "radius",
- "--radius-md": "radius",
- "--radius-lg": "radius",
- "--radius-xl": "radius",
- "--radius-2xl": "radius",
- "--radius-3xl": "radius",
- "--radius-window": "radius",
- "--radius-full": "radius",
- "--control-h-xs": "spacing",
- "--control-h-sm": "spacing",
- "--control-h-md": "spacing",
- "--control-h-lg": "spacing",
- "--icon-xs": "spacing",
- "--icon-sm": "spacing",
- "--icon-md": "spacing",
- "--icon-lg": "spacing",
- "--rail-width": "other",
- "--workspace-pad": "spacing",
- "--radius-xs": "radius",
- "--radius-pill": "radius",
- "--elev-card": "shadow",
- "--elev-pop": "shadow",
- "--glow-accent": "color",
- "--shadow-hud": "shadow",
- "--shadow-panel": "shadow",
- "--shadow-popover": "shadow",
- "--shadow-card": "shadow",
- "--shadow-card-hover": "shadow",
- "--shadow-badge": "shadow",
- "--shadow-inset-hi": "shadow",
- "--shadow-capture": "shadow",
- "--glass-blur": "other",
- "--glass-blur-strong": "other",
- "--glass-shell": "other",
- "--glass-hud": "color",
- "--glass-popover": "color",
- "--gradient-workspace": "other",
- "--gradient-panel": "other",
- "--gradient-selected": "other",
- "--dur-fast": "other",
- "--dur-base": "other",
- "--dur-mid": "other",
- "--dur-slow": "other",
- "--press-scale": "other",
- "--ring-focus": "color",
- "--ring-slider": "shadow"
- },
- "fontFamilies": [
- "Bebas Neue",
- "Caveat",
- "Fira Code",
- "Geist",
- "Geist Mono",
- "IBM Plex Mono",
- "Inter",
- "Oswald",
- "Permanent Marker",
- "Playfair Display",
- "Space Grotesk"
- ]
- }
-}
diff --git a/design/_ds_bundle.js b/design/_ds_bundle.js
deleted file mode 100644
index f410753e0..000000000
--- a/design/_ds_bundle.js
+++ /dev/null
@@ -1,1328 +0,0 @@
-/* @ds-bundle: {"format":4,"namespace":"DesignSystem_d5355e","components":[{"name":"Badge","sourcePath":"components/display/Badge.jsx"},{"name":"Card","sourcePath":"components/display/Card.jsx"},{"name":"Chip","sourcePath":"components/display/Chip.jsx"},{"name":"ProgressBar","sourcePath":"components/display/ProgressBar.jsx"},{"name":"ChatBubble","sourcePath":"components/editor/ChatBubble.jsx"},{"name":"FacetRailButton","sourcePath":"components/editor/FacetRailButton.jsx"},{"name":"MediaCard","sourcePath":"components/editor/MediaCard.jsx"},{"name":"ProposalCard","sourcePath":"components/editor/ProposalCard.jsx"},{"name":"TimelinePill","sourcePath":"components/editor/TimelinePill.jsx"},{"name":"Button","sourcePath":"components/forms/Button.jsx"},{"name":"IconButton","sourcePath":"components/forms/IconButton.jsx"},{"name":"SegmentedControl","sourcePath":"components/forms/SegmentedControl.jsx"},{"name":"Select","sourcePath":"components/forms/Select.jsx"},{"name":"Slider","sourcePath":"components/forms/Slider.jsx"},{"name":"Switch","sourcePath":"components/forms/Switch.jsx"},{"name":"TextField","sourcePath":"components/forms/TextField.jsx"}],"sourceHashes":{"components/display/Badge.jsx":"945d417894b4","components/display/Card.jsx":"0a49c008b484","components/display/Chip.jsx":"e8ce89e14157","components/display/ProgressBar.jsx":"389c60a837a5","components/editor/ChatBubble.jsx":"9fb2d4f5b482","components/editor/FacetRailButton.jsx":"0787738d5dbc","components/editor/MediaCard.jsx":"e7c8e7020f73","components/editor/ProposalCard.jsx":"a9b5577f85d1","components/editor/TimelinePill.jsx":"54dd80c4b997","components/forms/Button.jsx":"da1cbfaa0d8e","components/forms/IconButton.jsx":"acc85205377d","components/forms/SegmentedControl.jsx":"8ead5ca73ac1","components/forms/Select.jsx":"acfccc2a37f2","components/forms/Slider.jsx":"70f722a063d1","components/forms/Switch.jsx":"b6f070e782e5","components/forms/TextField.jsx":"000e9d209e3e"},"inlinedExternals":[],"unexposedExports":[]} */
-
-(() => {
-
-const __ds_ns = (window.DesignSystem_d5355e = window.DesignSystem_d5355e || {});
-
-const __ds_scope = {};
-
-(__ds_ns.__errors = __ds_ns.__errors || []);
-
-// components/display/Badge.jsx
-try { (() => {
-/**
- * OpenScreen Badge — the small status pill. Optional leading dot.
- * tones: accent (default) · neutral · danger · warn. `soft` uses the
- * tinted fill (default); pass soft={false} for a bordered outline.
- */
-function Badge({
- children,
- tone = 'accent',
- dot = false,
- soft = true,
- mono = true,
- style = {}
-}) {
- const map = {
- accent: {
- fg: 'var(--accent)',
- bg: 'var(--accent-soft)',
- bd: 'var(--accent-border)',
- dot: 'var(--accent)'
- },
- neutral: {
- fg: 'var(--muted)',
- bg: 'var(--surface-2)',
- bd: 'var(--border)',
- dot: 'var(--muted)'
- },
- danger: {
- fg: 'var(--danger)',
- bg: 'var(--danger-soft)',
- bd: 'var(--danger)',
- dot: 'var(--danger)'
- },
- warn: {
- fg: 'var(--annotation)',
- bg: 'var(--annotation-wash)',
- bd: 'var(--annotation)',
- dot: 'var(--annotation)'
- }
- };
- const c = map[tone] || map.accent;
- return /*#__PURE__*/React.createElement("span", {
- style: {
- display: 'inline-flex',
- alignItems: 'center',
- gap: 5,
- padding: dot ? '3px 9px 3px 7px' : '3px 9px',
- borderRadius: 9999,
- background: soft ? c.bg : 'transparent',
- border: soft ? 'none' : `1px solid ${c.bd}`,
- color: c.fg,
- fontFamily: mono ? 'var(--font-mono)' : 'var(--font-display)',
- fontSize: mono ? 9.5 : 11.5,
- fontWeight: 600,
- whiteSpace: 'nowrap',
- ...style
- }
- }, dot && /*#__PURE__*/React.createElement("span", {
- style: {
- width: 4,
- height: 4,
- borderRadius: '50%',
- background: c.dot
- }
- }), children);
-}
-Object.assign(__ds_scope, { Badge });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/display/Badge.jsx", error: String((e && e.message) || e) }); }
-
-// components/display/Card.jsx
-try { (() => {
-/**
- * OpenScreen Card — the flat bordered surface container. `elevation`
- * "card" (resting) or "pop" (floating). `level` picks the fill surface.
- * Optional `title` renders a bordered header.
- */
-function Card({
- children,
- title = null,
- headerRight = null,
- elevation = 'card',
- level = 1,
- radius = 14,
- padding = 14,
- style = {},
- bodyStyle = {}
-}) {
- const fills = {
- 0: 'var(--surface)',
- 1: 'var(--surface-1)',
- 2: 'var(--surface-2)'
- };
- return /*#__PURE__*/React.createElement("div", {
- style: {
- border: '1px solid var(--border)',
- borderRadius: radius,
- background: fills[level] || fills[1],
- boxShadow: elevation === 'pop' ? 'var(--elev-pop)' : 'var(--elev-card)',
- overflow: 'hidden',
- ...style
- }
- }, title && /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'center',
- gap: 8,
- padding: '11px 13px 10px',
- borderBottom: '1px solid var(--border-soft)'
- }
- }, /*#__PURE__*/React.createElement("span", {
- style: {
- fontSize: 12,
- fontWeight: 600,
- color: 'var(--fg)',
- letterSpacing: '-0.01em'
- }
- }, title), headerRight && /*#__PURE__*/React.createElement("span", {
- style: {
- marginLeft: 'auto'
- }
- }, headerRight)), /*#__PURE__*/React.createElement("div", {
- style: {
- padding,
- ...bodyStyle
- }
- }, children));
-}
-Object.assign(__ds_scope, { Card });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/display/Card.jsx", error: String((e && e.message) || e) }); }
-
-// components/display/Chip.jsx
-try { (() => {
-/**
- * OpenScreen Chip — rounded action/filter pill with optional leading
- * icon. Used for the quick-action row above the composer. Hover gives
- * an accent wash + border.
- */
-function Chip({
- children,
- icon = null,
- onClick,
- style = {}
-}) {
- const [hover, setHover] = React.useState(false);
- return /*#__PURE__*/React.createElement("button", {
- type: "button",
- onClick: onClick,
- onMouseEnter: () => setHover(true),
- onMouseLeave: () => setHover(false),
- style: {
- flex: '0 0 auto',
- display: 'inline-flex',
- alignItems: 'center',
- gap: 6,
- padding: '6px 11px',
- borderRadius: 9999,
- background: hover ? 'var(--accent-wash)' : 'var(--surface-1)',
- border: `1px solid ${hover ? 'var(--accent-border)' : 'var(--border)'}`,
- color: hover ? 'var(--fg)' : 'var(--fg-2)',
- fontFamily: 'var(--font-display)',
- fontSize: 11.5,
- fontWeight: 500,
- cursor: 'pointer',
- whiteSpace: 'nowrap',
- ...style
- }
- }, icon && /*#__PURE__*/React.createElement("span", {
- style: {
- color: 'var(--accent)',
- display: 'inline-flex'
- }
- }, icon), children);
-}
-Object.assign(__ds_scope, { Chip });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/display/Chip.jsx", error: String((e && e.message) || e) }); }
-
-// components/display/ProgressBar.jsx
-try { (() => {
-/**
- * OpenScreen ProgressBar — thin track with an emerald (or gradient)
- * fill. Used for the recipe step progress and generic determinate
- * progress. Height defaults to the 3px recipe bar.
- */
-function ProgressBar({
- value = 0,
- height = 3,
- gradient = true,
- style = {}
-}) {
- const pct = Math.max(0, Math.min(100, value));
- return /*#__PURE__*/React.createElement("div", {
- style: {
- height,
- background: 'var(--surface-3)',
- position: 'relative',
- borderRadius: height / 2,
- overflow: 'hidden',
- ...style
- }
- }, /*#__PURE__*/React.createElement("div", {
- style: {
- position: 'absolute',
- left: 0,
- top: 0,
- bottom: 0,
- width: `${pct}%`,
- background: gradient ? 'linear-gradient(90deg, var(--brand-lo), var(--brand))' : 'var(--accent)'
- }
- }));
-}
-Object.assign(__ds_scope, { ProgressBar });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/display/ProgressBar.jsx", error: String((e && e.message) || e) }); }
-
-// components/editor/ChatBubble.jsx
-try { (() => {
-/**
- * OpenScreen ChatBubble — a single agent-conversation row. Handles the
- * three roles: assistant (avatar + left bubble, meta header), user
- * (right, emerald-tinted), system (centered pill).
- */
-function ChatBubble({
- role = 'assistant',
- author,
- time,
- children,
- avatar = null
-}) {
- if (role === 'system') {
- return /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- justifyContent: 'center'
- }
- }, /*#__PURE__*/React.createElement("div", {
- style: {
- maxWidth: '94%',
- padding: '6px 13px',
- borderRadius: 9999,
- background: 'var(--surface-1)',
- border: '1px solid var(--border-soft)',
- color: 'var(--muted)',
- fontSize: 11.5
- }
- }, children));
- }
- if (role === 'user') {
- return /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- justifyContent: 'flex-end'
- }
- }, /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- flexDirection: 'column',
- gap: 6,
- alignItems: 'flex-end',
- maxWidth: '86%'
- }
- }, (author || time) && /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'baseline',
- gap: 8,
- padding: '0 2px'
- }
- }, /*#__PURE__*/React.createElement("span", {
- style: {
- fontSize: 11.5,
- fontWeight: 600,
- color: 'var(--fg)',
- letterSpacing: '-0.01em'
- }
- }, author), time && /*#__PURE__*/React.createElement("span", {
- style: {
- fontFamily: 'var(--font-mono)',
- fontSize: 10,
- color: 'var(--meta)'
- }
- }, time)), /*#__PURE__*/React.createElement("div", {
- style: {
- padding: '10px 14px',
- borderRadius: '15px 5px 15px 15px',
- background: 'var(--accent-soft)',
- border: '1px solid var(--accent-border)',
- color: 'var(--fg)',
- fontSize: 13,
- lineHeight: 1.55
- }
- }, children)));
- }
- // assistant
- return /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- gap: 10,
- alignItems: 'flex-start'
- }
- }, /*#__PURE__*/React.createElement("span", {
- "aria-hidden": "true",
- style: {
- width: 26,
- height: 26,
- borderRadius: 8,
- background: 'var(--surface-2)',
- border: '1px solid var(--border)',
- flexShrink: 0,
- marginTop: 2,
- display: 'grid',
- placeItems: 'center',
- color: 'var(--accent)'
- }
- }, avatar), /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- flexDirection: 'column',
- gap: 6,
- minWidth: 0,
- maxWidth: '86%'
- }
- }, (author || time) && /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'baseline',
- gap: 8,
- padding: '0 2px'
- }
- }, /*#__PURE__*/React.createElement("span", {
- style: {
- fontSize: 11.5,
- fontWeight: 600,
- color: 'var(--fg)',
- letterSpacing: '-0.01em'
- }
- }, author), time && /*#__PURE__*/React.createElement("span", {
- style: {
- fontFamily: 'var(--font-mono)',
- fontSize: 10,
- color: 'var(--meta)'
- }
- }, time)), /*#__PURE__*/React.createElement("div", {
- style: {
- padding: '11px 14px',
- borderRadius: '5px 15px 15px 15px',
- background: 'var(--surface)',
- border: '1px solid var(--border)',
- color: 'var(--fg-2)',
- fontSize: 13,
- lineHeight: 1.55,
- boxShadow: 'var(--elev-card)'
- }
- }, children)));
-}
-Object.assign(__ds_scope, { ChatBubble });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/editor/ChatBubble.jsx", error: String((e && e.message) || e) }); }
-
-// components/editor/FacetRailButton.jsx
-try { (() => {
-/**
- * OpenScreen FacetRailButton — an icon button in the vertical facet
- * rail beside the inspector. Active facet gets the emerald-soft fill.
- */
-function FacetRailButton({
- active = false,
- title,
- onClick,
- children,
- style = {}
-}) {
- const [hover, setHover] = React.useState(false);
- let color = active ? 'var(--accent)' : 'var(--muted)';
- let background = active ? 'var(--accent-soft)' : 'transparent';
- if (!active && hover) {
- color = 'var(--fg)';
- background = 'var(--surface-3)';
- }
- return /*#__PURE__*/React.createElement("button", {
- type: "button",
- title: title,
- "aria-label": title,
- "aria-pressed": active,
- onClick: onClick,
- onMouseEnter: () => setHover(true),
- onMouseLeave: () => setHover(false),
- style: {
- width: 40,
- height: 40,
- display: 'grid',
- placeItems: 'center',
- border: 0,
- borderRadius: 11,
- background,
- color,
- cursor: 'pointer',
- ...style
- }
- }, children);
-}
-Object.assign(__ds_scope, { FacetRailButton });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/editor/FacetRailButton.jsx", error: String((e && e.message) || e) }); }
-
-// components/editor/MediaCard.jsx
-try { (() => {
-/**
- * OpenScreen MediaCard — a clip tile in the media library. Gradient
- * thumbnail with a film-strip glyph, a drag-handle affordance, and a
- * name/duration/size footer. Selected → 1.5px emerald border.
- */
-function MediaCard({
- name,
- duration,
- size,
- from = '#10b981',
- to = '#0d986a',
- selected = false,
- draggable = true,
- onClick,
- onDragStart,
- onDragEnd,
- style = {}
-}) {
- return /*#__PURE__*/React.createElement("button", {
- draggable: draggable,
- onClick: onClick,
- onDragStart: onDragStart,
- onDragEnd: onDragEnd,
- style: {
- display: 'flex',
- flexDirection: 'column',
- padding: 0,
- border: `1.5px solid ${selected ? 'var(--accent)' : 'var(--border)'}`,
- borderRadius: 12,
- background: 'var(--surface)',
- overflow: 'hidden',
- cursor: 'grab',
- textAlign: 'left',
- ...style
- }
- }, /*#__PURE__*/React.createElement("div", {
- style: {
- position: 'relative',
- height: 84,
- display: 'grid',
- placeItems: 'center',
- background: `linear-gradient(135deg, ${from}, ${to})`
- }
- }, /*#__PURE__*/React.createElement("svg", {
- width: "30",
- height: "30",
- viewBox: "0 0 24 24",
- fill: "none",
- stroke: "rgba(255,255,255,0.85)",
- strokeWidth: "1.8",
- strokeLinecap: "round",
- strokeLinejoin: "round"
- }, /*#__PURE__*/React.createElement("rect", {
- x: "2.5",
- y: "4",
- width: "19",
- height: "16",
- rx: "2"
- }), /*#__PURE__*/React.createElement("path", {
- d: "M7 4v16M17 4v16M2.5 9h4.5M2.5 15h4.5M17 9h4.5M17 15h4.5"
- })), /*#__PURE__*/React.createElement("span", {
- "aria-hidden": "true",
- style: {
- position: 'absolute',
- top: 7,
- left: 7,
- width: 22,
- height: 22,
- display: 'grid',
- placeItems: 'center',
- borderRadius: 6,
- background: 'rgba(8,10,13,0.45)',
- backdropFilter: 'blur(6px)'
- }
- }, /*#__PURE__*/React.createElement("svg", {
- width: "12",
- height: "12",
- viewBox: "0 0 24 24",
- fill: "rgba(255,255,255,0.9)"
- }, /*#__PURE__*/React.createElement("circle", {
- cx: "9",
- cy: "6",
- r: "1.6"
- }), /*#__PURE__*/React.createElement("circle", {
- cx: "15",
- cy: "6",
- r: "1.6"
- }), /*#__PURE__*/React.createElement("circle", {
- cx: "9",
- cy: "12",
- r: "1.6"
- }), /*#__PURE__*/React.createElement("circle", {
- cx: "15",
- cy: "12",
- r: "1.6"
- }), /*#__PURE__*/React.createElement("circle", {
- cx: "9",
- cy: "18",
- r: "1.6"
- }), /*#__PURE__*/React.createElement("circle", {
- cx: "15",
- cy: "18",
- r: "1.6"
- })))), /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'center',
- gap: 7,
- padding: '10px 12px'
- }
- }, selected && /*#__PURE__*/React.createElement("span", {
- style: {
- width: 6,
- height: 6,
- borderRadius: '50%',
- background: 'var(--accent)',
- flexShrink: 0
- }
- }), /*#__PURE__*/React.createElement("div", {
- style: {
- minWidth: 0,
- flex: 1
- }
- }, /*#__PURE__*/React.createElement("div", {
- style: {
- fontSize: 12.5,
- fontWeight: 600,
- color: 'var(--fg)',
- whiteSpace: 'nowrap',
- overflow: 'hidden',
- textOverflow: 'ellipsis'
- }
- }, name), /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- justifyContent: 'space-between',
- gap: 8
- }
- }, /*#__PURE__*/React.createElement("span", {
- style: {
- fontFamily: 'var(--font-mono)',
- fontSize: 10.5,
- color: 'var(--muted)'
- }
- }, duration), /*#__PURE__*/React.createElement("span", {
- style: {
- fontFamily: 'var(--font-mono)',
- fontSize: 10.5,
- color: 'var(--meta)'
- }
- }, size)))));
-}
-Object.assign(__ds_scope, { MediaCard });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/editor/MediaCard.jsx", error: String((e && e.message) || e) }); }
-
-// components/editor/ProposalCard.jsx
-try { (() => {
-/**
- * OpenScreen ProposalCard — the agent's "Proposed cuts" card: a header
- * with total + confidence badge, a list of time-range rows with striped
- * clip chips, an apply/review action row, and a rationale footnote.
- */
-function ProposalCard({
- title = 'Proposed cuts',
- total,
- confidence = 'High confidence',
- items = [],
- rationale,
- applyLabel = 'Apply',
- onApply,
- onReview
-}) {
- return /*#__PURE__*/React.createElement("div", {
- style: {
- border: '1px solid var(--border)',
- borderRadius: 14,
- background: 'var(--surface-1)',
- overflow: 'hidden',
- boxShadow: 'var(--elev-card)'
- }
- }, /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'center',
- gap: 8,
- padding: '11px 13px 10px',
- borderBottom: '1px solid var(--border-soft)'
- }
- }, /*#__PURE__*/React.createElement("svg", {
- width: "13",
- height: "13",
- viewBox: "0 0 24 24",
- fill: "none",
- stroke: "currentColor",
- strokeWidth: "2",
- strokeLinecap: "round",
- strokeLinejoin: "round",
- style: {
- color: 'var(--accent)'
- }
- }, /*#__PURE__*/React.createElement("path", {
- d: "M20 6 9 17l-5-5"
- })), /*#__PURE__*/React.createElement("span", {
- style: {
- fontSize: 12,
- fontWeight: 600,
- color: 'var(--fg)',
- letterSpacing: '-0.01em'
- }
- }, title), total != null && /*#__PURE__*/React.createElement("span", {
- style: {
- fontFamily: 'var(--font-mono)',
- fontSize: 10,
- color: 'var(--meta)'
- }
- }, "−", total), /*#__PURE__*/React.createElement("span", {
- style: {
- marginLeft: 'auto',
- display: 'inline-flex',
- alignItems: 'center',
- gap: 5,
- padding: '3px 8px',
- borderRadius: 9999,
- background: 'var(--accent-soft)',
- color: 'var(--accent)',
- fontFamily: 'var(--font-mono)',
- fontSize: 9.5,
- fontWeight: 600,
- border: '1px solid var(--accent-border)'
- }
- }, /*#__PURE__*/React.createElement("span", {
- style: {
- width: 4,
- height: 4,
- borderRadius: '50%',
- background: 'var(--accent)'
- }
- }), confidence)), /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- flexDirection: 'column'
- }
- }, items.map((it, i) => /*#__PURE__*/React.createElement("div", {
- key: i,
- style: {
- display: 'flex',
- alignItems: 'center',
- gap: 10,
- padding: '8px 13px',
- borderBottom: '1px solid var(--border-soft)'
- }
- }, /*#__PURE__*/React.createElement("span", {
- "aria-hidden": "true",
- style: {
- width: 16,
- height: 9,
- borderRadius: 2,
- flexShrink: 0,
- background: 'var(--accent-wash)',
- backgroundImage: 'repeating-linear-gradient(45deg, var(--accent-stripe) 0, var(--accent-stripe) 3px, transparent 3px, transparent 6px)'
- }
- }), /*#__PURE__*/React.createElement("span", {
- style: {
- fontFamily: 'var(--font-mono)',
- fontSize: 11.5,
- color: 'var(--fg)'
- }
- }, it.range), /*#__PURE__*/React.createElement("span", {
- style: {
- marginLeft: 'auto',
- fontFamily: 'var(--font-mono)',
- fontSize: 10.5,
- color: 'var(--muted)'
- }
- }, "−", it.dur)))), /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'center',
- gap: 8,
- padding: '11px 13px',
- background: 'var(--surface)'
- }
- }, /*#__PURE__*/React.createElement("button", {
- onClick: onApply,
- style: {
- flex: 1,
- padding: '8px 12px',
- borderRadius: 10,
- border: '1px solid var(--accent)',
- background: 'var(--accent)',
- color: '#fff',
- fontSize: 12,
- fontWeight: 600,
- cursor: 'pointer',
- boxShadow: '0 2px 8px -3px var(--accent-soft)'
- }
- }, applyLabel), /*#__PURE__*/React.createElement("button", {
- onClick: onReview,
- style: {
- padding: '8px 12px',
- borderRadius: 10,
- border: '1px solid var(--border)',
- background: 'var(--surface-1)',
- color: 'var(--fg-2)',
- fontSize: 12,
- fontWeight: 500,
- cursor: 'pointer'
- }
- }, "Review each")), rationale && /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'flex-start',
- gap: 6,
- padding: '0 13px 12px'
- }
- }, /*#__PURE__*/React.createElement("svg", {
- width: "12",
- height: "12",
- viewBox: "0 0 24 24",
- fill: "none",
- stroke: "currentColor",
- strokeWidth: "2",
- strokeLinecap: "round",
- strokeLinejoin: "round",
- style: {
- color: 'var(--meta)',
- flexShrink: 0,
- marginTop: 1
- }
- }, /*#__PURE__*/React.createElement("circle", {
- cx: "12",
- cy: "12",
- r: "10"
- }), /*#__PURE__*/React.createElement("path", {
- d: "M12 16v-4"
- }), /*#__PURE__*/React.createElement("path", {
- d: "M12 8h.01"
- })), /*#__PURE__*/React.createElement("span", {
- style: {
- fontSize: 10.5,
- color: 'var(--meta)',
- lineHeight: 1.45
- }
- }, rationale)));
-}
-Object.assign(__ds_scope, { ProposalCard });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/editor/ProposalCard.jsx", error: String((e && e.message) || e) }); }
-
-// components/editor/TimelinePill.jsx
-try { (() => {
-/**
- * OpenScreen TimelinePill — a labelled marker on a timeline lane.
- * tone maps to the four lane accents. `fixedWidth` (tag mode) sizes to
- * content; otherwise it spans a range via left/width percentages.
- */
-function TimelinePill({
- tone = 'accent',
- icon = null,
- children,
- leftPct = 0,
- widthPct = null,
- style = {}
-}) {
- const map = {
- accent: {
- c: 'var(--accent)',
- w: 'var(--accent-soft)'
- },
- annotation: {
- c: 'var(--annotation)',
- w: 'var(--annotation-wash)'
- },
- speed: {
- c: 'var(--speed)',
- w: 'var(--speed-wash)'
- },
- danger: {
- c: 'var(--danger)',
- w: 'var(--danger-soft)'
- }
- };
- const t = map[tone] || map.accent;
- return /*#__PURE__*/React.createElement("span", {
- style: {
- position: 'absolute',
- top: 1,
- left: `${leftPct}%`,
- width: widthPct == null ? 'max-content' : `${widthPct}%`,
- height: 22,
- display: 'inline-flex',
- alignItems: 'center',
- gap: 5,
- padding: '0 9px 0 7px',
- borderRadius: 6,
- border: `1.5px solid ${t.c}`,
- background: t.w,
- color: tone === 'danger' ? 'var(--danger)' : 'var(--fg)',
- fontSize: 11,
- fontWeight: 600,
- whiteSpace: 'nowrap',
- overflow: 'hidden',
- boxSizing: 'border-box',
- ...style
- }
- }, icon, children);
-}
-Object.assign(__ds_scope, { TimelinePill });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/editor/TimelinePill.jsx", error: String((e && e.message) || e) }); }
-
-// components/forms/Button.jsx
-try { (() => {
-function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
-/**
- * OpenScreen Button — the primary text action.
- * variants: primary (emerald fill) · secondary (surface + border) · ghost (transparent).
- * Icons are passed as children alongside a label, or use IconButton for icon-only.
- */
-function Button({
- variant = 'primary',
- size = 'md',
- icon = null,
- iconRight = null,
- disabled = false,
- fullWidth = false,
- onClick,
- children,
- style = {},
- ...rest
-}) {
- const sizes = {
- sm: {
- h: 28,
- px: 10,
- fs: 12,
- gap: 6,
- radius: 8
- },
- md: {
- h: 32,
- px: 14,
- fs: 13,
- gap: 7,
- radius: 9
- },
- lg: {
- h: 40,
- px: 18,
- fs: 14,
- gap: 9,
- radius: 12
- }
- };
- const s = sizes[size] || sizes.md;
- const variants = {
- primary: {
- background: 'var(--accent)',
- color: '#fff',
- border: '1px solid var(--accent)',
- boxShadow: '0 2px 10px -3px var(--accent-soft)'
- },
- secondary: {
- background: 'var(--surface-1)',
- color: 'var(--fg-2)',
- border: '1px solid var(--border)'
- },
- ghost: {
- background: 'transparent',
- color: 'var(--fg-2)',
- border: '1px solid transparent'
- }
- };
- const v = variants[variant] || variants.primary;
- const base = {
- display: 'inline-flex',
- alignItems: 'center',
- justifyContent: 'center',
- gap: s.gap,
- height: s.h,
- padding: `0 ${s.px}px`,
- borderRadius: s.radius,
- fontFamily: 'var(--font-display)',
- fontSize: s.fs,
- fontWeight: 600,
- lineHeight: 1,
- cursor: disabled ? 'not-allowed' : 'pointer',
- opacity: disabled ? 0.45 : 1,
- whiteSpace: 'nowrap',
- ...v,
- ...style
- };
- const [hover, setHover] = React.useState(false);
- const hoverStyle = !disabled && hover ? variant === 'primary' ? {
- background: 'var(--brand-lo)'
- } : variant === 'secondary' ? {
- borderColor: 'var(--border-hi)',
- color: 'var(--fg)'
- } : {
- background: 'var(--surface-1)',
- borderColor: 'var(--border)'
- } : {};
- return /*#__PURE__*/React.createElement("button", _extends({
- type: "button",
- disabled: disabled,
- onClick: onClick,
- onMouseEnter: () => setHover(true),
- onMouseLeave: () => setHover(false),
- style: {
- ...base,
- ...hoverStyle,
- width: fullWidth ? '100%' : undefined
- }
- }, rest), icon, children, iconRight);
-}
-Object.assign(__ds_scope, { Button });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/Button.jsx", error: String((e && e.message) || e) }); }
-
-// components/forms/IconButton.jsx
-try { (() => {
-function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
-/**
- * OpenScreen IconButton — square, icon-only. The workhorse of toolbars,
- * the topbar, and floating chrome. Ghost by default; `active` gives the
- * emerald-soft selected look; `tone="danger"` for destructive.
- */
-function IconButton({
- size = 32,
- active = false,
- tone = 'default',
- disabled = false,
- title,
- onClick,
- children,
- style = {},
- ...rest
-}) {
- const [hover, setHover] = React.useState(false);
- const rest_ = {
- default: 'var(--muted)',
- danger: 'var(--muted)'
- }[tone];
- let color = active ? 'var(--accent)' : rest_;
- let background = active ? 'var(--accent-soft)' : 'transparent';
- if (!disabled && hover && !active) {
- if (tone === 'danger') {
- color = 'var(--danger)';
- background = 'var(--danger-soft)';
- } else {
- color = 'var(--fg)';
- background = 'var(--surface-2)';
- }
- }
- return /*#__PURE__*/React.createElement("button", _extends({
- type: "button",
- title: title,
- "aria-label": title,
- "aria-pressed": active || undefined,
- disabled: disabled,
- onClick: onClick,
- onMouseEnter: () => setHover(true),
- onMouseLeave: () => setHover(false),
- style: {
- width: size,
- height: size,
- display: 'grid',
- placeItems: 'center',
- borderRadius: size <= 28 ? 6 : 9,
- border: 0,
- background,
- color,
- cursor: disabled ? 'not-allowed' : 'pointer',
- opacity: disabled ? 0.4 : 1,
- flexShrink: 0,
- ...style
- }
- }, rest), children);
-}
-Object.assign(__ds_scope, { IconButton });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/IconButton.jsx", error: String((e && e.message) || e) }); }
-
-// components/forms/SegmentedControl.jsx
-try { (() => {
-/**
- * OpenScreen SegmentedControl — the pill-in-a-trough tab switcher.
- * Used for Media/Edit/Rec stage modes, Image/Color/Gradient background
- * tabs, Screen/Window source, etc. The active segment gets a raised
- * surface chip; inactive segments are muted text.
- */
-function SegmentedControl({
- options = [],
- value,
- onChange,
- size = 'md',
- style = {}
-}) {
- const s = size === 'sm' ? {
- pad: '6px 8px',
- fs: 11.5,
- trough: 2,
- radius: 8,
- inner: 6
- } : {
- pad: '7px 14px',
- fs: 12.5,
- trough: 3,
- radius: 11,
- inner: 8
- };
- return /*#__PURE__*/React.createElement("div", {
- role: "tablist",
- style: {
- display: 'inline-flex',
- alignItems: 'center',
- gap: 2,
- padding: s.trough,
- background: 'var(--surface-1)',
- border: '1px solid var(--border)',
- borderRadius: s.radius,
- ...style
- }
- }, options.map(opt => {
- const val = typeof opt === 'string' ? opt : opt.value;
- const label = typeof opt === 'string' ? opt : opt.label;
- const active = val === value;
- return /*#__PURE__*/React.createElement("button", {
- key: val,
- role: "tab",
- "aria-selected": active,
- onClick: () => onChange && onChange(val),
- style: {
- padding: s.pad,
- border: 0,
- borderRadius: s.inner,
- cursor: 'pointer',
- fontFamily: 'var(--font-display)',
- fontSize: s.fs,
- fontWeight: 600,
- lineHeight: 1,
- background: active ? 'var(--surface-hi)' : 'transparent',
- color: active ? 'var(--fg-emphasis)' : 'var(--muted)',
- boxShadow: active ? 'var(--elev-card)' : 'none'
- }
- }, label);
- }));
-}
-Object.assign(__ds_scope, { SegmentedControl });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/SegmentedControl.jsx", error: String((e && e.message) || e) }); }
-
-// components/forms/Select.jsx
-try { (() => {
-function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
-/**
- * OpenScreen Select — native dropdown styled to match. Used for
- * caption style, layout preset, transcript language, etc.
- */
-function Select({
- options = [],
- value,
- onChange,
- fullWidth = true,
- style = {},
- ...rest
-}) {
- return /*#__PURE__*/React.createElement("select", _extends({
- value: value,
- onChange: e => onChange && onChange(e.target.value),
- style: {
- width: fullWidth ? '100%' : undefined,
- height: 36,
- padding: '0 11px',
- borderRadius: 10,
- border: '1px solid var(--border)',
- background: 'var(--surface-2)',
- color: 'var(--fg-2)',
- fontFamily: 'var(--font-display)',
- fontSize: 12.5,
- fontWeight: 500,
- outline: 'none',
- cursor: 'pointer',
- ...style
- }
- }, rest), options.map(opt => {
- const val = typeof opt === 'string' ? opt : opt.value;
- const label = typeof opt === 'string' ? opt : opt.label;
- return /*#__PURE__*/React.createElement("option", {
- key: val,
- value: val
- }, label);
- }));
-}
-Object.assign(__ds_scope, { Select });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/Select.jsx", error: String((e && e.message) || e) }); }
-
-// components/forms/Slider.jsx
-try { (() => {
-/**
- * OpenScreen Slider — the labelled range control inside inspector cards.
- * Renders the whole card: label (left) + mono value in emerald (right)
- * above a filled range track. Pass `card={false}` for a bare track.
- */
-function Slider({
- label,
- value = 0,
- min = 0,
- max = 100,
- step = 1,
- format,
- onChange,
- card = true,
- style = {}
-}) {
- const pct = (value - min) / (max - min) * 100;
- const trackStyle = {
- width: '100%',
- display: 'block',
- backgroundImage: `linear-gradient(var(--accent),var(--accent)), linear-gradient(var(--surface-3),var(--surface-3))`,
- backgroundSize: `${pct}% 5px, 100% 5px`
- };
- const display = format ? format(value) : value;
- const input = /*#__PURE__*/React.createElement("input", {
- type: "range",
- min: min,
- max: max,
- step: step,
- value: value,
- onChange: e => onChange && onChange(Number(e.target.value)),
- style: trackStyle
- });
- if (!card) return input;
- return /*#__PURE__*/React.createElement("div", {
- style: {
- border: '1px solid var(--border)',
- borderRadius: 12,
- background: 'var(--surface)',
- padding: '11px 13px',
- ...style
- }
- }, /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: 'center',
- marginBottom: 8
- }
- }, /*#__PURE__*/React.createElement("span", {
- style: {
- fontSize: 11.5,
- fontWeight: 500,
- color: 'var(--fg-2)'
- }
- }, label), /*#__PURE__*/React.createElement("span", {
- style: {
- fontFamily: 'var(--font-mono)',
- fontSize: 11,
- color: 'var(--accent)',
- marginLeft: 'auto'
- }
- }, display)), input);
-}
-Object.assign(__ds_scope, { Slider });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/Slider.jsx", error: String((e && e.message) || e) }); }
-
-// components/forms/Switch.jsx
-try { (() => {
-/**
- * OpenScreen Switch — the pill toggle used in inspector setting rows
- * (Blur background, Mirror webcam, Shrink on zoom, Show cursor…).
- * Track fills emerald when on; knob slides right.
- */
-function Switch({
- checked = false,
- onChange,
- disabled = false,
- style = {}
-}) {
- const W = 38,
- H = 22,
- KNOB = 16,
- PAD = 3;
- return /*#__PURE__*/React.createElement("button", {
- type: "button",
- role: "switch",
- "aria-checked": checked,
- disabled: disabled,
- onClick: () => !disabled && onChange && onChange(!checked),
- style: {
- position: 'relative',
- width: W,
- height: H,
- flexShrink: 0,
- border: 0,
- borderRadius: 9999,
- cursor: disabled ? 'not-allowed' : 'pointer',
- opacity: disabled ? 0.5 : 1,
- background: checked ? 'var(--accent)' : 'var(--surface-3)',
- transition: 'background .18s var(--ease)',
- ...style
- }
- }, /*#__PURE__*/React.createElement("span", {
- "aria-hidden": "true",
- style: {
- position: 'absolute',
- top: PAD,
- left: checked ? W - KNOB - PAD : PAD,
- width: KNOB,
- height: KNOB,
- borderRadius: '50%',
- background: '#fff',
- boxShadow: '0 1px 3px rgba(0,0,0,0.35)',
- transition: 'left .18s var(--ease)'
- }
- }));
-}
-Object.assign(__ds_scope, { Switch });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/Switch.jsx", error: String((e && e.message) || e) }); }
-
-// components/forms/TextField.jsx
-try { (() => {
-function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
-/**
- * OpenScreen TextField — one primitive for both single-line inputs and
- * the multiline composer (same border/fill/radius vocabulary).
- * `multiline` swaps <input> for an auto-height <textarea>.
- * `leadingIcon` renders a search/glyph inside a bordered wrapper.
- */
-function TextField({
- value,
- onChange,
- placeholder,
- multiline = false,
- leadingIcon = null,
- rows = 2,
- style = {},
- wrapStyle = {},
- ...rest
-}) {
- const shared = {
- width: '100%',
- minWidth: 0,
- border: 0,
- background: 'transparent',
- fontFamily: 'var(--font-display)',
- fontSize: 13,
- lineHeight: 1.5,
- color: 'var(--fg)',
- outline: 'none',
- resize: 'none'
- };
- const control = multiline ? /*#__PURE__*/React.createElement("textarea", _extends({
- value: value,
- onChange: e => onChange && onChange(e.target.value),
- placeholder: placeholder,
- rows: rows,
- style: {
- ...shared,
- minHeight: 28,
- ...style
- }
- }, rest)) : /*#__PURE__*/React.createElement("input", _extends({
- value: value,
- onChange: e => onChange && onChange(e.target.value),
- placeholder: placeholder,
- style: {
- ...shared,
- ...style
- }
- }, rest));
- return /*#__PURE__*/React.createElement("div", {
- style: {
- display: 'flex',
- alignItems: multiline ? 'flex-start' : 'center',
- gap: 10,
- padding: multiline ? '9px 11px' : '10px 14px',
- border: '1px solid var(--border)',
- borderRadius: multiline ? 14 : 10,
- background: 'var(--surface-1)',
- ...wrapStyle
- }
- }, leadingIcon, control);
-}
-Object.assign(__ds_scope, { TextField });
-})(); } catch (e) { __ds_ns.__errors.push({ path: "components/forms/TextField.jsx", error: String((e && e.message) || e) }); }
-
-__ds_ns.Badge = __ds_scope.Badge;
-
-__ds_ns.Card = __ds_scope.Card;
-
-__ds_ns.Chip = __ds_scope.Chip;
-
-__ds_ns.ProgressBar = __ds_scope.ProgressBar;
-
-__ds_ns.ChatBubble = __ds_scope.ChatBubble;
-
-__ds_ns.FacetRailButton = __ds_scope.FacetRailButton;
-
-__ds_ns.MediaCard = __ds_scope.MediaCard;
-
-__ds_ns.ProposalCard = __ds_scope.ProposalCard;
-
-__ds_ns.TimelinePill = __ds_scope.TimelinePill;
-
-__ds_ns.Button = __ds_scope.Button;
-
-__ds_ns.IconButton = __ds_scope.IconButton;
-
-__ds_ns.SegmentedControl = __ds_scope.SegmentedControl;
-
-__ds_ns.Select = __ds_scope.Select;
-
-__ds_ns.Slider = __ds_scope.Slider;
-
-__ds_ns.Switch = __ds_scope.Switch;
-
-__ds_ns.TextField = __ds_scope.TextField;
-
-})();
diff --git a/design/components/display/Badge.d.ts b/design/components/display/Badge.d.ts
deleted file mode 100644
index 9a87e3976..000000000
--- a/design/components/display/Badge.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-export interface BadgeProps {
- children?: React.ReactNode;
- /** @default "accent" */
- tone?: 'accent' | 'neutral' | 'danger' | 'warn';
- /** Show a leading status dot. */
- dot?: boolean;
- /** Tinted fill (true) vs bordered outline (false). @default true */
- soft?: boolean;
- /** Geist Mono (true) vs Geist (false). @default true */
- mono?: boolean;
- style?: React.CSSProperties;
-}
-
-/** Small status pill — "Saved", "0% context", "High confidence". */
-export function Badge(props: BadgeProps): JSX.Element;
diff --git a/design/components/display/Badge.prompt.md b/design/components/display/Badge.prompt.md
deleted file mode 100644
index 6fa2a6abb..000000000
--- a/design/components/display/Badge.prompt.md
+++ /dev/null
@@ -1,9 +0,0 @@
-**Badge** — status pill. Used for save state, context %, confidence, "Not generated yet". Defaults to a soft emerald mono pill with an optional pulsing-style dot.
-
-```jsx
-<Badge dot>Saved</Badge>
-<Badge tone="accent" soft={false} dot>High confidence</Badge>
-<Badge tone="neutral" mono={false}>Not generated yet</Badge>
-```
-
-- `mono` on by default — most badges carry numbers/status codes. Turn off for sentence-case labels.
diff --git a/design/components/display/Card.d.ts b/design/components/display/Card.d.ts
deleted file mode 100644
index e294f8044..000000000
--- a/design/components/display/Card.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-
-export interface CardProps {
- children?: React.ReactNode;
- /** Optional bordered header title. */
- title?: React.ReactNode;
- /** Node pinned to the right of the header. */
- headerRight?: React.ReactNode;
- /** Resting card vs floating popover shadow. @default "card" */
- elevation?: 'card' | 'pop';
- /** Fill surface level 0–2. @default 1 */
- level?: 0 | 1 | 2;
- radius?: number;
- padding?: number;
- style?: React.CSSProperties;
- bodyStyle?: React.CSSProperties;
-}
-
-/** Flat bordered surface container. */
-export function Card(props: CardProps): JSX.Element;
diff --git a/design/components/display/Card.prompt.md b/design/components/display/Card.prompt.md
deleted file mode 100644
index a7a37272f..000000000
--- a/design/components/display/Card.prompt.md
+++ /dev/null
@@ -1,8 +0,0 @@
-**Card** — the generic bordered container behind setting rows, popovers, and panels. Use `elevation="pop"` for anything that floats over the stage (inspector, menus), `card` for resting content.
-
-```jsx
-<Card title="Proposed cuts" headerRight={<Badge dot>High</Badge>}>…</Card>
-<Card elevation="pop" level={1} radius={16} padding={0}>…</Card>
-```
-
-- `level` maps to `--surface` / `--surface-1` / `--surface-2`. Nested containers should round less than their parent.
diff --git a/design/components/display/Chip.d.ts b/design/components/display/Chip.d.ts
deleted file mode 100644
index b53da258c..000000000
--- a/design/components/display/Chip.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-
-export interface ChipProps {
- children?: React.ReactNode;
- /** Leading icon (rendered in accent). */
- icon?: React.ReactNode;
- onClick?: (e: React.MouseEvent) => void;
- style?: React.CSSProperties;
-}
-
-/** Rounded quick-action / filter pill with hover wash. */
-export function Chip(props: ChipProps): JSX.Element;
diff --git a/design/components/display/Chip.prompt.md b/design/components/display/Chip.prompt.md
deleted file mode 100644
index 63f4a51a2..000000000
--- a/design/components/display/Chip.prompt.md
+++ /dev/null
@@ -1,8 +0,0 @@
-**Chip** — tappable rounded pill, typically in a horizontal scroll row of suggested actions above the composer.
-
-```jsx
-<Chip icon={<ArrowRightIcon/>} onClick={fill}>Remove silences</Chip>
-<Chip icon={<ArrowRightIcon/>}>Tighten pacing</Chip>
-```
-
-- Rests on `--surface-1`; hover fills `--accent-wash` with an accent-tinted border and the leading arrow in emerald.
diff --git a/design/components/display/ProgressBar.d.ts b/design/components/display/ProgressBar.d.ts
deleted file mode 100644
index 8273fa581..000000000
--- a/design/components/display/ProgressBar.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-export interface ProgressBarProps {
- /** 0–100. */
- value: number;
- /** Track height in px. @default 3 */
- height?: number;
- /** Emerald gradient fill vs flat accent. @default true */
- gradient?: boolean;
- style?: React.CSSProperties;
-}
-
-/** Thin determinate progress track (recipe steps, generic progress). */
-export function ProgressBar(props: ProgressBarProps): JSX.Element;
diff --git a/design/components/display/ProgressBar.prompt.md b/design/components/display/ProgressBar.prompt.md
deleted file mode 100644
index 3a3686a85..000000000
--- a/design/components/display/ProgressBar.prompt.md
+++ /dev/null
@@ -1,6 +0,0 @@
-**ProgressBar** — thin determinate bar. Default 3px with an emerald gradient, matching the recipe-progress strip under the agent header.
-
-```jsx
-<ProgressBar value={60} />
-<ProgressBar value={40} height={5} gradient={false} />
-```
diff --git a/design/components/editor/ChatBubble.d.ts b/design/components/editor/ChatBubble.d.ts
deleted file mode 100644
index 96c50b3de..000000000
--- a/design/components/editor/ChatBubble.d.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-
-export interface ChatBubbleProps {
- /** @default "assistant" */
- role?: 'assistant' | 'user' | 'system';
- author?: string;
- time?: string;
- /** Avatar glyph for assistant role. */
- avatar?: React.ReactNode;
- children?: React.ReactNode;
-}
-
-/** One row in the agent conversation (assistant / user / system). */
-export function ChatBubble(props: ChatBubbleProps): JSX.Element;
diff --git a/design/components/editor/ChatBubble.prompt.md b/design/components/editor/ChatBubble.prompt.md
deleted file mode 100644
index ded1604d2..000000000
--- a/design/components/editor/ChatBubble.prompt.md
+++ /dev/null
@@ -1,10 +0,0 @@
-**ChatBubble** — one message in the OpenScreen Agent panel.
-
-```jsx
-<ChatBubble role="user" author="YOU">Clean up the intro please.</ChatBubble>
-<ChatBubble role="assistant" author="OpenScreen" time="10:41" avatar={<BotGlyph/>}>On it — scanning track 1…</ChatBubble>
-<ChatBubble role="system">Applied 3 cuts</ChatBubble>
-```
-
-- Assistant bubbles have a distinctive asymmetric radius (`5px 15px 15px 15px`) + avatar; user bubbles mirror it in emerald-soft.
-- For an attached proposal, render a `ProposalCard` as the bubble's child or directly after it.
diff --git a/design/components/editor/FacetRailButton.d.ts b/design/components/editor/FacetRailButton.d.ts
deleted file mode 100644
index 5c17a5494..000000000
--- a/design/components/editor/FacetRailButton.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-
-export interface FacetRailButtonProps {
- active?: boolean;
- title?: string;
- onClick?: () => void;
- children?: React.ReactNode;
- style?: React.CSSProperties;
-}
-
-/** Icon button in the vertical inspector facet rail. */
-export function FacetRailButton(props: FacetRailButtonProps): JSX.Element;
diff --git a/design/components/editor/FacetRailButton.prompt.md b/design/components/editor/FacetRailButton.prompt.md
deleted file mode 100644
index 9840925c6..000000000
--- a/design/components/editor/FacetRailButton.prompt.md
+++ /dev/null
@@ -1,7 +0,0 @@
-**FacetRailButton** — one icon in the vertical rail that switches the floating inspector's facet (Background, Effects, Layout, Cursor, Captions, Chapters, Transcript, Crop).
-
-```jsx
-<FacetRailButton title="Background" active={facet==='bg'} onClick={()=>setFacet('bg')}><ImageIcon/></FacetRailButton>
-```
-
-- 40×40, radius 11. Active facet = emerald-soft fill; hover steps to `--surface-3`.
diff --git a/design/components/editor/MediaCard.d.ts b/design/components/editor/MediaCard.d.ts
deleted file mode 100644
index 2e886c7d9..000000000
--- a/design/components/editor/MediaCard.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-export interface MediaCardProps {
- name: string;
- duration: string;
- size: string;
- /** Thumbnail gradient stops. */
- from?: string;
- to?: string;
- selected?: boolean;
- draggable?: boolean;
- onClick?: () => void;
- onDragStart?: (e: React.DragEvent) => void;
- onDragEnd?: (e: React.DragEvent) => void;
- style?: React.CSSProperties;
-}
-
-/** A draggable clip tile in the media library grid. */
-export function MediaCard(props: MediaCardProps): JSX.Element;
diff --git a/design/components/editor/MediaCard.prompt.md b/design/components/editor/MediaCard.prompt.md
deleted file mode 100644
index 1f56d4be3..000000000
--- a/design/components/editor/MediaCard.prompt.md
+++ /dev/null
@@ -1,8 +0,0 @@
-**MediaCard** — a clip in the media-library grid. Gradient thumbnail (stands in for a real frame), film-strip glyph, drag handle, mono duration/size footer.
-
-```jsx
-<MediaCard name="demo-n8n-as-code-1.mp4" duration="0:02:34.7" size="110 MB"
- from="#10b981" to="#0d986a" selected onClick={select} onDragStart={…} />
-```
-
-- Selected state = 1.5px emerald border + a dot before the name. Cards are draggable onto the timeline.
diff --git a/design/components/editor/ProposalCard.d.ts b/design/components/editor/ProposalCard.d.ts
deleted file mode 100644
index 1a6ee0aef..000000000
--- a/design/components/editor/ProposalCard.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-export interface ProposalItem {
- /** Time range, e.g. "0:31.0 – 0:37.3". */
- range: string;
- /** Removed duration, e.g. "6.3s". */
- dur: string;
-}
-
-export interface ProposalCardProps {
- title?: string;
- /** Total removed, shown as −{total} in the header. */
- total?: string;
- /** @default "High confidence" */
- confidence?: string;
- items: ProposalItem[];
- rationale?: string;
- /** Primary button label. @default "Apply" */
- applyLabel?: string;
- onApply?: () => void;
- onReview?: () => void;
-}
-
-/** The agent's proposed-cuts card (header + range rows + actions + rationale). */
-export function ProposalCard(props: ProposalCardProps): JSX.Element;
diff --git a/design/components/editor/ProposalCard.prompt.md b/design/components/editor/ProposalCard.prompt.md
deleted file mode 100644
index ec7828047..000000000
--- a/design/components/editor/ProposalCard.prompt.md
+++ /dev/null
@@ -1,15 +0,0 @@
-**ProposalCard** — the distinctive agent output: a reviewable set of proposed edits attached to an assistant message.
-
-```jsx
-<ProposalCard
- total="0:44.1"
- confidence="High confidence"
- applyLabel="Apply 3 cuts"
- items={[{range:'0:31.0 – 0:37.3', dur:'6.3s'}, …]}
- rationale="Detected silences over 600ms and 4 filler words."
- onApply={apply} onReview={review}
-/>
-```
-
-- Time ranges + durations are always Geist Mono. Each row has a striped emerald clip chip.
-- Render it as a child of, or immediately after, an assistant `ChatBubble`.
diff --git a/design/components/editor/TimelinePill.d.ts b/design/components/editor/TimelinePill.d.ts
deleted file mode 100644
index 1c1620d99..000000000
--- a/design/components/editor/TimelinePill.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import React from 'react';
-
-export interface TimelinePillProps {
- /** Lane accent. @default "accent" */
- tone?: 'accent' | 'annotation' | 'speed' | 'danger';
- icon?: React.ReactNode;
- children?: React.ReactNode;
- /** Left offset as % of the lane. */
- leftPct?: number;
- /** Width as % of the lane; omit for content-sized (tag) mode. */
- widthPct?: number | null;
- style?: React.CSSProperties;
-}
-
-/** Labelled marker on a timeline lane (annotation / speed / skip / zoom). */
-export function TimelinePill(props: TimelinePillProps): JSX.Element;
diff --git a/design/components/editor/TimelinePill.prompt.md b/design/components/editor/TimelinePill.prompt.md
deleted file mode 100644
index 589b48c38..000000000
--- a/design/components/editor/TimelinePill.prompt.md
+++ /dev/null
@@ -1,11 +0,0 @@
-**TimelinePill** — a marker on a timeline lane. Position it inside a `position:relative` lane track via `leftPct`/`widthPct`.
-
-```jsx
-<div style={{position:'relative', height:24}}>
- <TimelinePill tone="speed" leftPct={19} widthPct={5} icon={<ClockIcon/>}>1.5×</TimelinePill>
- <TimelinePill tone="danger" leftPct={10} widthPct={10}>0:37.3</TimelinePill>
- <TimelinePill tone="annotation" leftPct={40} icon={<CommentIcon/>}>New annotation</TimelinePill>
-</div>
-```
-
-- `accent`=zoom, `annotation`=amber comment, `speed`=orange ramp, `danger`=red skip/cut.
diff --git a/design/components/forms/Button.d.ts b/design/components/forms/Button.d.ts
deleted file mode 100644
index 70be2a332..000000000
--- a/design/components/forms/Button.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import React from 'react';
-
-export interface ButtonProps {
- /** Visual weight. @default "primary" */
- variant?: 'primary' | 'secondary' | 'ghost';
- /** @default "md" */
- size?: 'sm' | 'md' | 'lg';
- /** Leading icon node (Lucide SVG). */
- icon?: React.ReactNode;
- /** Trailing icon node (e.g. chevron). */
- iconRight?: React.ReactNode;
- disabled?: boolean;
- fullWidth?: boolean;
- onClick?: (e: React.MouseEvent) => void;
- children?: React.ReactNode;
- style?: React.CSSProperties;
-}
-
-/**
- * The primary text-action button.
- *
- * @startingPoint section="Forms" subtitle="Primary / secondary / ghost text button" viewport="700x120"
- */
-export function Button(props: ButtonProps): JSX.Element;
diff --git a/design/components/forms/Button.prompt.md b/design/components/forms/Button.prompt.md
deleted file mode 100644
index 629f7083d..000000000
--- a/design/components/forms/Button.prompt.md
+++ /dev/null
@@ -1,11 +0,0 @@
-**Button** — the primary text action. Use `primary` for the one main action in a view (Export, Apply cuts, Send), `secondary` for adjacent choices (Review each), `ghost` for low-emphasis toolbar/topbar actions.
-
-```jsx
-<Button variant="primary" icon={<ExportIcon/>}>Export</Button>
-<Button variant="secondary">Review each</Button>
-<Button variant="ghost" size="sm">demo2</Button>
-```
-
-- Primary is emerald with a soft accent glow; darkens to `--brand-lo` on hover.
-- Keep labels short imperative verbs. No emoji.
-- Icon-only actions → use `IconButton` instead.
diff --git a/design/components/forms/IconButton.d.ts b/design/components/forms/IconButton.d.ts
deleted file mode 100644
index d6edd79fa..000000000
--- a/design/components/forms/IconButton.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-
-export interface IconButtonProps {
- /** Square size in px. @default 32 */
- size?: number;
- /** Selected / toggled-on state → emerald-soft fill. */
- active?: boolean;
- /** @default "default" */
- tone?: 'default' | 'danger';
- disabled?: boolean;
- /** Used for both title and aria-label. */
- title?: string;
- onClick?: (e: React.MouseEvent) => void;
- /** The icon (Lucide SVG at 24-viewbox, sized ~55% of the button). */
- children?: React.ReactNode;
- style?: React.CSSProperties;
-}
-
-/** Square icon-only button — toolbars, topbar, floating chrome. */
-export function IconButton(props: IconButtonProps): JSX.Element;
diff --git a/design/components/forms/IconButton.prompt.md b/design/components/forms/IconButton.prompt.md
deleted file mode 100644
index 86fbce1c5..000000000
--- a/design/components/forms/IconButton.prompt.md
+++ /dev/null
@@ -1,11 +0,0 @@
-**IconButton** — icon-only square button, ghost by default. The most-used control in the editor chrome (topbar, timeline toolbar, panel close, transport).
-
-```jsx
-<IconButton title="Settings"><SettingsIcon/></IconButton>
-<IconButton title="Loop" active={loopOn} onClick={toggleLoop}><LoopIcon/></IconButton>
-<IconButton title="Delete clip" tone="danger"><TrashIcon/></IconButton>
-```
-
-- Rests at `--muted`, hovers to `--fg` on `--surface-2`.
-- `active` = emerald-soft fill for toggled tools.
-- Sizes: 26–28px inside dense toolbars (radius 6), 30–34px in the topbar/transport (radius 9). Always pass a `title`.
diff --git a/design/components/forms/SegmentedControl.d.ts b/design/components/forms/SegmentedControl.d.ts
deleted file mode 100644
index 20f43a9da..000000000
--- a/design/components/forms/SegmentedControl.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-export interface SegmentOption {
- value: string;
- label: string;
-}
-
-export interface SegmentedControlProps {
- /** Segments — plain strings or {value,label} objects. */
- options: (string | SegmentOption)[];
- /** Currently selected value. */
- value: string;
- onChange?: (value: string) => void;
- /** @default "md" */
- size?: 'sm' | 'md';
- style?: React.CSSProperties;
-}
-
-/** Pill-in-a-trough tab switcher (stage mode, background tabs, source). */
-export function SegmentedControl(props: SegmentedControlProps): JSX.Element;
diff --git a/design/components/forms/SegmentedControl.prompt.md b/design/components/forms/SegmentedControl.prompt.md
deleted file mode 100644
index 7a473a426..000000000
--- a/design/components/forms/SegmentedControl.prompt.md
+++ /dev/null
@@ -1,9 +0,0 @@
-**SegmentedControl** — mutually-exclusive tab switcher in a recessed trough. Use for 2–4 short peer choices that swap the view (stage Media/Edit/Rec, background Image/Color/Gradient, source Screen/Window).
-
-```jsx
-<SegmentedControl options={['Media','Edit','Rec']} value={mode} onChange={setMode} />
-<SegmentedControl size="sm" options={['Screen','Window']} value={src} onChange={setSrc} />
-```
-
-- Active segment = raised `--surface-hi` chip with `--elev-card`; inactive = `--muted` text.
-- `md` for topbar-scale switches, `sm` for inside panels/menus.
diff --git a/design/components/forms/Select.d.ts b/design/components/forms/Select.d.ts
deleted file mode 100644
index bb0be31cf..000000000
--- a/design/components/forms/Select.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export interface SelectOption { value: string; label: string; }
-
-export interface SelectProps {
- options: (string | SelectOption)[];
- value: string;
- onChange?: (value: string) => void;
- /** @default true */
- fullWidth?: boolean;
- style?: React.CSSProperties;
-}
-
-/** Native <select> styled for OpenScreen (surface-2 fill, 36px tall). */
-export function Select(props: SelectProps): JSX.Element;
diff --git a/design/components/forms/Select.prompt.md b/design/components/forms/Select.prompt.md
deleted file mode 100644
index 686ef86aa..000000000
--- a/design/components/forms/Select.prompt.md
+++ /dev/null
@@ -1,7 +0,0 @@
-**Select** — styled native dropdown for a longer list of exclusive options where a segmented control would be too wide (caption style, layout preset, language).
-
-```jsx
-<Select options={['Bold Center','Minimal Bottom','Karaoke','Boxed']} value={style} onChange={setStyle} />
-```
-
-- 36px tall, `--surface-2` fill, radius 10. Pair with a mono uppercase eyebrow label above it.
diff --git a/design/components/forms/Slider.d.ts b/design/components/forms/Slider.d.ts
deleted file mode 100644
index ce57f5656..000000000
--- a/design/components/forms/Slider.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-export interface SliderProps {
- /** Label shown top-left of the card. */
- label?: string;
- value: number;
- min?: number;
- max?: number;
- step?: number;
- /** Formats the mono value shown top-right, e.g. v => `${v}%`. */
- format?: (v: number) => string | number;
- onChange?: (v: number) => void;
- /** Wrap in the bordered setting card. @default true */
- card?: boolean;
- style?: React.CSSProperties;
-}
-
-/** Labelled range slider inside an inspector setting card. */
-export function Slider(props: SliderProps): JSX.Element;
diff --git a/design/components/forms/Slider.prompt.md b/design/components/forms/Slider.prompt.md
deleted file mode 100644
index a135acd3e..000000000
--- a/design/components/forms/Slider.prompt.md
+++ /dev/null
@@ -1,9 +0,0 @@
-**Slider** — labelled range control. By default renders the full inspector card (label + mono emerald value + filled track). The track uses the global range-slider chrome from `base.css`.
-
-```jsx
-<Slider label="Shadow" value={shadow} onChange={setShadow} format={v => `${v}%`} />
-<Slider label="Zoom" value={zoom} min={0} max={100} format={v => `${(1+v/50).toFixed(1)}×`} />
-```
-
-- Value read-out is always Geist Mono in `--accent`.
-- Pass `card={false}` for a bare track (e.g. embedded elsewhere).
diff --git a/design/components/forms/Switch.d.ts b/design/components/forms/Switch.d.ts
deleted file mode 100644
index 0dd8a65ff..000000000
--- a/design/components/forms/Switch.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export interface SwitchProps {
- checked?: boolean;
- onChange?: (next: boolean) => void;
- disabled?: boolean;
- style?: React.CSSProperties;
-}
-
-/** Pill toggle for boolean inspector settings. Emerald when on. */
-export function Switch(props: SwitchProps): JSX.Element;
diff --git a/design/components/forms/Switch.prompt.md b/design/components/forms/Switch.prompt.md
deleted file mode 100644
index d83909e64..000000000
--- a/design/components/forms/Switch.prompt.md
+++ /dev/null
@@ -1,11 +0,0 @@
-**Switch** — boolean toggle. Lives at the right edge of an inspector setting row (label on the left).
-
-```jsx
-<div style={{display:'flex',alignItems:'center',justifyContent:'space-between'}}>
- <span>Blur background</span>
- <Switch checked={blur} onChange={setBlur} />
-</div>
-```
-
-- Track fills `--accent` when on, `--surface-3` when off; white knob slides.
-- For a choice that changes what's on screen but isn't on/off, use SegmentedControl instead.
diff --git a/design/components/forms/TextField.d.ts b/design/components/forms/TextField.d.ts
deleted file mode 100644
index 3864e8fa9..000000000
--- a/design/components/forms/TextField.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react';
-
-export interface TextFieldProps {
- value?: string;
- onChange?: (value: string) => void;
- placeholder?: string;
- /** Render an auto-height textarea instead of an input. */
- multiline?: boolean;
- /** Icon node rendered inside the field (e.g. a search glyph). */
- leadingIcon?: React.ReactNode;
- /** Rows when multiline. @default 2 */
- rows?: number;
- /** Style for the control element. */
- style?: React.CSSProperties;
- /** Style for the bordered wrapper. */
- wrapStyle?: React.CSSProperties;
-}
-
-/** Text input / composer — single primitive for both single- and multi-line. */
-export function TextField(props: TextFieldProps): JSX.Element;
diff --git a/design/components/forms/TextField.prompt.md b/design/components/forms/TextField.prompt.md
deleted file mode 100644
index 7b136e235..000000000
--- a/design/components/forms/TextField.prompt.md
+++ /dev/null
@@ -1,8 +0,0 @@
-**TextField** — text entry. One primitive covers the search input (single-line, radius 10, with a leading search icon) and the chat composer (multiline, radius 14). The composer typically has a toolbar row below it (model pill + send) — compose that around the TextField.
-
-```jsx
-<TextField leadingIcon={<SearchIcon/>} placeholder="Search media…" value={q} onChange={setQ} />
-<TextField multiline placeholder="Describe the edit you want…" value={msg} onChange={setMsg} />
-```
-
-- Wrapper carries the border + `--surface-1` fill; the control itself is borderless/transparent.