- When/else inside slots: anchor parentNode is null during initial effect Fixed with named effect function + requestAnimationFrame retry - Match parser now terminates on ] } else tokens (works inside containers) - Updated Progress/Badge components - Added examples/showcase.ds: 5-section demo exercising all features
6 lines
197 B
Text
6 lines
197 B
Text
-- DreamStack Badge Component
|
|
-- Small label with colored background
|
|
-- Variants: success, warning, error, info, default
|
|
|
|
export component Badge(label, variant) =
|
|
text label { variant: variant }
|