Skip to content

Commit

Permalink
Update everything to latest except Next
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjack committed Apr 1, 2023
1 parent 8e0d8c4 commit c56ba7b
Show file tree
Hide file tree
Showing 5 changed files with 264 additions and 569 deletions.
6 changes: 3 additions & 3 deletions components/Converter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Converter = ({

<main
css={css`
${tw`flex flex-col min-height[calc(100vh - 3.5rem)]`}
${tw`flex flex-col [min-height:calc(100vh - 3.5rem)]`}
`}
>
<div css={tw`w-full md:px-8 p-16 h-48 text-center`}>
Expand All @@ -76,7 +76,7 @@ const Converter = ({
<div
css={css`
height: calc(100vh - 18.5em);
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:max-width[50vw] flex flex-col`}
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:[max-width:50vw] flex flex-col`}
`}
>
{Object.keys(inputConfigs).map((key) => {
Expand Down Expand Up @@ -111,7 +111,7 @@ const Converter = ({
<div
css={css`
height: calc(100vh - 18.5em);
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:max-width[50vw] flex flex-col`}
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:[max-width:50vw] flex flex-col`}
`}
>
{error || !parsedConfigs ? (
Expand Down
6 changes: 3 additions & 3 deletions components/Validator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Validator = ({

<main
css={css`
${tw`flex flex-col min-height[calc(100vh - 3.5rem)]`}
${tw`flex flex-col [min-height:calc(100vh - 3.5rem)]`}
`}
>
<div css={tw`w-full md:px-8 p-16 h-48 text-center`}>
Expand All @@ -71,7 +71,7 @@ const Validator = ({
<div
css={css`
height: calc(100vh - 18.5em);
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:max-width[50vw]`}
${tw`md:w-1/2 p-4 pt-1 md:pr-2 md:[max-width:50vw]`}
`}
>
<TextBox
Expand All @@ -84,7 +84,7 @@ const Validator = ({
<div
css={css`
height: calc(100vh - 18.5em);
${tw`w-full md:w-1/2 p-4 md:pl-2 pt-1 flex flex-col md:max-width[50vw]`}
${tw`w-full md:w-1/2 p-4 md:pl-2 pt-1 flex flex-col md:[max-width:50vw]`}
`}
>
<div css={tw`flex flex-col h-full w-full pt-1`}>
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,39 @@
"format": "yarn prettier --write ."
},
"dependencies": {
"@fortawesome/fontawesome-free": "6.2.0",
"@fortawesome/fontawesome-svg-core": "6.2.0",
"@fortawesome/free-solid-svg-icons": "6.2.0",
"@fortawesome/fontawesome-free": "6.4.0",
"@fortawesome/fontawesome-svg-core": "6.4.0",
"@fortawesome/free-solid-svg-icons": "6.4.0",
"@fortawesome/react-fontawesome": "0.2.0",
"@js.properties/properties": "0.5.4",
"@tkint/hocon-parser": "0.0.0-alpha.0",
"ajv": "8.11.0",
"ajv": "8.12.0",
"next": "12.3.4",
"prism-react-renderer": "1.3.5",
"prismjs": "1.29.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-json-view": "1.21.3",
"react-simple-code-editor": "0.13.1",
"styled-components": "5.3.6",
"styled-components": "5.3.9",
"toml": "3.0.0",
"x2js": "3.4.3",
"x2js": "3.4.4",
"xml-js": "1.6.11",
"yaml": "2.1.3"
"yaml": "2.2.1"
},
"devDependencies": {
"@types/node": "18.8.2",
"@types/node": "18.15.11",
"@types/prismjs": "1.26.0",
"@types/react": "18.0.21",
"@types/react": "18.0.31",
"@types/styled-components": "5.1.26",
"babel-plugin-macros": "3.1.0",
"eslint": "8.24.0",
"eslint": "8.37.0",
"eslint-config-next": "12.3.4",
"prettier": "2.7.1",
"tailwindcss": "3.1.8",
"ts-json-schema-generator": "1.1.2",
"prettier": "2.8.7",
"tailwindcss": "3.3.1",
"ts-json-schema-generator": "1.2.0",
"ts-node": "10.9.1",
"twin.macro": "2.8.2",
"twin.macro": "3.3.0",
"typescript": "4.8.4"
},
"babelMacros": {
Expand Down
6 changes: 3 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Home() {
</Head>
<main
css={css`
${tw`flex flex-col min-height[calc(100vh - 3.5rem)]`}
${tw`flex flex-col [min-height:calc(100vh - 3.5rem)]`}
`}
>
<div
Expand All @@ -43,7 +43,7 @@ function Home() {
`}
>
<div
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`}
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`}
>
{(() => {
const tools: JSX.Element[] = [];
Expand Down Expand Up @@ -96,7 +96,7 @@ function ToolboxCard({
return (
<Link href={link} prefetch={false} passHref>
<div
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`}
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`}
>
<FontAwesomeIcon icon={icon} size={"3x"} />
<p css={tw`font-bold text-lg md:text-base`}>{name}</p>
Expand Down
Loading

0 comments on commit c56ba7b

Please sign in to comment.