blockquote.pyi 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. """Stub file for reflex/components/radix/themes/typography/blockquote.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Dict, Literal, Optional, Union, overload
  6. from reflex.components.core.breakpoints import Breakpoints
  7. from reflex.components.el import elements
  8. from reflex.event import BASE_STATE, EventType
  9. from reflex.style import Style
  10. from reflex.vars.base import Var
  11. from ..base import RadixThemesComponent
  12. class Blockquote(elements.Blockquote, RadixThemesComponent):
  13. @overload
  14. @classmethod
  15. def create( # type: ignore
  16. cls,
  17. *children,
  18. size: Optional[
  19. Union[
  20. Breakpoints[str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]],
  21. Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
  22. Var[
  23. Union[
  24. Breakpoints[
  25. str, Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"]
  26. ],
  27. Literal["1", "2", "3", "4", "5", "6", "7", "8", "9"],
  28. ]
  29. ],
  30. ]
  31. ] = None,
  32. weight: Optional[
  33. Union[
  34. Breakpoints[str, Literal["bold", "light", "medium", "regular"]],
  35. Literal["bold", "light", "medium", "regular"],
  36. Var[
  37. Union[
  38. Breakpoints[str, Literal["bold", "light", "medium", "regular"]],
  39. Literal["bold", "light", "medium", "regular"],
  40. ]
  41. ],
  42. ]
  43. ] = None,
  44. color_scheme: Optional[
  45. Union[
  46. Literal[
  47. "amber",
  48. "blue",
  49. "bronze",
  50. "brown",
  51. "crimson",
  52. "cyan",
  53. "gold",
  54. "grass",
  55. "gray",
  56. "green",
  57. "indigo",
  58. "iris",
  59. "jade",
  60. "lime",
  61. "mint",
  62. "orange",
  63. "pink",
  64. "plum",
  65. "purple",
  66. "red",
  67. "ruby",
  68. "sky",
  69. "teal",
  70. "tomato",
  71. "violet",
  72. "yellow",
  73. ],
  74. Var[
  75. Literal[
  76. "amber",
  77. "blue",
  78. "bronze",
  79. "brown",
  80. "crimson",
  81. "cyan",
  82. "gold",
  83. "grass",
  84. "gray",
  85. "green",
  86. "indigo",
  87. "iris",
  88. "jade",
  89. "lime",
  90. "mint",
  91. "orange",
  92. "pink",
  93. "plum",
  94. "purple",
  95. "red",
  96. "ruby",
  97. "sky",
  98. "teal",
  99. "tomato",
  100. "violet",
  101. "yellow",
  102. ]
  103. ],
  104. ]
  105. ] = None,
  106. high_contrast: Optional[Union[Var[bool], bool]] = None,
  107. cite: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  108. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  109. auto_capitalize: Optional[
  110. Union[Var[Union[bool, int, str]], bool, int, str]
  111. ] = None,
  112. content_editable: Optional[
  113. Union[Var[Union[bool, int, str]], bool, int, str]
  114. ] = None,
  115. context_menu: Optional[
  116. Union[Var[Union[bool, int, str]], bool, int, str]
  117. ] = None,
  118. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  119. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  120. enter_key_hint: Optional[
  121. Union[Var[Union[bool, int, str]], bool, int, str]
  122. ] = None,
  123. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  124. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  125. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  126. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  127. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  128. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  129. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  130. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  131. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  132. style: Optional[Style] = None,
  133. key: Optional[Any] = None,
  134. id: Optional[Any] = None,
  135. class_name: Optional[Any] = None,
  136. autofocus: Optional[bool] = None,
  137. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  138. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  139. on_click: Optional[EventType[[], BASE_STATE]] = None,
  140. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  141. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  142. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  143. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  144. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  145. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  146. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  147. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  148. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  149. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  150. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  151. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  152. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  153. **props,
  154. ) -> "Blockquote":
  155. """Create a new component instance.
  156. Will prepend "RadixThemes" to the component tag to avoid conflicts with
  157. other UI libraries for common names, like Text and Button.
  158. Args:
  159. *children: Child components.
  160. size: Text size: "1" - "9"
  161. weight: Thickness of text: "light" | "regular" | "medium" | "bold"
  162. color_scheme: Overrides the accent color inherited from the Theme.
  163. high_contrast: Whether to render the text with higher contrast color
  164. cite: Define the title of a work.
  165. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  166. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  167. content_editable: Indicates whether the element's content is editable.
  168. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  169. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  170. draggable: Defines whether the element can be dragged.
  171. enter_key_hint: Hints what media types the media element is able to play.
  172. hidden: Defines whether the element is hidden.
  173. input_mode: Defines the type of the element.
  174. item_prop: Defines the name of the element for metadata purposes.
  175. lang: Defines the language used in the element.
  176. role: Defines the role of the element.
  177. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  178. spell_check: Defines whether the element may be checked for spelling errors.
  179. tab_index: Defines the position of the current element in the tabbing order.
  180. title: Defines a tooltip for the element.
  181. style: The style of the component.
  182. key: A unique key for the component.
  183. id: The id for the component.
  184. class_name: The class name for the component.
  185. autofocus: Whether the component should take the focus once the page is loaded
  186. custom_attrs: custom attribute
  187. **props: Component properties.
  188. Returns:
  189. A new component instance.
  190. """
  191. ...
  192. blockquote = Blockquote.create