Skip to content

v3.9.3

Choose a tag to compare

@github-actions github-actions released this 29 Sep 16:34
· 55 commits to main since this release
6c6d1fa

Patch Changes

  • #349 9855fb7 Thanks @tenphi! - Fix state maps losing key priority. A later key whose value equals the '' default (e.g. disabled in { '': 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 as hovered: 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 9855fb7 Thanks @tenphi! - Parse single-letter modifier and class names in state keys (x → [data-x], .x), matching the data-x attribute mods={{ 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 an INVALID_STATE_KEY warning.