docs-json.json 720 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576
  1. {
  2. "timestamp": "2022-10-27T20:27:56",
  3. "compiler": {
  4. "name": "@stencil/core",
  5. "version": "2.18.1",
  6. "typescriptVersion": "4.7.4"
  7. },
  8. "components": [
  9. {
  10. "filePath": "./src/components/accordion/accordion.tsx",
  11. "encapsulation": "shadow",
  12. "tag": "calcite-accordion",
  13. "readme": "# calcite-accordion\n\n`calcite-accordion` can be used to present content in collapsible sections. Configuration options exist for visual style (icon-position, scale, appearance), and selection functionality. Selection modes include \"multi\", \"single\", and \"single-persist\".\n",
  14. "docs": "`calcite-accordion` can be used to present content in collapsible sections. Configuration options exist for visual style (icon-position, scale, appearance), and selection functionality. Selection modes include \"multi\", \"single\", and \"single-persist\".",
  15. "docsTags": [
  16. {
  17. "name": "slot",
  18. "text": "- A slot for adding `calcite-accordion-item`s. `calcite-accordion` cannot be nested, however `calcite-accordion-item`s can."
  19. }
  20. ],
  21. "usage": {
  22. "Basic": "```html\n<calcite-accordion>\n <calcite-accordion-item heading=\"Accordion Item\">Accordion Section Content </calcite-accordion-item>\n <calcite-accordion-item heading=\"Accordion Item 2\" active>Accordion Section Content </calcite-accordion-item>\n <calcite-accordion-item heading=\"Accordion Item 3\">Accordion Section Content </calcite-accordion-item>\n</calcite-accordion>\n```\n"
  23. },
  24. "props": [
  25. {
  26. "name": "appearance",
  27. "type": "\"default\" | \"minimal\" | \"solid\" | \"transparent\"",
  28. "mutable": false,
  29. "attr": "appearance",
  30. "reflectToAttr": true,
  31. "docs": "Specifies the appearance of the component.",
  32. "docsTags": [],
  33. "default": "\"solid\"",
  34. "values": [
  35. {
  36. "value": "default",
  37. "type": "string"
  38. },
  39. {
  40. "value": "minimal",
  41. "type": "string"
  42. },
  43. {
  44. "value": "solid",
  45. "type": "string"
  46. },
  47. {
  48. "value": "transparent",
  49. "type": "string"
  50. }
  51. ],
  52. "optional": false,
  53. "required": false
  54. },
  55. {
  56. "name": "iconPosition",
  57. "type": "\"end\" | \"start\"",
  58. "mutable": false,
  59. "attr": "icon-position",
  60. "reflectToAttr": true,
  61. "docs": "Specifies the placement of the icon in the header.",
  62. "docsTags": [],
  63. "default": "\"end\"",
  64. "values": [
  65. {
  66. "value": "end",
  67. "type": "string"
  68. },
  69. {
  70. "value": "start",
  71. "type": "string"
  72. }
  73. ],
  74. "optional": false,
  75. "required": false
  76. },
  77. {
  78. "name": "iconType",
  79. "type": "\"caret\" | \"chevron\" | \"plus-minus\"",
  80. "mutable": false,
  81. "attr": "icon-type",
  82. "reflectToAttr": true,
  83. "docs": "Specifies the type of the icon in the header.",
  84. "docsTags": [],
  85. "default": "\"chevron\"",
  86. "values": [
  87. {
  88. "value": "caret",
  89. "type": "string"
  90. },
  91. {
  92. "value": "chevron",
  93. "type": "string"
  94. },
  95. {
  96. "value": "plus-minus",
  97. "type": "string"
  98. }
  99. ],
  100. "optional": false,
  101. "required": false
  102. },
  103. {
  104. "name": "scale",
  105. "type": "\"l\" | \"m\" | \"s\"",
  106. "mutable": false,
  107. "attr": "scale",
  108. "reflectToAttr": true,
  109. "docs": "Specifies the size of the component.",
  110. "docsTags": [],
  111. "default": "\"m\"",
  112. "values": [
  113. {
  114. "value": "l",
  115. "type": "string"
  116. },
  117. {
  118. "value": "m",
  119. "type": "string"
  120. },
  121. {
  122. "value": "s",
  123. "type": "string"
  124. }
  125. ],
  126. "optional": false,
  127. "required": false
  128. },
  129. {
  130. "name": "selectionMode",
  131. "type": "\"multi\" | \"single\" | \"single-persist\"",
  132. "mutable": false,
  133. "attr": "selection-mode",
  134. "reflectToAttr": true,
  135. "docs": "Specifies the selection mode - `\"multi\"` (allow any number of open items), `\"single\"` (allow one open item),\nor `\"single-persist\"` (allow and require one open item).",
  136. "docsTags": [],
  137. "default": "\"multi\"",
  138. "values": [
  139. {
  140. "value": "multi",
  141. "type": "string"
  142. },
  143. {
  144. "value": "single",
  145. "type": "string"
  146. },
  147. {
  148. "value": "single-persist",
  149. "type": "string"
  150. }
  151. ],
  152. "optional": false,
  153. "required": false
  154. }
  155. ],
  156. "methods": [],
  157. "events": [],
  158. "listeners": [
  159. {
  160. "event": "calciteInternalAccordionItemKeyEvent",
  161. "capture": false,
  162. "passive": false
  163. },
  164. {
  165. "event": "calciteInternalAccordionItemRegister",
  166. "capture": false,
  167. "passive": false
  168. },
  169. {
  170. "event": "calciteInternalAccordionItemSelect",
  171. "capture": false,
  172. "passive": false
  173. }
  174. ],
  175. "styles": [],
  176. "slots": [
  177. {
  178. "name": "",
  179. "docs": "A slot for adding `calcite-accordion-item`s. `calcite-accordion` cannot be nested, however `calcite-accordion-item`s can."
  180. }
  181. ],
  182. "parts": [],
  183. "dependents": [],
  184. "dependencies": [],
  185. "dependencyGraph": {}
  186. },
  187. {
  188. "filePath": "./src/components/accordion-item/accordion-item.tsx",
  189. "encapsulation": "shadow",
  190. "tag": "calcite-accordion-item",
  191. "readme": "# calcite-accordion-item\n\nindividual `calcite-accordion` item\n",
  192. "docs": "individual `calcite-accordion` item",
  193. "docsTags": [
  194. {
  195. "name": "slot",
  196. "text": "- A slot for adding custom content, including nested `calcite-accordion-item`s."
  197. }
  198. ],
  199. "usage": {},
  200. "props": [
  201. {
  202. "name": "active",
  203. "type": "boolean",
  204. "mutable": true,
  205. "attr": "active",
  206. "reflectToAttr": true,
  207. "docs": "When `true`, the component is active.",
  208. "docsTags": [
  209. {
  210. "name": "deprecated",
  211. "text": "use `expanded` instead."
  212. }
  213. ],
  214. "default": "false",
  215. "deprecation": "use `expanded` instead.",
  216. "values": [
  217. {
  218. "type": "boolean"
  219. }
  220. ],
  221. "optional": false,
  222. "required": false
  223. },
  224. {
  225. "name": "description",
  226. "type": "string",
  227. "mutable": false,
  228. "attr": "description",
  229. "reflectToAttr": false,
  230. "docs": "Specifies a description for the component.",
  231. "docsTags": [],
  232. "values": [
  233. {
  234. "type": "string"
  235. }
  236. ],
  237. "optional": false,
  238. "required": false
  239. },
  240. {
  241. "name": "expanded",
  242. "type": "boolean",
  243. "mutable": true,
  244. "attr": "expanded",
  245. "reflectToAttr": true,
  246. "docs": "When `true`, the component is expanded.",
  247. "docsTags": [],
  248. "default": "false",
  249. "values": [
  250. {
  251. "type": "boolean"
  252. }
  253. ],
  254. "optional": false,
  255. "required": false
  256. },
  257. {
  258. "name": "heading",
  259. "type": "string",
  260. "mutable": false,
  261. "attr": "heading",
  262. "reflectToAttr": false,
  263. "docs": "Specifies heading text for the component.",
  264. "docsTags": [],
  265. "values": [
  266. {
  267. "type": "string"
  268. }
  269. ],
  270. "optional": true,
  271. "required": false
  272. },
  273. {
  274. "name": "icon",
  275. "type": "string",
  276. "mutable": true,
  277. "attr": "icon",
  278. "reflectToAttr": true,
  279. "docs": "Specifies an icon to display.",
  280. "docsTags": [
  281. {
  282. "name": "deprecated",
  283. "text": "use `iconStart` or `iconEnd` instead."
  284. }
  285. ],
  286. "deprecation": "use `iconStart` or `iconEnd` instead.",
  287. "values": [
  288. {
  289. "type": "string"
  290. }
  291. ],
  292. "optional": true,
  293. "required": false
  294. },
  295. {
  296. "name": "iconEnd",
  297. "type": "string",
  298. "mutable": false,
  299. "attr": "icon-end",
  300. "reflectToAttr": true,
  301. "docs": "Specifies an icon to display at the end of the component.",
  302. "docsTags": [],
  303. "values": [
  304. {
  305. "type": "string"
  306. }
  307. ],
  308. "optional": true,
  309. "required": false
  310. },
  311. {
  312. "name": "iconStart",
  313. "type": "string",
  314. "mutable": false,
  315. "attr": "icon-start",
  316. "reflectToAttr": true,
  317. "docs": "Specifies an icon to display at the start of the component.",
  318. "docsTags": [],
  319. "values": [
  320. {
  321. "type": "string"
  322. }
  323. ],
  324. "optional": true,
  325. "required": false
  326. },
  327. {
  328. "name": "itemSubtitle",
  329. "type": "string",
  330. "mutable": false,
  331. "attr": "item-subtitle",
  332. "reflectToAttr": false,
  333. "docs": "Specifies a subtitle for the component.",
  334. "docsTags": [
  335. {
  336. "name": "deprecated",
  337. "text": "Use `description` instead."
  338. }
  339. ],
  340. "deprecation": "Use `description` instead.",
  341. "values": [
  342. {
  343. "type": "string"
  344. }
  345. ],
  346. "optional": true,
  347. "required": false
  348. },
  349. {
  350. "name": "itemTitle",
  351. "type": "string",
  352. "mutable": false,
  353. "attr": "item-title",
  354. "reflectToAttr": false,
  355. "docs": "Specifies a title for the component.",
  356. "docsTags": [
  357. {
  358. "name": "deprecated",
  359. "text": "Use `heading` instead."
  360. }
  361. ],
  362. "deprecation": "Use `heading` instead.",
  363. "values": [
  364. {
  365. "type": "string"
  366. }
  367. ],
  368. "optional": true,
  369. "required": false
  370. }
  371. ],
  372. "methods": [],
  373. "events": [],
  374. "listeners": [
  375. {
  376. "event": "keydown",
  377. "capture": false,
  378. "passive": false
  379. },
  380. {
  381. "event": "calciteInternalAccordionChange",
  382. "target": "body",
  383. "capture": false,
  384. "passive": false
  385. }
  386. ],
  387. "styles": [],
  388. "slots": [
  389. {
  390. "name": "",
  391. "docs": "A slot for adding custom content, including nested `calcite-accordion-item`s."
  392. }
  393. ],
  394. "parts": [],
  395. "dependents": [],
  396. "dependencies": [
  397. "calcite-icon"
  398. ],
  399. "dependencyGraph": {
  400. "calcite-accordion-item": [
  401. "calcite-icon"
  402. ]
  403. }
  404. },
  405. {
  406. "filePath": "./src/components/action/action.tsx",
  407. "encapsulation": "shadow",
  408. "tag": "calcite-action",
  409. "readme": "# calcite-action\n\nThe `calcite-action` component lives in either a `calcite-action-bar` or `calcite-action-pad`. Actions look like an icon with a text description option of the component that will be revealed when the icon/ text is clicked or selected.\n",
  410. "docs": "The `calcite-action` component lives in either a `calcite-action-bar` or `calcite-action-pad`. Actions look like an icon with a text description option of the component that will be revealed when the icon/ text is clicked or selected.",
  411. "docsTags": [
  412. {
  413. "name": "slot",
  414. "text": "- A slot for adding a `calcite-icon`."
  415. }
  416. ],
  417. "usage": {
  418. "Clear-appearance": "Renders a `calcite-action` that has a clear background.\n\n```html\n<calcite-action appearance=\"clear\" text=\"Layers\" icon=\"layers\"></calcite-action>\n```\n",
  419. "With-text-displayed": "Renders a `calcite-action` that displays text alongside an icon.\n\n```html\n<calcite-action label=\"Performs my custom action\" text=\"Perform Action!\" text-enabled icon=\"save\"></calcite-action>\n```\n",
  420. "With-tooltip": "Renders a `calcite-action` that displays text alongside an icon. A `calcite-tooltip` will be displayed on hover or focus.\n\n```html\n<calcite-action label=\"Performs my custom action\" text=\"Perform Action!\" text-enabled icon=\"save\"\n ><calcite-tooltip slot=\"tooltip\">Save me!</calcite-tooltip></calcite-action\n>\n```\n",
  421. "Without-text-displayed": "Renders a `calcite-action` that displays only an icon.\n\n```html\n<calcite-action label=\"Performs my custom action\" text=\"My Custom Action\" icon=\"plus\"></calcite-action>\n```\n"
  422. },
  423. "props": [
  424. {
  425. "name": "active",
  426. "type": "boolean",
  427. "mutable": false,
  428. "attr": "active",
  429. "reflectToAttr": true,
  430. "docs": "When `true`, the component is highlighted.",
  431. "docsTags": [],
  432. "default": "false",
  433. "values": [
  434. {
  435. "type": "boolean"
  436. }
  437. ],
  438. "optional": false,
  439. "required": false
  440. },
  441. {
  442. "name": "alignment",
  443. "type": "\"center\" | \"end\" | \"start\"",
  444. "mutable": false,
  445. "attr": "alignment",
  446. "reflectToAttr": true,
  447. "docs": "Specifies the horizontal alignment of button elements with text content.",
  448. "docsTags": [],
  449. "values": [
  450. {
  451. "value": "center",
  452. "type": "string"
  453. },
  454. {
  455. "value": "end",
  456. "type": "string"
  457. },
  458. {
  459. "value": "start",
  460. "type": "string"
  461. }
  462. ],
  463. "optional": true,
  464. "required": false
  465. },
  466. {
  467. "name": "appearance",
  468. "type": "\"clear\" | \"solid\"",
  469. "mutable": false,
  470. "attr": "appearance",
  471. "reflectToAttr": true,
  472. "docs": "Specifies the appearance of the component.",
  473. "docsTags": [],
  474. "default": "\"solid\"",
  475. "values": [
  476. {
  477. "value": "clear",
  478. "type": "string"
  479. },
  480. {
  481. "value": "solid",
  482. "type": "string"
  483. }
  484. ],
  485. "optional": false,
  486. "required": false
  487. },
  488. {
  489. "name": "compact",
  490. "type": "boolean",
  491. "mutable": false,
  492. "attr": "compact",
  493. "reflectToAttr": true,
  494. "docs": "When `true`, the side padding of the component is reduced. Compact mode is used internally by components, e.g. `calcite-block-section`.",
  495. "docsTags": [],
  496. "default": "false",
  497. "values": [
  498. {
  499. "type": "boolean"
  500. }
  501. ],
  502. "optional": false,
  503. "required": false
  504. },
  505. {
  506. "name": "disabled",
  507. "type": "boolean",
  508. "mutable": false,
  509. "attr": "disabled",
  510. "reflectToAttr": true,
  511. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  512. "docsTags": [],
  513. "default": "false",
  514. "values": [
  515. {
  516. "type": "boolean"
  517. }
  518. ],
  519. "optional": false,
  520. "required": false
  521. },
  522. {
  523. "name": "icon",
  524. "type": "string",
  525. "mutable": false,
  526. "attr": "icon",
  527. "reflectToAttr": false,
  528. "docs": "Specifies an icon to display.",
  529. "docsTags": [],
  530. "values": [
  531. {
  532. "type": "string"
  533. }
  534. ],
  535. "optional": true,
  536. "required": false
  537. },
  538. {
  539. "name": "indicator",
  540. "type": "boolean",
  541. "mutable": false,
  542. "attr": "indicator",
  543. "reflectToAttr": true,
  544. "docs": "When `true`, indicates unread changes.",
  545. "docsTags": [],
  546. "default": "false",
  547. "values": [
  548. {
  549. "type": "boolean"
  550. }
  551. ],
  552. "optional": false,
  553. "required": false
  554. },
  555. {
  556. "name": "intlLoading",
  557. "type": "string",
  558. "mutable": false,
  559. "attr": "intl-loading",
  560. "reflectToAttr": false,
  561. "docs": "Specifies the text label to display while loading.",
  562. "docsTags": [
  563. {
  564. "name": "default",
  565. "text": "\"Loading\""
  566. }
  567. ],
  568. "default": "TEXT.loading",
  569. "values": [
  570. {
  571. "type": "string"
  572. }
  573. ],
  574. "optional": true,
  575. "required": false
  576. },
  577. {
  578. "name": "label",
  579. "type": "string",
  580. "mutable": false,
  581. "attr": "label",
  582. "reflectToAttr": false,
  583. "docs": "Specifies the label of the component. If no label is provided, the label inherits what's provided for the `text` prop.",
  584. "docsTags": [],
  585. "values": [
  586. {
  587. "type": "string"
  588. }
  589. ],
  590. "optional": true,
  591. "required": false
  592. },
  593. {
  594. "name": "loading",
  595. "type": "boolean",
  596. "mutable": false,
  597. "attr": "loading",
  598. "reflectToAttr": true,
  599. "docs": "When `true`, a busy indicator is displayed.",
  600. "docsTags": [],
  601. "default": "false",
  602. "values": [
  603. {
  604. "type": "boolean"
  605. }
  606. ],
  607. "optional": false,
  608. "required": false
  609. },
  610. {
  611. "name": "scale",
  612. "type": "\"l\" | \"m\" | \"s\"",
  613. "mutable": false,
  614. "attr": "scale",
  615. "reflectToAttr": true,
  616. "docs": "Specifies the size of the component.",
  617. "docsTags": [],
  618. "default": "\"m\"",
  619. "values": [
  620. {
  621. "value": "l",
  622. "type": "string"
  623. },
  624. {
  625. "value": "m",
  626. "type": "string"
  627. },
  628. {
  629. "value": "s",
  630. "type": "string"
  631. }
  632. ],
  633. "optional": false,
  634. "required": false
  635. },
  636. {
  637. "name": "text",
  638. "type": "string",
  639. "mutable": false,
  640. "attr": "text",
  641. "reflectToAttr": false,
  642. "docs": "Specifies text that accompanies the icon.",
  643. "docsTags": [],
  644. "values": [
  645. {
  646. "type": "string"
  647. }
  648. ],
  649. "optional": false,
  650. "required": true
  651. },
  652. {
  653. "name": "textEnabled",
  654. "type": "boolean",
  655. "mutable": false,
  656. "attr": "text-enabled",
  657. "reflectToAttr": true,
  658. "docs": "Indicates whether the text is displayed.",
  659. "docsTags": [],
  660. "default": "false",
  661. "values": [
  662. {
  663. "type": "boolean"
  664. }
  665. ],
  666. "optional": false,
  667. "required": false
  668. }
  669. ],
  670. "methods": [
  671. {
  672. "name": "setFocus",
  673. "returns": {
  674. "type": "Promise<void>",
  675. "docs": ""
  676. },
  677. "signature": "setFocus() => Promise<void>",
  678. "parameters": [],
  679. "docs": "Sets focus on the component.",
  680. "docsTags": []
  681. }
  682. ],
  683. "events": [
  684. {
  685. "event": "calciteActionClick",
  686. "detail": "void",
  687. "bubbles": true,
  688. "cancelable": false,
  689. "composed": true,
  690. "docs": "Emits when the component has been clicked.",
  691. "docsTags": [
  692. {
  693. "name": "deprecated",
  694. "text": "use `onClick` instead."
  695. }
  696. ],
  697. "deprecation": "use `onClick` instead."
  698. }
  699. ],
  700. "listeners": [],
  701. "styles": [
  702. {
  703. "name": "--calcite-action-indicator-color",
  704. "annotation": "prop",
  705. "docs": "Specifies the color of the component's indicator."
  706. }
  707. ],
  708. "slots": [
  709. {
  710. "name": "",
  711. "docs": "A slot for adding a `calcite-icon`."
  712. }
  713. ],
  714. "parts": [],
  715. "dependents": [
  716. "calcite-action-bar",
  717. "calcite-action-group",
  718. "calcite-action-menu",
  719. "calcite-action-pad",
  720. "calcite-flow-item",
  721. "calcite-panel",
  722. "calcite-pick-list-item",
  723. "calcite-popover",
  724. "calcite-tip",
  725. "calcite-tip-manager"
  726. ],
  727. "dependencies": [
  728. "calcite-loader",
  729. "calcite-icon"
  730. ],
  731. "dependencyGraph": {
  732. "calcite-action": [
  733. "calcite-loader",
  734. "calcite-icon"
  735. ],
  736. "calcite-action-bar": [
  737. "calcite-action"
  738. ],
  739. "calcite-action-group": [
  740. "calcite-action"
  741. ],
  742. "calcite-action-menu": [
  743. "calcite-action"
  744. ],
  745. "calcite-action-pad": [
  746. "calcite-action"
  747. ],
  748. "calcite-flow-item": [
  749. "calcite-action"
  750. ],
  751. "calcite-panel": [
  752. "calcite-action"
  753. ],
  754. "calcite-pick-list-item": [
  755. "calcite-action"
  756. ],
  757. "calcite-popover": [
  758. "calcite-action"
  759. ],
  760. "calcite-tip": [
  761. "calcite-action"
  762. ],
  763. "calcite-tip-manager": [
  764. "calcite-action"
  765. ]
  766. }
  767. },
  768. {
  769. "filePath": "./src/components/action-bar/action-bar.tsx",
  770. "encapsulation": "shadow",
  771. "tag": "calcite-action-bar",
  772. "readme": "# calcite-action-bar\n\n## Description\n\nThe `calcite-action-bar` component is made up of multiple `calcite-action`s in the form of clickable icons. The action bar can be expanded to view actions with descriptive text or made smaller to view with just icons.\n",
  773. "docs": "",
  774. "docsTags": [
  775. {
  776. "name": "slot",
  777. "text": "- A slot for adding `calcite-action`s that will appear at the top of the action bar."
  778. },
  779. {
  780. "name": "slot",
  781. "text": "bottom-actions - A slot for adding `calcite-action`s that will appear at the bottom of the action bar, above the collapse/expand button."
  782. },
  783. {
  784. "name": "slot",
  785. "text": "expand-tooltip - Used to set the tooltip for the expand toggle."
  786. }
  787. ],
  788. "usage": {
  789. "Basic": "Renders `calcite-action`s that stick to the top of the bar.\n\n```html\n<calcite-action-bar>\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" icon=\"save\"></calcite-action>\n</calcite-action-bar>\n```\n",
  790. "Bottom-actions": "The bottom-actions slot renders `calcite-action`s that stick to the bottom of the bar above the expand/collapse icon.\n\n```html\n<calcite-action-bar>\n <calcite-action text=\"Information\" icon=\"information\"></calcite-action>\n <calcite-action text=\"Feedback\" slot=\"bottom-actions\" icon=\"mega-phone\"></calcite-action>\n</calcite-action-bar>\n```\n",
  791. "Tooltip": "Renders with a tooltip on the expand action.\n\n```html\n<calcite-action-bar id=\"action-bar-test\">\n <calcite-tooltip slot=\"expand-tooltip\">Expand</calcite-tooltip>\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n</calcite-action-bar>\n```\n",
  792. "With-grouping": "Renders a group of `calcite-action`s contained in a `calcite-action-group`. Actions in a group are visually separated from other groups or actions in the bar.\n\n```html\n<calcite-action-bar>\n <calcite-action-group>\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" icon=\"save\"></calcite-action>\n </calcite-action-group>\n\n <calcite-action-group>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n <calcite-action text=\"Basemaps\" icon=\"layer-basemap\"></calcite-action>\n </calcite-action-group>\n</calcite-action-bar>\n```\n"
  793. },
  794. "props": [
  795. {
  796. "name": "expandDisabled",
  797. "type": "boolean",
  798. "mutable": false,
  799. "attr": "expand-disabled",
  800. "reflectToAttr": true,
  801. "docs": "When `true`, the expand-toggling behavior is disabled.",
  802. "docsTags": [],
  803. "default": "false",
  804. "values": [
  805. {
  806. "type": "boolean"
  807. }
  808. ],
  809. "optional": false,
  810. "required": false
  811. },
  812. {
  813. "name": "expanded",
  814. "type": "boolean",
  815. "mutable": true,
  816. "attr": "expanded",
  817. "reflectToAttr": true,
  818. "docs": "When `true`, the component is expanded.",
  819. "docsTags": [],
  820. "default": "false",
  821. "values": [
  822. {
  823. "type": "boolean"
  824. }
  825. ],
  826. "optional": false,
  827. "required": false
  828. },
  829. {
  830. "name": "intlCollapse",
  831. "type": "string",
  832. "mutable": false,
  833. "attr": "intl-collapse",
  834. "reflectToAttr": false,
  835. "docs": "Specifies the label of the collapse icon when the component is expanded.",
  836. "docsTags": [],
  837. "values": [
  838. {
  839. "type": "string"
  840. }
  841. ],
  842. "optional": true,
  843. "required": false
  844. },
  845. {
  846. "name": "intlExpand",
  847. "type": "string",
  848. "mutable": false,
  849. "attr": "intl-expand",
  850. "reflectToAttr": false,
  851. "docs": "Specifies the label of the expand icon when the component is collapsed.",
  852. "docsTags": [],
  853. "values": [
  854. {
  855. "type": "string"
  856. }
  857. ],
  858. "optional": true,
  859. "required": false
  860. },
  861. {
  862. "name": "layout",
  863. "type": "\"horizontal\" | \"vertical\"",
  864. "mutable": false,
  865. "attr": "layout",
  866. "reflectToAttr": true,
  867. "docs": "The layout direction of the actions.",
  868. "docsTags": [],
  869. "default": "\"vertical\"",
  870. "values": [
  871. {
  872. "value": "horizontal",
  873. "type": "string"
  874. },
  875. {
  876. "value": "vertical",
  877. "type": "string"
  878. }
  879. ],
  880. "optional": false,
  881. "required": false
  882. },
  883. {
  884. "name": "overflowActionsDisabled",
  885. "type": "boolean",
  886. "mutable": false,
  887. "attr": "overflow-actions-disabled",
  888. "reflectToAttr": true,
  889. "docs": "Disables automatically overflowing `calcite-action`s that won't fit into menus.",
  890. "docsTags": [],
  891. "default": "false",
  892. "values": [
  893. {
  894. "type": "boolean"
  895. }
  896. ],
  897. "optional": false,
  898. "required": false
  899. },
  900. {
  901. "name": "position",
  902. "type": "\"end\" | \"start\"",
  903. "mutable": false,
  904. "attr": "position",
  905. "reflectToAttr": true,
  906. "docs": "Arranges the component depending on the element's `dir` property.",
  907. "docsTags": [],
  908. "values": [
  909. {
  910. "value": "end",
  911. "type": "string"
  912. },
  913. {
  914. "value": "start",
  915. "type": "string"
  916. }
  917. ],
  918. "optional": false,
  919. "required": false
  920. },
  921. {
  922. "name": "scale",
  923. "type": "\"l\" | \"m\" | \"s\"",
  924. "mutable": false,
  925. "attr": "scale",
  926. "reflectToAttr": true,
  927. "docs": "Specifies the size of the expand `calcite-action`.",
  928. "docsTags": [],
  929. "values": [
  930. {
  931. "value": "l",
  932. "type": "string"
  933. },
  934. {
  935. "value": "m",
  936. "type": "string"
  937. },
  938. {
  939. "value": "s",
  940. "type": "string"
  941. }
  942. ],
  943. "optional": false,
  944. "required": false
  945. }
  946. ],
  947. "methods": [
  948. {
  949. "name": "setFocus",
  950. "returns": {
  951. "type": "Promise<void>",
  952. "docs": ""
  953. },
  954. "signature": "setFocus(focusId?: \"expand-toggle\") => Promise<void>",
  955. "parameters": [],
  956. "docs": "Sets focus on the component.",
  957. "docsTags": [
  958. {
  959. "name": "param",
  960. "text": "focusId"
  961. }
  962. ]
  963. }
  964. ],
  965. "events": [
  966. {
  967. "event": "calciteActionBarToggle",
  968. "detail": "void",
  969. "bubbles": true,
  970. "cancelable": false,
  971. "composed": true,
  972. "docs": "Emits when the `expanded` property is toggled.",
  973. "docsTags": []
  974. }
  975. ],
  976. "listeners": [],
  977. "styles": [
  978. {
  979. "name": "--calcite-action-bar-expanded-max-width",
  980. "annotation": "prop",
  981. "docs": "optionally specify the expanded max width of the action bar when in \"vertical\" layout."
  982. }
  983. ],
  984. "slots": [
  985. {
  986. "name": "",
  987. "docs": "A slot for adding `calcite-action`s that will appear at the top of the action bar."
  988. },
  989. {
  990. "name": "bottom-actions",
  991. "docs": "A slot for adding `calcite-action`s that will appear at the bottom of the action bar, above the collapse/expand button."
  992. },
  993. {
  994. "name": "expand-tooltip",
  995. "docs": "Used to set the tooltip for the expand toggle."
  996. }
  997. ],
  998. "parts": [],
  999. "dependents": [],
  1000. "dependencies": [
  1001. "calcite-action-group",
  1002. "calcite-action"
  1003. ],
  1004. "dependencyGraph": {
  1005. "calcite-action-bar": [
  1006. "calcite-action-group",
  1007. "calcite-action"
  1008. ],
  1009. "calcite-action-group": [
  1010. "calcite-action-menu",
  1011. "calcite-action"
  1012. ],
  1013. "calcite-action-menu": [
  1014. "calcite-action",
  1015. "calcite-popover"
  1016. ],
  1017. "calcite-action": [
  1018. "calcite-loader",
  1019. "calcite-icon"
  1020. ],
  1021. "calcite-popover": [
  1022. "calcite-action",
  1023. "calcite-icon"
  1024. ]
  1025. }
  1026. },
  1027. {
  1028. "filePath": "./src/components/action-group/action-group.tsx",
  1029. "encapsulation": "shadow",
  1030. "tag": "calcite-action-group",
  1031. "readme": "# calcite-action-group\n\nThe `calcite-action-group` is a wrapper for multiple `calcite-action`s and housed in `calcite-action-bar` and `calcite-action-pad`.\n",
  1032. "docs": "The `calcite-action-group` is a wrapper for multiple `calcite-action`s and housed in `calcite-action-bar` and `calcite-action-pad`.",
  1033. "docsTags": [
  1034. {
  1035. "name": "slot",
  1036. "text": "- A slot for adding a group of `calcite-action`s."
  1037. },
  1038. {
  1039. "name": "slot",
  1040. "text": "menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`."
  1041. },
  1042. {
  1043. "name": "slot",
  1044. "text": "menu-tooltip - A slot for adding a `calcite-tooltip` for the menu."
  1045. }
  1046. ],
  1047. "usage": {},
  1048. "props": [
  1049. {
  1050. "name": "columns",
  1051. "type": "1 | 2 | 3 | 4 | 5 | 6",
  1052. "mutable": false,
  1053. "attr": "columns",
  1054. "reflectToAttr": true,
  1055. "docs": "Indicates number of columns.",
  1056. "docsTags": [],
  1057. "values": [
  1058. {
  1059. "value": "1",
  1060. "type": "number"
  1061. },
  1062. {
  1063. "value": "2",
  1064. "type": "number"
  1065. },
  1066. {
  1067. "value": "3",
  1068. "type": "number"
  1069. },
  1070. {
  1071. "value": "4",
  1072. "type": "number"
  1073. },
  1074. {
  1075. "value": "5",
  1076. "type": "number"
  1077. },
  1078. {
  1079. "value": "6",
  1080. "type": "number"
  1081. }
  1082. ],
  1083. "optional": true,
  1084. "required": false
  1085. },
  1086. {
  1087. "name": "expanded",
  1088. "type": "boolean",
  1089. "mutable": false,
  1090. "attr": "expanded",
  1091. "reflectToAttr": true,
  1092. "docs": "When `true`, the component is expanded.",
  1093. "docsTags": [],
  1094. "default": "false",
  1095. "values": [
  1096. {
  1097. "type": "boolean"
  1098. }
  1099. ],
  1100. "optional": false,
  1101. "required": false
  1102. },
  1103. {
  1104. "name": "intlMore",
  1105. "type": "string",
  1106. "mutable": false,
  1107. "attr": "intl-more",
  1108. "reflectToAttr": false,
  1109. "docs": "Specifies a text string for the `calcite-action-menu`.",
  1110. "docsTags": [],
  1111. "values": [
  1112. {
  1113. "type": "string"
  1114. }
  1115. ],
  1116. "optional": true,
  1117. "required": false
  1118. },
  1119. {
  1120. "name": "layout",
  1121. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  1122. "mutable": false,
  1123. "attr": "layout",
  1124. "reflectToAttr": true,
  1125. "docs": "Indicates the layout of the component.",
  1126. "docsTags": [],
  1127. "default": "\"vertical\"",
  1128. "values": [
  1129. {
  1130. "value": "grid",
  1131. "type": "string"
  1132. },
  1133. {
  1134. "value": "horizontal",
  1135. "type": "string"
  1136. },
  1137. {
  1138. "value": "vertical",
  1139. "type": "string"
  1140. }
  1141. ],
  1142. "optional": false,
  1143. "required": false
  1144. },
  1145. {
  1146. "name": "menuOpen",
  1147. "type": "boolean",
  1148. "mutable": true,
  1149. "attr": "menu-open",
  1150. "reflectToAttr": true,
  1151. "docs": "When `true`, the `calcite-action-menu` is open.",
  1152. "docsTags": [],
  1153. "default": "false",
  1154. "values": [
  1155. {
  1156. "type": "boolean"
  1157. }
  1158. ],
  1159. "optional": false,
  1160. "required": false
  1161. },
  1162. {
  1163. "name": "scale",
  1164. "type": "\"l\" | \"m\" | \"s\"",
  1165. "mutable": false,
  1166. "attr": "scale",
  1167. "reflectToAttr": true,
  1168. "docs": "Specifies the size of the `calcite-action-menu`.",
  1169. "docsTags": [],
  1170. "values": [
  1171. {
  1172. "value": "l",
  1173. "type": "string"
  1174. },
  1175. {
  1176. "value": "m",
  1177. "type": "string"
  1178. },
  1179. {
  1180. "value": "s",
  1181. "type": "string"
  1182. }
  1183. ],
  1184. "optional": false,
  1185. "required": false
  1186. }
  1187. ],
  1188. "methods": [],
  1189. "events": [],
  1190. "listeners": [],
  1191. "styles": [
  1192. {
  1193. "name": "--calcite-action-group-columns",
  1194. "annotation": "prop",
  1195. "docs": "Sets number of grid-template-columns when the `layout` property is `\"grid\"`."
  1196. }
  1197. ],
  1198. "slots": [
  1199. {
  1200. "name": "",
  1201. "docs": "A slot for adding a group of `calcite-action`s."
  1202. },
  1203. {
  1204. "name": "menu-actions",
  1205. "docs": "A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`."
  1206. },
  1207. {
  1208. "name": "menu-tooltip",
  1209. "docs": "A slot for adding a `calcite-tooltip` for the menu."
  1210. }
  1211. ],
  1212. "parts": [],
  1213. "dependents": [
  1214. "calcite-action-bar",
  1215. "calcite-action-pad"
  1216. ],
  1217. "dependencies": [
  1218. "calcite-action-menu",
  1219. "calcite-action"
  1220. ],
  1221. "dependencyGraph": {
  1222. "calcite-action-group": [
  1223. "calcite-action-menu",
  1224. "calcite-action"
  1225. ],
  1226. "calcite-action-menu": [
  1227. "calcite-action",
  1228. "calcite-popover"
  1229. ],
  1230. "calcite-action": [
  1231. "calcite-loader",
  1232. "calcite-icon"
  1233. ],
  1234. "calcite-popover": [
  1235. "calcite-action",
  1236. "calcite-icon"
  1237. ],
  1238. "calcite-action-bar": [
  1239. "calcite-action-group"
  1240. ],
  1241. "calcite-action-pad": [
  1242. "calcite-action-group"
  1243. ]
  1244. }
  1245. },
  1246. {
  1247. "filePath": "./src/components/action-menu/action-menu.tsx",
  1248. "encapsulation": "shadow",
  1249. "tag": "calcite-action-menu",
  1250. "readme": "# calcite-action-menu\n",
  1251. "docs": "",
  1252. "docsTags": [
  1253. {
  1254. "name": "slot",
  1255. "text": "- A slot for adding `calcite-action`s."
  1256. },
  1257. {
  1258. "name": "slot",
  1259. "text": "trigger - A slot for adding a `calcite-action` to trigger opening the menu."
  1260. },
  1261. {
  1262. "name": "slot",
  1263. "text": "tooltip - A slot for adding an tooltip for the menu."
  1264. }
  1265. ],
  1266. "usage": {},
  1267. "props": [
  1268. {
  1269. "name": "expanded",
  1270. "type": "boolean",
  1271. "mutable": false,
  1272. "attr": "expanded",
  1273. "reflectToAttr": true,
  1274. "docs": "When `true`, the component is expanded.",
  1275. "docsTags": [],
  1276. "default": "false",
  1277. "values": [
  1278. {
  1279. "type": "boolean"
  1280. }
  1281. ],
  1282. "optional": false,
  1283. "required": false
  1284. },
  1285. {
  1286. "name": "flipPlacements",
  1287. "type": "Placement[]",
  1288. "mutable": false,
  1289. "reflectToAttr": false,
  1290. "docs": "Defines the available placements that can be used when a flip occurs.",
  1291. "docsTags": [],
  1292. "values": [
  1293. {
  1294. "type": "Placement[]"
  1295. }
  1296. ],
  1297. "optional": true,
  1298. "required": false
  1299. },
  1300. {
  1301. "name": "label",
  1302. "type": "string",
  1303. "mutable": false,
  1304. "attr": "label",
  1305. "reflectToAttr": false,
  1306. "docs": "Specifies the text string for the component.",
  1307. "docsTags": [],
  1308. "values": [
  1309. {
  1310. "type": "string"
  1311. }
  1312. ],
  1313. "optional": false,
  1314. "required": true
  1315. },
  1316. {
  1317. "name": "open",
  1318. "type": "boolean",
  1319. "mutable": true,
  1320. "attr": "open",
  1321. "reflectToAttr": true,
  1322. "docs": "When `true`, the component is open.",
  1323. "docsTags": [],
  1324. "default": "false",
  1325. "values": [
  1326. {
  1327. "type": "boolean"
  1328. }
  1329. ],
  1330. "optional": false,
  1331. "required": false
  1332. },
  1333. {
  1334. "name": "overlayPositioning",
  1335. "type": "\"absolute\" | \"fixed\"",
  1336. "mutable": false,
  1337. "attr": "overlay-positioning",
  1338. "reflectToAttr": true,
  1339. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n`\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  1340. "docsTags": [],
  1341. "default": "\"absolute\"",
  1342. "values": [
  1343. {
  1344. "value": "absolute",
  1345. "type": "string"
  1346. },
  1347. {
  1348. "value": "fixed",
  1349. "type": "string"
  1350. }
  1351. ],
  1352. "optional": false,
  1353. "required": false
  1354. },
  1355. {
  1356. "name": "placement",
  1357. "type": "Placement | VariationPlacement | AutoPlacement | DeprecatedPlacement",
  1358. "mutable": false,
  1359. "attr": "placement",
  1360. "reflectToAttr": true,
  1361. "docs": "Determines where the component will be positioned relative to the `referenceElement`.",
  1362. "docsTags": [
  1363. {
  1364. "name": "see",
  1365. "text": "[LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)"
  1366. }
  1367. ],
  1368. "default": "\"auto\"",
  1369. "values": [
  1370. {
  1371. "type": "Placement"
  1372. },
  1373. {
  1374. "type": "VariationPlacement"
  1375. },
  1376. {
  1377. "type": "AutoPlacement"
  1378. },
  1379. {
  1380. "type": "DeprecatedPlacement"
  1381. }
  1382. ],
  1383. "optional": false,
  1384. "required": false
  1385. },
  1386. {
  1387. "name": "scale",
  1388. "type": "\"l\" | \"m\" | \"s\"",
  1389. "mutable": false,
  1390. "attr": "scale",
  1391. "reflectToAttr": true,
  1392. "docs": "Specifies the size of the component's trigger `calcite-action`.",
  1393. "docsTags": [],
  1394. "values": [
  1395. {
  1396. "value": "l",
  1397. "type": "string"
  1398. },
  1399. {
  1400. "value": "m",
  1401. "type": "string"
  1402. },
  1403. {
  1404. "value": "s",
  1405. "type": "string"
  1406. }
  1407. ],
  1408. "optional": false,
  1409. "required": false
  1410. }
  1411. ],
  1412. "methods": [
  1413. {
  1414. "name": "setFocus",
  1415. "returns": {
  1416. "type": "Promise<void>",
  1417. "docs": ""
  1418. },
  1419. "signature": "setFocus() => Promise<void>",
  1420. "parameters": [],
  1421. "docs": "Sets focus on the component.",
  1422. "docsTags": []
  1423. }
  1424. ],
  1425. "events": [
  1426. {
  1427. "event": "calciteActionMenuOpenChange",
  1428. "detail": "any",
  1429. "bubbles": true,
  1430. "cancelable": false,
  1431. "composed": true,
  1432. "docs": "Emits when the `open` property has changed.\n\n**Note:**: The event payload is deprecated, please use the `open` property on the component instead",
  1433. "docsTags": []
  1434. }
  1435. ],
  1436. "listeners": [
  1437. {
  1438. "event": "pointerdown",
  1439. "target": "window",
  1440. "capture": false,
  1441. "passive": true
  1442. }
  1443. ],
  1444. "styles": [],
  1445. "slots": [
  1446. {
  1447. "name": "",
  1448. "docs": "A slot for adding `calcite-action`s."
  1449. },
  1450. {
  1451. "name": "tooltip",
  1452. "docs": "A slot for adding an tooltip for the menu."
  1453. },
  1454. {
  1455. "name": "trigger",
  1456. "docs": "A slot for adding a `calcite-action` to trigger opening the menu."
  1457. }
  1458. ],
  1459. "parts": [],
  1460. "dependents": [
  1461. "calcite-action-group",
  1462. "calcite-block",
  1463. "calcite-panel"
  1464. ],
  1465. "dependencies": [
  1466. "calcite-action",
  1467. "calcite-popover"
  1468. ],
  1469. "dependencyGraph": {
  1470. "calcite-action-menu": [
  1471. "calcite-action",
  1472. "calcite-popover"
  1473. ],
  1474. "calcite-action": [
  1475. "calcite-loader",
  1476. "calcite-icon"
  1477. ],
  1478. "calcite-popover": [
  1479. "calcite-action",
  1480. "calcite-icon"
  1481. ],
  1482. "calcite-action-group": [
  1483. "calcite-action-menu"
  1484. ],
  1485. "calcite-block": [
  1486. "calcite-action-menu"
  1487. ],
  1488. "calcite-panel": [
  1489. "calcite-action-menu"
  1490. ]
  1491. }
  1492. },
  1493. {
  1494. "filePath": "./src/components/action-pad/action-pad.tsx",
  1495. "encapsulation": "shadow",
  1496. "tag": "calcite-action-pad",
  1497. "readme": "# calcite-action-pad\n\nThe `calcite-action-pad` component is made up of `calcite-action`s in the form of clickable icons. This does not have an expandable option and is a smaller and simpler component than `calcite-action-bar`.\n",
  1498. "docs": "The `calcite-action-pad` component is made up of `calcite-action`s in the form of clickable icons. This does not have an expandable option and is a smaller and simpler component than `calcite-action-bar`.",
  1499. "docsTags": [
  1500. {
  1501. "name": "slot",
  1502. "text": "- A slot for adding `calcite-action`s to the component."
  1503. },
  1504. {
  1505. "name": "slot",
  1506. "text": "expand-tooltip - Used to set the `calcite-tooltip` for the expand toggle."
  1507. }
  1508. ],
  1509. "usage": {
  1510. "Basic": "Renders a basic action pad with `calcite-action`s.\n\n```html\n<calcite-action-pad>\n <calcite-action text=\"Undo\" icon=\"undo\"></calcite-action>\n <calcite-action text=\"Redo\" icon=\"redo\"></calcite-action>\n</calcite-action-pad>\n```\n",
  1511. "Tooltip": "Renders an action pad with a tooltip on the expand action.\n\n```html\n<calcite-action-pad id=\"action-pad-test\">\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n</calcite-action-pad>\n<calcite-tooltip id=\"tooltip\">Expand</calcite-tooltip>\n<script>\n var actionPad = document.getElementById(\"action-pad-test\");\n var tooltip = document.getElementById(\"tooltip\");\n actionPad.tooltipExpand = tooltip;\n</script>\n```\n",
  1512. "With-grouping": "Renders a group of `calcite-action`s contained in a `calcite-action-group`. Actions in a group are visually separated from other groups or actions in the pad.\n\n```html\n<calcite-action-pad>\n <calcite-action-group>\n <calcite-action text=\"Home\" icon=\"home\"></calcite-action>\n <calcite-action text=\"Styles\" icon=\"add-in-edit\"></calcite-action>\n </calcite-action-group>\n\n <calcite-action text=\"Tips\" icon=\"lightbulb\"></calcite-action>\n</calcite-action-pad>\n```\n"
  1513. },
  1514. "props": [
  1515. {
  1516. "name": "expandDisabled",
  1517. "type": "boolean",
  1518. "mutable": false,
  1519. "attr": "expand-disabled",
  1520. "reflectToAttr": true,
  1521. "docs": "When `true`, the expand-toggling behavior is disabled.",
  1522. "docsTags": [],
  1523. "default": "false",
  1524. "values": [
  1525. {
  1526. "type": "boolean"
  1527. }
  1528. ],
  1529. "optional": false,
  1530. "required": false
  1531. },
  1532. {
  1533. "name": "expanded",
  1534. "type": "boolean",
  1535. "mutable": true,
  1536. "attr": "expanded",
  1537. "reflectToAttr": true,
  1538. "docs": "When `true`, the component is expanded.",
  1539. "docsTags": [],
  1540. "default": "false",
  1541. "values": [
  1542. {
  1543. "type": "boolean"
  1544. }
  1545. ],
  1546. "optional": false,
  1547. "required": false
  1548. },
  1549. {
  1550. "name": "intlCollapse",
  1551. "type": "string",
  1552. "mutable": false,
  1553. "attr": "intl-collapse",
  1554. "reflectToAttr": false,
  1555. "docs": "Specifies the label of the collapse icon when the component is expanded.",
  1556. "docsTags": [],
  1557. "values": [
  1558. {
  1559. "type": "string"
  1560. }
  1561. ],
  1562. "optional": true,
  1563. "required": false
  1564. },
  1565. {
  1566. "name": "intlExpand",
  1567. "type": "string",
  1568. "mutable": false,
  1569. "attr": "intl-expand",
  1570. "reflectToAttr": false,
  1571. "docs": "Specifies the label of the expand icon when the component is collapsed.",
  1572. "docsTags": [],
  1573. "values": [
  1574. {
  1575. "type": "string"
  1576. }
  1577. ],
  1578. "optional": true,
  1579. "required": false
  1580. },
  1581. {
  1582. "name": "layout",
  1583. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  1584. "mutable": false,
  1585. "attr": "layout",
  1586. "reflectToAttr": true,
  1587. "docs": "Indicates the layout of the component.",
  1588. "docsTags": [],
  1589. "default": "\"vertical\"",
  1590. "values": [
  1591. {
  1592. "value": "grid",
  1593. "type": "string"
  1594. },
  1595. {
  1596. "value": "horizontal",
  1597. "type": "string"
  1598. },
  1599. {
  1600. "value": "vertical",
  1601. "type": "string"
  1602. }
  1603. ],
  1604. "optional": false,
  1605. "required": false
  1606. },
  1607. {
  1608. "name": "position",
  1609. "type": "\"end\" | \"start\"",
  1610. "mutable": false,
  1611. "attr": "position",
  1612. "reflectToAttr": true,
  1613. "docs": "Arranges the component depending on the element's `dir` property.",
  1614. "docsTags": [],
  1615. "values": [
  1616. {
  1617. "value": "end",
  1618. "type": "string"
  1619. },
  1620. {
  1621. "value": "start",
  1622. "type": "string"
  1623. }
  1624. ],
  1625. "optional": false,
  1626. "required": false
  1627. },
  1628. {
  1629. "name": "scale",
  1630. "type": "\"l\" | \"m\" | \"s\"",
  1631. "mutable": false,
  1632. "attr": "scale",
  1633. "reflectToAttr": true,
  1634. "docs": "Specifies the size of the expand `calcite-action`.",
  1635. "docsTags": [],
  1636. "values": [
  1637. {
  1638. "value": "l",
  1639. "type": "string"
  1640. },
  1641. {
  1642. "value": "m",
  1643. "type": "string"
  1644. },
  1645. {
  1646. "value": "s",
  1647. "type": "string"
  1648. }
  1649. ],
  1650. "optional": false,
  1651. "required": false
  1652. }
  1653. ],
  1654. "methods": [
  1655. {
  1656. "name": "setFocus",
  1657. "returns": {
  1658. "type": "Promise<void>",
  1659. "docs": ""
  1660. },
  1661. "signature": "setFocus(focusId?: \"expand-toggle\") => Promise<void>",
  1662. "parameters": [],
  1663. "docs": "Sets focus on the component.",
  1664. "docsTags": [
  1665. {
  1666. "name": "param",
  1667. "text": "focusId"
  1668. }
  1669. ]
  1670. }
  1671. ],
  1672. "events": [
  1673. {
  1674. "event": "calciteActionPadToggle",
  1675. "detail": "void",
  1676. "bubbles": true,
  1677. "cancelable": false,
  1678. "composed": true,
  1679. "docs": "Emits when the `expanded` property is toggled.",
  1680. "docsTags": []
  1681. }
  1682. ],
  1683. "listeners": [],
  1684. "styles": [
  1685. {
  1686. "name": "--calcite-action-pad-expanded-max-width",
  1687. "annotation": "prop",
  1688. "docs": "optionally specify the expanded max width of the action pad when in \"vertical\" layout."
  1689. }
  1690. ],
  1691. "slots": [
  1692. {
  1693. "name": "",
  1694. "docs": "A slot for adding `calcite-action`s to the component."
  1695. },
  1696. {
  1697. "name": "expand-tooltip",
  1698. "docs": "Used to set the `calcite-tooltip` for the expand toggle."
  1699. }
  1700. ],
  1701. "parts": [],
  1702. "dependents": [],
  1703. "dependencies": [
  1704. "calcite-action-group",
  1705. "calcite-action"
  1706. ],
  1707. "dependencyGraph": {
  1708. "calcite-action-pad": [
  1709. "calcite-action-group",
  1710. "calcite-action"
  1711. ],
  1712. "calcite-action-group": [
  1713. "calcite-action-menu",
  1714. "calcite-action"
  1715. ],
  1716. "calcite-action-menu": [
  1717. "calcite-action",
  1718. "calcite-popover"
  1719. ],
  1720. "calcite-action": [
  1721. "calcite-loader",
  1722. "calcite-icon"
  1723. ],
  1724. "calcite-popover": [
  1725. "calcite-action",
  1726. "calcite-icon"
  1727. ]
  1728. }
  1729. },
  1730. {
  1731. "filePath": "./src/components/alert/alert.tsx",
  1732. "encapsulation": "shadow",
  1733. "tag": "calcite-alert",
  1734. "readme": "# calcite-alert\n",
  1735. "docs": "",
  1736. "docsTags": [
  1737. {
  1738. "name": "slot",
  1739. "text": "title - A slot for optionally adding a title to the component."
  1740. },
  1741. {
  1742. "name": "slot",
  1743. "text": "message - A slot for adding main text to the component."
  1744. },
  1745. {
  1746. "name": "slot",
  1747. "text": "link - A slot for optionally adding an action to take from the alert (undo, try again, link to page, etc.)"
  1748. }
  1749. ],
  1750. "usage": {
  1751. "Basic": "A single instance of an alert. Multiple alerts will aggregate in a queue.\n\n```html\n<calcite-alert active>\n <div slot=\"title\">Title of alert</div>\n <div slot=\"message\">Message text of the alert</div>\n <a slot=\"link\" href=\"#\">Retry</a>\n</calcite-alert>\n```\n"
  1752. },
  1753. "props": [
  1754. {
  1755. "name": "active",
  1756. "type": "boolean",
  1757. "mutable": true,
  1758. "attr": "active",
  1759. "reflectToAttr": true,
  1760. "docs": "When `true`, displays and positions the component.",
  1761. "docsTags": [
  1762. {
  1763. "name": "deprecated",
  1764. "text": "use `open` instead."
  1765. }
  1766. ],
  1767. "default": "false",
  1768. "deprecation": "use `open` instead.",
  1769. "values": [
  1770. {
  1771. "type": "boolean"
  1772. }
  1773. ],
  1774. "optional": false,
  1775. "required": false
  1776. },
  1777. {
  1778. "name": "autoDismiss",
  1779. "type": "boolean",
  1780. "mutable": false,
  1781. "attr": "auto-dismiss",
  1782. "reflectToAttr": true,
  1783. "docs": "When `true`, the component closes automatically (recommended for passive, non-blocking alerts).",
  1784. "docsTags": [],
  1785. "default": "false",
  1786. "values": [
  1787. {
  1788. "type": "boolean"
  1789. }
  1790. ],
  1791. "optional": false,
  1792. "required": false
  1793. },
  1794. {
  1795. "name": "autoDismissDuration",
  1796. "type": "\"fast\" | \"medium\" | \"slow\"",
  1797. "mutable": false,
  1798. "attr": "auto-dismiss-duration",
  1799. "reflectToAttr": true,
  1800. "docs": "Specifies the duration before the component automatically closes (only use with `autoDismiss`).",
  1801. "docsTags": [],
  1802. "default": "this.autoDismiss ? \"medium\" : null",
  1803. "values": [
  1804. {
  1805. "value": "fast",
  1806. "type": "string"
  1807. },
  1808. {
  1809. "value": "medium",
  1810. "type": "string"
  1811. },
  1812. {
  1813. "value": "slow",
  1814. "type": "string"
  1815. }
  1816. ],
  1817. "optional": false,
  1818. "required": false
  1819. },
  1820. {
  1821. "name": "color",
  1822. "type": "\"blue\" | \"green\" | \"red\" | \"yellow\"",
  1823. "mutable": false,
  1824. "attr": "color",
  1825. "reflectToAttr": true,
  1826. "docs": "Specifies the color for the component (will apply to top border and icon).",
  1827. "docsTags": [],
  1828. "default": "\"blue\"",
  1829. "values": [
  1830. {
  1831. "value": "blue",
  1832. "type": "string"
  1833. },
  1834. {
  1835. "value": "green",
  1836. "type": "string"
  1837. },
  1838. {
  1839. "value": "red",
  1840. "type": "string"
  1841. },
  1842. {
  1843. "value": "yellow",
  1844. "type": "string"
  1845. }
  1846. ],
  1847. "optional": false,
  1848. "required": false
  1849. },
  1850. {
  1851. "name": "icon",
  1852. "type": "boolean | string",
  1853. "mutable": false,
  1854. "attr": "icon",
  1855. "reflectToAttr": true,
  1856. "docs": "When `true`, shows a default recommended icon. Alternatively,\npass a Calcite UI Icon name to display a specific icon.",
  1857. "docsTags": [],
  1858. "values": [
  1859. {
  1860. "type": "boolean"
  1861. },
  1862. {
  1863. "type": "string"
  1864. }
  1865. ],
  1866. "optional": false,
  1867. "required": false
  1868. },
  1869. {
  1870. "name": "intlClose",
  1871. "type": "string",
  1872. "mutable": false,
  1873. "attr": "intl-close",
  1874. "reflectToAttr": false,
  1875. "docs": "Specifies the text label for the close button.",
  1876. "docsTags": [
  1877. {
  1878. "name": "default",
  1879. "text": "\"Close\""
  1880. }
  1881. ],
  1882. "default": "TEXT.intlClose",
  1883. "values": [
  1884. {
  1885. "type": "string"
  1886. }
  1887. ],
  1888. "optional": false,
  1889. "required": false
  1890. },
  1891. {
  1892. "name": "label",
  1893. "type": "string",
  1894. "mutable": false,
  1895. "attr": "label",
  1896. "reflectToAttr": false,
  1897. "docs": "Specifies an accessible name for the component.",
  1898. "docsTags": [],
  1899. "values": [
  1900. {
  1901. "type": "string"
  1902. }
  1903. ],
  1904. "optional": false,
  1905. "required": true
  1906. },
  1907. {
  1908. "name": "numberingSystem",
  1909. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  1910. "mutable": false,
  1911. "attr": "numbering-system",
  1912. "reflectToAttr": true,
  1913. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  1914. "docsTags": [],
  1915. "values": [
  1916. {
  1917. "value": "arab",
  1918. "type": "string"
  1919. },
  1920. {
  1921. "value": "arabext",
  1922. "type": "string"
  1923. },
  1924. {
  1925. "value": "bali",
  1926. "type": "string"
  1927. },
  1928. {
  1929. "value": "beng",
  1930. "type": "string"
  1931. },
  1932. {
  1933. "value": "deva",
  1934. "type": "string"
  1935. },
  1936. {
  1937. "value": "fullwide",
  1938. "type": "string"
  1939. },
  1940. {
  1941. "value": "gujr",
  1942. "type": "string"
  1943. },
  1944. {
  1945. "value": "guru",
  1946. "type": "string"
  1947. },
  1948. {
  1949. "value": "hanidec",
  1950. "type": "string"
  1951. },
  1952. {
  1953. "value": "khmr",
  1954. "type": "string"
  1955. },
  1956. {
  1957. "value": "knda",
  1958. "type": "string"
  1959. },
  1960. {
  1961. "value": "laoo",
  1962. "type": "string"
  1963. },
  1964. {
  1965. "value": "latn",
  1966. "type": "string"
  1967. },
  1968. {
  1969. "value": "limb",
  1970. "type": "string"
  1971. },
  1972. {
  1973. "value": "mlym",
  1974. "type": "string"
  1975. },
  1976. {
  1977. "value": "mong",
  1978. "type": "string"
  1979. },
  1980. {
  1981. "value": "mymr",
  1982. "type": "string"
  1983. },
  1984. {
  1985. "value": "orya",
  1986. "type": "string"
  1987. },
  1988. {
  1989. "value": "tamldec",
  1990. "type": "string"
  1991. },
  1992. {
  1993. "value": "telu",
  1994. "type": "string"
  1995. },
  1996. {
  1997. "value": "thai",
  1998. "type": "string"
  1999. },
  2000. {
  2001. "value": "tibt",
  2002. "type": "string"
  2003. }
  2004. ],
  2005. "optional": true,
  2006. "required": false
  2007. },
  2008. {
  2009. "name": "open",
  2010. "type": "boolean",
  2011. "mutable": true,
  2012. "attr": "open",
  2013. "reflectToAttr": true,
  2014. "docs": "When `true`, displays and positions the component.",
  2015. "docsTags": [],
  2016. "default": "false",
  2017. "values": [
  2018. {
  2019. "type": "boolean"
  2020. }
  2021. ],
  2022. "optional": false,
  2023. "required": false
  2024. },
  2025. {
  2026. "name": "placement",
  2027. "type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"top\" | \"top-end\" | \"top-start\"",
  2028. "mutable": false,
  2029. "attr": "placement",
  2030. "reflectToAttr": true,
  2031. "docs": "Specifies the placement of the component",
  2032. "docsTags": [],
  2033. "default": "\"bottom\"",
  2034. "values": [
  2035. {
  2036. "value": "bottom",
  2037. "type": "string"
  2038. },
  2039. {
  2040. "value": "bottom-end",
  2041. "type": "string"
  2042. },
  2043. {
  2044. "value": "bottom-start",
  2045. "type": "string"
  2046. },
  2047. {
  2048. "value": "top",
  2049. "type": "string"
  2050. },
  2051. {
  2052. "value": "top-end",
  2053. "type": "string"
  2054. },
  2055. {
  2056. "value": "top-start",
  2057. "type": "string"
  2058. }
  2059. ],
  2060. "optional": false,
  2061. "required": false
  2062. },
  2063. {
  2064. "name": "scale",
  2065. "type": "\"l\" | \"m\" | \"s\"",
  2066. "mutable": false,
  2067. "attr": "scale",
  2068. "reflectToAttr": true,
  2069. "docs": "Specifies the size of the component.",
  2070. "docsTags": [],
  2071. "default": "\"m\"",
  2072. "values": [
  2073. {
  2074. "value": "l",
  2075. "type": "string"
  2076. },
  2077. {
  2078. "value": "m",
  2079. "type": "string"
  2080. },
  2081. {
  2082. "value": "s",
  2083. "type": "string"
  2084. }
  2085. ],
  2086. "optional": false,
  2087. "required": false
  2088. }
  2089. ],
  2090. "methods": [
  2091. {
  2092. "name": "setFocus",
  2093. "returns": {
  2094. "type": "Promise<void>",
  2095. "docs": ""
  2096. },
  2097. "signature": "setFocus() => Promise<void>",
  2098. "parameters": [],
  2099. "docs": "Sets focus on the component.",
  2100. "docsTags": []
  2101. }
  2102. ],
  2103. "events": [
  2104. {
  2105. "event": "calciteAlertBeforeClose",
  2106. "detail": "void",
  2107. "bubbles": true,
  2108. "cancelable": false,
  2109. "composed": true,
  2110. "docs": "Fires when the component is requested to be closed and before the closing transition begins.",
  2111. "docsTags": []
  2112. },
  2113. {
  2114. "event": "calciteAlertBeforeOpen",
  2115. "detail": "void",
  2116. "bubbles": true,
  2117. "cancelable": false,
  2118. "composed": true,
  2119. "docs": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins.",
  2120. "docsTags": []
  2121. },
  2122. {
  2123. "event": "calciteAlertClose",
  2124. "detail": "void",
  2125. "bubbles": true,
  2126. "cancelable": false,
  2127. "composed": true,
  2128. "docs": "Fires when the component is closed and animation is complete.",
  2129. "docsTags": []
  2130. },
  2131. {
  2132. "event": "calciteAlertOpen",
  2133. "detail": "void",
  2134. "bubbles": true,
  2135. "cancelable": false,
  2136. "composed": true,
  2137. "docs": "Fires when the component is open and animation is complete.",
  2138. "docsTags": []
  2139. }
  2140. ],
  2141. "listeners": [
  2142. {
  2143. "event": "calciteInternalAlertSync",
  2144. "target": "window",
  2145. "capture": false,
  2146. "passive": false
  2147. },
  2148. {
  2149. "event": "calciteInternalAlertRegister",
  2150. "target": "window",
  2151. "capture": false,
  2152. "passive": false
  2153. }
  2154. ],
  2155. "styles": [
  2156. {
  2157. "name": "--calcite-alert-width",
  2158. "annotation": "prop",
  2159. "docs": "Specifies the width of the component."
  2160. }
  2161. ],
  2162. "slots": [
  2163. {
  2164. "name": "link",
  2165. "docs": "A slot for optionally adding an action to take from the alert (undo, try again, link to page, etc.)"
  2166. },
  2167. {
  2168. "name": "message",
  2169. "docs": "A slot for adding main text to the component."
  2170. },
  2171. {
  2172. "name": "title",
  2173. "docs": "A slot for optionally adding a title to the component."
  2174. }
  2175. ],
  2176. "parts": [],
  2177. "dependents": [],
  2178. "dependencies": [
  2179. "calcite-icon",
  2180. "calcite-chip"
  2181. ],
  2182. "dependencyGraph": {
  2183. "calcite-alert": [
  2184. "calcite-icon",
  2185. "calcite-chip"
  2186. ],
  2187. "calcite-chip": [
  2188. "calcite-icon"
  2189. ]
  2190. }
  2191. },
  2192. {
  2193. "filePath": "./src/components/avatar/avatar.tsx",
  2194. "encapsulation": "shadow",
  2195. "tag": "calcite-avatar",
  2196. "readme": "# calcite-avatar\n\nThe avatar component provides a unique (but consistent) visual for a user. It's built\nto work with users returned from the ArcGIS REST API.\n",
  2197. "docs": "The avatar component provides a unique (but consistent) visual for a user. It's built\nto work with users returned from the ArcGIS REST API.",
  2198. "docsTags": [],
  2199. "usage": {
  2200. "Basic": "The JSON sample user below is returned from a [search for users](https://developers.arcgis.com/rest/users-groups-and-items/user-search.htm). You can create an avatar for Ron by passing these properties directly to the avatar component.\n\nWhen no thumbnail is provided, the avatar component will construct a useful placeholder, leveraging the user's information to construct a unique background-color with initials.\n\n**Note:** if your user is private, remember to append a token to the end of the thumbnail using the form `thumbnail.jpg?token=YOUR_LOGGED_IN_USER_TOKEN`.\n\n```json\n{\n \"username\": \"ron_swanson_pawnee\",\n \"id\": \"a81470986eaeee1833b74b7d8abcd5b2\",\n \"fullName\": \"Ron Swanson\",\n \"firstName\": \"Ron\",\n \"lastName\": \"Swanson\",\n \"thumbnail\": \"mySelf.jpg\",\n ...\n}\n```\n\n```html\n<calcite-avatar\n username=\"ron_swanson_pawnee\"\n user-id=\"a81470986eaeee1833b74b7d8abcd5b2\"\n full-name=\"Ron Swanson\"\n thumbnail=\"mySelf.jpg\"\n>\n</calcite-avatar>\n```\n"
  2201. },
  2202. "props": [
  2203. {
  2204. "name": "fullName",
  2205. "type": "string",
  2206. "mutable": false,
  2207. "attr": "full-name",
  2208. "reflectToAttr": true,
  2209. "docs": "Specifies the full name of the user.",
  2210. "docsTags": [],
  2211. "values": [
  2212. {
  2213. "type": "string"
  2214. }
  2215. ],
  2216. "optional": false,
  2217. "required": false
  2218. },
  2219. {
  2220. "name": "scale",
  2221. "type": "\"l\" | \"m\" | \"s\"",
  2222. "mutable": false,
  2223. "attr": "scale",
  2224. "reflectToAttr": true,
  2225. "docs": "Specifies the size of the component.",
  2226. "docsTags": [],
  2227. "default": "\"m\"",
  2228. "values": [
  2229. {
  2230. "value": "l",
  2231. "type": "string"
  2232. },
  2233. {
  2234. "value": "m",
  2235. "type": "string"
  2236. },
  2237. {
  2238. "value": "s",
  2239. "type": "string"
  2240. }
  2241. ],
  2242. "optional": false,
  2243. "required": false
  2244. },
  2245. {
  2246. "name": "thumbnail",
  2247. "type": "string",
  2248. "mutable": false,
  2249. "attr": "thumbnail",
  2250. "reflectToAttr": true,
  2251. "docs": "Specifies the `src` to an image (remember to add a token if the user is private).",
  2252. "docsTags": [],
  2253. "values": [
  2254. {
  2255. "type": "string"
  2256. }
  2257. ],
  2258. "optional": false,
  2259. "required": false
  2260. },
  2261. {
  2262. "name": "userId",
  2263. "type": "string",
  2264. "mutable": false,
  2265. "attr": "user-id",
  2266. "reflectToAttr": true,
  2267. "docs": "Specifies the unique id of the user.",
  2268. "docsTags": [],
  2269. "values": [
  2270. {
  2271. "type": "string"
  2272. }
  2273. ],
  2274. "optional": false,
  2275. "required": false
  2276. },
  2277. {
  2278. "name": "username",
  2279. "type": "string",
  2280. "mutable": false,
  2281. "attr": "username",
  2282. "reflectToAttr": true,
  2283. "docs": "Specifies the username of the user.",
  2284. "docsTags": [],
  2285. "values": [
  2286. {
  2287. "type": "string"
  2288. }
  2289. ],
  2290. "optional": false,
  2291. "required": false
  2292. }
  2293. ],
  2294. "methods": [],
  2295. "events": [],
  2296. "listeners": [],
  2297. "styles": [],
  2298. "slots": [],
  2299. "parts": [],
  2300. "dependents": [],
  2301. "dependencies": [
  2302. "calcite-icon"
  2303. ],
  2304. "dependencyGraph": {
  2305. "calcite-avatar": [
  2306. "calcite-icon"
  2307. ]
  2308. }
  2309. },
  2310. {
  2311. "filePath": "./src/components/block/block.tsx",
  2312. "encapsulation": "shadow",
  2313. "tag": "calcite-block",
  2314. "readme": "# calcite-block\n\nThe `calcite-block` component is intended for displaying a heading and content. Content can also include stacked, collapsible `calcite-block-section`s typically housed in a panel.\n",
  2315. "docs": "The `calcite-block` component is intended for displaying a heading and content. Content can also include stacked, collapsible `calcite-block-section`s typically housed in a panel.",
  2316. "docsTags": [
  2317. {
  2318. "name": "slot",
  2319. "text": "- A slot for adding content to the component."
  2320. },
  2321. {
  2322. "name": "slot",
  2323. "text": "icon - A slot for adding a leading header icon with `calcite-icon`."
  2324. },
  2325. {
  2326. "name": "slot",
  2327. "text": "control - A slot for adding a single HTML input element in a header."
  2328. },
  2329. {
  2330. "name": "slot",
  2331. "text": "header-menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a dropdown."
  2332. }
  2333. ],
  2334. "usage": {
  2335. "Always-open": "Renders a header and content that remains open - no collapsible option.\n\n```html\n<calcite-block heading=\"When your son becomes a priest, do you call him...\" open>\n <div>Father or Son?</div>\n</calcite-block>\n```\n",
  2336. "Basic": "Renders a basic, non-collapsible block.\n\n```html\n<calcite-block heading=\"Fruit\" summary=\"It's nature's candy\"> </calcite-block>\n```\n",
  2337. "Collapsible": "Renders a header with a clickable icon to toggle the block open and closed.\n\n```html\n<calcite-block heading=\"Domestic pets\" open collapsible>\n <calcite-block-section text=\"puppers rool, kittehs drule\"> </calcite-block-section>\n</calcite-block>\n```\n",
  2338. "Header-with-control": "Renders a header and control with a slot for adding a single HTML element (in the header).\n\n```html\n<calcite-block heading=\"This header\" summary=\"it has an input\">\n <calcite-action icon=\"pencil\" text=\"edit\" slot=\"control\"></calcite-action>\n</calcite-block>\n```\n",
  2339. "Header-with-icon": "Renders a header and icon with the icon.\n\n```html\n<calcite-block heading=\"Icon't believe it!\">\n <div slot=\"icon\">🤯</div>\n</calcite-block>\n```\n"
  2340. },
  2341. "props": [
  2342. {
  2343. "name": "collapsible",
  2344. "type": "boolean",
  2345. "mutable": false,
  2346. "attr": "collapsible",
  2347. "reflectToAttr": true,
  2348. "docs": "When `true`, the component is collapsible.",
  2349. "docsTags": [],
  2350. "default": "false",
  2351. "values": [
  2352. {
  2353. "type": "boolean"
  2354. }
  2355. ],
  2356. "optional": false,
  2357. "required": false
  2358. },
  2359. {
  2360. "name": "description",
  2361. "type": "string",
  2362. "mutable": false,
  2363. "attr": "description",
  2364. "reflectToAttr": false,
  2365. "docs": "A description for the component, which displays below the heading.",
  2366. "docsTags": [],
  2367. "values": [
  2368. {
  2369. "type": "string"
  2370. }
  2371. ],
  2372. "optional": false,
  2373. "required": false
  2374. },
  2375. {
  2376. "name": "disablePadding",
  2377. "type": "boolean",
  2378. "mutable": false,
  2379. "attr": "disable-padding",
  2380. "reflectToAttr": true,
  2381. "docs": "When `true`, removes padding for the slotted content.",
  2382. "docsTags": [
  2383. {
  2384. "name": "deprecated",
  2385. "text": "Use `--calcite-block-padding` CSS variable instead."
  2386. }
  2387. ],
  2388. "default": "false",
  2389. "deprecation": "Use `--calcite-block-padding` CSS variable instead.",
  2390. "values": [
  2391. {
  2392. "type": "boolean"
  2393. }
  2394. ],
  2395. "optional": false,
  2396. "required": false
  2397. },
  2398. {
  2399. "name": "disabled",
  2400. "type": "boolean",
  2401. "mutable": false,
  2402. "attr": "disabled",
  2403. "reflectToAttr": true,
  2404. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  2405. "docsTags": [],
  2406. "default": "false",
  2407. "values": [
  2408. {
  2409. "type": "boolean"
  2410. }
  2411. ],
  2412. "optional": false,
  2413. "required": false
  2414. },
  2415. {
  2416. "name": "dragHandle",
  2417. "type": "boolean",
  2418. "mutable": false,
  2419. "attr": "drag-handle",
  2420. "reflectToAttr": true,
  2421. "docs": "When `true`, displays a drag handle in the header.",
  2422. "docsTags": [],
  2423. "default": "false",
  2424. "values": [
  2425. {
  2426. "type": "boolean"
  2427. }
  2428. ],
  2429. "optional": false,
  2430. "required": false
  2431. },
  2432. {
  2433. "name": "heading",
  2434. "type": "string",
  2435. "mutable": false,
  2436. "attr": "heading",
  2437. "reflectToAttr": false,
  2438. "docs": "The component header text.",
  2439. "docsTags": [],
  2440. "values": [
  2441. {
  2442. "type": "string"
  2443. }
  2444. ],
  2445. "optional": false,
  2446. "required": true
  2447. },
  2448. {
  2449. "name": "headingLevel",
  2450. "type": "1 | 2 | 3 | 4 | 5 | 6",
  2451. "mutable": false,
  2452. "attr": "heading-level",
  2453. "reflectToAttr": true,
  2454. "docs": "Specifies the number at which section headings should start.",
  2455. "docsTags": [],
  2456. "values": [
  2457. {
  2458. "value": "1",
  2459. "type": "number"
  2460. },
  2461. {
  2462. "value": "2",
  2463. "type": "number"
  2464. },
  2465. {
  2466. "value": "3",
  2467. "type": "number"
  2468. },
  2469. {
  2470. "value": "4",
  2471. "type": "number"
  2472. },
  2473. {
  2474. "value": "5",
  2475. "type": "number"
  2476. },
  2477. {
  2478. "value": "6",
  2479. "type": "number"
  2480. }
  2481. ],
  2482. "optional": false,
  2483. "required": false
  2484. },
  2485. {
  2486. "name": "intlCollapse",
  2487. "type": "string",
  2488. "mutable": false,
  2489. "attr": "intl-collapse",
  2490. "reflectToAttr": false,
  2491. "docs": "Accessible name for the component's collapse button.",
  2492. "docsTags": [
  2493. {
  2494. "name": "default",
  2495. "text": "\"Collapse\""
  2496. }
  2497. ],
  2498. "default": "TEXT.collapse",
  2499. "values": [
  2500. {
  2501. "type": "string"
  2502. }
  2503. ],
  2504. "optional": true,
  2505. "required": false
  2506. },
  2507. {
  2508. "name": "intlExpand",
  2509. "type": "string",
  2510. "mutable": false,
  2511. "attr": "intl-expand",
  2512. "reflectToAttr": false,
  2513. "docs": "Accessible name for the component's expand button.",
  2514. "docsTags": [
  2515. {
  2516. "name": "default",
  2517. "text": "\"Expand\""
  2518. }
  2519. ],
  2520. "default": "TEXT.expand",
  2521. "values": [
  2522. {
  2523. "type": "string"
  2524. }
  2525. ],
  2526. "optional": true,
  2527. "required": false
  2528. },
  2529. {
  2530. "name": "intlLoading",
  2531. "type": "string",
  2532. "mutable": false,
  2533. "attr": "intl-loading",
  2534. "reflectToAttr": false,
  2535. "docs": "Accessible name when the component is loading.",
  2536. "docsTags": [
  2537. {
  2538. "name": "default",
  2539. "text": "\"Loading\""
  2540. }
  2541. ],
  2542. "default": "TEXT.loading",
  2543. "values": [
  2544. {
  2545. "type": "string"
  2546. }
  2547. ],
  2548. "optional": true,
  2549. "required": false
  2550. },
  2551. {
  2552. "name": "intlOptions",
  2553. "type": "string",
  2554. "mutable": false,
  2555. "attr": "intl-options",
  2556. "reflectToAttr": false,
  2557. "docs": "Accessible name for the component's options button.",
  2558. "docsTags": [
  2559. {
  2560. "name": "default",
  2561. "text": "\"Options\""
  2562. }
  2563. ],
  2564. "default": "TEXT.options",
  2565. "values": [
  2566. {
  2567. "type": "string"
  2568. }
  2569. ],
  2570. "optional": true,
  2571. "required": false
  2572. },
  2573. {
  2574. "name": "loading",
  2575. "type": "boolean",
  2576. "mutable": false,
  2577. "attr": "loading",
  2578. "reflectToAttr": true,
  2579. "docs": "When `true`, a busy indicator is displayed.",
  2580. "docsTags": [],
  2581. "default": "false",
  2582. "values": [
  2583. {
  2584. "type": "boolean"
  2585. }
  2586. ],
  2587. "optional": false,
  2588. "required": false
  2589. },
  2590. {
  2591. "name": "open",
  2592. "type": "boolean",
  2593. "mutable": true,
  2594. "attr": "open",
  2595. "reflectToAttr": true,
  2596. "docs": "When `true`, expands the component and its contents.",
  2597. "docsTags": [],
  2598. "default": "false",
  2599. "values": [
  2600. {
  2601. "type": "boolean"
  2602. }
  2603. ],
  2604. "optional": false,
  2605. "required": false
  2606. },
  2607. {
  2608. "name": "status",
  2609. "type": "\"idle\" | \"invalid\" | \"valid\"",
  2610. "mutable": false,
  2611. "attr": "status",
  2612. "reflectToAttr": true,
  2613. "docs": "Displays a status-related indicator icon.",
  2614. "docsTags": [],
  2615. "values": [
  2616. {
  2617. "value": "idle",
  2618. "type": "string"
  2619. },
  2620. {
  2621. "value": "invalid",
  2622. "type": "string"
  2623. },
  2624. {
  2625. "value": "valid",
  2626. "type": "string"
  2627. }
  2628. ],
  2629. "optional": true,
  2630. "required": false
  2631. },
  2632. {
  2633. "name": "summary",
  2634. "type": "string",
  2635. "mutable": false,
  2636. "attr": "summary",
  2637. "reflectToAttr": false,
  2638. "docs": "A description for the component, which displays below the heading.",
  2639. "docsTags": [
  2640. {
  2641. "name": "deprecated",
  2642. "text": "use `description` instead"
  2643. }
  2644. ],
  2645. "deprecation": "use `description` instead",
  2646. "values": [
  2647. {
  2648. "type": "string"
  2649. }
  2650. ],
  2651. "optional": false,
  2652. "required": false
  2653. }
  2654. ],
  2655. "methods": [],
  2656. "events": [
  2657. {
  2658. "event": "calciteBlockToggle",
  2659. "detail": "void",
  2660. "bubbles": true,
  2661. "cancelable": false,
  2662. "composed": true,
  2663. "docs": "Emits when the component's header is clicked.",
  2664. "docsTags": []
  2665. }
  2666. ],
  2667. "listeners": [],
  2668. "styles": [],
  2669. "slots": [
  2670. {
  2671. "name": "",
  2672. "docs": "A slot for adding content to the component."
  2673. },
  2674. {
  2675. "name": "control",
  2676. "docs": "A slot for adding a single HTML input element in a header."
  2677. },
  2678. {
  2679. "name": "header-menu-actions",
  2680. "docs": "A slot for adding an overflow menu with `calcite-action`s inside a dropdown."
  2681. },
  2682. {
  2683. "name": "icon",
  2684. "docs": "A slot for adding a leading header icon with `calcite-icon`."
  2685. }
  2686. ],
  2687. "parts": [],
  2688. "dependents": [],
  2689. "dependencies": [
  2690. "calcite-scrim",
  2691. "calcite-icon",
  2692. "calcite-handle",
  2693. "calcite-loader",
  2694. "calcite-action-menu"
  2695. ],
  2696. "dependencyGraph": {
  2697. "calcite-block": [
  2698. "calcite-scrim",
  2699. "calcite-icon",
  2700. "calcite-handle",
  2701. "calcite-loader",
  2702. "calcite-action-menu"
  2703. ],
  2704. "calcite-scrim": [
  2705. "calcite-loader"
  2706. ],
  2707. "calcite-handle": [
  2708. "calcite-icon"
  2709. ],
  2710. "calcite-action-menu": [
  2711. "calcite-action",
  2712. "calcite-popover"
  2713. ],
  2714. "calcite-action": [
  2715. "calcite-loader",
  2716. "calcite-icon"
  2717. ],
  2718. "calcite-popover": [
  2719. "calcite-action",
  2720. "calcite-icon"
  2721. ]
  2722. }
  2723. },
  2724. {
  2725. "filePath": "./src/components/block-section/block-section.tsx",
  2726. "encapsulation": "shadow",
  2727. "tag": "calcite-block-section",
  2728. "readme": "# calcite-block-section\n\nThe `calcite-block-section` component is a child element of `calcite-block`. Sections can have their own header and content and can be toggled open or closed.\n",
  2729. "docs": "The `calcite-block-section` component is a child element of `calcite-block`. Sections can have their own header and content and can be toggled open or closed.",
  2730. "docsTags": [
  2731. {
  2732. "name": "slot",
  2733. "text": "- A slot for adding content to the component."
  2734. }
  2735. ],
  2736. "usage": {},
  2737. "props": [
  2738. {
  2739. "name": "intlCollapse",
  2740. "type": "string",
  2741. "mutable": false,
  2742. "attr": "intl-collapse",
  2743. "reflectToAttr": false,
  2744. "docs": "Accessible name for the component's collapse button.",
  2745. "docsTags": [],
  2746. "values": [
  2747. {
  2748. "type": "string"
  2749. }
  2750. ],
  2751. "optional": true,
  2752. "required": false
  2753. },
  2754. {
  2755. "name": "intlExpand",
  2756. "type": "string",
  2757. "mutable": false,
  2758. "attr": "intl-expand",
  2759. "reflectToAttr": false,
  2760. "docs": "Accessible name for the component's expand button.",
  2761. "docsTags": [],
  2762. "values": [
  2763. {
  2764. "type": "string"
  2765. }
  2766. ],
  2767. "optional": true,
  2768. "required": false
  2769. },
  2770. {
  2771. "name": "open",
  2772. "type": "boolean",
  2773. "mutable": true,
  2774. "attr": "open",
  2775. "reflectToAttr": true,
  2776. "docs": "When `true`, expands the component and its contents.",
  2777. "docsTags": [],
  2778. "default": "false",
  2779. "values": [
  2780. {
  2781. "type": "boolean"
  2782. }
  2783. ],
  2784. "optional": false,
  2785. "required": false
  2786. },
  2787. {
  2788. "name": "status",
  2789. "type": "\"idle\" | \"invalid\" | \"valid\"",
  2790. "mutable": false,
  2791. "attr": "status",
  2792. "reflectToAttr": true,
  2793. "docs": "Displays a status-related indicator icon.",
  2794. "docsTags": [],
  2795. "values": [
  2796. {
  2797. "value": "idle",
  2798. "type": "string"
  2799. },
  2800. {
  2801. "value": "invalid",
  2802. "type": "string"
  2803. },
  2804. {
  2805. "value": "valid",
  2806. "type": "string"
  2807. }
  2808. ],
  2809. "optional": true,
  2810. "required": false
  2811. },
  2812. {
  2813. "name": "text",
  2814. "type": "string",
  2815. "mutable": false,
  2816. "attr": "text",
  2817. "reflectToAttr": false,
  2818. "docs": "The component header text.",
  2819. "docsTags": [],
  2820. "values": [
  2821. {
  2822. "type": "string"
  2823. }
  2824. ],
  2825. "optional": false,
  2826. "required": false
  2827. },
  2828. {
  2829. "name": "toggleDisplay",
  2830. "type": "\"button\" | \"switch\"",
  2831. "mutable": false,
  2832. "attr": "toggle-display",
  2833. "reflectToAttr": true,
  2834. "docs": "Specifies the component's toggle display -\n\n`\"button\"` (selectable header), or\n\n`\"switch\"` (toggle switch).",
  2835. "docsTags": [],
  2836. "default": "\"button\"",
  2837. "values": [
  2838. {
  2839. "value": "button",
  2840. "type": "string"
  2841. },
  2842. {
  2843. "value": "switch",
  2844. "type": "string"
  2845. }
  2846. ],
  2847. "optional": false,
  2848. "required": false
  2849. }
  2850. ],
  2851. "methods": [],
  2852. "events": [
  2853. {
  2854. "event": "calciteBlockSectionToggle",
  2855. "detail": "void",
  2856. "bubbles": true,
  2857. "cancelable": false,
  2858. "composed": true,
  2859. "docs": "Emits when the header has been clicked.",
  2860. "docsTags": []
  2861. }
  2862. ],
  2863. "listeners": [],
  2864. "styles": [],
  2865. "slots": [
  2866. {
  2867. "name": "",
  2868. "docs": "A slot for adding content to the component."
  2869. }
  2870. ],
  2871. "parts": [],
  2872. "dependents": [],
  2873. "dependencies": [
  2874. "calcite-icon",
  2875. "calcite-switch"
  2876. ],
  2877. "dependencyGraph": {
  2878. "calcite-block-section": [
  2879. "calcite-icon",
  2880. "calcite-switch"
  2881. ]
  2882. }
  2883. },
  2884. {
  2885. "filePath": "./src/components/button/button.tsx",
  2886. "encapsulation": "shadow",
  2887. "tag": "calcite-button",
  2888. "readme": "# calcite-button\n",
  2889. "docs": "",
  2890. "docsTags": [
  2891. {
  2892. "name": "slot",
  2893. "text": "- A slot for adding text."
  2894. }
  2895. ],
  2896. "usage": {
  2897. "Basic": "```html\n<calcite-button icon-start=\"plus\" color=\"red\">Go!</calcite-button>\n```\n",
  2898. "Focusing": "You can programmatically focus a `calcite-button` with the `setFocus()` method:\n\n```html\n<div onclick=\"document.querySelector('#my-button').setFocus()\">Focus!</div>\n```\n",
  2899. "Internals": "Any additional attributes set on `<calcite-button>` are passed to the internal `<a>` or `<button>` tag. For example, the first button below sets `target=\"_blank` On the internal `<a>`. The second button sets `type=\"submit\"` on the internal `<button>`.\n\n- ```html\n <calcite-button href=\"https://github.com/esri/calcite-components\" target=\"_blank\">\n Calcite Components on GitHub\n </calcite-button>\n\n <calcite-button type=\"submit\">Submit</calcite-button>\n ```\n",
  2900. "With-icons": "```html\n<calcite-button appearance=\"solid\" icon-start=\"arrow-left\">Back</calcite-button>\n<calcite-button icon-end=\"map\" color=\"red\">Map Options</calcite-button>\n<calcite-button icon-end=\"plus\" appearance=\"outline\" color=\"inverse\">Add to favorites</calcite-button>\n```\n",
  2901. "With-loader-disabled": "```html\n<calcite-button loading color=\"neutral\">Fetching data...</calcite-button>\n<calcite-button disabled>Can't touch this</calcite-button>\n```\n",
  2902. "Within-form": "```html\n<form name=\"sign-up\">\n <calcite-label>\n First name\n <calcite-input name=\"first-name\" required value=\"Jane\"></calcite-input>\n </calcite-label>\n <calcite-button type=\"reset\">I should reset the form (type reset)</calcite-button>\n <calcite-button type=\"button\">I should not submit the form (type button)</calcite-button>\n <calcite-button>Submit</calcite-button>\n</form>\n```\n"
  2903. },
  2904. "props": [
  2905. {
  2906. "name": "alignment",
  2907. "type": "\"center\" | \"end\" | \"icon-end-space-between\" | \"icon-start-space-between\" | \"space-between\" | \"start\"",
  2908. "mutable": false,
  2909. "attr": "alignment",
  2910. "reflectToAttr": true,
  2911. "docs": "Specifies the alignment of the component's elements.",
  2912. "docsTags": [],
  2913. "default": "\"center\"",
  2914. "values": [
  2915. {
  2916. "value": "center",
  2917. "type": "string"
  2918. },
  2919. {
  2920. "value": "end",
  2921. "type": "string"
  2922. },
  2923. {
  2924. "value": "icon-end-space-between",
  2925. "type": "string"
  2926. },
  2927. {
  2928. "value": "icon-start-space-between",
  2929. "type": "string"
  2930. },
  2931. {
  2932. "value": "space-between",
  2933. "type": "string"
  2934. },
  2935. {
  2936. "value": "start",
  2937. "type": "string"
  2938. }
  2939. ],
  2940. "optional": true,
  2941. "required": false
  2942. },
  2943. {
  2944. "name": "appearance",
  2945. "type": "\"clear\" | \"minimal\" | \"outline\" | \"solid\" | \"transparent\"",
  2946. "mutable": false,
  2947. "attr": "appearance",
  2948. "reflectToAttr": true,
  2949. "docs": "Specifies the appearance style of the component.",
  2950. "docsTags": [],
  2951. "default": "\"solid\"",
  2952. "values": [
  2953. {
  2954. "value": "clear",
  2955. "type": "string"
  2956. },
  2957. {
  2958. "value": "minimal",
  2959. "type": "string"
  2960. },
  2961. {
  2962. "value": "outline",
  2963. "type": "string"
  2964. },
  2965. {
  2966. "value": "solid",
  2967. "type": "string"
  2968. },
  2969. {
  2970. "value": "transparent",
  2971. "type": "string"
  2972. }
  2973. ],
  2974. "optional": false,
  2975. "required": false
  2976. },
  2977. {
  2978. "name": "color",
  2979. "type": "\"blue\" | \"inverse\" | \"neutral\" | \"red\"",
  2980. "mutable": false,
  2981. "attr": "color",
  2982. "reflectToAttr": true,
  2983. "docs": "Specifies the color of the component.",
  2984. "docsTags": [],
  2985. "default": "\"blue\"",
  2986. "values": [
  2987. {
  2988. "value": "blue",
  2989. "type": "string"
  2990. },
  2991. {
  2992. "value": "inverse",
  2993. "type": "string"
  2994. },
  2995. {
  2996. "value": "neutral",
  2997. "type": "string"
  2998. },
  2999. {
  3000. "value": "red",
  3001. "type": "string"
  3002. }
  3003. ],
  3004. "optional": false,
  3005. "required": false
  3006. },
  3007. {
  3008. "name": "disabled",
  3009. "type": "boolean",
  3010. "mutable": false,
  3011. "attr": "disabled",
  3012. "reflectToAttr": true,
  3013. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  3014. "docsTags": [],
  3015. "default": "false",
  3016. "values": [
  3017. {
  3018. "type": "boolean"
  3019. }
  3020. ],
  3021. "optional": false,
  3022. "required": false
  3023. },
  3024. {
  3025. "name": "form",
  3026. "type": "string",
  3027. "mutable": false,
  3028. "attr": "form",
  3029. "reflectToAttr": false,
  3030. "docs": "The form ID to associate with the component.",
  3031. "docsTags": [
  3032. {
  3033. "name": "deprecated",
  3034. "text": "– The property is no longer needed if the component is placed inside a form."
  3035. }
  3036. ],
  3037. "deprecation": "– The property is no longer needed if the component is placed inside a form.",
  3038. "values": [
  3039. {
  3040. "type": "string"
  3041. }
  3042. ],
  3043. "optional": true,
  3044. "required": false
  3045. },
  3046. {
  3047. "name": "href",
  3048. "type": "string",
  3049. "mutable": false,
  3050. "attr": "href",
  3051. "reflectToAttr": true,
  3052. "docs": "Specifies the URL of the linked resource, which can be set as an absolute or relative path.",
  3053. "docsTags": [],
  3054. "values": [
  3055. {
  3056. "type": "string"
  3057. }
  3058. ],
  3059. "optional": true,
  3060. "required": false
  3061. },
  3062. {
  3063. "name": "iconEnd",
  3064. "type": "string",
  3065. "mutable": false,
  3066. "attr": "icon-end",
  3067. "reflectToAttr": true,
  3068. "docs": "Specifies an icon to display at the end of the component.",
  3069. "docsTags": [],
  3070. "values": [
  3071. {
  3072. "type": "string"
  3073. }
  3074. ],
  3075. "optional": true,
  3076. "required": false
  3077. },
  3078. {
  3079. "name": "iconFlipRtl",
  3080. "type": "\"both\" | \"end\" | \"start\"",
  3081. "mutable": false,
  3082. "attr": "icon-flip-rtl",
  3083. "reflectToAttr": true,
  3084. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  3085. "docsTags": [],
  3086. "values": [
  3087. {
  3088. "value": "both",
  3089. "type": "string"
  3090. },
  3091. {
  3092. "value": "end",
  3093. "type": "string"
  3094. },
  3095. {
  3096. "value": "start",
  3097. "type": "string"
  3098. }
  3099. ],
  3100. "optional": true,
  3101. "required": false
  3102. },
  3103. {
  3104. "name": "iconStart",
  3105. "type": "string",
  3106. "mutable": false,
  3107. "attr": "icon-start",
  3108. "reflectToAttr": true,
  3109. "docs": "Specifies an icon to display at the start of the component.",
  3110. "docsTags": [],
  3111. "values": [
  3112. {
  3113. "type": "string"
  3114. }
  3115. ],
  3116. "optional": true,
  3117. "required": false
  3118. },
  3119. {
  3120. "name": "intlLoading",
  3121. "type": "string",
  3122. "mutable": false,
  3123. "attr": "intl-loading",
  3124. "reflectToAttr": false,
  3125. "docs": "Accessible name when the component is loading.",
  3126. "docsTags": [
  3127. {
  3128. "name": "default",
  3129. "text": "\"Loading\""
  3130. }
  3131. ],
  3132. "default": "TEXT.loading",
  3133. "values": [
  3134. {
  3135. "type": "string"
  3136. }
  3137. ],
  3138. "optional": true,
  3139. "required": false
  3140. },
  3141. {
  3142. "name": "label",
  3143. "type": "string",
  3144. "mutable": false,
  3145. "attr": "label",
  3146. "reflectToAttr": false,
  3147. "docs": "Accessible name for the component.",
  3148. "docsTags": [],
  3149. "values": [
  3150. {
  3151. "type": "string"
  3152. }
  3153. ],
  3154. "optional": true,
  3155. "required": false
  3156. },
  3157. {
  3158. "name": "loading",
  3159. "type": "boolean",
  3160. "mutable": false,
  3161. "attr": "loading",
  3162. "reflectToAttr": true,
  3163. "docs": "When `true`, a busy indicator is displayed and interaction is disabled.",
  3164. "docsTags": [],
  3165. "default": "false",
  3166. "values": [
  3167. {
  3168. "type": "boolean"
  3169. }
  3170. ],
  3171. "optional": false,
  3172. "required": false
  3173. },
  3174. {
  3175. "name": "name",
  3176. "type": "string",
  3177. "mutable": false,
  3178. "attr": "name",
  3179. "reflectToAttr": true,
  3180. "docs": "Specifies the name of the component on form submission.",
  3181. "docsTags": [],
  3182. "values": [
  3183. {
  3184. "type": "string"
  3185. }
  3186. ],
  3187. "optional": true,
  3188. "required": false
  3189. },
  3190. {
  3191. "name": "rel",
  3192. "type": "string",
  3193. "mutable": false,
  3194. "attr": "rel",
  3195. "reflectToAttr": true,
  3196. "docs": "Defines the relationship between the `href` value and the current document.",
  3197. "docsTags": [
  3198. {
  3199. "name": "mdn",
  3200. "text": "[rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)"
  3201. }
  3202. ],
  3203. "values": [
  3204. {
  3205. "type": "string"
  3206. }
  3207. ],
  3208. "optional": true,
  3209. "required": false
  3210. },
  3211. {
  3212. "name": "round",
  3213. "type": "boolean",
  3214. "mutable": false,
  3215. "attr": "round",
  3216. "reflectToAttr": true,
  3217. "docs": "When `true`, adds a round style to the component.",
  3218. "docsTags": [],
  3219. "default": "false",
  3220. "values": [
  3221. {
  3222. "type": "boolean"
  3223. }
  3224. ],
  3225. "optional": false,
  3226. "required": false
  3227. },
  3228. {
  3229. "name": "scale",
  3230. "type": "\"l\" | \"m\" | \"s\"",
  3231. "mutable": false,
  3232. "attr": "scale",
  3233. "reflectToAttr": true,
  3234. "docs": "Specifies the size of the component.",
  3235. "docsTags": [],
  3236. "default": "\"m\"",
  3237. "values": [
  3238. {
  3239. "value": "l",
  3240. "type": "string"
  3241. },
  3242. {
  3243. "value": "m",
  3244. "type": "string"
  3245. },
  3246. {
  3247. "value": "s",
  3248. "type": "string"
  3249. }
  3250. ],
  3251. "optional": false,
  3252. "required": false
  3253. },
  3254. {
  3255. "name": "splitChild",
  3256. "type": "\"primary\" | \"secondary\" | boolean",
  3257. "mutable": false,
  3258. "attr": "split-child",
  3259. "reflectToAttr": true,
  3260. "docs": "Specifies if the component is a child of a `calcite-split-button`.",
  3261. "docsTags": [],
  3262. "default": "false",
  3263. "values": [
  3264. {
  3265. "value": "primary",
  3266. "type": "string"
  3267. },
  3268. {
  3269. "value": "secondary",
  3270. "type": "string"
  3271. },
  3272. {
  3273. "type": "boolean"
  3274. }
  3275. ],
  3276. "optional": true,
  3277. "required": false
  3278. },
  3279. {
  3280. "name": "target",
  3281. "type": "string",
  3282. "mutable": false,
  3283. "attr": "target",
  3284. "reflectToAttr": true,
  3285. "docs": "Specifies where to open the linked document defined in the `href` property.",
  3286. "docsTags": [
  3287. {
  3288. "name": "mdn",
  3289. "text": "[target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)"
  3290. }
  3291. ],
  3292. "values": [
  3293. {
  3294. "type": "string"
  3295. }
  3296. ],
  3297. "optional": true,
  3298. "required": false
  3299. },
  3300. {
  3301. "name": "type",
  3302. "type": "string",
  3303. "mutable": true,
  3304. "attr": "type",
  3305. "reflectToAttr": true,
  3306. "docs": "Specifies the default behavior of the button.",
  3307. "docsTags": [
  3308. {
  3309. "name": "mdn",
  3310. "text": "[type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type)"
  3311. }
  3312. ],
  3313. "default": "\"button\"",
  3314. "values": [
  3315. {
  3316. "type": "string"
  3317. }
  3318. ],
  3319. "optional": false,
  3320. "required": false
  3321. },
  3322. {
  3323. "name": "width",
  3324. "type": "\"auto\" | \"full\" | \"half\"",
  3325. "mutable": false,
  3326. "attr": "width",
  3327. "reflectToAttr": true,
  3328. "docs": "Specifies the width of the component.",
  3329. "docsTags": [],
  3330. "default": "\"auto\"",
  3331. "values": [
  3332. {
  3333. "value": "auto",
  3334. "type": "string"
  3335. },
  3336. {
  3337. "value": "full",
  3338. "type": "string"
  3339. },
  3340. {
  3341. "value": "half",
  3342. "type": "string"
  3343. }
  3344. ],
  3345. "optional": false,
  3346. "required": false
  3347. }
  3348. ],
  3349. "methods": [
  3350. {
  3351. "name": "setFocus",
  3352. "returns": {
  3353. "type": "Promise<void>",
  3354. "docs": ""
  3355. },
  3356. "signature": "setFocus() => Promise<void>",
  3357. "parameters": [],
  3358. "docs": "Sets focus on the component.",
  3359. "docsTags": []
  3360. }
  3361. ],
  3362. "events": [],
  3363. "listeners": [],
  3364. "styles": [],
  3365. "slots": [
  3366. {
  3367. "name": "",
  3368. "docs": "A slot for adding text."
  3369. }
  3370. ],
  3371. "parts": [],
  3372. "dependents": [
  3373. "calcite-color-picker",
  3374. "calcite-fab",
  3375. "calcite-inline-editable",
  3376. "calcite-split-button"
  3377. ],
  3378. "dependencies": [
  3379. "calcite-loader",
  3380. "calcite-icon"
  3381. ],
  3382. "dependencyGraph": {
  3383. "calcite-button": [
  3384. "calcite-loader",
  3385. "calcite-icon"
  3386. ],
  3387. "calcite-color-picker": [
  3388. "calcite-button"
  3389. ],
  3390. "calcite-fab": [
  3391. "calcite-button"
  3392. ],
  3393. "calcite-inline-editable": [
  3394. "calcite-button"
  3395. ],
  3396. "calcite-split-button": [
  3397. "calcite-button"
  3398. ]
  3399. }
  3400. },
  3401. {
  3402. "filePath": "./src/components/card/card.tsx",
  3403. "encapsulation": "shadow",
  3404. "tag": "calcite-card",
  3405. "readme": "# calcite-card\n",
  3406. "docs": "",
  3407. "docsTags": [
  3408. {
  3409. "name": "slot",
  3410. "text": "- A slot for adding subheader/description content."
  3411. },
  3412. {
  3413. "name": "slot",
  3414. "text": "thumbnail - A slot for adding a thumbnail to the component."
  3415. },
  3416. {
  3417. "name": "slot",
  3418. "text": "title - A slot for adding a title."
  3419. },
  3420. {
  3421. "name": "slot",
  3422. "text": "subtitle - A slot for adding a subtitle or short summary."
  3423. },
  3424. {
  3425. "name": "slot",
  3426. "text": "footer-leading - A slot for adding a leading footer."
  3427. },
  3428. {
  3429. "name": "slot",
  3430. "text": "footer-trailing - A slot for adding a trailing footer."
  3431. }
  3432. ],
  3433. "usage": {
  3434. "Basic": "```html\n<div style=\"width:260px\">\n <calcite-card>\n <h3 slot=\"title\">ArcGIS Online: Gallery and Organization pages</h3>\n <span slot=\"subtitle\">\n A great example of a study description that might wrap to a line or two, but isn't overly verbose.\n </span>\n </calcite-card>\n</div>\n```\n"
  3435. },
  3436. "props": [
  3437. {
  3438. "name": "intlDeselect",
  3439. "type": "string",
  3440. "mutable": false,
  3441. "attr": "intl-deselect",
  3442. "reflectToAttr": false,
  3443. "docs": "When `selectable` is `true`, the accessible name for the component's checkbox for deselection.",
  3444. "docsTags": [
  3445. {
  3446. "name": "default",
  3447. "text": "\"Deselect\""
  3448. }
  3449. ],
  3450. "default": "TEXT.deselect",
  3451. "values": [
  3452. {
  3453. "type": "string"
  3454. }
  3455. ],
  3456. "optional": false,
  3457. "required": false
  3458. },
  3459. {
  3460. "name": "intlLoading",
  3461. "type": "string",
  3462. "mutable": false,
  3463. "attr": "intl-loading",
  3464. "reflectToAttr": false,
  3465. "docs": "Accessible name when the component is loading.",
  3466. "docsTags": [
  3467. {
  3468. "name": "default",
  3469. "text": "\"Loading\""
  3470. }
  3471. ],
  3472. "default": "TEXT.loading",
  3473. "values": [
  3474. {
  3475. "type": "string"
  3476. }
  3477. ],
  3478. "optional": true,
  3479. "required": false
  3480. },
  3481. {
  3482. "name": "intlSelect",
  3483. "type": "string",
  3484. "mutable": false,
  3485. "attr": "intl-select",
  3486. "reflectToAttr": false,
  3487. "docs": "When `selectable` is `true`, the accessible name for the component's checkbox for selection.",
  3488. "docsTags": [
  3489. {
  3490. "name": "default",
  3491. "text": "\"Select\""
  3492. }
  3493. ],
  3494. "default": "TEXT.select",
  3495. "values": [
  3496. {
  3497. "type": "string"
  3498. }
  3499. ],
  3500. "optional": false,
  3501. "required": false
  3502. },
  3503. {
  3504. "name": "loading",
  3505. "type": "boolean",
  3506. "mutable": false,
  3507. "attr": "loading",
  3508. "reflectToAttr": true,
  3509. "docs": "When `true`, a busy indicator is displayed.",
  3510. "docsTags": [],
  3511. "default": "false",
  3512. "values": [
  3513. {
  3514. "type": "boolean"
  3515. }
  3516. ],
  3517. "optional": false,
  3518. "required": false
  3519. },
  3520. {
  3521. "name": "selectable",
  3522. "type": "boolean",
  3523. "mutable": false,
  3524. "attr": "selectable",
  3525. "reflectToAttr": true,
  3526. "docs": "When `true`, the component is selectable.",
  3527. "docsTags": [],
  3528. "default": "false",
  3529. "values": [
  3530. {
  3531. "type": "boolean"
  3532. }
  3533. ],
  3534. "optional": false,
  3535. "required": false
  3536. },
  3537. {
  3538. "name": "selected",
  3539. "type": "boolean",
  3540. "mutable": true,
  3541. "attr": "selected",
  3542. "reflectToAttr": true,
  3543. "docs": "When `true`, the component is selected.",
  3544. "docsTags": [],
  3545. "default": "false",
  3546. "values": [
  3547. {
  3548. "type": "boolean"
  3549. }
  3550. ],
  3551. "optional": false,
  3552. "required": false
  3553. },
  3554. {
  3555. "name": "thumbnailPosition",
  3556. "type": "\"block-end\" | \"block-start\" | \"inline-end\" | \"inline-start\"",
  3557. "mutable": false,
  3558. "attr": "thumbnail-position",
  3559. "reflectToAttr": true,
  3560. "docs": "Sets the placement of the thumbnail defined in the `thumbnail` slot.",
  3561. "docsTags": [],
  3562. "default": "\"block-start\"",
  3563. "values": [
  3564. {
  3565. "value": "block-end",
  3566. "type": "string"
  3567. },
  3568. {
  3569. "value": "block-start",
  3570. "type": "string"
  3571. },
  3572. {
  3573. "value": "inline-end",
  3574. "type": "string"
  3575. },
  3576. {
  3577. "value": "inline-start",
  3578. "type": "string"
  3579. }
  3580. ],
  3581. "optional": false,
  3582. "required": false
  3583. }
  3584. ],
  3585. "methods": [],
  3586. "events": [
  3587. {
  3588. "event": "calciteCardSelect",
  3589. "detail": "void",
  3590. "bubbles": true,
  3591. "cancelable": false,
  3592. "composed": true,
  3593. "docs": "Fires when `selectable` is `true` and the component is selected.",
  3594. "docsTags": []
  3595. }
  3596. ],
  3597. "listeners": [],
  3598. "styles": [],
  3599. "slots": [
  3600. {
  3601. "name": "",
  3602. "docs": "A slot for adding subheader/description content."
  3603. },
  3604. {
  3605. "name": "footer-leading",
  3606. "docs": "A slot for adding a leading footer."
  3607. },
  3608. {
  3609. "name": "footer-trailing",
  3610. "docs": "A slot for adding a trailing footer."
  3611. },
  3612. {
  3613. "name": "subtitle",
  3614. "docs": "A slot for adding a subtitle or short summary."
  3615. },
  3616. {
  3617. "name": "thumbnail",
  3618. "docs": "A slot for adding a thumbnail to the component."
  3619. },
  3620. {
  3621. "name": "title",
  3622. "docs": "A slot for adding a title."
  3623. }
  3624. ],
  3625. "parts": [],
  3626. "dependents": [],
  3627. "dependencies": [
  3628. "calcite-loader",
  3629. "calcite-label",
  3630. "calcite-checkbox"
  3631. ],
  3632. "dependencyGraph": {
  3633. "calcite-card": [
  3634. "calcite-loader",
  3635. "calcite-label",
  3636. "calcite-checkbox"
  3637. ]
  3638. }
  3639. },
  3640. {
  3641. "filePath": "./src/components/checkbox/checkbox.tsx",
  3642. "encapsulation": "shadow",
  3643. "tag": "calcite-checkbox",
  3644. "readme": "# calcite-checkbox\n",
  3645. "docs": "",
  3646. "docsTags": [],
  3647. "usage": {
  3648. "Basic": "```html\n<calcite-checkbox id=\"first-name\" name=\"first-name\"></calcite-checkbox>\n```\n",
  3649. "Checked-with-calcite-label": "```html\n<calcite-label layout=\"inline\" for=\"checked-item\">\n To do\n <calcite-checkbox checked id=\"checked-item\" name=\"checked-item\"></calcite-checkbox>\n</calcite-label>\n```\n",
  3650. "Hovered-with-calcite-label": "```html\n<calcite-label layout=\"inline\" for=\"hovered-item\">\n <calcite-checkbox hovered id=\"hovered-item\" name=\"hovered-item\"></calcite-checkbox>\n To do\n</calcite-label>\n```\n",
  3651. "Indeterminate-with-native-label": "```html\n<label for=\"checked-indeterminate\">\n Status\n <calcite-checkbox checked indeterminate id=\"checked-indeterminate\" name=\"checked-indeterminate\"></calcite-checkbox>\n</label>\n```\n"
  3652. },
  3653. "props": [
  3654. {
  3655. "name": "checked",
  3656. "type": "boolean",
  3657. "mutable": true,
  3658. "attr": "checked",
  3659. "reflectToAttr": true,
  3660. "docs": "When `true`, the component is checked.",
  3661. "docsTags": [],
  3662. "default": "false",
  3663. "values": [
  3664. {
  3665. "type": "boolean"
  3666. }
  3667. ],
  3668. "optional": false,
  3669. "required": false
  3670. },
  3671. {
  3672. "name": "disabled",
  3673. "type": "boolean",
  3674. "mutable": false,
  3675. "attr": "disabled",
  3676. "reflectToAttr": true,
  3677. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  3678. "docsTags": [],
  3679. "default": "false",
  3680. "values": [
  3681. {
  3682. "type": "boolean"
  3683. }
  3684. ],
  3685. "optional": false,
  3686. "required": false
  3687. },
  3688. {
  3689. "name": "guid",
  3690. "type": "string",
  3691. "mutable": true,
  3692. "attr": "guid",
  3693. "reflectToAttr": true,
  3694. "docs": "The `id` attribute of the component. When omitted, a globally unique identifier is used.",
  3695. "docsTags": [],
  3696. "values": [
  3697. {
  3698. "type": "string"
  3699. }
  3700. ],
  3701. "optional": false,
  3702. "required": false
  3703. },
  3704. {
  3705. "name": "indeterminate",
  3706. "type": "boolean",
  3707. "mutable": true,
  3708. "attr": "indeterminate",
  3709. "reflectToAttr": true,
  3710. "docs": "When `true`, the component is initially indeterminate, which is independent from its `checked` value.\n\nThe state is visual only, and can look different across browsers.",
  3711. "docsTags": [
  3712. {
  3713. "name": "mdn",
  3714. "text": "[indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)"
  3715. }
  3716. ],
  3717. "default": "false",
  3718. "values": [
  3719. {
  3720. "type": "boolean"
  3721. }
  3722. ],
  3723. "optional": false,
  3724. "required": false
  3725. },
  3726. {
  3727. "name": "name",
  3728. "type": "any",
  3729. "mutable": false,
  3730. "attr": "name",
  3731. "reflectToAttr": true,
  3732. "docs": "Specifies the name of the component on form submission.",
  3733. "docsTags": [],
  3734. "values": [
  3735. {
  3736. "type": "any"
  3737. }
  3738. ],
  3739. "optional": false,
  3740. "required": false
  3741. },
  3742. {
  3743. "name": "scale",
  3744. "type": "\"l\" | \"m\" | \"s\"",
  3745. "mutable": false,
  3746. "attr": "scale",
  3747. "reflectToAttr": true,
  3748. "docs": "Specifies the size of the component.",
  3749. "docsTags": [],
  3750. "default": "\"m\"",
  3751. "values": [
  3752. {
  3753. "value": "l",
  3754. "type": "string"
  3755. },
  3756. {
  3757. "value": "m",
  3758. "type": "string"
  3759. },
  3760. {
  3761. "value": "s",
  3762. "type": "string"
  3763. }
  3764. ],
  3765. "optional": false,
  3766. "required": false
  3767. },
  3768. {
  3769. "name": "value",
  3770. "type": "any",
  3771. "mutable": false,
  3772. "attr": "value",
  3773. "reflectToAttr": false,
  3774. "docs": "The component's value.",
  3775. "docsTags": [],
  3776. "values": [
  3777. {
  3778. "type": "any"
  3779. }
  3780. ],
  3781. "optional": false,
  3782. "required": false
  3783. }
  3784. ],
  3785. "methods": [
  3786. {
  3787. "name": "setFocus",
  3788. "returns": {
  3789. "type": "Promise<void>",
  3790. "docs": ""
  3791. },
  3792. "signature": "setFocus() => Promise<void>",
  3793. "parameters": [],
  3794. "docs": "Sets focus on the component.",
  3795. "docsTags": []
  3796. }
  3797. ],
  3798. "events": [
  3799. {
  3800. "event": "calciteCheckboxChange",
  3801. "detail": "void",
  3802. "bubbles": true,
  3803. "cancelable": false,
  3804. "composed": true,
  3805. "docs": "Emits when the component's `checked` status changes.",
  3806. "docsTags": []
  3807. }
  3808. ],
  3809. "listeners": [],
  3810. "styles": [
  3811. {
  3812. "name": "--calcite-checkbox-size",
  3813. "annotation": "prop",
  3814. "docs": "Specifies the component's height and width."
  3815. }
  3816. ],
  3817. "slots": [],
  3818. "parts": [],
  3819. "dependents": [
  3820. "calcite-card",
  3821. "calcite-tree-item"
  3822. ],
  3823. "dependencies": [],
  3824. "dependencyGraph": {
  3825. "calcite-card": [
  3826. "calcite-checkbox"
  3827. ],
  3828. "calcite-tree-item": [
  3829. "calcite-checkbox"
  3830. ]
  3831. }
  3832. },
  3833. {
  3834. "filePath": "./src/components/chip/chip.tsx",
  3835. "encapsulation": "shadow",
  3836. "tag": "calcite-chip",
  3837. "readme": "# calcite-chip\n",
  3838. "docs": "",
  3839. "docsTags": [
  3840. {
  3841. "name": "slot",
  3842. "text": "- A slot for adding text."
  3843. },
  3844. {
  3845. "name": "slot",
  3846. "text": "image - A slot for adding an image."
  3847. }
  3848. ],
  3849. "usage": {
  3850. "Basic": "```html\n<calcite-chip value=\"Global\" dismissible icon=\"globe\" appearance=\"clear\" color=\"green\">Global</calcite-chip>\n```\n"
  3851. },
  3852. "props": [
  3853. {
  3854. "name": "appearance",
  3855. "type": "\"clear\" | \"solid\"",
  3856. "mutable": false,
  3857. "attr": "appearance",
  3858. "reflectToAttr": true,
  3859. "docs": "Specifies the appearance style of the component.",
  3860. "docsTags": [],
  3861. "default": "\"solid\"",
  3862. "values": [
  3863. {
  3864. "value": "clear",
  3865. "type": "string"
  3866. },
  3867. {
  3868. "value": "solid",
  3869. "type": "string"
  3870. }
  3871. ],
  3872. "optional": false,
  3873. "required": false
  3874. },
  3875. {
  3876. "name": "closable",
  3877. "type": "boolean",
  3878. "mutable": true,
  3879. "attr": "closable",
  3880. "reflectToAttr": true,
  3881. "docs": "When `true`, a close button is added to the component.",
  3882. "docsTags": [],
  3883. "default": "false",
  3884. "values": [
  3885. {
  3886. "type": "boolean"
  3887. }
  3888. ],
  3889. "optional": false,
  3890. "required": false
  3891. },
  3892. {
  3893. "name": "closed",
  3894. "type": "boolean",
  3895. "mutable": true,
  3896. "attr": "closed",
  3897. "reflectToAttr": true,
  3898. "docs": "When `true`, hides the component.",
  3899. "docsTags": [],
  3900. "default": "false",
  3901. "values": [
  3902. {
  3903. "type": "boolean"
  3904. }
  3905. ],
  3906. "optional": false,
  3907. "required": false
  3908. },
  3909. {
  3910. "name": "color",
  3911. "type": "\"blue\" | \"green\" | \"grey\" | \"red\" | \"yellow\"",
  3912. "mutable": false,
  3913. "attr": "color",
  3914. "reflectToAttr": true,
  3915. "docs": "Specifies the color for the component.",
  3916. "docsTags": [],
  3917. "default": "\"grey\"",
  3918. "values": [
  3919. {
  3920. "value": "blue",
  3921. "type": "string"
  3922. },
  3923. {
  3924. "value": "green",
  3925. "type": "string"
  3926. },
  3927. {
  3928. "value": "grey",
  3929. "type": "string"
  3930. },
  3931. {
  3932. "value": "red",
  3933. "type": "string"
  3934. },
  3935. {
  3936. "value": "yellow",
  3937. "type": "string"
  3938. }
  3939. ],
  3940. "optional": false,
  3941. "required": false
  3942. },
  3943. {
  3944. "name": "dismissLabel",
  3945. "type": "string",
  3946. "mutable": false,
  3947. "attr": "dismiss-label",
  3948. "reflectToAttr": false,
  3949. "docs": "Accessible name for the component's close button.",
  3950. "docsTags": [
  3951. {
  3952. "name": "default",
  3953. "text": "\"Close\""
  3954. }
  3955. ],
  3956. "default": "TEXT.close",
  3957. "values": [
  3958. {
  3959. "type": "string"
  3960. }
  3961. ],
  3962. "optional": true,
  3963. "required": false
  3964. },
  3965. {
  3966. "name": "dismissible",
  3967. "type": "boolean",
  3968. "mutable": true,
  3969. "attr": "dismissible",
  3970. "reflectToAttr": true,
  3971. "docs": "When `true`, a close button is added to the component.",
  3972. "docsTags": [
  3973. {
  3974. "name": "deprecated",
  3975. "text": "use `closable` instead."
  3976. }
  3977. ],
  3978. "default": "false",
  3979. "deprecation": "use `closable` instead.",
  3980. "values": [
  3981. {
  3982. "type": "boolean"
  3983. }
  3984. ],
  3985. "optional": false,
  3986. "required": false
  3987. },
  3988. {
  3989. "name": "icon",
  3990. "type": "string",
  3991. "mutable": false,
  3992. "attr": "icon",
  3993. "reflectToAttr": true,
  3994. "docs": "Specifies an icon to display.",
  3995. "docsTags": [],
  3996. "values": [
  3997. {
  3998. "type": "string"
  3999. }
  4000. ],
  4001. "optional": true,
  4002. "required": false
  4003. },
  4004. {
  4005. "name": "iconFlipRtl",
  4006. "type": "boolean",
  4007. "mutable": false,
  4008. "attr": "icon-flip-rtl",
  4009. "reflectToAttr": true,
  4010. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  4011. "docsTags": [],
  4012. "default": "false",
  4013. "values": [
  4014. {
  4015. "type": "boolean"
  4016. }
  4017. ],
  4018. "optional": false,
  4019. "required": false
  4020. },
  4021. {
  4022. "name": "scale",
  4023. "type": "\"l\" | \"m\" | \"s\"",
  4024. "mutable": false,
  4025. "attr": "scale",
  4026. "reflectToAttr": true,
  4027. "docs": "Specifies the size of the component.",
  4028. "docsTags": [],
  4029. "default": "\"m\"",
  4030. "values": [
  4031. {
  4032. "value": "l",
  4033. "type": "string"
  4034. },
  4035. {
  4036. "value": "m",
  4037. "type": "string"
  4038. },
  4039. {
  4040. "value": "s",
  4041. "type": "string"
  4042. }
  4043. ],
  4044. "optional": false,
  4045. "required": false
  4046. },
  4047. {
  4048. "name": "value",
  4049. "type": "any",
  4050. "mutable": false,
  4051. "attr": "value",
  4052. "reflectToAttr": false,
  4053. "docs": "The component's value.",
  4054. "docsTags": [],
  4055. "values": [
  4056. {
  4057. "type": "any"
  4058. }
  4059. ],
  4060. "optional": false,
  4061. "required": true
  4062. }
  4063. ],
  4064. "methods": [
  4065. {
  4066. "name": "setFocus",
  4067. "returns": {
  4068. "type": "Promise<void>",
  4069. "docs": ""
  4070. },
  4071. "signature": "setFocus() => Promise<void>",
  4072. "parameters": [],
  4073. "docs": "Sets focus on the component.",
  4074. "docsTags": []
  4075. }
  4076. ],
  4077. "events": [
  4078. {
  4079. "event": "calciteChipDismiss",
  4080. "detail": "any",
  4081. "bubbles": true,
  4082. "cancelable": false,
  4083. "composed": true,
  4084. "docs": "Fires when the dismiss button is clicked.\n\n**Note:**: The `el` event payload props is deprecated, please use the event's `target`/`currentTarget` instead.",
  4085. "docsTags": []
  4086. }
  4087. ],
  4088. "listeners": [],
  4089. "styles": [],
  4090. "slots": [
  4091. {
  4092. "name": "",
  4093. "docs": "A slot for adding text."
  4094. },
  4095. {
  4096. "name": "image",
  4097. "docs": "A slot for adding an image."
  4098. }
  4099. ],
  4100. "parts": [],
  4101. "dependents": [
  4102. "calcite-alert",
  4103. "calcite-combobox",
  4104. "calcite-rating"
  4105. ],
  4106. "dependencies": [
  4107. "calcite-icon"
  4108. ],
  4109. "dependencyGraph": {
  4110. "calcite-chip": [
  4111. "calcite-icon"
  4112. ],
  4113. "calcite-alert": [
  4114. "calcite-chip"
  4115. ],
  4116. "calcite-combobox": [
  4117. "calcite-chip"
  4118. ],
  4119. "calcite-rating": [
  4120. "calcite-chip"
  4121. ]
  4122. }
  4123. },
  4124. {
  4125. "filePath": "./src/components/color-picker/color-picker.tsx",
  4126. "encapsulation": "shadow",
  4127. "tag": "calcite-color-picker",
  4128. "readme": "# calcite-color-picker\n",
  4129. "docs": "",
  4130. "docsTags": [],
  4131. "usage": {
  4132. "Basic": "```html\n<calcite-color-picker dir=\"ltr\" scale=\"m\" value=\"#b33f33\" appearance=\"default\"></calcite-color-picker>\n```\n",
  4133. "Minimal": "For a minimal design, you can hide unused color formats and options:\n\n```html\n<calcite-color-picker appearance=\"minimal\" value=\"\" allow-empty hide-saved hide-channels></calcite-color-picker>\n```\n"
  4134. },
  4135. "props": [
  4136. {
  4137. "name": "allowEmpty",
  4138. "type": "boolean",
  4139. "mutable": false,
  4140. "attr": "allow-empty",
  4141. "reflectToAttr": true,
  4142. "docs": "When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.\n\nWhen `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.",
  4143. "docsTags": [],
  4144. "default": "false",
  4145. "values": [
  4146. {
  4147. "type": "boolean"
  4148. }
  4149. ],
  4150. "optional": false,
  4151. "required": false
  4152. },
  4153. {
  4154. "name": "appearance",
  4155. "type": "\"default\" | \"minimal\" | \"solid\"",
  4156. "mutable": false,
  4157. "attr": "appearance",
  4158. "reflectToAttr": true,
  4159. "docs": "Specifies the appearance style of the component -\n\n`\"solid\"` (containing border) or `\"minimal\"` (no containing border).",
  4160. "docsTags": [],
  4161. "default": "\"solid\"",
  4162. "values": [
  4163. {
  4164. "value": "default",
  4165. "type": "string"
  4166. },
  4167. {
  4168. "value": "minimal",
  4169. "type": "string"
  4170. },
  4171. {
  4172. "value": "solid",
  4173. "type": "string"
  4174. }
  4175. ],
  4176. "optional": false,
  4177. "required": false
  4178. },
  4179. {
  4180. "name": "disabled",
  4181. "type": "boolean",
  4182. "mutable": false,
  4183. "attr": "disabled",
  4184. "reflectToAttr": true,
  4185. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  4186. "docsTags": [],
  4187. "default": "false",
  4188. "values": [
  4189. {
  4190. "type": "boolean"
  4191. }
  4192. ],
  4193. "optional": false,
  4194. "required": false
  4195. },
  4196. {
  4197. "name": "format",
  4198. "type": "\"auto\" | \"hex\" | \"hexa\" | \"hsl\" | \"hsl-css\" | \"hsla\" | \"hsla-css\" | \"hsv\" | \"hsva\" | \"rgb\" | \"rgb-css\" | \"rgba\" | \"rgba-css\"",
  4199. "mutable": false,
  4200. "attr": "format",
  4201. "reflectToAttr": true,
  4202. "docs": "The format of `value`.\n\nWhen `\"auto\"`, the format will be inferred from `value` when set.",
  4203. "docsTags": [
  4204. {
  4205. "name": "default",
  4206. "text": "\"auto\""
  4207. }
  4208. ],
  4209. "default": "defaultFormat",
  4210. "values": [
  4211. {
  4212. "value": "auto",
  4213. "type": "string"
  4214. },
  4215. {
  4216. "value": "hex",
  4217. "type": "string"
  4218. },
  4219. {
  4220. "value": "hexa",
  4221. "type": "string"
  4222. },
  4223. {
  4224. "value": "hsl",
  4225. "type": "string"
  4226. },
  4227. {
  4228. "value": "hsl-css",
  4229. "type": "string"
  4230. },
  4231. {
  4232. "value": "hsla",
  4233. "type": "string"
  4234. },
  4235. {
  4236. "value": "hsla-css",
  4237. "type": "string"
  4238. },
  4239. {
  4240. "value": "hsv",
  4241. "type": "string"
  4242. },
  4243. {
  4244. "value": "hsva",
  4245. "type": "string"
  4246. },
  4247. {
  4248. "value": "rgb",
  4249. "type": "string"
  4250. },
  4251. {
  4252. "value": "rgb-css",
  4253. "type": "string"
  4254. },
  4255. {
  4256. "value": "rgba",
  4257. "type": "string"
  4258. },
  4259. {
  4260. "value": "rgba-css",
  4261. "type": "string"
  4262. }
  4263. ],
  4264. "optional": false,
  4265. "required": false
  4266. },
  4267. {
  4268. "name": "hideChannels",
  4269. "type": "boolean",
  4270. "mutable": false,
  4271. "attr": "hide-channels",
  4272. "reflectToAttr": true,
  4273. "docs": "When `true`, hides the RGB/HSV channel inputs.",
  4274. "docsTags": [],
  4275. "default": "false",
  4276. "values": [
  4277. {
  4278. "type": "boolean"
  4279. }
  4280. ],
  4281. "optional": false,
  4282. "required": false
  4283. },
  4284. {
  4285. "name": "hideHex",
  4286. "type": "boolean",
  4287. "mutable": false,
  4288. "attr": "hide-hex",
  4289. "reflectToAttr": true,
  4290. "docs": "When `true`, hides the Hex input.",
  4291. "docsTags": [],
  4292. "default": "false",
  4293. "values": [
  4294. {
  4295. "type": "boolean"
  4296. }
  4297. ],
  4298. "optional": false,
  4299. "required": false
  4300. },
  4301. {
  4302. "name": "hideSaved",
  4303. "type": "boolean",
  4304. "mutable": false,
  4305. "attr": "hide-saved",
  4306. "reflectToAttr": true,
  4307. "docs": "When `true`, hides the saved colors section.",
  4308. "docsTags": [],
  4309. "default": "false",
  4310. "values": [
  4311. {
  4312. "type": "boolean"
  4313. }
  4314. ],
  4315. "optional": false,
  4316. "required": false
  4317. },
  4318. {
  4319. "name": "intlB",
  4320. "type": "string",
  4321. "mutable": false,
  4322. "attr": "intl-b",
  4323. "reflectToAttr": false,
  4324. "docs": "Accessible name for the RGB section's blue channel.",
  4325. "docsTags": [
  4326. {
  4327. "name": "default",
  4328. "text": "\"B\""
  4329. }
  4330. ],
  4331. "default": "TEXT.b",
  4332. "values": [
  4333. {
  4334. "type": "string"
  4335. }
  4336. ],
  4337. "optional": false,
  4338. "required": false
  4339. },
  4340. {
  4341. "name": "intlBlue",
  4342. "type": "string",
  4343. "mutable": false,
  4344. "attr": "intl-blue",
  4345. "reflectToAttr": false,
  4346. "docs": "Accessible name for the RGB section's blue channel description.",
  4347. "docsTags": [
  4348. {
  4349. "name": "default",
  4350. "text": "\"Blue\""
  4351. }
  4352. ],
  4353. "default": "TEXT.blue",
  4354. "values": [
  4355. {
  4356. "type": "string"
  4357. }
  4358. ],
  4359. "optional": false,
  4360. "required": false
  4361. },
  4362. {
  4363. "name": "intlDeleteColor",
  4364. "type": "string",
  4365. "mutable": false,
  4366. "attr": "intl-delete-color",
  4367. "reflectToAttr": false,
  4368. "docs": "Accessible name for the delete color button.",
  4369. "docsTags": [
  4370. {
  4371. "name": "default",
  4372. "text": "\"Delete color\""
  4373. }
  4374. ],
  4375. "default": "TEXT.deleteColor",
  4376. "values": [
  4377. {
  4378. "type": "string"
  4379. }
  4380. ],
  4381. "optional": false,
  4382. "required": false
  4383. },
  4384. {
  4385. "name": "intlG",
  4386. "type": "string",
  4387. "mutable": false,
  4388. "attr": "intl-g",
  4389. "reflectToAttr": false,
  4390. "docs": "Accessible name for the RGB section's green channel.",
  4391. "docsTags": [
  4392. {
  4393. "name": "default",
  4394. "text": "\"G\""
  4395. }
  4396. ],
  4397. "default": "TEXT.g",
  4398. "values": [
  4399. {
  4400. "type": "string"
  4401. }
  4402. ],
  4403. "optional": false,
  4404. "required": false
  4405. },
  4406. {
  4407. "name": "intlGreen",
  4408. "type": "string",
  4409. "mutable": false,
  4410. "attr": "intl-green",
  4411. "reflectToAttr": false,
  4412. "docs": "Accessible name for the RGB section's green channel description.",
  4413. "docsTags": [
  4414. {
  4415. "name": "default",
  4416. "text": "\"Green\""
  4417. }
  4418. ],
  4419. "default": "TEXT.green",
  4420. "values": [
  4421. {
  4422. "type": "string"
  4423. }
  4424. ],
  4425. "optional": false,
  4426. "required": false
  4427. },
  4428. {
  4429. "name": "intlH",
  4430. "type": "string",
  4431. "mutable": false,
  4432. "attr": "intl-h",
  4433. "reflectToAttr": false,
  4434. "docs": "Accessible name for the HSV section's hue channel.",
  4435. "docsTags": [
  4436. {
  4437. "name": "default",
  4438. "text": "\"H\""
  4439. }
  4440. ],
  4441. "default": "TEXT.h",
  4442. "values": [
  4443. {
  4444. "type": "string"
  4445. }
  4446. ],
  4447. "optional": false,
  4448. "required": false
  4449. },
  4450. {
  4451. "name": "intlHex",
  4452. "type": "string",
  4453. "mutable": false,
  4454. "attr": "intl-hex",
  4455. "reflectToAttr": false,
  4456. "docs": "Accessible name for the Hex input.",
  4457. "docsTags": [
  4458. {
  4459. "name": "default",
  4460. "text": "\"Hex\""
  4461. }
  4462. ],
  4463. "default": "TEXT.hex",
  4464. "values": [
  4465. {
  4466. "type": "string"
  4467. }
  4468. ],
  4469. "optional": false,
  4470. "required": false
  4471. },
  4472. {
  4473. "name": "intlHsv",
  4474. "type": "string",
  4475. "mutable": false,
  4476. "attr": "intl-hsv",
  4477. "reflectToAttr": false,
  4478. "docs": "Accessible name for the HSV mode.",
  4479. "docsTags": [
  4480. {
  4481. "name": "default",
  4482. "text": "\"HSV\""
  4483. }
  4484. ],
  4485. "default": "TEXT.hsv",
  4486. "values": [
  4487. {
  4488. "type": "string"
  4489. }
  4490. ],
  4491. "optional": false,
  4492. "required": false
  4493. },
  4494. {
  4495. "name": "intlHue",
  4496. "type": "string",
  4497. "mutable": false,
  4498. "attr": "intl-hue",
  4499. "reflectToAttr": false,
  4500. "docs": "Accessible name for the HSV section's hue channel description.",
  4501. "docsTags": [
  4502. {
  4503. "name": "default",
  4504. "text": "\"Hue\""
  4505. }
  4506. ],
  4507. "default": "TEXT.hue",
  4508. "values": [
  4509. {
  4510. "type": "string"
  4511. }
  4512. ],
  4513. "optional": false,
  4514. "required": false
  4515. },
  4516. {
  4517. "name": "intlNoColor",
  4518. "type": "string",
  4519. "mutable": false,
  4520. "attr": "intl-no-color",
  4521. "reflectToAttr": false,
  4522. "docs": "Accessible name for the Hex input when there is no color selected.",
  4523. "docsTags": [
  4524. {
  4525. "name": "default",
  4526. "text": "\"No color\""
  4527. }
  4528. ],
  4529. "default": "TEXT.noColor",
  4530. "values": [
  4531. {
  4532. "type": "string"
  4533. }
  4534. ],
  4535. "optional": false,
  4536. "required": false
  4537. },
  4538. {
  4539. "name": "intlR",
  4540. "type": "string",
  4541. "mutable": false,
  4542. "attr": "intl-r",
  4543. "reflectToAttr": false,
  4544. "docs": "Accessible name for the RGB section's red channel.",
  4545. "docsTags": [
  4546. {
  4547. "name": "default",
  4548. "text": "\"R\""
  4549. }
  4550. ],
  4551. "default": "TEXT.r",
  4552. "values": [
  4553. {
  4554. "type": "string"
  4555. }
  4556. ],
  4557. "optional": false,
  4558. "required": false
  4559. },
  4560. {
  4561. "name": "intlRed",
  4562. "type": "string",
  4563. "mutable": false,
  4564. "attr": "intl-red",
  4565. "reflectToAttr": false,
  4566. "docs": "Accessible name for the RGB section's red channel description.",
  4567. "docsTags": [
  4568. {
  4569. "name": "default",
  4570. "text": "\"Red\""
  4571. }
  4572. ],
  4573. "default": "TEXT.red",
  4574. "values": [
  4575. {
  4576. "type": "string"
  4577. }
  4578. ],
  4579. "optional": false,
  4580. "required": false
  4581. },
  4582. {
  4583. "name": "intlRgb",
  4584. "type": "string",
  4585. "mutable": false,
  4586. "attr": "intl-rgb",
  4587. "reflectToAttr": false,
  4588. "docs": "Accessible name for the RGB mode.",
  4589. "docsTags": [
  4590. {
  4591. "name": "default",
  4592. "text": "\"RGB\""
  4593. }
  4594. ],
  4595. "default": "TEXT.rgb",
  4596. "values": [
  4597. {
  4598. "type": "string"
  4599. }
  4600. ],
  4601. "optional": false,
  4602. "required": false
  4603. },
  4604. {
  4605. "name": "intlS",
  4606. "type": "string",
  4607. "mutable": false,
  4608. "attr": "intl-s",
  4609. "reflectToAttr": false,
  4610. "docs": "Accessible name for the HSV section's saturation channel.",
  4611. "docsTags": [
  4612. {
  4613. "name": "default",
  4614. "text": "\"S\""
  4615. }
  4616. ],
  4617. "default": "TEXT.s",
  4618. "values": [
  4619. {
  4620. "type": "string"
  4621. }
  4622. ],
  4623. "optional": false,
  4624. "required": false
  4625. },
  4626. {
  4627. "name": "intlSaturation",
  4628. "type": "string",
  4629. "mutable": false,
  4630. "attr": "intl-saturation",
  4631. "reflectToAttr": false,
  4632. "docs": "Accessible name for the HSV section's saturation channel description.",
  4633. "docsTags": [
  4634. {
  4635. "name": "default",
  4636. "text": "\"Saturation\""
  4637. }
  4638. ],
  4639. "default": "TEXT.saturation",
  4640. "values": [
  4641. {
  4642. "type": "string"
  4643. }
  4644. ],
  4645. "optional": false,
  4646. "required": false
  4647. },
  4648. {
  4649. "name": "intlSaveColor",
  4650. "type": "string",
  4651. "mutable": false,
  4652. "attr": "intl-save-color",
  4653. "reflectToAttr": false,
  4654. "docs": "Accessible name for the save color button.",
  4655. "docsTags": [
  4656. {
  4657. "name": "default",
  4658. "text": "\"Save color\""
  4659. }
  4660. ],
  4661. "default": "TEXT.saveColor",
  4662. "values": [
  4663. {
  4664. "type": "string"
  4665. }
  4666. ],
  4667. "optional": false,
  4668. "required": false
  4669. },
  4670. {
  4671. "name": "intlSaved",
  4672. "type": "string",
  4673. "mutable": false,
  4674. "attr": "intl-saved",
  4675. "reflectToAttr": false,
  4676. "docs": "Accessible name for the saved colors section.",
  4677. "docsTags": [
  4678. {
  4679. "name": "default",
  4680. "text": "\"Saved\""
  4681. }
  4682. ],
  4683. "default": "TEXT.saved",
  4684. "values": [
  4685. {
  4686. "type": "string"
  4687. }
  4688. ],
  4689. "optional": false,
  4690. "required": false
  4691. },
  4692. {
  4693. "name": "intlV",
  4694. "type": "string",
  4695. "mutable": false,
  4696. "attr": "intl-v",
  4697. "reflectToAttr": false,
  4698. "docs": "Accessible name for the HSV section's value channel.",
  4699. "docsTags": [
  4700. {
  4701. "name": "default",
  4702. "text": "\"V\""
  4703. }
  4704. ],
  4705. "default": "TEXT.v",
  4706. "values": [
  4707. {
  4708. "type": "string"
  4709. }
  4710. ],
  4711. "optional": false,
  4712. "required": false
  4713. },
  4714. {
  4715. "name": "intlValue",
  4716. "type": "string",
  4717. "mutable": false,
  4718. "attr": "intl-value",
  4719. "reflectToAttr": false,
  4720. "docs": "Accessible name for the HSV section's value channel description.",
  4721. "docsTags": [
  4722. {
  4723. "name": "default",
  4724. "text": "\"Value\""
  4725. }
  4726. ],
  4727. "default": "TEXT.value",
  4728. "values": [
  4729. {
  4730. "type": "string"
  4731. }
  4732. ],
  4733. "optional": false,
  4734. "required": false
  4735. },
  4736. {
  4737. "name": "numberingSystem",
  4738. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  4739. "mutable": false,
  4740. "attr": "numbering-system",
  4741. "reflectToAttr": true,
  4742. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  4743. "docsTags": [],
  4744. "values": [
  4745. {
  4746. "value": "arab",
  4747. "type": "string"
  4748. },
  4749. {
  4750. "value": "arabext",
  4751. "type": "string"
  4752. },
  4753. {
  4754. "value": "bali",
  4755. "type": "string"
  4756. },
  4757. {
  4758. "value": "beng",
  4759. "type": "string"
  4760. },
  4761. {
  4762. "value": "deva",
  4763. "type": "string"
  4764. },
  4765. {
  4766. "value": "fullwide",
  4767. "type": "string"
  4768. },
  4769. {
  4770. "value": "gujr",
  4771. "type": "string"
  4772. },
  4773. {
  4774. "value": "guru",
  4775. "type": "string"
  4776. },
  4777. {
  4778. "value": "hanidec",
  4779. "type": "string"
  4780. },
  4781. {
  4782. "value": "khmr",
  4783. "type": "string"
  4784. },
  4785. {
  4786. "value": "knda",
  4787. "type": "string"
  4788. },
  4789. {
  4790. "value": "laoo",
  4791. "type": "string"
  4792. },
  4793. {
  4794. "value": "latn",
  4795. "type": "string"
  4796. },
  4797. {
  4798. "value": "limb",
  4799. "type": "string"
  4800. },
  4801. {
  4802. "value": "mlym",
  4803. "type": "string"
  4804. },
  4805. {
  4806. "value": "mong",
  4807. "type": "string"
  4808. },
  4809. {
  4810. "value": "mymr",
  4811. "type": "string"
  4812. },
  4813. {
  4814. "value": "orya",
  4815. "type": "string"
  4816. },
  4817. {
  4818. "value": "tamldec",
  4819. "type": "string"
  4820. },
  4821. {
  4822. "value": "telu",
  4823. "type": "string"
  4824. },
  4825. {
  4826. "value": "thai",
  4827. "type": "string"
  4828. },
  4829. {
  4830. "value": "tibt",
  4831. "type": "string"
  4832. }
  4833. ],
  4834. "optional": true,
  4835. "required": false
  4836. },
  4837. {
  4838. "name": "scale",
  4839. "type": "\"l\" | \"m\" | \"s\"",
  4840. "mutable": false,
  4841. "attr": "scale",
  4842. "reflectToAttr": true,
  4843. "docs": "Specifies the size of the component.",
  4844. "docsTags": [],
  4845. "default": "\"m\"",
  4846. "values": [
  4847. {
  4848. "value": "l",
  4849. "type": "string"
  4850. },
  4851. {
  4852. "value": "m",
  4853. "type": "string"
  4854. },
  4855. {
  4856. "value": "s",
  4857. "type": "string"
  4858. }
  4859. ],
  4860. "optional": false,
  4861. "required": false
  4862. },
  4863. {
  4864. "name": "storageId",
  4865. "type": "string",
  4866. "mutable": false,
  4867. "attr": "storage-id",
  4868. "reflectToAttr": true,
  4869. "docs": "Specifies the storage ID for colors.",
  4870. "docsTags": [],
  4871. "values": [
  4872. {
  4873. "type": "string"
  4874. }
  4875. ],
  4876. "optional": false,
  4877. "required": false
  4878. },
  4879. {
  4880. "name": "value",
  4881. "type": "HSL | HSL & ObjectWithAlpha | HSV | HSV & ObjectWithAlpha | RGB | RGB & ObjectWithAlpha | string",
  4882. "mutable": true,
  4883. "attr": "value",
  4884. "reflectToAttr": false,
  4885. "docs": "The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.\n\nThe type will be preserved as the color is updated.",
  4886. "docsTags": [
  4887. {
  4888. "name": "default",
  4889. "text": "\"#007ac2\""
  4890. },
  4891. {
  4892. "name": "see",
  4893. "text": "[CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color)"
  4894. },
  4895. {
  4896. "name": "see",
  4897. "text": "[ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)"
  4898. }
  4899. ],
  4900. "default": "defaultValue",
  4901. "values": [
  4902. {
  4903. "type": "HSL"
  4904. },
  4905. {
  4906. "type": "HSL & ObjectWithAlpha"
  4907. },
  4908. {
  4909. "type": "HSV"
  4910. },
  4911. {
  4912. "type": "HSV & ObjectWithAlpha"
  4913. },
  4914. {
  4915. "type": "RGB"
  4916. },
  4917. {
  4918. "type": "RGB & ObjectWithAlpha"
  4919. },
  4920. {
  4921. "type": "string"
  4922. }
  4923. ],
  4924. "optional": false,
  4925. "required": false
  4926. }
  4927. ],
  4928. "methods": [
  4929. {
  4930. "name": "setFocus",
  4931. "returns": {
  4932. "type": "Promise<void>",
  4933. "docs": ""
  4934. },
  4935. "signature": "setFocus() => Promise<void>",
  4936. "parameters": [],
  4937. "docs": "Sets focus on the component.",
  4938. "docsTags": []
  4939. }
  4940. ],
  4941. "events": [
  4942. {
  4943. "event": "calciteColorPickerChange",
  4944. "detail": "void",
  4945. "bubbles": true,
  4946. "cancelable": false,
  4947. "composed": true,
  4948. "docs": "Fires when the color value has changed.",
  4949. "docsTags": []
  4950. },
  4951. {
  4952. "event": "calciteColorPickerInput",
  4953. "detail": "void",
  4954. "bubbles": true,
  4955. "cancelable": false,
  4956. "composed": true,
  4957. "docs": "Fires as the color value changes.\n\nSimilar to the `calciteColorPickerChange` event with the exception of dragging. When dragging the color field or hue slider thumb, this event fires as the thumb is moved.",
  4958. "docsTags": []
  4959. }
  4960. ],
  4961. "listeners": [
  4962. {
  4963. "event": "keydown",
  4964. "capture": true,
  4965. "passive": false
  4966. },
  4967. {
  4968. "event": "keyup",
  4969. "capture": true,
  4970. "passive": false
  4971. }
  4972. ],
  4973. "styles": [],
  4974. "slots": [],
  4975. "parts": [],
  4976. "dependents": [],
  4977. "dependencies": [
  4978. "calcite-tab-title",
  4979. "calcite-tab",
  4980. "calcite-input",
  4981. "calcite-color-picker-hex-input",
  4982. "calcite-tabs",
  4983. "calcite-tab-nav",
  4984. "calcite-button",
  4985. "calcite-color-picker-swatch"
  4986. ],
  4987. "dependencyGraph": {
  4988. "calcite-color-picker": [
  4989. "calcite-tab-title",
  4990. "calcite-tab",
  4991. "calcite-input",
  4992. "calcite-color-picker-hex-input",
  4993. "calcite-tabs",
  4994. "calcite-tab-nav",
  4995. "calcite-button",
  4996. "calcite-color-picker-swatch"
  4997. ],
  4998. "calcite-tab-title": [
  4999. "calcite-icon"
  5000. ],
  5001. "calcite-input": [
  5002. "calcite-progress",
  5003. "calcite-icon"
  5004. ],
  5005. "calcite-color-picker-hex-input": [
  5006. "calcite-input",
  5007. "calcite-color-picker-swatch"
  5008. ],
  5009. "calcite-button": [
  5010. "calcite-loader",
  5011. "calcite-icon"
  5012. ]
  5013. }
  5014. },
  5015. {
  5016. "filePath": "./src/components/color-picker-hex-input/color-picker-hex-input.tsx",
  5017. "encapsulation": "shadow",
  5018. "tag": "calcite-color-picker-hex-input",
  5019. "readme": "# calcite-hex-input\n",
  5020. "docs": "",
  5021. "docsTags": [],
  5022. "usage": {},
  5023. "props": [
  5024. {
  5025. "name": "allowEmpty",
  5026. "type": "boolean",
  5027. "mutable": false,
  5028. "attr": "allow-empty",
  5029. "reflectToAttr": false,
  5030. "docs": "When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.\n\nWhen `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.",
  5031. "docsTags": [],
  5032. "default": "false",
  5033. "values": [
  5034. {
  5035. "type": "boolean"
  5036. }
  5037. ],
  5038. "optional": false,
  5039. "required": false
  5040. },
  5041. {
  5042. "name": "intlHex",
  5043. "type": "string",
  5044. "mutable": false,
  5045. "attr": "intl-hex",
  5046. "reflectToAttr": false,
  5047. "docs": "Accessible name for the Hex input.",
  5048. "docsTags": [
  5049. {
  5050. "name": "default",
  5051. "text": "\"Hex\""
  5052. }
  5053. ],
  5054. "default": "TEXT.hex",
  5055. "values": [
  5056. {
  5057. "type": "string"
  5058. }
  5059. ],
  5060. "optional": false,
  5061. "required": false
  5062. },
  5063. {
  5064. "name": "intlNoColor",
  5065. "type": "string",
  5066. "mutable": false,
  5067. "attr": "intl-no-color",
  5068. "reflectToAttr": false,
  5069. "docs": "Accessible name for the Hex input when there is no color selected.",
  5070. "docsTags": [
  5071. {
  5072. "name": "default",
  5073. "text": "\"No color\""
  5074. }
  5075. ],
  5076. "default": "TEXT.noColor",
  5077. "values": [
  5078. {
  5079. "type": "string"
  5080. }
  5081. ],
  5082. "optional": false,
  5083. "required": false
  5084. },
  5085. {
  5086. "name": "numberingSystem",
  5087. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  5088. "mutable": false,
  5089. "attr": "numbering-system",
  5090. "reflectToAttr": false,
  5091. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  5092. "docsTags": [],
  5093. "values": [
  5094. {
  5095. "value": "arab",
  5096. "type": "string"
  5097. },
  5098. {
  5099. "value": "arabext",
  5100. "type": "string"
  5101. },
  5102. {
  5103. "value": "bali",
  5104. "type": "string"
  5105. },
  5106. {
  5107. "value": "beng",
  5108. "type": "string"
  5109. },
  5110. {
  5111. "value": "deva",
  5112. "type": "string"
  5113. },
  5114. {
  5115. "value": "fullwide",
  5116. "type": "string"
  5117. },
  5118. {
  5119. "value": "gujr",
  5120. "type": "string"
  5121. },
  5122. {
  5123. "value": "guru",
  5124. "type": "string"
  5125. },
  5126. {
  5127. "value": "hanidec",
  5128. "type": "string"
  5129. },
  5130. {
  5131. "value": "khmr",
  5132. "type": "string"
  5133. },
  5134. {
  5135. "value": "knda",
  5136. "type": "string"
  5137. },
  5138. {
  5139. "value": "laoo",
  5140. "type": "string"
  5141. },
  5142. {
  5143. "value": "latn",
  5144. "type": "string"
  5145. },
  5146. {
  5147. "value": "limb",
  5148. "type": "string"
  5149. },
  5150. {
  5151. "value": "mlym",
  5152. "type": "string"
  5153. },
  5154. {
  5155. "value": "mong",
  5156. "type": "string"
  5157. },
  5158. {
  5159. "value": "mymr",
  5160. "type": "string"
  5161. },
  5162. {
  5163. "value": "orya",
  5164. "type": "string"
  5165. },
  5166. {
  5167. "value": "tamldec",
  5168. "type": "string"
  5169. },
  5170. {
  5171. "value": "telu",
  5172. "type": "string"
  5173. },
  5174. {
  5175. "value": "thai",
  5176. "type": "string"
  5177. },
  5178. {
  5179. "value": "tibt",
  5180. "type": "string"
  5181. }
  5182. ],
  5183. "optional": true,
  5184. "required": false
  5185. },
  5186. {
  5187. "name": "scale",
  5188. "type": "\"l\" | \"m\" | \"s\"",
  5189. "mutable": false,
  5190. "attr": "scale",
  5191. "reflectToAttr": true,
  5192. "docs": "Specifies the size of the component.",
  5193. "docsTags": [],
  5194. "default": "\"m\"",
  5195. "values": [
  5196. {
  5197. "value": "l",
  5198. "type": "string"
  5199. },
  5200. {
  5201. "value": "m",
  5202. "type": "string"
  5203. },
  5204. {
  5205. "value": "s",
  5206. "type": "string"
  5207. }
  5208. ],
  5209. "optional": false,
  5210. "required": false
  5211. },
  5212. {
  5213. "name": "value",
  5214. "type": "string",
  5215. "mutable": true,
  5216. "attr": "value",
  5217. "reflectToAttr": true,
  5218. "docs": "The Hex value.",
  5219. "docsTags": [],
  5220. "default": "normalizeHex(DEFAULT_COLOR.hex())",
  5221. "values": [
  5222. {
  5223. "type": "string"
  5224. }
  5225. ],
  5226. "optional": false,
  5227. "required": false
  5228. }
  5229. ],
  5230. "methods": [
  5231. {
  5232. "name": "setFocus",
  5233. "returns": {
  5234. "type": "Promise<void>",
  5235. "docs": ""
  5236. },
  5237. "signature": "setFocus() => Promise<void>",
  5238. "parameters": [],
  5239. "docs": "Sets focus on the component.",
  5240. "docsTags": []
  5241. }
  5242. ],
  5243. "events": [
  5244. {
  5245. "event": "calciteColorPickerHexInputChange",
  5246. "detail": "void",
  5247. "bubbles": true,
  5248. "cancelable": false,
  5249. "composed": true,
  5250. "docs": "Emitted when the hex value changes.",
  5251. "docsTags": []
  5252. }
  5253. ],
  5254. "listeners": [
  5255. {
  5256. "event": "keydown",
  5257. "capture": true,
  5258. "passive": false
  5259. }
  5260. ],
  5261. "styles": [],
  5262. "slots": [],
  5263. "parts": [],
  5264. "dependents": [
  5265. "calcite-color-picker"
  5266. ],
  5267. "dependencies": [
  5268. "calcite-input",
  5269. "calcite-color-picker-swatch"
  5270. ],
  5271. "dependencyGraph": {
  5272. "calcite-color-picker-hex-input": [
  5273. "calcite-input",
  5274. "calcite-color-picker-swatch"
  5275. ],
  5276. "calcite-input": [
  5277. "calcite-progress",
  5278. "calcite-icon"
  5279. ],
  5280. "calcite-color-picker": [
  5281. "calcite-color-picker-hex-input"
  5282. ]
  5283. }
  5284. },
  5285. {
  5286. "filePath": "./src/components/color-picker-swatch/color-picker-swatch.tsx",
  5287. "encapsulation": "shadow",
  5288. "tag": "calcite-color-picker-swatch",
  5289. "readme": "# my-component\n",
  5290. "docs": "",
  5291. "docsTags": [],
  5292. "usage": {},
  5293. "props": [
  5294. {
  5295. "name": "active",
  5296. "type": "boolean",
  5297. "mutable": false,
  5298. "attr": "active",
  5299. "reflectToAttr": true,
  5300. "docs": "When `true`, the component is active.",
  5301. "docsTags": [],
  5302. "default": "false",
  5303. "values": [
  5304. {
  5305. "type": "boolean"
  5306. }
  5307. ],
  5308. "optional": false,
  5309. "required": false
  5310. },
  5311. {
  5312. "name": "color",
  5313. "type": "string",
  5314. "mutable": false,
  5315. "attr": "color",
  5316. "reflectToAttr": false,
  5317. "docs": "The color value.",
  5318. "docsTags": [
  5319. {
  5320. "name": "see",
  5321. "text": "https://developer.mozilla.org/en-US/docs/Web/CSS/color_value"
  5322. }
  5323. ],
  5324. "values": [
  5325. {
  5326. "type": "string"
  5327. }
  5328. ],
  5329. "optional": false,
  5330. "required": false
  5331. },
  5332. {
  5333. "name": "scale",
  5334. "type": "\"l\" | \"m\" | \"s\"",
  5335. "mutable": false,
  5336. "attr": "scale",
  5337. "reflectToAttr": true,
  5338. "docs": "Specifies the size of the component.",
  5339. "docsTags": [],
  5340. "default": "\"m\"",
  5341. "values": [
  5342. {
  5343. "value": "l",
  5344. "type": "string"
  5345. },
  5346. {
  5347. "value": "m",
  5348. "type": "string"
  5349. },
  5350. {
  5351. "value": "s",
  5352. "type": "string"
  5353. }
  5354. ],
  5355. "optional": false,
  5356. "required": false
  5357. }
  5358. ],
  5359. "methods": [],
  5360. "events": [],
  5361. "listeners": [],
  5362. "styles": [],
  5363. "slots": [],
  5364. "parts": [],
  5365. "dependents": [
  5366. "calcite-color-picker",
  5367. "calcite-color-picker-hex-input"
  5368. ],
  5369. "dependencies": [],
  5370. "dependencyGraph": {
  5371. "calcite-color-picker": [
  5372. "calcite-color-picker-swatch"
  5373. ],
  5374. "calcite-color-picker-hex-input": [
  5375. "calcite-color-picker-swatch"
  5376. ]
  5377. }
  5378. },
  5379. {
  5380. "filePath": "./src/components/combobox/combobox.tsx",
  5381. "encapsulation": "shadow",
  5382. "tag": "calcite-combobox",
  5383. "readme": "# calcite-combobox\n",
  5384. "docs": "",
  5385. "docsTags": [
  5386. {
  5387. "name": "slot",
  5388. "text": "- A slot for adding `calcite-combobox-item`s."
  5389. }
  5390. ],
  5391. "usage": {
  5392. "Ancestors": "```html\n<calcite-combobox label=\"Ancestors selection-mode combobox\" selection-mode=\"ancestors\">\n <calcite-combobox-item value=\"Trees\" text-label=\"Trees\">\n <calcite-combobox-item\n value=\"CommercialDamageAssessment - Damage to Commercial Buildings & Damage to Commercial Buildings\"\n text-label=\"CommercialDamageAssessment - Damage to Commercial Buildings & Damage to Commercial Buildings\"\n selected\n ></calcite-combobox-item>\n <calcite-combobox-item value=\"Sequoia\" disabled text-label=\"Sequoia\"></calcite-combobox-item>\n <calcite-combobox-item value=\"Douglas Fir\" text-label=\"Douglas Fir\"></calcite-combobox-item>\n </calcite-combobox-item>\n</calcite-combobox>\n```\n",
  5393. "Multi": "```html\n<calcite-combobox label=\"Mulit selection-mode combobox\" selection-mode=\"multi\">\n <calcite-combobox-item value=\"Trees\" text-label=\"Trees\">\n <calcite-combobox-item\n value=\"CommercialDamageAssessment - Damage to Commercial Buildings & Damage to Commercial Buildings\"\n text-label=\"CommercialDamageAssessment - Damage to Commercial Buildings & Damage to Commercial Buildings\"\n selected\n ></calcite-combobox-item>\n <calcite-combobox-item value=\"Sequoia\" disabled text-label=\"Sequoia\"></calcite-combobox-item>\n <calcite-combobox-item value=\"Douglas Fir\" text-label=\"Douglas Fir\"></calcite-combobox-item>\n </calcite-combobox-item>\n</calcite-combobox>\n```\n",
  5394. "Single": "```html\n<calcite-combobox label=\"Single selection-mode combobox\" selection-mode=\"single\">\n <calcite-combobox-item value=\"Trees\" text-label=\"Trees\">\n <calcite-combobox-item\n value=\"CommercialDamageAssessment - Damage to Commercial Buildings\"\n text-label=\"CommercialDamageAssessment - Damage to Commercial Buildings\"\n selected\n ></calcite-combobox-item>\n <calcite-combobox-item value=\"Sequoia\" disabled text-label=\"Sequoia\"></calcite-combobox-item>\n <calcite-combobox-item value=\"Douglas Fir\" text-label=\"Douglas Fir\"></calcite-combobox-item>\n </calcite-combobox-item>\n <calcite-combobox-item value=\"Rivers\" text-label=\"Rivers\"></calcite-combobox-item>\n</calcite-combobox>\n```\n"
  5395. },
  5396. "props": [
  5397. {
  5398. "name": "active",
  5399. "type": "boolean",
  5400. "mutable": true,
  5401. "attr": "active",
  5402. "reflectToAttr": true,
  5403. "docs": "When `true`, displays and positions the component.",
  5404. "docsTags": [
  5405. {
  5406. "name": "deprecated",
  5407. "text": "use `open` instead."
  5408. }
  5409. ],
  5410. "default": "false",
  5411. "deprecation": "use `open` instead.",
  5412. "values": [
  5413. {
  5414. "type": "boolean"
  5415. }
  5416. ],
  5417. "optional": false,
  5418. "required": false
  5419. },
  5420. {
  5421. "name": "allowCustomValues",
  5422. "type": "boolean",
  5423. "mutable": false,
  5424. "attr": "allow-custom-values",
  5425. "reflectToAttr": true,
  5426. "docs": "When `true`, allows entry of custom values, which are not in the original set of items.",
  5427. "docsTags": [],
  5428. "values": [
  5429. {
  5430. "type": "boolean"
  5431. }
  5432. ],
  5433. "optional": false,
  5434. "required": false
  5435. },
  5436. {
  5437. "name": "disabled",
  5438. "type": "boolean",
  5439. "mutable": false,
  5440. "attr": "disabled",
  5441. "reflectToAttr": true,
  5442. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  5443. "docsTags": [],
  5444. "default": "false",
  5445. "values": [
  5446. {
  5447. "type": "boolean"
  5448. }
  5449. ],
  5450. "optional": false,
  5451. "required": false
  5452. },
  5453. {
  5454. "name": "flipPlacements",
  5455. "type": "Placement[]",
  5456. "mutable": false,
  5457. "reflectToAttr": false,
  5458. "docs": "Defines the available placements that can be used when a flip occurs.",
  5459. "docsTags": [],
  5460. "values": [
  5461. {
  5462. "type": "Placement[]"
  5463. }
  5464. ],
  5465. "optional": true,
  5466. "required": false
  5467. },
  5468. {
  5469. "name": "intlRemoveTag",
  5470. "type": "string",
  5471. "mutable": false,
  5472. "attr": "intl-remove-tag",
  5473. "reflectToAttr": false,
  5474. "docs": "Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.",
  5475. "docsTags": [
  5476. {
  5477. "name": "default",
  5478. "text": "\"Remove tag\""
  5479. }
  5480. ],
  5481. "default": "TEXT.removeTag",
  5482. "values": [
  5483. {
  5484. "type": "string"
  5485. }
  5486. ],
  5487. "optional": false,
  5488. "required": false
  5489. },
  5490. {
  5491. "name": "label",
  5492. "type": "string",
  5493. "mutable": false,
  5494. "attr": "label",
  5495. "reflectToAttr": false,
  5496. "docs": "Accessible name for the component.",
  5497. "docsTags": [],
  5498. "values": [
  5499. {
  5500. "type": "string"
  5501. }
  5502. ],
  5503. "optional": false,
  5504. "required": true
  5505. },
  5506. {
  5507. "name": "maxItems",
  5508. "type": "number",
  5509. "mutable": false,
  5510. "attr": "max-items",
  5511. "reflectToAttr": true,
  5512. "docs": "Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar.",
  5513. "docsTags": [],
  5514. "default": "0",
  5515. "values": [
  5516. {
  5517. "type": "number"
  5518. }
  5519. ],
  5520. "optional": false,
  5521. "required": false
  5522. },
  5523. {
  5524. "name": "name",
  5525. "type": "string",
  5526. "mutable": false,
  5527. "attr": "name",
  5528. "reflectToAttr": true,
  5529. "docs": "Specifies the name of the component on form submission.",
  5530. "docsTags": [],
  5531. "values": [
  5532. {
  5533. "type": "string"
  5534. }
  5535. ],
  5536. "optional": false,
  5537. "required": false
  5538. },
  5539. {
  5540. "name": "open",
  5541. "type": "boolean",
  5542. "mutable": true,
  5543. "attr": "open",
  5544. "reflectToAttr": true,
  5545. "docs": "When `true`, displays and positions the component.",
  5546. "docsTags": [],
  5547. "default": "false",
  5548. "values": [
  5549. {
  5550. "type": "boolean"
  5551. }
  5552. ],
  5553. "optional": false,
  5554. "required": false
  5555. },
  5556. {
  5557. "name": "overlayPositioning",
  5558. "type": "\"absolute\" | \"fixed\"",
  5559. "mutable": false,
  5560. "attr": "overlay-positioning",
  5561. "reflectToAttr": true,
  5562. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\n`\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  5563. "docsTags": [],
  5564. "default": "\"absolute\"",
  5565. "values": [
  5566. {
  5567. "value": "absolute",
  5568. "type": "string"
  5569. },
  5570. {
  5571. "value": "fixed",
  5572. "type": "string"
  5573. }
  5574. ],
  5575. "optional": false,
  5576. "required": false
  5577. },
  5578. {
  5579. "name": "placeholder",
  5580. "type": "string",
  5581. "mutable": false,
  5582. "attr": "placeholder",
  5583. "reflectToAttr": false,
  5584. "docs": "Specifies the placeholder text for the input.",
  5585. "docsTags": [],
  5586. "values": [
  5587. {
  5588. "type": "string"
  5589. }
  5590. ],
  5591. "optional": true,
  5592. "required": false
  5593. },
  5594. {
  5595. "name": "placeholderIcon",
  5596. "type": "string",
  5597. "mutable": false,
  5598. "attr": "placeholder-icon",
  5599. "reflectToAttr": true,
  5600. "docs": "Specifies the placeholder icon for the input.",
  5601. "docsTags": [],
  5602. "values": [
  5603. {
  5604. "type": "string"
  5605. }
  5606. ],
  5607. "optional": true,
  5608. "required": false
  5609. },
  5610. {
  5611. "name": "scale",
  5612. "type": "\"l\" | \"m\" | \"s\"",
  5613. "mutable": false,
  5614. "attr": "scale",
  5615. "reflectToAttr": true,
  5616. "docs": "Specifies the size of the component.",
  5617. "docsTags": [],
  5618. "default": "\"m\"",
  5619. "values": [
  5620. {
  5621. "value": "l",
  5622. "type": "string"
  5623. },
  5624. {
  5625. "value": "m",
  5626. "type": "string"
  5627. },
  5628. {
  5629. "value": "s",
  5630. "type": "string"
  5631. }
  5632. ],
  5633. "optional": false,
  5634. "required": false
  5635. },
  5636. {
  5637. "name": "selectionMode",
  5638. "type": "\"ancestors\" | \"multi\" | \"single\"",
  5639. "mutable": false,
  5640. "attr": "selection-mode",
  5641. "reflectToAttr": true,
  5642. "docs": "Specifies the selection mode -\n`\"multi\"` (allow any number of selected items),\n`\"single\"` (allow only one selection), or\n`\"ancestors\"` (like `\"multi\"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).",
  5643. "docsTags": [],
  5644. "default": "\"multi\"",
  5645. "values": [
  5646. {
  5647. "value": "ancestors",
  5648. "type": "string"
  5649. },
  5650. {
  5651. "value": "multi",
  5652. "type": "string"
  5653. },
  5654. {
  5655. "value": "single",
  5656. "type": "string"
  5657. }
  5658. ],
  5659. "optional": false,
  5660. "required": false
  5661. },
  5662. {
  5663. "name": "value",
  5664. "type": "string | string[]",
  5665. "mutable": true,
  5666. "attr": "value",
  5667. "reflectToAttr": false,
  5668. "docs": "The component's value(s) from the selected `calcite-combobox-item`(s).",
  5669. "docsTags": [],
  5670. "default": "null",
  5671. "values": [
  5672. {
  5673. "type": "string"
  5674. },
  5675. {
  5676. "type": "string[]"
  5677. }
  5678. ],
  5679. "optional": false,
  5680. "required": false
  5681. }
  5682. ],
  5683. "methods": [
  5684. {
  5685. "name": "reposition",
  5686. "returns": {
  5687. "type": "Promise<void>",
  5688. "docs": ""
  5689. },
  5690. "signature": "reposition(delayed?: boolean) => Promise<void>",
  5691. "parameters": [],
  5692. "docs": "Updates the position of the component.",
  5693. "docsTags": [
  5694. {
  5695. "name": "param",
  5696. "text": "delayed"
  5697. }
  5698. ]
  5699. },
  5700. {
  5701. "name": "setFocus",
  5702. "returns": {
  5703. "type": "Promise<void>",
  5704. "docs": ""
  5705. },
  5706. "signature": "setFocus() => Promise<void>",
  5707. "parameters": [],
  5708. "docs": "Sets focus on the component.",
  5709. "docsTags": []
  5710. }
  5711. ],
  5712. "events": [
  5713. {
  5714. "event": "calciteComboboxBeforeClose",
  5715. "detail": "void",
  5716. "bubbles": true,
  5717. "cancelable": false,
  5718. "composed": true,
  5719. "docs": "Fires when the component is requested to be closed, and before the closing transition begins.",
  5720. "docsTags": []
  5721. },
  5722. {
  5723. "event": "calciteComboboxBeforeOpen",
  5724. "detail": "void",
  5725. "bubbles": true,
  5726. "cancelable": false,
  5727. "composed": true,
  5728. "docs": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins.",
  5729. "docsTags": []
  5730. },
  5731. {
  5732. "event": "calciteComboboxChange",
  5733. "detail": "{ selectedItems: HTMLCalciteComboboxItemElement[]; }",
  5734. "bubbles": true,
  5735. "cancelable": false,
  5736. "composed": true,
  5737. "docs": "Fires when the selected item(s) changes.",
  5738. "docsTags": []
  5739. },
  5740. {
  5741. "event": "calciteComboboxChipDismiss",
  5742. "detail": "any",
  5743. "bubbles": true,
  5744. "cancelable": false,
  5745. "composed": true,
  5746. "docs": "Fires when a selected item in the component is dismissed via its `calcite-chip`.\n\n**Note:**: The event payload is deprecated, please use the `value` property on the component to determine the removed value instead.",
  5747. "docsTags": []
  5748. },
  5749. {
  5750. "event": "calciteComboboxClose",
  5751. "detail": "void",
  5752. "bubbles": true,
  5753. "cancelable": false,
  5754. "composed": true,
  5755. "docs": "Fires when the component is closed and animation is complete.",
  5756. "docsTags": []
  5757. },
  5758. {
  5759. "event": "calciteComboboxFilterChange",
  5760. "detail": "{ visibleItems: HTMLCalciteComboboxItemElement[]; text: string; }",
  5761. "bubbles": true,
  5762. "cancelable": false,
  5763. "composed": true,
  5764. "docs": "Fires when text is added to filter the options list.",
  5765. "docsTags": []
  5766. },
  5767. {
  5768. "event": "calciteComboboxOpen",
  5769. "detail": "void",
  5770. "bubbles": true,
  5771. "cancelable": false,
  5772. "composed": true,
  5773. "docs": "Fires when the component is open and animation is complete.",
  5774. "docsTags": []
  5775. },
  5776. {
  5777. "event": "calciteLookupChange",
  5778. "detail": "HTMLCalciteComboboxItemElement[]",
  5779. "bubbles": true,
  5780. "cancelable": false,
  5781. "composed": true,
  5782. "docs": "Fires when the selected items set changes.",
  5783. "docsTags": [
  5784. {
  5785. "name": "deprecated",
  5786. "text": "use `calciteComboboxChange` instead."
  5787. }
  5788. ],
  5789. "deprecation": "use `calciteComboboxChange` instead."
  5790. }
  5791. ],
  5792. "listeners": [
  5793. {
  5794. "event": "pointerdown",
  5795. "target": "document",
  5796. "capture": false,
  5797. "passive": true
  5798. },
  5799. {
  5800. "event": "calciteComboboxItemChange",
  5801. "capture": false,
  5802. "passive": false
  5803. }
  5804. ],
  5805. "styles": [
  5806. {
  5807. "name": "--calcite-combobox-input-height",
  5808. "annotation": "prop",
  5809. "docs": "Specifies the height of the component's input."
  5810. }
  5811. ],
  5812. "slots": [
  5813. {
  5814. "name": "",
  5815. "docs": "A slot for adding `calcite-combobox-item`s."
  5816. }
  5817. ],
  5818. "parts": [],
  5819. "dependents": [],
  5820. "dependencies": [
  5821. "calcite-chip",
  5822. "calcite-icon"
  5823. ],
  5824. "dependencyGraph": {
  5825. "calcite-combobox": [
  5826. "calcite-chip",
  5827. "calcite-icon"
  5828. ],
  5829. "calcite-chip": [
  5830. "calcite-icon"
  5831. ]
  5832. }
  5833. },
  5834. {
  5835. "filePath": "./src/components/combobox-item/combobox-item.tsx",
  5836. "encapsulation": "shadow",
  5837. "tag": "calcite-combobox-item",
  5838. "readme": "# calcite-combobox-item\n",
  5839. "docs": "",
  5840. "docsTags": [
  5841. {
  5842. "name": "slot",
  5843. "text": "- A slot for adding nested `calcite-combobox-item`s."
  5844. }
  5845. ],
  5846. "usage": {},
  5847. "props": [
  5848. {
  5849. "name": "active",
  5850. "type": "boolean",
  5851. "mutable": false,
  5852. "attr": "active",
  5853. "reflectToAttr": true,
  5854. "docs": "When `true`, the component is active.",
  5855. "docsTags": [],
  5856. "default": "false",
  5857. "values": [
  5858. {
  5859. "type": "boolean"
  5860. }
  5861. ],
  5862. "optional": false,
  5863. "required": false
  5864. },
  5865. {
  5866. "name": "ancestors",
  5867. "type": "ComboboxChildElement[]",
  5868. "mutable": true,
  5869. "reflectToAttr": false,
  5870. "docs": "Specifies the parent and grandparent items, which are set on `calcite-combobox`.",
  5871. "docsTags": [],
  5872. "values": [
  5873. {
  5874. "type": "ComboboxChildElement[]"
  5875. }
  5876. ],
  5877. "optional": false,
  5878. "required": false
  5879. },
  5880. {
  5881. "name": "constant",
  5882. "type": "boolean",
  5883. "mutable": false,
  5884. "attr": "constant",
  5885. "reflectToAttr": true,
  5886. "docs": "When `true`, omits the component from the `calcite-combobox` filtered search results.",
  5887. "docsTags": [
  5888. {
  5889. "name": "deprecated",
  5890. "text": "use `filterDisabled` instead."
  5891. }
  5892. ],
  5893. "deprecation": "use `filterDisabled` instead.",
  5894. "values": [
  5895. {
  5896. "type": "boolean"
  5897. }
  5898. ],
  5899. "optional": false,
  5900. "required": false
  5901. },
  5902. {
  5903. "name": "disabled",
  5904. "type": "boolean",
  5905. "mutable": false,
  5906. "attr": "disabled",
  5907. "reflectToAttr": true,
  5908. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  5909. "docsTags": [],
  5910. "default": "false",
  5911. "values": [
  5912. {
  5913. "type": "boolean"
  5914. }
  5915. ],
  5916. "optional": false,
  5917. "required": false
  5918. },
  5919. {
  5920. "name": "filterDisabled",
  5921. "type": "boolean",
  5922. "mutable": false,
  5923. "attr": "filter-disabled",
  5924. "reflectToAttr": true,
  5925. "docs": "When `true`, omits the component from the `calcite-combobox` filtered search results.",
  5926. "docsTags": [],
  5927. "values": [
  5928. {
  5929. "type": "boolean"
  5930. }
  5931. ],
  5932. "optional": false,
  5933. "required": false
  5934. },
  5935. {
  5936. "name": "guid",
  5937. "type": "string",
  5938. "mutable": false,
  5939. "attr": "guid",
  5940. "reflectToAttr": true,
  5941. "docs": "The `id` attribute of the component. When omitted, a globally unique identifier is used.",
  5942. "docsTags": [],
  5943. "default": "guid()",
  5944. "values": [
  5945. {
  5946. "type": "string"
  5947. }
  5948. ],
  5949. "optional": false,
  5950. "required": false
  5951. },
  5952. {
  5953. "name": "icon",
  5954. "type": "string",
  5955. "mutable": false,
  5956. "attr": "icon",
  5957. "reflectToAttr": true,
  5958. "docs": "Specifies an icon to display.",
  5959. "docsTags": [],
  5960. "values": [
  5961. {
  5962. "type": "string"
  5963. }
  5964. ],
  5965. "optional": true,
  5966. "required": false
  5967. },
  5968. {
  5969. "name": "selected",
  5970. "type": "boolean",
  5971. "mutable": true,
  5972. "attr": "selected",
  5973. "reflectToAttr": true,
  5974. "docs": "When `true`, the component is selected.",
  5975. "docsTags": [],
  5976. "default": "false",
  5977. "values": [
  5978. {
  5979. "type": "boolean"
  5980. }
  5981. ],
  5982. "optional": false,
  5983. "required": false
  5984. },
  5985. {
  5986. "name": "textLabel",
  5987. "type": "string",
  5988. "mutable": false,
  5989. "attr": "text-label",
  5990. "reflectToAttr": true,
  5991. "docs": "The component's text.",
  5992. "docsTags": [],
  5993. "values": [
  5994. {
  5995. "type": "string"
  5996. }
  5997. ],
  5998. "optional": false,
  5999. "required": true
  6000. },
  6001. {
  6002. "name": "value",
  6003. "type": "any",
  6004. "mutable": false,
  6005. "attr": "value",
  6006. "reflectToAttr": false,
  6007. "docs": "The component's value.",
  6008. "docsTags": [],
  6009. "values": [
  6010. {
  6011. "type": "any"
  6012. }
  6013. ],
  6014. "optional": false,
  6015. "required": true
  6016. }
  6017. ],
  6018. "methods": [
  6019. {
  6020. "name": "toggleSelected",
  6021. "returns": {
  6022. "type": "Promise<void>",
  6023. "docs": ""
  6024. },
  6025. "signature": "toggleSelected(coerce?: boolean) => Promise<void>",
  6026. "parameters": [],
  6027. "docs": "Used to toggle the selection state. By default this won't trigger an event.\nThe first argument allows the value to be coerced, rather than swapping values.",
  6028. "docsTags": [
  6029. {
  6030. "name": "param",
  6031. "text": "coerce"
  6032. }
  6033. ]
  6034. }
  6035. ],
  6036. "events": [
  6037. {
  6038. "event": "calciteComboboxItemChange",
  6039. "detail": "any",
  6040. "bubbles": true,
  6041. "cancelable": false,
  6042. "composed": true,
  6043. "docs": "Emits whenever the component is selected or unselected.\n\n**Note:**: The event's payload is deprecated, please use the event's `target`/`currentTarget` instead",
  6044. "docsTags": []
  6045. }
  6046. ],
  6047. "listeners": [],
  6048. "styles": [],
  6049. "slots": [
  6050. {
  6051. "name": "",
  6052. "docs": "A slot for adding nested `calcite-combobox-item`s."
  6053. }
  6054. ],
  6055. "parts": [],
  6056. "dependents": [],
  6057. "dependencies": [
  6058. "calcite-icon"
  6059. ],
  6060. "dependencyGraph": {
  6061. "calcite-combobox-item": [
  6062. "calcite-icon"
  6063. ]
  6064. }
  6065. },
  6066. {
  6067. "filePath": "./src/components/combobox-item-group/combobox-item-group.tsx",
  6068. "encapsulation": "shadow",
  6069. "tag": "calcite-combobox-item-group",
  6070. "readme": "# calcite-combobox-item-group\n",
  6071. "docs": "",
  6072. "docsTags": [
  6073. {
  6074. "name": "slot",
  6075. "text": "- A slot for adding `calcite-combobox-item`s."
  6076. }
  6077. ],
  6078. "usage": {},
  6079. "props": [
  6080. {
  6081. "name": "ancestors",
  6082. "type": "ComboboxChildElement[]",
  6083. "mutable": true,
  6084. "reflectToAttr": false,
  6085. "docs": "Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`.",
  6086. "docsTags": [],
  6087. "values": [
  6088. {
  6089. "type": "ComboboxChildElement[]"
  6090. }
  6091. ],
  6092. "optional": false,
  6093. "required": false
  6094. },
  6095. {
  6096. "name": "label",
  6097. "type": "string",
  6098. "mutable": false,
  6099. "attr": "label",
  6100. "reflectToAttr": false,
  6101. "docs": "Specifies the title of the component.",
  6102. "docsTags": [],
  6103. "values": [
  6104. {
  6105. "type": "string"
  6106. }
  6107. ],
  6108. "optional": false,
  6109. "required": true
  6110. }
  6111. ],
  6112. "methods": [],
  6113. "events": [],
  6114. "listeners": [],
  6115. "styles": [],
  6116. "slots": [
  6117. {
  6118. "name": "",
  6119. "docs": "A slot for adding `calcite-combobox-item`s."
  6120. }
  6121. ],
  6122. "parts": [],
  6123. "dependents": [],
  6124. "dependencies": [],
  6125. "dependencyGraph": {}
  6126. },
  6127. {
  6128. "filePath": "./src/components/date-picker/date-picker.tsx",
  6129. "encapsulation": "shadow",
  6130. "tag": "calcite-date-picker",
  6131. "readme": "# calcite-date-picker\n\nThe `calcite-date-picker` component allows for selecting a date via a calendar or text input. It supports multiple locales, languages, right to left, and is fully keyboard accessible.\n",
  6132. "docs": "The `calcite-date-picker` component allows for selecting a date via a calendar or text input. It supports multiple locales, languages, right to left, and is fully keyboard accessible.",
  6133. "docsTags": [],
  6134. "usage": {
  6135. "Basic": "You can set a min and max range, as well as an initial value with ISO 8601 formatted strings:\n\n```html\n<calcite-date-picker value=\"2020-03-27\" min=\"2020-02-01\" max=\"2021-01-01\"></calcite-date-picker>\n```\n",
  6136. "Range": "You can also add range property to activate date range mode. In this mode, you can specify start and end instead of the single value property.\n\n```html\n<calcite-date-picker range start=\"2020-03-15\" end=\"2020-03-27\" min=\"2020-02-01\" max=\"2021-01-01\" />\n```\n"
  6137. },
  6138. "props": [
  6139. {
  6140. "name": "activeRange",
  6141. "type": "\"end\" | \"start\"",
  6142. "mutable": false,
  6143. "attr": "active-range",
  6144. "reflectToAttr": true,
  6145. "docs": "Active range",
  6146. "docsTags": [],
  6147. "values": [
  6148. {
  6149. "value": "end",
  6150. "type": "string"
  6151. },
  6152. {
  6153. "value": "start",
  6154. "type": "string"
  6155. }
  6156. ],
  6157. "optional": true,
  6158. "required": false
  6159. },
  6160. {
  6161. "name": "end",
  6162. "type": "string",
  6163. "mutable": true,
  6164. "attr": "end",
  6165. "reflectToAttr": true,
  6166. "docs": "Selected end date",
  6167. "docsTags": [
  6168. {
  6169. "name": "deprecated",
  6170. "text": "use value instead"
  6171. }
  6172. ],
  6173. "deprecation": "use value instead",
  6174. "values": [
  6175. {
  6176. "type": "string"
  6177. }
  6178. ],
  6179. "optional": true,
  6180. "required": false
  6181. },
  6182. {
  6183. "name": "endAsDate",
  6184. "type": "Date",
  6185. "mutable": true,
  6186. "reflectToAttr": false,
  6187. "docs": "Selected end date as full date object",
  6188. "docsTags": [
  6189. {
  6190. "name": "deprecated",
  6191. "text": "use valueAsDate instead"
  6192. }
  6193. ],
  6194. "deprecation": "use valueAsDate instead",
  6195. "values": [
  6196. {
  6197. "type": "Date"
  6198. }
  6199. ],
  6200. "optional": true,
  6201. "required": false
  6202. },
  6203. {
  6204. "name": "headingLevel",
  6205. "type": "1 | 2 | 3 | 4 | 5 | 6",
  6206. "mutable": false,
  6207. "attr": "heading-level",
  6208. "reflectToAttr": true,
  6209. "docs": "Number at which section headings should start for this component.",
  6210. "docsTags": [],
  6211. "values": [
  6212. {
  6213. "value": "1",
  6214. "type": "number"
  6215. },
  6216. {
  6217. "value": "2",
  6218. "type": "number"
  6219. },
  6220. {
  6221. "value": "3",
  6222. "type": "number"
  6223. },
  6224. {
  6225. "value": "4",
  6226. "type": "number"
  6227. },
  6228. {
  6229. "value": "5",
  6230. "type": "number"
  6231. },
  6232. {
  6233. "value": "6",
  6234. "type": "number"
  6235. }
  6236. ],
  6237. "optional": false,
  6238. "required": false
  6239. },
  6240. {
  6241. "name": "intlNextMonth",
  6242. "type": "string",
  6243. "mutable": false,
  6244. "attr": "intl-next-month",
  6245. "reflectToAttr": false,
  6246. "docs": "Localized string for \"next month\" (used for aria label)",
  6247. "docsTags": [
  6248. {
  6249. "name": "default",
  6250. "text": "\"Next month\""
  6251. }
  6252. ],
  6253. "default": "TEXT.nextMonth",
  6254. "values": [
  6255. {
  6256. "type": "string"
  6257. }
  6258. ],
  6259. "optional": true,
  6260. "required": false
  6261. },
  6262. {
  6263. "name": "intlPrevMonth",
  6264. "type": "string",
  6265. "mutable": false,
  6266. "attr": "intl-prev-month",
  6267. "reflectToAttr": false,
  6268. "docs": "Localized string for \"previous month\" (used for aria label)",
  6269. "docsTags": [
  6270. {
  6271. "name": "default",
  6272. "text": "\"Previous month\""
  6273. }
  6274. ],
  6275. "default": "TEXT.prevMonth",
  6276. "values": [
  6277. {
  6278. "type": "string"
  6279. }
  6280. ],
  6281. "optional": true,
  6282. "required": false
  6283. },
  6284. {
  6285. "name": "intlYear",
  6286. "type": "string",
  6287. "mutable": false,
  6288. "attr": "intl-year",
  6289. "reflectToAttr": false,
  6290. "docs": "Localized string for \"year\" (used for aria label)",
  6291. "docsTags": [
  6292. {
  6293. "name": "default",
  6294. "text": "\"Year\""
  6295. }
  6296. ],
  6297. "default": "TEXT.year",
  6298. "values": [
  6299. {
  6300. "type": "string"
  6301. }
  6302. ],
  6303. "optional": true,
  6304. "required": false
  6305. },
  6306. {
  6307. "name": "locale",
  6308. "type": "string",
  6309. "mutable": false,
  6310. "attr": "locale",
  6311. "reflectToAttr": false,
  6312. "docs": "Specifies the BCP 47 language tag for the desired language and country format.",
  6313. "docsTags": [
  6314. {
  6315. "name": "deprecated",
  6316. "text": "set the global `lang` attribute on the element instead."
  6317. },
  6318. {
  6319. "name": "mdn",
  6320. "text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
  6321. }
  6322. ],
  6323. "deprecation": "set the global `lang` attribute on the element instead.",
  6324. "values": [
  6325. {
  6326. "type": "string"
  6327. }
  6328. ],
  6329. "optional": true,
  6330. "required": false
  6331. },
  6332. {
  6333. "name": "max",
  6334. "type": "string",
  6335. "mutable": true,
  6336. "attr": "max",
  6337. "reflectToAttr": true,
  6338. "docs": "Latest allowed date (\"yyyy-mm-dd\")",
  6339. "docsTags": [],
  6340. "values": [
  6341. {
  6342. "type": "string"
  6343. }
  6344. ],
  6345. "optional": true,
  6346. "required": false
  6347. },
  6348. {
  6349. "name": "maxAsDate",
  6350. "type": "Date",
  6351. "mutable": true,
  6352. "reflectToAttr": false,
  6353. "docs": "Latest allowed date as full date object",
  6354. "docsTags": [],
  6355. "values": [
  6356. {
  6357. "type": "Date"
  6358. }
  6359. ],
  6360. "optional": true,
  6361. "required": false
  6362. },
  6363. {
  6364. "name": "min",
  6365. "type": "string",
  6366. "mutable": true,
  6367. "attr": "min",
  6368. "reflectToAttr": true,
  6369. "docs": "Earliest allowed date (\"yyyy-mm-dd\")",
  6370. "docsTags": [],
  6371. "values": [
  6372. {
  6373. "type": "string"
  6374. }
  6375. ],
  6376. "optional": true,
  6377. "required": false
  6378. },
  6379. {
  6380. "name": "minAsDate",
  6381. "type": "Date",
  6382. "mutable": true,
  6383. "reflectToAttr": false,
  6384. "docs": "Earliest allowed date as full date object",
  6385. "docsTags": [],
  6386. "values": [
  6387. {
  6388. "type": "Date"
  6389. }
  6390. ],
  6391. "optional": true,
  6392. "required": false
  6393. },
  6394. {
  6395. "name": "numberingSystem",
  6396. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  6397. "mutable": false,
  6398. "attr": "numbering-system",
  6399. "reflectToAttr": true,
  6400. "docs": "Specifies the Unicode numeral system used by the component for localization. This property cannot be dynamically changed.",
  6401. "docsTags": [],
  6402. "values": [
  6403. {
  6404. "value": "arab",
  6405. "type": "string"
  6406. },
  6407. {
  6408. "value": "arabext",
  6409. "type": "string"
  6410. },
  6411. {
  6412. "value": "bali",
  6413. "type": "string"
  6414. },
  6415. {
  6416. "value": "beng",
  6417. "type": "string"
  6418. },
  6419. {
  6420. "value": "deva",
  6421. "type": "string"
  6422. },
  6423. {
  6424. "value": "fullwide",
  6425. "type": "string"
  6426. },
  6427. {
  6428. "value": "gujr",
  6429. "type": "string"
  6430. },
  6431. {
  6432. "value": "guru",
  6433. "type": "string"
  6434. },
  6435. {
  6436. "value": "hanidec",
  6437. "type": "string"
  6438. },
  6439. {
  6440. "value": "khmr",
  6441. "type": "string"
  6442. },
  6443. {
  6444. "value": "knda",
  6445. "type": "string"
  6446. },
  6447. {
  6448. "value": "laoo",
  6449. "type": "string"
  6450. },
  6451. {
  6452. "value": "latn",
  6453. "type": "string"
  6454. },
  6455. {
  6456. "value": "limb",
  6457. "type": "string"
  6458. },
  6459. {
  6460. "value": "mlym",
  6461. "type": "string"
  6462. },
  6463. {
  6464. "value": "mong",
  6465. "type": "string"
  6466. },
  6467. {
  6468. "value": "mymr",
  6469. "type": "string"
  6470. },
  6471. {
  6472. "value": "orya",
  6473. "type": "string"
  6474. },
  6475. {
  6476. "value": "tamldec",
  6477. "type": "string"
  6478. },
  6479. {
  6480. "value": "telu",
  6481. "type": "string"
  6482. },
  6483. {
  6484. "value": "thai",
  6485. "type": "string"
  6486. },
  6487. {
  6488. "value": "tibt",
  6489. "type": "string"
  6490. }
  6491. ],
  6492. "optional": true,
  6493. "required": false
  6494. },
  6495. {
  6496. "name": "proximitySelectionDisabled",
  6497. "type": "boolean",
  6498. "mutable": false,
  6499. "attr": "proximity-selection-disabled",
  6500. "reflectToAttr": true,
  6501. "docs": "Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range.",
  6502. "docsTags": [],
  6503. "default": "false",
  6504. "values": [
  6505. {
  6506. "type": "boolean"
  6507. }
  6508. ],
  6509. "optional": false,
  6510. "required": false
  6511. },
  6512. {
  6513. "name": "range",
  6514. "type": "boolean",
  6515. "mutable": false,
  6516. "attr": "range",
  6517. "reflectToAttr": true,
  6518. "docs": "Range mode activation",
  6519. "docsTags": [],
  6520. "default": "false",
  6521. "values": [
  6522. {
  6523. "type": "boolean"
  6524. }
  6525. ],
  6526. "optional": false,
  6527. "required": false
  6528. },
  6529. {
  6530. "name": "scale",
  6531. "type": "\"l\" | \"m\" | \"s\"",
  6532. "mutable": false,
  6533. "attr": "scale",
  6534. "reflectToAttr": true,
  6535. "docs": "specify the scale of the date picker",
  6536. "docsTags": [],
  6537. "default": "\"m\"",
  6538. "values": [
  6539. {
  6540. "value": "l",
  6541. "type": "string"
  6542. },
  6543. {
  6544. "value": "m",
  6545. "type": "string"
  6546. },
  6547. {
  6548. "value": "s",
  6549. "type": "string"
  6550. }
  6551. ],
  6552. "optional": false,
  6553. "required": false
  6554. },
  6555. {
  6556. "name": "start",
  6557. "type": "string",
  6558. "mutable": true,
  6559. "attr": "start",
  6560. "reflectToAttr": true,
  6561. "docs": "Selected start date",
  6562. "docsTags": [
  6563. {
  6564. "name": "deprecated",
  6565. "text": "use value instead"
  6566. }
  6567. ],
  6568. "deprecation": "use value instead",
  6569. "values": [
  6570. {
  6571. "type": "string"
  6572. }
  6573. ],
  6574. "optional": true,
  6575. "required": false
  6576. },
  6577. {
  6578. "name": "startAsDate",
  6579. "type": "Date",
  6580. "mutable": true,
  6581. "reflectToAttr": false,
  6582. "docs": "Selected start date as full date object",
  6583. "docsTags": [
  6584. {
  6585. "name": "deprecated",
  6586. "text": "use valueAsDate instead"
  6587. }
  6588. ],
  6589. "deprecation": "use valueAsDate instead",
  6590. "values": [
  6591. {
  6592. "type": "Date"
  6593. }
  6594. ],
  6595. "optional": true,
  6596. "required": false
  6597. },
  6598. {
  6599. "name": "value",
  6600. "type": "string | string[]",
  6601. "mutable": true,
  6602. "attr": "value",
  6603. "reflectToAttr": false,
  6604. "docs": "Selected date",
  6605. "docsTags": [],
  6606. "values": [
  6607. {
  6608. "type": "string"
  6609. },
  6610. {
  6611. "type": "string[]"
  6612. }
  6613. ],
  6614. "optional": true,
  6615. "required": false
  6616. },
  6617. {
  6618. "name": "valueAsDate",
  6619. "type": "Date | Date[]",
  6620. "mutable": true,
  6621. "reflectToAttr": false,
  6622. "docs": "Selected date as full date object",
  6623. "docsTags": [],
  6624. "values": [
  6625. {
  6626. "type": "Date"
  6627. },
  6628. {
  6629. "type": "Date[]"
  6630. }
  6631. ],
  6632. "optional": true,
  6633. "required": false
  6634. }
  6635. ],
  6636. "methods": [],
  6637. "events": [
  6638. {
  6639. "event": "calciteDatePickerChange",
  6640. "detail": "Date",
  6641. "bubbles": true,
  6642. "cancelable": false,
  6643. "composed": true,
  6644. "docs": "Trigger calcite date change when a user changes the date.",
  6645. "docsTags": []
  6646. },
  6647. {
  6648. "event": "calciteDatePickerRangeChange",
  6649. "detail": "DateRangeChange",
  6650. "bubbles": true,
  6651. "cancelable": false,
  6652. "composed": true,
  6653. "docs": "Trigger calcite date change when a user changes the date range.",
  6654. "docsTags": [
  6655. {
  6656. "name": "see",
  6657. "text": "[DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/date-picker/interfaces.ts#L1)"
  6658. }
  6659. ]
  6660. }
  6661. ],
  6662. "listeners": [],
  6663. "styles": [],
  6664. "slots": [],
  6665. "parts": [],
  6666. "dependents": [
  6667. "calcite-input-date-picker"
  6668. ],
  6669. "dependencies": [
  6670. "calcite-date-picker-month-header",
  6671. "calcite-date-picker-month"
  6672. ],
  6673. "dependencyGraph": {
  6674. "calcite-date-picker": [
  6675. "calcite-date-picker-month-header",
  6676. "calcite-date-picker-month"
  6677. ],
  6678. "calcite-date-picker-month-header": [
  6679. "calcite-icon"
  6680. ],
  6681. "calcite-date-picker-month": [
  6682. "calcite-date-picker-day"
  6683. ],
  6684. "calcite-input-date-picker": [
  6685. "calcite-date-picker"
  6686. ]
  6687. }
  6688. },
  6689. {
  6690. "filePath": "./src/components/date-picker-day/date-picker-day.tsx",
  6691. "encapsulation": "shadow",
  6692. "tag": "calcite-date-picker-day",
  6693. "readme": "# calcite-date-day\n",
  6694. "docs": "",
  6695. "docsTags": [],
  6696. "usage": {},
  6697. "props": [
  6698. {
  6699. "name": "active",
  6700. "type": "boolean",
  6701. "mutable": false,
  6702. "attr": "active",
  6703. "reflectToAttr": true,
  6704. "docs": "Date is actively in focus for keyboard navigation",
  6705. "docsTags": [],
  6706. "default": "false",
  6707. "values": [
  6708. {
  6709. "type": "boolean"
  6710. }
  6711. ],
  6712. "optional": false,
  6713. "required": false
  6714. },
  6715. {
  6716. "name": "currentMonth",
  6717. "type": "boolean",
  6718. "mutable": false,
  6719. "attr": "current-month",
  6720. "reflectToAttr": true,
  6721. "docs": "Date is in the current month.",
  6722. "docsTags": [],
  6723. "default": "false",
  6724. "values": [
  6725. {
  6726. "type": "boolean"
  6727. }
  6728. ],
  6729. "optional": false,
  6730. "required": false
  6731. },
  6732. {
  6733. "name": "day",
  6734. "type": "number",
  6735. "mutable": false,
  6736. "attr": "day",
  6737. "reflectToAttr": false,
  6738. "docs": "Day of the month to be shown.",
  6739. "docsTags": [],
  6740. "values": [
  6741. {
  6742. "type": "number"
  6743. }
  6744. ],
  6745. "optional": false,
  6746. "required": true
  6747. },
  6748. {
  6749. "name": "disabled",
  6750. "type": "boolean",
  6751. "mutable": false,
  6752. "attr": "disabled",
  6753. "reflectToAttr": true,
  6754. "docs": "Date is outside of range and can't be selected",
  6755. "docsTags": [],
  6756. "default": "false",
  6757. "values": [
  6758. {
  6759. "type": "boolean"
  6760. }
  6761. ],
  6762. "optional": false,
  6763. "required": false
  6764. },
  6765. {
  6766. "name": "endOfRange",
  6767. "type": "boolean",
  6768. "mutable": false,
  6769. "attr": "end-of-range",
  6770. "reflectToAttr": true,
  6771. "docs": "Date is the end of date range",
  6772. "docsTags": [],
  6773. "default": "false",
  6774. "values": [
  6775. {
  6776. "type": "boolean"
  6777. }
  6778. ],
  6779. "optional": false,
  6780. "required": false
  6781. },
  6782. {
  6783. "name": "highlighted",
  6784. "type": "boolean",
  6785. "mutable": false,
  6786. "attr": "highlighted",
  6787. "reflectToAttr": true,
  6788. "docs": "Date is currently highlighted as part of the range",
  6789. "docsTags": [],
  6790. "default": "false",
  6791. "values": [
  6792. {
  6793. "type": "boolean"
  6794. }
  6795. ],
  6796. "optional": false,
  6797. "required": false
  6798. },
  6799. {
  6800. "name": "range",
  6801. "type": "boolean",
  6802. "mutable": false,
  6803. "attr": "range",
  6804. "reflectToAttr": true,
  6805. "docs": "Showing date range",
  6806. "docsTags": [],
  6807. "default": "false",
  6808. "values": [
  6809. {
  6810. "type": "boolean"
  6811. }
  6812. ],
  6813. "optional": false,
  6814. "required": false
  6815. },
  6816. {
  6817. "name": "rangeHover",
  6818. "type": "boolean",
  6819. "mutable": false,
  6820. "attr": "range-hover",
  6821. "reflectToAttr": true,
  6822. "docs": "Date is being hovered and within the set range",
  6823. "docsTags": [],
  6824. "default": "false",
  6825. "values": [
  6826. {
  6827. "type": "boolean"
  6828. }
  6829. ],
  6830. "optional": false,
  6831. "required": false
  6832. },
  6833. {
  6834. "name": "scale",
  6835. "type": "\"l\" | \"m\" | \"s\"",
  6836. "mutable": false,
  6837. "attr": "scale",
  6838. "reflectToAttr": true,
  6839. "docs": "specify the scale of the date picker",
  6840. "docsTags": [],
  6841. "values": [
  6842. {
  6843. "value": "l",
  6844. "type": "string"
  6845. },
  6846. {
  6847. "value": "m",
  6848. "type": "string"
  6849. },
  6850. {
  6851. "value": "s",
  6852. "type": "string"
  6853. }
  6854. ],
  6855. "optional": false,
  6856. "required": false
  6857. },
  6858. {
  6859. "name": "selected",
  6860. "type": "boolean",
  6861. "mutable": false,
  6862. "attr": "selected",
  6863. "reflectToAttr": true,
  6864. "docs": "Date is the current selected date of the picker",
  6865. "docsTags": [],
  6866. "default": "false",
  6867. "values": [
  6868. {
  6869. "type": "boolean"
  6870. }
  6871. ],
  6872. "optional": false,
  6873. "required": false
  6874. },
  6875. {
  6876. "name": "startOfRange",
  6877. "type": "boolean",
  6878. "mutable": false,
  6879. "attr": "start-of-range",
  6880. "reflectToAttr": true,
  6881. "docs": "Date is the start of date range",
  6882. "docsTags": [],
  6883. "default": "false",
  6884. "values": [
  6885. {
  6886. "type": "boolean"
  6887. }
  6888. ],
  6889. "optional": false,
  6890. "required": false
  6891. },
  6892. {
  6893. "name": "value",
  6894. "type": "Date",
  6895. "mutable": false,
  6896. "reflectToAttr": false,
  6897. "docs": "Date value for the day.",
  6898. "docsTags": [],
  6899. "values": [
  6900. {
  6901. "type": "Date"
  6902. }
  6903. ],
  6904. "optional": false,
  6905. "required": false
  6906. }
  6907. ],
  6908. "methods": [],
  6909. "events": [
  6910. {
  6911. "event": "calciteDaySelect",
  6912. "detail": "void",
  6913. "bubbles": true,
  6914. "cancelable": false,
  6915. "composed": true,
  6916. "docs": "Emitted when user selects day",
  6917. "docsTags": []
  6918. }
  6919. ],
  6920. "listeners": [
  6921. {
  6922. "event": "pointerover",
  6923. "capture": false,
  6924. "passive": true
  6925. }
  6926. ],
  6927. "styles": [],
  6928. "slots": [],
  6929. "parts": [],
  6930. "dependents": [
  6931. "calcite-date-picker-month"
  6932. ],
  6933. "dependencies": [],
  6934. "dependencyGraph": {
  6935. "calcite-date-picker-month": [
  6936. "calcite-date-picker-day"
  6937. ]
  6938. }
  6939. },
  6940. {
  6941. "filePath": "./src/components/date-picker-month/date-picker-month.tsx",
  6942. "encapsulation": "shadow",
  6943. "tag": "calcite-date-picker-month",
  6944. "readme": "# calcite-date-month\n",
  6945. "docs": "",
  6946. "docsTags": [],
  6947. "usage": {},
  6948. "props": [
  6949. {
  6950. "name": "activeDate",
  6951. "type": "Date",
  6952. "mutable": false,
  6953. "reflectToAttr": false,
  6954. "docs": "Date currently active.",
  6955. "docsTags": [],
  6956. "default": "new Date()",
  6957. "values": [
  6958. {
  6959. "type": "Date"
  6960. }
  6961. ],
  6962. "optional": false,
  6963. "required": false
  6964. },
  6965. {
  6966. "name": "endDate",
  6967. "type": "Date",
  6968. "mutable": false,
  6969. "reflectToAttr": false,
  6970. "docs": "End date currently active",
  6971. "docsTags": [],
  6972. "values": [
  6973. {
  6974. "type": "Date"
  6975. }
  6976. ],
  6977. "optional": true,
  6978. "required": false
  6979. },
  6980. {
  6981. "name": "hoverRange",
  6982. "type": "HoverRange",
  6983. "mutable": false,
  6984. "reflectToAttr": false,
  6985. "docs": "The range of dates currently being hovered",
  6986. "docsTags": [],
  6987. "values": [
  6988. {
  6989. "type": "HoverRange"
  6990. }
  6991. ],
  6992. "optional": false,
  6993. "required": false
  6994. },
  6995. {
  6996. "name": "max",
  6997. "type": "Date",
  6998. "mutable": false,
  6999. "reflectToAttr": false,
  7000. "docs": "Maximum date of the calendar above which is disabled.",
  7001. "docsTags": [],
  7002. "values": [
  7003. {
  7004. "type": "Date"
  7005. }
  7006. ],
  7007. "optional": false,
  7008. "required": false
  7009. },
  7010. {
  7011. "name": "min",
  7012. "type": "Date",
  7013. "mutable": false,
  7014. "reflectToAttr": false,
  7015. "docs": "Minimum date of the calendar below which is disabled.",
  7016. "docsTags": [],
  7017. "values": [
  7018. {
  7019. "type": "Date"
  7020. }
  7021. ],
  7022. "optional": false,
  7023. "required": false
  7024. },
  7025. {
  7026. "name": "scale",
  7027. "type": "\"l\" | \"m\" | \"s\"",
  7028. "mutable": false,
  7029. "attr": "scale",
  7030. "reflectToAttr": true,
  7031. "docs": "specify the scale of the date picker",
  7032. "docsTags": [],
  7033. "values": [
  7034. {
  7035. "value": "l",
  7036. "type": "string"
  7037. },
  7038. {
  7039. "value": "m",
  7040. "type": "string"
  7041. },
  7042. {
  7043. "value": "s",
  7044. "type": "string"
  7045. }
  7046. ],
  7047. "optional": false,
  7048. "required": false
  7049. },
  7050. {
  7051. "name": "selectedDate",
  7052. "type": "Date",
  7053. "mutable": false,
  7054. "reflectToAttr": false,
  7055. "docs": "Already selected date.",
  7056. "docsTags": [],
  7057. "values": [
  7058. {
  7059. "type": "Date"
  7060. }
  7061. ],
  7062. "optional": false,
  7063. "required": false
  7064. },
  7065. {
  7066. "name": "startDate",
  7067. "type": "Date",
  7068. "mutable": false,
  7069. "reflectToAttr": false,
  7070. "docs": "Start date currently active.",
  7071. "docsTags": [],
  7072. "values": [
  7073. {
  7074. "type": "Date"
  7075. }
  7076. ],
  7077. "optional": true,
  7078. "required": false
  7079. }
  7080. ],
  7081. "methods": [],
  7082. "events": [
  7083. {
  7084. "event": "calciteDatePickerActiveDateChange",
  7085. "detail": "Date",
  7086. "bubbles": true,
  7087. "cancelable": false,
  7088. "composed": true,
  7089. "docs": "Active date for the user keyboard access.",
  7090. "docsTags": []
  7091. },
  7092. {
  7093. "event": "calciteDatePickerSelect",
  7094. "detail": "Date",
  7095. "bubbles": true,
  7096. "cancelable": false,
  7097. "composed": true,
  7098. "docs": "Event emitted when user selects the date.",
  7099. "docsTags": []
  7100. }
  7101. ],
  7102. "listeners": [
  7103. {
  7104. "event": "pointerout",
  7105. "capture": false,
  7106. "passive": true
  7107. }
  7108. ],
  7109. "styles": [],
  7110. "slots": [],
  7111. "parts": [],
  7112. "dependents": [
  7113. "calcite-date-picker"
  7114. ],
  7115. "dependencies": [
  7116. "calcite-date-picker-day"
  7117. ],
  7118. "dependencyGraph": {
  7119. "calcite-date-picker-month": [
  7120. "calcite-date-picker-day"
  7121. ],
  7122. "calcite-date-picker": [
  7123. "calcite-date-picker-month"
  7124. ]
  7125. }
  7126. },
  7127. {
  7128. "filePath": "./src/components/date-picker-month-header/date-picker-month-header.tsx",
  7129. "encapsulation": "shadow",
  7130. "tag": "calcite-date-picker-month-header",
  7131. "readme": "# calcite-date-month-header\n",
  7132. "docs": "",
  7133. "docsTags": [],
  7134. "usage": {},
  7135. "props": [
  7136. {
  7137. "name": "activeDate",
  7138. "type": "Date",
  7139. "mutable": false,
  7140. "reflectToAttr": false,
  7141. "docs": "Focused date with indicator (will become selected date if user proceeds)",
  7142. "docsTags": [],
  7143. "values": [
  7144. {
  7145. "type": "Date"
  7146. }
  7147. ],
  7148. "optional": false,
  7149. "required": false
  7150. },
  7151. {
  7152. "name": "headingLevel",
  7153. "type": "1 | 2 | 3 | 4 | 5 | 6",
  7154. "mutable": false,
  7155. "attr": "heading-level",
  7156. "reflectToAttr": false,
  7157. "docs": "Number at which section headings should start for this component.",
  7158. "docsTags": [],
  7159. "values": [
  7160. {
  7161. "value": "1",
  7162. "type": "number"
  7163. },
  7164. {
  7165. "value": "2",
  7166. "type": "number"
  7167. },
  7168. {
  7169. "value": "3",
  7170. "type": "number"
  7171. },
  7172. {
  7173. "value": "4",
  7174. "type": "number"
  7175. },
  7176. {
  7177. "value": "5",
  7178. "type": "number"
  7179. },
  7180. {
  7181. "value": "6",
  7182. "type": "number"
  7183. }
  7184. ],
  7185. "optional": false,
  7186. "required": false
  7187. },
  7188. {
  7189. "name": "intlNextMonth",
  7190. "type": "string",
  7191. "mutable": false,
  7192. "attr": "intl-next-month",
  7193. "reflectToAttr": false,
  7194. "docs": "Localized string for next month.",
  7195. "docsTags": [],
  7196. "values": [
  7197. {
  7198. "type": "string"
  7199. }
  7200. ],
  7201. "optional": false,
  7202. "required": false
  7203. },
  7204. {
  7205. "name": "intlPrevMonth",
  7206. "type": "string",
  7207. "mutable": false,
  7208. "attr": "intl-prev-month",
  7209. "reflectToAttr": false,
  7210. "docs": "Localized string for previous month.",
  7211. "docsTags": [],
  7212. "values": [
  7213. {
  7214. "type": "string"
  7215. }
  7216. ],
  7217. "optional": false,
  7218. "required": false
  7219. },
  7220. {
  7221. "name": "intlYear",
  7222. "type": "string",
  7223. "mutable": false,
  7224. "attr": "intl-year",
  7225. "reflectToAttr": false,
  7226. "docs": "Localized string for year.",
  7227. "docsTags": [],
  7228. "values": [
  7229. {
  7230. "type": "string"
  7231. }
  7232. ],
  7233. "optional": false,
  7234. "required": false
  7235. },
  7236. {
  7237. "name": "localeData",
  7238. "type": "DateLocaleData",
  7239. "mutable": false,
  7240. "reflectToAttr": false,
  7241. "docs": "CLDR locale data for translated calendar info",
  7242. "docsTags": [],
  7243. "values": [
  7244. {
  7245. "type": "DateLocaleData"
  7246. }
  7247. ],
  7248. "optional": false,
  7249. "required": false
  7250. },
  7251. {
  7252. "name": "max",
  7253. "type": "Date",
  7254. "mutable": false,
  7255. "reflectToAttr": false,
  7256. "docs": "Maximum date of the calendar above which is disabled.",
  7257. "docsTags": [],
  7258. "values": [
  7259. {
  7260. "type": "Date"
  7261. }
  7262. ],
  7263. "optional": false,
  7264. "required": false
  7265. },
  7266. {
  7267. "name": "min",
  7268. "type": "Date",
  7269. "mutable": false,
  7270. "reflectToAttr": false,
  7271. "docs": "Minimum date of the calendar below which is disabled.",
  7272. "docsTags": [],
  7273. "values": [
  7274. {
  7275. "type": "Date"
  7276. }
  7277. ],
  7278. "optional": false,
  7279. "required": false
  7280. },
  7281. {
  7282. "name": "scale",
  7283. "type": "\"l\" | \"m\" | \"s\"",
  7284. "mutable": false,
  7285. "attr": "scale",
  7286. "reflectToAttr": true,
  7287. "docs": "specify the scale of the date picker",
  7288. "docsTags": [],
  7289. "values": [
  7290. {
  7291. "value": "l",
  7292. "type": "string"
  7293. },
  7294. {
  7295. "value": "m",
  7296. "type": "string"
  7297. },
  7298. {
  7299. "value": "s",
  7300. "type": "string"
  7301. }
  7302. ],
  7303. "optional": false,
  7304. "required": false
  7305. },
  7306. {
  7307. "name": "selectedDate",
  7308. "type": "Date",
  7309. "mutable": false,
  7310. "reflectToAttr": false,
  7311. "docs": "Already selected date.",
  7312. "docsTags": [],
  7313. "values": [
  7314. {
  7315. "type": "Date"
  7316. }
  7317. ],
  7318. "optional": false,
  7319. "required": false
  7320. }
  7321. ],
  7322. "methods": [],
  7323. "events": [
  7324. {
  7325. "event": "calciteDatePickerSelect",
  7326. "detail": "Date",
  7327. "bubbles": true,
  7328. "cancelable": false,
  7329. "composed": true,
  7330. "docs": "Changes to active date",
  7331. "docsTags": []
  7332. }
  7333. ],
  7334. "listeners": [],
  7335. "styles": [],
  7336. "slots": [],
  7337. "parts": [],
  7338. "dependents": [
  7339. "calcite-date-picker"
  7340. ],
  7341. "dependencies": [
  7342. "calcite-icon"
  7343. ],
  7344. "dependencyGraph": {
  7345. "calcite-date-picker-month-header": [
  7346. "calcite-icon"
  7347. ],
  7348. "calcite-date-picker": [
  7349. "calcite-date-picker-month-header"
  7350. ]
  7351. }
  7352. },
  7353. {
  7354. "filePath": "./src/components/dropdown/dropdown.tsx",
  7355. "encapsulation": "shadow",
  7356. "tag": "calcite-dropdown",
  7357. "readme": "# calcite-dropdown\n\nA `calcite-dropdown` can be used to provide an absolutely positioned set of selectable items. You can combine multiple groups of items and selection modes, and optionally pass a title for each group. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.\n",
  7358. "docs": "A `calcite-dropdown` can be used to provide an absolutely positioned set of selectable items. You can combine multiple groups of items and selection modes, and optionally pass a title for each group. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.",
  7359. "docsTags": [
  7360. {
  7361. "name": "slot",
  7362. "text": "- A slot for adding `calcite-dropdown-group` components. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set."
  7363. },
  7364. {
  7365. "name": "slot",
  7366. "text": "dropdown-trigger - A slot for the element that triggers the `calcite-dropdown`."
  7367. }
  7368. ],
  7369. "usage": {
  7370. "Basic": "```html\n<calcite-dropdown>\n <calcite-button slot=\"dropdown-trigger\">Open Dropdown</calcite-button>\n <calcite-dropdown-group>\n <calcite-dropdown-item>Relevance</calcite-dropdown-item>\n <calcite-dropdown-item active>Date modified</calcite-dropdown-item>\n <calcite-dropdown-item>Title</calcite-dropdown-item>\n </calcite-dropdown-group>\n</calcite-dropdown>\n```\n",
  7371. "Disabling-close-on-select": "You can choose to leave the dropdown open when an item is selected with the `disable-close-on-select` attribute. Note that this will only apply when the `calcite-dropdown-group` selection mode is set to `single` or `multi` - dropdowns will always close when an item in `none` selection mode is selected.\n\n```html\n<calcite-dropdown disable-close-on-select>\n <calcite-button id=\"trigger\" slot=\"dropdown-trigger\">Open dropdown</calcite-button>\n <calcite-dropdown-group id=\"group-1\" selection-mode=\"single\">\n <calcite-dropdown-item id=\"item-1\"> Dropdown Item Content </calcite-dropdown-item>\n <calcite-dropdown-item id=\"item-2\" active> Dropdown Item Content </calcite-dropdown-item>\n <calcite-dropdown-item id=\"item-3\"> Dropdown Item Content </calcite-dropdown-item>\n </calcite-dropdown-group>\n</calcite-dropdown>\n```\n",
  7372. "Groups": "You can combine groups in a single dropdown, with varying selection modes:\n\n```html\n<calcite-dropdown>\n <calcite-button slot=\"dropdown-trigger\">Open Dropdown</calcite-button>\n <calcite-dropdown-group group-title=\"Select one\">\n <calcite-dropdown-item>Apple</calcite-dropdown-item>\n <calcite-dropdown-item active>Orange</calcite-dropdown-item>\n <calcite-dropdown-item>Grape</calcite-dropdown-item>\n </calcite-dropdown-group>\n <calcite-dropdown-group group-title=\"Select multi\" selection-mode=\"multi\">\n <calcite-dropdown-item>Asparagus</calcite-dropdown-item>\n <calcite-dropdown-item active>Potato</calcite-dropdown-item>\n <calcite-dropdown-item>Yam</calcite-dropdown-item>\n </calcite-dropdown-group>\n <calcite-dropdown-group group-title=\"Select none (useful for actions)\" selection-mode=\"none\">\n <calcite-dropdown-item>Plant beans</calcite-dropdown-item>\n <calcite-dropdown-item active>Add peas</calcite-dropdown-item>\n </calcite-dropdown-group>\n</calcite-dropdown>\n```\n"
  7373. },
  7374. "props": [
  7375. {
  7376. "name": "active",
  7377. "type": "boolean",
  7378. "mutable": true,
  7379. "attr": "active",
  7380. "reflectToAttr": true,
  7381. "docs": "Opens or closes the dropdown",
  7382. "docsTags": [
  7383. {
  7384. "name": "deprecated",
  7385. "text": "use open instead."
  7386. }
  7387. ],
  7388. "default": "false",
  7389. "deprecation": "use open instead.",
  7390. "values": [
  7391. {
  7392. "type": "boolean"
  7393. }
  7394. ],
  7395. "optional": false,
  7396. "required": false
  7397. },
  7398. {
  7399. "name": "disableCloseOnSelect",
  7400. "type": "boolean",
  7401. "mutable": false,
  7402. "attr": "disable-close-on-select",
  7403. "reflectToAttr": true,
  7404. "docs": "allow the dropdown to remain open after a selection is made\nif the selection-mode of the selected item's containing group is \"none\", the dropdown will always close",
  7405. "docsTags": [],
  7406. "default": "false",
  7407. "values": [
  7408. {
  7409. "type": "boolean"
  7410. }
  7411. ],
  7412. "optional": false,
  7413. "required": false
  7414. },
  7415. {
  7416. "name": "disabled",
  7417. "type": "boolean",
  7418. "mutable": false,
  7419. "attr": "disabled",
  7420. "reflectToAttr": true,
  7421. "docs": "is the dropdown disabled",
  7422. "docsTags": [],
  7423. "default": "false",
  7424. "values": [
  7425. {
  7426. "type": "boolean"
  7427. }
  7428. ],
  7429. "optional": false,
  7430. "required": false
  7431. },
  7432. {
  7433. "name": "flipPlacements",
  7434. "type": "Placement[]",
  7435. "mutable": false,
  7436. "reflectToAttr": false,
  7437. "docs": "Defines the available placements that can be used when a flip occurs.",
  7438. "docsTags": [],
  7439. "values": [
  7440. {
  7441. "type": "Placement[]"
  7442. }
  7443. ],
  7444. "optional": true,
  7445. "required": false
  7446. },
  7447. {
  7448. "name": "maxItems",
  7449. "type": "number",
  7450. "mutable": false,
  7451. "attr": "max-items",
  7452. "reflectToAttr": true,
  7453. "docs": "specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -\nthis value does not include groupTitles passed to calcite-dropdown-group",
  7454. "docsTags": [],
  7455. "default": "0",
  7456. "values": [
  7457. {
  7458. "type": "number"
  7459. }
  7460. ],
  7461. "optional": false,
  7462. "required": false
  7463. },
  7464. {
  7465. "name": "open",
  7466. "type": "boolean",
  7467. "mutable": true,
  7468. "attr": "open",
  7469. "reflectToAttr": true,
  7470. "docs": "When true, opens the dropdown",
  7471. "docsTags": [],
  7472. "default": "false",
  7473. "values": [
  7474. {
  7475. "type": "boolean"
  7476. }
  7477. ],
  7478. "optional": false,
  7479. "required": false
  7480. },
  7481. {
  7482. "name": "overlayPositioning",
  7483. "type": "\"absolute\" | \"fixed\"",
  7484. "mutable": false,
  7485. "attr": "overlay-positioning",
  7486. "reflectToAttr": true,
  7487. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\n`\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  7488. "docsTags": [],
  7489. "default": "\"absolute\"",
  7490. "values": [
  7491. {
  7492. "value": "absolute",
  7493. "type": "string"
  7494. },
  7495. {
  7496. "value": "fixed",
  7497. "type": "string"
  7498. }
  7499. ],
  7500. "optional": false,
  7501. "required": false
  7502. },
  7503. {
  7504. "name": "placement",
  7505. "type": "\"bottom\" | \"bottom-end\" | \"bottom-leading\" | \"bottom-start\" | \"bottom-trailing\" | \"top\" | \"top-end\" | \"top-leading\" | \"top-start\" | \"top-trailing\"",
  7506. "mutable": false,
  7507. "attr": "placement",
  7508. "reflectToAttr": true,
  7509. "docs": "Determines where the dropdown will be positioned relative to the button.",
  7510. "docsTags": [
  7511. {
  7512. "name": "default",
  7513. "text": "\"bottom-start\""
  7514. }
  7515. ],
  7516. "default": "defaultMenuPlacement",
  7517. "values": [
  7518. {
  7519. "value": "bottom",
  7520. "type": "string"
  7521. },
  7522. {
  7523. "value": "bottom-end",
  7524. "type": "string"
  7525. },
  7526. {
  7527. "value": "bottom-leading",
  7528. "type": "string"
  7529. },
  7530. {
  7531. "value": "bottom-start",
  7532. "type": "string"
  7533. },
  7534. {
  7535. "value": "bottom-trailing",
  7536. "type": "string"
  7537. },
  7538. {
  7539. "value": "top",
  7540. "type": "string"
  7541. },
  7542. {
  7543. "value": "top-end",
  7544. "type": "string"
  7545. },
  7546. {
  7547. "value": "top-leading",
  7548. "type": "string"
  7549. },
  7550. {
  7551. "value": "top-start",
  7552. "type": "string"
  7553. },
  7554. {
  7555. "value": "top-trailing",
  7556. "type": "string"
  7557. }
  7558. ],
  7559. "optional": false,
  7560. "required": false
  7561. },
  7562. {
  7563. "name": "scale",
  7564. "type": "\"l\" | \"m\" | \"s\"",
  7565. "mutable": false,
  7566. "attr": "scale",
  7567. "reflectToAttr": true,
  7568. "docs": "specify the scale of dropdown, defaults to m",
  7569. "docsTags": [],
  7570. "default": "\"m\"",
  7571. "values": [
  7572. {
  7573. "value": "l",
  7574. "type": "string"
  7575. },
  7576. {
  7577. "value": "m",
  7578. "type": "string"
  7579. },
  7580. {
  7581. "value": "s",
  7582. "type": "string"
  7583. }
  7584. ],
  7585. "optional": false,
  7586. "required": false
  7587. },
  7588. {
  7589. "name": "selectedItems",
  7590. "type": "HTMLCalciteDropdownItemElement[]",
  7591. "mutable": true,
  7592. "reflectToAttr": false,
  7593. "docs": "**read-only** The currently selected items",
  7594. "docsTags": [
  7595. {
  7596. "name": "readonly"
  7597. }
  7598. ],
  7599. "default": "[]",
  7600. "values": [
  7601. {
  7602. "type": "HTMLCalciteDropdownItemElement[]"
  7603. }
  7604. ],
  7605. "optional": false,
  7606. "required": false
  7607. },
  7608. {
  7609. "name": "type",
  7610. "type": "\"click\" | \"hover\"",
  7611. "mutable": false,
  7612. "attr": "type",
  7613. "reflectToAttr": true,
  7614. "docs": "specify whether the dropdown is opened by hover or click of a trigger element",
  7615. "docsTags": [],
  7616. "default": "\"click\"",
  7617. "values": [
  7618. {
  7619. "value": "click",
  7620. "type": "string"
  7621. },
  7622. {
  7623. "value": "hover",
  7624. "type": "string"
  7625. }
  7626. ],
  7627. "optional": false,
  7628. "required": false
  7629. },
  7630. {
  7631. "name": "width",
  7632. "type": "\"l\" | \"m\" | \"s\"",
  7633. "mutable": false,
  7634. "attr": "width",
  7635. "reflectToAttr": true,
  7636. "docs": "specify the width of dropdown",
  7637. "docsTags": [],
  7638. "values": [
  7639. {
  7640. "value": "l",
  7641. "type": "string"
  7642. },
  7643. {
  7644. "value": "m",
  7645. "type": "string"
  7646. },
  7647. {
  7648. "value": "s",
  7649. "type": "string"
  7650. }
  7651. ],
  7652. "optional": true,
  7653. "required": false
  7654. }
  7655. ],
  7656. "methods": [
  7657. {
  7658. "name": "reposition",
  7659. "returns": {
  7660. "type": "Promise<void>",
  7661. "docs": ""
  7662. },
  7663. "signature": "reposition(delayed?: boolean) => Promise<void>",
  7664. "parameters": [],
  7665. "docs": "Updates the position of the component.",
  7666. "docsTags": [
  7667. {
  7668. "name": "param",
  7669. "text": "delayed"
  7670. }
  7671. ]
  7672. }
  7673. ],
  7674. "events": [
  7675. {
  7676. "event": "calciteDropdownBeforeClose",
  7677. "detail": "void",
  7678. "bubbles": true,
  7679. "cancelable": false,
  7680. "composed": true,
  7681. "docs": "Fires when the component is requested to be closed and before the closing transition begins.",
  7682. "docsTags": []
  7683. },
  7684. {
  7685. "event": "calciteDropdownBeforeOpen",
  7686. "detail": "void",
  7687. "bubbles": true,
  7688. "cancelable": false,
  7689. "composed": true,
  7690. "docs": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins.",
  7691. "docsTags": []
  7692. },
  7693. {
  7694. "event": "calciteDropdownClose",
  7695. "detail": "void",
  7696. "bubbles": true,
  7697. "cancelable": false,
  7698. "composed": true,
  7699. "docs": "Fires when the component is closed and animation is complete.",
  7700. "docsTags": []
  7701. },
  7702. {
  7703. "event": "calciteDropdownOpen",
  7704. "detail": "void",
  7705. "bubbles": true,
  7706. "cancelable": false,
  7707. "composed": true,
  7708. "docs": "Fires when the component is open and animation is complete.",
  7709. "docsTags": []
  7710. },
  7711. {
  7712. "event": "calciteDropdownSelect",
  7713. "detail": "Selection",
  7714. "bubbles": true,
  7715. "cancelable": false,
  7716. "composed": true,
  7717. "docs": "fires when a dropdown item has been selected or deselected",
  7718. "docsTags": []
  7719. }
  7720. ],
  7721. "listeners": [
  7722. {
  7723. "event": "pointerdown",
  7724. "target": "window",
  7725. "capture": false,
  7726. "passive": true
  7727. },
  7728. {
  7729. "event": "calciteInternalDropdownCloseRequest",
  7730. "capture": false,
  7731. "passive": false
  7732. },
  7733. {
  7734. "event": "calciteDropdownOpen",
  7735. "target": "window",
  7736. "capture": false,
  7737. "passive": false
  7738. },
  7739. {
  7740. "event": "pointerenter",
  7741. "capture": false,
  7742. "passive": true
  7743. },
  7744. {
  7745. "event": "pointerleave",
  7746. "capture": false,
  7747. "passive": true
  7748. },
  7749. {
  7750. "event": "calciteInternalDropdownItemKeyEvent",
  7751. "capture": false,
  7752. "passive": false
  7753. },
  7754. {
  7755. "event": "calciteInternalDropdownItemSelect",
  7756. "capture": false,
  7757. "passive": false
  7758. }
  7759. ],
  7760. "styles": [
  7761. {
  7762. "name": "--calcite-dropdown-width",
  7763. "annotation": "prop",
  7764. "docs": "the width of the dropdown wrapper"
  7765. }
  7766. ],
  7767. "slots": [
  7768. {
  7769. "name": "",
  7770. "docs": "A slot for adding `calcite-dropdown-group` components. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set."
  7771. },
  7772. {
  7773. "name": "dropdown-trigger",
  7774. "docs": "A slot for the element that triggers the `calcite-dropdown`."
  7775. }
  7776. ],
  7777. "parts": [],
  7778. "dependents": [
  7779. "calcite-split-button"
  7780. ],
  7781. "dependencies": [],
  7782. "dependencyGraph": {
  7783. "calcite-split-button": [
  7784. "calcite-dropdown"
  7785. ]
  7786. }
  7787. },
  7788. {
  7789. "filePath": "./src/components/dropdown-group/dropdown-group.tsx",
  7790. "encapsulation": "shadow",
  7791. "tag": "calcite-dropdown-group",
  7792. "readme": "# calcite-dropdown-group\n",
  7793. "docs": "",
  7794. "docsTags": [
  7795. {
  7796. "name": "slot",
  7797. "text": "- A slot for adding `calcite-dropdown-item` components."
  7798. }
  7799. ],
  7800. "usage": {},
  7801. "props": [
  7802. {
  7803. "name": "groupTitle",
  7804. "type": "string",
  7805. "mutable": false,
  7806. "attr": "group-title",
  7807. "reflectToAttr": true,
  7808. "docs": "optionally set a group title for display",
  7809. "docsTags": [],
  7810. "values": [
  7811. {
  7812. "type": "string"
  7813. }
  7814. ],
  7815. "optional": true,
  7816. "required": false
  7817. },
  7818. {
  7819. "name": "scale",
  7820. "type": "\"l\" | \"m\" | \"s\"",
  7821. "mutable": false,
  7822. "attr": "scale",
  7823. "reflectToAttr": true,
  7824. "docs": "Specifies the size of the action.",
  7825. "docsTags": [],
  7826. "values": [
  7827. {
  7828. "value": "l",
  7829. "type": "string"
  7830. },
  7831. {
  7832. "value": "m",
  7833. "type": "string"
  7834. },
  7835. {
  7836. "value": "s",
  7837. "type": "string"
  7838. }
  7839. ],
  7840. "optional": false,
  7841. "required": false
  7842. },
  7843. {
  7844. "name": "selectionMode",
  7845. "type": "\"multi\" | \"none\" | \"single\"",
  7846. "mutable": false,
  7847. "attr": "selection-mode",
  7848. "reflectToAttr": true,
  7849. "docs": "specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),\nnone (no active items), defaults to single",
  7850. "docsTags": [],
  7851. "default": "\"single\"",
  7852. "values": [
  7853. {
  7854. "value": "multi",
  7855. "type": "string"
  7856. },
  7857. {
  7858. "value": "none",
  7859. "type": "string"
  7860. },
  7861. {
  7862. "value": "single",
  7863. "type": "string"
  7864. }
  7865. ],
  7866. "optional": false,
  7867. "required": false
  7868. }
  7869. ],
  7870. "methods": [],
  7871. "events": [],
  7872. "listeners": [
  7873. {
  7874. "event": "calciteInternalDropdownItemSelect",
  7875. "capture": false,
  7876. "passive": false
  7877. }
  7878. ],
  7879. "styles": [],
  7880. "slots": [
  7881. {
  7882. "name": "",
  7883. "docs": "A slot for adding `calcite-dropdown-item` components."
  7884. }
  7885. ],
  7886. "parts": [],
  7887. "dependents": [],
  7888. "dependencies": [],
  7889. "dependencyGraph": {}
  7890. },
  7891. {
  7892. "filePath": "./src/components/dropdown-item/dropdown-item.tsx",
  7893. "encapsulation": "shadow",
  7894. "tag": "calcite-dropdown-item",
  7895. "readme": "# calcite-dropdown-item\n",
  7896. "docs": "",
  7897. "docsTags": [
  7898. {
  7899. "name": "slot",
  7900. "text": "- A slot for adding text."
  7901. }
  7902. ],
  7903. "usage": {},
  7904. "props": [
  7905. {
  7906. "name": "active",
  7907. "type": "boolean",
  7908. "mutable": true,
  7909. "attr": "active",
  7910. "reflectToAttr": true,
  7911. "docs": "Indicates whether the item is active.",
  7912. "docsTags": [
  7913. {
  7914. "name": "deprecated",
  7915. "text": "Use selected instead."
  7916. }
  7917. ],
  7918. "default": "false",
  7919. "deprecation": "Use selected instead.",
  7920. "values": [
  7921. {
  7922. "type": "boolean"
  7923. }
  7924. ],
  7925. "optional": false,
  7926. "required": false
  7927. },
  7928. {
  7929. "name": "href",
  7930. "type": "string",
  7931. "mutable": false,
  7932. "attr": "href",
  7933. "reflectToAttr": true,
  7934. "docs": "optionally pass a href - used to determine if the component should render as anchor",
  7935. "docsTags": [],
  7936. "values": [
  7937. {
  7938. "type": "string"
  7939. }
  7940. ],
  7941. "optional": true,
  7942. "required": false
  7943. },
  7944. {
  7945. "name": "iconEnd",
  7946. "type": "string",
  7947. "mutable": false,
  7948. "attr": "icon-end",
  7949. "reflectToAttr": true,
  7950. "docs": "Specifies an icon to display at the end of the component.",
  7951. "docsTags": [],
  7952. "values": [
  7953. {
  7954. "type": "string"
  7955. }
  7956. ],
  7957. "optional": true,
  7958. "required": false
  7959. },
  7960. {
  7961. "name": "iconFlipRtl",
  7962. "type": "\"both\" | \"end\" | \"start\"",
  7963. "mutable": false,
  7964. "attr": "icon-flip-rtl",
  7965. "reflectToAttr": true,
  7966. "docs": "When true, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  7967. "docsTags": [],
  7968. "values": [
  7969. {
  7970. "value": "both",
  7971. "type": "string"
  7972. },
  7973. {
  7974. "value": "end",
  7975. "type": "string"
  7976. },
  7977. {
  7978. "value": "start",
  7979. "type": "string"
  7980. }
  7981. ],
  7982. "optional": true,
  7983. "required": false
  7984. },
  7985. {
  7986. "name": "iconStart",
  7987. "type": "string",
  7988. "mutable": false,
  7989. "attr": "icon-start",
  7990. "reflectToAttr": true,
  7991. "docs": "Specifies an icon to display at the start of the component.",
  7992. "docsTags": [],
  7993. "values": [
  7994. {
  7995. "type": "string"
  7996. }
  7997. ],
  7998. "optional": true,
  7999. "required": false
  8000. },
  8001. {
  8002. "name": "label",
  8003. "type": "string",
  8004. "mutable": false,
  8005. "attr": "label",
  8006. "reflectToAttr": false,
  8007. "docs": "Applies to the aria-label attribute on the button or hyperlink",
  8008. "docsTags": [],
  8009. "values": [
  8010. {
  8011. "type": "string"
  8012. }
  8013. ],
  8014. "optional": true,
  8015. "required": false
  8016. },
  8017. {
  8018. "name": "rel",
  8019. "type": "string",
  8020. "mutable": false,
  8021. "attr": "rel",
  8022. "reflectToAttr": true,
  8023. "docs": "The rel attribute to apply to the hyperlink",
  8024. "docsTags": [],
  8025. "values": [
  8026. {
  8027. "type": "string"
  8028. }
  8029. ],
  8030. "optional": true,
  8031. "required": false
  8032. },
  8033. {
  8034. "name": "selected",
  8035. "type": "boolean",
  8036. "mutable": true,
  8037. "attr": "selected",
  8038. "reflectToAttr": true,
  8039. "docs": "When true, item is selected",
  8040. "docsTags": [],
  8041. "default": "false",
  8042. "values": [
  8043. {
  8044. "type": "boolean"
  8045. }
  8046. ],
  8047. "optional": false,
  8048. "required": false
  8049. },
  8050. {
  8051. "name": "target",
  8052. "type": "string",
  8053. "mutable": false,
  8054. "attr": "target",
  8055. "reflectToAttr": true,
  8056. "docs": "The target attribute to apply to the hyperlink",
  8057. "docsTags": [],
  8058. "values": [
  8059. {
  8060. "type": "string"
  8061. }
  8062. ],
  8063. "optional": true,
  8064. "required": false
  8065. }
  8066. ],
  8067. "methods": [
  8068. {
  8069. "name": "setFocus",
  8070. "returns": {
  8071. "type": "Promise<void>",
  8072. "docs": ""
  8073. },
  8074. "signature": "setFocus() => Promise<void>",
  8075. "parameters": [],
  8076. "docs": "Sets focus on the component.",
  8077. "docsTags": []
  8078. }
  8079. ],
  8080. "events": [],
  8081. "listeners": [
  8082. {
  8083. "event": "click",
  8084. "capture": false,
  8085. "passive": false
  8086. },
  8087. {
  8088. "event": "keydown",
  8089. "capture": false,
  8090. "passive": false
  8091. },
  8092. {
  8093. "event": "calciteInternalDropdownItemChange",
  8094. "target": "body",
  8095. "capture": false,
  8096. "passive": false
  8097. }
  8098. ],
  8099. "styles": [],
  8100. "slots": [
  8101. {
  8102. "name": "",
  8103. "docs": "A slot for adding text."
  8104. }
  8105. ],
  8106. "parts": [],
  8107. "dependents": [],
  8108. "dependencies": [
  8109. "calcite-icon"
  8110. ],
  8111. "dependencyGraph": {
  8112. "calcite-dropdown-item": [
  8113. "calcite-icon"
  8114. ]
  8115. }
  8116. },
  8117. {
  8118. "filePath": "./src/components/fab/fab.tsx",
  8119. "encapsulation": "shadow",
  8120. "tag": "calcite-fab",
  8121. "readme": "# calcite-fab\n",
  8122. "docs": "",
  8123. "docsTags": [],
  8124. "usage": {
  8125. "Basic": "Renders a `calcite-fab` that displays only an icon and a tooltip label.\n\n```html\n<calcite-fab label=\"Performs my custom action\"></calcite-fab>\n```\n",
  8126. "Loading-and-disabled": "Renders a `calcite-fab` that is loading and disabled.\n\n```html\n<calcite-fab loading disabled></calcite-fab>\n```\n",
  8127. "With-text": "Renders a `calcite-fab` that displays text along side an icon and a tooltip label.\n\n```html\n<calcite-fab label=\"Performs my custom action\" text=\"Perform Action!\" text-enabled></calcite-fab>\n```\n"
  8128. },
  8129. "props": [
  8130. {
  8131. "name": "appearance",
  8132. "type": "\"outline\" | \"solid\"",
  8133. "mutable": false,
  8134. "attr": "appearance",
  8135. "reflectToAttr": true,
  8136. "docs": "Used to set the button's appearance. Default is outline.",
  8137. "docsTags": [],
  8138. "default": "\"outline\"",
  8139. "values": [
  8140. {
  8141. "value": "outline",
  8142. "type": "string"
  8143. },
  8144. {
  8145. "value": "solid",
  8146. "type": "string"
  8147. }
  8148. ],
  8149. "optional": false,
  8150. "required": false
  8151. },
  8152. {
  8153. "name": "color",
  8154. "type": "\"blue\" | \"inverse\" | \"neutral\" | \"red\"",
  8155. "mutable": false,
  8156. "attr": "color",
  8157. "reflectToAttr": true,
  8158. "docs": "Used to set the button's color. Default is light.",
  8159. "docsTags": [],
  8160. "default": "\"neutral\"",
  8161. "values": [
  8162. {
  8163. "value": "blue",
  8164. "type": "string"
  8165. },
  8166. {
  8167. "value": "inverse",
  8168. "type": "string"
  8169. },
  8170. {
  8171. "value": "neutral",
  8172. "type": "string"
  8173. },
  8174. {
  8175. "value": "red",
  8176. "type": "string"
  8177. }
  8178. ],
  8179. "optional": false,
  8180. "required": false
  8181. },
  8182. {
  8183. "name": "disabled",
  8184. "type": "boolean",
  8185. "mutable": false,
  8186. "attr": "disabled",
  8187. "reflectToAttr": true,
  8188. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  8189. "docsTags": [],
  8190. "default": "false",
  8191. "values": [
  8192. {
  8193. "type": "boolean"
  8194. }
  8195. ],
  8196. "optional": false,
  8197. "required": false
  8198. },
  8199. {
  8200. "name": "icon",
  8201. "type": "string",
  8202. "mutable": false,
  8203. "attr": "icon",
  8204. "reflectToAttr": true,
  8205. "docs": "Specifies an icon to display.",
  8206. "docsTags": [
  8207. {
  8208. "name": "default",
  8209. "text": "\"plus\""
  8210. }
  8211. ],
  8212. "default": "ICONS.plus",
  8213. "values": [
  8214. {
  8215. "type": "string"
  8216. }
  8217. ],
  8218. "optional": true,
  8219. "required": false
  8220. },
  8221. {
  8222. "name": "label",
  8223. "type": "string",
  8224. "mutable": false,
  8225. "attr": "label",
  8226. "reflectToAttr": false,
  8227. "docs": "Label of the FAB, exposed on hover when textEnabled is false. If no label is provided, the label inherits what's provided for the `text` prop.",
  8228. "docsTags": [],
  8229. "values": [
  8230. {
  8231. "type": "string"
  8232. }
  8233. ],
  8234. "optional": true,
  8235. "required": false
  8236. },
  8237. {
  8238. "name": "loading",
  8239. "type": "boolean",
  8240. "mutable": false,
  8241. "attr": "loading",
  8242. "reflectToAttr": true,
  8243. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  8244. "docsTags": [],
  8245. "default": "false",
  8246. "values": [
  8247. {
  8248. "type": "boolean"
  8249. }
  8250. ],
  8251. "optional": false,
  8252. "required": false
  8253. },
  8254. {
  8255. "name": "scale",
  8256. "type": "\"l\" | \"m\" | \"s\"",
  8257. "mutable": false,
  8258. "attr": "scale",
  8259. "reflectToAttr": true,
  8260. "docs": "Specifies the size of the fab.",
  8261. "docsTags": [],
  8262. "default": "\"m\"",
  8263. "values": [
  8264. {
  8265. "value": "l",
  8266. "type": "string"
  8267. },
  8268. {
  8269. "value": "m",
  8270. "type": "string"
  8271. },
  8272. {
  8273. "value": "s",
  8274. "type": "string"
  8275. }
  8276. ],
  8277. "optional": false,
  8278. "required": false
  8279. },
  8280. {
  8281. "name": "text",
  8282. "type": "string",
  8283. "mutable": false,
  8284. "attr": "text",
  8285. "reflectToAttr": false,
  8286. "docs": "Text that accompanies the FAB icon.",
  8287. "docsTags": [],
  8288. "values": [
  8289. {
  8290. "type": "string"
  8291. }
  8292. ],
  8293. "optional": true,
  8294. "required": false
  8295. },
  8296. {
  8297. "name": "textEnabled",
  8298. "type": "boolean",
  8299. "mutable": false,
  8300. "attr": "text-enabled",
  8301. "reflectToAttr": true,
  8302. "docs": "Indicates whether the text is displayed.",
  8303. "docsTags": [],
  8304. "default": "false",
  8305. "values": [
  8306. {
  8307. "type": "boolean"
  8308. }
  8309. ],
  8310. "optional": false,
  8311. "required": false
  8312. }
  8313. ],
  8314. "methods": [
  8315. {
  8316. "name": "setFocus",
  8317. "returns": {
  8318. "type": "Promise<void>",
  8319. "docs": ""
  8320. },
  8321. "signature": "setFocus() => Promise<void>",
  8322. "parameters": [],
  8323. "docs": "Sets focus on the component.",
  8324. "docsTags": []
  8325. }
  8326. ],
  8327. "events": [],
  8328. "listeners": [],
  8329. "styles": [],
  8330. "slots": [],
  8331. "parts": [],
  8332. "dependents": [],
  8333. "dependencies": [
  8334. "calcite-button"
  8335. ],
  8336. "dependencyGraph": {
  8337. "calcite-fab": [
  8338. "calcite-button"
  8339. ],
  8340. "calcite-button": [
  8341. "calcite-loader",
  8342. "calcite-icon"
  8343. ]
  8344. }
  8345. },
  8346. {
  8347. "filePath": "./src/components/filter/filter.tsx",
  8348. "encapsulation": "shadow",
  8349. "tag": "calcite-filter",
  8350. "readme": "# calcite-filter\n",
  8351. "docs": "",
  8352. "docsTags": [],
  8353. "usage": {},
  8354. "props": [
  8355. {
  8356. "name": "disabled",
  8357. "type": "boolean",
  8358. "mutable": false,
  8359. "attr": "disabled",
  8360. "reflectToAttr": true,
  8361. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  8362. "docsTags": [],
  8363. "default": "false",
  8364. "values": [
  8365. {
  8366. "type": "boolean"
  8367. }
  8368. ],
  8369. "optional": false,
  8370. "required": false
  8371. },
  8372. {
  8373. "name": "filteredItems",
  8374. "type": "object[]",
  8375. "mutable": true,
  8376. "reflectToAttr": false,
  8377. "docs": "The resulting items after filtering.",
  8378. "docsTags": [
  8379. {
  8380. "name": "readonly"
  8381. }
  8382. ],
  8383. "default": "[]",
  8384. "values": [
  8385. {
  8386. "type": "object[]"
  8387. }
  8388. ],
  8389. "optional": false,
  8390. "required": false
  8391. },
  8392. {
  8393. "name": "intlClear",
  8394. "type": "string",
  8395. "mutable": false,
  8396. "attr": "intl-clear",
  8397. "reflectToAttr": false,
  8398. "docs": "A text label that will appear on the clear button.",
  8399. "docsTags": [],
  8400. "values": [
  8401. {
  8402. "type": "string"
  8403. }
  8404. ],
  8405. "optional": true,
  8406. "required": false
  8407. },
  8408. {
  8409. "name": "intlLabel",
  8410. "type": "string",
  8411. "mutable": false,
  8412. "attr": "intl-label",
  8413. "reflectToAttr": false,
  8414. "docs": "A text label that will appear next to the input field.",
  8415. "docsTags": [],
  8416. "values": [
  8417. {
  8418. "type": "string"
  8419. }
  8420. ],
  8421. "optional": true,
  8422. "required": false
  8423. },
  8424. {
  8425. "name": "items",
  8426. "type": "object[]",
  8427. "mutable": true,
  8428. "reflectToAttr": false,
  8429. "docs": "The items to filter through. The filter uses this as the starting point, and returns items\nthat contain the string entered in the input, using a partial match and recursive search.\n\nThis property is required.",
  8430. "docsTags": [],
  8431. "default": "[]",
  8432. "values": [
  8433. {
  8434. "type": "object[]"
  8435. }
  8436. ],
  8437. "optional": false,
  8438. "required": false
  8439. },
  8440. {
  8441. "name": "placeholder",
  8442. "type": "string",
  8443. "mutable": false,
  8444. "attr": "placeholder",
  8445. "reflectToAttr": false,
  8446. "docs": "Placeholder text for the input element's placeholder attribute",
  8447. "docsTags": [],
  8448. "values": [
  8449. {
  8450. "type": "string"
  8451. }
  8452. ],
  8453. "optional": true,
  8454. "required": false
  8455. },
  8456. {
  8457. "name": "scale",
  8458. "type": "\"l\" | \"m\" | \"s\"",
  8459. "mutable": false,
  8460. "attr": "scale",
  8461. "reflectToAttr": true,
  8462. "docs": "specify the scale of filter, defaults to m",
  8463. "docsTags": [],
  8464. "default": "\"m\"",
  8465. "values": [
  8466. {
  8467. "value": "l",
  8468. "type": "string"
  8469. },
  8470. {
  8471. "value": "m",
  8472. "type": "string"
  8473. },
  8474. {
  8475. "value": "s",
  8476. "type": "string"
  8477. }
  8478. ],
  8479. "optional": false,
  8480. "required": false
  8481. },
  8482. {
  8483. "name": "value",
  8484. "type": "string",
  8485. "mutable": true,
  8486. "attr": "value",
  8487. "reflectToAttr": false,
  8488. "docs": "Filter value.",
  8489. "docsTags": [],
  8490. "default": "\"\"",
  8491. "values": [
  8492. {
  8493. "type": "string"
  8494. }
  8495. ],
  8496. "optional": false,
  8497. "required": false
  8498. }
  8499. ],
  8500. "methods": [
  8501. {
  8502. "name": "setFocus",
  8503. "returns": {
  8504. "type": "Promise<void>",
  8505. "docs": ""
  8506. },
  8507. "signature": "setFocus() => Promise<void>",
  8508. "parameters": [],
  8509. "docs": "Sets focus on the component.",
  8510. "docsTags": []
  8511. }
  8512. ],
  8513. "events": [
  8514. {
  8515. "event": "calciteFilterChange",
  8516. "detail": "void",
  8517. "bubbles": true,
  8518. "cancelable": false,
  8519. "composed": true,
  8520. "docs": "This event fires when the filter text changes.",
  8521. "docsTags": []
  8522. }
  8523. ],
  8524. "listeners": [],
  8525. "styles": [],
  8526. "slots": [],
  8527. "parts": [],
  8528. "dependents": [
  8529. "calcite-pick-list",
  8530. "calcite-value-list"
  8531. ],
  8532. "dependencies": [
  8533. "calcite-input"
  8534. ],
  8535. "dependencyGraph": {
  8536. "calcite-filter": [
  8537. "calcite-input"
  8538. ],
  8539. "calcite-input": [
  8540. "calcite-progress",
  8541. "calcite-icon"
  8542. ],
  8543. "calcite-pick-list": [
  8544. "calcite-filter"
  8545. ],
  8546. "calcite-value-list": [
  8547. "calcite-filter"
  8548. ]
  8549. }
  8550. },
  8551. {
  8552. "filePath": "./src/components/flow/flow.tsx",
  8553. "encapsulation": "shadow",
  8554. "tag": "calcite-flow",
  8555. "readme": "# calcite-flow\n\nThe `calcite-flow` component is a series of panels that provides a user with a workflow (eg. editing experience), by which the user can switch from panel to panel of `calcite-panel`s.\n",
  8556. "docs": "The `calcite-flow` component is a series of panels that provides a user with a workflow (eg. editing experience), by which the user can switch from panel to panel of `calcite-panel`s.",
  8557. "docsTags": [
  8558. {
  8559. "name": "slot",
  8560. "text": "- A slot for adding `calcite-flow-item` or `calcite-panel`s (deprecated) to the flow."
  8561. }
  8562. ],
  8563. "usage": {
  8564. "Basic": "Renders a basic flow with a couple `calcite-panel`s.\n\n```html\n<calcite-flow>\n <calcite-panel heading=\"one, two, three, four\">\n <!-- image -->\n </calcite-panel>\n <calcite-panel heading=\"tell me that you love me more\">\n <!-- image -->\n </calcite-panel>\n</calcite-flow>\n```\n",
  8565. "Menu-actions-and-footer-actions": "Renders a flow with menu-actions and footer-actions in the form of buttons.\n\n```html\n<calcite-flow>\n <calcite-panel heading=\"What are the most popular commute alternatives?\">\n <button slot=\"header-menu-actions\">Reset</button>\n <button slot=\"header-menu-actions\">Rename</button>\n <button slot=\"footer-actions\">Save</button>\n <button slot=\"footer-actions\">Cancel</button>\n </calcite-panel>\n</calcite-flow>\n```\n"
  8566. },
  8567. "props": [],
  8568. "methods": [
  8569. {
  8570. "name": "back",
  8571. "returns": {
  8572. "type": "Promise<HTMLCalciteFlowItemElement>",
  8573. "docs": ""
  8574. },
  8575. "signature": "back() => Promise<HTMLCalciteFlowItemElement>",
  8576. "parameters": [],
  8577. "docs": "Removes the currently active `calcite-flow-item` or `calcite-panel`.",
  8578. "docsTags": []
  8579. }
  8580. ],
  8581. "events": [],
  8582. "listeners": [
  8583. {
  8584. "event": "calciteFlowItemBackClick",
  8585. "capture": false,
  8586. "passive": false
  8587. },
  8588. {
  8589. "event": "calcitePanelBackClick",
  8590. "capture": false,
  8591. "passive": false
  8592. }
  8593. ],
  8594. "styles": [],
  8595. "slots": [
  8596. {
  8597. "name": "",
  8598. "docs": "A slot for adding `calcite-flow-item` or `calcite-panel`s (deprecated) to the flow."
  8599. }
  8600. ],
  8601. "parts": [],
  8602. "dependents": [],
  8603. "dependencies": [],
  8604. "dependencyGraph": {}
  8605. },
  8606. {
  8607. "filePath": "./src/components/flow-item/flow-item.tsx",
  8608. "encapsulation": "shadow",
  8609. "tag": "calcite-flow-item",
  8610. "readme": "# calcite-flow-item\n",
  8611. "docs": "",
  8612. "docsTags": [
  8613. {
  8614. "name": "slot",
  8615. "text": "- A slot for adding custom content."
  8616. },
  8617. {
  8618. "name": "slot",
  8619. "text": "header-actions-start - A slot for adding actions or content to the start side of the header."
  8620. },
  8621. {
  8622. "name": "slot",
  8623. "text": "header-actions-end - A slot for adding actions or content to the end side of the header."
  8624. },
  8625. {
  8626. "name": "slot",
  8627. "text": "header-content - A slot for adding custom content to the header."
  8628. },
  8629. {
  8630. "name": "slot",
  8631. "text": "header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`."
  8632. },
  8633. {
  8634. "name": "slot",
  8635. "text": "fab - A slot for adding a `calcite-fab` (floating action button) to perform an action."
  8636. },
  8637. {
  8638. "name": "slot",
  8639. "text": "footer-actions - A slot for adding buttons to the footer."
  8640. },
  8641. {
  8642. "name": "slot",
  8643. "text": "footer - A slot for adding custom content to the footer."
  8644. }
  8645. ],
  8646. "usage": {},
  8647. "props": [
  8648. {
  8649. "name": "beforeBack",
  8650. "type": "() => Promise<void>",
  8651. "mutable": false,
  8652. "reflectToAttr": false,
  8653. "docs": "When provided, this method will be called before it is removed from the parent flow.",
  8654. "docsTags": [],
  8655. "values": [
  8656. {
  8657. "type": "() => Promise<void>"
  8658. }
  8659. ],
  8660. "optional": true,
  8661. "required": false
  8662. },
  8663. {
  8664. "name": "closable",
  8665. "type": "boolean",
  8666. "mutable": true,
  8667. "attr": "closable",
  8668. "reflectToAttr": true,
  8669. "docs": "When true, displays a close button in the trailing side of the header",
  8670. "docsTags": [],
  8671. "default": "false",
  8672. "values": [
  8673. {
  8674. "type": "boolean"
  8675. }
  8676. ],
  8677. "optional": false,
  8678. "required": false
  8679. },
  8680. {
  8681. "name": "closed",
  8682. "type": "boolean",
  8683. "mutable": true,
  8684. "attr": "closed",
  8685. "reflectToAttr": true,
  8686. "docs": "When true, flow-item will be hidden",
  8687. "docsTags": [],
  8688. "default": "false",
  8689. "values": [
  8690. {
  8691. "type": "boolean"
  8692. }
  8693. ],
  8694. "optional": false,
  8695. "required": false
  8696. },
  8697. {
  8698. "name": "description",
  8699. "type": "string",
  8700. "mutable": false,
  8701. "attr": "description",
  8702. "reflectToAttr": false,
  8703. "docs": "A description for the component.",
  8704. "docsTags": [],
  8705. "values": [
  8706. {
  8707. "type": "string"
  8708. }
  8709. ],
  8710. "optional": false,
  8711. "required": false
  8712. },
  8713. {
  8714. "name": "disabled",
  8715. "type": "boolean",
  8716. "mutable": false,
  8717. "attr": "disabled",
  8718. "reflectToAttr": true,
  8719. "docs": "When true, interaction is prevented and the component is displayed with lower opacity.",
  8720. "docsTags": [],
  8721. "default": "false",
  8722. "values": [
  8723. {
  8724. "type": "boolean"
  8725. }
  8726. ],
  8727. "optional": false,
  8728. "required": false
  8729. },
  8730. {
  8731. "name": "heading",
  8732. "type": "string",
  8733. "mutable": false,
  8734. "attr": "heading",
  8735. "reflectToAttr": false,
  8736. "docs": "The component header text.",
  8737. "docsTags": [],
  8738. "values": [
  8739. {
  8740. "type": "string"
  8741. }
  8742. ],
  8743. "optional": true,
  8744. "required": false
  8745. },
  8746. {
  8747. "name": "headingLevel",
  8748. "type": "1 | 2 | 3 | 4 | 5 | 6",
  8749. "mutable": false,
  8750. "attr": "heading-level",
  8751. "reflectToAttr": true,
  8752. "docs": "Specifies the number at which section headings should start.",
  8753. "docsTags": [],
  8754. "values": [
  8755. {
  8756. "value": "1",
  8757. "type": "number"
  8758. },
  8759. {
  8760. "value": "2",
  8761. "type": "number"
  8762. },
  8763. {
  8764. "value": "3",
  8765. "type": "number"
  8766. },
  8767. {
  8768. "value": "4",
  8769. "type": "number"
  8770. },
  8771. {
  8772. "value": "5",
  8773. "type": "number"
  8774. },
  8775. {
  8776. "value": "6",
  8777. "type": "number"
  8778. }
  8779. ],
  8780. "optional": false,
  8781. "required": false
  8782. },
  8783. {
  8784. "name": "heightScale",
  8785. "type": "\"l\" | \"m\" | \"s\"",
  8786. "mutable": false,
  8787. "attr": "height-scale",
  8788. "reflectToAttr": true,
  8789. "docs": "Specifies the maximum height of the component.",
  8790. "docsTags": [],
  8791. "values": [
  8792. {
  8793. "value": "l",
  8794. "type": "string"
  8795. },
  8796. {
  8797. "value": "m",
  8798. "type": "string"
  8799. },
  8800. {
  8801. "value": "s",
  8802. "type": "string"
  8803. }
  8804. ],
  8805. "optional": true,
  8806. "required": false
  8807. },
  8808. {
  8809. "name": "intlBack",
  8810. "type": "string",
  8811. "mutable": false,
  8812. "attr": "intl-back",
  8813. "reflectToAttr": false,
  8814. "docs": "Accessible name for the component's back button. The back button will only be shown when 'showBackButton' is true.",
  8815. "docsTags": [],
  8816. "values": [
  8817. {
  8818. "type": "string"
  8819. }
  8820. ],
  8821. "optional": true,
  8822. "required": false
  8823. },
  8824. {
  8825. "name": "intlClose",
  8826. "type": "string",
  8827. "mutable": false,
  8828. "attr": "intl-close",
  8829. "reflectToAttr": false,
  8830. "docs": "Accessible name for the component's close button. The close button will only be shown when 'dismissible' is true.",
  8831. "docsTags": [],
  8832. "values": [
  8833. {
  8834. "type": "string"
  8835. }
  8836. ],
  8837. "optional": true,
  8838. "required": false
  8839. },
  8840. {
  8841. "name": "intlOptions",
  8842. "type": "string",
  8843. "mutable": false,
  8844. "attr": "intl-options",
  8845. "reflectToAttr": false,
  8846. "docs": "Accessible name for the component's actions menu.",
  8847. "docsTags": [],
  8848. "values": [
  8849. {
  8850. "type": "string"
  8851. }
  8852. ],
  8853. "optional": true,
  8854. "required": false
  8855. },
  8856. {
  8857. "name": "loading",
  8858. "type": "boolean",
  8859. "mutable": false,
  8860. "attr": "loading",
  8861. "reflectToAttr": true,
  8862. "docs": "When true, a busy indicator is displayed.",
  8863. "docsTags": [],
  8864. "default": "false",
  8865. "values": [
  8866. {
  8867. "type": "boolean"
  8868. }
  8869. ],
  8870. "optional": false,
  8871. "required": false
  8872. },
  8873. {
  8874. "name": "menuOpen",
  8875. "type": "boolean",
  8876. "mutable": false,
  8877. "attr": "menu-open",
  8878. "reflectToAttr": true,
  8879. "docs": "When true, the action menu items in the `header-menu-actions` slot are open.",
  8880. "docsTags": [],
  8881. "default": "false",
  8882. "values": [
  8883. {
  8884. "type": "boolean"
  8885. }
  8886. ],
  8887. "optional": false,
  8888. "required": false
  8889. },
  8890. {
  8891. "name": "showBackButton",
  8892. "type": "boolean",
  8893. "mutable": false,
  8894. "attr": "show-back-button",
  8895. "reflectToAttr": true,
  8896. "docs": "When true, displays a back button in the header.",
  8897. "docsTags": [],
  8898. "default": "false",
  8899. "values": [
  8900. {
  8901. "type": "boolean"
  8902. }
  8903. ],
  8904. "optional": false,
  8905. "required": false
  8906. },
  8907. {
  8908. "name": "widthScale",
  8909. "type": "\"l\" | \"m\" | \"s\"",
  8910. "mutable": false,
  8911. "attr": "width-scale",
  8912. "reflectToAttr": true,
  8913. "docs": "Specifies the width of the component.",
  8914. "docsTags": [],
  8915. "values": [
  8916. {
  8917. "value": "l",
  8918. "type": "string"
  8919. },
  8920. {
  8921. "value": "m",
  8922. "type": "string"
  8923. },
  8924. {
  8925. "value": "s",
  8926. "type": "string"
  8927. }
  8928. ],
  8929. "optional": true,
  8930. "required": false
  8931. }
  8932. ],
  8933. "methods": [
  8934. {
  8935. "name": "scrollContentTo",
  8936. "returns": {
  8937. "type": "Promise<void>",
  8938. "docs": ""
  8939. },
  8940. "signature": "scrollContentTo(options?: ScrollToOptions) => Promise<void>",
  8941. "parameters": [],
  8942. "docs": "Scrolls the component's content to a specified set of coordinates.",
  8943. "docsTags": [
  8944. {
  8945. "name": "example",
  8946. "text": "myCalciteFlowItem.scrollContentTo({\n left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.\n top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element\n behavior: \"auto\" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).\n});"
  8947. },
  8948. {
  8949. "name": "param",
  8950. "text": "options"
  8951. }
  8952. ]
  8953. },
  8954. {
  8955. "name": "setFocus",
  8956. "returns": {
  8957. "type": "Promise<void>",
  8958. "docs": ""
  8959. },
  8960. "signature": "setFocus() => Promise<void>",
  8961. "parameters": [],
  8962. "docs": "Sets focus on the component.",
  8963. "docsTags": []
  8964. }
  8965. ],
  8966. "events": [
  8967. {
  8968. "event": "calciteFlowItemBack",
  8969. "detail": "void",
  8970. "bubbles": true,
  8971. "cancelable": false,
  8972. "composed": true,
  8973. "docs": "Fires when the back button is clicked.",
  8974. "docsTags": []
  8975. },
  8976. {
  8977. "event": "calciteFlowItemBackClick",
  8978. "detail": "void",
  8979. "bubbles": true,
  8980. "cancelable": false,
  8981. "composed": true,
  8982. "docs": "Fires when the back button is clicked.",
  8983. "docsTags": [
  8984. {
  8985. "name": "deprecated",
  8986. "text": "use calciteFlowItemBack instead."
  8987. }
  8988. ],
  8989. "deprecation": "use calciteFlowItemBack instead."
  8990. },
  8991. {
  8992. "event": "calciteFlowItemClose",
  8993. "detail": "void",
  8994. "bubbles": true,
  8995. "cancelable": false,
  8996. "composed": true,
  8997. "docs": "Fires when the close button is clicked.",
  8998. "docsTags": []
  8999. },
  9000. {
  9001. "event": "calciteFlowItemScroll",
  9002. "detail": "void",
  9003. "bubbles": true,
  9004. "cancelable": false,
  9005. "composed": true,
  9006. "docs": "Fires when the content is scrolled.",
  9007. "docsTags": []
  9008. }
  9009. ],
  9010. "listeners": [],
  9011. "styles": [],
  9012. "slots": [
  9013. {
  9014. "name": "",
  9015. "docs": "A slot for adding custom content."
  9016. },
  9017. {
  9018. "name": "fab",
  9019. "docs": "A slot for adding a `calcite-fab` (floating action button) to perform an action."
  9020. },
  9021. {
  9022. "name": "footer",
  9023. "docs": "A slot for adding custom content to the footer."
  9024. },
  9025. {
  9026. "name": "footer-actions",
  9027. "docs": "A slot for adding buttons to the footer."
  9028. },
  9029. {
  9030. "name": "header-actions-end",
  9031. "docs": "A slot for adding actions or content to the end side of the header."
  9032. },
  9033. {
  9034. "name": "header-actions-start",
  9035. "docs": "A slot for adding actions or content to the start side of the header."
  9036. },
  9037. {
  9038. "name": "header-content",
  9039. "docs": "A slot for adding custom content to the header."
  9040. },
  9041. {
  9042. "name": "header-menu-actions",
  9043. "docs": "A slot for adding an overflow menu with actions inside a `calcite-dropdown`."
  9044. }
  9045. ],
  9046. "parts": [],
  9047. "dependents": [],
  9048. "dependencies": [
  9049. "calcite-action",
  9050. "calcite-panel",
  9051. "calcite-tooltip"
  9052. ],
  9053. "dependencyGraph": {
  9054. "calcite-flow-item": [
  9055. "calcite-action",
  9056. "calcite-panel",
  9057. "calcite-tooltip"
  9058. ],
  9059. "calcite-action": [
  9060. "calcite-loader",
  9061. "calcite-icon"
  9062. ],
  9063. "calcite-panel": [
  9064. "calcite-action",
  9065. "calcite-action-menu",
  9066. "calcite-scrim"
  9067. ],
  9068. "calcite-action-menu": [
  9069. "calcite-action",
  9070. "calcite-popover"
  9071. ],
  9072. "calcite-popover": [
  9073. "calcite-action",
  9074. "calcite-icon"
  9075. ],
  9076. "calcite-scrim": [
  9077. "calcite-loader"
  9078. ]
  9079. }
  9080. },
  9081. {
  9082. "filePath": "./src/components/graph/graph.tsx",
  9083. "encapsulation": "shadow",
  9084. "tag": "calcite-graph",
  9085. "readme": "# calcite-graph\n\nThe graph component is used to show small, lightweight graphs in places where a full interactive chart is not needed. This includes sparklines, histograms, and small trend plots.\n",
  9086. "docs": "The graph component is used to show small, lightweight graphs in places where a full interactive chart is not needed. This includes sparklines, histograms, and small trend plots.",
  9087. "docsTags": [],
  9088. "usage": {},
  9089. "props": [
  9090. {
  9091. "name": "colorStops",
  9092. "type": "ColorStop[]",
  9093. "mutable": false,
  9094. "reflectToAttr": false,
  9095. "docs": "Array of values describing a single color stop ([offset, color, opacity])\nThese color stops should be sorted by offset value",
  9096. "docsTags": [],
  9097. "values": [
  9098. {
  9099. "type": "ColorStop[]"
  9100. }
  9101. ],
  9102. "optional": false,
  9103. "required": false
  9104. },
  9105. {
  9106. "name": "data",
  9107. "type": "Point[]",
  9108. "mutable": false,
  9109. "reflectToAttr": false,
  9110. "docs": "Array of tuples describing a single data point ([x, y])\nThese data points should be sorted by x-axis value",
  9111. "docsTags": [],
  9112. "default": "[]",
  9113. "values": [
  9114. {
  9115. "type": "Point[]"
  9116. }
  9117. ],
  9118. "optional": false,
  9119. "required": false
  9120. },
  9121. {
  9122. "name": "highlightMax",
  9123. "type": "number",
  9124. "mutable": false,
  9125. "attr": "highlight-max",
  9126. "reflectToAttr": false,
  9127. "docs": "End of highlight color if highlighting range",
  9128. "docsTags": [],
  9129. "values": [
  9130. {
  9131. "type": "number"
  9132. }
  9133. ],
  9134. "optional": false,
  9135. "required": false
  9136. },
  9137. {
  9138. "name": "highlightMin",
  9139. "type": "number",
  9140. "mutable": false,
  9141. "attr": "highlight-min",
  9142. "reflectToAttr": false,
  9143. "docs": "Start of highlight color if highlighting range",
  9144. "docsTags": [],
  9145. "values": [
  9146. {
  9147. "type": "number"
  9148. }
  9149. ],
  9150. "optional": false,
  9151. "required": false
  9152. },
  9153. {
  9154. "name": "max",
  9155. "type": "number",
  9156. "mutable": false,
  9157. "attr": "max",
  9158. "reflectToAttr": true,
  9159. "docs": "Highest point of the range",
  9160. "docsTags": [],
  9161. "values": [
  9162. {
  9163. "type": "number"
  9164. }
  9165. ],
  9166. "optional": false,
  9167. "required": true
  9168. },
  9169. {
  9170. "name": "min",
  9171. "type": "number",
  9172. "mutable": false,
  9173. "attr": "min",
  9174. "reflectToAttr": true,
  9175. "docs": "Lowest point of the range",
  9176. "docsTags": [],
  9177. "values": [
  9178. {
  9179. "type": "number"
  9180. }
  9181. ],
  9182. "optional": false,
  9183. "required": true
  9184. }
  9185. ],
  9186. "methods": [],
  9187. "events": [],
  9188. "listeners": [],
  9189. "styles": [],
  9190. "slots": [],
  9191. "parts": [],
  9192. "dependents": [
  9193. "calcite-slider"
  9194. ],
  9195. "dependencies": [],
  9196. "dependencyGraph": {
  9197. "calcite-slider": [
  9198. "calcite-graph"
  9199. ]
  9200. }
  9201. },
  9202. {
  9203. "filePath": "./src/components/handle/handle.tsx",
  9204. "encapsulation": "shadow",
  9205. "tag": "calcite-handle",
  9206. "readme": "# calcite-handle\n",
  9207. "docs": "",
  9208. "docsTags": [],
  9209. "usage": {},
  9210. "props": [
  9211. {
  9212. "name": "textTitle",
  9213. "type": "string",
  9214. "mutable": false,
  9215. "attr": "text-title",
  9216. "reflectToAttr": true,
  9217. "docs": "Value for the button title attribute",
  9218. "docsTags": [],
  9219. "default": "\"handle\"",
  9220. "values": [
  9221. {
  9222. "type": "string"
  9223. }
  9224. ],
  9225. "optional": false,
  9226. "required": false
  9227. }
  9228. ],
  9229. "methods": [
  9230. {
  9231. "name": "setFocus",
  9232. "returns": {
  9233. "type": "Promise<void>",
  9234. "docs": ""
  9235. },
  9236. "signature": "setFocus() => Promise<void>",
  9237. "parameters": [],
  9238. "docs": "Sets focus on the component.",
  9239. "docsTags": []
  9240. }
  9241. ],
  9242. "events": [
  9243. {
  9244. "event": "calciteHandleNudge",
  9245. "detail": "any",
  9246. "bubbles": true,
  9247. "cancelable": false,
  9248. "composed": true,
  9249. "docs": "Emitted when the handle is activated and the up or down arrow key is pressed.\n\n**Note:**: The `handle` event payload prop is deprecated, please use the event's `target`/`currentTarget` instead",
  9250. "docsTags": []
  9251. }
  9252. ],
  9253. "listeners": [],
  9254. "styles": [],
  9255. "slots": [],
  9256. "parts": [],
  9257. "dependents": [
  9258. "calcite-block"
  9259. ],
  9260. "dependencies": [
  9261. "calcite-icon"
  9262. ],
  9263. "dependencyGraph": {
  9264. "calcite-handle": [
  9265. "calcite-icon"
  9266. ],
  9267. "calcite-block": [
  9268. "calcite-handle"
  9269. ]
  9270. }
  9271. },
  9272. {
  9273. "filePath": "./src/components/icon/icon.tsx",
  9274. "encapsulation": "shadow",
  9275. "tag": "calcite-icon",
  9276. "readme": "# calcite-icon\n",
  9277. "docs": "",
  9278. "docsTags": [],
  9279. "usage": {
  9280. "Custom-icon-color": "To use a custom color for the icon fill, you can add a class to the `calcite-icon` component with the desired color.\n\n```html\n<calcite-icon class=\"my-icon-color-class\" icon=\"arrowBoldLeft\"></calcite-icon>\n```\n\n```css\n.my-icon-color-class {\n color: #007ac2;\n}\n```\n"
  9281. },
  9282. "props": [
  9283. {
  9284. "name": "flipRtl",
  9285. "type": "boolean",
  9286. "mutable": false,
  9287. "attr": "flip-rtl",
  9288. "reflectToAttr": true,
  9289. "docs": "When true, the icon will be flipped when the element direction is 'rtl'.",
  9290. "docsTags": [],
  9291. "default": "false",
  9292. "values": [
  9293. {
  9294. "type": "boolean"
  9295. }
  9296. ],
  9297. "optional": false,
  9298. "required": false
  9299. },
  9300. {
  9301. "name": "icon",
  9302. "type": "string",
  9303. "mutable": false,
  9304. "attr": "icon",
  9305. "reflectToAttr": true,
  9306. "docs": "The name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/.",
  9307. "docsTags": [],
  9308. "default": "null",
  9309. "values": [
  9310. {
  9311. "type": "string"
  9312. }
  9313. ],
  9314. "optional": false,
  9315. "required": false
  9316. },
  9317. {
  9318. "name": "scale",
  9319. "type": "\"l\" | \"m\" | \"s\"",
  9320. "mutable": false,
  9321. "attr": "scale",
  9322. "reflectToAttr": true,
  9323. "docs": "Icon scale.",
  9324. "docsTags": [],
  9325. "default": "\"m\"",
  9326. "values": [
  9327. {
  9328. "value": "l",
  9329. "type": "string"
  9330. },
  9331. {
  9332. "value": "m",
  9333. "type": "string"
  9334. },
  9335. {
  9336. "value": "s",
  9337. "type": "string"
  9338. }
  9339. ],
  9340. "optional": false,
  9341. "required": false
  9342. },
  9343. {
  9344. "name": "textLabel",
  9345. "type": "string",
  9346. "mutable": false,
  9347. "attr": "text-label",
  9348. "reflectToAttr": false,
  9349. "docs": "The icon label.\n\nIt is recommended to set this value if your icon is semantic.",
  9350. "docsTags": [],
  9351. "values": [
  9352. {
  9353. "type": "string"
  9354. }
  9355. ],
  9356. "optional": false,
  9357. "required": false
  9358. }
  9359. ],
  9360. "methods": [],
  9361. "events": [],
  9362. "listeners": [],
  9363. "styles": [
  9364. {
  9365. "name": "--calcite-ui-icon-color",
  9366. "annotation": "prop",
  9367. "docs": "the color of the icon. Defaults to 'currentColor'."
  9368. }
  9369. ],
  9370. "slots": [],
  9371. "parts": [],
  9372. "dependents": [
  9373. "calcite-accordion-item",
  9374. "calcite-action",
  9375. "calcite-alert",
  9376. "calcite-avatar",
  9377. "calcite-block",
  9378. "calcite-block-section",
  9379. "calcite-button",
  9380. "calcite-chip",
  9381. "calcite-combobox",
  9382. "calcite-combobox-item",
  9383. "calcite-date-picker-month-header",
  9384. "calcite-dropdown-item",
  9385. "calcite-handle",
  9386. "calcite-input",
  9387. "calcite-input-date-picker",
  9388. "calcite-input-message",
  9389. "calcite-input-number",
  9390. "calcite-input-text",
  9391. "calcite-link",
  9392. "calcite-modal",
  9393. "calcite-notice",
  9394. "calcite-pagination",
  9395. "calcite-pick-list-item",
  9396. "calcite-popover",
  9397. "calcite-radio-group-item",
  9398. "calcite-rating",
  9399. "calcite-select",
  9400. "calcite-stepper-item",
  9401. "calcite-tab-title",
  9402. "calcite-tile",
  9403. "calcite-time-picker",
  9404. "calcite-tip-manager",
  9405. "calcite-tree-item",
  9406. "calcite-value-list-item"
  9407. ],
  9408. "dependencies": [],
  9409. "dependencyGraph": {
  9410. "calcite-accordion-item": [
  9411. "calcite-icon"
  9412. ],
  9413. "calcite-action": [
  9414. "calcite-icon"
  9415. ],
  9416. "calcite-alert": [
  9417. "calcite-icon"
  9418. ],
  9419. "calcite-avatar": [
  9420. "calcite-icon"
  9421. ],
  9422. "calcite-block": [
  9423. "calcite-icon"
  9424. ],
  9425. "calcite-block-section": [
  9426. "calcite-icon"
  9427. ],
  9428. "calcite-button": [
  9429. "calcite-icon"
  9430. ],
  9431. "calcite-chip": [
  9432. "calcite-icon"
  9433. ],
  9434. "calcite-combobox": [
  9435. "calcite-icon"
  9436. ],
  9437. "calcite-combobox-item": [
  9438. "calcite-icon"
  9439. ],
  9440. "calcite-date-picker-month-header": [
  9441. "calcite-icon"
  9442. ],
  9443. "calcite-dropdown-item": [
  9444. "calcite-icon"
  9445. ],
  9446. "calcite-handle": [
  9447. "calcite-icon"
  9448. ],
  9449. "calcite-input": [
  9450. "calcite-icon"
  9451. ],
  9452. "calcite-input-date-picker": [
  9453. "calcite-icon"
  9454. ],
  9455. "calcite-input-message": [
  9456. "calcite-icon"
  9457. ],
  9458. "calcite-input-number": [
  9459. "calcite-icon"
  9460. ],
  9461. "calcite-input-text": [
  9462. "calcite-icon"
  9463. ],
  9464. "calcite-link": [
  9465. "calcite-icon"
  9466. ],
  9467. "calcite-modal": [
  9468. "calcite-icon"
  9469. ],
  9470. "calcite-notice": [
  9471. "calcite-icon"
  9472. ],
  9473. "calcite-pagination": [
  9474. "calcite-icon"
  9475. ],
  9476. "calcite-pick-list-item": [
  9477. "calcite-icon"
  9478. ],
  9479. "calcite-popover": [
  9480. "calcite-icon"
  9481. ],
  9482. "calcite-radio-group-item": [
  9483. "calcite-icon"
  9484. ],
  9485. "calcite-rating": [
  9486. "calcite-icon"
  9487. ],
  9488. "calcite-select": [
  9489. "calcite-icon"
  9490. ],
  9491. "calcite-stepper-item": [
  9492. "calcite-icon"
  9493. ],
  9494. "calcite-tab-title": [
  9495. "calcite-icon"
  9496. ],
  9497. "calcite-tile": [
  9498. "calcite-icon"
  9499. ],
  9500. "calcite-time-picker": [
  9501. "calcite-icon"
  9502. ],
  9503. "calcite-tip-manager": [
  9504. "calcite-icon"
  9505. ],
  9506. "calcite-tree-item": [
  9507. "calcite-icon"
  9508. ],
  9509. "calcite-value-list-item": [
  9510. "calcite-icon"
  9511. ]
  9512. }
  9513. },
  9514. {
  9515. "filePath": "./src/components/inline-editable/inline-editable.tsx",
  9516. "encapsulation": "shadow",
  9517. "tag": "calcite-inline-editable",
  9518. "readme": "# calcite-inline-editable\n",
  9519. "docs": "",
  9520. "docsTags": [
  9521. {
  9522. "name": "slot",
  9523. "text": "- A slot for adding a `calcite-input`."
  9524. }
  9525. ],
  9526. "usage": {
  9527. "Basic": "There is no need to set a theme or scale on the `<calcite-inline-editable>` component, as it inherits these values from the wrapped `<calcite-input>`, or the closest parent component where these props are set.\n\n```html\n<calcite-inline-editable>\n <calcite-input value=\"Entered value\" placeholder=\"My placeholder\"></calcite-input>\n</calcite-inline-editable>\n```\n",
  9528. "With-label": "```html\n<calcite-label>\n My great label\n <calcite-inline-editable controls>\n <calcite-input value=\"Entered value\" placeholder=\"My placeholder\"></calcite-input>\n </calcite-inline-editable>\n</calcite-label>\n```\n",
  9529. "With-save-and-cancel-controls": "```html\n<calcite-inline-editable controls>\n <calcite-input value=\"Entered value\" placeholder=\"My placeholder\"></calcite-input>\n</calcite-inline-editable>\n```\n"
  9530. },
  9531. "props": [
  9532. {
  9533. "name": "afterConfirm",
  9534. "type": "() => Promise<void>",
  9535. "mutable": false,
  9536. "reflectToAttr": false,
  9537. "docs": "when controls, specify a callback to be executed prior to disabling editing. when provided, loading state will be handled automatically.",
  9538. "docsTags": [],
  9539. "values": [
  9540. {
  9541. "type": "() => Promise<void>"
  9542. }
  9543. ],
  9544. "optional": true,
  9545. "required": false
  9546. },
  9547. {
  9548. "name": "controls",
  9549. "type": "boolean",
  9550. "mutable": false,
  9551. "attr": "controls",
  9552. "reflectToAttr": true,
  9553. "docs": "specify whether save/cancel controls should be displayed when editingEnabled is true, defaults to false",
  9554. "docsTags": [],
  9555. "default": "false",
  9556. "values": [
  9557. {
  9558. "type": "boolean"
  9559. }
  9560. ],
  9561. "optional": false,
  9562. "required": false
  9563. },
  9564. {
  9565. "name": "disabled",
  9566. "type": "boolean",
  9567. "mutable": false,
  9568. "attr": "disabled",
  9569. "reflectToAttr": true,
  9570. "docs": "specify whether editing can be enabled",
  9571. "docsTags": [],
  9572. "default": "false",
  9573. "values": [
  9574. {
  9575. "type": "boolean"
  9576. }
  9577. ],
  9578. "optional": false,
  9579. "required": false
  9580. },
  9581. {
  9582. "name": "editingEnabled",
  9583. "type": "boolean",
  9584. "mutable": true,
  9585. "attr": "editing-enabled",
  9586. "reflectToAttr": true,
  9587. "docs": "specify whether the wrapped input element is editable, defaults to false",
  9588. "docsTags": [],
  9589. "default": "false",
  9590. "values": [
  9591. {
  9592. "type": "boolean"
  9593. }
  9594. ],
  9595. "optional": false,
  9596. "required": false
  9597. },
  9598. {
  9599. "name": "intlCancelEditing",
  9600. "type": "string",
  9601. "mutable": false,
  9602. "attr": "intl-cancel-editing",
  9603. "reflectToAttr": true,
  9604. "docs": "specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`",
  9605. "docsTags": [
  9606. {
  9607. "name": "default",
  9608. "text": "\"Cancel\""
  9609. }
  9610. ],
  9611. "default": "TEXT.intlCancelEditing",
  9612. "values": [
  9613. {
  9614. "type": "string"
  9615. }
  9616. ],
  9617. "optional": false,
  9618. "required": false
  9619. },
  9620. {
  9621. "name": "intlConfirmChanges",
  9622. "type": "string",
  9623. "mutable": false,
  9624. "attr": "intl-confirm-changes",
  9625. "reflectToAttr": true,
  9626. "docs": "specify text to be user for the confirm changes button's aria-label, defaults to `Save`",
  9627. "docsTags": [
  9628. {
  9629. "name": "default",
  9630. "text": "\"Save\""
  9631. }
  9632. ],
  9633. "default": "TEXT.intlConfirmChanges",
  9634. "values": [
  9635. {
  9636. "type": "string"
  9637. }
  9638. ],
  9639. "optional": false,
  9640. "required": false
  9641. },
  9642. {
  9643. "name": "intlEnableEditing",
  9644. "type": "string",
  9645. "mutable": false,
  9646. "attr": "intl-enable-editing",
  9647. "reflectToAttr": true,
  9648. "docs": "specify text to be user for the enable editing button's aria-label, defaults to `Click to edit`",
  9649. "docsTags": [
  9650. {
  9651. "name": "default",
  9652. "text": "\"Click to edit\""
  9653. }
  9654. ],
  9655. "default": "TEXT.intlEnablingEditing",
  9656. "values": [
  9657. {
  9658. "type": "string"
  9659. }
  9660. ],
  9661. "optional": false,
  9662. "required": false
  9663. },
  9664. {
  9665. "name": "loading",
  9666. "type": "boolean",
  9667. "mutable": true,
  9668. "attr": "loading",
  9669. "reflectToAttr": true,
  9670. "docs": "specify whether the confirm button should display a loading state, defaults to false",
  9671. "docsTags": [],
  9672. "default": "false",
  9673. "values": [
  9674. {
  9675. "type": "boolean"
  9676. }
  9677. ],
  9678. "optional": false,
  9679. "required": false
  9680. },
  9681. {
  9682. "name": "scale",
  9683. "type": "\"l\" | \"m\" | \"s\"",
  9684. "mutable": true,
  9685. "attr": "scale",
  9686. "reflectToAttr": true,
  9687. "docs": "specify the scale of the inline-editable component, defaults to the scale of the wrapped calcite-input or the scale of the closest wrapping component with a set scale",
  9688. "docsTags": [],
  9689. "values": [
  9690. {
  9691. "value": "l",
  9692. "type": "string"
  9693. },
  9694. {
  9695. "value": "m",
  9696. "type": "string"
  9697. },
  9698. {
  9699. "value": "s",
  9700. "type": "string"
  9701. }
  9702. ],
  9703. "optional": true,
  9704. "required": false
  9705. }
  9706. ],
  9707. "methods": [
  9708. {
  9709. "name": "setFocus",
  9710. "returns": {
  9711. "type": "Promise<void>",
  9712. "docs": ""
  9713. },
  9714. "signature": "setFocus() => Promise<void>",
  9715. "parameters": [],
  9716. "docs": "",
  9717. "docsTags": []
  9718. }
  9719. ],
  9720. "events": [
  9721. {
  9722. "event": "calciteInlineEditableEditCancel",
  9723. "detail": "void",
  9724. "bubbles": true,
  9725. "cancelable": false,
  9726. "composed": true,
  9727. "docs": "Emitted when the cancel button gets clicked.",
  9728. "docsTags": []
  9729. },
  9730. {
  9731. "event": "calciteInlineEditableEditConfirm",
  9732. "detail": "void",
  9733. "bubbles": true,
  9734. "cancelable": false,
  9735. "composed": true,
  9736. "docs": "Emitted when the check button gets clicked.",
  9737. "docsTags": []
  9738. }
  9739. ],
  9740. "listeners": [
  9741. {
  9742. "event": "calciteInternalInputBlur",
  9743. "capture": false,
  9744. "passive": false
  9745. }
  9746. ],
  9747. "styles": [],
  9748. "slots": [
  9749. {
  9750. "name": "",
  9751. "docs": "A slot for adding a `calcite-input`."
  9752. }
  9753. ],
  9754. "parts": [],
  9755. "dependents": [],
  9756. "dependencies": [
  9757. "calcite-button"
  9758. ],
  9759. "dependencyGraph": {
  9760. "calcite-inline-editable": [
  9761. "calcite-button"
  9762. ],
  9763. "calcite-button": [
  9764. "calcite-loader",
  9765. "calcite-icon"
  9766. ]
  9767. }
  9768. },
  9769. {
  9770. "filePath": "./src/components/input/input.tsx",
  9771. "encapsulation": "shadow",
  9772. "tag": "calcite-input",
  9773. "readme": "# calcite-input\n",
  9774. "docs": "",
  9775. "docsTags": [
  9776. {
  9777. "name": "slot",
  9778. "text": "action - A slot for positioning a `calcite-button` next to the component."
  9779. }
  9780. ],
  9781. "usage": {
  9782. "Basic": "```html\n<calcite-input value=\"Entered value\" placeholder=\"My placeholder\"></calcite-input>\n```\n",
  9783. "Clearable": "```html\n<calcite-label>\n Clearable item\n <calcite-input clearable value=\"My great name\" placeholder=\"John Doe\"></calcite-input>\n</calcite-label>\n```\n",
  9784. "Native-events": "You can also listen for native events emitted from `<calcite-input>`.\n\nYou must use `focusin`/`focusout` instead of `focus`/`blur` because these events bubble up from the rendered child element rendered inside of `<calcite-input>`\n\nAll events return an element and a value:\n\n```js\ninput.addEventListener(\"focusin\", logFocus);\ninput.addEventListener(\"focusout\", logBlur);\n\nfunction logChange() {\n console.log(event.target.element);\n console.log(event.target.value);\n}\n```\n",
  9785. "With-label": "Using a wrapping `calcite-label` component lets consumers set the status attribute once and have it propagate to child `calcite-input` and `calcite-input-message` elements\n\n```html\n<calcite-label status=\"invalid\" for=\"invalid-input\">\n Invalid input\n <calcite-input id=\"invalid-input\" placeholder=\"Filter your files\" value=\"adfo2h2\"></calcite-input>\n <calcite-input-message active icon> Something doesn't look right </calcite-input-message>\n</calcite-label>\n```\n",
  9786. "With-message": "```html\n<calcite-label for=\"info\">\n My great label\n <calcite-input id=\"info\" placeholder=\"Enter your information\"></calcite-input>\n <calcite-input-message icon=\"3d-glasses\" active>\n Here's something you should know about this input\n </calcite-input-message>\n</calcite-label>\n```\n"
  9787. },
  9788. "props": [
  9789. {
  9790. "name": "alignment",
  9791. "type": "\"end\" | \"start\"",
  9792. "mutable": false,
  9793. "attr": "alignment",
  9794. "reflectToAttr": true,
  9795. "docs": "Specifies the text alignment of the component's value.",
  9796. "docsTags": [],
  9797. "default": "\"start\"",
  9798. "values": [
  9799. {
  9800. "value": "end",
  9801. "type": "string"
  9802. },
  9803. {
  9804. "value": "start",
  9805. "type": "string"
  9806. }
  9807. ],
  9808. "optional": false,
  9809. "required": false
  9810. },
  9811. {
  9812. "name": "autofocus",
  9813. "type": "boolean",
  9814. "mutable": false,
  9815. "attr": "autofocus",
  9816. "reflectToAttr": true,
  9817. "docs": "When `true`, the component is focused on page load.",
  9818. "docsTags": [
  9819. {
  9820. "name": "mdn",
  9821. "text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
  9822. }
  9823. ],
  9824. "default": "false",
  9825. "values": [
  9826. {
  9827. "type": "boolean"
  9828. }
  9829. ],
  9830. "optional": false,
  9831. "required": false
  9832. },
  9833. {
  9834. "name": "clearable",
  9835. "type": "boolean",
  9836. "mutable": false,
  9837. "attr": "clearable",
  9838. "reflectToAttr": true,
  9839. "docs": "When `true`, a clear button is displayed when the component has a value. The clear button shows by default for `\"search\"`, `\"time\"`, and `\"date\"` types, and will not display for the `\"textarea\"` type.",
  9840. "docsTags": [],
  9841. "default": "false",
  9842. "values": [
  9843. {
  9844. "type": "boolean"
  9845. }
  9846. ],
  9847. "optional": false,
  9848. "required": false
  9849. },
  9850. {
  9851. "name": "disabled",
  9852. "type": "boolean",
  9853. "mutable": false,
  9854. "attr": "disabled",
  9855. "reflectToAttr": true,
  9856. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  9857. "docsTags": [
  9858. {
  9859. "name": "mdn",
  9860. "text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
  9861. }
  9862. ],
  9863. "default": "false",
  9864. "values": [
  9865. {
  9866. "type": "boolean"
  9867. }
  9868. ],
  9869. "optional": false,
  9870. "required": false
  9871. },
  9872. {
  9873. "name": "groupSeparator",
  9874. "type": "boolean",
  9875. "mutable": false,
  9876. "attr": "group-separator",
  9877. "reflectToAttr": true,
  9878. "docs": "When `true`, number values are displayed with a group separator corresponding to the language and country format.",
  9879. "docsTags": [],
  9880. "default": "false",
  9881. "values": [
  9882. {
  9883. "type": "boolean"
  9884. }
  9885. ],
  9886. "optional": false,
  9887. "required": false
  9888. },
  9889. {
  9890. "name": "hidden",
  9891. "type": "boolean",
  9892. "mutable": false,
  9893. "attr": "hidden",
  9894. "reflectToAttr": true,
  9895. "docs": "When `true`, the component will not be visible.",
  9896. "docsTags": [
  9897. {
  9898. "name": "mdn",
  9899. "text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
  9900. }
  9901. ],
  9902. "default": "false",
  9903. "values": [
  9904. {
  9905. "type": "boolean"
  9906. }
  9907. ],
  9908. "optional": false,
  9909. "required": false
  9910. },
  9911. {
  9912. "name": "icon",
  9913. "type": "boolean | string",
  9914. "mutable": false,
  9915. "attr": "icon",
  9916. "reflectToAttr": true,
  9917. "docs": "When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.",
  9918. "docsTags": [],
  9919. "values": [
  9920. {
  9921. "type": "boolean"
  9922. },
  9923. {
  9924. "type": "string"
  9925. }
  9926. ],
  9927. "optional": false,
  9928. "required": false
  9929. },
  9930. {
  9931. "name": "iconFlipRtl",
  9932. "type": "boolean",
  9933. "mutable": false,
  9934. "attr": "icon-flip-rtl",
  9935. "reflectToAttr": true,
  9936. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  9937. "docsTags": [],
  9938. "default": "false",
  9939. "values": [
  9940. {
  9941. "type": "boolean"
  9942. }
  9943. ],
  9944. "optional": false,
  9945. "required": false
  9946. },
  9947. {
  9948. "name": "intlClear",
  9949. "type": "string",
  9950. "mutable": false,
  9951. "attr": "intl-clear",
  9952. "reflectToAttr": false,
  9953. "docs": "Accessible name for the component's clear button.",
  9954. "docsTags": [],
  9955. "values": [
  9956. {
  9957. "type": "string"
  9958. }
  9959. ],
  9960. "optional": true,
  9961. "required": false
  9962. },
  9963. {
  9964. "name": "intlLoading",
  9965. "type": "string",
  9966. "mutable": false,
  9967. "attr": "intl-loading",
  9968. "reflectToAttr": false,
  9969. "docs": "Accessible name when the component is loading.",
  9970. "docsTags": [
  9971. {
  9972. "name": "default",
  9973. "text": "\"Loading\""
  9974. }
  9975. ],
  9976. "default": "COMMON_TEXT.loading",
  9977. "values": [
  9978. {
  9979. "type": "string"
  9980. }
  9981. ],
  9982. "optional": true,
  9983. "required": false
  9984. },
  9985. {
  9986. "name": "label",
  9987. "type": "string",
  9988. "mutable": false,
  9989. "attr": "label",
  9990. "reflectToAttr": false,
  9991. "docs": "Accessible name for the component.",
  9992. "docsTags": [],
  9993. "values": [
  9994. {
  9995. "type": "string"
  9996. }
  9997. ],
  9998. "optional": true,
  9999. "required": false
  10000. },
  10001. {
  10002. "name": "loading",
  10003. "type": "boolean",
  10004. "mutable": false,
  10005. "attr": "loading",
  10006. "reflectToAttr": true,
  10007. "docs": "When `true`, a busy indicator is displayed.",
  10008. "docsTags": [],
  10009. "default": "false",
  10010. "values": [
  10011. {
  10012. "type": "boolean"
  10013. }
  10014. ],
  10015. "optional": false,
  10016. "required": false
  10017. },
  10018. {
  10019. "name": "locale",
  10020. "type": "string",
  10021. "mutable": false,
  10022. "attr": "locale",
  10023. "reflectToAttr": false,
  10024. "docs": "BCP 47 language tag for desired language and country format",
  10025. "docsTags": [
  10026. {
  10027. "name": "deprecated",
  10028. "text": "set the global `lang` attribute on the element instead."
  10029. },
  10030. {
  10031. "name": "mdn",
  10032. "text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
  10033. }
  10034. ],
  10035. "deprecation": "set the global `lang` attribute on the element instead.",
  10036. "values": [
  10037. {
  10038. "type": "string"
  10039. }
  10040. ],
  10041. "optional": false,
  10042. "required": false
  10043. },
  10044. {
  10045. "name": "max",
  10046. "type": "number",
  10047. "mutable": false,
  10048. "attr": "max",
  10049. "reflectToAttr": true,
  10050. "docs": "Specifies the maximum value for type \"number\".",
  10051. "docsTags": [
  10052. {
  10053. "name": "mdn",
  10054. "text": "[max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)"
  10055. }
  10056. ],
  10057. "values": [
  10058. {
  10059. "type": "number"
  10060. }
  10061. ],
  10062. "optional": true,
  10063. "required": false
  10064. },
  10065. {
  10066. "name": "maxLength",
  10067. "type": "number",
  10068. "mutable": false,
  10069. "attr": "max-length",
  10070. "reflectToAttr": true,
  10071. "docs": "Specifies the maximum length of text for the component's value.",
  10072. "docsTags": [
  10073. {
  10074. "name": "mdn",
  10075. "text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
  10076. }
  10077. ],
  10078. "values": [
  10079. {
  10080. "type": "number"
  10081. }
  10082. ],
  10083. "optional": true,
  10084. "required": false
  10085. },
  10086. {
  10087. "name": "maxlength",
  10088. "type": "number",
  10089. "mutable": false,
  10090. "attr": "maxlength",
  10091. "reflectToAttr": true,
  10092. "docs": "Specifies the maximum length of text for the component's value.",
  10093. "docsTags": [
  10094. {
  10095. "name": "deprecated",
  10096. "text": "use `maxLength` instead."
  10097. }
  10098. ],
  10099. "deprecation": "use `maxLength` instead.",
  10100. "values": [
  10101. {
  10102. "type": "number"
  10103. }
  10104. ],
  10105. "optional": true,
  10106. "required": false
  10107. },
  10108. {
  10109. "name": "min",
  10110. "type": "number",
  10111. "mutable": false,
  10112. "attr": "min",
  10113. "reflectToAttr": true,
  10114. "docs": "Specifies the minimum value for `type=\"number\"`.",
  10115. "docsTags": [
  10116. {
  10117. "name": "mdn",
  10118. "text": "[min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)"
  10119. }
  10120. ],
  10121. "values": [
  10122. {
  10123. "type": "number"
  10124. }
  10125. ],
  10126. "optional": true,
  10127. "required": false
  10128. },
  10129. {
  10130. "name": "minLength",
  10131. "type": "number",
  10132. "mutable": false,
  10133. "attr": "min-length",
  10134. "reflectToAttr": true,
  10135. "docs": "Specifies the minimum length of text for the component's value.",
  10136. "docsTags": [
  10137. {
  10138. "name": "mdn",
  10139. "text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
  10140. }
  10141. ],
  10142. "values": [
  10143. {
  10144. "type": "number"
  10145. }
  10146. ],
  10147. "optional": true,
  10148. "required": false
  10149. },
  10150. {
  10151. "name": "name",
  10152. "type": "string",
  10153. "mutable": false,
  10154. "attr": "name",
  10155. "reflectToAttr": true,
  10156. "docs": "Specifies the name of the component on form submission.",
  10157. "docsTags": [
  10158. {
  10159. "name": "mdn",
  10160. "text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
  10161. }
  10162. ],
  10163. "values": [
  10164. {
  10165. "type": "string"
  10166. }
  10167. ],
  10168. "optional": false,
  10169. "required": false
  10170. },
  10171. {
  10172. "name": "numberButtonType",
  10173. "type": "\"horizontal\" | \"none\" | \"vertical\"",
  10174. "mutable": false,
  10175. "attr": "number-button-type",
  10176. "reflectToAttr": true,
  10177. "docs": "Specifies the placement of the buttons for `type=\"number\"`.",
  10178. "docsTags": [],
  10179. "default": "\"vertical\"",
  10180. "values": [
  10181. {
  10182. "value": "horizontal",
  10183. "type": "string"
  10184. },
  10185. {
  10186. "value": "none",
  10187. "type": "string"
  10188. },
  10189. {
  10190. "value": "vertical",
  10191. "type": "string"
  10192. }
  10193. ],
  10194. "optional": true,
  10195. "required": false
  10196. },
  10197. {
  10198. "name": "numberingSystem",
  10199. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  10200. "mutable": false,
  10201. "attr": "numbering-system",
  10202. "reflectToAttr": true,
  10203. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  10204. "docsTags": [],
  10205. "values": [
  10206. {
  10207. "value": "arab",
  10208. "type": "string"
  10209. },
  10210. {
  10211. "value": "arabext",
  10212. "type": "string"
  10213. },
  10214. {
  10215. "value": "bali",
  10216. "type": "string"
  10217. },
  10218. {
  10219. "value": "beng",
  10220. "type": "string"
  10221. },
  10222. {
  10223. "value": "deva",
  10224. "type": "string"
  10225. },
  10226. {
  10227. "value": "fullwide",
  10228. "type": "string"
  10229. },
  10230. {
  10231. "value": "gujr",
  10232. "type": "string"
  10233. },
  10234. {
  10235. "value": "guru",
  10236. "type": "string"
  10237. },
  10238. {
  10239. "value": "hanidec",
  10240. "type": "string"
  10241. },
  10242. {
  10243. "value": "khmr",
  10244. "type": "string"
  10245. },
  10246. {
  10247. "value": "knda",
  10248. "type": "string"
  10249. },
  10250. {
  10251. "value": "laoo",
  10252. "type": "string"
  10253. },
  10254. {
  10255. "value": "latn",
  10256. "type": "string"
  10257. },
  10258. {
  10259. "value": "limb",
  10260. "type": "string"
  10261. },
  10262. {
  10263. "value": "mlym",
  10264. "type": "string"
  10265. },
  10266. {
  10267. "value": "mong",
  10268. "type": "string"
  10269. },
  10270. {
  10271. "value": "mymr",
  10272. "type": "string"
  10273. },
  10274. {
  10275. "value": "orya",
  10276. "type": "string"
  10277. },
  10278. {
  10279. "value": "tamldec",
  10280. "type": "string"
  10281. },
  10282. {
  10283. "value": "telu",
  10284. "type": "string"
  10285. },
  10286. {
  10287. "value": "thai",
  10288. "type": "string"
  10289. },
  10290. {
  10291. "value": "tibt",
  10292. "type": "string"
  10293. }
  10294. ],
  10295. "optional": true,
  10296. "required": false
  10297. },
  10298. {
  10299. "name": "placeholder",
  10300. "type": "string",
  10301. "mutable": false,
  10302. "attr": "placeholder",
  10303. "reflectToAttr": false,
  10304. "docs": "Specifies placeholder text for the component.",
  10305. "docsTags": [
  10306. {
  10307. "name": "mdn",
  10308. "text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
  10309. }
  10310. ],
  10311. "values": [
  10312. {
  10313. "type": "string"
  10314. }
  10315. ],
  10316. "optional": false,
  10317. "required": false
  10318. },
  10319. {
  10320. "name": "prefixText",
  10321. "type": "string",
  10322. "mutable": false,
  10323. "attr": "prefix-text",
  10324. "reflectToAttr": false,
  10325. "docs": "Adds text to the start of the component.",
  10326. "docsTags": [],
  10327. "values": [
  10328. {
  10329. "type": "string"
  10330. }
  10331. ],
  10332. "optional": true,
  10333. "required": false
  10334. },
  10335. {
  10336. "name": "readOnly",
  10337. "type": "boolean",
  10338. "mutable": false,
  10339. "attr": "read-only",
  10340. "reflectToAttr": true,
  10341. "docs": "When `true`, the component's value can be read, but cannot be modified.",
  10342. "docsTags": [
  10343. {
  10344. "name": "mdn",
  10345. "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
  10346. }
  10347. ],
  10348. "default": "false",
  10349. "values": [
  10350. {
  10351. "type": "boolean"
  10352. }
  10353. ],
  10354. "optional": false,
  10355. "required": false
  10356. },
  10357. {
  10358. "name": "required",
  10359. "type": "boolean",
  10360. "mutable": false,
  10361. "attr": "required",
  10362. "reflectToAttr": true,
  10363. "docs": "When `true`, the component must have a value in order for the form to submit.",
  10364. "docsTags": [],
  10365. "default": "false",
  10366. "values": [
  10367. {
  10368. "type": "boolean"
  10369. }
  10370. ],
  10371. "optional": false,
  10372. "required": false
  10373. },
  10374. {
  10375. "name": "scale",
  10376. "type": "\"l\" | \"m\" | \"s\"",
  10377. "mutable": true,
  10378. "attr": "scale",
  10379. "reflectToAttr": true,
  10380. "docs": "Specifies the size of the component.",
  10381. "docsTags": [],
  10382. "default": "\"m\"",
  10383. "values": [
  10384. {
  10385. "value": "l",
  10386. "type": "string"
  10387. },
  10388. {
  10389. "value": "m",
  10390. "type": "string"
  10391. },
  10392. {
  10393. "value": "s",
  10394. "type": "string"
  10395. }
  10396. ],
  10397. "optional": false,
  10398. "required": false
  10399. },
  10400. {
  10401. "name": "status",
  10402. "type": "\"idle\" | \"invalid\" | \"valid\"",
  10403. "mutable": true,
  10404. "attr": "status",
  10405. "reflectToAttr": true,
  10406. "docs": "Specifies the status of the input field, which determines message and icons.",
  10407. "docsTags": [],
  10408. "default": "\"idle\"",
  10409. "values": [
  10410. {
  10411. "value": "idle",
  10412. "type": "string"
  10413. },
  10414. {
  10415. "value": "invalid",
  10416. "type": "string"
  10417. },
  10418. {
  10419. "value": "valid",
  10420. "type": "string"
  10421. }
  10422. ],
  10423. "optional": false,
  10424. "required": false
  10425. },
  10426. {
  10427. "name": "step",
  10428. "type": "\"any\" | number",
  10429. "mutable": false,
  10430. "attr": "step",
  10431. "reflectToAttr": true,
  10432. "docs": "Specifies the granularity the component's value must adhere to.",
  10433. "docsTags": [
  10434. {
  10435. "name": "mdn",
  10436. "text": "[step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)"
  10437. }
  10438. ],
  10439. "values": [
  10440. {
  10441. "value": "any",
  10442. "type": "string"
  10443. },
  10444. {
  10445. "type": "number"
  10446. }
  10447. ],
  10448. "optional": true,
  10449. "required": false
  10450. },
  10451. {
  10452. "name": "suffixText",
  10453. "type": "string",
  10454. "mutable": false,
  10455. "attr": "suffix-text",
  10456. "reflectToAttr": false,
  10457. "docs": "Adds text to the end of the component.",
  10458. "docsTags": [],
  10459. "values": [
  10460. {
  10461. "type": "string"
  10462. }
  10463. ],
  10464. "optional": true,
  10465. "required": false
  10466. },
  10467. {
  10468. "name": "type",
  10469. "type": "\"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"image\" | \"month\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"time\" | \"url\" | \"week\"",
  10470. "mutable": false,
  10471. "attr": "type",
  10472. "reflectToAttr": true,
  10473. "docs": "Specifies the component type.\n\nNote that the following `type`s add type-specific icons by default: `\"date\"`, `\"email\"`, `\"password\"`, `\"search\"`, `\"tel\"`, `\"time\"`.",
  10474. "docsTags": [],
  10475. "default": "\"text\"",
  10476. "values": [
  10477. {
  10478. "value": "color",
  10479. "type": "string"
  10480. },
  10481. {
  10482. "value": "date",
  10483. "type": "string"
  10484. },
  10485. {
  10486. "value": "datetime-local",
  10487. "type": "string"
  10488. },
  10489. {
  10490. "value": "email",
  10491. "type": "string"
  10492. },
  10493. {
  10494. "value": "file",
  10495. "type": "string"
  10496. },
  10497. {
  10498. "value": "image",
  10499. "type": "string"
  10500. },
  10501. {
  10502. "value": "month",
  10503. "type": "string"
  10504. },
  10505. {
  10506. "value": "number",
  10507. "type": "string"
  10508. },
  10509. {
  10510. "value": "password",
  10511. "type": "string"
  10512. },
  10513. {
  10514. "value": "search",
  10515. "type": "string"
  10516. },
  10517. {
  10518. "value": "tel",
  10519. "type": "string"
  10520. },
  10521. {
  10522. "value": "text",
  10523. "type": "string"
  10524. },
  10525. {
  10526. "value": "textarea",
  10527. "type": "string"
  10528. },
  10529. {
  10530. "value": "time",
  10531. "type": "string"
  10532. },
  10533. {
  10534. "value": "url",
  10535. "type": "string"
  10536. },
  10537. {
  10538. "value": "week",
  10539. "type": "string"
  10540. }
  10541. ],
  10542. "optional": false,
  10543. "required": false
  10544. },
  10545. {
  10546. "name": "value",
  10547. "type": "string",
  10548. "mutable": true,
  10549. "attr": "value",
  10550. "reflectToAttr": false,
  10551. "docs": "The component's value.",
  10552. "docsTags": [],
  10553. "default": "\"\"",
  10554. "values": [
  10555. {
  10556. "type": "string"
  10557. }
  10558. ],
  10559. "optional": false,
  10560. "required": false
  10561. }
  10562. ],
  10563. "methods": [
  10564. {
  10565. "name": "selectText",
  10566. "returns": {
  10567. "type": "Promise<void>",
  10568. "docs": ""
  10569. },
  10570. "signature": "selectText() => Promise<void>",
  10571. "parameters": [],
  10572. "docs": "Selects all text of the component's `value`.",
  10573. "docsTags": []
  10574. },
  10575. {
  10576. "name": "setFocus",
  10577. "returns": {
  10578. "type": "Promise<void>",
  10579. "docs": ""
  10580. },
  10581. "signature": "setFocus() => Promise<void>",
  10582. "parameters": [],
  10583. "docs": "Sets focus on the component.",
  10584. "docsTags": []
  10585. }
  10586. ],
  10587. "events": [
  10588. {
  10589. "event": "calciteInputChange",
  10590. "detail": "void",
  10591. "bubbles": true,
  10592. "cancelable": false,
  10593. "composed": true,
  10594. "docs": "Fires each time a new `value` is typed and committed.",
  10595. "docsTags": []
  10596. },
  10597. {
  10598. "event": "calciteInputInput",
  10599. "detail": "any",
  10600. "bubbles": true,
  10601. "cancelable": true,
  10602. "composed": true,
  10603. "docs": "Fires each time a new `value` is typed.\n\n**Note:**: The `el` and `value` event payload properties are deprecated, use the event's `target`/`currentTarget` instead.",
  10604. "docsTags": []
  10605. }
  10606. ],
  10607. "listeners": [],
  10608. "styles": [],
  10609. "slots": [
  10610. {
  10611. "name": "action",
  10612. "docs": "A slot for positioning a `calcite-button` next to the component."
  10613. }
  10614. ],
  10615. "parts": [],
  10616. "dependents": [
  10617. "calcite-color-picker",
  10618. "calcite-color-picker-hex-input",
  10619. "calcite-filter",
  10620. "calcite-input-date-picker",
  10621. "calcite-input-time-picker"
  10622. ],
  10623. "dependencies": [
  10624. "calcite-progress",
  10625. "calcite-icon"
  10626. ],
  10627. "dependencyGraph": {
  10628. "calcite-input": [
  10629. "calcite-progress",
  10630. "calcite-icon"
  10631. ],
  10632. "calcite-color-picker": [
  10633. "calcite-input"
  10634. ],
  10635. "calcite-color-picker-hex-input": [
  10636. "calcite-input"
  10637. ],
  10638. "calcite-filter": [
  10639. "calcite-input"
  10640. ],
  10641. "calcite-input-date-picker": [
  10642. "calcite-input"
  10643. ],
  10644. "calcite-input-time-picker": [
  10645. "calcite-input"
  10646. ]
  10647. }
  10648. },
  10649. {
  10650. "filePath": "./src/components/input-date-picker/input-date-picker.tsx",
  10651. "encapsulation": "shadow",
  10652. "tag": "calcite-input-date-picker",
  10653. "readme": "# calcite-input-date-picker\n",
  10654. "docs": "",
  10655. "docsTags": [],
  10656. "usage": {
  10657. "Basic": "```html\n<div style=\"width: 400px\">\n <calcite-label layout=\"inline\">\n Date\n <calcite-input-date-picker\n min=\"2016-08-09\"\n max=\"2023-12-18\"\n lang=\"en\"\n intl-next-month=\"Next month\"\n intl-prev-month=\"Previous month\"\n role=\"application\"\n layout=\"horizontal\"\n ></calcite-input-date-picker>\n </calcite-label>\n</div>\n```\n"
  10658. },
  10659. "props": [
  10660. {
  10661. "name": "active",
  10662. "type": "boolean",
  10663. "mutable": true,
  10664. "attr": "active",
  10665. "reflectToAttr": true,
  10666. "docs": "When `true`, the component is active.",
  10667. "docsTags": [
  10668. {
  10669. "name": "deprecated",
  10670. "text": "use `open` instead."
  10671. }
  10672. ],
  10673. "default": "false",
  10674. "deprecation": "use `open` instead.",
  10675. "values": [
  10676. {
  10677. "type": "boolean"
  10678. }
  10679. ],
  10680. "optional": false,
  10681. "required": false
  10682. },
  10683. {
  10684. "name": "disabled",
  10685. "type": "boolean",
  10686. "mutable": false,
  10687. "attr": "disabled",
  10688. "reflectToAttr": true,
  10689. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  10690. "docsTags": [],
  10691. "default": "false",
  10692. "values": [
  10693. {
  10694. "type": "boolean"
  10695. }
  10696. ],
  10697. "optional": false,
  10698. "required": false
  10699. },
  10700. {
  10701. "name": "end",
  10702. "type": "string",
  10703. "mutable": true,
  10704. "attr": "end",
  10705. "reflectToAttr": true,
  10706. "docs": "The component's end date.",
  10707. "docsTags": [
  10708. {
  10709. "name": "deprecated",
  10710. "text": "use `value` instead."
  10711. }
  10712. ],
  10713. "deprecation": "use `value` instead.",
  10714. "values": [
  10715. {
  10716. "type": "string"
  10717. }
  10718. ],
  10719. "optional": true,
  10720. "required": false
  10721. },
  10722. {
  10723. "name": "endAsDate",
  10724. "type": "Date",
  10725. "mutable": true,
  10726. "reflectToAttr": false,
  10727. "docs": "The component's end date as a full date object.",
  10728. "docsTags": [
  10729. {
  10730. "name": "deprecated",
  10731. "text": "use `valueAsDate` instead."
  10732. }
  10733. ],
  10734. "deprecation": "use `valueAsDate` instead.",
  10735. "values": [
  10736. {
  10737. "type": "Date"
  10738. }
  10739. ],
  10740. "optional": true,
  10741. "required": false
  10742. },
  10743. {
  10744. "name": "flipPlacements",
  10745. "type": "Placement[]",
  10746. "mutable": false,
  10747. "reflectToAttr": false,
  10748. "docs": "Defines the available placements that can be used when a flip occurs.",
  10749. "docsTags": [],
  10750. "values": [
  10751. {
  10752. "type": "Placement[]"
  10753. }
  10754. ],
  10755. "optional": true,
  10756. "required": false
  10757. },
  10758. {
  10759. "name": "headingLevel",
  10760. "type": "1 | 2 | 3 | 4 | 5 | 6",
  10761. "mutable": false,
  10762. "attr": "heading-level",
  10763. "reflectToAttr": true,
  10764. "docs": "Specifies the number at which section headings should start.",
  10765. "docsTags": [],
  10766. "values": [
  10767. {
  10768. "value": "1",
  10769. "type": "number"
  10770. },
  10771. {
  10772. "value": "2",
  10773. "type": "number"
  10774. },
  10775. {
  10776. "value": "3",
  10777. "type": "number"
  10778. },
  10779. {
  10780. "value": "4",
  10781. "type": "number"
  10782. },
  10783. {
  10784. "value": "5",
  10785. "type": "number"
  10786. },
  10787. {
  10788. "value": "6",
  10789. "type": "number"
  10790. }
  10791. ],
  10792. "optional": false,
  10793. "required": false
  10794. },
  10795. {
  10796. "name": "intlNextMonth",
  10797. "type": "string",
  10798. "mutable": false,
  10799. "attr": "intl-next-month",
  10800. "reflectToAttr": false,
  10801. "docs": "Accessible name for the component's next month button.",
  10802. "docsTags": [
  10803. {
  10804. "name": "default",
  10805. "text": "\"Next month\""
  10806. }
  10807. ],
  10808. "default": "TEXT.nextMonth",
  10809. "values": [
  10810. {
  10811. "type": "string"
  10812. }
  10813. ],
  10814. "optional": true,
  10815. "required": false
  10816. },
  10817. {
  10818. "name": "intlPrevMonth",
  10819. "type": "string",
  10820. "mutable": false,
  10821. "attr": "intl-prev-month",
  10822. "reflectToAttr": false,
  10823. "docs": "Accessible name for the component's previous month button.",
  10824. "docsTags": [
  10825. {
  10826. "name": "default",
  10827. "text": "\"Previous month\""
  10828. }
  10829. ],
  10830. "default": "TEXT.prevMonth",
  10831. "values": [
  10832. {
  10833. "type": "string"
  10834. }
  10835. ],
  10836. "optional": true,
  10837. "required": false
  10838. },
  10839. {
  10840. "name": "intlYear",
  10841. "type": "string",
  10842. "mutable": false,
  10843. "attr": "intl-year",
  10844. "reflectToAttr": false,
  10845. "docs": "Accessible name for the component's year input.",
  10846. "docsTags": [
  10847. {
  10848. "name": "default",
  10849. "text": "\"Year\""
  10850. }
  10851. ],
  10852. "default": "TEXT.year",
  10853. "values": [
  10854. {
  10855. "type": "string"
  10856. }
  10857. ],
  10858. "optional": true,
  10859. "required": false
  10860. },
  10861. {
  10862. "name": "layout",
  10863. "type": "\"horizontal\" | \"vertical\"",
  10864. "mutable": false,
  10865. "attr": "layout",
  10866. "reflectToAttr": true,
  10867. "docs": "Defines the layout of the component.",
  10868. "docsTags": [],
  10869. "default": "\"horizontal\"",
  10870. "values": [
  10871. {
  10872. "value": "horizontal",
  10873. "type": "string"
  10874. },
  10875. {
  10876. "value": "vertical",
  10877. "type": "string"
  10878. }
  10879. ],
  10880. "optional": false,
  10881. "required": false
  10882. },
  10883. {
  10884. "name": "locale",
  10885. "type": "string",
  10886. "mutable": false,
  10887. "attr": "locale",
  10888. "reflectToAttr": false,
  10889. "docs": "Specifies the BCP 47 language tag for the desired language and country format.",
  10890. "docsTags": [
  10891. {
  10892. "name": "deprecated",
  10893. "text": "set the global `lang` attribute on the element instead."
  10894. },
  10895. {
  10896. "name": "mdn",
  10897. "text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
  10898. }
  10899. ],
  10900. "deprecation": "set the global `lang` attribute on the element instead.",
  10901. "values": [
  10902. {
  10903. "type": "string"
  10904. }
  10905. ],
  10906. "optional": true,
  10907. "required": false
  10908. },
  10909. {
  10910. "name": "max",
  10911. "type": "string",
  10912. "mutable": true,
  10913. "attr": "max",
  10914. "reflectToAttr": false,
  10915. "docs": "Specifies the latest allowed date (\"yyyy-mm-dd\").",
  10916. "docsTags": [],
  10917. "values": [
  10918. {
  10919. "type": "string"
  10920. }
  10921. ],
  10922. "optional": true,
  10923. "required": false
  10924. },
  10925. {
  10926. "name": "maxAsDate",
  10927. "type": "Date",
  10928. "mutable": true,
  10929. "reflectToAttr": false,
  10930. "docs": "Specifies the latest allowed date as a full date object.",
  10931. "docsTags": [],
  10932. "values": [
  10933. {
  10934. "type": "Date"
  10935. }
  10936. ],
  10937. "optional": true,
  10938. "required": false
  10939. },
  10940. {
  10941. "name": "min",
  10942. "type": "string",
  10943. "mutable": true,
  10944. "attr": "min",
  10945. "reflectToAttr": false,
  10946. "docs": "Specifies the earliest allowed date (\"yyyy-mm-dd\").",
  10947. "docsTags": [],
  10948. "values": [
  10949. {
  10950. "type": "string"
  10951. }
  10952. ],
  10953. "optional": true,
  10954. "required": false
  10955. },
  10956. {
  10957. "name": "minAsDate",
  10958. "type": "Date",
  10959. "mutable": true,
  10960. "reflectToAttr": false,
  10961. "docs": "Specifies the earliest allowed date as a full date object.",
  10962. "docsTags": [],
  10963. "values": [
  10964. {
  10965. "type": "Date"
  10966. }
  10967. ],
  10968. "optional": true,
  10969. "required": false
  10970. },
  10971. {
  10972. "name": "name",
  10973. "type": "string",
  10974. "mutable": false,
  10975. "attr": "name",
  10976. "reflectToAttr": true,
  10977. "docs": "Specifies the name of the component on form submission.",
  10978. "docsTags": [],
  10979. "values": [
  10980. {
  10981. "type": "string"
  10982. }
  10983. ],
  10984. "optional": false,
  10985. "required": false
  10986. },
  10987. {
  10988. "name": "numberingSystem",
  10989. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  10990. "mutable": false,
  10991. "attr": "numbering-system",
  10992. "reflectToAttr": true,
  10993. "docs": "Specifies the Unicode numeral system used by the component for localization. This property cannot be dynamically changed.",
  10994. "docsTags": [],
  10995. "values": [
  10996. {
  10997. "value": "arab",
  10998. "type": "string"
  10999. },
  11000. {
  11001. "value": "arabext",
  11002. "type": "string"
  11003. },
  11004. {
  11005. "value": "bali",
  11006. "type": "string"
  11007. },
  11008. {
  11009. "value": "beng",
  11010. "type": "string"
  11011. },
  11012. {
  11013. "value": "deva",
  11014. "type": "string"
  11015. },
  11016. {
  11017. "value": "fullwide",
  11018. "type": "string"
  11019. },
  11020. {
  11021. "value": "gujr",
  11022. "type": "string"
  11023. },
  11024. {
  11025. "value": "guru",
  11026. "type": "string"
  11027. },
  11028. {
  11029. "value": "hanidec",
  11030. "type": "string"
  11031. },
  11032. {
  11033. "value": "khmr",
  11034. "type": "string"
  11035. },
  11036. {
  11037. "value": "knda",
  11038. "type": "string"
  11039. },
  11040. {
  11041. "value": "laoo",
  11042. "type": "string"
  11043. },
  11044. {
  11045. "value": "latn",
  11046. "type": "string"
  11047. },
  11048. {
  11049. "value": "limb",
  11050. "type": "string"
  11051. },
  11052. {
  11053. "value": "mlym",
  11054. "type": "string"
  11055. },
  11056. {
  11057. "value": "mong",
  11058. "type": "string"
  11059. },
  11060. {
  11061. "value": "mymr",
  11062. "type": "string"
  11063. },
  11064. {
  11065. "value": "orya",
  11066. "type": "string"
  11067. },
  11068. {
  11069. "value": "tamldec",
  11070. "type": "string"
  11071. },
  11072. {
  11073. "value": "telu",
  11074. "type": "string"
  11075. },
  11076. {
  11077. "value": "thai",
  11078. "type": "string"
  11079. },
  11080. {
  11081. "value": "tibt",
  11082. "type": "string"
  11083. }
  11084. ],
  11085. "optional": true,
  11086. "required": false
  11087. },
  11088. {
  11089. "name": "open",
  11090. "type": "boolean",
  11091. "mutable": true,
  11092. "attr": "open",
  11093. "reflectToAttr": true,
  11094. "docs": "When `true`, displays the `calcite-date-picker` component.",
  11095. "docsTags": [],
  11096. "default": "false",
  11097. "values": [
  11098. {
  11099. "type": "boolean"
  11100. }
  11101. ],
  11102. "optional": false,
  11103. "required": false
  11104. },
  11105. {
  11106. "name": "overlayPositioning",
  11107. "type": "\"absolute\" | \"fixed\"",
  11108. "mutable": false,
  11109. "attr": "overlay-positioning",
  11110. "reflectToAttr": true,
  11111. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\n`\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  11112. "docsTags": [],
  11113. "default": "\"absolute\"",
  11114. "values": [
  11115. {
  11116. "value": "absolute",
  11117. "type": "string"
  11118. },
  11119. {
  11120. "value": "fixed",
  11121. "type": "string"
  11122. }
  11123. ],
  11124. "optional": false,
  11125. "required": false
  11126. },
  11127. {
  11128. "name": "placement",
  11129. "type": "\"bottom\" | \"bottom-end\" | \"bottom-leading\" | \"bottom-start\" | \"bottom-trailing\" | \"top\" | \"top-end\" | \"top-leading\" | \"top-start\" | \"top-trailing\"",
  11130. "mutable": false,
  11131. "attr": "placement",
  11132. "reflectToAttr": true,
  11133. "docs": "Specifies the placement of the `calcite-date-picker` relative to the component.",
  11134. "docsTags": [
  11135. {
  11136. "name": "default",
  11137. "text": "\"bottom-start\""
  11138. }
  11139. ],
  11140. "default": "defaultMenuPlacement",
  11141. "values": [
  11142. {
  11143. "value": "bottom",
  11144. "type": "string"
  11145. },
  11146. {
  11147. "value": "bottom-end",
  11148. "type": "string"
  11149. },
  11150. {
  11151. "value": "bottom-leading",
  11152. "type": "string"
  11153. },
  11154. {
  11155. "value": "bottom-start",
  11156. "type": "string"
  11157. },
  11158. {
  11159. "value": "bottom-trailing",
  11160. "type": "string"
  11161. },
  11162. {
  11163. "value": "top",
  11164. "type": "string"
  11165. },
  11166. {
  11167. "value": "top-end",
  11168. "type": "string"
  11169. },
  11170. {
  11171. "value": "top-leading",
  11172. "type": "string"
  11173. },
  11174. {
  11175. "value": "top-start",
  11176. "type": "string"
  11177. },
  11178. {
  11179. "value": "top-trailing",
  11180. "type": "string"
  11181. }
  11182. ],
  11183. "optional": false,
  11184. "required": false
  11185. },
  11186. {
  11187. "name": "proximitySelectionDisabled",
  11188. "type": "boolean",
  11189. "mutable": false,
  11190. "attr": "proximity-selection-disabled",
  11191. "reflectToAttr": false,
  11192. "docs": "When `true`, disables the default behavior on the third click of narrowing or extending the range.\nInstead starts a new range.",
  11193. "docsTags": [],
  11194. "default": "false",
  11195. "values": [
  11196. {
  11197. "type": "boolean"
  11198. }
  11199. ],
  11200. "optional": false,
  11201. "required": false
  11202. },
  11203. {
  11204. "name": "range",
  11205. "type": "boolean",
  11206. "mutable": false,
  11207. "attr": "range",
  11208. "reflectToAttr": true,
  11209. "docs": "When `true`, activates a range for the component.",
  11210. "docsTags": [],
  11211. "default": "false",
  11212. "values": [
  11213. {
  11214. "type": "boolean"
  11215. }
  11216. ],
  11217. "optional": false,
  11218. "required": false
  11219. },
  11220. {
  11221. "name": "readOnly",
  11222. "type": "boolean",
  11223. "mutable": false,
  11224. "attr": "read-only",
  11225. "reflectToAttr": true,
  11226. "docs": "When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.",
  11227. "docsTags": [
  11228. {
  11229. "name": "mdn",
  11230. "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
  11231. }
  11232. ],
  11233. "default": "false",
  11234. "values": [
  11235. {
  11236. "type": "boolean"
  11237. }
  11238. ],
  11239. "optional": false,
  11240. "required": false
  11241. },
  11242. {
  11243. "name": "scale",
  11244. "type": "\"l\" | \"m\" | \"s\"",
  11245. "mutable": false,
  11246. "attr": "scale",
  11247. "reflectToAttr": true,
  11248. "docs": "Specifies the size of the component.",
  11249. "docsTags": [],
  11250. "default": "\"m\"",
  11251. "values": [
  11252. {
  11253. "value": "l",
  11254. "type": "string"
  11255. },
  11256. {
  11257. "value": "m",
  11258. "type": "string"
  11259. },
  11260. {
  11261. "value": "s",
  11262. "type": "string"
  11263. }
  11264. ],
  11265. "optional": false,
  11266. "required": false
  11267. },
  11268. {
  11269. "name": "start",
  11270. "type": "string",
  11271. "mutable": true,
  11272. "attr": "start",
  11273. "reflectToAttr": true,
  11274. "docs": "The component's start date.",
  11275. "docsTags": [
  11276. {
  11277. "name": "deprecated",
  11278. "text": "use `value` instead."
  11279. }
  11280. ],
  11281. "deprecation": "use `value` instead.",
  11282. "values": [
  11283. {
  11284. "type": "string"
  11285. }
  11286. ],
  11287. "optional": true,
  11288. "required": false
  11289. },
  11290. {
  11291. "name": "startAsDate",
  11292. "type": "Date",
  11293. "mutable": true,
  11294. "reflectToAttr": false,
  11295. "docs": "The component's start date as a full date object.",
  11296. "docsTags": [
  11297. {
  11298. "name": "deprecated",
  11299. "text": "use `valueAsDate` instead."
  11300. }
  11301. ],
  11302. "deprecation": "use `valueAsDate` instead.",
  11303. "values": [
  11304. {
  11305. "type": "Date"
  11306. }
  11307. ],
  11308. "optional": true,
  11309. "required": false
  11310. },
  11311. {
  11312. "name": "value",
  11313. "type": "string | string[]",
  11314. "mutable": true,
  11315. "attr": "value",
  11316. "reflectToAttr": false,
  11317. "docs": "The component's value.",
  11318. "docsTags": [],
  11319. "values": [
  11320. {
  11321. "type": "string"
  11322. },
  11323. {
  11324. "type": "string[]"
  11325. }
  11326. ],
  11327. "optional": false,
  11328. "required": false
  11329. },
  11330. {
  11331. "name": "valueAsDate",
  11332. "type": "Date | Date[]",
  11333. "mutable": true,
  11334. "reflectToAttr": false,
  11335. "docs": "The component's value as a full date object.",
  11336. "docsTags": [],
  11337. "values": [
  11338. {
  11339. "type": "Date"
  11340. },
  11341. {
  11342. "type": "Date[]"
  11343. }
  11344. ],
  11345. "optional": true,
  11346. "required": false
  11347. }
  11348. ],
  11349. "methods": [
  11350. {
  11351. "name": "reposition",
  11352. "returns": {
  11353. "type": "Promise<void>",
  11354. "docs": ""
  11355. },
  11356. "signature": "reposition(delayed?: boolean) => Promise<void>",
  11357. "parameters": [],
  11358. "docs": "Updates the position of the component.",
  11359. "docsTags": [
  11360. {
  11361. "name": "param",
  11362. "text": "delayed"
  11363. }
  11364. ]
  11365. },
  11366. {
  11367. "name": "setFocus",
  11368. "returns": {
  11369. "type": "Promise<void>",
  11370. "docs": ""
  11371. },
  11372. "signature": "setFocus() => Promise<void>",
  11373. "parameters": [],
  11374. "docs": "Sets focus on the component.",
  11375. "docsTags": []
  11376. }
  11377. ],
  11378. "events": [
  11379. {
  11380. "event": "calciteDatePickerChange",
  11381. "detail": "Date",
  11382. "bubbles": true,
  11383. "cancelable": false,
  11384. "composed": true,
  11385. "docs": "Fires when a user changes the date.",
  11386. "docsTags": [
  11387. {
  11388. "name": "deprecated",
  11389. "text": "use `calciteInputDatePickerChange` instead."
  11390. }
  11391. ],
  11392. "deprecation": "use `calciteInputDatePickerChange` instead."
  11393. },
  11394. {
  11395. "event": "calciteDatePickerRangeChange",
  11396. "detail": "DateRangeChange",
  11397. "bubbles": true,
  11398. "cancelable": false,
  11399. "composed": true,
  11400. "docs": "Fires when a user changes the date range.",
  11401. "docsTags": [
  11402. {
  11403. "name": "see",
  11404. "text": "[DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/date-picker/interfaces.ts#L1)"
  11405. },
  11406. {
  11407. "name": "deprecated",
  11408. "text": "use `calciteInputDatePickerChange` instead."
  11409. }
  11410. ],
  11411. "deprecation": "use `calciteInputDatePickerChange` instead."
  11412. },
  11413. {
  11414. "event": "calciteInputDatePickerBeforeClose",
  11415. "detail": "void",
  11416. "bubbles": true,
  11417. "cancelable": false,
  11418. "composed": true,
  11419. "docs": "Fires when the component is requested to be closed and before the closing transition begins.",
  11420. "docsTags": []
  11421. },
  11422. {
  11423. "event": "calciteInputDatePickerBeforeOpen",
  11424. "detail": "void",
  11425. "bubbles": true,
  11426. "cancelable": false,
  11427. "composed": true,
  11428. "docs": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins.",
  11429. "docsTags": []
  11430. },
  11431. {
  11432. "event": "calciteInputDatePickerChange",
  11433. "detail": "void",
  11434. "bubbles": true,
  11435. "cancelable": false,
  11436. "composed": true,
  11437. "docs": "Fires when the component's value changes.",
  11438. "docsTags": []
  11439. },
  11440. {
  11441. "event": "calciteInputDatePickerClose",
  11442. "detail": "void",
  11443. "bubbles": true,
  11444. "cancelable": false,
  11445. "composed": true,
  11446. "docs": "Fires when the component is closed and animation is complete.",
  11447. "docsTags": []
  11448. },
  11449. {
  11450. "event": "calciteInputDatePickerOpen",
  11451. "detail": "void",
  11452. "bubbles": true,
  11453. "cancelable": false,
  11454. "composed": true,
  11455. "docs": "Fires when the component is open and animation is complete.",
  11456. "docsTags": []
  11457. }
  11458. ],
  11459. "listeners": [
  11460. {
  11461. "event": "calciteDatePickerChange",
  11462. "capture": false,
  11463. "passive": false
  11464. },
  11465. {
  11466. "event": "calciteDatePickerRangeChange",
  11467. "capture": false,
  11468. "passive": false
  11469. },
  11470. {
  11471. "event": "calciteDaySelect",
  11472. "capture": false,
  11473. "passive": false
  11474. }
  11475. ],
  11476. "styles": [],
  11477. "slots": [],
  11478. "parts": [],
  11479. "dependents": [],
  11480. "dependencies": [
  11481. "calcite-input",
  11482. "calcite-date-picker",
  11483. "calcite-icon"
  11484. ],
  11485. "dependencyGraph": {
  11486. "calcite-input-date-picker": [
  11487. "calcite-input",
  11488. "calcite-date-picker",
  11489. "calcite-icon"
  11490. ],
  11491. "calcite-input": [
  11492. "calcite-progress",
  11493. "calcite-icon"
  11494. ],
  11495. "calcite-date-picker": [
  11496. "calcite-date-picker-month-header",
  11497. "calcite-date-picker-month"
  11498. ],
  11499. "calcite-date-picker-month-header": [
  11500. "calcite-icon"
  11501. ],
  11502. "calcite-date-picker-month": [
  11503. "calcite-date-picker-day"
  11504. ]
  11505. }
  11506. },
  11507. {
  11508. "filePath": "./src/components/input-message/input-message.tsx",
  11509. "encapsulation": "shadow",
  11510. "tag": "calcite-input-message",
  11511. "readme": "# calcite-input-message\n\nDisplays a contextual message to a user. Allows the passing of content, links, etc.\n",
  11512. "docs": "Displays a contextual message to a user. Allows the passing of content, links, etc.",
  11513. "docsTags": [
  11514. {
  11515. "name": "slot",
  11516. "text": "- A slot for adding text."
  11517. }
  11518. ],
  11519. "usage": {
  11520. "Basic": "```html\n<calcite-label status=\"“invalid”\">\n My great label\n <calcite-input placeholder=\"“Enter\" your information”></calcite-input>\n <calcite-input-message active\n >That's not going to work out.\n <calcite-button appearance=\"inline\" href=\"\">Learn more</calcite-button></calcite-input-message\n >\n</calcite-label>\n```\n"
  11521. },
  11522. "props": [
  11523. {
  11524. "name": "active",
  11525. "type": "boolean",
  11526. "mutable": false,
  11527. "attr": "active",
  11528. "reflectToAttr": true,
  11529. "docs": "When `true`, the component is active.",
  11530. "docsTags": [],
  11531. "default": "false",
  11532. "values": [
  11533. {
  11534. "type": "boolean"
  11535. }
  11536. ],
  11537. "optional": false,
  11538. "required": false
  11539. },
  11540. {
  11541. "name": "icon",
  11542. "type": "boolean | string",
  11543. "mutable": false,
  11544. "attr": "icon",
  11545. "reflectToAttr": true,
  11546. "docs": "Specifies an icon to display.",
  11547. "docsTags": [],
  11548. "values": [
  11549. {
  11550. "type": "boolean"
  11551. },
  11552. {
  11553. "type": "string"
  11554. }
  11555. ],
  11556. "optional": false,
  11557. "required": false
  11558. },
  11559. {
  11560. "name": "scale",
  11561. "type": "\"l\" | \"m\" | \"s\"",
  11562. "mutable": true,
  11563. "attr": "scale",
  11564. "reflectToAttr": true,
  11565. "docs": "Specifies the size of the component.",
  11566. "docsTags": [],
  11567. "default": "\"m\"",
  11568. "values": [
  11569. {
  11570. "value": "l",
  11571. "type": "string"
  11572. },
  11573. {
  11574. "value": "m",
  11575. "type": "string"
  11576. },
  11577. {
  11578. "value": "s",
  11579. "type": "string"
  11580. }
  11581. ],
  11582. "optional": false,
  11583. "required": false
  11584. },
  11585. {
  11586. "name": "status",
  11587. "type": "\"idle\" | \"invalid\" | \"valid\"",
  11588. "mutable": true,
  11589. "attr": "status",
  11590. "reflectToAttr": true,
  11591. "docs": "Specifies the status of the input field, which determines message and icons.",
  11592. "docsTags": [],
  11593. "default": "\"idle\"",
  11594. "values": [
  11595. {
  11596. "value": "idle",
  11597. "type": "string"
  11598. },
  11599. {
  11600. "value": "invalid",
  11601. "type": "string"
  11602. },
  11603. {
  11604. "value": "valid",
  11605. "type": "string"
  11606. }
  11607. ],
  11608. "optional": false,
  11609. "required": false
  11610. },
  11611. {
  11612. "name": "type",
  11613. "type": "\"default\"",
  11614. "mutable": false,
  11615. "attr": "type",
  11616. "reflectToAttr": true,
  11617. "docs": "Specifies the appearance of a slotted message - `\"default\"` (displayed under the component), or `\"floating\"` (positioned absolutely under the component).",
  11618. "docsTags": [
  11619. {
  11620. "name": "deprecated",
  11621. "text": "The `\"floating\"` type is no longer supported."
  11622. }
  11623. ],
  11624. "deprecation": "The `\"floating\"` type is no longer supported.",
  11625. "values": [
  11626. {
  11627. "value": "default",
  11628. "type": "string"
  11629. }
  11630. ],
  11631. "optional": false,
  11632. "required": false
  11633. }
  11634. ],
  11635. "methods": [],
  11636. "events": [],
  11637. "listeners": [],
  11638. "styles": [
  11639. {
  11640. "name": "--calcite-input-message-spacing-value",
  11641. "annotation": "prop",
  11642. "docs": "The top margin spacing above the component."
  11643. }
  11644. ],
  11645. "slots": [
  11646. {
  11647. "name": "",
  11648. "docs": "A slot for adding text."
  11649. }
  11650. ],
  11651. "parts": [],
  11652. "dependents": [],
  11653. "dependencies": [
  11654. "calcite-icon"
  11655. ],
  11656. "dependencyGraph": {
  11657. "calcite-input-message": [
  11658. "calcite-icon"
  11659. ]
  11660. }
  11661. },
  11662. {
  11663. "filePath": "./src/components/input-number/input-number.tsx",
  11664. "encapsulation": "shadow",
  11665. "tag": "calcite-input-number",
  11666. "readme": "# calcite-input-number\n",
  11667. "docs": "",
  11668. "docsTags": [
  11669. {
  11670. "name": "slot",
  11671. "text": "action - A slot for positioning a button next to the component."
  11672. }
  11673. ],
  11674. "usage": {},
  11675. "props": [
  11676. {
  11677. "name": "alignment",
  11678. "type": "\"end\" | \"start\"",
  11679. "mutable": false,
  11680. "attr": "alignment",
  11681. "reflectToAttr": true,
  11682. "docs": "Specifies the text alignment of the component's value.",
  11683. "docsTags": [],
  11684. "default": "\"start\"",
  11685. "values": [
  11686. {
  11687. "value": "end",
  11688. "type": "string"
  11689. },
  11690. {
  11691. "value": "start",
  11692. "type": "string"
  11693. }
  11694. ],
  11695. "optional": false,
  11696. "required": false
  11697. },
  11698. {
  11699. "name": "autofocus",
  11700. "type": "boolean",
  11701. "mutable": false,
  11702. "attr": "autofocus",
  11703. "reflectToAttr": true,
  11704. "docs": "When `true`, the component is focused on page load.",
  11705. "docsTags": [
  11706. {
  11707. "name": "mdn",
  11708. "text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
  11709. }
  11710. ],
  11711. "default": "false",
  11712. "values": [
  11713. {
  11714. "type": "boolean"
  11715. }
  11716. ],
  11717. "optional": false,
  11718. "required": false
  11719. },
  11720. {
  11721. "name": "clearable",
  11722. "type": "boolean",
  11723. "mutable": false,
  11724. "attr": "clearable",
  11725. "reflectToAttr": true,
  11726. "docs": "When `true`, a clear button is displayed when the component has a value.",
  11727. "docsTags": [],
  11728. "default": "false",
  11729. "values": [
  11730. {
  11731. "type": "boolean"
  11732. }
  11733. ],
  11734. "optional": false,
  11735. "required": false
  11736. },
  11737. {
  11738. "name": "disabled",
  11739. "type": "boolean",
  11740. "mutable": false,
  11741. "attr": "disabled",
  11742. "reflectToAttr": true,
  11743. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  11744. "docsTags": [
  11745. {
  11746. "name": "mdn",
  11747. "text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
  11748. }
  11749. ],
  11750. "default": "false",
  11751. "values": [
  11752. {
  11753. "type": "boolean"
  11754. }
  11755. ],
  11756. "optional": false,
  11757. "required": false
  11758. },
  11759. {
  11760. "name": "groupSeparator",
  11761. "type": "boolean",
  11762. "mutable": false,
  11763. "attr": "group-separator",
  11764. "reflectToAttr": true,
  11765. "docs": "When `true`, number values are displayed with a group separator corresponding to the language and country format.",
  11766. "docsTags": [],
  11767. "default": "false",
  11768. "values": [
  11769. {
  11770. "type": "boolean"
  11771. }
  11772. ],
  11773. "optional": false,
  11774. "required": false
  11775. },
  11776. {
  11777. "name": "hidden",
  11778. "type": "boolean",
  11779. "mutable": false,
  11780. "attr": "hidden",
  11781. "reflectToAttr": true,
  11782. "docs": "When `true`, the component will not be visible.",
  11783. "docsTags": [
  11784. {
  11785. "name": "mdn",
  11786. "text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
  11787. }
  11788. ],
  11789. "default": "false",
  11790. "values": [
  11791. {
  11792. "type": "boolean"
  11793. }
  11794. ],
  11795. "optional": false,
  11796. "required": false
  11797. },
  11798. {
  11799. "name": "icon",
  11800. "type": "boolean | string",
  11801. "mutable": false,
  11802. "attr": "icon",
  11803. "reflectToAttr": true,
  11804. "docs": "When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.",
  11805. "docsTags": [],
  11806. "values": [
  11807. {
  11808. "type": "boolean"
  11809. },
  11810. {
  11811. "type": "string"
  11812. }
  11813. ],
  11814. "optional": false,
  11815. "required": false
  11816. },
  11817. {
  11818. "name": "iconFlipRtl",
  11819. "type": "boolean",
  11820. "mutable": false,
  11821. "attr": "icon-flip-rtl",
  11822. "reflectToAttr": true,
  11823. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  11824. "docsTags": [],
  11825. "default": "false",
  11826. "values": [
  11827. {
  11828. "type": "boolean"
  11829. }
  11830. ],
  11831. "optional": false,
  11832. "required": false
  11833. },
  11834. {
  11835. "name": "intlClear",
  11836. "type": "string",
  11837. "mutable": false,
  11838. "attr": "intl-clear",
  11839. "reflectToAttr": false,
  11840. "docs": "A text label that will appear on the clear button for screen readers.",
  11841. "docsTags": [],
  11842. "values": [
  11843. {
  11844. "type": "string"
  11845. }
  11846. ],
  11847. "optional": true,
  11848. "required": false
  11849. },
  11850. {
  11851. "name": "intlLoading",
  11852. "type": "string",
  11853. "mutable": false,
  11854. "attr": "intl-loading",
  11855. "reflectToAttr": false,
  11856. "docs": "Accessible name that will appear while loading.",
  11857. "docsTags": [
  11858. {
  11859. "name": "default",
  11860. "text": "\"Loading\""
  11861. }
  11862. ],
  11863. "default": "COMMON_TEXT.loading",
  11864. "values": [
  11865. {
  11866. "type": "string"
  11867. }
  11868. ],
  11869. "optional": true,
  11870. "required": false
  11871. },
  11872. {
  11873. "name": "label",
  11874. "type": "string",
  11875. "mutable": false,
  11876. "attr": "label",
  11877. "reflectToAttr": false,
  11878. "docs": "Accessible name for the component's button or hyperlink.",
  11879. "docsTags": [],
  11880. "values": [
  11881. {
  11882. "type": "string"
  11883. }
  11884. ],
  11885. "optional": true,
  11886. "required": false
  11887. },
  11888. {
  11889. "name": "loading",
  11890. "type": "boolean",
  11891. "mutable": false,
  11892. "attr": "loading",
  11893. "reflectToAttr": true,
  11894. "docs": "When `true`, the component is in the loading state and `calcite-progress` is displayed.",
  11895. "docsTags": [],
  11896. "default": "false",
  11897. "values": [
  11898. {
  11899. "type": "boolean"
  11900. }
  11901. ],
  11902. "optional": false,
  11903. "required": false
  11904. },
  11905. {
  11906. "name": "locale",
  11907. "type": "string",
  11908. "mutable": false,
  11909. "attr": "locale",
  11910. "reflectToAttr": false,
  11911. "docs": "Specifies the BCP 47 language tag for the desired language and country format.",
  11912. "docsTags": [
  11913. {
  11914. "name": "deprecated",
  11915. "text": "set the global `lang` attribute on the element instead."
  11916. },
  11917. {
  11918. "name": "mdn",
  11919. "text": "[lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang)"
  11920. }
  11921. ],
  11922. "deprecation": "set the global `lang` attribute on the element instead.",
  11923. "values": [
  11924. {
  11925. "type": "string"
  11926. }
  11927. ],
  11928. "optional": false,
  11929. "required": false
  11930. },
  11931. {
  11932. "name": "max",
  11933. "type": "number",
  11934. "mutable": false,
  11935. "attr": "max",
  11936. "reflectToAttr": true,
  11937. "docs": "Specifies the maximum value.",
  11938. "docsTags": [
  11939. {
  11940. "name": "mdn",
  11941. "text": "[max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)"
  11942. }
  11943. ],
  11944. "values": [
  11945. {
  11946. "type": "number"
  11947. }
  11948. ],
  11949. "optional": true,
  11950. "required": false
  11951. },
  11952. {
  11953. "name": "maxLength",
  11954. "type": "number",
  11955. "mutable": false,
  11956. "attr": "max-length",
  11957. "reflectToAttr": true,
  11958. "docs": "Specifies the maximum length of text for the component's value.",
  11959. "docsTags": [
  11960. {
  11961. "name": "mdn",
  11962. "text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
  11963. }
  11964. ],
  11965. "values": [
  11966. {
  11967. "type": "number"
  11968. }
  11969. ],
  11970. "optional": true,
  11971. "required": false
  11972. },
  11973. {
  11974. "name": "min",
  11975. "type": "number",
  11976. "mutable": false,
  11977. "attr": "min",
  11978. "reflectToAttr": true,
  11979. "docs": "Specifies the minimum value.",
  11980. "docsTags": [
  11981. {
  11982. "name": "mdn",
  11983. "text": "[min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)"
  11984. }
  11985. ],
  11986. "values": [
  11987. {
  11988. "type": "number"
  11989. }
  11990. ],
  11991. "optional": true,
  11992. "required": false
  11993. },
  11994. {
  11995. "name": "minLength",
  11996. "type": "number",
  11997. "mutable": false,
  11998. "attr": "min-length",
  11999. "reflectToAttr": true,
  12000. "docs": "Specifies the minimum length of text for the component's value.",
  12001. "docsTags": [
  12002. {
  12003. "name": "mdn",
  12004. "text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
  12005. }
  12006. ],
  12007. "values": [
  12008. {
  12009. "type": "number"
  12010. }
  12011. ],
  12012. "optional": true,
  12013. "required": false
  12014. },
  12015. {
  12016. "name": "name",
  12017. "type": "string",
  12018. "mutable": false,
  12019. "attr": "name",
  12020. "reflectToAttr": true,
  12021. "docs": "Specifies the name of the component.",
  12022. "docsTags": [
  12023. {
  12024. "name": "mdn",
  12025. "text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
  12026. }
  12027. ],
  12028. "values": [
  12029. {
  12030. "type": "string"
  12031. }
  12032. ],
  12033. "optional": false,
  12034. "required": false
  12035. },
  12036. {
  12037. "name": "numberButtonType",
  12038. "type": "\"horizontal\" | \"none\" | \"vertical\"",
  12039. "mutable": false,
  12040. "attr": "number-button-type",
  12041. "reflectToAttr": true,
  12042. "docs": "Specifies the placement of the buttons.",
  12043. "docsTags": [],
  12044. "default": "\"vertical\"",
  12045. "values": [
  12046. {
  12047. "value": "horizontal",
  12048. "type": "string"
  12049. },
  12050. {
  12051. "value": "none",
  12052. "type": "string"
  12053. },
  12054. {
  12055. "value": "vertical",
  12056. "type": "string"
  12057. }
  12058. ],
  12059. "optional": true,
  12060. "required": false
  12061. },
  12062. {
  12063. "name": "numberingSystem",
  12064. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  12065. "mutable": false,
  12066. "attr": "numbering-system",
  12067. "reflectToAttr": true,
  12068. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  12069. "docsTags": [],
  12070. "values": [
  12071. {
  12072. "value": "arab",
  12073. "type": "string"
  12074. },
  12075. {
  12076. "value": "arabext",
  12077. "type": "string"
  12078. },
  12079. {
  12080. "value": "bali",
  12081. "type": "string"
  12082. },
  12083. {
  12084. "value": "beng",
  12085. "type": "string"
  12086. },
  12087. {
  12088. "value": "deva",
  12089. "type": "string"
  12090. },
  12091. {
  12092. "value": "fullwide",
  12093. "type": "string"
  12094. },
  12095. {
  12096. "value": "gujr",
  12097. "type": "string"
  12098. },
  12099. {
  12100. "value": "guru",
  12101. "type": "string"
  12102. },
  12103. {
  12104. "value": "hanidec",
  12105. "type": "string"
  12106. },
  12107. {
  12108. "value": "khmr",
  12109. "type": "string"
  12110. },
  12111. {
  12112. "value": "knda",
  12113. "type": "string"
  12114. },
  12115. {
  12116. "value": "laoo",
  12117. "type": "string"
  12118. },
  12119. {
  12120. "value": "latn",
  12121. "type": "string"
  12122. },
  12123. {
  12124. "value": "limb",
  12125. "type": "string"
  12126. },
  12127. {
  12128. "value": "mlym",
  12129. "type": "string"
  12130. },
  12131. {
  12132. "value": "mong",
  12133. "type": "string"
  12134. },
  12135. {
  12136. "value": "mymr",
  12137. "type": "string"
  12138. },
  12139. {
  12140. "value": "orya",
  12141. "type": "string"
  12142. },
  12143. {
  12144. "value": "tamldec",
  12145. "type": "string"
  12146. },
  12147. {
  12148. "value": "telu",
  12149. "type": "string"
  12150. },
  12151. {
  12152. "value": "thai",
  12153. "type": "string"
  12154. },
  12155. {
  12156. "value": "tibt",
  12157. "type": "string"
  12158. }
  12159. ],
  12160. "optional": true,
  12161. "required": false
  12162. },
  12163. {
  12164. "name": "placeholder",
  12165. "type": "string",
  12166. "mutable": false,
  12167. "attr": "placeholder",
  12168. "reflectToAttr": false,
  12169. "docs": "Specifies placeholder text for the component.",
  12170. "docsTags": [
  12171. {
  12172. "name": "mdn",
  12173. "text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
  12174. }
  12175. ],
  12176. "values": [
  12177. {
  12178. "type": "string"
  12179. }
  12180. ],
  12181. "optional": false,
  12182. "required": false
  12183. },
  12184. {
  12185. "name": "prefixText",
  12186. "type": "string",
  12187. "mutable": false,
  12188. "attr": "prefix-text",
  12189. "reflectToAttr": false,
  12190. "docs": "Adds text to the start of the component.",
  12191. "docsTags": [],
  12192. "values": [
  12193. {
  12194. "type": "string"
  12195. }
  12196. ],
  12197. "optional": true,
  12198. "required": false
  12199. },
  12200. {
  12201. "name": "readOnly",
  12202. "type": "boolean",
  12203. "mutable": false,
  12204. "attr": "read-only",
  12205. "reflectToAttr": true,
  12206. "docs": "When `true`, the component's value can be read, but cannot be modified.",
  12207. "docsTags": [
  12208. {
  12209. "name": "mdn",
  12210. "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
  12211. }
  12212. ],
  12213. "default": "false",
  12214. "values": [
  12215. {
  12216. "type": "boolean"
  12217. }
  12218. ],
  12219. "optional": false,
  12220. "required": false
  12221. },
  12222. {
  12223. "name": "required",
  12224. "type": "boolean",
  12225. "mutable": false,
  12226. "attr": "required",
  12227. "reflectToAttr": true,
  12228. "docs": "When `true`, the component must have a value in order for the form to submit.",
  12229. "docsTags": [],
  12230. "default": "false",
  12231. "values": [
  12232. {
  12233. "type": "boolean"
  12234. }
  12235. ],
  12236. "optional": false,
  12237. "required": false
  12238. },
  12239. {
  12240. "name": "scale",
  12241. "type": "\"l\" | \"m\" | \"s\"",
  12242. "mutable": true,
  12243. "attr": "scale",
  12244. "reflectToAttr": true,
  12245. "docs": "Specifies the size of the component.",
  12246. "docsTags": [],
  12247. "default": "\"m\"",
  12248. "values": [
  12249. {
  12250. "value": "l",
  12251. "type": "string"
  12252. },
  12253. {
  12254. "value": "m",
  12255. "type": "string"
  12256. },
  12257. {
  12258. "value": "s",
  12259. "type": "string"
  12260. }
  12261. ],
  12262. "optional": false,
  12263. "required": false
  12264. },
  12265. {
  12266. "name": "status",
  12267. "type": "\"idle\" | \"invalid\" | \"valid\"",
  12268. "mutable": true,
  12269. "attr": "status",
  12270. "reflectToAttr": true,
  12271. "docs": "Specifies the status of the input field, which determines message and icons.",
  12272. "docsTags": [],
  12273. "default": "\"idle\"",
  12274. "values": [
  12275. {
  12276. "value": "idle",
  12277. "type": "string"
  12278. },
  12279. {
  12280. "value": "invalid",
  12281. "type": "string"
  12282. },
  12283. {
  12284. "value": "valid",
  12285. "type": "string"
  12286. }
  12287. ],
  12288. "optional": false,
  12289. "required": false
  12290. },
  12291. {
  12292. "name": "step",
  12293. "type": "\"any\" | number",
  12294. "mutable": false,
  12295. "attr": "step",
  12296. "reflectToAttr": true,
  12297. "docs": "Specifies the granularity that the component's value must adhere to.",
  12298. "docsTags": [
  12299. {
  12300. "name": "mdn",
  12301. "text": "[step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)"
  12302. }
  12303. ],
  12304. "values": [
  12305. {
  12306. "value": "any",
  12307. "type": "string"
  12308. },
  12309. {
  12310. "type": "number"
  12311. }
  12312. ],
  12313. "optional": true,
  12314. "required": false
  12315. },
  12316. {
  12317. "name": "suffixText",
  12318. "type": "string",
  12319. "mutable": false,
  12320. "attr": "suffix-text",
  12321. "reflectToAttr": false,
  12322. "docs": "Adds text to the end of the component.",
  12323. "docsTags": [],
  12324. "values": [
  12325. {
  12326. "type": "string"
  12327. }
  12328. ],
  12329. "optional": true,
  12330. "required": false
  12331. },
  12332. {
  12333. "name": "value",
  12334. "type": "string",
  12335. "mutable": true,
  12336. "attr": "value",
  12337. "reflectToAttr": false,
  12338. "docs": "The component's value.",
  12339. "docsTags": [],
  12340. "default": "\"\"",
  12341. "values": [
  12342. {
  12343. "type": "string"
  12344. }
  12345. ],
  12346. "optional": false,
  12347. "required": false
  12348. }
  12349. ],
  12350. "methods": [
  12351. {
  12352. "name": "selectText",
  12353. "returns": {
  12354. "type": "Promise<void>",
  12355. "docs": ""
  12356. },
  12357. "signature": "selectText() => Promise<void>",
  12358. "parameters": [],
  12359. "docs": "Selects all text of the component's `value`.",
  12360. "docsTags": []
  12361. },
  12362. {
  12363. "name": "setFocus",
  12364. "returns": {
  12365. "type": "Promise<void>",
  12366. "docs": ""
  12367. },
  12368. "signature": "setFocus() => Promise<void>",
  12369. "parameters": [],
  12370. "docs": "Sets focus on the component.",
  12371. "docsTags": []
  12372. }
  12373. ],
  12374. "events": [
  12375. {
  12376. "event": "calciteInputNumberChange",
  12377. "detail": "void",
  12378. "bubbles": true,
  12379. "cancelable": false,
  12380. "composed": true,
  12381. "docs": "Fires each time a new value is typed and committed.",
  12382. "docsTags": []
  12383. },
  12384. {
  12385. "event": "calciteInputNumberInput",
  12386. "detail": "any",
  12387. "bubbles": true,
  12388. "cancelable": true,
  12389. "composed": true,
  12390. "docs": "Fires each time a new value is typed.\n\n**Note:**: The `el` and `value` event payload props are deprecated, please use the event's `target`/`currentTarget` instead",
  12391. "docsTags": []
  12392. }
  12393. ],
  12394. "listeners": [],
  12395. "styles": [],
  12396. "slots": [
  12397. {
  12398. "name": "action",
  12399. "docs": "A slot for positioning a button next to the component."
  12400. }
  12401. ],
  12402. "parts": [],
  12403. "dependents": [],
  12404. "dependencies": [
  12405. "calcite-progress",
  12406. "calcite-icon"
  12407. ],
  12408. "dependencyGraph": {
  12409. "calcite-input-number": [
  12410. "calcite-progress",
  12411. "calcite-icon"
  12412. ]
  12413. }
  12414. },
  12415. {
  12416. "filePath": "./src/components/input-text/input-text.tsx",
  12417. "encapsulation": "shadow",
  12418. "tag": "calcite-input-text",
  12419. "readme": "# calcite-input-text\n",
  12420. "docs": "",
  12421. "docsTags": [
  12422. {
  12423. "name": "slot",
  12424. "text": "action - A slot for positioning a button next to the component."
  12425. }
  12426. ],
  12427. "usage": {},
  12428. "props": [
  12429. {
  12430. "name": "alignment",
  12431. "type": "\"end\" | \"start\"",
  12432. "mutable": false,
  12433. "attr": "alignment",
  12434. "reflectToAttr": true,
  12435. "docs": "Specifies the text alignment of the component's value.",
  12436. "docsTags": [],
  12437. "default": "\"start\"",
  12438. "values": [
  12439. {
  12440. "value": "end",
  12441. "type": "string"
  12442. },
  12443. {
  12444. "value": "start",
  12445. "type": "string"
  12446. }
  12447. ],
  12448. "optional": false,
  12449. "required": false
  12450. },
  12451. {
  12452. "name": "autofocus",
  12453. "type": "boolean",
  12454. "mutable": false,
  12455. "attr": "autofocus",
  12456. "reflectToAttr": true,
  12457. "docs": "When `true`, the component is focused on page load.",
  12458. "docsTags": [
  12459. {
  12460. "name": "mdn",
  12461. "text": "[autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)"
  12462. }
  12463. ],
  12464. "default": "false",
  12465. "values": [
  12466. {
  12467. "type": "boolean"
  12468. }
  12469. ],
  12470. "optional": false,
  12471. "required": false
  12472. },
  12473. {
  12474. "name": "clearable",
  12475. "type": "boolean",
  12476. "mutable": false,
  12477. "attr": "clearable",
  12478. "reflectToAttr": true,
  12479. "docs": "When `true`, a clear button is displayed when the component has a value.",
  12480. "docsTags": [],
  12481. "default": "false",
  12482. "values": [
  12483. {
  12484. "type": "boolean"
  12485. }
  12486. ],
  12487. "optional": false,
  12488. "required": false
  12489. },
  12490. {
  12491. "name": "disabled",
  12492. "type": "boolean",
  12493. "mutable": false,
  12494. "attr": "disabled",
  12495. "reflectToAttr": true,
  12496. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  12497. "docsTags": [
  12498. {
  12499. "name": "mdn",
  12500. "text": "[disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)"
  12501. }
  12502. ],
  12503. "default": "false",
  12504. "values": [
  12505. {
  12506. "type": "boolean"
  12507. }
  12508. ],
  12509. "optional": false,
  12510. "required": false
  12511. },
  12512. {
  12513. "name": "hidden",
  12514. "type": "boolean",
  12515. "mutable": false,
  12516. "attr": "hidden",
  12517. "reflectToAttr": true,
  12518. "docs": "When `true`, the component will not be visible.",
  12519. "docsTags": [
  12520. {
  12521. "name": "mdn",
  12522. "text": "[hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)"
  12523. }
  12524. ],
  12525. "default": "false",
  12526. "values": [
  12527. {
  12528. "type": "boolean"
  12529. }
  12530. ],
  12531. "optional": false,
  12532. "required": false
  12533. },
  12534. {
  12535. "name": "icon",
  12536. "type": "boolean | string",
  12537. "mutable": false,
  12538. "attr": "icon",
  12539. "reflectToAttr": true,
  12540. "docs": "When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.",
  12541. "docsTags": [],
  12542. "values": [
  12543. {
  12544. "type": "boolean"
  12545. },
  12546. {
  12547. "type": "string"
  12548. }
  12549. ],
  12550. "optional": false,
  12551. "required": false
  12552. },
  12553. {
  12554. "name": "iconFlipRtl",
  12555. "type": "boolean",
  12556. "mutable": false,
  12557. "attr": "icon-flip-rtl",
  12558. "reflectToAttr": true,
  12559. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  12560. "docsTags": [],
  12561. "default": "false",
  12562. "values": [
  12563. {
  12564. "type": "boolean"
  12565. }
  12566. ],
  12567. "optional": false,
  12568. "required": false
  12569. },
  12570. {
  12571. "name": "intlClear",
  12572. "type": "string",
  12573. "mutable": false,
  12574. "attr": "intl-clear",
  12575. "reflectToAttr": false,
  12576. "docs": "A text label that will appear on the clear button for screen readers.",
  12577. "docsTags": [],
  12578. "values": [
  12579. {
  12580. "type": "string"
  12581. }
  12582. ],
  12583. "optional": true,
  12584. "required": false
  12585. },
  12586. {
  12587. "name": "intlLoading",
  12588. "type": "string",
  12589. "mutable": false,
  12590. "attr": "intl-loading",
  12591. "reflectToAttr": false,
  12592. "docs": "Accessible name that will appear while loading.",
  12593. "docsTags": [
  12594. {
  12595. "name": "default",
  12596. "text": "\"Loading\""
  12597. }
  12598. ],
  12599. "default": "COMMON_TEXT.loading",
  12600. "values": [
  12601. {
  12602. "type": "string"
  12603. }
  12604. ],
  12605. "optional": true,
  12606. "required": false
  12607. },
  12608. {
  12609. "name": "label",
  12610. "type": "string",
  12611. "mutable": false,
  12612. "attr": "label",
  12613. "reflectToAttr": false,
  12614. "docs": "Accessible name for the component's button or hyperlink.",
  12615. "docsTags": [],
  12616. "values": [
  12617. {
  12618. "type": "string"
  12619. }
  12620. ],
  12621. "optional": true,
  12622. "required": false
  12623. },
  12624. {
  12625. "name": "loading",
  12626. "type": "boolean",
  12627. "mutable": false,
  12628. "attr": "loading",
  12629. "reflectToAttr": true,
  12630. "docs": "When `true`, the component is in the loading state and `calcite-progress` is displayed.",
  12631. "docsTags": [],
  12632. "default": "false",
  12633. "values": [
  12634. {
  12635. "type": "boolean"
  12636. }
  12637. ],
  12638. "optional": false,
  12639. "required": false
  12640. },
  12641. {
  12642. "name": "maxLength",
  12643. "type": "number",
  12644. "mutable": false,
  12645. "attr": "max-length",
  12646. "reflectToAttr": true,
  12647. "docs": "Specifies the maximum length of text for the component's value.",
  12648. "docsTags": [
  12649. {
  12650. "name": "mdn",
  12651. "text": "[maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)"
  12652. }
  12653. ],
  12654. "values": [
  12655. {
  12656. "type": "number"
  12657. }
  12658. ],
  12659. "optional": true,
  12660. "required": false
  12661. },
  12662. {
  12663. "name": "minLength",
  12664. "type": "number",
  12665. "mutable": false,
  12666. "attr": "min-length",
  12667. "reflectToAttr": true,
  12668. "docs": "Specifies the minimum length of text for the component's value.",
  12669. "docsTags": [
  12670. {
  12671. "name": "mdn",
  12672. "text": "[minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)"
  12673. }
  12674. ],
  12675. "values": [
  12676. {
  12677. "type": "number"
  12678. }
  12679. ],
  12680. "optional": true,
  12681. "required": false
  12682. },
  12683. {
  12684. "name": "name",
  12685. "type": "string",
  12686. "mutable": false,
  12687. "attr": "name",
  12688. "reflectToAttr": true,
  12689. "docs": "Specifies the name of the component.",
  12690. "docsTags": [
  12691. {
  12692. "name": "mdn",
  12693. "text": "[name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)"
  12694. }
  12695. ],
  12696. "values": [
  12697. {
  12698. "type": "string"
  12699. }
  12700. ],
  12701. "optional": false,
  12702. "required": false
  12703. },
  12704. {
  12705. "name": "placeholder",
  12706. "type": "string",
  12707. "mutable": false,
  12708. "attr": "placeholder",
  12709. "reflectToAttr": false,
  12710. "docs": "Specifies placeholder text for the component.",
  12711. "docsTags": [
  12712. {
  12713. "name": "mdn",
  12714. "text": "[placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)"
  12715. }
  12716. ],
  12717. "values": [
  12718. {
  12719. "type": "string"
  12720. }
  12721. ],
  12722. "optional": false,
  12723. "required": false
  12724. },
  12725. {
  12726. "name": "prefixText",
  12727. "type": "string",
  12728. "mutable": false,
  12729. "attr": "prefix-text",
  12730. "reflectToAttr": false,
  12731. "docs": "Adds text to the start of the component.",
  12732. "docsTags": [],
  12733. "values": [
  12734. {
  12735. "type": "string"
  12736. }
  12737. ],
  12738. "optional": true,
  12739. "required": false
  12740. },
  12741. {
  12742. "name": "readOnly",
  12743. "type": "boolean",
  12744. "mutable": false,
  12745. "attr": "read-only",
  12746. "reflectToAttr": true,
  12747. "docs": "When `true`, the component's value can be read, but cannot be modified.",
  12748. "docsTags": [
  12749. {
  12750. "name": "mdn",
  12751. "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
  12752. }
  12753. ],
  12754. "default": "false",
  12755. "values": [
  12756. {
  12757. "type": "boolean"
  12758. }
  12759. ],
  12760. "optional": false,
  12761. "required": false
  12762. },
  12763. {
  12764. "name": "required",
  12765. "type": "boolean",
  12766. "mutable": false,
  12767. "attr": "required",
  12768. "reflectToAttr": true,
  12769. "docs": "When `true`, the component must have a value in order for the form to submit.",
  12770. "docsTags": [],
  12771. "default": "false",
  12772. "values": [
  12773. {
  12774. "type": "boolean"
  12775. }
  12776. ],
  12777. "optional": false,
  12778. "required": false
  12779. },
  12780. {
  12781. "name": "scale",
  12782. "type": "\"l\" | \"m\" | \"s\"",
  12783. "mutable": true,
  12784. "attr": "scale",
  12785. "reflectToAttr": true,
  12786. "docs": "Specifies the size of the component.",
  12787. "docsTags": [],
  12788. "default": "\"m\"",
  12789. "values": [
  12790. {
  12791. "value": "l",
  12792. "type": "string"
  12793. },
  12794. {
  12795. "value": "m",
  12796. "type": "string"
  12797. },
  12798. {
  12799. "value": "s",
  12800. "type": "string"
  12801. }
  12802. ],
  12803. "optional": false,
  12804. "required": false
  12805. },
  12806. {
  12807. "name": "status",
  12808. "type": "\"idle\" | \"invalid\" | \"valid\"",
  12809. "mutable": true,
  12810. "attr": "status",
  12811. "reflectToAttr": true,
  12812. "docs": "Specifies the status of the input field, which determines message and icons.",
  12813. "docsTags": [],
  12814. "default": "\"idle\"",
  12815. "values": [
  12816. {
  12817. "value": "idle",
  12818. "type": "string"
  12819. },
  12820. {
  12821. "value": "invalid",
  12822. "type": "string"
  12823. },
  12824. {
  12825. "value": "valid",
  12826. "type": "string"
  12827. }
  12828. ],
  12829. "optional": false,
  12830. "required": false
  12831. },
  12832. {
  12833. "name": "suffixText",
  12834. "type": "string",
  12835. "mutable": false,
  12836. "attr": "suffix-text",
  12837. "reflectToAttr": false,
  12838. "docs": "Adds text to the end of the component.",
  12839. "docsTags": [],
  12840. "values": [
  12841. {
  12842. "type": "string"
  12843. }
  12844. ],
  12845. "optional": true,
  12846. "required": false
  12847. },
  12848. {
  12849. "name": "value",
  12850. "type": "string",
  12851. "mutable": true,
  12852. "attr": "value",
  12853. "reflectToAttr": false,
  12854. "docs": "The component's value.",
  12855. "docsTags": [],
  12856. "default": "\"\"",
  12857. "values": [
  12858. {
  12859. "type": "string"
  12860. }
  12861. ],
  12862. "optional": false,
  12863. "required": false
  12864. }
  12865. ],
  12866. "methods": [
  12867. {
  12868. "name": "selectText",
  12869. "returns": {
  12870. "type": "Promise<void>",
  12871. "docs": ""
  12872. },
  12873. "signature": "selectText() => Promise<void>",
  12874. "parameters": [],
  12875. "docs": "Selects all text of the component's `value`.",
  12876. "docsTags": []
  12877. },
  12878. {
  12879. "name": "setFocus",
  12880. "returns": {
  12881. "type": "Promise<void>",
  12882. "docs": ""
  12883. },
  12884. "signature": "setFocus() => Promise<void>",
  12885. "parameters": [],
  12886. "docs": "Sets focus on the component.",
  12887. "docsTags": []
  12888. }
  12889. ],
  12890. "events": [
  12891. {
  12892. "event": "calciteInputTextChange",
  12893. "detail": "void",
  12894. "bubbles": true,
  12895. "cancelable": true,
  12896. "composed": true,
  12897. "docs": "Fires each time a new value is typed and committed.",
  12898. "docsTags": []
  12899. },
  12900. {
  12901. "event": "calciteInputTextInput",
  12902. "detail": "{ element: HTMLInputElement; nativeEvent: KeyboardEvent | MouseEvent | InputEvent; value: string; }",
  12903. "bubbles": true,
  12904. "cancelable": true,
  12905. "composed": true,
  12906. "docs": "Fires each time a new value is typed.",
  12907. "docsTags": []
  12908. }
  12909. ],
  12910. "listeners": [],
  12911. "styles": [],
  12912. "slots": [
  12913. {
  12914. "name": "action",
  12915. "docs": "A slot for positioning a button next to the component."
  12916. }
  12917. ],
  12918. "parts": [],
  12919. "dependents": [],
  12920. "dependencies": [
  12921. "calcite-progress",
  12922. "calcite-icon"
  12923. ],
  12924. "dependencyGraph": {
  12925. "calcite-input-text": [
  12926. "calcite-progress",
  12927. "calcite-icon"
  12928. ]
  12929. }
  12930. },
  12931. {
  12932. "filePath": "./src/components/input-time-picker/input-time-picker.tsx",
  12933. "encapsulation": "shadow",
  12934. "tag": "calcite-input-time-picker",
  12935. "readme": "# calcite-input-time-picker\n",
  12936. "docs": "",
  12937. "docsTags": [],
  12938. "usage": {
  12939. "Basic": "```html\n<calcite-input-time-picker\n hour-display-format=\"12\"\n name=\"light\"\n scale=\"m\"\n step=\"1\"\n value=\"12:21\"\n></calcite-input-time-picker>\n```\n"
  12940. },
  12941. "props": [
  12942. {
  12943. "name": "active",
  12944. "type": "boolean",
  12945. "mutable": true,
  12946. "attr": "active",
  12947. "reflectToAttr": true,
  12948. "docs": "When `true`, the component is active.",
  12949. "docsTags": [
  12950. {
  12951. "name": "deprecated",
  12952. "text": "Use `open` instead."
  12953. }
  12954. ],
  12955. "default": "false",
  12956. "deprecation": "Use `open` instead.",
  12957. "values": [
  12958. {
  12959. "type": "boolean"
  12960. }
  12961. ],
  12962. "optional": false,
  12963. "required": false
  12964. },
  12965. {
  12966. "name": "disabled",
  12967. "type": "boolean",
  12968. "mutable": false,
  12969. "attr": "disabled",
  12970. "reflectToAttr": true,
  12971. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  12972. "docsTags": [],
  12973. "default": "false",
  12974. "values": [
  12975. {
  12976. "type": "boolean"
  12977. }
  12978. ],
  12979. "optional": false,
  12980. "required": false
  12981. },
  12982. {
  12983. "name": "intlHour",
  12984. "type": "string",
  12985. "mutable": false,
  12986. "attr": "intl-hour",
  12987. "reflectToAttr": false,
  12988. "docs": "Accessible name for the component's hour input.",
  12989. "docsTags": [],
  12990. "values": [
  12991. {
  12992. "type": "string"
  12993. }
  12994. ],
  12995. "optional": true,
  12996. "required": false
  12997. },
  12998. {
  12999. "name": "intlHourDown",
  13000. "type": "string",
  13001. "mutable": false,
  13002. "attr": "intl-hour-down",
  13003. "reflectToAttr": false,
  13004. "docs": "Accessible name for the component's hour down button.",
  13005. "docsTags": [],
  13006. "values": [
  13007. {
  13008. "type": "string"
  13009. }
  13010. ],
  13011. "optional": true,
  13012. "required": false
  13013. },
  13014. {
  13015. "name": "intlHourUp",
  13016. "type": "string",
  13017. "mutable": false,
  13018. "attr": "intl-hour-up",
  13019. "reflectToAttr": false,
  13020. "docs": "Accessible name for the component's hour up button.",
  13021. "docsTags": [],
  13022. "values": [
  13023. {
  13024. "type": "string"
  13025. }
  13026. ],
  13027. "optional": true,
  13028. "required": false
  13029. },
  13030. {
  13031. "name": "intlMeridiem",
  13032. "type": "string",
  13033. "mutable": false,
  13034. "attr": "intl-meridiem",
  13035. "reflectToAttr": false,
  13036. "docs": "Accessible name for the component's meridiem (am/pm) input.",
  13037. "docsTags": [],
  13038. "values": [
  13039. {
  13040. "type": "string"
  13041. }
  13042. ],
  13043. "optional": true,
  13044. "required": false
  13045. },
  13046. {
  13047. "name": "intlMeridiemDown",
  13048. "type": "string",
  13049. "mutable": false,
  13050. "attr": "intl-meridiem-down",
  13051. "reflectToAttr": false,
  13052. "docs": "Accessible name for the component's meridiem (am/pm) down button.",
  13053. "docsTags": [],
  13054. "values": [
  13055. {
  13056. "type": "string"
  13057. }
  13058. ],
  13059. "optional": true,
  13060. "required": false
  13061. },
  13062. {
  13063. "name": "intlMeridiemUp",
  13064. "type": "string",
  13065. "mutable": false,
  13066. "attr": "intl-meridiem-up",
  13067. "reflectToAttr": false,
  13068. "docs": "Accessible name for the component's meridiem (am/pm) up button.",
  13069. "docsTags": [],
  13070. "values": [
  13071. {
  13072. "type": "string"
  13073. }
  13074. ],
  13075. "optional": true,
  13076. "required": false
  13077. },
  13078. {
  13079. "name": "intlMinute",
  13080. "type": "string",
  13081. "mutable": false,
  13082. "attr": "intl-minute",
  13083. "reflectToAttr": false,
  13084. "docs": "Accessible name for the component's minute input.",
  13085. "docsTags": [],
  13086. "values": [
  13087. {
  13088. "type": "string"
  13089. }
  13090. ],
  13091. "optional": true,
  13092. "required": false
  13093. },
  13094. {
  13095. "name": "intlMinuteDown",
  13096. "type": "string",
  13097. "mutable": false,
  13098. "attr": "intl-minute-down",
  13099. "reflectToAttr": false,
  13100. "docs": "Accessible name for the component's minute down button.",
  13101. "docsTags": [],
  13102. "values": [
  13103. {
  13104. "type": "string"
  13105. }
  13106. ],
  13107. "optional": true,
  13108. "required": false
  13109. },
  13110. {
  13111. "name": "intlMinuteUp",
  13112. "type": "string",
  13113. "mutable": false,
  13114. "attr": "intl-minute-up",
  13115. "reflectToAttr": false,
  13116. "docs": "Accessible name for the component's minute up button.",
  13117. "docsTags": [],
  13118. "values": [
  13119. {
  13120. "type": "string"
  13121. }
  13122. ],
  13123. "optional": true,
  13124. "required": false
  13125. },
  13126. {
  13127. "name": "intlSecond",
  13128. "type": "string",
  13129. "mutable": false,
  13130. "attr": "intl-second",
  13131. "reflectToAttr": false,
  13132. "docs": "Accessible name for the component's second input.",
  13133. "docsTags": [],
  13134. "values": [
  13135. {
  13136. "type": "string"
  13137. }
  13138. ],
  13139. "optional": true,
  13140. "required": false
  13141. },
  13142. {
  13143. "name": "intlSecondDown",
  13144. "type": "string",
  13145. "mutable": false,
  13146. "attr": "intl-second-down",
  13147. "reflectToAttr": false,
  13148. "docs": "Accessible name for the component's second down button.",
  13149. "docsTags": [],
  13150. "values": [
  13151. {
  13152. "type": "string"
  13153. }
  13154. ],
  13155. "optional": true,
  13156. "required": false
  13157. },
  13158. {
  13159. "name": "intlSecondUp",
  13160. "type": "string",
  13161. "mutable": false,
  13162. "attr": "intl-second-up",
  13163. "reflectToAttr": false,
  13164. "docs": "Accessible name for the component's second up button.",
  13165. "docsTags": [],
  13166. "values": [
  13167. {
  13168. "type": "string"
  13169. }
  13170. ],
  13171. "optional": true,
  13172. "required": false
  13173. },
  13174. {
  13175. "name": "name",
  13176. "type": "string",
  13177. "mutable": false,
  13178. "attr": "name",
  13179. "reflectToAttr": false,
  13180. "docs": "Specifies the name of the component on form submission.",
  13181. "docsTags": [],
  13182. "values": [
  13183. {
  13184. "type": "string"
  13185. }
  13186. ],
  13187. "optional": false,
  13188. "required": false
  13189. },
  13190. {
  13191. "name": "numberingSystem",
  13192. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  13193. "mutable": false,
  13194. "attr": "numbering-system",
  13195. "reflectToAttr": false,
  13196. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  13197. "docsTags": [],
  13198. "values": [
  13199. {
  13200. "value": "arab",
  13201. "type": "string"
  13202. },
  13203. {
  13204. "value": "arabext",
  13205. "type": "string"
  13206. },
  13207. {
  13208. "value": "bali",
  13209. "type": "string"
  13210. },
  13211. {
  13212. "value": "beng",
  13213. "type": "string"
  13214. },
  13215. {
  13216. "value": "deva",
  13217. "type": "string"
  13218. },
  13219. {
  13220. "value": "fullwide",
  13221. "type": "string"
  13222. },
  13223. {
  13224. "value": "gujr",
  13225. "type": "string"
  13226. },
  13227. {
  13228. "value": "guru",
  13229. "type": "string"
  13230. },
  13231. {
  13232. "value": "hanidec",
  13233. "type": "string"
  13234. },
  13235. {
  13236. "value": "khmr",
  13237. "type": "string"
  13238. },
  13239. {
  13240. "value": "knda",
  13241. "type": "string"
  13242. },
  13243. {
  13244. "value": "laoo",
  13245. "type": "string"
  13246. },
  13247. {
  13248. "value": "latn",
  13249. "type": "string"
  13250. },
  13251. {
  13252. "value": "limb",
  13253. "type": "string"
  13254. },
  13255. {
  13256. "value": "mlym",
  13257. "type": "string"
  13258. },
  13259. {
  13260. "value": "mong",
  13261. "type": "string"
  13262. },
  13263. {
  13264. "value": "mymr",
  13265. "type": "string"
  13266. },
  13267. {
  13268. "value": "orya",
  13269. "type": "string"
  13270. },
  13271. {
  13272. "value": "tamldec",
  13273. "type": "string"
  13274. },
  13275. {
  13276. "value": "telu",
  13277. "type": "string"
  13278. },
  13279. {
  13280. "value": "thai",
  13281. "type": "string"
  13282. },
  13283. {
  13284. "value": "tibt",
  13285. "type": "string"
  13286. }
  13287. ],
  13288. "optional": true,
  13289. "required": false
  13290. },
  13291. {
  13292. "name": "open",
  13293. "type": "boolean",
  13294. "mutable": true,
  13295. "attr": "open",
  13296. "reflectToAttr": true,
  13297. "docs": "When `true`, displays the `calcite-time-picker` component.",
  13298. "docsTags": [],
  13299. "default": "false",
  13300. "values": [
  13301. {
  13302. "type": "boolean"
  13303. }
  13304. ],
  13305. "optional": false,
  13306. "required": false
  13307. },
  13308. {
  13309. "name": "overlayPositioning",
  13310. "type": "\"absolute\" | \"fixed\"",
  13311. "mutable": false,
  13312. "attr": "overlay-positioning",
  13313. "reflectToAttr": false,
  13314. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\n`\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  13315. "docsTags": [],
  13316. "default": "\"absolute\"",
  13317. "values": [
  13318. {
  13319. "value": "absolute",
  13320. "type": "string"
  13321. },
  13322. {
  13323. "value": "fixed",
  13324. "type": "string"
  13325. }
  13326. ],
  13327. "optional": false,
  13328. "required": false
  13329. },
  13330. {
  13331. "name": "placement",
  13332. "type": "Placement | VariationPlacement | AutoPlacement | DeprecatedPlacement",
  13333. "mutable": false,
  13334. "attr": "placement",
  13335. "reflectToAttr": true,
  13336. "docs": "Determines where the popover will be positioned relative to the input.",
  13337. "docsTags": [
  13338. {
  13339. "name": "see",
  13340. "text": "[LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)"
  13341. }
  13342. ],
  13343. "default": "\"auto\"",
  13344. "values": [
  13345. {
  13346. "type": "Placement"
  13347. },
  13348. {
  13349. "type": "VariationPlacement"
  13350. },
  13351. {
  13352. "type": "AutoPlacement"
  13353. },
  13354. {
  13355. "type": "DeprecatedPlacement"
  13356. }
  13357. ],
  13358. "optional": false,
  13359. "required": false
  13360. },
  13361. {
  13362. "name": "readOnly",
  13363. "type": "boolean",
  13364. "mutable": false,
  13365. "attr": "read-only",
  13366. "reflectToAttr": true,
  13367. "docs": "When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.",
  13368. "docsTags": [
  13369. {
  13370. "name": "mdn",
  13371. "text": "[readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)"
  13372. }
  13373. ],
  13374. "default": "false",
  13375. "values": [
  13376. {
  13377. "type": "boolean"
  13378. }
  13379. ],
  13380. "optional": false,
  13381. "required": false
  13382. },
  13383. {
  13384. "name": "scale",
  13385. "type": "\"l\" | \"m\" | \"s\"",
  13386. "mutable": false,
  13387. "attr": "scale",
  13388. "reflectToAttr": true,
  13389. "docs": "Specifies the size of the component.",
  13390. "docsTags": [],
  13391. "default": "\"m\"",
  13392. "values": [
  13393. {
  13394. "value": "l",
  13395. "type": "string"
  13396. },
  13397. {
  13398. "value": "m",
  13399. "type": "string"
  13400. },
  13401. {
  13402. "value": "s",
  13403. "type": "string"
  13404. }
  13405. ],
  13406. "optional": false,
  13407. "required": false
  13408. },
  13409. {
  13410. "name": "step",
  13411. "type": "number",
  13412. "mutable": false,
  13413. "attr": "step",
  13414. "reflectToAttr": false,
  13415. "docs": "Specifies the granularity the component's `value` must adhere to (in seconds).",
  13416. "docsTags": [],
  13417. "default": "60",
  13418. "values": [
  13419. {
  13420. "type": "number"
  13421. }
  13422. ],
  13423. "optional": false,
  13424. "required": false
  13425. },
  13426. {
  13427. "name": "value",
  13428. "type": "string",
  13429. "mutable": true,
  13430. "attr": "value",
  13431. "reflectToAttr": false,
  13432. "docs": "The component's value in UTC (always 24-hour format).",
  13433. "docsTags": [],
  13434. "default": "null",
  13435. "values": [
  13436. {
  13437. "type": "string"
  13438. }
  13439. ],
  13440. "optional": false,
  13441. "required": false
  13442. }
  13443. ],
  13444. "methods": [
  13445. {
  13446. "name": "reposition",
  13447. "returns": {
  13448. "type": "Promise<void>",
  13449. "docs": ""
  13450. },
  13451. "signature": "reposition(delayed?: boolean) => Promise<void>",
  13452. "parameters": [],
  13453. "docs": "Updates the position of the component.",
  13454. "docsTags": [
  13455. {
  13456. "name": "param",
  13457. "text": "delayed"
  13458. }
  13459. ]
  13460. },
  13461. {
  13462. "name": "setFocus",
  13463. "returns": {
  13464. "type": "Promise<void>",
  13465. "docs": ""
  13466. },
  13467. "signature": "setFocus() => Promise<void>",
  13468. "parameters": [],
  13469. "docs": "Sets focus on the component.",
  13470. "docsTags": []
  13471. }
  13472. ],
  13473. "events": [
  13474. {
  13475. "event": "calciteInputTimePickerChange",
  13476. "detail": "string",
  13477. "bubbles": true,
  13478. "cancelable": true,
  13479. "composed": true,
  13480. "docs": "Fires when the time value is changed as a result of user input.",
  13481. "docsTags": []
  13482. }
  13483. ],
  13484. "listeners": [
  13485. {
  13486. "event": "click",
  13487. "capture": false,
  13488. "passive": false
  13489. },
  13490. {
  13491. "event": "calciteInternalTimePickerBlur",
  13492. "capture": false,
  13493. "passive": false
  13494. },
  13495. {
  13496. "event": "calciteInternalTimePickerFocus",
  13497. "capture": false,
  13498. "passive": false
  13499. }
  13500. ],
  13501. "styles": [],
  13502. "slots": [],
  13503. "parts": [],
  13504. "dependents": [],
  13505. "dependencies": [
  13506. "calcite-input",
  13507. "calcite-popover",
  13508. "calcite-time-picker"
  13509. ],
  13510. "dependencyGraph": {
  13511. "calcite-input-time-picker": [
  13512. "calcite-input",
  13513. "calcite-popover",
  13514. "calcite-time-picker"
  13515. ],
  13516. "calcite-input": [
  13517. "calcite-progress",
  13518. "calcite-icon"
  13519. ],
  13520. "calcite-popover": [
  13521. "calcite-action",
  13522. "calcite-icon"
  13523. ],
  13524. "calcite-action": [
  13525. "calcite-loader",
  13526. "calcite-icon"
  13527. ],
  13528. "calcite-time-picker": [
  13529. "calcite-icon"
  13530. ]
  13531. }
  13532. },
  13533. {
  13534. "filePath": "./src/components/label/label.tsx",
  13535. "encapsulation": "shadow",
  13536. "tag": "calcite-label",
  13537. "readme": "# calcite-label\n\nRenders a `<label>` around its children and can be used with any [labelable native](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) or labelable calcite element.\n",
  13538. "docs": "Renders a `<label>` around its children and can be used with any [labelable native](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) or labelable calcite element.",
  13539. "docsTags": [
  13540. {
  13541. "name": "slot",
  13542. "text": "- A slot for adding text and a component that can be labeled."
  13543. }
  13544. ],
  13545. "usage": {
  13546. "Basic": "It also allows consumers to set a `status` attribute for child `calcite-input` and `calcite-input-message` components to use to set their own properties.\n\n```html\n<calcite-label status=\"invalid\">\n Invalid input\n <calcite-input type=\"search\" placeholder=\"Filter your files\" value=\"adfo2h2\"></calcite-input>\n <calcite-input-message active icon> Something doesn't look right </calcite-input-message>\n</calcite-label>\n```\n",
  13547. "Browser-caveat": "When using the `default`, `inline` or `inline-space-between` layout option with [browsers that do not support the CSS `gap` property when used with flexbox](https://caniuse.com/flexbox-gap), you will need to use the `disable-spacing` attribute and apply spacing manually to the label by wrapping it in a styled span like so:\n\n```html\n<calcite-label layout=\"inline\" disable-spacing>\n <span style=\"margin-right: 0.75rem\">Text leading inline</span>\n <calcite-checkbox></calcite-checkbox>\n</calcite-label>\n```\n"
  13548. },
  13549. "props": [
  13550. {
  13551. "name": "alignment",
  13552. "type": "\"center\" | \"end\" | \"start\"",
  13553. "mutable": false,
  13554. "attr": "alignment",
  13555. "reflectToAttr": true,
  13556. "docs": "Specifies the text alignment of the component.",
  13557. "docsTags": [],
  13558. "default": "\"start\"",
  13559. "values": [
  13560. {
  13561. "value": "center",
  13562. "type": "string"
  13563. },
  13564. {
  13565. "value": "end",
  13566. "type": "string"
  13567. },
  13568. {
  13569. "value": "start",
  13570. "type": "string"
  13571. }
  13572. ],
  13573. "optional": false,
  13574. "required": false
  13575. },
  13576. {
  13577. "name": "disableSpacing",
  13578. "type": "boolean",
  13579. "mutable": false,
  13580. "attr": "disable-spacing",
  13581. "reflectToAttr": true,
  13582. "docs": "When `true`, disables the component's spacing.",
  13583. "docsTags": [
  13584. {
  13585. "name": "deprecated",
  13586. "text": "Set the `--calcite-label-margin-bottom` css variable to `0` instead."
  13587. }
  13588. ],
  13589. "default": "false",
  13590. "deprecation": "Set the `--calcite-label-margin-bottom` css variable to `0` instead.",
  13591. "values": [
  13592. {
  13593. "type": "boolean"
  13594. }
  13595. ],
  13596. "optional": false,
  13597. "required": false
  13598. },
  13599. {
  13600. "name": "disabled",
  13601. "type": "boolean",
  13602. "mutable": false,
  13603. "attr": "disabled",
  13604. "reflectToAttr": true,
  13605. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  13606. "docsTags": [
  13607. {
  13608. "name": "deprecated",
  13609. "text": "Use the `disabled` property on the component the label is bound to instead."
  13610. }
  13611. ],
  13612. "default": "false",
  13613. "deprecation": "Use the `disabled` property on the component the label is bound to instead.",
  13614. "values": [
  13615. {
  13616. "type": "boolean"
  13617. }
  13618. ],
  13619. "optional": false,
  13620. "required": false
  13621. },
  13622. {
  13623. "name": "for",
  13624. "type": "string",
  13625. "mutable": false,
  13626. "attr": "for",
  13627. "reflectToAttr": true,
  13628. "docs": "Specifies the `id` of the component the label is bound to. Use when the component the label is bound to does not reside within the component.",
  13629. "docsTags": [],
  13630. "values": [
  13631. {
  13632. "type": "string"
  13633. }
  13634. ],
  13635. "optional": false,
  13636. "required": false
  13637. },
  13638. {
  13639. "name": "layout",
  13640. "type": "\"default\" | \"inline\" | \"inline-space-between\"",
  13641. "mutable": false,
  13642. "attr": "layout",
  13643. "reflectToAttr": true,
  13644. "docs": "Defines the layout of the label in relation to the component. Use `\"inline\"` positions to wrap the label and component on the same line.",
  13645. "docsTags": [],
  13646. "default": "\"default\"",
  13647. "values": [
  13648. {
  13649. "value": "default",
  13650. "type": "string"
  13651. },
  13652. {
  13653. "value": "inline",
  13654. "type": "string"
  13655. },
  13656. {
  13657. "value": "inline-space-between",
  13658. "type": "string"
  13659. }
  13660. ],
  13661. "optional": false,
  13662. "required": false
  13663. },
  13664. {
  13665. "name": "scale",
  13666. "type": "\"l\" | \"m\" | \"s\"",
  13667. "mutable": false,
  13668. "attr": "scale",
  13669. "reflectToAttr": true,
  13670. "docs": "Specifies the size of the component.",
  13671. "docsTags": [],
  13672. "default": "\"m\"",
  13673. "values": [
  13674. {
  13675. "value": "l",
  13676. "type": "string"
  13677. },
  13678. {
  13679. "value": "m",
  13680. "type": "string"
  13681. },
  13682. {
  13683. "value": "s",
  13684. "type": "string"
  13685. }
  13686. ],
  13687. "optional": false,
  13688. "required": false
  13689. },
  13690. {
  13691. "name": "status",
  13692. "type": "\"idle\" | \"invalid\" | \"valid\"",
  13693. "mutable": false,
  13694. "attr": "status",
  13695. "reflectToAttr": true,
  13696. "docs": "Specifies the status of the component and any child input, or input messages.",
  13697. "docsTags": [
  13698. {
  13699. "name": "deprecated",
  13700. "text": "Set directly on the component the label is bound to instead."
  13701. }
  13702. ],
  13703. "default": "\"idle\"",
  13704. "deprecation": "Set directly on the component the label is bound to instead.",
  13705. "values": [
  13706. {
  13707. "value": "idle",
  13708. "type": "string"
  13709. },
  13710. {
  13711. "value": "invalid",
  13712. "type": "string"
  13713. },
  13714. {
  13715. "value": "valid",
  13716. "type": "string"
  13717. }
  13718. ],
  13719. "optional": false,
  13720. "required": false
  13721. }
  13722. ],
  13723. "methods": [],
  13724. "events": [],
  13725. "listeners": [],
  13726. "styles": [
  13727. {
  13728. "name": "--calcite-label-margin-bottom",
  13729. "annotation": "prop",
  13730. "docs": "The spacing below the component."
  13731. }
  13732. ],
  13733. "slots": [
  13734. {
  13735. "name": "",
  13736. "docs": "A slot for adding text and a component that can be labeled."
  13737. }
  13738. ],
  13739. "parts": [],
  13740. "dependents": [
  13741. "calcite-card"
  13742. ],
  13743. "dependencies": [],
  13744. "dependencyGraph": {
  13745. "calcite-card": [
  13746. "calcite-label"
  13747. ]
  13748. }
  13749. },
  13750. {
  13751. "filePath": "./src/components/link/link.tsx",
  13752. "encapsulation": "shadow",
  13753. "tag": "calcite-link",
  13754. "readme": "# calcite-link\n",
  13755. "docs": "",
  13756. "docsTags": [
  13757. {
  13758. "name": "slot",
  13759. "text": "- A slot for adding text."
  13760. }
  13761. ],
  13762. "usage": {
  13763. "Basic": "```html\n<div style=\"font-size: 16px; font-weight: 400;\">\n Some wrapping text\n <calcite-link href=\"#\">link text here</calcite-link>\n around the link\n</div>\n```\n",
  13764. "Focusing": "You can programmatically focus a `calcite-link` with the `setFocus()` method:\n\n```html\n<div onclick=document.querySelector('#my-link').setFocus()>Focus!</div>\n```\n"
  13765. },
  13766. "props": [
  13767. {
  13768. "name": "disabled",
  13769. "type": "boolean",
  13770. "mutable": false,
  13771. "attr": "disabled",
  13772. "reflectToAttr": true,
  13773. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  13774. "docsTags": [],
  13775. "default": "false",
  13776. "values": [
  13777. {
  13778. "type": "boolean"
  13779. }
  13780. ],
  13781. "optional": false,
  13782. "required": false
  13783. },
  13784. {
  13785. "name": "download",
  13786. "type": "boolean | string",
  13787. "mutable": false,
  13788. "attr": "download",
  13789. "reflectToAttr": true,
  13790. "docs": "Prompts the user to save the linked URL instead of navigating to it. Can be used with or without a value:\nWithout a value, the browser will suggest a filename/extension\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download.",
  13791. "docsTags": [],
  13792. "default": "false",
  13793. "values": [
  13794. {
  13795. "type": "boolean"
  13796. },
  13797. {
  13798. "type": "string"
  13799. }
  13800. ],
  13801. "optional": false,
  13802. "required": false
  13803. },
  13804. {
  13805. "name": "href",
  13806. "type": "string",
  13807. "mutable": false,
  13808. "attr": "href",
  13809. "reflectToAttr": true,
  13810. "docs": "Specifies the URL of the linked resource, which can be set as an absolute or relative path.",
  13811. "docsTags": [],
  13812. "values": [
  13813. {
  13814. "type": "string"
  13815. }
  13816. ],
  13817. "optional": true,
  13818. "required": false
  13819. },
  13820. {
  13821. "name": "iconEnd",
  13822. "type": "string",
  13823. "mutable": false,
  13824. "attr": "icon-end",
  13825. "reflectToAttr": true,
  13826. "docs": "Specifies an icon to display at the end of the component.",
  13827. "docsTags": [],
  13828. "values": [
  13829. {
  13830. "type": "string"
  13831. }
  13832. ],
  13833. "optional": true,
  13834. "required": false
  13835. },
  13836. {
  13837. "name": "iconFlipRtl",
  13838. "type": "\"both\" | \"end\" | \"start\"",
  13839. "mutable": false,
  13840. "attr": "icon-flip-rtl",
  13841. "reflectToAttr": true,
  13842. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  13843. "docsTags": [],
  13844. "values": [
  13845. {
  13846. "value": "both",
  13847. "type": "string"
  13848. },
  13849. {
  13850. "value": "end",
  13851. "type": "string"
  13852. },
  13853. {
  13854. "value": "start",
  13855. "type": "string"
  13856. }
  13857. ],
  13858. "optional": true,
  13859. "required": false
  13860. },
  13861. {
  13862. "name": "iconStart",
  13863. "type": "string",
  13864. "mutable": false,
  13865. "attr": "icon-start",
  13866. "reflectToAttr": true,
  13867. "docs": "Specifies an icon to display at the start of the component.",
  13868. "docsTags": [],
  13869. "values": [
  13870. {
  13871. "type": "string"
  13872. }
  13873. ],
  13874. "optional": true,
  13875. "required": false
  13876. },
  13877. {
  13878. "name": "rel",
  13879. "type": "string",
  13880. "mutable": false,
  13881. "attr": "rel",
  13882. "reflectToAttr": false,
  13883. "docs": "Specifies the relationship to the linked document defined in `href`.",
  13884. "docsTags": [],
  13885. "values": [
  13886. {
  13887. "type": "string"
  13888. }
  13889. ],
  13890. "optional": true,
  13891. "required": false
  13892. },
  13893. {
  13894. "name": "target",
  13895. "type": "string",
  13896. "mutable": false,
  13897. "attr": "target",
  13898. "reflectToAttr": false,
  13899. "docs": "Specifies the frame or window to open the linked document.",
  13900. "docsTags": [],
  13901. "values": [
  13902. {
  13903. "type": "string"
  13904. }
  13905. ],
  13906. "optional": true,
  13907. "required": false
  13908. }
  13909. ],
  13910. "methods": [
  13911. {
  13912. "name": "setFocus",
  13913. "returns": {
  13914. "type": "Promise<void>",
  13915. "docs": ""
  13916. },
  13917. "signature": "setFocus() => Promise<void>",
  13918. "parameters": [],
  13919. "docs": "Sets focus on the component.",
  13920. "docsTags": []
  13921. }
  13922. ],
  13923. "events": [],
  13924. "listeners": [
  13925. {
  13926. "event": "click",
  13927. "capture": false,
  13928. "passive": false
  13929. }
  13930. ],
  13931. "styles": [],
  13932. "slots": [
  13933. {
  13934. "name": "",
  13935. "docs": "A slot for adding text."
  13936. }
  13937. ],
  13938. "parts": [],
  13939. "dependents": [
  13940. "calcite-tile"
  13941. ],
  13942. "dependencies": [
  13943. "calcite-icon"
  13944. ],
  13945. "dependencyGraph": {
  13946. "calcite-link": [
  13947. "calcite-icon"
  13948. ],
  13949. "calcite-tile": [
  13950. "calcite-link"
  13951. ]
  13952. }
  13953. },
  13954. {
  13955. "filePath": "./src/components/list/list.tsx",
  13956. "encapsulation": "shadow",
  13957. "tag": "calcite-list",
  13958. "readme": "# calcite-list\n",
  13959. "docs": "A general purpose list that enables users to construct list items that conform to Calcite styling.",
  13960. "docsTags": [
  13961. {
  13962. "name": "slot",
  13963. "text": "- A slot for adding `calcite-list-item` elements."
  13964. }
  13965. ],
  13966. "usage": {
  13967. "Advanced": "```html\n<calcite-list>\n <calcite-list-item label=\"Princess Bubblegum\" description=\"Ruler of The Candy Kingdom\">\n <calcite-action icon=\"drag\" label=\"drag\" scale=\"s\" slot=\"actions-start\"></calcite-action>\n <calcite-icon scale=\"l\" icon=\"effects\" slot=\"content-start\"></calcite-icon>\n <calcite-avatar\n scale=\"l\"\n slot=\"content-start\"\n thumbnail=\"https://slm-assets.secondlife.com/assets/19947929/view_large/Capture_du_2018-03-04_20-40-56.jpg?1520192584\"\n ></calcite-avatar>\n <calcite-icon scale=\"s\" icon=\"check\" slot=\"content-end\" style=\"color: var(--calcite-ui-success)\"></calcite-icon>\n <calcite-action icon=\"ellipsis\" label=\"menu\" slot=\"actions-end\"></calcite-action>\n <calcite-action icon=\"x\" label=\"remove\" slot=\"actions-end\"></calcite-action>\n </calcite-list-item>\n <calcite-list-item label=\"Finn Mertens\" description=\"Part owner of the Tree House\">\n <calcite-action icon=\"drag\" label=\"drag\" scale=\"s\" slot=\"actions-start\"></calcite-action>\n <calcite-icon scale=\"l\" icon=\"running\" slot=\"content-start\"></calcite-icon>\n <calcite-avatar\n scale=\"l\"\n slot=\"content-start\"\n thumbnail=\"https://www.seekpng.com/png/detail/90-906849_89kib-1024x631-finn-finn-adventure-time-face.png\"\n ></calcite-avatar>\n <calcite-icon scale=\"s\" icon=\"check\" slot=\"content-end\" style=\"color: var(--calcite-ui-success)\"></calcite-icon>\n <calcite-action icon=\"ellipsis\" label=\"menu\" slot=\"actions-end\"></calcite-action>\n <calcite-action icon=\"x\" label=\"remove\" slot=\"actions-end\"></calcite-action>\n </calcite-list-item>\n <calcite-list-item label=\"Jake T. Dog\" description=\"Part owner of the Tree House\">\n <calcite-action icon=\"drag\" label=\"drag\" scale=\"s\" slot=\"actions-start\"></calcite-action>\n <calcite-icon scale=\"l\" icon=\"walking\" slot=\"content-start\"></calcite-icon>\n <calcite-avatar\n scale=\"l\"\n slot=\"content-start\"\n thumbnail=\"https://static.wikia.nocookie.net/adventuretimewithfinnandjake/images/c/c9/603138_454321168018988_647044807_n.png/revision/latest/scale-to-width-down/250?cb=20140624024310\"\n ></calcite-avatar>\n <calcite-icon\n scale=\"s\"\n icon=\"exclamation-mark-triangle\"\n slot=\"content-end\"\n style=\"color: var(--calcite-ui-danger)\"\n ></calcite-icon>\n <calcite-action icon=\"ellipsis\" label=\"menu\" slot=\"actions-end\"></calcite-action>\n <calcite-action icon=\"x\" label=\"remove\" slot=\"actions-end\"></calcite-action>\n </calcite-list-item>\n</calcite-list>\n```\n",
  13968. "Basic": "```html\n<calcite-list>\n <calcite-list-item\n label=\"Cras iaculis ultricies nulla.\"\n description=\"Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\"\n ></calcite-list-item>\n <calcite-list-item\n label=\"Ut aliquam sollicitudin leo.\"\n description=\"Aliquam tincidunt mauris eu risus.\"\n ></calcite-list-item>\n <calcite-list-item\n label=\"Vestibulum commodo felis quis tortor.\n \"\n description=\"Vestibulum auctor dapibus neque.\n \"\n ></calcite-list-item>\n</calcite-list>\n```\n",
  13969. "Grouped": "```html\n<calcite-list>\n <calcite-list-item-group heading=\"Digits\">\n <calcite-list-item\n label=\"One\"\n description=\"Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\"\n ></calcite-list-item>\n <calcite-list-item label=\"Two\" description=\"Aliquam tincidunt mauris eu risus.\"></calcite-list-item>\n <calcite-list-item label=\"Three\" description=\"Vestibulum auctor dapibus neque.\"></calcite-list-item>\n </calcite-list-item-group>\n <calcite-list-item-group heading=\"Letters\">\n <calcite-list-item\n label=\"A\"\n description=\"Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\"\n ></calcite-list-item>\n <calcite-list-item label=\"B\" description=\"Aliquam tincidunt mauris eu risus.\"></calcite-list-item>\n <calcite-list-item\n label=\"C\"\n description=\"Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\"\n ></calcite-list-item>\n </calcite-list-item-group>\n</calcite-list>\n```\n",
  13970. "Nested": "```html\n<calcite-list>\n <calcite-list-item\n label=\"Cras iaculis ultricies nulla.\"\n description=\"Lorem ipsum dolor sit amet, consectetuer adipiscing elit.\"\n >\n <calcite-list-item label=\"Ut aliquam sollicitudin leo.\" description=\"Aliquam tincidunt mauris eu risus.\">\n <calcite-list-item\n label=\"Vestibulum commodo felis quis tortor.\"\n description=\"Vestibulum auctor dapibus neque.\"\n ></calcite-list-item></calcite-list-item\n ></calcite-list-item>\n</calcite-list>\n```\n"
  13971. },
  13972. "props": [
  13973. {
  13974. "name": "disabled",
  13975. "type": "boolean",
  13976. "mutable": false,
  13977. "attr": "disabled",
  13978. "reflectToAttr": true,
  13979. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  13980. "docsTags": [],
  13981. "default": "false",
  13982. "values": [
  13983. {
  13984. "type": "boolean"
  13985. }
  13986. ],
  13987. "optional": false,
  13988. "required": false
  13989. },
  13990. {
  13991. "name": "headingLevel",
  13992. "type": "1 | 2 | 3 | 4 | 5 | 6",
  13993. "mutable": false,
  13994. "attr": "heading-level",
  13995. "reflectToAttr": true,
  13996. "docs": "Specifies the number at which section headings should start.",
  13997. "docsTags": [],
  13998. "values": [
  13999. {
  14000. "value": "1",
  14001. "type": "number"
  14002. },
  14003. {
  14004. "value": "2",
  14005. "type": "number"
  14006. },
  14007. {
  14008. "value": "3",
  14009. "type": "number"
  14010. },
  14011. {
  14012. "value": "4",
  14013. "type": "number"
  14014. },
  14015. {
  14016. "value": "5",
  14017. "type": "number"
  14018. },
  14019. {
  14020. "value": "6",
  14021. "type": "number"
  14022. }
  14023. ],
  14024. "optional": false,
  14025. "required": false
  14026. }
  14027. ],
  14028. "methods": [
  14029. {
  14030. "name": "setFocus",
  14031. "returns": {
  14032. "type": "Promise<void>",
  14033. "docs": ""
  14034. },
  14035. "signature": "setFocus() => Promise<void>",
  14036. "parameters": [],
  14037. "docs": "Sets focus on the component.",
  14038. "docsTags": []
  14039. }
  14040. ],
  14041. "events": [],
  14042. "listeners": [],
  14043. "styles": [],
  14044. "slots": [
  14045. {
  14046. "name": "",
  14047. "docs": "A slot for adding `calcite-list-item` elements."
  14048. }
  14049. ],
  14050. "parts": [],
  14051. "dependents": [],
  14052. "dependencies": [],
  14053. "dependencyGraph": {}
  14054. },
  14055. {
  14056. "filePath": "./src/components/list-item/list-item.tsx",
  14057. "encapsulation": "shadow",
  14058. "tag": "calcite-list-item",
  14059. "readme": "# calcite-list-item\n\nA general purpose list that enables users to construct list items that conform to Calcite styling.\n\nIf you are looking for a list that handles more advanced usage like selection, see the documentation for 'calcite-pick-list' or 'calcite-value-list'.\n",
  14060. "docs": "A general purpose list that enables users to construct list items that conform to Calcite styling.\n\nIf you are looking for a list that handles more advanced usage like selection, see the documentation for 'calcite-pick-list' or 'calcite-value-list'.",
  14061. "docsTags": [
  14062. {
  14063. "name": "slot",
  14064. "text": "- A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  14065. },
  14066. {
  14067. "name": "slot",
  14068. "text": "actions-start - A slot for adding actionable `calcite-action` elements before the content of the component."
  14069. },
  14070. {
  14071. "name": "slot",
  14072. "text": "content-start - A slot for adding non-actionable elements before the label and description of the component."
  14073. },
  14074. {
  14075. "name": "slot",
  14076. "text": "content-end - A slot for adding non-actionable elements after the label and description of the component."
  14077. },
  14078. {
  14079. "name": "slot",
  14080. "text": "actions-end - A slot for adding actionable `calcite-action` elements after the content of the component."
  14081. }
  14082. ],
  14083. "usage": {},
  14084. "props": [
  14085. {
  14086. "name": "description",
  14087. "type": "string",
  14088. "mutable": false,
  14089. "attr": "description",
  14090. "reflectToAttr": false,
  14091. "docs": "A description for the component. Displays below the label text.",
  14092. "docsTags": [],
  14093. "values": [
  14094. {
  14095. "type": "string"
  14096. }
  14097. ],
  14098. "optional": true,
  14099. "required": false
  14100. },
  14101. {
  14102. "name": "disabled",
  14103. "type": "boolean",
  14104. "mutable": false,
  14105. "attr": "disabled",
  14106. "reflectToAttr": true,
  14107. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  14108. "docsTags": [],
  14109. "default": "false",
  14110. "values": [
  14111. {
  14112. "type": "boolean"
  14113. }
  14114. ],
  14115. "optional": false,
  14116. "required": false
  14117. },
  14118. {
  14119. "name": "label",
  14120. "type": "string",
  14121. "mutable": false,
  14122. "attr": "label",
  14123. "reflectToAttr": false,
  14124. "docs": "The label text of the component. Displays above the description text.",
  14125. "docsTags": [],
  14126. "values": [
  14127. {
  14128. "type": "string"
  14129. }
  14130. ],
  14131. "optional": false,
  14132. "required": false
  14133. },
  14134. {
  14135. "name": "nonInteractive",
  14136. "type": "boolean",
  14137. "mutable": false,
  14138. "attr": "non-interactive",
  14139. "reflectToAttr": true,
  14140. "docs": "When `true`, prevents the content of the component from user interaction.",
  14141. "docsTags": [],
  14142. "default": "false",
  14143. "values": [
  14144. {
  14145. "type": "boolean"
  14146. }
  14147. ],
  14148. "optional": false,
  14149. "required": false
  14150. }
  14151. ],
  14152. "methods": [
  14153. {
  14154. "name": "setFocus",
  14155. "returns": {
  14156. "type": "Promise<void>",
  14157. "docs": ""
  14158. },
  14159. "signature": "setFocus() => Promise<void>",
  14160. "parameters": [],
  14161. "docs": "Sets focus on the component.",
  14162. "docsTags": []
  14163. }
  14164. ],
  14165. "events": [],
  14166. "listeners": [],
  14167. "styles": [],
  14168. "slots": [
  14169. {
  14170. "name": "",
  14171. "docs": "A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  14172. },
  14173. {
  14174. "name": "actions-end",
  14175. "docs": "A slot for adding actionable `calcite-action` elements after the content of the component."
  14176. },
  14177. {
  14178. "name": "actions-start",
  14179. "docs": "A slot for adding actionable `calcite-action` elements before the content of the component."
  14180. },
  14181. {
  14182. "name": "content-end",
  14183. "docs": "A slot for adding non-actionable elements after the label and description of the component."
  14184. },
  14185. {
  14186. "name": "content-start",
  14187. "docs": "A slot for adding non-actionable elements before the label and description of the component."
  14188. }
  14189. ],
  14190. "parts": [],
  14191. "dependents": [],
  14192. "dependencies": [],
  14193. "dependencyGraph": {}
  14194. },
  14195. {
  14196. "filePath": "./src/components/list-item-group/list-item-group.tsx",
  14197. "encapsulation": "shadow",
  14198. "tag": "calcite-list-item-group",
  14199. "readme": "# calcite-list-item-group\n",
  14200. "docs": "",
  14201. "docsTags": [
  14202. {
  14203. "name": "slot",
  14204. "text": "- A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  14205. }
  14206. ],
  14207. "usage": {},
  14208. "props": [
  14209. {
  14210. "name": "heading",
  14211. "type": "string",
  14212. "mutable": false,
  14213. "attr": "heading",
  14214. "reflectToAttr": true,
  14215. "docs": "The header text for all nested `calcite-list-item` rows.",
  14216. "docsTags": [],
  14217. "values": [
  14218. {
  14219. "type": "string"
  14220. }
  14221. ],
  14222. "optional": false,
  14223. "required": false
  14224. },
  14225. {
  14226. "name": "headingLevel",
  14227. "type": "1 | 2 | 3 | 4 | 5 | 6",
  14228. "mutable": false,
  14229. "attr": "heading-level",
  14230. "reflectToAttr": true,
  14231. "docs": "Specifies the number at which section headings should start.",
  14232. "docsTags": [],
  14233. "values": [
  14234. {
  14235. "value": "1",
  14236. "type": "number"
  14237. },
  14238. {
  14239. "value": "2",
  14240. "type": "number"
  14241. },
  14242. {
  14243. "value": "3",
  14244. "type": "number"
  14245. },
  14246. {
  14247. "value": "4",
  14248. "type": "number"
  14249. },
  14250. {
  14251. "value": "5",
  14252. "type": "number"
  14253. },
  14254. {
  14255. "value": "6",
  14256. "type": "number"
  14257. }
  14258. ],
  14259. "optional": false,
  14260. "required": false
  14261. }
  14262. ],
  14263. "methods": [],
  14264. "events": [],
  14265. "listeners": [],
  14266. "styles": [],
  14267. "slots": [
  14268. {
  14269. "name": "",
  14270. "docs": "A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  14271. }
  14272. ],
  14273. "parts": [],
  14274. "dependents": [],
  14275. "dependencies": [],
  14276. "dependencyGraph": {}
  14277. },
  14278. {
  14279. "filePath": "./src/components/loader/loader.tsx",
  14280. "encapsulation": "shadow",
  14281. "tag": "calcite-loader",
  14282. "readme": "# calcite-loader\n\nThe `calcite-loader` component can act as a determinate or indeterminate loading indicator.\n",
  14283. "docs": "The `calcite-loader` component can act as a determinate or indeterminate loading indicator.",
  14284. "docsTags": [],
  14285. "usage": {
  14286. "Basic": "You can use the `active` attribute to toggle visibility:\n\n```html\n<calcite-loader text=\"Fetching data...\" active></calcite-loader>\n```\n",
  14287. "Compact": "For instances when you don't have room for the full loader, you can use the smaller `inline` version of the loader. The inline version is meant to sit to the left of text:\n\n```html\n<p><calcite-loader active inline></calcite-loader> Inline loader</p>\n```\n",
  14288. "Determinate": "If you can calculate your progress, it's best to use the determinate version of the loader. Update the `value` of the element when progress is made. This will display a progress bar along the perimeter of the loader showing 32% complete:\n\n```html\n<calcite-loader type=\"determinate\" value=\"32\" active></calcite-loader>\n```\n"
  14289. },
  14290. "props": [
  14291. {
  14292. "name": "active",
  14293. "type": "boolean",
  14294. "mutable": false,
  14295. "attr": "active",
  14296. "reflectToAttr": true,
  14297. "docs": "When `true`, the component is active.",
  14298. "docsTags": [],
  14299. "default": "false",
  14300. "values": [
  14301. {
  14302. "type": "boolean"
  14303. }
  14304. ],
  14305. "optional": false,
  14306. "required": false
  14307. },
  14308. {
  14309. "name": "inline",
  14310. "type": "boolean",
  14311. "mutable": false,
  14312. "attr": "inline",
  14313. "reflectToAttr": true,
  14314. "docs": "When `true`, displays smaller and appears to the left of the text.",
  14315. "docsTags": [],
  14316. "default": "false",
  14317. "values": [
  14318. {
  14319. "type": "boolean"
  14320. }
  14321. ],
  14322. "optional": false,
  14323. "required": false
  14324. },
  14325. {
  14326. "name": "label",
  14327. "type": "string",
  14328. "mutable": false,
  14329. "attr": "label",
  14330. "reflectToAttr": false,
  14331. "docs": "Accessible name for the component.",
  14332. "docsTags": [],
  14333. "values": [
  14334. {
  14335. "type": "string"
  14336. }
  14337. ],
  14338. "optional": false,
  14339. "required": true
  14340. },
  14341. {
  14342. "name": "noPadding",
  14343. "type": "boolean",
  14344. "mutable": false,
  14345. "attr": "no-padding",
  14346. "reflectToAttr": true,
  14347. "docs": "Disables spacing around the component.",
  14348. "docsTags": [
  14349. {
  14350. "name": "deprecated",
  14351. "text": "Use `--calcite-loader-padding` CSS variable instead."
  14352. }
  14353. ],
  14354. "default": "false",
  14355. "deprecation": "Use `--calcite-loader-padding` CSS variable instead.",
  14356. "values": [
  14357. {
  14358. "type": "boolean"
  14359. }
  14360. ],
  14361. "optional": false,
  14362. "required": false
  14363. },
  14364. {
  14365. "name": "scale",
  14366. "type": "\"l\" | \"m\" | \"s\"",
  14367. "mutable": false,
  14368. "attr": "scale",
  14369. "reflectToAttr": true,
  14370. "docs": "Specifies the size of the component.",
  14371. "docsTags": [],
  14372. "default": "\"m\"",
  14373. "values": [
  14374. {
  14375. "value": "l",
  14376. "type": "string"
  14377. },
  14378. {
  14379. "value": "m",
  14380. "type": "string"
  14381. },
  14382. {
  14383. "value": "s",
  14384. "type": "string"
  14385. }
  14386. ],
  14387. "optional": false,
  14388. "required": false
  14389. },
  14390. {
  14391. "name": "text",
  14392. "type": "string",
  14393. "mutable": false,
  14394. "attr": "text",
  14395. "reflectToAttr": false,
  14396. "docs": "Text that displays under the component's indicator.",
  14397. "docsTags": [],
  14398. "default": "\"\"",
  14399. "values": [
  14400. {
  14401. "type": "string"
  14402. }
  14403. ],
  14404. "optional": true,
  14405. "required": false
  14406. },
  14407. {
  14408. "name": "type",
  14409. "type": "\"determinate\" | \"indeterminate\"",
  14410. "mutable": false,
  14411. "attr": "type",
  14412. "reflectToAttr": true,
  14413. "docs": "Specifies the component type.\n\nUse `\"indeterminate\"` if finding actual progress value is impossible.",
  14414. "docsTags": [],
  14415. "values": [
  14416. {
  14417. "value": "determinate",
  14418. "type": "string"
  14419. },
  14420. {
  14421. "value": "indeterminate",
  14422. "type": "string"
  14423. }
  14424. ],
  14425. "optional": false,
  14426. "required": false
  14427. },
  14428. {
  14429. "name": "value",
  14430. "type": "number",
  14431. "mutable": false,
  14432. "attr": "value",
  14433. "reflectToAttr": false,
  14434. "docs": "The component's value. Valid only for `\"determinate\"` indicators. Percent complete of 100.",
  14435. "docsTags": [],
  14436. "default": "0",
  14437. "values": [
  14438. {
  14439. "type": "number"
  14440. }
  14441. ],
  14442. "optional": false,
  14443. "required": false
  14444. }
  14445. ],
  14446. "methods": [],
  14447. "events": [],
  14448. "listeners": [],
  14449. "styles": [
  14450. {
  14451. "name": "--calcite-loader-font-size",
  14452. "annotation": "prop",
  14453. "docs": "Specifies the font size of the loading percentage when type is `\"determinate\"`."
  14454. },
  14455. {
  14456. "name": "--calcite-loader-size",
  14457. "annotation": "prop",
  14458. "docs": "The width and height of a non-inline loader."
  14459. },
  14460. {
  14461. "name": "--calcite-loader-size-inline",
  14462. "annotation": "prop",
  14463. "docs": "The width and height of an inline loader."
  14464. }
  14465. ],
  14466. "slots": [],
  14467. "parts": [],
  14468. "dependents": [
  14469. "calcite-action",
  14470. "calcite-block",
  14471. "calcite-button",
  14472. "calcite-card",
  14473. "calcite-scrim"
  14474. ],
  14475. "dependencies": [],
  14476. "dependencyGraph": {
  14477. "calcite-action": [
  14478. "calcite-loader"
  14479. ],
  14480. "calcite-block": [
  14481. "calcite-loader"
  14482. ],
  14483. "calcite-button": [
  14484. "calcite-loader"
  14485. ],
  14486. "calcite-card": [
  14487. "calcite-loader"
  14488. ],
  14489. "calcite-scrim": [
  14490. "calcite-loader"
  14491. ]
  14492. }
  14493. },
  14494. {
  14495. "filePath": "./src/components/modal/modal.tsx",
  14496. "encapsulation": "shadow",
  14497. "tag": "calcite-modal",
  14498. "readme": "# calcite-modal\n\n`calcite-modal` allows you to show a modal/dialog to your users. The modal handles fencing focus and animating in/out.\n\n<style>\n html {\n overflow:auto !important;\n }\n</style>",
  14499. "docs": "`calcite-modal` allows you to show a modal/dialog to your users. The modal handles fencing focus and animating in/out.\n\n<style>\n html {\n overflow:auto !important;\n }\n</style>",
  14500. "docsTags": [
  14501. {
  14502. "name": "slot",
  14503. "text": "header - A slot for adding header text."
  14504. },
  14505. {
  14506. "name": "slot",
  14507. "text": "content - A slot for adding the component's content."
  14508. },
  14509. {
  14510. "name": "slot",
  14511. "text": "primary - A slot for adding a primary button."
  14512. },
  14513. {
  14514. "name": "slot",
  14515. "text": "secondary - A slot for adding a secondary button."
  14516. },
  14517. {
  14518. "name": "slot",
  14519. "text": "back - A slot for adding a back button."
  14520. }
  14521. ],
  14522. "usage": {
  14523. "Basic": "Customize the modal by passing your content into multiple named slots: `header` (title-area of the modal), `content` (main body of the modal), and up to three modal actions: primary, secondary, and back. Notice below we use the `aria-labelledby` attribute, relating it to the title of the modal. In order to ensure good accessibility, it's recommended that you use either an `aria-label` or `aria-labelledby` attribute so screen readers can infer what the subject matter of your modal is.\n\n```html\n<calcite-modal aria-labelledby=\"modal-title\" active>\n <h3 slot=\"header\" id=\"modal-title\">Title of the modal</h3>\n <div slot=\"content\">The actual content of the modal</div>\n <calcite-button slot=\"back\" color=\"neutral\" appearance=\"outline\" icon=\"chevron-left\" width=\"full\">\n Back\n </calcite-button>\n <calcite-button slot=\"secondary\" width=\"full\" appearance=\"outline\"> Cancel </calcite-button>\n <calcite-button slot=\"primary\" width=\"full\"> Save </calcite-button>\n</calcite-modal>\n```\n",
  14524. "Open": "To open a modal, add the `active` prop. Once the opening animation is complete, the `calciteModalOpen` event will be fired.\n\nTo close the modal, simply remove the attribute. This will run your before close method (if provided, see below) and fire the `calciteModalClose` event after the animation and teardown is complete.\n\n```html\n<calcite-modal active></calcite-modal>\n```\n",
  14525. "Reacting-before-close": "If you'd like to perform some actions prior to closing (ie. warning users they will lose their changes) you can pass a function to the `beforeClose` property. This method will be called prior to close and should return a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise):\n\n```js\nfunction beforeClose() {\n return new Promise((resolve) => {\n // do something async\n resolve(); // this will trigger the close animation\n });\n}\n\nconst modal = document.getElementById(\"my-modal\");\nmodal.beforeClose = beforeClose;\n```\n"
  14526. },
  14527. "props": [
  14528. {
  14529. "name": "active",
  14530. "type": "boolean",
  14531. "mutable": true,
  14532. "attr": "active",
  14533. "reflectToAttr": true,
  14534. "docs": "When `true`, the component is active.",
  14535. "docsTags": [
  14536. {
  14537. "name": "deprecated",
  14538. "text": "use `open` instead."
  14539. }
  14540. ],
  14541. "default": "false",
  14542. "deprecation": "use `open` instead.",
  14543. "values": [
  14544. {
  14545. "type": "boolean"
  14546. }
  14547. ],
  14548. "optional": false,
  14549. "required": false
  14550. },
  14551. {
  14552. "name": "backgroundColor",
  14553. "type": "\"grey\" | \"white\"",
  14554. "mutable": false,
  14555. "attr": "background-color",
  14556. "reflectToAttr": true,
  14557. "docs": "Sets the background color of the component's content.",
  14558. "docsTags": [],
  14559. "default": "\"white\"",
  14560. "values": [
  14561. {
  14562. "value": "grey",
  14563. "type": "string"
  14564. },
  14565. {
  14566. "value": "white",
  14567. "type": "string"
  14568. }
  14569. ],
  14570. "optional": false,
  14571. "required": false
  14572. },
  14573. {
  14574. "name": "beforeClose",
  14575. "type": "(el: HTMLElement) => Promise<void>",
  14576. "mutable": false,
  14577. "reflectToAttr": false,
  14578. "docs": "Passes a function to run before the component closes.",
  14579. "docsTags": [],
  14580. "default": "() => Promise.resolve()",
  14581. "values": [
  14582. {
  14583. "type": "(el: HTMLElement) => Promise<void>"
  14584. }
  14585. ],
  14586. "optional": true,
  14587. "required": false
  14588. },
  14589. {
  14590. "name": "color",
  14591. "type": "\"blue\" | \"red\"",
  14592. "mutable": false,
  14593. "attr": "color",
  14594. "reflectToAttr": true,
  14595. "docs": "Adds a color bar to the top of component for visual impact.\nUse color to add importance to destructive or workflow dialogs.",
  14596. "docsTags": [],
  14597. "values": [
  14598. {
  14599. "value": "blue",
  14600. "type": "string"
  14601. },
  14602. {
  14603. "value": "red",
  14604. "type": "string"
  14605. }
  14606. ],
  14607. "optional": true,
  14608. "required": false
  14609. },
  14610. {
  14611. "name": "disableCloseButton",
  14612. "type": "boolean",
  14613. "mutable": false,
  14614. "attr": "disable-close-button",
  14615. "reflectToAttr": true,
  14616. "docs": "When `true`, disables the component's close button.",
  14617. "docsTags": [],
  14618. "default": "false",
  14619. "values": [
  14620. {
  14621. "type": "boolean"
  14622. }
  14623. ],
  14624. "optional": false,
  14625. "required": false
  14626. },
  14627. {
  14628. "name": "disableEscape",
  14629. "type": "boolean",
  14630. "mutable": false,
  14631. "attr": "disable-escape",
  14632. "reflectToAttr": true,
  14633. "docs": "When `true`, disables the default close on escape behavior.",
  14634. "docsTags": [],
  14635. "default": "false",
  14636. "values": [
  14637. {
  14638. "type": "boolean"
  14639. }
  14640. ],
  14641. "optional": false,
  14642. "required": false
  14643. },
  14644. {
  14645. "name": "disableOutsideClose",
  14646. "type": "boolean",
  14647. "mutable": false,
  14648. "attr": "disable-outside-close",
  14649. "reflectToAttr": true,
  14650. "docs": "When `true`, disables the closing of the component when clicked outside.",
  14651. "docsTags": [],
  14652. "default": "false",
  14653. "values": [
  14654. {
  14655. "type": "boolean"
  14656. }
  14657. ],
  14658. "optional": false,
  14659. "required": false
  14660. },
  14661. {
  14662. "name": "docked",
  14663. "type": "boolean",
  14664. "mutable": false,
  14665. "attr": "docked",
  14666. "reflectToAttr": true,
  14667. "docs": "When `true`, prevents the component from expanding to the entire screen on mobile devices.",
  14668. "docsTags": [],
  14669. "values": [
  14670. {
  14671. "type": "boolean"
  14672. }
  14673. ],
  14674. "optional": false,
  14675. "required": false
  14676. },
  14677. {
  14678. "name": "fullscreen",
  14679. "type": "boolean",
  14680. "mutable": false,
  14681. "attr": "fullscreen",
  14682. "reflectToAttr": true,
  14683. "docs": "Sets the component to always be fullscreen (overrides `width`).",
  14684. "docsTags": [],
  14685. "values": [
  14686. {
  14687. "type": "boolean"
  14688. }
  14689. ],
  14690. "optional": false,
  14691. "required": false
  14692. },
  14693. {
  14694. "name": "intlClose",
  14695. "type": "string",
  14696. "mutable": false,
  14697. "attr": "intl-close",
  14698. "reflectToAttr": false,
  14699. "docs": "Accessible name for the component's close button.",
  14700. "docsTags": [],
  14701. "default": "TEXT.close",
  14702. "values": [
  14703. {
  14704. "type": "string"
  14705. }
  14706. ],
  14707. "optional": false,
  14708. "required": false
  14709. },
  14710. {
  14711. "name": "noPadding",
  14712. "type": "boolean",
  14713. "mutable": false,
  14714. "attr": "no-padding",
  14715. "reflectToAttr": true,
  14716. "docs": "When `true`, disables spacing to the content area slot.",
  14717. "docsTags": [
  14718. {
  14719. "name": "deprecated",
  14720. "text": "Use `--calcite-modal-padding` CSS variable instead."
  14721. }
  14722. ],
  14723. "default": "false",
  14724. "deprecation": "Use `--calcite-modal-padding` CSS variable instead.",
  14725. "values": [
  14726. {
  14727. "type": "boolean"
  14728. }
  14729. ],
  14730. "optional": false,
  14731. "required": false
  14732. },
  14733. {
  14734. "name": "open",
  14735. "type": "boolean",
  14736. "mutable": true,
  14737. "attr": "open",
  14738. "reflectToAttr": true,
  14739. "docs": "When `true`, displays and positions the component.",
  14740. "docsTags": [],
  14741. "default": "false",
  14742. "values": [
  14743. {
  14744. "type": "boolean"
  14745. }
  14746. ],
  14747. "optional": false,
  14748. "required": false
  14749. },
  14750. {
  14751. "name": "scale",
  14752. "type": "\"l\" | \"m\" | \"s\"",
  14753. "mutable": false,
  14754. "attr": "scale",
  14755. "reflectToAttr": true,
  14756. "docs": "Specifies the size of the component.",
  14757. "docsTags": [],
  14758. "default": "\"m\"",
  14759. "values": [
  14760. {
  14761. "value": "l",
  14762. "type": "string"
  14763. },
  14764. {
  14765. "value": "m",
  14766. "type": "string"
  14767. },
  14768. {
  14769. "value": "s",
  14770. "type": "string"
  14771. }
  14772. ],
  14773. "optional": false,
  14774. "required": false
  14775. },
  14776. {
  14777. "name": "width",
  14778. "type": "\"l\" | \"m\" | \"s\" | number",
  14779. "mutable": false,
  14780. "attr": "width",
  14781. "reflectToAttr": true,
  14782. "docs": "Specifies the width of the component. Can use scale sizes or pass a number (displays in pixels).",
  14783. "docsTags": [],
  14784. "default": "\"m\"",
  14785. "values": [
  14786. {
  14787. "value": "l",
  14788. "type": "string"
  14789. },
  14790. {
  14791. "value": "m",
  14792. "type": "string"
  14793. },
  14794. {
  14795. "value": "s",
  14796. "type": "string"
  14797. },
  14798. {
  14799. "type": "number"
  14800. }
  14801. ],
  14802. "optional": false,
  14803. "required": false
  14804. }
  14805. ],
  14806. "methods": [
  14807. {
  14808. "name": "focusElement",
  14809. "returns": {
  14810. "type": "Promise<void>",
  14811. "docs": ""
  14812. },
  14813. "signature": "focusElement(el?: HTMLElement) => Promise<void>",
  14814. "parameters": [],
  14815. "docs": "Focus the first interactive element.",
  14816. "docsTags": [
  14817. {
  14818. "name": "param",
  14819. "text": "el"
  14820. },
  14821. {
  14822. "name": "deprecated",
  14823. "text": "use `setFocus` instead."
  14824. }
  14825. ],
  14826. "deprecation": "use `setFocus` instead."
  14827. },
  14828. {
  14829. "name": "scrollContent",
  14830. "returns": {
  14831. "type": "Promise<void>",
  14832. "docs": ""
  14833. },
  14834. "signature": "scrollContent(top?: number, left?: number) => Promise<void>",
  14835. "parameters": [],
  14836. "docs": "Sets the scroll top of the component's content.",
  14837. "docsTags": [
  14838. {
  14839. "name": "param",
  14840. "text": "top"
  14841. },
  14842. {
  14843. "name": "param",
  14844. "text": "left"
  14845. }
  14846. ]
  14847. },
  14848. {
  14849. "name": "setFocus",
  14850. "returns": {
  14851. "type": "Promise<void>",
  14852. "docs": ""
  14853. },
  14854. "signature": "setFocus(focusId?: \"close-button\") => Promise<void>",
  14855. "parameters": [],
  14856. "docs": "Sets focus on the component.\n\nBy default, tries to focus on focusable content. If there is none, it will focus on the close button.\nTo focus on the close button, use the `close-button` focus ID.",
  14857. "docsTags": [
  14858. {
  14859. "name": "param",
  14860. "text": "focusId"
  14861. }
  14862. ]
  14863. }
  14864. ],
  14865. "events": [
  14866. {
  14867. "event": "calciteModalBeforeClose",
  14868. "detail": "void",
  14869. "bubbles": true,
  14870. "cancelable": false,
  14871. "composed": true,
  14872. "docs": "Fires when the component is requested to be closed and before the closing transition begins.",
  14873. "docsTags": []
  14874. },
  14875. {
  14876. "event": "calciteModalBeforeOpen",
  14877. "detail": "void",
  14878. "bubbles": true,
  14879. "cancelable": false,
  14880. "composed": true,
  14881. "docs": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins.",
  14882. "docsTags": []
  14883. },
  14884. {
  14885. "event": "calciteModalClose",
  14886. "detail": "void",
  14887. "bubbles": true,
  14888. "cancelable": false,
  14889. "composed": true,
  14890. "docs": "Fires when the component is closed and animation is complete.",
  14891. "docsTags": []
  14892. },
  14893. {
  14894. "event": "calciteModalOpen",
  14895. "detail": "void",
  14896. "bubbles": true,
  14897. "cancelable": false,
  14898. "composed": true,
  14899. "docs": "Fires when the component is open and animation is complete.",
  14900. "docsTags": []
  14901. }
  14902. ],
  14903. "listeners": [
  14904. {
  14905. "event": "keydown",
  14906. "target": "window",
  14907. "capture": false,
  14908. "passive": false
  14909. }
  14910. ],
  14911. "styles": [
  14912. {
  14913. "name": "--calcite-modal-content-text",
  14914. "annotation": "prop",
  14915. "docs": "[Deprecated] The component content's font size."
  14916. },
  14917. {
  14918. "name": "--calcite-modal-padding",
  14919. "annotation": "prop",
  14920. "docs": "[Deprecated] The padding around content area slot."
  14921. },
  14922. {
  14923. "name": "--calcite-modal-padding-large",
  14924. "annotation": "prop",
  14925. "docs": "[Deprecated] The left/right padding around items within the component."
  14926. },
  14927. {
  14928. "name": "--calcite-modal-title-text",
  14929. "annotation": "prop",
  14930. "docs": "[Deprecated] The component title's font size."
  14931. },
  14932. {
  14933. "name": "--calcite-scrim-background",
  14934. "annotation": "prop",
  14935. "docs": "[Deprecated] The component's semi-transparent background color."
  14936. }
  14937. ],
  14938. "slots": [
  14939. {
  14940. "name": "back",
  14941. "docs": "A slot for adding a back button."
  14942. },
  14943. {
  14944. "name": "content",
  14945. "docs": "A slot for adding the component's content."
  14946. },
  14947. {
  14948. "name": "header",
  14949. "docs": "A slot for adding header text."
  14950. },
  14951. {
  14952. "name": "primary",
  14953. "docs": "A slot for adding a primary button."
  14954. },
  14955. {
  14956. "name": "secondary",
  14957. "docs": "A slot for adding a secondary button."
  14958. }
  14959. ],
  14960. "parts": [],
  14961. "dependents": [],
  14962. "dependencies": [
  14963. "calcite-scrim",
  14964. "calcite-icon"
  14965. ],
  14966. "dependencyGraph": {
  14967. "calcite-modal": [
  14968. "calcite-scrim",
  14969. "calcite-icon"
  14970. ],
  14971. "calcite-scrim": [
  14972. "calcite-loader"
  14973. ]
  14974. }
  14975. },
  14976. {
  14977. "filePath": "./src/components/notice/notice.tsx",
  14978. "encapsulation": "shadow",
  14979. "tag": "calcite-notice",
  14980. "readme": "# calcite-notice\n",
  14981. "docs": "",
  14982. "docsTags": [
  14983. {
  14984. "name": "slot",
  14985. "text": "title - A slot for adding the title."
  14986. },
  14987. {
  14988. "name": "slot",
  14989. "text": "message - A slot for adding the message."
  14990. },
  14991. {
  14992. "name": "slot",
  14993. "text": "link - A slot for adding actions to take, such as: undo, try again, link to page, etc."
  14994. },
  14995. {
  14996. "name": "slot",
  14997. "text": "actions-end - A slot for adding actions to the end of the component. It is recommended to use two or less actions."
  14998. }
  14999. ],
  15000. "usage": {
  15001. "Basic": "```html\n<calcite-notice scale=\"l\" width=\"half\" active>\n <div slot=\"title\">Something failed</div>\n <div slot=\"message\">That thing you wanted to do didn't work as expected</div>\n <calcite-link slot=\"link\" href=\"/\">View details</calcite-link>\n <calcite-action id=\"retry-action\" slot=\"actions-end\" title=\"Retry\" icon=\"reset\"></calcite-action>\n</calcite-notice>\n```\n",
  15002. "Set-focus": "You can programmatically focus the close button of a `dismissible` `calcite-notice` with the `setFocus()` method:\n\n```html\n<div onclick=\"document.querySelector('#my-notice').setFocus();\">Focus!</div>\n```\n"
  15003. },
  15004. "props": [
  15005. {
  15006. "name": "active",
  15007. "type": "boolean",
  15008. "mutable": true,
  15009. "attr": "active",
  15010. "reflectToAttr": true,
  15011. "docs": "When `true`, the component is active.",
  15012. "docsTags": [
  15013. {
  15014. "name": "deprecated",
  15015. "text": "Use `open` instead."
  15016. }
  15017. ],
  15018. "default": "false",
  15019. "deprecation": "Use `open` instead.",
  15020. "values": [
  15021. {
  15022. "type": "boolean"
  15023. }
  15024. ],
  15025. "optional": false,
  15026. "required": false
  15027. },
  15028. {
  15029. "name": "closable",
  15030. "type": "boolean",
  15031. "mutable": false,
  15032. "attr": "closable",
  15033. "reflectToAttr": true,
  15034. "docs": "When `true`, a close button is added to the component.",
  15035. "docsTags": [],
  15036. "default": "false",
  15037. "values": [
  15038. {
  15039. "type": "boolean"
  15040. }
  15041. ],
  15042. "optional": true,
  15043. "required": false
  15044. },
  15045. {
  15046. "name": "color",
  15047. "type": "\"blue\" | \"green\" | \"red\" | \"yellow\"",
  15048. "mutable": false,
  15049. "attr": "color",
  15050. "reflectToAttr": true,
  15051. "docs": "The color for the component's top border and icon.",
  15052. "docsTags": [],
  15053. "default": "\"blue\"",
  15054. "values": [
  15055. {
  15056. "value": "blue",
  15057. "type": "string"
  15058. },
  15059. {
  15060. "value": "green",
  15061. "type": "string"
  15062. },
  15063. {
  15064. "value": "red",
  15065. "type": "string"
  15066. },
  15067. {
  15068. "value": "yellow",
  15069. "type": "string"
  15070. }
  15071. ],
  15072. "optional": false,
  15073. "required": false
  15074. },
  15075. {
  15076. "name": "dismissible",
  15077. "type": "boolean",
  15078. "mutable": false,
  15079. "attr": "dismissible",
  15080. "reflectToAttr": true,
  15081. "docs": "When `true`, a close button is added to the component.",
  15082. "docsTags": [
  15083. {
  15084. "name": "deprecated",
  15085. "text": "use `closable` instead."
  15086. }
  15087. ],
  15088. "default": "false",
  15089. "deprecation": "use `closable` instead.",
  15090. "values": [
  15091. {
  15092. "type": "boolean"
  15093. }
  15094. ],
  15095. "optional": true,
  15096. "required": false
  15097. },
  15098. {
  15099. "name": "icon",
  15100. "type": "boolean | string",
  15101. "mutable": false,
  15102. "attr": "icon",
  15103. "reflectToAttr": true,
  15104. "docs": "When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.",
  15105. "docsTags": [],
  15106. "values": [
  15107. {
  15108. "type": "boolean"
  15109. },
  15110. {
  15111. "type": "string"
  15112. }
  15113. ],
  15114. "optional": false,
  15115. "required": false
  15116. },
  15117. {
  15118. "name": "intlClose",
  15119. "type": "string",
  15120. "mutable": false,
  15121. "attr": "intl-close",
  15122. "reflectToAttr": false,
  15123. "docs": "Accessible name for the close button.",
  15124. "docsTags": [
  15125. {
  15126. "name": "default",
  15127. "text": "\"Close\""
  15128. }
  15129. ],
  15130. "default": "TEXT.close",
  15131. "values": [
  15132. {
  15133. "type": "string"
  15134. }
  15135. ],
  15136. "optional": false,
  15137. "required": false
  15138. },
  15139. {
  15140. "name": "open",
  15141. "type": "boolean",
  15142. "mutable": true,
  15143. "attr": "open",
  15144. "reflectToAttr": true,
  15145. "docs": "When `true`, the component is visible.",
  15146. "docsTags": [],
  15147. "default": "false",
  15148. "values": [
  15149. {
  15150. "type": "boolean"
  15151. }
  15152. ],
  15153. "optional": false,
  15154. "required": false
  15155. },
  15156. {
  15157. "name": "scale",
  15158. "type": "\"l\" | \"m\" | \"s\"",
  15159. "mutable": false,
  15160. "attr": "scale",
  15161. "reflectToAttr": true,
  15162. "docs": "Specifies the size of the component.",
  15163. "docsTags": [],
  15164. "default": "\"m\"",
  15165. "values": [
  15166. {
  15167. "value": "l",
  15168. "type": "string"
  15169. },
  15170. {
  15171. "value": "m",
  15172. "type": "string"
  15173. },
  15174. {
  15175. "value": "s",
  15176. "type": "string"
  15177. }
  15178. ],
  15179. "optional": false,
  15180. "required": false
  15181. },
  15182. {
  15183. "name": "width",
  15184. "type": "\"auto\" | \"full\" | \"half\"",
  15185. "mutable": false,
  15186. "attr": "width",
  15187. "reflectToAttr": true,
  15188. "docs": "Specifies the width of the component.",
  15189. "docsTags": [],
  15190. "default": "\"auto\"",
  15191. "values": [
  15192. {
  15193. "value": "auto",
  15194. "type": "string"
  15195. },
  15196. {
  15197. "value": "full",
  15198. "type": "string"
  15199. },
  15200. {
  15201. "value": "half",
  15202. "type": "string"
  15203. }
  15204. ],
  15205. "optional": false,
  15206. "required": false
  15207. }
  15208. ],
  15209. "methods": [
  15210. {
  15211. "name": "setFocus",
  15212. "returns": {
  15213. "type": "Promise<void>",
  15214. "docs": ""
  15215. },
  15216. "signature": "setFocus() => Promise<void>",
  15217. "parameters": [],
  15218. "docs": "Sets focus on the component.",
  15219. "docsTags": []
  15220. }
  15221. ],
  15222. "events": [
  15223. {
  15224. "event": "calciteNoticeClose",
  15225. "detail": "void",
  15226. "bubbles": true,
  15227. "cancelable": false,
  15228. "composed": true,
  15229. "docs": "Fired when the component is closed.",
  15230. "docsTags": []
  15231. },
  15232. {
  15233. "event": "calciteNoticeOpen",
  15234. "detail": "void",
  15235. "bubbles": true,
  15236. "cancelable": false,
  15237. "composed": true,
  15238. "docs": "Fired when the component is opened.",
  15239. "docsTags": []
  15240. }
  15241. ],
  15242. "listeners": [],
  15243. "styles": [
  15244. {
  15245. "name": "--calcite-notice-width",
  15246. "annotation": "prop",
  15247. "docs": "The width of the component."
  15248. }
  15249. ],
  15250. "slots": [
  15251. {
  15252. "name": "actions-end",
  15253. "docs": "A slot for adding actions to the end of the component. It is recommended to use two or less actions."
  15254. },
  15255. {
  15256. "name": "link",
  15257. "docs": "A slot for adding actions to take, such as: undo, try again, link to page, etc."
  15258. },
  15259. {
  15260. "name": "message",
  15261. "docs": "A slot for adding the message."
  15262. },
  15263. {
  15264. "name": "title",
  15265. "docs": "A slot for adding the title."
  15266. }
  15267. ],
  15268. "parts": [],
  15269. "dependents": [],
  15270. "dependencies": [
  15271. "calcite-icon"
  15272. ],
  15273. "dependencyGraph": {
  15274. "calcite-notice": [
  15275. "calcite-icon"
  15276. ]
  15277. }
  15278. },
  15279. {
  15280. "filePath": "./src/components/option/option.tsx",
  15281. "encapsulation": "shadow",
  15282. "tag": "calcite-option",
  15283. "readme": "# calcite-option\n",
  15284. "docs": "",
  15285. "docsTags": [],
  15286. "usage": {},
  15287. "props": [
  15288. {
  15289. "name": "disabled",
  15290. "type": "boolean",
  15291. "mutable": false,
  15292. "attr": "disabled",
  15293. "reflectToAttr": true,
  15294. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  15295. "docsTags": [],
  15296. "default": "false",
  15297. "values": [
  15298. {
  15299. "type": "boolean"
  15300. }
  15301. ],
  15302. "optional": false,
  15303. "required": false
  15304. },
  15305. {
  15306. "name": "label",
  15307. "type": "string",
  15308. "mutable": true,
  15309. "attr": "label",
  15310. "reflectToAttr": false,
  15311. "docs": "Accessible name for the component.",
  15312. "docsTags": [],
  15313. "values": [
  15314. {
  15315. "type": "string"
  15316. }
  15317. ],
  15318. "optional": false,
  15319. "required": false
  15320. },
  15321. {
  15322. "name": "selected",
  15323. "type": "boolean",
  15324. "mutable": false,
  15325. "attr": "selected",
  15326. "reflectToAttr": true,
  15327. "docs": "When `true`, the component is selected.",
  15328. "docsTags": [],
  15329. "values": [
  15330. {
  15331. "type": "boolean"
  15332. }
  15333. ],
  15334. "optional": false,
  15335. "required": false
  15336. },
  15337. {
  15338. "name": "value",
  15339. "type": "any",
  15340. "mutable": true,
  15341. "attr": "value",
  15342. "reflectToAttr": false,
  15343. "docs": "The component's value.",
  15344. "docsTags": [],
  15345. "values": [
  15346. {
  15347. "type": "any"
  15348. }
  15349. ],
  15350. "optional": false,
  15351. "required": false
  15352. }
  15353. ],
  15354. "methods": [],
  15355. "events": [],
  15356. "listeners": [],
  15357. "styles": [],
  15358. "slots": [],
  15359. "parts": [],
  15360. "dependents": [],
  15361. "dependencies": [],
  15362. "dependencyGraph": {}
  15363. },
  15364. {
  15365. "filePath": "./src/components/option-group/option-group.tsx",
  15366. "encapsulation": "shadow",
  15367. "tag": "calcite-option-group",
  15368. "readme": "# calcite-option-group\n",
  15369. "docs": "",
  15370. "docsTags": [
  15371. {
  15372. "name": "slot",
  15373. "text": "- A slot for adding `calcite-option`s."
  15374. }
  15375. ],
  15376. "usage": {},
  15377. "props": [
  15378. {
  15379. "name": "disabled",
  15380. "type": "boolean",
  15381. "mutable": false,
  15382. "attr": "disabled",
  15383. "reflectToAttr": true,
  15384. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  15385. "docsTags": [],
  15386. "default": "false",
  15387. "values": [
  15388. {
  15389. "type": "boolean"
  15390. }
  15391. ],
  15392. "optional": false,
  15393. "required": false
  15394. },
  15395. {
  15396. "name": "label",
  15397. "type": "string",
  15398. "mutable": false,
  15399. "attr": "label",
  15400. "reflectToAttr": false,
  15401. "docs": "Accessible name for the component.",
  15402. "docsTags": [],
  15403. "values": [
  15404. {
  15405. "type": "string"
  15406. }
  15407. ],
  15408. "optional": false,
  15409. "required": true
  15410. }
  15411. ],
  15412. "methods": [],
  15413. "events": [],
  15414. "listeners": [],
  15415. "styles": [],
  15416. "slots": [
  15417. {
  15418. "name": "",
  15419. "docs": "A slot for adding `calcite-option`s."
  15420. }
  15421. ],
  15422. "parts": [],
  15423. "dependents": [],
  15424. "dependencies": [],
  15425. "dependencyGraph": {}
  15426. },
  15427. {
  15428. "filePath": "./src/components/pagination/pagination.tsx",
  15429. "encapsulation": "shadow",
  15430. "tag": "calcite-pagination",
  15431. "readme": "# calcite-pagination\n\n`calcite-pagination` allows users to select a page from a paginated API.\n",
  15432. "docs": "`calcite-pagination` allows users to select a page from a paginated API.",
  15433. "docsTags": [],
  15434. "usage": {
  15435. "Basic": "The component is meant to interface with responses from ArcGIS REST services, so the props share names with [response properties](https://developers.arcgis.com/rest/users-groups-and-items/search.htm) from various search endpoints.\n\nFor example, after querying the search API, you'll get back a response similar to JSON below. The response can be passed straight to the `calcite-pagination` component.\n\n```JSON\n{\n \"total\": 2021,\n \"start\": 1,\n \"num\": 100,\n \"results\": []\n}\n```\n\n```html\n<calcite-pagination start=\"1\" num=\"100\" total=\"2021\"></calcite-pagination>\n```\n"
  15436. },
  15437. "props": [
  15438. {
  15439. "name": "groupSeparator",
  15440. "type": "boolean",
  15441. "mutable": false,
  15442. "attr": "group-separator",
  15443. "reflectToAttr": true,
  15444. "docs": "When `true`, number values are displayed with a group separator corresponding to the language and country format.",
  15445. "docsTags": [],
  15446. "default": "false",
  15447. "values": [
  15448. {
  15449. "type": "boolean"
  15450. }
  15451. ],
  15452. "optional": false,
  15453. "required": false
  15454. },
  15455. {
  15456. "name": "num",
  15457. "type": "number",
  15458. "mutable": false,
  15459. "attr": "num",
  15460. "reflectToAttr": true,
  15461. "docs": "Specifies the number of items per page.",
  15462. "docsTags": [],
  15463. "default": "20",
  15464. "values": [
  15465. {
  15466. "type": "number"
  15467. }
  15468. ],
  15469. "optional": false,
  15470. "required": false
  15471. },
  15472. {
  15473. "name": "numberingSystem",
  15474. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  15475. "mutable": false,
  15476. "attr": "numbering-system",
  15477. "reflectToAttr": false,
  15478. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  15479. "docsTags": [],
  15480. "values": [
  15481. {
  15482. "value": "arab",
  15483. "type": "string"
  15484. },
  15485. {
  15486. "value": "arabext",
  15487. "type": "string"
  15488. },
  15489. {
  15490. "value": "bali",
  15491. "type": "string"
  15492. },
  15493. {
  15494. "value": "beng",
  15495. "type": "string"
  15496. },
  15497. {
  15498. "value": "deva",
  15499. "type": "string"
  15500. },
  15501. {
  15502. "value": "fullwide",
  15503. "type": "string"
  15504. },
  15505. {
  15506. "value": "gujr",
  15507. "type": "string"
  15508. },
  15509. {
  15510. "value": "guru",
  15511. "type": "string"
  15512. },
  15513. {
  15514. "value": "hanidec",
  15515. "type": "string"
  15516. },
  15517. {
  15518. "value": "khmr",
  15519. "type": "string"
  15520. },
  15521. {
  15522. "value": "knda",
  15523. "type": "string"
  15524. },
  15525. {
  15526. "value": "laoo",
  15527. "type": "string"
  15528. },
  15529. {
  15530. "value": "latn",
  15531. "type": "string"
  15532. },
  15533. {
  15534. "value": "limb",
  15535. "type": "string"
  15536. },
  15537. {
  15538. "value": "mlym",
  15539. "type": "string"
  15540. },
  15541. {
  15542. "value": "mong",
  15543. "type": "string"
  15544. },
  15545. {
  15546. "value": "mymr",
  15547. "type": "string"
  15548. },
  15549. {
  15550. "value": "orya",
  15551. "type": "string"
  15552. },
  15553. {
  15554. "value": "tamldec",
  15555. "type": "string"
  15556. },
  15557. {
  15558. "value": "telu",
  15559. "type": "string"
  15560. },
  15561. {
  15562. "value": "thai",
  15563. "type": "string"
  15564. },
  15565. {
  15566. "value": "tibt",
  15567. "type": "string"
  15568. }
  15569. ],
  15570. "optional": true,
  15571. "required": false
  15572. },
  15573. {
  15574. "name": "scale",
  15575. "type": "\"l\" | \"m\" | \"s\"",
  15576. "mutable": false,
  15577. "attr": "scale",
  15578. "reflectToAttr": true,
  15579. "docs": "Specifies the size of the component.",
  15580. "docsTags": [],
  15581. "default": "\"m\"",
  15582. "values": [
  15583. {
  15584. "value": "l",
  15585. "type": "string"
  15586. },
  15587. {
  15588. "value": "m",
  15589. "type": "string"
  15590. },
  15591. {
  15592. "value": "s",
  15593. "type": "string"
  15594. }
  15595. ],
  15596. "optional": false,
  15597. "required": false
  15598. },
  15599. {
  15600. "name": "start",
  15601. "type": "number",
  15602. "mutable": true,
  15603. "attr": "start",
  15604. "reflectToAttr": true,
  15605. "docs": "Specifies the starting item number.",
  15606. "docsTags": [],
  15607. "default": "1",
  15608. "values": [
  15609. {
  15610. "type": "number"
  15611. }
  15612. ],
  15613. "optional": false,
  15614. "required": false
  15615. },
  15616. {
  15617. "name": "textLabelNext",
  15618. "type": "string",
  15619. "mutable": false,
  15620. "attr": "text-label-next",
  15621. "reflectToAttr": false,
  15622. "docs": "Accessible name for the component's next button.",
  15623. "docsTags": [
  15624. {
  15625. "name": "default",
  15626. "text": "\"Next\""
  15627. }
  15628. ],
  15629. "default": "TEXT.nextLabel",
  15630. "values": [
  15631. {
  15632. "type": "string"
  15633. }
  15634. ],
  15635. "optional": false,
  15636. "required": false
  15637. },
  15638. {
  15639. "name": "textLabelPrevious",
  15640. "type": "string",
  15641. "mutable": false,
  15642. "attr": "text-label-previous",
  15643. "reflectToAttr": false,
  15644. "docs": "Accessible name for the component's previous button.",
  15645. "docsTags": [
  15646. {
  15647. "name": "default",
  15648. "text": "\"Previous\""
  15649. }
  15650. ],
  15651. "default": "TEXT.previousLabel",
  15652. "values": [
  15653. {
  15654. "type": "string"
  15655. }
  15656. ],
  15657. "optional": false,
  15658. "required": false
  15659. },
  15660. {
  15661. "name": "total",
  15662. "type": "number",
  15663. "mutable": false,
  15664. "attr": "total",
  15665. "reflectToAttr": true,
  15666. "docs": "Specifies the total number of items.",
  15667. "docsTags": [],
  15668. "default": "0",
  15669. "values": [
  15670. {
  15671. "type": "number"
  15672. }
  15673. ],
  15674. "optional": false,
  15675. "required": false
  15676. }
  15677. ],
  15678. "methods": [
  15679. {
  15680. "name": "nextPage",
  15681. "returns": {
  15682. "type": "Promise<void>",
  15683. "docs": ""
  15684. },
  15685. "signature": "nextPage() => Promise<void>",
  15686. "parameters": [],
  15687. "docs": "Go to the next page of results.",
  15688. "docsTags": []
  15689. },
  15690. {
  15691. "name": "previousPage",
  15692. "returns": {
  15693. "type": "Promise<void>",
  15694. "docs": ""
  15695. },
  15696. "signature": "previousPage() => Promise<void>",
  15697. "parameters": [],
  15698. "docs": "Go to the previous page of results.",
  15699. "docsTags": []
  15700. }
  15701. ],
  15702. "events": [
  15703. {
  15704. "event": "calcitePaginationChange",
  15705. "detail": "PaginationDetail",
  15706. "bubbles": true,
  15707. "cancelable": false,
  15708. "composed": true,
  15709. "docs": "Emits when the selected page changes.",
  15710. "docsTags": [
  15711. {
  15712. "name": "see",
  15713. "text": "[PaginationDetail](https://github.com/Esri/calcite-components/blob/master/src/components/pagination/pagination.tsx#L23)"
  15714. }
  15715. ]
  15716. },
  15717. {
  15718. "event": "calcitePaginationUpdate",
  15719. "detail": "PaginationDetail",
  15720. "bubbles": true,
  15721. "cancelable": false,
  15722. "composed": true,
  15723. "docs": "Emits when the selected page changes.",
  15724. "docsTags": [
  15725. {
  15726. "name": "deprecated",
  15727. "text": "use calcitePaginationChange instead"
  15728. }
  15729. ],
  15730. "deprecation": "use calcitePaginationChange instead"
  15731. }
  15732. ],
  15733. "listeners": [],
  15734. "styles": [
  15735. {
  15736. "name": "--calcite-pagination-spacing",
  15737. "annotation": "prop",
  15738. "docs": "The amount of padding around each pagination item."
  15739. }
  15740. ],
  15741. "slots": [],
  15742. "parts": [],
  15743. "dependents": [],
  15744. "dependencies": [
  15745. "calcite-icon"
  15746. ],
  15747. "dependencyGraph": {
  15748. "calcite-pagination": [
  15749. "calcite-icon"
  15750. ]
  15751. }
  15752. },
  15753. {
  15754. "filePath": "./src/components/panel/panel.tsx",
  15755. "encapsulation": "shadow",
  15756. "tag": "calcite-panel",
  15757. "readme": "# calcite-panel\n\nThe `calcite-panel` component is a container for a header, content and optional footer. The header will have centered content as well as optional leading and trailing content. The panel can also be setup to be dismissible which allows it to be closed by a user.\n",
  15758. "docs": "The `calcite-panel` component is a container for a header, content and optional footer. The header will have centered content as well as optional leading and trailing content. The panel can also be setup to be dismissible which allows it to be closed by a user.",
  15759. "docsTags": [
  15760. {
  15761. "name": "slot",
  15762. "text": "- A slot for adding custom content."
  15763. },
  15764. {
  15765. "name": "slot",
  15766. "text": "header-actions-start - A slot for adding actions or content to the start side of the header."
  15767. },
  15768. {
  15769. "name": "slot",
  15770. "text": "header-actions-end - A slot for adding actions or content to the end side of the header."
  15771. },
  15772. {
  15773. "name": "slot",
  15774. "text": "header-content - A slot for adding custom content to the header."
  15775. },
  15776. {
  15777. "name": "slot",
  15778. "text": "header-menu-actions - A slot for adding an overflow menu with actions inside a `calcite-dropdown`."
  15779. },
  15780. {
  15781. "name": "slot",
  15782. "text": "fab - A slot for adding a `calcite-fab` (floating action button) to perform an action."
  15783. },
  15784. {
  15785. "name": "slot",
  15786. "text": "footer-actions - A slot for adding buttons to the footer."
  15787. },
  15788. {
  15789. "name": "slot",
  15790. "text": "footer - A slot for adding custom content to the footer."
  15791. }
  15792. ],
  15793. "usage": {
  15794. "Basic": "Renders a basic panel with a header.\n\n```html\n<calcite-panel>\n <div slot=\"header-content\">Header!</div>\n <p>Slotted content!</p>\n</calcite-panel>\n```\n",
  15795. "Dismissible": "Renders a panel that is dismissible with a click of the \"x\".\n\n```html\n<calcite-panel dismissible id=\"dismissible-panel\">\n <div slot=\"header-content\">Dismissible Header</div>\n <p>Click the X and I go away!</p>\n</calcite-panel>\n```\n",
  15796. "Header-with-actions": "Renders a panel with leading and trailing `calcite-action`s.\n\n```html\n<calcite-panel>\n <calcite-action\n label=\"Performs my custom action\"\n text=\"Perform Action!\"\n text-enabled\n icon=\"home\"\n slot=\"header-actions-start\"\n ></calcite-action>\n <div slot=\"header-content\">Header!</div>\n <calcite-action\n label=\"Performs another custom action\"\n text=\"Perform Another Action!\"\n text-enabled\n icon=\"blog\"\n slot=\"header-actions-end\"\n ></calcite-action>\n <p>Actions are in the top left and right.</p>\n</calcite-panel>\n```\n",
  15797. "With-footer": "Renders a panel with a header and a footer.\n\n```html\n<calcite-panel>\n <div slot=\"header-content\">Header!</div>\n <p>I have a footer.</p>\n <div slot=\"footer\">Footer!</div>\n</calcite-panel>\n```\n"
  15798. },
  15799. "props": [
  15800. {
  15801. "name": "beforeBack",
  15802. "type": "() => Promise<void>",
  15803. "mutable": false,
  15804. "reflectToAttr": false,
  15805. "docs": "When provided, this method will be called before it is removed from the parent flow.",
  15806. "docsTags": [
  15807. {
  15808. "name": "deprecated",
  15809. "text": "use `calcite-flow-item` instead."
  15810. }
  15811. ],
  15812. "deprecation": "use `calcite-flow-item` instead.",
  15813. "values": [
  15814. {
  15815. "type": "() => Promise<void>"
  15816. }
  15817. ],
  15818. "optional": true,
  15819. "required": false
  15820. },
  15821. {
  15822. "name": "closable",
  15823. "type": "boolean",
  15824. "mutable": true,
  15825. "attr": "closable",
  15826. "reflectToAttr": true,
  15827. "docs": "When `true`, displays a close button in the trailing side of the header.",
  15828. "docsTags": [],
  15829. "default": "false",
  15830. "values": [
  15831. {
  15832. "type": "boolean"
  15833. }
  15834. ],
  15835. "optional": false,
  15836. "required": false
  15837. },
  15838. {
  15839. "name": "closed",
  15840. "type": "boolean",
  15841. "mutable": true,
  15842. "attr": "closed",
  15843. "reflectToAttr": true,
  15844. "docs": "When `true`, the component will be hidden.",
  15845. "docsTags": [],
  15846. "default": "false",
  15847. "values": [
  15848. {
  15849. "type": "boolean"
  15850. }
  15851. ],
  15852. "optional": false,
  15853. "required": false
  15854. },
  15855. {
  15856. "name": "description",
  15857. "type": "string",
  15858. "mutable": false,
  15859. "attr": "description",
  15860. "reflectToAttr": false,
  15861. "docs": "A description for the component.",
  15862. "docsTags": [],
  15863. "values": [
  15864. {
  15865. "type": "string"
  15866. }
  15867. ],
  15868. "optional": false,
  15869. "required": false
  15870. },
  15871. {
  15872. "name": "disabled",
  15873. "type": "boolean",
  15874. "mutable": false,
  15875. "attr": "disabled",
  15876. "reflectToAttr": true,
  15877. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  15878. "docsTags": [],
  15879. "default": "false",
  15880. "values": [
  15881. {
  15882. "type": "boolean"
  15883. }
  15884. ],
  15885. "optional": false,
  15886. "required": false
  15887. },
  15888. {
  15889. "name": "dismissed",
  15890. "type": "boolean",
  15891. "mutable": true,
  15892. "attr": "dismissed",
  15893. "reflectToAttr": true,
  15894. "docs": "When `true`, hides the component.",
  15895. "docsTags": [
  15896. {
  15897. "name": "deprecated",
  15898. "text": "use `closed` instead."
  15899. }
  15900. ],
  15901. "default": "false",
  15902. "deprecation": "use `closed` instead.",
  15903. "values": [
  15904. {
  15905. "type": "boolean"
  15906. }
  15907. ],
  15908. "optional": false,
  15909. "required": false
  15910. },
  15911. {
  15912. "name": "dismissible",
  15913. "type": "boolean",
  15914. "mutable": true,
  15915. "attr": "dismissible",
  15916. "reflectToAttr": true,
  15917. "docs": "When `true`, a close button is added to the component.",
  15918. "docsTags": [
  15919. {
  15920. "name": "deprecated",
  15921. "text": "use `closable` instead"
  15922. }
  15923. ],
  15924. "default": "false",
  15925. "deprecation": "use `closable` instead",
  15926. "values": [
  15927. {
  15928. "type": "boolean"
  15929. }
  15930. ],
  15931. "optional": false,
  15932. "required": false
  15933. },
  15934. {
  15935. "name": "heading",
  15936. "type": "string",
  15937. "mutable": false,
  15938. "attr": "heading",
  15939. "reflectToAttr": false,
  15940. "docs": "The component header text.",
  15941. "docsTags": [],
  15942. "values": [
  15943. {
  15944. "type": "string"
  15945. }
  15946. ],
  15947. "optional": true,
  15948. "required": false
  15949. },
  15950. {
  15951. "name": "headingLevel",
  15952. "type": "1 | 2 | 3 | 4 | 5 | 6",
  15953. "mutable": false,
  15954. "attr": "heading-level",
  15955. "reflectToAttr": true,
  15956. "docs": "Specifies the number at which section headings should start.",
  15957. "docsTags": [],
  15958. "values": [
  15959. {
  15960. "value": "1",
  15961. "type": "number"
  15962. },
  15963. {
  15964. "value": "2",
  15965. "type": "number"
  15966. },
  15967. {
  15968. "value": "3",
  15969. "type": "number"
  15970. },
  15971. {
  15972. "value": "4",
  15973. "type": "number"
  15974. },
  15975. {
  15976. "value": "5",
  15977. "type": "number"
  15978. },
  15979. {
  15980. "value": "6",
  15981. "type": "number"
  15982. }
  15983. ],
  15984. "optional": false,
  15985. "required": false
  15986. },
  15987. {
  15988. "name": "heightScale",
  15989. "type": "\"l\" | \"m\" | \"s\"",
  15990. "mutable": false,
  15991. "attr": "height-scale",
  15992. "reflectToAttr": true,
  15993. "docs": "Specifies the maximum height of the component.",
  15994. "docsTags": [],
  15995. "values": [
  15996. {
  15997. "value": "l",
  15998. "type": "string"
  15999. },
  16000. {
  16001. "value": "m",
  16002. "type": "string"
  16003. },
  16004. {
  16005. "value": "s",
  16006. "type": "string"
  16007. }
  16008. ],
  16009. "optional": true,
  16010. "required": false
  16011. },
  16012. {
  16013. "name": "intlBack",
  16014. "type": "string",
  16015. "mutable": false,
  16016. "attr": "intl-back",
  16017. "reflectToAttr": false,
  16018. "docs": "Accessible name for the component's back button. The back button will only be shown when `showBackButton` is `true`.",
  16019. "docsTags": [
  16020. {
  16021. "name": "deprecated",
  16022. "text": "use `calcite-flow-item` instead."
  16023. }
  16024. ],
  16025. "deprecation": "use `calcite-flow-item` instead.",
  16026. "values": [
  16027. {
  16028. "type": "string"
  16029. }
  16030. ],
  16031. "optional": true,
  16032. "required": false
  16033. },
  16034. {
  16035. "name": "intlClose",
  16036. "type": "string",
  16037. "mutable": false,
  16038. "attr": "intl-close",
  16039. "reflectToAttr": false,
  16040. "docs": "Accessible name for the component's close button. The close button will only be shown when `closeable` is `true`.",
  16041. "docsTags": [],
  16042. "values": [
  16043. {
  16044. "type": "string"
  16045. }
  16046. ],
  16047. "optional": true,
  16048. "required": false
  16049. },
  16050. {
  16051. "name": "intlOptions",
  16052. "type": "string",
  16053. "mutable": false,
  16054. "attr": "intl-options",
  16055. "reflectToAttr": false,
  16056. "docs": "Accessible name for the component's actions menu.",
  16057. "docsTags": [],
  16058. "values": [
  16059. {
  16060. "type": "string"
  16061. }
  16062. ],
  16063. "optional": true,
  16064. "required": false
  16065. },
  16066. {
  16067. "name": "loading",
  16068. "type": "boolean",
  16069. "mutable": false,
  16070. "attr": "loading",
  16071. "reflectToAttr": true,
  16072. "docs": "When `true`, a busy indicator is displayed.",
  16073. "docsTags": [],
  16074. "default": "false",
  16075. "values": [
  16076. {
  16077. "type": "boolean"
  16078. }
  16079. ],
  16080. "optional": false,
  16081. "required": false
  16082. },
  16083. {
  16084. "name": "menuOpen",
  16085. "type": "boolean",
  16086. "mutable": false,
  16087. "attr": "menu-open",
  16088. "reflectToAttr": true,
  16089. "docs": "When `true`, the action menu items in the `header-menu-actions` slot are open.",
  16090. "docsTags": [],
  16091. "default": "false",
  16092. "values": [
  16093. {
  16094. "type": "boolean"
  16095. }
  16096. ],
  16097. "optional": false,
  16098. "required": false
  16099. },
  16100. {
  16101. "name": "showBackButton",
  16102. "type": "boolean",
  16103. "mutable": false,
  16104. "attr": "show-back-button",
  16105. "reflectToAttr": true,
  16106. "docs": "When `true`, displays a back button in the header.",
  16107. "docsTags": [
  16108. {
  16109. "name": "deprecated",
  16110. "text": "use `calcite-flow-item` instead."
  16111. }
  16112. ],
  16113. "default": "false",
  16114. "deprecation": "use `calcite-flow-item` instead.",
  16115. "values": [
  16116. {
  16117. "type": "boolean"
  16118. }
  16119. ],
  16120. "optional": false,
  16121. "required": false
  16122. },
  16123. {
  16124. "name": "summary",
  16125. "type": "string",
  16126. "mutable": false,
  16127. "attr": "summary",
  16128. "reflectToAttr": false,
  16129. "docs": "Summary text. A description displayed underneath the heading.",
  16130. "docsTags": [
  16131. {
  16132. "name": "deprecated",
  16133. "text": "use `description` instead."
  16134. }
  16135. ],
  16136. "deprecation": "use `description` instead.",
  16137. "values": [
  16138. {
  16139. "type": "string"
  16140. }
  16141. ],
  16142. "optional": true,
  16143. "required": false
  16144. },
  16145. {
  16146. "name": "widthScale",
  16147. "type": "\"l\" | \"m\" | \"s\"",
  16148. "mutable": false,
  16149. "attr": "width-scale",
  16150. "reflectToAttr": true,
  16151. "docs": "Specifies the width of the component.",
  16152. "docsTags": [],
  16153. "values": [
  16154. {
  16155. "value": "l",
  16156. "type": "string"
  16157. },
  16158. {
  16159. "value": "m",
  16160. "type": "string"
  16161. },
  16162. {
  16163. "value": "s",
  16164. "type": "string"
  16165. }
  16166. ],
  16167. "optional": true,
  16168. "required": false
  16169. }
  16170. ],
  16171. "methods": [
  16172. {
  16173. "name": "scrollContentTo",
  16174. "returns": {
  16175. "type": "Promise<void>",
  16176. "docs": ""
  16177. },
  16178. "signature": "scrollContentTo(options?: ScrollToOptions) => Promise<void>",
  16179. "parameters": [],
  16180. "docs": "Scrolls the component's content to a specified set of coordinates.",
  16181. "docsTags": [
  16182. {
  16183. "name": "example",
  16184. "text": "myCalciteFlowItem.scrollContentTo({\n left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.\n top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element\n behavior: \"auto\" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).\n});"
  16185. },
  16186. {
  16187. "name": "param",
  16188. "text": "options"
  16189. }
  16190. ]
  16191. },
  16192. {
  16193. "name": "setFocus",
  16194. "returns": {
  16195. "type": "Promise<void>",
  16196. "docs": ""
  16197. },
  16198. "signature": "setFocus(focusId?: \"back-button\" | \"dismiss-button\") => Promise<void>",
  16199. "parameters": [],
  16200. "docs": "Sets focus on the component.",
  16201. "docsTags": [
  16202. {
  16203. "name": "param",
  16204. "text": "focusId"
  16205. }
  16206. ]
  16207. }
  16208. ],
  16209. "events": [
  16210. {
  16211. "event": "calcitePanelBackClick",
  16212. "detail": "void",
  16213. "bubbles": true,
  16214. "cancelable": false,
  16215. "composed": true,
  16216. "docs": "Fires when the back button is clicked.",
  16217. "docsTags": [
  16218. {
  16219. "name": "deprecated",
  16220. "text": "use `calcite-flow-item` instead."
  16221. }
  16222. ],
  16223. "deprecation": "use `calcite-flow-item` instead."
  16224. },
  16225. {
  16226. "event": "calcitePanelClose",
  16227. "detail": "void",
  16228. "bubbles": true,
  16229. "cancelable": false,
  16230. "composed": true,
  16231. "docs": "Fires when the close button is clicked.",
  16232. "docsTags": []
  16233. },
  16234. {
  16235. "event": "calcitePanelDismiss",
  16236. "detail": "void",
  16237. "bubbles": true,
  16238. "cancelable": false,
  16239. "composed": true,
  16240. "docs": "Fires when the close button is clicked.",
  16241. "docsTags": [
  16242. {
  16243. "name": "deprecated",
  16244. "text": "use `calcitePanelClose` instead."
  16245. }
  16246. ],
  16247. "deprecation": "use `calcitePanelClose` instead."
  16248. },
  16249. {
  16250. "event": "calcitePanelDismissedChange",
  16251. "detail": "void",
  16252. "bubbles": true,
  16253. "cancelable": false,
  16254. "composed": true,
  16255. "docs": "Fires when there is a change to the `dismissed` property value .",
  16256. "docsTags": [
  16257. {
  16258. "name": "deprecated",
  16259. "text": "use `calcitePanelClose` instead."
  16260. }
  16261. ],
  16262. "deprecation": "use `calcitePanelClose` instead."
  16263. },
  16264. {
  16265. "event": "calcitePanelScroll",
  16266. "detail": "void",
  16267. "bubbles": true,
  16268. "cancelable": false,
  16269. "composed": true,
  16270. "docs": "Fires when the content is scrolled.",
  16271. "docsTags": []
  16272. }
  16273. ],
  16274. "listeners": [],
  16275. "styles": [
  16276. {
  16277. "name": "--calcite-panel-max-height",
  16278. "annotation": "prop",
  16279. "docs": "The maximum height of the component."
  16280. },
  16281. {
  16282. "name": "--calcite-panel-max-width",
  16283. "annotation": "prop",
  16284. "docs": "The maximum width of the component."
  16285. },
  16286. {
  16287. "name": "--calcite-panel-min-width",
  16288. "annotation": "prop",
  16289. "docs": "The minimum width of the component."
  16290. }
  16291. ],
  16292. "slots": [
  16293. {
  16294. "name": "",
  16295. "docs": "A slot for adding custom content."
  16296. },
  16297. {
  16298. "name": "fab",
  16299. "docs": "A slot for adding a `calcite-fab` (floating action button) to perform an action."
  16300. },
  16301. {
  16302. "name": "footer",
  16303. "docs": "A slot for adding custom content to the footer."
  16304. },
  16305. {
  16306. "name": "footer-actions",
  16307. "docs": "A slot for adding buttons to the footer."
  16308. },
  16309. {
  16310. "name": "header-actions-end",
  16311. "docs": "A slot for adding actions or content to the end side of the header."
  16312. },
  16313. {
  16314. "name": "header-actions-start",
  16315. "docs": "A slot for adding actions or content to the start side of the header."
  16316. },
  16317. {
  16318. "name": "header-content",
  16319. "docs": "A slot for adding custom content to the header."
  16320. },
  16321. {
  16322. "name": "header-menu-actions",
  16323. "docs": "A slot for adding an overflow menu with actions inside a `calcite-dropdown`."
  16324. }
  16325. ],
  16326. "parts": [],
  16327. "dependents": [
  16328. "calcite-flow-item"
  16329. ],
  16330. "dependencies": [
  16331. "calcite-action",
  16332. "calcite-action-menu",
  16333. "calcite-scrim"
  16334. ],
  16335. "dependencyGraph": {
  16336. "calcite-panel": [
  16337. "calcite-action",
  16338. "calcite-action-menu",
  16339. "calcite-scrim"
  16340. ],
  16341. "calcite-action": [
  16342. "calcite-loader",
  16343. "calcite-icon"
  16344. ],
  16345. "calcite-action-menu": [
  16346. "calcite-action",
  16347. "calcite-popover"
  16348. ],
  16349. "calcite-popover": [
  16350. "calcite-action",
  16351. "calcite-icon"
  16352. ],
  16353. "calcite-scrim": [
  16354. "calcite-loader"
  16355. ],
  16356. "calcite-flow-item": [
  16357. "calcite-panel"
  16358. ]
  16359. }
  16360. },
  16361. {
  16362. "filePath": "./src/components/pick-list/pick-list.tsx",
  16363. "encapsulation": "shadow",
  16364. "tag": "calcite-pick-list",
  16365. "readme": "# calcite-pick-list\n\n`calcite-pick-list` lives in a panel and contains `calcite-pick-list-item`s. Each item is able to be be selected via radio button or checkboxes (which have a multiselect and shift-click capability). There is also an option for a filter at the top of the list for searching.\n",
  16366. "docs": "`calcite-pick-list` lives in a panel and contains `calcite-pick-list-item`s. Each item is able to be be selected via radio button or checkboxes (which have a multiselect and shift-click capability). There is also an option for a filter at the top of the list for searching.",
  16367. "docsTags": [
  16368. {
  16369. "name": "slot",
  16370. "text": "- A slot for adding `calcite-pick-list-item` or `calcite-pick-list-group` elements. Items are displayed as a vertical list."
  16371. },
  16372. {
  16373. "name": "slot",
  16374. "text": "menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting."
  16375. }
  16376. ],
  16377. "usage": {
  16378. "Basic": "Renders a basic pick list with radio buttons on the left and actions on the right side.\n\n```html\n<calcite-pick-list>\n <calcite-pick-list-item label=\"T. Rex\" description=\"Arm strength impaired\" value=\"trex\">\n <calcite-action slot=\"actions-end\" icon=\"circle\"></calcite-action>\n </calcite-pick-list-item>\n <calcite-pick-list-item label=\"Triceratops\" description=\"3 horn\" value=\"triceratops\" selected>\n <calcite-action slot=\"actions-end\" icon=\"circle\"></calcite-action>\n </calcite-pick-list-item>\n <calcite-pick-list-item label=\"Velociraptor\" description=\"Swift seizer\" value=\"velociraptor\">\n <calcite-action slot=\"actions-end\" icon=\"circle\"></calcite-action>\n </calcite-pick-list-item>\n</calcite-pick-list>\n```\n",
  16379. "Multi-select-and-filter-enabled": "Renders a pick list with a sticky filter and checkboxes for multiple selection of items.\n\n```html\n<calcite-pick-list multiple filter-enabled>\n <calcite-pick-list-item label=\"Chocolate\" value=\"chocolate\">\n <calcite-action slot=\"actions-end\" icon=\"ellipsis-circle\"></calcite-action>\n </calcite-pick-list-item>\n <calcite-pick-list-item label=\"Vanilla\" description=\"Oldie but goodie\" value=\"vanilla\">\n <calcite-action slot=\"actions-end\" icon=\"ellipsis-circle\"></calcite-action>\n </calcite-pick-list-item>\n <calcite-pick-list-item label=\"Strawberry\" description=\"no metadata on this one\" value=\"strawberry\">\n <calcite-action slot=\"actions-end\" icon=\"ellipsis-circle\"></calcite-action>\n </calcite-pick-list-item>\n</calcite-pick-list>\n```\n",
  16380. "Sub-groups": "Renders groups of pick list items that are visually separated.\n\n```html\n<calcite-pick-list>\n <calcite-pick-list-group group-title=\"numbers\">\n <calcite-pick-list-item label=\"one\" description=\"fish\" value=\"one\" icon=\"grip\">\n <calcite-action slot=\"actions-end\" icon=\"ellipsis\"></calcite-action>\n </calcite-pick-list-item>\n <calcite-pick-list-item label=\"two\" description=\"fish\" value=\"two\" icon=\"grip\">\n <calcite-action slot=\"actions-end\" icon=\"ellipsis\"></calcite-action>\n </calcite-pick-list-item>\n </calcite-pick-list-group>\n <calcite-pick-list-group group-title=\"colors\">\n <calcite-pick-list-item label=\"red\" description=\"fish\" value=\"red\" icon=\"grip\">\n <calcite-action slot=\"actions-end\" icon=\"ellipsis\"></calcite-action>\n </calcite-pick-list-item>\n <calcite-pick-list-item label=\"blue\" description=\"fish\" value=\"blue\" icon=\"grip\">\n <calcite-action slot=\"actions-end\" icon=\"ellipsis\"></calcite-action>\n </calcite-pick-list-item>\n </calcite-pick-list-group>\n</calcite-pick-list>\n```\n"
  16381. },
  16382. "props": [
  16383. {
  16384. "name": "disabled",
  16385. "type": "boolean",
  16386. "mutable": false,
  16387. "attr": "disabled",
  16388. "reflectToAttr": true,
  16389. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  16390. "docsTags": [],
  16391. "default": "false",
  16392. "values": [
  16393. {
  16394. "type": "boolean"
  16395. }
  16396. ],
  16397. "optional": false,
  16398. "required": false
  16399. },
  16400. {
  16401. "name": "filterEnabled",
  16402. "type": "boolean",
  16403. "mutable": false,
  16404. "attr": "filter-enabled",
  16405. "reflectToAttr": true,
  16406. "docs": "When `true`, an input appears at the top of the list that can be used by end users to filter items in the list.",
  16407. "docsTags": [],
  16408. "default": "false",
  16409. "values": [
  16410. {
  16411. "type": "boolean"
  16412. }
  16413. ],
  16414. "optional": false,
  16415. "required": false
  16416. },
  16417. {
  16418. "name": "filterPlaceholder",
  16419. "type": "string",
  16420. "mutable": false,
  16421. "attr": "filter-placeholder",
  16422. "reflectToAttr": true,
  16423. "docs": "Placeholder text for the filter input field.",
  16424. "docsTags": [],
  16425. "values": [
  16426. {
  16427. "type": "string"
  16428. }
  16429. ],
  16430. "optional": false,
  16431. "required": false
  16432. },
  16433. {
  16434. "name": "headingLevel",
  16435. "type": "1 | 2 | 3 | 4 | 5 | 6",
  16436. "mutable": false,
  16437. "attr": "heading-level",
  16438. "reflectToAttr": true,
  16439. "docs": "Specifies the number at which section headings should start.",
  16440. "docsTags": [],
  16441. "values": [
  16442. {
  16443. "value": "1",
  16444. "type": "number"
  16445. },
  16446. {
  16447. "value": "2",
  16448. "type": "number"
  16449. },
  16450. {
  16451. "value": "3",
  16452. "type": "number"
  16453. },
  16454. {
  16455. "value": "4",
  16456. "type": "number"
  16457. },
  16458. {
  16459. "value": "5",
  16460. "type": "number"
  16461. },
  16462. {
  16463. "value": "6",
  16464. "type": "number"
  16465. }
  16466. ],
  16467. "optional": false,
  16468. "required": false
  16469. },
  16470. {
  16471. "name": "loading",
  16472. "type": "boolean",
  16473. "mutable": false,
  16474. "attr": "loading",
  16475. "reflectToAttr": true,
  16476. "docs": "When `true`, a busy indicator is displayed.",
  16477. "docsTags": [],
  16478. "default": "false",
  16479. "values": [
  16480. {
  16481. "type": "boolean"
  16482. }
  16483. ],
  16484. "optional": false,
  16485. "required": false
  16486. },
  16487. {
  16488. "name": "multiple",
  16489. "type": "boolean",
  16490. "mutable": false,
  16491. "attr": "multiple",
  16492. "reflectToAttr": true,
  16493. "docs": "Similar to standard radio buttons and checkboxes.\nWhen `true`, a user can select multiple `calcite-pick-list-item`s at a time.\nWhen `false`, only a single `calcite-pick-list-item` can be selected at a time,\nand a new selection will deselect previous selections.",
  16494. "docsTags": [],
  16495. "default": "false",
  16496. "values": [
  16497. {
  16498. "type": "boolean"
  16499. }
  16500. ],
  16501. "optional": false,
  16502. "required": false
  16503. },
  16504. {
  16505. "name": "selectionFollowsFocus",
  16506. "type": "boolean",
  16507. "mutable": false,
  16508. "attr": "selection-follows-focus",
  16509. "reflectToAttr": true,
  16510. "docs": "When `true` and single selection is enabled, the selection changes when navigating `calcite-pick-list-item`s via keyboard.",
  16511. "docsTags": [],
  16512. "default": "false",
  16513. "values": [
  16514. {
  16515. "type": "boolean"
  16516. }
  16517. ],
  16518. "optional": false,
  16519. "required": false
  16520. }
  16521. ],
  16522. "methods": [
  16523. {
  16524. "name": "getSelectedItems",
  16525. "returns": {
  16526. "type": "Promise<Map<string, HTMLCalcitePickListItemElement>>",
  16527. "docs": ""
  16528. },
  16529. "signature": "getSelectedItems() => Promise<Map<string, HTMLCalcitePickListItemElement>>",
  16530. "parameters": [],
  16531. "docs": "Returns the component's selected `calcite-pick-list-item`s.",
  16532. "docsTags": []
  16533. },
  16534. {
  16535. "name": "setFocus",
  16536. "returns": {
  16537. "type": "Promise<void>",
  16538. "docs": ""
  16539. },
  16540. "signature": "setFocus(focusId?: ListFocusId) => Promise<void>",
  16541. "parameters": [],
  16542. "docs": "Sets focus on the component.",
  16543. "docsTags": [
  16544. {
  16545. "name": "param",
  16546. "text": "focusId"
  16547. }
  16548. ]
  16549. }
  16550. ],
  16551. "events": [
  16552. {
  16553. "event": "calciteListChange",
  16554. "detail": "Map<string, HTMLCalcitePickListItemElement>",
  16555. "bubbles": true,
  16556. "cancelable": false,
  16557. "composed": true,
  16558. "docs": "Emits when any of the `calcite-pick-list-item` selections have changed.",
  16559. "docsTags": []
  16560. }
  16561. ],
  16562. "listeners": [
  16563. {
  16564. "event": "calciteListItemRemove",
  16565. "capture": false,
  16566. "passive": false
  16567. },
  16568. {
  16569. "event": "calciteListItemChange",
  16570. "capture": false,
  16571. "passive": false
  16572. },
  16573. {
  16574. "event": "calciteInternalListItemPropsChange",
  16575. "capture": false,
  16576. "passive": false
  16577. },
  16578. {
  16579. "event": "calciteInternalListItemValueChange",
  16580. "capture": false,
  16581. "passive": false
  16582. },
  16583. {
  16584. "event": "focusout",
  16585. "capture": false,
  16586. "passive": false
  16587. }
  16588. ],
  16589. "styles": [],
  16590. "slots": [
  16591. {
  16592. "name": "",
  16593. "docs": "A slot for adding `calcite-pick-list-item` or `calcite-pick-list-group` elements. Items are displayed as a vertical list."
  16594. },
  16595. {
  16596. "name": "menu-actions",
  16597. "docs": "A slot for adding a button and menu combination for performing actions, such as sorting."
  16598. }
  16599. ],
  16600. "parts": [],
  16601. "dependents": [],
  16602. "dependencies": [
  16603. "calcite-filter",
  16604. "calcite-scrim"
  16605. ],
  16606. "dependencyGraph": {
  16607. "calcite-pick-list": [
  16608. "calcite-filter",
  16609. "calcite-scrim"
  16610. ],
  16611. "calcite-filter": [
  16612. "calcite-input"
  16613. ],
  16614. "calcite-input": [
  16615. "calcite-progress",
  16616. "calcite-icon"
  16617. ],
  16618. "calcite-scrim": [
  16619. "calcite-loader"
  16620. ]
  16621. }
  16622. },
  16623. {
  16624. "filePath": "./src/components/pick-list-group/pick-list-group.tsx",
  16625. "encapsulation": "shadow",
  16626. "tag": "calcite-pick-list-group",
  16627. "readme": "# calcite-pick-list-group\n\n`calcite-pick-list-group` is a wrapper for multiple `calcite-pick-list-item`s and lives in `calcite-pick-list`.\n",
  16628. "docs": "`calcite-pick-list-group` is a wrapper for multiple `calcite-pick-list-item`s and lives in `calcite-pick-list`.",
  16629. "docsTags": [
  16630. {
  16631. "name": "slot",
  16632. "text": "- A slot for adding `calcite-pick-list-item` elements."
  16633. }
  16634. ],
  16635. "usage": {},
  16636. "props": [
  16637. {
  16638. "name": "groupTitle",
  16639. "type": "string",
  16640. "mutable": false,
  16641. "attr": "group-title",
  16642. "reflectToAttr": true,
  16643. "docs": "Specifies the title for all nested `calcite-pick-list-item`s.",
  16644. "docsTags": [],
  16645. "values": [
  16646. {
  16647. "type": "string"
  16648. }
  16649. ],
  16650. "optional": false,
  16651. "required": false
  16652. },
  16653. {
  16654. "name": "headingLevel",
  16655. "type": "1 | 2 | 3 | 4 | 5 | 6",
  16656. "mutable": false,
  16657. "attr": "heading-level",
  16658. "reflectToAttr": true,
  16659. "docs": "Specifies the number at which section headings should start.",
  16660. "docsTags": [],
  16661. "values": [
  16662. {
  16663. "value": "1",
  16664. "type": "number"
  16665. },
  16666. {
  16667. "value": "2",
  16668. "type": "number"
  16669. },
  16670. {
  16671. "value": "3",
  16672. "type": "number"
  16673. },
  16674. {
  16675. "value": "4",
  16676. "type": "number"
  16677. },
  16678. {
  16679. "value": "5",
  16680. "type": "number"
  16681. },
  16682. {
  16683. "value": "6",
  16684. "type": "number"
  16685. }
  16686. ],
  16687. "optional": false,
  16688. "required": false
  16689. }
  16690. ],
  16691. "methods": [],
  16692. "events": [],
  16693. "listeners": [],
  16694. "styles": [],
  16695. "slots": [
  16696. {
  16697. "name": "",
  16698. "docs": "A slot for adding `calcite-pick-list-item` elements."
  16699. }
  16700. ],
  16701. "parts": [],
  16702. "dependents": [],
  16703. "dependencies": [],
  16704. "dependencyGraph": {}
  16705. },
  16706. {
  16707. "filePath": "./src/components/pick-list-item/pick-list-item.tsx",
  16708. "encapsulation": "shadow",
  16709. "tag": "calcite-pick-list-item",
  16710. "readme": "# calcite-pick-list-item\n\n`calcite-pick-list-item`s are cards contained in a `calcite-pick-list`. They each can have a label and description, an icon, and be set to compact. The developer can disable or preselect each list item and give it a value.\n",
  16711. "docs": "`calcite-pick-list-item`s are cards contained in a `calcite-pick-list`. They each can have a label and description, an icon, and be set to compact. The developer can disable or preselect each list item and give it a value.",
  16712. "docsTags": [
  16713. {
  16714. "name": "slot",
  16715. "text": "actions-end - A slot for adding `calcite-action`s or content to the end side of the component."
  16716. },
  16717. {
  16718. "name": "slot",
  16719. "text": "actions-start - A slot for adding `calcite-action`s or content to the start side of the component."
  16720. }
  16721. ],
  16722. "usage": {},
  16723. "props": [
  16724. {
  16725. "name": "description",
  16726. "type": "string",
  16727. "mutable": false,
  16728. "attr": "description",
  16729. "reflectToAttr": true,
  16730. "docs": "A description for the component that displays below the label text.",
  16731. "docsTags": [],
  16732. "values": [
  16733. {
  16734. "type": "string"
  16735. }
  16736. ],
  16737. "optional": true,
  16738. "required": false
  16739. },
  16740. {
  16741. "name": "disableDeselect",
  16742. "type": "boolean",
  16743. "mutable": false,
  16744. "attr": "disable-deselect",
  16745. "reflectToAttr": true,
  16746. "docs": "When `false`, the component cannot be deselected by user interaction.",
  16747. "docsTags": [],
  16748. "default": "false",
  16749. "values": [
  16750. {
  16751. "type": "boolean"
  16752. }
  16753. ],
  16754. "optional": false,
  16755. "required": false
  16756. },
  16757. {
  16758. "name": "disabled",
  16759. "type": "boolean",
  16760. "mutable": false,
  16761. "attr": "disabled",
  16762. "reflectToAttr": true,
  16763. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  16764. "docsTags": [],
  16765. "default": "false",
  16766. "values": [
  16767. {
  16768. "type": "boolean"
  16769. }
  16770. ],
  16771. "optional": false,
  16772. "required": false
  16773. },
  16774. {
  16775. "name": "icon",
  16776. "type": "ICON_TYPES.circle | ICON_TYPES.grip | ICON_TYPES.square",
  16777. "mutable": false,
  16778. "attr": "icon",
  16779. "reflectToAttr": true,
  16780. "docs": "Determines the icon SVG symbol that will be shown. Options are `\"circle\"`, `\"square\"`, `\"grip\"` or `null`.",
  16781. "docsTags": [
  16782. {
  16783. "name": "see",
  16784. "text": "[ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)"
  16785. }
  16786. ],
  16787. "default": "null",
  16788. "values": [
  16789. {
  16790. "type": "ICON_TYPES.circle"
  16791. },
  16792. {
  16793. "type": "ICON_TYPES.grip"
  16794. },
  16795. {
  16796. "type": "ICON_TYPES.square"
  16797. }
  16798. ],
  16799. "optional": true,
  16800. "required": false
  16801. },
  16802. {
  16803. "name": "intlRemove",
  16804. "type": "string",
  16805. "mutable": false,
  16806. "attr": "intl-remove",
  16807. "reflectToAttr": true,
  16808. "docs": "When `removable` is `true`, the accessible name for the component's remove button.",
  16809. "docsTags": [
  16810. {
  16811. "name": "default",
  16812. "text": "\"Remove\""
  16813. }
  16814. ],
  16815. "default": "TEXT.remove",
  16816. "values": [
  16817. {
  16818. "type": "string"
  16819. }
  16820. ],
  16821. "optional": false,
  16822. "required": false
  16823. },
  16824. {
  16825. "name": "label",
  16826. "type": "string",
  16827. "mutable": false,
  16828. "attr": "label",
  16829. "reflectToAttr": true,
  16830. "docs": "Label and accessible name for the component. Appears next to the icon.",
  16831. "docsTags": [],
  16832. "values": [
  16833. {
  16834. "type": "string"
  16835. }
  16836. ],
  16837. "optional": false,
  16838. "required": true
  16839. },
  16840. {
  16841. "name": "metadata",
  16842. "type": "{ [x: string]: unknown; }",
  16843. "mutable": false,
  16844. "reflectToAttr": false,
  16845. "docs": "Provides additional metadata to the component. Primary use is for a filter on the parent list.",
  16846. "docsTags": [],
  16847. "values": [
  16848. {
  16849. "type": "{ [x: string]: unknown; }"
  16850. }
  16851. ],
  16852. "optional": true,
  16853. "required": false
  16854. },
  16855. {
  16856. "name": "removable",
  16857. "type": "boolean",
  16858. "mutable": false,
  16859. "attr": "removable",
  16860. "reflectToAttr": true,
  16861. "docs": "When `true`, displays a remove action that removes the item from the list.",
  16862. "docsTags": [],
  16863. "default": "false",
  16864. "values": [
  16865. {
  16866. "type": "boolean"
  16867. }
  16868. ],
  16869. "optional": true,
  16870. "required": false
  16871. },
  16872. {
  16873. "name": "selected",
  16874. "type": "boolean",
  16875. "mutable": true,
  16876. "attr": "selected",
  16877. "reflectToAttr": true,
  16878. "docs": "When `true`, selects an item. Toggles when an item is checked/unchecked.",
  16879. "docsTags": [],
  16880. "default": "false",
  16881. "values": [
  16882. {
  16883. "type": "boolean"
  16884. }
  16885. ],
  16886. "optional": false,
  16887. "required": false
  16888. },
  16889. {
  16890. "name": "value",
  16891. "type": "any",
  16892. "mutable": false,
  16893. "attr": "value",
  16894. "reflectToAttr": false,
  16895. "docs": "The component's value.",
  16896. "docsTags": [],
  16897. "values": [
  16898. {
  16899. "type": "any"
  16900. }
  16901. ],
  16902. "optional": false,
  16903. "required": true
  16904. }
  16905. ],
  16906. "methods": [
  16907. {
  16908. "name": "setFocus",
  16909. "returns": {
  16910. "type": "Promise<void>",
  16911. "docs": ""
  16912. },
  16913. "signature": "setFocus() => Promise<void>",
  16914. "parameters": [],
  16915. "docs": "Sets focus on the component.",
  16916. "docsTags": []
  16917. },
  16918. {
  16919. "name": "toggleSelected",
  16920. "returns": {
  16921. "type": "Promise<void>",
  16922. "docs": ""
  16923. },
  16924. "signature": "toggleSelected(coerce?: boolean) => Promise<void>",
  16925. "parameters": [],
  16926. "docs": "Toggles the selection state. By default this won't trigger an event.\nThe first argument allows the value to be coerced, rather than swapping values.",
  16927. "docsTags": [
  16928. {
  16929. "name": "param",
  16930. "text": "coerce"
  16931. }
  16932. ]
  16933. }
  16934. ],
  16935. "events": [
  16936. {
  16937. "event": "calciteListItemChange",
  16938. "detail": "{ item: HTMLCalcitePickListItemElement; value: any; selected: boolean; shiftPressed: boolean; }",
  16939. "bubbles": true,
  16940. "cancelable": false,
  16941. "composed": true,
  16942. "docs": "Fires when the component is selected or unselected.",
  16943. "docsTags": []
  16944. },
  16945. {
  16946. "event": "calciteListItemRemove",
  16947. "detail": "void",
  16948. "bubbles": true,
  16949. "cancelable": true,
  16950. "composed": true,
  16951. "docs": "Fires when the remove button is pressed.",
  16952. "docsTags": []
  16953. }
  16954. ],
  16955. "listeners": [],
  16956. "styles": [],
  16957. "slots": [
  16958. {
  16959. "name": "actions-end",
  16960. "docs": "A slot for adding `calcite-action`s or content to the end side of the component."
  16961. },
  16962. {
  16963. "name": "actions-start",
  16964. "docs": "A slot for adding `calcite-action`s or content to the start side of the component."
  16965. }
  16966. ],
  16967. "parts": [],
  16968. "dependents": [
  16969. "calcite-value-list-item"
  16970. ],
  16971. "dependencies": [
  16972. "calcite-icon",
  16973. "calcite-action"
  16974. ],
  16975. "dependencyGraph": {
  16976. "calcite-pick-list-item": [
  16977. "calcite-icon",
  16978. "calcite-action"
  16979. ],
  16980. "calcite-action": [
  16981. "calcite-loader",
  16982. "calcite-icon"
  16983. ],
  16984. "calcite-value-list-item": [
  16985. "calcite-pick-list-item"
  16986. ]
  16987. }
  16988. },
  16989. {
  16990. "filePath": "./src/components/popover/popover.tsx",
  16991. "encapsulation": "shadow",
  16992. "tag": "calcite-popover",
  16993. "readme": "# calcite-popover\n",
  16994. "docs": "",
  16995. "docsTags": [
  16996. {
  16997. "name": "slot",
  16998. "text": "- A slot for adding custom content."
  16999. }
  17000. ],
  17001. "usage": {
  17002. "Basic": "```html\n<calcite-popover reference-element=\"popover-button\">Hello! I am some popover content!</calcite-popover>\n\n<calcite-button id=\"popover-button\">Clickable popover</calcite-button>\n```\n",
  17003. "Virtual": "```html\n<!-- virtually positioned popover -->\n<calcite-popover id=\"virtual-popover\" label=\"Hello world!\" open>\n <p>Hello! I am some virtual popover content!</p>\n</calcite-popover>\n\n<script>\n function generateGetBoundingClientRect() {\n return () => ({\n width: 0,\n height: 0,\n top: 100,\n right: 100,\n bottom: 100,\n left: 600\n });\n }\n\n const virtualElement = {\n getBoundingClientRect: generateGetBoundingClientRect()\n };\n\n const popover = document.getElementById(\"virtual-popover\");\n popover.referenceElement = virtualElement;\n</script>\n```\n"
  17004. },
  17005. "props": [
  17006. {
  17007. "name": "autoClose",
  17008. "type": "boolean",
  17009. "mutable": false,
  17010. "attr": "auto-close",
  17011. "reflectToAttr": true,
  17012. "docs": "When `true`, clicking outside of the component automatically closes open `calcite-popover`s.",
  17013. "docsTags": [],
  17014. "default": "false",
  17015. "values": [
  17016. {
  17017. "type": "boolean"
  17018. }
  17019. ],
  17020. "optional": false,
  17021. "required": false
  17022. },
  17023. {
  17024. "name": "closable",
  17025. "type": "boolean",
  17026. "mutable": true,
  17027. "attr": "closable",
  17028. "reflectToAttr": true,
  17029. "docs": "When `true`, display a close button within the component.",
  17030. "docsTags": [],
  17031. "default": "false",
  17032. "values": [
  17033. {
  17034. "type": "boolean"
  17035. }
  17036. ],
  17037. "optional": false,
  17038. "required": false
  17039. },
  17040. {
  17041. "name": "closeButton",
  17042. "type": "boolean",
  17043. "mutable": false,
  17044. "attr": "close-button",
  17045. "reflectToAttr": true,
  17046. "docs": "When `true`, a close button is added to the component.",
  17047. "docsTags": [
  17048. {
  17049. "name": "deprecated",
  17050. "text": "use dismissible instead."
  17051. }
  17052. ],
  17053. "default": "false",
  17054. "deprecation": "use dismissible instead.",
  17055. "values": [
  17056. {
  17057. "type": "boolean"
  17058. }
  17059. ],
  17060. "optional": false,
  17061. "required": false
  17062. },
  17063. {
  17064. "name": "disableFlip",
  17065. "type": "boolean",
  17066. "mutable": false,
  17067. "attr": "disable-flip",
  17068. "reflectToAttr": true,
  17069. "docs": "When `true`, prevents flipping the component's placement when overlapping its `referenceElement`.",
  17070. "docsTags": [],
  17071. "default": "false",
  17072. "values": [
  17073. {
  17074. "type": "boolean"
  17075. }
  17076. ],
  17077. "optional": false,
  17078. "required": false
  17079. },
  17080. {
  17081. "name": "disablePointer",
  17082. "type": "boolean",
  17083. "mutable": false,
  17084. "attr": "disable-pointer",
  17085. "reflectToAttr": true,
  17086. "docs": "When `true`, removes the caret pointer.",
  17087. "docsTags": [],
  17088. "default": "false",
  17089. "values": [
  17090. {
  17091. "type": "boolean"
  17092. }
  17093. ],
  17094. "optional": false,
  17095. "required": false
  17096. },
  17097. {
  17098. "name": "dismissible",
  17099. "type": "boolean",
  17100. "mutable": true,
  17101. "attr": "dismissible",
  17102. "reflectToAttr": true,
  17103. "docs": "When `true`, a close button is added to the component.",
  17104. "docsTags": [
  17105. {
  17106. "name": "deprecated",
  17107. "text": "use `closable` instead."
  17108. }
  17109. ],
  17110. "default": "false",
  17111. "deprecation": "use `closable` instead.",
  17112. "values": [
  17113. {
  17114. "type": "boolean"
  17115. }
  17116. ],
  17117. "optional": false,
  17118. "required": false
  17119. },
  17120. {
  17121. "name": "flipPlacements",
  17122. "type": "Placement[]",
  17123. "mutable": false,
  17124. "reflectToAttr": false,
  17125. "docs": "Defines the available placements that can be used when a flip occurs.",
  17126. "docsTags": [],
  17127. "values": [
  17128. {
  17129. "type": "Placement[]"
  17130. }
  17131. ],
  17132. "optional": true,
  17133. "required": false
  17134. },
  17135. {
  17136. "name": "heading",
  17137. "type": "string",
  17138. "mutable": false,
  17139. "attr": "heading",
  17140. "reflectToAttr": false,
  17141. "docs": "The component header text.",
  17142. "docsTags": [],
  17143. "values": [
  17144. {
  17145. "type": "string"
  17146. }
  17147. ],
  17148. "optional": true,
  17149. "required": false
  17150. },
  17151. {
  17152. "name": "headingLevel",
  17153. "type": "1 | 2 | 3 | 4 | 5 | 6",
  17154. "mutable": false,
  17155. "attr": "heading-level",
  17156. "reflectToAttr": true,
  17157. "docs": "Specifies the number at which section headings should start.",
  17158. "docsTags": [],
  17159. "values": [
  17160. {
  17161. "value": "1",
  17162. "type": "number"
  17163. },
  17164. {
  17165. "value": "2",
  17166. "type": "number"
  17167. },
  17168. {
  17169. "value": "3",
  17170. "type": "number"
  17171. },
  17172. {
  17173. "value": "4",
  17174. "type": "number"
  17175. },
  17176. {
  17177. "value": "5",
  17178. "type": "number"
  17179. },
  17180. {
  17181. "value": "6",
  17182. "type": "number"
  17183. }
  17184. ],
  17185. "optional": false,
  17186. "required": false
  17187. },
  17188. {
  17189. "name": "intlClose",
  17190. "type": "string",
  17191. "mutable": false,
  17192. "attr": "intl-close",
  17193. "reflectToAttr": false,
  17194. "docs": "Accessible name for the component's close button.",
  17195. "docsTags": [
  17196. {
  17197. "name": "default",
  17198. "text": "\"Close\""
  17199. }
  17200. ],
  17201. "default": "TEXT.close",
  17202. "values": [
  17203. {
  17204. "type": "string"
  17205. }
  17206. ],
  17207. "optional": false,
  17208. "required": false
  17209. },
  17210. {
  17211. "name": "label",
  17212. "type": "string",
  17213. "mutable": false,
  17214. "attr": "label",
  17215. "reflectToAttr": false,
  17216. "docs": "Accessible name for the component.",
  17217. "docsTags": [],
  17218. "values": [
  17219. {
  17220. "type": "string"
  17221. }
  17222. ],
  17223. "optional": false,
  17224. "required": true
  17225. },
  17226. {
  17227. "name": "offsetDistance",
  17228. "type": "number",
  17229. "mutable": false,
  17230. "attr": "offset-distance",
  17231. "reflectToAttr": true,
  17232. "docs": "Offsets the position of the component away from the `referenceElement`.",
  17233. "docsTags": [
  17234. {
  17235. "name": "default",
  17236. "text": "6"
  17237. }
  17238. ],
  17239. "default": "defaultOffsetDistance",
  17240. "values": [
  17241. {
  17242. "type": "number"
  17243. }
  17244. ],
  17245. "optional": false,
  17246. "required": false
  17247. },
  17248. {
  17249. "name": "offsetSkidding",
  17250. "type": "number",
  17251. "mutable": false,
  17252. "attr": "offset-skidding",
  17253. "reflectToAttr": true,
  17254. "docs": "Offsets the position of the component along the `referenceElement`.",
  17255. "docsTags": [],
  17256. "default": "0",
  17257. "values": [
  17258. {
  17259. "type": "number"
  17260. }
  17261. ],
  17262. "optional": false,
  17263. "required": false
  17264. },
  17265. {
  17266. "name": "open",
  17267. "type": "boolean",
  17268. "mutable": true,
  17269. "attr": "open",
  17270. "reflectToAttr": true,
  17271. "docs": "When `true`, displays and positions the component.",
  17272. "docsTags": [],
  17273. "default": "false",
  17274. "values": [
  17275. {
  17276. "type": "boolean"
  17277. }
  17278. ],
  17279. "optional": false,
  17280. "required": false
  17281. },
  17282. {
  17283. "name": "overlayPositioning",
  17284. "type": "\"absolute\" | \"fixed\"",
  17285. "mutable": false,
  17286. "attr": "overlay-positioning",
  17287. "reflectToAttr": true,
  17288. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\n`\"fixed\"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  17289. "docsTags": [],
  17290. "default": "\"absolute\"",
  17291. "values": [
  17292. {
  17293. "value": "absolute",
  17294. "type": "string"
  17295. },
  17296. {
  17297. "value": "fixed",
  17298. "type": "string"
  17299. }
  17300. ],
  17301. "optional": false,
  17302. "required": false
  17303. },
  17304. {
  17305. "name": "placement",
  17306. "type": "Placement | VariationPlacement | AutoPlacement | DeprecatedPlacement",
  17307. "mutable": false,
  17308. "attr": "placement",
  17309. "reflectToAttr": true,
  17310. "docs": "Determines where the component will be positioned relative to the `referenceElement`.",
  17311. "docsTags": [
  17312. {
  17313. "name": "see",
  17314. "text": "[LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)"
  17315. }
  17316. ],
  17317. "default": "defaultPopoverPlacement",
  17318. "values": [
  17319. {
  17320. "type": "Placement"
  17321. },
  17322. {
  17323. "type": "VariationPlacement"
  17324. },
  17325. {
  17326. "type": "AutoPlacement"
  17327. },
  17328. {
  17329. "type": "DeprecatedPlacement"
  17330. }
  17331. ],
  17332. "optional": false,
  17333. "required": false
  17334. },
  17335. {
  17336. "name": "referenceElement",
  17337. "type": "Element | VirtualElement | string",
  17338. "mutable": false,
  17339. "attr": "reference-element",
  17340. "reflectToAttr": false,
  17341. "docs": "The `referenceElement` used to position the component according to its `placement` value. Setting to an `HTMLElement` is preferred so the component does not need to query the DOM. However, a string `id` of the reference element can also be used.",
  17342. "docsTags": [],
  17343. "values": [
  17344. {
  17345. "type": "Element"
  17346. },
  17347. {
  17348. "type": "VirtualElement"
  17349. },
  17350. {
  17351. "type": "string"
  17352. }
  17353. ],
  17354. "optional": false,
  17355. "required": true
  17356. },
  17357. {
  17358. "name": "triggerDisabled",
  17359. "type": "boolean",
  17360. "mutable": false,
  17361. "attr": "trigger-disabled",
  17362. "reflectToAttr": true,
  17363. "docs": "When `true`, disables automatically toggling the component when its `referenceElement` has been triggered.\n\nThis property can be set to `true` to manage when the component is open.",
  17364. "docsTags": [],
  17365. "default": "false",
  17366. "values": [
  17367. {
  17368. "type": "boolean"
  17369. }
  17370. ],
  17371. "optional": false,
  17372. "required": false
  17373. }
  17374. ],
  17375. "methods": [
  17376. {
  17377. "name": "reposition",
  17378. "returns": {
  17379. "type": "Promise<void>",
  17380. "docs": ""
  17381. },
  17382. "signature": "reposition(delayed?: boolean) => Promise<void>",
  17383. "parameters": [],
  17384. "docs": "Updates the position of the component.",
  17385. "docsTags": [
  17386. {
  17387. "name": "param",
  17388. "text": "delayed"
  17389. }
  17390. ]
  17391. },
  17392. {
  17393. "name": "setFocus",
  17394. "returns": {
  17395. "type": "Promise<void>",
  17396. "docs": ""
  17397. },
  17398. "signature": "setFocus(focusId?: \"close-button\") => Promise<void>",
  17399. "parameters": [],
  17400. "docs": "Sets focus on the component.",
  17401. "docsTags": [
  17402. {
  17403. "name": "param",
  17404. "text": "focusId"
  17405. }
  17406. ]
  17407. },
  17408. {
  17409. "name": "toggle",
  17410. "returns": {
  17411. "type": "Promise<void>",
  17412. "docs": ""
  17413. },
  17414. "signature": "toggle(value?: boolean) => Promise<void>",
  17415. "parameters": [],
  17416. "docs": "Toggles the component's open property.",
  17417. "docsTags": [
  17418. {
  17419. "name": "param",
  17420. "text": "value"
  17421. }
  17422. ]
  17423. }
  17424. ],
  17425. "events": [
  17426. {
  17427. "event": "calcitePopoverBeforeClose",
  17428. "detail": "void",
  17429. "bubbles": true,
  17430. "cancelable": false,
  17431. "composed": true,
  17432. "docs": "Fires when the component is requested to be closed and before the closing transition begins.",
  17433. "docsTags": []
  17434. },
  17435. {
  17436. "event": "calcitePopoverBeforeOpen",
  17437. "detail": "void",
  17438. "bubbles": true,
  17439. "cancelable": false,
  17440. "composed": true,
  17441. "docs": "Fires when the component is added to the DOM but not rendered, and before the opening transition begins.",
  17442. "docsTags": []
  17443. },
  17444. {
  17445. "event": "calcitePopoverClose",
  17446. "detail": "void",
  17447. "bubbles": true,
  17448. "cancelable": false,
  17449. "composed": true,
  17450. "docs": "Fires when the component is closed and animation is complete.",
  17451. "docsTags": []
  17452. },
  17453. {
  17454. "event": "calcitePopoverOpen",
  17455. "detail": "void",
  17456. "bubbles": true,
  17457. "cancelable": false,
  17458. "composed": true,
  17459. "docs": "Fires when the component is open and animation is complete.",
  17460. "docsTags": []
  17461. }
  17462. ],
  17463. "listeners": [],
  17464. "styles": [],
  17465. "slots": [
  17466. {
  17467. "name": "",
  17468. "docs": "A slot for adding custom content."
  17469. }
  17470. ],
  17471. "parts": [],
  17472. "dependents": [
  17473. "calcite-action-menu",
  17474. "calcite-input-time-picker"
  17475. ],
  17476. "dependencies": [
  17477. "calcite-action",
  17478. "calcite-icon"
  17479. ],
  17480. "dependencyGraph": {
  17481. "calcite-popover": [
  17482. "calcite-action",
  17483. "calcite-icon"
  17484. ],
  17485. "calcite-action": [
  17486. "calcite-loader",
  17487. "calcite-icon"
  17488. ],
  17489. "calcite-action-menu": [
  17490. "calcite-popover"
  17491. ],
  17492. "calcite-input-time-picker": [
  17493. "calcite-popover"
  17494. ]
  17495. }
  17496. },
  17497. {
  17498. "filePath": "./src/components/popover-manager/popover-manager.tsx",
  17499. "encapsulation": "shadow",
  17500. "tag": "calcite-popover-manager",
  17501. "readme": "# calcite-popover-manager\n",
  17502. "docs": "",
  17503. "docsTags": [
  17504. {
  17505. "name": "slot",
  17506. "text": "- A slot for adding elements that reference a 'calcite-popover' by the 'selector' property."
  17507. },
  17508. {
  17509. "name": "deprecated",
  17510. "text": "No longer required for popover usage."
  17511. }
  17512. ],
  17513. "usage": {},
  17514. "props": [
  17515. {
  17516. "name": "autoClose",
  17517. "type": "boolean",
  17518. "mutable": false,
  17519. "attr": "auto-close",
  17520. "reflectToAttr": true,
  17521. "docs": "Automatically closes any currently open popovers when clicking outside of a popover.",
  17522. "docsTags": [],
  17523. "default": "false",
  17524. "values": [
  17525. {
  17526. "type": "boolean"
  17527. }
  17528. ],
  17529. "optional": false,
  17530. "required": false
  17531. },
  17532. {
  17533. "name": "selector",
  17534. "type": "string",
  17535. "mutable": false,
  17536. "attr": "selector",
  17537. "reflectToAttr": true,
  17538. "docs": "CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.",
  17539. "docsTags": [
  17540. {
  17541. "name": "default",
  17542. "text": "`[data-calcite-popover-reference]`"
  17543. }
  17544. ],
  17545. "default": "\"[data-calcite-popover-reference]\"",
  17546. "values": [
  17547. {
  17548. "type": "string"
  17549. }
  17550. ],
  17551. "optional": false,
  17552. "required": false
  17553. }
  17554. ],
  17555. "methods": [],
  17556. "events": [],
  17557. "listeners": [],
  17558. "styles": [],
  17559. "slots": [
  17560. {
  17561. "name": "",
  17562. "docs": "A slot for adding elements that reference a 'calcite-popover' by the 'selector' property."
  17563. }
  17564. ],
  17565. "parts": [],
  17566. "dependents": [],
  17567. "dependencies": [],
  17568. "dependencyGraph": {},
  17569. "deprecation": "No longer required for popover usage."
  17570. },
  17571. {
  17572. "filePath": "./src/components/progress/progress.tsx",
  17573. "encapsulation": "shadow",
  17574. "tag": "calcite-progress",
  17575. "readme": "# calcite-progress\n\nThe `calcite-progress` component is used to show progress on some async task to the user.\n",
  17576. "docs": "The `calcite-progress` component is used to show progress on some async task to the user.",
  17577. "docsTags": [],
  17578. "usage": {
  17579. "Basic": "```html\n<calcite-progress type=\"indeterminate\"></calcite-progress>\n```\n"
  17580. },
  17581. "props": [
  17582. {
  17583. "name": "label",
  17584. "type": "string",
  17585. "mutable": false,
  17586. "attr": "label",
  17587. "reflectToAttr": false,
  17588. "docs": "Accessible name for the component.",
  17589. "docsTags": [],
  17590. "values": [
  17591. {
  17592. "type": "string"
  17593. }
  17594. ],
  17595. "optional": false,
  17596. "required": false
  17597. },
  17598. {
  17599. "name": "reversed",
  17600. "type": "boolean",
  17601. "mutable": false,
  17602. "attr": "reversed",
  17603. "reflectToAttr": true,
  17604. "docs": "When `true` and for `\"indeterminate\"` progress bars, reverses the animation direction.",
  17605. "docsTags": [],
  17606. "default": "false",
  17607. "values": [
  17608. {
  17609. "type": "boolean"
  17610. }
  17611. ],
  17612. "optional": false,
  17613. "required": false
  17614. },
  17615. {
  17616. "name": "text",
  17617. "type": "string",
  17618. "mutable": false,
  17619. "attr": "text",
  17620. "reflectToAttr": false,
  17621. "docs": "Text that displays under the component's indicator.",
  17622. "docsTags": [],
  17623. "values": [
  17624. {
  17625. "type": "string"
  17626. }
  17627. ],
  17628. "optional": false,
  17629. "required": false
  17630. },
  17631. {
  17632. "name": "type",
  17633. "type": "\"determinate\" | \"indeterminate\"",
  17634. "mutable": false,
  17635. "attr": "type",
  17636. "reflectToAttr": true,
  17637. "docs": "Specifies the component type.\n\nUse `\"indeterminate\"` if finding actual progress value is impossible.",
  17638. "docsTags": [],
  17639. "default": "\"determinate\"",
  17640. "values": [
  17641. {
  17642. "value": "determinate",
  17643. "type": "string"
  17644. },
  17645. {
  17646. "value": "indeterminate",
  17647. "type": "string"
  17648. }
  17649. ],
  17650. "optional": false,
  17651. "required": false
  17652. },
  17653. {
  17654. "name": "value",
  17655. "type": "number",
  17656. "mutable": false,
  17657. "attr": "value",
  17658. "reflectToAttr": false,
  17659. "docs": "The component's progress value, with a range of 0.0 - 1.0.",
  17660. "docsTags": [],
  17661. "default": "0",
  17662. "values": [
  17663. {
  17664. "type": "number"
  17665. }
  17666. ],
  17667. "optional": false,
  17668. "required": false
  17669. }
  17670. ],
  17671. "methods": [],
  17672. "events": [],
  17673. "listeners": [],
  17674. "styles": [],
  17675. "slots": [],
  17676. "parts": [],
  17677. "dependents": [
  17678. "calcite-input",
  17679. "calcite-input-number",
  17680. "calcite-input-text"
  17681. ],
  17682. "dependencies": [],
  17683. "dependencyGraph": {
  17684. "calcite-input": [
  17685. "calcite-progress"
  17686. ],
  17687. "calcite-input-number": [
  17688. "calcite-progress"
  17689. ],
  17690. "calcite-input-text": [
  17691. "calcite-progress"
  17692. ]
  17693. }
  17694. },
  17695. {
  17696. "filePath": "./src/components/radio-button/radio-button.tsx",
  17697. "encapsulation": "shadow",
  17698. "tag": "calcite-radio-button",
  17699. "readme": "# calcite-radio-button\n",
  17700. "docs": "",
  17701. "docsTags": [],
  17702. "usage": {
  17703. "Basic": "```html\n<calcite-label for=\"item-a\" layout=\"inline\">\n <calcite-radio-button id=\"item-a\" name=\"preferred-feature\" value=\"Maps\" checked></calcite-radio-button>\n Maps\n</calcite-label>\n```\n"
  17704. },
  17705. "props": [
  17706. {
  17707. "name": "checked",
  17708. "type": "boolean",
  17709. "mutable": true,
  17710. "attr": "checked",
  17711. "reflectToAttr": true,
  17712. "docs": "When `true`, the component is checked.",
  17713. "docsTags": [],
  17714. "default": "false",
  17715. "values": [
  17716. {
  17717. "type": "boolean"
  17718. }
  17719. ],
  17720. "optional": false,
  17721. "required": false
  17722. },
  17723. {
  17724. "name": "disabled",
  17725. "type": "boolean",
  17726. "mutable": false,
  17727. "attr": "disabled",
  17728. "reflectToAttr": true,
  17729. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  17730. "docsTags": [],
  17731. "default": "false",
  17732. "values": [
  17733. {
  17734. "type": "boolean"
  17735. }
  17736. ],
  17737. "optional": false,
  17738. "required": false
  17739. },
  17740. {
  17741. "name": "guid",
  17742. "type": "string",
  17743. "mutable": true,
  17744. "attr": "guid",
  17745. "reflectToAttr": true,
  17746. "docs": "The `id` of the component. When omitted, a globally unique identifier is used.",
  17747. "docsTags": [],
  17748. "values": [
  17749. {
  17750. "type": "string"
  17751. }
  17752. ],
  17753. "optional": false,
  17754. "required": false
  17755. },
  17756. {
  17757. "name": "hidden",
  17758. "type": "boolean",
  17759. "mutable": false,
  17760. "attr": "hidden",
  17761. "reflectToAttr": true,
  17762. "docs": "When `true`, the component is not displayed and is not focusable or checkable.",
  17763. "docsTags": [],
  17764. "default": "false",
  17765. "values": [
  17766. {
  17767. "type": "boolean"
  17768. }
  17769. ],
  17770. "optional": false,
  17771. "required": false
  17772. },
  17773. {
  17774. "name": "name",
  17775. "type": "string",
  17776. "mutable": false,
  17777. "attr": "name",
  17778. "reflectToAttr": true,
  17779. "docs": "Specifies the name of the component, passed from the `calcite-radio-button-group` on form submission.",
  17780. "docsTags": [],
  17781. "values": [
  17782. {
  17783. "type": "string"
  17784. }
  17785. ],
  17786. "optional": false,
  17787. "required": false
  17788. },
  17789. {
  17790. "name": "required",
  17791. "type": "boolean",
  17792. "mutable": false,
  17793. "attr": "required",
  17794. "reflectToAttr": true,
  17795. "docs": "When `true`, the component must have a value selected from the `calcite-radio-button-group` in order for the form to submit.",
  17796. "docsTags": [],
  17797. "default": "false",
  17798. "values": [
  17799. {
  17800. "type": "boolean"
  17801. }
  17802. ],
  17803. "optional": false,
  17804. "required": false
  17805. },
  17806. {
  17807. "name": "scale",
  17808. "type": "\"l\" | \"m\" | \"s\"",
  17809. "mutable": false,
  17810. "attr": "scale",
  17811. "reflectToAttr": true,
  17812. "docs": "Specifies the size of the component inherited from the `calcite-radio-button-group`.",
  17813. "docsTags": [],
  17814. "default": "\"m\"",
  17815. "values": [
  17816. {
  17817. "value": "l",
  17818. "type": "string"
  17819. },
  17820. {
  17821. "value": "m",
  17822. "type": "string"
  17823. },
  17824. {
  17825. "value": "s",
  17826. "type": "string"
  17827. }
  17828. ],
  17829. "optional": false,
  17830. "required": false
  17831. },
  17832. {
  17833. "name": "value",
  17834. "type": "any",
  17835. "mutable": true,
  17836. "attr": "value",
  17837. "reflectToAttr": false,
  17838. "docs": "The component's value.",
  17839. "docsTags": [],
  17840. "values": [
  17841. {
  17842. "type": "any"
  17843. }
  17844. ],
  17845. "optional": false,
  17846. "required": true
  17847. }
  17848. ],
  17849. "methods": [
  17850. {
  17851. "name": "setFocus",
  17852. "returns": {
  17853. "type": "Promise<void>",
  17854. "docs": ""
  17855. },
  17856. "signature": "setFocus() => Promise<void>",
  17857. "parameters": [],
  17858. "docs": "Sets focus on the component.",
  17859. "docsTags": []
  17860. }
  17861. ],
  17862. "events": [
  17863. {
  17864. "event": "calciteRadioButtonChange",
  17865. "detail": "void",
  17866. "bubbles": true,
  17867. "cancelable": false,
  17868. "composed": true,
  17869. "docs": "Fires only when the radio button is checked. This behavior is identical to the native HTML input element.\nSince this event does not fire when the radio button is unchecked, it's not recommended to attach a listener for this event\ndirectly on the element, but instead either attach it to a node that contains all of the radio buttons in the group\nor use the `calciteRadioButtonGroupChange` event if using this with `calcite-radio-button-group`.",
  17870. "docsTags": []
  17871. }
  17872. ],
  17873. "listeners": [
  17874. {
  17875. "event": "pointerenter",
  17876. "capture": false,
  17877. "passive": true
  17878. },
  17879. {
  17880. "event": "pointerleave",
  17881. "capture": false,
  17882. "passive": true
  17883. }
  17884. ],
  17885. "styles": [],
  17886. "slots": [],
  17887. "parts": [],
  17888. "dependents": [],
  17889. "dependencies": [],
  17890. "dependencyGraph": {}
  17891. },
  17892. {
  17893. "filePath": "./src/components/radio-button-group/radio-button-group.tsx",
  17894. "encapsulation": "shadow",
  17895. "tag": "calcite-radio-button-group",
  17896. "readme": "# calcite-radio-button-group\n",
  17897. "docs": "",
  17898. "docsTags": [
  17899. {
  17900. "name": "slot",
  17901. "text": "- A slot for adding `calcite-radio-button`s."
  17902. }
  17903. ],
  17904. "usage": {
  17905. "Basic": "Renders the radio button group with default horizontal layout\n\n```html\n<calcite-radio-button-group name=\"basic-group\">\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Maps\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Layers\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Data\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Geography\n </calcite-label>\n</calcite-radio-button-group>\n```\n",
  17906. "Disabled-checked": "Renders all radio button inputs disabled, first one checked\n\n```html\n<calcite-radio-button-group name=\"disabled-group\" disabled>\n <calcite-label layout=\"inline\">\n <calcite-radio-button checked></calcite-radio-button>\n A\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n B\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n C\n </calcite-label>\n</calcite-radio-button-group>\n```\n",
  17907. "With-vertical-layout": "```html\n<calcite-radio-button-group name=\"vertical-group\" layout=\"vertical\">\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Maps\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Layers\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Data\n </calcite-label>\n <calcite-label layout=\"inline\">\n <calcite-radio-button></calcite-radio-button>\n Geography\n </calcite-label>\n</calcite-radio-button-group>\n```\n"
  17908. },
  17909. "props": [
  17910. {
  17911. "name": "disabled",
  17912. "type": "boolean",
  17913. "mutable": false,
  17914. "attr": "disabled",
  17915. "reflectToAttr": true,
  17916. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  17917. "docsTags": [],
  17918. "default": "false",
  17919. "values": [
  17920. {
  17921. "type": "boolean"
  17922. }
  17923. ],
  17924. "optional": false,
  17925. "required": false
  17926. },
  17927. {
  17928. "name": "hidden",
  17929. "type": "boolean",
  17930. "mutable": false,
  17931. "attr": "hidden",
  17932. "reflectToAttr": true,
  17933. "docs": "When `true`, the component is not displayed and its `calcite-radio-button`s are not focusable or checkable.",
  17934. "docsTags": [],
  17935. "default": "false",
  17936. "values": [
  17937. {
  17938. "type": "boolean"
  17939. }
  17940. ],
  17941. "optional": false,
  17942. "required": false
  17943. },
  17944. {
  17945. "name": "layout",
  17946. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  17947. "mutable": false,
  17948. "attr": "layout",
  17949. "reflectToAttr": true,
  17950. "docs": "Defines the layout of the component.",
  17951. "docsTags": [],
  17952. "default": "\"horizontal\"",
  17953. "values": [
  17954. {
  17955. "value": "grid",
  17956. "type": "string"
  17957. },
  17958. {
  17959. "value": "horizontal",
  17960. "type": "string"
  17961. },
  17962. {
  17963. "value": "vertical",
  17964. "type": "string"
  17965. }
  17966. ],
  17967. "optional": false,
  17968. "required": false
  17969. },
  17970. {
  17971. "name": "name",
  17972. "type": "string",
  17973. "mutable": false,
  17974. "attr": "name",
  17975. "reflectToAttr": true,
  17976. "docs": "Specifies the name of the component on form submission. Must be unique to other component instances.",
  17977. "docsTags": [],
  17978. "values": [
  17979. {
  17980. "type": "string"
  17981. }
  17982. ],
  17983. "optional": false,
  17984. "required": true
  17985. },
  17986. {
  17987. "name": "required",
  17988. "type": "boolean",
  17989. "mutable": false,
  17990. "attr": "required",
  17991. "reflectToAttr": true,
  17992. "docs": "When `true`, the component must have a value in order for the form to submit.",
  17993. "docsTags": [],
  17994. "default": "false",
  17995. "values": [
  17996. {
  17997. "type": "boolean"
  17998. }
  17999. ],
  18000. "optional": false,
  18001. "required": false
  18002. },
  18003. {
  18004. "name": "scale",
  18005. "type": "\"l\" | \"m\" | \"s\"",
  18006. "mutable": false,
  18007. "attr": "scale",
  18008. "reflectToAttr": true,
  18009. "docs": "Specifies the size of the component.",
  18010. "docsTags": [],
  18011. "default": "\"m\"",
  18012. "values": [
  18013. {
  18014. "value": "l",
  18015. "type": "string"
  18016. },
  18017. {
  18018. "value": "m",
  18019. "type": "string"
  18020. },
  18021. {
  18022. "value": "s",
  18023. "type": "string"
  18024. }
  18025. ],
  18026. "optional": false,
  18027. "required": false
  18028. }
  18029. ],
  18030. "methods": [],
  18031. "events": [
  18032. {
  18033. "event": "calciteRadioButtonGroupChange",
  18034. "detail": "any",
  18035. "bubbles": true,
  18036. "cancelable": false,
  18037. "composed": true,
  18038. "docs": "Fires when the component has changed.",
  18039. "docsTags": []
  18040. }
  18041. ],
  18042. "listeners": [
  18043. {
  18044. "event": "calciteRadioButtonChange",
  18045. "capture": false,
  18046. "passive": false
  18047. }
  18048. ],
  18049. "styles": [],
  18050. "slots": [
  18051. {
  18052. "name": "",
  18053. "docs": "A slot for adding `calcite-radio-button`s."
  18054. }
  18055. ],
  18056. "parts": [],
  18057. "dependents": [],
  18058. "dependencies": [],
  18059. "dependencyGraph": {}
  18060. },
  18061. {
  18062. "filePath": "./src/components/radio-group/radio-group.tsx",
  18063. "encapsulation": "shadow",
  18064. "tag": "calcite-radio-group",
  18065. "readme": "# calcite-radio-group\n",
  18066. "docs": "",
  18067. "docsTags": [
  18068. {
  18069. "name": "slot",
  18070. "text": "- A slot for adding `calcite-radio-group-item`s."
  18071. }
  18072. ],
  18073. "usage": {
  18074. "Basic": "```html\n<calcite-radio-group layout=\"horizontal\" appearance=\"solid\" scale=\"m\" width=\"auto\">\n <calcite-radio-group-item value=\"apple\" checked>Apple</calcite-radio-group-item>\n <calcite-radio-group-item value=\"mango\">Mango</calcite-radio-group-item>\n <calcite-radio-group-item value=\"tomato\">Tomato</calcite-radio-group-item>\n <calcite-radio-group-item value=\"banana\">Banana</calcite-radio-group-item>\n</calcite-radio-group>\n```\n"
  18075. },
  18076. "props": [
  18077. {
  18078. "name": "appearance",
  18079. "type": "\"outline\" | \"solid\"",
  18080. "mutable": false,
  18081. "attr": "appearance",
  18082. "reflectToAttr": true,
  18083. "docs": "Specifies the appearance style of the component.",
  18084. "docsTags": [],
  18085. "default": "\"solid\"",
  18086. "values": [
  18087. {
  18088. "value": "outline",
  18089. "type": "string"
  18090. },
  18091. {
  18092. "value": "solid",
  18093. "type": "string"
  18094. }
  18095. ],
  18096. "optional": false,
  18097. "required": false
  18098. },
  18099. {
  18100. "name": "disabled",
  18101. "type": "boolean",
  18102. "mutable": false,
  18103. "attr": "disabled",
  18104. "reflectToAttr": true,
  18105. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  18106. "docsTags": [],
  18107. "default": "false",
  18108. "values": [
  18109. {
  18110. "type": "boolean"
  18111. }
  18112. ],
  18113. "optional": false,
  18114. "required": false
  18115. },
  18116. {
  18117. "name": "layout",
  18118. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  18119. "mutable": false,
  18120. "attr": "layout",
  18121. "reflectToAttr": true,
  18122. "docs": "Defines the layout of the component.",
  18123. "docsTags": [],
  18124. "default": "\"horizontal\"",
  18125. "values": [
  18126. {
  18127. "value": "grid",
  18128. "type": "string"
  18129. },
  18130. {
  18131. "value": "horizontal",
  18132. "type": "string"
  18133. },
  18134. {
  18135. "value": "vertical",
  18136. "type": "string"
  18137. }
  18138. ],
  18139. "optional": false,
  18140. "required": false
  18141. },
  18142. {
  18143. "name": "name",
  18144. "type": "string",
  18145. "mutable": false,
  18146. "attr": "name",
  18147. "reflectToAttr": true,
  18148. "docs": "Specifies the name of the component on form submission.",
  18149. "docsTags": [],
  18150. "values": [
  18151. {
  18152. "type": "string"
  18153. }
  18154. ],
  18155. "optional": false,
  18156. "required": false
  18157. },
  18158. {
  18159. "name": "scale",
  18160. "type": "\"l\" | \"m\" | \"s\"",
  18161. "mutable": false,
  18162. "attr": "scale",
  18163. "reflectToAttr": true,
  18164. "docs": "Specifies the size of the component.",
  18165. "docsTags": [],
  18166. "default": "\"m\"",
  18167. "values": [
  18168. {
  18169. "value": "l",
  18170. "type": "string"
  18171. },
  18172. {
  18173. "value": "m",
  18174. "type": "string"
  18175. },
  18176. {
  18177. "value": "s",
  18178. "type": "string"
  18179. }
  18180. ],
  18181. "optional": false,
  18182. "required": false
  18183. },
  18184. {
  18185. "name": "selectedItem",
  18186. "type": "HTMLCalciteRadioGroupItemElement",
  18187. "mutable": true,
  18188. "reflectToAttr": false,
  18189. "docs": "The component's selected item `HTMLElement`.",
  18190. "docsTags": [
  18191. {
  18192. "name": "readonly"
  18193. }
  18194. ],
  18195. "values": [
  18196. {
  18197. "type": "HTMLCalciteRadioGroupItemElement"
  18198. }
  18199. ],
  18200. "optional": false,
  18201. "required": false
  18202. },
  18203. {
  18204. "name": "value",
  18205. "type": "string",
  18206. "mutable": true,
  18207. "attr": "value",
  18208. "reflectToAttr": false,
  18209. "docs": "The component's `selectedItem` value.",
  18210. "docsTags": [],
  18211. "default": "null",
  18212. "values": [
  18213. {
  18214. "type": "string"
  18215. }
  18216. ],
  18217. "optional": false,
  18218. "required": false
  18219. },
  18220. {
  18221. "name": "width",
  18222. "type": "\"auto\" | \"full\"",
  18223. "mutable": false,
  18224. "attr": "width",
  18225. "reflectToAttr": true,
  18226. "docs": "Specifies the width of the component.",
  18227. "docsTags": [],
  18228. "default": "\"auto\"",
  18229. "values": [
  18230. {
  18231. "value": "auto",
  18232. "type": "string"
  18233. },
  18234. {
  18235. "value": "full",
  18236. "type": "string"
  18237. }
  18238. ],
  18239. "optional": false,
  18240. "required": false
  18241. }
  18242. ],
  18243. "methods": [
  18244. {
  18245. "name": "setFocus",
  18246. "returns": {
  18247. "type": "Promise<void>",
  18248. "docs": ""
  18249. },
  18250. "signature": "setFocus() => Promise<void>",
  18251. "parameters": [],
  18252. "docs": "Sets focus on the component.",
  18253. "docsTags": []
  18254. }
  18255. ],
  18256. "events": [
  18257. {
  18258. "event": "calciteRadioGroupChange",
  18259. "detail": "string",
  18260. "bubbles": true,
  18261. "cancelable": false,
  18262. "composed": true,
  18263. "docs": "Fires when the selected option changes, where the event detail is the new value.",
  18264. "docsTags": []
  18265. }
  18266. ],
  18267. "listeners": [
  18268. {
  18269. "event": "calciteInternalRadioGroupItemChange",
  18270. "capture": false,
  18271. "passive": false
  18272. },
  18273. {
  18274. "event": "keydown",
  18275. "capture": false,
  18276. "passive": false
  18277. }
  18278. ],
  18279. "styles": [],
  18280. "slots": [
  18281. {
  18282. "name": "",
  18283. "docs": "A slot for adding `calcite-radio-group-item`s."
  18284. }
  18285. ],
  18286. "parts": [],
  18287. "dependents": [],
  18288. "dependencies": [],
  18289. "dependencyGraph": {}
  18290. },
  18291. {
  18292. "filePath": "./src/components/radio-group-item/radio-group-item.tsx",
  18293. "encapsulation": "shadow",
  18294. "tag": "calcite-radio-group-item",
  18295. "readme": "# calcite-radio-group-item\n",
  18296. "docs": "",
  18297. "docsTags": [],
  18298. "usage": {},
  18299. "props": [
  18300. {
  18301. "name": "checked",
  18302. "type": "boolean",
  18303. "mutable": true,
  18304. "attr": "checked",
  18305. "reflectToAttr": true,
  18306. "docs": "When `true`, the component is checked.",
  18307. "docsTags": [],
  18308. "default": "false",
  18309. "values": [
  18310. {
  18311. "type": "boolean"
  18312. }
  18313. ],
  18314. "optional": false,
  18315. "required": false
  18316. },
  18317. {
  18318. "name": "icon",
  18319. "type": "string",
  18320. "mutable": false,
  18321. "attr": "icon",
  18322. "reflectToAttr": true,
  18323. "docs": "Specifies an icon to display.",
  18324. "docsTags": [
  18325. {
  18326. "name": "deprecated",
  18327. "text": "Use either `iconStart` or `iconEnd` but do not combine them with `icon` and `iconPosition`."
  18328. }
  18329. ],
  18330. "deprecation": "Use either `iconStart` or `iconEnd` but do not combine them with `icon` and `iconPosition`.",
  18331. "values": [
  18332. {
  18333. "type": "string"
  18334. }
  18335. ],
  18336. "optional": true,
  18337. "required": false
  18338. },
  18339. {
  18340. "name": "iconEnd",
  18341. "type": "string",
  18342. "mutable": false,
  18343. "attr": "icon-end",
  18344. "reflectToAttr": true,
  18345. "docs": "Specifies an icon to display at the end of the component.",
  18346. "docsTags": [],
  18347. "values": [
  18348. {
  18349. "type": "string"
  18350. }
  18351. ],
  18352. "optional": true,
  18353. "required": false
  18354. },
  18355. {
  18356. "name": "iconFlipRtl",
  18357. "type": "boolean",
  18358. "mutable": false,
  18359. "attr": "icon-flip-rtl",
  18360. "reflectToAttr": true,
  18361. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  18362. "docsTags": [],
  18363. "default": "false",
  18364. "values": [
  18365. {
  18366. "type": "boolean"
  18367. }
  18368. ],
  18369. "optional": false,
  18370. "required": false
  18371. },
  18372. {
  18373. "name": "iconPosition",
  18374. "type": "\"end\" | \"start\"",
  18375. "mutable": false,
  18376. "attr": "icon-position",
  18377. "reflectToAttr": true,
  18378. "docs": "Specifies the placement of the icon.",
  18379. "docsTags": [
  18380. {
  18381. "name": "deprecated",
  18382. "text": "Use either `iconStart` or `iconEnd` but do not combine them with `icon` and `iconPosition`."
  18383. }
  18384. ],
  18385. "default": "\"start\"",
  18386. "deprecation": "Use either `iconStart` or `iconEnd` but do not combine them with `icon` and `iconPosition`.",
  18387. "values": [
  18388. {
  18389. "value": "end",
  18390. "type": "string"
  18391. },
  18392. {
  18393. "value": "start",
  18394. "type": "string"
  18395. }
  18396. ],
  18397. "optional": true,
  18398. "required": false
  18399. },
  18400. {
  18401. "name": "iconStart",
  18402. "type": "string",
  18403. "mutable": false,
  18404. "attr": "icon-start",
  18405. "reflectToAttr": true,
  18406. "docs": "Specifies an icon to display at the start of the component.",
  18407. "docsTags": [],
  18408. "values": [
  18409. {
  18410. "type": "string"
  18411. }
  18412. ],
  18413. "optional": true,
  18414. "required": false
  18415. },
  18416. {
  18417. "name": "value",
  18418. "type": "any",
  18419. "mutable": true,
  18420. "attr": "value",
  18421. "reflectToAttr": false,
  18422. "docs": "The component's value.",
  18423. "docsTags": [],
  18424. "values": [
  18425. {
  18426. "type": "any"
  18427. }
  18428. ],
  18429. "optional": false,
  18430. "required": false
  18431. }
  18432. ],
  18433. "methods": [],
  18434. "events": [],
  18435. "listeners": [],
  18436. "styles": [],
  18437. "slots": [],
  18438. "parts": [],
  18439. "dependents": [],
  18440. "dependencies": [
  18441. "calcite-icon"
  18442. ],
  18443. "dependencyGraph": {
  18444. "calcite-radio-group-item": [
  18445. "calcite-icon"
  18446. ]
  18447. }
  18448. },
  18449. {
  18450. "filePath": "./src/components/rating/rating.tsx",
  18451. "encapsulation": "shadow",
  18452. "tag": "calcite-rating",
  18453. "readme": "# calcite-rating\n",
  18454. "docs": "",
  18455. "docsTags": [],
  18456. "usage": {
  18457. "Basic": "```html\n<calcite-rating\n show-chip\n scale=\"m\"\n value=\"0\"\n average=\"4.4\"\n count=\"10\"\n intl-rating=\"Rating\"\n intl-stars=\"Rating\"\n></calcite-rating>\n```\n"
  18458. },
  18459. "props": [
  18460. {
  18461. "name": "average",
  18462. "type": "number",
  18463. "mutable": false,
  18464. "attr": "average",
  18465. "reflectToAttr": true,
  18466. "docs": "Specifies a cumulative average from previous ratings to display.",
  18467. "docsTags": [],
  18468. "values": [
  18469. {
  18470. "type": "number"
  18471. }
  18472. ],
  18473. "optional": true,
  18474. "required": false
  18475. },
  18476. {
  18477. "name": "count",
  18478. "type": "number",
  18479. "mutable": false,
  18480. "attr": "count",
  18481. "reflectToAttr": true,
  18482. "docs": "Specifies the number of previous ratings to display.",
  18483. "docsTags": [],
  18484. "values": [
  18485. {
  18486. "type": "number"
  18487. }
  18488. ],
  18489. "optional": true,
  18490. "required": false
  18491. },
  18492. {
  18493. "name": "disabled",
  18494. "type": "boolean",
  18495. "mutable": false,
  18496. "attr": "disabled",
  18497. "reflectToAttr": true,
  18498. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  18499. "docsTags": [],
  18500. "default": "false",
  18501. "values": [
  18502. {
  18503. "type": "boolean"
  18504. }
  18505. ],
  18506. "optional": false,
  18507. "required": false
  18508. },
  18509. {
  18510. "name": "intlRating",
  18511. "type": "string",
  18512. "mutable": false,
  18513. "attr": "intl-rating",
  18514. "reflectToAttr": false,
  18515. "docs": "Accessible name for the component.",
  18516. "docsTags": [
  18517. {
  18518. "name": "default",
  18519. "text": "\"Rating\""
  18520. }
  18521. ],
  18522. "default": "TEXT.rating",
  18523. "values": [
  18524. {
  18525. "type": "string"
  18526. }
  18527. ],
  18528. "optional": true,
  18529. "required": false
  18530. },
  18531. {
  18532. "name": "intlStars",
  18533. "type": "string",
  18534. "mutable": false,
  18535. "attr": "intl-stars",
  18536. "reflectToAttr": false,
  18537. "docs": "Accessible name for each star. The `${num}` in the string will be replaced by the number.",
  18538. "docsTags": [
  18539. {
  18540. "name": "default",
  18541. "text": "\"Stars: ${num}\""
  18542. }
  18543. ],
  18544. "default": "TEXT.stars",
  18545. "values": [
  18546. {
  18547. "type": "string"
  18548. }
  18549. ],
  18550. "optional": true,
  18551. "required": false
  18552. },
  18553. {
  18554. "name": "name",
  18555. "type": "string",
  18556. "mutable": false,
  18557. "attr": "name",
  18558. "reflectToAttr": true,
  18559. "docs": "Specifies the name of the component on form submission.",
  18560. "docsTags": [],
  18561. "values": [
  18562. {
  18563. "type": "string"
  18564. }
  18565. ],
  18566. "optional": false,
  18567. "required": false
  18568. },
  18569. {
  18570. "name": "readOnly",
  18571. "type": "boolean",
  18572. "mutable": false,
  18573. "attr": "read-only",
  18574. "reflectToAttr": true,
  18575. "docs": "When `true`, the component's value can be read, but cannot be modified.",
  18576. "docsTags": [],
  18577. "default": "false",
  18578. "values": [
  18579. {
  18580. "type": "boolean"
  18581. }
  18582. ],
  18583. "optional": false,
  18584. "required": false
  18585. },
  18586. {
  18587. "name": "scale",
  18588. "type": "\"l\" | \"m\" | \"s\"",
  18589. "mutable": false,
  18590. "attr": "scale",
  18591. "reflectToAttr": true,
  18592. "docs": "Specifies the size of the component.",
  18593. "docsTags": [],
  18594. "default": "\"m\"",
  18595. "values": [
  18596. {
  18597. "value": "l",
  18598. "type": "string"
  18599. },
  18600. {
  18601. "value": "m",
  18602. "type": "string"
  18603. },
  18604. {
  18605. "value": "s",
  18606. "type": "string"
  18607. }
  18608. ],
  18609. "optional": false,
  18610. "required": false
  18611. },
  18612. {
  18613. "name": "showChip",
  18614. "type": "boolean",
  18615. "mutable": false,
  18616. "attr": "show-chip",
  18617. "reflectToAttr": true,
  18618. "docs": "When `true`, and if available, displays the `average` and/or `count` data summary in a `calcite-chip`.",
  18619. "docsTags": [],
  18620. "default": "false",
  18621. "values": [
  18622. {
  18623. "type": "boolean"
  18624. }
  18625. ],
  18626. "optional": false,
  18627. "required": false
  18628. },
  18629. {
  18630. "name": "value",
  18631. "type": "number",
  18632. "mutable": true,
  18633. "attr": "value",
  18634. "reflectToAttr": true,
  18635. "docs": "The component's value.",
  18636. "docsTags": [],
  18637. "default": "0",
  18638. "values": [
  18639. {
  18640. "type": "number"
  18641. }
  18642. ],
  18643. "optional": false,
  18644. "required": false
  18645. }
  18646. ],
  18647. "methods": [
  18648. {
  18649. "name": "setFocus",
  18650. "returns": {
  18651. "type": "Promise<void>",
  18652. "docs": ""
  18653. },
  18654. "signature": "setFocus() => Promise<void>",
  18655. "parameters": [],
  18656. "docs": "Sets focus on the component.",
  18657. "docsTags": []
  18658. }
  18659. ],
  18660. "events": [
  18661. {
  18662. "event": "calciteRatingChange",
  18663. "detail": "{ value: number; }",
  18664. "bubbles": true,
  18665. "cancelable": false,
  18666. "composed": true,
  18667. "docs": "Fires when the component's value changes.",
  18668. "docsTags": []
  18669. }
  18670. ],
  18671. "listeners": [
  18672. {
  18673. "event": "blur",
  18674. "capture": false,
  18675. "passive": false
  18676. }
  18677. ],
  18678. "styles": [
  18679. {
  18680. "name": "--calcite-rating-spacing-unit",
  18681. "annotation": "prop",
  18682. "docs": "The amount of left and right margin spacing between each rating star."
  18683. }
  18684. ],
  18685. "slots": [],
  18686. "parts": [],
  18687. "dependents": [],
  18688. "dependencies": [
  18689. "calcite-icon",
  18690. "calcite-chip"
  18691. ],
  18692. "dependencyGraph": {
  18693. "calcite-rating": [
  18694. "calcite-icon",
  18695. "calcite-chip"
  18696. ],
  18697. "calcite-chip": [
  18698. "calcite-icon"
  18699. ]
  18700. }
  18701. },
  18702. {
  18703. "filePath": "./src/components/scrim/scrim.tsx",
  18704. "encapsulation": "shadow",
  18705. "tag": "calcite-scrim",
  18706. "readme": "# calcite-scrim\n",
  18707. "docs": "",
  18708. "docsTags": [
  18709. {
  18710. "name": "slot",
  18711. "text": "- A slot for adding custom content, primarily loading information."
  18712. }
  18713. ],
  18714. "usage": {
  18715. "Basic": "```html\n<div style=\"position: relative; width: 200px; height: 200px; overflow: auto;\">\n <calcite-scrim>\n <p>I'm a panel that is not loading.</p>\n <p>This content can have any zIndex and it will not be placed above</p>\n <p>.</p>\n <p>.</p>\n <p>.</p>\n <p>.</p>\n </calcite-scrim>\n</div>\n```\n",
  18716. "Loading-scrim-panel": "```html\n<div style=\"position: relative; width: 200px; height: 200px; overflow: auto;\">\n <calcite-scrim loading>\n <p>I'm a panel that is not loading.</p>\n <p>I have a loading spinner over my content.</p>\n <p>.</p>\n <p>.</p>\n <p>.</p>\n <p>.</p>\n </calcite-scrim>\n</div>\n```\n"
  18717. },
  18718. "props": [
  18719. {
  18720. "name": "intlLoading",
  18721. "type": "string",
  18722. "mutable": false,
  18723. "attr": "intl-loading",
  18724. "reflectToAttr": false,
  18725. "docs": "Accessible name when the component is loading.",
  18726. "docsTags": [
  18727. {
  18728. "name": "default",
  18729. "text": "\"Loading\""
  18730. }
  18731. ],
  18732. "default": "TEXT.loading",
  18733. "values": [
  18734. {
  18735. "type": "string"
  18736. }
  18737. ],
  18738. "optional": true,
  18739. "required": false
  18740. },
  18741. {
  18742. "name": "loading",
  18743. "type": "boolean",
  18744. "mutable": false,
  18745. "attr": "loading",
  18746. "reflectToAttr": true,
  18747. "docs": "When `true`, a busy indicator is displayed.",
  18748. "docsTags": [],
  18749. "default": "false",
  18750. "values": [
  18751. {
  18752. "type": "boolean"
  18753. }
  18754. ],
  18755. "optional": false,
  18756. "required": false
  18757. }
  18758. ],
  18759. "methods": [],
  18760. "events": [],
  18761. "listeners": [],
  18762. "styles": [],
  18763. "slots": [
  18764. {
  18765. "name": "",
  18766. "docs": "A slot for adding custom content, primarily loading information."
  18767. }
  18768. ],
  18769. "parts": [],
  18770. "dependents": [
  18771. "calcite-block",
  18772. "calcite-modal",
  18773. "calcite-panel",
  18774. "calcite-pick-list",
  18775. "calcite-value-list"
  18776. ],
  18777. "dependencies": [
  18778. "calcite-loader"
  18779. ],
  18780. "dependencyGraph": {
  18781. "calcite-scrim": [
  18782. "calcite-loader"
  18783. ],
  18784. "calcite-block": [
  18785. "calcite-scrim"
  18786. ],
  18787. "calcite-modal": [
  18788. "calcite-scrim"
  18789. ],
  18790. "calcite-panel": [
  18791. "calcite-scrim"
  18792. ],
  18793. "calcite-pick-list": [
  18794. "calcite-scrim"
  18795. ],
  18796. "calcite-value-list": [
  18797. "calcite-scrim"
  18798. ]
  18799. }
  18800. },
  18801. {
  18802. "filePath": "./src/components/select/select.tsx",
  18803. "encapsulation": "shadow",
  18804. "tag": "calcite-select",
  18805. "readme": "# calcite-select\n\nThis component represents a menu of options.\n",
  18806. "docs": "This component represents a menu of options.",
  18807. "docsTags": [
  18808. {
  18809. "name": "slot",
  18810. "text": "- A slot for adding `calcite-option`s."
  18811. }
  18812. ],
  18813. "usage": {
  18814. "Basic": "```html\n<calcite-select>\n <calcite-option>high</calcite-option>\n <calcite-option>medium</calcite-option>\n <calcite-option>low</calcite-option>\n</calcite-select>\n```\n",
  18815. "Content": "Specify the underlying value and content for each option.\n\n```html\n<calcite-select>\n <calcite-option label=\"high\">1</calcite-option>\n <calcite-option label=\"medium\">2</calcite-option>\n <calcite-option label=\"low\">3</calcite-option>\n</calcite-select>\n```\n",
  18816. "Disable": "Disable specific items or groups.\n\n```html\n<calcite-select>\n <calcite-option-group label=\"letters\">\n <calcite-option>a</calcite-option>\n <calcite-option>b</calcite-option>\n <calcite-option>c</calcite-option>\n <calcite-option disabled>d (disabled)</calcite-option>\n </calcite-option-group>\n <calcite-option-group label=\"numbers\">\n <calcite-option disabled>1 (disabled)</calcite-option>\n <calcite-option>2</calcite-option>\n <calcite-option selected>2</calcite-option>\n </calcite-option-group>\n <calcite-option-group label=\"non-selectable\" disabled>\n <calcite-option>You-Know-Who</calcite-option>\n <calcite-option selected>Tom Marvolo Riddle</calcite-option>\n <calcite-option>He-Who-Must-Not-Be-Named</calcite-option>\n <calcite-option>Voldemort</calcite-option>\n </calcite-option-group>\n</calcite-select>\n```\n",
  18817. "Grouped": "Separate the options into groups.\n\n```html\n<calcite-select>\n <calcite-option-group label=\"letters\">\n <calcite-option>a</calcite-option>\n <calcite-option>b</calcite-option>\n <calcite-option>c</calcite-option>\n </calcite-option-group>\n <calcite-option-group label=\"numbers\">\n <calcite-option>1</calcite-option>\n <calcite-option selected>2</calcite-option>\n <calcite-option>3</calcite-option>\n </calcite-option-group>\n</calcite-select>\n```\n",
  18818. "Side-by-side": "Separate the options side by side using a flex-box container.\n\n```html\n<div class=\"demo-side-by-side\">\n <calcite-select width=\"half\" label=\"half width\">\n <calcite-option>☕️</calcite-option>\n <calcite-option>🍵</calcite-option>\n <calcite-option selected>🍻</calcite-option>\n </calcite-select>\n <calcite-select width=\"half\" label=\"half width\">\n <calcite-option selected>🌮</calcite-option>\n <calcite-option>🍔</calcite-option>\n <calcite-option>🌯</calcite-option>\n </calcite-select>\n</div>\n```\n",
  18819. "Value": "Specify the underlying value for each option.\n\n```html\n<calcite-select>\n <calcite-option value=\"high\">😃</calcite-option>\n <calcite-option value=\"medium\">😶</calcite-option>\n <calcite-option value=\"low\">😭</calcite-option>\n</calcite-select>\n```\n"
  18820. },
  18821. "props": [
  18822. {
  18823. "name": "disabled",
  18824. "type": "boolean",
  18825. "mutable": false,
  18826. "attr": "disabled",
  18827. "reflectToAttr": true,
  18828. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  18829. "docsTags": [],
  18830. "default": "false",
  18831. "values": [
  18832. {
  18833. "type": "boolean"
  18834. }
  18835. ],
  18836. "optional": false,
  18837. "required": false
  18838. },
  18839. {
  18840. "name": "label",
  18841. "type": "string",
  18842. "mutable": false,
  18843. "attr": "label",
  18844. "reflectToAttr": false,
  18845. "docs": "Accessible name for the component.",
  18846. "docsTags": [],
  18847. "values": [
  18848. {
  18849. "type": "string"
  18850. }
  18851. ],
  18852. "optional": false,
  18853. "required": true
  18854. },
  18855. {
  18856. "name": "name",
  18857. "type": "string",
  18858. "mutable": false,
  18859. "attr": "name",
  18860. "reflectToAttr": true,
  18861. "docs": "Specifies the name of the component on form submission.",
  18862. "docsTags": [],
  18863. "values": [
  18864. {
  18865. "type": "string"
  18866. }
  18867. ],
  18868. "optional": false,
  18869. "required": false
  18870. },
  18871. {
  18872. "name": "scale",
  18873. "type": "\"l\" | \"m\" | \"s\"",
  18874. "mutable": false,
  18875. "attr": "scale",
  18876. "reflectToAttr": true,
  18877. "docs": "Specifies the size of the component.",
  18878. "docsTags": [],
  18879. "default": "\"m\"",
  18880. "values": [
  18881. {
  18882. "value": "l",
  18883. "type": "string"
  18884. },
  18885. {
  18886. "value": "m",
  18887. "type": "string"
  18888. },
  18889. {
  18890. "value": "s",
  18891. "type": "string"
  18892. }
  18893. ],
  18894. "optional": false,
  18895. "required": false
  18896. },
  18897. {
  18898. "name": "selectedOption",
  18899. "type": "HTMLCalciteOptionElement",
  18900. "mutable": true,
  18901. "reflectToAttr": false,
  18902. "docs": "The component's selected option `HTMLElement`.",
  18903. "docsTags": [
  18904. {
  18905. "name": "readonly"
  18906. }
  18907. ],
  18908. "values": [
  18909. {
  18910. "type": "HTMLCalciteOptionElement"
  18911. }
  18912. ],
  18913. "optional": false,
  18914. "required": false
  18915. },
  18916. {
  18917. "name": "value",
  18918. "type": "string",
  18919. "mutable": true,
  18920. "attr": "value",
  18921. "reflectToAttr": false,
  18922. "docs": "The component's `selectedOption` value.",
  18923. "docsTags": [],
  18924. "default": "null",
  18925. "values": [
  18926. {
  18927. "type": "string"
  18928. }
  18929. ],
  18930. "optional": false,
  18931. "required": false
  18932. },
  18933. {
  18934. "name": "width",
  18935. "type": "\"auto\" | \"full\" | \"half\"",
  18936. "mutable": false,
  18937. "attr": "width",
  18938. "reflectToAttr": true,
  18939. "docs": "Specifies the width of the component.",
  18940. "docsTags": [],
  18941. "default": "\"auto\"",
  18942. "values": [
  18943. {
  18944. "value": "auto",
  18945. "type": "string"
  18946. },
  18947. {
  18948. "value": "full",
  18949. "type": "string"
  18950. },
  18951. {
  18952. "value": "half",
  18953. "type": "string"
  18954. }
  18955. ],
  18956. "optional": false,
  18957. "required": false
  18958. }
  18959. ],
  18960. "methods": [
  18961. {
  18962. "name": "setFocus",
  18963. "returns": {
  18964. "type": "Promise<void>",
  18965. "docs": ""
  18966. },
  18967. "signature": "setFocus() => Promise<void>",
  18968. "parameters": [],
  18969. "docs": "Sets focus on the component.",
  18970. "docsTags": []
  18971. }
  18972. ],
  18973. "events": [
  18974. {
  18975. "event": "calciteSelectChange",
  18976. "detail": "void",
  18977. "bubbles": true,
  18978. "cancelable": false,
  18979. "composed": true,
  18980. "docs": "Fires when the `selectedOption` changes.",
  18981. "docsTags": []
  18982. }
  18983. ],
  18984. "listeners": [
  18985. {
  18986. "event": "calciteInternalOptionChange",
  18987. "capture": false,
  18988. "passive": false
  18989. },
  18990. {
  18991. "event": "calciteInternalOptionGroupChange",
  18992. "capture": false,
  18993. "passive": false
  18994. }
  18995. ],
  18996. "styles": [
  18997. {
  18998. "name": "--calcite-select-font-size",
  18999. "annotation": "prop",
  19000. "docs": "The font size of items in the component."
  19001. },
  19002. {
  19003. "name": "--calcite-select-spacing",
  19004. "annotation": "prop",
  19005. "docs": "The padding around the selected option text."
  19006. }
  19007. ],
  19008. "slots": [
  19009. {
  19010. "name": "",
  19011. "docs": "A slot for adding `calcite-option`s."
  19012. }
  19013. ],
  19014. "parts": [],
  19015. "dependents": [],
  19016. "dependencies": [
  19017. "calcite-icon"
  19018. ],
  19019. "dependencyGraph": {
  19020. "calcite-select": [
  19021. "calcite-icon"
  19022. ]
  19023. }
  19024. },
  19025. {
  19026. "filePath": "./src/components/shell/shell.tsx",
  19027. "encapsulation": "shadow",
  19028. "tag": "calcite-shell",
  19029. "readme": "# calcite-shell\n\nThe `calcite-shell` component is used for application layout management. It is a container for the view as well as other calcite components like `calcite-shell-panel` and `calcite-tip-manager`.\n\n_note: calcite-shell supports tablet as the smallest screen size_\n",
  19030. "docs": "The `calcite-shell` component is used for application layout management. It is a container for the view as well as other calcite components like `calcite-shell-panel` and `calcite-tip-manager`.\n\n_note: calcite-shell supports tablet as the smallest screen size_",
  19031. "docsTags": [
  19032. {
  19033. "name": "slot",
  19034. "text": "- A slot for adding content to the component. This content will appear between any leading and trailing panels added to the component, such as a map."
  19035. },
  19036. {
  19037. "name": "slot",
  19038. "text": "header - A slot for adding header content. This content will be positioned at the top of the component."
  19039. },
  19040. {
  19041. "name": "slot",
  19042. "text": "footer - A slot for adding footer content. This content will be positioned at the bottom of the component."
  19043. },
  19044. {
  19045. "name": "slot",
  19046. "text": "panel-start - A slot for adding the starting `calcite-shell-panel`."
  19047. },
  19048. {
  19049. "name": "slot",
  19050. "text": "panel-end - A slot for adding the ending `calcite-shell-panel`."
  19051. },
  19052. {
  19053. "name": "slot",
  19054. "text": "primary-panel - [DEPRECATED] A slot for adding the leading `calcite-shell-panel`."
  19055. },
  19056. {
  19057. "name": "slot",
  19058. "text": "contextual-panel - [DEPRECATED] A slot for adding the trailing `calcite-shell-panel`."
  19059. },
  19060. {
  19061. "name": "slot",
  19062. "text": "center-row - A slot for adding content to the center row."
  19063. }
  19064. ],
  19065. "usage": {
  19066. "Advanced": "Renders a shell with leading and trailing floating panels, action bar/pad, block, flow, tip manager, footer.\n\n```html\n<calcite-shell>\n <calcite-shell-panel slot=\"panel-start\" position=\"start\" detached>\n <calcite-action-bar slot=\"action-bar\">\n <calcite-action-group>\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" disabled icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" active indicator icon=\"layers\"></calcite-action>\n </calcite-action-group>\n <calcite-action-group>\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Layers\" indicator icon=\"layers\"></calcite-action>\n </calcite-action-group>\n </calcite-action-bar>\n <calcite-block collapsible heading=\"Primary Content\" summary=\"This is the primary.\">\n <calcite-block-content>\n <calcite-action text=\"Puppies\" text-enabled indicator icon=\"plus\"></calcite-action>\n <calcite-action text=\"Kittens\" text-enabled icon=\"save\"></calcite-action>\n <calcite-action text=\"Birds?\" text-enabled icon=\"banana\"></calcite-action>\n </calcite-block-content>\n </calcite-block>\n <calcite-block collapsible heading=\"Additional Block\" summary=\"Baby shark doo doo doo doo.\">\n <calcite-block-content>\n <p>Cool thing.</p>\n </calcite-block-content>\n </calcite-block>\n </calcite-shell-panel>\n\n <calcite-shell-panel slot=\"panel-end\" position=\"end\" detached height-scale=\"l\">\n <calcite-action-bar slot=\"action-bar\">\n <calcite-action-group>\n <calcite-action text=\"Add\" active icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" disabled icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n </calcite-action-group>\n <calcite-action-group>\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" disabled icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n </calcite-action-group>\n <calcite-action slot=\"bottom-actions\" text=\"Tips\" icon=\"lightbulb\"></calcite-action>\n </calcite-action-bar>\n <calcite-flow>\n <calcite-panel heading=\"Layer settings\">\n <calcite-block collapsible open heading=\"Contextual Content\" summary=\"Select goodness\">\n <calcite-value-list multiple filter-enabled>\n <calcite-value-list-item label=\"2018 Population Density (Esri)\" description=\"{POPDENS_CY}\" value=\"POPDENS_CY\">\n <calcite-action slot=\"actions-end\" icon=\"camera-flash-on\"></calcite-action>\n </calcite-value-list-item>\n <calcite-value-list-item label=\"2018 Population Density [Updated]\" description=\"{POPDENS_CY}\" value=\"POPDENS_CY2\">\n <calcite-action slot=\"actions-end\" icon=\"banana\"></calcite-action>\n </calcite-value-list-item>\n <calcite-value-list-item label=\"2018 Total Households (Esri)\" description=\"{TOTHH_CY}\" value=\"TOTHH_CY\">\n <calcite-action slot=\"actions-end\" icon=\"person2\"></calcite-action>\n </calcite-value-list-item>\n </calcite-value-list>\n </calcite-block>\n </calcite-panel>\n </calcite-flow>\n </calcite-shell-panel>\n <calcite-tip-manager slot=\"center-row\">\n <calcite-tip heading=\"The Red Rocks and Blue Water\" thumbnail=\"https://placeimg.com/1000/600\" text-thumbnail=\"This is an image of nature.\">\n <calcite-tip heading=\"The Long Trees\" thumbnail=\"https://placeimg.com/1000/600\" text-thumbnail=\"This is an image of trees.\">\n </calcite-tip-manager>\n <footer slot=\"footer\">Footer</footer>\n</calcite-shell>\n```\n",
  19067. "Basic": "Renders a basic shell with a header and a footer.\n\n```html\n<calcite-shell>\n <div slot=\"header\">\n <header>\n <h2>Shell Header: My App</h2>\n </header>\n </div>\n <p>Shell Content</p>\n <!-- insert map or fillable content here -->\n <footer slot=\"footer\">Footer</footer>\n</calcite-shell>\n```\n",
  19068. "With-panel-and-action-bar": "Renders a single panel with actions in an action bar.\n\n```html\n<calcite-shell>\n <calcite-shell-panel slot=\"panel-start\" position=\"start\">\n <img src=\"https://via.placeholder.com/300x200\" alt=\"placeholder\" />\n <calcite-action-bar slot=\"action-bar\">\n <calcite-action text=\"Add\" active icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" disabled icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n </calcite-action-bar>\n </calcite-shell-panel>\n</calcite-shell>\n```\n",
  19069. "With-panels": "Renders a shell with a header and panels on the left and right sides of the app.\n\n```html\n<calcite-shell>\n <calcite-shell-panel slot=\"panel-start\" position=\"start\">\n Leading panel! (on the left side, since this is a LTR app)\n </calcite-shell-panel>\n <calcite-shell-panel slot=\"panel-end\" position=\"end\"> Trailing panel! (right side) </calcite-shell-panel>\n <calcite-shell-center-row slot=\"center-row\" position=\"end\" height-scale=\"m\">\n Center Row! (center bottom)\n </calcite-shell-center-row>\n <div slot=\"header\">\n <header>\n <h2>Shell Header: My App</h2>\n </header>\n </div>\n <p>Shell Content</p>\n <!-- insert map or fillable content here -->\n</calcite-shell>\n```\n"
  19070. },
  19071. "props": [
  19072. {
  19073. "name": "contentBehind",
  19074. "type": "boolean",
  19075. "mutable": false,
  19076. "attr": "content-behind",
  19077. "reflectToAttr": true,
  19078. "docs": "Positions the center content behind any `calcite-shell-panel`s.",
  19079. "docsTags": [],
  19080. "default": "false",
  19081. "values": [
  19082. {
  19083. "type": "boolean"
  19084. }
  19085. ],
  19086. "optional": false,
  19087. "required": false
  19088. }
  19089. ],
  19090. "methods": [],
  19091. "events": [],
  19092. "listeners": [],
  19093. "styles": [
  19094. {
  19095. "name": "--calcite-shell-tip-spacing",
  19096. "annotation": "prop",
  19097. "docs": "The left and right spacing of the `calcite-tip-manager` when slotted in the component."
  19098. }
  19099. ],
  19100. "slots": [
  19101. {
  19102. "name": "",
  19103. "docs": "A slot for adding content to the component. This content will appear between any leading and trailing panels added to the component, such as a map."
  19104. },
  19105. {
  19106. "name": "center-row",
  19107. "docs": "A slot for adding content to the center row."
  19108. },
  19109. {
  19110. "name": "contextual-panel",
  19111. "docs": "[DEPRECATED] A slot for adding the trailing `calcite-shell-panel`."
  19112. },
  19113. {
  19114. "name": "footer",
  19115. "docs": "A slot for adding footer content. This content will be positioned at the bottom of the component."
  19116. },
  19117. {
  19118. "name": "header",
  19119. "docs": "A slot for adding header content. This content will be positioned at the top of the component."
  19120. },
  19121. {
  19122. "name": "panel-end",
  19123. "docs": "A slot for adding the ending `calcite-shell-panel`."
  19124. },
  19125. {
  19126. "name": "panel-start",
  19127. "docs": "A slot for adding the starting `calcite-shell-panel`."
  19128. },
  19129. {
  19130. "name": "primary-panel",
  19131. "docs": "[DEPRECATED] A slot for adding the leading `calcite-shell-panel`."
  19132. }
  19133. ],
  19134. "parts": [],
  19135. "dependents": [],
  19136. "dependencies": [],
  19137. "dependencyGraph": {}
  19138. },
  19139. {
  19140. "filePath": "./src/components/shell-center-row/shell-center-row.tsx",
  19141. "encapsulation": "shadow",
  19142. "tag": "calcite-shell-center-row",
  19143. "readme": "# calcite-shell-center-row\n",
  19144. "docs": "",
  19145. "docsTags": [
  19146. {
  19147. "name": "slot",
  19148. "text": "- A slot for adding content to the `calcite-shell-panel`."
  19149. },
  19150. {
  19151. "name": "slot",
  19152. "text": "action-bar - A slot for adding a `calcite-action-bar` to the `calcite-shell-panel`."
  19153. }
  19154. ],
  19155. "usage": {},
  19156. "props": [
  19157. {
  19158. "name": "detached",
  19159. "type": "boolean",
  19160. "mutable": false,
  19161. "attr": "detached",
  19162. "reflectToAttr": true,
  19163. "docs": "When `true`, the content area displays like a floating panel.",
  19164. "docsTags": [],
  19165. "default": "false",
  19166. "values": [
  19167. {
  19168. "type": "boolean"
  19169. }
  19170. ],
  19171. "optional": false,
  19172. "required": false
  19173. },
  19174. {
  19175. "name": "heightScale",
  19176. "type": "\"l\" | \"m\" | \"s\"",
  19177. "mutable": false,
  19178. "attr": "height-scale",
  19179. "reflectToAttr": true,
  19180. "docs": "Specifies the maximum height of the component.",
  19181. "docsTags": [],
  19182. "default": "\"s\"",
  19183. "values": [
  19184. {
  19185. "value": "l",
  19186. "type": "string"
  19187. },
  19188. {
  19189. "value": "m",
  19190. "type": "string"
  19191. },
  19192. {
  19193. "value": "s",
  19194. "type": "string"
  19195. }
  19196. ],
  19197. "optional": false,
  19198. "required": false
  19199. },
  19200. {
  19201. "name": "position",
  19202. "type": "\"end\" | \"start\"",
  19203. "mutable": false,
  19204. "attr": "position",
  19205. "reflectToAttr": true,
  19206. "docs": "Specifies the component's position. Will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  19207. "docsTags": [],
  19208. "default": "\"end\"",
  19209. "values": [
  19210. {
  19211. "value": "end",
  19212. "type": "string"
  19213. },
  19214. {
  19215. "value": "start",
  19216. "type": "string"
  19217. }
  19218. ],
  19219. "optional": false,
  19220. "required": false
  19221. }
  19222. ],
  19223. "methods": [],
  19224. "events": [],
  19225. "listeners": [],
  19226. "styles": [],
  19227. "slots": [
  19228. {
  19229. "name": "",
  19230. "docs": "A slot for adding content to the `calcite-shell-panel`."
  19231. },
  19232. {
  19233. "name": "action-bar",
  19234. "docs": "A slot for adding a `calcite-action-bar` to the `calcite-shell-panel`."
  19235. }
  19236. ],
  19237. "parts": [],
  19238. "dependents": [],
  19239. "dependencies": [],
  19240. "dependencyGraph": {}
  19241. },
  19242. {
  19243. "filePath": "./src/components/shell-panel/shell-panel.tsx",
  19244. "encapsulation": "shadow",
  19245. "tag": "calcite-shell-panel",
  19246. "readme": "# calcite-shell-panel\n\nThe `calcite-shell-panel` is a child component of `calcite-shell` used as a container to display other components like `calcite-block` and `calcite-flow`.\n",
  19247. "docs": "The `calcite-shell-panel` is a child component of `calcite-shell` used as a container to display other components like `calcite-block` and `calcite-flow`.",
  19248. "docsTags": [
  19249. {
  19250. "name": "slot",
  19251. "text": "- A slot for adding content to the component."
  19252. },
  19253. {
  19254. "name": "slot",
  19255. "text": "action-bar - A slot for adding a `calcite-action-bar` to the component."
  19256. }
  19257. ],
  19258. "usage": {
  19259. "Basic": "Renders a basic shell panel with text content.\n\n```html\n<calcite-shell-panel>\n <p>Primary Content</p>\n</calcite-shell-panel>\n```\n",
  19260. "With-action-bar": "Renders a panel with an action bar.\n\n```html\n<calcite-shell-panel>\n <calcite-action-bar slot=\"action-bar\">\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n </calcite-action-bar>\n</calcite-shell-panel>\n```\n",
  19261. "With-custom-element": "Add `calcite-match-height` to a wrapping element to ensure proper height, scrolling, and sticky behavior (header, footer, fab). Note that multiple levels of nesting is not supported.\n\n```html\n<calcite-shell-panel>\n <calcite-action-bar slot=\"action-bar\">\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n </calcite-action-bar>\n <your-custom-element class=\"calcite-match-height\">\n <calcite-panel> ... </calcite-panel>\n </your-custom-element>\n</calcite-shell-panel>\n```\n",
  19262. "With-flow": "```html\n<calcite-shell-panel>\n <calcite-action-bar slot=\"action-bar\">\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n </calcite-action-bar>\n <calcite-flow>\n <calcite-panel> ... </calcite-panel>\n <calcite-panel> ... </calcite-panel>\n </calcite-flow>\n</calcite-shell-panel>\n```\n",
  19263. "With-panel": "```html\n<calcite-shell-panel>\n <calcite-action-bar slot=\"action-bar\">\n <calcite-action text=\"Add\" icon=\"plus\"></calcite-action>\n <calcite-action text=\"Save\" icon=\"save\"></calcite-action>\n <calcite-action text=\"Layers\" icon=\"layers\"></calcite-action>\n </calcite-action-bar>\n <calcite-panel> ... </calcite-panel>\n</calcite-shell-panel>\n```\n"
  19264. },
  19265. "props": [
  19266. {
  19267. "name": "collapsed",
  19268. "type": "boolean",
  19269. "mutable": false,
  19270. "attr": "collapsed",
  19271. "reflectToAttr": true,
  19272. "docs": "When `true`, hides the component's content area.",
  19273. "docsTags": [],
  19274. "default": "false",
  19275. "values": [
  19276. {
  19277. "type": "boolean"
  19278. }
  19279. ],
  19280. "optional": false,
  19281. "required": false
  19282. },
  19283. {
  19284. "name": "detached",
  19285. "type": "boolean",
  19286. "mutable": false,
  19287. "attr": "detached",
  19288. "reflectToAttr": true,
  19289. "docs": "When `true`, the content area displays like a floating panel.",
  19290. "docsTags": [],
  19291. "default": "false",
  19292. "values": [
  19293. {
  19294. "type": "boolean"
  19295. }
  19296. ],
  19297. "optional": false,
  19298. "required": false
  19299. },
  19300. {
  19301. "name": "detachedHeightScale",
  19302. "type": "\"l\" | \"m\" | \"s\"",
  19303. "mutable": false,
  19304. "attr": "detached-height-scale",
  19305. "reflectToAttr": true,
  19306. "docs": "When `detached`, specifies the maximum height of the component.",
  19307. "docsTags": [],
  19308. "default": "\"l\"",
  19309. "values": [
  19310. {
  19311. "value": "l",
  19312. "type": "string"
  19313. },
  19314. {
  19315. "value": "m",
  19316. "type": "string"
  19317. },
  19318. {
  19319. "value": "s",
  19320. "type": "string"
  19321. }
  19322. ],
  19323. "optional": false,
  19324. "required": false
  19325. },
  19326. {
  19327. "name": "intlResize",
  19328. "type": "string",
  19329. "mutable": false,
  19330. "attr": "intl-resize",
  19331. "reflectToAttr": false,
  19332. "docs": "Accessible name for the resize separator.",
  19333. "docsTags": [
  19334. {
  19335. "name": "default",
  19336. "text": "\"Resize\""
  19337. }
  19338. ],
  19339. "default": "TEXT.resize",
  19340. "values": [
  19341. {
  19342. "type": "string"
  19343. }
  19344. ],
  19345. "optional": false,
  19346. "required": false
  19347. },
  19348. {
  19349. "name": "position",
  19350. "type": "\"end\" | \"start\"",
  19351. "mutable": false,
  19352. "attr": "position",
  19353. "reflectToAttr": true,
  19354. "docs": "Specifies the component's position. Will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  19355. "docsTags": [],
  19356. "values": [
  19357. {
  19358. "value": "end",
  19359. "type": "string"
  19360. },
  19361. {
  19362. "value": "start",
  19363. "type": "string"
  19364. }
  19365. ],
  19366. "optional": false,
  19367. "required": false
  19368. },
  19369. {
  19370. "name": "resizable",
  19371. "type": "boolean",
  19372. "mutable": false,
  19373. "attr": "resizable",
  19374. "reflectToAttr": true,
  19375. "docs": "When `true` and not `detached`, the component's content area is resizable.",
  19376. "docsTags": [],
  19377. "default": "false",
  19378. "values": [
  19379. {
  19380. "type": "boolean"
  19381. }
  19382. ],
  19383. "optional": false,
  19384. "required": false
  19385. },
  19386. {
  19387. "name": "widthScale",
  19388. "type": "\"l\" | \"m\" | \"s\"",
  19389. "mutable": false,
  19390. "attr": "width-scale",
  19391. "reflectToAttr": true,
  19392. "docs": "Specifies the width of the component's content area.",
  19393. "docsTags": [],
  19394. "default": "\"m\"",
  19395. "values": [
  19396. {
  19397. "value": "l",
  19398. "type": "string"
  19399. },
  19400. {
  19401. "value": "m",
  19402. "type": "string"
  19403. },
  19404. {
  19405. "value": "s",
  19406. "type": "string"
  19407. }
  19408. ],
  19409. "optional": false,
  19410. "required": false
  19411. }
  19412. ],
  19413. "methods": [],
  19414. "events": [
  19415. {
  19416. "event": "calciteShellPanelToggle",
  19417. "detail": "void",
  19418. "bubbles": true,
  19419. "cancelable": false,
  19420. "composed": true,
  19421. "docs": "Emitted when collapse has been toggled.",
  19422. "docsTags": [
  19423. {
  19424. "name": "deprecated",
  19425. "text": "use a `ResizeObserver` on the component to listen for changes to its size."
  19426. }
  19427. ],
  19428. "deprecation": "use a `ResizeObserver` on the component to listen for changes to its size."
  19429. }
  19430. ],
  19431. "listeners": [],
  19432. "styles": [],
  19433. "slots": [
  19434. {
  19435. "name": "",
  19436. "docs": "A slot for adding content to the component."
  19437. },
  19438. {
  19439. "name": "action-bar",
  19440. "docs": "A slot for adding a `calcite-action-bar` to the component."
  19441. }
  19442. ],
  19443. "parts": [],
  19444. "dependents": [],
  19445. "dependencies": [],
  19446. "dependencyGraph": {}
  19447. },
  19448. {
  19449. "filePath": "./src/components/slider/slider.tsx",
  19450. "encapsulation": "shadow",
  19451. "tag": "calcite-slider",
  19452. "readme": "# calcite-slider\n\nRange selection component for selecting single or multiple numeric values inside a given range.\n",
  19453. "docs": "Range selection component for selecting single or multiple numeric values inside a given range.",
  19454. "docsTags": [],
  19455. "usage": {
  19456. "Basic": "```html\n<calcite-slider min=\"1\" max=\"100\" value=\"50\" step=\"1\"></calcite-slider>\n```\n",
  19457. "Two-handles": "If you'd like to allow an upper and lower value selection (two handles), you can set `min-value` and `max-value` rather than `value`. Note: these are mutually exclusive.\n\n```html\n<calcite-slider\n min=\"1\"\n max=\"100\"\n min-value=\"50\"\n max-value=\"85\"\n step=\"1\"\n min-label=\"Temperature (lower)\"\n max-label=\"Temperature (upper)\"\n></calcite-slider>\n```\n"
  19458. },
  19459. "props": [
  19460. {
  19461. "name": "disabled",
  19462. "type": "boolean",
  19463. "mutable": false,
  19464. "attr": "disabled",
  19465. "reflectToAttr": true,
  19466. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  19467. "docsTags": [],
  19468. "default": "false",
  19469. "values": [
  19470. {
  19471. "type": "boolean"
  19472. }
  19473. ],
  19474. "optional": false,
  19475. "required": false
  19476. },
  19477. {
  19478. "name": "groupSeparator",
  19479. "type": "boolean",
  19480. "mutable": false,
  19481. "attr": "group-separator",
  19482. "reflectToAttr": true,
  19483. "docs": "When `true`, number values are displayed with a group separator corresponding to the language and country format.",
  19484. "docsTags": [],
  19485. "default": "false",
  19486. "values": [
  19487. {
  19488. "type": "boolean"
  19489. }
  19490. ],
  19491. "optional": false,
  19492. "required": false
  19493. },
  19494. {
  19495. "name": "hasHistogram",
  19496. "type": "boolean",
  19497. "mutable": true,
  19498. "attr": "has-histogram",
  19499. "reflectToAttr": true,
  19500. "docs": "When `true`, indicates a histogram is present.",
  19501. "docsTags": [],
  19502. "default": "false",
  19503. "values": [
  19504. {
  19505. "type": "boolean"
  19506. }
  19507. ],
  19508. "optional": false,
  19509. "required": false
  19510. },
  19511. {
  19512. "name": "histogram",
  19513. "type": "Point[]",
  19514. "mutable": false,
  19515. "reflectToAttr": false,
  19516. "docs": "A list of the histogram's x,y coordinates within the component's `min` and `max`. Displays above the component's track.",
  19517. "docsTags": [
  19518. {
  19519. "name": "see",
  19520. "text": "[DataSeries](https://github.com/Esri/calcite-components/blob/master/src/components/graph/interfaces.ts#L5)"
  19521. }
  19522. ],
  19523. "values": [
  19524. {
  19525. "type": "Point[]"
  19526. }
  19527. ],
  19528. "optional": true,
  19529. "required": false
  19530. },
  19531. {
  19532. "name": "histogramStops",
  19533. "type": "ColorStop[]",
  19534. "mutable": false,
  19535. "reflectToAttr": false,
  19536. "docs": "A set of single color stops for a histogram, sorted by offset ascending.",
  19537. "docsTags": [],
  19538. "values": [
  19539. {
  19540. "type": "ColorStop[]"
  19541. }
  19542. ],
  19543. "optional": false,
  19544. "required": false
  19545. },
  19546. {
  19547. "name": "labelHandles",
  19548. "type": "boolean",
  19549. "mutable": false,
  19550. "attr": "label-handles",
  19551. "reflectToAttr": true,
  19552. "docs": "When `true`, displays label handles with their numeric value.",
  19553. "docsTags": [],
  19554. "default": "false",
  19555. "values": [
  19556. {
  19557. "type": "boolean"
  19558. }
  19559. ],
  19560. "optional": false,
  19561. "required": false
  19562. },
  19563. {
  19564. "name": "labelTicks",
  19565. "type": "boolean",
  19566. "mutable": false,
  19567. "attr": "label-ticks",
  19568. "reflectToAttr": true,
  19569. "docs": "When `true` and `ticks` is specified, displays label tick marks with their numeric value.",
  19570. "docsTags": [],
  19571. "default": "false",
  19572. "values": [
  19573. {
  19574. "type": "boolean"
  19575. }
  19576. ],
  19577. "optional": false,
  19578. "required": false
  19579. },
  19580. {
  19581. "name": "max",
  19582. "type": "number",
  19583. "mutable": false,
  19584. "attr": "max",
  19585. "reflectToAttr": true,
  19586. "docs": "The component's maximum selectable value.",
  19587. "docsTags": [],
  19588. "default": "100",
  19589. "values": [
  19590. {
  19591. "type": "number"
  19592. }
  19593. ],
  19594. "optional": false,
  19595. "required": false
  19596. },
  19597. {
  19598. "name": "maxLabel",
  19599. "type": "string",
  19600. "mutable": false,
  19601. "attr": "max-label",
  19602. "reflectToAttr": false,
  19603. "docs": "For multiple selections, the accessible name for the second handle, such as `\"Temperature, upper bound\"`.",
  19604. "docsTags": [],
  19605. "values": [
  19606. {
  19607. "type": "string"
  19608. }
  19609. ],
  19610. "optional": true,
  19611. "required": false
  19612. },
  19613. {
  19614. "name": "maxValue",
  19615. "type": "number",
  19616. "mutable": true,
  19617. "attr": "max-value",
  19618. "reflectToAttr": false,
  19619. "docs": "For multiple selections, the component's upper value.",
  19620. "docsTags": [],
  19621. "values": [
  19622. {
  19623. "type": "number"
  19624. }
  19625. ],
  19626. "optional": true,
  19627. "required": false
  19628. },
  19629. {
  19630. "name": "min",
  19631. "type": "number",
  19632. "mutable": false,
  19633. "attr": "min",
  19634. "reflectToAttr": true,
  19635. "docs": "The component's minimum selectable value.",
  19636. "docsTags": [],
  19637. "default": "0",
  19638. "values": [
  19639. {
  19640. "type": "number"
  19641. }
  19642. ],
  19643. "optional": false,
  19644. "required": false
  19645. },
  19646. {
  19647. "name": "minLabel",
  19648. "type": "string",
  19649. "mutable": false,
  19650. "attr": "min-label",
  19651. "reflectToAttr": false,
  19652. "docs": "Accessible name for first (or only) handle, such as `\"Temperature, lower bound\"`.",
  19653. "docsTags": [],
  19654. "values": [
  19655. {
  19656. "type": "string"
  19657. }
  19658. ],
  19659. "optional": false,
  19660. "required": false
  19661. },
  19662. {
  19663. "name": "minValue",
  19664. "type": "number",
  19665. "mutable": true,
  19666. "attr": "min-value",
  19667. "reflectToAttr": false,
  19668. "docs": "For multiple selections, the component's lower value.",
  19669. "docsTags": [],
  19670. "values": [
  19671. {
  19672. "type": "number"
  19673. }
  19674. ],
  19675. "optional": true,
  19676. "required": false
  19677. },
  19678. {
  19679. "name": "mirrored",
  19680. "type": "boolean",
  19681. "mutable": false,
  19682. "attr": "mirrored",
  19683. "reflectToAttr": true,
  19684. "docs": "When `true`, the slider will display values from high to low.\n\nNote that this value will be ignored if the slider has an associated histogram.",
  19685. "docsTags": [],
  19686. "default": "false",
  19687. "values": [
  19688. {
  19689. "type": "boolean"
  19690. }
  19691. ],
  19692. "optional": false,
  19693. "required": false
  19694. },
  19695. {
  19696. "name": "name",
  19697. "type": "string",
  19698. "mutable": false,
  19699. "attr": "name",
  19700. "reflectToAttr": true,
  19701. "docs": "Specifies the name of the component on form submission.",
  19702. "docsTags": [],
  19703. "values": [
  19704. {
  19705. "type": "string"
  19706. }
  19707. ],
  19708. "optional": false,
  19709. "required": false
  19710. },
  19711. {
  19712. "name": "numberingSystem",
  19713. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  19714. "mutable": false,
  19715. "attr": "numbering-system",
  19716. "reflectToAttr": false,
  19717. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  19718. "docsTags": [],
  19719. "values": [
  19720. {
  19721. "value": "arab",
  19722. "type": "string"
  19723. },
  19724. {
  19725. "value": "arabext",
  19726. "type": "string"
  19727. },
  19728. {
  19729. "value": "bali",
  19730. "type": "string"
  19731. },
  19732. {
  19733. "value": "beng",
  19734. "type": "string"
  19735. },
  19736. {
  19737. "value": "deva",
  19738. "type": "string"
  19739. },
  19740. {
  19741. "value": "fullwide",
  19742. "type": "string"
  19743. },
  19744. {
  19745. "value": "gujr",
  19746. "type": "string"
  19747. },
  19748. {
  19749. "value": "guru",
  19750. "type": "string"
  19751. },
  19752. {
  19753. "value": "hanidec",
  19754. "type": "string"
  19755. },
  19756. {
  19757. "value": "khmr",
  19758. "type": "string"
  19759. },
  19760. {
  19761. "value": "knda",
  19762. "type": "string"
  19763. },
  19764. {
  19765. "value": "laoo",
  19766. "type": "string"
  19767. },
  19768. {
  19769. "value": "latn",
  19770. "type": "string"
  19771. },
  19772. {
  19773. "value": "limb",
  19774. "type": "string"
  19775. },
  19776. {
  19777. "value": "mlym",
  19778. "type": "string"
  19779. },
  19780. {
  19781. "value": "mong",
  19782. "type": "string"
  19783. },
  19784. {
  19785. "value": "mymr",
  19786. "type": "string"
  19787. },
  19788. {
  19789. "value": "orya",
  19790. "type": "string"
  19791. },
  19792. {
  19793. "value": "tamldec",
  19794. "type": "string"
  19795. },
  19796. {
  19797. "value": "telu",
  19798. "type": "string"
  19799. },
  19800. {
  19801. "value": "thai",
  19802. "type": "string"
  19803. },
  19804. {
  19805. "value": "tibt",
  19806. "type": "string"
  19807. }
  19808. ],
  19809. "optional": true,
  19810. "required": false
  19811. },
  19812. {
  19813. "name": "pageStep",
  19814. "type": "number",
  19815. "mutable": false,
  19816. "attr": "page-step",
  19817. "reflectToAttr": true,
  19818. "docs": "Specifies the interval to move with the page up, or page down keys.",
  19819. "docsTags": [],
  19820. "values": [
  19821. {
  19822. "type": "number"
  19823. }
  19824. ],
  19825. "optional": true,
  19826. "required": false
  19827. },
  19828. {
  19829. "name": "precise",
  19830. "type": "boolean",
  19831. "mutable": false,
  19832. "attr": "precise",
  19833. "reflectToAttr": true,
  19834. "docs": "When `true`, sets a finer point for handles.",
  19835. "docsTags": [],
  19836. "default": "false",
  19837. "values": [
  19838. {
  19839. "type": "boolean"
  19840. }
  19841. ],
  19842. "optional": false,
  19843. "required": false
  19844. },
  19845. {
  19846. "name": "required",
  19847. "type": "boolean",
  19848. "mutable": false,
  19849. "attr": "required",
  19850. "reflectToAttr": true,
  19851. "docs": "When `true`, the component must have a value in order for the form to submit.",
  19852. "docsTags": [],
  19853. "default": "false",
  19854. "values": [
  19855. {
  19856. "type": "boolean"
  19857. }
  19858. ],
  19859. "optional": false,
  19860. "required": false
  19861. },
  19862. {
  19863. "name": "scale",
  19864. "type": "\"l\" | \"m\" | \"s\"",
  19865. "mutable": false,
  19866. "attr": "scale",
  19867. "reflectToAttr": true,
  19868. "docs": "Specifies the size of the component.",
  19869. "docsTags": [],
  19870. "default": "\"m\"",
  19871. "values": [
  19872. {
  19873. "value": "l",
  19874. "type": "string"
  19875. },
  19876. {
  19877. "value": "m",
  19878. "type": "string"
  19879. },
  19880. {
  19881. "value": "s",
  19882. "type": "string"
  19883. }
  19884. ],
  19885. "optional": false,
  19886. "required": false
  19887. },
  19888. {
  19889. "name": "snap",
  19890. "type": "boolean",
  19891. "mutable": false,
  19892. "attr": "snap",
  19893. "reflectToAttr": true,
  19894. "docs": "When `true`, enables snap selection in coordination with `step` via a mouse.",
  19895. "docsTags": [],
  19896. "default": "false",
  19897. "values": [
  19898. {
  19899. "type": "boolean"
  19900. }
  19901. ],
  19902. "optional": false,
  19903. "required": false
  19904. },
  19905. {
  19906. "name": "step",
  19907. "type": "number",
  19908. "mutable": false,
  19909. "attr": "step",
  19910. "reflectToAttr": true,
  19911. "docs": "Specifies the interval to move with the up, or down keys.",
  19912. "docsTags": [],
  19913. "default": "1",
  19914. "values": [
  19915. {
  19916. "type": "number"
  19917. }
  19918. ],
  19919. "optional": true,
  19920. "required": false
  19921. },
  19922. {
  19923. "name": "ticks",
  19924. "type": "number",
  19925. "mutable": false,
  19926. "attr": "ticks",
  19927. "reflectToAttr": true,
  19928. "docs": "Displays tick marks on the number line at a specified interval.",
  19929. "docsTags": [],
  19930. "values": [
  19931. {
  19932. "type": "number"
  19933. }
  19934. ],
  19935. "optional": true,
  19936. "required": false
  19937. },
  19938. {
  19939. "name": "value",
  19940. "type": "number | number[]",
  19941. "mutable": true,
  19942. "attr": "value",
  19943. "reflectToAttr": true,
  19944. "docs": "The component's value.",
  19945. "docsTags": [],
  19946. "default": "0",
  19947. "values": [
  19948. {
  19949. "type": "number"
  19950. },
  19951. {
  19952. "type": "number[]"
  19953. }
  19954. ],
  19955. "optional": false,
  19956. "required": false
  19957. }
  19958. ],
  19959. "methods": [
  19960. {
  19961. "name": "setFocus",
  19962. "returns": {
  19963. "type": "Promise<void>",
  19964. "docs": ""
  19965. },
  19966. "signature": "setFocus() => Promise<void>",
  19967. "parameters": [],
  19968. "docs": "Sets focus on the component.",
  19969. "docsTags": []
  19970. }
  19971. ],
  19972. "events": [
  19973. {
  19974. "event": "calciteSliderChange",
  19975. "detail": "void",
  19976. "bubbles": true,
  19977. "cancelable": false,
  19978. "composed": true,
  19979. "docs": "Fires when the thumb is released on the component.\n\n**Note:** If you need to constantly listen to the drag event,\nuse `calciteSliderInput` instead.",
  19980. "docsTags": []
  19981. },
  19982. {
  19983. "event": "calciteSliderInput",
  19984. "detail": "void",
  19985. "bubbles": true,
  19986. "cancelable": false,
  19987. "composed": true,
  19988. "docs": "Fires on all updates to the component.\n\n**Note:** Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread.",
  19989. "docsTags": []
  19990. },
  19991. {
  19992. "event": "calciteSliderUpdate",
  19993. "detail": "void",
  19994. "bubbles": true,
  19995. "cancelable": false,
  19996. "composed": true,
  19997. "docs": "Fires on all updates to the component.\n\n**Note:** Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread.",
  19998. "docsTags": [
  19999. {
  20000. "name": "deprecated",
  20001. "text": "use `calciteSliderInput` instead."
  20002. }
  20003. ],
  20004. "deprecation": "use `calciteSliderInput` instead."
  20005. }
  20006. ],
  20007. "listeners": [
  20008. {
  20009. "event": "keydown",
  20010. "capture": false,
  20011. "passive": false
  20012. },
  20013. {
  20014. "event": "pointerdown",
  20015. "capture": false,
  20016. "passive": true
  20017. }
  20018. ],
  20019. "styles": [],
  20020. "slots": [],
  20021. "parts": [],
  20022. "dependents": [],
  20023. "dependencies": [
  20024. "calcite-graph"
  20025. ],
  20026. "dependencyGraph": {
  20027. "calcite-slider": [
  20028. "calcite-graph"
  20029. ]
  20030. }
  20031. },
  20032. {
  20033. "filePath": "./src/components/sortable-list/sortable-list.tsx",
  20034. "encapsulation": "shadow",
  20035. "tag": "calcite-sortable-list",
  20036. "readme": "# calcite-sortable-list\n",
  20037. "docs": "",
  20038. "docsTags": [
  20039. {
  20040. "name": "slot",
  20041. "text": "- A slot for adding sortable items."
  20042. }
  20043. ],
  20044. "usage": {},
  20045. "props": [
  20046. {
  20047. "name": "disabled",
  20048. "type": "boolean",
  20049. "mutable": false,
  20050. "attr": "disabled",
  20051. "reflectToAttr": true,
  20052. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  20053. "docsTags": [],
  20054. "default": "false",
  20055. "values": [
  20056. {
  20057. "type": "boolean"
  20058. }
  20059. ],
  20060. "optional": false,
  20061. "required": false
  20062. },
  20063. {
  20064. "name": "dragSelector",
  20065. "type": "string",
  20066. "mutable": false,
  20067. "attr": "drag-selector",
  20068. "reflectToAttr": true,
  20069. "docs": "Specifies which items inside the element should be draggable.",
  20070. "docsTags": [],
  20071. "values": [
  20072. {
  20073. "type": "string"
  20074. }
  20075. ],
  20076. "optional": true,
  20077. "required": false
  20078. },
  20079. {
  20080. "name": "group",
  20081. "type": "string",
  20082. "mutable": false,
  20083. "attr": "group",
  20084. "reflectToAttr": true,
  20085. "docs": "The list's group identifier.\n\nTo drag elements from one list into another, both lists must have the same group value.",
  20086. "docsTags": [],
  20087. "values": [
  20088. {
  20089. "type": "string"
  20090. }
  20091. ],
  20092. "optional": true,
  20093. "required": false
  20094. },
  20095. {
  20096. "name": "handleSelector",
  20097. "type": "string",
  20098. "mutable": false,
  20099. "attr": "handle-selector",
  20100. "reflectToAttr": true,
  20101. "docs": "The selector for the handle elements.",
  20102. "docsTags": [],
  20103. "default": "\"calcite-handle\"",
  20104. "values": [
  20105. {
  20106. "type": "string"
  20107. }
  20108. ],
  20109. "optional": false,
  20110. "required": false
  20111. },
  20112. {
  20113. "name": "layout",
  20114. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  20115. "mutable": false,
  20116. "attr": "layout",
  20117. "reflectToAttr": true,
  20118. "docs": "Indicates the horizontal or vertical orientation of the component.",
  20119. "docsTags": [],
  20120. "default": "\"vertical\"",
  20121. "values": [
  20122. {
  20123. "value": "grid",
  20124. "type": "string"
  20125. },
  20126. {
  20127. "value": "horizontal",
  20128. "type": "string"
  20129. },
  20130. {
  20131. "value": "vertical",
  20132. "type": "string"
  20133. }
  20134. ],
  20135. "optional": false,
  20136. "required": false
  20137. },
  20138. {
  20139. "name": "loading",
  20140. "type": "boolean",
  20141. "mutable": false,
  20142. "attr": "loading",
  20143. "reflectToAttr": true,
  20144. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  20145. "docsTags": [],
  20146. "default": "false",
  20147. "values": [
  20148. {
  20149. "type": "boolean"
  20150. }
  20151. ],
  20152. "optional": false,
  20153. "required": false
  20154. }
  20155. ],
  20156. "methods": [],
  20157. "events": [
  20158. {
  20159. "event": "calciteListOrderChange",
  20160. "detail": "void",
  20161. "bubbles": true,
  20162. "cancelable": false,
  20163. "composed": true,
  20164. "docs": "Emitted when the order of the list has changed.",
  20165. "docsTags": []
  20166. }
  20167. ],
  20168. "listeners": [
  20169. {
  20170. "event": "calciteHandleNudge",
  20171. "capture": false,
  20172. "passive": false
  20173. }
  20174. ],
  20175. "styles": [],
  20176. "slots": [
  20177. {
  20178. "name": "",
  20179. "docs": "A slot for adding sortable items."
  20180. }
  20181. ],
  20182. "parts": [],
  20183. "dependents": [],
  20184. "dependencies": [],
  20185. "dependencyGraph": {}
  20186. },
  20187. {
  20188. "filePath": "./src/components/split-button/split-button.tsx",
  20189. "encapsulation": "shadow",
  20190. "tag": "calcite-split-button",
  20191. "readme": "# calcite-split-button\n\nThe calcite-split-button control is one that combines a button with a dropdown menu in order to provide a primary action along with one or more related secondary options / actions. It's useful for grouping related actions or options for users, while elevating a commonly-used or default action for easier access. Its inner content populates the control's dropdown menu, and is thus expected to be valid `calcite-dropdown` content.\n",
  20192. "docs": "The calcite-split-button control is one that combines a button with a dropdown menu in order to provide a primary action along with one or more related secondary options / actions. It's useful for grouping related actions or options for users, while elevating a commonly-used or default action for easier access. Its inner content populates the control's dropdown menu, and is thus expected to be valid `calcite-dropdown` content.",
  20193. "docsTags": [
  20194. {
  20195. "name": "slot",
  20196. "text": "- A slot for adding `calcite-dropdown` content."
  20197. }
  20198. ],
  20199. "usage": {
  20200. "Basic": "```html\n<calcite-split-button primary-icon-start=\"save\" primary-text=\"Primary Option\">\n <calcite-dropdown-group selection-mode=\"none\">\n <calcite-dropdown-item>Option 2</calcite-dropdown-item>\n <calcite-dropdown-item>Option 3</calcite-dropdown-item>\n <calcite-dropdown-item>Option 4</calcite-dropdown-item>\n </calcite-dropdown-group>\n</calcite-split-button>\n```\n"
  20201. },
  20202. "props": [
  20203. {
  20204. "name": "appearance",
  20205. "type": "\"clear\" | \"minimal\" | \"outline\" | \"solid\" | \"transparent\"",
  20206. "mutable": false,
  20207. "attr": "appearance",
  20208. "reflectToAttr": true,
  20209. "docs": "Specifies the appearance style of the component.",
  20210. "docsTags": [],
  20211. "default": "\"solid\"",
  20212. "values": [
  20213. {
  20214. "value": "clear",
  20215. "type": "string"
  20216. },
  20217. {
  20218. "value": "minimal",
  20219. "type": "string"
  20220. },
  20221. {
  20222. "value": "outline",
  20223. "type": "string"
  20224. },
  20225. {
  20226. "value": "solid",
  20227. "type": "string"
  20228. },
  20229. {
  20230. "value": "transparent",
  20231. "type": "string"
  20232. }
  20233. ],
  20234. "optional": false,
  20235. "required": false
  20236. },
  20237. {
  20238. "name": "color",
  20239. "type": "\"blue\" | \"inverse\" | \"neutral\" | \"red\"",
  20240. "mutable": false,
  20241. "attr": "color",
  20242. "reflectToAttr": true,
  20243. "docs": "Specifies the color of the component.",
  20244. "docsTags": [],
  20245. "default": "\"blue\"",
  20246. "values": [
  20247. {
  20248. "value": "blue",
  20249. "type": "string"
  20250. },
  20251. {
  20252. "value": "inverse",
  20253. "type": "string"
  20254. },
  20255. {
  20256. "value": "neutral",
  20257. "type": "string"
  20258. },
  20259. {
  20260. "value": "red",
  20261. "type": "string"
  20262. }
  20263. ],
  20264. "optional": false,
  20265. "required": false
  20266. },
  20267. {
  20268. "name": "disabled",
  20269. "type": "boolean",
  20270. "mutable": false,
  20271. "attr": "disabled",
  20272. "reflectToAttr": true,
  20273. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  20274. "docsTags": [],
  20275. "default": "false",
  20276. "values": [
  20277. {
  20278. "type": "boolean"
  20279. }
  20280. ],
  20281. "optional": false,
  20282. "required": false
  20283. },
  20284. {
  20285. "name": "dropdownIconType",
  20286. "type": "\"caret\" | \"chevron\" | \"ellipsis\" | \"overflow\"",
  20287. "mutable": false,
  20288. "attr": "dropdown-icon-type",
  20289. "reflectToAttr": true,
  20290. "docs": "Specifies the icon used for the dropdown menu.",
  20291. "docsTags": [],
  20292. "default": "\"chevron\"",
  20293. "values": [
  20294. {
  20295. "value": "caret",
  20296. "type": "string"
  20297. },
  20298. {
  20299. "value": "chevron",
  20300. "type": "string"
  20301. },
  20302. {
  20303. "value": "ellipsis",
  20304. "type": "string"
  20305. },
  20306. {
  20307. "value": "overflow",
  20308. "type": "string"
  20309. }
  20310. ],
  20311. "optional": false,
  20312. "required": false
  20313. },
  20314. {
  20315. "name": "dropdownLabel",
  20316. "type": "string",
  20317. "mutable": false,
  20318. "attr": "dropdown-label",
  20319. "reflectToAttr": true,
  20320. "docs": "Accessible name for the dropdown menu.",
  20321. "docsTags": [],
  20322. "values": [
  20323. {
  20324. "type": "string"
  20325. }
  20326. ],
  20327. "optional": true,
  20328. "required": false
  20329. },
  20330. {
  20331. "name": "loading",
  20332. "type": "boolean",
  20333. "mutable": false,
  20334. "attr": "loading",
  20335. "reflectToAttr": true,
  20336. "docs": "When `true`, a busy indicator is displayed on the primary button.",
  20337. "docsTags": [],
  20338. "default": "false",
  20339. "values": [
  20340. {
  20341. "type": "boolean"
  20342. }
  20343. ],
  20344. "optional": false,
  20345. "required": false
  20346. },
  20347. {
  20348. "name": "overlayPositioning",
  20349. "type": "\"absolute\" | \"fixed\"",
  20350. "mutable": false,
  20351. "attr": "overlay-positioning",
  20352. "reflectToAttr": true,
  20353. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\n`\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  20354. "docsTags": [],
  20355. "default": "\"absolute\"",
  20356. "values": [
  20357. {
  20358. "value": "absolute",
  20359. "type": "string"
  20360. },
  20361. {
  20362. "value": "fixed",
  20363. "type": "string"
  20364. }
  20365. ],
  20366. "optional": false,
  20367. "required": false
  20368. },
  20369. {
  20370. "name": "primaryIconEnd",
  20371. "type": "string",
  20372. "mutable": false,
  20373. "attr": "primary-icon-end",
  20374. "reflectToAttr": true,
  20375. "docs": "Specifies an icon to display at the end of the primary button.",
  20376. "docsTags": [],
  20377. "values": [
  20378. {
  20379. "type": "string"
  20380. }
  20381. ],
  20382. "optional": true,
  20383. "required": false
  20384. },
  20385. {
  20386. "name": "primaryIconFlipRtl",
  20387. "type": "\"both\" | \"end\" | \"start\"",
  20388. "mutable": false,
  20389. "attr": "primary-icon-flip-rtl",
  20390. "reflectToAttr": true,
  20391. "docs": "When `true`, the primary button icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  20392. "docsTags": [],
  20393. "values": [
  20394. {
  20395. "value": "both",
  20396. "type": "string"
  20397. },
  20398. {
  20399. "value": "end",
  20400. "type": "string"
  20401. },
  20402. {
  20403. "value": "start",
  20404. "type": "string"
  20405. }
  20406. ],
  20407. "optional": true,
  20408. "required": false
  20409. },
  20410. {
  20411. "name": "primaryIconStart",
  20412. "type": "string",
  20413. "mutable": false,
  20414. "attr": "primary-icon-start",
  20415. "reflectToAttr": true,
  20416. "docs": "Specifies an icon to display at the start of the primary button.",
  20417. "docsTags": [],
  20418. "values": [
  20419. {
  20420. "type": "string"
  20421. }
  20422. ],
  20423. "optional": true,
  20424. "required": false
  20425. },
  20426. {
  20427. "name": "primaryLabel",
  20428. "type": "string",
  20429. "mutable": false,
  20430. "attr": "primary-label",
  20431. "reflectToAttr": true,
  20432. "docs": "Accessible name for the primary button.",
  20433. "docsTags": [],
  20434. "values": [
  20435. {
  20436. "type": "string"
  20437. }
  20438. ],
  20439. "optional": true,
  20440. "required": false
  20441. },
  20442. {
  20443. "name": "primaryText",
  20444. "type": "string",
  20445. "mutable": false,
  20446. "attr": "primary-text",
  20447. "reflectToAttr": true,
  20448. "docs": "Text displayed in the primary button.",
  20449. "docsTags": [],
  20450. "values": [
  20451. {
  20452. "type": "string"
  20453. }
  20454. ],
  20455. "optional": false,
  20456. "required": false
  20457. },
  20458. {
  20459. "name": "scale",
  20460. "type": "\"l\" | \"m\" | \"s\"",
  20461. "mutable": false,
  20462. "attr": "scale",
  20463. "reflectToAttr": true,
  20464. "docs": "Specifies the size of the component.",
  20465. "docsTags": [],
  20466. "default": "\"m\"",
  20467. "values": [
  20468. {
  20469. "value": "l",
  20470. "type": "string"
  20471. },
  20472. {
  20473. "value": "m",
  20474. "type": "string"
  20475. },
  20476. {
  20477. "value": "s",
  20478. "type": "string"
  20479. }
  20480. ],
  20481. "optional": false,
  20482. "required": false
  20483. },
  20484. {
  20485. "name": "width",
  20486. "type": "\"auto\" | \"full\" | \"half\"",
  20487. "mutable": false,
  20488. "attr": "width",
  20489. "reflectToAttr": true,
  20490. "docs": "Specifies the width of the component.",
  20491. "docsTags": [],
  20492. "default": "\"auto\"",
  20493. "values": [
  20494. {
  20495. "value": "auto",
  20496. "type": "string"
  20497. },
  20498. {
  20499. "value": "full",
  20500. "type": "string"
  20501. },
  20502. {
  20503. "value": "half",
  20504. "type": "string"
  20505. }
  20506. ],
  20507. "optional": false,
  20508. "required": false
  20509. }
  20510. ],
  20511. "methods": [],
  20512. "events": [
  20513. {
  20514. "event": "calciteSplitButtonPrimaryClick",
  20515. "detail": "any",
  20516. "bubbles": true,
  20517. "cancelable": false,
  20518. "composed": true,
  20519. "docs": "Fires when the primary button is clicked.\n\n**Note:** The event payload is deprecated, use separate mouse event listeners to get info about click.",
  20520. "docsTags": []
  20521. },
  20522. {
  20523. "event": "calciteSplitButtonSecondaryClick",
  20524. "detail": "any",
  20525. "bubbles": true,
  20526. "cancelable": false,
  20527. "composed": true,
  20528. "docs": "Fires when the dropdown menu is clicked.\n\n**Note:** The event payload is deprecated, use separate mouse event listeners to get info about click.",
  20529. "docsTags": []
  20530. }
  20531. ],
  20532. "listeners": [],
  20533. "styles": [],
  20534. "slots": [
  20535. {
  20536. "name": "",
  20537. "docs": "A slot for adding `calcite-dropdown` content."
  20538. }
  20539. ],
  20540. "parts": [],
  20541. "dependents": [],
  20542. "dependencies": [
  20543. "calcite-button",
  20544. "calcite-dropdown"
  20545. ],
  20546. "dependencyGraph": {
  20547. "calcite-split-button": [
  20548. "calcite-button",
  20549. "calcite-dropdown"
  20550. ],
  20551. "calcite-button": [
  20552. "calcite-loader",
  20553. "calcite-icon"
  20554. ]
  20555. }
  20556. },
  20557. {
  20558. "filePath": "./src/components/stepper/stepper.tsx",
  20559. "encapsulation": "shadow",
  20560. "tag": "calcite-stepper",
  20561. "readme": "# calcite-stepper\n\nCalcite stepper can be used to present a stepper workflow to a user. It has configurable display options for layout (horizontal or vertical), and the ability to automatically render status icons, and step numbers.\n",
  20562. "docs": "Calcite stepper can be used to present a stepper workflow to a user. It has configurable display options for layout (horizontal or vertical), and the ability to automatically render status icons, and step numbers.",
  20563. "docsTags": [
  20564. {
  20565. "name": "slot",
  20566. "text": "- A slot for adding `calcite-stepper-item`s."
  20567. }
  20568. ],
  20569. "usage": {
  20570. "Basic": "```html\n<calcite-stepper icon numbered id=\"my-example-stepper\">\n <calcite-stepper-item item-title=\"Choose method\" item-subtitle=\"Add members without sending invitations\" complete>\n Step 1 Content Goes Here\n </calcite-stepper-item>\n <calcite-stepper-item item-title=\"Compile member list\" error> Step 2 Content Goes Here </calcite-stepper-item>\n <calcite-stepper-item item-title=\"Set member properties\" item-subtitle=\"Some subtext\" active>\n Step 3 Content Goes Here\n </calcite-stepper-item>\n <calcite-stepper-item item-title=\"Confirm and complete\" item-subtitle=\"Disabled example\" disabled>\n Step 4 Content Goes Here\n </calcite-stepper-item>\n</calcite-stepper>\n```\n"
  20571. },
  20572. "props": [
  20573. {
  20574. "name": "icon",
  20575. "type": "boolean",
  20576. "mutable": false,
  20577. "attr": "icon",
  20578. "reflectToAttr": true,
  20579. "docs": "When `true`, displays a status icon in the `calcite-stepper-item` heading.",
  20580. "docsTags": [],
  20581. "default": "false",
  20582. "values": [
  20583. {
  20584. "type": "boolean"
  20585. }
  20586. ],
  20587. "optional": false,
  20588. "required": false
  20589. },
  20590. {
  20591. "name": "layout",
  20592. "type": "\"horizontal\" | \"vertical\"",
  20593. "mutable": false,
  20594. "attr": "layout",
  20595. "reflectToAttr": true,
  20596. "docs": "Defines the layout of the component.",
  20597. "docsTags": [],
  20598. "default": "\"horizontal\"",
  20599. "values": [
  20600. {
  20601. "value": "horizontal",
  20602. "type": "string"
  20603. },
  20604. {
  20605. "value": "vertical",
  20606. "type": "string"
  20607. }
  20608. ],
  20609. "optional": false,
  20610. "required": false
  20611. },
  20612. {
  20613. "name": "numbered",
  20614. "type": "boolean",
  20615. "mutable": false,
  20616. "attr": "numbered",
  20617. "reflectToAttr": true,
  20618. "docs": "When `true`, displays the step number in the `calcite-stepper-item` heading.",
  20619. "docsTags": [],
  20620. "default": "false",
  20621. "values": [
  20622. {
  20623. "type": "boolean"
  20624. }
  20625. ],
  20626. "optional": false,
  20627. "required": false
  20628. },
  20629. {
  20630. "name": "numberingSystem",
  20631. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  20632. "mutable": false,
  20633. "attr": "numbering-system",
  20634. "reflectToAttr": true,
  20635. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  20636. "docsTags": [],
  20637. "values": [
  20638. {
  20639. "value": "arab",
  20640. "type": "string"
  20641. },
  20642. {
  20643. "value": "arabext",
  20644. "type": "string"
  20645. },
  20646. {
  20647. "value": "bali",
  20648. "type": "string"
  20649. },
  20650. {
  20651. "value": "beng",
  20652. "type": "string"
  20653. },
  20654. {
  20655. "value": "deva",
  20656. "type": "string"
  20657. },
  20658. {
  20659. "value": "fullwide",
  20660. "type": "string"
  20661. },
  20662. {
  20663. "value": "gujr",
  20664. "type": "string"
  20665. },
  20666. {
  20667. "value": "guru",
  20668. "type": "string"
  20669. },
  20670. {
  20671. "value": "hanidec",
  20672. "type": "string"
  20673. },
  20674. {
  20675. "value": "khmr",
  20676. "type": "string"
  20677. },
  20678. {
  20679. "value": "knda",
  20680. "type": "string"
  20681. },
  20682. {
  20683. "value": "laoo",
  20684. "type": "string"
  20685. },
  20686. {
  20687. "value": "latn",
  20688. "type": "string"
  20689. },
  20690. {
  20691. "value": "limb",
  20692. "type": "string"
  20693. },
  20694. {
  20695. "value": "mlym",
  20696. "type": "string"
  20697. },
  20698. {
  20699. "value": "mong",
  20700. "type": "string"
  20701. },
  20702. {
  20703. "value": "mymr",
  20704. "type": "string"
  20705. },
  20706. {
  20707. "value": "orya",
  20708. "type": "string"
  20709. },
  20710. {
  20711. "value": "tamldec",
  20712. "type": "string"
  20713. },
  20714. {
  20715. "value": "telu",
  20716. "type": "string"
  20717. },
  20718. {
  20719. "value": "thai",
  20720. "type": "string"
  20721. },
  20722. {
  20723. "value": "tibt",
  20724. "type": "string"
  20725. }
  20726. ],
  20727. "optional": true,
  20728. "required": false
  20729. },
  20730. {
  20731. "name": "scale",
  20732. "type": "\"l\" | \"m\" | \"s\"",
  20733. "mutable": false,
  20734. "attr": "scale",
  20735. "reflectToAttr": true,
  20736. "docs": "Specifies the size of the component.",
  20737. "docsTags": [],
  20738. "default": "\"m\"",
  20739. "values": [
  20740. {
  20741. "value": "l",
  20742. "type": "string"
  20743. },
  20744. {
  20745. "value": "m",
  20746. "type": "string"
  20747. },
  20748. {
  20749. "value": "s",
  20750. "type": "string"
  20751. }
  20752. ],
  20753. "optional": false,
  20754. "required": false
  20755. }
  20756. ],
  20757. "methods": [
  20758. {
  20759. "name": "endStep",
  20760. "returns": {
  20761. "type": "Promise<void>",
  20762. "docs": ""
  20763. },
  20764. "signature": "endStep() => Promise<void>",
  20765. "parameters": [],
  20766. "docs": "Set the last `calcite-stepper-item` as active.",
  20767. "docsTags": []
  20768. },
  20769. {
  20770. "name": "goToStep",
  20771. "returns": {
  20772. "type": "Promise<void>",
  20773. "docs": ""
  20774. },
  20775. "signature": "goToStep(step: number) => Promise<void>",
  20776. "parameters": [],
  20777. "docs": "Set a specified `calcite-stepper-item` as active.",
  20778. "docsTags": [
  20779. {
  20780. "name": "param",
  20781. "text": "step"
  20782. }
  20783. ]
  20784. },
  20785. {
  20786. "name": "nextStep",
  20787. "returns": {
  20788. "type": "Promise<void>",
  20789. "docs": ""
  20790. },
  20791. "signature": "nextStep() => Promise<void>",
  20792. "parameters": [],
  20793. "docs": "Set the next `calcite-stepper-item` as active.",
  20794. "docsTags": []
  20795. },
  20796. {
  20797. "name": "prevStep",
  20798. "returns": {
  20799. "type": "Promise<void>",
  20800. "docs": ""
  20801. },
  20802. "signature": "prevStep() => Promise<void>",
  20803. "parameters": [],
  20804. "docs": "Set the previous `calcite-stepper-item` as active.",
  20805. "docsTags": []
  20806. },
  20807. {
  20808. "name": "startStep",
  20809. "returns": {
  20810. "type": "Promise<void>",
  20811. "docs": ""
  20812. },
  20813. "signature": "startStep() => Promise<void>",
  20814. "parameters": [],
  20815. "docs": "Set the first `calcite-stepper-item` as active.",
  20816. "docsTags": []
  20817. }
  20818. ],
  20819. "events": [
  20820. {
  20821. "event": "calciteStepperItemChange",
  20822. "detail": "StepperItemChangeEventDetail",
  20823. "bubbles": true,
  20824. "cancelable": false,
  20825. "composed": true,
  20826. "docs": "Fires when the active `calcite-stepper-item` changes.",
  20827. "docsTags": []
  20828. }
  20829. ],
  20830. "listeners": [
  20831. {
  20832. "event": "calciteInternalStepperItemKeyEvent",
  20833. "capture": false,
  20834. "passive": false
  20835. },
  20836. {
  20837. "event": "calciteInternalStepperItemRegister",
  20838. "capture": false,
  20839. "passive": false
  20840. },
  20841. {
  20842. "event": "calciteInternalStepperItemSelect",
  20843. "capture": false,
  20844. "passive": false
  20845. },
  20846. {
  20847. "event": "calciteInternalUserRequestedStepperItemSelect",
  20848. "capture": false,
  20849. "passive": false
  20850. }
  20851. ],
  20852. "styles": [],
  20853. "slots": [
  20854. {
  20855. "name": "",
  20856. "docs": "A slot for adding `calcite-stepper-item`s."
  20857. }
  20858. ],
  20859. "parts": [],
  20860. "dependents": [],
  20861. "dependencies": [],
  20862. "dependencyGraph": {}
  20863. },
  20864. {
  20865. "filePath": "./src/components/stepper-item/stepper-item.tsx",
  20866. "encapsulation": "shadow",
  20867. "tag": "calcite-stepper-item",
  20868. "readme": "# calcite-stepper-item\n\nindividual `calcite-stepper-item` item\n",
  20869. "docs": "individual `calcite-stepper-item` item",
  20870. "docsTags": [
  20871. {
  20872. "name": "slot",
  20873. "text": "- A slot for adding custom content."
  20874. }
  20875. ],
  20876. "usage": {},
  20877. "props": [
  20878. {
  20879. "name": "active",
  20880. "type": "boolean",
  20881. "mutable": true,
  20882. "attr": "active",
  20883. "reflectToAttr": true,
  20884. "docs": "When `true`, the component is selected.",
  20885. "docsTags": [
  20886. {
  20887. "name": "deprecated",
  20888. "text": "Use `selected` instead."
  20889. }
  20890. ],
  20891. "default": "false",
  20892. "deprecation": "Use `selected` instead.",
  20893. "values": [
  20894. {
  20895. "type": "boolean"
  20896. }
  20897. ],
  20898. "optional": false,
  20899. "required": false
  20900. },
  20901. {
  20902. "name": "complete",
  20903. "type": "boolean",
  20904. "mutable": false,
  20905. "attr": "complete",
  20906. "reflectToAttr": true,
  20907. "docs": "When `true`, the step has been completed.",
  20908. "docsTags": [],
  20909. "default": "false",
  20910. "values": [
  20911. {
  20912. "type": "boolean"
  20913. }
  20914. ],
  20915. "optional": false,
  20916. "required": false
  20917. },
  20918. {
  20919. "name": "description",
  20920. "type": "string",
  20921. "mutable": false,
  20922. "attr": "description",
  20923. "reflectToAttr": false,
  20924. "docs": "A description for the component. Displays below the header text.",
  20925. "docsTags": [],
  20926. "values": [
  20927. {
  20928. "type": "string"
  20929. }
  20930. ],
  20931. "optional": false,
  20932. "required": false
  20933. },
  20934. {
  20935. "name": "disabled",
  20936. "type": "boolean",
  20937. "mutable": false,
  20938. "attr": "disabled",
  20939. "reflectToAttr": true,
  20940. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  20941. "docsTags": [],
  20942. "default": "false",
  20943. "values": [
  20944. {
  20945. "type": "boolean"
  20946. }
  20947. ],
  20948. "optional": false,
  20949. "required": false
  20950. },
  20951. {
  20952. "name": "error",
  20953. "type": "boolean",
  20954. "mutable": false,
  20955. "attr": "error",
  20956. "reflectToAttr": true,
  20957. "docs": "When `true`, the component contains an error that requires resolution from the user.",
  20958. "docsTags": [],
  20959. "default": "false",
  20960. "values": [
  20961. {
  20962. "type": "boolean"
  20963. }
  20964. ],
  20965. "optional": false,
  20966. "required": false
  20967. },
  20968. {
  20969. "name": "heading",
  20970. "type": "string",
  20971. "mutable": false,
  20972. "attr": "heading",
  20973. "reflectToAttr": false,
  20974. "docs": "The component header text.",
  20975. "docsTags": [],
  20976. "values": [
  20977. {
  20978. "type": "string"
  20979. }
  20980. ],
  20981. "optional": true,
  20982. "required": false
  20983. },
  20984. {
  20985. "name": "itemSubtitle",
  20986. "type": "string",
  20987. "mutable": false,
  20988. "attr": "item-subtitle",
  20989. "reflectToAttr": false,
  20990. "docs": "A description for the component. Displays below the header text.",
  20991. "docsTags": [
  20992. {
  20993. "name": "deprecated",
  20994. "text": "use `description` instead."
  20995. }
  20996. ],
  20997. "deprecation": "use `description` instead.",
  20998. "values": [
  20999. {
  21000. "type": "string"
  21001. }
  21002. ],
  21003. "optional": true,
  21004. "required": false
  21005. },
  21006. {
  21007. "name": "itemTitle",
  21008. "type": "string",
  21009. "mutable": false,
  21010. "attr": "item-title",
  21011. "reflectToAttr": false,
  21012. "docs": "The component header text.",
  21013. "docsTags": [
  21014. {
  21015. "name": "deprecated",
  21016. "text": "use `heading` instead."
  21017. }
  21018. ],
  21019. "deprecation": "use `heading` instead.",
  21020. "values": [
  21021. {
  21022. "type": "string"
  21023. }
  21024. ],
  21025. "optional": true,
  21026. "required": false
  21027. },
  21028. {
  21029. "name": "selected",
  21030. "type": "boolean",
  21031. "mutable": true,
  21032. "attr": "selected",
  21033. "reflectToAttr": true,
  21034. "docs": "When `true`, the component is selected.",
  21035. "docsTags": [],
  21036. "default": "false",
  21037. "values": [
  21038. {
  21039. "type": "boolean"
  21040. }
  21041. ],
  21042. "optional": false,
  21043. "required": false
  21044. }
  21045. ],
  21046. "methods": [
  21047. {
  21048. "name": "setFocus",
  21049. "returns": {
  21050. "type": "Promise<void>",
  21051. "docs": ""
  21052. },
  21053. "signature": "setFocus() => Promise<void>",
  21054. "parameters": [],
  21055. "docs": "",
  21056. "docsTags": []
  21057. }
  21058. ],
  21059. "events": [],
  21060. "listeners": [
  21061. {
  21062. "event": "calciteInternalStepperItemChange",
  21063. "target": "body",
  21064. "capture": false,
  21065. "passive": false
  21066. }
  21067. ],
  21068. "styles": [],
  21069. "slots": [
  21070. {
  21071. "name": "",
  21072. "docs": "A slot for adding custom content."
  21073. }
  21074. ],
  21075. "parts": [],
  21076. "dependents": [],
  21077. "dependencies": [
  21078. "calcite-icon"
  21079. ],
  21080. "dependencyGraph": {
  21081. "calcite-stepper-item": [
  21082. "calcite-icon"
  21083. ]
  21084. }
  21085. },
  21086. {
  21087. "filePath": "./src/components/switch/switch.tsx",
  21088. "encapsulation": "shadow",
  21089. "tag": "calcite-switch",
  21090. "readme": "# calcite-switch\n\n`calcite-switch` is used to toggle a value on or off.\n",
  21091. "docs": "`calcite-switch` is used to toggle a value on or off.",
  21092. "docsTags": [],
  21093. "usage": {
  21094. "Basic": "```html\n<label> <calcite-switch checked></calcite-switch> Switch is on </label>\n```\n"
  21095. },
  21096. "props": [
  21097. {
  21098. "name": "checked",
  21099. "type": "boolean",
  21100. "mutable": true,
  21101. "attr": "checked",
  21102. "reflectToAttr": true,
  21103. "docs": "When `true`, the component is checked.",
  21104. "docsTags": [],
  21105. "default": "false",
  21106. "values": [
  21107. {
  21108. "type": "boolean"
  21109. }
  21110. ],
  21111. "optional": false,
  21112. "required": false
  21113. },
  21114. {
  21115. "name": "disabled",
  21116. "type": "boolean",
  21117. "mutable": false,
  21118. "attr": "disabled",
  21119. "reflectToAttr": true,
  21120. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  21121. "docsTags": [],
  21122. "default": "false",
  21123. "values": [
  21124. {
  21125. "type": "boolean"
  21126. }
  21127. ],
  21128. "optional": false,
  21129. "required": false
  21130. },
  21131. {
  21132. "name": "label",
  21133. "type": "string",
  21134. "mutable": false,
  21135. "attr": "label",
  21136. "reflectToAttr": false,
  21137. "docs": "Accessible name for the component.",
  21138. "docsTags": [],
  21139. "values": [
  21140. {
  21141. "type": "string"
  21142. }
  21143. ],
  21144. "optional": true,
  21145. "required": false
  21146. },
  21147. {
  21148. "name": "name",
  21149. "type": "string",
  21150. "mutable": false,
  21151. "attr": "name",
  21152. "reflectToAttr": true,
  21153. "docs": "Specifies the name of the component on form submission.",
  21154. "docsTags": [],
  21155. "values": [
  21156. {
  21157. "type": "string"
  21158. }
  21159. ],
  21160. "optional": false,
  21161. "required": false
  21162. },
  21163. {
  21164. "name": "scale",
  21165. "type": "\"l\" | \"m\" | \"s\"",
  21166. "mutable": false,
  21167. "attr": "scale",
  21168. "reflectToAttr": true,
  21169. "docs": "Specifies the size of the component.",
  21170. "docsTags": [],
  21171. "default": "\"m\"",
  21172. "values": [
  21173. {
  21174. "value": "l",
  21175. "type": "string"
  21176. },
  21177. {
  21178. "value": "m",
  21179. "type": "string"
  21180. },
  21181. {
  21182. "value": "s",
  21183. "type": "string"
  21184. }
  21185. ],
  21186. "optional": false,
  21187. "required": false
  21188. },
  21189. {
  21190. "name": "switched",
  21191. "type": "boolean",
  21192. "mutable": true,
  21193. "attr": "switched",
  21194. "reflectToAttr": true,
  21195. "docs": "When `true`, the component is checked.",
  21196. "docsTags": [
  21197. {
  21198. "name": "deprecated",
  21199. "text": "use `checked` instead."
  21200. }
  21201. ],
  21202. "default": "false",
  21203. "deprecation": "use `checked` instead.",
  21204. "values": [
  21205. {
  21206. "type": "boolean"
  21207. }
  21208. ],
  21209. "optional": false,
  21210. "required": false
  21211. },
  21212. {
  21213. "name": "value",
  21214. "type": "any",
  21215. "mutable": false,
  21216. "attr": "value",
  21217. "reflectToAttr": false,
  21218. "docs": "The component's value.",
  21219. "docsTags": [],
  21220. "values": [
  21221. {
  21222. "type": "any"
  21223. }
  21224. ],
  21225. "optional": false,
  21226. "required": false
  21227. }
  21228. ],
  21229. "methods": [
  21230. {
  21231. "name": "setFocus",
  21232. "returns": {
  21233. "type": "Promise<void>",
  21234. "docs": ""
  21235. },
  21236. "signature": "setFocus() => Promise<void>",
  21237. "parameters": [],
  21238. "docs": "Sets focus on the component.",
  21239. "docsTags": []
  21240. }
  21241. ],
  21242. "events": [
  21243. {
  21244. "event": "calciteSwitchChange",
  21245. "detail": "any",
  21246. "bubbles": true,
  21247. "cancelable": false,
  21248. "composed": true,
  21249. "docs": "Fires when the `checked` value has changed.\n\n**Note:** The event payload is deprecated, use the component's `checked` property instead.",
  21250. "docsTags": []
  21251. }
  21252. ],
  21253. "listeners": [],
  21254. "styles": [],
  21255. "slots": [],
  21256. "parts": [],
  21257. "dependents": [
  21258. "calcite-block-section"
  21259. ],
  21260. "dependencies": [],
  21261. "dependencyGraph": {
  21262. "calcite-block-section": [
  21263. "calcite-switch"
  21264. ]
  21265. }
  21266. },
  21267. {
  21268. "filePath": "./src/components/tab/tab.tsx",
  21269. "encapsulation": "shadow",
  21270. "tag": "calcite-tab",
  21271. "readme": "# calcite-tab\n",
  21272. "docs": "",
  21273. "docsTags": [
  21274. {
  21275. "name": "slot",
  21276. "text": "- A slot for adding content to the component."
  21277. }
  21278. ],
  21279. "usage": {
  21280. "Basic": "`calcite-tab` wraps the content you would like to appear when that tab is selected:\n\n```html\n<calcite-tab>My stuff!</calcite-tab>\n```\n"
  21281. },
  21282. "props": [
  21283. {
  21284. "name": "active",
  21285. "type": "boolean",
  21286. "mutable": true,
  21287. "attr": "active",
  21288. "reflectToAttr": true,
  21289. "docs": "When `true`, the component's contents are selected.\n\nOnly one tab can be selected within the `calcite-tabs` parent.",
  21290. "docsTags": [
  21291. {
  21292. "name": "deprecated",
  21293. "text": "Use `selected` instead."
  21294. }
  21295. ],
  21296. "default": "false",
  21297. "deprecation": "Use `selected` instead.",
  21298. "values": [
  21299. {
  21300. "type": "boolean"
  21301. }
  21302. ],
  21303. "optional": false,
  21304. "required": false
  21305. },
  21306. {
  21307. "name": "selected",
  21308. "type": "boolean",
  21309. "mutable": true,
  21310. "attr": "selected",
  21311. "reflectToAttr": true,
  21312. "docs": "When `true`, the component's contents are selected.\n\nOnly one tab can be selected within the `calcite-tabs` parent.",
  21313. "docsTags": [],
  21314. "default": "false",
  21315. "values": [
  21316. {
  21317. "type": "boolean"
  21318. }
  21319. ],
  21320. "optional": false,
  21321. "required": false
  21322. },
  21323. {
  21324. "name": "tab",
  21325. "type": "string",
  21326. "mutable": false,
  21327. "attr": "tab",
  21328. "reflectToAttr": true,
  21329. "docs": "Specifies a unique name for the component.\n\nWhen specified, use the same value on the `calcite-tab-title`.",
  21330. "docsTags": [],
  21331. "values": [
  21332. {
  21333. "type": "string"
  21334. }
  21335. ],
  21336. "optional": true,
  21337. "required": false
  21338. }
  21339. ],
  21340. "methods": [
  21341. {
  21342. "name": "getTabIndex",
  21343. "returns": {
  21344. "type": "Promise<number>",
  21345. "docs": ""
  21346. },
  21347. "signature": "getTabIndex() => Promise<number>",
  21348. "parameters": [],
  21349. "docs": "Returns the index of the component item within the tab array.",
  21350. "docsTags": []
  21351. }
  21352. ],
  21353. "events": [],
  21354. "listeners": [
  21355. {
  21356. "event": "calciteInternalTabChange",
  21357. "target": "body",
  21358. "capture": false,
  21359. "passive": false
  21360. }
  21361. ],
  21362. "styles": [],
  21363. "slots": [
  21364. {
  21365. "name": "",
  21366. "docs": "A slot for adding content to the component."
  21367. }
  21368. ],
  21369. "parts": [],
  21370. "dependents": [
  21371. "calcite-color-picker"
  21372. ],
  21373. "dependencies": [],
  21374. "dependencyGraph": {
  21375. "calcite-color-picker": [
  21376. "calcite-tab"
  21377. ]
  21378. }
  21379. },
  21380. {
  21381. "filePath": "./src/components/tab-nav/tab-nav.tsx",
  21382. "encapsulation": "shadow",
  21383. "tag": "calcite-tab-nav",
  21384. "readme": "# calcite-tab-nav\n\nThe tab-nav groups several [calcite-tab-title](../tab-title) components and builds out the navigation. You can optionally use attibutes on the tab-nav to configure client side storage of the selected tab.\n",
  21385. "docs": "The tab-nav groups several [calcite-tab-title](../tab-title) components and builds out the navigation. You can optionally use attibutes on the tab-nav to configure client side storage of the selected tab.",
  21386. "docsTags": [
  21387. {
  21388. "name": "slot",
  21389. "text": "- A slot for adding `calcite-tab-title`s."
  21390. }
  21391. ],
  21392. "usage": {
  21393. "Basic": "When tab-nav is the only parent, tab-title can inherit its `scale` and `position` from tab-nav:\n\n```html\n<calcite-tab-nav scale=\"l\" position=\"below\">\n <calcite-tab-title>Layers</calcite-tab-title>\n <calcite-tab-title>Maps</calcite-tab-title>\n <calcite-tab-title active>Data</calcite-tab-title>\n</calcite-tab-nav>\n```\n"
  21394. },
  21395. "props": [
  21396. {
  21397. "name": "storageId",
  21398. "type": "string",
  21399. "mutable": false,
  21400. "attr": "storage-id",
  21401. "reflectToAttr": true,
  21402. "docs": "Specifies the name when saving selected `calcite-tab` data to `localStorage`.",
  21403. "docsTags": [],
  21404. "values": [
  21405. {
  21406. "type": "string"
  21407. }
  21408. ],
  21409. "optional": false,
  21410. "required": false
  21411. },
  21412. {
  21413. "name": "syncId",
  21414. "type": "string",
  21415. "mutable": false,
  21416. "attr": "sync-id",
  21417. "reflectToAttr": true,
  21418. "docs": "Specifies text to update multiple components to keep in sync if one changes.",
  21419. "docsTags": [],
  21420. "values": [
  21421. {
  21422. "type": "string"
  21423. }
  21424. ],
  21425. "optional": false,
  21426. "required": false
  21427. }
  21428. ],
  21429. "methods": [],
  21430. "events": [
  21431. {
  21432. "event": "calciteTabChange",
  21433. "detail": "TabChangeEventDetail",
  21434. "bubbles": true,
  21435. "cancelable": false,
  21436. "composed": true,
  21437. "docs": "Emits when the selected `calcite-tab` changes.",
  21438. "docsTags": [
  21439. {
  21440. "name": "see",
  21441. "text": "[TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)"
  21442. }
  21443. ]
  21444. }
  21445. ],
  21446. "listeners": [
  21447. {
  21448. "event": "calciteInternalTabsFocusPrevious",
  21449. "capture": false,
  21450. "passive": false
  21451. },
  21452. {
  21453. "event": "calciteInternalTabsFocusNext",
  21454. "capture": false,
  21455. "passive": false
  21456. },
  21457. {
  21458. "event": "calciteInternalTabsActivate",
  21459. "capture": false,
  21460. "passive": false
  21461. },
  21462. {
  21463. "event": "calciteTabsActivate",
  21464. "capture": false,
  21465. "passive": false
  21466. },
  21467. {
  21468. "event": "calciteInternalTabTitleRegister",
  21469. "capture": false,
  21470. "passive": false
  21471. },
  21472. {
  21473. "event": "calciteInternalTabChange",
  21474. "target": "body",
  21475. "capture": false,
  21476. "passive": false
  21477. },
  21478. {
  21479. "event": "calciteInternalTabIconChanged",
  21480. "capture": false,
  21481. "passive": false
  21482. }
  21483. ],
  21484. "styles": [],
  21485. "slots": [
  21486. {
  21487. "name": "",
  21488. "docs": "A slot for adding `calcite-tab-title`s."
  21489. }
  21490. ],
  21491. "parts": [],
  21492. "dependents": [
  21493. "calcite-color-picker"
  21494. ],
  21495. "dependencies": [],
  21496. "dependencyGraph": {
  21497. "calcite-color-picker": [
  21498. "calcite-tab-nav"
  21499. ]
  21500. }
  21501. },
  21502. {
  21503. "filePath": "./src/components/tab-title/tab-title.tsx",
  21504. "encapsulation": "shadow",
  21505. "tag": "calcite-tab-title",
  21506. "readme": "# calcite-tab-title\n\nThe tab-title is the link that switches between panes in [calcite-tabs](../tabs).\n",
  21507. "docs": "The tab-title is the link that switches between panes in [calcite-tabs](../tabs).",
  21508. "docsTags": [
  21509. {
  21510. "name": "slot",
  21511. "text": "- A slot for adding text."
  21512. }
  21513. ],
  21514. "usage": {},
  21515. "props": [
  21516. {
  21517. "name": "active",
  21518. "type": "boolean",
  21519. "mutable": true,
  21520. "attr": "active",
  21521. "reflectToAttr": true,
  21522. "docs": "When `true`, the component and its respective `calcite-tab` contents are selected.\n\nOnly one tab can be selected within the `calcite-tabs` parent.",
  21523. "docsTags": [
  21524. {
  21525. "name": "deprecated",
  21526. "text": "Use `selected` instead."
  21527. }
  21528. ],
  21529. "default": "false",
  21530. "deprecation": "Use `selected` instead.",
  21531. "values": [
  21532. {
  21533. "type": "boolean"
  21534. }
  21535. ],
  21536. "optional": false,
  21537. "required": false
  21538. },
  21539. {
  21540. "name": "disabled",
  21541. "type": "boolean",
  21542. "mutable": false,
  21543. "attr": "disabled",
  21544. "reflectToAttr": true,
  21545. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  21546. "docsTags": [],
  21547. "default": "false",
  21548. "values": [
  21549. {
  21550. "type": "boolean"
  21551. }
  21552. ],
  21553. "optional": false,
  21554. "required": false
  21555. },
  21556. {
  21557. "name": "iconEnd",
  21558. "type": "string",
  21559. "mutable": false,
  21560. "attr": "icon-end",
  21561. "reflectToAttr": true,
  21562. "docs": "Specifies an icon to display at the end of the component.",
  21563. "docsTags": [],
  21564. "values": [
  21565. {
  21566. "type": "string"
  21567. }
  21568. ],
  21569. "optional": true,
  21570. "required": false
  21571. },
  21572. {
  21573. "name": "iconFlipRtl",
  21574. "type": "\"both\" | \"end\" | \"start\"",
  21575. "mutable": false,
  21576. "attr": "icon-flip-rtl",
  21577. "reflectToAttr": true,
  21578. "docs": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`).",
  21579. "docsTags": [],
  21580. "values": [
  21581. {
  21582. "value": "both",
  21583. "type": "string"
  21584. },
  21585. {
  21586. "value": "end",
  21587. "type": "string"
  21588. },
  21589. {
  21590. "value": "start",
  21591. "type": "string"
  21592. }
  21593. ],
  21594. "optional": true,
  21595. "required": false
  21596. },
  21597. {
  21598. "name": "iconStart",
  21599. "type": "string",
  21600. "mutable": false,
  21601. "attr": "icon-start",
  21602. "reflectToAttr": true,
  21603. "docs": "Specifies an icon to display at the start of the component.",
  21604. "docsTags": [],
  21605. "values": [
  21606. {
  21607. "type": "string"
  21608. }
  21609. ],
  21610. "optional": true,
  21611. "required": false
  21612. },
  21613. {
  21614. "name": "selected",
  21615. "type": "boolean",
  21616. "mutable": true,
  21617. "attr": "selected",
  21618. "reflectToAttr": true,
  21619. "docs": "When `true`, the component and its respective `calcite-tab` contents are selected.\n\nOnly one tab can be selected within the `calcite-tabs` parent.",
  21620. "docsTags": [],
  21621. "default": "false",
  21622. "values": [
  21623. {
  21624. "type": "boolean"
  21625. }
  21626. ],
  21627. "optional": false,
  21628. "required": false
  21629. },
  21630. {
  21631. "name": "tab",
  21632. "type": "string",
  21633. "mutable": false,
  21634. "attr": "tab",
  21635. "reflectToAttr": true,
  21636. "docs": "Specifies a unique name for the component.\n\nWhen specified, use the same value on the `calcite-tab`.",
  21637. "docsTags": [],
  21638. "values": [
  21639. {
  21640. "type": "string"
  21641. }
  21642. ],
  21643. "optional": true,
  21644. "required": false
  21645. }
  21646. ],
  21647. "methods": [
  21648. {
  21649. "name": "getTabIndex",
  21650. "returns": {
  21651. "type": "Promise<number>",
  21652. "docs": ""
  21653. },
  21654. "signature": "getTabIndex() => Promise<number>",
  21655. "parameters": [],
  21656. "docs": "Returns the index of the title within the `calcite-tab-nav`.",
  21657. "docsTags": []
  21658. }
  21659. ],
  21660. "events": [
  21661. {
  21662. "event": "calciteTabsActivate",
  21663. "detail": "TabChangeEventDetail",
  21664. "bubbles": true,
  21665. "cancelable": false,
  21666. "composed": true,
  21667. "docs": "Fires when a `calcite-tab` is selected. Emits the `tab` property, or the index position.",
  21668. "docsTags": [
  21669. {
  21670. "name": "see",
  21671. "text": "[TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)"
  21672. }
  21673. ]
  21674. }
  21675. ],
  21676. "listeners": [
  21677. {
  21678. "event": "calciteInternalTabChange",
  21679. "target": "body",
  21680. "capture": false,
  21681. "passive": false
  21682. },
  21683. {
  21684. "event": "click",
  21685. "capture": false,
  21686. "passive": false
  21687. },
  21688. {
  21689. "event": "keydown",
  21690. "capture": false,
  21691. "passive": false
  21692. }
  21693. ],
  21694. "styles": [],
  21695. "slots": [
  21696. {
  21697. "name": "",
  21698. "docs": "A slot for adding text."
  21699. }
  21700. ],
  21701. "parts": [],
  21702. "dependents": [
  21703. "calcite-color-picker"
  21704. ],
  21705. "dependencies": [
  21706. "calcite-icon"
  21707. ],
  21708. "dependencyGraph": {
  21709. "calcite-tab-title": [
  21710. "calcite-icon"
  21711. ],
  21712. "calcite-color-picker": [
  21713. "calcite-tab-title"
  21714. ]
  21715. }
  21716. },
  21717. {
  21718. "filePath": "./src/components/tabs/tabs.tsx",
  21719. "encapsulation": "shadow",
  21720. "tag": "calcite-tabs",
  21721. "readme": "# calcite-tabs\n",
  21722. "docs": "",
  21723. "docsTags": [
  21724. {
  21725. "name": "slot",
  21726. "text": "- A slot for adding `calcite-tab`s."
  21727. },
  21728. {
  21729. "name": "slot",
  21730. "text": "tab-nav - A slot for adding a `calcite-tab-nav`."
  21731. }
  21732. ],
  21733. "usage": {
  21734. "Basic": "`calcite-tabs` uses several sub-components ([calcite-tab-nav](../tab-nav), [calcite-tab](../tab), [calcite-tab-title](../tab-title)) to create a tabbed interface with optional client side storage. Place your content inside of the `<calcite-tab>` element:\n\n```html\n<calcite-tabs>\n <calcite-tab-nav slot=\"tab-nav\">\n <calcite-tab-title active>Tab 1 Title</calcite-tab-title>\n <calcite-tab-title>Tab 2 Title</calcite-tab-title>\n </calcite-tab-nav>\n\n <calcite-tab active>Tab 1 Content</calcite-tab>\n <calcite-tab>Tab 2 Content</calcite-tab>\n</calcite-tabs>\n```\n",
  21735. "Bordered": "```html\n<calcite-tabs bordered>\n <calcite-tab-nav slot=\"tab-nav\">\n <calcite-tab-title tab=\"tab1\">Tab 1 Title</calcite-tab-title>\n <calcite-tab-title tab=\"tab2\">Tab 2 Title</calcite-tab-title>\n <calcite-tab-title tab=\"tab3\">Tab 3 Title</calcite-tab-title>\n <calcite-tab-title tab=\"tab4\" active>Tab 4 Title</calcite-tab-title>\n </calcite-tab-nav>\n <calcite-tab tab=\"tab1\">Tab 1 Content</calcite-tab>\n <calcite-tab tab=\"tab2\">Tab 2 Content</calcite-tab>\n <calcite-tab tab=\"tab3\">Tab 3 Content</calcite-tab>\n <calcite-tab tab=\"tab4\" active>Tab 4 Content</calcite-tab>\n</calcite-tabs>\n```\n"
  21736. },
  21737. "props": [
  21738. {
  21739. "name": "bordered",
  21740. "type": "boolean",
  21741. "mutable": true,
  21742. "attr": "bordered",
  21743. "reflectToAttr": true,
  21744. "docs": "When `true`, the component will display with a folder style menu.",
  21745. "docsTags": [],
  21746. "default": "false",
  21747. "values": [
  21748. {
  21749. "type": "boolean"
  21750. }
  21751. ],
  21752. "optional": false,
  21753. "required": false
  21754. },
  21755. {
  21756. "name": "layout",
  21757. "type": "\"center\" | \"inline\"",
  21758. "mutable": false,
  21759. "attr": "layout",
  21760. "reflectToAttr": true,
  21761. "docs": "Specifies the layout of the `calcite-tab-nav`, justifying the `calcite-tab-title`s to the start (`\"inline\"`), or across and centered (`\"center\"`).",
  21762. "docsTags": [],
  21763. "default": "\"inline\"",
  21764. "values": [
  21765. {
  21766. "value": "center",
  21767. "type": "string"
  21768. },
  21769. {
  21770. "value": "inline",
  21771. "type": "string"
  21772. }
  21773. ],
  21774. "optional": false,
  21775. "required": false
  21776. },
  21777. {
  21778. "name": "position",
  21779. "type": "\"above\" | \"below\" | \"bottom\" | \"top\"",
  21780. "mutable": false,
  21781. "attr": "position",
  21782. "reflectToAttr": true,
  21783. "docs": "Specifies the position of the component in relation to the `calcite-tab`s. The `\"above\"` and `\"below\"` values are deprecated.",
  21784. "docsTags": [],
  21785. "default": "\"top\"",
  21786. "values": [
  21787. {
  21788. "value": "above",
  21789. "type": "string"
  21790. },
  21791. {
  21792. "value": "below",
  21793. "type": "string"
  21794. },
  21795. {
  21796. "value": "bottom",
  21797. "type": "string"
  21798. },
  21799. {
  21800. "value": "top",
  21801. "type": "string"
  21802. }
  21803. ],
  21804. "optional": false,
  21805. "required": false
  21806. },
  21807. {
  21808. "name": "scale",
  21809. "type": "\"l\" | \"m\" | \"s\"",
  21810. "mutable": false,
  21811. "attr": "scale",
  21812. "reflectToAttr": true,
  21813. "docs": "Specifies the size of the component.",
  21814. "docsTags": [],
  21815. "default": "\"m\"",
  21816. "values": [
  21817. {
  21818. "value": "l",
  21819. "type": "string"
  21820. },
  21821. {
  21822. "value": "m",
  21823. "type": "string"
  21824. },
  21825. {
  21826. "value": "s",
  21827. "type": "string"
  21828. }
  21829. ],
  21830. "optional": false,
  21831. "required": false
  21832. }
  21833. ],
  21834. "methods": [],
  21835. "events": [],
  21836. "listeners": [
  21837. {
  21838. "event": "calciteInternalTabTitleRegister",
  21839. "capture": false,
  21840. "passive": false
  21841. },
  21842. {
  21843. "event": "calciteTabTitleUnregister",
  21844. "target": "body",
  21845. "capture": false,
  21846. "passive": false
  21847. },
  21848. {
  21849. "event": "calciteInternalTabRegister",
  21850. "capture": false,
  21851. "passive": false
  21852. },
  21853. {
  21854. "event": "calciteTabUnregister",
  21855. "target": "body",
  21856. "capture": false,
  21857. "passive": false
  21858. }
  21859. ],
  21860. "styles": [],
  21861. "slots": [
  21862. {
  21863. "name": "",
  21864. "docs": "A slot for adding `calcite-tab`s."
  21865. },
  21866. {
  21867. "name": "tab-nav",
  21868. "docs": "A slot for adding a `calcite-tab-nav`."
  21869. }
  21870. ],
  21871. "parts": [],
  21872. "dependents": [
  21873. "calcite-color-picker"
  21874. ],
  21875. "dependencies": [],
  21876. "dependencyGraph": {
  21877. "calcite-color-picker": [
  21878. "calcite-tabs"
  21879. ]
  21880. }
  21881. },
  21882. {
  21883. "filePath": "./src/components/tile/tile.tsx",
  21884. "encapsulation": "shadow",
  21885. "tag": "calcite-tile",
  21886. "readme": "# calcite-tile\n",
  21887. "docs": "",
  21888. "docsTags": [
  21889. {
  21890. "name": "slot",
  21891. "text": "content-start - A slot for adding non-actionable elements before the component's content."
  21892. },
  21893. {
  21894. "name": "slot",
  21895. "text": "content-end - A slot for adding non-actionable elements after the component's content."
  21896. }
  21897. ],
  21898. "usage": {
  21899. "Basic": "```html\n<calcite-tile\n description=\"Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collab on thinking to further the overall.\"\n heading=\"Tile heading lorem ipsum\"\n href=\"#\"\n icon=\"images\"\n></calcite-tile>\n```\n"
  21900. },
  21901. "props": [
  21902. {
  21903. "name": "active",
  21904. "type": "boolean",
  21905. "mutable": false,
  21906. "attr": "active",
  21907. "reflectToAttr": true,
  21908. "docs": "When `true`, the component is active.",
  21909. "docsTags": [],
  21910. "default": "false",
  21911. "values": [
  21912. {
  21913. "type": "boolean"
  21914. }
  21915. ],
  21916. "optional": false,
  21917. "required": false
  21918. },
  21919. {
  21920. "name": "description",
  21921. "type": "string",
  21922. "mutable": false,
  21923. "attr": "description",
  21924. "reflectToAttr": true,
  21925. "docs": "A description for the component, which displays below the heading.",
  21926. "docsTags": [],
  21927. "values": [
  21928. {
  21929. "type": "string"
  21930. }
  21931. ],
  21932. "optional": true,
  21933. "required": false
  21934. },
  21935. {
  21936. "name": "disabled",
  21937. "type": "boolean",
  21938. "mutable": false,
  21939. "attr": "disabled",
  21940. "reflectToAttr": true,
  21941. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  21942. "docsTags": [],
  21943. "default": "false",
  21944. "values": [
  21945. {
  21946. "type": "boolean"
  21947. }
  21948. ],
  21949. "optional": false,
  21950. "required": false
  21951. },
  21952. {
  21953. "name": "embed",
  21954. "type": "boolean",
  21955. "mutable": false,
  21956. "attr": "embed",
  21957. "reflectToAttr": true,
  21958. "docs": "The component's embed mode.\n\nWhen `true`, renders without a border and padding for use by other components.",
  21959. "docsTags": [],
  21960. "default": "false",
  21961. "values": [
  21962. {
  21963. "type": "boolean"
  21964. }
  21965. ],
  21966. "optional": false,
  21967. "required": false
  21968. },
  21969. {
  21970. "name": "heading",
  21971. "type": "string",
  21972. "mutable": false,
  21973. "attr": "heading",
  21974. "reflectToAttr": true,
  21975. "docs": "The component header text, which displays between the icon and description.",
  21976. "docsTags": [],
  21977. "values": [
  21978. {
  21979. "type": "string"
  21980. }
  21981. ],
  21982. "optional": true,
  21983. "required": false
  21984. },
  21985. {
  21986. "name": "hidden",
  21987. "type": "boolean",
  21988. "mutable": false,
  21989. "attr": "hidden",
  21990. "reflectToAttr": true,
  21991. "docs": "When `true`, the component is not displayed and is not focusable.",
  21992. "docsTags": [],
  21993. "default": "false",
  21994. "values": [
  21995. {
  21996. "type": "boolean"
  21997. }
  21998. ],
  21999. "optional": false,
  22000. "required": false
  22001. },
  22002. {
  22003. "name": "href",
  22004. "type": "string",
  22005. "mutable": false,
  22006. "attr": "href",
  22007. "reflectToAttr": true,
  22008. "docs": "When embed is `\"false\"`, the URL for the component.",
  22009. "docsTags": [],
  22010. "values": [
  22011. {
  22012. "type": "string"
  22013. }
  22014. ],
  22015. "optional": true,
  22016. "required": false
  22017. },
  22018. {
  22019. "name": "icon",
  22020. "type": "string",
  22021. "mutable": false,
  22022. "attr": "icon",
  22023. "reflectToAttr": true,
  22024. "docs": "Specifies an icon to display.",
  22025. "docsTags": [],
  22026. "values": [
  22027. {
  22028. "type": "string"
  22029. }
  22030. ],
  22031. "optional": true,
  22032. "required": false
  22033. }
  22034. ],
  22035. "methods": [],
  22036. "events": [],
  22037. "listeners": [],
  22038. "styles": [],
  22039. "slots": [
  22040. {
  22041. "name": "content-end",
  22042. "docs": "A slot for adding non-actionable elements after the component's content."
  22043. },
  22044. {
  22045. "name": "content-start",
  22046. "docs": "A slot for adding non-actionable elements before the component's content."
  22047. }
  22048. ],
  22049. "parts": [],
  22050. "dependents": [
  22051. "calcite-tile-select"
  22052. ],
  22053. "dependencies": [
  22054. "calcite-icon",
  22055. "calcite-link"
  22056. ],
  22057. "dependencyGraph": {
  22058. "calcite-tile": [
  22059. "calcite-icon",
  22060. "calcite-link"
  22061. ],
  22062. "calcite-link": [
  22063. "calcite-icon"
  22064. ],
  22065. "calcite-tile-select": [
  22066. "calcite-tile"
  22067. ]
  22068. }
  22069. },
  22070. {
  22071. "filePath": "./src/components/tile-select/tile-select.tsx",
  22072. "encapsulation": "shadow",
  22073. "tag": "calcite-tile-select",
  22074. "readme": "# calcite-tile-select\n",
  22075. "docs": "",
  22076. "docsTags": [
  22077. {
  22078. "name": "slot",
  22079. "text": "- A slot for adding custom content."
  22080. }
  22081. ],
  22082. "usage": {
  22083. "Basic": "```html\n<calcite-tile-select\n checked\n input-enabled\n description=\"Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collab on thinking to further the overall.\"\n heading=\"Tile heading lorem ipsum\"\n icon=\"layer\"\n input-alignment=\"end\"\n type=\"radio\"\n value=\"one\"\n></calcite-tile-select>\n```\n"
  22084. },
  22085. "props": [
  22086. {
  22087. "name": "checked",
  22088. "type": "boolean",
  22089. "mutable": true,
  22090. "attr": "checked",
  22091. "reflectToAttr": true,
  22092. "docs": "When `true`, the component is checked.",
  22093. "docsTags": [],
  22094. "default": "false",
  22095. "values": [
  22096. {
  22097. "type": "boolean"
  22098. }
  22099. ],
  22100. "optional": false,
  22101. "required": false
  22102. },
  22103. {
  22104. "name": "description",
  22105. "type": "string",
  22106. "mutable": false,
  22107. "attr": "description",
  22108. "reflectToAttr": true,
  22109. "docs": "A description for the component, which displays below the heading.",
  22110. "docsTags": [],
  22111. "values": [
  22112. {
  22113. "type": "string"
  22114. }
  22115. ],
  22116. "optional": true,
  22117. "required": false
  22118. },
  22119. {
  22120. "name": "disabled",
  22121. "type": "boolean",
  22122. "mutable": false,
  22123. "attr": "disabled",
  22124. "reflectToAttr": true,
  22125. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  22126. "docsTags": [],
  22127. "default": "false",
  22128. "values": [
  22129. {
  22130. "type": "boolean"
  22131. }
  22132. ],
  22133. "optional": false,
  22134. "required": false
  22135. },
  22136. {
  22137. "name": "heading",
  22138. "type": "string",
  22139. "mutable": false,
  22140. "attr": "heading",
  22141. "reflectToAttr": true,
  22142. "docs": "The component header text, which displays between the icon and description.",
  22143. "docsTags": [],
  22144. "values": [
  22145. {
  22146. "type": "string"
  22147. }
  22148. ],
  22149. "optional": true,
  22150. "required": false
  22151. },
  22152. {
  22153. "name": "hidden",
  22154. "type": "boolean",
  22155. "mutable": false,
  22156. "attr": "hidden",
  22157. "reflectToAttr": true,
  22158. "docs": "When `true`, the component is not displayed and is not focusable or checkable.",
  22159. "docsTags": [],
  22160. "default": "false",
  22161. "values": [
  22162. {
  22163. "type": "boolean"
  22164. }
  22165. ],
  22166. "optional": false,
  22167. "required": false
  22168. },
  22169. {
  22170. "name": "icon",
  22171. "type": "string",
  22172. "mutable": false,
  22173. "attr": "icon",
  22174. "reflectToAttr": true,
  22175. "docs": "Specifies an icon to display.",
  22176. "docsTags": [],
  22177. "values": [
  22178. {
  22179. "type": "string"
  22180. }
  22181. ],
  22182. "optional": true,
  22183. "required": false
  22184. },
  22185. {
  22186. "name": "inputAlignment",
  22187. "type": "\"end\" | \"start\"",
  22188. "mutable": false,
  22189. "attr": "input-alignment",
  22190. "reflectToAttr": true,
  22191. "docs": "When `inputEnabled` is `true`, specifies the placement of the interactive input on the component.",
  22192. "docsTags": [],
  22193. "default": "\"start\"",
  22194. "values": [
  22195. {
  22196. "value": "end",
  22197. "type": "string"
  22198. },
  22199. {
  22200. "value": "start",
  22201. "type": "string"
  22202. }
  22203. ],
  22204. "optional": false,
  22205. "required": false
  22206. },
  22207. {
  22208. "name": "inputEnabled",
  22209. "type": "boolean",
  22210. "mutable": false,
  22211. "attr": "input-enabled",
  22212. "reflectToAttr": true,
  22213. "docs": "When `true`, displays an interactive input based on the `type` property.",
  22214. "docsTags": [],
  22215. "default": "false",
  22216. "values": [
  22217. {
  22218. "type": "boolean"
  22219. }
  22220. ],
  22221. "optional": false,
  22222. "required": false
  22223. },
  22224. {
  22225. "name": "name",
  22226. "type": "any",
  22227. "mutable": false,
  22228. "attr": "name",
  22229. "reflectToAttr": true,
  22230. "docs": "Specifies the name of the component on form submission.",
  22231. "docsTags": [],
  22232. "values": [
  22233. {
  22234. "type": "any"
  22235. }
  22236. ],
  22237. "optional": false,
  22238. "required": false
  22239. },
  22240. {
  22241. "name": "type",
  22242. "type": "\"checkbox\" | \"radio\"",
  22243. "mutable": false,
  22244. "attr": "type",
  22245. "reflectToAttr": true,
  22246. "docs": "The selection mode of the component.\n\nUse radio for single selection, and checkbox for multiple selections.",
  22247. "docsTags": [],
  22248. "default": "\"radio\"",
  22249. "values": [
  22250. {
  22251. "value": "checkbox",
  22252. "type": "string"
  22253. },
  22254. {
  22255. "value": "radio",
  22256. "type": "string"
  22257. }
  22258. ],
  22259. "optional": false,
  22260. "required": false
  22261. },
  22262. {
  22263. "name": "value",
  22264. "type": "any",
  22265. "mutable": false,
  22266. "attr": "value",
  22267. "reflectToAttr": false,
  22268. "docs": "The component's value.",
  22269. "docsTags": [],
  22270. "values": [
  22271. {
  22272. "type": "any"
  22273. }
  22274. ],
  22275. "optional": true,
  22276. "required": false
  22277. },
  22278. {
  22279. "name": "width",
  22280. "type": "\"auto\" | \"full\"",
  22281. "mutable": false,
  22282. "attr": "width",
  22283. "reflectToAttr": true,
  22284. "docs": "Specifies the width of the component.",
  22285. "docsTags": [],
  22286. "default": "\"auto\"",
  22287. "values": [
  22288. {
  22289. "value": "auto",
  22290. "type": "string"
  22291. },
  22292. {
  22293. "value": "full",
  22294. "type": "string"
  22295. }
  22296. ],
  22297. "optional": false,
  22298. "required": false
  22299. }
  22300. ],
  22301. "methods": [
  22302. {
  22303. "name": "setFocus",
  22304. "returns": {
  22305. "type": "Promise<void>",
  22306. "docs": ""
  22307. },
  22308. "signature": "setFocus() => Promise<void>",
  22309. "parameters": [],
  22310. "docs": "Sets focus on the component.",
  22311. "docsTags": []
  22312. }
  22313. ],
  22314. "events": [
  22315. {
  22316. "event": "calciteTileSelectChange",
  22317. "detail": "void",
  22318. "bubbles": true,
  22319. "cancelable": false,
  22320. "composed": true,
  22321. "docs": "Emits a custom change event.\n\nFor checkboxes it emits when checked or unchecked.\n\nFor radios it only emits when checked.",
  22322. "docsTags": []
  22323. }
  22324. ],
  22325. "listeners": [
  22326. {
  22327. "event": "calciteCheckboxChange",
  22328. "capture": false,
  22329. "passive": false
  22330. },
  22331. {
  22332. "event": "calciteInternalCheckboxFocus",
  22333. "capture": false,
  22334. "passive": false
  22335. },
  22336. {
  22337. "event": "calciteInternalCheckboxBlur",
  22338. "capture": false,
  22339. "passive": false
  22340. },
  22341. {
  22342. "event": "calciteRadioButtonChange",
  22343. "capture": false,
  22344. "passive": false
  22345. },
  22346. {
  22347. "event": "calciteInternalRadioButtonCheckedChange",
  22348. "capture": false,
  22349. "passive": false
  22350. },
  22351. {
  22352. "event": "calciteInternalRadioButtonFocus",
  22353. "capture": false,
  22354. "passive": false
  22355. },
  22356. {
  22357. "event": "calciteInternalRadioButtonBlur",
  22358. "capture": false,
  22359. "passive": false
  22360. },
  22361. {
  22362. "event": "click",
  22363. "capture": false,
  22364. "passive": false
  22365. },
  22366. {
  22367. "event": "pointerenter",
  22368. "capture": false,
  22369. "passive": true
  22370. },
  22371. {
  22372. "event": "pointerleave",
  22373. "capture": false,
  22374. "passive": true
  22375. }
  22376. ],
  22377. "styles": [],
  22378. "slots": [
  22379. {
  22380. "name": "",
  22381. "docs": "A slot for adding custom content."
  22382. }
  22383. ],
  22384. "parts": [],
  22385. "dependents": [],
  22386. "dependencies": [
  22387. "calcite-tile"
  22388. ],
  22389. "dependencyGraph": {
  22390. "calcite-tile-select": [
  22391. "calcite-tile"
  22392. ],
  22393. "calcite-tile": [
  22394. "calcite-icon",
  22395. "calcite-link"
  22396. ],
  22397. "calcite-link": [
  22398. "calcite-icon"
  22399. ]
  22400. }
  22401. },
  22402. {
  22403. "filePath": "./src/components/tile-select-group/tile-select-group.tsx",
  22404. "encapsulation": "shadow",
  22405. "tag": "calcite-tile-select-group",
  22406. "readme": "# calcite-tile-select-group\n",
  22407. "docs": "",
  22408. "docsTags": [
  22409. {
  22410. "name": "slot",
  22411. "text": "- A slot for adding `calcite-tile-select`s."
  22412. }
  22413. ],
  22414. "usage": {},
  22415. "props": [
  22416. {
  22417. "name": "disabled",
  22418. "type": "boolean",
  22419. "mutable": false,
  22420. "attr": "disabled",
  22421. "reflectToAttr": true,
  22422. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  22423. "docsTags": [],
  22424. "default": "false",
  22425. "values": [
  22426. {
  22427. "type": "boolean"
  22428. }
  22429. ],
  22430. "optional": false,
  22431. "required": false
  22432. },
  22433. {
  22434. "name": "layout",
  22435. "type": "\"horizontal\" | \"vertical\"",
  22436. "mutable": false,
  22437. "attr": "layout",
  22438. "reflectToAttr": true,
  22439. "docs": "Defines the layout of the component.\n\nUse `\"horizontal\"` for rows, and `\"vertical\"` for a single column.",
  22440. "docsTags": [],
  22441. "default": "\"horizontal\"",
  22442. "values": [
  22443. {
  22444. "value": "horizontal",
  22445. "type": "string"
  22446. },
  22447. {
  22448. "value": "vertical",
  22449. "type": "string"
  22450. }
  22451. ],
  22452. "optional": true,
  22453. "required": false
  22454. }
  22455. ],
  22456. "methods": [],
  22457. "events": [],
  22458. "listeners": [],
  22459. "styles": [],
  22460. "slots": [
  22461. {
  22462. "name": "",
  22463. "docs": "A slot for adding `calcite-tile-select`s."
  22464. }
  22465. ],
  22466. "parts": [],
  22467. "dependents": [],
  22468. "dependencies": [],
  22469. "dependencyGraph": {}
  22470. },
  22471. {
  22472. "filePath": "./src/components/time-picker/time-picker.tsx",
  22473. "encapsulation": "shadow",
  22474. "tag": "calcite-time-picker",
  22475. "readme": "# calcite-time-picker\n",
  22476. "docs": "",
  22477. "docsTags": [],
  22478. "usage": {},
  22479. "props": [
  22480. {
  22481. "name": "intlHour",
  22482. "type": "string",
  22483. "mutable": false,
  22484. "attr": "intl-hour",
  22485. "reflectToAttr": false,
  22486. "docs": "Accessible name for the component's hour input.",
  22487. "docsTags": [
  22488. {
  22489. "name": "default",
  22490. "text": "\"Hour\""
  22491. }
  22492. ],
  22493. "default": "TEXT.hour",
  22494. "values": [
  22495. {
  22496. "type": "string"
  22497. }
  22498. ],
  22499. "optional": false,
  22500. "required": false
  22501. },
  22502. {
  22503. "name": "intlHourDown",
  22504. "type": "string",
  22505. "mutable": false,
  22506. "attr": "intl-hour-down",
  22507. "reflectToAttr": false,
  22508. "docs": "Accessible name for the component's hour down button.",
  22509. "docsTags": [
  22510. {
  22511. "name": "default",
  22512. "text": "\"Decrease hour\""
  22513. }
  22514. ],
  22515. "default": "TEXT.hourDown",
  22516. "values": [
  22517. {
  22518. "type": "string"
  22519. }
  22520. ],
  22521. "optional": false,
  22522. "required": false
  22523. },
  22524. {
  22525. "name": "intlHourUp",
  22526. "type": "string",
  22527. "mutable": false,
  22528. "attr": "intl-hour-up",
  22529. "reflectToAttr": false,
  22530. "docs": "Accessible name for the component's hour up button.",
  22531. "docsTags": [
  22532. {
  22533. "name": "default",
  22534. "text": "\"Increase hour\""
  22535. }
  22536. ],
  22537. "default": "TEXT.hourUp",
  22538. "values": [
  22539. {
  22540. "type": "string"
  22541. }
  22542. ],
  22543. "optional": false,
  22544. "required": false
  22545. },
  22546. {
  22547. "name": "intlMeridiem",
  22548. "type": "string",
  22549. "mutable": false,
  22550. "attr": "intl-meridiem",
  22551. "reflectToAttr": false,
  22552. "docs": "Accessible name for the component's meridiem (AM/PM) input.",
  22553. "docsTags": [
  22554. {
  22555. "name": "default",
  22556. "text": "\"AM/PM\""
  22557. }
  22558. ],
  22559. "default": "TEXT.meridiem",
  22560. "values": [
  22561. {
  22562. "type": "string"
  22563. }
  22564. ],
  22565. "optional": false,
  22566. "required": false
  22567. },
  22568. {
  22569. "name": "intlMeridiemDown",
  22570. "type": "string",
  22571. "mutable": false,
  22572. "attr": "intl-meridiem-down",
  22573. "reflectToAttr": false,
  22574. "docs": "Accessible name for the component's meridiem (AM/PM) down button.",
  22575. "docsTags": [
  22576. {
  22577. "name": "default",
  22578. "text": "\"Decrease AM/PM\""
  22579. }
  22580. ],
  22581. "default": "TEXT.meridiemDown",
  22582. "values": [
  22583. {
  22584. "type": "string"
  22585. }
  22586. ],
  22587. "optional": false,
  22588. "required": false
  22589. },
  22590. {
  22591. "name": "intlMeridiemUp",
  22592. "type": "string",
  22593. "mutable": false,
  22594. "attr": "intl-meridiem-up",
  22595. "reflectToAttr": false,
  22596. "docs": "Accessible name for the component's meridiem (AM/PM) up button.",
  22597. "docsTags": [
  22598. {
  22599. "name": "default",
  22600. "text": "\"Increase AM/PM\""
  22601. }
  22602. ],
  22603. "default": "TEXT.meridiemUp",
  22604. "values": [
  22605. {
  22606. "type": "string"
  22607. }
  22608. ],
  22609. "optional": false,
  22610. "required": false
  22611. },
  22612. {
  22613. "name": "intlMinute",
  22614. "type": "string",
  22615. "mutable": false,
  22616. "attr": "intl-minute",
  22617. "reflectToAttr": false,
  22618. "docs": "Accessible name for the component's minute input.",
  22619. "docsTags": [
  22620. {
  22621. "name": "default",
  22622. "text": "\"Minute\""
  22623. }
  22624. ],
  22625. "default": "TEXT.minute",
  22626. "values": [
  22627. {
  22628. "type": "string"
  22629. }
  22630. ],
  22631. "optional": false,
  22632. "required": false
  22633. },
  22634. {
  22635. "name": "intlMinuteDown",
  22636. "type": "string",
  22637. "mutable": false,
  22638. "attr": "intl-minute-down",
  22639. "reflectToAttr": false,
  22640. "docs": "Accessible name for the component's minute down button.",
  22641. "docsTags": [
  22642. {
  22643. "name": "default",
  22644. "text": "\"Decrease minute\""
  22645. }
  22646. ],
  22647. "default": "TEXT.minuteDown",
  22648. "values": [
  22649. {
  22650. "type": "string"
  22651. }
  22652. ],
  22653. "optional": false,
  22654. "required": false
  22655. },
  22656. {
  22657. "name": "intlMinuteUp",
  22658. "type": "string",
  22659. "mutable": false,
  22660. "attr": "intl-minute-up",
  22661. "reflectToAttr": false,
  22662. "docs": "Accessible name for the component's minute up button.",
  22663. "docsTags": [
  22664. {
  22665. "name": "default",
  22666. "text": "\"Increase minute\""
  22667. }
  22668. ],
  22669. "default": "TEXT.minuteUp",
  22670. "values": [
  22671. {
  22672. "type": "string"
  22673. }
  22674. ],
  22675. "optional": false,
  22676. "required": false
  22677. },
  22678. {
  22679. "name": "intlSecond",
  22680. "type": "string",
  22681. "mutable": false,
  22682. "attr": "intl-second",
  22683. "reflectToAttr": false,
  22684. "docs": "Accessible name for the component's second input.",
  22685. "docsTags": [
  22686. {
  22687. "name": "default",
  22688. "text": "\"Second\""
  22689. }
  22690. ],
  22691. "default": "TEXT.second",
  22692. "values": [
  22693. {
  22694. "type": "string"
  22695. }
  22696. ],
  22697. "optional": false,
  22698. "required": false
  22699. },
  22700. {
  22701. "name": "intlSecondDown",
  22702. "type": "string",
  22703. "mutable": false,
  22704. "attr": "intl-second-down",
  22705. "reflectToAttr": false,
  22706. "docs": "Accessible name for the component's second down button.",
  22707. "docsTags": [
  22708. {
  22709. "name": "default",
  22710. "text": "\"Decrease second\""
  22711. }
  22712. ],
  22713. "default": "TEXT.secondDown",
  22714. "values": [
  22715. {
  22716. "type": "string"
  22717. }
  22718. ],
  22719. "optional": false,
  22720. "required": false
  22721. },
  22722. {
  22723. "name": "intlSecondUp",
  22724. "type": "string",
  22725. "mutable": false,
  22726. "attr": "intl-second-up",
  22727. "reflectToAttr": false,
  22728. "docs": "Accessible name for the component's second up button.",
  22729. "docsTags": [
  22730. {
  22731. "name": "default",
  22732. "text": "\"Increase second\""
  22733. }
  22734. ],
  22735. "default": "TEXT.secondUp",
  22736. "values": [
  22737. {
  22738. "type": "string"
  22739. }
  22740. ],
  22741. "optional": false,
  22742. "required": false
  22743. },
  22744. {
  22745. "name": "numberingSystem",
  22746. "type": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
  22747. "mutable": false,
  22748. "attr": "numbering-system",
  22749. "reflectToAttr": false,
  22750. "docs": "Specifies the Unicode numeral system used by the component for localization.",
  22751. "docsTags": [],
  22752. "values": [
  22753. {
  22754. "value": "arab",
  22755. "type": "string"
  22756. },
  22757. {
  22758. "value": "arabext",
  22759. "type": "string"
  22760. },
  22761. {
  22762. "value": "bali",
  22763. "type": "string"
  22764. },
  22765. {
  22766. "value": "beng",
  22767. "type": "string"
  22768. },
  22769. {
  22770. "value": "deva",
  22771. "type": "string"
  22772. },
  22773. {
  22774. "value": "fullwide",
  22775. "type": "string"
  22776. },
  22777. {
  22778. "value": "gujr",
  22779. "type": "string"
  22780. },
  22781. {
  22782. "value": "guru",
  22783. "type": "string"
  22784. },
  22785. {
  22786. "value": "hanidec",
  22787. "type": "string"
  22788. },
  22789. {
  22790. "value": "khmr",
  22791. "type": "string"
  22792. },
  22793. {
  22794. "value": "knda",
  22795. "type": "string"
  22796. },
  22797. {
  22798. "value": "laoo",
  22799. "type": "string"
  22800. },
  22801. {
  22802. "value": "latn",
  22803. "type": "string"
  22804. },
  22805. {
  22806. "value": "limb",
  22807. "type": "string"
  22808. },
  22809. {
  22810. "value": "mlym",
  22811. "type": "string"
  22812. },
  22813. {
  22814. "value": "mong",
  22815. "type": "string"
  22816. },
  22817. {
  22818. "value": "mymr",
  22819. "type": "string"
  22820. },
  22821. {
  22822. "value": "orya",
  22823. "type": "string"
  22824. },
  22825. {
  22826. "value": "tamldec",
  22827. "type": "string"
  22828. },
  22829. {
  22830. "value": "telu",
  22831. "type": "string"
  22832. },
  22833. {
  22834. "value": "thai",
  22835. "type": "string"
  22836. },
  22837. {
  22838. "value": "tibt",
  22839. "type": "string"
  22840. }
  22841. ],
  22842. "optional": true,
  22843. "required": false
  22844. },
  22845. {
  22846. "name": "scale",
  22847. "type": "\"l\" | \"m\" | \"s\"",
  22848. "mutable": false,
  22849. "attr": "scale",
  22850. "reflectToAttr": true,
  22851. "docs": "Specifies the size of the component.",
  22852. "docsTags": [],
  22853. "default": "\"m\"",
  22854. "values": [
  22855. {
  22856. "value": "l",
  22857. "type": "string"
  22858. },
  22859. {
  22860. "value": "m",
  22861. "type": "string"
  22862. },
  22863. {
  22864. "value": "s",
  22865. "type": "string"
  22866. }
  22867. ],
  22868. "optional": false,
  22869. "required": false
  22870. },
  22871. {
  22872. "name": "step",
  22873. "type": "number",
  22874. "mutable": false,
  22875. "attr": "step",
  22876. "reflectToAttr": true,
  22877. "docs": "Specifies the granularity the `value` must adhere to (in seconds).",
  22878. "docsTags": [],
  22879. "default": "60",
  22880. "values": [
  22881. {
  22882. "type": "number"
  22883. }
  22884. ],
  22885. "optional": false,
  22886. "required": false
  22887. },
  22888. {
  22889. "name": "value",
  22890. "type": "string",
  22891. "mutable": true,
  22892. "attr": "value",
  22893. "reflectToAttr": false,
  22894. "docs": "The component's value in UTC (always 24-hour format).",
  22895. "docsTags": [],
  22896. "default": "null",
  22897. "values": [
  22898. {
  22899. "type": "string"
  22900. }
  22901. ],
  22902. "optional": false,
  22903. "required": false
  22904. }
  22905. ],
  22906. "methods": [
  22907. {
  22908. "name": "setFocus",
  22909. "returns": {
  22910. "type": "Promise<void>",
  22911. "docs": ""
  22912. },
  22913. "signature": "setFocus(target: TimePart) => Promise<void>",
  22914. "parameters": [],
  22915. "docs": "Sets focus on the component.",
  22916. "docsTags": [
  22917. {
  22918. "name": "param",
  22919. "text": "target"
  22920. }
  22921. ]
  22922. }
  22923. ],
  22924. "events": [],
  22925. "listeners": [
  22926. {
  22927. "event": "blur",
  22928. "capture": false,
  22929. "passive": false
  22930. },
  22931. {
  22932. "event": "focus",
  22933. "capture": false,
  22934. "passive": false
  22935. },
  22936. {
  22937. "event": "keydown",
  22938. "capture": false,
  22939. "passive": false
  22940. }
  22941. ],
  22942. "styles": [],
  22943. "slots": [],
  22944. "parts": [],
  22945. "dependents": [
  22946. "calcite-input-time-picker"
  22947. ],
  22948. "dependencies": [
  22949. "calcite-icon"
  22950. ],
  22951. "dependencyGraph": {
  22952. "calcite-time-picker": [
  22953. "calcite-icon"
  22954. ],
  22955. "calcite-input-time-picker": [
  22956. "calcite-time-picker"
  22957. ]
  22958. }
  22959. },
  22960. {
  22961. "filePath": "./src/components/tip/tip.tsx",
  22962. "encapsulation": "shadow",
  22963. "tag": "calcite-tip",
  22964. "readme": "# calcite-tip\n\nThe `calcite-tip` component can comprise of an image, text and hyperlink to give helpful hints to a user about using the platform.\n",
  22965. "docs": "The `calcite-tip` component can comprise of an image, text and hyperlink to give helpful hints to a user about using the platform.",
  22966. "docsTags": [
  22967. {
  22968. "name": "slot",
  22969. "text": "- A slot for adding text and a hyperlink."
  22970. },
  22971. {
  22972. "name": "slot",
  22973. "text": "thumbnail - A slot for adding an HTML image element."
  22974. }
  22975. ],
  22976. "usage": {
  22977. "Basic": "Renders a non-dismissible tip with a heading, thumbnail, info and a link.\n\n```html\n<calcite-tip non-dismissible heading=\"Celestial Bodies!\">\n <img slot=\"thumbnail\" src=\"https://placeimg.com/1000/600\" alt=\"This is an image of nature.\" />\n <p>Normal tip with a landscape or square image and a small amount of text in the \"info\" slot.</p>\n <a href=\"http://www.esri.com\">Put a link hurr!</a>\n</calcite-tip>\n```\n"
  22978. },
  22979. "props": [
  22980. {
  22981. "name": "dismissed",
  22982. "type": "boolean",
  22983. "mutable": true,
  22984. "attr": "dismissed",
  22985. "reflectToAttr": true,
  22986. "docs": "When `true`, the component does not display.",
  22987. "docsTags": [],
  22988. "default": "false",
  22989. "values": [
  22990. {
  22991. "type": "boolean"
  22992. }
  22993. ],
  22994. "optional": false,
  22995. "required": false
  22996. },
  22997. {
  22998. "name": "heading",
  22999. "type": "string",
  23000. "mutable": false,
  23001. "attr": "heading",
  23002. "reflectToAttr": false,
  23003. "docs": "The component header text.",
  23004. "docsTags": [],
  23005. "values": [
  23006. {
  23007. "type": "string"
  23008. }
  23009. ],
  23010. "optional": true,
  23011. "required": false
  23012. },
  23013. {
  23014. "name": "headingLevel",
  23015. "type": "1 | 2 | 3 | 4 | 5 | 6",
  23016. "mutable": false,
  23017. "attr": "heading-level",
  23018. "reflectToAttr": true,
  23019. "docs": "Specifies the number at which section headings should start.",
  23020. "docsTags": [],
  23021. "values": [
  23022. {
  23023. "value": "1",
  23024. "type": "number"
  23025. },
  23026. {
  23027. "value": "2",
  23028. "type": "number"
  23029. },
  23030. {
  23031. "value": "3",
  23032. "type": "number"
  23033. },
  23034. {
  23035. "value": "4",
  23036. "type": "number"
  23037. },
  23038. {
  23039. "value": "5",
  23040. "type": "number"
  23041. },
  23042. {
  23043. "value": "6",
  23044. "type": "number"
  23045. }
  23046. ],
  23047. "optional": false,
  23048. "required": false
  23049. },
  23050. {
  23051. "name": "intlClose",
  23052. "type": "string",
  23053. "mutable": false,
  23054. "attr": "intl-close",
  23055. "reflectToAttr": false,
  23056. "docs": "Accessible name for the component's close button.",
  23057. "docsTags": [],
  23058. "values": [
  23059. {
  23060. "type": "string"
  23061. }
  23062. ],
  23063. "optional": true,
  23064. "required": false
  23065. },
  23066. {
  23067. "name": "nonDismissible",
  23068. "type": "boolean",
  23069. "mutable": false,
  23070. "attr": "non-dismissible",
  23071. "reflectToAttr": true,
  23072. "docs": "When `true`, the close button is not present on the component.",
  23073. "docsTags": [],
  23074. "default": "false",
  23075. "values": [
  23076. {
  23077. "type": "boolean"
  23078. }
  23079. ],
  23080. "optional": false,
  23081. "required": false
  23082. },
  23083. {
  23084. "name": "selected",
  23085. "type": "boolean",
  23086. "mutable": false,
  23087. "attr": "selected",
  23088. "reflectToAttr": true,
  23089. "docs": "When `true`, the component is selected if it has a parent `calcite-tip-manager`.\n\nOnly one tip can be selected within the `calcite-tip-manager` parent.",
  23090. "docsTags": [],
  23091. "default": "false",
  23092. "values": [
  23093. {
  23094. "type": "boolean"
  23095. }
  23096. ],
  23097. "optional": false,
  23098. "required": false
  23099. }
  23100. ],
  23101. "methods": [],
  23102. "events": [
  23103. {
  23104. "event": "calciteTipDismiss",
  23105. "detail": "void",
  23106. "bubbles": true,
  23107. "cancelable": false,
  23108. "composed": true,
  23109. "docs": "Emits when the component has been dismissed.",
  23110. "docsTags": []
  23111. }
  23112. ],
  23113. "listeners": [],
  23114. "styles": [],
  23115. "slots": [
  23116. {
  23117. "name": "",
  23118. "docs": "A slot for adding text and a hyperlink."
  23119. },
  23120. {
  23121. "name": "thumbnail",
  23122. "docs": "A slot for adding an HTML image element."
  23123. }
  23124. ],
  23125. "parts": [],
  23126. "dependents": [],
  23127. "dependencies": [
  23128. "calcite-action"
  23129. ],
  23130. "dependencyGraph": {
  23131. "calcite-tip": [
  23132. "calcite-action"
  23133. ],
  23134. "calcite-action": [
  23135. "calcite-loader",
  23136. "calcite-icon"
  23137. ]
  23138. }
  23139. },
  23140. {
  23141. "filePath": "./src/components/tip-group/tip-group.tsx",
  23142. "encapsulation": "shadow",
  23143. "tag": "calcite-tip-group",
  23144. "readme": "# calcite-tip-group\n\n`calcite-tip-group` is a wrapper for multiple `calcite-tip`s and is housed in `calcite-tip-manager`.\n",
  23145. "docs": "`calcite-tip-group` is a wrapper for multiple `calcite-tip`s and is housed in `calcite-tip-manager`.",
  23146. "docsTags": [
  23147. {
  23148. "name": "slot",
  23149. "text": "- A slot for adding `calcite-tip`s."
  23150. }
  23151. ],
  23152. "usage": {},
  23153. "props": [
  23154. {
  23155. "name": "groupTitle",
  23156. "type": "string",
  23157. "mutable": false,
  23158. "attr": "group-title",
  23159. "reflectToAttr": false,
  23160. "docs": "The component header text for all nested `calcite-tip`s.",
  23161. "docsTags": [],
  23162. "values": [
  23163. {
  23164. "type": "string"
  23165. }
  23166. ],
  23167. "optional": true,
  23168. "required": false
  23169. }
  23170. ],
  23171. "methods": [],
  23172. "events": [],
  23173. "listeners": [],
  23174. "styles": [],
  23175. "slots": [
  23176. {
  23177. "name": "",
  23178. "docs": "A slot for adding `calcite-tip`s."
  23179. }
  23180. ],
  23181. "parts": [],
  23182. "dependents": [],
  23183. "dependencies": [],
  23184. "dependencyGraph": {}
  23185. },
  23186. {
  23187. "filePath": "./src/components/tip-manager/tip-manager.tsx",
  23188. "encapsulation": "shadow",
  23189. "tag": "calcite-tip-manager",
  23190. "readme": "# calcite-tip-manager\n\nThe `calcite-tip-manager` component contains multiple `calcite-tip`s that a user can view through via interactive arrows to go back and forth through the tips in the deck.\n",
  23191. "docs": "The `calcite-tip-manager` component contains multiple `calcite-tip`s that a user can view through via interactive arrows to go back and forth through the tips in the deck.",
  23192. "docsTags": [
  23193. {
  23194. "name": "slot",
  23195. "text": "- A slot for adding `calcite-tip`s."
  23196. }
  23197. ],
  23198. "usage": {
  23199. "Basic": "Renders a tip manager using a group of tips as well as a single tip.\n\n```html\n<calcite-tip-manager>\n <calcite-tip-group group-title=\"Tip Manager heading\">\n <calcite-tip heading=\"Tip heading\" selected>\n <img slot=\"thumbnail\" src=\"https://placeimg.com/200/200\" alt=\"This is an image.\" />\n <p>\n Tip description lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua.\n </p>\n <p>\n This is another slotted paragraph. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n aliquip ex ea commodo consequat.\n </p>\n <calcite-link href=\"https://www.esri.com\" target=\"_blank\" rel=\"noopener noreferrer\">A calcite-link</calcite-link>\n </calcite-tip>\n <calcite-tip heading=\"The Long Trees\" hidden>\n <img slot=\"thumbnail\" src=\"https://placeimg.com/200/200\" alt=\"This is an image.\" />\n <p>This tip has an image that is a pretty tall. And the text will run out before the end of the image.</p>\n <p>In astronomy, the terms object and body are often used interchangeably.</p>\n <calcite-link href=\"https://www.esri.com\" target=\"_blank\" rel=\"noopener noreferrer\">A calcite-link</calcite-link>\n </calcite-tip>\n </calcite-tip-group>\n <calcite-tip heading=\"Square Nature\" hidden>\n <img slot=\"thumbnail\" src=\"https://placeimg.com/200/200\" alt=\"This is an image.\" />\n <p>This tip has an image that is square. And the text will run out before the end of the image.</p>\n <p>In astronomy, the terms object and body are often used interchangeably.</p>\n <p>\n In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form\n of a document without relying on meaningful content (also called greeking). Replacing the actual content with\n placeholder text allows designers to design the form of the content before the content itself has been produced.\n </p>\n <calcite-link href=\"https://www.esri.com\" target=\"_blank\" rel=\"noopener noreferrer\">A calcite-link</calcite-link>\n </calcite-tip>\n <calcite-tip heading=\"The lack of imagery\" hidden>\n <p>This tip has no image. As such, the content area will take up the entire width of the tip.</p>\n <p>\n This is the next paragraph and should show how wide the content area is now. Of course, the width of the overall\n tip will affect things. In astronomy, the terms object and body are often used interchangeably.\n </p>\n <calcite-link href=\"https://www.esri.com\" target=\"_blank\" rel=\"noopener noreferrer\">A calcite-link</calcite-link>\n </calcite-tip>\n</calcite-tip-manager>\n```\n"
  23200. },
  23201. "props": [
  23202. {
  23203. "name": "closed",
  23204. "type": "boolean",
  23205. "mutable": true,
  23206. "attr": "closed",
  23207. "reflectToAttr": true,
  23208. "docs": "When `true`, does not display or position the component.",
  23209. "docsTags": [],
  23210. "default": "false",
  23211. "values": [
  23212. {
  23213. "type": "boolean"
  23214. }
  23215. ],
  23216. "optional": false,
  23217. "required": false
  23218. },
  23219. {
  23220. "name": "headingLevel",
  23221. "type": "1 | 2 | 3 | 4 | 5 | 6",
  23222. "mutable": false,
  23223. "attr": "heading-level",
  23224. "reflectToAttr": true,
  23225. "docs": "Specifies the number at which section headings should start.",
  23226. "docsTags": [],
  23227. "values": [
  23228. {
  23229. "value": "1",
  23230. "type": "number"
  23231. },
  23232. {
  23233. "value": "2",
  23234. "type": "number"
  23235. },
  23236. {
  23237. "value": "3",
  23238. "type": "number"
  23239. },
  23240. {
  23241. "value": "4",
  23242. "type": "number"
  23243. },
  23244. {
  23245. "value": "5",
  23246. "type": "number"
  23247. },
  23248. {
  23249. "value": "6",
  23250. "type": "number"
  23251. }
  23252. ],
  23253. "optional": false,
  23254. "required": false
  23255. },
  23256. {
  23257. "name": "intlClose",
  23258. "type": "string",
  23259. "mutable": false,
  23260. "attr": "intl-close",
  23261. "reflectToAttr": false,
  23262. "docs": "Accessible name for the component's close button.",
  23263. "docsTags": [],
  23264. "values": [
  23265. {
  23266. "type": "string"
  23267. }
  23268. ],
  23269. "optional": true,
  23270. "required": false
  23271. },
  23272. {
  23273. "name": "intlDefaultTitle",
  23274. "type": "string",
  23275. "mutable": false,
  23276. "attr": "intl-default-title",
  23277. "reflectToAttr": false,
  23278. "docs": "Accessible name for the `calcite-tip-group` title.",
  23279. "docsTags": [],
  23280. "values": [
  23281. {
  23282. "type": "string"
  23283. }
  23284. ],
  23285. "optional": true,
  23286. "required": false
  23287. },
  23288. {
  23289. "name": "intlNext",
  23290. "type": "string",
  23291. "mutable": false,
  23292. "attr": "intl-next",
  23293. "reflectToAttr": false,
  23294. "docs": "Accessible name for navigating to the next tip.",
  23295. "docsTags": [],
  23296. "values": [
  23297. {
  23298. "type": "string"
  23299. }
  23300. ],
  23301. "optional": true,
  23302. "required": false
  23303. },
  23304. {
  23305. "name": "intlPaginationLabel",
  23306. "type": "string",
  23307. "mutable": false,
  23308. "attr": "intl-pagination-label",
  23309. "reflectToAttr": false,
  23310. "docs": "Text that accompanies the component's pagination.",
  23311. "docsTags": [],
  23312. "values": [
  23313. {
  23314. "type": "string"
  23315. }
  23316. ],
  23317. "optional": true,
  23318. "required": false
  23319. },
  23320. {
  23321. "name": "intlPrevious",
  23322. "type": "string",
  23323. "mutable": false,
  23324. "attr": "intl-previous",
  23325. "reflectToAttr": false,
  23326. "docs": "Accessible name for navigating to the previous tip.",
  23327. "docsTags": [],
  23328. "values": [
  23329. {
  23330. "type": "string"
  23331. }
  23332. ],
  23333. "optional": true,
  23334. "required": false
  23335. }
  23336. ],
  23337. "methods": [
  23338. {
  23339. "name": "nextTip",
  23340. "returns": {
  23341. "type": "Promise<void>",
  23342. "docs": ""
  23343. },
  23344. "signature": "nextTip() => Promise<void>",
  23345. "parameters": [],
  23346. "docs": "Selects the next `calcite-tip` to display.",
  23347. "docsTags": []
  23348. },
  23349. {
  23350. "name": "previousTip",
  23351. "returns": {
  23352. "type": "Promise<void>",
  23353. "docs": ""
  23354. },
  23355. "signature": "previousTip() => Promise<void>",
  23356. "parameters": [],
  23357. "docs": "Selects the previous `calcite-tip` to display.",
  23358. "docsTags": []
  23359. }
  23360. ],
  23361. "events": [
  23362. {
  23363. "event": "calciteTipManagerClose",
  23364. "detail": "void",
  23365. "bubbles": true,
  23366. "cancelable": false,
  23367. "composed": true,
  23368. "docs": "Emits when the component has been closed.",
  23369. "docsTags": []
  23370. },
  23371. {
  23372. "event": "calciteTipManagerToggle",
  23373. "detail": "void",
  23374. "bubbles": true,
  23375. "cancelable": false,
  23376. "composed": true,
  23377. "docs": "Emits when the component has been open or closed.",
  23378. "docsTags": [
  23379. {
  23380. "name": "deprecated",
  23381. "text": "use `calciteTipManagerClose` instead."
  23382. }
  23383. ],
  23384. "deprecation": "use `calciteTipManagerClose` instead."
  23385. }
  23386. ],
  23387. "listeners": [],
  23388. "styles": [
  23389. {
  23390. "name": "--calcite-tip-manager-height",
  23391. "annotation": "prop",
  23392. "docs": "The maximum height of the component."
  23393. },
  23394. {
  23395. "name": "--calcite-tip-max-width",
  23396. "annotation": "prop",
  23397. "docs": "The maximum width of a slotted `calcite-tip` within the component."
  23398. }
  23399. ],
  23400. "slots": [
  23401. {
  23402. "name": "",
  23403. "docs": "A slot for adding `calcite-tip`s."
  23404. }
  23405. ],
  23406. "parts": [],
  23407. "dependents": [],
  23408. "dependencies": [
  23409. "calcite-action",
  23410. "calcite-icon"
  23411. ],
  23412. "dependencyGraph": {
  23413. "calcite-tip-manager": [
  23414. "calcite-action",
  23415. "calcite-icon"
  23416. ],
  23417. "calcite-action": [
  23418. "calcite-loader",
  23419. "calcite-icon"
  23420. ]
  23421. }
  23422. },
  23423. {
  23424. "filePath": "./src/components/tooltip/tooltip.tsx",
  23425. "encapsulation": "shadow",
  23426. "tag": "calcite-tooltip",
  23427. "readme": "# calcite-tooltip\n",
  23428. "docs": "",
  23429. "docsTags": [
  23430. {
  23431. "name": "slot",
  23432. "text": "- A slot for adding text."
  23433. }
  23434. ],
  23435. "usage": {
  23436. "Basic": "```html\n<calcite-tooltip placement=\"auto\" reference-element=\"tooltip-button\"\n >This is the message of the tooltip</calcite-tooltip\n>\n<p>\n Lorem <a id=\"tooltip-button\" href=\"#\">ipsum</a> dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\n incididunt ut labore et dolore magna aliqua.\n</p>\n```\n",
  23437. "Virtual": "```html\n<!-- virtually positioned tooltip -->\n<calcite-tooltip id=\"virtual-tooltip\" open>This is the message of the tooltip</calcite-tooltip>\n\n<script>\n function generateGetBoundingClientRect() {\n return () => ({\n width: 0,\n height: 0,\n top: 100,\n right: 100,\n bottom: 100,\n left: 600\n });\n }\n\n const virtualElement = {\n getBoundingClientRect: generateGetBoundingClientRect()\n };\n\n const tooltip = document.getElementById(\"virtual-tooltip\");\n tooltip.referenceElement = virtualElement;\n</script>\n```\n"
  23438. },
  23439. "props": [
  23440. {
  23441. "name": "closeOnClick",
  23442. "type": "boolean",
  23443. "mutable": false,
  23444. "attr": "close-on-click",
  23445. "reflectToAttr": true,
  23446. "docs": "Closes the component when the `referenceElement` is clicked.",
  23447. "docsTags": [],
  23448. "default": "false",
  23449. "values": [
  23450. {
  23451. "type": "boolean"
  23452. }
  23453. ],
  23454. "optional": false,
  23455. "required": false
  23456. },
  23457. {
  23458. "name": "label",
  23459. "type": "string",
  23460. "mutable": false,
  23461. "attr": "label",
  23462. "reflectToAttr": false,
  23463. "docs": "Accessible name for the component.",
  23464. "docsTags": [],
  23465. "values": [
  23466. {
  23467. "type": "string"
  23468. }
  23469. ],
  23470. "optional": false,
  23471. "required": true
  23472. },
  23473. {
  23474. "name": "offsetDistance",
  23475. "type": "number",
  23476. "mutable": false,
  23477. "attr": "offset-distance",
  23478. "reflectToAttr": true,
  23479. "docs": "Offset the position of the component away from the `referenceElement`.",
  23480. "docsTags": [
  23481. {
  23482. "name": "default",
  23483. "text": "6"
  23484. }
  23485. ],
  23486. "default": "defaultOffsetDistance",
  23487. "values": [
  23488. {
  23489. "type": "number"
  23490. }
  23491. ],
  23492. "optional": false,
  23493. "required": false
  23494. },
  23495. {
  23496. "name": "offsetSkidding",
  23497. "type": "number",
  23498. "mutable": false,
  23499. "attr": "offset-skidding",
  23500. "reflectToAttr": true,
  23501. "docs": "Offset the position of the component along the `referenceElement`.",
  23502. "docsTags": [],
  23503. "default": "0",
  23504. "values": [
  23505. {
  23506. "type": "number"
  23507. }
  23508. ],
  23509. "optional": false,
  23510. "required": false
  23511. },
  23512. {
  23513. "name": "open",
  23514. "type": "boolean",
  23515. "mutable": false,
  23516. "attr": "open",
  23517. "reflectToAttr": true,
  23518. "docs": "When `true`, the component is open.",
  23519. "docsTags": [],
  23520. "default": "false",
  23521. "values": [
  23522. {
  23523. "type": "boolean"
  23524. }
  23525. ],
  23526. "optional": false,
  23527. "required": false
  23528. },
  23529. {
  23530. "name": "overlayPositioning",
  23531. "type": "\"absolute\" | \"fixed\"",
  23532. "mutable": false,
  23533. "attr": "overlay-positioning",
  23534. "reflectToAttr": true,
  23535. "docs": "Determines the type of positioning to use for the overlaid content.\n\nUsing `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n\nThe `\"fixed\"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.",
  23536. "docsTags": [],
  23537. "default": "\"absolute\"",
  23538. "values": [
  23539. {
  23540. "value": "absolute",
  23541. "type": "string"
  23542. },
  23543. {
  23544. "value": "fixed",
  23545. "type": "string"
  23546. }
  23547. ],
  23548. "optional": false,
  23549. "required": false
  23550. },
  23551. {
  23552. "name": "placement",
  23553. "type": "Placement | VariationPlacement | AutoPlacement | DeprecatedPlacement",
  23554. "mutable": false,
  23555. "attr": "placement",
  23556. "reflectToAttr": true,
  23557. "docs": "Determines where the component will be positioned relative to the `referenceElement`.",
  23558. "docsTags": [
  23559. {
  23560. "name": "see",
  23561. "text": "[LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)"
  23562. }
  23563. ],
  23564. "default": "\"auto\"",
  23565. "values": [
  23566. {
  23567. "type": "Placement"
  23568. },
  23569. {
  23570. "type": "VariationPlacement"
  23571. },
  23572. {
  23573. "type": "AutoPlacement"
  23574. },
  23575. {
  23576. "type": "DeprecatedPlacement"
  23577. }
  23578. ],
  23579. "optional": false,
  23580. "required": false
  23581. },
  23582. {
  23583. "name": "referenceElement",
  23584. "type": "Element | VirtualElement | string",
  23585. "mutable": false,
  23586. "attr": "reference-element",
  23587. "reflectToAttr": false,
  23588. "docs": "The `referenceElement` to position the component according to its `\"placement\"` value.\n\nSetting to the `HTMLElement` is preferred so the component does not need to query the DOM for the `referenceElement`.\n\nHowever, a string ID of the reference element can be used.",
  23589. "docsTags": [],
  23590. "values": [
  23591. {
  23592. "type": "Element"
  23593. },
  23594. {
  23595. "type": "VirtualElement"
  23596. },
  23597. {
  23598. "type": "string"
  23599. }
  23600. ],
  23601. "optional": false,
  23602. "required": false
  23603. }
  23604. ],
  23605. "methods": [
  23606. {
  23607. "name": "reposition",
  23608. "returns": {
  23609. "type": "Promise<void>",
  23610. "docs": ""
  23611. },
  23612. "signature": "reposition(delayed?: boolean) => Promise<void>",
  23613. "parameters": [],
  23614. "docs": "Updates the position of the component.",
  23615. "docsTags": [
  23616. {
  23617. "name": "param",
  23618. "text": "delayed"
  23619. }
  23620. ]
  23621. }
  23622. ],
  23623. "events": [],
  23624. "listeners": [],
  23625. "styles": [],
  23626. "slots": [
  23627. {
  23628. "name": "",
  23629. "docs": "A slot for adding text."
  23630. }
  23631. ],
  23632. "parts": [],
  23633. "dependents": [
  23634. "calcite-flow-item"
  23635. ],
  23636. "dependencies": [],
  23637. "dependencyGraph": {
  23638. "calcite-flow-item": [
  23639. "calcite-tooltip"
  23640. ]
  23641. }
  23642. },
  23643. {
  23644. "filePath": "./src/components/tooltip-manager/tooltip-manager.tsx",
  23645. "encapsulation": "shadow",
  23646. "tag": "calcite-tooltip-manager",
  23647. "readme": "# calcite-tooltip-manager\n",
  23648. "docs": "",
  23649. "docsTags": [
  23650. {
  23651. "name": "slot",
  23652. "text": "- A slot for adding elements that reference a `calcite-tooltip` by the `selector` property."
  23653. },
  23654. {
  23655. "name": "deprecated",
  23656. "text": "No longer required for tooltip usage."
  23657. }
  23658. ],
  23659. "usage": {},
  23660. "props": [
  23661. {
  23662. "name": "selector",
  23663. "type": "string",
  23664. "mutable": false,
  23665. "attr": "selector",
  23666. "reflectToAttr": true,
  23667. "docs": "CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.",
  23668. "docsTags": [
  23669. {
  23670. "name": "default",
  23671. "text": "`[data-calcite-tooltip-reference]`"
  23672. }
  23673. ],
  23674. "default": "\"[data-calcite-tooltip-reference]\"",
  23675. "values": [
  23676. {
  23677. "type": "string"
  23678. }
  23679. ],
  23680. "optional": false,
  23681. "required": false
  23682. }
  23683. ],
  23684. "methods": [],
  23685. "events": [],
  23686. "listeners": [],
  23687. "styles": [],
  23688. "slots": [
  23689. {
  23690. "name": "",
  23691. "docs": "A slot for adding elements that reference a `calcite-tooltip` by the `selector` property."
  23692. }
  23693. ],
  23694. "parts": [],
  23695. "dependents": [],
  23696. "dependencies": [],
  23697. "dependencyGraph": {},
  23698. "deprecation": "No longer required for tooltip usage."
  23699. },
  23700. {
  23701. "filePath": "./src/components/tree/tree.tsx",
  23702. "encapsulation": "shadow",
  23703. "tag": "calcite-tree",
  23704. "readme": "# calcite-tree\n",
  23705. "docs": "",
  23706. "docsTags": [
  23707. {
  23708. "name": "slot",
  23709. "text": "- A slot for `calcite-tree-item` elements."
  23710. }
  23711. ],
  23712. "usage": {
  23713. "Basic": "`<calcite-tree>` can be used as a sidebar navigation tree with optional lines and different selection modes.\n\n```html\n<calcite-tree>\n <calcite-tree-item>\n <a href=\"#\">Child 1</a>\n <calcite-tree slot=\"children\">\n <calcite-tree-item>\n <a href=\"#\">Grandchild 1</a>\n </calcite-tree-item>\n <calcite-tree-item>\n <a href=\"#\">Grandchild 2</a>\n </calcite-tree-item>\n </calcite-tree>\n </calcite-tree-item>\n</calcite-tree>\n```\n"
  23714. },
  23715. "props": [
  23716. {
  23717. "name": "inputEnabled",
  23718. "type": "boolean",
  23719. "mutable": false,
  23720. "attr": "input-enabled",
  23721. "reflectToAttr": false,
  23722. "docs": "Display input",
  23723. "docsTags": [
  23724. {
  23725. "name": "deprecated",
  23726. "text": "Use `selectionMode=\"ancestors\"` for checkbox input."
  23727. }
  23728. ],
  23729. "default": "false",
  23730. "deprecation": "Use `selectionMode=\"ancestors\"` for checkbox input.",
  23731. "values": [
  23732. {
  23733. "type": "boolean"
  23734. }
  23735. ],
  23736. "optional": false,
  23737. "required": false
  23738. },
  23739. {
  23740. "name": "lines",
  23741. "type": "boolean",
  23742. "mutable": true,
  23743. "attr": "lines",
  23744. "reflectToAttr": true,
  23745. "docs": "Displays indentation guide lines.",
  23746. "docsTags": [],
  23747. "default": "false",
  23748. "values": [
  23749. {
  23750. "type": "boolean"
  23751. }
  23752. ],
  23753. "optional": false,
  23754. "required": false
  23755. },
  23756. {
  23757. "name": "scale",
  23758. "type": "\"l\" | \"m\" | \"s\"",
  23759. "mutable": true,
  23760. "attr": "scale",
  23761. "reflectToAttr": true,
  23762. "docs": "Specifies the size of the component.",
  23763. "docsTags": [],
  23764. "default": "\"m\"",
  23765. "values": [
  23766. {
  23767. "value": "l",
  23768. "type": "string"
  23769. },
  23770. {
  23771. "value": "m",
  23772. "type": "string"
  23773. },
  23774. {
  23775. "value": "s",
  23776. "type": "string"
  23777. }
  23778. ],
  23779. "optional": false,
  23780. "required": false
  23781. },
  23782. {
  23783. "name": "selectionMode",
  23784. "type": "TreeSelectionMode.Ancestors | TreeSelectionMode.Children | TreeSelectionMode.Multi | TreeSelectionMode.MultiChildren | TreeSelectionMode.None | TreeSelectionMode.Single",
  23785. "mutable": true,
  23786. "attr": "selection-mode",
  23787. "reflectToAttr": true,
  23788. "docs": "Customize how the component's selection works.",
  23789. "docsTags": [
  23790. {
  23791. "name": "default",
  23792. "text": "\"single\""
  23793. },
  23794. {
  23795. "name": "see",
  23796. "text": "[TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L5)"
  23797. }
  23798. ],
  23799. "default": "TreeSelectionMode.Single",
  23800. "values": [
  23801. {
  23802. "type": "TreeSelectionMode.Ancestors"
  23803. },
  23804. {
  23805. "type": "TreeSelectionMode.Children"
  23806. },
  23807. {
  23808. "type": "TreeSelectionMode.Multi"
  23809. },
  23810. {
  23811. "type": "TreeSelectionMode.MultiChildren"
  23812. },
  23813. {
  23814. "type": "TreeSelectionMode.None"
  23815. },
  23816. {
  23817. "type": "TreeSelectionMode.Single"
  23818. }
  23819. ],
  23820. "optional": false,
  23821. "required": false
  23822. }
  23823. ],
  23824. "methods": [],
  23825. "events": [
  23826. {
  23827. "event": "calciteTreeSelect",
  23828. "detail": "TreeSelectDetail",
  23829. "bubbles": true,
  23830. "cancelable": false,
  23831. "composed": true,
  23832. "docs": "Fires when the user selects/deselects `calcite-tree-items`. An object including an array of selected items will be passed in the event's `detail` property.",
  23833. "docsTags": [
  23834. {
  23835. "name": "see",
  23836. "text": "[TreeSelectDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L1)"
  23837. }
  23838. ]
  23839. }
  23840. ],
  23841. "listeners": [
  23842. {
  23843. "event": "focus",
  23844. "capture": false,
  23845. "passive": false
  23846. },
  23847. {
  23848. "event": "focusin",
  23849. "capture": false,
  23850. "passive": false
  23851. },
  23852. {
  23853. "event": "focusout",
  23854. "capture": false,
  23855. "passive": false
  23856. },
  23857. {
  23858. "event": "calciteInternalTreeItemSelect",
  23859. "capture": false,
  23860. "passive": false
  23861. },
  23862. {
  23863. "event": "keydown",
  23864. "capture": false,
  23865. "passive": false
  23866. }
  23867. ],
  23868. "styles": [],
  23869. "slots": [
  23870. {
  23871. "name": "",
  23872. "docs": "A slot for `calcite-tree-item` elements."
  23873. }
  23874. ],
  23875. "parts": [],
  23876. "dependents": [],
  23877. "dependencies": [],
  23878. "dependencyGraph": {}
  23879. },
  23880. {
  23881. "filePath": "./src/components/tree-item/tree-item.tsx",
  23882. "encapsulation": "shadow",
  23883. "tag": "calcite-tree-item",
  23884. "readme": "# calcite-tree-item\n\n`<calcite-tree-item>` is used to represent a single item in a `<calcite-tree>`.\n",
  23885. "docs": "`<calcite-tree-item>` is used to represent a single item in a `<calcite-tree>`.",
  23886. "docsTags": [
  23887. {
  23888. "name": "slot",
  23889. "text": "- A slot for adding the component's content."
  23890. },
  23891. {
  23892. "name": "slot",
  23893. "text": "children - A slot for adding nested `calcite-tree` elements."
  23894. }
  23895. ],
  23896. "usage": {},
  23897. "props": [
  23898. {
  23899. "name": "disabled",
  23900. "type": "boolean",
  23901. "mutable": false,
  23902. "attr": "disabled",
  23903. "reflectToAttr": true,
  23904. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  23905. "docsTags": [],
  23906. "default": "false",
  23907. "values": [
  23908. {
  23909. "type": "boolean"
  23910. }
  23911. ],
  23912. "optional": false,
  23913. "required": false
  23914. },
  23915. {
  23916. "name": "expanded",
  23917. "type": "boolean",
  23918. "mutable": true,
  23919. "attr": "expanded",
  23920. "reflectToAttr": true,
  23921. "docs": "When `true`, the component is expanded.",
  23922. "docsTags": [],
  23923. "default": "false",
  23924. "values": [
  23925. {
  23926. "type": "boolean"
  23927. }
  23928. ],
  23929. "optional": false,
  23930. "required": false
  23931. },
  23932. {
  23933. "name": "selected",
  23934. "type": "boolean",
  23935. "mutable": true,
  23936. "attr": "selected",
  23937. "reflectToAttr": true,
  23938. "docs": "When `true`, the component is selected.",
  23939. "docsTags": [],
  23940. "default": "false",
  23941. "values": [
  23942. {
  23943. "type": "boolean"
  23944. }
  23945. ],
  23946. "optional": false,
  23947. "required": false
  23948. }
  23949. ],
  23950. "methods": [],
  23951. "events": [],
  23952. "listeners": [
  23953. {
  23954. "event": "click",
  23955. "capture": false,
  23956. "passive": false
  23957. },
  23958. {
  23959. "event": "keydown",
  23960. "capture": false,
  23961. "passive": false
  23962. }
  23963. ],
  23964. "styles": [],
  23965. "slots": [
  23966. {
  23967. "name": "",
  23968. "docs": "A slot for adding the component's content."
  23969. },
  23970. {
  23971. "name": "children",
  23972. "docs": "A slot for adding nested `calcite-tree` elements."
  23973. }
  23974. ],
  23975. "parts": [],
  23976. "dependents": [],
  23977. "dependencies": [
  23978. "calcite-icon",
  23979. "calcite-checkbox"
  23980. ],
  23981. "dependencyGraph": {
  23982. "calcite-tree-item": [
  23983. "calcite-icon",
  23984. "calcite-checkbox"
  23985. ]
  23986. }
  23987. },
  23988. {
  23989. "filePath": "./src/components/value-list/value-list.tsx",
  23990. "encapsulation": "shadow",
  23991. "tag": "calcite-value-list",
  23992. "readme": "# calcite-value-list\n\n`calcite-value-list` is housed in a panel and contains `calcite-value-list-item`s. The value list has options for drag and drop, label editing, and single or multi-select of items which can be done through shift+click.\n",
  23993. "docs": "`calcite-value-list` is housed in a panel and contains `calcite-value-list-item`s. The value list has options for drag and drop, label editing, and single or multi-select of items which can be done through shift+click.",
  23994. "docsTags": [
  23995. {
  23996. "name": "slot",
  23997. "text": "- A slot for adding `calcite-value-list-item` elements. List items are displayed as a vertical list."
  23998. },
  23999. {
  24000. "name": "slot",
  24001. "text": "menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting."
  24002. }
  24003. ],
  24004. "usage": {
  24005. "Basic": "Renders a value list with multiple items able to be selected and a filter.\n\n```html\n<calcite-value-list multiple filter-enabled>\n <calcite-value-list-item label=\"Dogs\" description=\"Man's best friend\" value=\"dogs\">\n <calcite-action slot=\"actions-end\" icon=\"plus\"></calcite-action>\n </calcite-value-list-item>\n <calcite-value-list-item label=\"Cats\" description=\"Independent and fluffy\" value=\"cats\">\n <calcite-action slot=\"actions-end\" icon=\"plus\"></calcite-action>\n </calcite-value-list-item>\n <calcite-value-list-item\n label=\"Fish. But not just any fish, a tiger fish caught live in the Atlantic Ocean while on vacation.\"\n description=\"Easy to care for.\"\n value=\"fish\"\n >\n <calcite-action slot=\"actions-end\" icon=\"plus\"></calcite-action>\n </calcite-value-list-item>\n</calcite-value-list>\n```\n",
  24006. "Drag-and-drop": "Renders a value list with drag and drop capability between the items.\n\n```html\n<calcite-value-list drag-enabled>\n <calcite-value-list-item label=\"Rent\" description=\"Mortgage + housing costs\" value=\"rent\"> </calcite-value-list-item>\n <calcite-value-list-item label=\"Food\" description=\"its what you eat.\" value=\"food\"> </calcite-value-list-item>\n <calcite-value-list-item label=\"Utilities\" value=\"utilities\"> </calcite-value-list-item>\n <calcite-value-list-item label=\"Entertainment\" description=\"Toys and leisure\" value=\"entertainment\">\n </calcite-value-list-item>\n</calcite-value-list>\n```\n"
  24007. },
  24008. "props": [
  24009. {
  24010. "name": "disabled",
  24011. "type": "boolean",
  24012. "mutable": false,
  24013. "attr": "disabled",
  24014. "reflectToAttr": true,
  24015. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  24016. "docsTags": [],
  24017. "default": "false",
  24018. "values": [
  24019. {
  24020. "type": "boolean"
  24021. }
  24022. ],
  24023. "optional": false,
  24024. "required": false
  24025. },
  24026. {
  24027. "name": "dragEnabled",
  24028. "type": "boolean",
  24029. "mutable": false,
  24030. "attr": "drag-enabled",
  24031. "reflectToAttr": true,
  24032. "docs": "When `true`, `calcite-value-list-item`s are sortable via a draggable button.",
  24033. "docsTags": [],
  24034. "default": "false",
  24035. "values": [
  24036. {
  24037. "type": "boolean"
  24038. }
  24039. ],
  24040. "optional": false,
  24041. "required": false
  24042. },
  24043. {
  24044. "name": "filterEnabled",
  24045. "type": "boolean",
  24046. "mutable": false,
  24047. "attr": "filter-enabled",
  24048. "reflectToAttr": true,
  24049. "docs": "When `true`, an input appears at the top of the component that can be used by end users to filter list items.",
  24050. "docsTags": [],
  24051. "default": "false",
  24052. "values": [
  24053. {
  24054. "type": "boolean"
  24055. }
  24056. ],
  24057. "optional": false,
  24058. "required": false
  24059. },
  24060. {
  24061. "name": "filterPlaceholder",
  24062. "type": "string",
  24063. "mutable": false,
  24064. "attr": "filter-placeholder",
  24065. "reflectToAttr": true,
  24066. "docs": "Placeholder text for the filter's input field.",
  24067. "docsTags": [],
  24068. "values": [
  24069. {
  24070. "type": "string"
  24071. }
  24072. ],
  24073. "optional": false,
  24074. "required": false
  24075. },
  24076. {
  24077. "name": "group",
  24078. "type": "string",
  24079. "mutable": false,
  24080. "attr": "group",
  24081. "reflectToAttr": true,
  24082. "docs": "The component's group identifier.\n\nTo drag elements from one list into another, both lists must have the same group value.",
  24083. "docsTags": [],
  24084. "values": [
  24085. {
  24086. "type": "string"
  24087. }
  24088. ],
  24089. "optional": true,
  24090. "required": false
  24091. },
  24092. {
  24093. "name": "intlDragHandleActive",
  24094. "type": "string",
  24095. "mutable": false,
  24096. "attr": "intl-drag-handle-active",
  24097. "reflectToAttr": false,
  24098. "docs": "When `dragEnabled` is `true` and active, specifies accessible context to the component.\n\nUse \"`${position}` of `${total}`\" as a placeholder for displaying indices and `${item.label}` as a placeholder for displaying the `calcite-value-list-item` label.",
  24099. "docsTags": [],
  24100. "values": [
  24101. {
  24102. "type": "string"
  24103. }
  24104. ],
  24105. "optional": true,
  24106. "required": false
  24107. },
  24108. {
  24109. "name": "intlDragHandleChange",
  24110. "type": "string",
  24111. "mutable": false,
  24112. "attr": "intl-drag-handle-change",
  24113. "reflectToAttr": false,
  24114. "docs": "When `dragEnabled` is `true` and active, specifies accessible context to the `calcite-value-list-item`s new position.\n\nUse \"`${position}` of `${total}`\" as a placeholder for displaying indices and `${item.label}` as a placeholder for displaying the `calcite-value-list-item` label.",
  24115. "docsTags": [],
  24116. "values": [
  24117. {
  24118. "type": "string"
  24119. }
  24120. ],
  24121. "optional": true,
  24122. "required": false
  24123. },
  24124. {
  24125. "name": "intlDragHandleCommit",
  24126. "type": "string",
  24127. "mutable": false,
  24128. "attr": "intl-drag-handle-commit",
  24129. "reflectToAttr": false,
  24130. "docs": "When `dragEnabled` is `true` and active, specifies accessible context to the `calcite-value-list-item`s current position after commit.\n\nUse \"`${position}` of `${total}`\" as a placeholder for displaying indices and `${item.label}` as a placeholder for displaying the `calcite-value-list-item` label.",
  24131. "docsTags": [],
  24132. "values": [
  24133. {
  24134. "type": "string"
  24135. }
  24136. ],
  24137. "optional": true,
  24138. "required": false
  24139. },
  24140. {
  24141. "name": "intlDragHandleIdle",
  24142. "type": "string",
  24143. "mutable": false,
  24144. "attr": "intl-drag-handle-idle",
  24145. "reflectToAttr": false,
  24146. "docs": "When `dragEnabled` is `true` and active, specifies accessible context to the `calcite-value-list-item`s initial position.\n\nUse \"`${position}` of `${total}`\" as a placeholder for displaying indices and `${item.label}` as a placeholder for displaying the `calcite-value-list-item` label.",
  24147. "docsTags": [],
  24148. "values": [
  24149. {
  24150. "type": "string"
  24151. }
  24152. ],
  24153. "optional": true,
  24154. "required": false
  24155. },
  24156. {
  24157. "name": "loading",
  24158. "type": "boolean",
  24159. "mutable": false,
  24160. "attr": "loading",
  24161. "reflectToAttr": true,
  24162. "docs": "When `true`, a busy indicator is displayed.",
  24163. "docsTags": [],
  24164. "default": "false",
  24165. "values": [
  24166. {
  24167. "type": "boolean"
  24168. }
  24169. ],
  24170. "optional": false,
  24171. "required": false
  24172. },
  24173. {
  24174. "name": "multiple",
  24175. "type": "boolean",
  24176. "mutable": false,
  24177. "attr": "multiple",
  24178. "reflectToAttr": true,
  24179. "docs": "Similar to standard radio buttons and checkboxes.\nWhen `true`, a user can select multiple `calcite-value-list-item`s at a time.\nWhen `false`, only a single `calcite-value-list-item` can be selected at a time,\nand a new selection will deselect previous selections.",
  24180. "docsTags": [],
  24181. "default": "false",
  24182. "values": [
  24183. {
  24184. "type": "boolean"
  24185. }
  24186. ],
  24187. "optional": false,
  24188. "required": false
  24189. },
  24190. {
  24191. "name": "selectionFollowsFocus",
  24192. "type": "boolean",
  24193. "mutable": false,
  24194. "attr": "selection-follows-focus",
  24195. "reflectToAttr": true,
  24196. "docs": "When `true` and single-selection is enabled, the selection changes when navigating `calcite-value-list-item`s via keyboard.",
  24197. "docsTags": [],
  24198. "default": "false",
  24199. "values": [
  24200. {
  24201. "type": "boolean"
  24202. }
  24203. ],
  24204. "optional": false,
  24205. "required": false
  24206. }
  24207. ],
  24208. "methods": [
  24209. {
  24210. "name": "getSelectedItems",
  24211. "returns": {
  24212. "type": "Promise<Map<string, HTMLCalciteValueListItemElement>>",
  24213. "docs": ""
  24214. },
  24215. "signature": "getSelectedItems() => Promise<Map<string, HTMLCalciteValueListItemElement>>",
  24216. "parameters": [],
  24217. "docs": "Returns the currently selected items",
  24218. "docsTags": []
  24219. },
  24220. {
  24221. "name": "setFocus",
  24222. "returns": {
  24223. "type": "Promise<void>",
  24224. "docs": ""
  24225. },
  24226. "signature": "setFocus(focusId?: ListFocusId) => Promise<void>",
  24227. "parameters": [],
  24228. "docs": "Sets focus on the component.",
  24229. "docsTags": [
  24230. {
  24231. "name": "param",
  24232. "text": "focusId"
  24233. }
  24234. ]
  24235. }
  24236. ],
  24237. "events": [
  24238. {
  24239. "event": "calciteListChange",
  24240. "detail": "Map<string, HTMLCalciteValueListItemElement>",
  24241. "bubbles": true,
  24242. "cancelable": false,
  24243. "composed": true,
  24244. "docs": "Emits when any of the list item selections have changed.",
  24245. "docsTags": []
  24246. },
  24247. {
  24248. "event": "calciteListOrderChange",
  24249. "detail": "any[]",
  24250. "bubbles": true,
  24251. "cancelable": false,
  24252. "composed": true,
  24253. "docs": "Emits when the order of the list has changed.",
  24254. "docsTags": []
  24255. }
  24256. ],
  24257. "listeners": [
  24258. {
  24259. "event": "focusout",
  24260. "capture": false,
  24261. "passive": false
  24262. },
  24263. {
  24264. "event": "calciteListItemRemove",
  24265. "capture": false,
  24266. "passive": false
  24267. },
  24268. {
  24269. "event": "calciteListItemChange",
  24270. "capture": false,
  24271. "passive": false
  24272. },
  24273. {
  24274. "event": "calciteInternalListItemPropsChange",
  24275. "capture": false,
  24276. "passive": false
  24277. },
  24278. {
  24279. "event": "calciteInternalListItemValueChange",
  24280. "capture": false,
  24281. "passive": false
  24282. }
  24283. ],
  24284. "styles": [],
  24285. "slots": [
  24286. {
  24287. "name": "",
  24288. "docs": "A slot for adding `calcite-value-list-item` elements. List items are displayed as a vertical list."
  24289. },
  24290. {
  24291. "name": "menu-actions",
  24292. "docs": "A slot for adding a button and menu combination for performing actions, such as sorting."
  24293. }
  24294. ],
  24295. "parts": [],
  24296. "dependents": [],
  24297. "dependencies": [
  24298. "calcite-filter",
  24299. "calcite-scrim"
  24300. ],
  24301. "dependencyGraph": {
  24302. "calcite-value-list": [
  24303. "calcite-filter",
  24304. "calcite-scrim"
  24305. ],
  24306. "calcite-filter": [
  24307. "calcite-input"
  24308. ],
  24309. "calcite-input": [
  24310. "calcite-progress",
  24311. "calcite-icon"
  24312. ],
  24313. "calcite-scrim": [
  24314. "calcite-loader"
  24315. ]
  24316. }
  24317. },
  24318. {
  24319. "filePath": "./src/components/value-list-item/value-list-item.tsx",
  24320. "encapsulation": "shadow",
  24321. "tag": "calcite-value-list-item",
  24322. "readme": "# calcite-value-list-item\n\n`calcite-value-list-item`s are cards contained in a `calcite-value-list`. They each can have a label and description, an icon and can have their label's be editable (inherited from `calcite-value-list`). The developer can disable or preselect each list item and give it a value.\n",
  24323. "docs": "`calcite-value-list-item`s are cards contained in a `calcite-value-list`. They each can have a label and description, an icon and can have their label's be editable (inherited from `calcite-value-list`). The developer can disable or preselect each list item and give it a value.",
  24324. "docsTags": [
  24325. {
  24326. "name": "slot",
  24327. "text": "actions-end - A slot for adding actions or content to the end side of the component."
  24328. },
  24329. {
  24330. "name": "slot",
  24331. "text": "actions-start - A slot for adding actions or content to the start side of the component."
  24332. }
  24333. ],
  24334. "usage": {},
  24335. "props": [
  24336. {
  24337. "name": "description",
  24338. "type": "string",
  24339. "mutable": false,
  24340. "attr": "description",
  24341. "reflectToAttr": true,
  24342. "docs": "A description for the component that displays below the label text.",
  24343. "docsTags": [],
  24344. "values": [
  24345. {
  24346. "type": "string"
  24347. }
  24348. ],
  24349. "optional": true,
  24350. "required": false
  24351. },
  24352. {
  24353. "name": "disabled",
  24354. "type": "boolean",
  24355. "mutable": false,
  24356. "attr": "disabled",
  24357. "reflectToAttr": true,
  24358. "docs": "When `true`, interaction is prevented and the component is displayed with lower opacity.",
  24359. "docsTags": [],
  24360. "default": "false",
  24361. "values": [
  24362. {
  24363. "type": "boolean"
  24364. }
  24365. ],
  24366. "optional": false,
  24367. "required": false
  24368. },
  24369. {
  24370. "name": "icon",
  24371. "type": "ICON_TYPES.circle | ICON_TYPES.grip | ICON_TYPES.square",
  24372. "mutable": false,
  24373. "attr": "icon",
  24374. "reflectToAttr": true,
  24375. "docs": "Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.",
  24376. "docsTags": [
  24377. {
  24378. "name": "see",
  24379. "text": "[ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)"
  24380. }
  24381. ],
  24382. "default": "null",
  24383. "values": [
  24384. {
  24385. "type": "ICON_TYPES.circle"
  24386. },
  24387. {
  24388. "type": "ICON_TYPES.grip"
  24389. },
  24390. {
  24391. "type": "ICON_TYPES.square"
  24392. }
  24393. ],
  24394. "optional": true,
  24395. "required": false
  24396. },
  24397. {
  24398. "name": "label",
  24399. "type": "string",
  24400. "mutable": false,
  24401. "attr": "label",
  24402. "reflectToAttr": true,
  24403. "docs": "Label and accessible name for the component. Appears next to the icon.",
  24404. "docsTags": [],
  24405. "values": [
  24406. {
  24407. "type": "string"
  24408. }
  24409. ],
  24410. "optional": false,
  24411. "required": true
  24412. },
  24413. {
  24414. "name": "metadata",
  24415. "type": "{ [x: string]: unknown; }",
  24416. "mutable": false,
  24417. "reflectToAttr": false,
  24418. "docs": "Provides additional metadata to the component. Primary use is for a filter on the parent list.",
  24419. "docsTags": [],
  24420. "values": [
  24421. {
  24422. "type": "{ [x: string]: unknown; }"
  24423. }
  24424. ],
  24425. "optional": true,
  24426. "required": false
  24427. },
  24428. {
  24429. "name": "nonInteractive",
  24430. "type": "boolean",
  24431. "mutable": false,
  24432. "attr": "non-interactive",
  24433. "reflectToAttr": true,
  24434. "docs": "When `true`, prevents the content of the component from user interaction.",
  24435. "docsTags": [],
  24436. "default": "false",
  24437. "values": [
  24438. {
  24439. "type": "boolean"
  24440. }
  24441. ],
  24442. "optional": false,
  24443. "required": false
  24444. },
  24445. {
  24446. "name": "removable",
  24447. "type": "boolean",
  24448. "mutable": false,
  24449. "attr": "removable",
  24450. "reflectToAttr": true,
  24451. "docs": "When `true`, adds an action to remove the component.",
  24452. "docsTags": [],
  24453. "default": "false",
  24454. "values": [
  24455. {
  24456. "type": "boolean"
  24457. }
  24458. ],
  24459. "optional": false,
  24460. "required": false
  24461. },
  24462. {
  24463. "name": "selected",
  24464. "type": "boolean",
  24465. "mutable": true,
  24466. "attr": "selected",
  24467. "reflectToAttr": true,
  24468. "docs": "When `true`, the component is selected.",
  24469. "docsTags": [],
  24470. "default": "false",
  24471. "values": [
  24472. {
  24473. "type": "boolean"
  24474. }
  24475. ],
  24476. "optional": false,
  24477. "required": false
  24478. },
  24479. {
  24480. "name": "value",
  24481. "type": "any",
  24482. "mutable": false,
  24483. "attr": "value",
  24484. "reflectToAttr": false,
  24485. "docs": "The component's value.",
  24486. "docsTags": [],
  24487. "values": [
  24488. {
  24489. "type": "any"
  24490. }
  24491. ],
  24492. "optional": false,
  24493. "required": true
  24494. }
  24495. ],
  24496. "methods": [
  24497. {
  24498. "name": "setFocus",
  24499. "returns": {
  24500. "type": "Promise<void>",
  24501. "docs": ""
  24502. },
  24503. "signature": "setFocus() => Promise<void>",
  24504. "parameters": [],
  24505. "docs": "Set focus on the component.",
  24506. "docsTags": []
  24507. },
  24508. {
  24509. "name": "toggleSelected",
  24510. "returns": {
  24511. "type": "Promise<void>",
  24512. "docs": ""
  24513. },
  24514. "signature": "toggleSelected(coerce?: boolean) => Promise<void>",
  24515. "parameters": [],
  24516. "docs": "Toggle the selection state. By default this won't trigger an event.\nThe first argument allows the value to be coerced, rather than swapping values.",
  24517. "docsTags": [
  24518. {
  24519. "name": "param",
  24520. "text": "coerce"
  24521. }
  24522. ]
  24523. }
  24524. ],
  24525. "events": [
  24526. {
  24527. "event": "calciteListItemRemove",
  24528. "detail": "void",
  24529. "bubbles": true,
  24530. "cancelable": true,
  24531. "composed": true,
  24532. "docs": "Fires when the remove button is pressed.",
  24533. "docsTags": []
  24534. }
  24535. ],
  24536. "listeners": [
  24537. {
  24538. "event": "calciteListItemChange",
  24539. "capture": false,
  24540. "passive": false
  24541. }
  24542. ],
  24543. "styles": [],
  24544. "slots": [
  24545. {
  24546. "name": "actions-end",
  24547. "docs": "A slot for adding actions or content to the end side of the component."
  24548. },
  24549. {
  24550. "name": "actions-start",
  24551. "docs": "A slot for adding actions or content to the start side of the component."
  24552. }
  24553. ],
  24554. "parts": [],
  24555. "dependents": [],
  24556. "dependencies": [
  24557. "calcite-icon",
  24558. "calcite-pick-list-item"
  24559. ],
  24560. "dependencyGraph": {
  24561. "calcite-value-list-item": [
  24562. "calcite-icon",
  24563. "calcite-pick-list-item"
  24564. ],
  24565. "calcite-pick-list-item": [
  24566. "calcite-icon",
  24567. "calcite-action"
  24568. ],
  24569. "calcite-action": [
  24570. "calcite-loader",
  24571. "calcite-icon"
  24572. ]
  24573. }
  24574. }
  24575. ]
  24576. }