Skip to content

Commit

Permalink
Revert "Upgrade styled-components to v5 (#3397)"
Browse files Browse the repository at this point in the history
This reverts commit 397938d.
  • Loading branch information
joshblack committed Jul 27, 2023
1 parent a90350c commit 452d96b
Show file tree
Hide file tree
Showing 31 changed files with 6,392 additions and 4,877 deletions.
7 changes: 0 additions & 7 deletions .changeset/proud-rules-develop.md

This file was deleted.

244 changes: 161 additions & 83 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"@styled-system/props": "^5.1.5",
"@styled-system/theme-get": "^5.1.2",
"@types/react-is": "^18.2.1",
"@types/styled-components": "5.1.26",
"@types/styled-components": "^5.1.11",
"@types/styled-system": "^5.1.12",
"@types/styled-system__css": "^5.0.16",
"@types/styled-system__theme-get": "^5.0.1",
Expand Down Expand Up @@ -185,7 +185,7 @@
"babel-plugin-dev-expression": "0.2.3",
"babel-plugin-macros": "3.1.0",
"babel-plugin-open-source": "1.3.4",
"babel-plugin-styled-components": "2.1.3",
"babel-plugin-styled-components": "2.1.1",
"babel-plugin-transform-replace-expressions": "0.2.0",
"babel-polyfill": "6.26.0",
"change-case": "4.1.2",
Expand Down Expand Up @@ -217,7 +217,7 @@
"jest-environment-jsdom": "29.4.3",
"jest-fail-on-console": "3.1.1",
"jest-matchmedia-mock": "1.1.0",
"jest-styled-components": "7.1.1",
"jest-styled-components": "6.3.4",
"jest-watch-typeahead": "2.2.2",
"jscodeshift": "0.14.0",
"lint-staged": "13.2.2",
Expand Down Expand Up @@ -249,8 +249,7 @@
"size-limit": "8.2.4",
"storybook": "7.1.0",
"storybook-addon-turbo-build": "2.0.1",
"storybook-css-modules": "1.0.8",
"styled-components": "5.3.11",
"styled-components": "4.4.1",
"terser": "5.17.6",
"ts-node": "10.9.1",
"ts-toolbelt": "9.6.0",
Expand Down
1 change: 1 addition & 0 deletions src/CounterLabel/CounterLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const CounterLabel = forwardRef<HTMLSpanElement, CounterLabelProps>(
)}
{...props}
as="span"
// @ts-expect-error Box is expecting a divelement, but this component forces a span element
ref={forwardedRef}
>
{children}
Expand Down

0 comments on commit 452d96b

Please sign in to comment.