Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reflex/components/base/error_boundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def on_error_spec(
class ErrorBoundary(Component):
"""A React Error Boundary component that catches unhandled frontend exceptions."""

library = "react-error-boundary"
library = "react-error-boundary@6.0.0"
tag = "ErrorBoundary"

# Fired when the boundary catches an error.
Expand Down
4 changes: 2 additions & 2 deletions reflex/components/datadisplay/shiki_code_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ class ShikiBaseTransformers(Base):
class ShikiJsTransformer(ShikiBaseTransformers):
"""A Wrapped shikijs transformer."""

library: str = "@shikijs/transformers"
library: str = "@shikijs/transformers@3.3.0"
fns: list[FunctionStringVar] = [
FunctionStringVar.create(fn) for fn in SHIKIJS_TRANSFORMER_FNS
]
Expand Down Expand Up @@ -538,7 +538,7 @@ class ShikiCodeBlock(Component, MarkdownComponentMap):

alias = "ShikiCode"

lib_dependencies: list[str] = ["shiki"]
lib_dependencies: list[str] = ["shiki@3.3.0"]

# The language to use.
language: Var[LiteralCodeLanguage] = Var.create("python")
Expand Down
2 changes: 1 addition & 1 deletion reflex/components/moment/moment.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Moment(NoSSRComponent):

tag: str | None = "Moment"
is_default = True
library: str | None = "react-moment"
library: str | None = "react-moment@1.1.3"
lib_dependencies: list[str] = ["moment"]

# How often the date update (how often time update / 0 to disable).
Expand Down
2 changes: 1 addition & 1 deletion reflex/components/next/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Video(NextComponent):
"""A video component from NextJS."""

tag = "Video"
library = "next-video"
library = "next-video@2.2.0"
is_default = True
# the URL
src: Var[str]
Expand Down
2 changes: 1 addition & 1 deletion reflex/components/radix/primitives/drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class DrawerComponent(RadixPrimitiveComponent):
"""A Drawer component."""

library = "vaul"
library = "vaul@1.1.2"

lib_dependencies: list[str] = ["@radix-ui/react-dialog@^1.1.6"]

Expand Down
2 changes: 1 addition & 1 deletion reflex/components/suneditor/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Editor(NoSSRComponent):
refer to the library docs for a complete list.
"""

library = "suneditor-react"
library = "suneditor-react@3.6.1"

tag = "SunEditor"

Expand Down