Files
OpenNoodl/packages
Tara West 5049826ca3 feat(element-configs): Auto-apply defaults on node creation
- Added ElementConfigRegistry import to NodeGraphNode
- Modified constructor to call applyDefaults() for new nodes
- Only applies when node has typename and no existing parameters
- Completes MVP 2: Node Integration + Auto-defaults

New nodes (Button, Text, etc.) now automatically get:
- Sensible default values from their config
- Token-based styling (e.g., var(--theme-color-primary))
- Proper sizing (Text gets display: flex, width: auto)

Part of STYLE-002 MVP implementation.
Next: Test in app, then MVP 3 (Variants + UI).
2026-01-15 10:51:01 +01:00
..
2026-01-11 09:48:20 +01:00
2024-01-26 11:52:55 +01:00