Skip to content

Commit

Permalink
chore: upgrade styled-components to latest v5
Browse files Browse the repository at this point in the history
  • Loading branch information
haideralsh committed Nov 13, 2023
1 parent f8ff589 commit 51bbd00
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 66 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"semantic-release": "^17.2.1",
"source-map-loader": "^1.0.1",
"storybook-addon-performance": "^0.17.1",
"styled-components": "^6.1.0",
"styled-components": "^5.3.11",
"svg-sprite-loader": "^6.0.11",
"ts-jest": "^26.1.1",
"typescript": "4.9.5",
Expand Down
3 changes: 1 addition & 2 deletions src/BrandedNavBar/NavBar.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import theme from "../theme";
import { Button } from "../Button";
import { Text } from "../Type";
import { BrandedNavBar as NDSBrandedNavBar } from "./index";
import { devDependencies } from "../../package.json";

const sampleLogo = "http://pigment.github.io/fake-logos/logos/vector/color/auto-speed.svg";

Expand All @@ -25,7 +24,7 @@ const BrandedNavBar = (props) => (
<ResetStorybookView>
<NDSBrandedNavBar {...props} />
<Heading1 mt="x3" ml="x1">
<pre>styled-components version: {devDependencies["styled-components"]}</pre>
Some content
</Heading1>
</ResetStorybookView>
);
Expand Down
Loading

0 comments on commit 51bbd00

Please sign in to comment.