Upgrade to Next 13 (#902)
This commit is contained in:
parent
0491852a45
commit
b699bbdff7
Binary file not shown.
@ -6,33 +6,30 @@
|
|||||||
"prod": "next start"
|
"prod": "next start"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@chakra-ui/icons": "1.1.7",
|
"@chakra-ui/icons": "^2.0.19",
|
||||||
"@chakra-ui/react": "1.8.8",
|
"@chakra-ui/react": "^2.6.0",
|
||||||
"@chakra-ui/system": "1.12.1",
|
"@chakra-ui/system": "^2.5.6",
|
||||||
"@emotion/react": "^11.9.0",
|
"@emotion/react": "^11.10.6",
|
||||||
"@emotion/styled": "^11.8.1",
|
"@emotion/styled": "^11.10.6",
|
||||||
"axios": "^0.27.2",
|
"axios": "^1.4.0",
|
||||||
"focus-visible": "^5.2.0",
|
"focus-visible": "^5.2.0",
|
||||||
"framer-motion": "^6.3.3",
|
"framer-motion": "^10.12.4",
|
||||||
"gridjs": "^4.0.0",
|
"gridjs": "^6.0.6",
|
||||||
"gridjs-react": "^4.0.0",
|
"gridjs-react": "^6.0.1",
|
||||||
"next": "^12.1.0",
|
"json5": "^2.2.3",
|
||||||
"next-sitemap": "^3.1.52",
|
"next": "^13.3.1",
|
||||||
"plotly.js": "2.6.4",
|
"plotly.js": "^2.22.0",
|
||||||
"prettier": "^2.8.1",
|
"react": "^18.2.0",
|
||||||
"react": "^17.0.2",
|
"react-dom": "^18.2.0",
|
||||||
"react-copy-to-clipboard": "^5.1.0",
|
|
||||||
"react-dom": "^17.0.2",
|
|
||||||
"react-dropzone": "^14.2.3",
|
"react-dropzone": "^14.2.3",
|
||||||
"react-markdown": "^8.0.3",
|
"react-markdown": "^8.0.7",
|
||||||
"react-plotly.js": "^2.6.0",
|
"react-plotly.js": "^2.6.0",
|
||||||
"react-syntax-highlighter": "^15.5.0",
|
"react-syntax-highlighter": "^15.5.0",
|
||||||
"rehype-katex": "^6.0.2",
|
"rehype-katex": "^6.0.3",
|
||||||
"rehype-raw": "^6.1.1",
|
"rehype-raw": "^6.1.1",
|
||||||
"remark-gfm": "^3.0.1",
|
"remark-gfm": "^3.0.1",
|
||||||
"remark-math": "^5.1.1",
|
"remark-math": "^5.1.1",
|
||||||
"socket.io-client": "^4.5.4",
|
"socket.io-client": "^4.6.1",
|
||||||
"victory": "^36.6.8",
|
"victory": "^36.6.8"
|
||||||
"json5": "^2.2.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -317,6 +317,8 @@ class Component(Base, ABC):
|
|||||||
# Special case for props named `type_`.
|
# Special case for props named `type_`.
|
||||||
if hasattr(self, "type_"):
|
if hasattr(self, "type_"):
|
||||||
props["type"] = self.type_ # type: ignore
|
props["type"] = self.type_ # type: ignore
|
||||||
|
if hasattr(self, "as_"):
|
||||||
|
props["as"] = self.as_ # type: ignore
|
||||||
|
|
||||||
return tag.add_props(**props)
|
return tag.add_props(**props)
|
||||||
|
|
||||||
|
@ -20,6 +20,9 @@ class Link(ChakraComponent):
|
|||||||
# The text to display.
|
# The text to display.
|
||||||
text: Var[str]
|
text: Var[str]
|
||||||
|
|
||||||
|
# What the link renders too.
|
||||||
|
as_: Var[str] = "span" # type: ignore
|
||||||
|
|
||||||
# If true, the link will open in new tab.
|
# If true, the link will open in new tab.
|
||||||
is_external: Var[bool]
|
is_external: Var[bool]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user