-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(monorepo): upgrade emotion from v10 to v11 (#2376)
* chore(styling-library): updated emotion deps * chore(storybook): add webpack alias resolutions for emotion * chore(monorepo): update jest emotion matcher args * chore(monorepo): fix eslint config * chore(monorepo): update types in box primitive * chore(monorepo): udpate changeset and update box tests * chore(monorepo): add more context to babel preset comments * chore(monorepo): clean install * chore(monorepo): update changesets * chore(monorepo): add modal changeset * chore(monorepo): add changeset for text area * chore(monorepo): remove rogue console.log statement * chore(monorepo): bump styling library update to a major upgrade * chore(monorepo): split box and text changeset as well as cleanup * chore(emotion): re-trigger netlify
- Loading branch information
Showing
87 changed files
with
1,238 additions
and
1,067 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/modal': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Modal] Remove comment for obsolete ESLint rule. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/text': minor | ||
'@twilio-paste/core': minor | ||
--- | ||
|
||
[Text] Update tests to account for `stylis` parser change in jest emotion matchers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/box': minor | ||
'@twilio-paste/core': minor | ||
--- | ||
|
||
[Box] Small updates to usage of `styled` to create the `Box` component. Small type updates (to adopt utility types). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
'@twilio-paste/styling-library': major | ||
'@twilio-paste/core': major | ||
--- | ||
|
||
[Styling Library] Upgrade to Emotion v11 | ||
|
||
- replace `@emotion/core` with `@emotion/react` | ||
- bump `@emotion/styled` to v11 | ||
- remove `emotion`, remove `emotion-themeing` | ||
- both packages now included with `@emotion/react` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/sibling-box': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Sibling Box] Remove obsolete eslint ignore statement; cosmetic change only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/theme': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Theme] Small edit to cased named imports and usage of `keyof` in types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/textarea': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Textarea] Remove comment for obsolete lint rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import type { GenericThemeShape } from '@twilio-paste/theme'; | ||
import type { EmotionMatchers } from 'jest-emotion' | ||
import type { EmotionMatchers } from '@emotion/jest'; | ||
|
||
declare global { | ||
const TestTheme: GenericThemeShape; | ||
} | ||
|
||
declare module 'jest-emotion' { | ||
interface Jest { | ||
JestMatchers: EmotionMatchers; | ||
} | ||
declare module '@emotion/jest' { | ||
interface Jest { | ||
JestMatchers: EmotionMatchers; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.