forked from styled-components/styled-components-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update mdx (styled-components#917)
* chore: update mdx * chore: other upgrades * chore: update test snaps
- Loading branch information
Showing
87 changed files
with
1,482 additions
and
1,455 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
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 |
---|---|---|
|
@@ -16,9 +16,9 @@ | |
"postinstall": "husky install" | ||
}, | ||
"dependencies": { | ||
"@mdx-js/loader": "^1.6.22", | ||
"@mdx-js/mdx": "^1.6.22", | ||
"@mdx-js/react": "^1.6.22", | ||
"@mdx-js/loader": "^2.3.0", | ||
"@mdx-js/mdx": "^2.3.0", | ||
"@mdx-js/react": "^2.3.0", | ||
"@next/mdx": "^12.3.4", | ||
"@styled-icons/boxicons-regular": "^10.47.0", | ||
"@styled-icons/fa-brands": "^10.47.0", | ||
|
@@ -37,17 +37,17 @@ | |
"react-is": "^17.0.2", | ||
"react-live-runner": "^1.0.5", | ||
"react-transition-group": "^4.4.5", | ||
"styled-components": "beta", | ||
"styled-components": "^6.0.0-rc.2", | ||
"styled-theming": "^2.2.0", | ||
"stylis": "^4", | ||
"stylis-plugin-rtl": "^2" | ||
"stylis": "^4.2.0", | ||
"stylis-plugin-rtl": "^2.1.1" | ||
}, | ||
"devDependencies": { | ||
"@types/enzyme": "^3.10.12", | ||
"@types/jest": "^29.5.0", | ||
"@types/mdx": "^2.0.4", | ||
"@types/node": "^18.15.11", | ||
"@types/react": "^17.0.56", | ||
"@types/enzyme": "^3.10.13", | ||
"@types/jest": "^29.5.1", | ||
"@types/mdx": "^2.0.5", | ||
"@types/node": "^18.16.14", | ||
"@types/react": "^17.0.59", | ||
"@types/webpack-bundle-analyzer": "^4.6.0", | ||
"@types/zeit__next-source-maps": "^0.0.2", | ||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7", | ||
|
@@ -57,12 +57,13 @@ | |
"jest": "^29.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"jest-styled-components": "^7.1.1", | ||
"lint-staged": "^13.2.0", | ||
"prettier": "^2.8.7", | ||
"lint-staged": "^13.2.2", | ||
"prettier": "^2.8.8", | ||
"react-test-renderer": "^17.0.2", | ||
"remark-gfm": "^3.0.1", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^29.1.0", | ||
"typescript": "^5.0.3", | ||
"typescript": "^5.0.4", | ||
"webpack-bundle-analyzer": "^4.8.0" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
import CSS from './css.mdx' | ||
import Keyframes from './keyframes.mdx' | ||
import IsStyledComponent from './is-styled-component.mdx' | ||
import WithTheme from './with-theme.mdx' | ||
import CreateGlobalStyle from './create-global-style.mdx' | ||
import ThemeConsumer from './theme-consumer.mdx' | ||
import StyleSheetManager from './style-sheet-manager.mdx' | ||
import UseTheme from './use-theme.mdx' | ||
|
||
## Helpers | ||
|
||
<CreateGlobalStyle /> | ||
|
||
<CSS /> | ||
|
||
<Keyframes /> | ||
|
||
<StyleSheetManager /> | ||
|
||
<IsStyledComponent /> | ||
|
||
<WithTheme /> | ||
|
||
<UseTheme /> | ||
|
||
<ThemeConsumer /> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
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 @@ | ||
import Extend from './extend.mdx' | ||
import InjectGlobal from './inject-global.mdx' | ||
import InnerRef from './inner-ref.mdx' | ||
|
||
## Previous APIs | ||
|
||
<Extend /> | ||
|
||
<InjectGlobal /> | ||
|
||
<InnerRef /> |
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
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,17 @@ | ||
import Styled from './styled.mdx' | ||
import TaggedTemplateLiteral from './tagged-template-literal.mdx' | ||
import StyledComponent from './styled-component.mdx' | ||
import ThemeProvider from './theme-provider.mdx' | ||
import CssProp from './css-prop.mdx' | ||
|
||
## Primary | ||
|
||
<Styled /> | ||
|
||
<TaggedTemplateLiteral /> | ||
|
||
<StyledComponent /> | ||
|
||
<ThemeProvider /> | ||
|
||
<CssProp /> |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.