Skip to content

Commit cf297c1

Browse files
committed
Upgrade frontend dependencies
axios -> 1.8.2 next -> 15.2.2 next-themes -> 0.4.6 plotly.js -> 3.0.1 react-dropzone -> 14.3.8 recharts -> 2.15.1 sonner -> 2.0.1 autoprefixer -> 10.4.21 postcss -> 8.5.3
1 parent 5d1d66c commit cf297c1

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

reflex/components/core/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class GhostUpload(Fragment):
190190
class Upload(MemoizationLeaf):
191191
"""A file upload component."""
192192

193-
library = "[email protected].5"
193+
library = "[email protected].8"
194194

195195
tag = ""
196196

reflex/components/plotly/plotly.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class Plotly(NoSSRComponent):
7171

7272
library = "[email protected]"
7373

74-
lib_dependencies: list[str] = ["plotly.js@2.35.3"]
74+
lib_dependencies: list[str] = ["plotly.js@3.0.1"]
7575

7676
tag = "Plot"
7777

@@ -289,7 +289,7 @@ class PlotlyBasic(Plotly):
289289

290290
library = "[email protected]"
291291

292-
lib_dependencies: list[str] = ["[email protected].0"]
292+
lib_dependencies: list[str] = ["[email protected].1"]
293293

294294
def add_imports(self) -> ImportDict | list[ImportDict]:
295295
"""Add imports for the plotly basic component.
@@ -315,7 +315,7 @@ class PlotlyCartesian(Plotly):
315315

316316
library = "[email protected]"
317317

318-
lib_dependencies: list[str] = ["[email protected].0"]
318+
lib_dependencies: list[str] = ["[email protected].1"]
319319

320320
def add_imports(self) -> ImportDict | list[ImportDict]:
321321
"""Add imports for the plotly cartesian component.
@@ -341,7 +341,7 @@ class PlotlyGeo(Plotly):
341341

342342
library = "[email protected]"
343343

344-
lib_dependencies: list[str] = ["[email protected].0"]
344+
lib_dependencies: list[str] = ["[email protected].1"]
345345

346346
def add_imports(self) -> ImportDict | list[ImportDict]:
347347
"""Add imports for the plotly geo component.
@@ -367,7 +367,7 @@ class PlotlyGl3d(Plotly):
367367

368368
library = "[email protected]"
369369

370-
lib_dependencies: list[str] = ["[email protected].0"]
370+
lib_dependencies: list[str] = ["[email protected].1"]
371371

372372
def add_imports(self) -> ImportDict | list[ImportDict]:
373373
"""Add imports for the plotly 3d component.
@@ -393,7 +393,7 @@ class PlotlyGl2d(Plotly):
393393

394394
library = "[email protected]"
395395

396-
lib_dependencies: list[str] = ["[email protected].0"]
396+
lib_dependencies: list[str] = ["[email protected].1"]
397397

398398
def add_imports(self) -> ImportDict | list[ImportDict]:
399399
"""Add imports for the plotly 2d component.
@@ -419,7 +419,7 @@ class PlotlyMapbox(Plotly):
419419

420420
library = "[email protected]"
421421

422-
lib_dependencies: list[str] = ["[email protected].0"]
422+
lib_dependencies: list[str] = ["[email protected].1"]
423423

424424
def add_imports(self) -> ImportDict | list[ImportDict]:
425425
"""Add imports for the plotly mapbox component.
@@ -445,7 +445,7 @@ class PlotlyFinance(Plotly):
445445

446446
library = "[email protected]"
447447

448-
lib_dependencies: list[str] = ["[email protected].0"]
448+
lib_dependencies: list[str] = ["[email protected].1"]
449449

450450
def add_imports(self) -> ImportDict | list[ImportDict]:
451451
"""Add imports for the plotly finance component.
@@ -471,7 +471,7 @@ class PlotlyStrict(Plotly):
471471

472472
library = "[email protected]"
473473

474-
lib_dependencies: list[str] = ["[email protected].0"]
474+
lib_dependencies: list[str] = ["[email protected].1"]
475475

476476
def add_imports(self) -> ImportDict | list[ImportDict]:
477477
"""Add imports for the plotly strict component.

reflex/components/recharts/recharts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class Recharts(Component):
99
"""A component that wraps a recharts lib."""
1010

11-
library = "[email protected].0"
11+
library = "[email protected].1"
1212

1313
def _get_style(self) -> dict:
1414
return {"wrapperStyle": self.style}
@@ -17,7 +17,7 @@ def _get_style(self) -> dict:
1717
class RechartsCharts(NoSSRComponent, MemoizationLeaf):
1818
"""A component that wraps a recharts lib."""
1919

20-
library = "[email protected].0"
20+
library = "[email protected].1"
2121

2222

2323
LiteralAnimationEasing = Literal["ease", "ease-in", "ease-out", "ease-in-out", "linear"]

reflex/components/sonner/toast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def dict(self, *args: Any, **kwargs: Any) -> dict[str, Any]:
172172
class Toaster(Component):
173173
"""A Toaster Component for displaying toast notifications."""
174174

175-
library: str | None = "sonner@1.7.2"
175+
library: str | None = "sonner@2.0.1"
176176

177177
tag = "Toaster"
178178

reflex/constants/installer.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,20 +179,20 @@ class Commands(SimpleNamespace):
179179

180180
DEPENDENCIES = {
181181
"@emotion/react": "11.14.0",
182-
"axios": "1.7.9",
182+
"axios": "1.8.2",
183183
"json5": "2.2.3",
184-
"next": "15.1.7",
184+
"next": "15.2.2",
185185
"next-sitemap": "4.2.3",
186-
"next-themes": "0.4.4",
186+
"next-themes": "0.4.6",
187187
"react": "19.0.0",
188188
"react-dom": "19.0.0",
189189
"react-focus-lock": "2.13.6",
190190
"socket.io-client": "4.8.1",
191191
"universal-cookie": "7.2.2",
192192
}
193193
DEV_DEPENDENCIES = {
194-
"autoprefixer": "10.4.20",
195-
"postcss": "8.5.1",
194+
"autoprefixer": "10.4.21",
195+
"postcss": "8.5.3",
196196
"postcss-import": "16.1.0",
197197
}
198198
OVERRIDES = {

0 commit comments

Comments
 (0)