Skip to content
Open
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
1 change: 0 additions & 1 deletion docs/rcweb/rcweb/utils/blocks/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ def doccmdoutput(
Args:
command: The command to display.
output: The output of the command.
theme: The theme of the component.

Returns:
The styled command and its example output.
Expand Down
2 changes: 1 addition & 1 deletion reflex_chakra/components/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create(cls, *children, **props) -> Component:
Returns:
A new Chakra component.
"""
# copy color mode provider file to client's asset dir if it doesnt exist.
# copy color mode provider file to client's asset dir if it doesn't exist.
client_asset_dir = Path.cwd() / constants.ASSETS_DIR_NAME
if (
not (
Expand Down
2 changes: 1 addition & 1 deletion reflex_chakra/components/forms/pininput.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def _get_ref_hook(self):
"""Override the base _get_ref_hook to handle array refs.

Returns:
The overrided hooks.
The overridden hooks.
"""
if self.id:
ref = format.format_array_ref(self.id, None)
Expand Down
2 changes: 1 addition & 1 deletion reflex_chakra/components/forms/rangeslider.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _get_ref_hook(self):
"""Override the base _get_ref_hook to handle array refs.

Returns:
The overrided hooks.
The overridden hooks.
"""
if self.id:
ref = format.format_array_ref(self.id, None)
Expand Down
4 changes: 2 additions & 2 deletions reflex_chakra/components/overlay/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def create(

Args:
*children: The children of the component.
button: the button that open the menu.
button: the button that opens the menu.
items (list): The items of the menu.
**props: The properties of the component.

Expand Down Expand Up @@ -135,7 +135,7 @@ def create(cls, *children, items: list | None = None, **props) -> Component:

Args:
*children: The children of the component.
items: A list of item to add as child of the component.
items: A list of items to add as child of the component.
**props: The properties of the component.

Returns:
Expand Down
4 changes: 2 additions & 2 deletions reflex_chakra/components/overlay/menu.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class Menu(ChakraComponent):

Args:
*children: The children of the component.
button: the button that open the menu.
button: the button that opens the menu.
items (list): The items of the menu.
arrow_padding: The padding required to prevent the arrow from reaching the very edge of the popper.
auto_select: If true, the first enabled menu item will receive focus and be selected when the menu opens.
Expand Down Expand Up @@ -208,7 +208,7 @@ class MenuList(ChakraComponent):

Args:
*children: The children of the component.
items: A list of item to add as child of the component.
items: A list of items to add as child of the component.
style: The style of the component.
key: A unique key for the component.
id: The id for the component.
Expand Down
4 changes: 2 additions & 2 deletions reflex_chakra/components/overlay/popover.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Popover(ChakraComponent):
# The boundary area for the popper. Used within the preventOverflow modifier
boundary: Var[str]

# If true, the popover will close when you blur out it by clicking outside or tabbing out
# If true, the popover will close when you blur out of it by clicking outside or tabbing out
close_on_blur: Var[bool]

# If true, the popover will close when you hit the Esc key
Expand Down Expand Up @@ -79,7 +79,7 @@ class Popover(ChakraComponent):
# The CSS positioning strategy to use. ("fixed" | "absolute")
strategy: Var[LiteralMenuStrategy]

# The interaction that triggers the popover. hover - means the popover will open when you hover with mouse or focus with keyboard on the popover trigger click - means the popover will open on click or press Enter to Space on keyboard ("click" | "hover")
# The interaction that triggers the popover. hover - means the popover will open when you hover with mouse or focus with keyboard on the popover trigger click - means the popover will open on click or press Enter or Space on keyboard ("click" | "hover")
trigger: Var[LiteralPopOverTrigger]

# Fired when the popover is closed.
Expand Down
2 changes: 1 addition & 1 deletion reflex_chakra/components/overlay/popover.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Popover(ChakraComponent):
arrow_size: The size of the popover arrow
auto_focus: If true, focus will be transferred to the first interactive element when the popover opens
boundary: The boundary area for the popper. Used within the preventOverflow modifier
close_on_blur: If true, the popover will close when you blur out it by clicking outside or tabbing out
close_on_blur: If true, the popover will close when you blur out of it by clicking outside or tabbing out
close_on_esc: If true, the popover will close when you hit the Esc key
default_is_open: If true, the popover will be initially opened.
direction: Theme direction ltr or rtl. Popper's placement will be set accordingly
Expand Down