mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
- CardNodeHtml: vertical-flex card container that owns its children's layout (children fill card width, heights follow natural aspect for images/videos or own height for text). - cardLayout: pure helpers (DEFAULT_CARD_WIDTH/PADDING/COLOR, childRenderedHeight) used by the card node + store. - MoodboardHtmlColorPicker: hex/rgb picker with preset swatches for card backgrounds. - findDropTarget: top-level hit-test on pointer-up so a drag can form a new card with the target + dragged node, or append to an existing card.