- #2759 Thanks @srmagura, @Andarist! - Change the argument of the
shouldForwardProp
option ofstyled
fromPropertyKey
tostring
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
andStyledOptions
types no longer require a type argument for theProps
generic.
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.
139ea336
#2060 Thanks @efoken! -StyleSheet.create
is used now under the hood. This means that when used in combination with React Native Web atomic class names are applied on components instead of inline styles.
79036056
#967 Thanks @mitchellhamilton! - Use hooks internally for improved bundle size and a better tree in React DevTools
95ea2839
#2014 Thanks @Andarist! - Updatedcss-to-react-native
dependency to the 3.x version - it comes with some breaking changes listed here.
843bfb11
#1630 Thanks @Andarist! -@emotion/native
&@emotion/primitives
packages come with macros now. Both can be used as@emotion/native/macro
&@emotion/primitives/macro
respectively.
456be9a6
#1634 Thanks @patsissons! - Added TypeScript type definitions.
f1b7c9d6
#1642 Thanks @Andarist! - Added basic support for accepting customshouldForwardProp
option.
11fc27f8
#1750 Thanks @Zn4rK! - Match supported components to what is exported from the latest version of React Native (0.61.5).
-
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
,139ea336
,79036056
,2d597857
]:- @emotion/primitives-core@11.0.0
- Updated dependencies [
9c4ebc16
]:- @emotion/primitives-core@11.0.0-rc.0
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.19
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.
-
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
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.17
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.16
620f7327
#1954 Thanks @Andarist! - Reworked TypeScript types around types for React Native's core components. All of them, and all wrapped class components, should now acceptref
prop properly.
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.15
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.14
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.13
-
11fc27f8
#1750 Thanks @Zn4rK! - Match supported components to what is exported from the latest version of React Native (0.61.5). -
Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.12
456be9a6
#1572 Thanks @patsissons! - Added TypeScript type definitions.
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.10
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.9
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.8
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.7
843bfb11
#1630 Thanks @Andarist! -@emotion/native
&@emotion/primitives
packages come with macros now. Both can be used as@emotion/native/macro
&@emotion/primitives/macro
respectively.
f1b7c9d6
#1642 Thanks @Andarist! - Added basic support for accepting customshouldForwardProp
option.
- Updated dependencies []:
- @emotion/primitives-core@11.0.0-next.6
- Updated dependencies []:
- emotion-theming@11.0.0-next.5
- @emotion/primitives-core@11.0.0-next.5
- Updated dependencies []:
- emotion-theming@11.0.0-next.4
- @emotion/primitives-core@11.0.0-next.4
- Updated dependencies []:
- emotion-theming@11.0.0-next.3
- @emotion/primitives-core@11.0.0-next.3
79036056
#967 Thanks @mitchellhamilton! - Use hooks internally for improved bundle size and a better tree in React DevTools
- Updated dependencies [
79036056
]:- emotion-theming@11.0.0-next.2
- @emotion/primitives-core@11.0.0-next.2
- Updated dependencies [
1eaa3a38
]:- emotion-theming@11.0.0-next.1
- @emotion/primitives-core@11.0.0-next.1
302bdba1
#1600 Thanks @mitchellhamilton! - Ensure packages are major bumped so that pre-release versions of the linked packages are consistent in the major number
- Updated dependencies [
302bdba1
]:- emotion-theming@11.0.0-next.0
- @emotion/primitives-core@11.0.0-next.0
4c62ae9
#1698 Thanks @Andarist! - Add LICENSE file- Updated dependencies [
4c62ae9
]:- emotion-theming@10.0.27
- @emotion/primitives-core@10.0.27
-
ae90f000
#841 Thanks @nitin42! - Improve error message for shorthand properties with missing units. -
Updated dependencies [
ae90f000
]:- @emotion/primitives-core@10.0.22
- c0eb604d #1419 Thanks @mitchellhamilton! - Update build tool