inline.pyi 223 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822
  1. """Stub file for reflex/components/el/elements/inline.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. ReferrerPolicy = Literal[
  11. "",
  12. "no-referrer",
  13. "no-referrer-when-downgrade",
  14. "origin",
  15. "origin-when-cross-origin",
  16. "same-origin",
  17. "strict-origin",
  18. "strict-origin-when-cross-origin",
  19. "unsafe-url",
  20. ]
  21. class A(BaseHTML):
  22. @overload
  23. @classmethod
  24. def create( # type: ignore
  25. cls,
  26. *children,
  27. download: Var[bool | str] | bool | str | None = None,
  28. href: Var[str] | str | None = None,
  29. href_lang: Var[str] | str | None = None,
  30. media: Var[str] | str | None = None,
  31. ping: Var[str] | str | None = None,
  32. referrer_policy: Literal[
  33. "",
  34. "no-referrer",
  35. "no-referrer-when-downgrade",
  36. "origin",
  37. "origin-when-cross-origin",
  38. "same-origin",
  39. "strict-origin",
  40. "strict-origin-when-cross-origin",
  41. "unsafe-url",
  42. ]
  43. | Var[
  44. Literal[
  45. "",
  46. "no-referrer",
  47. "no-referrer-when-downgrade",
  48. "origin",
  49. "origin-when-cross-origin",
  50. "same-origin",
  51. "strict-origin",
  52. "strict-origin-when-cross-origin",
  53. "unsafe-url",
  54. ]
  55. ]
  56. | None = None,
  57. rel: Var[str] | str | None = None,
  58. target: Literal["_blank", "_parent", "_self", "_top"]
  59. | Var[Literal["_blank", "_parent", "_self", "_top"] | str]
  60. | str
  61. | None = None,
  62. access_key: Var[str] | str | None = None,
  63. auto_capitalize: Literal[
  64. "characters", "none", "off", "on", "sentences", "words"
  65. ]
  66. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  67. | None = None,
  68. content_editable: Literal["inherit", "plaintext-only", False, True]
  69. | Var[Literal["inherit", "plaintext-only", False, True]]
  70. | None = None,
  71. context_menu: Var[str] | str | None = None,
  72. dir: Var[str] | str | None = None,
  73. draggable: Var[bool] | bool | None = None,
  74. enter_key_hint: Literal[
  75. "done", "enter", "go", "next", "previous", "search", "send"
  76. ]
  77. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  78. | None = None,
  79. hidden: Var[bool] | bool | None = None,
  80. input_mode: Literal[
  81. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  82. ]
  83. | Var[
  84. Literal[
  85. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  86. ]
  87. ]
  88. | None = None,
  89. item_prop: Var[str] | str | None = None,
  90. lang: Var[str] | str | None = None,
  91. role: Literal[
  92. "alert",
  93. "alertdialog",
  94. "application",
  95. "article",
  96. "banner",
  97. "button",
  98. "cell",
  99. "checkbox",
  100. "columnheader",
  101. "combobox",
  102. "complementary",
  103. "contentinfo",
  104. "definition",
  105. "dialog",
  106. "directory",
  107. "document",
  108. "feed",
  109. "figure",
  110. "form",
  111. "grid",
  112. "gridcell",
  113. "group",
  114. "heading",
  115. "img",
  116. "link",
  117. "list",
  118. "listbox",
  119. "listitem",
  120. "log",
  121. "main",
  122. "marquee",
  123. "math",
  124. "menu",
  125. "menubar",
  126. "menuitem",
  127. "menuitemcheckbox",
  128. "menuitemradio",
  129. "navigation",
  130. "none",
  131. "note",
  132. "option",
  133. "presentation",
  134. "progressbar",
  135. "radio",
  136. "radiogroup",
  137. "region",
  138. "row",
  139. "rowgroup",
  140. "rowheader",
  141. "scrollbar",
  142. "search",
  143. "searchbox",
  144. "separator",
  145. "slider",
  146. "spinbutton",
  147. "status",
  148. "switch",
  149. "tab",
  150. "table",
  151. "tablist",
  152. "tabpanel",
  153. "term",
  154. "textbox",
  155. "timer",
  156. "toolbar",
  157. "tooltip",
  158. "tree",
  159. "treegrid",
  160. "treeitem",
  161. ]
  162. | Var[
  163. Literal[
  164. "alert",
  165. "alertdialog",
  166. "application",
  167. "article",
  168. "banner",
  169. "button",
  170. "cell",
  171. "checkbox",
  172. "columnheader",
  173. "combobox",
  174. "complementary",
  175. "contentinfo",
  176. "definition",
  177. "dialog",
  178. "directory",
  179. "document",
  180. "feed",
  181. "figure",
  182. "form",
  183. "grid",
  184. "gridcell",
  185. "group",
  186. "heading",
  187. "img",
  188. "link",
  189. "list",
  190. "listbox",
  191. "listitem",
  192. "log",
  193. "main",
  194. "marquee",
  195. "math",
  196. "menu",
  197. "menubar",
  198. "menuitem",
  199. "menuitemcheckbox",
  200. "menuitemradio",
  201. "navigation",
  202. "none",
  203. "note",
  204. "option",
  205. "presentation",
  206. "progressbar",
  207. "radio",
  208. "radiogroup",
  209. "region",
  210. "row",
  211. "rowgroup",
  212. "rowheader",
  213. "scrollbar",
  214. "search",
  215. "searchbox",
  216. "separator",
  217. "slider",
  218. "spinbutton",
  219. "status",
  220. "switch",
  221. "tab",
  222. "table",
  223. "tablist",
  224. "tabpanel",
  225. "term",
  226. "textbox",
  227. "timer",
  228. "toolbar",
  229. "tooltip",
  230. "tree",
  231. "treegrid",
  232. "treeitem",
  233. ]
  234. ]
  235. | None = None,
  236. slot: Var[str] | str | None = None,
  237. spell_check: Var[bool] | bool | None = None,
  238. tab_index: Var[int] | int | None = None,
  239. title: Var[str] | str | None = None,
  240. style: Style | None = None,
  241. key: Any | None = None,
  242. id: Any | None = None,
  243. class_name: Any | None = None,
  244. autofocus: bool | None = None,
  245. custom_attrs: dict[str, Var | Any] | None = None,
  246. on_blur: Optional[EventType[()]] = None,
  247. on_click: Optional[EventType[()]] = None,
  248. on_context_menu: Optional[EventType[()]] = None,
  249. on_double_click: Optional[EventType[()]] = None,
  250. on_focus: Optional[EventType[()]] = None,
  251. on_mount: Optional[EventType[()]] = None,
  252. on_mouse_down: Optional[EventType[()]] = None,
  253. on_mouse_enter: Optional[EventType[()]] = None,
  254. on_mouse_leave: Optional[EventType[()]] = None,
  255. on_mouse_move: Optional[EventType[()]] = None,
  256. on_mouse_out: Optional[EventType[()]] = None,
  257. on_mouse_over: Optional[EventType[()]] = None,
  258. on_mouse_up: Optional[EventType[()]] = None,
  259. on_scroll: Optional[EventType[()]] = None,
  260. on_unmount: Optional[EventType[()]] = None,
  261. **props,
  262. ) -> "A":
  263. """Create the component.
  264. Args:
  265. *children: The children of the component.
  266. download: Specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink.
  267. href: Specifies the URL of the page the link goes to
  268. href_lang: Specifies the language of the linked document
  269. media: Specifies what media/device the linked document is optimized for
  270. ping: Specifies which referrer is sent when fetching the resource
  271. referrer_policy: Specifies the relationship between the current document and the linked document
  272. rel: Specifies the relationship between the linked document and the current document
  273. target: Specifies where to open the linked document
  274. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  275. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  276. content_editable: Indicates whether the element's content is editable.
  277. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  278. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  279. draggable: Defines whether the element can be dragged.
  280. enter_key_hint: Hints what media types the media element is able to play.
  281. hidden: Defines whether the element is hidden.
  282. input_mode: Defines the type of the element.
  283. item_prop: Defines the name of the element for metadata purposes.
  284. lang: Defines the language used in the element.
  285. role: Defines the role of the element.
  286. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  287. spell_check: Defines whether the element may be checked for spelling errors.
  288. tab_index: Defines the position of the current element in the tabbing order.
  289. title: Defines a tooltip for the element.
  290. style: The style of the component.
  291. key: A unique key for the component.
  292. id: The id for the component.
  293. class_name: The class name for the component.
  294. autofocus: Whether the component should take the focus once the page is loaded
  295. custom_attrs: custom attribute
  296. **props: The props of the component.
  297. Returns:
  298. The component.
  299. """
  300. ...
  301. class Abbr(BaseHTML):
  302. @overload
  303. @classmethod
  304. def create( # type: ignore
  305. cls,
  306. *children,
  307. access_key: Var[str] | str | None = None,
  308. auto_capitalize: Literal[
  309. "characters", "none", "off", "on", "sentences", "words"
  310. ]
  311. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  312. | None = None,
  313. content_editable: Literal["inherit", "plaintext-only", False, True]
  314. | Var[Literal["inherit", "plaintext-only", False, True]]
  315. | None = None,
  316. context_menu: Var[str] | str | None = None,
  317. dir: Var[str] | str | None = None,
  318. draggable: Var[bool] | bool | None = None,
  319. enter_key_hint: Literal[
  320. "done", "enter", "go", "next", "previous", "search", "send"
  321. ]
  322. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  323. | None = None,
  324. hidden: Var[bool] | bool | None = None,
  325. input_mode: Literal[
  326. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  327. ]
  328. | Var[
  329. Literal[
  330. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  331. ]
  332. ]
  333. | None = None,
  334. item_prop: Var[str] | str | None = None,
  335. lang: Var[str] | str | None = None,
  336. role: Literal[
  337. "alert",
  338. "alertdialog",
  339. "application",
  340. "article",
  341. "banner",
  342. "button",
  343. "cell",
  344. "checkbox",
  345. "columnheader",
  346. "combobox",
  347. "complementary",
  348. "contentinfo",
  349. "definition",
  350. "dialog",
  351. "directory",
  352. "document",
  353. "feed",
  354. "figure",
  355. "form",
  356. "grid",
  357. "gridcell",
  358. "group",
  359. "heading",
  360. "img",
  361. "link",
  362. "list",
  363. "listbox",
  364. "listitem",
  365. "log",
  366. "main",
  367. "marquee",
  368. "math",
  369. "menu",
  370. "menubar",
  371. "menuitem",
  372. "menuitemcheckbox",
  373. "menuitemradio",
  374. "navigation",
  375. "none",
  376. "note",
  377. "option",
  378. "presentation",
  379. "progressbar",
  380. "radio",
  381. "radiogroup",
  382. "region",
  383. "row",
  384. "rowgroup",
  385. "rowheader",
  386. "scrollbar",
  387. "search",
  388. "searchbox",
  389. "separator",
  390. "slider",
  391. "spinbutton",
  392. "status",
  393. "switch",
  394. "tab",
  395. "table",
  396. "tablist",
  397. "tabpanel",
  398. "term",
  399. "textbox",
  400. "timer",
  401. "toolbar",
  402. "tooltip",
  403. "tree",
  404. "treegrid",
  405. "treeitem",
  406. ]
  407. | Var[
  408. Literal[
  409. "alert",
  410. "alertdialog",
  411. "application",
  412. "article",
  413. "banner",
  414. "button",
  415. "cell",
  416. "checkbox",
  417. "columnheader",
  418. "combobox",
  419. "complementary",
  420. "contentinfo",
  421. "definition",
  422. "dialog",
  423. "directory",
  424. "document",
  425. "feed",
  426. "figure",
  427. "form",
  428. "grid",
  429. "gridcell",
  430. "group",
  431. "heading",
  432. "img",
  433. "link",
  434. "list",
  435. "listbox",
  436. "listitem",
  437. "log",
  438. "main",
  439. "marquee",
  440. "math",
  441. "menu",
  442. "menubar",
  443. "menuitem",
  444. "menuitemcheckbox",
  445. "menuitemradio",
  446. "navigation",
  447. "none",
  448. "note",
  449. "option",
  450. "presentation",
  451. "progressbar",
  452. "radio",
  453. "radiogroup",
  454. "region",
  455. "row",
  456. "rowgroup",
  457. "rowheader",
  458. "scrollbar",
  459. "search",
  460. "searchbox",
  461. "separator",
  462. "slider",
  463. "spinbutton",
  464. "status",
  465. "switch",
  466. "tab",
  467. "table",
  468. "tablist",
  469. "tabpanel",
  470. "term",
  471. "textbox",
  472. "timer",
  473. "toolbar",
  474. "tooltip",
  475. "tree",
  476. "treegrid",
  477. "treeitem",
  478. ]
  479. ]
  480. | None = None,
  481. slot: Var[str] | str | None = None,
  482. spell_check: Var[bool] | bool | None = None,
  483. tab_index: Var[int] | int | None = None,
  484. title: Var[str] | str | None = None,
  485. style: Style | None = None,
  486. key: Any | None = None,
  487. id: Any | None = None,
  488. class_name: Any | None = None,
  489. autofocus: bool | None = None,
  490. custom_attrs: dict[str, Var | Any] | None = None,
  491. on_blur: Optional[EventType[()]] = None,
  492. on_click: Optional[EventType[()]] = None,
  493. on_context_menu: Optional[EventType[()]] = None,
  494. on_double_click: Optional[EventType[()]] = None,
  495. on_focus: Optional[EventType[()]] = None,
  496. on_mount: Optional[EventType[()]] = None,
  497. on_mouse_down: Optional[EventType[()]] = None,
  498. on_mouse_enter: Optional[EventType[()]] = None,
  499. on_mouse_leave: Optional[EventType[()]] = None,
  500. on_mouse_move: Optional[EventType[()]] = None,
  501. on_mouse_out: Optional[EventType[()]] = None,
  502. on_mouse_over: Optional[EventType[()]] = None,
  503. on_mouse_up: Optional[EventType[()]] = None,
  504. on_scroll: Optional[EventType[()]] = None,
  505. on_unmount: Optional[EventType[()]] = None,
  506. **props,
  507. ) -> "Abbr":
  508. """Create the component.
  509. Args:
  510. *children: The children of the component.
  511. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  512. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  513. content_editable: Indicates whether the element's content is editable.
  514. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  515. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  516. draggable: Defines whether the element can be dragged.
  517. enter_key_hint: Hints what media types the media element is able to play.
  518. hidden: Defines whether the element is hidden.
  519. input_mode: Defines the type of the element.
  520. item_prop: Defines the name of the element for metadata purposes.
  521. lang: Defines the language used in the element.
  522. role: Defines the role of the element.
  523. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  524. spell_check: Defines whether the element may be checked for spelling errors.
  525. tab_index: Defines the position of the current element in the tabbing order.
  526. title: Defines a tooltip for the element.
  527. style: The style of the component.
  528. key: A unique key for the component.
  529. id: The id for the component.
  530. class_name: The class name for the component.
  531. autofocus: Whether the component should take the focus once the page is loaded
  532. custom_attrs: custom attribute
  533. **props: The props of the component.
  534. Returns:
  535. The component.
  536. """
  537. ...
  538. class B(BaseHTML):
  539. @overload
  540. @classmethod
  541. def create( # type: ignore
  542. cls,
  543. *children,
  544. access_key: Var[str] | str | None = None,
  545. auto_capitalize: Literal[
  546. "characters", "none", "off", "on", "sentences", "words"
  547. ]
  548. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  549. | None = None,
  550. content_editable: Literal["inherit", "plaintext-only", False, True]
  551. | Var[Literal["inherit", "plaintext-only", False, True]]
  552. | None = None,
  553. context_menu: Var[str] | str | None = None,
  554. dir: Var[str] | str | None = None,
  555. draggable: Var[bool] | bool | None = None,
  556. enter_key_hint: Literal[
  557. "done", "enter", "go", "next", "previous", "search", "send"
  558. ]
  559. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  560. | None = None,
  561. hidden: Var[bool] | bool | None = None,
  562. input_mode: Literal[
  563. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  564. ]
  565. | Var[
  566. Literal[
  567. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  568. ]
  569. ]
  570. | None = None,
  571. item_prop: Var[str] | str | None = None,
  572. lang: Var[str] | str | None = None,
  573. role: Literal[
  574. "alert",
  575. "alertdialog",
  576. "application",
  577. "article",
  578. "banner",
  579. "button",
  580. "cell",
  581. "checkbox",
  582. "columnheader",
  583. "combobox",
  584. "complementary",
  585. "contentinfo",
  586. "definition",
  587. "dialog",
  588. "directory",
  589. "document",
  590. "feed",
  591. "figure",
  592. "form",
  593. "grid",
  594. "gridcell",
  595. "group",
  596. "heading",
  597. "img",
  598. "link",
  599. "list",
  600. "listbox",
  601. "listitem",
  602. "log",
  603. "main",
  604. "marquee",
  605. "math",
  606. "menu",
  607. "menubar",
  608. "menuitem",
  609. "menuitemcheckbox",
  610. "menuitemradio",
  611. "navigation",
  612. "none",
  613. "note",
  614. "option",
  615. "presentation",
  616. "progressbar",
  617. "radio",
  618. "radiogroup",
  619. "region",
  620. "row",
  621. "rowgroup",
  622. "rowheader",
  623. "scrollbar",
  624. "search",
  625. "searchbox",
  626. "separator",
  627. "slider",
  628. "spinbutton",
  629. "status",
  630. "switch",
  631. "tab",
  632. "table",
  633. "tablist",
  634. "tabpanel",
  635. "term",
  636. "textbox",
  637. "timer",
  638. "toolbar",
  639. "tooltip",
  640. "tree",
  641. "treegrid",
  642. "treeitem",
  643. ]
  644. | Var[
  645. Literal[
  646. "alert",
  647. "alertdialog",
  648. "application",
  649. "article",
  650. "banner",
  651. "button",
  652. "cell",
  653. "checkbox",
  654. "columnheader",
  655. "combobox",
  656. "complementary",
  657. "contentinfo",
  658. "definition",
  659. "dialog",
  660. "directory",
  661. "document",
  662. "feed",
  663. "figure",
  664. "form",
  665. "grid",
  666. "gridcell",
  667. "group",
  668. "heading",
  669. "img",
  670. "link",
  671. "list",
  672. "listbox",
  673. "listitem",
  674. "log",
  675. "main",
  676. "marquee",
  677. "math",
  678. "menu",
  679. "menubar",
  680. "menuitem",
  681. "menuitemcheckbox",
  682. "menuitemradio",
  683. "navigation",
  684. "none",
  685. "note",
  686. "option",
  687. "presentation",
  688. "progressbar",
  689. "radio",
  690. "radiogroup",
  691. "region",
  692. "row",
  693. "rowgroup",
  694. "rowheader",
  695. "scrollbar",
  696. "search",
  697. "searchbox",
  698. "separator",
  699. "slider",
  700. "spinbutton",
  701. "status",
  702. "switch",
  703. "tab",
  704. "table",
  705. "tablist",
  706. "tabpanel",
  707. "term",
  708. "textbox",
  709. "timer",
  710. "toolbar",
  711. "tooltip",
  712. "tree",
  713. "treegrid",
  714. "treeitem",
  715. ]
  716. ]
  717. | None = None,
  718. slot: Var[str] | str | None = None,
  719. spell_check: Var[bool] | bool | None = None,
  720. tab_index: Var[int] | int | None = None,
  721. title: Var[str] | str | None = None,
  722. style: Style | None = None,
  723. key: Any | None = None,
  724. id: Any | None = None,
  725. class_name: Any | None = None,
  726. autofocus: bool | None = None,
  727. custom_attrs: dict[str, Var | Any] | None = None,
  728. on_blur: Optional[EventType[()]] = None,
  729. on_click: Optional[EventType[()]] = None,
  730. on_context_menu: Optional[EventType[()]] = None,
  731. on_double_click: Optional[EventType[()]] = None,
  732. on_focus: Optional[EventType[()]] = None,
  733. on_mount: Optional[EventType[()]] = None,
  734. on_mouse_down: Optional[EventType[()]] = None,
  735. on_mouse_enter: Optional[EventType[()]] = None,
  736. on_mouse_leave: Optional[EventType[()]] = None,
  737. on_mouse_move: Optional[EventType[()]] = None,
  738. on_mouse_out: Optional[EventType[()]] = None,
  739. on_mouse_over: Optional[EventType[()]] = None,
  740. on_mouse_up: Optional[EventType[()]] = None,
  741. on_scroll: Optional[EventType[()]] = None,
  742. on_unmount: Optional[EventType[()]] = None,
  743. **props,
  744. ) -> "B":
  745. """Create the component.
  746. Args:
  747. *children: The children of the component.
  748. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  749. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  750. content_editable: Indicates whether the element's content is editable.
  751. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  752. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  753. draggable: Defines whether the element can be dragged.
  754. enter_key_hint: Hints what media types the media element is able to play.
  755. hidden: Defines whether the element is hidden.
  756. input_mode: Defines the type of the element.
  757. item_prop: Defines the name of the element for metadata purposes.
  758. lang: Defines the language used in the element.
  759. role: Defines the role of the element.
  760. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  761. spell_check: Defines whether the element may be checked for spelling errors.
  762. tab_index: Defines the position of the current element in the tabbing order.
  763. title: Defines a tooltip for the element.
  764. style: The style of the component.
  765. key: A unique key for the component.
  766. id: The id for the component.
  767. class_name: The class name for the component.
  768. autofocus: Whether the component should take the focus once the page is loaded
  769. custom_attrs: custom attribute
  770. **props: The props of the component.
  771. Returns:
  772. The component.
  773. """
  774. ...
  775. class Bdi(BaseHTML):
  776. @overload
  777. @classmethod
  778. def create( # type: ignore
  779. cls,
  780. *children,
  781. access_key: Var[str] | str | None = None,
  782. auto_capitalize: Literal[
  783. "characters", "none", "off", "on", "sentences", "words"
  784. ]
  785. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  786. | None = None,
  787. content_editable: Literal["inherit", "plaintext-only", False, True]
  788. | Var[Literal["inherit", "plaintext-only", False, True]]
  789. | None = None,
  790. context_menu: Var[str] | str | None = None,
  791. dir: Var[str] | str | None = None,
  792. draggable: Var[bool] | bool | None = None,
  793. enter_key_hint: Literal[
  794. "done", "enter", "go", "next", "previous", "search", "send"
  795. ]
  796. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  797. | None = None,
  798. hidden: Var[bool] | bool | None = None,
  799. input_mode: Literal[
  800. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  801. ]
  802. | Var[
  803. Literal[
  804. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  805. ]
  806. ]
  807. | None = None,
  808. item_prop: Var[str] | str | None = None,
  809. lang: Var[str] | str | None = None,
  810. role: Literal[
  811. "alert",
  812. "alertdialog",
  813. "application",
  814. "article",
  815. "banner",
  816. "button",
  817. "cell",
  818. "checkbox",
  819. "columnheader",
  820. "combobox",
  821. "complementary",
  822. "contentinfo",
  823. "definition",
  824. "dialog",
  825. "directory",
  826. "document",
  827. "feed",
  828. "figure",
  829. "form",
  830. "grid",
  831. "gridcell",
  832. "group",
  833. "heading",
  834. "img",
  835. "link",
  836. "list",
  837. "listbox",
  838. "listitem",
  839. "log",
  840. "main",
  841. "marquee",
  842. "math",
  843. "menu",
  844. "menubar",
  845. "menuitem",
  846. "menuitemcheckbox",
  847. "menuitemradio",
  848. "navigation",
  849. "none",
  850. "note",
  851. "option",
  852. "presentation",
  853. "progressbar",
  854. "radio",
  855. "radiogroup",
  856. "region",
  857. "row",
  858. "rowgroup",
  859. "rowheader",
  860. "scrollbar",
  861. "search",
  862. "searchbox",
  863. "separator",
  864. "slider",
  865. "spinbutton",
  866. "status",
  867. "switch",
  868. "tab",
  869. "table",
  870. "tablist",
  871. "tabpanel",
  872. "term",
  873. "textbox",
  874. "timer",
  875. "toolbar",
  876. "tooltip",
  877. "tree",
  878. "treegrid",
  879. "treeitem",
  880. ]
  881. | Var[
  882. Literal[
  883. "alert",
  884. "alertdialog",
  885. "application",
  886. "article",
  887. "banner",
  888. "button",
  889. "cell",
  890. "checkbox",
  891. "columnheader",
  892. "combobox",
  893. "complementary",
  894. "contentinfo",
  895. "definition",
  896. "dialog",
  897. "directory",
  898. "document",
  899. "feed",
  900. "figure",
  901. "form",
  902. "grid",
  903. "gridcell",
  904. "group",
  905. "heading",
  906. "img",
  907. "link",
  908. "list",
  909. "listbox",
  910. "listitem",
  911. "log",
  912. "main",
  913. "marquee",
  914. "math",
  915. "menu",
  916. "menubar",
  917. "menuitem",
  918. "menuitemcheckbox",
  919. "menuitemradio",
  920. "navigation",
  921. "none",
  922. "note",
  923. "option",
  924. "presentation",
  925. "progressbar",
  926. "radio",
  927. "radiogroup",
  928. "region",
  929. "row",
  930. "rowgroup",
  931. "rowheader",
  932. "scrollbar",
  933. "search",
  934. "searchbox",
  935. "separator",
  936. "slider",
  937. "spinbutton",
  938. "status",
  939. "switch",
  940. "tab",
  941. "table",
  942. "tablist",
  943. "tabpanel",
  944. "term",
  945. "textbox",
  946. "timer",
  947. "toolbar",
  948. "tooltip",
  949. "tree",
  950. "treegrid",
  951. "treeitem",
  952. ]
  953. ]
  954. | None = None,
  955. slot: Var[str] | str | None = None,
  956. spell_check: Var[bool] | bool | None = None,
  957. tab_index: Var[int] | int | None = None,
  958. title: Var[str] | str | None = None,
  959. style: Style | None = None,
  960. key: Any | None = None,
  961. id: Any | None = None,
  962. class_name: Any | None = None,
  963. autofocus: bool | None = None,
  964. custom_attrs: dict[str, Var | Any] | None = None,
  965. on_blur: Optional[EventType[()]] = None,
  966. on_click: Optional[EventType[()]] = None,
  967. on_context_menu: Optional[EventType[()]] = None,
  968. on_double_click: Optional[EventType[()]] = None,
  969. on_focus: Optional[EventType[()]] = None,
  970. on_mount: Optional[EventType[()]] = None,
  971. on_mouse_down: Optional[EventType[()]] = None,
  972. on_mouse_enter: Optional[EventType[()]] = None,
  973. on_mouse_leave: Optional[EventType[()]] = None,
  974. on_mouse_move: Optional[EventType[()]] = None,
  975. on_mouse_out: Optional[EventType[()]] = None,
  976. on_mouse_over: Optional[EventType[()]] = None,
  977. on_mouse_up: Optional[EventType[()]] = None,
  978. on_scroll: Optional[EventType[()]] = None,
  979. on_unmount: Optional[EventType[()]] = None,
  980. **props,
  981. ) -> "Bdi":
  982. """Create the component.
  983. Args:
  984. *children: The children of the component.
  985. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  986. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  987. content_editable: Indicates whether the element's content is editable.
  988. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  989. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  990. draggable: Defines whether the element can be dragged.
  991. enter_key_hint: Hints what media types the media element is able to play.
  992. hidden: Defines whether the element is hidden.
  993. input_mode: Defines the type of the element.
  994. item_prop: Defines the name of the element for metadata purposes.
  995. lang: Defines the language used in the element.
  996. role: Defines the role of the element.
  997. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  998. spell_check: Defines whether the element may be checked for spelling errors.
  999. tab_index: Defines the position of the current element in the tabbing order.
  1000. title: Defines a tooltip for the element.
  1001. style: The style of the component.
  1002. key: A unique key for the component.
  1003. id: The id for the component.
  1004. class_name: The class name for the component.
  1005. autofocus: Whether the component should take the focus once the page is loaded
  1006. custom_attrs: custom attribute
  1007. **props: The props of the component.
  1008. Returns:
  1009. The component.
  1010. """
  1011. ...
  1012. class Bdo(BaseHTML):
  1013. @overload
  1014. @classmethod
  1015. def create( # type: ignore
  1016. cls,
  1017. *children,
  1018. access_key: Var[str] | str | None = None,
  1019. auto_capitalize: Literal[
  1020. "characters", "none", "off", "on", "sentences", "words"
  1021. ]
  1022. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1023. | None = None,
  1024. content_editable: Literal["inherit", "plaintext-only", False, True]
  1025. | Var[Literal["inherit", "plaintext-only", False, True]]
  1026. | None = None,
  1027. context_menu: Var[str] | str | None = None,
  1028. dir: Var[str] | str | None = None,
  1029. draggable: Var[bool] | bool | None = None,
  1030. enter_key_hint: Literal[
  1031. "done", "enter", "go", "next", "previous", "search", "send"
  1032. ]
  1033. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1034. | None = None,
  1035. hidden: Var[bool] | bool | None = None,
  1036. input_mode: Literal[
  1037. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1038. ]
  1039. | Var[
  1040. Literal[
  1041. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1042. ]
  1043. ]
  1044. | None = None,
  1045. item_prop: Var[str] | str | None = None,
  1046. lang: Var[str] | str | None = None,
  1047. role: Literal[
  1048. "alert",
  1049. "alertdialog",
  1050. "application",
  1051. "article",
  1052. "banner",
  1053. "button",
  1054. "cell",
  1055. "checkbox",
  1056. "columnheader",
  1057. "combobox",
  1058. "complementary",
  1059. "contentinfo",
  1060. "definition",
  1061. "dialog",
  1062. "directory",
  1063. "document",
  1064. "feed",
  1065. "figure",
  1066. "form",
  1067. "grid",
  1068. "gridcell",
  1069. "group",
  1070. "heading",
  1071. "img",
  1072. "link",
  1073. "list",
  1074. "listbox",
  1075. "listitem",
  1076. "log",
  1077. "main",
  1078. "marquee",
  1079. "math",
  1080. "menu",
  1081. "menubar",
  1082. "menuitem",
  1083. "menuitemcheckbox",
  1084. "menuitemradio",
  1085. "navigation",
  1086. "none",
  1087. "note",
  1088. "option",
  1089. "presentation",
  1090. "progressbar",
  1091. "radio",
  1092. "radiogroup",
  1093. "region",
  1094. "row",
  1095. "rowgroup",
  1096. "rowheader",
  1097. "scrollbar",
  1098. "search",
  1099. "searchbox",
  1100. "separator",
  1101. "slider",
  1102. "spinbutton",
  1103. "status",
  1104. "switch",
  1105. "tab",
  1106. "table",
  1107. "tablist",
  1108. "tabpanel",
  1109. "term",
  1110. "textbox",
  1111. "timer",
  1112. "toolbar",
  1113. "tooltip",
  1114. "tree",
  1115. "treegrid",
  1116. "treeitem",
  1117. ]
  1118. | Var[
  1119. Literal[
  1120. "alert",
  1121. "alertdialog",
  1122. "application",
  1123. "article",
  1124. "banner",
  1125. "button",
  1126. "cell",
  1127. "checkbox",
  1128. "columnheader",
  1129. "combobox",
  1130. "complementary",
  1131. "contentinfo",
  1132. "definition",
  1133. "dialog",
  1134. "directory",
  1135. "document",
  1136. "feed",
  1137. "figure",
  1138. "form",
  1139. "grid",
  1140. "gridcell",
  1141. "group",
  1142. "heading",
  1143. "img",
  1144. "link",
  1145. "list",
  1146. "listbox",
  1147. "listitem",
  1148. "log",
  1149. "main",
  1150. "marquee",
  1151. "math",
  1152. "menu",
  1153. "menubar",
  1154. "menuitem",
  1155. "menuitemcheckbox",
  1156. "menuitemradio",
  1157. "navigation",
  1158. "none",
  1159. "note",
  1160. "option",
  1161. "presentation",
  1162. "progressbar",
  1163. "radio",
  1164. "radiogroup",
  1165. "region",
  1166. "row",
  1167. "rowgroup",
  1168. "rowheader",
  1169. "scrollbar",
  1170. "search",
  1171. "searchbox",
  1172. "separator",
  1173. "slider",
  1174. "spinbutton",
  1175. "status",
  1176. "switch",
  1177. "tab",
  1178. "table",
  1179. "tablist",
  1180. "tabpanel",
  1181. "term",
  1182. "textbox",
  1183. "timer",
  1184. "toolbar",
  1185. "tooltip",
  1186. "tree",
  1187. "treegrid",
  1188. "treeitem",
  1189. ]
  1190. ]
  1191. | None = None,
  1192. slot: Var[str] | str | None = None,
  1193. spell_check: Var[bool] | bool | None = None,
  1194. tab_index: Var[int] | int | None = None,
  1195. title: Var[str] | str | None = None,
  1196. style: Style | None = None,
  1197. key: Any | None = None,
  1198. id: Any | None = None,
  1199. class_name: Any | None = None,
  1200. autofocus: bool | None = None,
  1201. custom_attrs: dict[str, Var | Any] | None = None,
  1202. on_blur: Optional[EventType[()]] = None,
  1203. on_click: Optional[EventType[()]] = None,
  1204. on_context_menu: Optional[EventType[()]] = None,
  1205. on_double_click: Optional[EventType[()]] = None,
  1206. on_focus: Optional[EventType[()]] = None,
  1207. on_mount: Optional[EventType[()]] = None,
  1208. on_mouse_down: Optional[EventType[()]] = None,
  1209. on_mouse_enter: Optional[EventType[()]] = None,
  1210. on_mouse_leave: Optional[EventType[()]] = None,
  1211. on_mouse_move: Optional[EventType[()]] = None,
  1212. on_mouse_out: Optional[EventType[()]] = None,
  1213. on_mouse_over: Optional[EventType[()]] = None,
  1214. on_mouse_up: Optional[EventType[()]] = None,
  1215. on_scroll: Optional[EventType[()]] = None,
  1216. on_unmount: Optional[EventType[()]] = None,
  1217. **props,
  1218. ) -> "Bdo":
  1219. """Create the component.
  1220. Args:
  1221. *children: The children of the component.
  1222. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1223. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1224. content_editable: Indicates whether the element's content is editable.
  1225. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1226. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1227. draggable: Defines whether the element can be dragged.
  1228. enter_key_hint: Hints what media types the media element is able to play.
  1229. hidden: Defines whether the element is hidden.
  1230. input_mode: Defines the type of the element.
  1231. item_prop: Defines the name of the element for metadata purposes.
  1232. lang: Defines the language used in the element.
  1233. role: Defines the role of the element.
  1234. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1235. spell_check: Defines whether the element may be checked for spelling errors.
  1236. tab_index: Defines the position of the current element in the tabbing order.
  1237. title: Defines a tooltip for the element.
  1238. style: The style of the component.
  1239. key: A unique key for the component.
  1240. id: The id for the component.
  1241. class_name: The class name for the component.
  1242. autofocus: Whether the component should take the focus once the page is loaded
  1243. custom_attrs: custom attribute
  1244. **props: The props of the component.
  1245. Returns:
  1246. The component.
  1247. """
  1248. ...
  1249. class Br(BaseHTML):
  1250. @overload
  1251. @classmethod
  1252. def create( # type: ignore
  1253. cls,
  1254. *children,
  1255. access_key: Var[str] | str | None = None,
  1256. auto_capitalize: Literal[
  1257. "characters", "none", "off", "on", "sentences", "words"
  1258. ]
  1259. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1260. | None = None,
  1261. content_editable: Literal["inherit", "plaintext-only", False, True]
  1262. | Var[Literal["inherit", "plaintext-only", False, True]]
  1263. | None = None,
  1264. context_menu: Var[str] | str | None = None,
  1265. dir: Var[str] | str | None = None,
  1266. draggable: Var[bool] | bool | None = None,
  1267. enter_key_hint: Literal[
  1268. "done", "enter", "go", "next", "previous", "search", "send"
  1269. ]
  1270. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1271. | None = None,
  1272. hidden: Var[bool] | bool | None = None,
  1273. input_mode: Literal[
  1274. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1275. ]
  1276. | Var[
  1277. Literal[
  1278. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1279. ]
  1280. ]
  1281. | None = None,
  1282. item_prop: Var[str] | str | None = None,
  1283. lang: Var[str] | str | None = None,
  1284. role: Literal[
  1285. "alert",
  1286. "alertdialog",
  1287. "application",
  1288. "article",
  1289. "banner",
  1290. "button",
  1291. "cell",
  1292. "checkbox",
  1293. "columnheader",
  1294. "combobox",
  1295. "complementary",
  1296. "contentinfo",
  1297. "definition",
  1298. "dialog",
  1299. "directory",
  1300. "document",
  1301. "feed",
  1302. "figure",
  1303. "form",
  1304. "grid",
  1305. "gridcell",
  1306. "group",
  1307. "heading",
  1308. "img",
  1309. "link",
  1310. "list",
  1311. "listbox",
  1312. "listitem",
  1313. "log",
  1314. "main",
  1315. "marquee",
  1316. "math",
  1317. "menu",
  1318. "menubar",
  1319. "menuitem",
  1320. "menuitemcheckbox",
  1321. "menuitemradio",
  1322. "navigation",
  1323. "none",
  1324. "note",
  1325. "option",
  1326. "presentation",
  1327. "progressbar",
  1328. "radio",
  1329. "radiogroup",
  1330. "region",
  1331. "row",
  1332. "rowgroup",
  1333. "rowheader",
  1334. "scrollbar",
  1335. "search",
  1336. "searchbox",
  1337. "separator",
  1338. "slider",
  1339. "spinbutton",
  1340. "status",
  1341. "switch",
  1342. "tab",
  1343. "table",
  1344. "tablist",
  1345. "tabpanel",
  1346. "term",
  1347. "textbox",
  1348. "timer",
  1349. "toolbar",
  1350. "tooltip",
  1351. "tree",
  1352. "treegrid",
  1353. "treeitem",
  1354. ]
  1355. | Var[
  1356. Literal[
  1357. "alert",
  1358. "alertdialog",
  1359. "application",
  1360. "article",
  1361. "banner",
  1362. "button",
  1363. "cell",
  1364. "checkbox",
  1365. "columnheader",
  1366. "combobox",
  1367. "complementary",
  1368. "contentinfo",
  1369. "definition",
  1370. "dialog",
  1371. "directory",
  1372. "document",
  1373. "feed",
  1374. "figure",
  1375. "form",
  1376. "grid",
  1377. "gridcell",
  1378. "group",
  1379. "heading",
  1380. "img",
  1381. "link",
  1382. "list",
  1383. "listbox",
  1384. "listitem",
  1385. "log",
  1386. "main",
  1387. "marquee",
  1388. "math",
  1389. "menu",
  1390. "menubar",
  1391. "menuitem",
  1392. "menuitemcheckbox",
  1393. "menuitemradio",
  1394. "navigation",
  1395. "none",
  1396. "note",
  1397. "option",
  1398. "presentation",
  1399. "progressbar",
  1400. "radio",
  1401. "radiogroup",
  1402. "region",
  1403. "row",
  1404. "rowgroup",
  1405. "rowheader",
  1406. "scrollbar",
  1407. "search",
  1408. "searchbox",
  1409. "separator",
  1410. "slider",
  1411. "spinbutton",
  1412. "status",
  1413. "switch",
  1414. "tab",
  1415. "table",
  1416. "tablist",
  1417. "tabpanel",
  1418. "term",
  1419. "textbox",
  1420. "timer",
  1421. "toolbar",
  1422. "tooltip",
  1423. "tree",
  1424. "treegrid",
  1425. "treeitem",
  1426. ]
  1427. ]
  1428. | None = None,
  1429. slot: Var[str] | str | None = None,
  1430. spell_check: Var[bool] | bool | None = None,
  1431. tab_index: Var[int] | int | None = None,
  1432. title: Var[str] | str | None = None,
  1433. style: Style | None = None,
  1434. key: Any | None = None,
  1435. id: Any | None = None,
  1436. class_name: Any | None = None,
  1437. autofocus: bool | None = None,
  1438. custom_attrs: dict[str, Var | Any] | None = None,
  1439. on_blur: Optional[EventType[()]] = None,
  1440. on_click: Optional[EventType[()]] = None,
  1441. on_context_menu: Optional[EventType[()]] = None,
  1442. on_double_click: Optional[EventType[()]] = None,
  1443. on_focus: Optional[EventType[()]] = None,
  1444. on_mount: Optional[EventType[()]] = None,
  1445. on_mouse_down: Optional[EventType[()]] = None,
  1446. on_mouse_enter: Optional[EventType[()]] = None,
  1447. on_mouse_leave: Optional[EventType[()]] = None,
  1448. on_mouse_move: Optional[EventType[()]] = None,
  1449. on_mouse_out: Optional[EventType[()]] = None,
  1450. on_mouse_over: Optional[EventType[()]] = None,
  1451. on_mouse_up: Optional[EventType[()]] = None,
  1452. on_scroll: Optional[EventType[()]] = None,
  1453. on_unmount: Optional[EventType[()]] = None,
  1454. **props,
  1455. ) -> "Br":
  1456. """Create the component.
  1457. Args:
  1458. *children: The children of the component.
  1459. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1460. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1461. content_editable: Indicates whether the element's content is editable.
  1462. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1463. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1464. draggable: Defines whether the element can be dragged.
  1465. enter_key_hint: Hints what media types the media element is able to play.
  1466. hidden: Defines whether the element is hidden.
  1467. input_mode: Defines the type of the element.
  1468. item_prop: Defines the name of the element for metadata purposes.
  1469. lang: Defines the language used in the element.
  1470. role: Defines the role of the element.
  1471. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1472. spell_check: Defines whether the element may be checked for spelling errors.
  1473. tab_index: Defines the position of the current element in the tabbing order.
  1474. title: Defines a tooltip for the element.
  1475. style: The style of the component.
  1476. key: A unique key for the component.
  1477. id: The id for the component.
  1478. class_name: The class name for the component.
  1479. autofocus: Whether the component should take the focus once the page is loaded
  1480. custom_attrs: custom attribute
  1481. **props: The props of the component.
  1482. Returns:
  1483. The component.
  1484. """
  1485. ...
  1486. class Cite(BaseHTML):
  1487. @overload
  1488. @classmethod
  1489. def create( # type: ignore
  1490. cls,
  1491. *children,
  1492. access_key: Var[str] | str | None = None,
  1493. auto_capitalize: Literal[
  1494. "characters", "none", "off", "on", "sentences", "words"
  1495. ]
  1496. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1497. | None = None,
  1498. content_editable: Literal["inherit", "plaintext-only", False, True]
  1499. | Var[Literal["inherit", "plaintext-only", False, True]]
  1500. | None = None,
  1501. context_menu: Var[str] | str | None = None,
  1502. dir: Var[str] | str | None = None,
  1503. draggable: Var[bool] | bool | None = None,
  1504. enter_key_hint: Literal[
  1505. "done", "enter", "go", "next", "previous", "search", "send"
  1506. ]
  1507. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1508. | None = None,
  1509. hidden: Var[bool] | bool | None = None,
  1510. input_mode: Literal[
  1511. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1512. ]
  1513. | Var[
  1514. Literal[
  1515. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1516. ]
  1517. ]
  1518. | None = None,
  1519. item_prop: Var[str] | str | None = None,
  1520. lang: Var[str] | str | None = None,
  1521. role: Literal[
  1522. "alert",
  1523. "alertdialog",
  1524. "application",
  1525. "article",
  1526. "banner",
  1527. "button",
  1528. "cell",
  1529. "checkbox",
  1530. "columnheader",
  1531. "combobox",
  1532. "complementary",
  1533. "contentinfo",
  1534. "definition",
  1535. "dialog",
  1536. "directory",
  1537. "document",
  1538. "feed",
  1539. "figure",
  1540. "form",
  1541. "grid",
  1542. "gridcell",
  1543. "group",
  1544. "heading",
  1545. "img",
  1546. "link",
  1547. "list",
  1548. "listbox",
  1549. "listitem",
  1550. "log",
  1551. "main",
  1552. "marquee",
  1553. "math",
  1554. "menu",
  1555. "menubar",
  1556. "menuitem",
  1557. "menuitemcheckbox",
  1558. "menuitemradio",
  1559. "navigation",
  1560. "none",
  1561. "note",
  1562. "option",
  1563. "presentation",
  1564. "progressbar",
  1565. "radio",
  1566. "radiogroup",
  1567. "region",
  1568. "row",
  1569. "rowgroup",
  1570. "rowheader",
  1571. "scrollbar",
  1572. "search",
  1573. "searchbox",
  1574. "separator",
  1575. "slider",
  1576. "spinbutton",
  1577. "status",
  1578. "switch",
  1579. "tab",
  1580. "table",
  1581. "tablist",
  1582. "tabpanel",
  1583. "term",
  1584. "textbox",
  1585. "timer",
  1586. "toolbar",
  1587. "tooltip",
  1588. "tree",
  1589. "treegrid",
  1590. "treeitem",
  1591. ]
  1592. | Var[
  1593. Literal[
  1594. "alert",
  1595. "alertdialog",
  1596. "application",
  1597. "article",
  1598. "banner",
  1599. "button",
  1600. "cell",
  1601. "checkbox",
  1602. "columnheader",
  1603. "combobox",
  1604. "complementary",
  1605. "contentinfo",
  1606. "definition",
  1607. "dialog",
  1608. "directory",
  1609. "document",
  1610. "feed",
  1611. "figure",
  1612. "form",
  1613. "grid",
  1614. "gridcell",
  1615. "group",
  1616. "heading",
  1617. "img",
  1618. "link",
  1619. "list",
  1620. "listbox",
  1621. "listitem",
  1622. "log",
  1623. "main",
  1624. "marquee",
  1625. "math",
  1626. "menu",
  1627. "menubar",
  1628. "menuitem",
  1629. "menuitemcheckbox",
  1630. "menuitemradio",
  1631. "navigation",
  1632. "none",
  1633. "note",
  1634. "option",
  1635. "presentation",
  1636. "progressbar",
  1637. "radio",
  1638. "radiogroup",
  1639. "region",
  1640. "row",
  1641. "rowgroup",
  1642. "rowheader",
  1643. "scrollbar",
  1644. "search",
  1645. "searchbox",
  1646. "separator",
  1647. "slider",
  1648. "spinbutton",
  1649. "status",
  1650. "switch",
  1651. "tab",
  1652. "table",
  1653. "tablist",
  1654. "tabpanel",
  1655. "term",
  1656. "textbox",
  1657. "timer",
  1658. "toolbar",
  1659. "tooltip",
  1660. "tree",
  1661. "treegrid",
  1662. "treeitem",
  1663. ]
  1664. ]
  1665. | None = None,
  1666. slot: Var[str] | str | None = None,
  1667. spell_check: Var[bool] | bool | None = None,
  1668. tab_index: Var[int] | int | None = None,
  1669. title: Var[str] | str | None = None,
  1670. style: Style | None = None,
  1671. key: Any | None = None,
  1672. id: Any | None = None,
  1673. class_name: Any | None = None,
  1674. autofocus: bool | None = None,
  1675. custom_attrs: dict[str, Var | Any] | None = None,
  1676. on_blur: Optional[EventType[()]] = None,
  1677. on_click: Optional[EventType[()]] = None,
  1678. on_context_menu: Optional[EventType[()]] = None,
  1679. on_double_click: Optional[EventType[()]] = None,
  1680. on_focus: Optional[EventType[()]] = None,
  1681. on_mount: Optional[EventType[()]] = None,
  1682. on_mouse_down: Optional[EventType[()]] = None,
  1683. on_mouse_enter: Optional[EventType[()]] = None,
  1684. on_mouse_leave: Optional[EventType[()]] = None,
  1685. on_mouse_move: Optional[EventType[()]] = None,
  1686. on_mouse_out: Optional[EventType[()]] = None,
  1687. on_mouse_over: Optional[EventType[()]] = None,
  1688. on_mouse_up: Optional[EventType[()]] = None,
  1689. on_scroll: Optional[EventType[()]] = None,
  1690. on_unmount: Optional[EventType[()]] = None,
  1691. **props,
  1692. ) -> "Cite":
  1693. """Create the component.
  1694. Args:
  1695. *children: The children of the component.
  1696. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1697. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1698. content_editable: Indicates whether the element's content is editable.
  1699. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1700. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1701. draggable: Defines whether the element can be dragged.
  1702. enter_key_hint: Hints what media types the media element is able to play.
  1703. hidden: Defines whether the element is hidden.
  1704. input_mode: Defines the type of the element.
  1705. item_prop: Defines the name of the element for metadata purposes.
  1706. lang: Defines the language used in the element.
  1707. role: Defines the role of the element.
  1708. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1709. spell_check: Defines whether the element may be checked for spelling errors.
  1710. tab_index: Defines the position of the current element in the tabbing order.
  1711. title: Defines a tooltip for the element.
  1712. style: The style of the component.
  1713. key: A unique key for the component.
  1714. id: The id for the component.
  1715. class_name: The class name for the component.
  1716. autofocus: Whether the component should take the focus once the page is loaded
  1717. custom_attrs: custom attribute
  1718. **props: The props of the component.
  1719. Returns:
  1720. The component.
  1721. """
  1722. ...
  1723. class Code(BaseHTML):
  1724. @overload
  1725. @classmethod
  1726. def create( # type: ignore
  1727. cls,
  1728. *children,
  1729. access_key: Var[str] | str | None = None,
  1730. auto_capitalize: Literal[
  1731. "characters", "none", "off", "on", "sentences", "words"
  1732. ]
  1733. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1734. | None = None,
  1735. content_editable: Literal["inherit", "plaintext-only", False, True]
  1736. | Var[Literal["inherit", "plaintext-only", False, True]]
  1737. | None = None,
  1738. context_menu: Var[str] | str | None = None,
  1739. dir: Var[str] | str | None = None,
  1740. draggable: Var[bool] | bool | None = None,
  1741. enter_key_hint: Literal[
  1742. "done", "enter", "go", "next", "previous", "search", "send"
  1743. ]
  1744. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1745. | None = None,
  1746. hidden: Var[bool] | bool | None = None,
  1747. input_mode: Literal[
  1748. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1749. ]
  1750. | Var[
  1751. Literal[
  1752. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1753. ]
  1754. ]
  1755. | None = None,
  1756. item_prop: Var[str] | str | None = None,
  1757. lang: Var[str] | str | None = None,
  1758. role: Literal[
  1759. "alert",
  1760. "alertdialog",
  1761. "application",
  1762. "article",
  1763. "banner",
  1764. "button",
  1765. "cell",
  1766. "checkbox",
  1767. "columnheader",
  1768. "combobox",
  1769. "complementary",
  1770. "contentinfo",
  1771. "definition",
  1772. "dialog",
  1773. "directory",
  1774. "document",
  1775. "feed",
  1776. "figure",
  1777. "form",
  1778. "grid",
  1779. "gridcell",
  1780. "group",
  1781. "heading",
  1782. "img",
  1783. "link",
  1784. "list",
  1785. "listbox",
  1786. "listitem",
  1787. "log",
  1788. "main",
  1789. "marquee",
  1790. "math",
  1791. "menu",
  1792. "menubar",
  1793. "menuitem",
  1794. "menuitemcheckbox",
  1795. "menuitemradio",
  1796. "navigation",
  1797. "none",
  1798. "note",
  1799. "option",
  1800. "presentation",
  1801. "progressbar",
  1802. "radio",
  1803. "radiogroup",
  1804. "region",
  1805. "row",
  1806. "rowgroup",
  1807. "rowheader",
  1808. "scrollbar",
  1809. "search",
  1810. "searchbox",
  1811. "separator",
  1812. "slider",
  1813. "spinbutton",
  1814. "status",
  1815. "switch",
  1816. "tab",
  1817. "table",
  1818. "tablist",
  1819. "tabpanel",
  1820. "term",
  1821. "textbox",
  1822. "timer",
  1823. "toolbar",
  1824. "tooltip",
  1825. "tree",
  1826. "treegrid",
  1827. "treeitem",
  1828. ]
  1829. | Var[
  1830. Literal[
  1831. "alert",
  1832. "alertdialog",
  1833. "application",
  1834. "article",
  1835. "banner",
  1836. "button",
  1837. "cell",
  1838. "checkbox",
  1839. "columnheader",
  1840. "combobox",
  1841. "complementary",
  1842. "contentinfo",
  1843. "definition",
  1844. "dialog",
  1845. "directory",
  1846. "document",
  1847. "feed",
  1848. "figure",
  1849. "form",
  1850. "grid",
  1851. "gridcell",
  1852. "group",
  1853. "heading",
  1854. "img",
  1855. "link",
  1856. "list",
  1857. "listbox",
  1858. "listitem",
  1859. "log",
  1860. "main",
  1861. "marquee",
  1862. "math",
  1863. "menu",
  1864. "menubar",
  1865. "menuitem",
  1866. "menuitemcheckbox",
  1867. "menuitemradio",
  1868. "navigation",
  1869. "none",
  1870. "note",
  1871. "option",
  1872. "presentation",
  1873. "progressbar",
  1874. "radio",
  1875. "radiogroup",
  1876. "region",
  1877. "row",
  1878. "rowgroup",
  1879. "rowheader",
  1880. "scrollbar",
  1881. "search",
  1882. "searchbox",
  1883. "separator",
  1884. "slider",
  1885. "spinbutton",
  1886. "status",
  1887. "switch",
  1888. "tab",
  1889. "table",
  1890. "tablist",
  1891. "tabpanel",
  1892. "term",
  1893. "textbox",
  1894. "timer",
  1895. "toolbar",
  1896. "tooltip",
  1897. "tree",
  1898. "treegrid",
  1899. "treeitem",
  1900. ]
  1901. ]
  1902. | None = None,
  1903. slot: Var[str] | str | None = None,
  1904. spell_check: Var[bool] | bool | None = None,
  1905. tab_index: Var[int] | int | None = None,
  1906. title: Var[str] | str | None = None,
  1907. style: Style | None = None,
  1908. key: Any | None = None,
  1909. id: Any | None = None,
  1910. class_name: Any | None = None,
  1911. autofocus: bool | None = None,
  1912. custom_attrs: dict[str, Var | Any] | None = None,
  1913. on_blur: Optional[EventType[()]] = None,
  1914. on_click: Optional[EventType[()]] = None,
  1915. on_context_menu: Optional[EventType[()]] = None,
  1916. on_double_click: Optional[EventType[()]] = None,
  1917. on_focus: Optional[EventType[()]] = None,
  1918. on_mount: Optional[EventType[()]] = None,
  1919. on_mouse_down: Optional[EventType[()]] = None,
  1920. on_mouse_enter: Optional[EventType[()]] = None,
  1921. on_mouse_leave: Optional[EventType[()]] = None,
  1922. on_mouse_move: Optional[EventType[()]] = None,
  1923. on_mouse_out: Optional[EventType[()]] = None,
  1924. on_mouse_over: Optional[EventType[()]] = None,
  1925. on_mouse_up: Optional[EventType[()]] = None,
  1926. on_scroll: Optional[EventType[()]] = None,
  1927. on_unmount: Optional[EventType[()]] = None,
  1928. **props,
  1929. ) -> "Code":
  1930. """Create the component.
  1931. Args:
  1932. *children: The children of the component.
  1933. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1934. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1935. content_editable: Indicates whether the element's content is editable.
  1936. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1937. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1938. draggable: Defines whether the element can be dragged.
  1939. enter_key_hint: Hints what media types the media element is able to play.
  1940. hidden: Defines whether the element is hidden.
  1941. input_mode: Defines the type of the element.
  1942. item_prop: Defines the name of the element for metadata purposes.
  1943. lang: Defines the language used in the element.
  1944. role: Defines the role of the element.
  1945. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1946. spell_check: Defines whether the element may be checked for spelling errors.
  1947. tab_index: Defines the position of the current element in the tabbing order.
  1948. title: Defines a tooltip for the element.
  1949. style: The style of the component.
  1950. key: A unique key for the component.
  1951. id: The id for the component.
  1952. class_name: The class name for the component.
  1953. autofocus: Whether the component should take the focus once the page is loaded
  1954. custom_attrs: custom attribute
  1955. **props: The props of the component.
  1956. Returns:
  1957. The component.
  1958. """
  1959. ...
  1960. class Data(BaseHTML):
  1961. @overload
  1962. @classmethod
  1963. def create( # type: ignore
  1964. cls,
  1965. *children,
  1966. value: Var[float | int | str] | float | int | str | None = None,
  1967. access_key: Var[str] | str | None = None,
  1968. auto_capitalize: Literal[
  1969. "characters", "none", "off", "on", "sentences", "words"
  1970. ]
  1971. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  1972. | None = None,
  1973. content_editable: Literal["inherit", "plaintext-only", False, True]
  1974. | Var[Literal["inherit", "plaintext-only", False, True]]
  1975. | None = None,
  1976. context_menu: Var[str] | str | None = None,
  1977. dir: Var[str] | str | None = None,
  1978. draggable: Var[bool] | bool | None = None,
  1979. enter_key_hint: Literal[
  1980. "done", "enter", "go", "next", "previous", "search", "send"
  1981. ]
  1982. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  1983. | None = None,
  1984. hidden: Var[bool] | bool | None = None,
  1985. input_mode: Literal[
  1986. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1987. ]
  1988. | Var[
  1989. Literal[
  1990. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  1991. ]
  1992. ]
  1993. | None = None,
  1994. item_prop: Var[str] | str | None = None,
  1995. lang: Var[str] | str | None = None,
  1996. role: Literal[
  1997. "alert",
  1998. "alertdialog",
  1999. "application",
  2000. "article",
  2001. "banner",
  2002. "button",
  2003. "cell",
  2004. "checkbox",
  2005. "columnheader",
  2006. "combobox",
  2007. "complementary",
  2008. "contentinfo",
  2009. "definition",
  2010. "dialog",
  2011. "directory",
  2012. "document",
  2013. "feed",
  2014. "figure",
  2015. "form",
  2016. "grid",
  2017. "gridcell",
  2018. "group",
  2019. "heading",
  2020. "img",
  2021. "link",
  2022. "list",
  2023. "listbox",
  2024. "listitem",
  2025. "log",
  2026. "main",
  2027. "marquee",
  2028. "math",
  2029. "menu",
  2030. "menubar",
  2031. "menuitem",
  2032. "menuitemcheckbox",
  2033. "menuitemradio",
  2034. "navigation",
  2035. "none",
  2036. "note",
  2037. "option",
  2038. "presentation",
  2039. "progressbar",
  2040. "radio",
  2041. "radiogroup",
  2042. "region",
  2043. "row",
  2044. "rowgroup",
  2045. "rowheader",
  2046. "scrollbar",
  2047. "search",
  2048. "searchbox",
  2049. "separator",
  2050. "slider",
  2051. "spinbutton",
  2052. "status",
  2053. "switch",
  2054. "tab",
  2055. "table",
  2056. "tablist",
  2057. "tabpanel",
  2058. "term",
  2059. "textbox",
  2060. "timer",
  2061. "toolbar",
  2062. "tooltip",
  2063. "tree",
  2064. "treegrid",
  2065. "treeitem",
  2066. ]
  2067. | Var[
  2068. Literal[
  2069. "alert",
  2070. "alertdialog",
  2071. "application",
  2072. "article",
  2073. "banner",
  2074. "button",
  2075. "cell",
  2076. "checkbox",
  2077. "columnheader",
  2078. "combobox",
  2079. "complementary",
  2080. "contentinfo",
  2081. "definition",
  2082. "dialog",
  2083. "directory",
  2084. "document",
  2085. "feed",
  2086. "figure",
  2087. "form",
  2088. "grid",
  2089. "gridcell",
  2090. "group",
  2091. "heading",
  2092. "img",
  2093. "link",
  2094. "list",
  2095. "listbox",
  2096. "listitem",
  2097. "log",
  2098. "main",
  2099. "marquee",
  2100. "math",
  2101. "menu",
  2102. "menubar",
  2103. "menuitem",
  2104. "menuitemcheckbox",
  2105. "menuitemradio",
  2106. "navigation",
  2107. "none",
  2108. "note",
  2109. "option",
  2110. "presentation",
  2111. "progressbar",
  2112. "radio",
  2113. "radiogroup",
  2114. "region",
  2115. "row",
  2116. "rowgroup",
  2117. "rowheader",
  2118. "scrollbar",
  2119. "search",
  2120. "searchbox",
  2121. "separator",
  2122. "slider",
  2123. "spinbutton",
  2124. "status",
  2125. "switch",
  2126. "tab",
  2127. "table",
  2128. "tablist",
  2129. "tabpanel",
  2130. "term",
  2131. "textbox",
  2132. "timer",
  2133. "toolbar",
  2134. "tooltip",
  2135. "tree",
  2136. "treegrid",
  2137. "treeitem",
  2138. ]
  2139. ]
  2140. | None = None,
  2141. slot: Var[str] | str | None = None,
  2142. spell_check: Var[bool] | bool | None = None,
  2143. tab_index: Var[int] | int | None = None,
  2144. title: Var[str] | str | None = None,
  2145. style: Style | None = None,
  2146. key: Any | None = None,
  2147. id: Any | None = None,
  2148. class_name: Any | None = None,
  2149. autofocus: bool | None = None,
  2150. custom_attrs: dict[str, Var | Any] | None = None,
  2151. on_blur: Optional[EventType[()]] = None,
  2152. on_click: Optional[EventType[()]] = None,
  2153. on_context_menu: Optional[EventType[()]] = None,
  2154. on_double_click: Optional[EventType[()]] = None,
  2155. on_focus: Optional[EventType[()]] = None,
  2156. on_mount: Optional[EventType[()]] = None,
  2157. on_mouse_down: Optional[EventType[()]] = None,
  2158. on_mouse_enter: Optional[EventType[()]] = None,
  2159. on_mouse_leave: Optional[EventType[()]] = None,
  2160. on_mouse_move: Optional[EventType[()]] = None,
  2161. on_mouse_out: Optional[EventType[()]] = None,
  2162. on_mouse_over: Optional[EventType[()]] = None,
  2163. on_mouse_up: Optional[EventType[()]] = None,
  2164. on_scroll: Optional[EventType[()]] = None,
  2165. on_unmount: Optional[EventType[()]] = None,
  2166. **props,
  2167. ) -> "Data":
  2168. """Create the component.
  2169. Args:
  2170. *children: The children of the component.
  2171. value: Specifies the machine-readable translation of the data element.
  2172. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2173. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2174. content_editable: Indicates whether the element's content is editable.
  2175. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2176. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2177. draggable: Defines whether the element can be dragged.
  2178. enter_key_hint: Hints what media types the media element is able to play.
  2179. hidden: Defines whether the element is hidden.
  2180. input_mode: Defines the type of the element.
  2181. item_prop: Defines the name of the element for metadata purposes.
  2182. lang: Defines the language used in the element.
  2183. role: Defines the role of the element.
  2184. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2185. spell_check: Defines whether the element may be checked for spelling errors.
  2186. tab_index: Defines the position of the current element in the tabbing order.
  2187. title: Defines a tooltip for the element.
  2188. style: The style of the component.
  2189. key: A unique key for the component.
  2190. id: The id for the component.
  2191. class_name: The class name for the component.
  2192. autofocus: Whether the component should take the focus once the page is loaded
  2193. custom_attrs: custom attribute
  2194. **props: The props of the component.
  2195. Returns:
  2196. The component.
  2197. """
  2198. ...
  2199. class Dfn(BaseHTML):
  2200. @overload
  2201. @classmethod
  2202. def create( # type: ignore
  2203. cls,
  2204. *children,
  2205. access_key: Var[str] | str | None = None,
  2206. auto_capitalize: Literal[
  2207. "characters", "none", "off", "on", "sentences", "words"
  2208. ]
  2209. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2210. | None = None,
  2211. content_editable: Literal["inherit", "plaintext-only", False, True]
  2212. | Var[Literal["inherit", "plaintext-only", False, True]]
  2213. | None = None,
  2214. context_menu: Var[str] | str | None = None,
  2215. dir: Var[str] | str | None = None,
  2216. draggable: Var[bool] | bool | None = None,
  2217. enter_key_hint: Literal[
  2218. "done", "enter", "go", "next", "previous", "search", "send"
  2219. ]
  2220. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2221. | None = None,
  2222. hidden: Var[bool] | bool | None = None,
  2223. input_mode: Literal[
  2224. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2225. ]
  2226. | Var[
  2227. Literal[
  2228. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2229. ]
  2230. ]
  2231. | None = None,
  2232. item_prop: Var[str] | str | None = None,
  2233. lang: Var[str] | str | None = None,
  2234. role: Literal[
  2235. "alert",
  2236. "alertdialog",
  2237. "application",
  2238. "article",
  2239. "banner",
  2240. "button",
  2241. "cell",
  2242. "checkbox",
  2243. "columnheader",
  2244. "combobox",
  2245. "complementary",
  2246. "contentinfo",
  2247. "definition",
  2248. "dialog",
  2249. "directory",
  2250. "document",
  2251. "feed",
  2252. "figure",
  2253. "form",
  2254. "grid",
  2255. "gridcell",
  2256. "group",
  2257. "heading",
  2258. "img",
  2259. "link",
  2260. "list",
  2261. "listbox",
  2262. "listitem",
  2263. "log",
  2264. "main",
  2265. "marquee",
  2266. "math",
  2267. "menu",
  2268. "menubar",
  2269. "menuitem",
  2270. "menuitemcheckbox",
  2271. "menuitemradio",
  2272. "navigation",
  2273. "none",
  2274. "note",
  2275. "option",
  2276. "presentation",
  2277. "progressbar",
  2278. "radio",
  2279. "radiogroup",
  2280. "region",
  2281. "row",
  2282. "rowgroup",
  2283. "rowheader",
  2284. "scrollbar",
  2285. "search",
  2286. "searchbox",
  2287. "separator",
  2288. "slider",
  2289. "spinbutton",
  2290. "status",
  2291. "switch",
  2292. "tab",
  2293. "table",
  2294. "tablist",
  2295. "tabpanel",
  2296. "term",
  2297. "textbox",
  2298. "timer",
  2299. "toolbar",
  2300. "tooltip",
  2301. "tree",
  2302. "treegrid",
  2303. "treeitem",
  2304. ]
  2305. | Var[
  2306. Literal[
  2307. "alert",
  2308. "alertdialog",
  2309. "application",
  2310. "article",
  2311. "banner",
  2312. "button",
  2313. "cell",
  2314. "checkbox",
  2315. "columnheader",
  2316. "combobox",
  2317. "complementary",
  2318. "contentinfo",
  2319. "definition",
  2320. "dialog",
  2321. "directory",
  2322. "document",
  2323. "feed",
  2324. "figure",
  2325. "form",
  2326. "grid",
  2327. "gridcell",
  2328. "group",
  2329. "heading",
  2330. "img",
  2331. "link",
  2332. "list",
  2333. "listbox",
  2334. "listitem",
  2335. "log",
  2336. "main",
  2337. "marquee",
  2338. "math",
  2339. "menu",
  2340. "menubar",
  2341. "menuitem",
  2342. "menuitemcheckbox",
  2343. "menuitemradio",
  2344. "navigation",
  2345. "none",
  2346. "note",
  2347. "option",
  2348. "presentation",
  2349. "progressbar",
  2350. "radio",
  2351. "radiogroup",
  2352. "region",
  2353. "row",
  2354. "rowgroup",
  2355. "rowheader",
  2356. "scrollbar",
  2357. "search",
  2358. "searchbox",
  2359. "separator",
  2360. "slider",
  2361. "spinbutton",
  2362. "status",
  2363. "switch",
  2364. "tab",
  2365. "table",
  2366. "tablist",
  2367. "tabpanel",
  2368. "term",
  2369. "textbox",
  2370. "timer",
  2371. "toolbar",
  2372. "tooltip",
  2373. "tree",
  2374. "treegrid",
  2375. "treeitem",
  2376. ]
  2377. ]
  2378. | None = None,
  2379. slot: Var[str] | str | None = None,
  2380. spell_check: Var[bool] | bool | None = None,
  2381. tab_index: Var[int] | int | None = None,
  2382. title: Var[str] | str | None = None,
  2383. style: Style | None = None,
  2384. key: Any | None = None,
  2385. id: Any | None = None,
  2386. class_name: Any | None = None,
  2387. autofocus: bool | None = None,
  2388. custom_attrs: dict[str, Var | Any] | None = None,
  2389. on_blur: Optional[EventType[()]] = None,
  2390. on_click: Optional[EventType[()]] = None,
  2391. on_context_menu: Optional[EventType[()]] = None,
  2392. on_double_click: Optional[EventType[()]] = None,
  2393. on_focus: Optional[EventType[()]] = None,
  2394. on_mount: Optional[EventType[()]] = None,
  2395. on_mouse_down: Optional[EventType[()]] = None,
  2396. on_mouse_enter: Optional[EventType[()]] = None,
  2397. on_mouse_leave: Optional[EventType[()]] = None,
  2398. on_mouse_move: Optional[EventType[()]] = None,
  2399. on_mouse_out: Optional[EventType[()]] = None,
  2400. on_mouse_over: Optional[EventType[()]] = None,
  2401. on_mouse_up: Optional[EventType[()]] = None,
  2402. on_scroll: Optional[EventType[()]] = None,
  2403. on_unmount: Optional[EventType[()]] = None,
  2404. **props,
  2405. ) -> "Dfn":
  2406. """Create the component.
  2407. Args:
  2408. *children: The children of the component.
  2409. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2410. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2411. content_editable: Indicates whether the element's content is editable.
  2412. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2413. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2414. draggable: Defines whether the element can be dragged.
  2415. enter_key_hint: Hints what media types the media element is able to play.
  2416. hidden: Defines whether the element is hidden.
  2417. input_mode: Defines the type of the element.
  2418. item_prop: Defines the name of the element for metadata purposes.
  2419. lang: Defines the language used in the element.
  2420. role: Defines the role of the element.
  2421. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2422. spell_check: Defines whether the element may be checked for spelling errors.
  2423. tab_index: Defines the position of the current element in the tabbing order.
  2424. title: Defines a tooltip for the element.
  2425. style: The style of the component.
  2426. key: A unique key for the component.
  2427. id: The id for the component.
  2428. class_name: The class name for the component.
  2429. autofocus: Whether the component should take the focus once the page is loaded
  2430. custom_attrs: custom attribute
  2431. **props: The props of the component.
  2432. Returns:
  2433. The component.
  2434. """
  2435. ...
  2436. class Em(BaseHTML):
  2437. @overload
  2438. @classmethod
  2439. def create( # type: ignore
  2440. cls,
  2441. *children,
  2442. access_key: Var[str] | str | None = None,
  2443. auto_capitalize: Literal[
  2444. "characters", "none", "off", "on", "sentences", "words"
  2445. ]
  2446. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2447. | None = None,
  2448. content_editable: Literal["inherit", "plaintext-only", False, True]
  2449. | Var[Literal["inherit", "plaintext-only", False, True]]
  2450. | None = None,
  2451. context_menu: Var[str] | str | None = None,
  2452. dir: Var[str] | str | None = None,
  2453. draggable: Var[bool] | bool | None = None,
  2454. enter_key_hint: Literal[
  2455. "done", "enter", "go", "next", "previous", "search", "send"
  2456. ]
  2457. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2458. | None = None,
  2459. hidden: Var[bool] | bool | None = None,
  2460. input_mode: Literal[
  2461. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2462. ]
  2463. | Var[
  2464. Literal[
  2465. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2466. ]
  2467. ]
  2468. | None = None,
  2469. item_prop: Var[str] | str | None = None,
  2470. lang: Var[str] | str | None = None,
  2471. role: Literal[
  2472. "alert",
  2473. "alertdialog",
  2474. "application",
  2475. "article",
  2476. "banner",
  2477. "button",
  2478. "cell",
  2479. "checkbox",
  2480. "columnheader",
  2481. "combobox",
  2482. "complementary",
  2483. "contentinfo",
  2484. "definition",
  2485. "dialog",
  2486. "directory",
  2487. "document",
  2488. "feed",
  2489. "figure",
  2490. "form",
  2491. "grid",
  2492. "gridcell",
  2493. "group",
  2494. "heading",
  2495. "img",
  2496. "link",
  2497. "list",
  2498. "listbox",
  2499. "listitem",
  2500. "log",
  2501. "main",
  2502. "marquee",
  2503. "math",
  2504. "menu",
  2505. "menubar",
  2506. "menuitem",
  2507. "menuitemcheckbox",
  2508. "menuitemradio",
  2509. "navigation",
  2510. "none",
  2511. "note",
  2512. "option",
  2513. "presentation",
  2514. "progressbar",
  2515. "radio",
  2516. "radiogroup",
  2517. "region",
  2518. "row",
  2519. "rowgroup",
  2520. "rowheader",
  2521. "scrollbar",
  2522. "search",
  2523. "searchbox",
  2524. "separator",
  2525. "slider",
  2526. "spinbutton",
  2527. "status",
  2528. "switch",
  2529. "tab",
  2530. "table",
  2531. "tablist",
  2532. "tabpanel",
  2533. "term",
  2534. "textbox",
  2535. "timer",
  2536. "toolbar",
  2537. "tooltip",
  2538. "tree",
  2539. "treegrid",
  2540. "treeitem",
  2541. ]
  2542. | Var[
  2543. Literal[
  2544. "alert",
  2545. "alertdialog",
  2546. "application",
  2547. "article",
  2548. "banner",
  2549. "button",
  2550. "cell",
  2551. "checkbox",
  2552. "columnheader",
  2553. "combobox",
  2554. "complementary",
  2555. "contentinfo",
  2556. "definition",
  2557. "dialog",
  2558. "directory",
  2559. "document",
  2560. "feed",
  2561. "figure",
  2562. "form",
  2563. "grid",
  2564. "gridcell",
  2565. "group",
  2566. "heading",
  2567. "img",
  2568. "link",
  2569. "list",
  2570. "listbox",
  2571. "listitem",
  2572. "log",
  2573. "main",
  2574. "marquee",
  2575. "math",
  2576. "menu",
  2577. "menubar",
  2578. "menuitem",
  2579. "menuitemcheckbox",
  2580. "menuitemradio",
  2581. "navigation",
  2582. "none",
  2583. "note",
  2584. "option",
  2585. "presentation",
  2586. "progressbar",
  2587. "radio",
  2588. "radiogroup",
  2589. "region",
  2590. "row",
  2591. "rowgroup",
  2592. "rowheader",
  2593. "scrollbar",
  2594. "search",
  2595. "searchbox",
  2596. "separator",
  2597. "slider",
  2598. "spinbutton",
  2599. "status",
  2600. "switch",
  2601. "tab",
  2602. "table",
  2603. "tablist",
  2604. "tabpanel",
  2605. "term",
  2606. "textbox",
  2607. "timer",
  2608. "toolbar",
  2609. "tooltip",
  2610. "tree",
  2611. "treegrid",
  2612. "treeitem",
  2613. ]
  2614. ]
  2615. | None = None,
  2616. slot: Var[str] | str | None = None,
  2617. spell_check: Var[bool] | bool | None = None,
  2618. tab_index: Var[int] | int | None = None,
  2619. title: Var[str] | str | None = None,
  2620. style: Style | None = None,
  2621. key: Any | None = None,
  2622. id: Any | None = None,
  2623. class_name: Any | None = None,
  2624. autofocus: bool | None = None,
  2625. custom_attrs: dict[str, Var | Any] | None = None,
  2626. on_blur: Optional[EventType[()]] = None,
  2627. on_click: Optional[EventType[()]] = None,
  2628. on_context_menu: Optional[EventType[()]] = None,
  2629. on_double_click: Optional[EventType[()]] = None,
  2630. on_focus: Optional[EventType[()]] = None,
  2631. on_mount: Optional[EventType[()]] = None,
  2632. on_mouse_down: Optional[EventType[()]] = None,
  2633. on_mouse_enter: Optional[EventType[()]] = None,
  2634. on_mouse_leave: Optional[EventType[()]] = None,
  2635. on_mouse_move: Optional[EventType[()]] = None,
  2636. on_mouse_out: Optional[EventType[()]] = None,
  2637. on_mouse_over: Optional[EventType[()]] = None,
  2638. on_mouse_up: Optional[EventType[()]] = None,
  2639. on_scroll: Optional[EventType[()]] = None,
  2640. on_unmount: Optional[EventType[()]] = None,
  2641. **props,
  2642. ) -> "Em":
  2643. """Create the component.
  2644. Args:
  2645. *children: The children of the component.
  2646. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2647. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2648. content_editable: Indicates whether the element's content is editable.
  2649. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2650. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2651. draggable: Defines whether the element can be dragged.
  2652. enter_key_hint: Hints what media types the media element is able to play.
  2653. hidden: Defines whether the element is hidden.
  2654. input_mode: Defines the type of the element.
  2655. item_prop: Defines the name of the element for metadata purposes.
  2656. lang: Defines the language used in the element.
  2657. role: Defines the role of the element.
  2658. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2659. spell_check: Defines whether the element may be checked for spelling errors.
  2660. tab_index: Defines the position of the current element in the tabbing order.
  2661. title: Defines a tooltip for the element.
  2662. style: The style of the component.
  2663. key: A unique key for the component.
  2664. id: The id for the component.
  2665. class_name: The class name for the component.
  2666. autofocus: Whether the component should take the focus once the page is loaded
  2667. custom_attrs: custom attribute
  2668. **props: The props of the component.
  2669. Returns:
  2670. The component.
  2671. """
  2672. ...
  2673. class I(BaseHTML):
  2674. @overload
  2675. @classmethod
  2676. def create( # type: ignore
  2677. cls,
  2678. *children,
  2679. access_key: Var[str] | str | None = None,
  2680. auto_capitalize: Literal[
  2681. "characters", "none", "off", "on", "sentences", "words"
  2682. ]
  2683. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2684. | None = None,
  2685. content_editable: Literal["inherit", "plaintext-only", False, True]
  2686. | Var[Literal["inherit", "plaintext-only", False, True]]
  2687. | None = None,
  2688. context_menu: Var[str] | str | None = None,
  2689. dir: Var[str] | str | None = None,
  2690. draggable: Var[bool] | bool | None = None,
  2691. enter_key_hint: Literal[
  2692. "done", "enter", "go", "next", "previous", "search", "send"
  2693. ]
  2694. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2695. | None = None,
  2696. hidden: Var[bool] | bool | None = None,
  2697. input_mode: Literal[
  2698. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2699. ]
  2700. | Var[
  2701. Literal[
  2702. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2703. ]
  2704. ]
  2705. | None = None,
  2706. item_prop: Var[str] | str | None = None,
  2707. lang: Var[str] | str | None = None,
  2708. role: Literal[
  2709. "alert",
  2710. "alertdialog",
  2711. "application",
  2712. "article",
  2713. "banner",
  2714. "button",
  2715. "cell",
  2716. "checkbox",
  2717. "columnheader",
  2718. "combobox",
  2719. "complementary",
  2720. "contentinfo",
  2721. "definition",
  2722. "dialog",
  2723. "directory",
  2724. "document",
  2725. "feed",
  2726. "figure",
  2727. "form",
  2728. "grid",
  2729. "gridcell",
  2730. "group",
  2731. "heading",
  2732. "img",
  2733. "link",
  2734. "list",
  2735. "listbox",
  2736. "listitem",
  2737. "log",
  2738. "main",
  2739. "marquee",
  2740. "math",
  2741. "menu",
  2742. "menubar",
  2743. "menuitem",
  2744. "menuitemcheckbox",
  2745. "menuitemradio",
  2746. "navigation",
  2747. "none",
  2748. "note",
  2749. "option",
  2750. "presentation",
  2751. "progressbar",
  2752. "radio",
  2753. "radiogroup",
  2754. "region",
  2755. "row",
  2756. "rowgroup",
  2757. "rowheader",
  2758. "scrollbar",
  2759. "search",
  2760. "searchbox",
  2761. "separator",
  2762. "slider",
  2763. "spinbutton",
  2764. "status",
  2765. "switch",
  2766. "tab",
  2767. "table",
  2768. "tablist",
  2769. "tabpanel",
  2770. "term",
  2771. "textbox",
  2772. "timer",
  2773. "toolbar",
  2774. "tooltip",
  2775. "tree",
  2776. "treegrid",
  2777. "treeitem",
  2778. ]
  2779. | Var[
  2780. Literal[
  2781. "alert",
  2782. "alertdialog",
  2783. "application",
  2784. "article",
  2785. "banner",
  2786. "button",
  2787. "cell",
  2788. "checkbox",
  2789. "columnheader",
  2790. "combobox",
  2791. "complementary",
  2792. "contentinfo",
  2793. "definition",
  2794. "dialog",
  2795. "directory",
  2796. "document",
  2797. "feed",
  2798. "figure",
  2799. "form",
  2800. "grid",
  2801. "gridcell",
  2802. "group",
  2803. "heading",
  2804. "img",
  2805. "link",
  2806. "list",
  2807. "listbox",
  2808. "listitem",
  2809. "log",
  2810. "main",
  2811. "marquee",
  2812. "math",
  2813. "menu",
  2814. "menubar",
  2815. "menuitem",
  2816. "menuitemcheckbox",
  2817. "menuitemradio",
  2818. "navigation",
  2819. "none",
  2820. "note",
  2821. "option",
  2822. "presentation",
  2823. "progressbar",
  2824. "radio",
  2825. "radiogroup",
  2826. "region",
  2827. "row",
  2828. "rowgroup",
  2829. "rowheader",
  2830. "scrollbar",
  2831. "search",
  2832. "searchbox",
  2833. "separator",
  2834. "slider",
  2835. "spinbutton",
  2836. "status",
  2837. "switch",
  2838. "tab",
  2839. "table",
  2840. "tablist",
  2841. "tabpanel",
  2842. "term",
  2843. "textbox",
  2844. "timer",
  2845. "toolbar",
  2846. "tooltip",
  2847. "tree",
  2848. "treegrid",
  2849. "treeitem",
  2850. ]
  2851. ]
  2852. | None = None,
  2853. slot: Var[str] | str | None = None,
  2854. spell_check: Var[bool] | bool | None = None,
  2855. tab_index: Var[int] | int | None = None,
  2856. title: Var[str] | str | None = None,
  2857. style: Style | None = None,
  2858. key: Any | None = None,
  2859. id: Any | None = None,
  2860. class_name: Any | None = None,
  2861. autofocus: bool | None = None,
  2862. custom_attrs: dict[str, Var | Any] | None = None,
  2863. on_blur: Optional[EventType[()]] = None,
  2864. on_click: Optional[EventType[()]] = None,
  2865. on_context_menu: Optional[EventType[()]] = None,
  2866. on_double_click: Optional[EventType[()]] = None,
  2867. on_focus: Optional[EventType[()]] = None,
  2868. on_mount: Optional[EventType[()]] = None,
  2869. on_mouse_down: Optional[EventType[()]] = None,
  2870. on_mouse_enter: Optional[EventType[()]] = None,
  2871. on_mouse_leave: Optional[EventType[()]] = None,
  2872. on_mouse_move: Optional[EventType[()]] = None,
  2873. on_mouse_out: Optional[EventType[()]] = None,
  2874. on_mouse_over: Optional[EventType[()]] = None,
  2875. on_mouse_up: Optional[EventType[()]] = None,
  2876. on_scroll: Optional[EventType[()]] = None,
  2877. on_unmount: Optional[EventType[()]] = None,
  2878. **props,
  2879. ) -> "I":
  2880. """Create the component.
  2881. Args:
  2882. *children: The children of the component.
  2883. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  2884. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  2885. content_editable: Indicates whether the element's content is editable.
  2886. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  2887. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  2888. draggable: Defines whether the element can be dragged.
  2889. enter_key_hint: Hints what media types the media element is able to play.
  2890. hidden: Defines whether the element is hidden.
  2891. input_mode: Defines the type of the element.
  2892. item_prop: Defines the name of the element for metadata purposes.
  2893. lang: Defines the language used in the element.
  2894. role: Defines the role of the element.
  2895. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  2896. spell_check: Defines whether the element may be checked for spelling errors.
  2897. tab_index: Defines the position of the current element in the tabbing order.
  2898. title: Defines a tooltip for the element.
  2899. style: The style of the component.
  2900. key: A unique key for the component.
  2901. id: The id for the component.
  2902. class_name: The class name for the component.
  2903. autofocus: Whether the component should take the focus once the page is loaded
  2904. custom_attrs: custom attribute
  2905. **props: The props of the component.
  2906. Returns:
  2907. The component.
  2908. """
  2909. ...
  2910. class Kbd(BaseHTML):
  2911. @overload
  2912. @classmethod
  2913. def create( # type: ignore
  2914. cls,
  2915. *children,
  2916. access_key: Var[str] | str | None = None,
  2917. auto_capitalize: Literal[
  2918. "characters", "none", "off", "on", "sentences", "words"
  2919. ]
  2920. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  2921. | None = None,
  2922. content_editable: Literal["inherit", "plaintext-only", False, True]
  2923. | Var[Literal["inherit", "plaintext-only", False, True]]
  2924. | None = None,
  2925. context_menu: Var[str] | str | None = None,
  2926. dir: Var[str] | str | None = None,
  2927. draggable: Var[bool] | bool | None = None,
  2928. enter_key_hint: Literal[
  2929. "done", "enter", "go", "next", "previous", "search", "send"
  2930. ]
  2931. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  2932. | None = None,
  2933. hidden: Var[bool] | bool | None = None,
  2934. input_mode: Literal[
  2935. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2936. ]
  2937. | Var[
  2938. Literal[
  2939. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  2940. ]
  2941. ]
  2942. | None = None,
  2943. item_prop: Var[str] | str | None = None,
  2944. lang: Var[str] | str | None = None,
  2945. role: Literal[
  2946. "alert",
  2947. "alertdialog",
  2948. "application",
  2949. "article",
  2950. "banner",
  2951. "button",
  2952. "cell",
  2953. "checkbox",
  2954. "columnheader",
  2955. "combobox",
  2956. "complementary",
  2957. "contentinfo",
  2958. "definition",
  2959. "dialog",
  2960. "directory",
  2961. "document",
  2962. "feed",
  2963. "figure",
  2964. "form",
  2965. "grid",
  2966. "gridcell",
  2967. "group",
  2968. "heading",
  2969. "img",
  2970. "link",
  2971. "list",
  2972. "listbox",
  2973. "listitem",
  2974. "log",
  2975. "main",
  2976. "marquee",
  2977. "math",
  2978. "menu",
  2979. "menubar",
  2980. "menuitem",
  2981. "menuitemcheckbox",
  2982. "menuitemradio",
  2983. "navigation",
  2984. "none",
  2985. "note",
  2986. "option",
  2987. "presentation",
  2988. "progressbar",
  2989. "radio",
  2990. "radiogroup",
  2991. "region",
  2992. "row",
  2993. "rowgroup",
  2994. "rowheader",
  2995. "scrollbar",
  2996. "search",
  2997. "searchbox",
  2998. "separator",
  2999. "slider",
  3000. "spinbutton",
  3001. "status",
  3002. "switch",
  3003. "tab",
  3004. "table",
  3005. "tablist",
  3006. "tabpanel",
  3007. "term",
  3008. "textbox",
  3009. "timer",
  3010. "toolbar",
  3011. "tooltip",
  3012. "tree",
  3013. "treegrid",
  3014. "treeitem",
  3015. ]
  3016. | Var[
  3017. Literal[
  3018. "alert",
  3019. "alertdialog",
  3020. "application",
  3021. "article",
  3022. "banner",
  3023. "button",
  3024. "cell",
  3025. "checkbox",
  3026. "columnheader",
  3027. "combobox",
  3028. "complementary",
  3029. "contentinfo",
  3030. "definition",
  3031. "dialog",
  3032. "directory",
  3033. "document",
  3034. "feed",
  3035. "figure",
  3036. "form",
  3037. "grid",
  3038. "gridcell",
  3039. "group",
  3040. "heading",
  3041. "img",
  3042. "link",
  3043. "list",
  3044. "listbox",
  3045. "listitem",
  3046. "log",
  3047. "main",
  3048. "marquee",
  3049. "math",
  3050. "menu",
  3051. "menubar",
  3052. "menuitem",
  3053. "menuitemcheckbox",
  3054. "menuitemradio",
  3055. "navigation",
  3056. "none",
  3057. "note",
  3058. "option",
  3059. "presentation",
  3060. "progressbar",
  3061. "radio",
  3062. "radiogroup",
  3063. "region",
  3064. "row",
  3065. "rowgroup",
  3066. "rowheader",
  3067. "scrollbar",
  3068. "search",
  3069. "searchbox",
  3070. "separator",
  3071. "slider",
  3072. "spinbutton",
  3073. "status",
  3074. "switch",
  3075. "tab",
  3076. "table",
  3077. "tablist",
  3078. "tabpanel",
  3079. "term",
  3080. "textbox",
  3081. "timer",
  3082. "toolbar",
  3083. "tooltip",
  3084. "tree",
  3085. "treegrid",
  3086. "treeitem",
  3087. ]
  3088. ]
  3089. | None = None,
  3090. slot: Var[str] | str | None = None,
  3091. spell_check: Var[bool] | bool | None = None,
  3092. tab_index: Var[int] | int | None = None,
  3093. title: Var[str] | str | None = None,
  3094. style: Style | None = None,
  3095. key: Any | None = None,
  3096. id: Any | None = None,
  3097. class_name: Any | None = None,
  3098. autofocus: bool | None = None,
  3099. custom_attrs: dict[str, Var | Any] | None = None,
  3100. on_blur: Optional[EventType[()]] = None,
  3101. on_click: Optional[EventType[()]] = None,
  3102. on_context_menu: Optional[EventType[()]] = None,
  3103. on_double_click: Optional[EventType[()]] = None,
  3104. on_focus: Optional[EventType[()]] = None,
  3105. on_mount: Optional[EventType[()]] = None,
  3106. on_mouse_down: Optional[EventType[()]] = None,
  3107. on_mouse_enter: Optional[EventType[()]] = None,
  3108. on_mouse_leave: Optional[EventType[()]] = None,
  3109. on_mouse_move: Optional[EventType[()]] = None,
  3110. on_mouse_out: Optional[EventType[()]] = None,
  3111. on_mouse_over: Optional[EventType[()]] = None,
  3112. on_mouse_up: Optional[EventType[()]] = None,
  3113. on_scroll: Optional[EventType[()]] = None,
  3114. on_unmount: Optional[EventType[()]] = None,
  3115. **props,
  3116. ) -> "Kbd":
  3117. """Create the component.
  3118. Args:
  3119. *children: The children of the component.
  3120. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  3121. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  3122. content_editable: Indicates whether the element's content is editable.
  3123. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  3124. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  3125. draggable: Defines whether the element can be dragged.
  3126. enter_key_hint: Hints what media types the media element is able to play.
  3127. hidden: Defines whether the element is hidden.
  3128. input_mode: Defines the type of the element.
  3129. item_prop: Defines the name of the element for metadata purposes.
  3130. lang: Defines the language used in the element.
  3131. role: Defines the role of the element.
  3132. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  3133. spell_check: Defines whether the element may be checked for spelling errors.
  3134. tab_index: Defines the position of the current element in the tabbing order.
  3135. title: Defines a tooltip for the element.
  3136. style: The style of the component.
  3137. key: A unique key for the component.
  3138. id: The id for the component.
  3139. class_name: The class name for the component.
  3140. autofocus: Whether the component should take the focus once the page is loaded
  3141. custom_attrs: custom attribute
  3142. **props: The props of the component.
  3143. Returns:
  3144. The component.
  3145. """
  3146. ...
  3147. class Mark(BaseHTML):
  3148. @overload
  3149. @classmethod
  3150. def create( # type: ignore
  3151. cls,
  3152. *children,
  3153. access_key: Var[str] | str | None = None,
  3154. auto_capitalize: Literal[
  3155. "characters", "none", "off", "on", "sentences", "words"
  3156. ]
  3157. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  3158. | None = None,
  3159. content_editable: Literal["inherit", "plaintext-only", False, True]
  3160. | Var[Literal["inherit", "plaintext-only", False, True]]
  3161. | None = None,
  3162. context_menu: Var[str] | str | None = None,
  3163. dir: Var[str] | str | None = None,
  3164. draggable: Var[bool] | bool | None = None,
  3165. enter_key_hint: Literal[
  3166. "done", "enter", "go", "next", "previous", "search", "send"
  3167. ]
  3168. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  3169. | None = None,
  3170. hidden: Var[bool] | bool | None = None,
  3171. input_mode: Literal[
  3172. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3173. ]
  3174. | Var[
  3175. Literal[
  3176. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3177. ]
  3178. ]
  3179. | None = None,
  3180. item_prop: Var[str] | str | None = None,
  3181. lang: Var[str] | str | None = None,
  3182. role: Literal[
  3183. "alert",
  3184. "alertdialog",
  3185. "application",
  3186. "article",
  3187. "banner",
  3188. "button",
  3189. "cell",
  3190. "checkbox",
  3191. "columnheader",
  3192. "combobox",
  3193. "complementary",
  3194. "contentinfo",
  3195. "definition",
  3196. "dialog",
  3197. "directory",
  3198. "document",
  3199. "feed",
  3200. "figure",
  3201. "form",
  3202. "grid",
  3203. "gridcell",
  3204. "group",
  3205. "heading",
  3206. "img",
  3207. "link",
  3208. "list",
  3209. "listbox",
  3210. "listitem",
  3211. "log",
  3212. "main",
  3213. "marquee",
  3214. "math",
  3215. "menu",
  3216. "menubar",
  3217. "menuitem",
  3218. "menuitemcheckbox",
  3219. "menuitemradio",
  3220. "navigation",
  3221. "none",
  3222. "note",
  3223. "option",
  3224. "presentation",
  3225. "progressbar",
  3226. "radio",
  3227. "radiogroup",
  3228. "region",
  3229. "row",
  3230. "rowgroup",
  3231. "rowheader",
  3232. "scrollbar",
  3233. "search",
  3234. "searchbox",
  3235. "separator",
  3236. "slider",
  3237. "spinbutton",
  3238. "status",
  3239. "switch",
  3240. "tab",
  3241. "table",
  3242. "tablist",
  3243. "tabpanel",
  3244. "term",
  3245. "textbox",
  3246. "timer",
  3247. "toolbar",
  3248. "tooltip",
  3249. "tree",
  3250. "treegrid",
  3251. "treeitem",
  3252. ]
  3253. | Var[
  3254. Literal[
  3255. "alert",
  3256. "alertdialog",
  3257. "application",
  3258. "article",
  3259. "banner",
  3260. "button",
  3261. "cell",
  3262. "checkbox",
  3263. "columnheader",
  3264. "combobox",
  3265. "complementary",
  3266. "contentinfo",
  3267. "definition",
  3268. "dialog",
  3269. "directory",
  3270. "document",
  3271. "feed",
  3272. "figure",
  3273. "form",
  3274. "grid",
  3275. "gridcell",
  3276. "group",
  3277. "heading",
  3278. "img",
  3279. "link",
  3280. "list",
  3281. "listbox",
  3282. "listitem",
  3283. "log",
  3284. "main",
  3285. "marquee",
  3286. "math",
  3287. "menu",
  3288. "menubar",
  3289. "menuitem",
  3290. "menuitemcheckbox",
  3291. "menuitemradio",
  3292. "navigation",
  3293. "none",
  3294. "note",
  3295. "option",
  3296. "presentation",
  3297. "progressbar",
  3298. "radio",
  3299. "radiogroup",
  3300. "region",
  3301. "row",
  3302. "rowgroup",
  3303. "rowheader",
  3304. "scrollbar",
  3305. "search",
  3306. "searchbox",
  3307. "separator",
  3308. "slider",
  3309. "spinbutton",
  3310. "status",
  3311. "switch",
  3312. "tab",
  3313. "table",
  3314. "tablist",
  3315. "tabpanel",
  3316. "term",
  3317. "textbox",
  3318. "timer",
  3319. "toolbar",
  3320. "tooltip",
  3321. "tree",
  3322. "treegrid",
  3323. "treeitem",
  3324. ]
  3325. ]
  3326. | None = None,
  3327. slot: Var[str] | str | None = None,
  3328. spell_check: Var[bool] | bool | None = None,
  3329. tab_index: Var[int] | int | None = None,
  3330. title: Var[str] | str | None = None,
  3331. style: Style | None = None,
  3332. key: Any | None = None,
  3333. id: Any | None = None,
  3334. class_name: Any | None = None,
  3335. autofocus: bool | None = None,
  3336. custom_attrs: dict[str, Var | Any] | None = None,
  3337. on_blur: Optional[EventType[()]] = None,
  3338. on_click: Optional[EventType[()]] = None,
  3339. on_context_menu: Optional[EventType[()]] = None,
  3340. on_double_click: Optional[EventType[()]] = None,
  3341. on_focus: Optional[EventType[()]] = None,
  3342. on_mount: Optional[EventType[()]] = None,
  3343. on_mouse_down: Optional[EventType[()]] = None,
  3344. on_mouse_enter: Optional[EventType[()]] = None,
  3345. on_mouse_leave: Optional[EventType[()]] = None,
  3346. on_mouse_move: Optional[EventType[()]] = None,
  3347. on_mouse_out: Optional[EventType[()]] = None,
  3348. on_mouse_over: Optional[EventType[()]] = None,
  3349. on_mouse_up: Optional[EventType[()]] = None,
  3350. on_scroll: Optional[EventType[()]] = None,
  3351. on_unmount: Optional[EventType[()]] = None,
  3352. **props,
  3353. ) -> "Mark":
  3354. """Create the component.
  3355. Args:
  3356. *children: The children of the component.
  3357. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  3358. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  3359. content_editable: Indicates whether the element's content is editable.
  3360. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  3361. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  3362. draggable: Defines whether the element can be dragged.
  3363. enter_key_hint: Hints what media types the media element is able to play.
  3364. hidden: Defines whether the element is hidden.
  3365. input_mode: Defines the type of the element.
  3366. item_prop: Defines the name of the element for metadata purposes.
  3367. lang: Defines the language used in the element.
  3368. role: Defines the role of the element.
  3369. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  3370. spell_check: Defines whether the element may be checked for spelling errors.
  3371. tab_index: Defines the position of the current element in the tabbing order.
  3372. title: Defines a tooltip for the element.
  3373. style: The style of the component.
  3374. key: A unique key for the component.
  3375. id: The id for the component.
  3376. class_name: The class name for the component.
  3377. autofocus: Whether the component should take the focus once the page is loaded
  3378. custom_attrs: custom attribute
  3379. **props: The props of the component.
  3380. Returns:
  3381. The component.
  3382. """
  3383. ...
  3384. class Q(BaseHTML):
  3385. @overload
  3386. @classmethod
  3387. def create( # type: ignore
  3388. cls,
  3389. *children,
  3390. cite: Var[str] | str | None = None,
  3391. access_key: Var[str] | str | None = None,
  3392. auto_capitalize: Literal[
  3393. "characters", "none", "off", "on", "sentences", "words"
  3394. ]
  3395. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  3396. | None = None,
  3397. content_editable: Literal["inherit", "plaintext-only", False, True]
  3398. | Var[Literal["inherit", "plaintext-only", False, True]]
  3399. | None = None,
  3400. context_menu: Var[str] | str | None = None,
  3401. dir: Var[str] | str | None = None,
  3402. draggable: Var[bool] | bool | None = None,
  3403. enter_key_hint: Literal[
  3404. "done", "enter", "go", "next", "previous", "search", "send"
  3405. ]
  3406. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  3407. | None = None,
  3408. hidden: Var[bool] | bool | None = None,
  3409. input_mode: Literal[
  3410. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3411. ]
  3412. | Var[
  3413. Literal[
  3414. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3415. ]
  3416. ]
  3417. | None = None,
  3418. item_prop: Var[str] | str | None = None,
  3419. lang: Var[str] | str | None = None,
  3420. role: Literal[
  3421. "alert",
  3422. "alertdialog",
  3423. "application",
  3424. "article",
  3425. "banner",
  3426. "button",
  3427. "cell",
  3428. "checkbox",
  3429. "columnheader",
  3430. "combobox",
  3431. "complementary",
  3432. "contentinfo",
  3433. "definition",
  3434. "dialog",
  3435. "directory",
  3436. "document",
  3437. "feed",
  3438. "figure",
  3439. "form",
  3440. "grid",
  3441. "gridcell",
  3442. "group",
  3443. "heading",
  3444. "img",
  3445. "link",
  3446. "list",
  3447. "listbox",
  3448. "listitem",
  3449. "log",
  3450. "main",
  3451. "marquee",
  3452. "math",
  3453. "menu",
  3454. "menubar",
  3455. "menuitem",
  3456. "menuitemcheckbox",
  3457. "menuitemradio",
  3458. "navigation",
  3459. "none",
  3460. "note",
  3461. "option",
  3462. "presentation",
  3463. "progressbar",
  3464. "radio",
  3465. "radiogroup",
  3466. "region",
  3467. "row",
  3468. "rowgroup",
  3469. "rowheader",
  3470. "scrollbar",
  3471. "search",
  3472. "searchbox",
  3473. "separator",
  3474. "slider",
  3475. "spinbutton",
  3476. "status",
  3477. "switch",
  3478. "tab",
  3479. "table",
  3480. "tablist",
  3481. "tabpanel",
  3482. "term",
  3483. "textbox",
  3484. "timer",
  3485. "toolbar",
  3486. "tooltip",
  3487. "tree",
  3488. "treegrid",
  3489. "treeitem",
  3490. ]
  3491. | Var[
  3492. Literal[
  3493. "alert",
  3494. "alertdialog",
  3495. "application",
  3496. "article",
  3497. "banner",
  3498. "button",
  3499. "cell",
  3500. "checkbox",
  3501. "columnheader",
  3502. "combobox",
  3503. "complementary",
  3504. "contentinfo",
  3505. "definition",
  3506. "dialog",
  3507. "directory",
  3508. "document",
  3509. "feed",
  3510. "figure",
  3511. "form",
  3512. "grid",
  3513. "gridcell",
  3514. "group",
  3515. "heading",
  3516. "img",
  3517. "link",
  3518. "list",
  3519. "listbox",
  3520. "listitem",
  3521. "log",
  3522. "main",
  3523. "marquee",
  3524. "math",
  3525. "menu",
  3526. "menubar",
  3527. "menuitem",
  3528. "menuitemcheckbox",
  3529. "menuitemradio",
  3530. "navigation",
  3531. "none",
  3532. "note",
  3533. "option",
  3534. "presentation",
  3535. "progressbar",
  3536. "radio",
  3537. "radiogroup",
  3538. "region",
  3539. "row",
  3540. "rowgroup",
  3541. "rowheader",
  3542. "scrollbar",
  3543. "search",
  3544. "searchbox",
  3545. "separator",
  3546. "slider",
  3547. "spinbutton",
  3548. "status",
  3549. "switch",
  3550. "tab",
  3551. "table",
  3552. "tablist",
  3553. "tabpanel",
  3554. "term",
  3555. "textbox",
  3556. "timer",
  3557. "toolbar",
  3558. "tooltip",
  3559. "tree",
  3560. "treegrid",
  3561. "treeitem",
  3562. ]
  3563. ]
  3564. | None = None,
  3565. slot: Var[str] | str | None = None,
  3566. spell_check: Var[bool] | bool | None = None,
  3567. tab_index: Var[int] | int | None = None,
  3568. title: Var[str] | str | None = None,
  3569. style: Style | None = None,
  3570. key: Any | None = None,
  3571. id: Any | None = None,
  3572. class_name: Any | None = None,
  3573. autofocus: bool | None = None,
  3574. custom_attrs: dict[str, Var | Any] | None = None,
  3575. on_blur: Optional[EventType[()]] = None,
  3576. on_click: Optional[EventType[()]] = None,
  3577. on_context_menu: Optional[EventType[()]] = None,
  3578. on_double_click: Optional[EventType[()]] = None,
  3579. on_focus: Optional[EventType[()]] = None,
  3580. on_mount: Optional[EventType[()]] = None,
  3581. on_mouse_down: Optional[EventType[()]] = None,
  3582. on_mouse_enter: Optional[EventType[()]] = None,
  3583. on_mouse_leave: Optional[EventType[()]] = None,
  3584. on_mouse_move: Optional[EventType[()]] = None,
  3585. on_mouse_out: Optional[EventType[()]] = None,
  3586. on_mouse_over: Optional[EventType[()]] = None,
  3587. on_mouse_up: Optional[EventType[()]] = None,
  3588. on_scroll: Optional[EventType[()]] = None,
  3589. on_unmount: Optional[EventType[()]] = None,
  3590. **props,
  3591. ) -> "Q":
  3592. """Create the component.
  3593. Args:
  3594. *children: The children of the component.
  3595. cite: Specifies the source URL of the quote.
  3596. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  3597. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  3598. content_editable: Indicates whether the element's content is editable.
  3599. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  3600. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  3601. draggable: Defines whether the element can be dragged.
  3602. enter_key_hint: Hints what media types the media element is able to play.
  3603. hidden: Defines whether the element is hidden.
  3604. input_mode: Defines the type of the element.
  3605. item_prop: Defines the name of the element for metadata purposes.
  3606. lang: Defines the language used in the element.
  3607. role: Defines the role of the element.
  3608. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  3609. spell_check: Defines whether the element may be checked for spelling errors.
  3610. tab_index: Defines the position of the current element in the tabbing order.
  3611. title: Defines a tooltip for the element.
  3612. style: The style of the component.
  3613. key: A unique key for the component.
  3614. id: The id for the component.
  3615. class_name: The class name for the component.
  3616. autofocus: Whether the component should take the focus once the page is loaded
  3617. custom_attrs: custom attribute
  3618. **props: The props of the component.
  3619. Returns:
  3620. The component.
  3621. """
  3622. ...
  3623. class Rp(BaseHTML):
  3624. @overload
  3625. @classmethod
  3626. def create( # type: ignore
  3627. cls,
  3628. *children,
  3629. access_key: Var[str] | str | None = None,
  3630. auto_capitalize: Literal[
  3631. "characters", "none", "off", "on", "sentences", "words"
  3632. ]
  3633. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  3634. | None = None,
  3635. content_editable: Literal["inherit", "plaintext-only", False, True]
  3636. | Var[Literal["inherit", "plaintext-only", False, True]]
  3637. | None = None,
  3638. context_menu: Var[str] | str | None = None,
  3639. dir: Var[str] | str | None = None,
  3640. draggable: Var[bool] | bool | None = None,
  3641. enter_key_hint: Literal[
  3642. "done", "enter", "go", "next", "previous", "search", "send"
  3643. ]
  3644. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  3645. | None = None,
  3646. hidden: Var[bool] | bool | None = None,
  3647. input_mode: Literal[
  3648. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3649. ]
  3650. | Var[
  3651. Literal[
  3652. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3653. ]
  3654. ]
  3655. | None = None,
  3656. item_prop: Var[str] | str | None = None,
  3657. lang: Var[str] | str | None = None,
  3658. role: Literal[
  3659. "alert",
  3660. "alertdialog",
  3661. "application",
  3662. "article",
  3663. "banner",
  3664. "button",
  3665. "cell",
  3666. "checkbox",
  3667. "columnheader",
  3668. "combobox",
  3669. "complementary",
  3670. "contentinfo",
  3671. "definition",
  3672. "dialog",
  3673. "directory",
  3674. "document",
  3675. "feed",
  3676. "figure",
  3677. "form",
  3678. "grid",
  3679. "gridcell",
  3680. "group",
  3681. "heading",
  3682. "img",
  3683. "link",
  3684. "list",
  3685. "listbox",
  3686. "listitem",
  3687. "log",
  3688. "main",
  3689. "marquee",
  3690. "math",
  3691. "menu",
  3692. "menubar",
  3693. "menuitem",
  3694. "menuitemcheckbox",
  3695. "menuitemradio",
  3696. "navigation",
  3697. "none",
  3698. "note",
  3699. "option",
  3700. "presentation",
  3701. "progressbar",
  3702. "radio",
  3703. "radiogroup",
  3704. "region",
  3705. "row",
  3706. "rowgroup",
  3707. "rowheader",
  3708. "scrollbar",
  3709. "search",
  3710. "searchbox",
  3711. "separator",
  3712. "slider",
  3713. "spinbutton",
  3714. "status",
  3715. "switch",
  3716. "tab",
  3717. "table",
  3718. "tablist",
  3719. "tabpanel",
  3720. "term",
  3721. "textbox",
  3722. "timer",
  3723. "toolbar",
  3724. "tooltip",
  3725. "tree",
  3726. "treegrid",
  3727. "treeitem",
  3728. ]
  3729. | Var[
  3730. Literal[
  3731. "alert",
  3732. "alertdialog",
  3733. "application",
  3734. "article",
  3735. "banner",
  3736. "button",
  3737. "cell",
  3738. "checkbox",
  3739. "columnheader",
  3740. "combobox",
  3741. "complementary",
  3742. "contentinfo",
  3743. "definition",
  3744. "dialog",
  3745. "directory",
  3746. "document",
  3747. "feed",
  3748. "figure",
  3749. "form",
  3750. "grid",
  3751. "gridcell",
  3752. "group",
  3753. "heading",
  3754. "img",
  3755. "link",
  3756. "list",
  3757. "listbox",
  3758. "listitem",
  3759. "log",
  3760. "main",
  3761. "marquee",
  3762. "math",
  3763. "menu",
  3764. "menubar",
  3765. "menuitem",
  3766. "menuitemcheckbox",
  3767. "menuitemradio",
  3768. "navigation",
  3769. "none",
  3770. "note",
  3771. "option",
  3772. "presentation",
  3773. "progressbar",
  3774. "radio",
  3775. "radiogroup",
  3776. "region",
  3777. "row",
  3778. "rowgroup",
  3779. "rowheader",
  3780. "scrollbar",
  3781. "search",
  3782. "searchbox",
  3783. "separator",
  3784. "slider",
  3785. "spinbutton",
  3786. "status",
  3787. "switch",
  3788. "tab",
  3789. "table",
  3790. "tablist",
  3791. "tabpanel",
  3792. "term",
  3793. "textbox",
  3794. "timer",
  3795. "toolbar",
  3796. "tooltip",
  3797. "tree",
  3798. "treegrid",
  3799. "treeitem",
  3800. ]
  3801. ]
  3802. | None = None,
  3803. slot: Var[str] | str | None = None,
  3804. spell_check: Var[bool] | bool | None = None,
  3805. tab_index: Var[int] | int | None = None,
  3806. title: Var[str] | str | None = None,
  3807. style: Style | None = None,
  3808. key: Any | None = None,
  3809. id: Any | None = None,
  3810. class_name: Any | None = None,
  3811. autofocus: bool | None = None,
  3812. custom_attrs: dict[str, Var | Any] | None = None,
  3813. on_blur: Optional[EventType[()]] = None,
  3814. on_click: Optional[EventType[()]] = None,
  3815. on_context_menu: Optional[EventType[()]] = None,
  3816. on_double_click: Optional[EventType[()]] = None,
  3817. on_focus: Optional[EventType[()]] = None,
  3818. on_mount: Optional[EventType[()]] = None,
  3819. on_mouse_down: Optional[EventType[()]] = None,
  3820. on_mouse_enter: Optional[EventType[()]] = None,
  3821. on_mouse_leave: Optional[EventType[()]] = None,
  3822. on_mouse_move: Optional[EventType[()]] = None,
  3823. on_mouse_out: Optional[EventType[()]] = None,
  3824. on_mouse_over: Optional[EventType[()]] = None,
  3825. on_mouse_up: Optional[EventType[()]] = None,
  3826. on_scroll: Optional[EventType[()]] = None,
  3827. on_unmount: Optional[EventType[()]] = None,
  3828. **props,
  3829. ) -> "Rp":
  3830. """Create the component.
  3831. Args:
  3832. *children: The children of the component.
  3833. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  3834. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  3835. content_editable: Indicates whether the element's content is editable.
  3836. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  3837. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  3838. draggable: Defines whether the element can be dragged.
  3839. enter_key_hint: Hints what media types the media element is able to play.
  3840. hidden: Defines whether the element is hidden.
  3841. input_mode: Defines the type of the element.
  3842. item_prop: Defines the name of the element for metadata purposes.
  3843. lang: Defines the language used in the element.
  3844. role: Defines the role of the element.
  3845. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  3846. spell_check: Defines whether the element may be checked for spelling errors.
  3847. tab_index: Defines the position of the current element in the tabbing order.
  3848. title: Defines a tooltip for the element.
  3849. style: The style of the component.
  3850. key: A unique key for the component.
  3851. id: The id for the component.
  3852. class_name: The class name for the component.
  3853. autofocus: Whether the component should take the focus once the page is loaded
  3854. custom_attrs: custom attribute
  3855. **props: The props of the component.
  3856. Returns:
  3857. The component.
  3858. """
  3859. ...
  3860. class Rt(BaseHTML):
  3861. @overload
  3862. @classmethod
  3863. def create( # type: ignore
  3864. cls,
  3865. *children,
  3866. access_key: Var[str] | str | None = None,
  3867. auto_capitalize: Literal[
  3868. "characters", "none", "off", "on", "sentences", "words"
  3869. ]
  3870. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  3871. | None = None,
  3872. content_editable: Literal["inherit", "plaintext-only", False, True]
  3873. | Var[Literal["inherit", "plaintext-only", False, True]]
  3874. | None = None,
  3875. context_menu: Var[str] | str | None = None,
  3876. dir: Var[str] | str | None = None,
  3877. draggable: Var[bool] | bool | None = None,
  3878. enter_key_hint: Literal[
  3879. "done", "enter", "go", "next", "previous", "search", "send"
  3880. ]
  3881. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  3882. | None = None,
  3883. hidden: Var[bool] | bool | None = None,
  3884. input_mode: Literal[
  3885. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3886. ]
  3887. | Var[
  3888. Literal[
  3889. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  3890. ]
  3891. ]
  3892. | None = None,
  3893. item_prop: Var[str] | str | None = None,
  3894. lang: Var[str] | str | None = None,
  3895. role: Literal[
  3896. "alert",
  3897. "alertdialog",
  3898. "application",
  3899. "article",
  3900. "banner",
  3901. "button",
  3902. "cell",
  3903. "checkbox",
  3904. "columnheader",
  3905. "combobox",
  3906. "complementary",
  3907. "contentinfo",
  3908. "definition",
  3909. "dialog",
  3910. "directory",
  3911. "document",
  3912. "feed",
  3913. "figure",
  3914. "form",
  3915. "grid",
  3916. "gridcell",
  3917. "group",
  3918. "heading",
  3919. "img",
  3920. "link",
  3921. "list",
  3922. "listbox",
  3923. "listitem",
  3924. "log",
  3925. "main",
  3926. "marquee",
  3927. "math",
  3928. "menu",
  3929. "menubar",
  3930. "menuitem",
  3931. "menuitemcheckbox",
  3932. "menuitemradio",
  3933. "navigation",
  3934. "none",
  3935. "note",
  3936. "option",
  3937. "presentation",
  3938. "progressbar",
  3939. "radio",
  3940. "radiogroup",
  3941. "region",
  3942. "row",
  3943. "rowgroup",
  3944. "rowheader",
  3945. "scrollbar",
  3946. "search",
  3947. "searchbox",
  3948. "separator",
  3949. "slider",
  3950. "spinbutton",
  3951. "status",
  3952. "switch",
  3953. "tab",
  3954. "table",
  3955. "tablist",
  3956. "tabpanel",
  3957. "term",
  3958. "textbox",
  3959. "timer",
  3960. "toolbar",
  3961. "tooltip",
  3962. "tree",
  3963. "treegrid",
  3964. "treeitem",
  3965. ]
  3966. | Var[
  3967. Literal[
  3968. "alert",
  3969. "alertdialog",
  3970. "application",
  3971. "article",
  3972. "banner",
  3973. "button",
  3974. "cell",
  3975. "checkbox",
  3976. "columnheader",
  3977. "combobox",
  3978. "complementary",
  3979. "contentinfo",
  3980. "definition",
  3981. "dialog",
  3982. "directory",
  3983. "document",
  3984. "feed",
  3985. "figure",
  3986. "form",
  3987. "grid",
  3988. "gridcell",
  3989. "group",
  3990. "heading",
  3991. "img",
  3992. "link",
  3993. "list",
  3994. "listbox",
  3995. "listitem",
  3996. "log",
  3997. "main",
  3998. "marquee",
  3999. "math",
  4000. "menu",
  4001. "menubar",
  4002. "menuitem",
  4003. "menuitemcheckbox",
  4004. "menuitemradio",
  4005. "navigation",
  4006. "none",
  4007. "note",
  4008. "option",
  4009. "presentation",
  4010. "progressbar",
  4011. "radio",
  4012. "radiogroup",
  4013. "region",
  4014. "row",
  4015. "rowgroup",
  4016. "rowheader",
  4017. "scrollbar",
  4018. "search",
  4019. "searchbox",
  4020. "separator",
  4021. "slider",
  4022. "spinbutton",
  4023. "status",
  4024. "switch",
  4025. "tab",
  4026. "table",
  4027. "tablist",
  4028. "tabpanel",
  4029. "term",
  4030. "textbox",
  4031. "timer",
  4032. "toolbar",
  4033. "tooltip",
  4034. "tree",
  4035. "treegrid",
  4036. "treeitem",
  4037. ]
  4038. ]
  4039. | None = None,
  4040. slot: Var[str] | str | None = None,
  4041. spell_check: Var[bool] | bool | None = None,
  4042. tab_index: Var[int] | int | None = None,
  4043. title: Var[str] | str | None = None,
  4044. style: Style | None = None,
  4045. key: Any | None = None,
  4046. id: Any | None = None,
  4047. class_name: Any | None = None,
  4048. autofocus: bool | None = None,
  4049. custom_attrs: dict[str, Var | Any] | None = None,
  4050. on_blur: Optional[EventType[()]] = None,
  4051. on_click: Optional[EventType[()]] = None,
  4052. on_context_menu: Optional[EventType[()]] = None,
  4053. on_double_click: Optional[EventType[()]] = None,
  4054. on_focus: Optional[EventType[()]] = None,
  4055. on_mount: Optional[EventType[()]] = None,
  4056. on_mouse_down: Optional[EventType[()]] = None,
  4057. on_mouse_enter: Optional[EventType[()]] = None,
  4058. on_mouse_leave: Optional[EventType[()]] = None,
  4059. on_mouse_move: Optional[EventType[()]] = None,
  4060. on_mouse_out: Optional[EventType[()]] = None,
  4061. on_mouse_over: Optional[EventType[()]] = None,
  4062. on_mouse_up: Optional[EventType[()]] = None,
  4063. on_scroll: Optional[EventType[()]] = None,
  4064. on_unmount: Optional[EventType[()]] = None,
  4065. **props,
  4066. ) -> "Rt":
  4067. """Create the component.
  4068. Args:
  4069. *children: The children of the component.
  4070. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  4071. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  4072. content_editable: Indicates whether the element's content is editable.
  4073. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  4074. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  4075. draggable: Defines whether the element can be dragged.
  4076. enter_key_hint: Hints what media types the media element is able to play.
  4077. hidden: Defines whether the element is hidden.
  4078. input_mode: Defines the type of the element.
  4079. item_prop: Defines the name of the element for metadata purposes.
  4080. lang: Defines the language used in the element.
  4081. role: Defines the role of the element.
  4082. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  4083. spell_check: Defines whether the element may be checked for spelling errors.
  4084. tab_index: Defines the position of the current element in the tabbing order.
  4085. title: Defines a tooltip for the element.
  4086. style: The style of the component.
  4087. key: A unique key for the component.
  4088. id: The id for the component.
  4089. class_name: The class name for the component.
  4090. autofocus: Whether the component should take the focus once the page is loaded
  4091. custom_attrs: custom attribute
  4092. **props: The props of the component.
  4093. Returns:
  4094. The component.
  4095. """
  4096. ...
  4097. class Ruby(BaseHTML):
  4098. @overload
  4099. @classmethod
  4100. def create( # type: ignore
  4101. cls,
  4102. *children,
  4103. access_key: Var[str] | str | None = None,
  4104. auto_capitalize: Literal[
  4105. "characters", "none", "off", "on", "sentences", "words"
  4106. ]
  4107. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  4108. | None = None,
  4109. content_editable: Literal["inherit", "plaintext-only", False, True]
  4110. | Var[Literal["inherit", "plaintext-only", False, True]]
  4111. | None = None,
  4112. context_menu: Var[str] | str | None = None,
  4113. dir: Var[str] | str | None = None,
  4114. draggable: Var[bool] | bool | None = None,
  4115. enter_key_hint: Literal[
  4116. "done", "enter", "go", "next", "previous", "search", "send"
  4117. ]
  4118. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  4119. | None = None,
  4120. hidden: Var[bool] | bool | None = None,
  4121. input_mode: Literal[
  4122. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4123. ]
  4124. | Var[
  4125. Literal[
  4126. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4127. ]
  4128. ]
  4129. | None = None,
  4130. item_prop: Var[str] | str | None = None,
  4131. lang: Var[str] | str | None = None,
  4132. role: Literal[
  4133. "alert",
  4134. "alertdialog",
  4135. "application",
  4136. "article",
  4137. "banner",
  4138. "button",
  4139. "cell",
  4140. "checkbox",
  4141. "columnheader",
  4142. "combobox",
  4143. "complementary",
  4144. "contentinfo",
  4145. "definition",
  4146. "dialog",
  4147. "directory",
  4148. "document",
  4149. "feed",
  4150. "figure",
  4151. "form",
  4152. "grid",
  4153. "gridcell",
  4154. "group",
  4155. "heading",
  4156. "img",
  4157. "link",
  4158. "list",
  4159. "listbox",
  4160. "listitem",
  4161. "log",
  4162. "main",
  4163. "marquee",
  4164. "math",
  4165. "menu",
  4166. "menubar",
  4167. "menuitem",
  4168. "menuitemcheckbox",
  4169. "menuitemradio",
  4170. "navigation",
  4171. "none",
  4172. "note",
  4173. "option",
  4174. "presentation",
  4175. "progressbar",
  4176. "radio",
  4177. "radiogroup",
  4178. "region",
  4179. "row",
  4180. "rowgroup",
  4181. "rowheader",
  4182. "scrollbar",
  4183. "search",
  4184. "searchbox",
  4185. "separator",
  4186. "slider",
  4187. "spinbutton",
  4188. "status",
  4189. "switch",
  4190. "tab",
  4191. "table",
  4192. "tablist",
  4193. "tabpanel",
  4194. "term",
  4195. "textbox",
  4196. "timer",
  4197. "toolbar",
  4198. "tooltip",
  4199. "tree",
  4200. "treegrid",
  4201. "treeitem",
  4202. ]
  4203. | Var[
  4204. Literal[
  4205. "alert",
  4206. "alertdialog",
  4207. "application",
  4208. "article",
  4209. "banner",
  4210. "button",
  4211. "cell",
  4212. "checkbox",
  4213. "columnheader",
  4214. "combobox",
  4215. "complementary",
  4216. "contentinfo",
  4217. "definition",
  4218. "dialog",
  4219. "directory",
  4220. "document",
  4221. "feed",
  4222. "figure",
  4223. "form",
  4224. "grid",
  4225. "gridcell",
  4226. "group",
  4227. "heading",
  4228. "img",
  4229. "link",
  4230. "list",
  4231. "listbox",
  4232. "listitem",
  4233. "log",
  4234. "main",
  4235. "marquee",
  4236. "math",
  4237. "menu",
  4238. "menubar",
  4239. "menuitem",
  4240. "menuitemcheckbox",
  4241. "menuitemradio",
  4242. "navigation",
  4243. "none",
  4244. "note",
  4245. "option",
  4246. "presentation",
  4247. "progressbar",
  4248. "radio",
  4249. "radiogroup",
  4250. "region",
  4251. "row",
  4252. "rowgroup",
  4253. "rowheader",
  4254. "scrollbar",
  4255. "search",
  4256. "searchbox",
  4257. "separator",
  4258. "slider",
  4259. "spinbutton",
  4260. "status",
  4261. "switch",
  4262. "tab",
  4263. "table",
  4264. "tablist",
  4265. "tabpanel",
  4266. "term",
  4267. "textbox",
  4268. "timer",
  4269. "toolbar",
  4270. "tooltip",
  4271. "tree",
  4272. "treegrid",
  4273. "treeitem",
  4274. ]
  4275. ]
  4276. | None = None,
  4277. slot: Var[str] | str | None = None,
  4278. spell_check: Var[bool] | bool | None = None,
  4279. tab_index: Var[int] | int | None = None,
  4280. title: Var[str] | str | None = None,
  4281. style: Style | None = None,
  4282. key: Any | None = None,
  4283. id: Any | None = None,
  4284. class_name: Any | None = None,
  4285. autofocus: bool | None = None,
  4286. custom_attrs: dict[str, Var | Any] | None = None,
  4287. on_blur: Optional[EventType[()]] = None,
  4288. on_click: Optional[EventType[()]] = None,
  4289. on_context_menu: Optional[EventType[()]] = None,
  4290. on_double_click: Optional[EventType[()]] = None,
  4291. on_focus: Optional[EventType[()]] = None,
  4292. on_mount: Optional[EventType[()]] = None,
  4293. on_mouse_down: Optional[EventType[()]] = None,
  4294. on_mouse_enter: Optional[EventType[()]] = None,
  4295. on_mouse_leave: Optional[EventType[()]] = None,
  4296. on_mouse_move: Optional[EventType[()]] = None,
  4297. on_mouse_out: Optional[EventType[()]] = None,
  4298. on_mouse_over: Optional[EventType[()]] = None,
  4299. on_mouse_up: Optional[EventType[()]] = None,
  4300. on_scroll: Optional[EventType[()]] = None,
  4301. on_unmount: Optional[EventType[()]] = None,
  4302. **props,
  4303. ) -> "Ruby":
  4304. """Create the component.
  4305. Args:
  4306. *children: The children of the component.
  4307. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  4308. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  4309. content_editable: Indicates whether the element's content is editable.
  4310. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  4311. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  4312. draggable: Defines whether the element can be dragged.
  4313. enter_key_hint: Hints what media types the media element is able to play.
  4314. hidden: Defines whether the element is hidden.
  4315. input_mode: Defines the type of the element.
  4316. item_prop: Defines the name of the element for metadata purposes.
  4317. lang: Defines the language used in the element.
  4318. role: Defines the role of the element.
  4319. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  4320. spell_check: Defines whether the element may be checked for spelling errors.
  4321. tab_index: Defines the position of the current element in the tabbing order.
  4322. title: Defines a tooltip for the element.
  4323. style: The style of the component.
  4324. key: A unique key for the component.
  4325. id: The id for the component.
  4326. class_name: The class name for the component.
  4327. autofocus: Whether the component should take the focus once the page is loaded
  4328. custom_attrs: custom attribute
  4329. **props: The props of the component.
  4330. Returns:
  4331. The component.
  4332. """
  4333. ...
  4334. class S(BaseHTML):
  4335. @overload
  4336. @classmethod
  4337. def create( # type: ignore
  4338. cls,
  4339. *children,
  4340. access_key: Var[str] | str | None = None,
  4341. auto_capitalize: Literal[
  4342. "characters", "none", "off", "on", "sentences", "words"
  4343. ]
  4344. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  4345. | None = None,
  4346. content_editable: Literal["inherit", "plaintext-only", False, True]
  4347. | Var[Literal["inherit", "plaintext-only", False, True]]
  4348. | None = None,
  4349. context_menu: Var[str] | str | None = None,
  4350. dir: Var[str] | str | None = None,
  4351. draggable: Var[bool] | bool | None = None,
  4352. enter_key_hint: Literal[
  4353. "done", "enter", "go", "next", "previous", "search", "send"
  4354. ]
  4355. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  4356. | None = None,
  4357. hidden: Var[bool] | bool | None = None,
  4358. input_mode: Literal[
  4359. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4360. ]
  4361. | Var[
  4362. Literal[
  4363. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4364. ]
  4365. ]
  4366. | None = None,
  4367. item_prop: Var[str] | str | None = None,
  4368. lang: Var[str] | str | None = None,
  4369. role: Literal[
  4370. "alert",
  4371. "alertdialog",
  4372. "application",
  4373. "article",
  4374. "banner",
  4375. "button",
  4376. "cell",
  4377. "checkbox",
  4378. "columnheader",
  4379. "combobox",
  4380. "complementary",
  4381. "contentinfo",
  4382. "definition",
  4383. "dialog",
  4384. "directory",
  4385. "document",
  4386. "feed",
  4387. "figure",
  4388. "form",
  4389. "grid",
  4390. "gridcell",
  4391. "group",
  4392. "heading",
  4393. "img",
  4394. "link",
  4395. "list",
  4396. "listbox",
  4397. "listitem",
  4398. "log",
  4399. "main",
  4400. "marquee",
  4401. "math",
  4402. "menu",
  4403. "menubar",
  4404. "menuitem",
  4405. "menuitemcheckbox",
  4406. "menuitemradio",
  4407. "navigation",
  4408. "none",
  4409. "note",
  4410. "option",
  4411. "presentation",
  4412. "progressbar",
  4413. "radio",
  4414. "radiogroup",
  4415. "region",
  4416. "row",
  4417. "rowgroup",
  4418. "rowheader",
  4419. "scrollbar",
  4420. "search",
  4421. "searchbox",
  4422. "separator",
  4423. "slider",
  4424. "spinbutton",
  4425. "status",
  4426. "switch",
  4427. "tab",
  4428. "table",
  4429. "tablist",
  4430. "tabpanel",
  4431. "term",
  4432. "textbox",
  4433. "timer",
  4434. "toolbar",
  4435. "tooltip",
  4436. "tree",
  4437. "treegrid",
  4438. "treeitem",
  4439. ]
  4440. | Var[
  4441. Literal[
  4442. "alert",
  4443. "alertdialog",
  4444. "application",
  4445. "article",
  4446. "banner",
  4447. "button",
  4448. "cell",
  4449. "checkbox",
  4450. "columnheader",
  4451. "combobox",
  4452. "complementary",
  4453. "contentinfo",
  4454. "definition",
  4455. "dialog",
  4456. "directory",
  4457. "document",
  4458. "feed",
  4459. "figure",
  4460. "form",
  4461. "grid",
  4462. "gridcell",
  4463. "group",
  4464. "heading",
  4465. "img",
  4466. "link",
  4467. "list",
  4468. "listbox",
  4469. "listitem",
  4470. "log",
  4471. "main",
  4472. "marquee",
  4473. "math",
  4474. "menu",
  4475. "menubar",
  4476. "menuitem",
  4477. "menuitemcheckbox",
  4478. "menuitemradio",
  4479. "navigation",
  4480. "none",
  4481. "note",
  4482. "option",
  4483. "presentation",
  4484. "progressbar",
  4485. "radio",
  4486. "radiogroup",
  4487. "region",
  4488. "row",
  4489. "rowgroup",
  4490. "rowheader",
  4491. "scrollbar",
  4492. "search",
  4493. "searchbox",
  4494. "separator",
  4495. "slider",
  4496. "spinbutton",
  4497. "status",
  4498. "switch",
  4499. "tab",
  4500. "table",
  4501. "tablist",
  4502. "tabpanel",
  4503. "term",
  4504. "textbox",
  4505. "timer",
  4506. "toolbar",
  4507. "tooltip",
  4508. "tree",
  4509. "treegrid",
  4510. "treeitem",
  4511. ]
  4512. ]
  4513. | None = None,
  4514. slot: Var[str] | str | None = None,
  4515. spell_check: Var[bool] | bool | None = None,
  4516. tab_index: Var[int] | int | None = None,
  4517. title: Var[str] | str | None = None,
  4518. style: Style | None = None,
  4519. key: Any | None = None,
  4520. id: Any | None = None,
  4521. class_name: Any | None = None,
  4522. autofocus: bool | None = None,
  4523. custom_attrs: dict[str, Var | Any] | None = None,
  4524. on_blur: Optional[EventType[()]] = None,
  4525. on_click: Optional[EventType[()]] = None,
  4526. on_context_menu: Optional[EventType[()]] = None,
  4527. on_double_click: Optional[EventType[()]] = None,
  4528. on_focus: Optional[EventType[()]] = None,
  4529. on_mount: Optional[EventType[()]] = None,
  4530. on_mouse_down: Optional[EventType[()]] = None,
  4531. on_mouse_enter: Optional[EventType[()]] = None,
  4532. on_mouse_leave: Optional[EventType[()]] = None,
  4533. on_mouse_move: Optional[EventType[()]] = None,
  4534. on_mouse_out: Optional[EventType[()]] = None,
  4535. on_mouse_over: Optional[EventType[()]] = None,
  4536. on_mouse_up: Optional[EventType[()]] = None,
  4537. on_scroll: Optional[EventType[()]] = None,
  4538. on_unmount: Optional[EventType[()]] = None,
  4539. **props,
  4540. ) -> "S":
  4541. """Create the component.
  4542. Args:
  4543. *children: The children of the component.
  4544. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  4545. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  4546. content_editable: Indicates whether the element's content is editable.
  4547. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  4548. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  4549. draggable: Defines whether the element can be dragged.
  4550. enter_key_hint: Hints what media types the media element is able to play.
  4551. hidden: Defines whether the element is hidden.
  4552. input_mode: Defines the type of the element.
  4553. item_prop: Defines the name of the element for metadata purposes.
  4554. lang: Defines the language used in the element.
  4555. role: Defines the role of the element.
  4556. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  4557. spell_check: Defines whether the element may be checked for spelling errors.
  4558. tab_index: Defines the position of the current element in the tabbing order.
  4559. title: Defines a tooltip for the element.
  4560. style: The style of the component.
  4561. key: A unique key for the component.
  4562. id: The id for the component.
  4563. class_name: The class name for the component.
  4564. autofocus: Whether the component should take the focus once the page is loaded
  4565. custom_attrs: custom attribute
  4566. **props: The props of the component.
  4567. Returns:
  4568. The component.
  4569. """
  4570. ...
  4571. class Samp(BaseHTML):
  4572. @overload
  4573. @classmethod
  4574. def create( # type: ignore
  4575. cls,
  4576. *children,
  4577. access_key: Var[str] | str | None = None,
  4578. auto_capitalize: Literal[
  4579. "characters", "none", "off", "on", "sentences", "words"
  4580. ]
  4581. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  4582. | None = None,
  4583. content_editable: Literal["inherit", "plaintext-only", False, True]
  4584. | Var[Literal["inherit", "plaintext-only", False, True]]
  4585. | None = None,
  4586. context_menu: Var[str] | str | None = None,
  4587. dir: Var[str] | str | None = None,
  4588. draggable: Var[bool] | bool | None = None,
  4589. enter_key_hint: Literal[
  4590. "done", "enter", "go", "next", "previous", "search", "send"
  4591. ]
  4592. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  4593. | None = None,
  4594. hidden: Var[bool] | bool | None = None,
  4595. input_mode: Literal[
  4596. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4597. ]
  4598. | Var[
  4599. Literal[
  4600. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4601. ]
  4602. ]
  4603. | None = None,
  4604. item_prop: Var[str] | str | None = None,
  4605. lang: Var[str] | str | None = None,
  4606. role: Literal[
  4607. "alert",
  4608. "alertdialog",
  4609. "application",
  4610. "article",
  4611. "banner",
  4612. "button",
  4613. "cell",
  4614. "checkbox",
  4615. "columnheader",
  4616. "combobox",
  4617. "complementary",
  4618. "contentinfo",
  4619. "definition",
  4620. "dialog",
  4621. "directory",
  4622. "document",
  4623. "feed",
  4624. "figure",
  4625. "form",
  4626. "grid",
  4627. "gridcell",
  4628. "group",
  4629. "heading",
  4630. "img",
  4631. "link",
  4632. "list",
  4633. "listbox",
  4634. "listitem",
  4635. "log",
  4636. "main",
  4637. "marquee",
  4638. "math",
  4639. "menu",
  4640. "menubar",
  4641. "menuitem",
  4642. "menuitemcheckbox",
  4643. "menuitemradio",
  4644. "navigation",
  4645. "none",
  4646. "note",
  4647. "option",
  4648. "presentation",
  4649. "progressbar",
  4650. "radio",
  4651. "radiogroup",
  4652. "region",
  4653. "row",
  4654. "rowgroup",
  4655. "rowheader",
  4656. "scrollbar",
  4657. "search",
  4658. "searchbox",
  4659. "separator",
  4660. "slider",
  4661. "spinbutton",
  4662. "status",
  4663. "switch",
  4664. "tab",
  4665. "table",
  4666. "tablist",
  4667. "tabpanel",
  4668. "term",
  4669. "textbox",
  4670. "timer",
  4671. "toolbar",
  4672. "tooltip",
  4673. "tree",
  4674. "treegrid",
  4675. "treeitem",
  4676. ]
  4677. | Var[
  4678. Literal[
  4679. "alert",
  4680. "alertdialog",
  4681. "application",
  4682. "article",
  4683. "banner",
  4684. "button",
  4685. "cell",
  4686. "checkbox",
  4687. "columnheader",
  4688. "combobox",
  4689. "complementary",
  4690. "contentinfo",
  4691. "definition",
  4692. "dialog",
  4693. "directory",
  4694. "document",
  4695. "feed",
  4696. "figure",
  4697. "form",
  4698. "grid",
  4699. "gridcell",
  4700. "group",
  4701. "heading",
  4702. "img",
  4703. "link",
  4704. "list",
  4705. "listbox",
  4706. "listitem",
  4707. "log",
  4708. "main",
  4709. "marquee",
  4710. "math",
  4711. "menu",
  4712. "menubar",
  4713. "menuitem",
  4714. "menuitemcheckbox",
  4715. "menuitemradio",
  4716. "navigation",
  4717. "none",
  4718. "note",
  4719. "option",
  4720. "presentation",
  4721. "progressbar",
  4722. "radio",
  4723. "radiogroup",
  4724. "region",
  4725. "row",
  4726. "rowgroup",
  4727. "rowheader",
  4728. "scrollbar",
  4729. "search",
  4730. "searchbox",
  4731. "separator",
  4732. "slider",
  4733. "spinbutton",
  4734. "status",
  4735. "switch",
  4736. "tab",
  4737. "table",
  4738. "tablist",
  4739. "tabpanel",
  4740. "term",
  4741. "textbox",
  4742. "timer",
  4743. "toolbar",
  4744. "tooltip",
  4745. "tree",
  4746. "treegrid",
  4747. "treeitem",
  4748. ]
  4749. ]
  4750. | None = None,
  4751. slot: Var[str] | str | None = None,
  4752. spell_check: Var[bool] | bool | None = None,
  4753. tab_index: Var[int] | int | None = None,
  4754. title: Var[str] | str | None = None,
  4755. style: Style | None = None,
  4756. key: Any | None = None,
  4757. id: Any | None = None,
  4758. class_name: Any | None = None,
  4759. autofocus: bool | None = None,
  4760. custom_attrs: dict[str, Var | Any] | None = None,
  4761. on_blur: Optional[EventType[()]] = None,
  4762. on_click: Optional[EventType[()]] = None,
  4763. on_context_menu: Optional[EventType[()]] = None,
  4764. on_double_click: Optional[EventType[()]] = None,
  4765. on_focus: Optional[EventType[()]] = None,
  4766. on_mount: Optional[EventType[()]] = None,
  4767. on_mouse_down: Optional[EventType[()]] = None,
  4768. on_mouse_enter: Optional[EventType[()]] = None,
  4769. on_mouse_leave: Optional[EventType[()]] = None,
  4770. on_mouse_move: Optional[EventType[()]] = None,
  4771. on_mouse_out: Optional[EventType[()]] = None,
  4772. on_mouse_over: Optional[EventType[()]] = None,
  4773. on_mouse_up: Optional[EventType[()]] = None,
  4774. on_scroll: Optional[EventType[()]] = None,
  4775. on_unmount: Optional[EventType[()]] = None,
  4776. **props,
  4777. ) -> "Samp":
  4778. """Create the component.
  4779. Args:
  4780. *children: The children of the component.
  4781. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  4782. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  4783. content_editable: Indicates whether the element's content is editable.
  4784. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  4785. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  4786. draggable: Defines whether the element can be dragged.
  4787. enter_key_hint: Hints what media types the media element is able to play.
  4788. hidden: Defines whether the element is hidden.
  4789. input_mode: Defines the type of the element.
  4790. item_prop: Defines the name of the element for metadata purposes.
  4791. lang: Defines the language used in the element.
  4792. role: Defines the role of the element.
  4793. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  4794. spell_check: Defines whether the element may be checked for spelling errors.
  4795. tab_index: Defines the position of the current element in the tabbing order.
  4796. title: Defines a tooltip for the element.
  4797. style: The style of the component.
  4798. key: A unique key for the component.
  4799. id: The id for the component.
  4800. class_name: The class name for the component.
  4801. autofocus: Whether the component should take the focus once the page is loaded
  4802. custom_attrs: custom attribute
  4803. **props: The props of the component.
  4804. Returns:
  4805. The component.
  4806. """
  4807. ...
  4808. class Small(BaseHTML):
  4809. @overload
  4810. @classmethod
  4811. def create( # type: ignore
  4812. cls,
  4813. *children,
  4814. access_key: Var[str] | str | None = None,
  4815. auto_capitalize: Literal[
  4816. "characters", "none", "off", "on", "sentences", "words"
  4817. ]
  4818. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  4819. | None = None,
  4820. content_editable: Literal["inherit", "plaintext-only", False, True]
  4821. | Var[Literal["inherit", "plaintext-only", False, True]]
  4822. | None = None,
  4823. context_menu: Var[str] | str | None = None,
  4824. dir: Var[str] | str | None = None,
  4825. draggable: Var[bool] | bool | None = None,
  4826. enter_key_hint: Literal[
  4827. "done", "enter", "go", "next", "previous", "search", "send"
  4828. ]
  4829. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  4830. | None = None,
  4831. hidden: Var[bool] | bool | None = None,
  4832. input_mode: Literal[
  4833. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4834. ]
  4835. | Var[
  4836. Literal[
  4837. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  4838. ]
  4839. ]
  4840. | None = None,
  4841. item_prop: Var[str] | str | None = None,
  4842. lang: Var[str] | str | None = None,
  4843. role: Literal[
  4844. "alert",
  4845. "alertdialog",
  4846. "application",
  4847. "article",
  4848. "banner",
  4849. "button",
  4850. "cell",
  4851. "checkbox",
  4852. "columnheader",
  4853. "combobox",
  4854. "complementary",
  4855. "contentinfo",
  4856. "definition",
  4857. "dialog",
  4858. "directory",
  4859. "document",
  4860. "feed",
  4861. "figure",
  4862. "form",
  4863. "grid",
  4864. "gridcell",
  4865. "group",
  4866. "heading",
  4867. "img",
  4868. "link",
  4869. "list",
  4870. "listbox",
  4871. "listitem",
  4872. "log",
  4873. "main",
  4874. "marquee",
  4875. "math",
  4876. "menu",
  4877. "menubar",
  4878. "menuitem",
  4879. "menuitemcheckbox",
  4880. "menuitemradio",
  4881. "navigation",
  4882. "none",
  4883. "note",
  4884. "option",
  4885. "presentation",
  4886. "progressbar",
  4887. "radio",
  4888. "radiogroup",
  4889. "region",
  4890. "row",
  4891. "rowgroup",
  4892. "rowheader",
  4893. "scrollbar",
  4894. "search",
  4895. "searchbox",
  4896. "separator",
  4897. "slider",
  4898. "spinbutton",
  4899. "status",
  4900. "switch",
  4901. "tab",
  4902. "table",
  4903. "tablist",
  4904. "tabpanel",
  4905. "term",
  4906. "textbox",
  4907. "timer",
  4908. "toolbar",
  4909. "tooltip",
  4910. "tree",
  4911. "treegrid",
  4912. "treeitem",
  4913. ]
  4914. | Var[
  4915. Literal[
  4916. "alert",
  4917. "alertdialog",
  4918. "application",
  4919. "article",
  4920. "banner",
  4921. "button",
  4922. "cell",
  4923. "checkbox",
  4924. "columnheader",
  4925. "combobox",
  4926. "complementary",
  4927. "contentinfo",
  4928. "definition",
  4929. "dialog",
  4930. "directory",
  4931. "document",
  4932. "feed",
  4933. "figure",
  4934. "form",
  4935. "grid",
  4936. "gridcell",
  4937. "group",
  4938. "heading",
  4939. "img",
  4940. "link",
  4941. "list",
  4942. "listbox",
  4943. "listitem",
  4944. "log",
  4945. "main",
  4946. "marquee",
  4947. "math",
  4948. "menu",
  4949. "menubar",
  4950. "menuitem",
  4951. "menuitemcheckbox",
  4952. "menuitemradio",
  4953. "navigation",
  4954. "none",
  4955. "note",
  4956. "option",
  4957. "presentation",
  4958. "progressbar",
  4959. "radio",
  4960. "radiogroup",
  4961. "region",
  4962. "row",
  4963. "rowgroup",
  4964. "rowheader",
  4965. "scrollbar",
  4966. "search",
  4967. "searchbox",
  4968. "separator",
  4969. "slider",
  4970. "spinbutton",
  4971. "status",
  4972. "switch",
  4973. "tab",
  4974. "table",
  4975. "tablist",
  4976. "tabpanel",
  4977. "term",
  4978. "textbox",
  4979. "timer",
  4980. "toolbar",
  4981. "tooltip",
  4982. "tree",
  4983. "treegrid",
  4984. "treeitem",
  4985. ]
  4986. ]
  4987. | None = None,
  4988. slot: Var[str] | str | None = None,
  4989. spell_check: Var[bool] | bool | None = None,
  4990. tab_index: Var[int] | int | None = None,
  4991. title: Var[str] | str | None = None,
  4992. style: Style | None = None,
  4993. key: Any | None = None,
  4994. id: Any | None = None,
  4995. class_name: Any | None = None,
  4996. autofocus: bool | None = None,
  4997. custom_attrs: dict[str, Var | Any] | None = None,
  4998. on_blur: Optional[EventType[()]] = None,
  4999. on_click: Optional[EventType[()]] = None,
  5000. on_context_menu: Optional[EventType[()]] = None,
  5001. on_double_click: Optional[EventType[()]] = None,
  5002. on_focus: Optional[EventType[()]] = None,
  5003. on_mount: Optional[EventType[()]] = None,
  5004. on_mouse_down: Optional[EventType[()]] = None,
  5005. on_mouse_enter: Optional[EventType[()]] = None,
  5006. on_mouse_leave: Optional[EventType[()]] = None,
  5007. on_mouse_move: Optional[EventType[()]] = None,
  5008. on_mouse_out: Optional[EventType[()]] = None,
  5009. on_mouse_over: Optional[EventType[()]] = None,
  5010. on_mouse_up: Optional[EventType[()]] = None,
  5011. on_scroll: Optional[EventType[()]] = None,
  5012. on_unmount: Optional[EventType[()]] = None,
  5013. **props,
  5014. ) -> "Small":
  5015. """Create the component.
  5016. Args:
  5017. *children: The children of the component.
  5018. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  5019. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  5020. content_editable: Indicates whether the element's content is editable.
  5021. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  5022. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  5023. draggable: Defines whether the element can be dragged.
  5024. enter_key_hint: Hints what media types the media element is able to play.
  5025. hidden: Defines whether the element is hidden.
  5026. input_mode: Defines the type of the element.
  5027. item_prop: Defines the name of the element for metadata purposes.
  5028. lang: Defines the language used in the element.
  5029. role: Defines the role of the element.
  5030. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  5031. spell_check: Defines whether the element may be checked for spelling errors.
  5032. tab_index: Defines the position of the current element in the tabbing order.
  5033. title: Defines a tooltip for the element.
  5034. style: The style of the component.
  5035. key: A unique key for the component.
  5036. id: The id for the component.
  5037. class_name: The class name for the component.
  5038. autofocus: Whether the component should take the focus once the page is loaded
  5039. custom_attrs: custom attribute
  5040. **props: The props of the component.
  5041. Returns:
  5042. The component.
  5043. """
  5044. ...
  5045. class Span(BaseHTML):
  5046. @overload
  5047. @classmethod
  5048. def create( # type: ignore
  5049. cls,
  5050. *children,
  5051. access_key: Var[str] | str | None = None,
  5052. auto_capitalize: Literal[
  5053. "characters", "none", "off", "on", "sentences", "words"
  5054. ]
  5055. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  5056. | None = None,
  5057. content_editable: Literal["inherit", "plaintext-only", False, True]
  5058. | Var[Literal["inherit", "plaintext-only", False, True]]
  5059. | None = None,
  5060. context_menu: Var[str] | str | None = None,
  5061. dir: Var[str] | str | None = None,
  5062. draggable: Var[bool] | bool | None = None,
  5063. enter_key_hint: Literal[
  5064. "done", "enter", "go", "next", "previous", "search", "send"
  5065. ]
  5066. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  5067. | None = None,
  5068. hidden: Var[bool] | bool | None = None,
  5069. input_mode: Literal[
  5070. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5071. ]
  5072. | Var[
  5073. Literal[
  5074. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5075. ]
  5076. ]
  5077. | None = None,
  5078. item_prop: Var[str] | str | None = None,
  5079. lang: Var[str] | str | None = None,
  5080. role: Literal[
  5081. "alert",
  5082. "alertdialog",
  5083. "application",
  5084. "article",
  5085. "banner",
  5086. "button",
  5087. "cell",
  5088. "checkbox",
  5089. "columnheader",
  5090. "combobox",
  5091. "complementary",
  5092. "contentinfo",
  5093. "definition",
  5094. "dialog",
  5095. "directory",
  5096. "document",
  5097. "feed",
  5098. "figure",
  5099. "form",
  5100. "grid",
  5101. "gridcell",
  5102. "group",
  5103. "heading",
  5104. "img",
  5105. "link",
  5106. "list",
  5107. "listbox",
  5108. "listitem",
  5109. "log",
  5110. "main",
  5111. "marquee",
  5112. "math",
  5113. "menu",
  5114. "menubar",
  5115. "menuitem",
  5116. "menuitemcheckbox",
  5117. "menuitemradio",
  5118. "navigation",
  5119. "none",
  5120. "note",
  5121. "option",
  5122. "presentation",
  5123. "progressbar",
  5124. "radio",
  5125. "radiogroup",
  5126. "region",
  5127. "row",
  5128. "rowgroup",
  5129. "rowheader",
  5130. "scrollbar",
  5131. "search",
  5132. "searchbox",
  5133. "separator",
  5134. "slider",
  5135. "spinbutton",
  5136. "status",
  5137. "switch",
  5138. "tab",
  5139. "table",
  5140. "tablist",
  5141. "tabpanel",
  5142. "term",
  5143. "textbox",
  5144. "timer",
  5145. "toolbar",
  5146. "tooltip",
  5147. "tree",
  5148. "treegrid",
  5149. "treeitem",
  5150. ]
  5151. | Var[
  5152. Literal[
  5153. "alert",
  5154. "alertdialog",
  5155. "application",
  5156. "article",
  5157. "banner",
  5158. "button",
  5159. "cell",
  5160. "checkbox",
  5161. "columnheader",
  5162. "combobox",
  5163. "complementary",
  5164. "contentinfo",
  5165. "definition",
  5166. "dialog",
  5167. "directory",
  5168. "document",
  5169. "feed",
  5170. "figure",
  5171. "form",
  5172. "grid",
  5173. "gridcell",
  5174. "group",
  5175. "heading",
  5176. "img",
  5177. "link",
  5178. "list",
  5179. "listbox",
  5180. "listitem",
  5181. "log",
  5182. "main",
  5183. "marquee",
  5184. "math",
  5185. "menu",
  5186. "menubar",
  5187. "menuitem",
  5188. "menuitemcheckbox",
  5189. "menuitemradio",
  5190. "navigation",
  5191. "none",
  5192. "note",
  5193. "option",
  5194. "presentation",
  5195. "progressbar",
  5196. "radio",
  5197. "radiogroup",
  5198. "region",
  5199. "row",
  5200. "rowgroup",
  5201. "rowheader",
  5202. "scrollbar",
  5203. "search",
  5204. "searchbox",
  5205. "separator",
  5206. "slider",
  5207. "spinbutton",
  5208. "status",
  5209. "switch",
  5210. "tab",
  5211. "table",
  5212. "tablist",
  5213. "tabpanel",
  5214. "term",
  5215. "textbox",
  5216. "timer",
  5217. "toolbar",
  5218. "tooltip",
  5219. "tree",
  5220. "treegrid",
  5221. "treeitem",
  5222. ]
  5223. ]
  5224. | None = None,
  5225. slot: Var[str] | str | None = None,
  5226. spell_check: Var[bool] | bool | None = None,
  5227. tab_index: Var[int] | int | None = None,
  5228. title: Var[str] | str | None = None,
  5229. style: Style | None = None,
  5230. key: Any | None = None,
  5231. id: Any | None = None,
  5232. class_name: Any | None = None,
  5233. autofocus: bool | None = None,
  5234. custom_attrs: dict[str, Var | Any] | None = None,
  5235. on_blur: Optional[EventType[()]] = None,
  5236. on_click: Optional[EventType[()]] = None,
  5237. on_context_menu: Optional[EventType[()]] = None,
  5238. on_double_click: Optional[EventType[()]] = None,
  5239. on_focus: Optional[EventType[()]] = None,
  5240. on_mount: Optional[EventType[()]] = None,
  5241. on_mouse_down: Optional[EventType[()]] = None,
  5242. on_mouse_enter: Optional[EventType[()]] = None,
  5243. on_mouse_leave: Optional[EventType[()]] = None,
  5244. on_mouse_move: Optional[EventType[()]] = None,
  5245. on_mouse_out: Optional[EventType[()]] = None,
  5246. on_mouse_over: Optional[EventType[()]] = None,
  5247. on_mouse_up: Optional[EventType[()]] = None,
  5248. on_scroll: Optional[EventType[()]] = None,
  5249. on_unmount: Optional[EventType[()]] = None,
  5250. **props,
  5251. ) -> "Span":
  5252. """Create the component.
  5253. Args:
  5254. *children: The children of the component.
  5255. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  5256. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  5257. content_editable: Indicates whether the element's content is editable.
  5258. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  5259. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  5260. draggable: Defines whether the element can be dragged.
  5261. enter_key_hint: Hints what media types the media element is able to play.
  5262. hidden: Defines whether the element is hidden.
  5263. input_mode: Defines the type of the element.
  5264. item_prop: Defines the name of the element for metadata purposes.
  5265. lang: Defines the language used in the element.
  5266. role: Defines the role of the element.
  5267. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  5268. spell_check: Defines whether the element may be checked for spelling errors.
  5269. tab_index: Defines the position of the current element in the tabbing order.
  5270. title: Defines a tooltip for the element.
  5271. style: The style of the component.
  5272. key: A unique key for the component.
  5273. id: The id for the component.
  5274. class_name: The class name for the component.
  5275. autofocus: Whether the component should take the focus once the page is loaded
  5276. custom_attrs: custom attribute
  5277. **props: The props of the component.
  5278. Returns:
  5279. The component.
  5280. """
  5281. ...
  5282. class Strong(BaseHTML):
  5283. @overload
  5284. @classmethod
  5285. def create( # type: ignore
  5286. cls,
  5287. *children,
  5288. access_key: Var[str] | str | None = None,
  5289. auto_capitalize: Literal[
  5290. "characters", "none", "off", "on", "sentences", "words"
  5291. ]
  5292. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  5293. | None = None,
  5294. content_editable: Literal["inherit", "plaintext-only", False, True]
  5295. | Var[Literal["inherit", "plaintext-only", False, True]]
  5296. | None = None,
  5297. context_menu: Var[str] | str | None = None,
  5298. dir: Var[str] | str | None = None,
  5299. draggable: Var[bool] | bool | None = None,
  5300. enter_key_hint: Literal[
  5301. "done", "enter", "go", "next", "previous", "search", "send"
  5302. ]
  5303. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  5304. | None = None,
  5305. hidden: Var[bool] | bool | None = None,
  5306. input_mode: Literal[
  5307. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5308. ]
  5309. | Var[
  5310. Literal[
  5311. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5312. ]
  5313. ]
  5314. | None = None,
  5315. item_prop: Var[str] | str | None = None,
  5316. lang: Var[str] | str | None = None,
  5317. role: Literal[
  5318. "alert",
  5319. "alertdialog",
  5320. "application",
  5321. "article",
  5322. "banner",
  5323. "button",
  5324. "cell",
  5325. "checkbox",
  5326. "columnheader",
  5327. "combobox",
  5328. "complementary",
  5329. "contentinfo",
  5330. "definition",
  5331. "dialog",
  5332. "directory",
  5333. "document",
  5334. "feed",
  5335. "figure",
  5336. "form",
  5337. "grid",
  5338. "gridcell",
  5339. "group",
  5340. "heading",
  5341. "img",
  5342. "link",
  5343. "list",
  5344. "listbox",
  5345. "listitem",
  5346. "log",
  5347. "main",
  5348. "marquee",
  5349. "math",
  5350. "menu",
  5351. "menubar",
  5352. "menuitem",
  5353. "menuitemcheckbox",
  5354. "menuitemradio",
  5355. "navigation",
  5356. "none",
  5357. "note",
  5358. "option",
  5359. "presentation",
  5360. "progressbar",
  5361. "radio",
  5362. "radiogroup",
  5363. "region",
  5364. "row",
  5365. "rowgroup",
  5366. "rowheader",
  5367. "scrollbar",
  5368. "search",
  5369. "searchbox",
  5370. "separator",
  5371. "slider",
  5372. "spinbutton",
  5373. "status",
  5374. "switch",
  5375. "tab",
  5376. "table",
  5377. "tablist",
  5378. "tabpanel",
  5379. "term",
  5380. "textbox",
  5381. "timer",
  5382. "toolbar",
  5383. "tooltip",
  5384. "tree",
  5385. "treegrid",
  5386. "treeitem",
  5387. ]
  5388. | Var[
  5389. Literal[
  5390. "alert",
  5391. "alertdialog",
  5392. "application",
  5393. "article",
  5394. "banner",
  5395. "button",
  5396. "cell",
  5397. "checkbox",
  5398. "columnheader",
  5399. "combobox",
  5400. "complementary",
  5401. "contentinfo",
  5402. "definition",
  5403. "dialog",
  5404. "directory",
  5405. "document",
  5406. "feed",
  5407. "figure",
  5408. "form",
  5409. "grid",
  5410. "gridcell",
  5411. "group",
  5412. "heading",
  5413. "img",
  5414. "link",
  5415. "list",
  5416. "listbox",
  5417. "listitem",
  5418. "log",
  5419. "main",
  5420. "marquee",
  5421. "math",
  5422. "menu",
  5423. "menubar",
  5424. "menuitem",
  5425. "menuitemcheckbox",
  5426. "menuitemradio",
  5427. "navigation",
  5428. "none",
  5429. "note",
  5430. "option",
  5431. "presentation",
  5432. "progressbar",
  5433. "radio",
  5434. "radiogroup",
  5435. "region",
  5436. "row",
  5437. "rowgroup",
  5438. "rowheader",
  5439. "scrollbar",
  5440. "search",
  5441. "searchbox",
  5442. "separator",
  5443. "slider",
  5444. "spinbutton",
  5445. "status",
  5446. "switch",
  5447. "tab",
  5448. "table",
  5449. "tablist",
  5450. "tabpanel",
  5451. "term",
  5452. "textbox",
  5453. "timer",
  5454. "toolbar",
  5455. "tooltip",
  5456. "tree",
  5457. "treegrid",
  5458. "treeitem",
  5459. ]
  5460. ]
  5461. | None = None,
  5462. slot: Var[str] | str | None = None,
  5463. spell_check: Var[bool] | bool | None = None,
  5464. tab_index: Var[int] | int | None = None,
  5465. title: Var[str] | str | None = None,
  5466. style: Style | None = None,
  5467. key: Any | None = None,
  5468. id: Any | None = None,
  5469. class_name: Any | None = None,
  5470. autofocus: bool | None = None,
  5471. custom_attrs: dict[str, Var | Any] | None = None,
  5472. on_blur: Optional[EventType[()]] = None,
  5473. on_click: Optional[EventType[()]] = None,
  5474. on_context_menu: Optional[EventType[()]] = None,
  5475. on_double_click: Optional[EventType[()]] = None,
  5476. on_focus: Optional[EventType[()]] = None,
  5477. on_mount: Optional[EventType[()]] = None,
  5478. on_mouse_down: Optional[EventType[()]] = None,
  5479. on_mouse_enter: Optional[EventType[()]] = None,
  5480. on_mouse_leave: Optional[EventType[()]] = None,
  5481. on_mouse_move: Optional[EventType[()]] = None,
  5482. on_mouse_out: Optional[EventType[()]] = None,
  5483. on_mouse_over: Optional[EventType[()]] = None,
  5484. on_mouse_up: Optional[EventType[()]] = None,
  5485. on_scroll: Optional[EventType[()]] = None,
  5486. on_unmount: Optional[EventType[()]] = None,
  5487. **props,
  5488. ) -> "Strong":
  5489. """Create the component.
  5490. Args:
  5491. *children: The children of the component.
  5492. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  5493. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  5494. content_editable: Indicates whether the element's content is editable.
  5495. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  5496. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  5497. draggable: Defines whether the element can be dragged.
  5498. enter_key_hint: Hints what media types the media element is able to play.
  5499. hidden: Defines whether the element is hidden.
  5500. input_mode: Defines the type of the element.
  5501. item_prop: Defines the name of the element for metadata purposes.
  5502. lang: Defines the language used in the element.
  5503. role: Defines the role of the element.
  5504. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  5505. spell_check: Defines whether the element may be checked for spelling errors.
  5506. tab_index: Defines the position of the current element in the tabbing order.
  5507. title: Defines a tooltip for the element.
  5508. style: The style of the component.
  5509. key: A unique key for the component.
  5510. id: The id for the component.
  5511. class_name: The class name for the component.
  5512. autofocus: Whether the component should take the focus once the page is loaded
  5513. custom_attrs: custom attribute
  5514. **props: The props of the component.
  5515. Returns:
  5516. The component.
  5517. """
  5518. ...
  5519. class Sub(BaseHTML):
  5520. @overload
  5521. @classmethod
  5522. def create( # type: ignore
  5523. cls,
  5524. *children,
  5525. access_key: Var[str] | str | None = None,
  5526. auto_capitalize: Literal[
  5527. "characters", "none", "off", "on", "sentences", "words"
  5528. ]
  5529. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  5530. | None = None,
  5531. content_editable: Literal["inherit", "plaintext-only", False, True]
  5532. | Var[Literal["inherit", "plaintext-only", False, True]]
  5533. | None = None,
  5534. context_menu: Var[str] | str | None = None,
  5535. dir: Var[str] | str | None = None,
  5536. draggable: Var[bool] | bool | None = None,
  5537. enter_key_hint: Literal[
  5538. "done", "enter", "go", "next", "previous", "search", "send"
  5539. ]
  5540. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  5541. | None = None,
  5542. hidden: Var[bool] | bool | None = None,
  5543. input_mode: Literal[
  5544. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5545. ]
  5546. | Var[
  5547. Literal[
  5548. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5549. ]
  5550. ]
  5551. | None = None,
  5552. item_prop: Var[str] | str | None = None,
  5553. lang: Var[str] | str | None = None,
  5554. role: Literal[
  5555. "alert",
  5556. "alertdialog",
  5557. "application",
  5558. "article",
  5559. "banner",
  5560. "button",
  5561. "cell",
  5562. "checkbox",
  5563. "columnheader",
  5564. "combobox",
  5565. "complementary",
  5566. "contentinfo",
  5567. "definition",
  5568. "dialog",
  5569. "directory",
  5570. "document",
  5571. "feed",
  5572. "figure",
  5573. "form",
  5574. "grid",
  5575. "gridcell",
  5576. "group",
  5577. "heading",
  5578. "img",
  5579. "link",
  5580. "list",
  5581. "listbox",
  5582. "listitem",
  5583. "log",
  5584. "main",
  5585. "marquee",
  5586. "math",
  5587. "menu",
  5588. "menubar",
  5589. "menuitem",
  5590. "menuitemcheckbox",
  5591. "menuitemradio",
  5592. "navigation",
  5593. "none",
  5594. "note",
  5595. "option",
  5596. "presentation",
  5597. "progressbar",
  5598. "radio",
  5599. "radiogroup",
  5600. "region",
  5601. "row",
  5602. "rowgroup",
  5603. "rowheader",
  5604. "scrollbar",
  5605. "search",
  5606. "searchbox",
  5607. "separator",
  5608. "slider",
  5609. "spinbutton",
  5610. "status",
  5611. "switch",
  5612. "tab",
  5613. "table",
  5614. "tablist",
  5615. "tabpanel",
  5616. "term",
  5617. "textbox",
  5618. "timer",
  5619. "toolbar",
  5620. "tooltip",
  5621. "tree",
  5622. "treegrid",
  5623. "treeitem",
  5624. ]
  5625. | Var[
  5626. Literal[
  5627. "alert",
  5628. "alertdialog",
  5629. "application",
  5630. "article",
  5631. "banner",
  5632. "button",
  5633. "cell",
  5634. "checkbox",
  5635. "columnheader",
  5636. "combobox",
  5637. "complementary",
  5638. "contentinfo",
  5639. "definition",
  5640. "dialog",
  5641. "directory",
  5642. "document",
  5643. "feed",
  5644. "figure",
  5645. "form",
  5646. "grid",
  5647. "gridcell",
  5648. "group",
  5649. "heading",
  5650. "img",
  5651. "link",
  5652. "list",
  5653. "listbox",
  5654. "listitem",
  5655. "log",
  5656. "main",
  5657. "marquee",
  5658. "math",
  5659. "menu",
  5660. "menubar",
  5661. "menuitem",
  5662. "menuitemcheckbox",
  5663. "menuitemradio",
  5664. "navigation",
  5665. "none",
  5666. "note",
  5667. "option",
  5668. "presentation",
  5669. "progressbar",
  5670. "radio",
  5671. "radiogroup",
  5672. "region",
  5673. "row",
  5674. "rowgroup",
  5675. "rowheader",
  5676. "scrollbar",
  5677. "search",
  5678. "searchbox",
  5679. "separator",
  5680. "slider",
  5681. "spinbutton",
  5682. "status",
  5683. "switch",
  5684. "tab",
  5685. "table",
  5686. "tablist",
  5687. "tabpanel",
  5688. "term",
  5689. "textbox",
  5690. "timer",
  5691. "toolbar",
  5692. "tooltip",
  5693. "tree",
  5694. "treegrid",
  5695. "treeitem",
  5696. ]
  5697. ]
  5698. | None = None,
  5699. slot: Var[str] | str | None = None,
  5700. spell_check: Var[bool] | bool | None = None,
  5701. tab_index: Var[int] | int | None = None,
  5702. title: Var[str] | str | None = None,
  5703. style: Style | None = None,
  5704. key: Any | None = None,
  5705. id: Any | None = None,
  5706. class_name: Any | None = None,
  5707. autofocus: bool | None = None,
  5708. custom_attrs: dict[str, Var | Any] | None = None,
  5709. on_blur: Optional[EventType[()]] = None,
  5710. on_click: Optional[EventType[()]] = None,
  5711. on_context_menu: Optional[EventType[()]] = None,
  5712. on_double_click: Optional[EventType[()]] = None,
  5713. on_focus: Optional[EventType[()]] = None,
  5714. on_mount: Optional[EventType[()]] = None,
  5715. on_mouse_down: Optional[EventType[()]] = None,
  5716. on_mouse_enter: Optional[EventType[()]] = None,
  5717. on_mouse_leave: Optional[EventType[()]] = None,
  5718. on_mouse_move: Optional[EventType[()]] = None,
  5719. on_mouse_out: Optional[EventType[()]] = None,
  5720. on_mouse_over: Optional[EventType[()]] = None,
  5721. on_mouse_up: Optional[EventType[()]] = None,
  5722. on_scroll: Optional[EventType[()]] = None,
  5723. on_unmount: Optional[EventType[()]] = None,
  5724. **props,
  5725. ) -> "Sub":
  5726. """Create the component.
  5727. Args:
  5728. *children: The children of the component.
  5729. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  5730. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  5731. content_editable: Indicates whether the element's content is editable.
  5732. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  5733. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  5734. draggable: Defines whether the element can be dragged.
  5735. enter_key_hint: Hints what media types the media element is able to play.
  5736. hidden: Defines whether the element is hidden.
  5737. input_mode: Defines the type of the element.
  5738. item_prop: Defines the name of the element for metadata purposes.
  5739. lang: Defines the language used in the element.
  5740. role: Defines the role of the element.
  5741. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  5742. spell_check: Defines whether the element may be checked for spelling errors.
  5743. tab_index: Defines the position of the current element in the tabbing order.
  5744. title: Defines a tooltip for the element.
  5745. style: The style of the component.
  5746. key: A unique key for the component.
  5747. id: The id for the component.
  5748. class_name: The class name for the component.
  5749. autofocus: Whether the component should take the focus once the page is loaded
  5750. custom_attrs: custom attribute
  5751. **props: The props of the component.
  5752. Returns:
  5753. The component.
  5754. """
  5755. ...
  5756. class Sup(BaseHTML):
  5757. @overload
  5758. @classmethod
  5759. def create( # type: ignore
  5760. cls,
  5761. *children,
  5762. access_key: Var[str] | str | None = None,
  5763. auto_capitalize: Literal[
  5764. "characters", "none", "off", "on", "sentences", "words"
  5765. ]
  5766. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  5767. | None = None,
  5768. content_editable: Literal["inherit", "plaintext-only", False, True]
  5769. | Var[Literal["inherit", "plaintext-only", False, True]]
  5770. | None = None,
  5771. context_menu: Var[str] | str | None = None,
  5772. dir: Var[str] | str | None = None,
  5773. draggable: Var[bool] | bool | None = None,
  5774. enter_key_hint: Literal[
  5775. "done", "enter", "go", "next", "previous", "search", "send"
  5776. ]
  5777. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  5778. | None = None,
  5779. hidden: Var[bool] | bool | None = None,
  5780. input_mode: Literal[
  5781. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5782. ]
  5783. | Var[
  5784. Literal[
  5785. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  5786. ]
  5787. ]
  5788. | None = None,
  5789. item_prop: Var[str] | str | None = None,
  5790. lang: Var[str] | str | None = None,
  5791. role: Literal[
  5792. "alert",
  5793. "alertdialog",
  5794. "application",
  5795. "article",
  5796. "banner",
  5797. "button",
  5798. "cell",
  5799. "checkbox",
  5800. "columnheader",
  5801. "combobox",
  5802. "complementary",
  5803. "contentinfo",
  5804. "definition",
  5805. "dialog",
  5806. "directory",
  5807. "document",
  5808. "feed",
  5809. "figure",
  5810. "form",
  5811. "grid",
  5812. "gridcell",
  5813. "group",
  5814. "heading",
  5815. "img",
  5816. "link",
  5817. "list",
  5818. "listbox",
  5819. "listitem",
  5820. "log",
  5821. "main",
  5822. "marquee",
  5823. "math",
  5824. "menu",
  5825. "menubar",
  5826. "menuitem",
  5827. "menuitemcheckbox",
  5828. "menuitemradio",
  5829. "navigation",
  5830. "none",
  5831. "note",
  5832. "option",
  5833. "presentation",
  5834. "progressbar",
  5835. "radio",
  5836. "radiogroup",
  5837. "region",
  5838. "row",
  5839. "rowgroup",
  5840. "rowheader",
  5841. "scrollbar",
  5842. "search",
  5843. "searchbox",
  5844. "separator",
  5845. "slider",
  5846. "spinbutton",
  5847. "status",
  5848. "switch",
  5849. "tab",
  5850. "table",
  5851. "tablist",
  5852. "tabpanel",
  5853. "term",
  5854. "textbox",
  5855. "timer",
  5856. "toolbar",
  5857. "tooltip",
  5858. "tree",
  5859. "treegrid",
  5860. "treeitem",
  5861. ]
  5862. | Var[
  5863. Literal[
  5864. "alert",
  5865. "alertdialog",
  5866. "application",
  5867. "article",
  5868. "banner",
  5869. "button",
  5870. "cell",
  5871. "checkbox",
  5872. "columnheader",
  5873. "combobox",
  5874. "complementary",
  5875. "contentinfo",
  5876. "definition",
  5877. "dialog",
  5878. "directory",
  5879. "document",
  5880. "feed",
  5881. "figure",
  5882. "form",
  5883. "grid",
  5884. "gridcell",
  5885. "group",
  5886. "heading",
  5887. "img",
  5888. "link",
  5889. "list",
  5890. "listbox",
  5891. "listitem",
  5892. "log",
  5893. "main",
  5894. "marquee",
  5895. "math",
  5896. "menu",
  5897. "menubar",
  5898. "menuitem",
  5899. "menuitemcheckbox",
  5900. "menuitemradio",
  5901. "navigation",
  5902. "none",
  5903. "note",
  5904. "option",
  5905. "presentation",
  5906. "progressbar",
  5907. "radio",
  5908. "radiogroup",
  5909. "region",
  5910. "row",
  5911. "rowgroup",
  5912. "rowheader",
  5913. "scrollbar",
  5914. "search",
  5915. "searchbox",
  5916. "separator",
  5917. "slider",
  5918. "spinbutton",
  5919. "status",
  5920. "switch",
  5921. "tab",
  5922. "table",
  5923. "tablist",
  5924. "tabpanel",
  5925. "term",
  5926. "textbox",
  5927. "timer",
  5928. "toolbar",
  5929. "tooltip",
  5930. "tree",
  5931. "treegrid",
  5932. "treeitem",
  5933. ]
  5934. ]
  5935. | None = None,
  5936. slot: Var[str] | str | None = None,
  5937. spell_check: Var[bool] | bool | None = None,
  5938. tab_index: Var[int] | int | None = None,
  5939. title: Var[str] | str | None = None,
  5940. style: Style | None = None,
  5941. key: Any | None = None,
  5942. id: Any | None = None,
  5943. class_name: Any | None = None,
  5944. autofocus: bool | None = None,
  5945. custom_attrs: dict[str, Var | Any] | None = None,
  5946. on_blur: Optional[EventType[()]] = None,
  5947. on_click: Optional[EventType[()]] = None,
  5948. on_context_menu: Optional[EventType[()]] = None,
  5949. on_double_click: Optional[EventType[()]] = None,
  5950. on_focus: Optional[EventType[()]] = None,
  5951. on_mount: Optional[EventType[()]] = None,
  5952. on_mouse_down: Optional[EventType[()]] = None,
  5953. on_mouse_enter: Optional[EventType[()]] = None,
  5954. on_mouse_leave: Optional[EventType[()]] = None,
  5955. on_mouse_move: Optional[EventType[()]] = None,
  5956. on_mouse_out: Optional[EventType[()]] = None,
  5957. on_mouse_over: Optional[EventType[()]] = None,
  5958. on_mouse_up: Optional[EventType[()]] = None,
  5959. on_scroll: Optional[EventType[()]] = None,
  5960. on_unmount: Optional[EventType[()]] = None,
  5961. **props,
  5962. ) -> "Sup":
  5963. """Create the component.
  5964. Args:
  5965. *children: The children of the component.
  5966. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  5967. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  5968. content_editable: Indicates whether the element's content is editable.
  5969. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  5970. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  5971. draggable: Defines whether the element can be dragged.
  5972. enter_key_hint: Hints what media types the media element is able to play.
  5973. hidden: Defines whether the element is hidden.
  5974. input_mode: Defines the type of the element.
  5975. item_prop: Defines the name of the element for metadata purposes.
  5976. lang: Defines the language used in the element.
  5977. role: Defines the role of the element.
  5978. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  5979. spell_check: Defines whether the element may be checked for spelling errors.
  5980. tab_index: Defines the position of the current element in the tabbing order.
  5981. title: Defines a tooltip for the element.
  5982. style: The style of the component.
  5983. key: A unique key for the component.
  5984. id: The id for the component.
  5985. class_name: The class name for the component.
  5986. autofocus: Whether the component should take the focus once the page is loaded
  5987. custom_attrs: custom attribute
  5988. **props: The props of the component.
  5989. Returns:
  5990. The component.
  5991. """
  5992. ...
  5993. class Time(BaseHTML):
  5994. @overload
  5995. @classmethod
  5996. def create( # type: ignore
  5997. cls,
  5998. *children,
  5999. date_time: Var[str] | str | None = None,
  6000. access_key: Var[str] | str | None = None,
  6001. auto_capitalize: Literal[
  6002. "characters", "none", "off", "on", "sentences", "words"
  6003. ]
  6004. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  6005. | None = None,
  6006. content_editable: Literal["inherit", "plaintext-only", False, True]
  6007. | Var[Literal["inherit", "plaintext-only", False, True]]
  6008. | None = None,
  6009. context_menu: Var[str] | str | None = None,
  6010. dir: Var[str] | str | None = None,
  6011. draggable: Var[bool] | bool | None = None,
  6012. enter_key_hint: Literal[
  6013. "done", "enter", "go", "next", "previous", "search", "send"
  6014. ]
  6015. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  6016. | None = None,
  6017. hidden: Var[bool] | bool | None = None,
  6018. input_mode: Literal[
  6019. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  6020. ]
  6021. | Var[
  6022. Literal[
  6023. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  6024. ]
  6025. ]
  6026. | None = None,
  6027. item_prop: Var[str] | str | None = None,
  6028. lang: Var[str] | str | None = None,
  6029. role: Literal[
  6030. "alert",
  6031. "alertdialog",
  6032. "application",
  6033. "article",
  6034. "banner",
  6035. "button",
  6036. "cell",
  6037. "checkbox",
  6038. "columnheader",
  6039. "combobox",
  6040. "complementary",
  6041. "contentinfo",
  6042. "definition",
  6043. "dialog",
  6044. "directory",
  6045. "document",
  6046. "feed",
  6047. "figure",
  6048. "form",
  6049. "grid",
  6050. "gridcell",
  6051. "group",
  6052. "heading",
  6053. "img",
  6054. "link",
  6055. "list",
  6056. "listbox",
  6057. "listitem",
  6058. "log",
  6059. "main",
  6060. "marquee",
  6061. "math",
  6062. "menu",
  6063. "menubar",
  6064. "menuitem",
  6065. "menuitemcheckbox",
  6066. "menuitemradio",
  6067. "navigation",
  6068. "none",
  6069. "note",
  6070. "option",
  6071. "presentation",
  6072. "progressbar",
  6073. "radio",
  6074. "radiogroup",
  6075. "region",
  6076. "row",
  6077. "rowgroup",
  6078. "rowheader",
  6079. "scrollbar",
  6080. "search",
  6081. "searchbox",
  6082. "separator",
  6083. "slider",
  6084. "spinbutton",
  6085. "status",
  6086. "switch",
  6087. "tab",
  6088. "table",
  6089. "tablist",
  6090. "tabpanel",
  6091. "term",
  6092. "textbox",
  6093. "timer",
  6094. "toolbar",
  6095. "tooltip",
  6096. "tree",
  6097. "treegrid",
  6098. "treeitem",
  6099. ]
  6100. | Var[
  6101. Literal[
  6102. "alert",
  6103. "alertdialog",
  6104. "application",
  6105. "article",
  6106. "banner",
  6107. "button",
  6108. "cell",
  6109. "checkbox",
  6110. "columnheader",
  6111. "combobox",
  6112. "complementary",
  6113. "contentinfo",
  6114. "definition",
  6115. "dialog",
  6116. "directory",
  6117. "document",
  6118. "feed",
  6119. "figure",
  6120. "form",
  6121. "grid",
  6122. "gridcell",
  6123. "group",
  6124. "heading",
  6125. "img",
  6126. "link",
  6127. "list",
  6128. "listbox",
  6129. "listitem",
  6130. "log",
  6131. "main",
  6132. "marquee",
  6133. "math",
  6134. "menu",
  6135. "menubar",
  6136. "menuitem",
  6137. "menuitemcheckbox",
  6138. "menuitemradio",
  6139. "navigation",
  6140. "none",
  6141. "note",
  6142. "option",
  6143. "presentation",
  6144. "progressbar",
  6145. "radio",
  6146. "radiogroup",
  6147. "region",
  6148. "row",
  6149. "rowgroup",
  6150. "rowheader",
  6151. "scrollbar",
  6152. "search",
  6153. "searchbox",
  6154. "separator",
  6155. "slider",
  6156. "spinbutton",
  6157. "status",
  6158. "switch",
  6159. "tab",
  6160. "table",
  6161. "tablist",
  6162. "tabpanel",
  6163. "term",
  6164. "textbox",
  6165. "timer",
  6166. "toolbar",
  6167. "tooltip",
  6168. "tree",
  6169. "treegrid",
  6170. "treeitem",
  6171. ]
  6172. ]
  6173. | None = None,
  6174. slot: Var[str] | str | None = None,
  6175. spell_check: Var[bool] | bool | None = None,
  6176. tab_index: Var[int] | int | None = None,
  6177. title: Var[str] | str | None = None,
  6178. style: Style | None = None,
  6179. key: Any | None = None,
  6180. id: Any | None = None,
  6181. class_name: Any | None = None,
  6182. autofocus: bool | None = None,
  6183. custom_attrs: dict[str, Var | Any] | None = None,
  6184. on_blur: Optional[EventType[()]] = None,
  6185. on_click: Optional[EventType[()]] = None,
  6186. on_context_menu: Optional[EventType[()]] = None,
  6187. on_double_click: Optional[EventType[()]] = None,
  6188. on_focus: Optional[EventType[()]] = None,
  6189. on_mount: Optional[EventType[()]] = None,
  6190. on_mouse_down: Optional[EventType[()]] = None,
  6191. on_mouse_enter: Optional[EventType[()]] = None,
  6192. on_mouse_leave: Optional[EventType[()]] = None,
  6193. on_mouse_move: Optional[EventType[()]] = None,
  6194. on_mouse_out: Optional[EventType[()]] = None,
  6195. on_mouse_over: Optional[EventType[()]] = None,
  6196. on_mouse_up: Optional[EventType[()]] = None,
  6197. on_scroll: Optional[EventType[()]] = None,
  6198. on_unmount: Optional[EventType[()]] = None,
  6199. **props,
  6200. ) -> "Time":
  6201. """Create the component.
  6202. Args:
  6203. *children: The children of the component.
  6204. date_time: Specifies the date and/or time of the element.
  6205. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  6206. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  6207. content_editable: Indicates whether the element's content is editable.
  6208. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  6209. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  6210. draggable: Defines whether the element can be dragged.
  6211. enter_key_hint: Hints what media types the media element is able to play.
  6212. hidden: Defines whether the element is hidden.
  6213. input_mode: Defines the type of the element.
  6214. item_prop: Defines the name of the element for metadata purposes.
  6215. lang: Defines the language used in the element.
  6216. role: Defines the role of the element.
  6217. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  6218. spell_check: Defines whether the element may be checked for spelling errors.
  6219. tab_index: Defines the position of the current element in the tabbing order.
  6220. title: Defines a tooltip for the element.
  6221. style: The style of the component.
  6222. key: A unique key for the component.
  6223. id: The id for the component.
  6224. class_name: The class name for the component.
  6225. autofocus: Whether the component should take the focus once the page is loaded
  6226. custom_attrs: custom attribute
  6227. **props: The props of the component.
  6228. Returns:
  6229. The component.
  6230. """
  6231. ...
  6232. class U(BaseHTML):
  6233. @overload
  6234. @classmethod
  6235. def create( # type: ignore
  6236. cls,
  6237. *children,
  6238. access_key: Var[str] | str | None = None,
  6239. auto_capitalize: Literal[
  6240. "characters", "none", "off", "on", "sentences", "words"
  6241. ]
  6242. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  6243. | None = None,
  6244. content_editable: Literal["inherit", "plaintext-only", False, True]
  6245. | Var[Literal["inherit", "plaintext-only", False, True]]
  6246. | None = None,
  6247. context_menu: Var[str] | str | None = None,
  6248. dir: Var[str] | str | None = None,
  6249. draggable: Var[bool] | bool | None = None,
  6250. enter_key_hint: Literal[
  6251. "done", "enter", "go", "next", "previous", "search", "send"
  6252. ]
  6253. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  6254. | None = None,
  6255. hidden: Var[bool] | bool | None = None,
  6256. input_mode: Literal[
  6257. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  6258. ]
  6259. | Var[
  6260. Literal[
  6261. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  6262. ]
  6263. ]
  6264. | None = None,
  6265. item_prop: Var[str] | str | None = None,
  6266. lang: Var[str] | str | None = None,
  6267. role: Literal[
  6268. "alert",
  6269. "alertdialog",
  6270. "application",
  6271. "article",
  6272. "banner",
  6273. "button",
  6274. "cell",
  6275. "checkbox",
  6276. "columnheader",
  6277. "combobox",
  6278. "complementary",
  6279. "contentinfo",
  6280. "definition",
  6281. "dialog",
  6282. "directory",
  6283. "document",
  6284. "feed",
  6285. "figure",
  6286. "form",
  6287. "grid",
  6288. "gridcell",
  6289. "group",
  6290. "heading",
  6291. "img",
  6292. "link",
  6293. "list",
  6294. "listbox",
  6295. "listitem",
  6296. "log",
  6297. "main",
  6298. "marquee",
  6299. "math",
  6300. "menu",
  6301. "menubar",
  6302. "menuitem",
  6303. "menuitemcheckbox",
  6304. "menuitemradio",
  6305. "navigation",
  6306. "none",
  6307. "note",
  6308. "option",
  6309. "presentation",
  6310. "progressbar",
  6311. "radio",
  6312. "radiogroup",
  6313. "region",
  6314. "row",
  6315. "rowgroup",
  6316. "rowheader",
  6317. "scrollbar",
  6318. "search",
  6319. "searchbox",
  6320. "separator",
  6321. "slider",
  6322. "spinbutton",
  6323. "status",
  6324. "switch",
  6325. "tab",
  6326. "table",
  6327. "tablist",
  6328. "tabpanel",
  6329. "term",
  6330. "textbox",
  6331. "timer",
  6332. "toolbar",
  6333. "tooltip",
  6334. "tree",
  6335. "treegrid",
  6336. "treeitem",
  6337. ]
  6338. | Var[
  6339. Literal[
  6340. "alert",
  6341. "alertdialog",
  6342. "application",
  6343. "article",
  6344. "banner",
  6345. "button",
  6346. "cell",
  6347. "checkbox",
  6348. "columnheader",
  6349. "combobox",
  6350. "complementary",
  6351. "contentinfo",
  6352. "definition",
  6353. "dialog",
  6354. "directory",
  6355. "document",
  6356. "feed",
  6357. "figure",
  6358. "form",
  6359. "grid",
  6360. "gridcell",
  6361. "group",
  6362. "heading",
  6363. "img",
  6364. "link",
  6365. "list",
  6366. "listbox",
  6367. "listitem",
  6368. "log",
  6369. "main",
  6370. "marquee",
  6371. "math",
  6372. "menu",
  6373. "menubar",
  6374. "menuitem",
  6375. "menuitemcheckbox",
  6376. "menuitemradio",
  6377. "navigation",
  6378. "none",
  6379. "note",
  6380. "option",
  6381. "presentation",
  6382. "progressbar",
  6383. "radio",
  6384. "radiogroup",
  6385. "region",
  6386. "row",
  6387. "rowgroup",
  6388. "rowheader",
  6389. "scrollbar",
  6390. "search",
  6391. "searchbox",
  6392. "separator",
  6393. "slider",
  6394. "spinbutton",
  6395. "status",
  6396. "switch",
  6397. "tab",
  6398. "table",
  6399. "tablist",
  6400. "tabpanel",
  6401. "term",
  6402. "textbox",
  6403. "timer",
  6404. "toolbar",
  6405. "tooltip",
  6406. "tree",
  6407. "treegrid",
  6408. "treeitem",
  6409. ]
  6410. ]
  6411. | None = None,
  6412. slot: Var[str] | str | None = None,
  6413. spell_check: Var[bool] | bool | None = None,
  6414. tab_index: Var[int] | int | None = None,
  6415. title: Var[str] | str | None = None,
  6416. style: Style | None = None,
  6417. key: Any | None = None,
  6418. id: Any | None = None,
  6419. class_name: Any | None = None,
  6420. autofocus: bool | None = None,
  6421. custom_attrs: dict[str, Var | Any] | None = None,
  6422. on_blur: Optional[EventType[()]] = None,
  6423. on_click: Optional[EventType[()]] = None,
  6424. on_context_menu: Optional[EventType[()]] = None,
  6425. on_double_click: Optional[EventType[()]] = None,
  6426. on_focus: Optional[EventType[()]] = None,
  6427. on_mount: Optional[EventType[()]] = None,
  6428. on_mouse_down: Optional[EventType[()]] = None,
  6429. on_mouse_enter: Optional[EventType[()]] = None,
  6430. on_mouse_leave: Optional[EventType[()]] = None,
  6431. on_mouse_move: Optional[EventType[()]] = None,
  6432. on_mouse_out: Optional[EventType[()]] = None,
  6433. on_mouse_over: Optional[EventType[()]] = None,
  6434. on_mouse_up: Optional[EventType[()]] = None,
  6435. on_scroll: Optional[EventType[()]] = None,
  6436. on_unmount: Optional[EventType[()]] = None,
  6437. **props,
  6438. ) -> "U":
  6439. """Create the component.
  6440. Args:
  6441. *children: The children of the component.
  6442. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  6443. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  6444. content_editable: Indicates whether the element's content is editable.
  6445. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  6446. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  6447. draggable: Defines whether the element can be dragged.
  6448. enter_key_hint: Hints what media types the media element is able to play.
  6449. hidden: Defines whether the element is hidden.
  6450. input_mode: Defines the type of the element.
  6451. item_prop: Defines the name of the element for metadata purposes.
  6452. lang: Defines the language used in the element.
  6453. role: Defines the role of the element.
  6454. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  6455. spell_check: Defines whether the element may be checked for spelling errors.
  6456. tab_index: Defines the position of the current element in the tabbing order.
  6457. title: Defines a tooltip for the element.
  6458. style: The style of the component.
  6459. key: A unique key for the component.
  6460. id: The id for the component.
  6461. class_name: The class name for the component.
  6462. autofocus: Whether the component should take the focus once the page is loaded
  6463. custom_attrs: custom attribute
  6464. **props: The props of the component.
  6465. Returns:
  6466. The component.
  6467. """
  6468. ...
  6469. class Wbr(BaseHTML):
  6470. @overload
  6471. @classmethod
  6472. def create( # type: ignore
  6473. cls,
  6474. *children,
  6475. access_key: Var[str] | str | None = None,
  6476. auto_capitalize: Literal[
  6477. "characters", "none", "off", "on", "sentences", "words"
  6478. ]
  6479. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  6480. | None = None,
  6481. content_editable: Literal["inherit", "plaintext-only", False, True]
  6482. | Var[Literal["inherit", "plaintext-only", False, True]]
  6483. | None = None,
  6484. context_menu: Var[str] | str | None = None,
  6485. dir: Var[str] | str | None = None,
  6486. draggable: Var[bool] | bool | None = None,
  6487. enter_key_hint: Literal[
  6488. "done", "enter", "go", "next", "previous", "search", "send"
  6489. ]
  6490. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  6491. | None = None,
  6492. hidden: Var[bool] | bool | None = None,
  6493. input_mode: Literal[
  6494. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  6495. ]
  6496. | Var[
  6497. Literal[
  6498. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  6499. ]
  6500. ]
  6501. | None = None,
  6502. item_prop: Var[str] | str | None = None,
  6503. lang: Var[str] | str | None = None,
  6504. role: Literal[
  6505. "alert",
  6506. "alertdialog",
  6507. "application",
  6508. "article",
  6509. "banner",
  6510. "button",
  6511. "cell",
  6512. "checkbox",
  6513. "columnheader",
  6514. "combobox",
  6515. "complementary",
  6516. "contentinfo",
  6517. "definition",
  6518. "dialog",
  6519. "directory",
  6520. "document",
  6521. "feed",
  6522. "figure",
  6523. "form",
  6524. "grid",
  6525. "gridcell",
  6526. "group",
  6527. "heading",
  6528. "img",
  6529. "link",
  6530. "list",
  6531. "listbox",
  6532. "listitem",
  6533. "log",
  6534. "main",
  6535. "marquee",
  6536. "math",
  6537. "menu",
  6538. "menubar",
  6539. "menuitem",
  6540. "menuitemcheckbox",
  6541. "menuitemradio",
  6542. "navigation",
  6543. "none",
  6544. "note",
  6545. "option",
  6546. "presentation",
  6547. "progressbar",
  6548. "radio",
  6549. "radiogroup",
  6550. "region",
  6551. "row",
  6552. "rowgroup",
  6553. "rowheader",
  6554. "scrollbar",
  6555. "search",
  6556. "searchbox",
  6557. "separator",
  6558. "slider",
  6559. "spinbutton",
  6560. "status",
  6561. "switch",
  6562. "tab",
  6563. "table",
  6564. "tablist",
  6565. "tabpanel",
  6566. "term",
  6567. "textbox",
  6568. "timer",
  6569. "toolbar",
  6570. "tooltip",
  6571. "tree",
  6572. "treegrid",
  6573. "treeitem",
  6574. ]
  6575. | Var[
  6576. Literal[
  6577. "alert",
  6578. "alertdialog",
  6579. "application",
  6580. "article",
  6581. "banner",
  6582. "button",
  6583. "cell",
  6584. "checkbox",
  6585. "columnheader",
  6586. "combobox",
  6587. "complementary",
  6588. "contentinfo",
  6589. "definition",
  6590. "dialog",
  6591. "directory",
  6592. "document",
  6593. "feed",
  6594. "figure",
  6595. "form",
  6596. "grid",
  6597. "gridcell",
  6598. "group",
  6599. "heading",
  6600. "img",
  6601. "link",
  6602. "list",
  6603. "listbox",
  6604. "listitem",
  6605. "log",
  6606. "main",
  6607. "marquee",
  6608. "math",
  6609. "menu",
  6610. "menubar",
  6611. "menuitem",
  6612. "menuitemcheckbox",
  6613. "menuitemradio",
  6614. "navigation",
  6615. "none",
  6616. "note",
  6617. "option",
  6618. "presentation",
  6619. "progressbar",
  6620. "radio",
  6621. "radiogroup",
  6622. "region",
  6623. "row",
  6624. "rowgroup",
  6625. "rowheader",
  6626. "scrollbar",
  6627. "search",
  6628. "searchbox",
  6629. "separator",
  6630. "slider",
  6631. "spinbutton",
  6632. "status",
  6633. "switch",
  6634. "tab",
  6635. "table",
  6636. "tablist",
  6637. "tabpanel",
  6638. "term",
  6639. "textbox",
  6640. "timer",
  6641. "toolbar",
  6642. "tooltip",
  6643. "tree",
  6644. "treegrid",
  6645. "treeitem",
  6646. ]
  6647. ]
  6648. | None = None,
  6649. slot: Var[str] | str | None = None,
  6650. spell_check: Var[bool] | bool | None = None,
  6651. tab_index: Var[int] | int | None = None,
  6652. title: Var[str] | str | None = None,
  6653. style: Style | None = None,
  6654. key: Any | None = None,
  6655. id: Any | None = None,
  6656. class_name: Any | None = None,
  6657. autofocus: bool | None = None,
  6658. custom_attrs: dict[str, Var | Any] | None = None,
  6659. on_blur: Optional[EventType[()]] = None,
  6660. on_click: Optional[EventType[()]] = None,
  6661. on_context_menu: Optional[EventType[()]] = None,
  6662. on_double_click: Optional[EventType[()]] = None,
  6663. on_focus: Optional[EventType[()]] = None,
  6664. on_mount: Optional[EventType[()]] = None,
  6665. on_mouse_down: Optional[EventType[()]] = None,
  6666. on_mouse_enter: Optional[EventType[()]] = None,
  6667. on_mouse_leave: Optional[EventType[()]] = None,
  6668. on_mouse_move: Optional[EventType[()]] = None,
  6669. on_mouse_out: Optional[EventType[()]] = None,
  6670. on_mouse_over: Optional[EventType[()]] = None,
  6671. on_mouse_up: Optional[EventType[()]] = None,
  6672. on_scroll: Optional[EventType[()]] = None,
  6673. on_unmount: Optional[EventType[()]] = None,
  6674. **props,
  6675. ) -> "Wbr":
  6676. """Create the component.
  6677. Args:
  6678. *children: The children of the component.
  6679. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  6680. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  6681. content_editable: Indicates whether the element's content is editable.
  6682. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  6683. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  6684. draggable: Defines whether the element can be dragged.
  6685. enter_key_hint: Hints what media types the media element is able to play.
  6686. hidden: Defines whether the element is hidden.
  6687. input_mode: Defines the type of the element.
  6688. item_prop: Defines the name of the element for metadata purposes.
  6689. lang: Defines the language used in the element.
  6690. role: Defines the role of the element.
  6691. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  6692. spell_check: Defines whether the element may be checked for spelling errors.
  6693. tab_index: Defines the position of the current element in the tabbing order.
  6694. title: Defines a tooltip for the element.
  6695. style: The style of the component.
  6696. key: A unique key for the component.
  6697. id: The id for the component.
  6698. class_name: The class name for the component.
  6699. autofocus: Whether the component should take the focus once the page is loaded
  6700. custom_attrs: custom attribute
  6701. **props: The props of the component.
  6702. Returns:
  6703. The component.
  6704. """
  6705. ...
  6706. a = A.create
  6707. abbr = Abbr.create
  6708. b = B.create
  6709. bdi = Bdi.create
  6710. bdo = Bdo.create
  6711. br = Br.create
  6712. cite = Cite.create
  6713. code = Code.create
  6714. data = Data.create
  6715. dfn = Dfn.create
  6716. em = Em.create
  6717. i = I.create
  6718. kbd = Kbd.create
  6719. mark = Mark.create
  6720. q = Q.create
  6721. rp = Rp.create
  6722. rt = Rt.create
  6723. ruby = Ruby.create
  6724. s = S.create
  6725. samp = Samp.create
  6726. small = Small.create
  6727. span = Span.create
  6728. strong = Strong.create
  6729. sub = Sub.create
  6730. sup = Sup.create
  6731. time = Time.create
  6732. u = U.create
  6733. wbr = Wbr.create