Layout engine (src/engine/layout.ts): - Yoga WASM adapter mapping SceneNode layout props to Yoga nodes - Supports vertical/horizontal direction, padding (per-side), gap, primary/counter axis alignment, HUG/FIXED/FILL sizing, wrap, absolute positioning, flex grow, stretch - Bottom-up computation: nested auto-layout frames resolve correctly - Layout runs automatically on any property change to affected frames Scene graph: - New layout properties on SceneNode: layoutMode, itemSpacing, padding (4 sides), primaryAxisAlign, counterAxisAlign, primaryAxisSizing, counterAxisSizing, layoutWrap, layoutGrow, layoutPositioning, layoutAlignSelf, counterAxisSpacing Properties panel: - Auto-layout section for frames: direction toggles (none/vertical/ horizontal), gap, padding (4 inputs), primary and counter axis alignment dropdowns Import/export: - .fig import maps stackMode/stackSpacing/stackPadding* fields - Clipboard paste maps all Figma stack* properties - Clipboard copy exports layout as Kiwi stackMode/stackSpacing/etc. |
||
|---|---|---|
| .vscode | ||
| patches | ||
| public | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| .oxfmtrc.json | ||
| bun.lock | ||
| FIGMA_UI3_CDP_FINDINGS.md | ||
| index.html | ||
| oxlint.json | ||
| package.json | ||
| PLAN.md | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Tauri + React + Typescript
This template should help get you started developing with Tauri, React and Typescript in Vite.