Skip to content

v3.14.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 14:32
· 4 commits to main since this release
b1751ba

Minor Changes

  • #434 a958f51 Thanks @tenphi! - Support theme on sub-elements created by elements. As on the root component, it renders as data-theme, and an explicit data-theme wins over it. Before, a sub-element passed theme through as a raw DOM attribute, which states such as @own(theme=dark) don't match.

Patch Changes

  • #433 293a5f8 Thanks @tenphi! - Preserve tokens, theme, and isChecked in filterBaseProps, so it keeps every BaseProps prop except styles. A component that wraps a Tasty element with the helper no longer drops a consumer's tokens silently; theme now reaches the element as data-theme, and isChecked as checked and data-checked. A wrapper that sets one of these before spreading the filtered props now has it replaced by the consumer's value, as style already is; set it after the spread, or merge the tokens objects, to keep it.