media.pyi 214 KB

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