Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed May 24, 2022
1 parent a0d231f commit dde647f
Show file tree
Hide file tree
Showing 29 changed files with 45 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export default (()=><div >

</style>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export default (()=><div >

</style>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ export default (()=><div >

</style>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ export default (()=><div >

</style>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ const a = ()=><div >

<style >{'woot'}</style>

</div>
;
</div>;
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export const Test1 = ()=><div className={`jsx-${styles2.__hash} jsx-${styles.__h

<_JSXStyle id={styles2.__hash}>{styles2}</_JSXStyle>

</div>
;
</div>;
// external and static
export const Test2 = ()=><div className={"jsx-81a68341e430a972 " + `jsx-${styles.__hash}`}>

Expand All @@ -21,8 +20,7 @@ export const Test2 = ()=><div className={"jsx-81a68341e430a972 " + `jsx-${styles

<_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>

</div>
;
</div>;
// external and dynamic
export const Test3 = ({ color })=><div className={`jsx-${styles.__hash}` + " " + _JSXStyle.dynamic([
[
Expand All @@ -48,8 +46,7 @@ export const Test3 = ({ color })=><div className={`jsx-${styles.__hash}` + " "

<_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>

</div>
;
</div>;
// external, static and dynamic
export const Test4 = ({ color })=><div className={`jsx-${styles.__hash}` + " jsx-ceba8c9ce34e3d0c " + _JSXStyle.dynamic([
[
Expand Down Expand Up @@ -77,8 +74,7 @@ export const Test4 = ({ color })=><div className={`jsx-${styles.__hash}` + " js

<_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>

</div>
;
</div>;
// static only
export const Test5 = ()=><div className={"jsx-df0159ebd3f9fb6f"}>

Expand All @@ -88,8 +84,7 @@ export const Test5 = ()=><div className={"jsx-df0159ebd3f9fb6f"}>

<_JSXStyle id={"81a68341e430a972"}>{"p.jsx-df0159ebd3f9fb6f{color:red}"}</_JSXStyle>

</div>
;
</div>;
// static and dynamic
export const Test6 = ({ color })=><div className={"jsx-ceba8c9ce34e3d0c " + _JSXStyle.dynamic([
[
Expand All @@ -115,8 +110,7 @@ export const Test6 = ({ color })=><div className={"jsx-ceba8c9ce34e3d0c " + _JS
color
]}>{`p.__jsx-style-dynamic-selector{color:${color}}`}</_JSXStyle>

</div>
;
</div>;
// dynamic only
export const Test7 = ({ color })=><div className={_JSXStyle.dynamic([
[
Expand All @@ -140,8 +134,7 @@ export const Test7 = ({ color })=><div className={_JSXStyle.dynamic([
color
]}>{`p.__jsx-style-dynamic-selector{color:${color}}`}</_JSXStyle>

</div>
;
</div>;
// dynamic with scoped compound variable
export const Test8 = ({ color })=>{
if (color) {
Expand Down Expand Up @@ -210,8 +203,7 @@ export const Test10 = ()=><div className={"jsx-cbdf2f44af4108bd"}>

<_JSXStyle id={"cbdf2f44af4108bd"}>{`p.jsx-cbdf2f44af4108bd{color:${foo}}`}</_JSXStyle>

</div>
;
</div>;
// dynamic with complex scope
export const Test11 = ({ color })=>{
const items = Array.from({
Expand All @@ -231,7 +223,6 @@ export const Test11 = ({ color })=>{

Item #{i + 1}

</li>
);
</li>);
return <ul className="items">{items}</ul>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ const Test = ()=><div className={"jsx-a9535d7d5f32c3c4"}>

<_JSXStyle id={"a9535d7d5f32c3c4"}>{"span.jsx-a9535d7d5f32c3c4{color:red}"}</_JSXStyle>

</div>
;
</div>;
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ export default (({ children })=><div className={`jsx-${styles.__hash}`}>

<_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>

</div>
);
</div>);
const styles = new String("p.jsx-556239d258b6d66a{color:red}");
styles.__hash = "556239d258b6d66a";
class Test extends React.Component {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,18 @@ const A = ()=><div className={"jsx-498d4e86e548e679"}>

<_JSXStyle id={"498d4e86e548e679"}>{`p.jsx-498d4e86e548e679{color:${color}}`}</_JSXStyle>

</div>
;
</div>;
const B = ()=><div className={"jsx-d051a1c8140076ed"}>

<p className={"jsx-d051a1c8140076ed"}>test</p>

<_JSXStyle id={"d051a1c8140076ed"}>{`p.jsx-d051a1c8140076ed{color:${otherColor}}`}</_JSXStyle>

</div>
;
</div>;
export default (()=><div >

<A />

<B />

</div>
);
</div>);
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import _JSXStyle from "next/dist/shared/lib/styled-jsx";
const darken = (c)=>c
;
const darken = (c)=>c;
const color = 'red';
const otherColor = 'green';
const mediumScreen = '680px';
Expand Down Expand Up @@ -89,5 +88,4 @@ export default (({ display })=><div className={"jsx-ee922fe7eac00c5e " + _JSXSt

{}

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ export default (()=><div >

<_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ export default (()=><div className={`jsx-${styles.__hash}`}>

<_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export default (()=><div className={"jsx-bee92b62eadf8a14 " + `jsx-${styles.__ha

<_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>

</div>
);
</div>);
export const Test = ()=><div className={"jsx-bee92b62eadf8a14 " + `jsx-${styles3.__hash}`}>

<p className={"jsx-bee92b62eadf8a14 " + `jsx-${styles3.__hash}` + " " + "foo"}>test</p>
Expand All @@ -32,5 +31,4 @@ export const Test = ()=><div className={"jsx-bee92b62eadf8a14 " + `jsx-${styles3

<_JSXStyle id={"bee92b62eadf8a14"}>{"p.jsx-bee92b62eadf8a14{color:red}div.jsx-bee92b62eadf8a14{color:green}"}</_JSXStyle>

</div>
;
</div>;
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export default (()=><>

<_JSXStyle id={"6dd5f97e085c0297"}>{"p.jsx-6dd5f97e085c0297{color:cyan}.foo.jsx-6dd5f97e085c0297{font-size:18px;color:hotpink}#head.jsx-6dd5f97e085c0297{text-decoration:underline}"}</_JSXStyle>

</>
);
</>);
function Component1() {
return <>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ const Test = ()=><div className={"jsx-5a206f122d1cb32e"}>

<_JSXStyle id={"5a206f122d1cb32e"}>{"div.jsx-5a206f122d1cb32e>span{color:red}"}</_JSXStyle>

</div>
;
</div>;
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ const Test = ()=><div className={"jsx-d47d6adadf14e957"}>

<_JSXStyle id={"d47d6adadf14e957"}>{"body{color:red}:hover{color:red;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-animation:foo 1s ease-out;-moz-animation:foo 1s ease-out;-o-animation:foo 1s ease-out;animation:foo 1s ease-out}div a{display:none}[data-test]>div{color:red}"}</_JSXStyle>

</div>
;
const Test2 = ()=><_JSXStyle id={"94239b6d6b42c9b5"}>{"p{color:red}"}</_JSXStyle>
;
</div>;
const Test2 = ()=><_JSXStyle id={"94239b6d6b42c9b5"}>{"p{color:red}"}</_JSXStyle>;
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ export default (({ breakPoint })=><div className={_JSXStyle.dynamic([
breakPoint
]}>{`@media(${breakPoint}){}`}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import _JSXStyle from "next/dist/shared/lib/styled-jsx";
const Test = ()=><_JSXStyle id={"94239b6d6b42c9b5"}>{"p{color:red}"}</_JSXStyle>
;
const Test = ()=><_JSXStyle id={"94239b6d6b42c9b5"}>{"p{color:red}"}</_JSXStyle>;
export default (()=><div className={"jsx-3822e6e1fb9fa41a"}>

<p className={"jsx-3822e6e1fb9fa41a"}>test</p>
Expand All @@ -9,5 +8,4 @@ export default (()=><div className={"jsx-3822e6e1fb9fa41a"}>

<_JSXStyle id={"94239b6d6b42c9b5"}>{"p.jsx-3822e6e1fb9fa41a{color:red}"}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,15 @@ const Test1 = ()=><div className={"jsx-a9535d7d5f32c3c4"}>

<_JSXStyle id={"a9535d7d5f32c3c4"}>{"span.jsx-a9535d7d5f32c3c4{color:red}"}</_JSXStyle>

</div>
;
const Test2 = ()=><span >test</span>
;
</div>;
const Test2 = ()=><span >test</span>;
const Test3 = ()=><div className={"jsx-a9535d7d5f32c3c4"}>

<span className={"jsx-a9535d7d5f32c3c4"}>test</span>

<_JSXStyle id={"a9535d7d5f32c3c4"}>{"span.jsx-a9535d7d5f32c3c4{color:red}"}</_JSXStyle>

</div>
;
</div>;
export default class {
render() {
return <div className={"jsx-b2b86d63f35d25ee"}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export default (()=><div className={"jsx-94239b6d6b42c9b5"}>

<_JSXStyle id={"94239b6d6b42c9b5"}>{"p.jsx-94239b6d6b42c9b5{color:red}"}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export default (()=><div className={"jsx-c7c3a8e231c9215a"}>

<_JSXStyle id={"c7c3a8e231c9215a"}>{".container.jsx-c7c3a8e231c9215a>*{color:red}"}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export default (()=><div className={"jsx-94239b6d6b42c9b5"}>

<_JSXStyle id={"94239b6d6b42c9b5"}>{"p.jsx-94239b6d6b42c9b5{color:red}"}</_JSXStyle>

</div>
);
</div>);

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export default (()=><div className={"jsx-53fd644ab080300c"}>

<_JSXStyle id={"53fd644ab080300c"}>{'html.jsx-53fd644ab080300c{background-image:-webkit-linear-gradient(bottom,rgba(255,255,255,.8),rgba(255,255,255,.8)),url(/static/background.svg);background-image:-moz-linear-gradient(bottom,rgba(255,255,255,.8),rgba(255,255,255,.8)),url(/static/background.svg);background-image:-o-linear-gradient(bottom,rgba(255,255,255,.8),rgba(255,255,255,.8)),url(/static/background.svg);background-image:linear-gradient(0deg,rgba(255,255,255,.8),rgba(255,255,255,.8)),url(/static/background.svg)}p{color:blue}p{color:blue}p,a.jsx-53fd644ab080300c{color:blue}.foo+a{color:red}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif}'}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export default (()=><div className={"jsx-1f7963ae04c6466a"}>

<_JSXStyle id={"1f7963ae04c6466a"}>{'@media(min-width:1px)and (max-width:768px){[class*="grid__col--"].jsx-1f7963ae04c6466a{margin-top:12px;margin-bottom:12px}}@media(max-width:64em){.test.jsx-1f7963ae04c6466a{margin-bottom:1em}@supports(-moz-appearance:none)and (display:contents){.test.jsx-1f7963ae04c6466a{margin-bottom:2rem}}}'}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export default (()=><div className={"jsx-1a19bb4817c105dd"}>

<_JSXStyle id={"1a19bb4817c105dd"}>{'p.jsx-1a19bb4817c105dd{color:red}p.jsx-1a19bb4817c105dd{color:red}*.jsx-1a19bb4817c105dd{color:blue}[href="woot"].jsx-1a19bb4817c105dd{color:red}'}</_JSXStyle>

</div>
);
</div>);
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export default (()=><div className={"jsx-938ca197692ef624"}>

<_JSXStyle id={"938ca197692ef624"}>{"li.jsx-938ca197692ef624:nth-child(2){color:lime}"}</_JSXStyle>

</div>
);
</div>);

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export default (()=><div className={"jsx-94239b6d6b42c9b5"}>

<_JSXStyle id={"94239b6d6b42c9b5"}>{"p.jsx-94239b6d6b42c9b5{color:red}"}</_JSXStyle>

</div>
);
</div>);

0 comments on commit dde647f

Please sign in to comment.