You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reflex_ui/components/base/accordion.pyi
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ class AccordionRoot(AccordionBaseComponent):
88
88
hidden_until_found: Var[bool] |bool|None=None,
89
89
multiple: Var[bool] |bool|None=None,
90
90
disabled: Var[bool] |bool|None=None,
91
-
loop: Var[bool] |bool|None=None,
91
+
loop_focus: Var[bool] |bool|None=None,
92
92
orientation: Literal["horizontal", "vertical"]
93
93
|Var[Literal["horizontal", "vertical"]]
94
94
|None=None,
@@ -293,7 +293,7 @@ class HighLevelAccordion(AccordionRoot):
293
293
hidden_until_found: Var[bool] |bool|None=None,
294
294
multiple: Var[bool] |bool|None=None,
295
295
disabled: Var[bool] |bool|None=None,
296
-
loop: Var[bool] |bool|None=None,
296
+
loop_focus: Var[bool] |bool|None=None,
297
297
orientation: Literal["horizontal", "vertical"]
298
298
|Var[Literal["horizontal", "vertical"]]
299
299
|None=None,
@@ -339,7 +339,7 @@ class HighLevelAccordion(AccordionRoot):
339
339
hidden_until_found: Allows the browser's built-in page search to find and expand the panel contents. Overrides the `keep_mounted` prop and uses `hidden="until-found"` to hide the element without removing it from the DOM. Defaults to False.
340
340
multiple: Whether multiple items can be open at the same time. Defaults to True.
341
341
disabled: Whether the component should ignore user interaction. Defaults to False.
342
-
loop: Whether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys. Defaults to True.
342
+
loop_focus: Whether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys. Defaults to True.
343
343
orientation: The visual orientation of the accordion. Controls whether roving focus uses left/right or up/down arrow keys. Defaults to 'vertical'.
344
344
keep_mounted: Whether to keep the element in the DOM while the panel is closed. This prop is ignored when hidden_until_found is used. Defaults to False.
345
345
render_: The render prop.
@@ -375,7 +375,7 @@ class Accordion(ComponentNamespace):
375
375
hidden_until_found: Var[bool] |bool|None=None,
376
376
multiple: Var[bool] |bool|None=None,
377
377
disabled: Var[bool] |bool|None=None,
378
-
loop: Var[bool] |bool|None=None,
378
+
loop_focus: Var[bool] |bool|None=None,
379
379
orientation: Literal["horizontal", "vertical"]
380
380
|Var[Literal["horizontal", "vertical"]]
381
381
|None=None,
@@ -421,7 +421,7 @@ class Accordion(ComponentNamespace):
421
421
hidden_until_found: Allows the browser's built-in page search to find and expand the panel contents. Overrides the `keep_mounted` prop and uses `hidden="until-found"` to hide the element without removing it from the DOM. Defaults to False.
422
422
multiple: Whether multiple items can be open at the same time. Defaults to True.
423
423
disabled: Whether the component should ignore user interaction. Defaults to False.
424
-
loop: Whether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys. Defaults to True.
424
+
loop_focus: Whether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys. Defaults to True.
425
425
orientation: The visual orientation of the accordion. Controls whether roving focus uses left/right or up/down arrow keys. Defaults to 'vertical'.
426
426
keep_mounted: Whether to keep the element in the DOM while the panel is closed. This prop is ignored when hidden_until_found is used. Defaults to False.
Copy file name to clipboardExpand all lines: reflex_ui/components/base/checkbox.pyi
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ class CheckboxRoot(CheckboxBaseComponent):
87
87
native_button: Var[bool] |bool|None=None,
88
88
parent: Var[bool] |bool|None=None,
89
89
read_only: Var[bool] |bool|None=None,
90
+
unchecked_value: Var[str] |str|None=None,
90
91
unstyled: Var[bool] |bool|None=None,
91
92
style: Sequence[Mapping[str, Any]]
92
93
|Mapping[str, Any]
@@ -173,6 +174,7 @@ class HighLevelCheckbox(CheckboxRoot):
173
174
native_button: Var[bool] |bool|None=None,
174
175
parent: Var[bool] |bool|None=None,
175
176
read_only: Var[bool] |bool|None=None,
177
+
unchecked_value: Var[str] |str|None=None,
176
178
unstyled: Var[bool] |bool|None=None,
177
179
style: Sequence[Mapping[str, Any]]
178
180
|Mapping[str, Any]
@@ -221,6 +223,7 @@ class HighLevelCheckbox(CheckboxRoot):
221
223
native_button: Whether the component renders a native <button> element when replacing it via the render prop. Set to false if the rendered element is not a button (e.g. <div>). Defaults to True.
222
224
parent: Whether the checkbox controls a group of child checkboxes. Must be used in a Checkbox Group. Defaults to False.
223
225
read_only: Whether the user should be unable to tick or untick the checkbox. Defaults to False.
226
+
unchecked_value: The value of the checkbox when it is unchecked. Used for form submission when unchecked. Defaults to not submitting any value.
224
227
unstyled: Whether the component should be unstyled
225
228
style: The style of the component.
226
229
key: A unique key for the component.
@@ -253,6 +256,7 @@ class CheckboxNamespace(ComponentNamespace):
253
256
native_button: Var[bool] |bool|None=None,
254
257
parent: Var[bool] |bool|None=None,
255
258
read_only: Var[bool] |bool|None=None,
259
+
unchecked_value: Var[str] |str|None=None,
256
260
unstyled: Var[bool] |bool|None=None,
257
261
style: Sequence[Mapping[str, Any]]
258
262
|Mapping[str, Any]
@@ -301,6 +305,7 @@ class CheckboxNamespace(ComponentNamespace):
301
305
native_button: Whether the component renders a native <button> element when replacing it via the render prop. Set to false if the rendered element is not a button (e.g. <div>). Defaults to True.
302
306
parent: Whether the checkbox controls a group of child checkboxes. Must be used in a Checkbox Group. Defaults to False.
303
307
read_only: Whether the user should be unable to tick or untick the checkbox. Defaults to False.
308
+
unchecked_value: The value of the checkbox when it is unchecked. Used for form submission when unchecked. Defaults to not submitting any value.
304
309
unstyled: Whether the component should be unstyled
@@ -774,7 +774,7 @@ class ContextMenuSubmenuRoot(ContextMenuBaseComponent):
774
774
open_on_hover: Var[bool] |bool|None=None,
775
775
delay: Var[int] |int|None=None,
776
776
close_delay: Var[int] |int|None=None,
777
-
loop: Var[bool] |bool|None=None,
777
+
loop_focus: Var[bool] |bool|None=None,
778
778
orientation: Literal["horizontal", "vertical"]
779
779
|Var[Literal["horizontal", "vertical"]]
780
780
|None=None,
@@ -871,7 +871,7 @@ class HighLevelContextMenu(ContextMenuRoot):
871
871
actions_ref: Var[str] |str|None=None,
872
872
close_parent_on_esc: Var[bool] |bool|None=None,
873
873
disabled: Var[bool] |bool|None=None,
874
-
loop: Var[bool] |bool|None=None,
874
+
loop_focus: Var[bool] |bool|None=None,
875
875
orientation: Literal["horizontal", "vertical"]
876
876
|Var[Literal["horizontal", "vertical"]]
877
877
|None=None,
@@ -923,7 +923,7 @@ class HighLevelContextMenu(ContextMenuRoot):
923
923
close_parent_on_esc: When in a submenu, determines whether pressing the Escape key closes the entire menu, or only the current child menu. Defaults to True.
924
924
on_open_change_complete: Event handler called after any animations complete when the context menu is closed.
925
925
disabled: Whether the component should ignore user interaction. Defaults to False.
926
-
loop: Whether keyboard navigation should loop around when reaching the end of the items. Defaults to True.
926
+
loop_focus: Whether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys. Defaults to True.
927
927
orientation: The visual orientation of the menu. Controls whether roving focus uses up/down or left/right arrow keys. Defaults to "vertical".
928
928
unstyled: Whether the component should be unstyled
929
929
style: The style of the component.
@@ -974,7 +974,7 @@ class ContextMenu(ComponentNamespace):
974
974
actions_ref: Var[str] |str|None=None,
975
975
close_parent_on_esc: Var[bool] |bool|None=None,
976
976
disabled: Var[bool] |bool|None=None,
977
-
loop: Var[bool] |bool|None=None,
977
+
loop_focus: Var[bool] |bool|None=None,
978
978
orientation: Literal["horizontal", "vertical"]
979
979
|Var[Literal["horizontal", "vertical"]]
980
980
|None=None,
@@ -1026,7 +1026,7 @@ class ContextMenu(ComponentNamespace):
1026
1026
close_parent_on_esc: When in a submenu, determines whether pressing the Escape key closes the entire menu, or only the current child menu. Defaults to True.
1027
1027
on_open_change_complete: Event handler called after any animations complete when the context menu is closed.
1028
1028
disabled: Whether the component should ignore user interaction. Defaults to False.
1029
-
loop: Whether keyboard navigation should loop around when reaching the end of the items. Defaults to True.
1029
+
loop_focus: Whether to loop keyboard focus back to the first item when the end of the list is reached while using the arrow keys. Defaults to True.
1030
1030
orientation: The visual orientation of the menu. Controls whether roving focus uses up/down or left/right arrow keys. Defaults to "vertical".
1031
1031
unstyled: Whether the component should be unstyled
# Determines whether the dialog should close on outside clicks. Defaults to True.
55
-
dismissible: Var[bool]
54
+
# Determines whether pointer dismissal (clicking outside) is disabled. Defaults to False.
55
+
disable_pointer_dismissal: Var[bool]
56
56
57
57
# Determines if the dialog enters a modal state when open.
58
58
# - True: user interaction is limited to just the dialog: focus is trapped, document page scroll is locked, and pointer interactions on outside elements are disabled.
0 commit comments