Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run
changeset pre exit
on next.Releases
@emotion/css@11.0.0-next.1
Major Changes
1eaa3a38
#1600 Thanks @mitchellhamilton! - TypeScript types have been restructured. These changes:If you encounter build issues after upgrade, try removing any manually specified generic types and let them be inferred. Otherwise refer to the breaking changes list below.
Improvements
Breaking changes
withTheme can now have the Theme type specified when calling it. For example
withTheme<MyTheme>(MyComponent)
Breaking change: Generic argument changed, if you were specifying the ComponentType you will need to remove the generic parameter. Recommend following example setup in the TypeScript docs under theming section
css
function has been restricted to prevent passing of invalid typesCreateStyled
functions no longer take a secondExtraProps
argument. Instead move it to after the create styled call. For examplestyled<typeof MyComponent, ExtraProps>(MyComponent)({})
to
styled(MyComponent)<ExtraProps>({})
StyledComponent
type no longer supports the third genericTheme
parameter. Instead add thetheme
prop to the firstProps
argument. For example:StyledComponent<Props, {}, MyTheme>
to
StyledComponent<Props & { theme?: MyTheme }>
Patch Changes
1eaa3a38
]:emotion-theming@11.0.0-next.1
Major Changes
1eaa3a38
#1600 Thanks @mitchellhamilton! - TypeScript types have been restructured. These changes:If you encounter build issues after upgrade, try removing any manually specified generic types and let them be inferred. Otherwise refer to the breaking changes list below.
Improvements
Breaking changes
withTheme can now have the Theme type specified when calling it. For example
withTheme<MyTheme>(MyComponent)
Breaking change: Generic argument changed, if you were specifying the ComponentType you will need to remove the generic parameter. Recommend following example setup in the TypeScript docs under theming section
css
function has been restricted to prevent passing of invalid typesCreateStyled
functions no longer take a secondExtraProps
argument. Instead move it to after the create styled call. For examplestyled<typeof MyComponent, ExtraProps>(MyComponent)({})
to
styled(MyComponent)<ExtraProps>({})
StyledComponent
type no longer supports the third genericTheme
parameter. Instead add thetheme
prop to the firstProps
argument. For example:StyledComponent<Props, {}, MyTheme>
to
StyledComponent<Props & { theme?: MyTheme }>
Patch Changes
1eaa3a38
,22935470
]:@emotion/serialize@1.0.0-next.0
Major Changes
1eaa3a38
#1600 Thanks @mitchellhamilton! - TypeScript types have been restructured. These changes:If you encounter build issues after upgrade, try removing any manually specified generic types and let them be inferred. Otherwise refer to the breaking changes list below.
Improvements
Breaking changes
withTheme can now have the Theme type specified when calling it. For example
withTheme<MyTheme>(MyComponent)
Breaking change: Generic argument changed, if you were specifying the ComponentType you will need to remove the generic parameter. Recommend following example setup in the TypeScript docs under theming section
css
function has been restricted to prevent passing of invalid typesCreateStyled
functions no longer take a secondExtraProps
argument. Instead move it to after the create styled call. For examplestyled<typeof MyComponent, ExtraProps>(MyComponent)({})
to
styled(MyComponent)<ExtraProps>({})
StyledComponent
type no longer supports the third genericTheme
parameter. Instead add thetheme
prop to the firstProps
argument. For example:StyledComponent<Props, {}, MyTheme>
to
StyledComponent<Props & { theme?: MyTheme }>
@emotion/styled-base@11.0.0-next.1
Major Changes
1eaa3a38
#1600 Thanks @mitchellhamilton! - TypeScript types have been restructured. These changes:If you encounter build issues after upgrade, try removing any manually specified generic types and let them be inferred. Otherwise refer to the breaking changes list below.
Improvements
Breaking changes
withTheme can now have the Theme type specified when calling it. For example
withTheme<MyTheme>(MyComponent)
Breaking change: Generic argument changed, if you were specifying the ComponentType you will need to remove the generic parameter. Recommend following example setup in the TypeScript docs under theming section
css
function has been restricted to prevent passing of invalid typesCreateStyled
functions no longer take a secondExtraProps
argument. Instead move it to after the create styled call. For examplestyled<typeof MyComponent, ExtraProps>(MyComponent)({})
to
styled(MyComponent)<ExtraProps>({})
StyledComponent
type no longer supports the third genericTheme
parameter. Instead add thetheme
prop to the firstProps
argument. For example:StyledComponent<Props, {}, MyTheme>
to
StyledComponent<Props & { theme?: MyTheme }>
Patch Changes
22935470
#1588 Thanks @FezVrasta! - StyledComponent Flow type is now polymorphic, that means you can now define the component prop types to get better type safety.1eaa3a38
]:@emotion/styled@11.0.0-next.1
Major Changes
1eaa3a38
#1600 Thanks @mitchellhamilton! - TypeScript types have been restructured. These changes:If you encounter build issues after upgrade, try removing any manually specified generic types and let them be inferred. Otherwise refer to the breaking changes list below.
Improvements
Breaking changes
withTheme can now have the Theme type specified when calling it. For example
withTheme<MyTheme>(MyComponent)
Breaking change: Generic argument changed, if you were specifying the ComponentType you will need to remove the generic parameter. Recommend following example setup in the TypeScript docs under theming section
css
function has been restricted to prevent passing of invalid typesCreateStyled
functions no longer take a secondExtraProps
argument. Instead move it to after the create styled call. For examplestyled<typeof MyComponent, ExtraProps>(MyComponent)({})
to
styled(MyComponent)<ExtraProps>({})
StyledComponent
type no longer supports the third genericTheme
parameter. Instead add thetheme
prop to the firstProps
argument. For example:StyledComponent<Props, {}, MyTheme>
to
StyledComponent<Props & { theme?: MyTheme }>
Patch Changes
22935470
#1588 Thanks @FezVrasta! - StyledComponent Flow type is now polymorphic, that means you can now define the component prop types to get better type safety.1eaa3a38
,22935470
]:babel-plugin-emotion@11.0.0-next.1
Patch Changes
1eaa3a38
]:@emotion/core@11.0.0-next.1
Patch Changes
1eaa3a38
,22935470
]:create-emotion@11.0.0-next.1
Patch Changes
1eaa3a38
]:jest-emotion@11.0.0-next.1
Patch Changes
e67a5be9
#967 Thanks @Andarist! - Take specificity into account when matching stylese67a5be9
#967 Thanks @Andarist! - Match rules in declarations with component used as a selectorUpdated dependencies []:
@emotion/native@11.0.0-next.1
Patch Changes
1eaa3a38
]:@emotion/primitives-core@11.0.0-next.1
Patch Changes
@emotion/primitives@11.0.0-next.1
Patch Changes
1eaa3a38
]: