Skip to content

Commit fd60b5d

Browse files
authored
fix(styled): extending imported components (fixes #1378) (#1405)
* fix(styled): extending imported components (fixes #1378) * fix(styled): extending imported components (fixes #1378)
1 parent 16cbd2b commit fd60b5d

File tree

16 files changed

+204
-155
lines changed

16 files changed

+204
-155
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@linaria/react': minor
3+
---
4+
5+
Fix for extending imported component #1378

examples/astro-solid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@astrojs/solid-js": "^1.2.3",
99
"@babel/core": "^7.23.5",
1010
"@linaria/core": "workspace:^",
11-
"@wyw-in-js/vite": "^0.4.0",
11+
"@wyw-in-js/vite": "^0.5.3",
1212
"astro": "^1.6.10",
1313
"solid-js": "^1.6.2",
1414
"vite": "^3",

examples/esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"linaria-website": "workspace:^"
88
},
99
"devDependencies": {
10-
"@wyw-in-js/esbuild": "^0.4.0",
10+
"@wyw-in-js/esbuild": "^0.5.3",
1111
"esbuild": "^0.15.16"
1212
},
1313
"scripts": {

examples/rollup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"devDependencies": {
1010
"@babel/core": "^7.23.5",
1111
"@babel/preset-react": "^7.23.3",
12-
"@wyw-in-js/rollup": "^0.4.0",
1312
"@rollup/plugin-babel": "^6.0.3",
1413
"@rollup/plugin-commonjs": "^25.0.4",
1514
"@rollup/plugin-image": "^3.0.2",
1615
"@rollup/plugin-node-resolve": "^15.2.1",
16+
"@wyw-in-js/rollup": "^0.5.3",
1717
"rollup": "^3.11.0",
1818
"rollup-plugin-css-only": "^4.3.0"
1919
},

examples/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"linaria-website": "workspace:^"
1010
},
1111
"devDependencies": {
12-
"@wyw-in-js/vite": "^0.4.0",
1312
"@rollup/plugin-node-resolve": "^15.2.1",
1413
"@vitejs/plugin-react": "^2.1.0",
14+
"@wyw-in-js/vite": "^0.5.3",
1515
"vite": "^3.2.10"
1616
},
1717
"scripts": {

examples/webpack5/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"devDependencies": {
1111
"@babel/core": "^7.23.5",
12-
"@wyw-in-js/webpack-loader": "^0.4.0",
12+
"@wyw-in-js/webpack-loader": "^0.5.3",
1313
"babel-loader": "^9.1.0",
1414
"cross-env": "^7.0.3",
1515
"css-hot-loader": "^1.4.4",

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
"@typescript-eslint/experimental-utils": "^4.28.0",
3939
"git-raw-commits": "^2.0.3"
4040
},
41-
"dependencies": {
42-
"git-raw-commits": "^2.0.3"
43-
},
41+
"dependencies": {},
4442
"devDependencies": {
4543
"@babel/cli": "^7.23.4",
4644
"@babel/core": "^7.23.5",
@@ -55,6 +53,7 @@
5553
"@definitelytyped/dtslint": "^0.0.176",
5654
"@types/jest": "^28.1.0",
5755
"@types/node": "^17.0.39",
56+
"@types/resolve": "^1.20.6",
5857
"@typescript-eslint/eslint-plugin": "^6.6.0",
5958
"@typescript-eslint/parser": "^6.6.0",
6059
"all-contributors-cli": "^6.20.0",
@@ -72,6 +71,7 @@
7271
"eslint-plugin-prettier": "^5.0.0",
7372
"eslint-plugin-react": "^7.33.2",
7473
"eslint-plugin-react-hooks": "^4.6.0",
74+
"git-raw-commits": "^2.0.3",
7575
"husky": "^1.3.1",
7676
"jest": "^29.6.2",
7777
"prettier": "^3.0.3",
@@ -84,5 +84,6 @@
8484
"engines": {
8585
"node": ">=16.0.0",
8686
"pnpm": "^8.0.0"
87-
}
87+
},
88+
"packageManager": "[email protected]+sha256.50783dd0fa303852de2dd1557cd4b9f07cb5b018154a6e76d0f40635d6cee019"
8889
}

packages/atomic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
"dependencies": {
5252
"@linaria/core": "workspace:^",
5353
"@linaria/react": "workspace:^",
54-
"@wyw-in-js/processor-utils": "^0.4.0",
55-
"@wyw-in-js/shared": "^0.4.0",
54+
"@wyw-in-js/processor-utils": "^0.5.3",
55+
"@wyw-in-js/shared": "^0.5.3",
5656
"known-css-properties": "^0.24.0",
5757
"postcss": "^8.4.31",
5858
"stylis": "^4.3.0",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"watch": "pnpm build:dist --watch & pnpm build:declarations --watch"
5959
},
6060
"dependencies": {
61-
"@wyw-in-js/processor-utils": "^0.4.0"
61+
"@wyw-in-js/processor-utils": "^0.5.3"
6262
},
6363
"devDependencies": {
6464
"@babel/traverse": "^7.23.5",

packages/react/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@
6060
"dependencies": {
6161
"@emotion/is-prop-valid": "^1.2.0",
6262
"@linaria/core": "workspace:^",
63-
"@wyw-in-js/processor-utils": "^0.4.0",
64-
"@wyw-in-js/shared": "^0.4.0",
63+
"@wyw-in-js/processor-utils": "^0.5.3",
64+
"@wyw-in-js/shared": "^0.5.3",
6565
"minimatch": "^9.0.3",
6666
"react-html-attributes": "^1.4.6",
67+
"resolve": "^1.22.8",
6768
"ts-invariant": "^0.10.3"
6869
},
6970
"devDependencies": {

0 commit comments

Comments
 (0)