You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
#434a958f51 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
#433293a5f8 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.