tables.pyi 81 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455
  1. """Stub file for reflex/components/el/elements/tables.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Literal, Optional, overload
  6. from reflex.event import EventType
  7. from reflex.style import Style
  8. from reflex.vars.base import Var
  9. from .base import BaseHTML
  10. class Caption(BaseHTML):
  11. @overload
  12. @classmethod
  13. def create( # type: ignore
  14. cls,
  15. *children,
  16. access_key: Var[str] | str | None = None,
  17. auto_capitalize: Literal[
  18. "characters", "none", "off", "on", "sentences", "words"
  19. ]
  20. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  21. | None = None,
  22. content_editable: Literal["inherit", "plaintext-only", False, True]
  23. | Var[Literal["inherit", "plaintext-only", False, True]]
  24. | None = None,
  25. context_menu: Var[str] | str | None = None,
  26. dir: Var[str] | str | None = None,
  27. draggable: Var[bool] | bool | None = None,
  28. enter_key_hint: Literal[
  29. "done", "enter", "go", "next", "previous", "search", "send"
  30. ]
  31. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  32. | None = None,
  33. hidden: Var[bool] | bool | None = None,
  34. input_mode: Literal[
  35. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  36. ]
  37. | Var[
  38. Literal[
  39. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  40. ]
  41. ]
  42. | None = None,
  43. item_prop: Var[str] | str | None = None,
  44. lang: Var[str] | str | None = None,
  45. role: Literal[
  46. "alert",
  47. "alertdialog",
  48. "application",
  49. "article",
  50. "banner",
  51. "button",
  52. "cell",
  53. "checkbox",
  54. "columnheader",
  55. "combobox",
  56. "complementary",
  57. "contentinfo",
  58. "definition",
  59. "dialog",
  60. "directory",
  61. "document",
  62. "feed",
  63. "figure",
  64. "form",
  65. "grid",
  66. "gridcell",
  67. "group",
  68. "heading",
  69. "img",
  70. "link",
  71. "list",
  72. "listbox",
  73. "listitem",
  74. "log",
  75. "main",
  76. "marquee",
  77. "math",
  78. "menu",
  79. "menubar",
  80. "menuitem",
  81. "menuitemcheckbox",
  82. "menuitemradio",
  83. "navigation",
  84. "none",
  85. "note",
  86. "option",
  87. "presentation",
  88. "progressbar",
  89. "radio",
  90. "radiogroup",
  91. "region",
  92. "row",
  93. "rowgroup",
  94. "rowheader",
  95. "scrollbar",
  96. "search",
  97. "searchbox",
  98. "separator",
  99. "slider",
  100. "spinbutton",
  101. "status",
  102. "switch",
  103. "tab",
  104. "table",
  105. "tablist",
  106. "tabpanel",
  107. "term",
  108. "textbox",
  109. "timer",
  110. "toolbar",
  111. "tooltip",
  112. "tree",
  113. "treegrid",
  114. "treeitem",
  115. ]
  116. | Var[
  117. Literal[
  118. "alert",
  119. "alertdialog",
  120. "application",
  121. "article",
  122. "banner",
  123. "button",
  124. "cell",
  125. "checkbox",
  126. "columnheader",
  127. "combobox",
  128. "complementary",
  129. "contentinfo",
  130. "definition",
  131. "dialog",
  132. "directory",
  133. "document",
  134. "feed",
  135. "figure",
  136. "form",
  137. "grid",
  138. "gridcell",
  139. "group",
  140. "heading",
  141. "img",
  142. "link",
  143. "list",
  144. "listbox",
  145. "listitem",
  146. "log",
  147. "main",
  148. "marquee",
  149. "math",
  150. "menu",
  151. "menubar",
  152. "menuitem",
  153. "menuitemcheckbox",
  154. "menuitemradio",
  155. "navigation",
  156. "none",
  157. "note",
  158. "option",
  159. "presentation",
  160. "progressbar",
  161. "radio",
  162. "radiogroup",
  163. "region",
  164. "row",
  165. "rowgroup",
  166. "rowheader",
  167. "scrollbar",
  168. "search",
  169. "searchbox",
  170. "separator",
  171. "slider",
  172. "spinbutton",
  173. "status",
  174. "switch",
  175. "tab",
  176. "table",
  177. "tablist",
  178. "tabpanel",
  179. "term",
  180. "textbox",
  181. "timer",
  182. "toolbar",
  183. "tooltip",
  184. "tree",
  185. "treegrid",
  186. "treeitem",
  187. ]
  188. ]
  189. | None = None,
  190. slot: Var[str] | str | None = None,
  191. spell_check: Var[bool] | bool | None = None,
  192. tab_index: Var[int] | int | None = None,
  193. title: Var[str] | str | None = None,
  194. style: Style | None = None,
  195. key: Any | None = None,
  196. id: Any | None = None,
  197. class_name: Any | None = None,
  198. autofocus: bool | None = None,
  199. custom_attrs: dict[str, Var | Any] | None = None,
  200. on_blur: Optional[EventType[()]] = None,
  201. on_click: Optional[EventType[()]] = None,
  202. on_context_menu: Optional[EventType[()]] = None,
  203. on_double_click: Optional[EventType[()]] = None,
  204. on_focus: Optional[EventType[()]] = None,
  205. on_mount: Optional[EventType[()]] = None,
  206. on_mouse_down: Optional[EventType[()]] = None,
  207. on_mouse_enter: Optional[EventType[()]] = None,
  208. on_mouse_leave: Optional[EventType[()]] = None,
  209. on_mouse_move: Optional[EventType[()]] = None,
  210. on_mouse_out: Optional[EventType[()]] = None,
  211. on_mouse_over: Optional[EventType[()]] = None,
  212. on_mouse_up: Optional[EventType[()]] = None,
  213. on_scroll: Optional[EventType[()]] = None,
  214. on_unmount: Optional[EventType[()]] = None,
  215. **props,
  216. ) -> "Caption":
  217. """Create the component.
  218. Args:
  219. *children: The children of the component.
  220. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  221. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  222. content_editable: Indicates whether the element's content is editable.
  223. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  224. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  225. draggable: Defines whether the element can be dragged.
  226. enter_key_hint: Hints what media types the media element is able to play.
  227. hidden: Defines whether the element is hidden.
  228. input_mode: Defines the type of the element.
  229. item_prop: Defines the name of the element for metadata purposes.
  230. lang: Defines the language used in the element.
  231. role: Defines the role of the element.
  232. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  233. spell_check: Defines whether the element may be checked for spelling errors.
  234. tab_index: Defines the position of the current element in the tabbing order.
  235. title: Defines a tooltip for the element.
  236. style: The style of the component.
  237. key: A unique key for the component.
  238. id: The id for the component.
  239. class_name: The class name for the component.
  240. autofocus: Whether the component should take the focus once the page is loaded
  241. custom_attrs: custom attribute
  242. **props: The props of the component.
  243. Returns:
  244. The component.
  245. """
  246. ...
  247. class Col(BaseHTML):
  248. @overload
  249. @classmethod
  250. def create( # type: ignore
  251. cls,
  252. *children,
  253. span: Var[int] | int | None = None,
  254. access_key: Var[str] | str | None = None,
  255. auto_capitalize: Literal[
  256. "characters", "none", "off", "on", "sentences", "words"
  257. ]
  258. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  259. | None = None,
  260. content_editable: Literal["inherit", "plaintext-only", False, True]
  261. | Var[Literal["inherit", "plaintext-only", False, True]]
  262. | None = None,
  263. context_menu: Var[str] | str | None = None,
  264. dir: Var[str] | str | None = None,
  265. draggable: Var[bool] | bool | None = None,
  266. enter_key_hint: Literal[
  267. "done", "enter", "go", "next", "previous", "search", "send"
  268. ]
  269. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  270. | None = None,
  271. hidden: Var[bool] | bool | None = None,
  272. input_mode: Literal[
  273. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  274. ]
  275. | Var[
  276. Literal[
  277. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  278. ]
  279. ]
  280. | None = None,
  281. item_prop: Var[str] | str | None = None,
  282. lang: Var[str] | str | None = None,
  283. role: Literal[
  284. "alert",
  285. "alertdialog",
  286. "application",
  287. "article",
  288. "banner",
  289. "button",
  290. "cell",
  291. "checkbox",
  292. "columnheader",
  293. "combobox",
  294. "complementary",
  295. "contentinfo",
  296. "definition",
  297. "dialog",
  298. "directory",
  299. "document",
  300. "feed",
  301. "figure",
  302. "form",
  303. "grid",
  304. "gridcell",
  305. "group",
  306. "heading",
  307. "img",
  308. "link",
  309. "list",
  310. "listbox",
  311. "listitem",
  312. "log",
  313. "main",
  314. "marquee",
  315. "math",
  316. "menu",
  317. "menubar",
  318. "menuitem",
  319. "menuitemcheckbox",
  320. "menuitemradio",
  321. "navigation",
  322. "none",
  323. "note",
  324. "option",
  325. "presentation",
  326. "progressbar",
  327. "radio",
  328. "radiogroup",
  329. "region",
  330. "row",
  331. "rowgroup",
  332. "rowheader",
  333. "scrollbar",
  334. "search",
  335. "searchbox",
  336. "separator",
  337. "slider",
  338. "spinbutton",
  339. "status",
  340. "switch",
  341. "tab",
  342. "table",
  343. "tablist",
  344. "tabpanel",
  345. "term",
  346. "textbox",
  347. "timer",
  348. "toolbar",
  349. "tooltip",
  350. "tree",
  351. "treegrid",
  352. "treeitem",
  353. ]
  354. | Var[
  355. Literal[
  356. "alert",
  357. "alertdialog",
  358. "application",
  359. "article",
  360. "banner",
  361. "button",
  362. "cell",
  363. "checkbox",
  364. "columnheader",
  365. "combobox",
  366. "complementary",
  367. "contentinfo",
  368. "definition",
  369. "dialog",
  370. "directory",
  371. "document",
  372. "feed",
  373. "figure",
  374. "form",
  375. "grid",
  376. "gridcell",
  377. "group",
  378. "heading",
  379. "img",
  380. "link",
  381. "list",
  382. "listbox",
  383. "listitem",
  384. "log",
  385. "main",
  386. "marquee",
  387. "math",
  388. "menu",
  389. "menubar",
  390. "menuitem",
  391. "menuitemcheckbox",
  392. "menuitemradio",
  393. "navigation",
  394. "none",
  395. "note",
  396. "option",
  397. "presentation",
  398. "progressbar",
  399. "radio",
  400. "radiogroup",
  401. "region",
  402. "row",
  403. "rowgroup",
  404. "rowheader",
  405. "scrollbar",
  406. "search",
  407. "searchbox",
  408. "separator",
  409. "slider",
  410. "spinbutton",
  411. "status",
  412. "switch",
  413. "tab",
  414. "table",
  415. "tablist",
  416. "tabpanel",
  417. "term",
  418. "textbox",
  419. "timer",
  420. "toolbar",
  421. "tooltip",
  422. "tree",
  423. "treegrid",
  424. "treeitem",
  425. ]
  426. ]
  427. | None = None,
  428. slot: Var[str] | str | None = None,
  429. spell_check: Var[bool] | bool | None = None,
  430. tab_index: Var[int] | int | None = None,
  431. title: Var[str] | str | None = None,
  432. style: Style | None = None,
  433. key: Any | None = None,
  434. id: Any | None = None,
  435. class_name: Any | None = None,
  436. autofocus: bool | None = None,
  437. custom_attrs: dict[str, Var | Any] | None = None,
  438. on_blur: Optional[EventType[()]] = None,
  439. on_click: Optional[EventType[()]] = None,
  440. on_context_menu: Optional[EventType[()]] = None,
  441. on_double_click: Optional[EventType[()]] = None,
  442. on_focus: Optional[EventType[()]] = None,
  443. on_mount: Optional[EventType[()]] = None,
  444. on_mouse_down: Optional[EventType[()]] = None,
  445. on_mouse_enter: Optional[EventType[()]] = None,
  446. on_mouse_leave: Optional[EventType[()]] = None,
  447. on_mouse_move: Optional[EventType[()]] = None,
  448. on_mouse_out: Optional[EventType[()]] = None,
  449. on_mouse_over: Optional[EventType[()]] = None,
  450. on_mouse_up: Optional[EventType[()]] = None,
  451. on_scroll: Optional[EventType[()]] = None,
  452. on_unmount: Optional[EventType[()]] = None,
  453. **props,
  454. ) -> "Col":
  455. """Create the component.
  456. Args:
  457. *children: The children of the component.
  458. span: Number of columns the col element spans
  459. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  460. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  461. content_editable: Indicates whether the element's content is editable.
  462. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  463. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  464. draggable: Defines whether the element can be dragged.
  465. enter_key_hint: Hints what media types the media element is able to play.
  466. hidden: Defines whether the element is hidden.
  467. input_mode: Defines the type of the element.
  468. item_prop: Defines the name of the element for metadata purposes.
  469. lang: Defines the language used in the element.
  470. role: Defines the role of the element.
  471. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  472. spell_check: Defines whether the element may be checked for spelling errors.
  473. tab_index: Defines the position of the current element in the tabbing order.
  474. title: Defines a tooltip for the element.
  475. style: The style of the component.
  476. key: A unique key for the component.
  477. id: The id for the component.
  478. class_name: The class name for the component.
  479. autofocus: Whether the component should take the focus once the page is loaded
  480. custom_attrs: custom attribute
  481. **props: The props of the component.
  482. Returns:
  483. The component.
  484. """
  485. ...
  486. class Colgroup(BaseHTML):
  487. @overload
  488. @classmethod
  489. def create( # type: ignore
  490. cls,
  491. *children,
  492. span: Var[int] | int | None = None,
  493. access_key: Var[str] | str | None = None,
  494. auto_capitalize: Literal[
  495. "characters", "none", "off", "on", "sentences", "words"
  496. ]
  497. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  498. | None = None,
  499. content_editable: Literal["inherit", "plaintext-only", False, True]
  500. | Var[Literal["inherit", "plaintext-only", False, True]]
  501. | None = None,
  502. context_menu: Var[str] | str | None = None,
  503. dir: Var[str] | str | None = None,
  504. draggable: Var[bool] | bool | None = None,
  505. enter_key_hint: Literal[
  506. "done", "enter", "go", "next", "previous", "search", "send"
  507. ]
  508. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  509. | None = None,
  510. hidden: Var[bool] | bool | None = None,
  511. input_mode: Literal[
  512. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  513. ]
  514. | Var[
  515. Literal[
  516. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  517. ]
  518. ]
  519. | None = None,
  520. item_prop: Var[str] | str | None = None,
  521. lang: Var[str] | str | None = None,
  522. role: Literal[
  523. "alert",
  524. "alertdialog",
  525. "application",
  526. "article",
  527. "banner",
  528. "button",
  529. "cell",
  530. "checkbox",
  531. "columnheader",
  532. "combobox",
  533. "complementary",
  534. "contentinfo",
  535. "definition",
  536. "dialog",
  537. "directory",
  538. "document",
  539. "feed",
  540. "figure",
  541. "form",
  542. "grid",
  543. "gridcell",
  544. "group",
  545. "heading",
  546. "img",
  547. "link",
  548. "list",
  549. "listbox",
  550. "listitem",
  551. "log",
  552. "main",
  553. "marquee",
  554. "math",
  555. "menu",
  556. "menubar",
  557. "menuitem",
  558. "menuitemcheckbox",
  559. "menuitemradio",
  560. "navigation",
  561. "none",
  562. "note",
  563. "option",
  564. "presentation",
  565. "progressbar",
  566. "radio",
  567. "radiogroup",
  568. "region",
  569. "row",
  570. "rowgroup",
  571. "rowheader",
  572. "scrollbar",
  573. "search",
  574. "searchbox",
  575. "separator",
  576. "slider",
  577. "spinbutton",
  578. "status",
  579. "switch",
  580. "tab",
  581. "table",
  582. "tablist",
  583. "tabpanel",
  584. "term",
  585. "textbox",
  586. "timer",
  587. "toolbar",
  588. "tooltip",
  589. "tree",
  590. "treegrid",
  591. "treeitem",
  592. ]
  593. | Var[
  594. Literal[
  595. "alert",
  596. "alertdialog",
  597. "application",
  598. "article",
  599. "banner",
  600. "button",
  601. "cell",
  602. "checkbox",
  603. "columnheader",
  604. "combobox",
  605. "complementary",
  606. "contentinfo",
  607. "definition",
  608. "dialog",
  609. "directory",
  610. "document",
  611. "feed",
  612. "figure",
  613. "form",
  614. "grid",
  615. "gridcell",
  616. "group",
  617. "heading",
  618. "img",
  619. "link",
  620. "list",
  621. "listbox",
  622. "listitem",
  623. "log",
  624. "main",
  625. "marquee",
  626. "math",
  627. "menu",
  628. "menubar",
  629. "menuitem",
  630. "menuitemcheckbox",
  631. "menuitemradio",
  632. "navigation",
  633. "none",
  634. "note",
  635. "option",
  636. "presentation",
  637. "progressbar",
  638. "radio",
  639. "radiogroup",
  640. "region",
  641. "row",
  642. "rowgroup",
  643. "rowheader",
  644. "scrollbar",
  645. "search",
  646. "searchbox",
  647. "separator",
  648. "slider",
  649. "spinbutton",
  650. "status",
  651. "switch",
  652. "tab",
  653. "table",
  654. "tablist",
  655. "tabpanel",
  656. "term",
  657. "textbox",
  658. "timer",
  659. "toolbar",
  660. "tooltip",
  661. "tree",
  662. "treegrid",
  663. "treeitem",
  664. ]
  665. ]
  666. | None = None,
  667. slot: Var[str] | str | None = None,
  668. spell_check: Var[bool] | bool | None = None,
  669. tab_index: Var[int] | int | None = None,
  670. title: Var[str] | str | None = None,
  671. style: Style | None = None,
  672. key: Any | None = None,
  673. id: Any | None = None,
  674. class_name: Any | None = None,
  675. autofocus: bool | None = None,
  676. custom_attrs: dict[str, Var | Any] | None = None,
  677. on_blur: Optional[EventType[()]] = None,
  678. on_click: Optional[EventType[()]] = None,
  679. on_context_menu: Optional[EventType[()]] = None,
  680. on_double_click: Optional[EventType[()]] = None,
  681. on_focus: Optional[EventType[()]] = None,
  682. on_mount: Optional[EventType[()]] = None,
  683. on_mouse_down: Optional[EventType[()]] = None,
  684. on_mouse_enter: Optional[EventType[()]] = None,
  685. on_mouse_leave: Optional[EventType[()]] = None,
  686. on_mouse_move: Optional[EventType[()]] = None,
  687. on_mouse_out: Optional[EventType[()]] = None,
  688. on_mouse_over: Optional[EventType[()]] = None,
  689. on_mouse_up: Optional[EventType[()]] = None,
  690. on_scroll: Optional[EventType[()]] = None,
  691. on_unmount: Optional[EventType[()]] = None,
  692. **props,
  693. ) -> "Colgroup":
  694. """Create the component.
  695. Args:
  696. *children: The children of the component.
  697. span: Number of columns the colgroup element spans
  698. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  699. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  700. content_editable: Indicates whether the element's content is editable.
  701. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  702. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  703. draggable: Defines whether the element can be dragged.
  704. enter_key_hint: Hints what media types the media element is able to play.
  705. hidden: Defines whether the element is hidden.
  706. input_mode: Defines the type of the element.
  707. item_prop: Defines the name of the element for metadata purposes.
  708. lang: Defines the language used in the element.
  709. role: Defines the role of the element.
  710. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  711. spell_check: Defines whether the element may be checked for spelling errors.
  712. tab_index: Defines the position of the current element in the tabbing order.
  713. title: Defines a tooltip for the element.
  714. style: The style of the component.
  715. key: A unique key for the component.
  716. id: The id for the component.
  717. class_name: The class name for the component.
  718. autofocus: Whether the component should take the focus once the page is loaded
  719. custom_attrs: custom attribute
  720. **props: The props of the component.
  721. Returns:
  722. The component.
  723. """
  724. ...
  725. class Table(BaseHTML):
  726. @overload
  727. @classmethod
  728. def create( # type: ignore
  729. cls,
  730. *children,
  731. align: Literal["center", "left", "right"]
  732. | Var[Literal["center", "left", "right"]]
  733. | None = None,
  734. summary: Var[str] | str | None = None,
  735. access_key: Var[str] | str | None = None,
  736. auto_capitalize: Literal[
  737. "characters", "none", "off", "on", "sentences", "words"
  738. ]
  739. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  740. | None = None,
  741. content_editable: Literal["inherit", "plaintext-only", False, True]
  742. | Var[Literal["inherit", "plaintext-only", False, True]]
  743. | None = None,
  744. context_menu: Var[str] | str | None = None,
  745. dir: Var[str] | str | None = None,
  746. draggable: Var[bool] | bool | None = None,
  747. enter_key_hint: Literal[
  748. "done", "enter", "go", "next", "previous", "search", "send"
  749. ]
  750. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  751. | None = None,
  752. hidden: Var[bool] | bool | None = None,
  753. input_mode: Literal[
  754. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  755. ]
  756. | Var[
  757. Literal[
  758. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  759. ]
  760. ]
  761. | None = None,
  762. item_prop: Var[str] | str | None = None,
  763. lang: Var[str] | str | None = None,
  764. role: Literal[
  765. "alert",
  766. "alertdialog",
  767. "application",
  768. "article",
  769. "banner",
  770. "button",
  771. "cell",
  772. "checkbox",
  773. "columnheader",
  774. "combobox",
  775. "complementary",
  776. "contentinfo",
  777. "definition",
  778. "dialog",
  779. "directory",
  780. "document",
  781. "feed",
  782. "figure",
  783. "form",
  784. "grid",
  785. "gridcell",
  786. "group",
  787. "heading",
  788. "img",
  789. "link",
  790. "list",
  791. "listbox",
  792. "listitem",
  793. "log",
  794. "main",
  795. "marquee",
  796. "math",
  797. "menu",
  798. "menubar",
  799. "menuitem",
  800. "menuitemcheckbox",
  801. "menuitemradio",
  802. "navigation",
  803. "none",
  804. "note",
  805. "option",
  806. "presentation",
  807. "progressbar",
  808. "radio",
  809. "radiogroup",
  810. "region",
  811. "row",
  812. "rowgroup",
  813. "rowheader",
  814. "scrollbar",
  815. "search",
  816. "searchbox",
  817. "separator",
  818. "slider",
  819. "spinbutton",
  820. "status",
  821. "switch",
  822. "tab",
  823. "table",
  824. "tablist",
  825. "tabpanel",
  826. "term",
  827. "textbox",
  828. "timer",
  829. "toolbar",
  830. "tooltip",
  831. "tree",
  832. "treegrid",
  833. "treeitem",
  834. ]
  835. | Var[
  836. Literal[
  837. "alert",
  838. "alertdialog",
  839. "application",
  840. "article",
  841. "banner",
  842. "button",
  843. "cell",
  844. "checkbox",
  845. "columnheader",
  846. "combobox",
  847. "complementary",
  848. "contentinfo",
  849. "definition",
  850. "dialog",
  851. "directory",
  852. "document",
  853. "feed",
  854. "figure",
  855. "form",
  856. "grid",
  857. "gridcell",
  858. "group",
  859. "heading",
  860. "img",
  861. "link",
  862. "list",
  863. "listbox",
  864. "listitem",
  865. "log",
  866. "main",
  867. "marquee",
  868. "math",
  869. "menu",
  870. "menubar",
  871. "menuitem",
  872. "menuitemcheckbox",
  873. "menuitemradio",
  874. "navigation",
  875. "none",
  876. "note",
  877. "option",
  878. "presentation",
  879. "progressbar",
  880. "radio",
  881. "radiogroup",
  882. "region",
  883. "row",
  884. "rowgroup",
  885. "rowheader",
  886. "scrollbar",
  887. "search",
  888. "searchbox",
  889. "separator",
  890. "slider",
  891. "spinbutton",
  892. "status",
  893. "switch",
  894. "tab",
  895. "table",
  896. "tablist",
  897. "tabpanel",
  898. "term",
  899. "textbox",
  900. "timer",
  901. "toolbar",
  902. "tooltip",
  903. "tree",
  904. "treegrid",
  905. "treeitem",
  906. ]
  907. ]
  908. | None = None,
  909. slot: Var[str] | str | None = None,
  910. spell_check: Var[bool] | bool | None = None,
  911. tab_index: Var[int] | int | None = None,
  912. title: Var[str] | str | None = None,
  913. style: Style | None = None,
  914. key: Any | None = None,
  915. id: Any | None = None,
  916. class_name: Any | None = None,
  917. autofocus: bool | None = None,
  918. custom_attrs: dict[str, Var | Any] | None = None,
  919. on_blur: Optional[EventType[()]] = None,
  920. on_click: Optional[EventType[()]] = None,
  921. on_context_menu: Optional[EventType[()]] = None,
  922. on_double_click: Optional[EventType[()]] = None,
  923. on_focus: Optional[EventType[()]] = None,
  924. on_mount: Optional[EventType[()]] = None,
  925. on_mouse_down: Optional[EventType[()]] = None,
  926. on_mouse_enter: Optional[EventType[()]] = None,
  927. on_mouse_leave: Optional[EventType[()]] = None,
  928. on_mouse_move: Optional[EventType[()]] = None,
  929. on_mouse_out: Optional[EventType[()]] = None,
  930. on_mouse_over: Optional[EventType[()]] = None,
  931. on_mouse_up: Optional[EventType[()]] = None,
  932. on_scroll: Optional[EventType[()]] = None,
  933. on_unmount: Optional[EventType[()]] = None,
  934. **props,
  935. ) -> "Table":
  936. """Create the component.
  937. Args:
  938. *children: The children of the component.
  939. align: Alignment of the table
  940. summary: Provides a summary of the table's purpose and structure
  941. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  942. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  943. content_editable: Indicates whether the element's content is editable.
  944. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  945. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  946. draggable: Defines whether the element can be dragged.
  947. enter_key_hint: Hints what media types the media element is able to play.
  948. hidden: Defines whether the element is hidden.
  949. input_mode: Defines the type of the element.
  950. item_prop: Defines the name of the element for metadata purposes.
  951. lang: Defines the language used in the element.
  952. role: Defines the role of the element.
  953. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  954. spell_check: Defines whether the element may be checked for spelling errors.
  955. tab_index: Defines the position of the current element in the tabbing order.
  956. title: Defines a tooltip for the element.
  957. style: The style of the component.
  958. key: A unique key for the component.
  959. id: The id for the component.
  960. class_name: The class name for the component.
  961. autofocus: Whether the component should take the focus once the page is loaded
  962. custom_attrs: custom attribute
  963. **props: The props of the component.
  964. Returns:
  965. The component.
  966. """
  967. ...
  968. class Tbody(BaseHTML):
  969. @overload
  970. @classmethod
  971. def create( # type: ignore
  972. cls,
  973. *children,
  974. access_key: Var[str] | str | None = None,
  975. auto_capitalize: Literal[
  976. "characters", "none", "off", "on", "sentences", "words"
  977. ]
  978. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  979. | None = None,
  980. content_editable: Literal["inherit", "plaintext-only", False, True]
  981. | Var[Literal["inherit", "plaintext-only", False, True]]
  982. | None = None,
  983. context_menu: Var[str] | str | None = None,
  984. dir: Var[str] | str | None = None,
  985. draggable: Var[bool] | bool | None = None,
  986. enter_key_hint: Literal[
  987. "done", "enter", "go", "next", "previous", "search", "send"
  988. ]
  989. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  990. | None = None,
  991. hidden: Var[bool] | bool | None = None,
  992. input_mode: Literal[
  993. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  994. ]
  995. | Var[
  996. Literal[
  997. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  998. ]
  999. ]
  1000. | None = None,
  1001. item_prop: Var[str] | str | None = None,
  1002. lang: Var[str] | str | None = None,
  1003. role: Literal[
  1004. "alert",
  1005. "alertdialog",
  1006. "application",
  1007. "article",
  1008. "banner",
  1009. "button",
  1010. "cell",
  1011. "checkbox",
  1012. "columnheader",
  1013. "combobox",
  1014. "complementary",
  1015. "contentinfo",
  1016. "definition",
  1017. "dialog",
  1018. "directory",
  1019. "document",
  1020. "feed",
  1021. "figure",
  1022. "form",
  1023. "grid",
  1024. "gridcell",
  1025. "group",
  1026. "heading",
  1027. "img",
  1028. "link",
  1029. "list",
  1030. "listbox",
  1031. "listitem",
  1032. "log",
  1033. "main",
  1034. "marquee",
  1035. "math",
  1036. "menu",
  1037. "menubar",
  1038. "menuitem",
  1039. "menuitemcheckbox",
  1040. "menuitemradio",
  1041. "navigation",
  1042. "none",
  1043. "note",
  1044. "option",
  1045. "presentation",
  1046. "progressbar",
  1047. "radio",
  1048. "radiogroup",
  1049. "region",
  1050. "row",
  1051. "rowgroup",
  1052. "rowheader",
  1053. "scrollbar",
  1054. "search",
  1055. "searchbox",
  1056. "separator",
  1057. "slider",
  1058. "spinbutton",
  1059. "status",
  1060. "switch",
  1061. "tab",
  1062. "table",
  1063. "tablist",
  1064. "tabpanel",
  1065. "term",
  1066. "textbox",
  1067. "timer",
  1068. "toolbar",
  1069. "tooltip",
  1070. "tree",
  1071. "treegrid",
  1072. "treeitem",
  1073. ]
  1074. | Var[
  1075. Literal[
  1076. "alert",
  1077. "alertdialog",
  1078. "application",
  1079. "article",
  1080. "banner",
  1081. "button",
  1082. "cell",
  1083. "checkbox",
  1084. "columnheader",
  1085. "combobox",
  1086. "complementary",
  1087. "contentinfo",
  1088. "definition",
  1089. "dialog",
  1090. "directory",
  1091. "document",
  1092. "feed",
  1093. "figure",
  1094. "form",
  1095. "grid",
  1096. "gridcell",
  1097. "group",
  1098. "heading",
  1099. "img",
  1100. "link",
  1101. "list",
  1102. "listbox",
  1103. "listitem",
  1104. "log",
  1105. "main",
  1106. "marquee",
  1107. "math",
  1108. "menu",
  1109. "menubar",
  1110. "menuitem",
  1111. "menuitemcheckbox",
  1112. "menuitemradio",
  1113. "navigation",
  1114. "none",
  1115. "note",
  1116. "option",
  1117. "presentation",
  1118. "progressbar",
  1119. "radio",
  1120. "radiogroup",
  1121. "region",
  1122. "row",
  1123. "rowgroup",
  1124. "rowheader",
  1125. "scrollbar",
  1126. "search",
  1127. "searchbox",
  1128. "separator",
  1129. "slider",
  1130. "spinbutton",
  1131. "status",
  1132. "switch",
  1133. "tab",
  1134. "table",
  1135. "tablist",
  1136. "tabpanel",
  1137. "term",
  1138. "textbox",
  1139. "timer",
  1140. "toolbar",
  1141. "tooltip",
  1142. "tree",
  1143. "treegrid",
  1144. "treeitem",
  1145. ]
  1146. ]
  1147. | None = None,
  1148. slot: Var[str] | str | None = None,
  1149. spell_check: Var[bool] | bool | None = None,
  1150. tab_index: Var[int] | int | None = None,
  1151. title: Var[str] | str | None = None,
  1152. style: Style | None = None,
  1153. key: Any | None = None,
  1154. id: Any | None = None,
  1155. class_name: Any | None = None,
  1156. autofocus: bool | None = None,
  1157. custom_attrs: dict[str, Var | Any] | None = None,
  1158. on_blur: Optional[EventType[()]] = None,
  1159. on_click: Optional[EventType[()]] = None,
  1160. on_context_menu: Optional[EventType[()]] = None,
  1161. on_double_click: Optional[EventType[()]] = None,
  1162. on_focus: Optional[EventType[()]] = None,
  1163. on_mount: Optional[EventType[()]] = None,
  1164. on_mouse_down: Optional[EventType[()]] = None,
  1165. on_mouse_enter: Optional[EventType[()]] = None,
  1166. on_mouse_leave: Optional[EventType[()]] = None,
  1167. on_mouse_move: Optional[EventType[()]] = None,
  1168. on_mouse_out: Optional[EventType[()]] = None,
  1169. on_mouse_over: Optional[EventType[()]] = None,
  1170. on_mouse_up: Optional[EventType[()]] = None,
  1171. on_scroll: Optional[EventType[()]] = None,
  1172. on_unmount: Optional[EventType[()]] = None,
  1173. **props,
  1174. ) -> "Tbody":
  1175. """Create the component.
  1176. Args:
  1177. *children: The children of the component.
  1178. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1179. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1180. content_editable: Indicates whether the element's content is editable.
  1181. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1182. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1183. draggable: Defines whether the element can be dragged.
  1184. enter_key_hint: Hints what media types the media element is able to play.
  1185. hidden: Defines whether the element is hidden.
  1186. input_mode: Defines the type of the element.
  1187. item_prop: Defines the name of the element for metadata purposes.
  1188. lang: Defines the language used in the element.
  1189. role: Defines the role of the element.
  1190. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1191. spell_check: Defines whether the element may be checked for spelling errors.
  1192. tab_index: Defines the position of the current element in the tabbing order.
  1193. title: Defines a tooltip for the element.
  1194. style: The style of the component.
  1195. key: A unique key for the component.
  1196. id: The id for the component.
  1197. class_name: The class name for the component.
  1198. autofocus: Whether the component should take the focus once the page is loaded
  1199. custom_attrs: custom attribute
  1200. **props: The props of the component.
  1201. Returns:
  1202. The component.
  1203. """
  1204. ...
  1205. class Td(BaseHTML):
  1206. @overload
  1207. @classmethod
  1208. def create( # type: ignore
  1209. cls,
  1210. *children,
  1211. align: Literal["center", "char", "justify", "left", "right"]
  1212. | Var[Literal["center", "char", "justify", "left", "right"]]
  1213. | None = None,
  1214. col_span: Var[int] | int | None = None,
  1215. headers: Var[str] | str | None = None,
  1216. row_span: Var[int] | int | None = None,
  1217. access_key: Var[str] | str | None = None,
  1218. auto_capitalize: Literal[
  1219. "characters", "none", "off", "on", "sentences", "words"
  1220. ]
  1221. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1222. | None = None,
  1223. content_editable: Literal["inherit", "plaintext-only", False, True]
  1224. | Var[Literal["inherit", "plaintext-only", False, True]]
  1225. | None = None,
  1226. context_menu: Var[str] | str | None = None,
  1227. dir: Var[str] | str | None = None,
  1228. draggable: Var[bool] | bool | None = None,
  1229. enter_key_hint: Literal[
  1230. "done", "enter", "go", "next", "previous", "search", "send"
  1231. ]
  1232. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1233. | None = None,
  1234. hidden: Var[bool] | bool | None = None,
  1235. input_mode: Literal[
  1236. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1237. ]
  1238. | Var[
  1239. Literal[
  1240. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1241. ]
  1242. ]
  1243. | None = None,
  1244. item_prop: Var[str] | str | None = None,
  1245. lang: Var[str] | str | None = None,
  1246. role: Literal[
  1247. "alert",
  1248. "alertdialog",
  1249. "application",
  1250. "article",
  1251. "banner",
  1252. "button",
  1253. "cell",
  1254. "checkbox",
  1255. "columnheader",
  1256. "combobox",
  1257. "complementary",
  1258. "contentinfo",
  1259. "definition",
  1260. "dialog",
  1261. "directory",
  1262. "document",
  1263. "feed",
  1264. "figure",
  1265. "form",
  1266. "grid",
  1267. "gridcell",
  1268. "group",
  1269. "heading",
  1270. "img",
  1271. "link",
  1272. "list",
  1273. "listbox",
  1274. "listitem",
  1275. "log",
  1276. "main",
  1277. "marquee",
  1278. "math",
  1279. "menu",
  1280. "menubar",
  1281. "menuitem",
  1282. "menuitemcheckbox",
  1283. "menuitemradio",
  1284. "navigation",
  1285. "none",
  1286. "note",
  1287. "option",
  1288. "presentation",
  1289. "progressbar",
  1290. "radio",
  1291. "radiogroup",
  1292. "region",
  1293. "row",
  1294. "rowgroup",
  1295. "rowheader",
  1296. "scrollbar",
  1297. "search",
  1298. "searchbox",
  1299. "separator",
  1300. "slider",
  1301. "spinbutton",
  1302. "status",
  1303. "switch",
  1304. "tab",
  1305. "table",
  1306. "tablist",
  1307. "tabpanel",
  1308. "term",
  1309. "textbox",
  1310. "timer",
  1311. "toolbar",
  1312. "tooltip",
  1313. "tree",
  1314. "treegrid",
  1315. "treeitem",
  1316. ]
  1317. | Var[
  1318. Literal[
  1319. "alert",
  1320. "alertdialog",
  1321. "application",
  1322. "article",
  1323. "banner",
  1324. "button",
  1325. "cell",
  1326. "checkbox",
  1327. "columnheader",
  1328. "combobox",
  1329. "complementary",
  1330. "contentinfo",
  1331. "definition",
  1332. "dialog",
  1333. "directory",
  1334. "document",
  1335. "feed",
  1336. "figure",
  1337. "form",
  1338. "grid",
  1339. "gridcell",
  1340. "group",
  1341. "heading",
  1342. "img",
  1343. "link",
  1344. "list",
  1345. "listbox",
  1346. "listitem",
  1347. "log",
  1348. "main",
  1349. "marquee",
  1350. "math",
  1351. "menu",
  1352. "menubar",
  1353. "menuitem",
  1354. "menuitemcheckbox",
  1355. "menuitemradio",
  1356. "navigation",
  1357. "none",
  1358. "note",
  1359. "option",
  1360. "presentation",
  1361. "progressbar",
  1362. "radio",
  1363. "radiogroup",
  1364. "region",
  1365. "row",
  1366. "rowgroup",
  1367. "rowheader",
  1368. "scrollbar",
  1369. "search",
  1370. "searchbox",
  1371. "separator",
  1372. "slider",
  1373. "spinbutton",
  1374. "status",
  1375. "switch",
  1376. "tab",
  1377. "table",
  1378. "tablist",
  1379. "tabpanel",
  1380. "term",
  1381. "textbox",
  1382. "timer",
  1383. "toolbar",
  1384. "tooltip",
  1385. "tree",
  1386. "treegrid",
  1387. "treeitem",
  1388. ]
  1389. ]
  1390. | None = None,
  1391. slot: Var[str] | str | None = None,
  1392. spell_check: Var[bool] | bool | None = None,
  1393. tab_index: Var[int] | int | None = None,
  1394. title: Var[str] | str | None = None,
  1395. style: Style | None = None,
  1396. key: Any | None = None,
  1397. id: Any | None = None,
  1398. class_name: Any | None = None,
  1399. autofocus: bool | None = None,
  1400. custom_attrs: dict[str, Var | Any] | None = None,
  1401. on_blur: Optional[EventType[()]] = None,
  1402. on_click: Optional[EventType[()]] = None,
  1403. on_context_menu: Optional[EventType[()]] = None,
  1404. on_double_click: Optional[EventType[()]] = None,
  1405. on_focus: Optional[EventType[()]] = None,
  1406. on_mount: Optional[EventType[()]] = None,
  1407. on_mouse_down: Optional[EventType[()]] = None,
  1408. on_mouse_enter: Optional[EventType[()]] = None,
  1409. on_mouse_leave: Optional[EventType[()]] = None,
  1410. on_mouse_move: Optional[EventType[()]] = None,
  1411. on_mouse_out: Optional[EventType[()]] = None,
  1412. on_mouse_over: Optional[EventType[()]] = None,
  1413. on_mouse_up: Optional[EventType[()]] = None,
  1414. on_scroll: Optional[EventType[()]] = None,
  1415. on_unmount: Optional[EventType[()]] = None,
  1416. **props,
  1417. ) -> "Td":
  1418. """Create the component.
  1419. Args:
  1420. *children: The children of the component.
  1421. align: Alignment of the content within the table cell
  1422. col_span: Number of columns a cell should span
  1423. headers: IDs of the headers associated with this cell
  1424. row_span: Number of rows a cell should span
  1425. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1426. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1427. content_editable: Indicates whether the element's content is editable.
  1428. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1429. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1430. draggable: Defines whether the element can be dragged.
  1431. enter_key_hint: Hints what media types the media element is able to play.
  1432. hidden: Defines whether the element is hidden.
  1433. input_mode: Defines the type of the element.
  1434. item_prop: Defines the name of the element for metadata purposes.
  1435. lang: Defines the language used in the element.
  1436. role: Defines the role of the element.
  1437. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1438. spell_check: Defines whether the element may be checked for spelling errors.
  1439. tab_index: Defines the position of the current element in the tabbing order.
  1440. title: Defines a tooltip for the element.
  1441. style: The style of the component.
  1442. key: A unique key for the component.
  1443. id: The id for the component.
  1444. class_name: The class name for the component.
  1445. autofocus: Whether the component should take the focus once the page is loaded
  1446. custom_attrs: custom attribute
  1447. **props: The props of the component.
  1448. Returns:
  1449. The component.
  1450. """
  1451. ...
  1452. class Tfoot(BaseHTML):
  1453. @overload
  1454. @classmethod
  1455. def create( # type: ignore
  1456. cls,
  1457. *children,
  1458. access_key: Var[str] | str | None = None,
  1459. auto_capitalize: Literal[
  1460. "characters", "none", "off", "on", "sentences", "words"
  1461. ]
  1462. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1463. | None = None,
  1464. content_editable: Literal["inherit", "plaintext-only", False, True]
  1465. | Var[Literal["inherit", "plaintext-only", False, True]]
  1466. | None = None,
  1467. context_menu: Var[str] | str | None = None,
  1468. dir: Var[str] | str | None = None,
  1469. draggable: Var[bool] | bool | None = None,
  1470. enter_key_hint: Literal[
  1471. "done", "enter", "go", "next", "previous", "search", "send"
  1472. ]
  1473. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1474. | None = None,
  1475. hidden: Var[bool] | bool | None = None,
  1476. input_mode: Literal[
  1477. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1478. ]
  1479. | Var[
  1480. Literal[
  1481. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1482. ]
  1483. ]
  1484. | None = None,
  1485. item_prop: Var[str] | str | None = None,
  1486. lang: Var[str] | str | None = None,
  1487. role: Literal[
  1488. "alert",
  1489. "alertdialog",
  1490. "application",
  1491. "article",
  1492. "banner",
  1493. "button",
  1494. "cell",
  1495. "checkbox",
  1496. "columnheader",
  1497. "combobox",
  1498. "complementary",
  1499. "contentinfo",
  1500. "definition",
  1501. "dialog",
  1502. "directory",
  1503. "document",
  1504. "feed",
  1505. "figure",
  1506. "form",
  1507. "grid",
  1508. "gridcell",
  1509. "group",
  1510. "heading",
  1511. "img",
  1512. "link",
  1513. "list",
  1514. "listbox",
  1515. "listitem",
  1516. "log",
  1517. "main",
  1518. "marquee",
  1519. "math",
  1520. "menu",
  1521. "menubar",
  1522. "menuitem",
  1523. "menuitemcheckbox",
  1524. "menuitemradio",
  1525. "navigation",
  1526. "none",
  1527. "note",
  1528. "option",
  1529. "presentation",
  1530. "progressbar",
  1531. "radio",
  1532. "radiogroup",
  1533. "region",
  1534. "row",
  1535. "rowgroup",
  1536. "rowheader",
  1537. "scrollbar",
  1538. "search",
  1539. "searchbox",
  1540. "separator",
  1541. "slider",
  1542. "spinbutton",
  1543. "status",
  1544. "switch",
  1545. "tab",
  1546. "table",
  1547. "tablist",
  1548. "tabpanel",
  1549. "term",
  1550. "textbox",
  1551. "timer",
  1552. "toolbar",
  1553. "tooltip",
  1554. "tree",
  1555. "treegrid",
  1556. "treeitem",
  1557. ]
  1558. | Var[
  1559. Literal[
  1560. "alert",
  1561. "alertdialog",
  1562. "application",
  1563. "article",
  1564. "banner",
  1565. "button",
  1566. "cell",
  1567. "checkbox",
  1568. "columnheader",
  1569. "combobox",
  1570. "complementary",
  1571. "contentinfo",
  1572. "definition",
  1573. "dialog",
  1574. "directory",
  1575. "document",
  1576. "feed",
  1577. "figure",
  1578. "form",
  1579. "grid",
  1580. "gridcell",
  1581. "group",
  1582. "heading",
  1583. "img",
  1584. "link",
  1585. "list",
  1586. "listbox",
  1587. "listitem",
  1588. "log",
  1589. "main",
  1590. "marquee",
  1591. "math",
  1592. "menu",
  1593. "menubar",
  1594. "menuitem",
  1595. "menuitemcheckbox",
  1596. "menuitemradio",
  1597. "navigation",
  1598. "none",
  1599. "note",
  1600. "option",
  1601. "presentation",
  1602. "progressbar",
  1603. "radio",
  1604. "radiogroup",
  1605. "region",
  1606. "row",
  1607. "rowgroup",
  1608. "rowheader",
  1609. "scrollbar",
  1610. "search",
  1611. "searchbox",
  1612. "separator",
  1613. "slider",
  1614. "spinbutton",
  1615. "status",
  1616. "switch",
  1617. "tab",
  1618. "table",
  1619. "tablist",
  1620. "tabpanel",
  1621. "term",
  1622. "textbox",
  1623. "timer",
  1624. "toolbar",
  1625. "tooltip",
  1626. "tree",
  1627. "treegrid",
  1628. "treeitem",
  1629. ]
  1630. ]
  1631. | None = None,
  1632. slot: Var[str] | str | None = None,
  1633. spell_check: Var[bool] | bool | None = None,
  1634. tab_index: Var[int] | int | None = None,
  1635. title: Var[str] | str | None = None,
  1636. style: Style | None = None,
  1637. key: Any | None = None,
  1638. id: Any | None = None,
  1639. class_name: Any | None = None,
  1640. autofocus: bool | None = None,
  1641. custom_attrs: dict[str, Var | Any] | None = None,
  1642. on_blur: Optional[EventType[()]] = None,
  1643. on_click: Optional[EventType[()]] = None,
  1644. on_context_menu: Optional[EventType[()]] = None,
  1645. on_double_click: Optional[EventType[()]] = None,
  1646. on_focus: Optional[EventType[()]] = None,
  1647. on_mount: Optional[EventType[()]] = None,
  1648. on_mouse_down: Optional[EventType[()]] = None,
  1649. on_mouse_enter: Optional[EventType[()]] = None,
  1650. on_mouse_leave: Optional[EventType[()]] = None,
  1651. on_mouse_move: Optional[EventType[()]] = None,
  1652. on_mouse_out: Optional[EventType[()]] = None,
  1653. on_mouse_over: Optional[EventType[()]] = None,
  1654. on_mouse_up: Optional[EventType[()]] = None,
  1655. on_scroll: Optional[EventType[()]] = None,
  1656. on_unmount: Optional[EventType[()]] = None,
  1657. **props,
  1658. ) -> "Tfoot":
  1659. """Create the component.
  1660. Args:
  1661. *children: The children of the component.
  1662. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1663. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1664. content_editable: Indicates whether the element's content is editable.
  1665. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1666. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1667. draggable: Defines whether the element can be dragged.
  1668. enter_key_hint: Hints what media types the media element is able to play.
  1669. hidden: Defines whether the element is hidden.
  1670. input_mode: Defines the type of the element.
  1671. item_prop: Defines the name of the element for metadata purposes.
  1672. lang: Defines the language used in the element.
  1673. role: Defines the role of the element.
  1674. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1675. spell_check: Defines whether the element may be checked for spelling errors.
  1676. tab_index: Defines the position of the current element in the tabbing order.
  1677. title: Defines a tooltip for the element.
  1678. style: The style of the component.
  1679. key: A unique key for the component.
  1680. id: The id for the component.
  1681. class_name: The class name for the component.
  1682. autofocus: Whether the component should take the focus once the page is loaded
  1683. custom_attrs: custom attribute
  1684. **props: The props of the component.
  1685. Returns:
  1686. The component.
  1687. """
  1688. ...
  1689. class Th(BaseHTML):
  1690. @overload
  1691. @classmethod
  1692. def create( # type: ignore
  1693. cls,
  1694. *children,
  1695. align: Literal["center", "char", "justify", "left", "right"]
  1696. | Var[Literal["center", "char", "justify", "left", "right"]]
  1697. | None = None,
  1698. col_span: Var[int] | int | None = None,
  1699. headers: Var[str] | str | None = None,
  1700. row_span: Var[int] | int | None = None,
  1701. scope: Var[str] | str | None = None,
  1702. access_key: Var[str] | str | None = None,
  1703. auto_capitalize: Literal[
  1704. "characters", "none", "off", "on", "sentences", "words"
  1705. ]
  1706. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1707. | None = None,
  1708. content_editable: Literal["inherit", "plaintext-only", False, True]
  1709. | Var[Literal["inherit", "plaintext-only", False, True]]
  1710. | None = None,
  1711. context_menu: Var[str] | str | None = None,
  1712. dir: Var[str] | str | None = None,
  1713. draggable: Var[bool] | bool | None = None,
  1714. enter_key_hint: Literal[
  1715. "done", "enter", "go", "next", "previous", "search", "send"
  1716. ]
  1717. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1718. | None = None,
  1719. hidden: Var[bool] | bool | None = None,
  1720. input_mode: Literal[
  1721. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1722. ]
  1723. | Var[
  1724. Literal[
  1725. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1726. ]
  1727. ]
  1728. | None = None,
  1729. item_prop: Var[str] | str | None = None,
  1730. lang: Var[str] | str | None = None,
  1731. role: Literal[
  1732. "alert",
  1733. "alertdialog",
  1734. "application",
  1735. "article",
  1736. "banner",
  1737. "button",
  1738. "cell",
  1739. "checkbox",
  1740. "columnheader",
  1741. "combobox",
  1742. "complementary",
  1743. "contentinfo",
  1744. "definition",
  1745. "dialog",
  1746. "directory",
  1747. "document",
  1748. "feed",
  1749. "figure",
  1750. "form",
  1751. "grid",
  1752. "gridcell",
  1753. "group",
  1754. "heading",
  1755. "img",
  1756. "link",
  1757. "list",
  1758. "listbox",
  1759. "listitem",
  1760. "log",
  1761. "main",
  1762. "marquee",
  1763. "math",
  1764. "menu",
  1765. "menubar",
  1766. "menuitem",
  1767. "menuitemcheckbox",
  1768. "menuitemradio",
  1769. "navigation",
  1770. "none",
  1771. "note",
  1772. "option",
  1773. "presentation",
  1774. "progressbar",
  1775. "radio",
  1776. "radiogroup",
  1777. "region",
  1778. "row",
  1779. "rowgroup",
  1780. "rowheader",
  1781. "scrollbar",
  1782. "search",
  1783. "searchbox",
  1784. "separator",
  1785. "slider",
  1786. "spinbutton",
  1787. "status",
  1788. "switch",
  1789. "tab",
  1790. "table",
  1791. "tablist",
  1792. "tabpanel",
  1793. "term",
  1794. "textbox",
  1795. "timer",
  1796. "toolbar",
  1797. "tooltip",
  1798. "tree",
  1799. "treegrid",
  1800. "treeitem",
  1801. ]
  1802. | Var[
  1803. Literal[
  1804. "alert",
  1805. "alertdialog",
  1806. "application",
  1807. "article",
  1808. "banner",
  1809. "button",
  1810. "cell",
  1811. "checkbox",
  1812. "columnheader",
  1813. "combobox",
  1814. "complementary",
  1815. "contentinfo",
  1816. "definition",
  1817. "dialog",
  1818. "directory",
  1819. "document",
  1820. "feed",
  1821. "figure",
  1822. "form",
  1823. "grid",
  1824. "gridcell",
  1825. "group",
  1826. "heading",
  1827. "img",
  1828. "link",
  1829. "list",
  1830. "listbox",
  1831. "listitem",
  1832. "log",
  1833. "main",
  1834. "marquee",
  1835. "math",
  1836. "menu",
  1837. "menubar",
  1838. "menuitem",
  1839. "menuitemcheckbox",
  1840. "menuitemradio",
  1841. "navigation",
  1842. "none",
  1843. "note",
  1844. "option",
  1845. "presentation",
  1846. "progressbar",
  1847. "radio",
  1848. "radiogroup",
  1849. "region",
  1850. "row",
  1851. "rowgroup",
  1852. "rowheader",
  1853. "scrollbar",
  1854. "search",
  1855. "searchbox",
  1856. "separator",
  1857. "slider",
  1858. "spinbutton",
  1859. "status",
  1860. "switch",
  1861. "tab",
  1862. "table",
  1863. "tablist",
  1864. "tabpanel",
  1865. "term",
  1866. "textbox",
  1867. "timer",
  1868. "toolbar",
  1869. "tooltip",
  1870. "tree",
  1871. "treegrid",
  1872. "treeitem",
  1873. ]
  1874. ]
  1875. | None = None,
  1876. slot: Var[str] | str | None = None,
  1877. spell_check: Var[bool] | bool | None = None,
  1878. tab_index: Var[int] | int | None = None,
  1879. title: Var[str] | str | None = None,
  1880. style: Style | None = None,
  1881. key: Any | None = None,
  1882. id: Any | None = None,
  1883. class_name: Any | None = None,
  1884. autofocus: bool | None = None,
  1885. custom_attrs: dict[str, Var | Any] | None = None,
  1886. on_blur: Optional[EventType[()]] = None,
  1887. on_click: Optional[EventType[()]] = None,
  1888. on_context_menu: Optional[EventType[()]] = None,
  1889. on_double_click: Optional[EventType[()]] = None,
  1890. on_focus: Optional[EventType[()]] = None,
  1891. on_mount: Optional[EventType[()]] = None,
  1892. on_mouse_down: Optional[EventType[()]] = None,
  1893. on_mouse_enter: Optional[EventType[()]] = None,
  1894. on_mouse_leave: Optional[EventType[()]] = None,
  1895. on_mouse_move: Optional[EventType[()]] = None,
  1896. on_mouse_out: Optional[EventType[()]] = None,
  1897. on_mouse_over: Optional[EventType[()]] = None,
  1898. on_mouse_up: Optional[EventType[()]] = None,
  1899. on_scroll: Optional[EventType[()]] = None,
  1900. on_unmount: Optional[EventType[()]] = None,
  1901. **props,
  1902. ) -> "Th":
  1903. """Create the component.
  1904. Args:
  1905. *children: The children of the component.
  1906. align: Alignment of the content within the table header cell
  1907. col_span: Number of columns a header cell should span
  1908. headers: IDs of the headers associated with this header cell
  1909. row_span: Number of rows a header cell should span
  1910. scope: Scope of the header cell (row, col, rowgroup, colgroup)
  1911. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1912. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1913. content_editable: Indicates whether the element's content is editable.
  1914. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1915. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1916. draggable: Defines whether the element can be dragged.
  1917. enter_key_hint: Hints what media types the media element is able to play.
  1918. hidden: Defines whether the element is hidden.
  1919. input_mode: Defines the type of the element.
  1920. item_prop: Defines the name of the element for metadata purposes.
  1921. lang: Defines the language used in the element.
  1922. role: Defines the role of the element.
  1923. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1924. spell_check: Defines whether the element may be checked for spelling errors.
  1925. tab_index: Defines the position of the current element in the tabbing order.
  1926. title: Defines a tooltip for the element.
  1927. style: The style of the component.
  1928. key: A unique key for the component.
  1929. id: The id for the component.
  1930. class_name: The class name for the component.
  1931. autofocus: Whether the component should take the focus once the page is loaded
  1932. custom_attrs: custom attribute
  1933. **props: The props of the component.
  1934. Returns:
  1935. The component.
  1936. """
  1937. ...
  1938. class Thead(BaseHTML):
  1939. @overload
  1940. @classmethod
  1941. def create( # type: ignore
  1942. cls,
  1943. *children,
  1944. access_key: Var[str] | str | None = None,
  1945. auto_capitalize: Literal[
  1946. "characters", "none", "off", "on", "sentences", "words"
  1947. ]
  1948. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1949. | None = None,
  1950. content_editable: Literal["inherit", "plaintext-only", False, True]
  1951. | Var[Literal["inherit", "plaintext-only", False, True]]
  1952. | None = None,
  1953. context_menu: Var[str] | str | None = None,
  1954. dir: Var[str] | str | None = None,
  1955. draggable: Var[bool] | bool | None = None,
  1956. enter_key_hint: Literal[
  1957. "done", "enter", "go", "next", "previous", "search", "send"
  1958. ]
  1959. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1960. | None = None,
  1961. hidden: Var[bool] | bool | None = None,
  1962. input_mode: Literal[
  1963. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1964. ]
  1965. | Var[
  1966. Literal[
  1967. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1968. ]
  1969. ]
  1970. | None = None,
  1971. item_prop: Var[str] | str | None = None,
  1972. lang: Var[str] | str | None = None,
  1973. role: Literal[
  1974. "alert",
  1975. "alertdialog",
  1976. "application",
  1977. "article",
  1978. "banner",
  1979. "button",
  1980. "cell",
  1981. "checkbox",
  1982. "columnheader",
  1983. "combobox",
  1984. "complementary",
  1985. "contentinfo",
  1986. "definition",
  1987. "dialog",
  1988. "directory",
  1989. "document",
  1990. "feed",
  1991. "figure",
  1992. "form",
  1993. "grid",
  1994. "gridcell",
  1995. "group",
  1996. "heading",
  1997. "img",
  1998. "link",
  1999. "list",
  2000. "listbox",
  2001. "listitem",
  2002. "log",
  2003. "main",
  2004. "marquee",
  2005. "math",
  2006. "menu",
  2007. "menubar",
  2008. "menuitem",
  2009. "menuitemcheckbox",
  2010. "menuitemradio",
  2011. "navigation",
  2012. "none",
  2013. "note",
  2014. "option",
  2015. "presentation",
  2016. "progressbar",
  2017. "radio",
  2018. "radiogroup",
  2019. "region",
  2020. "row",
  2021. "rowgroup",
  2022. "rowheader",
  2023. "scrollbar",
  2024. "search",
  2025. "searchbox",
  2026. "separator",
  2027. "slider",
  2028. "spinbutton",
  2029. "status",
  2030. "switch",
  2031. "tab",
  2032. "table",
  2033. "tablist",
  2034. "tabpanel",
  2035. "term",
  2036. "textbox",
  2037. "timer",
  2038. "toolbar",
  2039. "tooltip",
  2040. "tree",
  2041. "treegrid",
  2042. "treeitem",
  2043. ]
  2044. | Var[
  2045. Literal[
  2046. "alert",
  2047. "alertdialog",
  2048. "application",
  2049. "article",
  2050. "banner",
  2051. "button",
  2052. "cell",
  2053. "checkbox",
  2054. "columnheader",
  2055. "combobox",
  2056. "complementary",
  2057. "contentinfo",
  2058. "definition",
  2059. "dialog",
  2060. "directory",
  2061. "document",
  2062. "feed",
  2063. "figure",
  2064. "form",
  2065. "grid",
  2066. "gridcell",
  2067. "group",
  2068. "heading",
  2069. "img",
  2070. "link",
  2071. "list",
  2072. "listbox",
  2073. "listitem",
  2074. "log",
  2075. "main",
  2076. "marquee",
  2077. "math",
  2078. "menu",
  2079. "menubar",
  2080. "menuitem",
  2081. "menuitemcheckbox",
  2082. "menuitemradio",
  2083. "navigation",
  2084. "none",
  2085. "note",
  2086. "option",
  2087. "presentation",
  2088. "progressbar",
  2089. "radio",
  2090. "radiogroup",
  2091. "region",
  2092. "row",
  2093. "rowgroup",
  2094. "rowheader",
  2095. "scrollbar",
  2096. "search",
  2097. "searchbox",
  2098. "separator",
  2099. "slider",
  2100. "spinbutton",
  2101. "status",
  2102. "switch",
  2103. "tab",
  2104. "table",
  2105. "tablist",
  2106. "tabpanel",
  2107. "term",
  2108. "textbox",
  2109. "timer",
  2110. "toolbar",
  2111. "tooltip",
  2112. "tree",
  2113. "treegrid",
  2114. "treeitem",
  2115. ]
  2116. ]
  2117. | None = None,
  2118. slot: Var[str] | str | None = None,
  2119. spell_check: Var[bool] | bool | None = None,
  2120. tab_index: Var[int] | int | None = None,
  2121. title: Var[str] | str | None = None,
  2122. style: Style | None = None,
  2123. key: Any | None = None,
  2124. id: Any | None = None,
  2125. class_name: Any | None = None,
  2126. autofocus: bool | None = None,
  2127. custom_attrs: dict[str, Var | Any] | None = None,
  2128. on_blur: Optional[EventType[()]] = None,
  2129. on_click: Optional[EventType[()]] = None,
  2130. on_context_menu: Optional[EventType[()]] = None,
  2131. on_double_click: Optional[EventType[()]] = None,
  2132. on_focus: Optional[EventType[()]] = None,
  2133. on_mount: Optional[EventType[()]] = None,
  2134. on_mouse_down: Optional[EventType[()]] = None,
  2135. on_mouse_enter: Optional[EventType[()]] = None,
  2136. on_mouse_leave: Optional[EventType[()]] = None,
  2137. on_mouse_move: Optional[EventType[()]] = None,
  2138. on_mouse_out: Optional[EventType[()]] = None,
  2139. on_mouse_over: Optional[EventType[()]] = None,
  2140. on_mouse_up: Optional[EventType[()]] = None,
  2141. on_scroll: Optional[EventType[()]] = None,
  2142. on_unmount: Optional[EventType[()]] = None,
  2143. **props,
  2144. ) -> "Thead":
  2145. """Create the component.
  2146. Args:
  2147. *children: The children of the component.
  2148. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2149. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2150. content_editable: Indicates whether the element's content is editable.
  2151. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2152. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2153. draggable: Defines whether the element can be dragged.
  2154. enter_key_hint: Hints what media types the media element is able to play.
  2155. hidden: Defines whether the element is hidden.
  2156. input_mode: Defines the type of the element.
  2157. item_prop: Defines the name of the element for metadata purposes.
  2158. lang: Defines the language used in the element.
  2159. role: Defines the role of the element.
  2160. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2161. spell_check: Defines whether the element may be checked for spelling errors.
  2162. tab_index: Defines the position of the current element in the tabbing order.
  2163. title: Defines a tooltip for the element.
  2164. style: The style of the component.
  2165. key: A unique key for the component.
  2166. id: The id for the component.
  2167. class_name: The class name for the component.
  2168. autofocus: Whether the component should take the focus once the page is loaded
  2169. custom_attrs: custom attribute
  2170. **props: The props of the component.
  2171. Returns:
  2172. The component.
  2173. """
  2174. ...
  2175. class Tr(BaseHTML):
  2176. @overload
  2177. @classmethod
  2178. def create( # type: ignore
  2179. cls,
  2180. *children,
  2181. access_key: Var[str] | str | None = None,
  2182. auto_capitalize: Literal[
  2183. "characters", "none", "off", "on", "sentences", "words"
  2184. ]
  2185. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2186. | None = None,
  2187. content_editable: Literal["inherit", "plaintext-only", False, True]
  2188. | Var[Literal["inherit", "plaintext-only", False, True]]
  2189. | None = None,
  2190. context_menu: Var[str] | str | None = None,
  2191. dir: Var[str] | str | None = None,
  2192. draggable: Var[bool] | bool | None = None,
  2193. enter_key_hint: Literal[
  2194. "done", "enter", "go", "next", "previous", "search", "send"
  2195. ]
  2196. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2197. | None = None,
  2198. hidden: Var[bool] | bool | None = None,
  2199. input_mode: Literal[
  2200. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2201. ]
  2202. | Var[
  2203. Literal[
  2204. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2205. ]
  2206. ]
  2207. | None = None,
  2208. item_prop: Var[str] | str | None = None,
  2209. lang: Var[str] | str | None = None,
  2210. role: Literal[
  2211. "alert",
  2212. "alertdialog",
  2213. "application",
  2214. "article",
  2215. "banner",
  2216. "button",
  2217. "cell",
  2218. "checkbox",
  2219. "columnheader",
  2220. "combobox",
  2221. "complementary",
  2222. "contentinfo",
  2223. "definition",
  2224. "dialog",
  2225. "directory",
  2226. "document",
  2227. "feed",
  2228. "figure",
  2229. "form",
  2230. "grid",
  2231. "gridcell",
  2232. "group",
  2233. "heading",
  2234. "img",
  2235. "link",
  2236. "list",
  2237. "listbox",
  2238. "listitem",
  2239. "log",
  2240. "main",
  2241. "marquee",
  2242. "math",
  2243. "menu",
  2244. "menubar",
  2245. "menuitem",
  2246. "menuitemcheckbox",
  2247. "menuitemradio",
  2248. "navigation",
  2249. "none",
  2250. "note",
  2251. "option",
  2252. "presentation",
  2253. "progressbar",
  2254. "radio",
  2255. "radiogroup",
  2256. "region",
  2257. "row",
  2258. "rowgroup",
  2259. "rowheader",
  2260. "scrollbar",
  2261. "search",
  2262. "searchbox",
  2263. "separator",
  2264. "slider",
  2265. "spinbutton",
  2266. "status",
  2267. "switch",
  2268. "tab",
  2269. "table",
  2270. "tablist",
  2271. "tabpanel",
  2272. "term",
  2273. "textbox",
  2274. "timer",
  2275. "toolbar",
  2276. "tooltip",
  2277. "tree",
  2278. "treegrid",
  2279. "treeitem",
  2280. ]
  2281. | Var[
  2282. Literal[
  2283. "alert",
  2284. "alertdialog",
  2285. "application",
  2286. "article",
  2287. "banner",
  2288. "button",
  2289. "cell",
  2290. "checkbox",
  2291. "columnheader",
  2292. "combobox",
  2293. "complementary",
  2294. "contentinfo",
  2295. "definition",
  2296. "dialog",
  2297. "directory",
  2298. "document",
  2299. "feed",
  2300. "figure",
  2301. "form",
  2302. "grid",
  2303. "gridcell",
  2304. "group",
  2305. "heading",
  2306. "img",
  2307. "link",
  2308. "list",
  2309. "listbox",
  2310. "listitem",
  2311. "log",
  2312. "main",
  2313. "marquee",
  2314. "math",
  2315. "menu",
  2316. "menubar",
  2317. "menuitem",
  2318. "menuitemcheckbox",
  2319. "menuitemradio",
  2320. "navigation",
  2321. "none",
  2322. "note",
  2323. "option",
  2324. "presentation",
  2325. "progressbar",
  2326. "radio",
  2327. "radiogroup",
  2328. "region",
  2329. "row",
  2330. "rowgroup",
  2331. "rowheader",
  2332. "scrollbar",
  2333. "search",
  2334. "searchbox",
  2335. "separator",
  2336. "slider",
  2337. "spinbutton",
  2338. "status",
  2339. "switch",
  2340. "tab",
  2341. "table",
  2342. "tablist",
  2343. "tabpanel",
  2344. "term",
  2345. "textbox",
  2346. "timer",
  2347. "toolbar",
  2348. "tooltip",
  2349. "tree",
  2350. "treegrid",
  2351. "treeitem",
  2352. ]
  2353. ]
  2354. | None = None,
  2355. slot: Var[str] | str | None = None,
  2356. spell_check: Var[bool] | bool | None = None,
  2357. tab_index: Var[int] | int | None = None,
  2358. title: Var[str] | str | None = None,
  2359. style: Style | None = None,
  2360. key: Any | None = None,
  2361. id: Any | None = None,
  2362. class_name: Any | None = None,
  2363. autofocus: bool | None = None,
  2364. custom_attrs: dict[str, Var | Any] | None = None,
  2365. on_blur: Optional[EventType[()]] = None,
  2366. on_click: Optional[EventType[()]] = None,
  2367. on_context_menu: Optional[EventType[()]] = None,
  2368. on_double_click: Optional[EventType[()]] = None,
  2369. on_focus: Optional[EventType[()]] = None,
  2370. on_mount: Optional[EventType[()]] = None,
  2371. on_mouse_down: Optional[EventType[()]] = None,
  2372. on_mouse_enter: Optional[EventType[()]] = None,
  2373. on_mouse_leave: Optional[EventType[()]] = None,
  2374. on_mouse_move: Optional[EventType[()]] = None,
  2375. on_mouse_out: Optional[EventType[()]] = None,
  2376. on_mouse_over: Optional[EventType[()]] = None,
  2377. on_mouse_up: Optional[EventType[()]] = None,
  2378. on_scroll: Optional[EventType[()]] = None,
  2379. on_unmount: Optional[EventType[()]] = None,
  2380. **props,
  2381. ) -> "Tr":
  2382. """Create the component.
  2383. Args:
  2384. *children: The children of the component.
  2385. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2386. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2387. content_editable: Indicates whether the element's content is editable.
  2388. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2389. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2390. draggable: Defines whether the element can be dragged.
  2391. enter_key_hint: Hints what media types the media element is able to play.
  2392. hidden: Defines whether the element is hidden.
  2393. input_mode: Defines the type of the element.
  2394. item_prop: Defines the name of the element for metadata purposes.
  2395. lang: Defines the language used in the element.
  2396. role: Defines the role of the element.
  2397. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2398. spell_check: Defines whether the element may be checked for spelling errors.
  2399. tab_index: Defines the position of the current element in the tabbing order.
  2400. title: Defines a tooltip for the element.
  2401. style: The style of the component.
  2402. key: A unique key for the component.
  2403. id: The id for the component.
  2404. class_name: The class name for the component.
  2405. autofocus: Whether the component should take the focus once the page is loaded
  2406. custom_attrs: custom attribute
  2407. **props: The props of the component.
  2408. Returns:
  2409. The component.
  2410. """
  2411. ...
  2412. caption = Caption.create
  2413. col = Col.create
  2414. colgroup = Colgroup.create
  2415. table = Table.create
  2416. tbody = Tbody.create
  2417. td = Td.create
  2418. tfoot = Tfoot.create
  2419. th = Th.create
  2420. thead = Thead.create
  2421. tr = Tr.create