Skip to content

@emotion/styled@11.9.3

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jun 13:01
· 71 commits to main since this release
57b2c46

Patch Changes

  • #2759 Thanks @srmagura, @Andarist! - Change the argument of the shouldForwardProp option of styled from PropertyKey to string in the TypeScript definitions.

  • #2333 3055efdd Thanks @Andarist! - shouldForwardProp has been changed from being a bivariant method to a contravariant function - it improves the type-safety for those that type this option.

  • #2333 3055efdd Thanks @antongolub! - FilteringStyledOptions and StyledOptions types no longer require a type argument for the Props generic.

  • Updated dependencies [26e4e3e8, 5e81f213, 3055efdd]:

    • @emotion/serialize@1.0.4
    • @emotion/is-prop-valid@1.1.3