Repository navigation
v3.9.3
Patch Changes
-
#349
9855fb7Thanks @tenphi! - Fix state maps losing key priority. A later key whose value equals the''default (e.g.disabledin{ '': A, checked: B, 'invalid & checked': C, disabled: A }) no longer gets folded into the default and outranked by earlier keys, and keys that together always apply (such ashovered: X, '!hovered': X) now block the keys below them instead of overlapping them. Components whose state maps differ only in key order no longer share one class and its styles. -
#349
9855fb7Thanks @tenphi! - Parse single-letter modifier and class names in state keys (x→[data-x],.x), matching thedata-xattributemods={{ x: true }}renders. They used to be skipped, turning a key like{ '': A, x: B }into one that always applies. State keys Tasty cannot fully read — unknown characters, an operator missing a state, or two states with no operator between them — now emit anINVALID_STATE_KEYwarning.