@1agh/maude 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/{plugins/design/dev-server → apps/studio}/ai-banner.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/annotations-context-toolbar.tsx +286 -6
- package/{plugins/design/dev-server → apps/studio}/annotations-layer.tsx +1209 -122
- package/{plugins/design/dev-server → apps/studio}/api.ts +486 -32
- package/{plugins/design/dev-server → apps/studio}/artboard-activity-overlay.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/artboard-marquee.tsx +1 -1
- package/apps/studio/bin/_motion-sample-playwright.mjs +129 -0
- package/{plugins/design/dev-server → apps/studio}/bin/canvas-edit.sh +1 -1
- package/{plugins/design/dev-server → apps/studio}/bin/draw-proof.sh +37 -2
- package/{plugins/design/dev-server → apps/studio}/bin/preflight.sh +1 -1
- package/apps/studio/bin/read-annotations.mjs +438 -0
- package/apps/studio/bin/read-annotations.sh +11 -0
- package/{plugins/design/dev-server → apps/studio}/bin/runtime-health.sh +1 -1
- package/{plugins/design/dev-server → apps/studio}/bin/scenario-report.mjs +1 -1
- package/{plugins/design/dev-server → apps/studio}/bin/screenshot.sh +62 -2
- package/apps/studio/bin/server-up.sh +234 -0
- package/apps/studio/bin/to-lottie-verify.html +68 -0
- package/apps/studio/bin/to-lottie.sh +128 -0
- package/{plugins/design/dev-server → apps/studio}/bin/visual-sanity.sh +19 -3
- package/{plugins/design/dev-server → apps/studio}/build.ts +5 -3
- package/{plugins/design/dev-server → apps/studio}/canvas-arrowheads.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/canvas-comment-mount.tsx +2 -2
- package/apps/studio/canvas-create.ts +104 -0
- package/{plugins/design/dev-server → apps/studio}/canvas-cursors.ts +47 -13
- package/{plugins/design/dev-server → apps/studio}/canvas-icons.tsx +60 -1
- package/{plugins/design/dev-server → apps/studio}/canvas-lib-inline.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/canvas-lib-resolver.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/canvas-lib.tsx +41 -33
- package/{plugins/design/dev-server → apps/studio}/canvas-shell.tsx +57 -42
- package/{plugins/design/dev-server → apps/studio}/client/app.jsx +1713 -530
- package/apps/studio/client/canvas-url.js +81 -0
- package/{plugins/design/dev-server → apps/studio}/client/comments-overlay.css +41 -27
- package/{plugins/design/dev-server → apps/studio}/client/index.html +2 -1
- package/apps/studio/client/styles/1-tokens-maude.css +296 -0
- package/apps/studio/client/styles/3-shell-maude.css +459 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles/3-shell.css +129 -0
- package/apps/studio/client/styles/4-components-maude.css +74 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles/4-components.css +357 -34
- package/apps/studio/client/styles/5-maude-overrides.css +123 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles/_index.css +9 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles.css +1 -1
- package/apps/studio/client/tour/overlay.jsx +191 -0
- package/apps/studio/client/tour/usage-tour.js +35 -0
- package/apps/studio/client/whats-new-seen.js +52 -0
- package/apps/studio/client/whats-new.jsx +250 -0
- package/{plugins/design/dev-server → apps/studio}/collab/index.ts +4 -4
- package/{plugins/design/dev-server → apps/studio}/collab/persistence.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/commands/annotation-strokes-command.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/commands/equal-spacing-command.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/commands/move-artboards-command.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/comments-overlay.tsx +25 -6
- package/{plugins/design/dev-server → apps/studio}/context-menu.tsx +2 -2
- package/{plugins/design/dev-server → apps/studio}/contextual-toolbar.tsx +4 -7
- package/{plugins/design/dev-server → apps/studio}/cursors-overlay.tsx +1 -1
- package/apps/studio/dist/client.bundle.js +22825 -0
- package/apps/studio/dist/comment-mount.js +1960 -0
- package/apps/studio/dist/runtime/lib0_decoding.js +1 -0
- package/apps/studio/dist/runtime/lib0_encoding.js +1 -0
- package/apps/studio/dist/runtime/motion.js +4 -0
- package/apps/studio/dist/runtime/motion_react.js +12 -0
- package/apps/studio/dist/runtime/pixi-js.js +3397 -0
- package/apps/studio/dist/runtime/react-dom.js +1 -0
- package/apps/studio/dist/runtime/react-dom_client.js +9 -0
- package/apps/studio/dist/runtime/react.js +1 -0
- package/apps/studio/dist/runtime/react_jsx-dev-runtime.js +1 -0
- package/apps/studio/dist/runtime/react_jsx-runtime.js +1 -0
- package/apps/studio/dist/runtime/y-protocols_awareness.js +1 -0
- package/apps/studio/dist/runtime/y-protocols_sync.js +1 -0
- package/apps/studio/dist/runtime/yjs.js +5 -0
- package/apps/studio/dist/styles.css +5695 -0
- package/{plugins/design/dev-server → apps/studio}/dom-selection.ts +75 -4
- package/apps/studio/draw/animate.ts +333 -0
- package/{plugins/design/dev-server → apps/studio}/draw/brush.ts +4 -4
- package/{plugins/design/dev-server → apps/studio}/draw/composition.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/draw/geometry.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/draw/index.ts +9 -6
- package/{plugins/design/dev-server → apps/studio}/draw/layout.ts +2 -2
- package/apps/studio/draw/morph.ts +204 -0
- package/{plugins/design/dev-server → apps/studio}/draw/optimize.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/draw/palette.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/draw/primitives.ts +1 -1
- package/apps/studio/draw/serialize-animate.ts +324 -0
- package/{plugins/design/dev-server → apps/studio}/draw/serialize.ts +9 -3
- package/apps/studio/draw/test/animate.test.ts +172 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/layout.test.ts +1 -1
- package/apps/studio/draw/test/morph.test.ts +107 -0
- package/apps/studio/draw/test/serialize-animate.test.ts +142 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/serialize.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/equal-spacing-detector.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/equal-spacing-handles.tsx +7 -29
- package/{plugins/design/dev-server → apps/studio}/examples/perf-100-artboards.tsx +1 -2
- package/{plugins/design/dev-server → apps/studio}/export-dialog.tsx +14 -2
- package/{plugins/design/dev-server → apps/studio}/exporters/index.ts +2 -2
- package/{plugins/design/dev-server → apps/studio}/http.ts +103 -2
- package/{plugins/design/dev-server → apps/studio}/input-router.tsx +8 -1
- package/{plugins/design/dev-server → apps/studio}/inspect.ts +20 -3
- package/{plugins/design/dev-server → apps/studio}/marquee-overlay.tsx +6 -3
- package/{plugins/design/dev-server → apps/studio}/participants-chrome.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/paths.ts +15 -11
- package/{plugins/design/dev-server → apps/studio}/server.ts +19 -1
- package/{plugins/design/dev-server → apps/studio}/sync/index.ts +6 -6
- package/{plugins/design/dev-server → apps/studio}/sync/materialize.ts +2 -2
- package/{plugins/design/dev-server → apps/studio}/test/ai-activity.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/annotations-api.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/annotations-layer.test.ts +69 -6
- package/{plugins/design/dev-server → apps/studio}/test/annotations-roundtrip.test.ts +98 -1
- package/apps/studio/test/annotations-text-format.test.ts +396 -0
- package/apps/studio/test/asset-api.test.ts +149 -0
- package/{plugins/design/dev-server → apps/studio}/test/boot-self-heal.test.ts +1 -1
- package/apps/studio/test/canvas-create-api.test.ts +361 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-cursors.test.ts +3 -1
- package/{plugins/design/dev-server → apps/studio}/test/canvas-edit.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/canvas-hmr-runtime.test.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/canvas-lib-inline.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/canvas-lib-resolver.test.ts +2 -3
- package/apps/studio/test/canvas-media-drop.test.ts +158 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-meta-api.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/canvas-origin-gate.test.ts +18 -3
- package/apps/studio/test/canvas-url.test.ts +99 -0
- package/{plugins/design/dev-server → apps/studio}/test/collab-annotations-bridge.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/collab-bridge.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/collab-room.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/collab-stress.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/comments-api.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/compile-entry.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/exporters/canva.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/exporters/history.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/exporters/pw-launch.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/exporters/scope.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/exporters/zip.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/git-lifecycle.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/handoff-static-frames.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/hmr-broadcast.test.ts +1 -1
- package/apps/studio/test/index-data-canvas-ds.test.ts +97 -0
- package/apps/studio/test/motion-sample.test.ts +35 -0
- package/{plugins/design/dev-server → apps/studio}/test/perf-harness.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/phase-3.6-smoke.test.ts +3 -1
- package/apps/studio/test/read-annotations.test.ts +409 -0
- package/{plugins/design/dev-server → apps/studio}/test/runtime-bundle.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/sanitize-annotation-svg.test.ts +108 -2
- package/{plugins/design/dev-server → apps/studio}/test/shared-doc-convergence.test.ts +2 -2
- package/{plugins/design/dev-server → apps/studio}/test/shared-doc-migrate.test.ts +2 -3
- package/{plugins/design/dev-server → apps/studio}/test/shared-doc-projection.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/snap-distance-pill.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/sync-agent.test.ts +2 -3
- package/{plugins/design/dev-server → apps/studio}/test/sync-atomic-write.test.ts +2 -3
- package/{plugins/design/dev-server → apps/studio}/test/sync-connection-state.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/sync-echo-guard.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/sync-fs-mirror.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/sync-hardening.test.ts +4 -5
- package/{plugins/design/dev-server → apps/studio}/test/sync-hubs-config.test.ts +1 -2
- package/{plugins/design/dev-server → apps/studio}/test/sync-runtime.test.ts +3 -8
- package/{plugins/design/dev-server → apps/studio}/test/sync-status.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/sync-untrusted.test.ts +1 -2
- package/apps/studio/test/tour-overlay.test.tsx +56 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-agent-presence.test.tsx +4 -1
- package/{plugins/design/dev-server → apps/studio}/test/use-annotation-resize.test.ts +43 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-snap-guides.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/use-tool-mode.test.tsx +4 -1
- package/apps/studio/test/whats-new.test.ts +101 -0
- package/apps/studio/text-imports.d.ts +9 -0
- package/{plugins/design/dev-server → apps/studio}/tool-palette.tsx +4 -69
- package/{plugins/design/dev-server → apps/studio}/undo-hud.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/undo-stack.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/use-agent-presence.tsx +2 -2
- package/{plugins/design/dev-server → apps/studio}/use-annotation-resize.tsx +41 -12
- package/{plugins/design/dev-server → apps/studio}/use-annotation-selection.tsx +3 -7
- package/{plugins/design/dev-server → apps/studio}/use-annotations-visibility.tsx +2 -2
- package/{plugins/design/dev-server → apps/studio}/use-artboard-drag.tsx +2 -2
- package/{plugins/design/dev-server → apps/studio}/use-canvas-activity.tsx +2 -2
- package/apps/studio/use-canvas-media-drop.tsx +343 -0
- package/{plugins/design/dev-server → apps/studio}/use-collab.tsx +4 -5
- package/{plugins/design/dev-server → apps/studio}/use-cursor-modifiers.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/use-keyboard-discipline.tsx +5 -2
- package/{plugins/design/dev-server → apps/studio}/use-selection-set.tsx +10 -2
- package/{plugins/design/dev-server → apps/studio}/use-snap-guides.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/use-tool-mode.tsx +4 -2
- package/{plugins/design/dev-server → apps/studio}/use-undo-stack.tsx +5 -6
- package/apps/studio/whats-new.json +139 -0
- package/apps/studio/whats-new.schema.json +70 -0
- package/apps/studio/whats-new.ts +87 -0
- package/cli/bin/maude.mjs +10 -0
- package/cli/commands/design.mjs +84 -10
- package/cli/commands/design.test.mjs +133 -1
- package/cli/commands/help.mjs +8 -2
- package/cli/commands/hub.mjs +3 -3
- package/cli/commands/hub.test.mjs +1 -1
- package/cli/commands/scenario-report.mjs +2 -9
- package/cli/lib/cache.mjs +1 -1
- package/cli/lib/config-lint.mjs +1 -1
- package/cli/lib/copy-tree.mjs +1 -1
- package/cli/lib/design-link.mjs +1 -1
- package/cli/lib/flow-design-integration.test.mjs +2 -2
- package/cli/lib/gitignore-block.mjs +1 -0
- package/cli/lib/gitignore-block.test.mjs +2 -2
- package/cli/lib/plugin-cli-reachability.test.mjs +8 -7
- package/cli/lib/preflight.mjs +1 -1
- package/cli/lib/stack-detect.mjs +1 -1
- package/package.json +16 -16
- package/plugins/design/templates/_shell.html +3 -3
- package/plugins/design/templates/brief-board.tsx.template +61 -0
- package/plugins/design/templates/canvas.tsx.template +1 -1
- package/plugins/design/templates/design-system-inspiration/SUB-AGENT-PROMPTS.md +18 -3
- package/plugins/design/templates/design-system-inspiration/core/config.json.tpl +1 -1
- package/plugins/design/templates/design-system-inspiration/core/preview/_motion-readme.md.tpl +1 -1
- package/plugins/flow/.claude-plugin/config.schema.json +16 -0
- package/plugins/design/dev-server/bin/server-up.sh +0 -135
- package/plugins/design/dev-server/dist/client.bundle.js +0 -20692
- package/plugins/design/dev-server/dist/comment-mount.js +0 -1924
- package/plugins/design/dev-server/dist/runtime/lib0_decoding.js +0 -620
- package/plugins/design/dev-server/dist/runtime/lib0_encoding.js +0 -604
- package/plugins/design/dev-server/dist/runtime/motion.js +0 -4944
- package/plugins/design/dev-server/dist/runtime/motion_react.js +0 -10056
- package/plugins/design/dev-server/dist/runtime/pixi-js.js +0 -53104
- package/plugins/design/dev-server/dist/runtime/react-dom.js +0 -231
- package/plugins/design/dev-server/dist/runtime/react-dom_client.js +0 -10357
- package/plugins/design/dev-server/dist/runtime/react.js +0 -535
- package/plugins/design/dev-server/dist/runtime/react_jsx-dev-runtime.js +0 -60
- package/plugins/design/dev-server/dist/runtime/react_jsx-runtime.js +0 -85
- package/plugins/design/dev-server/dist/runtime/y-protocols_awareness.js +0 -376
- package/plugins/design/dev-server/dist/runtime/y-protocols_sync.js +0 -100
- package/plugins/design/dev-server/dist/runtime/yjs.js +0 -6687
- package/plugins/design/dev-server/dist/styles.css +0 -2710
- package/{plugins/design/dev-server → apps/studio}/activity.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_enumerate-artboards-playwright.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_html-playwright.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_pdf-playwright.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_png-playwright.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_pptx-playwright.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_pw-launch.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_screenshot-playwright.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_svg-optimize.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/_svg-playwright.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/asset-sweep.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/bootstrap-check.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/check-runtime-bundles.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/draw-build.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/handoff.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/prep.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/slug.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/smoke.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/bin/svg-optimize.sh +0 -0
- package/{plugins/design/dev-server → apps/studio}/boot-self-heal.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/canvas-build.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/canvas-edit.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/canvas-header.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/canvas-meta.schema.json +0 -0
- package/{plugins/design/dev-server → apps/studio}/canvas-pipeline.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/client/hmr.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/client/iframe-lazy.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles/0-reset.css +0 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles/1-tokens.css +0 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles/2-layout.css +0 -0
- package/{plugins/design/dev-server → apps/studio}/client/styles/5-utilities.css +0 -0
- package/{plugins/design/dev-server → apps/studio}/collab/ai-activity.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/collab/awareness-bridge.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/collab/git-lifecycle.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/collab/protocol.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/collab/registry.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/collab/room.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/config.schema.json +0 -0
- package/{plugins/design/dev-server → apps/studio}/context.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/dist/runtime/.min-sizes.json +0 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/brush.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/composition.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/geometry.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/draw/test/gradient.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/optimize.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/palette.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/draw/test/primitives.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/examples/README.md +0 -0
- package/{plugins/design/dev-server → apps/studio}/exporters/_browser-bundles.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/exporters/canva-handoff-prompt.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/exporters/canva.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/exporters/html.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/exporters/pdf.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/exporters/png.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/exporters/pptx.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/exporters/scope.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/exporters/svg.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/exporters/zip.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/fs-watch.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/handoff.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/history.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/hmr-broadcast.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/locator.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/mem.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/runtime-bundle.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/server.mjs +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/agent.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/sync/atomic-write.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/codec.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/connection-state.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/echo-guard.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/fs-mirror.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/hubs-config.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/migrate-seed.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/sync/origins.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/projection.ts +3 -3
- package/{plugins/design/dev-server → apps/studio}/sync/status.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/sync/untrusted.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/_helpers.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/active-state.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/activity.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/annotation-strokes-command.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/annotations-draw-modifiers.test.ts +2 -2
- package/{plugins/design/dev-server → apps/studio}/test/artboard-activity-overlay.test.tsx +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/binary-smoke.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/bundle-smoke.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-build.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-header.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/canvas-lib-motion.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-pipeline.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-route.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/collab-awareness-bridge.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/collab-loopback.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/collab-protocol.test.ts +2 -2
- package/{plugins/design/dev-server → apps/studio}/test/collab-reseed-guard.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/comment-mount.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/context-resolve-tokens.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/csp-canvas-shell.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/equal-spacing-detector.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/exporters/endpoint.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/exporters/html.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/exporters/pdf.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/exporters/png.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/exporters/pptx-deck.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/exporters/pptx.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/exporters/svg.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/fixtures/phase-20-annotations.svg +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/fixtures/phase-21-annotations.svg +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/fs-watch.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/handoff.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/history-rollback.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/hmr-classify.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/input-router.test.ts +2 -2
- package/{plugins/design/dev-server → apps/studio}/test/locator.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/marquee-overlay.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/move-artboards-command.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/participants-chrome.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/paths.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/runtime-bundle-error-mapping.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/server-lifecycle.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/shared-doc-foundation.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/sync-codec.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/sync-meta-codec.test.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/system-endpoint.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/tool-palette.test.tsx +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/undo-stack.test.ts +2 -2
- package/{plugins/design/dev-server → apps/studio}/test/use-annotation-selection.test.tsx +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-artboard-drag.test.ts +3 -3
- package/{plugins/design/dev-server → apps/studio}/test/use-canvas-activity.test.tsx +2 -2
- package/{plugins/design/dev-server → apps/studio}/test/use-collab.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-cursor-modifiers.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-keyboard-discipline.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-selection-set.test.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/test/use-undo-stack.test.tsx +2 -2
- /package/{plugins/design/dev-server → apps/studio}/test/ws-handshake.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/tsconfig.json +0 -0
- /package/{plugins/design/dev-server → apps/studio}/ws.ts +0 -0
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
/* @layer shell — maude DS studio chrome (Plan B), ported from `.design/ui/Studio.css`.
|
|
2
|
+
*
|
|
3
|
+
* The `.st-*` classes are lifted near-verbatim from the approved Studio.css
|
|
4
|
+
* mockup (every value a maude `var(--*)` token). They live inside the
|
|
5
|
+
* `.maude[data-theme]` root the App renders, so the maude ladder
|
|
6
|
+
* (1-tokens-maude.css) drives them. Grown slice-by-slice:
|
|
7
|
+
* Task 3 — shell scaffold · menubar · dropdowns · status bar · atoms.
|
|
8
|
+
* Task 4 — sidebar · tree · rail. (appended later)
|
|
9
|
+
* Task 5 — stage · world chrome. (appended later)
|
|
10
|
+
* Task 6 — right panel · palette · toast. (appended later)
|
|
11
|
+
*
|
|
12
|
+
* Per CLAUDE.md "Lift, don't reinvent"; DDR-014 @layer order preserved.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
@layer shell {
|
|
16
|
+
|
|
17
|
+
/* ─── Shell scaffold ───────────────────────────────────────────────────────
|
|
18
|
+
* The real app fills the viewport (NOT an artboard body), so this overrides the
|
|
19
|
+
* mockup's rounded-border `.st-shell` frame: full-bleed flex column, the
|
|
20
|
+
* existing `.app` grid flexes as the middle body row between the bars. */
|
|
21
|
+
.maude { position: relative; }
|
|
22
|
+
.st-shell {
|
|
23
|
+
width: 100vw; height: 100vh; overflow: hidden;
|
|
24
|
+
display: flex; flex-direction: column;
|
|
25
|
+
background: var(--bg-0); color: var(--fg-0);
|
|
26
|
+
font-family: var(--font-body); font-size: var(--type-base); line-height: var(--lh-base);
|
|
27
|
+
-webkit-font-smoothing: antialiased;
|
|
28
|
+
}
|
|
29
|
+
/* The legacy grid body (sidebar | main | rsidebar) now flexes between the
|
|
30
|
+
* full-width menubar + status bar instead of owning the whole viewport. */
|
|
31
|
+
.st-shell > .app { width: 100%; height: auto; flex: 1 1 auto; min-height: 0; }
|
|
32
|
+
.st-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
|
|
33
|
+
|
|
34
|
+
/* ─── Menubar (top) ───────────────────────────────────────────────────────── */
|
|
35
|
+
.st-menubar {
|
|
36
|
+
height: 40px; flex: 0 0 40px;
|
|
37
|
+
display: flex; align-items: center; gap: var(--space-3);
|
|
38
|
+
padding: 0 var(--space-3) 0 var(--space-4);
|
|
39
|
+
background: var(--bg-1); border-bottom: 1px solid var(--border-default);
|
|
40
|
+
position: relative; z-index: 40;
|
|
41
|
+
}
|
|
42
|
+
.st-brand { display: inline-flex; align-items: center; gap: var(--space-3); padding-right: var(--space-3); }
|
|
43
|
+
.st-brand-mark {
|
|
44
|
+
width: 18px; height: 18px;
|
|
45
|
+
/* message-bubble corner — bottom-right squared, the other three rounded */
|
|
46
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 var(--radius-sm);
|
|
47
|
+
background: var(--accent); display: grid; place-items: center; color: var(--accent-fg);
|
|
48
|
+
box-shadow: 0 0 0 3px var(--accent-tint);
|
|
49
|
+
}
|
|
50
|
+
/* the spark star fills the bubble (32-grid path, identical to the logo specimen) */
|
|
51
|
+
.st-brand-mark svg { width: 100%; height: 100%; display: block; }
|
|
52
|
+
.st-brand-name { font-family: var(--font-display); font-weight: 600; font-size: var(--type-md); letter-spacing: var(--tracking-tight); }
|
|
53
|
+
.st-menus { display: flex; align-items: center; gap: var(--space-1); }
|
|
54
|
+
.st-menu {
|
|
55
|
+
appearance: none; border: 0; background: transparent; cursor: pointer;
|
|
56
|
+
font-family: var(--font-body); font-size: var(--type-sm); color: var(--fg-1);
|
|
57
|
+
padding: var(--space-2) var(--space-3); border-radius: var(--radius-xs);
|
|
58
|
+
transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out);
|
|
59
|
+
}
|
|
60
|
+
.st-menu:hover { background: var(--bg-3); color: var(--fg-0); }
|
|
61
|
+
.st-menu[aria-expanded="true"] { background: var(--bg-3); color: var(--fg-0); }
|
|
62
|
+
.st-menu[aria-disabled="true"] { color: var(--fg-3); cursor: default; }
|
|
63
|
+
.st-menu:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
64
|
+
|
|
65
|
+
.st-mb-right { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }
|
|
66
|
+
.st-stamp {
|
|
67
|
+
font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide);
|
|
68
|
+
text-transform: uppercase; color: var(--accent);
|
|
69
|
+
padding: var(--space-1) var(--space-3); border: 1px solid var(--accent-muted);
|
|
70
|
+
border-radius: var(--radius-pill); background: var(--accent-tint);
|
|
71
|
+
}
|
|
72
|
+
.st-mb-file { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
|
|
73
|
+
.st-mb-file b { color: var(--fg-0); font-weight: 600; }
|
|
74
|
+
.st-mb-sep { width: 1px; height: 16px; background: var(--border-default); }
|
|
75
|
+
.st-mb-count { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-1); }
|
|
76
|
+
.st-mb-proj { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--status-success); }
|
|
77
|
+
.st-whatsnew {
|
|
78
|
+
position: relative; appearance: none; border: 0; background: transparent; cursor: pointer;
|
|
79
|
+
width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--radius-sm);
|
|
80
|
+
color: var(--fg-1);
|
|
81
|
+
}
|
|
82
|
+
.st-whatsnew:hover { background: var(--bg-3); color: var(--fg-0); }
|
|
83
|
+
.st-whatsnew[data-unseen="true"] { color: var(--accent); }
|
|
84
|
+
.st-whatsnew[data-unseen="true"]::after {
|
|
85
|
+
content: ""; position: absolute; top: 3px; right: 3px; width: 7px; height: 7px;
|
|
86
|
+
border-radius: var(--radius-pill); background: var(--accent); border: 1.5px solid var(--bg-1);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* ─── Menubar dropdown ────────────────────────────────────────────────────── */
|
|
90
|
+
.st-dropdown {
|
|
91
|
+
position: absolute; top: 38px; min-width: 230px;
|
|
92
|
+
background: var(--bg-2); border: 1px solid var(--border-default);
|
|
93
|
+
border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
|
|
94
|
+
padding: var(--space-2); z-index: 60;
|
|
95
|
+
animation: st-pop var(--dur-panel) var(--ease-out);
|
|
96
|
+
transform-origin: top left;
|
|
97
|
+
}
|
|
98
|
+
@keyframes st-pop { from { opacity: 0; transform: translateY(-4px) scale(0.985); } to { opacity: 1; transform: none; } }
|
|
99
|
+
.st-dd-hd {
|
|
100
|
+
font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide);
|
|
101
|
+
text-transform: uppercase; color: var(--fg-3); padding: var(--space-2) var(--space-3) var(--space-1);
|
|
102
|
+
}
|
|
103
|
+
.st-dd-item {
|
|
104
|
+
display: flex; align-items: center; gap: var(--space-3); justify-content: space-between;
|
|
105
|
+
padding: var(--space-2) var(--space-3); border-radius: var(--radius-xs);
|
|
106
|
+
font-size: var(--type-sm); color: var(--fg-1); cursor: pointer;
|
|
107
|
+
appearance: none; border: 0; background: transparent; width: 100%; text-align: left;
|
|
108
|
+
font-family: var(--font-body);
|
|
109
|
+
}
|
|
110
|
+
.st-dd-item:hover, .st-dd-item.is-hover { background: var(--bg-4); color: var(--fg-0); }
|
|
111
|
+
.st-dd-item[aria-disabled="true"] { color: var(--fg-3); cursor: default; }
|
|
112
|
+
.st-dd-item[aria-disabled="true"]:hover { background: transparent; color: var(--fg-3); }
|
|
113
|
+
.st-dd-item .st-dd-lead { display: inline-flex; align-items: center; gap: var(--space-3); }
|
|
114
|
+
.st-dd-check { width: 14px; color: var(--accent); display: inline-flex; }
|
|
115
|
+
.st-dd-sep { height: 1px; background: var(--border-subtle); margin: var(--space-2) var(--space-2); }
|
|
116
|
+
.st-dd-phase { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
|
|
117
|
+
|
|
118
|
+
/* ─── Icon button (shared chrome control) ─────────────────────────────────── */
|
|
119
|
+
.st-iconbtn {
|
|
120
|
+
appearance: none; border: 0; background: transparent; cursor: pointer;
|
|
121
|
+
width: 26px; height: 26px; display: grid; place-items: center;
|
|
122
|
+
border-radius: var(--radius-sm); color: var(--fg-2);
|
|
123
|
+
transition: background var(--dur-soft) var(--ease-out), color var(--dur-soft) var(--ease-out);
|
|
124
|
+
}
|
|
125
|
+
.st-iconbtn:hover { background: var(--bg-3); color: var(--fg-0); }
|
|
126
|
+
.st-iconbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
127
|
+
|
|
128
|
+
/* ─── Presence avatars (menubar) ──────────────────────────────────────────── */
|
|
129
|
+
.st-presence { display: flex; align-items: center; }
|
|
130
|
+
.st-avatar { width: 22px; height: 22px; border-radius: var(--radius-pill); display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; font-weight: 600; }
|
|
131
|
+
.st-presence .st-avatar { margin-left: -6px; border: 1.5px solid var(--bg-1); }
|
|
132
|
+
.st-presence .st-avatar:first-child { margin-left: 0; }
|
|
133
|
+
|
|
134
|
+
/* ─── Status bar (bottom — context) ───────────────────────────────────────── */
|
|
135
|
+
.st-statusbar {
|
|
136
|
+
height: 30px; flex: 0 0 30px; display: flex; align-items: center; gap: var(--space-4);
|
|
137
|
+
padding: 0 var(--space-4); background: var(--bg-2);
|
|
138
|
+
border-top: 1px solid var(--border-strong);
|
|
139
|
+
box-shadow: inset 0 1px 0 color-mix(in oklab, var(--fg-0) 6%, transparent);
|
|
140
|
+
font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-1); z-index: 30;
|
|
141
|
+
}
|
|
142
|
+
.st-sb-slot { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; }
|
|
143
|
+
.st-sb-slot .lbl { color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: 10px; flex: none; }
|
|
144
|
+
.st-sb-slot .val { color: var(--fg-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
145
|
+
.st-sb-slot + .st-sb-slot { padding-left: var(--space-4); border-left: 1px solid var(--border-subtle); }
|
|
146
|
+
.st-sb-active { font-weight: 500; }
|
|
147
|
+
.st-sb-active .lead { width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); flex: none; }
|
|
148
|
+
.st-sb-sel .val { color: var(--accent); }
|
|
149
|
+
.st-sb-sel-clear { appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; font-size: 13px; line-height: 1; padding: 0 2px; }
|
|
150
|
+
.st-sb-sel-clear:hover { color: var(--fg-0); }
|
|
151
|
+
.st-sb-spacer { flex: 1; }
|
|
152
|
+
.st-sb-theme { display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; appearance: none; color: var(--fg-0); font-family: var(--font-mono); font-size: var(--type-xs); padding: 3px var(--space-3); border-radius: var(--radius-sm); border: 1px solid var(--border-default); background: var(--bg-3); }
|
|
153
|
+
.st-sb-theme:hover { background: var(--bg-4); border-color: var(--border-strong); }
|
|
154
|
+
.st-sb-theme:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
155
|
+
.st-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); display: inline-block; flex: none; }
|
|
156
|
+
.st-live-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--presence-offline); flex: none; }
|
|
157
|
+
.st-live-dot.is-connected { background: var(--presence-online); }
|
|
158
|
+
.st-sb-sync-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--status-warn); flex: none; }
|
|
159
|
+
.st-sb-sync-dot.is-online { background: var(--presence-online); }
|
|
160
|
+
|
|
161
|
+
/* ═══ Task 4 — body row · sidebar · tree · rail ═══════════════════════════════ */
|
|
162
|
+
|
|
163
|
+
/* The body flex row replaces the legacy `.app` grid: rail | sidebar | main | rpanel. */
|
|
164
|
+
.st-body { flex: 1; display: flex; min-height: 0; min-width: 0; }
|
|
165
|
+
.st-body > .main { flex: 1; min-width: 0; }
|
|
166
|
+
.st-body > .st-rpanel { flex: 0 0 304px; }
|
|
167
|
+
|
|
168
|
+
/* ─── Left sidebar — file tree ────────────────────────────────────────────── */
|
|
169
|
+
.st-sidebar {
|
|
170
|
+
width: 252px; flex: 0 0 252px;
|
|
171
|
+
background: var(--bg-1); border-right: 1px solid var(--border-default);
|
|
172
|
+
display: flex; flex-direction: column; min-height: 0;
|
|
173
|
+
transition: width var(--dur-panel) var(--ease-in-out), flex-basis var(--dur-panel) var(--ease-in-out);
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
}
|
|
176
|
+
.st-sidebar.is-collapsed { width: 0; flex-basis: 0; border-right-color: transparent; }
|
|
177
|
+
.st-sb-hd {
|
|
178
|
+
display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
|
|
179
|
+
padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-subtle);
|
|
180
|
+
}
|
|
181
|
+
.st-sb-title { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); }
|
|
182
|
+
.st-sb-hd-actions { display: flex; align-items: center; gap: var(--space-2); }
|
|
183
|
+
.st-live { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); white-space: nowrap; }
|
|
184
|
+
|
|
185
|
+
.st-search { padding: var(--space-3) var(--space-3) var(--space-2); }
|
|
186
|
+
.st-search-box {
|
|
187
|
+
display: flex; align-items: center; gap: var(--space-2);
|
|
188
|
+
background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
|
|
189
|
+
padding: var(--space-2) var(--space-3); color: var(--fg-3);
|
|
190
|
+
}
|
|
191
|
+
.st-search-box svg { flex: none; }
|
|
192
|
+
.st-search-box input {
|
|
193
|
+
appearance: none; border: 0; background: transparent; color: var(--fg-0);
|
|
194
|
+
font-family: var(--font-body); font-size: var(--type-sm); width: 100%; min-width: 0;
|
|
195
|
+
}
|
|
196
|
+
.st-search-box input::placeholder { color: var(--fg-3); }
|
|
197
|
+
.st-search-box .kbd { margin-left: auto; }
|
|
198
|
+
.st-search-clear { appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; margin-left: auto; font-size: 14px; line-height: 1; padding: 0 2px; }
|
|
199
|
+
.st-search-clear:hover { color: var(--fg-0); }
|
|
200
|
+
|
|
201
|
+
/* New-board composer (Phase 22) — opens inline below the header on the + click. */
|
|
202
|
+
.st-newboard { display: flex; gap: var(--space-2); padding: var(--space-2) var(--space-3); }
|
|
203
|
+
.st-newboard input {
|
|
204
|
+
flex: 1; min-width: 0; appearance: none; background: var(--bg-3); border: 1px solid var(--accent-muted);
|
|
205
|
+
border-radius: var(--radius-sm); color: var(--fg-0); font-family: var(--font-body); font-size: var(--type-sm);
|
|
206
|
+
padding: var(--space-2) var(--space-3);
|
|
207
|
+
}
|
|
208
|
+
.st-newboard input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
209
|
+
.st-newboard-go {
|
|
210
|
+
appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-fg);
|
|
211
|
+
border-radius: var(--radius-sm); cursor: pointer; padding: 0 var(--space-3); font-family: var(--font-mono); font-size: var(--type-sm);
|
|
212
|
+
}
|
|
213
|
+
.st-newboard-go:disabled { opacity: 0.5; cursor: not-allowed; }
|
|
214
|
+
.st-newboard-err { padding: var(--space-1) var(--space-4) var(--space-2); color: var(--status-error); font-size: var(--type-xs); }
|
|
215
|
+
|
|
216
|
+
.st-tree { flex: 1; overflow-y: auto; padding: var(--space-2) var(--space-2) var(--space-4); }
|
|
217
|
+
.st-tree-section { margin-bottom: var(--space-2); }
|
|
218
|
+
.st-tree-sec-hd {
|
|
219
|
+
display: flex; align-items: center; gap: var(--space-2); width: 100%;
|
|
220
|
+
padding: var(--space-2) var(--space-3); cursor: pointer; color: var(--fg-2);
|
|
221
|
+
appearance: none; border: 0; background: transparent; text-align: left;
|
|
222
|
+
}
|
|
223
|
+
.st-tree-sec-hd:hover { color: var(--fg-0); }
|
|
224
|
+
.st-tree-sec-hd .st-sec-name { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
|
|
225
|
+
.st-tree-sec-hd .st-pill {
|
|
226
|
+
margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--fg-3);
|
|
227
|
+
padding: 0 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
|
|
228
|
+
}
|
|
229
|
+
.st-tree-empty { padding: var(--space-2) var(--space-5); color: var(--fg-3); font-size: var(--type-xs); font-style: italic; }
|
|
230
|
+
|
|
231
|
+
.st-row {
|
|
232
|
+
display: flex; align-items: center; gap: var(--space-2); width: 100%;
|
|
233
|
+
padding: var(--space-2) var(--space-3); border-radius: var(--radius-xs);
|
|
234
|
+
font-size: var(--type-sm); color: var(--fg-1); cursor: default; position: relative;
|
|
235
|
+
appearance: none; border: 0; background: transparent; text-align: left; font-family: var(--font-body);
|
|
236
|
+
}
|
|
237
|
+
.st-row:hover { background: var(--bg-2); }
|
|
238
|
+
.st-row.is-sel { background: var(--accent-tint); color: var(--fg-0); box-shadow: inset 2px 0 0 var(--accent); }
|
|
239
|
+
.st-row.is-muted { color: var(--fg-3); }
|
|
240
|
+
.st-row[aria-disabled="true"] { cursor: default; }
|
|
241
|
+
.st-row-glyph { width: 14px; display: inline-flex; justify-content: center; color: var(--fg-3); flex: 0 0 14px; }
|
|
242
|
+
.st-row.is-sel .st-row-glyph { color: var(--accent); }
|
|
243
|
+
.st-row-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
|
|
244
|
+
.st-row-badge {
|
|
245
|
+
margin-left: auto; font-family: var(--font-mono); font-size: 10px; line-height: 1;
|
|
246
|
+
min-width: 16px; height: 16px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center;
|
|
247
|
+
border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-fg); flex: none;
|
|
248
|
+
}
|
|
249
|
+
/* delete affordance — sibling of the row button (can't nest buttons). */
|
|
250
|
+
.st-row-wrap { position: relative; display: flex; align-items: center; }
|
|
251
|
+
.st-row-wrap .st-row { flex: 1; }
|
|
252
|
+
.st-row-del {
|
|
253
|
+
position: absolute; right: var(--space-2); top: 50%; transform: translateY(-50%);
|
|
254
|
+
appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer;
|
|
255
|
+
width: 22px; height: 22px; display: grid; place-items: center; border-radius: var(--radius-xs);
|
|
256
|
+
opacity: 0; transition: opacity var(--dur-soft) var(--ease-out);
|
|
257
|
+
}
|
|
258
|
+
/* Kept in the a11y tree (opacity, not display:none) so keyboard users reach it. */
|
|
259
|
+
.st-row-wrap:hover .st-row-del, .st-row-del:focus-visible { opacity: 1; }
|
|
260
|
+
/* Shift the open-comments badge left of the delete button on hover so they
|
|
261
|
+
don't overlap (the delete is absolute at the row's right edge). */
|
|
262
|
+
.st-row-wrap:hover .st-row-badge,
|
|
263
|
+
.st-row-wrap:focus-within .st-row-badge { margin-right: 24px; }
|
|
264
|
+
.st-row-del:hover { color: var(--status-error); background: color-mix(in oklab, var(--status-error) 14%, transparent); }
|
|
265
|
+
|
|
266
|
+
/* DS-folder row — chevron toggles disclosure, name opens the system view. */
|
|
267
|
+
.st-ds-folder { display: flex; align-items: center; gap: 0; padding: 0; }
|
|
268
|
+
.st-ds-folder.is-sel { background: var(--accent-tint); border-radius: var(--radius-xs); box-shadow: inset 2px 0 0 var(--accent); }
|
|
269
|
+
.st-ds-chev { appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--fg-3); display: inline-flex; padding: var(--space-2) 0 var(--space-2) var(--space-2); }
|
|
270
|
+
.st-ds-open { appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--fg-1); flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--space-2); text-align: left; padding: var(--space-2) var(--space-3) var(--space-2) 0; font-family: var(--font-body); font-size: var(--type-sm); }
|
|
271
|
+
.st-ds-folder.is-sel .st-ds-open { color: var(--fg-0); }
|
|
272
|
+
|
|
273
|
+
/* collapsed rail — thin strip with a re-open affordance */
|
|
274
|
+
.st-rail {
|
|
275
|
+
width: 0; flex: 0 0 0; overflow: hidden; background: var(--bg-1);
|
|
276
|
+
border-right: 1px solid transparent;
|
|
277
|
+
transition: width var(--dur-panel) var(--ease-in-out), flex-basis var(--dur-panel) var(--ease-in-out), border-color var(--dur-panel) var(--ease-in-out);
|
|
278
|
+
}
|
|
279
|
+
.st-rail.is-shown { width: 44px; flex-basis: 44px; border-right-color: var(--border-default); }
|
|
280
|
+
.st-rail-inner { width: 44px; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; }
|
|
281
|
+
|
|
282
|
+
/* ═══ Task 5 — stage (iframe viewport frame) + empty state ════════════════════
|
|
283
|
+
* The canvas iframe (canvas-shell.tsx) renders its OWN dotted world + floating
|
|
284
|
+
* toolbar + minimap + zoom HUD (DDR-054, reskinned to maude in Task 7). The
|
|
285
|
+
* shell stage only frames it; the maude dot-grid shows in the empty/system
|
|
286
|
+
* state behind the iframe. NO shell-side floating chrome — that would duplicate
|
|
287
|
+
* the in-iframe controls. Keeps the legacy `.viewport > iframe` fill rules. */
|
|
288
|
+
.st-stage {
|
|
289
|
+
background: var(--canvas-bg);
|
|
290
|
+
background-image: radial-gradient(var(--canvas-dot) 1.1px, transparent 1.2px);
|
|
291
|
+
background-size: var(--canvas-grid) var(--canvas-grid);
|
|
292
|
+
}
|
|
293
|
+
.st-empty {
|
|
294
|
+
position: absolute; inset: 0; display: flex; flex-direction: column;
|
|
295
|
+
align-items: center; justify-content: center; gap: var(--space-4);
|
|
296
|
+
text-align: center; padding: var(--space-8); pointer-events: none;
|
|
297
|
+
}
|
|
298
|
+
.st-empty code, .st-empty .kbd, .st-empty strong { pointer-events: auto; }
|
|
299
|
+
.st-empty-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
|
|
300
|
+
.st-empty-wm { font-family: var(--font-display); font-size: var(--type-2xl); font-weight: 600; letter-spacing: var(--tracking-tight); color: var(--fg-0); }
|
|
301
|
+
.st-empty-sub { font-size: var(--type-xs); color: var(--fg-3); letter-spacing: var(--tracking-wide); }
|
|
302
|
+
.st-empty-title { font-family: var(--font-display); font-size: var(--type-xl); font-weight: 600; color: var(--fg-1); }
|
|
303
|
+
.st-empty-body { max-width: 540px; font-size: var(--type-sm); line-height: 1.7; color: var(--fg-2); }
|
|
304
|
+
.st-empty-body code { font-family: var(--font-mono); font-size: var(--type-xs); background: var(--bg-2); color: var(--accent); padding: 1px 5px; border-radius: var(--radius-xs); }
|
|
305
|
+
.st-empty-body strong { color: var(--fg-0); font-weight: 600; }
|
|
306
|
+
|
|
307
|
+
/* ═══ Task 6 — right panel (Inspector / Comments) + palette + toast ═══════════ */
|
|
308
|
+
.st-rpanel {
|
|
309
|
+
background: var(--bg-1); border-left: 1px solid var(--border-default);
|
|
310
|
+
display: flex; flex-direction: column; min-height: 0;
|
|
311
|
+
}
|
|
312
|
+
.st-rp-tabs { display: flex; gap: var(--space-1); padding: var(--space-2) var(--space-3) 0; border-bottom: 1px solid var(--border-subtle); flex: none; }
|
|
313
|
+
.st-rp-tabs--filters { border-bottom: none; padding-bottom: var(--space-3); }
|
|
314
|
+
.st-rp-tab {
|
|
315
|
+
appearance: none; border: 0; background: transparent; cursor: pointer;
|
|
316
|
+
font-size: var(--type-sm); color: var(--fg-2); font-family: var(--font-body);
|
|
317
|
+
padding: var(--space-3) var(--space-3); border-bottom: 2px solid transparent;
|
|
318
|
+
display: inline-flex; align-items: center; gap: var(--space-2);
|
|
319
|
+
}
|
|
320
|
+
.st-rp-tab.is-active { color: var(--fg-0); border-bottom-color: var(--accent); }
|
|
321
|
+
.st-rp-tab .st-rp-tabct { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
|
|
322
|
+
.st-rp-body { flex: 1; overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); }
|
|
323
|
+
.st-rp-hd { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-2); }
|
|
324
|
+
.st-rp-empty { color: var(--fg-2); font-size: var(--type-sm); line-height: 1.6; display: flex; flex-direction: column; gap: var(--space-4); }
|
|
325
|
+
|
|
326
|
+
/* comment pin (inline badge in the panel) */
|
|
327
|
+
.st-pin--inline {
|
|
328
|
+
position: static; width: 18px; height: 18px; border-radius: 4px;
|
|
329
|
+
background: var(--accent); color: var(--accent-fg); display: grid; place-items: center;
|
|
330
|
+
font-family: var(--font-mono); font-size: var(--type-xs); font-weight: 600; flex: none;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* comments panel */
|
|
334
|
+
.st-cm-filters { display: flex; gap: var(--space-1); flex-wrap: wrap; }
|
|
335
|
+
.st-cm-filter { appearance: none; border: 1px solid var(--border-default); background: var(--bg-2); cursor: pointer; font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); }
|
|
336
|
+
.st-cm-filter.is-active { background: var(--accent-tint); color: var(--accent); border-color: var(--accent-muted); }
|
|
337
|
+
.st-cm-group-hd { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: var(--type-xs); color: var(--fg-2); padding: var(--space-1) 0; appearance: none; border: 0; background: transparent; cursor: pointer; font-family: var(--font-body); }
|
|
338
|
+
.st-cm-group-hd:hover { color: var(--fg-0); }
|
|
339
|
+
.st-comment { border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: var(--space-3); background: var(--bg-2); display: flex; flex-direction: column; gap: var(--space-2); cursor: pointer; }
|
|
340
|
+
.st-comment:hover { border-color: var(--border-default); }
|
|
341
|
+
.st-comment.is-active { border-color: var(--accent-muted); box-shadow: 0 0 0 2px var(--accent-tint); }
|
|
342
|
+
.st-comment.is-resolved { opacity: 0.6; }
|
|
343
|
+
.st-comment-hd { display: flex; align-items: center; gap: var(--space-2); }
|
|
344
|
+
.st-comment-time { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
|
|
345
|
+
.st-comment-txt { font-size: var(--type-sm); color: var(--fg-1); line-height: 1.5; word-break: break-word; }
|
|
346
|
+
.st-comment-foot { display: flex; align-items: center; gap: var(--space-2); }
|
|
347
|
+
.st-comment-sel { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); background: var(--bg-3); padding: 1px 5px; border-radius: var(--radius-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
|
|
348
|
+
.st-mini-act { margin-left: auto; display: flex; gap: var(--space-1); flex: none; }
|
|
349
|
+
.st-mini-act .st-iconbtn { width: 22px; height: 22px; }
|
|
350
|
+
|
|
351
|
+
/* inspector panel rows */
|
|
352
|
+
.st-rp-tabct { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }
|
|
353
|
+
.st-insp-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: var(--space-3); }
|
|
354
|
+
.st-insp-label { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
|
|
355
|
+
.st-insp-val { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-0); word-break: break-word; }
|
|
356
|
+
.st-insp-empty { color: var(--fg-3); font-size: var(--type-sm); line-height: 1.6; }
|
|
357
|
+
.st-insp-chips { display: flex; flex-wrap: wrap; gap: var(--space-1); }
|
|
358
|
+
.st-insp-chip { font-family: var(--font-mono); font-size: 10px; color: var(--fg-1); background: var(--bg-3); border: 1px solid var(--border-subtle); padding: 1px 5px; border-radius: var(--radius-xs); }
|
|
359
|
+
|
|
360
|
+
/* ─── Floating status banners (sync / git-lifecycle) ──────────────────────── */
|
|
361
|
+
.st-banner {
|
|
362
|
+
position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 9100;
|
|
363
|
+
display: flex; align-items: center; gap: var(--space-3);
|
|
364
|
+
padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
|
|
365
|
+
border: 1px solid var(--border-default); background: var(--bg-2); color: var(--fg-0);
|
|
366
|
+
box-shadow: var(--shadow-md); font-family: var(--font-body); font-size: var(--type-sm);
|
|
367
|
+
font-weight: 500; max-width: 80vw; line-height: 1.3;
|
|
368
|
+
animation: st-slide-down var(--dur-route) var(--ease-out);
|
|
369
|
+
}
|
|
370
|
+
@keyframes st-slide-down { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
|
|
371
|
+
.st-banner--warn { border-color: var(--status-warn); background: color-mix(in oklab, var(--status-warn) 14%, var(--bg-1)); }
|
|
372
|
+
.st-banner--error { border-color: var(--status-error); background: color-mix(in oklab, var(--status-error) 14%, var(--bg-1)); }
|
|
373
|
+
.st-banner--success { border-color: var(--status-success); background: color-mix(in oklab, var(--status-success) 14%, var(--bg-1)); }
|
|
374
|
+
.st-banner--info { border-color: var(--status-info); background: color-mix(in oklab, var(--status-info) 14%, var(--bg-1)); }
|
|
375
|
+
.st-banner-dot { width: 7px; height: 7px; border-radius: var(--radius-pill); flex: none; }
|
|
376
|
+
.st-banner--warn .st-banner-dot { background: var(--status-warn); }
|
|
377
|
+
.st-banner--error .st-banner-dot { background: var(--status-error); }
|
|
378
|
+
.st-banner--success .st-banner-dot { background: var(--status-success); }
|
|
379
|
+
.st-banner--info .st-banner-dot { background: var(--status-info); }
|
|
380
|
+
.st-banner .btn--sm { margin-left: var(--space-2); }
|
|
381
|
+
.st-banner-close { appearance: none; border: 0; background: transparent; color: var(--fg-2); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; margin-left: var(--space-1); border-radius: var(--radius-xs); flex: none; }
|
|
382
|
+
.st-banner-close:hover { background: color-mix(in oklab, var(--fg-0) 12%, transparent); color: var(--fg-0); }
|
|
383
|
+
|
|
384
|
+
/* ─── Command palette (⌘K) ───────────────────────────────────────────────── */
|
|
385
|
+
.st-scrim { position: fixed; inset: 0; background: color-mix(in oklab, var(--bg-0) 62%, transparent); z-index: 9000; display: grid; place-items: start center; padding-top: 12vh; }
|
|
386
|
+
.st-palette {
|
|
387
|
+
width: 560px; max-width: 92vw; background: var(--bg-2); border: 1px solid var(--border-strong);
|
|
388
|
+
border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
|
|
389
|
+
animation: st-pop var(--dur-route) var(--ease-out);
|
|
390
|
+
}
|
|
391
|
+
.st-pal-search { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-subtle); color: var(--fg-3); }
|
|
392
|
+
.st-pal-search input { flex: 1; min-width: 0; appearance: none; border: 0; background: transparent; color: var(--fg-0); font-size: var(--type-lg); font-family: var(--font-body); }
|
|
393
|
+
.st-pal-search input::placeholder { color: var(--fg-3); }
|
|
394
|
+
.st-pal-search .kbd { margin-left: auto; }
|
|
395
|
+
.st-pal-list { max-height: 340px; overflow-y: auto; padding: var(--space-2); }
|
|
396
|
+
.st-pal-group { font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--fg-3); padding: var(--space-3) var(--space-3) var(--space-1); }
|
|
397
|
+
.st-pal-empty { padding: var(--space-5); text-align: center; color: var(--fg-3); font-size: var(--type-sm); }
|
|
398
|
+
.st-pal-item { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-3); border-radius: var(--radius-sm); color: var(--fg-1); appearance: none; border: 0; background: transparent; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: var(--type-sm); }
|
|
399
|
+
.st-pal-item.is-active { background: var(--accent-tint); color: var(--fg-0); }
|
|
400
|
+
.st-pal-label { flex: 1; }
|
|
401
|
+
.st-pal-item .st-pal-kbd { margin-left: auto; flex: none; }
|
|
402
|
+
.st-pal-icon { width: 26px; height: 26px; border-radius: var(--radius-sm); background: var(--bg-4); display: grid; place-items: center; color: var(--fg-1); flex: none; }
|
|
403
|
+
.st-pal-item.is-active .st-pal-icon { background: var(--accent); color: var(--accent-fg); }
|
|
404
|
+
|
|
405
|
+
/* ─── What's-new toast (Plan C P6) ─────────────────────────────────────────
|
|
406
|
+
* Lifted from Studio.css `.st-toast*`; repositioned fixed bottom-left for the
|
|
407
|
+
* real shell (the mockup floated it inside the stage). Mirrors ai-banner. */
|
|
408
|
+
.st-toast {
|
|
409
|
+
/* bottom raised above the in-canvas zoom pill (`.dc-zoom-tb`, bottom-left). */
|
|
410
|
+
position: fixed; left: 16px; bottom: 84px; width: 320px; z-index: 8000;
|
|
411
|
+
background: var(--bg-2); border: 1px solid var(--border-default); border-left: 3px solid var(--accent);
|
|
412
|
+
border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: var(--space-4);
|
|
413
|
+
display: flex; flex-direction: column; gap: var(--space-2);
|
|
414
|
+
animation: st-toast-in var(--dur-route) var(--ease-out);
|
|
415
|
+
}
|
|
416
|
+
@keyframes st-toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
|
|
417
|
+
@media (prefers-reduced-motion: reduce) { .st-toast { animation-duration: 1ms; } }
|
|
418
|
+
.st-toast-hd { display: flex; align-items: center; gap: var(--space-2); color: var(--accent); font-family: var(--font-mono); font-size: var(--type-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
|
|
419
|
+
.st-toast-title { font-size: var(--type-md); font-weight: 600; color: var(--fg-0); }
|
|
420
|
+
.st-toast-txt { font-size: var(--type-sm); color: var(--fg-1); line-height: 1.5; }
|
|
421
|
+
.st-toast-actions { display: flex; gap: var(--space-2); margin-top: var(--space-1); }
|
|
422
|
+
.st-toast-close { position: absolute; top: var(--space-2); right: var(--space-2); appearance: none; border: 0; background: transparent; color: var(--fg-3); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; border-radius: var(--radius-xs); }
|
|
423
|
+
.st-toast-close:hover { background: var(--bg-3); color: var(--fg-0); }
|
|
424
|
+
|
|
425
|
+
/* ─── Export & handoff dialog (Plan C P9/P10) ──────────────────────────────
|
|
426
|
+
* Lifted from Studio.css `.st-dialog*` / `.st-fmt*`. Rendered inside `.st-scrim`. */
|
|
427
|
+
.st-dialog { width: 540px; max-width: 92vw; background: var(--bg-1); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: st-pop var(--dur-route) var(--ease-out); }
|
|
428
|
+
.st-dialog-hd { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-subtle); }
|
|
429
|
+
.st-dialog-title { font-family: var(--font-display); font-size: var(--type-lg); font-weight: 600; color: var(--fg-0); }
|
|
430
|
+
.st-dialog-bd { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
|
|
431
|
+
.st-fmt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
|
|
432
|
+
.st-fmt { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; padding: var(--space-3) var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--bg-2); cursor: pointer; color: var(--fg-1); appearance: none; text-align: left; }
|
|
433
|
+
.st-fmt:hover { border-color: var(--border-strong); }
|
|
434
|
+
.st-fmt.is-on { border-color: var(--accent); background: var(--accent-tint); color: var(--fg-0); box-shadow: 0 0 0 2px var(--accent-tint); }
|
|
435
|
+
.st-fmt-name { font-family: var(--font-mono); font-size: var(--type-sm); font-weight: 600; }
|
|
436
|
+
.st-fmt-sub { font-size: var(--type-xs); color: var(--fg-2); }
|
|
437
|
+
.st-dialog-row { display: flex; align-items: center; gap: var(--space-3); }
|
|
438
|
+
.st-dialog-lbl { font-family: var(--font-mono); font-size: var(--type-xs); color: var(--fg-2); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
|
|
439
|
+
.st-select { flex: 1; appearance: none; background: var(--bg-2); color: var(--fg-0); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-family: var(--font-body); font-size: var(--type-sm); cursor: pointer; }
|
|
440
|
+
.st-dialog-ft { display: flex; align-items: center; gap: var(--space-3); justify-content: flex-end; padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border-subtle); }
|
|
441
|
+
.st-export-recent { display: flex; flex-direction: column; gap: 2px; max-height: 132px; overflow-y: auto; }
|
|
442
|
+
.st-export-recent-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); font-size: var(--type-xs); color: var(--fg-2); }
|
|
443
|
+
.st-export-recent-row:hover { background: var(--bg-2); }
|
|
444
|
+
.st-export-recent-row .st-mono { color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
|
|
445
|
+
|
|
446
|
+
/* ─── Inspector panel fields / layers / css (Plan C P11–P13) ───────────────
|
|
447
|
+
* Lifted from Studio.css; complements the already-present `.st-insp-row`,
|
|
448
|
+
* `.st-insp-label`, `.st-rp-*`. */
|
|
449
|
+
.st-insp-fields { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
|
|
450
|
+
.st-field { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--type-xs); color: var(--fg-0); background: var(--bg-3); border: 1px solid var(--border-default); border-radius: var(--radius-xs); padding: var(--space-1) var(--space-2); width: 58px; text-align: right; }
|
|
451
|
+
.st-field-lead { display: inline-flex; align-items: center; gap: var(--space-1); }
|
|
452
|
+
.st-field-lead .k { font-family: var(--font-mono); font-size: 9px; color: var(--fg-3); }
|
|
453
|
+
.st-layer { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2); border-radius: var(--radius-xs); font-size: var(--type-sm); color: var(--fg-1); font-family: var(--font-mono); }
|
|
454
|
+
.st-layer:hover { background: var(--bg-2); }
|
|
455
|
+
.st-layer.is-sel { background: var(--accent-tint); color: var(--fg-0); }
|
|
456
|
+
.st-css { font-family: var(--font-mono); font-size: var(--type-xs); background: var(--bg-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: var(--space-3); line-height: 1.7; color: var(--fg-1); }
|
|
457
|
+
.st-css .comment { color: var(--fg-3); }
|
|
458
|
+
|
|
459
|
+
}
|
|
@@ -46,6 +46,96 @@
|
|
|
46
46
|
}
|
|
47
47
|
.tree-panel-hd .live-dot.connected { background: var(--u-status-success); }
|
|
48
48
|
|
|
49
|
+
/* Phase 22 — "+ board" composer in the tree header (create a blank brief board). */
|
|
50
|
+
.tree-panel-hd .tp-hd-left {
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
align-items: baseline;
|
|
53
|
+
gap: 8px;
|
|
54
|
+
}
|
|
55
|
+
.tp-new-board {
|
|
56
|
+
appearance: none;
|
|
57
|
+
border: 1px solid var(--u-border);
|
|
58
|
+
background: var(--u-bg-0);
|
|
59
|
+
color: var(--u-fg-1);
|
|
60
|
+
font-family: var(--u-font-mono);
|
|
61
|
+
font-size: 9px;
|
|
62
|
+
font-weight: 700;
|
|
63
|
+
letter-spacing: var(--tracking-sku);
|
|
64
|
+
text-transform: uppercase;
|
|
65
|
+
padding: 2px 6px;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
line-height: 1.4;
|
|
68
|
+
transition:
|
|
69
|
+
color var(--dur-flip) var(--ease-out),
|
|
70
|
+
border-color var(--dur-flip) var(--ease-out);
|
|
71
|
+
}
|
|
72
|
+
.tp-new-board:hover,
|
|
73
|
+
.tp-new-board[aria-expanded='true'] {
|
|
74
|
+
color: var(--u-fg-0);
|
|
75
|
+
border-color: var(--u-border-strong);
|
|
76
|
+
}
|
|
77
|
+
.tp-new-board[aria-expanded='true'] { background: var(--u-bg-1); }
|
|
78
|
+
.tp-new-board:focus-visible {
|
|
79
|
+
outline: none;
|
|
80
|
+
border-color: var(--u-border-strong);
|
|
81
|
+
box-shadow: var(--shadow-focus);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.tp-new-board-row {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
gap: 6px;
|
|
88
|
+
padding: 5px var(--u-s-3);
|
|
89
|
+
background: var(--u-bg-1);
|
|
90
|
+
border-bottom: 1px solid var(--u-border-subtle);
|
|
91
|
+
flex: none;
|
|
92
|
+
}
|
|
93
|
+
.tp-new-board-input {
|
|
94
|
+
flex: 1;
|
|
95
|
+
min-width: 0;
|
|
96
|
+
background: var(--u-bg-0);
|
|
97
|
+
border: 1px solid var(--u-border);
|
|
98
|
+
color: var(--u-fg-0);
|
|
99
|
+
font-size: 11px;
|
|
100
|
+
font-family: var(--u-font-mono);
|
|
101
|
+
outline: none;
|
|
102
|
+
padding: 3px 8px;
|
|
103
|
+
transition: border-color var(--dur-flip) var(--ease-out);
|
|
104
|
+
}
|
|
105
|
+
.tp-new-board-input::placeholder { color: var(--u-fg-3); }
|
|
106
|
+
.tp-new-board-input:focus-visible {
|
|
107
|
+
border-color: var(--u-border-strong);
|
|
108
|
+
box-shadow: var(--shadow-focus);
|
|
109
|
+
}
|
|
110
|
+
.tp-new-board-go {
|
|
111
|
+
appearance: none;
|
|
112
|
+
flex: none;
|
|
113
|
+
border: 1px solid var(--u-border);
|
|
114
|
+
background: var(--u-bg-0);
|
|
115
|
+
color: var(--u-fg-1);
|
|
116
|
+
font-family: var(--u-font-mono);
|
|
117
|
+
font-size: 12px;
|
|
118
|
+
line-height: 1;
|
|
119
|
+
padding: 4px 8px;
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
transition:
|
|
122
|
+
color var(--dur-flip) var(--ease-out),
|
|
123
|
+
border-color var(--dur-flip) var(--ease-out);
|
|
124
|
+
}
|
|
125
|
+
.tp-new-board-go:hover:not(:disabled) {
|
|
126
|
+
color: var(--u-fg-0);
|
|
127
|
+
border-color: var(--u-border-strong);
|
|
128
|
+
}
|
|
129
|
+
.tp-new-board-go:disabled { opacity: 0.45; cursor: default; }
|
|
130
|
+
.tp-new-board-err {
|
|
131
|
+
padding: 4px var(--u-s-3) 6px;
|
|
132
|
+
font-size: 10px;
|
|
133
|
+
font-family: var(--u-font-mono);
|
|
134
|
+
color: var(--u-status-error, #e5484d);
|
|
135
|
+
background: var(--u-bg-1);
|
|
136
|
+
border-bottom: 1px solid var(--u-border-subtle);
|
|
137
|
+
}
|
|
138
|
+
|
|
49
139
|
.tree-panel-search {
|
|
50
140
|
padding: 5px var(--u-s-3);
|
|
51
141
|
display: flex;
|
|
@@ -157,6 +247,45 @@
|
|
|
157
247
|
z-index: 1;
|
|
158
248
|
position: relative;
|
|
159
249
|
}
|
|
250
|
+
|
|
251
|
+
/* Phase 22 — per-row delete affordance. The wrapper is relative so the trash
|
|
252
|
+
button sits at the row's right edge; it reveals on hover / focus-within and
|
|
253
|
+
never shifts the row's layout (the row reserves right padding for it). */
|
|
254
|
+
.tp-row-wrap { position: relative; }
|
|
255
|
+
.tp-row-wrap > .tp-row { padding-right: 26px; }
|
|
256
|
+
.tp-del {
|
|
257
|
+
position: absolute;
|
|
258
|
+
right: 4px;
|
|
259
|
+
top: 50%;
|
|
260
|
+
transform: translateY(-50%);
|
|
261
|
+
display: inline-flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
justify-content: center;
|
|
264
|
+
width: 20px;
|
|
265
|
+
height: 20px;
|
|
266
|
+
padding: 0;
|
|
267
|
+
border: 0;
|
|
268
|
+
border-radius: 3px;
|
|
269
|
+
background: transparent;
|
|
270
|
+
color: var(--u-fg-3);
|
|
271
|
+
cursor: pointer;
|
|
272
|
+
opacity: 0;
|
|
273
|
+
transition:
|
|
274
|
+
opacity var(--dur-flip) var(--ease-out),
|
|
275
|
+
color var(--dur-flip) var(--ease-out),
|
|
276
|
+
background var(--dur-flip) var(--ease-out);
|
|
277
|
+
}
|
|
278
|
+
.tp-row-wrap:hover .tp-del,
|
|
279
|
+
.tp-del:focus-visible { opacity: 1; }
|
|
280
|
+
.tp-del:hover { color: var(--u-status-error, #e5484d); background: var(--u-bg-3); }
|
|
281
|
+
.tp-del:focus-visible {
|
|
282
|
+
opacity: 1;
|
|
283
|
+
outline: none;
|
|
284
|
+
box-shadow: var(--shadow-focus);
|
|
285
|
+
}
|
|
286
|
+
@media (prefers-reduced-motion: reduce) {
|
|
287
|
+
.tp-del { transition: none; }
|
|
288
|
+
}
|
|
160
289
|
.tp-row .glyph {
|
|
161
290
|
width: 12px;
|
|
162
291
|
display: inline-block;
|