stepper.pyi 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. """Stub file for reflex/components/chakra/navigation/stepper.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.vars import Var, BaseVar, ComputedVar
  7. from reflex.event import EventChain, EventHandler, EventSpec
  8. from reflex.style import Style
  9. from typing import List, Literal, Optional, Tuple
  10. from reflex.components.chakra import ChakraComponent, LiteralColorScheme
  11. from reflex.components.component import Component
  12. from reflex.vars import Var
  13. class Stepper(ChakraComponent):
  14. @overload
  15. @classmethod
  16. def create( # type: ignore
  17. cls,
  18. *children,
  19. items: Optional[List[Tuple]] = None,
  20. orientation: Optional[
  21. Union[
  22. Var[Literal["vertical", "horizontal"]],
  23. Literal["vertical", "horizontal"],
  24. ]
  25. ] = None,
  26. colorScheme: Optional[
  27. Union[
  28. Var[
  29. Literal[
  30. "none",
  31. "gray",
  32. "red",
  33. "orange",
  34. "yellow",
  35. "green",
  36. "teal",
  37. "blue",
  38. "cyan",
  39. "purple",
  40. "pink",
  41. "whiteAlpha",
  42. "blackAlpha",
  43. "linkedin",
  44. "facebook",
  45. "messenger",
  46. "whatsapp",
  47. "twitter",
  48. "telegram",
  49. ]
  50. ],
  51. Literal[
  52. "none",
  53. "gray",
  54. "red",
  55. "orange",
  56. "yellow",
  57. "green",
  58. "teal",
  59. "blue",
  60. "cyan",
  61. "purple",
  62. "pink",
  63. "whiteAlpha",
  64. "blackAlpha",
  65. "linkedin",
  66. "facebook",
  67. "messenger",
  68. "whatsapp",
  69. "twitter",
  70. "telegram",
  71. ],
  72. ]
  73. ] = None,
  74. index: Optional[Union[Var[int], int]] = None,
  75. size: Optional[Union[Var[str], str]] = None,
  76. style: Optional[Style] = None,
  77. key: Optional[Any] = None,
  78. id: Optional[Any] = None,
  79. class_name: Optional[Any] = None,
  80. autofocus: Optional[bool] = None,
  81. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  82. on_blur: Optional[
  83. Union[EventHandler, EventSpec, list, function, BaseVar]
  84. ] = None,
  85. on_click: Optional[
  86. Union[EventHandler, EventSpec, list, function, BaseVar]
  87. ] = None,
  88. on_context_menu: Optional[
  89. Union[EventHandler, EventSpec, list, function, BaseVar]
  90. ] = None,
  91. on_double_click: Optional[
  92. Union[EventHandler, EventSpec, list, function, BaseVar]
  93. ] = None,
  94. on_focus: Optional[
  95. Union[EventHandler, EventSpec, list, function, BaseVar]
  96. ] = None,
  97. on_mount: Optional[
  98. Union[EventHandler, EventSpec, list, function, BaseVar]
  99. ] = None,
  100. on_mouse_down: Optional[
  101. Union[EventHandler, EventSpec, list, function, BaseVar]
  102. ] = None,
  103. on_mouse_enter: Optional[
  104. Union[EventHandler, EventSpec, list, function, BaseVar]
  105. ] = None,
  106. on_mouse_leave: Optional[
  107. Union[EventHandler, EventSpec, list, function, BaseVar]
  108. ] = None,
  109. on_mouse_move: Optional[
  110. Union[EventHandler, EventSpec, list, function, BaseVar]
  111. ] = None,
  112. on_mouse_out: Optional[
  113. Union[EventHandler, EventSpec, list, function, BaseVar]
  114. ] = None,
  115. on_mouse_over: Optional[
  116. Union[EventHandler, EventSpec, list, function, BaseVar]
  117. ] = None,
  118. on_mouse_up: Optional[
  119. Union[EventHandler, EventSpec, list, function, BaseVar]
  120. ] = None,
  121. on_scroll: Optional[
  122. Union[EventHandler, EventSpec, list, function, BaseVar]
  123. ] = None,
  124. on_unmount: Optional[
  125. Union[EventHandler, EventSpec, list, function, BaseVar]
  126. ] = None,
  127. **props
  128. ) -> "Stepper":
  129. """Create a Stepper component.
  130. If the kw-args `items` is provided and is a list, they will be added as children.
  131. Args:
  132. *children: The children of the component.
  133. items (list): The child components for each step.
  134. colorScheme: The color scheme to use for the stepper; default is blue.
  135. index: Chakra provides a useSteps hook to control the stepper. Instead, use an integer state value to set progress in the stepper. The index of the current step.
  136. size: The size of the steps in the stepper.
  137. style: The style of the component.
  138. key: A unique key for the component.
  139. id: The id for the component.
  140. class_name: The class name for the component.
  141. autofocus: Whether the component should take the focus once the page is loaded
  142. custom_attrs: custom attribute
  143. **props: The properties of the component.
  144. Returns:
  145. The stepper component.
  146. """
  147. ...
  148. class Step(ChakraComponent):
  149. @overload
  150. @classmethod
  151. def create( # type: ignore
  152. cls,
  153. *children,
  154. style: Optional[Style] = None,
  155. key: Optional[Any] = None,
  156. id: Optional[Any] = None,
  157. class_name: Optional[Any] = None,
  158. autofocus: Optional[bool] = None,
  159. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  160. on_blur: Optional[
  161. Union[EventHandler, EventSpec, list, function, BaseVar]
  162. ] = None,
  163. on_click: Optional[
  164. Union[EventHandler, EventSpec, list, function, BaseVar]
  165. ] = None,
  166. on_context_menu: Optional[
  167. Union[EventHandler, EventSpec, list, function, BaseVar]
  168. ] = None,
  169. on_double_click: Optional[
  170. Union[EventHandler, EventSpec, list, function, BaseVar]
  171. ] = None,
  172. on_focus: Optional[
  173. Union[EventHandler, EventSpec, list, function, BaseVar]
  174. ] = None,
  175. on_mount: Optional[
  176. Union[EventHandler, EventSpec, list, function, BaseVar]
  177. ] = None,
  178. on_mouse_down: Optional[
  179. Union[EventHandler, EventSpec, list, function, BaseVar]
  180. ] = None,
  181. on_mouse_enter: Optional[
  182. Union[EventHandler, EventSpec, list, function, BaseVar]
  183. ] = None,
  184. on_mouse_leave: Optional[
  185. Union[EventHandler, EventSpec, list, function, BaseVar]
  186. ] = None,
  187. on_mouse_move: Optional[
  188. Union[EventHandler, EventSpec, list, function, BaseVar]
  189. ] = None,
  190. on_mouse_out: Optional[
  191. Union[EventHandler, EventSpec, list, function, BaseVar]
  192. ] = None,
  193. on_mouse_over: Optional[
  194. Union[EventHandler, EventSpec, list, function, BaseVar]
  195. ] = None,
  196. on_mouse_up: Optional[
  197. Union[EventHandler, EventSpec, list, function, BaseVar]
  198. ] = None,
  199. on_scroll: Optional[
  200. Union[EventHandler, EventSpec, list, function, BaseVar]
  201. ] = None,
  202. on_unmount: Optional[
  203. Union[EventHandler, EventSpec, list, function, BaseVar]
  204. ] = None,
  205. **props
  206. ) -> "Step":
  207. """Create the component.
  208. Args:
  209. *children: The children of the component.
  210. style: The style of the component.
  211. key: A unique key for the component.
  212. id: The id for the component.
  213. class_name: The class name for the component.
  214. autofocus: Whether the component should take the focus once the page is loaded
  215. custom_attrs: custom attribute
  216. **props: The props of the component.
  217. Returns:
  218. The component.
  219. """
  220. ...
  221. class StepDescription(ChakraComponent):
  222. @overload
  223. @classmethod
  224. def create( # type: ignore
  225. cls,
  226. *children,
  227. style: Optional[Style] = None,
  228. key: Optional[Any] = None,
  229. id: Optional[Any] = None,
  230. class_name: Optional[Any] = None,
  231. autofocus: Optional[bool] = None,
  232. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  233. on_blur: Optional[
  234. Union[EventHandler, EventSpec, list, function, BaseVar]
  235. ] = None,
  236. on_click: Optional[
  237. Union[EventHandler, EventSpec, list, function, BaseVar]
  238. ] = None,
  239. on_context_menu: Optional[
  240. Union[EventHandler, EventSpec, list, function, BaseVar]
  241. ] = None,
  242. on_double_click: Optional[
  243. Union[EventHandler, EventSpec, list, function, BaseVar]
  244. ] = None,
  245. on_focus: Optional[
  246. Union[EventHandler, EventSpec, list, function, BaseVar]
  247. ] = None,
  248. on_mount: Optional[
  249. Union[EventHandler, EventSpec, list, function, BaseVar]
  250. ] = None,
  251. on_mouse_down: Optional[
  252. Union[EventHandler, EventSpec, list, function, BaseVar]
  253. ] = None,
  254. on_mouse_enter: Optional[
  255. Union[EventHandler, EventSpec, list, function, BaseVar]
  256. ] = None,
  257. on_mouse_leave: Optional[
  258. Union[EventHandler, EventSpec, list, function, BaseVar]
  259. ] = None,
  260. on_mouse_move: Optional[
  261. Union[EventHandler, EventSpec, list, function, BaseVar]
  262. ] = None,
  263. on_mouse_out: Optional[
  264. Union[EventHandler, EventSpec, list, function, BaseVar]
  265. ] = None,
  266. on_mouse_over: Optional[
  267. Union[EventHandler, EventSpec, list, function, BaseVar]
  268. ] = None,
  269. on_mouse_up: Optional[
  270. Union[EventHandler, EventSpec, list, function, BaseVar]
  271. ] = None,
  272. on_scroll: Optional[
  273. Union[EventHandler, EventSpec, list, function, BaseVar]
  274. ] = None,
  275. on_unmount: Optional[
  276. Union[EventHandler, EventSpec, list, function, BaseVar]
  277. ] = None,
  278. **props
  279. ) -> "StepDescription":
  280. """Create the component.
  281. Args:
  282. *children: The children of the component.
  283. style: The style of the component.
  284. key: A unique key for the component.
  285. id: The id for the component.
  286. class_name: The class name for the component.
  287. autofocus: Whether the component should take the focus once the page is loaded
  288. custom_attrs: custom attribute
  289. **props: The props of the component.
  290. Returns:
  291. The component.
  292. """
  293. ...
  294. class StepIcon(ChakraComponent):
  295. @overload
  296. @classmethod
  297. def create( # type: ignore
  298. cls,
  299. *children,
  300. style: Optional[Style] = None,
  301. key: Optional[Any] = None,
  302. id: Optional[Any] = None,
  303. class_name: Optional[Any] = None,
  304. autofocus: Optional[bool] = None,
  305. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  306. on_blur: Optional[
  307. Union[EventHandler, EventSpec, list, function, BaseVar]
  308. ] = None,
  309. on_click: Optional[
  310. Union[EventHandler, EventSpec, list, function, BaseVar]
  311. ] = None,
  312. on_context_menu: Optional[
  313. Union[EventHandler, EventSpec, list, function, BaseVar]
  314. ] = None,
  315. on_double_click: Optional[
  316. Union[EventHandler, EventSpec, list, function, BaseVar]
  317. ] = None,
  318. on_focus: Optional[
  319. Union[EventHandler, EventSpec, list, function, BaseVar]
  320. ] = None,
  321. on_mount: Optional[
  322. Union[EventHandler, EventSpec, list, function, BaseVar]
  323. ] = None,
  324. on_mouse_down: Optional[
  325. Union[EventHandler, EventSpec, list, function, BaseVar]
  326. ] = None,
  327. on_mouse_enter: Optional[
  328. Union[EventHandler, EventSpec, list, function, BaseVar]
  329. ] = None,
  330. on_mouse_leave: Optional[
  331. Union[EventHandler, EventSpec, list, function, BaseVar]
  332. ] = None,
  333. on_mouse_move: Optional[
  334. Union[EventHandler, EventSpec, list, function, BaseVar]
  335. ] = None,
  336. on_mouse_out: Optional[
  337. Union[EventHandler, EventSpec, list, function, BaseVar]
  338. ] = None,
  339. on_mouse_over: Optional[
  340. Union[EventHandler, EventSpec, list, function, BaseVar]
  341. ] = None,
  342. on_mouse_up: Optional[
  343. Union[EventHandler, EventSpec, list, function, BaseVar]
  344. ] = None,
  345. on_scroll: Optional[
  346. Union[EventHandler, EventSpec, list, function, BaseVar]
  347. ] = None,
  348. on_unmount: Optional[
  349. Union[EventHandler, EventSpec, list, function, BaseVar]
  350. ] = None,
  351. **props
  352. ) -> "StepIcon":
  353. """Create the component.
  354. Args:
  355. *children: The children of the component.
  356. style: The style of the component.
  357. key: A unique key for the component.
  358. id: The id for the component.
  359. class_name: The class name for the component.
  360. autofocus: Whether the component should take the focus once the page is loaded
  361. custom_attrs: custom attribute
  362. **props: The props of the component.
  363. Returns:
  364. The component.
  365. """
  366. ...
  367. class StepIndicator(ChakraComponent):
  368. @overload
  369. @classmethod
  370. def create( # type: ignore
  371. cls,
  372. *children,
  373. style: Optional[Style] = None,
  374. key: Optional[Any] = None,
  375. id: Optional[Any] = None,
  376. class_name: Optional[Any] = None,
  377. autofocus: Optional[bool] = None,
  378. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  379. on_blur: Optional[
  380. Union[EventHandler, EventSpec, list, function, BaseVar]
  381. ] = None,
  382. on_click: Optional[
  383. Union[EventHandler, EventSpec, list, function, BaseVar]
  384. ] = None,
  385. on_context_menu: Optional[
  386. Union[EventHandler, EventSpec, list, function, BaseVar]
  387. ] = None,
  388. on_double_click: Optional[
  389. Union[EventHandler, EventSpec, list, function, BaseVar]
  390. ] = None,
  391. on_focus: Optional[
  392. Union[EventHandler, EventSpec, list, function, BaseVar]
  393. ] = None,
  394. on_mount: Optional[
  395. Union[EventHandler, EventSpec, list, function, BaseVar]
  396. ] = None,
  397. on_mouse_down: Optional[
  398. Union[EventHandler, EventSpec, list, function, BaseVar]
  399. ] = None,
  400. on_mouse_enter: Optional[
  401. Union[EventHandler, EventSpec, list, function, BaseVar]
  402. ] = None,
  403. on_mouse_leave: Optional[
  404. Union[EventHandler, EventSpec, list, function, BaseVar]
  405. ] = None,
  406. on_mouse_move: Optional[
  407. Union[EventHandler, EventSpec, list, function, BaseVar]
  408. ] = None,
  409. on_mouse_out: Optional[
  410. Union[EventHandler, EventSpec, list, function, BaseVar]
  411. ] = None,
  412. on_mouse_over: Optional[
  413. Union[EventHandler, EventSpec, list, function, BaseVar]
  414. ] = None,
  415. on_mouse_up: Optional[
  416. Union[EventHandler, EventSpec, list, function, BaseVar]
  417. ] = None,
  418. on_scroll: Optional[
  419. Union[EventHandler, EventSpec, list, function, BaseVar]
  420. ] = None,
  421. on_unmount: Optional[
  422. Union[EventHandler, EventSpec, list, function, BaseVar]
  423. ] = None,
  424. **props
  425. ) -> "StepIndicator":
  426. """Create the component.
  427. Args:
  428. *children: The children of the component.
  429. style: The style of the component.
  430. key: A unique key for the component.
  431. id: The id for the component.
  432. class_name: The class name for the component.
  433. autofocus: Whether the component should take the focus once the page is loaded
  434. custom_attrs: custom attribute
  435. **props: The props of the component.
  436. Returns:
  437. The component.
  438. """
  439. ...
  440. class StepNumber(ChakraComponent):
  441. @overload
  442. @classmethod
  443. def create( # type: ignore
  444. cls,
  445. *children,
  446. style: Optional[Style] = None,
  447. key: Optional[Any] = None,
  448. id: Optional[Any] = None,
  449. class_name: Optional[Any] = None,
  450. autofocus: Optional[bool] = None,
  451. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  452. on_blur: Optional[
  453. Union[EventHandler, EventSpec, list, function, BaseVar]
  454. ] = None,
  455. on_click: Optional[
  456. Union[EventHandler, EventSpec, list, function, BaseVar]
  457. ] = None,
  458. on_context_menu: Optional[
  459. Union[EventHandler, EventSpec, list, function, BaseVar]
  460. ] = None,
  461. on_double_click: Optional[
  462. Union[EventHandler, EventSpec, list, function, BaseVar]
  463. ] = None,
  464. on_focus: Optional[
  465. Union[EventHandler, EventSpec, list, function, BaseVar]
  466. ] = None,
  467. on_mount: Optional[
  468. Union[EventHandler, EventSpec, list, function, BaseVar]
  469. ] = None,
  470. on_mouse_down: Optional[
  471. Union[EventHandler, EventSpec, list, function, BaseVar]
  472. ] = None,
  473. on_mouse_enter: Optional[
  474. Union[EventHandler, EventSpec, list, function, BaseVar]
  475. ] = None,
  476. on_mouse_leave: Optional[
  477. Union[EventHandler, EventSpec, list, function, BaseVar]
  478. ] = None,
  479. on_mouse_move: Optional[
  480. Union[EventHandler, EventSpec, list, function, BaseVar]
  481. ] = None,
  482. on_mouse_out: Optional[
  483. Union[EventHandler, EventSpec, list, function, BaseVar]
  484. ] = None,
  485. on_mouse_over: Optional[
  486. Union[EventHandler, EventSpec, list, function, BaseVar]
  487. ] = None,
  488. on_mouse_up: Optional[
  489. Union[EventHandler, EventSpec, list, function, BaseVar]
  490. ] = None,
  491. on_scroll: Optional[
  492. Union[EventHandler, EventSpec, list, function, BaseVar]
  493. ] = None,
  494. on_unmount: Optional[
  495. Union[EventHandler, EventSpec, list, function, BaseVar]
  496. ] = None,
  497. **props
  498. ) -> "StepNumber":
  499. """Create the component.
  500. Args:
  501. *children: The children of the component.
  502. style: The style of the component.
  503. key: A unique key for the component.
  504. id: The id for the component.
  505. class_name: The class name for the component.
  506. autofocus: Whether the component should take the focus once the page is loaded
  507. custom_attrs: custom attribute
  508. **props: The props of the component.
  509. Returns:
  510. The component.
  511. """
  512. ...
  513. class StepSeparator(ChakraComponent):
  514. @overload
  515. @classmethod
  516. def create( # type: ignore
  517. cls,
  518. *children,
  519. style: Optional[Style] = None,
  520. key: Optional[Any] = None,
  521. id: Optional[Any] = None,
  522. class_name: Optional[Any] = None,
  523. autofocus: Optional[bool] = None,
  524. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  525. on_blur: Optional[
  526. Union[EventHandler, EventSpec, list, function, BaseVar]
  527. ] = None,
  528. on_click: Optional[
  529. Union[EventHandler, EventSpec, list, function, BaseVar]
  530. ] = None,
  531. on_context_menu: Optional[
  532. Union[EventHandler, EventSpec, list, function, BaseVar]
  533. ] = None,
  534. on_double_click: Optional[
  535. Union[EventHandler, EventSpec, list, function, BaseVar]
  536. ] = None,
  537. on_focus: Optional[
  538. Union[EventHandler, EventSpec, list, function, BaseVar]
  539. ] = None,
  540. on_mount: Optional[
  541. Union[EventHandler, EventSpec, list, function, BaseVar]
  542. ] = None,
  543. on_mouse_down: Optional[
  544. Union[EventHandler, EventSpec, list, function, BaseVar]
  545. ] = None,
  546. on_mouse_enter: Optional[
  547. Union[EventHandler, EventSpec, list, function, BaseVar]
  548. ] = None,
  549. on_mouse_leave: Optional[
  550. Union[EventHandler, EventSpec, list, function, BaseVar]
  551. ] = None,
  552. on_mouse_move: Optional[
  553. Union[EventHandler, EventSpec, list, function, BaseVar]
  554. ] = None,
  555. on_mouse_out: Optional[
  556. Union[EventHandler, EventSpec, list, function, BaseVar]
  557. ] = None,
  558. on_mouse_over: Optional[
  559. Union[EventHandler, EventSpec, list, function, BaseVar]
  560. ] = None,
  561. on_mouse_up: Optional[
  562. Union[EventHandler, EventSpec, list, function, BaseVar]
  563. ] = None,
  564. on_scroll: Optional[
  565. Union[EventHandler, EventSpec, list, function, BaseVar]
  566. ] = None,
  567. on_unmount: Optional[
  568. Union[EventHandler, EventSpec, list, function, BaseVar]
  569. ] = None,
  570. **props
  571. ) -> "StepSeparator":
  572. """Create the component.
  573. Args:
  574. *children: The children of the component.
  575. style: The style of the component.
  576. key: A unique key for the component.
  577. id: The id for the component.
  578. class_name: The class name for the component.
  579. autofocus: Whether the component should take the focus once the page is loaded
  580. custom_attrs: custom attribute
  581. **props: The props of the component.
  582. Returns:
  583. The component.
  584. """
  585. ...
  586. class StepStatus(ChakraComponent):
  587. @overload
  588. @classmethod
  589. def create( # type: ignore
  590. cls,
  591. *children,
  592. active: Optional[Union[Var[str], str]] = None,
  593. complete: Optional[Union[Var[str], str]] = None,
  594. incomplete: Optional[Union[Var[str], str]] = None,
  595. style: Optional[Style] = None,
  596. key: Optional[Any] = None,
  597. id: Optional[Any] = None,
  598. class_name: Optional[Any] = None,
  599. autofocus: Optional[bool] = None,
  600. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  601. on_blur: Optional[
  602. Union[EventHandler, EventSpec, list, function, BaseVar]
  603. ] = None,
  604. on_click: Optional[
  605. Union[EventHandler, EventSpec, list, function, BaseVar]
  606. ] = None,
  607. on_context_menu: Optional[
  608. Union[EventHandler, EventSpec, list, function, BaseVar]
  609. ] = None,
  610. on_double_click: Optional[
  611. Union[EventHandler, EventSpec, list, function, BaseVar]
  612. ] = None,
  613. on_focus: Optional[
  614. Union[EventHandler, EventSpec, list, function, BaseVar]
  615. ] = None,
  616. on_mount: Optional[
  617. Union[EventHandler, EventSpec, list, function, BaseVar]
  618. ] = None,
  619. on_mouse_down: Optional[
  620. Union[EventHandler, EventSpec, list, function, BaseVar]
  621. ] = None,
  622. on_mouse_enter: Optional[
  623. Union[EventHandler, EventSpec, list, function, BaseVar]
  624. ] = None,
  625. on_mouse_leave: Optional[
  626. Union[EventHandler, EventSpec, list, function, BaseVar]
  627. ] = None,
  628. on_mouse_move: Optional[
  629. Union[EventHandler, EventSpec, list, function, BaseVar]
  630. ] = None,
  631. on_mouse_out: Optional[
  632. Union[EventHandler, EventSpec, list, function, BaseVar]
  633. ] = None,
  634. on_mouse_over: Optional[
  635. Union[EventHandler, EventSpec, list, function, BaseVar]
  636. ] = None,
  637. on_mouse_up: Optional[
  638. Union[EventHandler, EventSpec, list, function, BaseVar]
  639. ] = None,
  640. on_scroll: Optional[
  641. Union[EventHandler, EventSpec, list, function, BaseVar]
  642. ] = None,
  643. on_unmount: Optional[
  644. Union[EventHandler, EventSpec, list, function, BaseVar]
  645. ] = None,
  646. **props
  647. ) -> "StepStatus":
  648. """Create the component.
  649. Args:
  650. *children: The children of the component.
  651. active: [not working yet] active, complete, and incomplete should also be able to accept StepIcon or StepNumber components currently, these props only support strings
  652. style: The style of the component.
  653. key: A unique key for the component.
  654. id: The id for the component.
  655. class_name: The class name for the component.
  656. autofocus: Whether the component should take the focus once the page is loaded
  657. custom_attrs: custom attribute
  658. **props: The props of the component.
  659. Returns:
  660. The component.
  661. """
  662. ...
  663. class StepTitle(ChakraComponent):
  664. @overload
  665. @classmethod
  666. def create( # type: ignore
  667. cls,
  668. *children,
  669. style: Optional[Style] = None,
  670. key: Optional[Any] = None,
  671. id: Optional[Any] = None,
  672. class_name: Optional[Any] = None,
  673. autofocus: Optional[bool] = None,
  674. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  675. on_blur: Optional[
  676. Union[EventHandler, EventSpec, list, function, BaseVar]
  677. ] = None,
  678. on_click: Optional[
  679. Union[EventHandler, EventSpec, list, function, BaseVar]
  680. ] = None,
  681. on_context_menu: Optional[
  682. Union[EventHandler, EventSpec, list, function, BaseVar]
  683. ] = None,
  684. on_double_click: Optional[
  685. Union[EventHandler, EventSpec, list, function, BaseVar]
  686. ] = None,
  687. on_focus: Optional[
  688. Union[EventHandler, EventSpec, list, function, BaseVar]
  689. ] = None,
  690. on_mount: Optional[
  691. Union[EventHandler, EventSpec, list, function, BaseVar]
  692. ] = None,
  693. on_mouse_down: Optional[
  694. Union[EventHandler, EventSpec, list, function, BaseVar]
  695. ] = None,
  696. on_mouse_enter: Optional[
  697. Union[EventHandler, EventSpec, list, function, BaseVar]
  698. ] = None,
  699. on_mouse_leave: Optional[
  700. Union[EventHandler, EventSpec, list, function, BaseVar]
  701. ] = None,
  702. on_mouse_move: Optional[
  703. Union[EventHandler, EventSpec, list, function, BaseVar]
  704. ] = None,
  705. on_mouse_out: Optional[
  706. Union[EventHandler, EventSpec, list, function, BaseVar]
  707. ] = None,
  708. on_mouse_over: Optional[
  709. Union[EventHandler, EventSpec, list, function, BaseVar]
  710. ] = None,
  711. on_mouse_up: Optional[
  712. Union[EventHandler, EventSpec, list, function, BaseVar]
  713. ] = None,
  714. on_scroll: Optional[
  715. Union[EventHandler, EventSpec, list, function, BaseVar]
  716. ] = None,
  717. on_unmount: Optional[
  718. Union[EventHandler, EventSpec, list, function, BaseVar]
  719. ] = None,
  720. **props
  721. ) -> "StepTitle":
  722. """Create the component.
  723. Args:
  724. *children: The children of the component.
  725. style: The style of the component.
  726. key: A unique key for the component.
  727. id: The id for the component.
  728. class_name: The class name for the component.
  729. autofocus: Whether the component should take the focus once the page is loaded
  730. custom_attrs: custom attribute
  731. **props: The props of the component.
  732. Returns:
  733. The component.
  734. """
  735. ...