Skip to content

Commit

Permalink
Bump deps to React 19 release
Browse files Browse the repository at this point in the history
  • Loading branch information
joewatt95 committed Dec 9, 2024
1 parent 9c9affb commit ba78171
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{:paths ["src"]
:deps {thheller/shadow-cljs {:mvn/version "2.28.20"}
binaryage/devtools {:mvn/version "1.0.7"}
com.pitch/uix.core {:mvn/version "1.2.0"}
com.pitch/uix.dom {:mvn/version "1.2.0"}
com.pitch/uix.core {:mvn/version "1.3.0"}
com.pitch/uix.dom {:mvn/version "1.3.0"}
com.github.SWI-Prolog/packages-jpl {:mvn/version "V9.3.15"}
instaparse/instaparse {:mvn/version "1.5.0"}
net.cgrand/xforms {:mvn/version "0.19.6"}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
},
"dependencies": {
"@babel/runtime": "^7.26.0",
"@emotion/react": "^11.13.5",
"@emotion/styled": "^11.13.5",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mlc-ai/web-llm": "^0.2.77",
"@mui/icons-material": "^6.1.10",
"@mui/lab": "6.0.0-beta.18",
Expand All @@ -38,7 +38,7 @@
"@uiw/codemirror-theme-solarized": "^4.23.6",
"@uiw/react-codemirror": "^4.23.6",
"pythonia": "^1.2.1",
"react": "19.0.0-rc-7670501b-20241124",
"react-dom": "19.0.0-rc-7670501b-20241124"
"react": "19.0.0",
"react-dom": "19.0.0"
}
}
9 changes: 4 additions & 5 deletions src/l4_lp/ide/ui/core.cljs
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
(ns l4-lp.ide.ui.core
(:require ["@mui/icons-material/Send$default" :as SendIcon]
["@mui/material/Grid2$default" :as Grid]
["react-dom" :as react-dom]
[l4-lp.ide.ui.editor :refer [editor]]
[l4-lp.ide.ui.ide-instrs :refer [ide-instrs]]
[l4-lp.ide.ui.query.button :refer [query-button]]
[l4-lp.ide.ui.query.output.core :refer [query-output]]
[l4-lp.ide.ui.top-bar :refer [top-bar]]
[uix.core :as uix]))
[uix.core :as uix]
[uix.dom :as uix-dom]))

(uix/defui mui-fonts
"Component to load fonts for Material UI."
[]
(uix/$ :div
(react-dom/preconnect "https://fonts.googleapis.com")
(react-dom/preconnect "https://fonts.gstatic.com"
#js {:crossOrigin "anonymous"})
(uix-dom/preconnect "https://fonts.googleapis.com")
(uix-dom/preconnect "https://fonts.gstatic.com")
(uix/$ :link {:rel :stylesheet
:href "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"})))

Expand Down

0 comments on commit ba78171

Please sign in to comment.