Update emotion monorepo to v11.10.4 #10

Merged
kjuulh merged 1 commits from renovate/emotion-monorepo into main 2022-10-26 20:42:23 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
@emotion/react (source) dependencies minor 11.4.1 -> 11.10.4
@emotion/styled (source) dependencies minor 11.3.0 -> 11.10.4

Release Notes

emotion-js/emotion

v11.10.4

Compare Source

Patch Changes
  • #​2867 89b6dbb3 Thanks @​Andarist! - Externalized code referencing React.useInsertionEffect to a separate @emotion/use-insertion-effect-with-fallbacks package. This package should be used in your defined externals if you bundle Emotion for whatever reason. It references useInsertionEffect in a very specific way that allows us to use it conditionally. However, if the code consuming Emotion is bundled as a library with Emotion in it then some bundlers might change the way in which we reference useInsertionEffect and that might create problems for bundlers used to consume the said library code. By externalizing this new package you can still bundle Emotion if you want to without running into this problem as you won't "destroy" the carefully crafted reference to useInsertionEffect in the process.

    Note that we don't recommend bundling Emotion. You should have very specific reasons to do so.

  • Updated dependencies [89b6dbb3]:

v11.10.0

Compare Source

Minor Changes
  • #​2819 bbad8c79 Thanks @​nicksrandall! - exports field has been added to the package.json manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.

  • #​2819 bbad8c79 Thanks @​nicksrandall! - Thanks to the added exports field, the package now includes a worker condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers.

Patch Changes

v11.9.3

Compare Source

Patch Changes

v11.9.0

Compare Source

Patch Changes

v11.8.2

Compare Source

Patch Changes
  • #​2677 ff3cb164 Thanks @​Jack-Works! - Change Global component to use the StyleSheet constructor of the current cache.sheet. This is useful when cache.sheet is not the default implementation. Thanks to that the inner sheet constructed by Global can share the behavior with its "main" sheet that is hold by the cache.

v11.8.1

Compare Source

Patch Changes
  • #​2651 39ac5b99 Thanks @​Andarist! - Fixed a transpilation issue that caused useInsertionEffect to be referenced directly in the specifiers list of the import statement. This has caused build errors in the consuming tools since the import statement can only reference known exports of a module.

v11.8.0

Compare Source

Minor Changes
  • #​2600 2f27156a Thanks @​Andarist! - Refactored code to use the upcoming React.useInsertionEffect when it's available (this is a new hook that is going to be introduced in React 18). This shouldn't have any effect on existing codebases and the change should be transparent.
Patch Changes

v11.7.1

Compare Source

Patch Changes
  • #​2577 04681a5f Thanks @​Methuselah96! - Export Keyframes type to avoid TypeScript inserting import("@​emotion/serialize").Keyframes references into declaration files emitted based on a source files exporting keyframes result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies.

  • #​2590 1554a7e2 Thanks @​Andarist! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.

  • Updated dependencies [1554a7e2]:

v11.7.0

Compare Source

Patch Changes
  • #​2534 57be9e8c Thanks @​srmagura! - Changed the implementation of the runtime label extraction in elements using the css prop (that only happens in development) to one that should yield more consistent results across browsers. This fixes some minor issues with React reporting hydration mismatches that wouldn't happen in production.

v11.6.0

Compare Source

Minor Changes
  • #​2542 eb013d25 Thanks @​eps1lon! - Fixed hydration mismatches if React.useId (an upcoming API in React 18) is used within a tree below our components.
Patch Changes

v11.5.0

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@emotion/react](https://github.com/emotion-js/emotion/tree/main#readme) ([source](https://github.com/emotion-js/emotion)) | dependencies | minor | [`11.4.1` -> `11.10.4`](https://renovatebot.com/diffs/npm/@emotion%2freact/11.4.1/11.10.4) | | [@emotion/styled](https://github.com/emotion-js/emotion/tree/main#readme) ([source](https://github.com/emotion-js/emotion)) | dependencies | minor | [`11.3.0` -> `11.10.4`](https://renovatebot.com/diffs/npm/@emotion%2fstyled/11.3.0/11.10.4) | --- ### Release Notes <details> <summary>emotion-js/emotion</summary> ### [`v11.10.4`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/styled%4011.10.4) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.10.0...@emotion/react@11.10.4) ##### Patch Changes - [#&#8203;2867](https://github.com/emotion-js/emotion/pull/2867) [`89b6dbb3`](https://github.com/emotion-js/emotion/commit/89b6dbb3c13d49ef1fa3d88888672d810853f05a) Thanks [@&#8203;Andarist](https://github.com/Andarist)! - Externalized code referencing `React.useInsertionEffect` to a separate `@emotion/use-insertion-effect-with-fallbacks` package. This package should be used in your defined externals if you bundle Emotion for whatever reason. It references `useInsertionEffect` in a very specific way that allows us to use it conditionally. However, if the code consuming Emotion is bundled as a library with Emotion in it then some bundlers might change the way in which we reference `useInsertionEffect` and that might create problems for bundlers used to consume the said library code. By externalizing this new package you can still bundle Emotion if you want to without running into this problem as you won't "destroy" the carefully crafted reference to `useInsertionEffect` in the process. Note that we don't recommend bundling Emotion. You should have very specific reasons to do so. - Updated dependencies \[[`89b6dbb3`](https://github.com/emotion-js/emotion/commit/89b6dbb3c13d49ef1fa3d88888672d810853f05a)]: - [@&#8203;emotion/use-insertion-effect-with-fallbacks](https://github.com/emotion/use-insertion-effect-with-fallbacks)[@&#8203;1](https://github.com/1).0.0 ### [`v11.10.0`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/react%4011.10.0) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.9.3...@emotion/react@11.10.0) ##### Minor Changes - [#&#8203;2819](https://github.com/emotion-js/emotion/pull/2819) [`bbad8c79`](https://github.com/emotion-js/emotion/commit/bbad8c79937f8dfd5d93bf485c1e9ec44124d228) Thanks [@&#8203;nicksrandall](https://github.com/nicksrandall)! - `exports` field has been added to the `package.json` manifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API. - [#&#8203;2819](https://github.com/emotion-js/emotion/pull/2819) [`bbad8c79`](https://github.com/emotion-js/emotion/commit/bbad8c79937f8dfd5d93bf485c1e9ec44124d228) Thanks [@&#8203;nicksrandall](https://github.com/nicksrandall)! - Thanks to the added `exports` field, the package now includes a `worker` condition that can be utilized by properly configured bundlers when targeting worker-like environments. It fixes the issue with browser-specific files being prioritized by some bundlers when targeting workers. ##### Patch Changes - Updated dependencies \[[`bbad8c79`](https://github.com/emotion-js/emotion/commit/bbad8c79937f8dfd5d93bf485c1e9ec44124d228), [`bbad8c79`](https://github.com/emotion-js/emotion/commit/bbad8c79937f8dfd5d93bf485c1e9ec44124d228)]: - [@&#8203;emotion/babel-plugin](https://github.com/emotion/babel-plugin)[@&#8203;11](https://github.com/11).10.0 - [@&#8203;emotion/cache](https://github.com/emotion/cache)[@&#8203;11](https://github.com/11).10.0 - [@&#8203;emotion/serialize](https://github.com/emotion/serialize)[@&#8203;1](https://github.com/1).1.0 - [@&#8203;emotion/utils](https://github.com/emotion/utils)[@&#8203;1](https://github.com/1).2.0 - [@&#8203;emotion/weak-memoize](https://github.com/emotion/weak-memoize)[@&#8203;0](https://github.com/0).3.0 ### [`v11.9.3`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/styled%4011.9.3) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.9.0...@emotion/react@11.9.3) ##### Patch Changes - [#&#8203;2759](https://github.com/emotion-js/emotion/pull/2759) Thanks [@&#8203;srmagura](https://github.com/srmagura), [@&#8203;Andarist](https://github.com/Andarist)! - Change the argument of the `shouldForwardProp` option of `styled` from `PropertyKey` to `string` in the TypeScript definitions. - [#&#8203;2333](https://github.com/emotion-js/emotion/pull/2333) [`3055efdd`](https://github.com/emotion-js/emotion/commit/3055efddf8f9fb14b148fda466dcb4eb9affc525) Thanks [@&#8203;Andarist](https://github.com/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. - [#&#8203;2333](https://github.com/emotion-js/emotion/pull/2333) [`3055efdd`](https://github.com/emotion-js/emotion/commit/3055efddf8f9fb14b148fda466dcb4eb9affc525) Thanks [@&#8203;antongolub](https://github.com/antongolub)! - `FilteringStyledOptions` and `StyledOptions` types no longer require a type argument for the `Props` generic. - Updated dependencies \[[`26e4e3e8`](https://github.com/emotion-js/emotion/commit/26e4e3e8b68479f0e3cb8fbec723da47afd6ac98), [`5e81f213`](https://github.com/emotion-js/emotion/commit/5e81f213980e9ba2cfa35256476673b68d47fc33), [`3055efdd`](https://github.com/emotion-js/emotion/commit/3055efddf8f9fb14b148fda466dcb4eb9affc525)]: - [@&#8203;emotion/serialize](https://github.com/emotion/serialize)[@&#8203;1](https://github.com/1).0.4 - [@&#8203;emotion/is-prop-valid](https://github.com/emotion/is-prop-valid)[@&#8203;1](https://github.com/1).1.3 ### [`v11.9.0`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/react%4011.9.0) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.8.2...@emotion/react@11.9.0) ##### Patch Changes - [#&#8203;2700](https://github.com/emotion-js/emotion/pull/2700) [`d9357621`](https://github.com/emotion-js/emotion/commit/d935762131b1474f2474296ee4706f7ecd59b6dd) Thanks [@&#8203;arturmuller](https://github.com/arturmuller)! - Fixed a false positive warning for `content` properties that included `var()`. - Updated dependencies \[[`d9357621`](https://github.com/emotion-js/emotion/commit/d935762131b1474f2474296ee4706f7ecd59b6dd)]: - [@&#8203;emotion/serialize](https://github.com/emotion/serialize)[@&#8203;1](https://github.com/1).0.3 ### [`v11.8.2`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/react%4011.8.2) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.8.1...@emotion/react@11.8.2) ##### Patch Changes - [#&#8203;2677](https://github.com/emotion-js/emotion/pull/2677) [`ff3cb164`](https://github.com/emotion-js/emotion/commit/ff3cb16419b44578c7bab275dce7b5845b61db84) Thanks [@&#8203;Jack-Works](https://github.com/Jack-Works)! - Change `Global` component to use the `StyleSheet` constructor of the current `cache.sheet`. This is useful when `cache.sheet` is not the default implementation. Thanks to that the inner sheet constructed by `Global` can share the behavior with its "main" sheet that is hold by the `cache`. ### [`v11.8.1`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/styled%4011.8.1) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.8.0...@emotion/react@11.8.1) ##### Patch Changes - [#&#8203;2651](https://github.com/emotion-js/emotion/pull/2651) [`39ac5b99`](https://github.com/emotion-js/emotion/commit/39ac5b99483994a68fa2b51e23ad6c173f42f1c1) Thanks [@&#8203;Andarist](https://github.com/Andarist)! - Fixed a transpilation issue that caused `useInsertionEffect` to be referenced directly in the specifiers list of the import statement. This has caused build errors in the consuming tools since the import statement can only reference known exports of a module. ### [`v11.8.0`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/styled%4011.8.0) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.7.1...@emotion/react@11.8.0) ##### Minor Changes - [#&#8203;2600](https://github.com/emotion-js/emotion/pull/2600) [`2f27156a`](https://github.com/emotion-js/emotion/commit/2f27156a73f94c3aac82e4ed492cbfdc97225573) Thanks [@&#8203;Andarist](https://github.com/Andarist)! - Refactored code to use the upcoming `React.useInsertionEffect` when it's available (this is a new hook that is going to be introduced in React 18). This shouldn't have any effect on existing codebases and the change should be transparent. ##### Patch Changes - Updated dependencies \[[`d2531639`](https://github.com/emotion-js/emotion/commit/d25316393639232df16ba836b407e3678eea5e4d), [`2f27156a`](https://github.com/emotion-js/emotion/commit/2f27156a73f94c3aac82e4ed492cbfdc97225573)]: - [@&#8203;emotion/is-prop-valid](https://github.com/emotion/is-prop-valid)[@&#8203;1](https://github.com/1).1.2 - [@&#8203;emotion/utils](https://github.com/emotion/utils)[@&#8203;1](https://github.com/1).1.0 ### [`v11.7.1`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/react%4011.7.1) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.7.0...@emotion/react@11.7.1) ##### Patch Changes - [#&#8203;2577](https://github.com/emotion-js/emotion/pull/2577) [`04681a5f`](https://github.com/emotion-js/emotion/commit/04681a5f520b3e3909e567fda200622494dd333b) Thanks [@&#8203;Methuselah96](https://github.com/Methuselah96)! - Export `Keyframes` type to avoid TypeScript inserting `import("@&#8203;emotion/serialize").Keyframes` references into declaration files emitted based on a source files exporting `keyframes` result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies. - [#&#8203;2590](https://github.com/emotion-js/emotion/pull/2590) [`1554a7e2`](https://github.com/emotion-js/emotion/commit/1554a7e264e05780b2c5bd74ccb20a92005ba61d) Thanks [@&#8203;Andarist](https://github.com/Andarist)! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood. - Updated dependencies \[[`1554a7e2`](https://github.com/emotion-js/emotion/commit/1554a7e264e05780b2c5bd74ccb20a92005ba61d)]: - [@&#8203;emotion/cache](https://github.com/emotion/cache)[@&#8203;11](https://github.com/11).7.1 ### [`v11.7.0`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/react%4011.7.0) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.6.0...@emotion/react@11.7.0) ##### Patch Changes - [#&#8203;2534](https://github.com/emotion-js/emotion/pull/2534) [`57be9e8c`](https://github.com/emotion-js/emotion/commit/57be9e8cb20313bd2ed297a39c41ca0f0ca37ea8) Thanks [@&#8203;srmagura](https://github.com/srmagura)! - Changed the implementation of the runtime label extraction in elements using the css prop (that only happens in development) to one that should yield more consistent results across browsers. This fixes some minor issues with React reporting hydration mismatches that wouldn't happen in production. ### [`v11.6.0`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/styled%4011.6.0) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.5.0...@emotion/react@11.6.0) ##### Minor Changes - [#&#8203;2542](https://github.com/emotion-js/emotion/pull/2542) [`eb013d25`](https://github.com/emotion-js/emotion/commit/eb013d25722f4fd9af9acf699789bf6b8afac871) Thanks [@&#8203;eps1lon](https://github.com/eps1lon)! - Fixed hydration mismatches if `React.useId` (an upcoming API in React 18) is used within a tree below our components. ##### Patch Changes - Updated dependencies \[[`9861a18b`](https://github.com/emotion-js/emotion/commit/9861a18bbf4a9480fad7f21a833ddfcf814cc893)]: - [@&#8203;emotion/is-prop-valid](https://github.com/emotion/is-prop-valid)[@&#8203;1](https://github.com/1).1.1 ### [`v11.5.0`](https://github.com/emotion-js/emotion/releases/tag/%40emotion/react%4011.5.0) [Compare Source](https://github.com/emotion-js/emotion/compare/@emotion/react@11.4.1...@emotion/react@11.5.0) ##### Patch Changes - [#&#8203;2498](https://github.com/emotion-js/emotion/pull/2498) [`e5beae8e`](https://github.com/emotion-js/emotion/commit/e5beae8e320f3d1455e45efecdfeb7d757687a43) Thanks [@&#8203;Andarist](https://github.com/Andarist)! - Fixed an edge case issue with incorrect rules being generated. When a context selector (`&`) was used not at the beginning of a selector (which is not valid SCSS but is allowed by the Stylis parser that we are using) within a group of selectors containing a pseudoclass then it was not replaced correctly with the current context selector. - [#&#8203;2500](https://github.com/emotion-js/emotion/pull/2500) [`eda5e687`](https://github.com/emotion-js/emotion/commit/eda5e687c0bc4eddcafb243a2b1028296fb45cba) Thanks [@&#8203;Jarred-Sumner](https://github.com/Jarred-Sumner)! - Fix error loading [@&#8203;emotion/react](https://github.com/emotion/react) in alternative JS environments - Updated dependencies \[[`e5beae8e`](https://github.com/emotion-js/emotion/commit/e5beae8e320f3d1455e45efecdfeb7d757687a43), [`9ae4a91a`](https://github.com/emotion-js/emotion/commit/9ae4a91a08a6f7c5ca26a585f1c271a179db4623), [`f2eda829`](https://github.com/emotion-js/emotion/commit/f2eda8295429dd1892a06cbc9496321f2a55c10a)]: - [@&#8203;emotion/cache](https://github.com/emotion/cache)[@&#8203;11](https://github.com/11).5.0 - [@&#8203;emotion/sheet](https://github.com/emotion/sheet)[@&#8203;1](https://github.com/1).0.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDEuMTEiLCJ1cGRhdGVkSW5WZXIiOiIzMi4yNDEuMTEifQ==-->
kjuulh force-pushed renovate/emotion-monorepo from 0485292fdb to 5315ea8ee8 2022-10-26 17:21:38 +02:00 Compare
kjuulh force-pushed renovate/emotion-monorepo from 5315ea8ee8 to fddcc39c43 2022-10-26 18:58:17 +02:00 Compare
kjuulh force-pushed renovate/emotion-monorepo from fddcc39c43 to 27cf7f4f23 2022-10-26 19:53:39 +02:00 Compare
kjuulh force-pushed renovate/emotion-monorepo from 27cf7f4f23 to 5aad857d5f 2022-10-26 20:13:16 +02:00 Compare
kjuulh merged commit 5aad857d5f into main 2022-10-26 20:42:23 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: OpenFood/openfood#10
No description provided.