-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
42 additions
and
60 deletions.
There are no files selected for viewing
9 changes: 3 additions & 6 deletions
9
packages/styled-jsx/transform/tests/errors/nested-style-tags/output-lightningcss.stderr
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
9 changes: 3 additions & 6 deletions
9
packages/styled-jsx/transform/tests/errors/nested-style-tags/output-swc.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/errors/no-child/output-lightningcss.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/errors/no-child/output-swc.stderr
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
1 change: 0 additions & 1 deletion
1
packages/styled-jsx/transform/tests/errors/ts-with-css-resolve/output-lightningcss.stderr
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
x /some-project/src/some-file.ts uses `css.resolve`, but ends with `.ts`. The file extension needs to be `.tsx` so that the jsx injected by `css.resolve` will be transformed. |
1 change: 0 additions & 1 deletion
1
packages/styled-jsx/transform/tests/errors/ts-with-css-resolve/output-swc.stderr
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
x /some-project/src/some-file.ts uses `css.resolve`, but ends with `.ts`. The file extension needs to be `.tsx` so that the jsx injected by `css.resolve` will be transformed. |
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/errors/two-children/output-lightningcss.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/errors/two-children/output-swc.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/errors/wrong-child-type/output-lightningcss.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/errors/wrong-child-type/output-swc.stderr
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
3 changes: 1 addition & 2 deletions
3
...es/styled-jsx/transform/tests/errors/wrong-jsx-expression-type/output-lightningcss.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/errors/wrong-jsx-expression-type/output-swc.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/fixture/next-65066/output.lightningcss.stderr
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
3 changes: 1 addition & 2 deletions
3
packages/styled-jsx/transform/tests/fixture/next-65066/output.swc.stderr
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
4 changes: 2 additions & 2 deletions
4
packages/styled-jsx/transform/tests/fixture/pack-2714/output.lightningcss.js
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import _JSXStyle from "styled-jsx/style"; | ||
const { className: cardClassName, styles } = { | ||
styles: <_JSXStyle id={"a1e91057ca36c79d"}>{`.jsx-a1e91057ca36c79d:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}</_JSXStyle>, | ||
className: "jsx-a1e91057ca36c79d" | ||
styles: <_JSXStyle id={"d662e9d5783da781"}>{`.jsx-d662e9d5783da781:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}</_JSXStyle>, | ||
className: "jsx-d662e9d5783da781" | ||
}; |
4 changes: 2 additions & 2 deletions
4
packages/styled-jsx/transform/tests/fixture/pack-2714/output.swc.js
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import _JSXStyle from "styled-jsx/style"; | ||
const { className: cardClassName, styles } = { | ||
styles: <_JSXStyle id={"a1e91057ca36c79d"}>{`.jsx-a1e91057ca36c79d:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}</_JSXStyle>, | ||
className: "jsx-a1e91057ca36c79d" | ||
styles: <_JSXStyle id={"d662e9d5783da781"}>{`.jsx-d662e9d5783da781:hover{z-index:${hoverAnimation ? "1" : "auto"}}`}</_JSXStyle>, | ||
className: "jsx-d662e9d5783da781" | ||
}; |
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