Major Changes
-
95ea2839
#2014 Thanks @Andarist! - Updatedcss-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 thestyle
prop. This unifies the behavior with the web version of Emotion asstyle
's equivalent isclassName
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