diff --git a/.framesmith/assets/13e5fd7fb05c2cf0.jpg b/.framesmith/assets/13e5fd7fb05c2cf0.jpg new file mode 100644 index 0000000..8dec7ab Binary files /dev/null and b/.framesmith/assets/13e5fd7fb05c2cf0.jpg differ diff --git a/.framesmith/assets/790968d020d4b354.jpg b/.framesmith/assets/790968d020d4b354.jpg new file mode 100644 index 0000000..19d08aa Binary files /dev/null and b/.framesmith/assets/790968d020d4b354.jpg differ diff --git a/.framesmith/assets/889ea6295d4e42a6.jpg b/.framesmith/assets/889ea6295d4e42a6.jpg new file mode 100644 index 0000000..9b6c88c Binary files /dev/null and b/.framesmith/assets/889ea6295d4e42a6.jpg differ diff --git a/.framesmith/assets/8a87dfed22ba46eb.jpg b/.framesmith/assets/8a87dfed22ba46eb.jpg new file mode 100644 index 0000000..3e2580e Binary files /dev/null and b/.framesmith/assets/8a87dfed22ba46eb.jpg differ diff --git a/.framesmith/assets/a561bdd6796a38e4.jpg b/.framesmith/assets/a561bdd6796a38e4.jpg new file mode 100644 index 0000000..52ff8c7 Binary files /dev/null and b/.framesmith/assets/a561bdd6796a38e4.jpg differ diff --git a/.framesmith/assets/ba13d2cf176e0c0b.jpg b/.framesmith/assets/ba13d2cf176e0c0b.jpg new file mode 100644 index 0000000..3f8f041 Binary files /dev/null and b/.framesmith/assets/ba13d2cf176e0c0b.jpg differ diff --git a/.framesmith/assets/ed73bd8ee630d25b.jpg b/.framesmith/assets/ed73bd8ee630d25b.jpg new file mode 100644 index 0000000..1edf7d9 Binary files /dev/null and b/.framesmith/assets/ed73bd8ee630d25b.jpg differ diff --git a/.framesmith/viewer-redesign/archive-empty.json b/.framesmith/viewer-redesign/archive-empty.json new file mode 100644 index 0000000..62c8fa5 --- /dev/null +++ b/.framesmith/viewer-redesign/archive-empty.json @@ -0,0 +1,288 @@ +{ + "components": {}, + "createdAt": "2026-11-24T14:04:27.548Z", + "id": "uiyI3Yp09q", + "lastModified": "2026-11-24T14:08:17.814Z", + "metadata": { + "provenance": { + "at": "2026-11-24T14:04:05.688Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "structure": "split-workbench-app" + }, + "surface": { + "device": "window-1440", + "type": "desktop-app" + }, + "variant": { + "at": "2026-11-24T14:04:27.549Z", + "of": "0LhfROW1xb", + "state": "empty" + } + }, + "name": "Archive · empty", + "projectId": "3tm2S1pJhP", + "root": { + "children": [ + { + "children": [ + { + "children": [ + { + "color": "$text-primary", + "content": "framesmith", + "fontSize": "$body", + "fontWeight": 600, + "id": "S58gQbVdUK", + "padding": [ + "$space-2xs", + "$space-xs" + ], + "type": "text" + }, + { + "color": "$text-secondary", + "content": "Personal", + "fontSize": "$caption", + "fontWeight": 500, + "id": "lQM4kzNkYf", + "name": "Workspace label", + "padding": [ + 0, + "$space-xs" + ], + "type": "text" + }, + { + "children": [ + { + "active": false, + "count": 1, + "dotColor": "$chart-1", + "icon": null, + "id": "pgY9VlF-Lo", + "label": "Design system", + "type": "nav-item" + }, + { + "active": false, + "count": 5, + "dotColor": "$chart-2", + "icon": null, + "id": "REB-sRaU9e", + "label": "UI", + "type": "nav-item" + }, + { + "active": false, + "count": 2, + "dotColor": "$chart-3", + "icon": null, + "id": "CyWK2sJ43U", + "label": "Releases", + "type": "nav-item" + }, + { + "active": false, + "count": 11, + "dotColor": "$chart-4", + "icon": null, + "id": "HA9x4FO_51", + "label": "Pattern library", + "type": "nav-item" + }, + { + "count": 0, + "dotColor": "$chart-5", + "id": "R2uPq7Mb5A", + "label": "Foundations", + "type": "nav-item" + } + ], + "gap": "$space-3xs", + "height": "100%", + "id": "W_sx_Rz5Fi", + "layout": "vertical", + "name": "Navigation", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "active": true, + "count": 0, + "icon": "archive", + "id": "XgQnszMlUr", + "label": "Archive", + "type": "nav-item" + } + ], + "gap": "$space-3xs", + "id": "-AeWb_2zcP", + "layout": "vertical", + "name": "Secondary navigation", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-lg", + "id": "CflzAPHE8l", + "layout": "vertical", + "minHeight": 0, + "minWidth": 240, + "name": "Sidebar", + "overflow": "auto", + "padding": "$space-sm", + "type": "frame", + "width": 240 + }, + { + "id": "3DHQwMReBW", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-primary", + "content": "Archive", + "fontSize": "$text-lg", + "fontWeight": 600, + "id": "ZfAbuAMpkn", + "textOverflow": "ellipsis", + "title": "Archive", + "type": "text" + }, + { + "alignItems": "center", + "children": [ + { + "color": "$text-secondary", + "content": "0 canvases", + "fontSize": "$caption", + "id": "klfemjhAf-", + "minWidth": 0, + "name": "Archive note", + "textOverflow": "ellipsis", + "title": "0 canvases", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "ISDSNl0dfa", + "layout": "horizontal", + "minWidth": 0, + "name": "Actions", + "type": "frame" + } + ], + "gap": "$space-md", + "height": 48, + "id": "h2h5iOE-b7", + "justifyContent": "space-between", + "layout": "horizontal", + "minHeight": 48, + "name": "Header", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "icon": "archive", + "iconColor": "$text-secondary", + "iconSize": 32, + "id": "13mxoibTBe", + "type": "icon" + }, + { + "color": "$text-primary", + "content": "No archived canvases", + "fontSize": "$body", + "fontWeight": 600, + "id": "u3AtKqPi4P", + "textAlign": "center", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "Archive a canvas from its page, or have your agent call canvas_archive. Archived canvases wait here until you restore or delete them.", + "fontSize": "$label", + "id": "tgSDlJNEDA", + "maxWidth": 400, + "textAlign": "center", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "SbwIkr9EsT", + "justifyContent": "center", + "layout": "vertical", + "minHeight": 0, + "minWidth": 0, + "name": "Work area", + "overflow": "auto", + "padding": [ + "$space-md", + "$space-lg" + ], + "type": "frame", + "width": "100%" + } + ], + "height": "100%", + "id": "NSDJ2RdGOV", + "layout": "horizontal", + "minHeight": 0, + "name": "Panes", + "type": "frame", + "width": "100%" + } + ], + "id": "6nzY6dx_Gj", + "layout": "vertical", + "minWidth": 0, + "name": "Main", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": "100%", + "id": "03KcTzDqf-", + "layout": "horizontal", + "name": "Shell", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": 900, + "id": "B8T1Uq82LF", + "name": "Document", + "overflow": "hidden", + "type": "document", + "width": 1440 + }, + "variables": {} +} diff --git a/.framesmith/viewer-redesign/archive.json b/.framesmith/viewer-redesign/archive.json new file mode 100644 index 0000000..e0bcdb1 --- /dev/null +++ b/.framesmith/viewer-redesign/archive.json @@ -0,0 +1,471 @@ +{ + "components": {}, + "createdAt": "2026-11-24T14:04:04.177Z", + "id": "0LhfROW1xb", + "lastModified": "2026-11-24T14:08:17.802Z", + "metadata": { + "provenance": { + "at": "2026-11-24T14:04:05.688Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "structure": "split-workbench-app" + }, + "surface": { + "device": "window-1440", + "type": "desktop-app" + } + }, + "name": "Archive", + "projectId": "3tm2S1pJhP", + "root": { + "children": [ + { + "children": [ + { + "children": [ + { + "color": "$text-primary", + "content": "framesmith", + "fontSize": "$body", + "fontWeight": 600, + "id": "swa-sidebar-brand", + "padding": [ + "$space-2xs", + "$space-xs" + ], + "type": "text" + }, + { + "color": "$text-secondary", + "content": "Personal", + "fontSize": "$caption", + "fontWeight": 500, + "id": "ZUBMIegKl9", + "name": "Workspace label", + "padding": [ + 0, + "$space-xs" + ], + "type": "text" + }, + { + "children": [ + { + "active": false, + "count": 1, + "dotColor": "$chart-1", + "icon": null, + "id": "swa-sidebar-nav-1", + "label": "Design system", + "type": "nav-item" + }, + { + "active": false, + "count": 5, + "dotColor": "$chart-2", + "icon": null, + "id": "swa-sidebar-nav-2", + "label": "UI", + "type": "nav-item" + }, + { + "active": false, + "count": 2, + "dotColor": "$chart-3", + "icon": null, + "id": "swa-sidebar-nav-3", + "label": "Releases", + "type": "nav-item" + }, + { + "active": false, + "count": 11, + "dotColor": "$chart-4", + "icon": null, + "id": "swa-sidebar-nav-4", + "label": "Pattern library", + "type": "nav-item" + }, + { + "count": 0, + "dotColor": "$chart-5", + "id": "Fg5Pd-15pc", + "label": "Foundations", + "type": "nav-item" + } + ], + "gap": "$space-3xs", + "height": "100%", + "id": "swa-sidebar-nav", + "layout": "vertical", + "name": "Navigation", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "active": true, + "count": 3, + "icon": "archive", + "id": "swa-sidebar-more-1", + "label": "Archive", + "type": "nav-item" + } + ], + "gap": "$space-3xs", + "id": "swa-sidebar-more", + "layout": "vertical", + "name": "Secondary navigation", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-lg", + "id": "swa-sidebar", + "layout": "vertical", + "minHeight": 0, + "minWidth": 240, + "name": "Sidebar", + "overflow": "auto", + "padding": "$space-sm", + "type": "frame", + "width": 240 + }, + { + "id": "swa-div-1", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-primary", + "content": "Archive", + "fontSize": "$text-lg", + "fontWeight": 600, + "id": "swa-header-title", + "textOverflow": "ellipsis", + "title": "Archive", + "type": "text" + }, + { + "alignItems": "center", + "children": [ + { + "color": "$text-secondary", + "content": "3 canvases · hidden from the gallery until restored", + "fontSize": "$label", + "id": "y59jhjCEOg", + "minWidth": 0, + "name": "Archive note", + "textOverflow": "ellipsis", + "title": "3 canvases · hidden from the gallery until restored", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "swa-header-actions", + "layout": "horizontal", + "minWidth": 0, + "name": "Actions", + "type": "frame" + } + ], + "gap": "$space-md", + "height": 48, + "id": "swa-header", + "justifyContent": "space-between", + "layout": "horizontal", + "minHeight": 48, + "name": "Header", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "children": [ + { + "depth": 0, + "expanded": true, + "icon": "folder", + "id": "xNrH5zGF70", + "label": "Pattern library", + "type": "tree-row" + }, + { + "active": true, + "depth": 1, + "icon": "file", + "id": "QAUnkozL01", + "label": "marquee-hero", + "type": "tree-row" + }, + { + "depth": 1, + "icon": "file", + "id": "G_GNXVwo2x", + "label": "pricing", + "type": "tree-row" + }, + { + "depth": 0, + "expanded": true, + "icon": "folder", + "id": "4yEaiYeOVG", + "label": "UI", + "type": "tree-row" + }, + { + "depth": 1, + "icon": "file", + "id": "nrkFEmQ5dz", + "label": "checkout-northrail-coffee-loading", + "type": "tree-row" + } + ], + "gap": "$space-3xs", + "id": "a_NSeNSDiK", + "layout": "vertical", + "name": "Archived canvases", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-3xs", + "id": "swa-work", + "layout": "vertical", + "minHeight": 0, + "minWidth": 0, + "name": "Work area", + "overflow": "auto", + "padding": [ + "$space-md", + "$space-lg" + ], + "type": "frame", + "width": "100%" + }, + { + "id": "swa-div-2", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "color": "$text-primary", + "content": "marquee-hero", + "fontSize": "$text-lg", + "fontWeight": 600, + "id": "uUpZubQLl3", + "minWidth": 0, + "name": "Canvas name", + "textOverflow": "ellipsis", + "title": "marquee-hero", + "type": "text" + }, + { + "cornerRadius": "$radius-sm", + "height": 205, + "id": "l06ieZ4od2", + "name": "Archived preview", + "objectFit": "cover", + "src": "asset:8a87dfed22ba46eb.jpg", + "stroke": "$border", + "strokeWidth": 1, + "type": "image", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "color": "$text-primary", + "content": "Pattern library", + "fontSize": "$label", + "id": "swa-prop-1-value", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Pattern library", + "type": "text" + } + ], + "id": "swa-prop-1", + "label": "Project", + "type": "property-row" + }, + { + "children": [ + { + "color": "$text-primary", + "content": "Nov 8, 2026", + "fontSize": "$label", + "id": "swa-prop-2-value", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Nov 8, 2026", + "type": "text" + } + ], + "id": "swa-prop-2", + "label": "Archived", + "type": "property-row" + }, + { + "children": [ + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "id": "swa-prop-3-value", + "minWidth": 0, + "tabularNums": true, + "textOverflow": "ellipsis", + "title": "100", + "type": "text" + } + ], + "id": "swa-prop-3", + "label": "Score", + "type": "property-row" + }, + { + "children": [ + { + "color": "$text-primary", + "content": "1440 × 900", + "fontSize": "$label", + "type": "text" + } + ], + "id": "4066YUoYem", + "label": "Size", + "type": "property-row" + } + ], + "gap": 0, + "id": "swa-props", + "layout": "vertical", + "name": "Properties", + "type": "frame", + "width": "100%" + }, + { + "icon": "archive-restore", + "id": "Ae0KuKk3rD", + "label": "Restore to Pattern library", + "maxWidth": "100%", + "name": "Restore button", + "size": "sm", + "type": "button", + "width": "100%" + }, + { + "borderTop": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Deleting removes the canvas for good. It cannot be restored.", + "fontSize": "$label", + "id": "1g-S2F1Vts", + "type": "text" + }, + { + "color": "$danger", + "icon": "trash-2", + "id": "clZX5f1mL2", + "label": "Delete permanently", + "maxWidth": "100%", + "name": "Delete permanently button", + "size": "sm", + "type": "button", + "variant": "ghost" + } + ], + "gap": "$space-xs", + "id": "xw9lMttTTb", + "layout": "vertical", + "name": "Delete permanently", + "padding": [ + "$space-md", + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-md", + "id": "swa-panel", + "layout": "vertical", + "minHeight": 0, + "minWidth": 360, + "name": "Detail panel", + "overflow": "auto", + "padding": "$space-md", + "type": "frame", + "width": 360 + } + ], + "height": "100%", + "id": "swa-main-panes", + "layout": "horizontal", + "minHeight": 0, + "name": "Panes", + "type": "frame", + "width": "100%" + } + ], + "id": "swa-main", + "layout": "vertical", + "minWidth": 0, + "name": "Main", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": "100%", + "id": "swa-shell", + "layout": "horizontal", + "name": "Shell", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": 900, + "id": "pM-G5ADTVa", + "name": "Document", + "overflow": "hidden", + "type": "document", + "width": 1440 + }, + "variables": {} +} diff --git a/.framesmith/viewer-redesign/build-log.json b/.framesmith/viewer-redesign/build-log.json new file mode 100644 index 0000000..05a574f --- /dev/null +++ b/.framesmith/viewer-redesign/build-log.json @@ -0,0 +1,38 @@ +[ + { + "at": "2026-11-24T14:00:26.541Z", + "axes": { + "alignment": "left", + "density": "balanced", + "heroTreatment": "none", + "rhythm": "uniform" + }, + "canvasId": "dri4igoofJ", + "canvasName": "Gallery", + "structure": "browser-app" + }, + { + "at": "2026-11-24T14:01:46.956Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "canvasId": "rbSmuMnACt", + "canvasName": "Canvas detail", + "structure": "editor-inspector-app" + }, + { + "at": "2026-11-24T14:04:05.688Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "canvasId": "0LhfROW1xb", + "canvasName": "Archive", + "structure": "split-workbench-app" + } +] diff --git a/.framesmith/viewer-redesign/canvas-detail-comment-open.json b/.framesmith/viewer-redesign/canvas-detail-comment-open.json new file mode 100644 index 0000000..709060f --- /dev/null +++ b/.framesmith/viewer-redesign/canvas-detail-comment-open.json @@ -0,0 +1,1275 @@ +{ + "components": {}, + "createdAt": "2026-11-24T14:06:51.282Z", + "id": "4_nFnJDh6v", + "lastModified": "2026-11-24T14:08:17.771Z", + "metadata": { + "provenance": { + "at": "2026-11-24T14:01:46.956Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "structure": "editor-inspector-app" + }, + "surface": { + "device": "window-1440", + "type": "desktop-app" + }, + "variant": { + "at": "2026-11-24T14:06:51.283Z", + "of": "rbSmuMnACt", + "state": "comment-open" + } + }, + "name": "Canvas detail · comment-open", + "projectId": "3tm2S1pJhP", + "root": { + "children": [ + { + "children": [ + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "icon": "arrow-left", + "id": "9Xcg3thiJo", + "label": "Pattern library", + "type": "link" + } + ], + "id": "pPk9u8KaoX", + "minWidth": 0, + "name": "Parent", + "type": "frame" + }, + { + "icon": "chevron-right", + "iconColor": "$text-secondary", + "iconSize": 14, + "id": "0eRYVIRxV0", + "type": "icon" + }, + { + "color": "$text-primary", + "content": "dashboard", + "fontSize": "$label", + "fontWeight": 600, + "id": "mflq-ozn6e", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "dashboard", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "1440 × 900", + "fontSize": "$caption", + "id": "JkWwMmYb20", + "maxWidth": 120, + "minWidth": 0, + "name": "Canvas size", + "textOverflow": "ellipsis", + "title": "1440 × 900", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "T1Nwvm-zD5", + "layout": "horizontal", + "minWidth": 0, + "name": "Breadcrumb", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "id": "8GY_rOGFTU", + "items": [ + { + "label": "Mobile" + }, + { + "label": "Tablet" + }, + { + "active": true, + "label": "Desktop" + }, + { + "label": "Compare" + } + ], + "minWidth": 0, + "name": "Breakpoint tabs", + "size": "sm", + "type": "tabs", + "variant": "contained", + "width": "100%" + } + ], + "id": "zHrvLtAgws", + "maxWidth": 320, + "minWidth": 320, + "name": "Breakpoints", + "type": "frame", + "width": 320 + }, + { + "alignItems": "center", + "children": [ + { + "icon": "message-square", + "id": "eUmHtiD5ts", + "label": "Comment", + "maxWidth": 160, + "minWidth": 0, + "name": "Comment button", + "size": "sm", + "state": "pressed", + "type": "button", + "variant": "secondary" + }, + { + "ariaLabel": "More actions", + "icon": "ellipsis", + "id": "07v321oLIR", + "name": "More actions", + "size": "sm", + "type": "button", + "variant": "ghost" + }, + { + "anchor": "eUmHtiD5ts", + "children": [ + { + "color": "$text-primary", + "content": "Comment on dashboard", + "fontSize": "$body", + "fontWeight": 600, + "type": "text" + }, + { + "color": "$text-secondary", + "content": "Click an element in the preview to pin the comment to it. Your agent reads it with get_feedback.", + "fontSize": "$label", + "type": "text" + }, + { + "name": "Comment field", + "placeholder": "Describe the change", + "rows": 3, + "type": "text-input", + "width": "100%" + }, + { + "children": [ + { + "label": "Cancel", + "size": "sm", + "type": "button", + "variant": "ghost" + }, + { + "label": "Add comment", + "size": "sm", + "type": "button" + } + ], + "gap": "$space-xs", + "justifyContent": "end", + "layout": "horizontal", + "name": "Comment actions", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-sm", + "id": "QeeAtnUItm", + "layout": "vertical", + "name": "Comment popover", + "padding": "$space-md", + "type": "popover", + "width": 320, + "x": 1064, + "y": 44 + } + ], + "gap": "$space-xs", + "id": "3lPh6NPrU4", + "justifyContent": "end", + "layout": "horizontal", + "minWidth": "max-content", + "name": "Actions", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-md", + "height": 48, + "id": "uIPWIcTzKi", + "justifyContent": "space-between", + "layout": "horizontal", + "minHeight": 48, + "name": "Header", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "ariaLabel": "Zoom in", + "color": "$text-secondary", + "icon": "zoom-in", + "id": "eMdrYmKZ-h", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Zoom out", + "color": "$text-secondary", + "icon": "zoom-out", + "id": "VdzPFdX4jb", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Fit to window", + "color": "$text-secondary", + "icon": "scan", + "id": "XIZ3gbt5dG", + "name": "Fit", + "size": "xs", + "type": "button", + "variant": "ghost" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$bg-surface", + "gap": "$space-2xs", + "id": "TtlGaAcKkM", + "layout": "horizontal", + "name": "Tools", + "padding": "$space-2xs", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "fit-content" + }, + { + "alignItems": "center", + "children": [ + { + "cornerRadius": "$radius-sm", + "height": 600, + "id": "WeAH_YUVLW", + "maxWidth": "100%", + "name": "Canvas preview", + "objectFit": "contain", + "shadow": "$elevation.floating", + "src": "asset:ba13d2cf176e0c0b.jpg", + "stroke": "$border", + "strokeWidth": 1, + "type": "image", + "width": 960 + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · No state variants yet", + "fontSize": "$label", + "id": "oJsnDJypWK", + "maxWidth": "100%", + "name": "Preview caption", + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · No state variants yet", + "type": "text" + } + ], + "cornerRadius": "$radius-md", + "fill": "transparent", + "gap": "$space-sm", + "height": "100%", + "id": "Aqf8Dc8ozb", + "justifyContent": "center", + "layout": "vertical", + "name": "Work surface", + "stroke": null, + "strokeWidth": 0, + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-sm", + "id": "RNLHyvq8Jb", + "layout": "vertical", + "minHeight": 0, + "minWidth": 0, + "name": "Work area", + "overflow": "auto", + "padding": "$space-lg", + "type": "frame", + "width": "70%" + }, + { + "id": "1emj7urHA1", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "id": "hc3_rmy2B5", + "items": [ + { + "active": true, + "label": "Quality" + }, + { + "label": "Design system" + }, + { + "count": 2, + "label": "Feedback" + } + ], + "minWidth": 0, + "name": "Inspector tabs", + "size": "sm", + "type": "tabs", + "width": "100%" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "alignItems": "baseline", + "children": [ + { + "color": "$text-primary", + "content": "95", + "fontSize": "$display", + "fontWeight": 600, + "id": "dlLKtw67s7", + "lineHeight": 1, + "name": "Score value", + "tabularNums": true, + "type": "text" + }, + { + "color": "$text-secondary", + "content": "/ 100", + "fontSize": "$label", + "id": "xbRrlVLB2I", + "name": "Score scale", + "type": "text" + } + ], + "gap": "$space-2xs", + "id": "MlUIBWSFMD", + "layout": "horizontal", + "name": "Figure", + "type": "frame" + }, + { + "color": "$warning", + "content": "Below the bar", + "cornerRadius": "$radius-sm", + "fill": "$warning-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "-BZTnSmxy2", + "maxWidth": 160, + "minWidth": 0, + "name": "Verdict", + "padding": [ + 2, + 8 + ], + "textOverflow": "ellipsis", + "title": "Below the bar", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "nNcXqvF6bY", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Score line", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "Coverage holds it back. The data table has no empty or loading state yet.", + "fontSize": "$label", + "id": "fNKRE2NHwR", + "minWidth": 0, + "name": "Score reason", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "QPh8GTJLL2", + "layout": "vertical", + "name": "Score", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$warning", + "height": 4, + "id": "mNuQx-pv1_", + "name": "Meter fill", + "type": "rectangle", + "width": "30%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "gAnc7aCKVI", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$warning", + "content": "30", + "fontSize": "$label", + "fontWeight": 600, + "id": "uY0VCZEDbs", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "sEqtIDBKPC", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "sxKvXXCK6V", + "label": "Coverage", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "LA1haXujQA", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "5Yzg0zGH_I", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "4wjNyHChx_", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "4rMXYum9aK", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "dyB53PQ0aS", + "label": "Spacing", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "N2V8iYUCS_", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "xzz9y3ejRp", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "fJc-MY2FYR", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "GshesZeyOy", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "eePLNS8XJc", + "label": "Color", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "idjv80ABs7", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "vF53t1Spyo", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "Bh08fzgh8i", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "oEBTqS73uK", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "lxq-lNKbns", + "label": "Typography", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "LMGkRmxToO", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "uNWGYHkuJX", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "-60RojLDcB", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "ju962odFjs", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "kKvV_WiCjg", + "label": "Structure", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "WFnNdAEGUz", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "bT8zKhsQ07", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "-I-OIRPeb9", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "EkZq50ePXr", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "07nqS72i-3", + "label": "Consistency", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "iDXAeYav2b", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "3HZqlGC3AE", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "w2JndKdP7V", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "4Z5mSNx7L3", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "aqPQqigLiG", + "label": "Usability", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "y46u46NGkJ", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "5jM-dy65uP", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "SyQL1Umlek", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "7vpnyXTKT7", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "4gCfBoEE34", + "label": "Cliché", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + } + ], + "gap": 0, + "id": "HyqzanI9b7", + "layout": "vertical", + "name": "Categories", + "type": "frame", + "width": "100%" + }, + { + "alignItems": "baseline", + "borderTop": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-primary", + "content": "Issues", + "fontSize": "$body", + "fontWeight": 600, + "id": "XwywTwJ9Iq", + "name": "Issues title", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "18 findings in 7 groups", + "fontSize": "$caption", + "id": "yM3FZDy1dO", + "minWidth": 0, + "name": "Issues count", + "textOverflow": "ellipsis", + "title": "18 findings in 7 groups", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "iElP7_k1oE", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Issues header", + "padding": [ + "$space-sm", + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "OzyAX9ufii", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no empty state variant.", + "fontSize": "$label", + "id": "epRlJYGUCG", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "5JXdWSaCNi", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "vLaZqqoMAy", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "XFWzHlIYlG", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no loading state variant.", + "fontSize": "$label", + "id": "fFxCuYjpjL", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "w8nVK_MnGC", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "HDbZArj1r4", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Typography · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "HaWy7pbRYd", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Display text at 28px with default tracking reads loose. Tighten it to -0.5.", + "fontSize": "$label", + "id": "4lVmX2DMZP", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "vfx79fqh0B", + "label": "Show 4 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "c9W_46Vrdf", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "_VeLkvO9P2", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 8 equals the $md token. Reference the token instead.", + "fontSize": "$label", + "id": "TmVnnE5mxA", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "dT4XeKMFm2", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "gTvinoVMIq", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "08N6eulIkJ", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 16 equals the $lg token. Reference the token instead.", + "fontSize": "$label", + "id": "TX-Dv_z0RP", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "7KUllBiRyN", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "GjgGrdoAg4", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Structure · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "CvR0LHqBWX", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "No component instances in 43 nodes. Promote a repeated subtree.", + "fontSize": "$label", + "id": "Ad-fAKWI-t", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "Lavmt9peG5", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "EGaVEjJJBS", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Color · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "vcAfLp1YG_", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Weak perceptual contrast on the primary link (APCA advisory).", + "fontSize": "$label", + "id": "A1nx7pa2H1", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "jmcjam-BTN", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "dLVt4bF9bm", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "gap": 0, + "id": "kSRflVKabF", + "layout": "vertical", + "name": "Issues", + "padding": [ + 0, + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-lg", + "id": "LSX2Q9SgI-", + "layout": "vertical", + "minHeight": 0, + "minWidth": 280, + "name": "Inspector", + "overflow": "auto", + "padding": [ + "$space-sm", + "$space-md", + "$space-md", + "$space-md" + ], + "type": "frame", + "width": "30%" + } + ], + "height": "100%", + "id": "xCFlJ2SMGa", + "layout": "horizontal", + "minHeight": 0, + "name": "Panes", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": "100%", + "id": "wS1ySxOHJz", + "layout": "vertical", + "name": "Shell", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": 900, + "id": "W_1gzSD-GX", + "name": "Document", + "overflow": "hidden", + "type": "document", + "width": 1440 + }, + "variables": {} +} diff --git a/.framesmith/viewer-redesign/canvas-detail-confirm-delete.json b/.framesmith/viewer-redesign/canvas-detail-confirm-delete.json new file mode 100644 index 0000000..5286c92 --- /dev/null +++ b/.framesmith/viewer-redesign/canvas-detail-confirm-delete.json @@ -0,0 +1,1243 @@ +{ + "components": {}, + "createdAt": "2026-11-24T14:06:51.684Z", + "id": "qRWWv0R6i5", + "lastModified": "2026-11-24T14:08:17.789Z", + "metadata": { + "provenance": { + "at": "2026-11-24T14:01:46.956Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "structure": "editor-inspector-app" + }, + "surface": { + "device": "window-1440", + "type": "desktop-app" + }, + "variant": { + "at": "2026-11-24T14:06:51.685Z", + "of": "rbSmuMnACt", + "state": "confirm-delete" + } + }, + "name": "Canvas detail · confirm-delete", + "projectId": "3tm2S1pJhP", + "root": { + "children": [ + { + "children": [ + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "icon": "arrow-left", + "id": "4xkqfBwCoB", + "label": "Pattern library", + "type": "link" + } + ], + "id": "QQ1eRmVZxV", + "minWidth": 0, + "name": "Parent", + "type": "frame" + }, + { + "icon": "chevron-right", + "iconColor": "$text-secondary", + "iconSize": 14, + "id": "c82r8VUiUF", + "type": "icon" + }, + { + "color": "$text-primary", + "content": "dashboard", + "fontSize": "$label", + "fontWeight": 600, + "id": "pcc7p-jsjo", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "dashboard", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "1440 × 900", + "fontSize": "$caption", + "id": "8t961Ao7E4", + "maxWidth": 120, + "minWidth": 0, + "name": "Canvas size", + "textOverflow": "ellipsis", + "title": "1440 × 900", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "-KlJbm4yuW", + "layout": "horizontal", + "minWidth": 0, + "name": "Breadcrumb", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "id": "oYdq2XDW6_", + "items": [ + { + "label": "Mobile" + }, + { + "label": "Tablet" + }, + { + "active": true, + "label": "Desktop" + }, + { + "label": "Compare" + } + ], + "minWidth": 0, + "name": "Breakpoint tabs", + "size": "sm", + "type": "tabs", + "variant": "contained", + "width": "100%" + } + ], + "id": "0XuiSwlo-o", + "maxWidth": 320, + "minWidth": 320, + "name": "Breakpoints", + "type": "frame", + "width": 320 + }, + { + "alignItems": "center", + "children": [ + { + "icon": "message-square", + "id": "TC0_f_Y28F", + "label": "Comment", + "maxWidth": 160, + "minWidth": 0, + "name": "Comment button", + "size": "sm", + "type": "button", + "variant": "secondary" + }, + { + "ariaLabel": "More actions", + "icon": "ellipsis", + "id": "-aYomSz7D8", + "name": "More actions", + "size": "sm", + "type": "button", + "variant": "ghost" + } + ], + "gap": "$space-xs", + "id": "uHg9KlWJlc", + "justifyContent": "end", + "layout": "horizontal", + "minWidth": "max-content", + "name": "Actions", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-md", + "height": 48, + "id": "h0DkQLEWP9", + "justifyContent": "space-between", + "layout": "horizontal", + "minHeight": 48, + "name": "Header", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "ariaLabel": "Zoom in", + "color": "$text-secondary", + "icon": "zoom-in", + "id": "F4mUp7DB7H", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Zoom out", + "color": "$text-secondary", + "icon": "zoom-out", + "id": "86p6TuhZXp", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Fit to window", + "color": "$text-secondary", + "icon": "scan", + "id": "8Be5lTl5RS", + "name": "Fit", + "size": "xs", + "type": "button", + "variant": "ghost" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$bg-surface", + "gap": "$space-2xs", + "id": "mygb4MV-6F", + "layout": "horizontal", + "name": "Tools", + "padding": "$space-2xs", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "fit-content" + }, + { + "alignItems": "center", + "children": [ + { + "cornerRadius": "$radius-sm", + "height": 600, + "id": "yA7XvK9mV5", + "maxWidth": "100%", + "name": "Canvas preview", + "objectFit": "contain", + "shadow": "$elevation.floating", + "src": "asset:ba13d2cf176e0c0b.jpg", + "stroke": "$border", + "strokeWidth": 1, + "type": "image", + "width": 960 + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · No state variants yet", + "fontSize": "$label", + "id": "zGCMc0d3bi", + "maxWidth": "100%", + "name": "Preview caption", + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · No state variants yet", + "type": "text" + } + ], + "cornerRadius": "$radius-md", + "fill": "transparent", + "gap": "$space-sm", + "height": "100%", + "id": "6tfEHfRVDL", + "justifyContent": "center", + "layout": "vertical", + "name": "Work surface", + "stroke": null, + "strokeWidth": 0, + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-sm", + "id": "0NpV3gxdpC", + "layout": "vertical", + "minHeight": 0, + "minWidth": 0, + "name": "Work area", + "overflow": "auto", + "padding": "$space-lg", + "type": "frame", + "width": "70%" + }, + { + "id": "M8twGoE65z", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "id": "pe51EGM_eR", + "items": [ + { + "active": true, + "label": "Quality" + }, + { + "label": "Design system" + }, + { + "count": 2, + "label": "Feedback" + } + ], + "minWidth": 0, + "name": "Inspector tabs", + "size": "sm", + "type": "tabs", + "width": "100%" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "alignItems": "baseline", + "children": [ + { + "color": "$text-primary", + "content": "95", + "fontSize": "$display", + "fontWeight": 600, + "id": "T2K2i1d077", + "lineHeight": 1, + "name": "Score value", + "tabularNums": true, + "type": "text" + }, + { + "color": "$text-secondary", + "content": "/ 100", + "fontSize": "$label", + "id": "za7ZD_OyfP", + "name": "Score scale", + "type": "text" + } + ], + "gap": "$space-2xs", + "id": "MmPGSnd6Mv", + "layout": "horizontal", + "name": "Figure", + "type": "frame" + }, + { + "color": "$warning", + "content": "Below the bar", + "cornerRadius": "$radius-sm", + "fill": "$warning-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "XAQzGc3KwF", + "maxWidth": 160, + "minWidth": 0, + "name": "Verdict", + "padding": [ + 2, + 8 + ], + "textOverflow": "ellipsis", + "title": "Below the bar", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "QU01A64qsN", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Score line", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "Coverage holds it back. The data table has no empty or loading state yet.", + "fontSize": "$label", + "id": "Fgyc6prRzG", + "minWidth": 0, + "name": "Score reason", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "fu9sUVPwYp", + "layout": "vertical", + "name": "Score", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$warning", + "height": 4, + "id": "22rWf3qbej", + "name": "Meter fill", + "type": "rectangle", + "width": "30%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "097bD0Q4eR", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$warning", + "content": "30", + "fontSize": "$label", + "fontWeight": 600, + "id": "q2I2cyUpYf", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "3wABKBLD1H", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "vehW68SbUD", + "label": "Coverage", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "ZIwBZn3grM", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "h5oGAJ4tN1", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "WdAEabOCuD", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "BQBUBlUa_v", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "tD399660m0", + "label": "Spacing", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "tKT-UK7FfJ", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "0G5d_cAb5t", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "Lo4Ht9m3lC", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "vGCFMZjEAr", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "ykTkuSHT4I", + "label": "Color", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "NyWQREOPMn", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "_PfQFVlZ59", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "xx7wlyh5ws", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "gyo7P8UfOX", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "XiaeqCW0Ad", + "label": "Typography", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "QPyYttWWIq", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "7kwo9Pg6YC", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "8GZ_VOmTAs", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "Az2HhNeEvS", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "TieE34SwIT", + "label": "Structure", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "6iEMnXdqBW", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "rgRzVorQaX", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "FGUBcu8wON", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "a5e-iMgpBq", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "07V-JBV99q", + "label": "Consistency", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "cCa8XiOm0A", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "AbzlLWvfZc", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "YVhkxXcWcT", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "MjxXBLm2uR", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "4j7KmghV3o", + "label": "Usability", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "vdK8AGlI3O", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "rHfKXZeTRo", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "wmyc4mim7i", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "Cn3cH5fHI9", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "5ZthP941w0", + "label": "Cliché", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + } + ], + "gap": 0, + "id": "2WkoA-Ps59", + "layout": "vertical", + "name": "Categories", + "type": "frame", + "width": "100%" + }, + { + "alignItems": "baseline", + "borderTop": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-primary", + "content": "Issues", + "fontSize": "$body", + "fontWeight": 600, + "id": "fcfc1zkZYI", + "name": "Issues title", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "18 findings in 7 groups", + "fontSize": "$caption", + "id": "1jpQ_UrLfo", + "minWidth": 0, + "name": "Issues count", + "textOverflow": "ellipsis", + "title": "18 findings in 7 groups", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "BwfSLNzQkn", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Issues header", + "padding": [ + "$space-sm", + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "ikDJHTkE8I", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no empty state variant.", + "fontSize": "$label", + "id": "VExnZDBQxq", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "nbU3raxt5t", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "p5zRnfmZOC", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "MC7uvdX8uS", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no loading state variant.", + "fontSize": "$label", + "id": "jsW_qn3eH7", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "mPDd90eEMg", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "zRTtIWSN69", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Typography · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "rA5LiDyWdR", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Display text at 28px with default tracking reads loose. Tighten it to -0.5.", + "fontSize": "$label", + "id": "tFp9uyB3gs", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "7VndZqi82A", + "label": "Show 4 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "VR-AVXir3_", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "AhYZ4aFIIG", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 8 equals the $md token. Reference the token instead.", + "fontSize": "$label", + "id": "Xd-iYsevWH", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "Pbj6PDvS-F", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "gEO96dSTqi", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "Ak8X-chmSb", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 16 equals the $lg token. Reference the token instead.", + "fontSize": "$label", + "id": "tAQH106f6E", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "anGIuey3gy", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "QxBFsVO5la", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Structure · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "A3pl_lhohL", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "No component instances in 43 nodes. Promote a repeated subtree.", + "fontSize": "$label", + "id": "FsuPZ96ZxR", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "2VXy0QSuRa", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "3eJBTkOTZz", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Color · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "x95lJG7ooZ", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Weak perceptual contrast on the primary link (APCA advisory).", + "fontSize": "$label", + "id": "pAizPEtegt", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "RciiPrPgUD", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "le0PMQVq5q", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "gap": 0, + "id": "24J10DdlVg", + "layout": "vertical", + "name": "Issues", + "padding": [ + 0, + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-lg", + "id": "ofW7lr8TyD", + "layout": "vertical", + "minHeight": 0, + "minWidth": 280, + "name": "Inspector", + "overflow": "auto", + "padding": [ + "$space-sm", + "$space-md", + "$space-md", + "$space-md" + ], + "type": "frame", + "width": "30%" + } + ], + "height": "100%", + "id": "WVejghY3R6", + "layout": "horizontal", + "minHeight": 0, + "name": "Panes", + "type": "frame", + "width": "100%" + }, + { + "actions": [ + { + "label": "Cancel" + }, + { + "label": "Delete canvas", + "variant": "destructive" + } + ], + "children": [ + { + "color": "$text-primary", + "content": "The canvas is deleted for good and cannot be restored. To hide it from the gallery and keep it, archive it instead.", + "fontSize": "$label", + "type": "text" + } + ], + "id": "JpteNVoQsQ", + "name": "Delete dialog", + "size": "sm", + "title": "Delete dashboard?", + "type": "modal" + } + ], + "fill": "$bg-primary", + "height": "100%", + "id": "hWPADgfosw", + "layout": "vertical", + "name": "Shell", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": 900, + "id": "sJ9RUabCVt", + "name": "Document", + "overflow": "hidden", + "type": "document", + "width": 1440 + }, + "variables": {} +} diff --git a/.framesmith/viewer-redesign/canvas-detail-menu-open.json b/.framesmith/viewer-redesign/canvas-detail-menu-open.json new file mode 100644 index 0000000..027cf11 --- /dev/null +++ b/.framesmith/viewer-redesign/canvas-detail-menu-open.json @@ -0,0 +1,1255 @@ +{ + "components": {}, + "createdAt": "2026-11-24T14:06:50.707Z", + "id": "QBgXKFXMse", + "lastModified": "2026-11-24T14:08:17.754Z", + "metadata": { + "provenance": { + "at": "2026-11-24T14:01:46.956Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "structure": "editor-inspector-app" + }, + "surface": { + "device": "window-1440", + "type": "desktop-app" + }, + "variant": { + "at": "2026-11-24T14:06:50.708Z", + "of": "rbSmuMnACt", + "state": "menu-open" + } + }, + "name": "Canvas detail · menu-open", + "projectId": "3tm2S1pJhP", + "root": { + "children": [ + { + "children": [ + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "icon": "arrow-left", + "id": "NHmND2e-P8", + "label": "Pattern library", + "type": "link" + } + ], + "id": "a7IOUcjL8j", + "minWidth": 0, + "name": "Parent", + "type": "frame" + }, + { + "icon": "chevron-right", + "iconColor": "$text-secondary", + "iconSize": 14, + "id": "UewdBX9N_5", + "type": "icon" + }, + { + "color": "$text-primary", + "content": "dashboard", + "fontSize": "$label", + "fontWeight": 600, + "id": "50ERo4XOYD", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "dashboard", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "1440 × 900", + "fontSize": "$caption", + "id": "1v7wwqhjOq", + "maxWidth": 120, + "minWidth": 0, + "name": "Canvas size", + "textOverflow": "ellipsis", + "title": "1440 × 900", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "tnErHWqaQ6", + "layout": "horizontal", + "minWidth": 0, + "name": "Breadcrumb", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "id": "EWOK7GZJMd", + "items": [ + { + "label": "Mobile" + }, + { + "label": "Tablet" + }, + { + "active": true, + "label": "Desktop" + }, + { + "label": "Compare" + } + ], + "minWidth": 0, + "name": "Breakpoint tabs", + "size": "sm", + "type": "tabs", + "variant": "contained", + "width": "100%" + } + ], + "id": "YPqOysrqPV", + "maxWidth": 320, + "minWidth": 320, + "name": "Breakpoints", + "type": "frame", + "width": 320 + }, + { + "alignItems": "center", + "children": [ + { + "icon": "message-square", + "id": "gVYBy3YdhR", + "label": "Comment", + "maxWidth": 160, + "minWidth": 0, + "name": "Comment button", + "size": "sm", + "type": "button", + "variant": "secondary" + }, + { + "ariaLabel": "More actions", + "icon": "ellipsis", + "id": "PYzcDwki0o", + "name": "More actions", + "size": "sm", + "state": "pressed", + "type": "button", + "variant": "ghost" + }, + { + "anchor": "PYzcDwki0o", + "children": [ + { + "icon": "braces", + "label": "View JSON", + "type": "menu-row" + }, + { + "icon": "copy", + "label": "Copy canvas ID", + "type": "menu-row" + }, + { + "type": "divider" + }, + { + "icon": "archive", + "label": "Archive", + "type": "menu-row" + }, + { + "destructive": true, + "icon": "trash-2", + "label": "Delete canvas", + "type": "menu-row" + } + ], + "id": "iGFXeoGdxl", + "name": "More menu", + "type": "menu", + "width": 220, + "x": 1204, + "y": 44 + } + ], + "gap": "$space-xs", + "id": "vekzqswJy2", + "justifyContent": "end", + "layout": "horizontal", + "minWidth": "max-content", + "name": "Actions", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-md", + "height": 48, + "id": "imJ2DscxQb", + "justifyContent": "space-between", + "layout": "horizontal", + "minHeight": 48, + "name": "Header", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "ariaLabel": "Zoom in", + "color": "$text-secondary", + "icon": "zoom-in", + "id": "hV_SG17TVM", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Zoom out", + "color": "$text-secondary", + "icon": "zoom-out", + "id": "GM3rC5SnDd", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Fit to window", + "color": "$text-secondary", + "icon": "scan", + "id": "qyXAkv3uAF", + "name": "Fit", + "size": "xs", + "type": "button", + "variant": "ghost" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$bg-surface", + "gap": "$space-2xs", + "id": "m4iDctYsmU", + "layout": "horizontal", + "name": "Tools", + "padding": "$space-2xs", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "fit-content" + }, + { + "alignItems": "center", + "children": [ + { + "cornerRadius": "$radius-sm", + "height": 600, + "id": "jypHBnygJX", + "maxWidth": "100%", + "name": "Canvas preview", + "objectFit": "contain", + "shadow": "$elevation.floating", + "src": "asset:ba13d2cf176e0c0b.jpg", + "stroke": "$border", + "strokeWidth": 1, + "type": "image", + "width": 960 + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · No state variants yet", + "fontSize": "$label", + "id": "U2jK89QoNt", + "maxWidth": "100%", + "name": "Preview caption", + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · No state variants yet", + "type": "text" + } + ], + "cornerRadius": "$radius-md", + "fill": "transparent", + "gap": "$space-sm", + "height": "100%", + "id": "dSYREUTo1Y", + "justifyContent": "center", + "layout": "vertical", + "name": "Work surface", + "stroke": null, + "strokeWidth": 0, + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-sm", + "id": "RH-MmfuTWg", + "layout": "vertical", + "minHeight": 0, + "minWidth": 0, + "name": "Work area", + "overflow": "auto", + "padding": "$space-lg", + "type": "frame", + "width": "70%" + }, + { + "id": "I3k8I26pcs", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "id": "asNIz4D8sN", + "items": [ + { + "active": true, + "label": "Quality" + }, + { + "label": "Design system" + }, + { + "count": 2, + "label": "Feedback" + } + ], + "minWidth": 0, + "name": "Inspector tabs", + "size": "sm", + "type": "tabs", + "width": "100%" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "alignItems": "baseline", + "children": [ + { + "color": "$text-primary", + "content": "95", + "fontSize": "$display", + "fontWeight": 600, + "id": "JgnDuMoLXo", + "lineHeight": 1, + "name": "Score value", + "tabularNums": true, + "type": "text" + }, + { + "color": "$text-secondary", + "content": "/ 100", + "fontSize": "$label", + "id": "YjEchdb8Tk", + "name": "Score scale", + "type": "text" + } + ], + "gap": "$space-2xs", + "id": "7It8OJFsg3", + "layout": "horizontal", + "name": "Figure", + "type": "frame" + }, + { + "color": "$warning", + "content": "Below the bar", + "cornerRadius": "$radius-sm", + "fill": "$warning-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "W1fUNYSfZ2", + "maxWidth": 160, + "minWidth": 0, + "name": "Verdict", + "padding": [ + 2, + 8 + ], + "textOverflow": "ellipsis", + "title": "Below the bar", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "kBtw_gDQNj", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Score line", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "Coverage holds it back. The data table has no empty or loading state yet.", + "fontSize": "$label", + "id": "L2fn3tfXp7", + "minWidth": 0, + "name": "Score reason", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "j4Z4FsmiXk", + "layout": "vertical", + "name": "Score", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$warning", + "height": 4, + "id": "kKpaO2a5Mq", + "name": "Meter fill", + "type": "rectangle", + "width": "30%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "8yBPsLfd2k", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$warning", + "content": "30", + "fontSize": "$label", + "fontWeight": 600, + "id": "kekIn0jmu4", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "xx3QzgA3xC", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "5kIdKBGLBL", + "label": "Coverage", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "0jtP5dhci6", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "c2iQF-fTNb", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "s71GZbqBve", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "5TjUaoj5LE", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "BHZSXUe0yv", + "label": "Spacing", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "TFo-J22uPs", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "7MK-Nl0TAL", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "L3Wc7O2Db_", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "nrd1G89dH-", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "_Ju3GMCWqz", + "label": "Color", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "SCyRI5qQev", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "z3-FTkJFJ7", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "aFwP0OX34v", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "5E_6B4jqh2", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "HOBS2rZc15", + "label": "Typography", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "I57Hm03s0A", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "CyhXugmT0R", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "G04KQW4uoB", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "-rc6IbK2AD", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "aNBh9HQoF9", + "label": "Structure", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "2gj6NurLV3", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "8SkER3wqzh", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "crwDD3DrUd", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "X_zKVLvYd1", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "8AvsyUjb_x", + "label": "Consistency", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "Nwbn54Yz_J", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "8cu7oON6GS", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "SSWVkPxERb", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "7nJttmrxAr", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "sjAplkhx0V", + "label": "Usability", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "id": "6KMDiN-NPW", + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "id": "nWvWDPnFaK", + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "id": "_Vnc79rdO6", + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "id": "oA9t1DHu4u", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "qQ1B2it3n3", + "label": "Cliché", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + } + ], + "gap": 0, + "id": "j5yEUByFfB", + "layout": "vertical", + "name": "Categories", + "type": "frame", + "width": "100%" + }, + { + "alignItems": "baseline", + "borderTop": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-primary", + "content": "Issues", + "fontSize": "$body", + "fontWeight": 600, + "id": "bS0-ZLjzu9", + "name": "Issues title", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "18 findings in 7 groups", + "fontSize": "$caption", + "id": "cbVS7OjyPw", + "minWidth": 0, + "name": "Issues count", + "textOverflow": "ellipsis", + "title": "18 findings in 7 groups", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "CUR9UUsjlH", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Issues header", + "padding": [ + "$space-sm", + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "d_9G4j-lAW", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no empty state variant.", + "fontSize": "$label", + "id": "E9MPdRWbls", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "1wnjclPyHN", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "k9sqV-Htmw", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "4svlousRtf", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no loading state variant.", + "fontSize": "$label", + "id": "2eCMADt_6A", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "8eQrKZK56h", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "QndXKzQyM7", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Typography · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "nHHrmjDZ41", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Display text at 28px with default tracking reads loose. Tighten it to -0.5.", + "fontSize": "$label", + "id": "-pKydvrNGm", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "d1f6oFwdCy", + "label": "Show 4 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "RB3yIYpvxZ", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "cUGY588M3U", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 8 equals the $md token. Reference the token instead.", + "fontSize": "$label", + "id": "QP5PAxgBrR", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "kom2jgi1sH", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "Cb9KfWtQqo", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "jW1ktoUHJ_", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 16 equals the $lg token. Reference the token instead.", + "fontSize": "$label", + "id": "LtlM0opFZg", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "mjZSUj1PS5", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "PUHmA9ywx0", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Structure · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "0-XzE86DTp", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "No component instances in 43 nodes. Promote a repeated subtree.", + "fontSize": "$label", + "id": "5_2MVCsHM6", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "gRfckbz0a_", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "142oTByEbh", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Color · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "Lcz3wg27lg", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Weak perceptual contrast on the primary link (APCA advisory).", + "fontSize": "$label", + "id": "kL-K-K6hkI", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "Tg6fONPyJq", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "Khao-J_47S", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "gap": 0, + "id": "dmHC5kE5vs", + "layout": "vertical", + "name": "Issues", + "padding": [ + 0, + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-lg", + "id": "VepWlou0fS", + "layout": "vertical", + "minHeight": 0, + "minWidth": 280, + "name": "Inspector", + "overflow": "auto", + "padding": [ + "$space-sm", + "$space-md", + "$space-md", + "$space-md" + ], + "type": "frame", + "width": "30%" + } + ], + "height": "100%", + "id": "JM3bnwp0hB", + "layout": "horizontal", + "minHeight": 0, + "name": "Panes", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": "100%", + "id": "6xMoP4bquS", + "layout": "vertical", + "name": "Shell", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": 900, + "id": "-sMZlS3lcX", + "name": "Document", + "overflow": "hidden", + "type": "document", + "width": 1440 + }, + "variables": {} +} diff --git a/.framesmith/viewer-redesign/canvas-detail.json b/.framesmith/viewer-redesign/canvas-detail.json new file mode 100644 index 0000000..83e9f9b --- /dev/null +++ b/.framesmith/viewer-redesign/canvas-detail.json @@ -0,0 +1,1182 @@ +{ + "components": {}, + "createdAt": "2026-11-24T14:01:45.875Z", + "id": "rbSmuMnACt", + "lastModified": "2026-11-24T14:08:17.735Z", + "metadata": { + "provenance": { + "at": "2026-11-24T14:01:46.956Z", + "axes": { + "alignment": "split", + "density": "dense", + "heroTreatment": "split", + "rhythm": "asymmetric" + }, + "structure": "editor-inspector-app" + }, + "surface": { + "device": "window-1440", + "type": "desktop-app" + } + }, + "name": "Canvas detail", + "projectId": "3tm2S1pJhP", + "root": { + "children": [ + { + "children": [ + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "icon": "arrow-left", + "id": "eia-crumb-parent", + "label": "Pattern library", + "type": "link" + } + ], + "id": "eia-crumb-slot", + "minWidth": 0, + "name": "Parent", + "type": "frame" + }, + { + "icon": "chevron-right", + "iconColor": "$text-secondary", + "iconSize": 14, + "id": "eia-crumb-sep", + "type": "icon" + }, + { + "color": "$text-primary", + "content": "dashboard", + "fontSize": "$label", + "fontWeight": 600, + "id": "eia-title", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "dashboard", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "1440 × 900", + "fontSize": "$caption", + "id": "xumPVoJDBy", + "maxWidth": 120, + "minWidth": 0, + "name": "Canvas size", + "textOverflow": "ellipsis", + "title": "1440 × 900", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "eia-crumbs", + "layout": "horizontal", + "minWidth": 0, + "name": "Breadcrumb", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "id": "GMz7gxVIN3", + "items": [ + { + "label": "Mobile" + }, + { + "label": "Tablet" + }, + { + "active": true, + "label": "Desktop" + }, + { + "label": "Compare" + } + ], + "minWidth": 0, + "name": "Breakpoint tabs", + "size": "sm", + "type": "tabs", + "variant": "contained", + "width": "100%" + } + ], + "id": "HMRruXM4Wt", + "maxWidth": 320, + "minWidth": 320, + "name": "Breakpoints", + "type": "frame", + "width": 320 + }, + { + "alignItems": "center", + "children": [ + { + "icon": "message-square", + "id": "IOQ5ObkeWt", + "label": "Comment", + "maxWidth": 160, + "minWidth": 0, + "name": "Comment button", + "size": "sm", + "type": "button", + "variant": "secondary" + }, + { + "ariaLabel": "More actions", + "icon": "ellipsis", + "id": "pH28k1laWF", + "name": "More actions", + "size": "sm", + "type": "button", + "variant": "ghost" + } + ], + "gap": "$space-xs", + "id": "eia-actions", + "justifyContent": "end", + "layout": "horizontal", + "minWidth": "max-content", + "name": "Actions", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-md", + "height": 48, + "id": "eia-header", + "justifyContent": "space-between", + "layout": "horizontal", + "minHeight": 48, + "name": "Header", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "ariaLabel": "Zoom in", + "color": "$text-secondary", + "icon": "zoom-in", + "id": "eia-tool-zoom-in", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Zoom out", + "color": "$text-secondary", + "icon": "zoom-out", + "id": "eia-tool-zoom-out", + "size": "xs", + "type": "button", + "variant": "ghost" + }, + { + "ariaLabel": "Fit to window", + "color": "$text-secondary", + "icon": "scan", + "id": "0M_ZNdZ-NZ", + "name": "Fit", + "size": "xs", + "type": "button", + "variant": "ghost" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$bg-surface", + "gap": "$space-2xs", + "id": "eia-tools", + "layout": "horizontal", + "name": "Tools", + "padding": "$space-2xs", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "fit-content" + }, + { + "alignItems": "center", + "children": [ + { + "cornerRadius": "$radius-sm", + "height": 600, + "id": "PpIWBNAvnJ", + "maxWidth": "100%", + "name": "Canvas preview", + "objectFit": "contain", + "shadow": "$elevation.floating", + "src": "asset:ba13d2cf176e0c0b.jpg", + "stroke": "$border", + "strokeWidth": 1, + "type": "image", + "width": 960 + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · No state variants yet", + "fontSize": "$label", + "id": "iH7pntZ0X2", + "maxWidth": "100%", + "name": "Preview caption", + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · No state variants yet", + "type": "text" + } + ], + "cornerRadius": "$radius-md", + "fill": "transparent", + "gap": "$space-sm", + "height": "100%", + "id": "eia-canvas", + "justifyContent": "center", + "layout": "vertical", + "name": "Work surface", + "stroke": null, + "strokeWidth": 0, + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-sm", + "id": "eia-work", + "layout": "vertical", + "minHeight": 0, + "minWidth": 0, + "name": "Work area", + "overflow": "auto", + "padding": "$space-lg", + "type": "frame", + "width": "70%" + }, + { + "id": "eia-div", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "id": "eia-tabs", + "items": [ + { + "active": true, + "label": "Quality" + }, + { + "label": "Design system" + }, + { + "count": 2, + "label": "Feedback" + } + ], + "minWidth": 0, + "name": "Inspector tabs", + "size": "sm", + "type": "tabs", + "width": "100%" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "alignItems": "baseline", + "children": [ + { + "color": "$text-primary", + "content": "95", + "fontSize": "$display", + "fontWeight": 600, + "id": "ZgJm-FysAQ", + "lineHeight": 1, + "name": "Score value", + "tabularNums": true, + "type": "text" + }, + { + "color": "$text-secondary", + "content": "/ 100", + "fontSize": "$label", + "id": "ekspo7VPfY", + "name": "Score scale", + "type": "text" + } + ], + "gap": "$space-2xs", + "id": "M23KrBG2EF", + "layout": "horizontal", + "name": "Figure", + "type": "frame" + }, + { + "color": "$warning", + "content": "Below the bar", + "cornerRadius": "$radius-sm", + "fill": "$warning-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "VyGPLC2GOm", + "maxWidth": 160, + "minWidth": 0, + "name": "Verdict", + "padding": [ + 2, + 8 + ], + "textOverflow": "ellipsis", + "title": "Below the bar", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "VMp8DG-nZe", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Score line", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "Coverage holds it back. The data table has no empty or loading state yet.", + "fontSize": "$label", + "id": "m9TNVQvGXQ", + "minWidth": 0, + "name": "Score reason", + "type": "text" + } + ], + "gap": "$space-xs", + "id": "t3_BV7hiwP", + "layout": "vertical", + "name": "Score", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$warning", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "30%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$warning", + "content": "30", + "fontSize": "$label", + "fontWeight": 600, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "JFQkJ4CgyV", + "label": "Coverage", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "6r8rJqj0Wc", + "label": "Spacing", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "BsmeVWfFva", + "label": "Color", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "WF1fUsrlYQ", + "label": "Typography", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "X5cEGS4jM2", + "label": "Structure", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "vtotuxpufa", + "label": "Consistency", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "aM4RRt8pjd", + "label": "Usability", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + }, + { + "children": [ + { + "alignItems": "center", + "children": [ + { + "children": [ + { + "cornerRadius": "$radius-sm", + "fill": "$border-strong", + "height": 4, + "name": "Meter fill", + "type": "rectangle", + "width": "100%" + } + ], + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "height": 4, + "name": "Meter", + "type": "frame", + "width": "100%" + }, + { + "color": "$text-primary", + "content": "100", + "fontSize": "$label", + "fontWeight": 500, + "minWidth": 28, + "name": "Category score", + "tabularNums": true, + "textAlign": "right", + "type": "text", + "width": 28 + } + ], + "gap": "$space-sm", + "layout": "horizontal", + "name": "Category value", + "type": "frame", + "width": "100%" + } + ], + "id": "maAb5OpCX-", + "label": "Cliché", + "labelWidth": 96, + "name": "Category", + "type": "property-row" + } + ], + "gap": 0, + "id": "73PT-pkwEO", + "layout": "vertical", + "name": "Categories", + "type": "frame", + "width": "100%" + }, + { + "alignItems": "baseline", + "borderTop": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-primary", + "content": "Issues", + "fontSize": "$body", + "fontWeight": 600, + "id": "lztNvo8UtB", + "name": "Issues title", + "type": "text" + }, + { + "color": "$text-secondary", + "content": "18 findings in 7 groups", + "fontSize": "$caption", + "id": "Dsg_WLS3si", + "minWidth": 0, + "name": "Issues count", + "textOverflow": "ellipsis", + "title": "18 findings in 7 groups", + "type": "text" + } + ], + "gap": "$space-sm", + "id": "n4eyRiCyUO", + "justifyContent": "space-between", + "layout": "horizontal", + "name": "Issues header", + "padding": [ + "$space-sm", + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "apXqIJ_yvf", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no empty state variant.", + "fontSize": "$label", + "id": "CeZzMn9FSV", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "CTRrel9JKA", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "_E6hck4V7O", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$warning", + "content": "Coverage · warning", + "fontSize": "$caption", + "fontWeight": 600, + "id": "YIkPu3xqCl", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "The data table has no loading state variant.", + "fontSize": "$label", + "id": "2hWaTR5511", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "mJoOZL9aIw", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "V8GEQoFeh0", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Typography · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "0dRaefz924", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Display text at 28px with default tracking reads loose. Tighten it to -0.5.", + "fontSize": "$label", + "id": "fenD5FdqWA", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "S5UpnMesnh", + "label": "Show 4 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "94wnEvz9n1", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "psM1_dnCGz", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 8 equals the $md token. Reference the token instead.", + "fontSize": "$label", + "id": "uuW_kUcVk9", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "XgMSHSePjO", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "Ryn9jotPX3", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Consistency · auto-fixable", + "fontSize": "$caption", + "fontWeight": 600, + "id": "kCqdUFQAHe", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Corner radius 16 equals the $lg token. Reference the token instead.", + "fontSize": "$label", + "id": "9_lDbjQssZ", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "OQ9Lx3EnjK", + "label": "Show 5 nodes", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "fZnOsj1ecR", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Structure · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "yJrXW3CHvP", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "No component instances in 43 nodes. Promote a repeated subtree.", + "fontSize": "$label", + "id": "vEDyWdJ4lP", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "3GH9JKqX0n", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "tiCSG0sw3h", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + }, + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-secondary", + "content": "Color · info", + "fontSize": "$caption", + "fontWeight": 600, + "id": "8a1Lr9y6Qa", + "name": "Issue kind", + "type": "text" + }, + { + "color": "$text-primary", + "content": "Weak perceptual contrast on the primary link (APCA advisory).", + "fontSize": "$label", + "id": "8PWjnzu126", + "name": "Issue message", + "type": "text" + }, + { + "fontSize": "$label", + "id": "-KJhV9Tjuu", + "label": "Show 1 node", + "name": "Issue nodes", + "type": "link" + } + ], + "gap": "$space-3xs", + "id": "AwmBlhoXSh", + "layout": "vertical", + "name": "Issue", + "padding": [ + "$space-sm", + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "gap": 0, + "id": "u-2g2xv-hu", + "layout": "vertical", + "name": "Issues", + "padding": [ + 0, + 0, + 0, + 0 + ], + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-lg", + "id": "eia-inspector", + "layout": "vertical", + "minHeight": 0, + "minWidth": 280, + "name": "Inspector", + "overflow": "auto", + "padding": [ + "$space-sm", + "$space-md", + "$space-md", + "$space-md" + ], + "type": "frame", + "width": "30%" + } + ], + "height": "100%", + "id": "eia-main-panes", + "layout": "horizontal", + "minHeight": 0, + "name": "Panes", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": "100%", + "id": "eia-shell", + "layout": "vertical", + "name": "Shell", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": 900, + "id": "REq8AbJpm8", + "name": "Document", + "overflow": "hidden", + "type": "document", + "width": 1440 + }, + "variables": {} +} diff --git a/.framesmith/viewer-redesign/gallery.json b/.framesmith/viewer-redesign/gallery.json new file mode 100644 index 0000000..3ddf12f --- /dev/null +++ b/.framesmith/viewer-redesign/gallery.json @@ -0,0 +1,909 @@ +{ + "components": {}, + "createdAt": "2026-11-24T14:00:25.475Z", + "id": "dri4igoofJ", + "lastModified": "2026-11-24T14:08:17.713Z", + "metadata": { + "provenance": { + "at": "2026-11-24T14:00:26.541Z", + "axes": { + "alignment": "left", + "density": "balanced", + "heroTreatment": "none", + "rhythm": "uniform" + }, + "structure": "browser-app" + }, + "surface": { + "device": "window-1440", + "type": "desktop-app" + } + }, + "name": "Gallery", + "projectId": "3tm2S1pJhP", + "root": { + "children": [ + { + "children": [ + { + "children": [ + { + "color": "$text-primary", + "content": "framesmith", + "fontSize": "$body", + "fontWeight": 600, + "id": "bra-sidebar-brand", + "padding": [ + "$space-2xs", + "$space-xs" + ], + "type": "text" + }, + { + "color": "$text-secondary", + "content": "Personal", + "fontSize": "$caption", + "fontWeight": 500, + "id": "1elw1x7Krr", + "name": "Workspace label", + "padding": [ + 0, + "$space-xs" + ], + "type": "text" + }, + { + "children": [ + { + "active": false, + "count": 1, + "dotColor": "$chart-1", + "icon": null, + "id": "bra-sidebar-nav-1", + "label": "Design system", + "type": "nav-item" + }, + { + "count": 5, + "dotColor": "$chart-2", + "icon": null, + "id": "bra-sidebar-nav-2", + "label": "UI", + "type": "nav-item" + }, + { + "count": 2, + "dotColor": "$chart-3", + "icon": null, + "id": "bra-sidebar-nav-3", + "label": "Releases", + "type": "nav-item" + }, + { + "active": true, + "count": 11, + "dotColor": "$chart-4", + "id": "z4OUkIWWrx", + "label": "Pattern library", + "type": "nav-item" + }, + { + "count": 0, + "dotColor": "$chart-5", + "id": "Y8yBwTvIhS", + "label": "Foundations", + "type": "nav-item" + } + ], + "gap": "$space-3xs", + "height": "100%", + "id": "bra-sidebar-nav", + "layout": "vertical", + "name": "Navigation", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "count": 3, + "icon": "archive", + "id": "bra-sidebar-more-1", + "label": "Archive", + "type": "nav-item" + } + ], + "gap": "$space-3xs", + "id": "bra-sidebar-more", + "layout": "vertical", + "name": "Secondary navigation", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-surface", + "gap": "$space-lg", + "id": "bra-sidebar", + "layout": "vertical", + "minHeight": 0, + "minWidth": 240, + "name": "Sidebar", + "overflow": "auto", + "padding": "$space-sm", + "type": "frame", + "width": 240 + }, + { + "id": "bra-div", + "orientation": "vertical", + "type": "divider" + }, + { + "children": [ + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "color": "$text-primary", + "content": "Pattern library", + "fontSize": "$text-lg", + "fontWeight": 600, + "id": "bra-header-title", + "textOverflow": "ellipsis", + "title": "Pattern library", + "type": "text" + }, + { + "alignItems": "center", + "children": [ + { + "color": "$text-secondary", + "content": "11 canvases · 1 below the bar", + "fontSize": "$caption", + "id": "-J_A5FH2S4", + "minWidth": 0, + "name": "Summary", + "textOverflow": "ellipsis", + "title": "11 canvases · 1 below the bar", + "type": "text" + }, + { + "alignItems": "center", + "children": [ + { + "fill": "$success", + "height": 6, + "id": "Z-IfG1ur28", + "name": "Live dot", + "type": "ellipse", + "width": 6 + }, + { + "color": "$text-secondary", + "content": "Live", + "fontSize": "$caption", + "id": "d4wNyP48YS", + "type": "text" + } + ], + "gap": "$space-2xs", + "id": "wETJvDGWHs", + "layout": "horizontal", + "name": "Live status", + "type": "frame" + } + ], + "gap": "$space-md", + "id": "bra-header-actions", + "layout": "horizontal", + "minWidth": "max-content", + "name": "Actions", + "type": "frame" + } + ], + "gap": "$space-md", + "height": 48, + "id": "bra-header", + "justifyContent": "space-between", + "layout": "horizontal", + "minHeight": 48, + "name": "Header", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "alignItems": "center", + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "icon": "search", + "id": "bra-search", + "placeholder": "Search canvases", + "size": "sm", + "type": "text-input", + "width": 280 + }, + { + "children": [ + { + "id": "bra-tabs", + "items": [ + { + "active": true, + "count": 11, + "label": "All" + }, + { + "count": 9, + "label": "Web" + }, + { + "count": 1, + "label": "Mobile" + }, + { + "count": 1, + "label": "Desktop app" + } + ], + "size": "sm", + "type": "tabs", + "variant": "contained" + } + ], + "id": "bra-tabs-slot", + "minWidth": 0, + "name": "Tabs", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-md", + "height": 48, + "id": "bra-filters", + "layout": "horizontal", + "minHeight": 48, + "name": "Filter bar", + "padding": [ + 0, + "$space-md" + ], + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "children": [ + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "height": "100%", + "id": "Grx-TftXJn", + "name": "Thumbnail", + "objectFit": "cover", + "src": "asset:ed73bd8ee630d25b.jpg", + "type": "image", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "100", + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "xrYAwxodC0", + "minWidth": "max-content", + "name": "Score", + "padding": [ + 2, + 6 + ], + "position": "absolute", + "right": 8, + "tabularNums": true, + "title": "Quality score 100 of 100", + "type": "text", + "y": 8 + } + ], + "fill": "$bg-elevated", + "height": 220, + "id": "bra-card-1-media", + "layout": "vertical", + "name": "Preview", + "position": "relative", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "color": "$text-primary", + "id": "bra-card-1-title", + "label": "auth", + "maxWidth": "100%", + "minWidth": 0, + "type": "link", + "width": null + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · Edited Jun 26", + "fontSize": "$caption", + "id": "bra-card-1-meta", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · Edited Jun 26", + "type": "text" + } + ], + "gap": "$space-3xs", + "id": "bra-card-1-copy", + "layout": "vertical", + "name": "Copy", + "padding": [ + "$space-sm", + "$space-md" + ], + "type": "frame", + "width": "100%" + } + ], + "cornerRadius": "$radius-md", + "fill": "$bg-surface", + "id": "bra-card-1", + "layout": "vertical", + "minWidth": 0, + "name": "Item card", + "overflow": "hidden", + "shadow": "$elevation.flat", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "height": "100%", + "id": "jLMrb7uziF", + "name": "Thumbnail", + "objectFit": "cover", + "src": "asset:a561bdd6796a38e4.jpg", + "type": "image", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "100", + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "4xuBmVynSM", + "minWidth": "max-content", + "name": "Score", + "padding": [ + 2, + 6 + ], + "position": "absolute", + "right": 8, + "tabularNums": true, + "title": "Quality score 100 of 100", + "type": "text", + "y": 8 + } + ], + "fill": "$bg-elevated", + "height": 220, + "id": "bra-card-2-media", + "layout": "vertical", + "name": "Preview", + "position": "relative", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "color": "$text-primary", + "id": "bra-card-2-title", + "label": "bento-grid", + "maxWidth": "100%", + "minWidth": 0, + "type": "link", + "width": null + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · Edited Jun 26", + "fontSize": "$caption", + "id": "bra-card-2-meta", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · Edited Jun 26", + "type": "text" + } + ], + "gap": "$space-3xs", + "id": "bra-card-2-copy", + "layout": "vertical", + "name": "Copy", + "padding": [ + "$space-sm", + "$space-md" + ], + "type": "frame", + "width": "100%" + } + ], + "cornerRadius": "$radius-md", + "fill": "$bg-surface", + "id": "bra-card-2", + "layout": "vertical", + "minWidth": 0, + "name": "Item card", + "overflow": "hidden", + "shadow": "$elevation.flat", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "height": "100%", + "id": "kOUEvrxwkx", + "name": "Thumbnail", + "objectFit": "cover", + "src": "asset:790968d020d4b354.jpg", + "type": "image", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "100", + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "B8U9qWt6Wb", + "minWidth": "max-content", + "name": "Score", + "padding": [ + 2, + 6 + ], + "position": "absolute", + "right": 8, + "tabularNums": true, + "title": "Quality score 100 of 100", + "type": "text", + "y": 8 + } + ], + "fill": "$bg-elevated", + "height": 220, + "id": "bra-card-3-media", + "layout": "vertical", + "name": "Preview", + "position": "relative", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "color": "$text-primary", + "id": "bra-card-3-title", + "label": "catalogue", + "maxWidth": "100%", + "minWidth": 0, + "type": "link", + "width": null + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · Edited Jun 26", + "fontSize": "$caption", + "id": "bra-card-3-meta", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · Edited Jun 26", + "type": "text" + } + ], + "gap": "$space-3xs", + "id": "bra-card-3-copy", + "layout": "vertical", + "name": "Copy", + "padding": [ + "$space-sm", + "$space-md" + ], + "type": "frame", + "width": "100%" + } + ], + "cornerRadius": "$radius-md", + "fill": "$bg-surface", + "id": "bra-card-3", + "layout": "vertical", + "minWidth": 0, + "name": "Item card", + "overflow": "hidden", + "shadow": "$elevation.flat", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "height": "100%", + "id": "em9F4-gOTx", + "name": "Thumbnail", + "objectFit": "cover", + "src": "asset:ba13d2cf176e0c0b.jpg", + "type": "image", + "width": "100%" + }, + { + "color": "$warning", + "content": "95", + "cornerRadius": "$radius-sm", + "fill": "$warning-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "q7BB5psFo2", + "minWidth": "max-content", + "name": "Score", + "padding": [ + 2, + 6 + ], + "position": "absolute", + "right": 8, + "tabularNums": true, + "title": "Quality score 95 of 100", + "type": "text", + "y": 8 + } + ], + "fill": "$bg-elevated", + "height": 220, + "id": "bra-card-4-media", + "layout": "vertical", + "name": "Preview", + "position": "relative", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "color": "$text-primary", + "id": "bra-card-4-title", + "label": "dashboard", + "maxWidth": "100%", + "minWidth": 0, + "type": "link", + "width": null + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · Edited Jul 20", + "fontSize": "$caption", + "id": "bra-card-4-meta", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · Edited Jul 20", + "type": "text" + } + ], + "gap": "$space-3xs", + "id": "bra-card-4-copy", + "layout": "vertical", + "name": "Copy", + "padding": [ + "$space-sm", + "$space-md" + ], + "type": "frame", + "width": "100%" + } + ], + "cornerRadius": "$radius-md", + "fill": "$bg-surface", + "id": "bra-card-4", + "layout": "vertical", + "minWidth": 0, + "name": "Item card", + "overflow": "hidden", + "shadow": "$elevation.flat", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "height": "100%", + "id": "6Zx20Q4sp5", + "name": "Thumbnail", + "objectFit": "cover", + "src": "asset:889ea6295d4e42a6.jpg", + "type": "image", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "100", + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "5S9YSIZ4t0", + "minWidth": "max-content", + "name": "Score", + "padding": [ + 2, + 6 + ], + "position": "absolute", + "right": 8, + "tabularNums": true, + "title": "Quality score 100 of 100", + "type": "text", + "y": 8 + } + ], + "fill": "$bg-elevated", + "height": 220, + "id": "bra-card-5-media", + "layout": "vertical", + "name": "Preview", + "position": "relative", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "color": "$text-primary", + "id": "bra-card-5-title", + "label": "onboarding", + "maxWidth": "100%", + "minWidth": 0, + "type": "link", + "width": null + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · Edited Jun 26", + "fontSize": "$caption", + "id": "bra-card-5-meta", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · Edited Jun 26", + "type": "text" + } + ], + "gap": "$space-3xs", + "id": "bra-card-5-copy", + "layout": "vertical", + "name": "Copy", + "padding": [ + "$space-sm", + "$space-md" + ], + "type": "frame", + "width": "100%" + } + ], + "cornerRadius": "$radius-md", + "fill": "$bg-surface", + "id": "bra-card-5", + "layout": "vertical", + "minWidth": 0, + "name": "Item card", + "overflow": "hidden", + "shadow": "$elevation.flat", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "borderBottom": { + "color": "$border", + "width": 1 + }, + "children": [ + { + "height": "100%", + "id": "n4tOrImEae", + "name": "Thumbnail", + "objectFit": "cover", + "src": "asset:13e5fd7fb05c2cf0.jpg", + "type": "image", + "width": "100%" + }, + { + "color": "$text-secondary", + "content": "98", + "cornerRadius": "$radius-sm", + "fill": "$neutral-tint", + "fontSize": "$caption", + "fontWeight": 600, + "id": "Xa13cKqaKP", + "minWidth": "max-content", + "name": "Score", + "padding": [ + 2, + 6 + ], + "position": "absolute", + "right": 8, + "tabularNums": true, + "title": "Quality score 98 of 100", + "type": "text", + "y": 8 + } + ], + "fill": "$bg-elevated", + "height": 220, + "id": "bra-card-6-media", + "layout": "vertical", + "name": "Preview", + "position": "relative", + "type": "frame", + "width": "100%" + }, + { + "children": [ + { + "color": "$text-primary", + "id": "bra-card-6-title", + "label": "settings", + "maxWidth": "100%", + "minWidth": 0, + "type": "link", + "width": null + }, + { + "color": "$text-secondary", + "content": "Web · 1440 × 900 · Edited Jun 26", + "fontSize": "$caption", + "id": "bra-card-6-meta", + "minWidth": 0, + "textOverflow": "ellipsis", + "title": "Web · 1440 × 900 · Edited Jun 26", + "type": "text" + } + ], + "gap": "$space-3xs", + "id": "bra-card-6-copy", + "layout": "vertical", + "name": "Copy", + "padding": [ + "$space-sm", + "$space-md" + ], + "type": "frame", + "width": "100%" + } + ], + "cornerRadius": "$radius-md", + "fill": "$bg-surface", + "id": "bra-card-6", + "layout": "vertical", + "minWidth": 0, + "name": "Item card", + "overflow": "hidden", + "shadow": "$elevation.flat", + "stroke": "$border", + "strokeWidth": 1, + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-lg", + "gridColumns": "repeat(auto-fill, minmax(320px, 1fr))", + "id": "bra-grid", + "layout": "grid", + "name": "Item grid", + "rowGap": "$space-lg", + "type": "frame", + "width": "100%" + } + ], + "gap": "$space-md", + "height": "100%", + "id": "bra-grid-pane", + "layout": "vertical", + "minHeight": 0, + "minWidth": 0, + "name": "Items", + "overflow": "auto", + "padding": "$space-lg", + "type": "frame", + "width": "100%" + } + ], + "id": "bra-main", + "layout": "vertical", + "minWidth": 0, + "name": "Main", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": "100%", + "id": "bra-shell", + "layout": "horizontal", + "name": "Shell", + "type": "frame", + "width": "100%" + } + ], + "fill": "$bg-primary", + "height": 900, + "id": "sA8xcN4jWE", + "name": "Document", + "overflow": "hidden", + "type": "document", + "width": 1440 + }, + "variables": {} +} diff --git a/.framesmith/workspace.json b/.framesmith/workspace.json index 7425351..d8b5c45 100644 --- a/.framesmith/workspace.json +++ b/.framesmith/workspace.json @@ -93,6 +93,306 @@ "dir": "pattern-library", "id": "QTrOgC44pt", "name": "Pattern library" + }, + { + "designSystem": { + "colors": { + "accent": "#BB5915", + "accent-tint": "#FFF2EC", + "bg-elevated": "#F0F0EE", + "bg-primary": "#F6F6F5", + "bg-surface": "#FFFFFF", + "border": "#E2E2DF", + "border-strong": "#8A8A86", + "chart-1": "#C36120", + "chart-2": "#8D8300", + "chart-3": "#009861", + "chart-4": "#0090A6", + "chart-5": "#5D79D6", + "danger": "#BC4A41", + "danger-tint": "#FFF2F0", + "focus-ring": "#BB5915", + "neutral-100": "#EDEDEB", + "neutral-200": "#E2E2DF", + "neutral-300": "#C8C8C4", + "neutral-400": "#A8A8A4", + "neutral-50": "#F6F6F5", + "neutral-500": "#8A8A86", + "neutral-600": "#73736F", + "neutral-700": "#5F5F5C", + "neutral-800": "#3D3D3B", + "neutral-900": "#1D1D1C", + "neutral-tint": "#EFEFED", + "primary-100": "#FFEADF", + "primary-200": "#FFC8AC", + "primary-300": "#F7A87E", + "primary-400": "#E98B55", + "primary-50": "#FFF4EF", + "primary-500": "#D47033", + "primary-600": "#BB5915", + "primary-700": "#9D4601", + "primary-800": "#7E3700", + "primary-900": "#602800", + "success": "#007F38", + "success-tint": "#DAF8DF", + "text-primary": "#1D1D1C", + "text-secondary": "#5F5F5C", + "warning": "#956300", + "warning-tint": "#FFEFDB" + }, + "dark": { + "colors": { + "accent": "#E98B55", + "accent-tint": "#3A2214", + "bg-elevated": "#222221", + "bg-primary": "#121212", + "bg-surface": "#1A1A19", + "border": "#2C2C2A", + "border-strong": "#76766F", + "chart-1": "#D77336", + "chart-2": "#A19500", + "chart-3": "#1BAC71", + "chart-4": "#00A4BD", + "chart-5": "#6E8CEB", + "danger": "#FB8276", + "danger-tint": "#46221E", + "focus-ring": "#D47033", + "neutral-tint": "#262625", + "success": "#52B76D", + "success-tint": "#17351F", + "text-primary": "#EDEDEB", + "text-secondary": "#A2A29E", + "warning": "#D5A052", + "warning-tint": "#3E2909" + }, + "elevation": { + "flat": [ + { + "blur": 2, + "color": "rgba(0, 0, 0, 0.2)", + "spread": 0, + "x": 0, + "y": 1 + } + ], + "floating": [ + { + "blur": 6, + "color": "rgba(0, 0, 0, 0.24)", + "spread": -2, + "x": 0, + "y": 4 + }, + { + "blur": 16, + "color": "rgba(0, 0, 0, 0.44)", + "spread": -4, + "x": 0, + "y": 12 + } + ], + "overlay": [ + { + "blur": 10, + "color": "rgba(0, 0, 0, 0.24)", + "spread": -4, + "x": 0, + "y": 8 + }, + { + "blur": 25, + "color": "rgba(0, 0, 0, 0.56)", + "spread": -5, + "x": 0, + "y": 20 + } + ], + "raised": [ + { + "blur": 2, + "color": "rgba(0, 0, 0, 0.24)", + "spread": 0, + "x": 0, + "y": 1 + }, + { + "blur": 4, + "color": "rgba(0, 0, 0, 0.32)", + "spread": -1, + "x": 0, + "y": 2 + } + ] + } + }, + "elevation": { + "flat": [ + { + "blur": 2, + "color": "rgba(16, 24, 40, 0.05)", + "spread": 0, + "x": 0, + "y": 1 + } + ], + "floating": [ + { + "blur": 6, + "color": "rgba(16, 24, 40, 0.06)", + "spread": -2, + "x": 0, + "y": 4 + }, + { + "blur": 16, + "color": "rgba(16, 24, 40, 0.11)", + "spread": -4, + "x": 0, + "y": 12 + } + ], + "overlay": [ + { + "blur": 10, + "color": "rgba(16, 24, 40, 0.06)", + "spread": -4, + "x": 0, + "y": 8 + }, + { + "blur": 25, + "color": "rgba(16, 24, 40, 0.14)", + "spread": -5, + "x": 0, + "y": 20 + } + ], + "raised": [ + { + "blur": 2, + "color": "rgba(16, 24, 40, 0.06)", + "spread": 0, + "x": 0, + "y": 1 + }, + { + "blur": 4, + "color": "rgba(16, 24, 40, 0.08)", + "spread": -1, + "x": 0, + "y": 2 + } + ] + }, + "motion": { + "base": { + "duration": 180, + "easing": "cubic-bezier(0.2, 0, 0, 1)" + }, + "fast": { + "duration": 120, + "easing": "cubic-bezier(0.2, 0, 0, 1)" + }, + "slow": { + "duration": 260, + "easing": "cubic-bezier(0.2, 0, 0, 1)" + } + }, + "radius": { + "radius-lg": 14, + "radius-md": 10, + "radius-sm": 6 + }, + "spacing": { + "space-2xl": 48, + "space-2xs": 4, + "space-3xl": 64, + "space-3xs": 2, + "space-lg": 24, + "space-md": 16, + "space-sm": 12, + "space-xl": 32, + "space-xs": 8 + }, + "state": { + "disabledContainer": 0.12, + "disabledContent": 0.38, + "focus": 0.1, + "hover": 0.08, + "pressed": 0.1 + }, + "typography": { + "body": { + "fontFamily": "Inter", + "fontSize": 14, + "lineHeight": 1.5 + }, + "caption": { + "fontFamily": "Inter", + "fontSize": 11, + "lineHeight": 1.5 + }, + "display": { + "fontFamily": "Space Grotesk", + "fontSize": 34, + "fontWeight": 600, + "letterSpacing": -1, + "lineHeight": 1.2 + }, + "heading": { + "fontFamily": "Space Grotesk", + "fontSize": 22, + "fontWeight": 600, + "lineHeight": 1.35 + }, + "label": { + "fontFamily": "Inter", + "fontSize": 12, + "fontWeight": 500, + "letterSpacing": 0.25, + "lineHeight": 1.5 + }, + "text-2xl": { + "fontSize": 27, + "lineHeight": 1.35 + }, + "text-3xl": { + "fontSize": 34, + "letterSpacing": -0.5, + "lineHeight": 1.2 + }, + "text-base": { + "fontSize": 14, + "lineHeight": 1.5 + }, + "text-lg": { + "fontSize": 18, + "lineHeight": 1.5 + }, + "text-sm": { + "fontSize": 11, + "lineHeight": 1.5 + }, + "text-xl": { + "fontSize": 22, + "lineHeight": 1.35 + }, + "text-xs": { + "fontSize": 11, + "lineHeight": 1.5 + }, + "title": { + "fontFamily": "Space Grotesk", + "fontSize": 27, + "fontWeight": 600, + "letterSpacing": -0.5, + "lineHeight": 1.35 + } + } + }, + "dir": "viewer-redesign", + "id": "3tm2S1pJhP", + "name": "Viewer redesign" } ], "schemaVersion": 1, diff --git a/VISION.md b/VISION.md index 9428b9a..31a62d2 100644 --- a/VISION.md +++ b/VISION.md @@ -595,6 +595,18 @@ Phases 30 and 31 closed with seven follow-ups open, and five of them are quiet f _Full spec-driven breakdown in [`docs/specs/PHASE-32-SPEC.md`](docs/specs/PHASE-32-SPEC.md). Deliberately out of scope: a test framework, splitting `src/index.ts` and `src/evaluate.ts`, rewriting "Phase N" comments in `src/`, cross-instance autofix, and an indicator bar on contained tabs._ +### Phase 33 — Viewer redesign, ported + +Phase 31 rebuilt the viewer as canvases and left the code alone. A design pass on 2026-11-24 redrew those seven screens (gallery, detail with its menu, comment and delete states, archive and its empty state), each clean in both themes, and they are committed under `.framesmith/viewer-redesign/`. This phase ports them into the viewer: neutral chrome that follows the system's light or dark setting, real thumbnails scored against the evaluator's bar, an inspector that leads with what holds a design back, and live updates that cover thumbnails, scores and comments, not only the preview. + +- [ ] Slice A — foundation: `src/viewer/` modules, tokens copied from the design system and pinned by a test, fonts served from the cache, one sidebar, tabs, menu and dialog used everywhere +- [ ] Slice B — gallery: thumbnail cards with a score chip against the bar, search and type filter kept in the URL, a live status, and refresh on every edit +- [ ] Slice C — detail shell: toolbar with state tabs, a More menu (JSON, copy ID, archive, delete), a delete dialog, and preview tools (zoom, fit, preview theme, safe area) +- [ ] Slice D — inspector and comments: the Quality tab sorted lowest first with a reason line, Design system and Feedback restyled, the Import placeholder removed, the comment popover, and panels that refresh live +- [ ] Slice E — archive, docs and acceptance: the archive tree with a preview panel, README and screenshots, and each screen beside its design + +_Full spec-driven breakdown in [`docs/specs/PHASE-33-SPEC.md`](docs/specs/PHASE-33-SPEC.md). Deliberately out of scope: a bundler or framework, a theme toggle, static thumbnails, a mirror marker, the Import tab's content, and the CORS policy on mutating routes (its own change)._ + ### Continuous integration (infrastructure) Nothing runs on a pull request today: no workflow, no branch protection, no checks. That held because a single disciplined maintainer ran things by hand, but it has already failed silently — the repository has 102 test files and no `test` script to run them as a suite, and two tests were found failing at the v2.0.0 tag itself. The missing runner is the root cause; a pipeline that is red on its first run only teaches you to ignore the red X. Running the suite together for the first time turned up three failing tests, two of them red at the v2.0.0 tag itself; all three are fixed. diff --git a/docs/specs/PHASE-33-SPEC.md b/docs/specs/PHASE-33-SPEC.md new file mode 100644 index 0000000..7016137 --- /dev/null +++ b/docs/specs/PHASE-33-SPEC.md @@ -0,0 +1,165 @@ +# Phase 33: Viewer redesign, ported + +> Spec-driven breakdown, borrowing spec-kit's flow: **Specify → Clarify → Plan → Tasks → Analyze**. +> This is a planning artifact, not code. File and symbol references verified against `src/` at commit a039d8d on 2026-11-24. +> Sources: (1) the design pass of 2026-11-24: seven desktop-app canvases in the repo's `.framesmith/viewer-redesign/` project, committed with this spec, each 100/100 in fast and detailed `canvas_evaluate` with a full `canvas_stress` run CLEAN, in both themes; their renders are in `docs/viewer-redesign/`. (2) An inventory of `src/viewer.ts`, its routes, and every test and doc that touches the viewer, the same day. + +--- + +## 1. SPECIFY + +### Problem + +Phase 31 rebuilt the viewer as canvases to prove the desktop-app rules, and left the code port out of scope (PHASE-31-SPEC, "No code port of the viewer"). Those canvases proved the gates, not the look: empty grey thumbnails, the accent on every title and link, a bare list of category numbers, and a filled Delete button as the loudest thing on the detail page. The 2026-11-24 design pass replaced them with seven screens that keep the gates and fix the look. The viewer itself is unchanged since Phase 30 and has problems of its own: + +1. **It looks like neither design.** `src/viewer.ts` (1,943 lines) renders three pages as template strings with one dark-only theme (`THEME_CSS`, `viewer.ts:306-343`, no `prefers-color-scheme`). Scores are coloured green, amber or red at 80 and 60 (`scoreColor`, `viewer.ts:933`), a scale unrelated to the bar the evaluator holds designs to (more than 95). +2. **"Live" is only half true.** The project page polls `/api/canvases` every 3 seconds and reloads only when the canvas count changes (`viewer.ts:687-697`), so an edited design keeps its old thumbnail. The detail page refreshes its preview on change (`viewer.ts:1509-1529`) but never the Quality, Design system or Feedback panes, so a comment the agent resolved stays open until a manual reload. +3. **Parts of it cannot be reached by keyboard or touch.** Inspector tabs are ``s (`viewer.ts:1117`), and the archive's Restore and Delete appear on hover only (`.card-actions`, opacity 0 until hover). +4. **Small defects.** The archive card shows `lastModified` as its archived date (`viewer.ts:719`); archiving sets both to the same time (`scene-graph.ts:343-344`), so the date goes wrong only after a later edit, but `archivedAt` is the field that means it; the project page inlines `projectId` into a script unescaped (`viewer.ts:693`); the Import tab has been a disabled "Coming in Phase 19 Slice C" placeholder for fourteen phases (`viewer.ts:1120`); README says `/` is the gallery (it redirects to the default project, `viewer.ts:258`) and that pages poll every 2 seconds (the project page polls every 3). + +### Goals + +- **The viewer matches the approved design** on every designed screen, in light and dark, following the system setting. +- **Live means live**: thumbnails, scores, inspector panes and comments update without a manual reload. +- **Every control is a real control**: tabs, menus, dialogs and row actions work by keyboard and touch. +- **The design stays the source of truth**: the viewer's tokens are the design system's tokens, and a test fails when they drift. + +### User stories + +- **US1**: As a reviewer, the gallery shows each canvas as a real thumbnail with its score on the corner, quiet when the canvas is at the bar and amber when it is below, and I can search by name and filter by Web, Mobile or Desktop app. +- **US2**: As a reviewer, a canvas's detail page shows the score, a one-line reason, the categories lowest first and the issues grouped, and "Show 4 nodes" outlines those nodes in the preview. +- **US3**: As a reviewer, when my agent resolves a comment or edits the canvas, the Feedback tab, the scores and the preview update while I watch. +- **US4**: As a reviewer, archiving and deleting live in a More menu, and deleting asks in a dialog that says it cannot be undone. +- **US5**: As a reviewer, the archive lists archived canvases by project, shows a preview of the one I select, and restores it to its project in one click. +- **US6**: As a reviewer on a light-mode OS, the viewer is light; on a dark-mode OS, dark. + +### The design + +The seven screens, all `desktop-app` canvases at 1440×900 in project "Viewer redesign" (`.framesmith/viewer-redesign/`), with renders at `docs/viewer-redesign/--{light,dark}.png`: + +| # | Screen | Canvas | Built from | +|---|--------|--------|------------| +| 1 | Gallery (project page) | `dri4igoofJ` | `browser-app` | +| 2 | Canvas detail | `rbSmuMnACt` | `editor-inspector-app` | +| 3 | Detail, More menu open | `QBgXKFXMse` | variant `menu-open` | +| 4 | Detail, comment popover open | `4_nFnJDh6v` | variant `comment-open` | +| 5 | Detail, delete dialog | `qRWWv0R6i5` | variant `confirm-delete` | +| 6 | Archive | `0LhfROW1xb` | `split-workbench-app` | +| 7 | Archive, empty | `uiyI3Yp09q` | variant `empty` | + +Its design system is the project's: seed `#B45309`, personality `technical`, 14px pivot, with the neutral ramp and surfaces set by hand to near-zero chroma so the chrome never tints the designs it frames. Amber marks only the current place, links and the one primary action per pane. + +### Functional requirements + +| ID | Requirement | Acceptance | +|----|-------------|-----------| +| **FR-A1** | **Modules.** `src/viewer.ts` becomes `src/viewer/`: `server.ts` (`startViewer` and the routes, behaviour unchanged except where an FR says so), `tokens.ts`, `styles.ts` (the shared CSS), `components.ts` (sidebar, buttons, tabs, menu, dialog, toast-free status line), `pages/project.ts`, `pages/detail.ts`, `pages/archive.ts`, and `client/*.ts` (each page's browser script as an exported string). Template literals stay; no bundler, framework or new dependency. `src/viewer.ts` remains as a re-export so `viewer-standalone.ts`, `index.ts` and the tests keep their imports. A page's browser script is an exported function that takes the page's data and returns the script string. Every value inlined into a script goes through `scriptJson` (`viewer.ts:1098`), fixing the raw `projectId` at `viewer.ts:693`. | `src/viewer.ts` holds only re-exports. `git grep -n '\${projectId}' src/viewer` is empty. Every route answers as before (a unit test requests each route of §3's table and checks status and content type). | +| **FR-A2** | **Tokens from the design.** `tokens.ts` holds the viewer's light and dark tokens: the semantic colours (`bg-primary`, `bg-surface`, `bg-elevated`, `text-primary`, `text-secondary`, `border`, `border-strong`, `accent`, `accent-tint`, `neutral-tint`, `warning`, `warning-tint`, `danger`, `danger-tint`, `success`, `focus-ring`, `chart-1`…`chart-5`), the radius, spacing and type roles, and the elevation shadows, copied from the "Viewer redesign" project's design system. `styles.ts` emits them as CSS custom properties on `:root` for light and inside `@media (prefers-color-scheme: dark)` for dark. No colour literal appears in `src/viewer/` outside `tokens.ts`: the dialog scrim is `color-mix(in srgb, var(--text-primary) 40%, transparent)`, and the preview iframe's background is `transparent` (the canvas paints its own). | `test/unit/test-viewer-tokens.ts` imports `../env.js` first, loads `.framesmith/workspace.json` through `loadRepoWorkspace` (`workspaces.ts:73`; in memory only, it writes nothing), finds the project named "Viewer redesign" (`3tm2S1pJhP`), reads it with `getProjectDesignSystem` (`workspaces.ts:335`), and asserts every token in `tokens.ts` equals it: colours and dark colours by value, radius, spacing and type by value, and each elevation level by converting its `{x, y, blur, spread, color}` list to the `box-shadow` string `tokens.ts` holds. The same test reads every `src/viewer/**/*.ts` except `tokens.ts`, strips comments and `&#NNN;` entities, and fails on a hex colour (`#` then 3 to 8 hex digits not followed by a word character or a hyphen, so `#add-btn` is not one), `rgb(`, `rgba(`, `hsl(` or `hsla(`. | +| **FR-A3** | **Fonts from the cache.** The viewer serves the design system's families (Inter, Space Grotesk) from the font cache (`~/.framesmith/fonts/`, `src/fonts.ts`) through a new route `GET /assets/fonts/`, with `Cache-Control: max-age=31536000, immutable`, and the shared CSS declares `@font-face` for them. A family that is not cached and cannot be fetched falls back to the `system-ui` stack with no error on the page. | Offline with an empty font cache, every page renders with the fallback stack and no console error. With the cache warm, the browser test reads `document.fonts.check('14px Inter')` as true. | +| **FR-A4** | **Shared components.** The sidebar (wordmark; for each workspace its label and one `nav-item`-styled link per project with its identity dot and canvas count, or "No projects yet" as today, `viewer.ts:431-460`; Archive pinned to the bottom with its count; the current place marked by the accent bar and `aria-current="page"`) replaces `renderSidebar` (`viewer.ts:431`) on the project and archive pages. Tabs are `