Browse Source

generate docs for event handlers (#4277)

Khaleel Al-Adhami 6 tháng trước cách đây
mục cha
commit
a2126beca1
41 tập tin đã thay đổi với 389 bổ sung8 xóa
  1. 1 0
      reflex/components/base/error_boundary.pyi
  2. 3 0
      reflex/components/base/script.pyi
  3. 1 0
      reflex/components/core/clipboard.pyi
  4. 3 0
      reflex/components/core/upload.pyi
  5. 16 0
      reflex/components/datadisplay/dataeditor.pyi
  6. 12 0
      reflex/components/el/elements/forms.pyi
  7. 1 0
      reflex/components/moment/moment.pyi
  8. 2 0
      reflex/components/next/image.pyi
  9. 20 0
      reflex/components/plotly/plotly.pyi
  10. 1 0
      reflex/components/radix/primitives/accordion.pyi
  11. 3 3
      reflex/components/radix/primitives/drawer.py
  12. 20 4
      reflex/components/radix/primitives/drawer.pyi
  13. 6 0
      reflex/components/radix/primitives/form.pyi
  14. 2 0
      reflex/components/radix/primitives/slider.pyi
  15. 1 0
      reflex/components/radix/themes/color_mode.pyi
  16. 4 0
      reflex/components/radix/themes/components/alert_dialog.pyi
  17. 3 0
      reflex/components/radix/themes/components/checkbox.pyi
  18. 10 0
      reflex/components/radix/themes/components/context_menu.pyi
  19. 7 0
      reflex/components/radix/themes/components/dialog.pyi
  20. 12 0
      reflex/components/radix/themes/components/dropdown_menu.pyi
  21. 2 0
      reflex/components/radix/themes/components/hover_card.pyi
  22. 7 0
      reflex/components/radix/themes/components/popover.pyi
  23. 1 0
      reflex/components/radix/themes/components/radio_cards.pyi
  24. 1 0
      reflex/components/radix/themes/components/radio_group.pyi
  25. 1 0
      reflex/components/radix/themes/components/segmented_control.pyi
  26. 9 0
      reflex/components/radix/themes/components/select.pyi
  27. 2 0
      reflex/components/radix/themes/components/slider.pyi
  28. 1 0
      reflex/components/radix/themes/components/switch.pyi
  29. 2 0
      reflex/components/radix/themes/components/tabs.pyi
  30. 5 0
      reflex/components/radix/themes/components/text_area.pyi
  31. 10 0
      reflex/components/radix/themes/components/text_field.pyi
  32. 3 0
      reflex/components/radix/themes/components/tooltip.pyi
  33. 16 0
      reflex/components/react_player/audio.pyi
  34. 16 0
      reflex/components/react_player/react_player.pyi
  35. 16 0
      reflex/components/react_player/video.pyi
  36. 87 0
      reflex/components/recharts/cartesian.pyi
  37. 49 0
      reflex/components/recharts/charts.pyi
  38. 9 0
      reflex/components/recharts/general.pyi
  39. 8 0
      reflex/components/recharts/polar.pyi
  40. 9 0
      reflex/components/suneditor/editor.pyi
  41. 7 1
      reflex/utils/pyi_generator.py

+ 1 - 0
reflex/components/base/error_boundary.pyi

@@ -50,6 +50,7 @@ class ErrorBoundary(Component):
 
 
         Args:
         Args:
             *children: The children of the component.
             *children: The children of the component.
+            on_error: Fired when the boundary catches an error.
             Fallback_component: Rendered instead of the children when an error is caught.
             Fallback_component: Rendered instead of the children when an error is caught.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.

+ 3 - 0
reflex/components/base/script.pyi

@@ -65,6 +65,9 @@ class Script(Component):
             *children: The children of the component.
             *children: The children of the component.
             src: Required unless inline script is used
             src: Required unless inline script is used
             strategy: When the script will execute: afterInteractive (defer-like behavior) | beforeInteractive | lazyOnload (async-like behavior)
             strategy: When the script will execute: afterInteractive (defer-like behavior) | beforeInteractive | lazyOnload (async-like behavior)
+            on_load: Triggered when the script is loading
+            on_ready: Triggered when the script has loaded
+            on_error: Triggered when the script has errored
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 1 - 0
reflex/components/core/clipboard.pyi

@@ -50,6 +50,7 @@ class Clipboard(Fragment):
         Args:
         Args:
             *children: The children of the component.
             *children: The children of the component.
             targets: The element ids to attach the event listener to. Defaults to all child components or the document.
             targets: The element ids to attach the event listener to. Defaults to all child components or the document.
+            on_paste: Called when the user pastes data into the document. Data is a list of tuples of (mime_type, data). Binary types will be base64 encoded as a data uri.
             on_paste_event_actions: Save the original event actions for the on_paste event.
             on_paste_event_actions: Save the original event actions for the on_paste event.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.

+ 3 - 0
reflex/components/core/upload.pyi

@@ -146,6 +146,7 @@ class Upload(MemoizationLeaf):
             no_click: Whether to disable click to upload.
             no_click: Whether to disable click to upload.
             no_drag: Whether to disable drag and drop.
             no_drag: Whether to disable drag and drop.
             no_keyboard: Whether to disable using the space/enter keys to upload.
             no_keyboard: Whether to disable using the space/enter keys to upload.
+            on_drop: Fired when files are dropped.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -211,6 +212,7 @@ class StyledUpload(Upload):
             no_click: Whether to disable click to upload.
             no_click: Whether to disable click to upload.
             no_drag: Whether to disable drag and drop.
             no_drag: Whether to disable drag and drop.
             no_keyboard: Whether to disable using the space/enter keys to upload.
             no_keyboard: Whether to disable using the space/enter keys to upload.
+            on_drop: Fired when files are dropped.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -276,6 +278,7 @@ class UploadNamespace(ComponentNamespace):
             no_click: Whether to disable click to upload.
             no_click: Whether to disable click to upload.
             no_drag: Whether to disable drag and drop.
             no_drag: Whether to disable drag and drop.
             no_keyboard: Whether to disable using the space/enter keys to upload.
             no_keyboard: Whether to disable using the space/enter keys to upload.
+            on_drop: Fired when files are dropped.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 16 - 0
reflex/components/datadisplay/dataeditor.pyi

@@ -253,6 +253,22 @@ class DataEditor(NoSSRComponent):
             scroll_offset_x: Initial scroll offset on the horizontal axis.
             scroll_offset_x: Initial scroll offset on the horizontal axis.
             scroll_offset_y: Initial scroll offset on the vertical axis.
             scroll_offset_y: Initial scroll offset on the vertical axis.
             theme: global theme
             theme: global theme
+            on_cell_activated: Fired when a cell is activated.
+            on_cell_clicked: Fired when a cell is clicked.
+            on_cell_context_menu: Fired when a cell is right-clicked.
+            on_cell_edited: Fired when a cell is edited.
+            on_group_header_clicked: Fired when a group header is clicked.
+            on_group_header_context_menu: Fired when a group header is right-clicked.
+            on_group_header_renamed: Fired when a group header is renamed.
+            on_header_clicked: Fired when a header is clicked.
+            on_header_context_menu: Fired when a header is right-clicked.
+            on_header_menu_click: Fired when a header menu item is clicked.
+            on_item_hovered: Fired when an item is hovered.
+            on_delete: Fired when a selection is deleted.
+            on_finished_editing: Fired when editing is finished.
+            on_row_appended: Fired when a row is appended.
+            on_selection_cleared: Fired when the selection is cleared.
+            on_column_resize: Fired when a column is resized.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 12 - 0
reflex/components/el/elements/forms.pyi

@@ -356,6 +356,7 @@ class Form(BaseHTML):
             target: Where to display the response after submitting the form
             target: Where to display the response after submitting the form
             reset_on_submit: If true, the form will be cleared after submit.
             reset_on_submit: If true, the form will be cleared after submit.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
+            on_submit: Fired when the form is submitted
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.
@@ -520,6 +521,11 @@ class Input(BaseHTML):
             type: Specifies the type of input
             type: Specifies the type of input
             use_map: Name of the image map used with the input
             use_map: Name of the image map used with the input
             value: Value of the input
             value: Value of the input
+            on_change: Fired when the input value changes
+            on_focus: Fired when the input gains focus
+            on_blur: Fired when the input loses focus
+            on_key_down: Fired when a key is pressed down
+            on_key_up: Fired when a key is released
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.
@@ -1269,6 +1275,7 @@ class Select(BaseHTML):
             name: Name of the select, used when submitting the form
             name: Name of the select, used when submitting the form
             required: Indicates that the select control must have a selected option
             required: Indicates that the select control must have a selected option
             size: Number of visible options in a drop-down list
             size: Number of visible options in a drop-down list
+            on_change: Fired when the select value changes
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.
@@ -1397,6 +1404,11 @@ class Textarea(BaseHTML):
             rows: Visible number of lines in the text control
             rows: Visible number of lines in the text control
             value: The controlled value of the textarea, read only unless used with on_change
             value: The controlled value of the textarea, read only unless used with on_change
             wrap: How the text in the textarea is to be wrapped when submitting the form
             wrap: How the text in the textarea is to be wrapped when submitting the form
+            on_change: Fired when the input value changes
+            on_focus: Fired when the input gains focus
+            on_blur: Fired when the input loses focus
+            on_key_down: Fired when a key is pressed down
+            on_key_up: Fired when a key is released
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.

+ 1 - 0
reflex/components/moment/moment.pyi

@@ -101,6 +101,7 @@ class Moment(NoSSRComponent):
             local: Outputs the result in local time.
             local: Outputs the result in local time.
             tz: Display the date in the given timezone.
             tz: Display the date in the given timezone.
             locale: The locale to use when rendering.
             locale: The locale to use when rendering.
+            on_change: Fires when the date changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 2 - 0
reflex/components/next/image.pyi

@@ -72,6 +72,8 @@ class Image(NextComponent):
             placeholder: A placeholder to use while the image is loading. Possible values are blur, empty, or data:image/.... Defaults to empty.
             placeholder: A placeholder to use while the image is loading. Possible values are blur, empty, or data:image/.... Defaults to empty.
             loading: Allows passing CSS styles to the underlying image element.  style: Var[Any]  The loading behavior of the image. Defaults to lazy. Can hurt performance, recommended to use `priority` instead.
             loading: Allows passing CSS styles to the underlying image element.  style: Var[Any]  The loading behavior of the image. Defaults to lazy. Can hurt performance, recommended to use `priority` instead.
             blurDataURL: A Data URL to be used as a placeholder image before the src image successfully loads. Only takes effect when combined with placeholder="blur".
             blurDataURL: A Data URL to be used as a placeholder image before the src image successfully loads. Only takes effect when combined with placeholder="blur".
+            on_load: Fires when the image has loaded.
+            on_error: Fires when the image has an error.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 20 - 0
reflex/components/plotly/plotly.pyi

@@ -89,6 +89,26 @@ class Plotly(NoSSRComponent):
             template: The template for visual appearance of the graph.
             template: The template for visual appearance of the graph.
             config: The config of the graph.
             config: The config of the graph.
             use_resize_handler: If true, the graph will resize when the window is resized.
             use_resize_handler: If true, the graph will resize when the window is resized.
+            on_after_plot: Fired after the plot is redrawn.
+            on_animated: Fired after the plot was animated.
+            on_animating_frame: Fired while animating a single frame (does not currently pass data through).
+            on_animation_interrupted: Fired when an animation is interrupted (to start a new animation for example).
+            on_autosize: Fired when the plot is responsively sized.
+            on_before_hover: Fired whenever mouse moves over a plot.
+            on_button_clicked: Fired when a plotly UI button is clicked.
+            on_click: Fired when the plot is clicked.
+            on_deselect: Fired when a selection is cleared (via double click).
+            on_double_click: Fired when the plot is double clicked.
+            on_hover: Fired when a plot element is hovered over.
+            on_relayout: Fired after the plot is layed out (zoom, pan, etc).
+            on_relayouting: Fired while the plot is being layed out.
+            on_restyle: Fired after the plot style is changed.
+            on_redraw: Fired after the plot is redrawn.
+            on_selected: Fired after selecting plot elements.
+            on_selecting: Fired while dragging a selection.
+            on_transitioning: Fired while an animation is occuring.
+            on_transition_interrupted: Fired when a transition is stopped early.
+            on_unhover: Fired when a hovered element is no longer hovered.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 1 - 0
reflex/components/radix/primitives/accordion.pyi

@@ -280,6 +280,7 @@ class AccordionRoot(AccordionComponent):
             duration: The time in milliseconds to animate open and close
             duration: The time in milliseconds to animate open and close
             easing: The easing function to use for the animation.
             easing: The easing function to use for the animation.
             show_dividers: Whether to show divider lines between items.
             show_dividers: Whether to show divider lines between items.
+            on_value_change: Fired when the opened the accordions changes.
             color_scheme: The color scheme of the component.
             color_scheme: The color scheme of the component.
             variant: The variant of the component.
             variant: The variant of the component.
             as_child: Change the default rendered element for the one passed as a child.
             as_child: Change the default rendered element for the one passed as a child.

+ 3 - 3
reflex/components/radix/primitives/drawer.py

@@ -60,7 +60,7 @@ class DrawerRoot(DrawerComponent):
     # When `True`, it prevents scroll restoration. Defaults to `True`.
     # When `True`, it prevents scroll restoration. Defaults to `True`.
     preventScrollRestoration: Var[bool]
     preventScrollRestoration: Var[bool]
 
 
-    # Fires when the drawer is opened.
+    # Fires when the drawer is opened or closed.
     on_open_change: EventHandler[identity_event(bool)]
     on_open_change: EventHandler[identity_event(bool)]
 
 
 
 
@@ -79,8 +79,8 @@ class DrawerTrigger(DrawerComponent):
         """Create a new DrawerTrigger instance.
         """Create a new DrawerTrigger instance.
 
 
         Args:
         Args:
-            children: The children of the element.
-            props: The properties of the element.
+            *children: The children of the element.
+            **props: The properties of the element.
 
 
         Returns:
         Returns:
             The new DrawerTrigger instance.
             The new DrawerTrigger instance.

+ 20 - 4
reflex/components/radix/primitives/drawer.pyi

@@ -119,6 +119,7 @@ class DrawerRoot(DrawerComponent):
             modal: When `False`, it allows to interact with elements outside of the drawer without closing it. Defaults to `True`.
             modal: When `False`, it allows to interact with elements outside of the drawer without closing it. Defaults to `True`.
             direction: Direction of the drawer. Defaults to `"bottom"`
             direction: Direction of the drawer. Defaults to `"bottom"`
             preventScrollRestoration: When `True`, it prevents scroll restoration. Defaults to `True`.
             preventScrollRestoration: When `True`, it prevents scroll restoration. Defaults to `True`.
+            on_open_change: Fires when the drawer is opened or closed.
             as_child: Change the default rendered element for the one passed as a child.
             as_child: Change the default rendered element for the one passed as a child.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
@@ -166,8 +167,15 @@ class DrawerTrigger(DrawerComponent):
         """Create a new DrawerTrigger instance.
         """Create a new DrawerTrigger instance.
 
 
         Args:
         Args:
-            children: The children of the element.
-            props: The properties of the element.
+            *children: The children of the element.
+            as_child: Change the default rendered element for the one passed as a child.
+            style: The style of the component.
+            key: A unique key for the component.
+            id: The id for the component.
+            class_name: The class name for the component.
+            autofocus: Whether the component should take the focus once the page is loaded
+            custom_attrs: custom attribute
+            **props: The properties of the element.
 
 
         Returns:
         Returns:
             The new DrawerTrigger instance.
             The new DrawerTrigger instance.
@@ -360,8 +368,15 @@ class DrawerClose(DrawerTrigger):
         """Create a new DrawerTrigger instance.
         """Create a new DrawerTrigger instance.
 
 
         Args:
         Args:
-            children: The children of the element.
-            props: The properties of the element.
+            *children: The children of the element.
+            as_child: Change the default rendered element for the one passed as a child.
+            style: The style of the component.
+            key: A unique key for the component.
+            id: The id for the component.
+            class_name: The class name for the component.
+            autofocus: Whether the component should take the focus once the page is loaded
+            custom_attrs: custom attribute
+            **props: The properties of the element.
 
 
         Returns:
         Returns:
             The new DrawerTrigger instance.
             The new DrawerTrigger instance.
@@ -529,6 +544,7 @@ class Drawer(ComponentNamespace):
             modal: When `False`, it allows to interact with elements outside of the drawer without closing it. Defaults to `True`.
             modal: When `False`, it allows to interact with elements outside of the drawer without closing it. Defaults to `True`.
             direction: Direction of the drawer. Defaults to `"bottom"`
             direction: Direction of the drawer. Defaults to `"bottom"`
             preventScrollRestoration: When `True`, it prevents scroll restoration. Defaults to `True`.
             preventScrollRestoration: When `True`, it prevents scroll restoration. Defaults to `True`.
+            on_open_change: Fires when the drawer is opened or closed.
             as_child: Change the default rendered element for the one passed as a child.
             as_child: Change the default rendered element for the one passed as a child.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.

+ 6 - 0
reflex/components/radix/primitives/form.pyi

@@ -137,6 +137,7 @@ class FormRoot(FormComponent, HTMLForm):
 
 
         Args:
         Args:
             *children: The children of the form.
             *children: The children of the form.
+            on_clear_server_errors: Fired when the errors are cleared.
             as_child: Change the default rendered element for the one passed as a child.
             as_child: Change the default rendered element for the one passed as a child.
             accept: MIME types the server accepts for file upload
             accept: MIME types the server accepts for file upload
             accept_charset: Character encodings to be used for form submission
             accept_charset: Character encodings to be used for form submission
@@ -149,6 +150,7 @@ class FormRoot(FormComponent, HTMLForm):
             target: Where to display the response after submitting the form
             target: Where to display the response after submitting the form
             reset_on_submit: If true, the form will be cleared after submit.
             reset_on_submit: If true, the form will be cleared after submit.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
+            on_submit: Fired when the form is submitted
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.
@@ -602,6 +604,7 @@ class Form(FormRoot):
 
 
         Args:
         Args:
             *children: The children of the form.
             *children: The children of the form.
+            on_clear_server_errors: Fired when the errors are cleared.
             as_child: Change the default rendered element for the one passed as a child.
             as_child: Change the default rendered element for the one passed as a child.
             accept: MIME types the server accepts for file upload
             accept: MIME types the server accepts for file upload
             accept_charset: Character encodings to be used for form submission
             accept_charset: Character encodings to be used for form submission
@@ -614,6 +617,7 @@ class Form(FormRoot):
             target: Where to display the response after submitting the form
             target: Where to display the response after submitting the form
             reset_on_submit: If true, the form will be cleared after submit.
             reset_on_submit: If true, the form will be cleared after submit.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
+            on_submit: Fired when the form is submitted
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.
@@ -724,6 +728,7 @@ class FormNamespace(ComponentNamespace):
 
 
         Args:
         Args:
             *children: The children of the form.
             *children: The children of the form.
+            on_clear_server_errors: Fired when the errors are cleared.
             as_child: Change the default rendered element for the one passed as a child.
             as_child: Change the default rendered element for the one passed as a child.
             accept: MIME types the server accepts for file upload
             accept: MIME types the server accepts for file upload
             accept_charset: Character encodings to be used for form submission
             accept_charset: Character encodings to be used for form submission
@@ -736,6 +741,7 @@ class FormNamespace(ComponentNamespace):
             target: Where to display the response after submitting the form
             target: Where to display the response after submitting the form
             reset_on_submit: If true, the form will be cleared after submit.
             reset_on_submit: If true, the form will be cleared after submit.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
             handle_submit_unique_name: The name used to make this form's submit handler function unique.
+            on_submit: Fired when the form is submitted
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.

+ 2 - 0
reflex/components/radix/primitives/slider.pyi

@@ -117,6 +117,8 @@ class SliderRoot(SliderComponent):
 
 
         Args:
         Args:
             *children: The children of the component.
             *children: The children of the component.
+            on_value_change: Fired when the value of a thumb changes.
+            on_value_commit: Fired when a thumb is released.
             as_child: Change the default rendered element for the one passed as a child.
             as_child: Change the default rendered element for the one passed as a child.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.

+ 1 - 0
reflex/components/radix/themes/color_mode.pyi

@@ -416,6 +416,7 @@ class ColorModeSwitch(Switch):
             color_scheme: Override theme color for switch
             color_scheme: Override theme color for switch
             high_contrast: Whether to render the switch with higher contrast color against background
             high_contrast: Whether to render the switch with higher contrast color against background
             radius: Override theme radius for switch: "none" | "small" | "full"
             radius: Override theme radius for switch: "none" | "small" | "full"
+            on_change: Props to rename  Fired when the value of the switch changes
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 4 - 0
reflex/components/radix/themes/components/alert_dialog.pyi

@@ -55,6 +55,7 @@ class AlertDialogRoot(RadixThemesComponent):
         Args:
         Args:
             *children: Child components.
             *children: Child components.
             open: The controlled open state of the dialog.
             open: The controlled open state of the dialog.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -186,6 +187,9 @@ class AlertDialogContent(elements.Div, RadixThemesComponent):
             *children: Child components.
             *children: Child components.
             size: The size of the content.
             size: The size of the content.
             force_mount: Whether to force mount the content on open.
             force_mount: Whether to force mount the content on open.
+            on_open_auto_focus: Fired when the dialog is opened.
+            on_close_auto_focus: Fired when the dialog is closed.
+            on_escape_key_down: Fired when the escape key is pressed.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.

+ 3 - 0
reflex/components/radix/themes/components/checkbox.pyi

@@ -151,6 +151,7 @@ class Checkbox(RadixThemesComponent):
             required: Whether the checkbox is required
             required: Whether the checkbox is required
             name: The name of the checkbox control when submitting the form.
             name: The name of the checkbox control when submitting the form.
             value: The value of the checkbox control when submitting the form.
             value: The value of the checkbox control when submitting the form.
+            on_change: Props to rename  Fired when the checkbox is checked or unchecked.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -297,6 +298,7 @@ class HighLevelCheckbox(RadixThemesComponent):
             required: Whether the checkbox is required
             required: Whether the checkbox is required
             name: The name of the checkbox control when submitting the form.
             name: The name of the checkbox control when submitting the form.
             value: The value of the checkbox control when submitting the form.
             value: The value of the checkbox control when submitting the form.
+            on_change: Props to rename  Fired when the checkbox is checked or unchecked.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -441,6 +443,7 @@ class CheckboxNamespace(ComponentNamespace):
             required: Whether the checkbox is required
             required: Whether the checkbox is required
             name: The name of the checkbox control when submitting the form.
             name: The name of the checkbox control when submitting the form.
             value: The value of the checkbox control when submitting the form.
             value: The value of the checkbox control when submitting the form.
+            on_change: Props to rename  Fired when the checkbox is checked or unchecked.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 10 - 0
reflex/components/radix/themes/components/context_menu.pyi

@@ -52,6 +52,7 @@ class ContextMenuRoot(RadixThemesComponent):
         Args:
         Args:
             *children: Child components.
             *children: Child components.
             modal: The modality of the context menu. When set to true, interaction with outside elements will be disabled and only menu content will be visible to screen readers.
             modal: The modality of the context menu. When set to true, interaction with outside elements will be disabled and only menu content will be visible to screen readers.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -238,6 +239,11 @@ class ContextMenuContent(RadixThemesComponent):
             high_contrast: Whether to render the button with higher contrast color against background
             high_contrast: Whether to render the button with higher contrast color against background
             align_offset: The vertical distance in pixels from the anchor.
             align_offset: The vertical distance in pixels from the anchor.
             avoid_collisions: When true, overrides the side and aligns preferences to prevent collisions with boundary edges.
             avoid_collisions: When true, overrides the side and aligns preferences to prevent collisions with boundary edges.
+            on_close_auto_focus: Fired when the context menu is closed.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when a pointer down event happens outside the context menu.
+            on_focus_outside: Fired when focus moves outside the context menu.
+            on_interact_outside: Fired when interacting outside the context menu.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -393,6 +399,10 @@ class ContextMenuSubContent(RadixThemesComponent):
         Args:
         Args:
             *children: Child components.
             *children: Child components.
             loop: When true, keyboard navigation will loop from last item to first, and vice versa.
             loop: When true, keyboard navigation will loop from last item to first, and vice versa.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when a pointer down event happens outside the context menu.
+            on_focus_outside: Fired when focus moves outside the context menu.
+            on_interact_outside: Fired when interacting outside the context menu.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 7 - 0
reflex/components/radix/themes/components/dialog.pyi

@@ -53,6 +53,7 @@ class DialogRoot(RadixThemesComponent):
         Args:
         Args:
             *children: Child components.
             *children: Child components.
             open: The controlled open state of the dialog.
             open: The controlled open state of the dialog.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -233,6 +234,11 @@ class DialogContent(elements.Div, RadixThemesComponent):
         Args:
         Args:
             *children: Child components.
             *children: Child components.
             size: DialogContent size "1" - "4"
             size: DialogContent size "1" - "4"
+            on_open_auto_focus: Fired when the dialog is opened.
+            on_close_auto_focus: Fired when the dialog is closed.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when the pointer is down outside the dialog.
+            on_interact_outside: Fired when the pointer interacts outside the dialog.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.
@@ -395,6 +401,7 @@ class Dialog(ComponentNamespace):
         Args:
         Args:
             *children: Child components.
             *children: Child components.
             open: The controlled open state of the dialog.
             open: The controlled open state of the dialog.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 12 - 0
reflex/components/radix/themes/components/dropdown_menu.pyi

@@ -65,6 +65,7 @@ class DropdownMenuRoot(RadixThemesComponent):
             open: The controlled open state of the dropdown menu. Must be used in conjunction with onOpenChange.
             open: The controlled open state of the dropdown menu. Must be used in conjunction with onOpenChange.
             modal: The modality of the dropdown menu. When set to true, interaction with outside elements will be disabled and only menu content will be visible to screen readers. Defaults to True.
             modal: The modality of the dropdown menu. When set to true, interaction with outside elements will be disabled and only menu content will be visible to screen readers. Defaults to True.
             dir: The reading direction of submenus when applicable. If omitted, inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode.
             dir: The reading direction of submenus when applicable. If omitted, inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -280,6 +281,11 @@ class DropdownMenuContent(RadixThemesComponent):
             arrow_padding: The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it from overflowing the corners. Defaults to 0.
             arrow_padding: The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it from overflowing the corners. Defaults to 0.
             sticky: The sticky behavior on the align axis. "partial" will keep the content in the boundary as long as the trigger is at least partially in the boundary whilst "always" will keep the content in the boundary regardless. Defaults to "partial".
             sticky: The sticky behavior on the align axis. "partial" will keep the content in the boundary as long as the trigger is at least partially in the boundary whilst "always" will keep the content in the boundary regardless. Defaults to "partial".
             hide_when_detached: Whether to hide the content when the trigger becomes fully occluded. Defaults to False.
             hide_when_detached: Whether to hide the content when the trigger becomes fully occluded. Defaults to False.
+            on_close_auto_focus: Fired when the dialog is closed.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when the pointer is down outside the dialog.
+            on_focus_outside: Fired when focus moves outside the dialog.
+            on_interact_outside: Fired when the pointer interacts outside the dialog.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -377,6 +383,7 @@ class DropdownMenuSub(RadixThemesComponent):
             *children: Child components.
             *children: Child components.
             open: The controlled open state of the submenu. Must be used in conjunction with `on_open_change`.
             open: The controlled open state of the submenu. Must be used in conjunction with `on_open_change`.
             default_open: The open state of the submenu when it is initially rendered. Use when you do not need to control its open state.
             default_open: The open state of the submenu when it is initially rendered. Use when you do not need to control its open state.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -459,6 +466,10 @@ class DropdownMenuSubContent(RadixThemesComponent):
             arrow_padding: The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it from overflowing the corners. Defaults to 0.
             arrow_padding: The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it from overflowing the corners. Defaults to 0.
             sticky: The sticky behavior on the align axis. "partial" will keep the content in the boundary as long as the trigger is at least partially in the boundary whilst "always" will keep the content in the boundary regardless. Defaults to "partial".
             sticky: The sticky behavior on the align axis. "partial" will keep the content in the boundary as long as the trigger is at least partially in the boundary whilst "always" will keep the content in the boundary regardless. Defaults to "partial".
             hide_when_detached: Whether to hide the content when the trigger becomes fully occluded. Defaults to False.
             hide_when_detached: Whether to hide the content when the trigger becomes fully occluded. Defaults to False.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when the pointer is down outside the dialog.
+            on_focus_outside: Fired when focus moves outside the dialog.
+            on_interact_outside: Fired when the pointer interacts outside the dialog.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -580,6 +591,7 @@ class DropdownMenuItem(RadixThemesComponent):
             as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. Defaults to False.
             as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. Defaults to False.
             disabled: When true, prevents the user from interacting with the item.
             disabled: When true, prevents the user from interacting with the item.
             text_value: Optional text used for typeahead purposes. By default the typeahead behavior will use the .textContent of the item. Use this when the content is complex, or you have non-textual content inside.
             text_value: Optional text used for typeahead purposes. By default the typeahead behavior will use the .textContent of the item. Use this when the content is complex, or you have non-textual content inside.
+            on_select: Fired when the item is selected.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 2 - 0
reflex/components/radix/themes/components/hover_card.pyi

@@ -59,6 +59,7 @@ class HoverCardRoot(RadixThemesComponent):
             open: The controlled open state of the hover card. Must be used in conjunction with onOpenChange.
             open: The controlled open state of the hover card. Must be used in conjunction with onOpenChange.
             open_delay: The duration from when the mouse enters the trigger until the hover card opens.
             open_delay: The duration from when the mouse enters the trigger until the hover card opens.
             close_delay: The duration from when the mouse leaves the trigger until the hover card closes.
             close_delay: The duration from when the mouse leaves the trigger until the hover card closes.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -272,6 +273,7 @@ class HoverCard(ComponentNamespace):
             open: The controlled open state of the hover card. Must be used in conjunction with onOpenChange.
             open: The controlled open state of the hover card. Must be used in conjunction with onOpenChange.
             open_delay: The duration from when the mouse enters the trigger until the hover card opens.
             open_delay: The duration from when the mouse enters the trigger until the hover card opens.
             close_delay: The duration from when the mouse leaves the trigger until the hover card closes.
             close_delay: The duration from when the mouse leaves the trigger until the hover card closes.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 7 - 0
reflex/components/radix/themes/components/popover.pyi

@@ -55,6 +55,7 @@ class PopoverRoot(RadixThemesComponent):
             *children: Child components.
             *children: Child components.
             open: The controlled open state of the popover.
             open: The controlled open state of the popover.
             modal: The modality of the popover. When set to true, interaction with outside elements will be disabled and only popover content will be visible to screen readers.
             modal: The modality of the popover. When set to true, interaction with outside elements will be disabled and only popover content will be visible to screen readers.
+            on_open_change: Fired when the open state changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -207,6 +208,12 @@ class PopoverContent(elements.Div, RadixThemesComponent):
             align: The preferred alignment against the anchor. May change when collisions occur.
             align: The preferred alignment against the anchor. May change when collisions occur.
             align_offset: The vertical distance in pixels from the anchor.
             align_offset: The vertical distance in pixels from the anchor.
             avoid_collisions: When true, overrides the side andalign preferences to prevent collisions with boundary edges.
             avoid_collisions: When true, overrides the side andalign preferences to prevent collisions with boundary edges.
+            on_open_auto_focus: Fired when the dialog is opened.
+            on_close_auto_focus: Fired when the dialog is closed.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when the pointer is down outside the dialog.
+            on_focus_outside: Fired when focus moves outside the dialog.
+            on_interact_outside: Fired when the pointer interacts outside the dialog.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.

+ 1 - 0
reflex/components/radix/themes/components/radio_cards.pyi

@@ -201,6 +201,7 @@ class RadioCardsRoot(RadixThemesComponent):
             orientation: The orientation of the component.
             orientation: The orientation of the component.
             dir: The reading direction of the radio group. If omitted,  inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode.
             dir: The reading direction of the radio group. If omitted,  inherits globally from DirectionProvider or assumes LTR (left-to-right) reading mode.
             loop: When true, keyboard navigation will loop from last item to first, and vice versa.
             loop: When true, keyboard navigation will loop from last item to first, and vice versa.
+            on_value_change: Event handler called when the value changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 1 - 0
reflex/components/radix/themes/components/radio_group.pyi

@@ -146,6 +146,7 @@ class RadioGroupRoot(RadixThemesComponent):
             disabled: Whether the radio group is disabled
             disabled: Whether the radio group is disabled
             name: The name of the group. Submitted with its owning form as part of a name/value pair.
             name: The name of the group. Submitted with its owning form as part of a name/value pair.
             required: Whether the radio group is required
             required: Whether the radio group is required
+            on_change: Props to rename  Fired when the value of the radio group changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 1 - 0
reflex/components/radix/themes/components/segmented_control.pyi

@@ -148,6 +148,7 @@ class SegmentedControlRoot(RadixThemesComponent):
             radius: The radius of the segmented control: "none" | "small" | "medium" | "large" | "full"
             radius: The radius of the segmented control: "none" | "small" | "medium" | "large" | "full"
             default_value: The default value of the segmented control.
             default_value: The default value of the segmented control.
             value: The current value of the segmented control.
             value: The current value of the segmented control.
+            on_change: Handles the `onChange` event for the SegmentedControl component.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 9 - 0
reflex/components/radix/themes/components/select.pyi

@@ -77,6 +77,8 @@ class SelectRoot(RadixThemesComponent):
             name: The name of the select control when submitting the form.
             name: The name of the select control when submitting the form.
             disabled: When True, prevents the user from interacting with select.
             disabled: When True, prevents the user from interacting with select.
             required: When True, indicates that the user must select a value before the owning form can be submitted.
             required: When True, indicates that the user must select a value before the owning form can be submitted.
+            on_change: Props to rename  Fired when the value of the select changes.
+            on_open_change: Fired when the select is opened or closed.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -351,6 +353,9 @@ class SelectContent(RadixThemesComponent):
             side_offset: The distance in pixels from the anchor. Only available when position is set to popper.
             side_offset: The distance in pixels from the anchor. Only available when position is set to popper.
             align: The preferred alignment against the anchor. May change when collisions occur. Only available when position is set to popper.
             align: The preferred alignment against the anchor. May change when collisions occur. Only available when position is set to popper.
             align_offset: The vertical distance in pixels from the anchor. Only available when position is set to popper.
             align_offset: The vertical distance in pixels from the anchor. Only available when position is set to popper.
+            on_close_auto_focus: Fired when the select content is closed.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when a pointer down event happens outside the select content.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -719,6 +724,8 @@ class HighLevelSelect(SelectRoot):
             name: The name of the select control when submitting the form.
             name: The name of the select control when submitting the form.
             disabled: When True, prevents the user from interacting with select.
             disabled: When True, prevents the user from interacting with select.
             required: When True, indicates that the user must select a value before the owning form can be submitted.
             required: When True, indicates that the user must select a value before the owning form can be submitted.
+            on_change: Props to rename  Fired when the value of the select changes.
+            on_open_change: Fired when the select is opened or closed.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -893,6 +900,8 @@ class Select(ComponentNamespace):
             name: The name of the select control when submitting the form.
             name: The name of the select control when submitting the form.
             disabled: When True, prevents the user from interacting with select.
             disabled: When True, prevents the user from interacting with select.
             required: When True, indicates that the user must select a value before the owning form can be submitted.
             required: When True, indicates that the user must select a value before the owning form can be submitted.
+            on_change: Props to rename  Fired when the value of the select changes.
+            on_open_change: Fired when the select is opened or closed.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 2 - 0
reflex/components/radix/themes/components/slider.pyi

@@ -175,6 +175,8 @@ class Slider(RadixThemesComponent):
             step: The step value of the slider.
             step: The step value of the slider.
             disabled: Whether the slider is disabled
             disabled: Whether the slider is disabled
             orientation: The orientation of the slider.
             orientation: The orientation of the slider.
+            on_change: Props to rename  Fired when the value of the slider changes.
+            on_value_commit: Fired when a thumb is released after being dragged.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 1 - 0
reflex/components/radix/themes/components/switch.pyi

@@ -155,6 +155,7 @@ class Switch(RadixThemesComponent):
             color_scheme: Override theme color for switch
             color_scheme: Override theme color for switch
             high_contrast: Whether to render the switch with higher contrast color against background
             high_contrast: Whether to render the switch with higher contrast color against background
             radius: Override theme radius for switch: "none" | "small" | "full"
             radius: Override theme radius for switch: "none" | "small" | "full"
+            on_change: Props to rename  Fired when the value of the switch changes
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 2 - 0
reflex/components/radix/themes/components/tabs.pyi

@@ -70,6 +70,7 @@ class TabsRoot(RadixThemesComponent):
             orientation: The orientation of the tabs.
             orientation: The orientation of the tabs.
             dir: Reading direction of the tabs.
             dir: Reading direction of the tabs.
             activation_mode: The mode of activation for the tabs. "automatic" will activate the tab when focused. "manual" will activate the tab when clicked.
             activation_mode: The mode of activation for the tabs. "automatic" will activate the tab when focused. "manual" will activate the tab when clicked.
+            on_change: Props to rename  Fired when the value of the tabs changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -369,6 +370,7 @@ class Tabs(ComponentNamespace):
             orientation: The orientation of the tabs.
             orientation: The orientation of the tabs.
             dir: Reading direction of the tabs.
             dir: Reading direction of the tabs.
             activation_mode: The mode of activation for the tabs. "automatic" will activate the tab when focused. "manual" will activate the tab when clicked.
             activation_mode: The mode of activation for the tabs. "automatic" will activate the tab when focused. "manual" will activate the tab when clicked.
+            on_change: Props to rename  Fired when the value of the tabs changes.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 5 - 0
reflex/components/radix/themes/components/text_area.pyi

@@ -214,6 +214,11 @@ class TextArea(RadixThemesComponent, elements.Textarea):
             auto_height: Automatically fit the content height to the text (use min-height with this prop)
             auto_height: Automatically fit the content height to the text (use min-height with this prop)
             cols: Visible width of the text control, in average character widths
             cols: Visible width of the text control, in average character widths
             enter_key_submit: Enter key submits form (shift-enter adds new line)
             enter_key_submit: Enter key submits form (shift-enter adds new line)
+            on_change: Fired when the input value changes
+            on_focus: Fired when the input gains focus
+            on_blur: Fired when the input loses focus
+            on_key_down: Fired when a key is pressed down
+            on_key_up: Fired when a key is released
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.

+ 10 - 0
reflex/components/radix/themes/components/text_field.pyi

@@ -188,6 +188,11 @@ class TextFieldRoot(elements.Div, RadixThemesComponent):
             required: Indicates that the input is required
             required: Indicates that the input is required
             type: Specifies the type of input
             type: Specifies the type of input
             value: Value of the input
             value: Value of the input
+            on_change: Fired when the value of the textarea changes.
+            on_focus: Fired when the textarea is focused.
+            on_blur: Fired when the textarea is blurred.
+            on_key_down: Fired when a key is pressed down.
+            on_key_up: Fired when a key is released.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.
@@ -500,6 +505,11 @@ class TextField(ComponentNamespace):
             required: Indicates that the input is required
             required: Indicates that the input is required
             type: Specifies the type of input
             type: Specifies the type of input
             value: Value of the input
             value: Value of the input
+            on_change: Fired when the value of the textarea changes.
+            on_focus: Fired when the textarea is focused.
+            on_blur: Fired when the textarea is blurred.
+            on_key_down: Fired when a key is pressed down.
+            on_key_up: Fired when a key is released.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             access_key:  Provides a hint for generating a keyboard shortcut for the current element.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
             content_editable: Indicates whether the element's content is editable.
             content_editable: Indicates whether the element's content is editable.

+ 3 - 0
reflex/components/radix/themes/components/tooltip.pyi

@@ -106,6 +106,9 @@ class Tooltip(RadixThemesComponent):
             disable_hoverable_content: Prevents Tooltip content from remaining open when hovering.
             disable_hoverable_content: Prevents Tooltip content from remaining open when hovering.
             force_mount: Used to force mounting when more control is needed. Useful when controlling animation with React animation libraries.
             force_mount: Used to force mounting when more control is needed. Useful when controlling animation with React animation libraries.
             aria_label: By default, screenreaders will announce the content inside the component. If this is not descriptive enough, or you have content that cannot be announced, use aria-label as a more descriptive label.
             aria_label: By default, screenreaders will announce the content inside the component. If this is not descriptive enough, or you have content that cannot be announced, use aria-label as a more descriptive label.
+            on_open_change: Fired when the open state changes.
+            on_escape_key_down: Fired when the escape key is pressed.
+            on_pointer_down_outside: Fired when the pointer is down outside the tooltip.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 16 - 0
reflex/components/react_player/audio.pyi

@@ -82,6 +82,22 @@ class Audio(ReactPlayer):
             muted: Mutes the player
             muted: Mutes the player
             width: Set the width of the player: ex:640px
             width: Set the width of the player: ex:640px
             height: Set the height of the player: ex:640px
             height: Set the height of the player: ex:640px
+            on_ready: Called when media is loaded and ready to play. If playing is set to true, media will play immediately.
+            on_start: Called when media starts playing.
+            on_play: Called when media starts or resumes playing after pausing or buffering.
+            on_progress: Callback containing played and loaded progress as a fraction, and playedSeconds and loadedSeconds in seconds. eg { played: 0.12, playedSeconds: 11.3, loaded: 0.34, loadedSeconds: 16.7 }
+            on_duration: Callback containing duration of the media, in seconds.
+            on_pause: Called when media is paused.
+            on_buffer: Called when media starts buffering.
+            on_buffer_end: Called when media has finished buffering. Works for files, YouTube and Facebook.
+            on_seek: Called when media seeks with seconds parameter.
+            on_playback_rate_change: Called when playback rate of the player changed. Only supported by YouTube, Vimeo (if enabled), Wistia, and file paths.
+            on_playback_quality_change: Called when playback quality of the player changed. Only supported by YouTube (if enabled).
+            on_ended: Called when media finishes playing. Does not fire when loop is set to true.
+            on_error: Called when an error occurs whilst attempting to play media.
+            on_click_preview: Called when user clicks the light mode preview.
+            on_enable_pip: Called when picture-in-picture mode is enabled.
+            on_disable_pip: Called when picture-in-picture mode is disabled.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 16 - 0
reflex/components/react_player/react_player.pyi

@@ -85,6 +85,22 @@ class ReactPlayer(NoSSRComponent):
             muted: Mutes the player
             muted: Mutes the player
             width: Set the width of the player: ex:640px
             width: Set the width of the player: ex:640px
             height: Set the height of the player: ex:640px
             height: Set the height of the player: ex:640px
+            on_ready: Called when media is loaded and ready to play. If playing is set to true, media will play immediately.
+            on_start: Called when media starts playing.
+            on_play: Called when media starts or resumes playing after pausing or buffering.
+            on_progress: Callback containing played and loaded progress as a fraction, and playedSeconds and loadedSeconds in seconds. eg { played: 0.12, playedSeconds: 11.3, loaded: 0.34, loadedSeconds: 16.7 }
+            on_duration: Callback containing duration of the media, in seconds.
+            on_pause: Called when media is paused.
+            on_buffer: Called when media starts buffering.
+            on_buffer_end: Called when media has finished buffering. Works for files, YouTube and Facebook.
+            on_seek: Called when media seeks with seconds parameter.
+            on_playback_rate_change: Called when playback rate of the player changed. Only supported by YouTube, Vimeo (if enabled), Wistia, and file paths.
+            on_playback_quality_change: Called when playback quality of the player changed. Only supported by YouTube (if enabled).
+            on_ended: Called when media finishes playing. Does not fire when loop is set to true.
+            on_error: Called when an error occurs whilst attempting to play media.
+            on_click_preview: Called when user clicks the light mode preview.
+            on_enable_pip: Called when picture-in-picture mode is enabled.
+            on_disable_pip: Called when picture-in-picture mode is disabled.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 16 - 0
reflex/components/react_player/video.pyi

@@ -82,6 +82,22 @@ class Video(ReactPlayer):
             muted: Mutes the player
             muted: Mutes the player
             width: Set the width of the player: ex:640px
             width: Set the width of the player: ex:640px
             height: Set the height of the player: ex:640px
             height: Set the height of the player: ex:640px
+            on_ready: Called when media is loaded and ready to play. If playing is set to true, media will play immediately.
+            on_start: Called when media starts playing.
+            on_play: Called when media starts or resumes playing after pausing or buffering.
+            on_progress: Callback containing played and loaded progress as a fraction, and playedSeconds and loadedSeconds in seconds. eg { played: 0.12, playedSeconds: 11.3, loaded: 0.34, loadedSeconds: 16.7 }
+            on_duration: Callback containing duration of the media, in seconds.
+            on_pause: Called when media is paused.
+            on_buffer: Called when media starts buffering.
+            on_buffer_end: Called when media has finished buffering. Works for files, YouTube and Facebook.
+            on_seek: Called when media seeks with seconds parameter.
+            on_playback_rate_change: Called when playback rate of the player changed. Only supported by YouTube, Vimeo (if enabled), Wistia, and file paths.
+            on_playback_quality_change: Called when playback quality of the player changed. Only supported by YouTube (if enabled).
+            on_ended: Called when media finishes playing. Does not fire when loop is set to true.
+            on_error: Called when an error occurs whilst attempting to play media.
+            on_click_preview: Called when user clicks the light mode preview.
+            on_enable_pip: Called when picture-in-picture mode is enabled.
+            on_disable_pip: Called when picture-in-picture mode is disabled.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 87 - 0
reflex/components/recharts/cartesian.pyi

@@ -168,6 +168,13 @@ class Axis(Recharts):
             min_tick_gap: The minimum gap between two adjacent labels. Default: 5
             min_tick_gap: The minimum gap between two adjacent labels. Default: 5
             stroke: The stroke color of axis. Default: rx.color("gray", 9)
             stroke: The stroke color of axis. Default: rx.color("gray", 9)
             text_anchor: The text anchor of axis. Default: "middle"
             text_anchor: The text anchor of axis. Default: "middle"
+            on_click: The customized event handler of click on the ticks of this axis
+            on_mouse_down: The customized event handler of mousedown on the ticks of this axis
+            on_mouse_up: The customized event handler of mouseup on the ticks of this axis
+            on_mouse_move: The customized event handler of mousemove on the ticks of this axis
+            on_mouse_out: The customized event handler of mouseout on the ticks of this axis
+            on_mouse_enter: The customized event handler of mouseenter on the ticks of this axis
+            on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -347,6 +354,13 @@ class XAxis(Axis):
             min_tick_gap: The minimum gap between two adjacent labels. Default: 5
             min_tick_gap: The minimum gap between two adjacent labels. Default: 5
             stroke: The stroke color of axis. Default: rx.color("gray", 9)
             stroke: The stroke color of axis. Default: rx.color("gray", 9)
             text_anchor: The text anchor of axis. Default: "middle"
             text_anchor: The text anchor of axis. Default: "middle"
+            on_click: The customized event handler of click on the ticks of this axis
+            on_mouse_down: The customized event handler of mousedown on the ticks of this axis
+            on_mouse_up: The customized event handler of mouseup on the ticks of this axis
+            on_mouse_move: The customized event handler of mousemove on the ticks of this axis
+            on_mouse_out: The customized event handler of mouseout on the ticks of this axis
+            on_mouse_enter: The customized event handler of mouseenter on the ticks of this axis
+            on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -522,6 +536,13 @@ class YAxis(Axis):
             min_tick_gap: The minimum gap between two adjacent labels. Default: 5
             min_tick_gap: The minimum gap between two adjacent labels. Default: 5
             stroke: The stroke color of axis. Default: rx.color("gray", 9)
             stroke: The stroke color of axis. Default: rx.color("gray", 9)
             text_anchor: The text anchor of axis. Default: "middle"
             text_anchor: The text anchor of axis. Default: "middle"
+            on_click: The customized event handler of click on the ticks of this axis
+            on_mouse_down: The customized event handler of mousedown on the ticks of this axis
+            on_mouse_up: The customized event handler of mouseup on the ticks of this axis
+            on_mouse_move: The customized event handler of mousemove on the ticks of this axis
+            on_mouse_out: The customized event handler of mouseout on the ticks of this axis
+            on_mouse_enter: The customized event handler of mouseenter on the ticks of this axis
+            on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -787,6 +808,16 @@ class Cartesian(Recharts):
             animation_easing: The type of easing function. Default: "ease"
             animation_easing: The type of easing function. Default: "ease"
             unit: The unit of data. This option will be used in tooltip.
             unit: The unit of data. This option will be used in tooltip.
             name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
             name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
+            on_animation_start: The customized event handler of animation start
+            on_animation_end: The customized event handler of animation end
+            on_click: The customized event handler of click on the component in this group
+            on_mouse_down: The customized event handler of mousedown on the component in this group
+            on_mouse_up: The customized event handler of mouseup on the component in this group
+            on_mouse_move: The customized event handler of mousemove on the component in this group
+            on_mouse_over: The customized event handler of mouseover on the component in this group
+            on_mouse_out: The customized event handler of mouseout on the component in this group
+            on_mouse_enter: The customized event handler of mouseenter on the component in this group
+            on_mouse_leave: The customized event handler of mouseleave on the component in this group
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -965,6 +996,16 @@ class Area(Cartesian):
             animation_easing: The type of easing function. Default: "ease"
             animation_easing: The type of easing function. Default: "ease"
             unit: The unit of data. This option will be used in tooltip.
             unit: The unit of data. This option will be used in tooltip.
             name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
             name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
+            on_animation_start: The customized event handler of animation start
+            on_animation_end: The customized event handler of animation end
+            on_click: The customized event handler of click on the component in this group
+            on_mouse_down: The customized event handler of mousedown on the component in this group
+            on_mouse_up: The customized event handler of mouseup on the component in this group
+            on_mouse_move: The customized event handler of mousemove on the component in this group
+            on_mouse_over: The customized event handler of mouseover on the component in this group
+            on_mouse_out: The customized event handler of mouseout on the component in this group
+            on_mouse_enter: The customized event handler of mouseenter on the component in this group
+            on_mouse_leave: The customized event handler of mouseleave on the component in this group
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -1096,6 +1137,16 @@ class Bar(Cartesian):
             animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
             animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_easing: The type of easing function. Default: "ease"
             animation_easing: The type of easing function. Default: "ease"
+            on_animation_start: The customized event handler of animation start
+            on_animation_end: The customized event handler of animation end
+            on_click: The customized event handler of click on the component in this group
+            on_mouse_down: The customized event handler of mousedown on the component in this group
+            on_mouse_up: The customized event handler of mouseup on the component in this group
+            on_mouse_move: The customized event handler of mousemove on the component in this group
+            on_mouse_over: The customized event handler of mouseover on the component in this group
+            on_mouse_out: The customized event handler of mouseout on the component in this group
+            on_mouse_enter: The customized event handler of mouseenter on the component in this group
+            on_mouse_leave: The customized event handler of mouseleave on the component in this group
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -1270,6 +1321,16 @@ class Line(Cartesian):
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_easing: The type of easing function. Default: "ease"
             animation_easing: The type of easing function. Default: "ease"
             name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
             name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
+            on_animation_start: The customized event handler of animation start
+            on_animation_end: The customized event handler of animation end
+            on_click: The customized event handler of click on the component in this group
+            on_mouse_down: The customized event handler of mousedown on the component in this group
+            on_mouse_up: The customized event handler of mouseup on the component in this group
+            on_mouse_move: The customized event handler of mousemove on the component in this group
+            on_mouse_over: The customized event handler of mouseover on the component in this group
+            on_mouse_out: The customized event handler of mouseout on the component in this group
+            on_mouse_enter: The customized event handler of mouseenter on the component in this group
+            on_mouse_leave: The customized event handler of mouseleave on the component in this group
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -1397,6 +1458,14 @@ class Scatter(Recharts):
             animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
             animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_easing: The type of easing function. Default: "ease"
             animation_easing: The type of easing function. Default: "ease"
+            on_click: The customized event handler of click on the component in this group
+            on_mouse_down: The customized event handler of mousedown on the component in this group
+            on_mouse_up: The customized event handler of mouseup on the component in this group
+            on_mouse_move: The customized event handler of mousemove on the component in this group
+            on_mouse_over: The customized event handler of mouseover on the component in this group
+            on_mouse_out: The customized event handler of mouseout on the component in this group
+            on_mouse_enter: The customized event handler of mouseenter on the component in this group
+            on_mouse_leave: The customized event handler of mouseleave on the component in this group
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -1503,6 +1572,16 @@ class Funnel(Recharts):
             animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default "ease"
             animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default "ease"
             stroke: Stroke color. Default: rx.color("gray", 3)
             stroke: Stroke color. Default: rx.color("gray", 3)
             trapezoids: The coordinates of all the trapezoids in the funnel, usually calculated internally.
             trapezoids: The coordinates of all the trapezoids in the funnel, usually calculated internally.
+            on_animation_start: The customized event handler of animation start
+            on_animation_end: The customized event handler of animation end
+            on_click: The customized event handler of click on the component in this group
+            on_mouse_down: The customized event handler of mousedown on the component in this group
+            on_mouse_up: The customized event handler of mouseup on the component in this group
+            on_mouse_move: The customized event handler of mousemove on the component in this group
+            on_mouse_over: The customized event handler of mouseover on the component in this group
+            on_mouse_out: The customized event handler of mouseout on the component in this group
+            on_mouse_enter: The customized event handler of mouseenter on the component in this group
+            on_mouse_leave: The customized event handler of mouseleave on the component in this group
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -1757,6 +1836,14 @@ class ReferenceDot(Reference):
             r: The radius of dot.
             r: The radius of dot.
             fill: The color of the area fill.
             fill: The color of the area fill.
             stroke: The color of the line stroke.
             stroke: The color of the line stroke.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_down: The customized event handler of mousedown on the component in this chart
+            on_mouse_up: The customized event handler of mouseup on the component in this chart
+            on_mouse_over: The customized event handler of mouseover on the component in this chart
+            on_mouse_out: The customized event handler of mouseout on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             x_axis_id: The id of x-axis which is corresponding to the data. Default: 0
             x_axis_id: The id of x-axis which is corresponding to the data. Default: 0
             y_axis_id: The id of y-axis which is corresponding to the data. Default: 0
             y_axis_id: The id of y-axis which is corresponding to the data. Default: 0
             if_overflow: Defines how to draw the reference line if it falls partly outside the canvas. If set to 'discard', the reference line will not be drawn at all. If set to 'hidden', the reference line will be clipped to the canvas. If set to 'visible', the reference line will be drawn completely. If set to 'extendDomain', the domain of the overflown axis will be extended such that the reference line fits into the canvas. Default: "discard"
             if_overflow: Defines how to draw the reference line if it falls partly outside the canvas. If set to 'discard', the reference line will not be drawn at all. If set to 'hidden', the reference line will be clipped to the canvas. If set to 'visible', the reference line will be drawn completely. If set to 'extendDomain', the domain of the overflown axis will be extended such that the reference line fits into the canvas. Default: "discard"

+ 49 - 0
reflex/components/recharts/charts.pyi

@@ -51,6 +51,10 @@ class ChartBase(RechartsCharts):
             *children: The children of the chart component.
             *children: The children of the chart component.
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -125,6 +129,10 @@ class CategoricalChartBase(ChartBase):
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -207,6 +215,10 @@ class AreaChart(CategoricalChartBase):
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -291,6 +303,10 @@ class BarChart(CategoricalChartBase):
             layout: The layout of area in the chart. 'horizontal' | 'vertical'. Default: "horizontal"
             layout: The layout of area in the chart. 'horizontal' | 'vertical'. Default: "horizontal"
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -365,6 +381,10 @@ class LineChart(CategoricalChartBase):
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -455,6 +475,10 @@ class ComposedChart(CategoricalChartBase):
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             stack_offset: The type of offset function used to generate the lower and upper values in the series array. The four types are built-in offsets in d3-shape. 'expand' | 'none' | 'wiggle' | 'silhouette'
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -505,8 +529,16 @@ class PieChart(ChartBase):
         Args:
         Args:
             *children: The children of the chart component.
             *children: The children of the chart component.
             margin: The sizes of whitespace around the chart, i.e. {"top": 50, "right": 30, "left": 20, "bottom": 5}.
             margin: The sizes of whitespace around the chart, i.e. {"top": 50, "right": 30, "left": 20, "bottom": 5}.
+            on_mouse_down: The customized event handler of mousedown on the sectors in this group
+            on_mouse_up: The customized event handler of mouseup on the sectors in this group
+            on_mouse_over: The customized event handler of mouseover on the sectors in this group
+            on_mouse_out: The customized event handler of mouseout on the sectors in this group
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -562,6 +594,9 @@ class RadarChart(ChartBase):
             outer_radius: The outer radius of last circle grid. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. Number | Percentage. Default: "80%"
             outer_radius: The outer radius of last circle grid. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy. Number | Percentage. Default: "80%"
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -634,6 +669,10 @@ class RadialBarChart(ChartBase):
             bar_size: The size of each bar. If the barSize is not specified, the size of bar will be calculated by the barCategoryGap, barGap and the quantity of bar groups.
             bar_size: The size of each bar. If the barSize is not specified, the size of bar will be calculated by the barCategoryGap, barGap and the quantity of bar groups.
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -680,6 +719,10 @@ class ScatterChart(ChartBase):
             margin: The sizes of whitespace around the chart. Default: {"top": 5, "right": 5, "bottom": 5, "left": 5}
             margin: The sizes of whitespace around the chart. Default: {"top": 5, "right": 5, "bottom": 5, "left": 5}
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -736,6 +779,10 @@ class FunnelChart(ChartBase):
             stroke: The stroke color of each bar. String | Object
             stroke: The stroke color of each bar. String | Object
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
+            on_click: The customized event handler of click on the component in this chart
+            on_mouse_enter: The customized event handler of mouseenter on the component in this chart
+            on_mouse_move: The customized event handler of mousemove on the component in this chart
+            on_mouse_leave: The customized event handler of mouseleave on the component in this chart
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -809,6 +856,8 @@ class Treemap(RechartsCharts):
             animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
             animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
             animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default: "ease"
             animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default: "ease"
+            on_animation_start: The customized event handler of animation start
+            on_animation_end: The customized event handler of animation end
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 9 - 0
reflex/components/recharts/general.pyi

@@ -61,6 +61,7 @@ class ResponsiveContainer(Recharts, MemoizationLeaf):
             min_width: The minimum width of chart container. Number
             min_width: The minimum width of chart container. Number
             min_height: The minimum height of chart container. Number
             min_height: The minimum height of chart container. Number
             debounce: If specified a positive number, debounced function will be used to handle the resize event. Default: 0
             debounce: If specified a positive number, debounced function will be used to handle the resize event. Default: 0
+            on_resize: If specified provides a callback providing the updated chart width and height values.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.
@@ -175,6 +176,14 @@ class Legend(Recharts):
             chart_width: The width of chart container, usually calculated internally.
             chart_width: The width of chart container, usually calculated internally.
             chart_height: The height of chart container, usually calculated internally.
             chart_height: The height of chart container, usually calculated internally.
             margin: The margin of chart container, usually calculated internally.
             margin: The margin of chart container, usually calculated internally.
+            on_click: The customized event handler of click on the items in this group
+            on_mouse_down: The customized event handler of mousedown on the items in this group
+            on_mouse_up: The customized event handler of mouseup on the items in this group
+            on_mouse_move: The customized event handler of mousemove on the items in this group
+            on_mouse_over: The customized event handler of mouseover on the items in this group
+            on_mouse_out: The customized event handler of mouseout on the items in this group
+            on_mouse_enter: The customized event handler of mouseenter on the items in this group
+            on_mouse_leave: The customized event handler of mouseleave on the items in this group
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 8 - 0
reflex/components/recharts/polar.pyi

@@ -391,6 +391,14 @@ class PolarAngleAxis(Recharts):
             orientation: The orientation of axis text. Default: "outer"
             orientation: The orientation of axis text. Default: "outer"
             stroke: The stroke color of axis. Default: rx.color("gray", 10)
             stroke: The stroke color of axis. Default: rx.color("gray", 10)
             allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category". Default: True
             allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category". Default: True
+            on_click: The customized event handler of click on the ticks of this axis.
+            on_mouse_down: The customized event handler of mousedown on the the ticks of this axis.
+            on_mouse_up: The customized event handler of mouseup on the ticks of this axis.
+            on_mouse_move: The customized event handler of mousemove on the ticks of this axis.
+            on_mouse_over: The customized event handler of mouseover on the ticks of this axis.
+            on_mouse_out: The customized event handler of mouseout on the ticks of this axis.
+            on_mouse_enter: The customized event handler of moustenter on the ticks of this axis.
+            on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 9 - 0
reflex/components/suneditor/editor.pyi

@@ -172,6 +172,15 @@ class Editor(NoSSRComponent):
             hide: Hide the editor  default: False
             hide: Hide the editor  default: False
             hide_toolbar: Hide the editor toolbar  default: False
             hide_toolbar: Hide the editor toolbar  default: False
             disable_toolbar: Disable the editor toolbar  default: False
             disable_toolbar: Disable the editor toolbar  default: False
+            on_change: Fired when the editor content changes.
+            on_input: Fired when the something is inputted in the editor.
+            on_blur: Fired when the editor loses focus.
+            on_load: Fired when the editor is loaded.
+            on_copy: Fired when the editor content is copied.
+            on_cut: Fired when the editor content is cut.
+            on_paste: Fired when the editor content is pasted.
+            toggle_code_view: Fired when the code view is toggled.
+            toggle_full_screen: Fired when the full screen mode is toggled.
             style: The style of the component.
             style: The style of the component.
             key: A unique key for the component.
             key: A unique key for the component.
             id: The id for the component.
             id: The id for the component.

+ 7 - 1
reflex/utils/pyi_generator.py

@@ -568,6 +568,7 @@ def _generate_component_create_functiondef(
         )
         )
         for trigger in sorted(event_triggers)
         for trigger in sorted(event_triggers)
     )
     )
+
     logger.debug(f"Generated {clz.__name__}.create method with {len(kwargs)} kwargs")
     logger.debug(f"Generated {clz.__name__}.create method with {len(kwargs)} kwargs")
     create_args = ast.arguments(
     create_args = ast.arguments(
         args=[ast.arg(arg="cls")],
         args=[ast.arg(arg="cls")],
@@ -578,12 +579,17 @@ def _generate_component_create_functiondef(
         kwarg=ast.arg(arg="props"),
         kwarg=ast.arg(arg="props"),
         defaults=[],
         defaults=[],
     )
     )
+
     definition = ast.FunctionDef(
     definition = ast.FunctionDef(
         name="create",
         name="create",
         args=create_args,
         args=create_args,
         body=[
         body=[
             ast.Expr(
             ast.Expr(
-                value=ast.Constant(value=_generate_docstrings(all_classes, all_props))
+                value=ast.Constant(
+                    value=_generate_docstrings(
+                        all_classes, [*all_props, *event_triggers]
+                    )
+                ),
             ),
             ),
             ast.Expr(
             ast.Expr(
                 value=ast.Ellipsis(),
                 value=ast.Ellipsis(),