figcraft/docs
Justin John 24c5617230
feat(dev-mode): Leptos code with component properties, instance calls and Code Connect (#240)
* feat(dev-mode): Leptos code for a layer tree (#223)

inspect.code takes language: leptos, and the Inspect panel lists it: the
HTML markup inside a #[component] fn's view!, with the stylesheet after it
as for React. Text is Rust string literals (line breaks as <br/>) so the
macro parses it; px or rem like the other web languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(dev-mode): Leptos components take their properties, instances are calls (#223)

Leptos joins React in component code: a component or set is a #[component]
fn with #[prop] defaults (variant enums with as_str, bool, String, ViewFn
for instance swaps, Option<ViewFn> for slots), layers bound to booleans
show through .then, variants differ by data-* CSS rules, and instances
(also inside layer trees) are calls passing the values they change. Names
are snake_case, Rust keywords get a trailing _. Code Connect takes leptos
too (use <path>::<Name>; view! markup). Markup now takes the language
instead of jsx/leptos flags; React and Leptos share the stylesheet pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Justin John <babyjjbabyjj549@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-10-14 10:32:14 +07:00
..
brand M0.1-M0.3: workspace, licences, geom/color/doc crates 2026-10-09 12:01:57 -04:00
images Docs: retake the README screenshots with the new app mark (#158) 2026-10-12 15:08:23 +07:00
architecture.md M8: Windows QA fixes (#131) 2026-10-11 18:20:38 +07:00
auto-layout-parity.md M2: auto layout: dragging an automatic gap's handle fixes the gap 2026-10-13 13:36:54 +07:00
cli.md Refuse incomplete SVG/PDF exports beyond the depth limit (#218) 2026-10-14 05:23:28 +07:00
collab-protocol.md fix(collab): reject reverting an active live document (#214) 2026-10-14 05:47:39 +07:00
collaboration-parity.md fix(collab): reject reverting an active live document (#214) 2026-10-14 05:47:39 +07:00
components-parity.md M3: component playground: variant, boolean and text properties 2026-10-13 13:36:54 +07:00
contributors.md About: Contributors and Models tabs with full credits; bump version to 0.2.0 (from 0.1.0) for release 2026-10-09 21:10:33 -04:00
control-protocol.md fix(control): bound frames and expire queued requests (#213) 2026-10-14 05:18:40 +07:00
dev-mode-parity.md feat(dev-mode): Leptos code with component properties, instance calls and Code Connect (#240) 2026-10-14 10:32:14 +07:00
file-format-parity.md Refuse incomplete SVG/PDF exports beyond the depth limit (#218) 2026-10-14 05:23:28 +07:00
gaps.md M7: .fig export: one-sided stroke widths as outlines, bound layer fields name their field; docs 2026-10-13 10:05:39 +07:00
hardware-parity.md M8: Windows QA fixes (#131) 2026-10-11 18:20:38 +07:00
localization-parity.md M9: online files: the app remembers the files it put online 2026-10-13 01:41:14 +07:00
mcp.md feat(dev-mode): Leptos code with component properties, instance calls and Code Connect (#240) 2026-10-14 10:32:14 +07:00
online-sharing-terms.md Docs: terms and privacy for online sharing through the default server 2026-10-13 03:01:34 +07:00
parity-checklist.md M11: starter templates: parity checklist regenerated after the rebase 2026-10-13 03:01:19 +07:00
plugins.md fix(plugin): meter every host call and copied byte (#221) 2026-10-14 07:42:06 +07:00
prototyping-parity.md M5: prototyping: delays on mouse triggers, manual overlay offsets 2026-10-13 13:36:54 +07:00
release-playbook.md M0.9: MCP server + figcraft-cli, PDF export, web app, release/CI packaging, vector edit mode, workspace lint cleanup 2026-10-09 13:31:53 -04:00
releasing.md feat(packaging): run figcraft-cli from the AppImage with `cli <args>` (#232) 2026-10-14 09:30:42 +07:00
roadmap.md fix(engine): keep proportions when a linked width or height is typed (#222) 2026-10-14 07:31:19 +07:00
server.md Sharing: the default server is a build-time setting 2026-10-13 03:01:34 +07:00
target-app-parity.md Bound plugin logs before allocation and host forwarding (#216) 2026-10-14 05:49:32 +07:00
translating.md M9: Simplified Chinese draft catalog 2026-10-12 05:57:48 +07:00
ui-parity.md M1: full screen (#227) (#238) 2026-10-14 10:31:59 +07:00