sectioning.pyi 118 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628
  1. """Stub file for reflex/components/el/elements/sectioning.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 Body(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. ) -> "Body":
  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 Address(BaseHTML):
  248. @overload
  249. @classmethod
  250. def create( # type: ignore
  251. cls,
  252. *children,
  253. access_key: Var[str] | str | None = None,
  254. auto_capitalize: Literal[
  255. "characters", "none", "off", "on", "sentences", "words"
  256. ]
  257. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  258. | None = None,
  259. content_editable: Literal["inherit", "plaintext-only", False, True]
  260. | Var[Literal["inherit", "plaintext-only", False, True]]
  261. | None = None,
  262. context_menu: Var[str] | str | None = None,
  263. dir: Var[str] | str | None = None,
  264. draggable: Var[bool] | bool | None = None,
  265. enter_key_hint: Literal[
  266. "done", "enter", "go", "next", "previous", "search", "send"
  267. ]
  268. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  269. | None = None,
  270. hidden: Var[bool] | bool | None = None,
  271. input_mode: Literal[
  272. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  273. ]
  274. | Var[
  275. Literal[
  276. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  277. ]
  278. ]
  279. | None = None,
  280. item_prop: Var[str] | str | None = None,
  281. lang: Var[str] | str | None = None,
  282. role: Literal[
  283. "alert",
  284. "alertdialog",
  285. "application",
  286. "article",
  287. "banner",
  288. "button",
  289. "cell",
  290. "checkbox",
  291. "columnheader",
  292. "combobox",
  293. "complementary",
  294. "contentinfo",
  295. "definition",
  296. "dialog",
  297. "directory",
  298. "document",
  299. "feed",
  300. "figure",
  301. "form",
  302. "grid",
  303. "gridcell",
  304. "group",
  305. "heading",
  306. "img",
  307. "link",
  308. "list",
  309. "listbox",
  310. "listitem",
  311. "log",
  312. "main",
  313. "marquee",
  314. "math",
  315. "menu",
  316. "menubar",
  317. "menuitem",
  318. "menuitemcheckbox",
  319. "menuitemradio",
  320. "navigation",
  321. "none",
  322. "note",
  323. "option",
  324. "presentation",
  325. "progressbar",
  326. "radio",
  327. "radiogroup",
  328. "region",
  329. "row",
  330. "rowgroup",
  331. "rowheader",
  332. "scrollbar",
  333. "search",
  334. "searchbox",
  335. "separator",
  336. "slider",
  337. "spinbutton",
  338. "status",
  339. "switch",
  340. "tab",
  341. "table",
  342. "tablist",
  343. "tabpanel",
  344. "term",
  345. "textbox",
  346. "timer",
  347. "toolbar",
  348. "tooltip",
  349. "tree",
  350. "treegrid",
  351. "treeitem",
  352. ]
  353. | Var[
  354. Literal[
  355. "alert",
  356. "alertdialog",
  357. "application",
  358. "article",
  359. "banner",
  360. "button",
  361. "cell",
  362. "checkbox",
  363. "columnheader",
  364. "combobox",
  365. "complementary",
  366. "contentinfo",
  367. "definition",
  368. "dialog",
  369. "directory",
  370. "document",
  371. "feed",
  372. "figure",
  373. "form",
  374. "grid",
  375. "gridcell",
  376. "group",
  377. "heading",
  378. "img",
  379. "link",
  380. "list",
  381. "listbox",
  382. "listitem",
  383. "log",
  384. "main",
  385. "marquee",
  386. "math",
  387. "menu",
  388. "menubar",
  389. "menuitem",
  390. "menuitemcheckbox",
  391. "menuitemradio",
  392. "navigation",
  393. "none",
  394. "note",
  395. "option",
  396. "presentation",
  397. "progressbar",
  398. "radio",
  399. "radiogroup",
  400. "region",
  401. "row",
  402. "rowgroup",
  403. "rowheader",
  404. "scrollbar",
  405. "search",
  406. "searchbox",
  407. "separator",
  408. "slider",
  409. "spinbutton",
  410. "status",
  411. "switch",
  412. "tab",
  413. "table",
  414. "tablist",
  415. "tabpanel",
  416. "term",
  417. "textbox",
  418. "timer",
  419. "toolbar",
  420. "tooltip",
  421. "tree",
  422. "treegrid",
  423. "treeitem",
  424. ]
  425. ]
  426. | None = None,
  427. slot: Var[str] | str | None = None,
  428. spell_check: Var[bool] | bool | None = None,
  429. tab_index: Var[int] | int | None = None,
  430. title: Var[str] | str | None = None,
  431. style: Style | None = None,
  432. key: Any | None = None,
  433. id: Any | None = None,
  434. class_name: Any | None = None,
  435. autofocus: bool | None = None,
  436. custom_attrs: dict[str, Var | Any] | None = None,
  437. on_blur: Optional[EventType[()]] = None,
  438. on_click: Optional[EventType[()]] = None,
  439. on_context_menu: Optional[EventType[()]] = None,
  440. on_double_click: Optional[EventType[()]] = None,
  441. on_focus: Optional[EventType[()]] = None,
  442. on_mount: Optional[EventType[()]] = None,
  443. on_mouse_down: Optional[EventType[()]] = None,
  444. on_mouse_enter: Optional[EventType[()]] = None,
  445. on_mouse_leave: Optional[EventType[()]] = None,
  446. on_mouse_move: Optional[EventType[()]] = None,
  447. on_mouse_out: Optional[EventType[()]] = None,
  448. on_mouse_over: Optional[EventType[()]] = None,
  449. on_mouse_up: Optional[EventType[()]] = None,
  450. on_scroll: Optional[EventType[()]] = None,
  451. on_unmount: Optional[EventType[()]] = None,
  452. **props,
  453. ) -> "Address":
  454. """Create the component.
  455. Args:
  456. *children: The children of the component.
  457. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  458. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  459. content_editable: Indicates whether the element's content is editable.
  460. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  461. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  462. draggable: Defines whether the element can be dragged.
  463. enter_key_hint: Hints what media types the media element is able to play.
  464. hidden: Defines whether the element is hidden.
  465. input_mode: Defines the type of the element.
  466. item_prop: Defines the name of the element for metadata purposes.
  467. lang: Defines the language used in the element.
  468. role: Defines the role of the element.
  469. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  470. spell_check: Defines whether the element may be checked for spelling errors.
  471. tab_index: Defines the position of the current element in the tabbing order.
  472. title: Defines a tooltip for the element.
  473. style: The style of the component.
  474. key: A unique key for the component.
  475. id: The id for the component.
  476. class_name: The class name for the component.
  477. autofocus: Whether the component should take the focus once the page is loaded
  478. custom_attrs: custom attribute
  479. **props: The props of the component.
  480. Returns:
  481. The component.
  482. """
  483. ...
  484. class Article(BaseHTML):
  485. @overload
  486. @classmethod
  487. def create( # type: ignore
  488. cls,
  489. *children,
  490. access_key: Var[str] | str | None = None,
  491. auto_capitalize: Literal[
  492. "characters", "none", "off", "on", "sentences", "words"
  493. ]
  494. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  495. | None = None,
  496. content_editable: Literal["inherit", "plaintext-only", False, True]
  497. | Var[Literal["inherit", "plaintext-only", False, True]]
  498. | None = None,
  499. context_menu: Var[str] | str | None = None,
  500. dir: Var[str] | str | None = None,
  501. draggable: Var[bool] | bool | None = None,
  502. enter_key_hint: Literal[
  503. "done", "enter", "go", "next", "previous", "search", "send"
  504. ]
  505. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  506. | None = None,
  507. hidden: Var[bool] | bool | None = None,
  508. input_mode: Literal[
  509. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  510. ]
  511. | Var[
  512. Literal[
  513. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  514. ]
  515. ]
  516. | None = None,
  517. item_prop: Var[str] | str | None = None,
  518. lang: Var[str] | str | None = None,
  519. role: Literal[
  520. "alert",
  521. "alertdialog",
  522. "application",
  523. "article",
  524. "banner",
  525. "button",
  526. "cell",
  527. "checkbox",
  528. "columnheader",
  529. "combobox",
  530. "complementary",
  531. "contentinfo",
  532. "definition",
  533. "dialog",
  534. "directory",
  535. "document",
  536. "feed",
  537. "figure",
  538. "form",
  539. "grid",
  540. "gridcell",
  541. "group",
  542. "heading",
  543. "img",
  544. "link",
  545. "list",
  546. "listbox",
  547. "listitem",
  548. "log",
  549. "main",
  550. "marquee",
  551. "math",
  552. "menu",
  553. "menubar",
  554. "menuitem",
  555. "menuitemcheckbox",
  556. "menuitemradio",
  557. "navigation",
  558. "none",
  559. "note",
  560. "option",
  561. "presentation",
  562. "progressbar",
  563. "radio",
  564. "radiogroup",
  565. "region",
  566. "row",
  567. "rowgroup",
  568. "rowheader",
  569. "scrollbar",
  570. "search",
  571. "searchbox",
  572. "separator",
  573. "slider",
  574. "spinbutton",
  575. "status",
  576. "switch",
  577. "tab",
  578. "table",
  579. "tablist",
  580. "tabpanel",
  581. "term",
  582. "textbox",
  583. "timer",
  584. "toolbar",
  585. "tooltip",
  586. "tree",
  587. "treegrid",
  588. "treeitem",
  589. ]
  590. | Var[
  591. Literal[
  592. "alert",
  593. "alertdialog",
  594. "application",
  595. "article",
  596. "banner",
  597. "button",
  598. "cell",
  599. "checkbox",
  600. "columnheader",
  601. "combobox",
  602. "complementary",
  603. "contentinfo",
  604. "definition",
  605. "dialog",
  606. "directory",
  607. "document",
  608. "feed",
  609. "figure",
  610. "form",
  611. "grid",
  612. "gridcell",
  613. "group",
  614. "heading",
  615. "img",
  616. "link",
  617. "list",
  618. "listbox",
  619. "listitem",
  620. "log",
  621. "main",
  622. "marquee",
  623. "math",
  624. "menu",
  625. "menubar",
  626. "menuitem",
  627. "menuitemcheckbox",
  628. "menuitemradio",
  629. "navigation",
  630. "none",
  631. "note",
  632. "option",
  633. "presentation",
  634. "progressbar",
  635. "radio",
  636. "radiogroup",
  637. "region",
  638. "row",
  639. "rowgroup",
  640. "rowheader",
  641. "scrollbar",
  642. "search",
  643. "searchbox",
  644. "separator",
  645. "slider",
  646. "spinbutton",
  647. "status",
  648. "switch",
  649. "tab",
  650. "table",
  651. "tablist",
  652. "tabpanel",
  653. "term",
  654. "textbox",
  655. "timer",
  656. "toolbar",
  657. "tooltip",
  658. "tree",
  659. "treegrid",
  660. "treeitem",
  661. ]
  662. ]
  663. | None = None,
  664. slot: Var[str] | str | None = None,
  665. spell_check: Var[bool] | bool | None = None,
  666. tab_index: Var[int] | int | None = None,
  667. title: Var[str] | str | None = None,
  668. style: Style | None = None,
  669. key: Any | None = None,
  670. id: Any | None = None,
  671. class_name: Any | None = None,
  672. autofocus: bool | None = None,
  673. custom_attrs: dict[str, Var | Any] | None = None,
  674. on_blur: Optional[EventType[()]] = None,
  675. on_click: Optional[EventType[()]] = None,
  676. on_context_menu: Optional[EventType[()]] = None,
  677. on_double_click: Optional[EventType[()]] = None,
  678. on_focus: Optional[EventType[()]] = None,
  679. on_mount: Optional[EventType[()]] = None,
  680. on_mouse_down: Optional[EventType[()]] = None,
  681. on_mouse_enter: Optional[EventType[()]] = None,
  682. on_mouse_leave: Optional[EventType[()]] = None,
  683. on_mouse_move: Optional[EventType[()]] = None,
  684. on_mouse_out: Optional[EventType[()]] = None,
  685. on_mouse_over: Optional[EventType[()]] = None,
  686. on_mouse_up: Optional[EventType[()]] = None,
  687. on_scroll: Optional[EventType[()]] = None,
  688. on_unmount: Optional[EventType[()]] = None,
  689. **props,
  690. ) -> "Article":
  691. """Create the component.
  692. Args:
  693. *children: The children of the component.
  694. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  695. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  696. content_editable: Indicates whether the element's content is editable.
  697. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  698. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  699. draggable: Defines whether the element can be dragged.
  700. enter_key_hint: Hints what media types the media element is able to play.
  701. hidden: Defines whether the element is hidden.
  702. input_mode: Defines the type of the element.
  703. item_prop: Defines the name of the element for metadata purposes.
  704. lang: Defines the language used in the element.
  705. role: Defines the role of the element.
  706. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  707. spell_check: Defines whether the element may be checked for spelling errors.
  708. tab_index: Defines the position of the current element in the tabbing order.
  709. title: Defines a tooltip for the element.
  710. style: The style of the component.
  711. key: A unique key for the component.
  712. id: The id for the component.
  713. class_name: The class name for the component.
  714. autofocus: Whether the component should take the focus once the page is loaded
  715. custom_attrs: custom attribute
  716. **props: The props of the component.
  717. Returns:
  718. The component.
  719. """
  720. ...
  721. class Aside(BaseHTML):
  722. @overload
  723. @classmethod
  724. def create( # type: ignore
  725. cls,
  726. *children,
  727. access_key: Var[str] | str | None = None,
  728. auto_capitalize: Literal[
  729. "characters", "none", "off", "on", "sentences", "words"
  730. ]
  731. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  732. | None = None,
  733. content_editable: Literal["inherit", "plaintext-only", False, True]
  734. | Var[Literal["inherit", "plaintext-only", False, True]]
  735. | None = None,
  736. context_menu: Var[str] | str | None = None,
  737. dir: Var[str] | str | None = None,
  738. draggable: Var[bool] | bool | None = None,
  739. enter_key_hint: Literal[
  740. "done", "enter", "go", "next", "previous", "search", "send"
  741. ]
  742. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  743. | None = None,
  744. hidden: Var[bool] | bool | None = None,
  745. input_mode: Literal[
  746. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  747. ]
  748. | Var[
  749. Literal[
  750. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  751. ]
  752. ]
  753. | None = None,
  754. item_prop: Var[str] | str | None = None,
  755. lang: Var[str] | str | None = None,
  756. role: Literal[
  757. "alert",
  758. "alertdialog",
  759. "application",
  760. "article",
  761. "banner",
  762. "button",
  763. "cell",
  764. "checkbox",
  765. "columnheader",
  766. "combobox",
  767. "complementary",
  768. "contentinfo",
  769. "definition",
  770. "dialog",
  771. "directory",
  772. "document",
  773. "feed",
  774. "figure",
  775. "form",
  776. "grid",
  777. "gridcell",
  778. "group",
  779. "heading",
  780. "img",
  781. "link",
  782. "list",
  783. "listbox",
  784. "listitem",
  785. "log",
  786. "main",
  787. "marquee",
  788. "math",
  789. "menu",
  790. "menubar",
  791. "menuitem",
  792. "menuitemcheckbox",
  793. "menuitemradio",
  794. "navigation",
  795. "none",
  796. "note",
  797. "option",
  798. "presentation",
  799. "progressbar",
  800. "radio",
  801. "radiogroup",
  802. "region",
  803. "row",
  804. "rowgroup",
  805. "rowheader",
  806. "scrollbar",
  807. "search",
  808. "searchbox",
  809. "separator",
  810. "slider",
  811. "spinbutton",
  812. "status",
  813. "switch",
  814. "tab",
  815. "table",
  816. "tablist",
  817. "tabpanel",
  818. "term",
  819. "textbox",
  820. "timer",
  821. "toolbar",
  822. "tooltip",
  823. "tree",
  824. "treegrid",
  825. "treeitem",
  826. ]
  827. | Var[
  828. Literal[
  829. "alert",
  830. "alertdialog",
  831. "application",
  832. "article",
  833. "banner",
  834. "button",
  835. "cell",
  836. "checkbox",
  837. "columnheader",
  838. "combobox",
  839. "complementary",
  840. "contentinfo",
  841. "definition",
  842. "dialog",
  843. "directory",
  844. "document",
  845. "feed",
  846. "figure",
  847. "form",
  848. "grid",
  849. "gridcell",
  850. "group",
  851. "heading",
  852. "img",
  853. "link",
  854. "list",
  855. "listbox",
  856. "listitem",
  857. "log",
  858. "main",
  859. "marquee",
  860. "math",
  861. "menu",
  862. "menubar",
  863. "menuitem",
  864. "menuitemcheckbox",
  865. "menuitemradio",
  866. "navigation",
  867. "none",
  868. "note",
  869. "option",
  870. "presentation",
  871. "progressbar",
  872. "radio",
  873. "radiogroup",
  874. "region",
  875. "row",
  876. "rowgroup",
  877. "rowheader",
  878. "scrollbar",
  879. "search",
  880. "searchbox",
  881. "separator",
  882. "slider",
  883. "spinbutton",
  884. "status",
  885. "switch",
  886. "tab",
  887. "table",
  888. "tablist",
  889. "tabpanel",
  890. "term",
  891. "textbox",
  892. "timer",
  893. "toolbar",
  894. "tooltip",
  895. "tree",
  896. "treegrid",
  897. "treeitem",
  898. ]
  899. ]
  900. | None = None,
  901. slot: Var[str] | str | None = None,
  902. spell_check: Var[bool] | bool | None = None,
  903. tab_index: Var[int] | int | None = None,
  904. title: Var[str] | str | None = None,
  905. style: Style | None = None,
  906. key: Any | None = None,
  907. id: Any | None = None,
  908. class_name: Any | None = None,
  909. autofocus: bool | None = None,
  910. custom_attrs: dict[str, Var | Any] | None = None,
  911. on_blur: Optional[EventType[()]] = None,
  912. on_click: Optional[EventType[()]] = None,
  913. on_context_menu: Optional[EventType[()]] = None,
  914. on_double_click: Optional[EventType[()]] = None,
  915. on_focus: Optional[EventType[()]] = None,
  916. on_mount: Optional[EventType[()]] = None,
  917. on_mouse_down: Optional[EventType[()]] = None,
  918. on_mouse_enter: Optional[EventType[()]] = None,
  919. on_mouse_leave: Optional[EventType[()]] = None,
  920. on_mouse_move: Optional[EventType[()]] = None,
  921. on_mouse_out: Optional[EventType[()]] = None,
  922. on_mouse_over: Optional[EventType[()]] = None,
  923. on_mouse_up: Optional[EventType[()]] = None,
  924. on_scroll: Optional[EventType[()]] = None,
  925. on_unmount: Optional[EventType[()]] = None,
  926. **props,
  927. ) -> "Aside":
  928. """Create the component.
  929. Args:
  930. *children: The children of the component.
  931. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  932. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  933. content_editable: Indicates whether the element's content is editable.
  934. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  935. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  936. draggable: Defines whether the element can be dragged.
  937. enter_key_hint: Hints what media types the media element is able to play.
  938. hidden: Defines whether the element is hidden.
  939. input_mode: Defines the type of the element.
  940. item_prop: Defines the name of the element for metadata purposes.
  941. lang: Defines the language used in the element.
  942. role: Defines the role of the element.
  943. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  944. spell_check: Defines whether the element may be checked for spelling errors.
  945. tab_index: Defines the position of the current element in the tabbing order.
  946. title: Defines a tooltip for the element.
  947. style: The style of the component.
  948. key: A unique key for the component.
  949. id: The id for the component.
  950. class_name: The class name for the component.
  951. autofocus: Whether the component should take the focus once the page is loaded
  952. custom_attrs: custom attribute
  953. **props: The props of the component.
  954. Returns:
  955. The component.
  956. """
  957. ...
  958. class Footer(BaseHTML):
  959. @overload
  960. @classmethod
  961. def create( # type: ignore
  962. cls,
  963. *children,
  964. access_key: Var[str] | str | None = None,
  965. auto_capitalize: Literal[
  966. "characters", "none", "off", "on", "sentences", "words"
  967. ]
  968. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  969. | None = None,
  970. content_editable: Literal["inherit", "plaintext-only", False, True]
  971. | Var[Literal["inherit", "plaintext-only", False, True]]
  972. | None = None,
  973. context_menu: Var[str] | str | None = None,
  974. dir: Var[str] | str | None = None,
  975. draggable: Var[bool] | bool | None = None,
  976. enter_key_hint: Literal[
  977. "done", "enter", "go", "next", "previous", "search", "send"
  978. ]
  979. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  980. | None = None,
  981. hidden: Var[bool] | bool | None = None,
  982. input_mode: Literal[
  983. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  984. ]
  985. | Var[
  986. Literal[
  987. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  988. ]
  989. ]
  990. | None = None,
  991. item_prop: Var[str] | str | None = None,
  992. lang: Var[str] | str | None = None,
  993. role: Literal[
  994. "alert",
  995. "alertdialog",
  996. "application",
  997. "article",
  998. "banner",
  999. "button",
  1000. "cell",
  1001. "checkbox",
  1002. "columnheader",
  1003. "combobox",
  1004. "complementary",
  1005. "contentinfo",
  1006. "definition",
  1007. "dialog",
  1008. "directory",
  1009. "document",
  1010. "feed",
  1011. "figure",
  1012. "form",
  1013. "grid",
  1014. "gridcell",
  1015. "group",
  1016. "heading",
  1017. "img",
  1018. "link",
  1019. "list",
  1020. "listbox",
  1021. "listitem",
  1022. "log",
  1023. "main",
  1024. "marquee",
  1025. "math",
  1026. "menu",
  1027. "menubar",
  1028. "menuitem",
  1029. "menuitemcheckbox",
  1030. "menuitemradio",
  1031. "navigation",
  1032. "none",
  1033. "note",
  1034. "option",
  1035. "presentation",
  1036. "progressbar",
  1037. "radio",
  1038. "radiogroup",
  1039. "region",
  1040. "row",
  1041. "rowgroup",
  1042. "rowheader",
  1043. "scrollbar",
  1044. "search",
  1045. "searchbox",
  1046. "separator",
  1047. "slider",
  1048. "spinbutton",
  1049. "status",
  1050. "switch",
  1051. "tab",
  1052. "table",
  1053. "tablist",
  1054. "tabpanel",
  1055. "term",
  1056. "textbox",
  1057. "timer",
  1058. "toolbar",
  1059. "tooltip",
  1060. "tree",
  1061. "treegrid",
  1062. "treeitem",
  1063. ]
  1064. | Var[
  1065. Literal[
  1066. "alert",
  1067. "alertdialog",
  1068. "application",
  1069. "article",
  1070. "banner",
  1071. "button",
  1072. "cell",
  1073. "checkbox",
  1074. "columnheader",
  1075. "combobox",
  1076. "complementary",
  1077. "contentinfo",
  1078. "definition",
  1079. "dialog",
  1080. "directory",
  1081. "document",
  1082. "feed",
  1083. "figure",
  1084. "form",
  1085. "grid",
  1086. "gridcell",
  1087. "group",
  1088. "heading",
  1089. "img",
  1090. "link",
  1091. "list",
  1092. "listbox",
  1093. "listitem",
  1094. "log",
  1095. "main",
  1096. "marquee",
  1097. "math",
  1098. "menu",
  1099. "menubar",
  1100. "menuitem",
  1101. "menuitemcheckbox",
  1102. "menuitemradio",
  1103. "navigation",
  1104. "none",
  1105. "note",
  1106. "option",
  1107. "presentation",
  1108. "progressbar",
  1109. "radio",
  1110. "radiogroup",
  1111. "region",
  1112. "row",
  1113. "rowgroup",
  1114. "rowheader",
  1115. "scrollbar",
  1116. "search",
  1117. "searchbox",
  1118. "separator",
  1119. "slider",
  1120. "spinbutton",
  1121. "status",
  1122. "switch",
  1123. "tab",
  1124. "table",
  1125. "tablist",
  1126. "tabpanel",
  1127. "term",
  1128. "textbox",
  1129. "timer",
  1130. "toolbar",
  1131. "tooltip",
  1132. "tree",
  1133. "treegrid",
  1134. "treeitem",
  1135. ]
  1136. ]
  1137. | None = None,
  1138. slot: Var[str] | str | None = None,
  1139. spell_check: Var[bool] | bool | None = None,
  1140. tab_index: Var[int] | int | None = None,
  1141. title: Var[str] | str | None = None,
  1142. style: Style | None = None,
  1143. key: Any | None = None,
  1144. id: Any | None = None,
  1145. class_name: Any | None = None,
  1146. autofocus: bool | None = None,
  1147. custom_attrs: dict[str, Var | Any] | None = None,
  1148. on_blur: Optional[EventType[()]] = None,
  1149. on_click: Optional[EventType[()]] = None,
  1150. on_context_menu: Optional[EventType[()]] = None,
  1151. on_double_click: Optional[EventType[()]] = None,
  1152. on_focus: Optional[EventType[()]] = None,
  1153. on_mount: Optional[EventType[()]] = None,
  1154. on_mouse_down: Optional[EventType[()]] = None,
  1155. on_mouse_enter: Optional[EventType[()]] = None,
  1156. on_mouse_leave: Optional[EventType[()]] = None,
  1157. on_mouse_move: Optional[EventType[()]] = None,
  1158. on_mouse_out: Optional[EventType[()]] = None,
  1159. on_mouse_over: Optional[EventType[()]] = None,
  1160. on_mouse_up: Optional[EventType[()]] = None,
  1161. on_scroll: Optional[EventType[()]] = None,
  1162. on_unmount: Optional[EventType[()]] = None,
  1163. **props,
  1164. ) -> "Footer":
  1165. """Create the component.
  1166. Args:
  1167. *children: The children of the component.
  1168. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1169. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1170. content_editable: Indicates whether the element's content is editable.
  1171. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1172. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1173. draggable: Defines whether the element can be dragged.
  1174. enter_key_hint: Hints what media types the media element is able to play.
  1175. hidden: Defines whether the element is hidden.
  1176. input_mode: Defines the type of the element.
  1177. item_prop: Defines the name of the element for metadata purposes.
  1178. lang: Defines the language used in the element.
  1179. role: Defines the role of the element.
  1180. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1181. spell_check: Defines whether the element may be checked for spelling errors.
  1182. tab_index: Defines the position of the current element in the tabbing order.
  1183. title: Defines a tooltip for the element.
  1184. style: The style of the component.
  1185. key: A unique key for the component.
  1186. id: The id for the component.
  1187. class_name: The class name for the component.
  1188. autofocus: Whether the component should take the focus once the page is loaded
  1189. custom_attrs: custom attribute
  1190. **props: The props of the component.
  1191. Returns:
  1192. The component.
  1193. """
  1194. ...
  1195. class Header(BaseHTML):
  1196. @overload
  1197. @classmethod
  1198. def create( # type: ignore
  1199. cls,
  1200. *children,
  1201. access_key: Var[str] | str | None = None,
  1202. auto_capitalize: Literal[
  1203. "characters", "none", "off", "on", "sentences", "words"
  1204. ]
  1205. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1206. | None = None,
  1207. content_editable: Literal["inherit", "plaintext-only", False, True]
  1208. | Var[Literal["inherit", "plaintext-only", False, True]]
  1209. | None = None,
  1210. context_menu: Var[str] | str | None = None,
  1211. dir: Var[str] | str | None = None,
  1212. draggable: Var[bool] | bool | None = None,
  1213. enter_key_hint: Literal[
  1214. "done", "enter", "go", "next", "previous", "search", "send"
  1215. ]
  1216. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1217. | None = None,
  1218. hidden: Var[bool] | bool | None = None,
  1219. input_mode: Literal[
  1220. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1221. ]
  1222. | Var[
  1223. Literal[
  1224. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1225. ]
  1226. ]
  1227. | None = None,
  1228. item_prop: Var[str] | str | None = None,
  1229. lang: Var[str] | str | None = None,
  1230. role: Literal[
  1231. "alert",
  1232. "alertdialog",
  1233. "application",
  1234. "article",
  1235. "banner",
  1236. "button",
  1237. "cell",
  1238. "checkbox",
  1239. "columnheader",
  1240. "combobox",
  1241. "complementary",
  1242. "contentinfo",
  1243. "definition",
  1244. "dialog",
  1245. "directory",
  1246. "document",
  1247. "feed",
  1248. "figure",
  1249. "form",
  1250. "grid",
  1251. "gridcell",
  1252. "group",
  1253. "heading",
  1254. "img",
  1255. "link",
  1256. "list",
  1257. "listbox",
  1258. "listitem",
  1259. "log",
  1260. "main",
  1261. "marquee",
  1262. "math",
  1263. "menu",
  1264. "menubar",
  1265. "menuitem",
  1266. "menuitemcheckbox",
  1267. "menuitemradio",
  1268. "navigation",
  1269. "none",
  1270. "note",
  1271. "option",
  1272. "presentation",
  1273. "progressbar",
  1274. "radio",
  1275. "radiogroup",
  1276. "region",
  1277. "row",
  1278. "rowgroup",
  1279. "rowheader",
  1280. "scrollbar",
  1281. "search",
  1282. "searchbox",
  1283. "separator",
  1284. "slider",
  1285. "spinbutton",
  1286. "status",
  1287. "switch",
  1288. "tab",
  1289. "table",
  1290. "tablist",
  1291. "tabpanel",
  1292. "term",
  1293. "textbox",
  1294. "timer",
  1295. "toolbar",
  1296. "tooltip",
  1297. "tree",
  1298. "treegrid",
  1299. "treeitem",
  1300. ]
  1301. | Var[
  1302. Literal[
  1303. "alert",
  1304. "alertdialog",
  1305. "application",
  1306. "article",
  1307. "banner",
  1308. "button",
  1309. "cell",
  1310. "checkbox",
  1311. "columnheader",
  1312. "combobox",
  1313. "complementary",
  1314. "contentinfo",
  1315. "definition",
  1316. "dialog",
  1317. "directory",
  1318. "document",
  1319. "feed",
  1320. "figure",
  1321. "form",
  1322. "grid",
  1323. "gridcell",
  1324. "group",
  1325. "heading",
  1326. "img",
  1327. "link",
  1328. "list",
  1329. "listbox",
  1330. "listitem",
  1331. "log",
  1332. "main",
  1333. "marquee",
  1334. "math",
  1335. "menu",
  1336. "menubar",
  1337. "menuitem",
  1338. "menuitemcheckbox",
  1339. "menuitemradio",
  1340. "navigation",
  1341. "none",
  1342. "note",
  1343. "option",
  1344. "presentation",
  1345. "progressbar",
  1346. "radio",
  1347. "radiogroup",
  1348. "region",
  1349. "row",
  1350. "rowgroup",
  1351. "rowheader",
  1352. "scrollbar",
  1353. "search",
  1354. "searchbox",
  1355. "separator",
  1356. "slider",
  1357. "spinbutton",
  1358. "status",
  1359. "switch",
  1360. "tab",
  1361. "table",
  1362. "tablist",
  1363. "tabpanel",
  1364. "term",
  1365. "textbox",
  1366. "timer",
  1367. "toolbar",
  1368. "tooltip",
  1369. "tree",
  1370. "treegrid",
  1371. "treeitem",
  1372. ]
  1373. ]
  1374. | None = None,
  1375. slot: Var[str] | str | None = None,
  1376. spell_check: Var[bool] | bool | None = None,
  1377. tab_index: Var[int] | int | None = None,
  1378. title: Var[str] | str | None = None,
  1379. style: Style | None = None,
  1380. key: Any | None = None,
  1381. id: Any | None = None,
  1382. class_name: Any | None = None,
  1383. autofocus: bool | None = None,
  1384. custom_attrs: dict[str, Var | Any] | None = None,
  1385. on_blur: Optional[EventType[()]] = None,
  1386. on_click: Optional[EventType[()]] = None,
  1387. on_context_menu: Optional[EventType[()]] = None,
  1388. on_double_click: Optional[EventType[()]] = None,
  1389. on_focus: Optional[EventType[()]] = None,
  1390. on_mount: Optional[EventType[()]] = None,
  1391. on_mouse_down: Optional[EventType[()]] = None,
  1392. on_mouse_enter: Optional[EventType[()]] = None,
  1393. on_mouse_leave: Optional[EventType[()]] = None,
  1394. on_mouse_move: Optional[EventType[()]] = None,
  1395. on_mouse_out: Optional[EventType[()]] = None,
  1396. on_mouse_over: Optional[EventType[()]] = None,
  1397. on_mouse_up: Optional[EventType[()]] = None,
  1398. on_scroll: Optional[EventType[()]] = None,
  1399. on_unmount: Optional[EventType[()]] = None,
  1400. **props,
  1401. ) -> "Header":
  1402. """Create the component.
  1403. Args:
  1404. *children: The children of the component.
  1405. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1406. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1407. content_editable: Indicates whether the element's content is editable.
  1408. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1409. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1410. draggable: Defines whether the element can be dragged.
  1411. enter_key_hint: Hints what media types the media element is able to play.
  1412. hidden: Defines whether the element is hidden.
  1413. input_mode: Defines the type of the element.
  1414. item_prop: Defines the name of the element for metadata purposes.
  1415. lang: Defines the language used in the element.
  1416. role: Defines the role of the element.
  1417. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1418. spell_check: Defines whether the element may be checked for spelling errors.
  1419. tab_index: Defines the position of the current element in the tabbing order.
  1420. title: Defines a tooltip for the element.
  1421. style: The style of the component.
  1422. key: A unique key for the component.
  1423. id: The id for the component.
  1424. class_name: The class name for the component.
  1425. autofocus: Whether the component should take the focus once the page is loaded
  1426. custom_attrs: custom attribute
  1427. **props: The props of the component.
  1428. Returns:
  1429. The component.
  1430. """
  1431. ...
  1432. class H1(BaseHTML):
  1433. @overload
  1434. @classmethod
  1435. def create( # type: ignore
  1436. cls,
  1437. *children,
  1438. access_key: Var[str] | str | None = None,
  1439. auto_capitalize: Literal[
  1440. "characters", "none", "off", "on", "sentences", "words"
  1441. ]
  1442. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1443. | None = None,
  1444. content_editable: Literal["inherit", "plaintext-only", False, True]
  1445. | Var[Literal["inherit", "plaintext-only", False, True]]
  1446. | None = None,
  1447. context_menu: Var[str] | str | None = None,
  1448. dir: Var[str] | str | None = None,
  1449. draggable: Var[bool] | bool | None = None,
  1450. enter_key_hint: Literal[
  1451. "done", "enter", "go", "next", "previous", "search", "send"
  1452. ]
  1453. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1454. | None = None,
  1455. hidden: Var[bool] | bool | None = None,
  1456. input_mode: Literal[
  1457. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1458. ]
  1459. | Var[
  1460. Literal[
  1461. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1462. ]
  1463. ]
  1464. | None = None,
  1465. item_prop: Var[str] | str | None = None,
  1466. lang: Var[str] | str | None = None,
  1467. role: Literal[
  1468. "alert",
  1469. "alertdialog",
  1470. "application",
  1471. "article",
  1472. "banner",
  1473. "button",
  1474. "cell",
  1475. "checkbox",
  1476. "columnheader",
  1477. "combobox",
  1478. "complementary",
  1479. "contentinfo",
  1480. "definition",
  1481. "dialog",
  1482. "directory",
  1483. "document",
  1484. "feed",
  1485. "figure",
  1486. "form",
  1487. "grid",
  1488. "gridcell",
  1489. "group",
  1490. "heading",
  1491. "img",
  1492. "link",
  1493. "list",
  1494. "listbox",
  1495. "listitem",
  1496. "log",
  1497. "main",
  1498. "marquee",
  1499. "math",
  1500. "menu",
  1501. "menubar",
  1502. "menuitem",
  1503. "menuitemcheckbox",
  1504. "menuitemradio",
  1505. "navigation",
  1506. "none",
  1507. "note",
  1508. "option",
  1509. "presentation",
  1510. "progressbar",
  1511. "radio",
  1512. "radiogroup",
  1513. "region",
  1514. "row",
  1515. "rowgroup",
  1516. "rowheader",
  1517. "scrollbar",
  1518. "search",
  1519. "searchbox",
  1520. "separator",
  1521. "slider",
  1522. "spinbutton",
  1523. "status",
  1524. "switch",
  1525. "tab",
  1526. "table",
  1527. "tablist",
  1528. "tabpanel",
  1529. "term",
  1530. "textbox",
  1531. "timer",
  1532. "toolbar",
  1533. "tooltip",
  1534. "tree",
  1535. "treegrid",
  1536. "treeitem",
  1537. ]
  1538. | Var[
  1539. Literal[
  1540. "alert",
  1541. "alertdialog",
  1542. "application",
  1543. "article",
  1544. "banner",
  1545. "button",
  1546. "cell",
  1547. "checkbox",
  1548. "columnheader",
  1549. "combobox",
  1550. "complementary",
  1551. "contentinfo",
  1552. "definition",
  1553. "dialog",
  1554. "directory",
  1555. "document",
  1556. "feed",
  1557. "figure",
  1558. "form",
  1559. "grid",
  1560. "gridcell",
  1561. "group",
  1562. "heading",
  1563. "img",
  1564. "link",
  1565. "list",
  1566. "listbox",
  1567. "listitem",
  1568. "log",
  1569. "main",
  1570. "marquee",
  1571. "math",
  1572. "menu",
  1573. "menubar",
  1574. "menuitem",
  1575. "menuitemcheckbox",
  1576. "menuitemradio",
  1577. "navigation",
  1578. "none",
  1579. "note",
  1580. "option",
  1581. "presentation",
  1582. "progressbar",
  1583. "radio",
  1584. "radiogroup",
  1585. "region",
  1586. "row",
  1587. "rowgroup",
  1588. "rowheader",
  1589. "scrollbar",
  1590. "search",
  1591. "searchbox",
  1592. "separator",
  1593. "slider",
  1594. "spinbutton",
  1595. "status",
  1596. "switch",
  1597. "tab",
  1598. "table",
  1599. "tablist",
  1600. "tabpanel",
  1601. "term",
  1602. "textbox",
  1603. "timer",
  1604. "toolbar",
  1605. "tooltip",
  1606. "tree",
  1607. "treegrid",
  1608. "treeitem",
  1609. ]
  1610. ]
  1611. | None = None,
  1612. slot: Var[str] | str | None = None,
  1613. spell_check: Var[bool] | bool | None = None,
  1614. tab_index: Var[int] | int | None = None,
  1615. title: Var[str] | str | None = None,
  1616. style: Style | None = None,
  1617. key: Any | None = None,
  1618. id: Any | None = None,
  1619. class_name: Any | None = None,
  1620. autofocus: bool | None = None,
  1621. custom_attrs: dict[str, Var | Any] | None = None,
  1622. on_blur: Optional[EventType[()]] = None,
  1623. on_click: Optional[EventType[()]] = None,
  1624. on_context_menu: Optional[EventType[()]] = None,
  1625. on_double_click: Optional[EventType[()]] = None,
  1626. on_focus: Optional[EventType[()]] = None,
  1627. on_mount: Optional[EventType[()]] = None,
  1628. on_mouse_down: Optional[EventType[()]] = None,
  1629. on_mouse_enter: Optional[EventType[()]] = None,
  1630. on_mouse_leave: Optional[EventType[()]] = None,
  1631. on_mouse_move: Optional[EventType[()]] = None,
  1632. on_mouse_out: Optional[EventType[()]] = None,
  1633. on_mouse_over: Optional[EventType[()]] = None,
  1634. on_mouse_up: Optional[EventType[()]] = None,
  1635. on_scroll: Optional[EventType[()]] = None,
  1636. on_unmount: Optional[EventType[()]] = None,
  1637. **props,
  1638. ) -> "H1":
  1639. """Create the component.
  1640. Args:
  1641. *children: The children of the component.
  1642. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1643. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1644. content_editable: Indicates whether the element's content is editable.
  1645. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1646. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1647. draggable: Defines whether the element can be dragged.
  1648. enter_key_hint: Hints what media types the media element is able to play.
  1649. hidden: Defines whether the element is hidden.
  1650. input_mode: Defines the type of the element.
  1651. item_prop: Defines the name of the element for metadata purposes.
  1652. lang: Defines the language used in the element.
  1653. role: Defines the role of the element.
  1654. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1655. spell_check: Defines whether the element may be checked for spelling errors.
  1656. tab_index: Defines the position of the current element in the tabbing order.
  1657. title: Defines a tooltip for the element.
  1658. style: The style of the component.
  1659. key: A unique key for the component.
  1660. id: The id for the component.
  1661. class_name: The class name for the component.
  1662. autofocus: Whether the component should take the focus once the page is loaded
  1663. custom_attrs: custom attribute
  1664. **props: The props of the component.
  1665. Returns:
  1666. The component.
  1667. """
  1668. ...
  1669. class H2(BaseHTML):
  1670. @overload
  1671. @classmethod
  1672. def create( # type: ignore
  1673. cls,
  1674. *children,
  1675. access_key: Var[str] | str | None = None,
  1676. auto_capitalize: Literal[
  1677. "characters", "none", "off", "on", "sentences", "words"
  1678. ]
  1679. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1680. | None = None,
  1681. content_editable: Literal["inherit", "plaintext-only", False, True]
  1682. | Var[Literal["inherit", "plaintext-only", False, True]]
  1683. | None = None,
  1684. context_menu: Var[str] | str | None = None,
  1685. dir: Var[str] | str | None = None,
  1686. draggable: Var[bool] | bool | None = None,
  1687. enter_key_hint: Literal[
  1688. "done", "enter", "go", "next", "previous", "search", "send"
  1689. ]
  1690. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1691. | None = None,
  1692. hidden: Var[bool] | bool | None = None,
  1693. input_mode: Literal[
  1694. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1695. ]
  1696. | Var[
  1697. Literal[
  1698. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1699. ]
  1700. ]
  1701. | None = None,
  1702. item_prop: Var[str] | str | None = None,
  1703. lang: Var[str] | str | None = None,
  1704. role: Literal[
  1705. "alert",
  1706. "alertdialog",
  1707. "application",
  1708. "article",
  1709. "banner",
  1710. "button",
  1711. "cell",
  1712. "checkbox",
  1713. "columnheader",
  1714. "combobox",
  1715. "complementary",
  1716. "contentinfo",
  1717. "definition",
  1718. "dialog",
  1719. "directory",
  1720. "document",
  1721. "feed",
  1722. "figure",
  1723. "form",
  1724. "grid",
  1725. "gridcell",
  1726. "group",
  1727. "heading",
  1728. "img",
  1729. "link",
  1730. "list",
  1731. "listbox",
  1732. "listitem",
  1733. "log",
  1734. "main",
  1735. "marquee",
  1736. "math",
  1737. "menu",
  1738. "menubar",
  1739. "menuitem",
  1740. "menuitemcheckbox",
  1741. "menuitemradio",
  1742. "navigation",
  1743. "none",
  1744. "note",
  1745. "option",
  1746. "presentation",
  1747. "progressbar",
  1748. "radio",
  1749. "radiogroup",
  1750. "region",
  1751. "row",
  1752. "rowgroup",
  1753. "rowheader",
  1754. "scrollbar",
  1755. "search",
  1756. "searchbox",
  1757. "separator",
  1758. "slider",
  1759. "spinbutton",
  1760. "status",
  1761. "switch",
  1762. "tab",
  1763. "table",
  1764. "tablist",
  1765. "tabpanel",
  1766. "term",
  1767. "textbox",
  1768. "timer",
  1769. "toolbar",
  1770. "tooltip",
  1771. "tree",
  1772. "treegrid",
  1773. "treeitem",
  1774. ]
  1775. | Var[
  1776. Literal[
  1777. "alert",
  1778. "alertdialog",
  1779. "application",
  1780. "article",
  1781. "banner",
  1782. "button",
  1783. "cell",
  1784. "checkbox",
  1785. "columnheader",
  1786. "combobox",
  1787. "complementary",
  1788. "contentinfo",
  1789. "definition",
  1790. "dialog",
  1791. "directory",
  1792. "document",
  1793. "feed",
  1794. "figure",
  1795. "form",
  1796. "grid",
  1797. "gridcell",
  1798. "group",
  1799. "heading",
  1800. "img",
  1801. "link",
  1802. "list",
  1803. "listbox",
  1804. "listitem",
  1805. "log",
  1806. "main",
  1807. "marquee",
  1808. "math",
  1809. "menu",
  1810. "menubar",
  1811. "menuitem",
  1812. "menuitemcheckbox",
  1813. "menuitemradio",
  1814. "navigation",
  1815. "none",
  1816. "note",
  1817. "option",
  1818. "presentation",
  1819. "progressbar",
  1820. "radio",
  1821. "radiogroup",
  1822. "region",
  1823. "row",
  1824. "rowgroup",
  1825. "rowheader",
  1826. "scrollbar",
  1827. "search",
  1828. "searchbox",
  1829. "separator",
  1830. "slider",
  1831. "spinbutton",
  1832. "status",
  1833. "switch",
  1834. "tab",
  1835. "table",
  1836. "tablist",
  1837. "tabpanel",
  1838. "term",
  1839. "textbox",
  1840. "timer",
  1841. "toolbar",
  1842. "tooltip",
  1843. "tree",
  1844. "treegrid",
  1845. "treeitem",
  1846. ]
  1847. ]
  1848. | None = None,
  1849. slot: Var[str] | str | None = None,
  1850. spell_check: Var[bool] | bool | None = None,
  1851. tab_index: Var[int] | int | None = None,
  1852. title: Var[str] | str | None = None,
  1853. style: Style | None = None,
  1854. key: Any | None = None,
  1855. id: Any | None = None,
  1856. class_name: Any | None = None,
  1857. autofocus: bool | None = None,
  1858. custom_attrs: dict[str, Var | Any] | None = None,
  1859. on_blur: Optional[EventType[()]] = None,
  1860. on_click: Optional[EventType[()]] = None,
  1861. on_context_menu: Optional[EventType[()]] = None,
  1862. on_double_click: Optional[EventType[()]] = None,
  1863. on_focus: Optional[EventType[()]] = None,
  1864. on_mount: Optional[EventType[()]] = None,
  1865. on_mouse_down: Optional[EventType[()]] = None,
  1866. on_mouse_enter: Optional[EventType[()]] = None,
  1867. on_mouse_leave: Optional[EventType[()]] = None,
  1868. on_mouse_move: Optional[EventType[()]] = None,
  1869. on_mouse_out: Optional[EventType[()]] = None,
  1870. on_mouse_over: Optional[EventType[()]] = None,
  1871. on_mouse_up: Optional[EventType[()]] = None,
  1872. on_scroll: Optional[EventType[()]] = None,
  1873. on_unmount: Optional[EventType[()]] = None,
  1874. **props,
  1875. ) -> "H2":
  1876. """Create the component.
  1877. Args:
  1878. *children: The children of the component.
  1879. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1880. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1881. content_editable: Indicates whether the element's content is editable.
  1882. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1883. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1884. draggable: Defines whether the element can be dragged.
  1885. enter_key_hint: Hints what media types the media element is able to play.
  1886. hidden: Defines whether the element is hidden.
  1887. input_mode: Defines the type of the element.
  1888. item_prop: Defines the name of the element for metadata purposes.
  1889. lang: Defines the language used in the element.
  1890. role: Defines the role of the element.
  1891. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1892. spell_check: Defines whether the element may be checked for spelling errors.
  1893. tab_index: Defines the position of the current element in the tabbing order.
  1894. title: Defines a tooltip for the element.
  1895. style: The style of the component.
  1896. key: A unique key for the component.
  1897. id: The id for the component.
  1898. class_name: The class name for the component.
  1899. autofocus: Whether the component should take the focus once the page is loaded
  1900. custom_attrs: custom attribute
  1901. **props: The props of the component.
  1902. Returns:
  1903. The component.
  1904. """
  1905. ...
  1906. class H3(BaseHTML):
  1907. @overload
  1908. @classmethod
  1909. def create( # type: ignore
  1910. cls,
  1911. *children,
  1912. access_key: Var[str] | str | None = None,
  1913. auto_capitalize: Literal[
  1914. "characters", "none", "off", "on", "sentences", "words"
  1915. ]
  1916. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1917. | None = None,
  1918. content_editable: Literal["inherit", "plaintext-only", False, True]
  1919. | Var[Literal["inherit", "plaintext-only", False, True]]
  1920. | None = None,
  1921. context_menu: Var[str] | str | None = None,
  1922. dir: Var[str] | str | None = None,
  1923. draggable: Var[bool] | bool | None = None,
  1924. enter_key_hint: Literal[
  1925. "done", "enter", "go", "next", "previous", "search", "send"
  1926. ]
  1927. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1928. | None = None,
  1929. hidden: Var[bool] | bool | None = None,
  1930. input_mode: Literal[
  1931. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1932. ]
  1933. | Var[
  1934. Literal[
  1935. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1936. ]
  1937. ]
  1938. | None = None,
  1939. item_prop: Var[str] | str | None = None,
  1940. lang: Var[str] | str | None = None,
  1941. role: Literal[
  1942. "alert",
  1943. "alertdialog",
  1944. "application",
  1945. "article",
  1946. "banner",
  1947. "button",
  1948. "cell",
  1949. "checkbox",
  1950. "columnheader",
  1951. "combobox",
  1952. "complementary",
  1953. "contentinfo",
  1954. "definition",
  1955. "dialog",
  1956. "directory",
  1957. "document",
  1958. "feed",
  1959. "figure",
  1960. "form",
  1961. "grid",
  1962. "gridcell",
  1963. "group",
  1964. "heading",
  1965. "img",
  1966. "link",
  1967. "list",
  1968. "listbox",
  1969. "listitem",
  1970. "log",
  1971. "main",
  1972. "marquee",
  1973. "math",
  1974. "menu",
  1975. "menubar",
  1976. "menuitem",
  1977. "menuitemcheckbox",
  1978. "menuitemradio",
  1979. "navigation",
  1980. "none",
  1981. "note",
  1982. "option",
  1983. "presentation",
  1984. "progressbar",
  1985. "radio",
  1986. "radiogroup",
  1987. "region",
  1988. "row",
  1989. "rowgroup",
  1990. "rowheader",
  1991. "scrollbar",
  1992. "search",
  1993. "searchbox",
  1994. "separator",
  1995. "slider",
  1996. "spinbutton",
  1997. "status",
  1998. "switch",
  1999. "tab",
  2000. "table",
  2001. "tablist",
  2002. "tabpanel",
  2003. "term",
  2004. "textbox",
  2005. "timer",
  2006. "toolbar",
  2007. "tooltip",
  2008. "tree",
  2009. "treegrid",
  2010. "treeitem",
  2011. ]
  2012. | Var[
  2013. Literal[
  2014. "alert",
  2015. "alertdialog",
  2016. "application",
  2017. "article",
  2018. "banner",
  2019. "button",
  2020. "cell",
  2021. "checkbox",
  2022. "columnheader",
  2023. "combobox",
  2024. "complementary",
  2025. "contentinfo",
  2026. "definition",
  2027. "dialog",
  2028. "directory",
  2029. "document",
  2030. "feed",
  2031. "figure",
  2032. "form",
  2033. "grid",
  2034. "gridcell",
  2035. "group",
  2036. "heading",
  2037. "img",
  2038. "link",
  2039. "list",
  2040. "listbox",
  2041. "listitem",
  2042. "log",
  2043. "main",
  2044. "marquee",
  2045. "math",
  2046. "menu",
  2047. "menubar",
  2048. "menuitem",
  2049. "menuitemcheckbox",
  2050. "menuitemradio",
  2051. "navigation",
  2052. "none",
  2053. "note",
  2054. "option",
  2055. "presentation",
  2056. "progressbar",
  2057. "radio",
  2058. "radiogroup",
  2059. "region",
  2060. "row",
  2061. "rowgroup",
  2062. "rowheader",
  2063. "scrollbar",
  2064. "search",
  2065. "searchbox",
  2066. "separator",
  2067. "slider",
  2068. "spinbutton",
  2069. "status",
  2070. "switch",
  2071. "tab",
  2072. "table",
  2073. "tablist",
  2074. "tabpanel",
  2075. "term",
  2076. "textbox",
  2077. "timer",
  2078. "toolbar",
  2079. "tooltip",
  2080. "tree",
  2081. "treegrid",
  2082. "treeitem",
  2083. ]
  2084. ]
  2085. | None = None,
  2086. slot: Var[str] | str | None = None,
  2087. spell_check: Var[bool] | bool | None = None,
  2088. tab_index: Var[int] | int | None = None,
  2089. title: Var[str] | str | None = None,
  2090. style: Style | None = None,
  2091. key: Any | None = None,
  2092. id: Any | None = None,
  2093. class_name: Any | None = None,
  2094. autofocus: bool | None = None,
  2095. custom_attrs: dict[str, Var | Any] | None = None,
  2096. on_blur: Optional[EventType[()]] = None,
  2097. on_click: Optional[EventType[()]] = None,
  2098. on_context_menu: Optional[EventType[()]] = None,
  2099. on_double_click: Optional[EventType[()]] = None,
  2100. on_focus: Optional[EventType[()]] = None,
  2101. on_mount: Optional[EventType[()]] = None,
  2102. on_mouse_down: Optional[EventType[()]] = None,
  2103. on_mouse_enter: Optional[EventType[()]] = None,
  2104. on_mouse_leave: Optional[EventType[()]] = None,
  2105. on_mouse_move: Optional[EventType[()]] = None,
  2106. on_mouse_out: Optional[EventType[()]] = None,
  2107. on_mouse_over: Optional[EventType[()]] = None,
  2108. on_mouse_up: Optional[EventType[()]] = None,
  2109. on_scroll: Optional[EventType[()]] = None,
  2110. on_unmount: Optional[EventType[()]] = None,
  2111. **props,
  2112. ) -> "H3":
  2113. """Create the component.
  2114. Args:
  2115. *children: The children of the component.
  2116. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2117. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2118. content_editable: Indicates whether the element's content is editable.
  2119. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2120. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2121. draggable: Defines whether the element can be dragged.
  2122. enter_key_hint: Hints what media types the media element is able to play.
  2123. hidden: Defines whether the element is hidden.
  2124. input_mode: Defines the type of the element.
  2125. item_prop: Defines the name of the element for metadata purposes.
  2126. lang: Defines the language used in the element.
  2127. role: Defines the role of the element.
  2128. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2129. spell_check: Defines whether the element may be checked for spelling errors.
  2130. tab_index: Defines the position of the current element in the tabbing order.
  2131. title: Defines a tooltip for the element.
  2132. style: The style of the component.
  2133. key: A unique key for the component.
  2134. id: The id for the component.
  2135. class_name: The class name for the component.
  2136. autofocus: Whether the component should take the focus once the page is loaded
  2137. custom_attrs: custom attribute
  2138. **props: The props of the component.
  2139. Returns:
  2140. The component.
  2141. """
  2142. ...
  2143. class H4(BaseHTML):
  2144. @overload
  2145. @classmethod
  2146. def create( # type: ignore
  2147. cls,
  2148. *children,
  2149. access_key: Var[str] | str | None = None,
  2150. auto_capitalize: Literal[
  2151. "characters", "none", "off", "on", "sentences", "words"
  2152. ]
  2153. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2154. | None = None,
  2155. content_editable: Literal["inherit", "plaintext-only", False, True]
  2156. | Var[Literal["inherit", "plaintext-only", False, True]]
  2157. | None = None,
  2158. context_menu: Var[str] | str | None = None,
  2159. dir: Var[str] | str | None = None,
  2160. draggable: Var[bool] | bool | None = None,
  2161. enter_key_hint: Literal[
  2162. "done", "enter", "go", "next", "previous", "search", "send"
  2163. ]
  2164. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2165. | None = None,
  2166. hidden: Var[bool] | bool | None = None,
  2167. input_mode: Literal[
  2168. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2169. ]
  2170. | Var[
  2171. Literal[
  2172. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2173. ]
  2174. ]
  2175. | None = None,
  2176. item_prop: Var[str] | str | None = None,
  2177. lang: Var[str] | str | None = None,
  2178. role: Literal[
  2179. "alert",
  2180. "alertdialog",
  2181. "application",
  2182. "article",
  2183. "banner",
  2184. "button",
  2185. "cell",
  2186. "checkbox",
  2187. "columnheader",
  2188. "combobox",
  2189. "complementary",
  2190. "contentinfo",
  2191. "definition",
  2192. "dialog",
  2193. "directory",
  2194. "document",
  2195. "feed",
  2196. "figure",
  2197. "form",
  2198. "grid",
  2199. "gridcell",
  2200. "group",
  2201. "heading",
  2202. "img",
  2203. "link",
  2204. "list",
  2205. "listbox",
  2206. "listitem",
  2207. "log",
  2208. "main",
  2209. "marquee",
  2210. "math",
  2211. "menu",
  2212. "menubar",
  2213. "menuitem",
  2214. "menuitemcheckbox",
  2215. "menuitemradio",
  2216. "navigation",
  2217. "none",
  2218. "note",
  2219. "option",
  2220. "presentation",
  2221. "progressbar",
  2222. "radio",
  2223. "radiogroup",
  2224. "region",
  2225. "row",
  2226. "rowgroup",
  2227. "rowheader",
  2228. "scrollbar",
  2229. "search",
  2230. "searchbox",
  2231. "separator",
  2232. "slider",
  2233. "spinbutton",
  2234. "status",
  2235. "switch",
  2236. "tab",
  2237. "table",
  2238. "tablist",
  2239. "tabpanel",
  2240. "term",
  2241. "textbox",
  2242. "timer",
  2243. "toolbar",
  2244. "tooltip",
  2245. "tree",
  2246. "treegrid",
  2247. "treeitem",
  2248. ]
  2249. | Var[
  2250. Literal[
  2251. "alert",
  2252. "alertdialog",
  2253. "application",
  2254. "article",
  2255. "banner",
  2256. "button",
  2257. "cell",
  2258. "checkbox",
  2259. "columnheader",
  2260. "combobox",
  2261. "complementary",
  2262. "contentinfo",
  2263. "definition",
  2264. "dialog",
  2265. "directory",
  2266. "document",
  2267. "feed",
  2268. "figure",
  2269. "form",
  2270. "grid",
  2271. "gridcell",
  2272. "group",
  2273. "heading",
  2274. "img",
  2275. "link",
  2276. "list",
  2277. "listbox",
  2278. "listitem",
  2279. "log",
  2280. "main",
  2281. "marquee",
  2282. "math",
  2283. "menu",
  2284. "menubar",
  2285. "menuitem",
  2286. "menuitemcheckbox",
  2287. "menuitemradio",
  2288. "navigation",
  2289. "none",
  2290. "note",
  2291. "option",
  2292. "presentation",
  2293. "progressbar",
  2294. "radio",
  2295. "radiogroup",
  2296. "region",
  2297. "row",
  2298. "rowgroup",
  2299. "rowheader",
  2300. "scrollbar",
  2301. "search",
  2302. "searchbox",
  2303. "separator",
  2304. "slider",
  2305. "spinbutton",
  2306. "status",
  2307. "switch",
  2308. "tab",
  2309. "table",
  2310. "tablist",
  2311. "tabpanel",
  2312. "term",
  2313. "textbox",
  2314. "timer",
  2315. "toolbar",
  2316. "tooltip",
  2317. "tree",
  2318. "treegrid",
  2319. "treeitem",
  2320. ]
  2321. ]
  2322. | None = None,
  2323. slot: Var[str] | str | None = None,
  2324. spell_check: Var[bool] | bool | None = None,
  2325. tab_index: Var[int] | int | None = None,
  2326. title: Var[str] | str | None = None,
  2327. style: Style | None = None,
  2328. key: Any | None = None,
  2329. id: Any | None = None,
  2330. class_name: Any | None = None,
  2331. autofocus: bool | None = None,
  2332. custom_attrs: dict[str, Var | Any] | None = None,
  2333. on_blur: Optional[EventType[()]] = None,
  2334. on_click: Optional[EventType[()]] = None,
  2335. on_context_menu: Optional[EventType[()]] = None,
  2336. on_double_click: Optional[EventType[()]] = None,
  2337. on_focus: Optional[EventType[()]] = None,
  2338. on_mount: Optional[EventType[()]] = None,
  2339. on_mouse_down: Optional[EventType[()]] = None,
  2340. on_mouse_enter: Optional[EventType[()]] = None,
  2341. on_mouse_leave: Optional[EventType[()]] = None,
  2342. on_mouse_move: Optional[EventType[()]] = None,
  2343. on_mouse_out: Optional[EventType[()]] = None,
  2344. on_mouse_over: Optional[EventType[()]] = None,
  2345. on_mouse_up: Optional[EventType[()]] = None,
  2346. on_scroll: Optional[EventType[()]] = None,
  2347. on_unmount: Optional[EventType[()]] = None,
  2348. **props,
  2349. ) -> "H4":
  2350. """Create the component.
  2351. Args:
  2352. *children: The children of the component.
  2353. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2354. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2355. content_editable: Indicates whether the element's content is editable.
  2356. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2357. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2358. draggable: Defines whether the element can be dragged.
  2359. enter_key_hint: Hints what media types the media element is able to play.
  2360. hidden: Defines whether the element is hidden.
  2361. input_mode: Defines the type of the element.
  2362. item_prop: Defines the name of the element for metadata purposes.
  2363. lang: Defines the language used in the element.
  2364. role: Defines the role of the element.
  2365. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2366. spell_check: Defines whether the element may be checked for spelling errors.
  2367. tab_index: Defines the position of the current element in the tabbing order.
  2368. title: Defines a tooltip for the element.
  2369. style: The style of the component.
  2370. key: A unique key for the component.
  2371. id: The id for the component.
  2372. class_name: The class name for the component.
  2373. autofocus: Whether the component should take the focus once the page is loaded
  2374. custom_attrs: custom attribute
  2375. **props: The props of the component.
  2376. Returns:
  2377. The component.
  2378. """
  2379. ...
  2380. class H5(BaseHTML):
  2381. @overload
  2382. @classmethod
  2383. def create( # type: ignore
  2384. cls,
  2385. *children,
  2386. access_key: Var[str] | str | None = None,
  2387. auto_capitalize: Literal[
  2388. "characters", "none", "off", "on", "sentences", "words"
  2389. ]
  2390. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2391. | None = None,
  2392. content_editable: Literal["inherit", "plaintext-only", False, True]
  2393. | Var[Literal["inherit", "plaintext-only", False, True]]
  2394. | None = None,
  2395. context_menu: Var[str] | str | None = None,
  2396. dir: Var[str] | str | None = None,
  2397. draggable: Var[bool] | bool | None = None,
  2398. enter_key_hint: Literal[
  2399. "done", "enter", "go", "next", "previous", "search", "send"
  2400. ]
  2401. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2402. | None = None,
  2403. hidden: Var[bool] | bool | None = None,
  2404. input_mode: Literal[
  2405. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2406. ]
  2407. | Var[
  2408. Literal[
  2409. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2410. ]
  2411. ]
  2412. | None = None,
  2413. item_prop: Var[str] | str | None = None,
  2414. lang: Var[str] | str | None = None,
  2415. role: Literal[
  2416. "alert",
  2417. "alertdialog",
  2418. "application",
  2419. "article",
  2420. "banner",
  2421. "button",
  2422. "cell",
  2423. "checkbox",
  2424. "columnheader",
  2425. "combobox",
  2426. "complementary",
  2427. "contentinfo",
  2428. "definition",
  2429. "dialog",
  2430. "directory",
  2431. "document",
  2432. "feed",
  2433. "figure",
  2434. "form",
  2435. "grid",
  2436. "gridcell",
  2437. "group",
  2438. "heading",
  2439. "img",
  2440. "link",
  2441. "list",
  2442. "listbox",
  2443. "listitem",
  2444. "log",
  2445. "main",
  2446. "marquee",
  2447. "math",
  2448. "menu",
  2449. "menubar",
  2450. "menuitem",
  2451. "menuitemcheckbox",
  2452. "menuitemradio",
  2453. "navigation",
  2454. "none",
  2455. "note",
  2456. "option",
  2457. "presentation",
  2458. "progressbar",
  2459. "radio",
  2460. "radiogroup",
  2461. "region",
  2462. "row",
  2463. "rowgroup",
  2464. "rowheader",
  2465. "scrollbar",
  2466. "search",
  2467. "searchbox",
  2468. "separator",
  2469. "slider",
  2470. "spinbutton",
  2471. "status",
  2472. "switch",
  2473. "tab",
  2474. "table",
  2475. "tablist",
  2476. "tabpanel",
  2477. "term",
  2478. "textbox",
  2479. "timer",
  2480. "toolbar",
  2481. "tooltip",
  2482. "tree",
  2483. "treegrid",
  2484. "treeitem",
  2485. ]
  2486. | Var[
  2487. Literal[
  2488. "alert",
  2489. "alertdialog",
  2490. "application",
  2491. "article",
  2492. "banner",
  2493. "button",
  2494. "cell",
  2495. "checkbox",
  2496. "columnheader",
  2497. "combobox",
  2498. "complementary",
  2499. "contentinfo",
  2500. "definition",
  2501. "dialog",
  2502. "directory",
  2503. "document",
  2504. "feed",
  2505. "figure",
  2506. "form",
  2507. "grid",
  2508. "gridcell",
  2509. "group",
  2510. "heading",
  2511. "img",
  2512. "link",
  2513. "list",
  2514. "listbox",
  2515. "listitem",
  2516. "log",
  2517. "main",
  2518. "marquee",
  2519. "math",
  2520. "menu",
  2521. "menubar",
  2522. "menuitem",
  2523. "menuitemcheckbox",
  2524. "menuitemradio",
  2525. "navigation",
  2526. "none",
  2527. "note",
  2528. "option",
  2529. "presentation",
  2530. "progressbar",
  2531. "radio",
  2532. "radiogroup",
  2533. "region",
  2534. "row",
  2535. "rowgroup",
  2536. "rowheader",
  2537. "scrollbar",
  2538. "search",
  2539. "searchbox",
  2540. "separator",
  2541. "slider",
  2542. "spinbutton",
  2543. "status",
  2544. "switch",
  2545. "tab",
  2546. "table",
  2547. "tablist",
  2548. "tabpanel",
  2549. "term",
  2550. "textbox",
  2551. "timer",
  2552. "toolbar",
  2553. "tooltip",
  2554. "tree",
  2555. "treegrid",
  2556. "treeitem",
  2557. ]
  2558. ]
  2559. | None = None,
  2560. slot: Var[str] | str | None = None,
  2561. spell_check: Var[bool] | bool | None = None,
  2562. tab_index: Var[int] | int | None = None,
  2563. title: Var[str] | str | None = None,
  2564. style: Style | None = None,
  2565. key: Any | None = None,
  2566. id: Any | None = None,
  2567. class_name: Any | None = None,
  2568. autofocus: bool | None = None,
  2569. custom_attrs: dict[str, Var | Any] | None = None,
  2570. on_blur: Optional[EventType[()]] = None,
  2571. on_click: Optional[EventType[()]] = None,
  2572. on_context_menu: Optional[EventType[()]] = None,
  2573. on_double_click: Optional[EventType[()]] = None,
  2574. on_focus: Optional[EventType[()]] = None,
  2575. on_mount: Optional[EventType[()]] = None,
  2576. on_mouse_down: Optional[EventType[()]] = None,
  2577. on_mouse_enter: Optional[EventType[()]] = None,
  2578. on_mouse_leave: Optional[EventType[()]] = None,
  2579. on_mouse_move: Optional[EventType[()]] = None,
  2580. on_mouse_out: Optional[EventType[()]] = None,
  2581. on_mouse_over: Optional[EventType[()]] = None,
  2582. on_mouse_up: Optional[EventType[()]] = None,
  2583. on_scroll: Optional[EventType[()]] = None,
  2584. on_unmount: Optional[EventType[()]] = None,
  2585. **props,
  2586. ) -> "H5":
  2587. """Create the component.
  2588. Args:
  2589. *children: The children of the component.
  2590. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2591. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2592. content_editable: Indicates whether the element's content is editable.
  2593. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2594. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2595. draggable: Defines whether the element can be dragged.
  2596. enter_key_hint: Hints what media types the media element is able to play.
  2597. hidden: Defines whether the element is hidden.
  2598. input_mode: Defines the type of the element.
  2599. item_prop: Defines the name of the element for metadata purposes.
  2600. lang: Defines the language used in the element.
  2601. role: Defines the role of the element.
  2602. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2603. spell_check: Defines whether the element may be checked for spelling errors.
  2604. tab_index: Defines the position of the current element in the tabbing order.
  2605. title: Defines a tooltip for the element.
  2606. style: The style of the component.
  2607. key: A unique key for the component.
  2608. id: The id for the component.
  2609. class_name: The class name for the component.
  2610. autofocus: Whether the component should take the focus once the page is loaded
  2611. custom_attrs: custom attribute
  2612. **props: The props of the component.
  2613. Returns:
  2614. The component.
  2615. """
  2616. ...
  2617. class H6(BaseHTML):
  2618. @overload
  2619. @classmethod
  2620. def create( # type: ignore
  2621. cls,
  2622. *children,
  2623. access_key: Var[str] | str | None = None,
  2624. auto_capitalize: Literal[
  2625. "characters", "none", "off", "on", "sentences", "words"
  2626. ]
  2627. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2628. | None = None,
  2629. content_editable: Literal["inherit", "plaintext-only", False, True]
  2630. | Var[Literal["inherit", "plaintext-only", False, True]]
  2631. | None = None,
  2632. context_menu: Var[str] | str | None = None,
  2633. dir: Var[str] | str | None = None,
  2634. draggable: Var[bool] | bool | None = None,
  2635. enter_key_hint: Literal[
  2636. "done", "enter", "go", "next", "previous", "search", "send"
  2637. ]
  2638. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2639. | None = None,
  2640. hidden: Var[bool] | bool | None = None,
  2641. input_mode: Literal[
  2642. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2643. ]
  2644. | Var[
  2645. Literal[
  2646. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2647. ]
  2648. ]
  2649. | None = None,
  2650. item_prop: Var[str] | str | None = None,
  2651. lang: Var[str] | str | None = None,
  2652. role: Literal[
  2653. "alert",
  2654. "alertdialog",
  2655. "application",
  2656. "article",
  2657. "banner",
  2658. "button",
  2659. "cell",
  2660. "checkbox",
  2661. "columnheader",
  2662. "combobox",
  2663. "complementary",
  2664. "contentinfo",
  2665. "definition",
  2666. "dialog",
  2667. "directory",
  2668. "document",
  2669. "feed",
  2670. "figure",
  2671. "form",
  2672. "grid",
  2673. "gridcell",
  2674. "group",
  2675. "heading",
  2676. "img",
  2677. "link",
  2678. "list",
  2679. "listbox",
  2680. "listitem",
  2681. "log",
  2682. "main",
  2683. "marquee",
  2684. "math",
  2685. "menu",
  2686. "menubar",
  2687. "menuitem",
  2688. "menuitemcheckbox",
  2689. "menuitemradio",
  2690. "navigation",
  2691. "none",
  2692. "note",
  2693. "option",
  2694. "presentation",
  2695. "progressbar",
  2696. "radio",
  2697. "radiogroup",
  2698. "region",
  2699. "row",
  2700. "rowgroup",
  2701. "rowheader",
  2702. "scrollbar",
  2703. "search",
  2704. "searchbox",
  2705. "separator",
  2706. "slider",
  2707. "spinbutton",
  2708. "status",
  2709. "switch",
  2710. "tab",
  2711. "table",
  2712. "tablist",
  2713. "tabpanel",
  2714. "term",
  2715. "textbox",
  2716. "timer",
  2717. "toolbar",
  2718. "tooltip",
  2719. "tree",
  2720. "treegrid",
  2721. "treeitem",
  2722. ]
  2723. | Var[
  2724. Literal[
  2725. "alert",
  2726. "alertdialog",
  2727. "application",
  2728. "article",
  2729. "banner",
  2730. "button",
  2731. "cell",
  2732. "checkbox",
  2733. "columnheader",
  2734. "combobox",
  2735. "complementary",
  2736. "contentinfo",
  2737. "definition",
  2738. "dialog",
  2739. "directory",
  2740. "document",
  2741. "feed",
  2742. "figure",
  2743. "form",
  2744. "grid",
  2745. "gridcell",
  2746. "group",
  2747. "heading",
  2748. "img",
  2749. "link",
  2750. "list",
  2751. "listbox",
  2752. "listitem",
  2753. "log",
  2754. "main",
  2755. "marquee",
  2756. "math",
  2757. "menu",
  2758. "menubar",
  2759. "menuitem",
  2760. "menuitemcheckbox",
  2761. "menuitemradio",
  2762. "navigation",
  2763. "none",
  2764. "note",
  2765. "option",
  2766. "presentation",
  2767. "progressbar",
  2768. "radio",
  2769. "radiogroup",
  2770. "region",
  2771. "row",
  2772. "rowgroup",
  2773. "rowheader",
  2774. "scrollbar",
  2775. "search",
  2776. "searchbox",
  2777. "separator",
  2778. "slider",
  2779. "spinbutton",
  2780. "status",
  2781. "switch",
  2782. "tab",
  2783. "table",
  2784. "tablist",
  2785. "tabpanel",
  2786. "term",
  2787. "textbox",
  2788. "timer",
  2789. "toolbar",
  2790. "tooltip",
  2791. "tree",
  2792. "treegrid",
  2793. "treeitem",
  2794. ]
  2795. ]
  2796. | None = None,
  2797. slot: Var[str] | str | None = None,
  2798. spell_check: Var[bool] | bool | None = None,
  2799. tab_index: Var[int] | int | None = None,
  2800. title: Var[str] | str | None = None,
  2801. style: Style | None = None,
  2802. key: Any | None = None,
  2803. id: Any | None = None,
  2804. class_name: Any | None = None,
  2805. autofocus: bool | None = None,
  2806. custom_attrs: dict[str, Var | Any] | None = None,
  2807. on_blur: Optional[EventType[()]] = None,
  2808. on_click: Optional[EventType[()]] = None,
  2809. on_context_menu: Optional[EventType[()]] = None,
  2810. on_double_click: Optional[EventType[()]] = None,
  2811. on_focus: Optional[EventType[()]] = None,
  2812. on_mount: Optional[EventType[()]] = None,
  2813. on_mouse_down: Optional[EventType[()]] = None,
  2814. on_mouse_enter: Optional[EventType[()]] = None,
  2815. on_mouse_leave: Optional[EventType[()]] = None,
  2816. on_mouse_move: Optional[EventType[()]] = None,
  2817. on_mouse_out: Optional[EventType[()]] = None,
  2818. on_mouse_over: Optional[EventType[()]] = None,
  2819. on_mouse_up: Optional[EventType[()]] = None,
  2820. on_scroll: Optional[EventType[()]] = None,
  2821. on_unmount: Optional[EventType[()]] = None,
  2822. **props,
  2823. ) -> "H6":
  2824. """Create the component.
  2825. Args:
  2826. *children: The children of the component.
  2827. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2828. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2829. content_editable: Indicates whether the element's content is editable.
  2830. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2831. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2832. draggable: Defines whether the element can be dragged.
  2833. enter_key_hint: Hints what media types the media element is able to play.
  2834. hidden: Defines whether the element is hidden.
  2835. input_mode: Defines the type of the element.
  2836. item_prop: Defines the name of the element for metadata purposes.
  2837. lang: Defines the language used in the element.
  2838. role: Defines the role of the element.
  2839. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2840. spell_check: Defines whether the element may be checked for spelling errors.
  2841. tab_index: Defines the position of the current element in the tabbing order.
  2842. title: Defines a tooltip for the element.
  2843. style: The style of the component.
  2844. key: A unique key for the component.
  2845. id: The id for the component.
  2846. class_name: The class name for the component.
  2847. autofocus: Whether the component should take the focus once the page is loaded
  2848. custom_attrs: custom attribute
  2849. **props: The props of the component.
  2850. Returns:
  2851. The component.
  2852. """
  2853. ...
  2854. class Main(BaseHTML):
  2855. @overload
  2856. @classmethod
  2857. def create( # type: ignore
  2858. cls,
  2859. *children,
  2860. access_key: Var[str] | str | None = None,
  2861. auto_capitalize: Literal[
  2862. "characters", "none", "off", "on", "sentences", "words"
  2863. ]
  2864. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2865. | None = None,
  2866. content_editable: Literal["inherit", "plaintext-only", False, True]
  2867. | Var[Literal["inherit", "plaintext-only", False, True]]
  2868. | None = None,
  2869. context_menu: Var[str] | str | None = None,
  2870. dir: Var[str] | str | None = None,
  2871. draggable: Var[bool] | bool | None = None,
  2872. enter_key_hint: Literal[
  2873. "done", "enter", "go", "next", "previous", "search", "send"
  2874. ]
  2875. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2876. | None = None,
  2877. hidden: Var[bool] | bool | None = None,
  2878. input_mode: Literal[
  2879. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2880. ]
  2881. | Var[
  2882. Literal[
  2883. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2884. ]
  2885. ]
  2886. | None = None,
  2887. item_prop: Var[str] | str | None = None,
  2888. lang: Var[str] | str | None = None,
  2889. role: Literal[
  2890. "alert",
  2891. "alertdialog",
  2892. "application",
  2893. "article",
  2894. "banner",
  2895. "button",
  2896. "cell",
  2897. "checkbox",
  2898. "columnheader",
  2899. "combobox",
  2900. "complementary",
  2901. "contentinfo",
  2902. "definition",
  2903. "dialog",
  2904. "directory",
  2905. "document",
  2906. "feed",
  2907. "figure",
  2908. "form",
  2909. "grid",
  2910. "gridcell",
  2911. "group",
  2912. "heading",
  2913. "img",
  2914. "link",
  2915. "list",
  2916. "listbox",
  2917. "listitem",
  2918. "log",
  2919. "main",
  2920. "marquee",
  2921. "math",
  2922. "menu",
  2923. "menubar",
  2924. "menuitem",
  2925. "menuitemcheckbox",
  2926. "menuitemradio",
  2927. "navigation",
  2928. "none",
  2929. "note",
  2930. "option",
  2931. "presentation",
  2932. "progressbar",
  2933. "radio",
  2934. "radiogroup",
  2935. "region",
  2936. "row",
  2937. "rowgroup",
  2938. "rowheader",
  2939. "scrollbar",
  2940. "search",
  2941. "searchbox",
  2942. "separator",
  2943. "slider",
  2944. "spinbutton",
  2945. "status",
  2946. "switch",
  2947. "tab",
  2948. "table",
  2949. "tablist",
  2950. "tabpanel",
  2951. "term",
  2952. "textbox",
  2953. "timer",
  2954. "toolbar",
  2955. "tooltip",
  2956. "tree",
  2957. "treegrid",
  2958. "treeitem",
  2959. ]
  2960. | Var[
  2961. Literal[
  2962. "alert",
  2963. "alertdialog",
  2964. "application",
  2965. "article",
  2966. "banner",
  2967. "button",
  2968. "cell",
  2969. "checkbox",
  2970. "columnheader",
  2971. "combobox",
  2972. "complementary",
  2973. "contentinfo",
  2974. "definition",
  2975. "dialog",
  2976. "directory",
  2977. "document",
  2978. "feed",
  2979. "figure",
  2980. "form",
  2981. "grid",
  2982. "gridcell",
  2983. "group",
  2984. "heading",
  2985. "img",
  2986. "link",
  2987. "list",
  2988. "listbox",
  2989. "listitem",
  2990. "log",
  2991. "main",
  2992. "marquee",
  2993. "math",
  2994. "menu",
  2995. "menubar",
  2996. "menuitem",
  2997. "menuitemcheckbox",
  2998. "menuitemradio",
  2999. "navigation",
  3000. "none",
  3001. "note",
  3002. "option",
  3003. "presentation",
  3004. "progressbar",
  3005. "radio",
  3006. "radiogroup",
  3007. "region",
  3008. "row",
  3009. "rowgroup",
  3010. "rowheader",
  3011. "scrollbar",
  3012. "search",
  3013. "searchbox",
  3014. "separator",
  3015. "slider",
  3016. "spinbutton",
  3017. "status",
  3018. "switch",
  3019. "tab",
  3020. "table",
  3021. "tablist",
  3022. "tabpanel",
  3023. "term",
  3024. "textbox",
  3025. "timer",
  3026. "toolbar",
  3027. "tooltip",
  3028. "tree",
  3029. "treegrid",
  3030. "treeitem",
  3031. ]
  3032. ]
  3033. | None = None,
  3034. slot: Var[str] | str | None = None,
  3035. spell_check: Var[bool] | bool | None = None,
  3036. tab_index: Var[int] | int | None = None,
  3037. title: Var[str] | str | None = None,
  3038. style: Style | None = None,
  3039. key: Any | None = None,
  3040. id: Any | None = None,
  3041. class_name: Any | None = None,
  3042. autofocus: bool | None = None,
  3043. custom_attrs: dict[str, Var | Any] | None = None,
  3044. on_blur: Optional[EventType[()]] = None,
  3045. on_click: Optional[EventType[()]] = None,
  3046. on_context_menu: Optional[EventType[()]] = None,
  3047. on_double_click: Optional[EventType[()]] = None,
  3048. on_focus: Optional[EventType[()]] = None,
  3049. on_mount: Optional[EventType[()]] = None,
  3050. on_mouse_down: Optional[EventType[()]] = None,
  3051. on_mouse_enter: Optional[EventType[()]] = None,
  3052. on_mouse_leave: Optional[EventType[()]] = None,
  3053. on_mouse_move: Optional[EventType[()]] = None,
  3054. on_mouse_out: Optional[EventType[()]] = None,
  3055. on_mouse_over: Optional[EventType[()]] = None,
  3056. on_mouse_up: Optional[EventType[()]] = None,
  3057. on_scroll: Optional[EventType[()]] = None,
  3058. on_unmount: Optional[EventType[()]] = None,
  3059. **props,
  3060. ) -> "Main":
  3061. """Create the component.
  3062. Args:
  3063. *children: The children of the component.
  3064. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  3065. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  3066. content_editable: Indicates whether the element's content is editable.
  3067. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  3068. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  3069. draggable: Defines whether the element can be dragged.
  3070. enter_key_hint: Hints what media types the media element is able to play.
  3071. hidden: Defines whether the element is hidden.
  3072. input_mode: Defines the type of the element.
  3073. item_prop: Defines the name of the element for metadata purposes.
  3074. lang: Defines the language used in the element.
  3075. role: Defines the role of the element.
  3076. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  3077. spell_check: Defines whether the element may be checked for spelling errors.
  3078. tab_index: Defines the position of the current element in the tabbing order.
  3079. title: Defines a tooltip for the element.
  3080. style: The style of the component.
  3081. key: A unique key for the component.
  3082. id: The id for the component.
  3083. class_name: The class name for the component.
  3084. autofocus: Whether the component should take the focus once the page is loaded
  3085. custom_attrs: custom attribute
  3086. **props: The props of the component.
  3087. Returns:
  3088. The component.
  3089. """
  3090. ...
  3091. class Nav(BaseHTML):
  3092. @overload
  3093. @classmethod
  3094. def create( # type: ignore
  3095. cls,
  3096. *children,
  3097. access_key: Var[str] | str | None = None,
  3098. auto_capitalize: Literal[
  3099. "characters", "none", "off", "on", "sentences", "words"
  3100. ]
  3101. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  3102. | None = None,
  3103. content_editable: Literal["inherit", "plaintext-only", False, True]
  3104. | Var[Literal["inherit", "plaintext-only", False, True]]
  3105. | None = None,
  3106. context_menu: Var[str] | str | None = None,
  3107. dir: Var[str] | str | None = None,
  3108. draggable: Var[bool] | bool | None = None,
  3109. enter_key_hint: Literal[
  3110. "done", "enter", "go", "next", "previous", "search", "send"
  3111. ]
  3112. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  3113. | None = None,
  3114. hidden: Var[bool] | bool | None = None,
  3115. input_mode: Literal[
  3116. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3117. ]
  3118. | Var[
  3119. Literal[
  3120. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3121. ]
  3122. ]
  3123. | None = None,
  3124. item_prop: Var[str] | str | None = None,
  3125. lang: Var[str] | str | None = None,
  3126. role: Literal[
  3127. "alert",
  3128. "alertdialog",
  3129. "application",
  3130. "article",
  3131. "banner",
  3132. "button",
  3133. "cell",
  3134. "checkbox",
  3135. "columnheader",
  3136. "combobox",
  3137. "complementary",
  3138. "contentinfo",
  3139. "definition",
  3140. "dialog",
  3141. "directory",
  3142. "document",
  3143. "feed",
  3144. "figure",
  3145. "form",
  3146. "grid",
  3147. "gridcell",
  3148. "group",
  3149. "heading",
  3150. "img",
  3151. "link",
  3152. "list",
  3153. "listbox",
  3154. "listitem",
  3155. "log",
  3156. "main",
  3157. "marquee",
  3158. "math",
  3159. "menu",
  3160. "menubar",
  3161. "menuitem",
  3162. "menuitemcheckbox",
  3163. "menuitemradio",
  3164. "navigation",
  3165. "none",
  3166. "note",
  3167. "option",
  3168. "presentation",
  3169. "progressbar",
  3170. "radio",
  3171. "radiogroup",
  3172. "region",
  3173. "row",
  3174. "rowgroup",
  3175. "rowheader",
  3176. "scrollbar",
  3177. "search",
  3178. "searchbox",
  3179. "separator",
  3180. "slider",
  3181. "spinbutton",
  3182. "status",
  3183. "switch",
  3184. "tab",
  3185. "table",
  3186. "tablist",
  3187. "tabpanel",
  3188. "term",
  3189. "textbox",
  3190. "timer",
  3191. "toolbar",
  3192. "tooltip",
  3193. "tree",
  3194. "treegrid",
  3195. "treeitem",
  3196. ]
  3197. | Var[
  3198. Literal[
  3199. "alert",
  3200. "alertdialog",
  3201. "application",
  3202. "article",
  3203. "banner",
  3204. "button",
  3205. "cell",
  3206. "checkbox",
  3207. "columnheader",
  3208. "combobox",
  3209. "complementary",
  3210. "contentinfo",
  3211. "definition",
  3212. "dialog",
  3213. "directory",
  3214. "document",
  3215. "feed",
  3216. "figure",
  3217. "form",
  3218. "grid",
  3219. "gridcell",
  3220. "group",
  3221. "heading",
  3222. "img",
  3223. "link",
  3224. "list",
  3225. "listbox",
  3226. "listitem",
  3227. "log",
  3228. "main",
  3229. "marquee",
  3230. "math",
  3231. "menu",
  3232. "menubar",
  3233. "menuitem",
  3234. "menuitemcheckbox",
  3235. "menuitemradio",
  3236. "navigation",
  3237. "none",
  3238. "note",
  3239. "option",
  3240. "presentation",
  3241. "progressbar",
  3242. "radio",
  3243. "radiogroup",
  3244. "region",
  3245. "row",
  3246. "rowgroup",
  3247. "rowheader",
  3248. "scrollbar",
  3249. "search",
  3250. "searchbox",
  3251. "separator",
  3252. "slider",
  3253. "spinbutton",
  3254. "status",
  3255. "switch",
  3256. "tab",
  3257. "table",
  3258. "tablist",
  3259. "tabpanel",
  3260. "term",
  3261. "textbox",
  3262. "timer",
  3263. "toolbar",
  3264. "tooltip",
  3265. "tree",
  3266. "treegrid",
  3267. "treeitem",
  3268. ]
  3269. ]
  3270. | None = None,
  3271. slot: Var[str] | str | None = None,
  3272. spell_check: Var[bool] | bool | None = None,
  3273. tab_index: Var[int] | int | None = None,
  3274. title: Var[str] | str | None = None,
  3275. style: Style | None = None,
  3276. key: Any | None = None,
  3277. id: Any | None = None,
  3278. class_name: Any | None = None,
  3279. autofocus: bool | None = None,
  3280. custom_attrs: dict[str, Var | Any] | None = None,
  3281. on_blur: Optional[EventType[()]] = None,
  3282. on_click: Optional[EventType[()]] = None,
  3283. on_context_menu: Optional[EventType[()]] = None,
  3284. on_double_click: Optional[EventType[()]] = None,
  3285. on_focus: Optional[EventType[()]] = None,
  3286. on_mount: Optional[EventType[()]] = None,
  3287. on_mouse_down: Optional[EventType[()]] = None,
  3288. on_mouse_enter: Optional[EventType[()]] = None,
  3289. on_mouse_leave: Optional[EventType[()]] = None,
  3290. on_mouse_move: Optional[EventType[()]] = None,
  3291. on_mouse_out: Optional[EventType[()]] = None,
  3292. on_mouse_over: Optional[EventType[()]] = None,
  3293. on_mouse_up: Optional[EventType[()]] = None,
  3294. on_scroll: Optional[EventType[()]] = None,
  3295. on_unmount: Optional[EventType[()]] = None,
  3296. **props,
  3297. ) -> "Nav":
  3298. """Create the component.
  3299. Args:
  3300. *children: The children of the component.
  3301. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  3302. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  3303. content_editable: Indicates whether the element's content is editable.
  3304. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  3305. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  3306. draggable: Defines whether the element can be dragged.
  3307. enter_key_hint: Hints what media types the media element is able to play.
  3308. hidden: Defines whether the element is hidden.
  3309. input_mode: Defines the type of the element.
  3310. item_prop: Defines the name of the element for metadata purposes.
  3311. lang: Defines the language used in the element.
  3312. role: Defines the role of the element.
  3313. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  3314. spell_check: Defines whether the element may be checked for spelling errors.
  3315. tab_index: Defines the position of the current element in the tabbing order.
  3316. title: Defines a tooltip for the element.
  3317. style: The style of the component.
  3318. key: A unique key for the component.
  3319. id: The id for the component.
  3320. class_name: The class name for the component.
  3321. autofocus: Whether the component should take the focus once the page is loaded
  3322. custom_attrs: custom attribute
  3323. **props: The props of the component.
  3324. Returns:
  3325. The component.
  3326. """
  3327. ...
  3328. class Section(BaseHTML):
  3329. @overload
  3330. @classmethod
  3331. def create( # type: ignore
  3332. cls,
  3333. *children,
  3334. access_key: Var[str] | str | None = None,
  3335. auto_capitalize: Literal[
  3336. "characters", "none", "off", "on", "sentences", "words"
  3337. ]
  3338. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  3339. | None = None,
  3340. content_editable: Literal["inherit", "plaintext-only", False, True]
  3341. | Var[Literal["inherit", "plaintext-only", False, True]]
  3342. | None = None,
  3343. context_menu: Var[str] | str | None = None,
  3344. dir: Var[str] | str | None = None,
  3345. draggable: Var[bool] | bool | None = None,
  3346. enter_key_hint: Literal[
  3347. "done", "enter", "go", "next", "previous", "search", "send"
  3348. ]
  3349. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  3350. | None = None,
  3351. hidden: Var[bool] | bool | None = None,
  3352. input_mode: Literal[
  3353. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3354. ]
  3355. | Var[
  3356. Literal[
  3357. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3358. ]
  3359. ]
  3360. | None = None,
  3361. item_prop: Var[str] | str | None = None,
  3362. lang: Var[str] | str | None = None,
  3363. role: Literal[
  3364. "alert",
  3365. "alertdialog",
  3366. "application",
  3367. "article",
  3368. "banner",
  3369. "button",
  3370. "cell",
  3371. "checkbox",
  3372. "columnheader",
  3373. "combobox",
  3374. "complementary",
  3375. "contentinfo",
  3376. "definition",
  3377. "dialog",
  3378. "directory",
  3379. "document",
  3380. "feed",
  3381. "figure",
  3382. "form",
  3383. "grid",
  3384. "gridcell",
  3385. "group",
  3386. "heading",
  3387. "img",
  3388. "link",
  3389. "list",
  3390. "listbox",
  3391. "listitem",
  3392. "log",
  3393. "main",
  3394. "marquee",
  3395. "math",
  3396. "menu",
  3397. "menubar",
  3398. "menuitem",
  3399. "menuitemcheckbox",
  3400. "menuitemradio",
  3401. "navigation",
  3402. "none",
  3403. "note",
  3404. "option",
  3405. "presentation",
  3406. "progressbar",
  3407. "radio",
  3408. "radiogroup",
  3409. "region",
  3410. "row",
  3411. "rowgroup",
  3412. "rowheader",
  3413. "scrollbar",
  3414. "search",
  3415. "searchbox",
  3416. "separator",
  3417. "slider",
  3418. "spinbutton",
  3419. "status",
  3420. "switch",
  3421. "tab",
  3422. "table",
  3423. "tablist",
  3424. "tabpanel",
  3425. "term",
  3426. "textbox",
  3427. "timer",
  3428. "toolbar",
  3429. "tooltip",
  3430. "tree",
  3431. "treegrid",
  3432. "treeitem",
  3433. ]
  3434. | Var[
  3435. Literal[
  3436. "alert",
  3437. "alertdialog",
  3438. "application",
  3439. "article",
  3440. "banner",
  3441. "button",
  3442. "cell",
  3443. "checkbox",
  3444. "columnheader",
  3445. "combobox",
  3446. "complementary",
  3447. "contentinfo",
  3448. "definition",
  3449. "dialog",
  3450. "directory",
  3451. "document",
  3452. "feed",
  3453. "figure",
  3454. "form",
  3455. "grid",
  3456. "gridcell",
  3457. "group",
  3458. "heading",
  3459. "img",
  3460. "link",
  3461. "list",
  3462. "listbox",
  3463. "listitem",
  3464. "log",
  3465. "main",
  3466. "marquee",
  3467. "math",
  3468. "menu",
  3469. "menubar",
  3470. "menuitem",
  3471. "menuitemcheckbox",
  3472. "menuitemradio",
  3473. "navigation",
  3474. "none",
  3475. "note",
  3476. "option",
  3477. "presentation",
  3478. "progressbar",
  3479. "radio",
  3480. "radiogroup",
  3481. "region",
  3482. "row",
  3483. "rowgroup",
  3484. "rowheader",
  3485. "scrollbar",
  3486. "search",
  3487. "searchbox",
  3488. "separator",
  3489. "slider",
  3490. "spinbutton",
  3491. "status",
  3492. "switch",
  3493. "tab",
  3494. "table",
  3495. "tablist",
  3496. "tabpanel",
  3497. "term",
  3498. "textbox",
  3499. "timer",
  3500. "toolbar",
  3501. "tooltip",
  3502. "tree",
  3503. "treegrid",
  3504. "treeitem",
  3505. ]
  3506. ]
  3507. | None = None,
  3508. slot: Var[str] | str | None = None,
  3509. spell_check: Var[bool] | bool | None = None,
  3510. tab_index: Var[int] | int | None = None,
  3511. title: Var[str] | str | None = None,
  3512. style: Style | None = None,
  3513. key: Any | None = None,
  3514. id: Any | None = None,
  3515. class_name: Any | None = None,
  3516. autofocus: bool | None = None,
  3517. custom_attrs: dict[str, Var | Any] | None = None,
  3518. on_blur: Optional[EventType[()]] = None,
  3519. on_click: Optional[EventType[()]] = None,
  3520. on_context_menu: Optional[EventType[()]] = None,
  3521. on_double_click: Optional[EventType[()]] = None,
  3522. on_focus: Optional[EventType[()]] = None,
  3523. on_mount: Optional[EventType[()]] = None,
  3524. on_mouse_down: Optional[EventType[()]] = None,
  3525. on_mouse_enter: Optional[EventType[()]] = None,
  3526. on_mouse_leave: Optional[EventType[()]] = None,
  3527. on_mouse_move: Optional[EventType[()]] = None,
  3528. on_mouse_out: Optional[EventType[()]] = None,
  3529. on_mouse_over: Optional[EventType[()]] = None,
  3530. on_mouse_up: Optional[EventType[()]] = None,
  3531. on_scroll: Optional[EventType[()]] = None,
  3532. on_unmount: Optional[EventType[()]] = None,
  3533. **props,
  3534. ) -> "Section":
  3535. """Create the component.
  3536. Args:
  3537. *children: The children of the component.
  3538. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  3539. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  3540. content_editable: Indicates whether the element's content is editable.
  3541. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  3542. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  3543. draggable: Defines whether the element can be dragged.
  3544. enter_key_hint: Hints what media types the media element is able to play.
  3545. hidden: Defines whether the element is hidden.
  3546. input_mode: Defines the type of the element.
  3547. item_prop: Defines the name of the element for metadata purposes.
  3548. lang: Defines the language used in the element.
  3549. role: Defines the role of the element.
  3550. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  3551. spell_check: Defines whether the element may be checked for spelling errors.
  3552. tab_index: Defines the position of the current element in the tabbing order.
  3553. title: Defines a tooltip for the element.
  3554. style: The style of the component.
  3555. key: A unique key for the component.
  3556. id: The id for the component.
  3557. class_name: The class name for the component.
  3558. autofocus: Whether the component should take the focus once the page is loaded
  3559. custom_attrs: custom attribute
  3560. **props: The props of the component.
  3561. Returns:
  3562. The component.
  3563. """
  3564. ...
  3565. address = Address.create
  3566. article = Article.create
  3567. aside = Aside.create
  3568. body = Body.create
  3569. header = Header.create
  3570. footer = Footer.create
  3571. h1 = H1.create
  3572. h2 = H2.create
  3573. h3 = H3.create
  3574. h4 = H4.create
  3575. h5 = H5.create
  3576. h6 = H6.create
  3577. main = Main.create
  3578. nav = Nav.create
  3579. section = Section.create