@1agh/maude 0.28.1 → 0.30.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 +3 -3
- package/{plugins/design/dev-server → apps/studio}/ai-banner.tsx +1 -2
- package/apps/studio/annotations-align.ts +149 -0
- package/apps/studio/annotations-bindings.ts +197 -0
- package/{plugins/design/dev-server → apps/studio}/annotations-context-toolbar.tsx +681 -151
- package/apps/studio/annotations-groups.ts +270 -0
- package/apps/studio/annotations-layer.tsx +4537 -0
- package/apps/studio/annotations-model.ts +2077 -0
- package/apps/studio/annotations-snap.ts +125 -0
- package/{plugins/design/dev-server → apps/studio}/api.ts +616 -70
- 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/_png-playwright.mjs +1 -1
- package/apps/studio/bin/annotate.mjs +732 -0
- package/apps/studio/bin/annotate.sh +17 -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 +573 -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/screenshot.sh +62 -2
- package/{plugins/design/dev-server → apps/studio}/bin/server-up.sh +9 -3
- 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}/build.ts +6 -4
- package/{plugins/design/dev-server → apps/studio}/canvas-arrowheads.ts +79 -10
- package/{plugins/design/dev-server → apps/studio}/canvas-comment-mount.tsx +1 -1
- package/apps/studio/canvas-create.ts +104 -0
- package/{plugins/design/dev-server → apps/studio}/canvas-cursors.ts +48 -12
- package/{plugins/design/dev-server → apps/studio}/canvas-edit.ts +257 -7
- package/{plugins/design/dev-server → apps/studio}/canvas-icons.tsx +165 -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 +31 -12
- package/{plugins/design/dev-server → apps/studio}/canvas-shell.tsx +360 -48
- package/apps/studio/client/app.jsx +6742 -0
- package/apps/studio/client/canvas-url.js +81 -0
- package/{plugins/design/dev-server → apps/studio}/client/comments-overlay.css +41 -27
- package/apps/studio/client/index.html +16 -0
- package/apps/studio/client/styles/1-tokens-maude.css +296 -0
- package/apps/studio/client/styles/3-shell-maude.css +1161 -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 +396 -34
- package/apps/studio/client/styles/5-maude-overrides.css +137 -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 +279 -0
- package/apps/studio/client/tour/usage-tour.js +48 -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}/commands/annotation-strokes-command.ts +2 -2
- 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 +2 -2
- package/{plugins/design/dev-server → apps/studio}/comments-overlay.tsx +32 -11
- package/{plugins/design/dev-server → apps/studio}/context-menu.tsx +5 -4
- package/{plugins/design/dev-server → apps/studio}/contextual-toolbar.tsx +18 -7
- package/{plugins/design/dev-server → apps/studio}/cursors-overlay.tsx +21 -21
- package/apps/studio/dist/client.bundle.js +25545 -0
- package/apps/studio/dist/comment-mount.js +2046 -0
- package/apps/studio/dist/styles.css +8018 -0
- package/apps/studio/dom-selection.ts +342 -0
- package/apps/studio/draw/animate.ts +333 -0
- package/{plugins/design/dev-server → apps/studio}/draw/brush.ts +1 -1
- 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 +4 -1
- package/{plugins/design/dev-server → apps/studio}/draw/layout.ts +1 -1
- 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/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}/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}/export-dialog.tsx +16 -4
- package/{plugins/design/dev-server → apps/studio}/history.ts +20 -3
- package/{plugins/design/dev-server → apps/studio}/http.ts +226 -6
- package/{plugins/design/dev-server → apps/studio}/input-router.tsx +15 -1
- package/{plugins/design/dev-server → apps/studio}/inspect.ts +50 -4
- package/{plugins/design/dev-server → apps/studio}/marquee-overlay.tsx +5 -2
- package/{plugins/design/dev-server → apps/studio}/participants-chrome.tsx +2 -8
- package/{plugins/design/dev-server → apps/studio}/paths.ts +15 -11
- package/{plugins/design/dev-server → apps/studio}/server.ts +23 -2
- package/{plugins/design/dev-server → apps/studio}/sync/agent.ts +231 -57
- package/{plugins/design/dev-server → apps/studio}/sync/codec.ts +45 -0
- package/apps/studio/sync/cold-start.ts +158 -0
- package/{plugins/design/dev-server → apps/studio}/sync/connection-state.ts +58 -2
- package/{plugins/design/dev-server → apps/studio}/sync/index.ts +563 -221
- package/apps/studio/sync/journal.ts +190 -0
- package/apps/studio/sync/migrate-seed.ts +321 -0
- package/{plugins/design/dev-server → apps/studio}/sync/projection.ts +22 -3
- package/{plugins/design/dev-server → apps/studio}/sync/status.ts +15 -4
- package/{plugins/design/dev-server → apps/studio}/test/activity.test.ts +1 -7
- package/apps/studio/test/annotate-write.test.ts +184 -0
- package/apps/studio/test/annotations-align.test.ts +88 -0
- package/apps/studio/test/annotations-bindings.test.ts +124 -0
- package/apps/studio/test/annotations-groups.test.ts +231 -0
- package/{plugins/design/dev-server → apps/studio}/test/annotations-layer.test.ts +63 -0
- package/{plugins/design/dev-server → apps/studio}/test/annotations-roundtrip.test.ts +97 -0
- package/apps/studio/test/annotations-snap.test.ts +79 -0
- package/apps/studio/test/annotations-text-format.test.ts +396 -0
- package/apps/studio/test/asset-api.test.ts +149 -0
- package/apps/studio/test/canvas-create-api.test.ts +361 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-cursors.test.ts +2 -0
- package/apps/studio/test/canvas-edit.test.ts +319 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-lib-resolver.test.ts +1 -1
- package/apps/studio/test/canvas-media-drop.test.ts +158 -0
- package/{plugins/design/dev-server → apps/studio}/test/canvas-origin-gate.test.ts +25 -1
- package/apps/studio/test/canvas-url.test.ts +99 -0
- package/{plugins/design/dev-server → apps/studio}/test/collab-bridge.test.ts +0 -2
- package/{plugins/design/dev-server → apps/studio}/test/collab-room.test.ts +2 -7
- package/{plugins/design/dev-server → apps/studio}/test/csp-canvas-shell.test.ts +5 -0
- package/apps/studio/test/csrf-write-guard.test.ts +52 -0
- package/apps/studio/test/figjam-v3-model.test.ts +342 -0
- package/apps/studio/test/fixtures/figjam-v3-groups-bindings.svg +1 -0
- 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/sanitize-annotation-svg.test.ts +108 -2
- package/{plugins/design/dev-server → apps/studio}/test/shared-doc-convergence.test.ts +1 -1
- package/apps/studio/test/shared-doc-migrate.test.ts +369 -0
- package/apps/studio/test/sync-agent.test.ts +575 -0
- package/{plugins/design/dev-server → apps/studio}/test/sync-codec.test.ts +65 -0
- package/apps/studio/test/sync-cold-start.test.ts +244 -0
- package/{plugins/design/dev-server → apps/studio}/test/sync-connection-state.test.ts +68 -0
- package/{plugins/design/dev-server → apps/studio}/test/sync-hardening.test.ts +0 -8
- package/{plugins/design/dev-server → apps/studio}/test/sync-hubs-config.test.ts +0 -1
- package/apps/studio/test/sync-incident-replay.test.ts +211 -0
- package/apps/studio/test/sync-journal.test.ts +176 -0
- package/{plugins/design/dev-server → apps/studio}/test/sync-runtime.test.ts +360 -5
- package/{plugins/design/dev-server → apps/studio}/test/sync-status.test.ts +66 -0
- package/apps/studio/test/tour-overlay.test.tsx +56 -0
- package/apps/studio/test/use-annotation-resize.test.ts +402 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-artboard-drag.test.ts +0 -1
- package/{plugins/design/dev-server → apps/studio}/test/use-collab.test.ts +0 -0
- package/{plugins/design/dev-server → apps/studio}/test/use-tool-mode.test.tsx +8 -2
- 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 +15 -70
- package/{plugins/design/dev-server → apps/studio}/undo-hud.tsx +1 -2
- package/{plugins/design/dev-server → apps/studio}/undo-stack.ts +1 -1
- package/{plugins/design/dev-server → apps/studio}/use-agent-presence.tsx +5 -3
- package/apps/studio/use-annotation-resize.tsx +912 -0
- package/{plugins/design/dev-server → apps/studio}/use-annotation-selection.tsx +17 -5
- package/{plugins/design/dev-server → apps/studio}/use-annotations-visibility.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/use-artboard-drag.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/use-canvas-activity.tsx +3 -3
- package/apps/studio/use-canvas-media-drop.tsx +343 -0
- package/{plugins/design/dev-server → apps/studio}/use-collab.tsx +21 -16
- 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 +18 -1
- package/{plugins/design/dev-server → apps/studio}/use-snap-guides.tsx +1 -1
- package/{plugins/design/dev-server → apps/studio}/use-tool-mode.tsx +8 -2
- package/{plugins/design/dev-server → apps/studio}/use-undo-stack.tsx +1 -1
- package/apps/studio/whats-new.json +264 -0
- package/apps/studio/whats-new.schema.json +86 -0
- package/apps/studio/whats-new.ts +87 -0
- package/cli/bin/maude.mjs +10 -0
- package/cli/commands/design-link.test.mjs +84 -0
- package/cli/commands/design.mjs +16 -7
- package/cli/commands/design.test.mjs +40 -0
- 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/design-link.mjs +51 -1
- package/cli/lib/flow-design-integration.test.mjs +1 -1
- package/cli/lib/gitignore-block.mjs +1 -0
- package/cli/lib/plugin-cli-reachability.test.mjs +8 -7
- package/cli/lib/preflight.mjs +1 -1
- package/package.json +15 -15
- package/plugins/design/templates/_shell.html +28 -4
- 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/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/annotations-layer.tsx +0 -3402
- package/plugins/design/dev-server/client/app.jsx +0 -2985
- package/plugins/design/dev-server/client/index.html +0 -15
- 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/styles.css +0 -2710
- package/plugins/design/dev-server/dom-selection.ts +0 -156
- package/plugins/design/dev-server/sync/migrate-seed.ts +0 -163
- package/plugins/design/dev-server/test/canvas-edit.test.ts +0 -139
- package/plugins/design/dev-server/test/shared-doc-migrate.test.ts +0 -159
- package/plugins/design/dev-server/test/sync-agent.test.ts +0 -305
- package/plugins/design/dev-server/test/use-annotation-resize.test.ts +0 -200
- package/plugins/design/dev-server/use-annotation-resize.tsx +0 -449
- /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/_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/scenario-report.mjs +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}/bin/visual-sanity.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-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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/collab/git-lifecycle.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/collab/index.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/collab/persistence.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}/dist/runtime/lib0_decoding.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/lib0_encoding.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/motion.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/motion_react.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/pixi-js.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/react-dom.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/react-dom_client.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/react.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/react_jsx-dev-runtime.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/react_jsx-runtime.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/y-protocols_awareness.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/y-protocols_sync.js +0 -0
- /package/{plugins/design/dev-server → apps/studio}/dist/runtime/yjs.js +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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/draw/test/gradient.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/draw/test/layout.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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/draw/test/serialize.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/examples/README.md +0 -0
- /package/{plugins/design/dev-server → apps/studio}/examples/perf-100-artboards.tsx +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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/exporters/index.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/exporters/pdf.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/exporters/png.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/exporters/pptx.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/exporters/scope.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/exporters/svg.ts +0 -0
- /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}/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/atomic-write.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/materialize.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/sync/origins.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/ai-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-api.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/annotations-draw-modifiers.test.ts +0 -0
- /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/boot-self-heal.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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/canvas-hmr-runtime.test.tsx +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/canvas-lib-inline.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/canvas-lib-motion.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/canvas-meta-api.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-annotations-bridge.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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/collab-reseed-guard.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/collab-stress.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/comments-api.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/compile-entry.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/equal-spacing-detector.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/exporters/canva.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/history.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/pw-launch.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/exporters/scope.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/exporters/zip.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/git-lifecycle.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/handoff-static-frames.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/handoff.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/history-rollback.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/hmr-broadcast.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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/locator.test.ts +0 -0
- /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/runtime-bundle.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/shared-doc-projection.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/snap-distance-pill.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/sync-atomic-write.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/sync-echo-guard.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/sync-fs-mirror.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/sync-meta-codec.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/sync-untrusted.test.ts +0 -0
- /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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/use-agent-presence.test.tsx +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/use-annotation-selection.test.tsx +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/use-canvas-activity.test.tsx +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 +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/use-snap-guides.test.ts +0 -0
- /package/{plugins/design/dev-server → apps/studio}/test/use-undo-stack.test.tsx +0 -0
- /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
|
@@ -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;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* @layer components — maude DS shared component anatomy (Plan B).
|
|
2
|
+
*
|
|
3
|
+
* Lifted from `.design/system/maude/preview/_components.css` (.btn / .kbd /
|
|
4
|
+
* .callout + variants) — the shared classes the ported `.st-*` chrome in
|
|
5
|
+
* `Studio.css` composes with. Scoped under `.maude` so they resolve the maude
|
|
6
|
+
* token ladder (1-tokens-maude.css) and never collide with the legacy shell's
|
|
7
|
+
* own chrome during the slice-by-slice rewrite. Per CLAUDE.md "Lift, don't
|
|
8
|
+
* reinvent"; DDR-014 @layer order preserved.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
@layer components {
|
|
12
|
+
|
|
13
|
+
/* ─── Buttons ───────────────────────────────────────────────────────────── */
|
|
14
|
+
.maude .btn {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: var(--space-2);
|
|
18
|
+
font-family: var(--font-body);
|
|
19
|
+
font-size: var(--type-sm);
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
line-height: 1;
|
|
22
|
+
padding: var(--space-3) var(--space-4);
|
|
23
|
+
border: 1px solid var(--border-default);
|
|
24
|
+
border-radius: var(--radius-sm);
|
|
25
|
+
background: var(--bg-2);
|
|
26
|
+
color: var(--fg-0);
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
transition: background var(--dur-soft) var(--ease-out),
|
|
29
|
+
border-color var(--dur-soft) var(--ease-out),
|
|
30
|
+
color var(--dur-soft) var(--ease-out);
|
|
31
|
+
}
|
|
32
|
+
.maude .btn:hover { background: var(--bg-3); border-color: var(--border-strong); }
|
|
33
|
+
.maude .btn:active { background: var(--bg-4); }
|
|
34
|
+
.maude .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
35
|
+
.maude .btn:disabled { color: var(--fg-3); cursor: not-allowed; background: var(--bg-1); }
|
|
36
|
+
|
|
37
|
+
.maude .btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
|
|
38
|
+
.maude .btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
|
|
39
|
+
.maude .btn--primary:active { background: var(--accent-active); }
|
|
40
|
+
|
|
41
|
+
.maude .btn--ghost { background: transparent; border-color: transparent; color: var(--fg-1); }
|
|
42
|
+
.maude .btn--ghost:hover { background: var(--bg-2); color: var(--fg-0); }
|
|
43
|
+
|
|
44
|
+
.maude .btn--danger { background: transparent; border-color: var(--border-default); color: var(--status-error); }
|
|
45
|
+
.maude .btn--danger:hover { background: color-mix(in oklab, var(--status-error) 14%, transparent); border-color: var(--status-error); }
|
|
46
|
+
|
|
47
|
+
.maude .btn--icon { padding: var(--space-3); width: 28px; height: 28px; justify-content: center; }
|
|
48
|
+
.maude .btn--sm { font-size: var(--type-xs); padding: var(--space-2) var(--space-3); }
|
|
49
|
+
|
|
50
|
+
/* ─── Keyboard hint ─────────────────────────────────────────────────────── */
|
|
51
|
+
.maude .kbd {
|
|
52
|
+
font-family: var(--font-mono);
|
|
53
|
+
font-size: var(--type-xs);
|
|
54
|
+
line-height: 1;
|
|
55
|
+
padding: 3px 6px;
|
|
56
|
+
border: 1px solid var(--border-default);
|
|
57
|
+
border-bottom-width: 2px;
|
|
58
|
+
border-radius: var(--radius-xs);
|
|
59
|
+
background: var(--bg-2);
|
|
60
|
+
color: var(--fg-1);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* ─── Callout ───────────────────────────────────────────────────────────── */
|
|
64
|
+
.maude .callout {
|
|
65
|
+
display: flex; gap: var(--space-3); padding: var(--space-4);
|
|
66
|
+
border: 1px solid var(--border-default); border-left-width: 3px;
|
|
67
|
+
border-radius: var(--radius-sm); background: var(--bg-1); color: var(--fg-1);
|
|
68
|
+
}
|
|
69
|
+
.maude .callout--info { border-left-color: var(--status-info); }
|
|
70
|
+
.maude .callout--success { border-left-color: var(--status-success); }
|
|
71
|
+
.maude .callout--warn { border-left-color: var(--status-warn); }
|
|
72
|
+
.maude .callout--error { border-left-color: var(--status-error); }
|
|
73
|
+
|
|
74
|
+
}
|
|
@@ -460,40 +460,10 @@
|
|
|
460
460
|
max-width: 100%;
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
/*
|
|
464
|
-
.
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
padding: 6px var(--u-s-3);
|
|
468
|
-
display: flex;
|
|
469
|
-
flex-direction: column;
|
|
470
|
-
gap: 4px;
|
|
471
|
-
font-size: 12px;
|
|
472
|
-
}
|
|
473
|
-
.cb-row {
|
|
474
|
-
display: flex;
|
|
475
|
-
align-items: center;
|
|
476
|
-
gap: var(--u-s-2);
|
|
477
|
-
flex-wrap: wrap;
|
|
478
|
-
}
|
|
479
|
-
/* Composer — stacked vertically so the textarea has real estate */
|
|
480
|
-
/* Phase 6 — the shell-side composer / focused-row / pin-strip surfaces moved
|
|
481
|
-
* into the canvas iframe (see plugins/design/dev-server/comments-overlay.tsx
|
|
482
|
-
* + .css). Only the residual BottomBar open-count label survives. The legacy
|
|
483
|
-
* `.composer*` / `.cb-pin-chip` / `.cb-row.focused` / `.cb-text` / `.cb-target`
|
|
484
|
-
* / `.cb-pinno` / `.cb-more` rules were removed in the same change. */
|
|
485
|
-
|
|
486
|
-
.cb-label {
|
|
487
|
-
color: var(--u-fg-3);
|
|
488
|
-
font-size: 11px;
|
|
489
|
-
flex: none;
|
|
490
|
-
align-self: center;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.cb-row.strip {
|
|
494
|
-
font-size: 11px;
|
|
495
|
-
color: var(--u-fg-3);
|
|
496
|
-
}
|
|
463
|
+
/* The shell-side comment bar was removed — the iframe overlay
|
|
464
|
+
* (apps/studio/comments-overlay.tsx) owns the composer + pin bubbles + thread
|
|
465
|
+
* popover, and the StatusBar's "comments N open" slot covers the open-count
|
|
466
|
+
* summary, so the standalone `.comment-bar` strip was redundant. */
|
|
497
467
|
|
|
498
468
|
/* ----- Right sidebar — Comments panel (CV-10) ----- */
|
|
499
469
|
.rsidebar {
|
|
@@ -1140,3 +1110,395 @@
|
|
|
1140
1110
|
text-overflow: ellipsis;
|
|
1141
1111
|
white-space: nowrap;
|
|
1142
1112
|
}
|
|
1113
|
+
|
|
1114
|
+
/* ───────── What's New (badge · toast · panel) — feature-in-app-whats-new-tour ───────── */
|
|
1115
|
+
.mdcc-wn-badge {
|
|
1116
|
+
display: inline-flex;
|
|
1117
|
+
align-items: center;
|
|
1118
|
+
gap: 5px;
|
|
1119
|
+
padding: 2px 8px;
|
|
1120
|
+
margin-right: 8px;
|
|
1121
|
+
background: transparent;
|
|
1122
|
+
color: var(--u-fg-2);
|
|
1123
|
+
border: 1px solid var(--u-bg-3);
|
|
1124
|
+
border-radius: var(--radius-md);
|
|
1125
|
+
font: 500 11px/1.2 var(--font-sans, system-ui, sans-serif);
|
|
1126
|
+
letter-spacing: 0.02em;
|
|
1127
|
+
cursor: pointer;
|
|
1128
|
+
}
|
|
1129
|
+
.mdcc-wn-badge:hover {
|
|
1130
|
+
color: var(--u-fg-0);
|
|
1131
|
+
background: var(--u-bg-2);
|
|
1132
|
+
}
|
|
1133
|
+
.mdcc-wn-badge__label {
|
|
1134
|
+
text-transform: uppercase;
|
|
1135
|
+
}
|
|
1136
|
+
.mdcc-wn-badge__dot {
|
|
1137
|
+
display: inline-flex;
|
|
1138
|
+
align-items: center;
|
|
1139
|
+
justify-content: center;
|
|
1140
|
+
min-width: 14px;
|
|
1141
|
+
height: 14px;
|
|
1142
|
+
padding: 0 4px;
|
|
1143
|
+
background: var(--u-accent);
|
|
1144
|
+
color: var(--u-accent-fg);
|
|
1145
|
+
border-radius: 999px;
|
|
1146
|
+
font-size: 9px;
|
|
1147
|
+
font-weight: 700;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.mdcc-wn-toast {
|
|
1151
|
+
position: fixed;
|
|
1152
|
+
left: 16px;
|
|
1153
|
+
bottom: 16px;
|
|
1154
|
+
z-index: 9000;
|
|
1155
|
+
display: flex;
|
|
1156
|
+
align-items: flex-start;
|
|
1157
|
+
gap: 10px;
|
|
1158
|
+
max-width: 360px;
|
|
1159
|
+
padding: 12px 14px;
|
|
1160
|
+
background: var(--u-bg-1);
|
|
1161
|
+
color: var(--u-fg-0);
|
|
1162
|
+
border: 1px solid var(--u-bg-3);
|
|
1163
|
+
border-left: 3px solid var(--u-accent);
|
|
1164
|
+
border-radius: var(--radius-md);
|
|
1165
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
|
|
1166
|
+
font: 400 12px/1.4 var(--font-sans, system-ui, sans-serif);
|
|
1167
|
+
animation: mdcc-wn-rise 0.28s ease both;
|
|
1168
|
+
}
|
|
1169
|
+
@keyframes mdcc-wn-rise {
|
|
1170
|
+
from {
|
|
1171
|
+
opacity: 0;
|
|
1172
|
+
transform: translateY(8px);
|
|
1173
|
+
}
|
|
1174
|
+
to {
|
|
1175
|
+
opacity: 1;
|
|
1176
|
+
transform: none;
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
.mdcc-wn-toast__mark {
|
|
1180
|
+
color: var(--u-accent);
|
|
1181
|
+
font-size: 14px;
|
|
1182
|
+
line-height: 1.2;
|
|
1183
|
+
flex: none;
|
|
1184
|
+
}
|
|
1185
|
+
.mdcc-wn-toast__body {
|
|
1186
|
+
min-width: 0;
|
|
1187
|
+
flex: 1;
|
|
1188
|
+
}
|
|
1189
|
+
.mdcc-wn-toast__title {
|
|
1190
|
+
font-weight: 600;
|
|
1191
|
+
margin-bottom: 2px;
|
|
1192
|
+
}
|
|
1193
|
+
.mdcc-wn-toast__summary {
|
|
1194
|
+
color: var(--u-fg-2);
|
|
1195
|
+
}
|
|
1196
|
+
.mdcc-wn-toast__cta {
|
|
1197
|
+
flex: none;
|
|
1198
|
+
align-self: center;
|
|
1199
|
+
padding: 4px 10px;
|
|
1200
|
+
background: var(--u-accent);
|
|
1201
|
+
color: var(--u-accent-fg);
|
|
1202
|
+
border: none;
|
|
1203
|
+
border-radius: var(--radius-md);
|
|
1204
|
+
font: 600 11px/1 var(--font-sans, system-ui, sans-serif);
|
|
1205
|
+
cursor: pointer;
|
|
1206
|
+
}
|
|
1207
|
+
.mdcc-wn-toast__close {
|
|
1208
|
+
flex: none;
|
|
1209
|
+
background: transparent;
|
|
1210
|
+
border: none;
|
|
1211
|
+
color: var(--u-fg-3);
|
|
1212
|
+
font-size: 16px;
|
|
1213
|
+
line-height: 1;
|
|
1214
|
+
cursor: pointer;
|
|
1215
|
+
padding: 0 2px;
|
|
1216
|
+
}
|
|
1217
|
+
.mdcc-wn-toast__close:hover {
|
|
1218
|
+
color: var(--u-fg-0);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.mdcc-wn-panel {
|
|
1222
|
+
width: min(560px, 92vw);
|
|
1223
|
+
max-height: 80vh;
|
|
1224
|
+
display: flex;
|
|
1225
|
+
flex-direction: column;
|
|
1226
|
+
background: var(--u-bg-1);
|
|
1227
|
+
color: var(--u-fg-0);
|
|
1228
|
+
border: 1px solid var(--u-bg-3);
|
|
1229
|
+
border-radius: var(--radius-md);
|
|
1230
|
+
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
|
|
1231
|
+
overflow: hidden;
|
|
1232
|
+
}
|
|
1233
|
+
.mdcc-wn-panel__body {
|
|
1234
|
+
overflow-y: auto;
|
|
1235
|
+
padding: 8px 14px 16px;
|
|
1236
|
+
}
|
|
1237
|
+
.mdcc-wn-empty {
|
|
1238
|
+
color: var(--u-fg-3);
|
|
1239
|
+
padding: 16px 0;
|
|
1240
|
+
}
|
|
1241
|
+
.mdcc-wn-list {
|
|
1242
|
+
list-style: none;
|
|
1243
|
+
margin: 0;
|
|
1244
|
+
padding: 0;
|
|
1245
|
+
}
|
|
1246
|
+
.mdcc-wn-item {
|
|
1247
|
+
padding: 12px 0;
|
|
1248
|
+
border-bottom: 1px solid var(--u-bg-3);
|
|
1249
|
+
}
|
|
1250
|
+
.mdcc-wn-item:last-child {
|
|
1251
|
+
border-bottom: none;
|
|
1252
|
+
}
|
|
1253
|
+
.mdcc-wn-item__hd {
|
|
1254
|
+
display: flex;
|
|
1255
|
+
align-items: center;
|
|
1256
|
+
gap: 8px;
|
|
1257
|
+
margin-bottom: 4px;
|
|
1258
|
+
}
|
|
1259
|
+
.mdcc-wn-item__title {
|
|
1260
|
+
font-weight: 600;
|
|
1261
|
+
flex: 1;
|
|
1262
|
+
min-width: 0;
|
|
1263
|
+
}
|
|
1264
|
+
.mdcc-wn-item__ver {
|
|
1265
|
+
color: var(--u-fg-3);
|
|
1266
|
+
font-size: 11px;
|
|
1267
|
+
font-variant-numeric: tabular-nums;
|
|
1268
|
+
}
|
|
1269
|
+
.mdcc-wn-item__summary {
|
|
1270
|
+
color: var(--u-fg-2);
|
|
1271
|
+
margin: 0 0 4px;
|
|
1272
|
+
font-size: 12px;
|
|
1273
|
+
line-height: 1.5;
|
|
1274
|
+
}
|
|
1275
|
+
.mdcc-wn-item__more {
|
|
1276
|
+
color: var(--u-accent);
|
|
1277
|
+
font-size: 11px;
|
|
1278
|
+
text-decoration: none;
|
|
1279
|
+
}
|
|
1280
|
+
.mdcc-wn-item__more:hover {
|
|
1281
|
+
text-decoration: underline;
|
|
1282
|
+
}
|
|
1283
|
+
.mdcc-wn-item.is-unseen .mdcc-wn-item__title::after {
|
|
1284
|
+
content: '';
|
|
1285
|
+
display: inline-block;
|
|
1286
|
+
width: 6px;
|
|
1287
|
+
height: 6px;
|
|
1288
|
+
margin-left: 6px;
|
|
1289
|
+
background: var(--u-accent);
|
|
1290
|
+
border-radius: 50%;
|
|
1291
|
+
vertical-align: middle;
|
|
1292
|
+
}
|
|
1293
|
+
.mdcc-wn-kind {
|
|
1294
|
+
text-transform: uppercase;
|
|
1295
|
+
font-size: 9px;
|
|
1296
|
+
font-weight: 700;
|
|
1297
|
+
letter-spacing: 0.04em;
|
|
1298
|
+
padding: 2px 5px;
|
|
1299
|
+
border-radius: var(--radius-sm, 2px);
|
|
1300
|
+
background: var(--u-accent-bg);
|
|
1301
|
+
color: var(--u-accent);
|
|
1302
|
+
}
|
|
1303
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1304
|
+
.mdcc-wn-toast {
|
|
1305
|
+
animation: none;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/* ───────── Guided tour (overlay) — feature-in-app-whats-new-tour Phase 3 ───────── */
|
|
1310
|
+
.mdcc-tour {
|
|
1311
|
+
position: fixed;
|
|
1312
|
+
inset: 0;
|
|
1313
|
+
z-index: 10050;
|
|
1314
|
+
}
|
|
1315
|
+
.mdcc-tour__scrim {
|
|
1316
|
+
position: fixed;
|
|
1317
|
+
inset: 0;
|
|
1318
|
+
background: rgba(0, 0, 0, 0.55);
|
|
1319
|
+
}
|
|
1320
|
+
.mdcc-tour__spot {
|
|
1321
|
+
position: fixed;
|
|
1322
|
+
border-radius: 6px;
|
|
1323
|
+
box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
|
|
1324
|
+
outline: 2px solid var(--u-accent);
|
|
1325
|
+
outline-offset: 0;
|
|
1326
|
+
pointer-events: none;
|
|
1327
|
+
transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
|
|
1328
|
+
}
|
|
1329
|
+
.mdcc-tour__card {
|
|
1330
|
+
position: fixed;
|
|
1331
|
+
z-index: 10051;
|
|
1332
|
+
background: var(--u-bg-1);
|
|
1333
|
+
color: var(--u-fg-0);
|
|
1334
|
+
border: 1px solid var(--u-bg-3);
|
|
1335
|
+
border-radius: var(--radius-md);
|
|
1336
|
+
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
|
|
1337
|
+
padding: 16px;
|
|
1338
|
+
font: 400 13px/1.5 var(--font-sans, system-ui, sans-serif);
|
|
1339
|
+
}
|
|
1340
|
+
.mdcc-tour__step {
|
|
1341
|
+
font-size: 10px;
|
|
1342
|
+
color: var(--u-fg-3);
|
|
1343
|
+
letter-spacing: 0.08em;
|
|
1344
|
+
text-transform: uppercase;
|
|
1345
|
+
margin-bottom: 6px;
|
|
1346
|
+
}
|
|
1347
|
+
.mdcc-tour__title {
|
|
1348
|
+
font-weight: 600;
|
|
1349
|
+
font-size: 14px;
|
|
1350
|
+
margin-bottom: 6px;
|
|
1351
|
+
}
|
|
1352
|
+
.mdcc-tour__body {
|
|
1353
|
+
color: var(--u-fg-2);
|
|
1354
|
+
margin-bottom: 14px;
|
|
1355
|
+
}
|
|
1356
|
+
/* "Do this one thing" hint — shown when a step needs a canvas open or an element
|
|
1357
|
+
⌘-clicked (the cross-origin canvas means the tour can't do it for you). */
|
|
1358
|
+
.mdcc-tour__hint {
|
|
1359
|
+
display: flex;
|
|
1360
|
+
align-items: center;
|
|
1361
|
+
gap: 8px;
|
|
1362
|
+
margin: -4px 0 14px;
|
|
1363
|
+
padding: 8px 10px;
|
|
1364
|
+
border-radius: var(--radius-md);
|
|
1365
|
+
background: color-mix(in oklab, var(--u-accent) 12%, transparent);
|
|
1366
|
+
border: 1px solid color-mix(in oklab, var(--u-accent) 35%, transparent);
|
|
1367
|
+
color: var(--u-fg-1);
|
|
1368
|
+
font-size: 12px;
|
|
1369
|
+
line-height: 1.4;
|
|
1370
|
+
}
|
|
1371
|
+
.mdcc-tour__hint-dot {
|
|
1372
|
+
flex: none;
|
|
1373
|
+
width: 8px;
|
|
1374
|
+
height: 8px;
|
|
1375
|
+
border-radius: 50%;
|
|
1376
|
+
background: var(--u-accent);
|
|
1377
|
+
animation: mdcc-tour-pulse 1.4s ease-in-out infinite;
|
|
1378
|
+
}
|
|
1379
|
+
@keyframes mdcc-tour-pulse {
|
|
1380
|
+
0%,
|
|
1381
|
+
100% {
|
|
1382
|
+
opacity: 0.4;
|
|
1383
|
+
transform: scale(0.85);
|
|
1384
|
+
}
|
|
1385
|
+
50% {
|
|
1386
|
+
opacity: 1;
|
|
1387
|
+
transform: scale(1.15);
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1391
|
+
.mdcc-tour__hint-dot {
|
|
1392
|
+
animation: none;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
.mdcc-tour__actions {
|
|
1396
|
+
display: flex;
|
|
1397
|
+
align-items: center;
|
|
1398
|
+
justify-content: space-between;
|
|
1399
|
+
gap: 12px;
|
|
1400
|
+
}
|
|
1401
|
+
.mdcc-tour__nav {
|
|
1402
|
+
display: flex;
|
|
1403
|
+
gap: 8px;
|
|
1404
|
+
}
|
|
1405
|
+
.mdcc-tour__skip {
|
|
1406
|
+
background: transparent;
|
|
1407
|
+
border: none;
|
|
1408
|
+
color: var(--u-fg-3);
|
|
1409
|
+
cursor: pointer;
|
|
1410
|
+
font-size: 12px;
|
|
1411
|
+
}
|
|
1412
|
+
.mdcc-tour__skip:hover {
|
|
1413
|
+
color: var(--u-fg-1);
|
|
1414
|
+
}
|
|
1415
|
+
.mdcc-tour__back {
|
|
1416
|
+
background: transparent;
|
|
1417
|
+
border: 1px solid var(--u-bg-3);
|
|
1418
|
+
color: var(--u-fg-1);
|
|
1419
|
+
border-radius: var(--radius-md);
|
|
1420
|
+
padding: 5px 12px;
|
|
1421
|
+
cursor: pointer;
|
|
1422
|
+
font-size: 12px;
|
|
1423
|
+
}
|
|
1424
|
+
.mdcc-tour__next {
|
|
1425
|
+
background: var(--u-accent);
|
|
1426
|
+
color: var(--u-accent-fg);
|
|
1427
|
+
border: none;
|
|
1428
|
+
border-radius: var(--radius-md);
|
|
1429
|
+
padding: 5px 14px;
|
|
1430
|
+
cursor: pointer;
|
|
1431
|
+
font-weight: 600;
|
|
1432
|
+
font-size: 12px;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/* First-run nudge (offers the usage tour) — reuses toast positioning. */
|
|
1436
|
+
.mdcc-tour-nudge {
|
|
1437
|
+
position: fixed;
|
|
1438
|
+
left: 16px;
|
|
1439
|
+
bottom: 16px;
|
|
1440
|
+
z-index: 9001;
|
|
1441
|
+
display: flex;
|
|
1442
|
+
align-items: center;
|
|
1443
|
+
gap: 12px;
|
|
1444
|
+
max-width: 360px;
|
|
1445
|
+
padding: 12px 14px;
|
|
1446
|
+
background: var(--u-bg-1);
|
|
1447
|
+
color: var(--u-fg-0);
|
|
1448
|
+
border: 1px solid var(--u-bg-3);
|
|
1449
|
+
border-left: 3px solid var(--u-accent);
|
|
1450
|
+
border-radius: var(--radius-md);
|
|
1451
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
|
|
1452
|
+
font: 400 12px/1.4 var(--font-sans, system-ui, sans-serif);
|
|
1453
|
+
}
|
|
1454
|
+
.mdcc-tour-nudge__body {
|
|
1455
|
+
flex: 1;
|
|
1456
|
+
min-width: 0;
|
|
1457
|
+
}
|
|
1458
|
+
.mdcc-tour-nudge__cta {
|
|
1459
|
+
flex: none;
|
|
1460
|
+
padding: 4px 10px;
|
|
1461
|
+
background: var(--u-accent);
|
|
1462
|
+
color: var(--u-accent-fg);
|
|
1463
|
+
border: none;
|
|
1464
|
+
border-radius: var(--radius-md);
|
|
1465
|
+
font: 600 11px/1 var(--font-sans, system-ui, sans-serif);
|
|
1466
|
+
cursor: pointer;
|
|
1467
|
+
}
|
|
1468
|
+
.mdcc-tour-nudge__skip {
|
|
1469
|
+
flex: none;
|
|
1470
|
+
background: transparent;
|
|
1471
|
+
border: none;
|
|
1472
|
+
color: var(--u-fg-3);
|
|
1473
|
+
font-size: 16px;
|
|
1474
|
+
line-height: 1;
|
|
1475
|
+
cursor: pointer;
|
|
1476
|
+
padding: 0 2px;
|
|
1477
|
+
}
|
|
1478
|
+
.mdcc-tour-nudge__skip:hover {
|
|
1479
|
+
color: var(--u-fg-0);
|
|
1480
|
+
}
|
|
1481
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1482
|
+
.mdcc-tour__spot {
|
|
1483
|
+
transition: none;
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
/* "Take tour" affordance inside the What's New panel. */
|
|
1488
|
+
.mdcc-wn-item__tour {
|
|
1489
|
+
display: inline-block;
|
|
1490
|
+
margin-left: 10px;
|
|
1491
|
+
padding: 1px 8px;
|
|
1492
|
+
background: var(--u-accent-bg);
|
|
1493
|
+
color: var(--u-accent);
|
|
1494
|
+
border: none;
|
|
1495
|
+
border-radius: var(--radius-sm, 2px);
|
|
1496
|
+
font: 600 10px/1.4 var(--font-sans, system-ui, sans-serif);
|
|
1497
|
+
text-transform: uppercase;
|
|
1498
|
+
letter-spacing: 0.03em;
|
|
1499
|
+
cursor: pointer;
|
|
1500
|
+
}
|
|
1501
|
+
.mdcc-wn-item__tour:hover {
|
|
1502
|
+
background: var(--u-accent);
|
|
1503
|
+
color: var(--u-accent-fg);
|
|
1504
|
+
}
|