github emotion-js/emotion @emotion/native@11.0.0-next.18

latest releases: @emotion/css@11.13.4, @emotion/utils@1.4.1, @emotion/serialize@1.3.2...
pre-release4 years ago

Major Changes

  • 95ea2839 #2014 Thanks @Andarist! - Updated css-to-react-native dependency to the 3.x version - it comes with some breaking changes listed here.

  • 95ea2839 #2014 Thanks @Andarist! - Functions are no longer accepted as values for the style prop. This unifies the behavior with the web version of Emotion as style's equivalent is className prop and functions are not resolved for it.

Patch Changes

  • db16ac35 #2013 Thanks @Andarist! - Fixed an issue with styles being lost for nested factory calls like:

    const bgColor = color => css`
      background-color: ${color};
    `
    
    const Text = styled.Text`
      color: hotpink;
      ${({ backgroundColor }) => bgColor(backgroundColor)};
    `
  • Updated dependencies [95ea2839, db16ac35, 95ea2839]:

    • @emotion/primitives-core@11.0.0-next.18

Don't miss a new emotion release

NewReleases is sending notifications on new releases.