Skip to content

Commit c56ba7b

Browse files
committed
Update everything to latest except Next
1 parent 8e0d8c4 commit c56ba7b

File tree

5 files changed

+264
-569
lines changed

5 files changed

+264
-569
lines changed

components/Converter.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const Converter = ({
6262

6363
<main
6464
css={css`
65-
${tw`flex flex-col min-height[calc(100vh - 3.5rem)]`}
65+
${tw`flex flex-col [min-height:calc(100vh - 3.5rem)]`}
6666
`}
6767
>
6868
<div css={tw`w-full md:px-8 p-16 h-48 text-center`}>
@@ -76,7 +76,7 @@ const Converter = ({
7676
<div
7777
css={css`
7878
height: calc(100vh - 18.5em);
79-
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:max-width[50vw] flex flex-col`}
79+
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:[max-width:50vw] flex flex-col`}
8080
`}
8181
>
8282
{Object.keys(inputConfigs).map((key) => {
@@ -111,7 +111,7 @@ const Converter = ({
111111
<div
112112
css={css`
113113
height: calc(100vh - 18.5em);
114-
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:max-width[50vw] flex flex-col`}
114+
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:[max-width:50vw] flex flex-col`}
115115
`}
116116
>
117117
{error || !parsedConfigs ? (

components/Validator.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const Validator = ({
5757

5858
<main
5959
css={css`
60-
${tw`flex flex-col min-height[calc(100vh - 3.5rem)]`}
60+
${tw`flex flex-col [min-height:calc(100vh - 3.5rem)]`}
6161
`}
6262
>
6363
<div css={tw`w-full md:px-8 p-16 h-48 text-center`}>
@@ -71,7 +71,7 @@ const Validator = ({
7171
<div
7272
css={css`
7373
height: calc(100vh - 18.5em);
74-
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:max-width[50vw]`}
74+
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:[max-width:50vw]`}
7575
`}
7676
>
7777
<TextBox
@@ -84,7 +84,7 @@ const Validator = ({
8484
<div
8585
css={css`
8686
height: calc(100vh - 18.5em);
87-
${tw`w-full md:w-1/2 p-4 md:pl-2 pt-1 flex flex-col md:max-width[50vw]`}
87+
${tw`w-full md:w-1/2 p-4 md:pl-2 pt-1 flex flex-col md:[max-width:50vw]`}
8888
`}
8989
>
9090
<div css={tw`flex flex-col h-full w-full pt-1`}>

package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,39 @@
1010
"format": "yarn prettier --write ."
1111
},
1212
"dependencies": {
13-
"@fortawesome/fontawesome-free": "6.2.0",
14-
"@fortawesome/fontawesome-svg-core": "6.2.0",
15-
"@fortawesome/free-solid-svg-icons": "6.2.0",
13+
"@fortawesome/fontawesome-free": "6.4.0",
14+
"@fortawesome/fontawesome-svg-core": "6.4.0",
15+
"@fortawesome/free-solid-svg-icons": "6.4.0",
1616
"@fortawesome/react-fontawesome": "0.2.0",
1717
"@js.properties/properties": "0.5.4",
1818
"@tkint/hocon-parser": "0.0.0-alpha.0",
19-
"ajv": "8.11.0",
19+
"ajv": "8.12.0",
2020
"next": "12.3.4",
2121
"prism-react-renderer": "1.3.5",
2222
"prismjs": "1.29.0",
2323
"react": "18.2.0",
2424
"react-dom": "18.2.0",
2525
"react-json-view": "1.21.3",
2626
"react-simple-code-editor": "0.13.1",
27-
"styled-components": "5.3.6",
27+
"styled-components": "5.3.9",
2828
"toml": "3.0.0",
29-
"x2js": "3.4.3",
29+
"x2js": "3.4.4",
3030
"xml-js": "1.6.11",
31-
"yaml": "2.1.3"
31+
"yaml": "2.2.1"
3232
},
3333
"devDependencies": {
34-
"@types/node": "18.8.2",
34+
"@types/node": "18.15.11",
3535
"@types/prismjs": "1.26.0",
36-
"@types/react": "18.0.21",
36+
"@types/react": "18.0.31",
3737
"@types/styled-components": "5.1.26",
3838
"babel-plugin-macros": "3.1.0",
39-
"eslint": "8.24.0",
39+
"eslint": "8.37.0",
4040
"eslint-config-next": "12.3.4",
41-
"prettier": "2.7.1",
42-
"tailwindcss": "3.1.8",
43-
"ts-json-schema-generator": "1.1.2",
41+
"prettier": "2.8.7",
42+
"tailwindcss": "3.3.1",
43+
"ts-json-schema-generator": "1.2.0",
4444
"ts-node": "10.9.1",
45-
"twin.macro": "2.8.2",
45+
"twin.macro": "3.3.0",
4646
"typescript": "4.8.4"
4747
},
4848
"babelMacros": {

pages/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function Home() {
1717
</Head>
1818
<main
1919
css={css`
20-
${tw`flex flex-col min-height[calc(100vh - 3.5rem)]`}
20+
${tw`flex flex-col [min-height:calc(100vh - 3.5rem)]`}
2121
`}
2222
>
2323
<div
@@ -43,7 +43,7 @@ function Home() {
4343
`}
4444
>
4545
<div
46-
css={tw`bg-white/10 backdrop-blur-sm drop-shadow-lg rounded-2xl grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-6 sm:p-8 md:p-6 md:px-6 w-full max-width[90vw] overflow-hidden`}
46+
css={tw`bg-white/10 backdrop-blur-sm drop-shadow-lg rounded-2xl grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-6 sm:p-8 md:p-6 md:px-6 w-full [max-width:90vw] overflow-hidden`}
4747
>
4848
{(() => {
4949
const tools: JSX.Element[] = [];
@@ -96,7 +96,7 @@ function ToolboxCard({
9696
return (
9797
<Link href={link} prefetch={false} passHref>
9898
<div
99-
css={tw`gap-0.5 p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer width[15rem] max-w-full break-words min-height[12rem] w-56 block grid grid-cols-1 place-items-center mix-blend-multiply`}
99+
css={tw`gap-0.5 p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer [width:15rem] max-w-full break-words [min-height:12rem] w-56 block grid grid-cols-1 place-items-center mix-blend-multiply`}
100100
>
101101
<FontAwesomeIcon icon={icon} size={"3x"} />
102102
<p css={tw`font-bold text-lg md:text-base`}>{name}</p>

0 commit comments

Comments
 (0)