-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(emotion): Upgrade emotion to v10 #15106
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f6bcc85
ref(ui): Refactor `cx` from emotion to `classnames`
billyvg 87269e3
upgrade emotion, add styled wrapper for typings (and related paths), …
billyvg e47d1ca
Refactor usage of emotion `css` being treated as a class name string
billyvg e136ae5
change innerRef --> ref
billyvg 3087993
eslint for emotion-setup
billyvg f37a3c4
refactor injectGlobal --> Global for emotion upgrade
billyvg 457b836
Add <CacheProvider>, this is needed to turn speedy off for percy
billyvg 51c9455
refactor <HeaderItem> - fix missing props to styled components, remov…
billyvg ad42316
Change <Tooltip> logic for when to apply a wrapper, emotion causes th…
billyvg 3e0a699
random TS fixes for styled components
billyvg 666e39e
fix <RadioGroup> animation needing `css`
billyvg 134727d
forwardRef for Switch
billyvg 2315cbe
define a `theme.space` for rebass/grid
billyvg 3cbc1be
fix DOM attribute warnings with "loading" prop
billyvg 2908aa0
change <ProviderRow> to remove `Flex` around CircleIndicator as it wa…
billyvg f2400ca
css fixes for percy
billyvg c5393cb
fix settings breadcrumb - Box in `reflexbox` has different CSS than g…
billyvg e14d510
fix featureDisabled logic for custom alerts because emotion
billyvg 5cb4165
refactor grid-emotion props and update to `reflexbox`
billyvg 6fcc93a
refactor emotion9 --> emotion10 (imports)
billyvg c539551
update snapshots and fix tests
billyvg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,5 @@ | ||
// TODO(ts): Figure out why eslint chokes on this import | ||
import styled, {CreateStyled} from '@original-emotion/styled'; // eslint-disable-line import/named | ||
import theme from './utils/theme'; | ||
|
||
export default styled as CreateStyled<typeof theme>; |
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.