-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade paste to react 19 #4258
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
47ad1e1
feat(core): update react version to 19
PixeledCode 1b1bacf
feat(core): address TS errors
PixeledCode 30029e6
feat(core): update yarn lock
PixeledCode 7cf28df
feat(core): update button tests
PixeledCode 0bf4b3d
feat(core): format
PixeledCode abb7dd3
feat(core): import JSX type
PixeledCode 7620ea9
feat(core): format
PixeledCode 7c8214a
feat(core): update type docs
PixeledCode 97038cd
feat(website): update to next 15
PixeledCode 0df2ffb
feat(core): update package json of website
PixeledCode 7158061
feat(core): run codemod
PixeledCode 9144946
feat(core): update emotion
PixeledCode 9c77098
feat(core): replace ReactChild with ReactNode
PixeledCode 8fbeb19
feat(core): fix api path
PixeledCode 71cb06b
feat(core): replace css with style
PixeledCode 5f0f6cc
React 19 intersection (#4262)
PixeledCode d64c0e7
Merge branch 'main' into upgrade-react-19
PixeledCode e83002f
feat(core): update typedocs
PixeledCode 650d33e
feat(website): fix build
PixeledCode d883c1f
feat(button): fix reset button
PixeledCode 2efb751
feat(core): remove react 16 tests
PixeledCode c369526
feat(core): update doc
PixeledCode ac728e0
feat(core): update yarn file for tests
PixeledCode 00c3755
feat(core): update testing-library for react 18 tests
PixeledCode 9fe4d44
feat(core): update yarn file
PixeledCode af4404e
feat(core): update importd
PixeledCode d5bf0dc
feat(storybook): working stories (#4265)
krisantrobus 9f769c5
fix(types): add correct types for react 19 codemod changes (#4266)
krisantrobus 901184c
feat(core): remove react 16 from peer dependencies
PixeledCode 5ce4089
Merge branch 'main' into upgrade-react-19
PixeledCode 8b74e15
feat(core): add changeset
PixeledCode b35c968
Update changeset
PixeledCode d10bb6c
feat(core): update changeset
PixeledCode File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
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,120 @@ | ||
--- | ||
"@twilio-paste/account-switcher": major | ||
"@twilio-paste/ai-chat-log": major | ||
"@twilio-paste/alert": major | ||
"@twilio-paste/alert-dialog": major | ||
"@twilio-paste/anchor": major | ||
"@twilio-paste/avatar": major | ||
"@twilio-paste/badge": major | ||
"@twilio-paste/base-radio-checkbox": major | ||
"@twilio-paste/blockquote": major | ||
"@twilio-paste/breadcrumb": major | ||
"@twilio-paste/button": major | ||
"@twilio-paste/button-group": major | ||
"@twilio-paste/callout": major | ||
"@twilio-paste/card": major | ||
"@twilio-paste/chart-provider": major | ||
"@twilio-paste/chat-composer": major | ||
"@twilio-paste/chat-log": major | ||
"@twilio-paste/checkbox": major | ||
"@twilio-paste/code-block": major | ||
"@twilio-paste/combobox": major | ||
"@twilio-paste/corner-ornament": major | ||
"@twilio-paste/data-grid": major | ||
"@twilio-paste/date-picker": major | ||
"@twilio-paste/description-list": major | ||
"@twilio-paste/detail-text": major | ||
"@twilio-paste/disclosure": major | ||
"@twilio-paste/display-heading": major | ||
"@twilio-paste/display-pill-group": major | ||
"@twilio-paste/editable-code-block": major | ||
"@twilio-paste/example-text": major | ||
"@twilio-paste/file-picker": major | ||
"@twilio-paste/file-uploader": major | ||
"@twilio-paste/form": major | ||
"@twilio-paste/form-pill-group": major | ||
"@twilio-paste/heading": major | ||
"@twilio-paste/help-text": major | ||
"@twilio-paste/in-page-navigation": major | ||
"@twilio-paste/inline-code": major | ||
"@twilio-paste/inline-control-group": major | ||
"@twilio-paste/input": major | ||
"@twilio-paste/input-box": major | ||
"@twilio-paste/keyboard-key": major | ||
"@twilio-paste/label": major | ||
"@twilio-paste/list": major | ||
"@twilio-paste/menu": major | ||
"@twilio-paste/meter": major | ||
"@twilio-paste/minimizable-dialog": major | ||
"@twilio-paste/modal": major | ||
"@twilio-paste/page-header": major | ||
"@twilio-paste/pagination": major | ||
"@twilio-paste/paragraph": major | ||
"@twilio-paste/popover": major | ||
"@twilio-paste/product-switcher": major | ||
"@twilio-paste/progress-bar": major | ||
"@twilio-paste/progress-steps": major | ||
"@twilio-paste/radio-button-group": major | ||
"@twilio-paste/radio-group": major | ||
"@twilio-paste/screen-reader-only": major | ||
"@twilio-paste/select": major | ||
"@twilio-paste/separator": major | ||
"@twilio-paste/side-modal": major | ||
"@twilio-paste/side-panel": major | ||
"@twilio-paste/sidebar": major | ||
"@twilio-paste/skeleton-loader": major | ||
"@twilio-paste/slider": major | ||
"@twilio-paste/spinner": major | ||
"@twilio-paste/status": major | ||
"@twilio-paste/summary-detail": major | ||
"@twilio-paste/switch": major | ||
"@twilio-paste/table": major | ||
"@twilio-paste/tabs": major | ||
"@twilio-paste/textarea": major | ||
"@twilio-paste/time-picker": major | ||
"@twilio-paste/timeline": major | ||
"@twilio-paste/toast": major | ||
"@twilio-paste/tooltip": major | ||
"@twilio-paste/topbar": major | ||
"@twilio-paste/truncate": major | ||
"@twilio-paste/user-dialog": major | ||
"@twilio-paste/visual-picker": major | ||
"@twilio-paste/core": major | ||
"@twilio-paste/aspect-ratio": major | ||
"@twilio-paste/flex": major | ||
"@twilio-paste/grid": major | ||
"@twilio-paste/media-object": major | ||
"@twilio-paste/stack": major | ||
"@twilio-paste/box": major | ||
"@twilio-paste/combobox-primitive": major | ||
"@twilio-paste/disclosure-primitive": major | ||
"@twilio-paste/listbox-primitive": major | ||
"@twilio-paste/menu-primitive": major | ||
"@twilio-paste/modal-dialog-primitive": major | ||
"@twilio-paste/non-modal-dialog-primitive": major | ||
"@twilio-paste/sibling-box": major | ||
"@twilio-paste/tabs-primitive": major | ||
"@twilio-paste/text": major | ||
"@twilio-paste/tooltip-primitive": major | ||
"@twilio-paste/customization": major | ||
"@twilio-paste/icons": major | ||
"@twilio-paste/animation-library": major | ||
"@twilio-paste/clipboard-copy-library": major | ||
"@twilio-paste/code-editor-library": major | ||
"@twilio-paste/data-visualization-library": major | ||
"@twilio-paste/dropdown-library": major | ||
"@twilio-paste/lexical-library": major | ||
"@twilio-paste/react-spectrum-library": major | ||
"@twilio-paste/react-textarea-autosize-library": major | ||
"@twilio-paste/reakit-library": major | ||
"@twilio-paste/styling-library": major | ||
"@twilio-paste/syntax-highlighter-library": major | ||
"@twilio-paste/uid-library": major | ||
"@twilio-paste/style-props": major | ||
"@twilio-paste/theme": major | ||
"@twilio-paste/types": major | ||
"@twilio-paste/utils": major | ||
"@twilio-paste/token-contrast-checker": major | ||
--- | ||
|
||
[all packages]: Upgrade to React 19 and drop support for React 16. Paste only supports the three latest versions of React. If you're using Paste in a React 17, 18, or 19 app, you should be able to upgrade with full backwards compatibility. If you experience any issues, please let us know on Github. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,4 +99,4 @@ cypress/downloads | |
out | ||
.vscode-test | ||
|
||
.nx/cache | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. after rebuilding some directory other than cache was being added in git |
||
.nx |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
- [Build system packages](#build-system-packages) | ||
- [Type Check](#type-check) | ||
- [Lint](#lint) | ||
- [Test React 18](#test-react-18) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. praise: yay documentation! 👏 |
||
- [Test React 17](#test-react-17) | ||
- [Test React 16](#test-react-16) | ||
- [Code formatting checks](#code-formatting-checks) | ||
- [Categorize the PR using labels](#categorize-the-pr-using-labels) | ||
- [Danger checks](#danger-checks) | ||
|
@@ -47,13 +47,13 @@ This job downloads the build cache of the monorepo, and then runs the Typescript | |
|
||
This job downloads the build cache of the monorepo, and then runs ESLint. | ||
|
||
### Test React 17 | ||
### Test React 18 | ||
|
||
This job downloads the build cache of the monorepo, and then runs our Jest test suite using React 17. | ||
This job downloads the build cache of the monorepo, and then runs our Jest test suite using React 18. | ||
|
||
### Test React 16 | ||
### Test React 17 | ||
|
||
This job downloads the build cache of the monorepo, and then runs our Jest test suite using React 16. | ||
This job downloads the build cache of the monorepo, and then runs our Jest test suite using React 17. | ||
|
||
### Code formatting checks | ||
|
||
|
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.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed this since react 18 works with latest version of
@testing-library/react