docs-json.json 591 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222
  1. {
  2. "timestamp": "2022-05-10T19:59:52",
  3. "compiler": {
  4. "name": "@stencil/core",
  5. "version": "2.15.1",
  6. "typescriptVersion": "4.5.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 item-title=\"Accordion Item\">Accordion Section Content </calcite-accordion-item>\n <calcite-accordion-item item-title=\"Accordion Item 2\" active>Accordion Section Content </calcite-accordion-item>\n <calcite-accordion-item item-title=\"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\" | \"transparent\"",
  28. "mutable": false,
  29. "attr": "appearance",
  30. "reflectToAttr": true,
  31. "docs": "specify the appearance - default (containing border), or minimal (no containing border), defaults to default",
  32. "docsTags": [],
  33. "default": "\"default\"",
  34. "values": [
  35. {
  36. "value": "default",
  37. "type": "string"
  38. },
  39. {
  40. "value": "minimal",
  41. "type": "string"
  42. },
  43. {
  44. "value": "transparent",
  45. "type": "string"
  46. }
  47. ],
  48. "optional": false,
  49. "required": false
  50. },
  51. {
  52. "name": "iconPosition",
  53. "type": "\"end\" | \"start\"",
  54. "mutable": false,
  55. "attr": "icon-position",
  56. "reflectToAttr": true,
  57. "docs": "specify the placement of the icon in the header, defaults to end",
  58. "docsTags": [],
  59. "default": "\"end\"",
  60. "values": [
  61. {
  62. "value": "end",
  63. "type": "string"
  64. },
  65. {
  66. "value": "start",
  67. "type": "string"
  68. }
  69. ],
  70. "optional": false,
  71. "required": false
  72. },
  73. {
  74. "name": "iconType",
  75. "type": "\"caret\" | \"chevron\" | \"plus-minus\"",
  76. "mutable": false,
  77. "attr": "icon-type",
  78. "reflectToAttr": true,
  79. "docs": "specify the type of the icon in the header, defaults to chevron",
  80. "docsTags": [],
  81. "default": "\"chevron\"",
  82. "values": [
  83. {
  84. "value": "caret",
  85. "type": "string"
  86. },
  87. {
  88. "value": "chevron",
  89. "type": "string"
  90. },
  91. {
  92. "value": "plus-minus",
  93. "type": "string"
  94. }
  95. ],
  96. "optional": false,
  97. "required": false
  98. },
  99. {
  100. "name": "scale",
  101. "type": "\"l\" | \"m\" | \"s\"",
  102. "mutable": false,
  103. "attr": "scale",
  104. "reflectToAttr": true,
  105. "docs": "specify the scale of accordion, defaults to m",
  106. "docsTags": [],
  107. "default": "\"m\"",
  108. "values": [
  109. {
  110. "value": "l",
  111. "type": "string"
  112. },
  113. {
  114. "value": "m",
  115. "type": "string"
  116. },
  117. {
  118. "value": "s",
  119. "type": "string"
  120. }
  121. ],
  122. "optional": false,
  123. "required": false
  124. },
  125. {
  126. "name": "selectionMode",
  127. "type": "\"multi\" | \"single\" | \"single-persist\"",
  128. "mutable": false,
  129. "attr": "selection-mode",
  130. "reflectToAttr": true,
  131. "docs": "specify the selection mode - multi (allow any number of open items), single (allow one open item),\nor single-persist (allow and require one open item), defaults to multi",
  132. "docsTags": [],
  133. "default": "\"multi\"",
  134. "values": [
  135. {
  136. "value": "multi",
  137. "type": "string"
  138. },
  139. {
  140. "value": "single",
  141. "type": "string"
  142. },
  143. {
  144. "value": "single-persist",
  145. "type": "string"
  146. }
  147. ],
  148. "optional": false,
  149. "required": false
  150. }
  151. ],
  152. "methods": [],
  153. "events": [],
  154. "listeners": [
  155. {
  156. "event": "calciteAccordionItemKeyEvent",
  157. "capture": false,
  158. "passive": false
  159. },
  160. {
  161. "event": "calciteAccordionItemRegister",
  162. "capture": false,
  163. "passive": false
  164. },
  165. {
  166. "event": "calciteAccordionItemSelect",
  167. "capture": false,
  168. "passive": false
  169. }
  170. ],
  171. "styles": [],
  172. "slots": [
  173. {
  174. "name": "",
  175. "docs": "A slot for adding `calcite-accordion-item`s. `calcite-accordion` cannot be nested, however calcite-accordion-item`s can."
  176. }
  177. ],
  178. "parts": [],
  179. "dependents": [],
  180. "dependencies": [],
  181. "dependencyGraph": {}
  182. },
  183. {
  184. "filePath": "./src/components/accordion-item/accordion-item.tsx",
  185. "encapsulation": "shadow",
  186. "tag": "calcite-accordion-item",
  187. "readme": "# calcite-accordion-item\n\nindividual `calcite-accordion` item\n",
  188. "docs": "individual `calcite-accordion` item",
  189. "docsTags": [
  190. {
  191. "name": "slot",
  192. "text": "- A slot for adding custom content, including nested `calcite-accordion-item`s."
  193. }
  194. ],
  195. "usage": {},
  196. "props": [
  197. {
  198. "name": "active",
  199. "type": "boolean",
  200. "mutable": true,
  201. "attr": "active",
  202. "reflectToAttr": true,
  203. "docs": "Indicates whether the item is active.",
  204. "docsTags": [],
  205. "default": "false",
  206. "values": [
  207. {
  208. "type": "boolean"
  209. }
  210. ],
  211. "optional": false,
  212. "required": false
  213. },
  214. {
  215. "name": "icon",
  216. "type": "string",
  217. "mutable": false,
  218. "attr": "icon",
  219. "reflectToAttr": true,
  220. "docs": "optionally pass an icon to display - accepts Calcite UI icon names",
  221. "docsTags": [],
  222. "values": [
  223. {
  224. "type": "string"
  225. }
  226. ],
  227. "optional": true,
  228. "required": false
  229. },
  230. {
  231. "name": "itemSubtitle",
  232. "type": "string",
  233. "mutable": false,
  234. "attr": "item-subtitle",
  235. "reflectToAttr": false,
  236. "docs": "pass a title for the accordion item",
  237. "docsTags": [],
  238. "values": [
  239. {
  240. "type": "string"
  241. }
  242. ],
  243. "optional": true,
  244. "required": false
  245. },
  246. {
  247. "name": "itemTitle",
  248. "type": "string",
  249. "mutable": false,
  250. "attr": "item-title",
  251. "reflectToAttr": false,
  252. "docs": "pass a title for the accordion item",
  253. "docsTags": [],
  254. "values": [
  255. {
  256. "type": "string"
  257. }
  258. ],
  259. "optional": true,
  260. "required": false
  261. }
  262. ],
  263. "methods": [],
  264. "events": [],
  265. "listeners": [
  266. {
  267. "event": "keydown",
  268. "capture": false,
  269. "passive": false
  270. },
  271. {
  272. "event": "calciteAccordionChange",
  273. "target": "body",
  274. "capture": false,
  275. "passive": false
  276. }
  277. ],
  278. "styles": [],
  279. "slots": [
  280. {
  281. "name": "",
  282. "docs": "A slot for adding custom content, including nested `calcite-accordion-item`s."
  283. }
  284. ],
  285. "parts": [],
  286. "dependents": [],
  287. "dependencies": [
  288. "calcite-icon"
  289. ],
  290. "dependencyGraph": {
  291. "calcite-accordion-item": [
  292. "calcite-icon"
  293. ]
  294. }
  295. },
  296. {
  297. "filePath": "./src/components/action/action.tsx",
  298. "encapsulation": "shadow",
  299. "tag": "calcite-action",
  300. "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",
  301. "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.",
  302. "docsTags": [
  303. {
  304. "name": "slot",
  305. "text": "- A slot for adding a `calcite-icon`."
  306. }
  307. ],
  308. "usage": {
  309. "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",
  310. "With-text-displayed": "Renders a `calcite-action` that displays text along side an icon and a tooltip label.\n\n```html\n<calcite-action label=\"Performs my custom action\" text=\"Perform Action!\" text-enabled icon=\"save\"></calcite-action>\n```\n",
  311. "Without-text-displayed": "Renders a `calcite-action` that displays only an icon and a tooltip label.\n\n```html\n<calcite-action label=\"Performs my custom action\" text=\"My Custom Action\" icon=\"plus\"></calcite-action>\n```\n"
  312. },
  313. "props": [
  314. {
  315. "name": "active",
  316. "type": "boolean",
  317. "mutable": false,
  318. "attr": "active",
  319. "reflectToAttr": true,
  320. "docs": "Indicates whether the action is highlighted.",
  321. "docsTags": [],
  322. "default": "false",
  323. "values": [
  324. {
  325. "type": "boolean"
  326. }
  327. ],
  328. "optional": false,
  329. "required": false
  330. },
  331. {
  332. "name": "alignment",
  333. "type": "\"center\" | \"end\" | \"start\"",
  334. "mutable": false,
  335. "attr": "alignment",
  336. "reflectToAttr": true,
  337. "docs": "Optionally specify the horizontal alignment of button elements with text content.",
  338. "docsTags": [],
  339. "values": [
  340. {
  341. "value": "center",
  342. "type": "string"
  343. },
  344. {
  345. "value": "end",
  346. "type": "string"
  347. },
  348. {
  349. "value": "start",
  350. "type": "string"
  351. }
  352. ],
  353. "optional": true,
  354. "required": false
  355. },
  356. {
  357. "name": "appearance",
  358. "type": "\"clear\" | \"solid\"",
  359. "mutable": false,
  360. "attr": "appearance",
  361. "reflectToAttr": true,
  362. "docs": "Specify the appearance style of the action, defaults to solid.",
  363. "docsTags": [],
  364. "default": "\"solid\"",
  365. "values": [
  366. {
  367. "value": "clear",
  368. "type": "string"
  369. },
  370. {
  371. "value": "solid",
  372. "type": "string"
  373. }
  374. ],
  375. "optional": false,
  376. "required": false
  377. },
  378. {
  379. "name": "compact",
  380. "type": "boolean",
  381. "mutable": false,
  382. "attr": "compact",
  383. "reflectToAttr": true,
  384. "docs": "Compact mode is used internally by components to reduce side padding, e.g. calcite-block-section.",
  385. "docsTags": [],
  386. "default": "false",
  387. "values": [
  388. {
  389. "type": "boolean"
  390. }
  391. ],
  392. "optional": false,
  393. "required": false
  394. },
  395. {
  396. "name": "disabled",
  397. "type": "boolean",
  398. "mutable": false,
  399. "attr": "disabled",
  400. "reflectToAttr": true,
  401. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  402. "docsTags": [],
  403. "default": "false",
  404. "values": [
  405. {
  406. "type": "boolean"
  407. }
  408. ],
  409. "optional": false,
  410. "required": false
  411. },
  412. {
  413. "name": "icon",
  414. "type": "string",
  415. "mutable": false,
  416. "attr": "icon",
  417. "reflectToAttr": false,
  418. "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/.",
  419. "docsTags": [],
  420. "values": [
  421. {
  422. "type": "string"
  423. }
  424. ],
  425. "optional": true,
  426. "required": false
  427. },
  428. {
  429. "name": "indicator",
  430. "type": "boolean",
  431. "mutable": false,
  432. "attr": "indicator",
  433. "reflectToAttr": true,
  434. "docs": "Indicates unread changes.",
  435. "docsTags": [],
  436. "default": "false",
  437. "values": [
  438. {
  439. "type": "boolean"
  440. }
  441. ],
  442. "optional": false,
  443. "required": false
  444. },
  445. {
  446. "name": "intlLoading",
  447. "type": "string",
  448. "mutable": false,
  449. "attr": "intl-loading",
  450. "reflectToAttr": false,
  451. "docs": "string to override English loading text",
  452. "docsTags": [
  453. {
  454. "name": "default",
  455. "text": "\"Loading\""
  456. }
  457. ],
  458. "default": "TEXT.loading",
  459. "values": [
  460. {
  461. "type": "string"
  462. }
  463. ],
  464. "optional": true,
  465. "required": false
  466. },
  467. {
  468. "name": "label",
  469. "type": "string",
  470. "mutable": false,
  471. "attr": "label",
  472. "reflectToAttr": false,
  473. "docs": "The label of the action. If no label is provided, the label inherits what's provided for the `text` prop.",
  474. "docsTags": [],
  475. "values": [
  476. {
  477. "type": "string"
  478. }
  479. ],
  480. "optional": true,
  481. "required": false
  482. },
  483. {
  484. "name": "loading",
  485. "type": "boolean",
  486. "mutable": false,
  487. "attr": "loading",
  488. "reflectToAttr": true,
  489. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  490. "docsTags": [],
  491. "default": "false",
  492. "values": [
  493. {
  494. "type": "boolean"
  495. }
  496. ],
  497. "optional": false,
  498. "required": false
  499. },
  500. {
  501. "name": "scale",
  502. "type": "\"l\" | \"m\" | \"s\"",
  503. "mutable": false,
  504. "attr": "scale",
  505. "reflectToAttr": true,
  506. "docs": "Specifies the size of the action.",
  507. "docsTags": [],
  508. "default": "\"m\"",
  509. "values": [
  510. {
  511. "value": "l",
  512. "type": "string"
  513. },
  514. {
  515. "value": "m",
  516. "type": "string"
  517. },
  518. {
  519. "value": "s",
  520. "type": "string"
  521. }
  522. ],
  523. "optional": false,
  524. "required": false
  525. },
  526. {
  527. "name": "text",
  528. "type": "string",
  529. "mutable": false,
  530. "attr": "text",
  531. "reflectToAttr": false,
  532. "docs": "Text that accompanies the action icon.",
  533. "docsTags": [],
  534. "values": [
  535. {
  536. "type": "string"
  537. }
  538. ],
  539. "optional": false,
  540. "required": true
  541. },
  542. {
  543. "name": "textEnabled",
  544. "type": "boolean",
  545. "mutable": false,
  546. "attr": "text-enabled",
  547. "reflectToAttr": true,
  548. "docs": "Indicates whether the text is displayed.",
  549. "docsTags": [],
  550. "default": "false",
  551. "values": [
  552. {
  553. "type": "boolean"
  554. }
  555. ],
  556. "optional": false,
  557. "required": false
  558. }
  559. ],
  560. "methods": [
  561. {
  562. "name": "setFocus",
  563. "returns": {
  564. "type": "Promise<void>",
  565. "docs": ""
  566. },
  567. "signature": "setFocus() => Promise<void>",
  568. "parameters": [],
  569. "docs": "Sets focus on the component.",
  570. "docsTags": []
  571. }
  572. ],
  573. "events": [
  574. {
  575. "event": "calciteActionClick",
  576. "detail": "any",
  577. "bubbles": true,
  578. "cancelable": true,
  579. "composed": true,
  580. "docs": "Emitted when the action has been clicked.",
  581. "docsTags": [
  582. {
  583. "name": "deprecated",
  584. "text": "use onClick instead."
  585. }
  586. ],
  587. "deprecation": "use onClick instead."
  588. }
  589. ],
  590. "listeners": [],
  591. "styles": [],
  592. "slots": [
  593. {
  594. "name": "",
  595. "docs": "A slot for adding a `calcite-icon`."
  596. }
  597. ],
  598. "parts": [],
  599. "dependents": [
  600. "calcite-action-bar",
  601. "calcite-action-group",
  602. "calcite-action-menu",
  603. "calcite-action-pad",
  604. "calcite-panel",
  605. "calcite-pick-list-item",
  606. "calcite-popover",
  607. "calcite-tip",
  608. "calcite-tip-manager"
  609. ],
  610. "dependencies": [
  611. "calcite-loader",
  612. "calcite-icon"
  613. ],
  614. "dependencyGraph": {
  615. "calcite-action": [
  616. "calcite-loader",
  617. "calcite-icon"
  618. ],
  619. "calcite-action-bar": [
  620. "calcite-action"
  621. ],
  622. "calcite-action-group": [
  623. "calcite-action"
  624. ],
  625. "calcite-action-menu": [
  626. "calcite-action"
  627. ],
  628. "calcite-action-pad": [
  629. "calcite-action"
  630. ],
  631. "calcite-panel": [
  632. "calcite-action"
  633. ],
  634. "calcite-pick-list-item": [
  635. "calcite-action"
  636. ],
  637. "calcite-popover": [
  638. "calcite-action"
  639. ],
  640. "calcite-tip": [
  641. "calcite-action"
  642. ],
  643. "calcite-tip-manager": [
  644. "calcite-action"
  645. ]
  646. }
  647. },
  648. {
  649. "filePath": "./src/components/action-bar/action-bar.tsx",
  650. "encapsulation": "shadow",
  651. "tag": "calcite-action-bar",
  652. "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",
  653. "docs": "",
  654. "docsTags": [
  655. {
  656. "name": "slot",
  657. "text": "- A slot for adding `calcite-action`s that will appear at the top of the action bar."
  658. },
  659. {
  660. "name": "slot",
  661. "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."
  662. },
  663. {
  664. "name": "slot",
  665. "text": "expand-tooltip - Used to set the tooltip for the expand toggle."
  666. }
  667. ],
  668. "usage": {
  669. "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",
  670. "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",
  671. "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",
  672. "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"
  673. },
  674. "props": [
  675. {
  676. "name": "expandDisabled",
  677. "type": "boolean",
  678. "mutable": false,
  679. "attr": "expand-disabled",
  680. "reflectToAttr": true,
  681. "docs": "When set to true, the expand-toggling behavior will be disabled.",
  682. "docsTags": [],
  683. "default": "false",
  684. "values": [
  685. {
  686. "type": "boolean"
  687. }
  688. ],
  689. "optional": false,
  690. "required": false
  691. },
  692. {
  693. "name": "expanded",
  694. "type": "boolean",
  695. "mutable": true,
  696. "attr": "expanded",
  697. "reflectToAttr": true,
  698. "docs": "Indicates whether widget is expanded.",
  699. "docsTags": [],
  700. "default": "false",
  701. "values": [
  702. {
  703. "type": "boolean"
  704. }
  705. ],
  706. "optional": false,
  707. "required": false
  708. },
  709. {
  710. "name": "intlCollapse",
  711. "type": "string",
  712. "mutable": false,
  713. "attr": "intl-collapse",
  714. "reflectToAttr": false,
  715. "docs": "Updates the label of the collapse icon when the component is expanded.",
  716. "docsTags": [],
  717. "values": [
  718. {
  719. "type": "string"
  720. }
  721. ],
  722. "optional": true,
  723. "required": false
  724. },
  725. {
  726. "name": "intlExpand",
  727. "type": "string",
  728. "mutable": false,
  729. "attr": "intl-expand",
  730. "reflectToAttr": false,
  731. "docs": "Updates the label of the expand icon when the component is not expanded.",
  732. "docsTags": [],
  733. "values": [
  734. {
  735. "type": "string"
  736. }
  737. ],
  738. "optional": true,
  739. "required": false
  740. },
  741. {
  742. "name": "overflowActionsDisabled",
  743. "type": "boolean",
  744. "mutable": false,
  745. "attr": "overflow-actions-disabled",
  746. "reflectToAttr": false,
  747. "docs": "Disables automatically overflowing actions that won't fit into menus.",
  748. "docsTags": [],
  749. "default": "false",
  750. "values": [
  751. {
  752. "type": "boolean"
  753. }
  754. ],
  755. "optional": false,
  756. "required": false
  757. },
  758. {
  759. "name": "position",
  760. "type": "\"end\" | \"start\"",
  761. "mutable": false,
  762. "attr": "position",
  763. "reflectToAttr": true,
  764. "docs": "Arranges the component depending on the elements 'dir' property.",
  765. "docsTags": [],
  766. "values": [
  767. {
  768. "value": "end",
  769. "type": "string"
  770. },
  771. {
  772. "value": "start",
  773. "type": "string"
  774. }
  775. ],
  776. "optional": false,
  777. "required": false
  778. },
  779. {
  780. "name": "scale",
  781. "type": "\"l\" | \"m\" | \"s\"",
  782. "mutable": false,
  783. "attr": "scale",
  784. "reflectToAttr": true,
  785. "docs": "Specifies the size of the expand action.",
  786. "docsTags": [],
  787. "values": [
  788. {
  789. "value": "l",
  790. "type": "string"
  791. },
  792. {
  793. "value": "m",
  794. "type": "string"
  795. },
  796. {
  797. "value": "s",
  798. "type": "string"
  799. }
  800. ],
  801. "optional": false,
  802. "required": false
  803. }
  804. ],
  805. "methods": [
  806. {
  807. "name": "setFocus",
  808. "returns": {
  809. "type": "Promise<void>",
  810. "docs": ""
  811. },
  812. "signature": "setFocus(focusId?: \"expand-toggle\") => Promise<void>",
  813. "parameters": [],
  814. "docs": "Sets focus on the component.",
  815. "docsTags": []
  816. }
  817. ],
  818. "events": [
  819. {
  820. "event": "calciteActionBarToggle",
  821. "detail": "any",
  822. "bubbles": true,
  823. "cancelable": true,
  824. "composed": true,
  825. "docs": "Emitted when expanded has been toggled.",
  826. "docsTags": []
  827. }
  828. ],
  829. "listeners": [],
  830. "styles": [],
  831. "slots": [
  832. {
  833. "name": "",
  834. "docs": "A slot for adding `calcite-action`s that will appear at the top of the action bar."
  835. },
  836. {
  837. "name": "bottom-actions",
  838. "docs": "A slot for adding `calcite-action`s that will appear at the bottom of the action bar, above the collapse/expand button."
  839. },
  840. {
  841. "name": "expand-tooltip",
  842. "docs": "Used to set the tooltip for the expand toggle."
  843. }
  844. ],
  845. "parts": [],
  846. "dependents": [],
  847. "dependencies": [
  848. "calcite-action-group",
  849. "calcite-action"
  850. ],
  851. "dependencyGraph": {
  852. "calcite-action-bar": [
  853. "calcite-action-group",
  854. "calcite-action"
  855. ],
  856. "calcite-action-group": [
  857. "calcite-action-menu",
  858. "calcite-action"
  859. ],
  860. "calcite-action-menu": [
  861. "calcite-action",
  862. "calcite-popover"
  863. ],
  864. "calcite-action": [
  865. "calcite-loader",
  866. "calcite-icon"
  867. ],
  868. "calcite-popover": [
  869. "calcite-action",
  870. "calcite-icon"
  871. ]
  872. }
  873. },
  874. {
  875. "filePath": "./src/components/action-group/action-group.tsx",
  876. "encapsulation": "shadow",
  877. "tag": "calcite-action-group",
  878. "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",
  879. "docs": "The `calcite-action-group` is a wrapper for multiple `calcite-action`s and housed in `calcite-action-bar` and `calcite-action-pad`.",
  880. "docsTags": [
  881. {
  882. "name": "slot",
  883. "text": "- A slot for adding a group of `calcite-action`s."
  884. },
  885. {
  886. "name": "slot",
  887. "text": "menu-actions - a slot for adding an overflow menu with actions inside a dropdown."
  888. },
  889. {
  890. "name": "slot",
  891. "text": "menu-tooltip - a slot for adding an tooltip for the menu."
  892. }
  893. ],
  894. "usage": {},
  895. "props": [
  896. {
  897. "name": "columns",
  898. "type": "1 | 2 | 3 | 4 | 5 | 6",
  899. "mutable": false,
  900. "attr": "columns",
  901. "reflectToAttr": true,
  902. "docs": "Indicates number of columns.",
  903. "docsTags": [],
  904. "values": [
  905. {
  906. "value": "1",
  907. "type": "number"
  908. },
  909. {
  910. "value": "2",
  911. "type": "number"
  912. },
  913. {
  914. "value": "3",
  915. "type": "number"
  916. },
  917. {
  918. "value": "4",
  919. "type": "number"
  920. },
  921. {
  922. "value": "5",
  923. "type": "number"
  924. },
  925. {
  926. "value": "6",
  927. "type": "number"
  928. }
  929. ],
  930. "optional": true,
  931. "required": false
  932. },
  933. {
  934. "name": "expanded",
  935. "type": "boolean",
  936. "mutable": false,
  937. "attr": "expanded",
  938. "reflectToAttr": true,
  939. "docs": "Indicates whether widget is expanded.",
  940. "docsTags": [],
  941. "default": "false",
  942. "values": [
  943. {
  944. "type": "boolean"
  945. }
  946. ],
  947. "optional": false,
  948. "required": false
  949. },
  950. {
  951. "name": "intlMore",
  952. "type": "string",
  953. "mutable": false,
  954. "attr": "intl-more",
  955. "reflectToAttr": false,
  956. "docs": "Text string for the actions menu.",
  957. "docsTags": [],
  958. "values": [
  959. {
  960. "type": "string"
  961. }
  962. ],
  963. "optional": true,
  964. "required": false
  965. },
  966. {
  967. "name": "layout",
  968. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  969. "mutable": false,
  970. "attr": "layout",
  971. "reflectToAttr": true,
  972. "docs": "Indicates the horizontal, vertical, or grid layout of the component.",
  973. "docsTags": [],
  974. "default": "\"vertical\"",
  975. "values": [
  976. {
  977. "value": "grid",
  978. "type": "string"
  979. },
  980. {
  981. "value": "horizontal",
  982. "type": "string"
  983. },
  984. {
  985. "value": "vertical",
  986. "type": "string"
  987. }
  988. ],
  989. "optional": false,
  990. "required": false
  991. },
  992. {
  993. "name": "menuOpen",
  994. "type": "boolean",
  995. "mutable": true,
  996. "attr": "menu-open",
  997. "reflectToAttr": true,
  998. "docs": "Opens the action menu.",
  999. "docsTags": [],
  1000. "default": "false",
  1001. "values": [
  1002. {
  1003. "type": "boolean"
  1004. }
  1005. ],
  1006. "optional": false,
  1007. "required": false
  1008. },
  1009. {
  1010. "name": "scale",
  1011. "type": "\"l\" | \"m\" | \"s\"",
  1012. "mutable": false,
  1013. "attr": "scale",
  1014. "reflectToAttr": true,
  1015. "docs": "Specifies the size of the action-menu.",
  1016. "docsTags": [],
  1017. "values": [
  1018. {
  1019. "value": "l",
  1020. "type": "string"
  1021. },
  1022. {
  1023. "value": "m",
  1024. "type": "string"
  1025. },
  1026. {
  1027. "value": "s",
  1028. "type": "string"
  1029. }
  1030. ],
  1031. "optional": false,
  1032. "required": false
  1033. }
  1034. ],
  1035. "methods": [],
  1036. "events": [],
  1037. "listeners": [],
  1038. "styles": [
  1039. {
  1040. "name": "--calcite-action-group-columns",
  1041. "annotation": "prop",
  1042. "docs": "sets number of grid-template-columns when layout is grid"
  1043. }
  1044. ],
  1045. "slots": [
  1046. {
  1047. "name": "",
  1048. "docs": "A slot for adding a group of `calcite-action`s."
  1049. },
  1050. {
  1051. "name": "menu-actions",
  1052. "docs": "a slot for adding an overflow menu with actions inside a dropdown."
  1053. },
  1054. {
  1055. "name": "menu-tooltip",
  1056. "docs": "a slot for adding an tooltip for the menu."
  1057. }
  1058. ],
  1059. "parts": [],
  1060. "dependents": [
  1061. "calcite-action-bar",
  1062. "calcite-action-pad"
  1063. ],
  1064. "dependencies": [
  1065. "calcite-action-menu",
  1066. "calcite-action"
  1067. ],
  1068. "dependencyGraph": {
  1069. "calcite-action-group": [
  1070. "calcite-action-menu",
  1071. "calcite-action"
  1072. ],
  1073. "calcite-action-menu": [
  1074. "calcite-action",
  1075. "calcite-popover"
  1076. ],
  1077. "calcite-action": [
  1078. "calcite-loader",
  1079. "calcite-icon"
  1080. ],
  1081. "calcite-popover": [
  1082. "calcite-action",
  1083. "calcite-icon"
  1084. ],
  1085. "calcite-action-bar": [
  1086. "calcite-action-group"
  1087. ],
  1088. "calcite-action-pad": [
  1089. "calcite-action-group"
  1090. ]
  1091. }
  1092. },
  1093. {
  1094. "filePath": "./src/components/action-menu/action-menu.tsx",
  1095. "encapsulation": "shadow",
  1096. "tag": "calcite-action-menu",
  1097. "readme": "# calcite-action-menu\n",
  1098. "docs": "",
  1099. "docsTags": [
  1100. {
  1101. "name": "slot",
  1102. "text": "- A slot for adding `calcite-action`s."
  1103. },
  1104. {
  1105. "name": "slot",
  1106. "text": "trigger - A slot for adding a `calcite-action` to trigger opening the menu."
  1107. },
  1108. {
  1109. "name": "slot",
  1110. "text": "tooltip - A slot for adding an tooltip for the menu."
  1111. }
  1112. ],
  1113. "usage": {},
  1114. "props": [
  1115. {
  1116. "name": "expanded",
  1117. "type": "boolean",
  1118. "mutable": false,
  1119. "attr": "expanded",
  1120. "reflectToAttr": true,
  1121. "docs": "Indicates whether widget is expanded.",
  1122. "docsTags": [],
  1123. "default": "false",
  1124. "values": [
  1125. {
  1126. "type": "boolean"
  1127. }
  1128. ],
  1129. "optional": false,
  1130. "required": false
  1131. },
  1132. {
  1133. "name": "flipPlacements",
  1134. "type": "ComputedPlacement[]",
  1135. "mutable": false,
  1136. "reflectToAttr": false,
  1137. "docs": "Defines the available placements that can be used when a flip occurs.",
  1138. "docsTags": [],
  1139. "values": [
  1140. {
  1141. "type": "ComputedPlacement[]"
  1142. }
  1143. ],
  1144. "optional": true,
  1145. "required": false
  1146. },
  1147. {
  1148. "name": "label",
  1149. "type": "string",
  1150. "mutable": false,
  1151. "attr": "label",
  1152. "reflectToAttr": false,
  1153. "docs": "Text string for the actions menu.",
  1154. "docsTags": [],
  1155. "values": [
  1156. {
  1157. "type": "string"
  1158. }
  1159. ],
  1160. "optional": false,
  1161. "required": true
  1162. },
  1163. {
  1164. "name": "open",
  1165. "type": "boolean",
  1166. "mutable": true,
  1167. "attr": "open",
  1168. "reflectToAttr": true,
  1169. "docs": "Opens the action menu.",
  1170. "docsTags": [],
  1171. "default": "false",
  1172. "values": [
  1173. {
  1174. "type": "boolean"
  1175. }
  1176. ],
  1177. "optional": false,
  1178. "required": false
  1179. },
  1180. {
  1181. "name": "overlayPositioning",
  1182. "type": "\"absolute\" | \"fixed\"",
  1183. "mutable": false,
  1184. "attr": "overlay-positioning",
  1185. "reflectToAttr": false,
  1186. "docs": "Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.",
  1187. "docsTags": [],
  1188. "default": "\"absolute\"",
  1189. "values": [
  1190. {
  1191. "value": "absolute",
  1192. "type": "string"
  1193. },
  1194. {
  1195. "value": "fixed",
  1196. "type": "string"
  1197. }
  1198. ],
  1199. "optional": false,
  1200. "required": false
  1201. },
  1202. {
  1203. "name": "placement",
  1204. "type": "Placement | PlacementRtl | VariationRtl",
  1205. "mutable": false,
  1206. "attr": "placement",
  1207. "reflectToAttr": true,
  1208. "docs": "Determines where the component will be positioned relative to the referenceElement.",
  1209. "docsTags": [
  1210. {
  1211. "name": "see",
  1212. "text": "[PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)"
  1213. }
  1214. ],
  1215. "default": "\"auto\"",
  1216. "values": [
  1217. {
  1218. "type": "Placement"
  1219. },
  1220. {
  1221. "type": "PlacementRtl"
  1222. },
  1223. {
  1224. "type": "VariationRtl"
  1225. }
  1226. ],
  1227. "optional": false,
  1228. "required": false
  1229. },
  1230. {
  1231. "name": "scale",
  1232. "type": "\"l\" | \"m\" | \"s\"",
  1233. "mutable": false,
  1234. "attr": "scale",
  1235. "reflectToAttr": true,
  1236. "docs": "Specifies the size of the menu trigger action.",
  1237. "docsTags": [],
  1238. "values": [
  1239. {
  1240. "value": "l",
  1241. "type": "string"
  1242. },
  1243. {
  1244. "value": "m",
  1245. "type": "string"
  1246. },
  1247. {
  1248. "value": "s",
  1249. "type": "string"
  1250. }
  1251. ],
  1252. "optional": false,
  1253. "required": false
  1254. }
  1255. ],
  1256. "methods": [
  1257. {
  1258. "name": "setFocus",
  1259. "returns": {
  1260. "type": "Promise<void>",
  1261. "docs": ""
  1262. },
  1263. "signature": "setFocus() => Promise<void>",
  1264. "parameters": [],
  1265. "docs": "Sets focus on the component.",
  1266. "docsTags": []
  1267. }
  1268. ],
  1269. "events": [
  1270. {
  1271. "event": "calciteActionMenuOpenChange",
  1272. "detail": "any",
  1273. "bubbles": true,
  1274. "cancelable": true,
  1275. "composed": true,
  1276. "docs": "Emitted when the open property has changed.",
  1277. "docsTags": []
  1278. }
  1279. ],
  1280. "listeners": [
  1281. {
  1282. "event": "click",
  1283. "target": "window",
  1284. "capture": false,
  1285. "passive": false
  1286. }
  1287. ],
  1288. "styles": [],
  1289. "slots": [
  1290. {
  1291. "name": "",
  1292. "docs": "A slot for adding `calcite-action`s."
  1293. },
  1294. {
  1295. "name": "tooltip",
  1296. "docs": "A slot for adding an tooltip for the menu."
  1297. },
  1298. {
  1299. "name": "trigger",
  1300. "docs": "A slot for adding a `calcite-action` to trigger opening the menu."
  1301. }
  1302. ],
  1303. "parts": [],
  1304. "dependents": [
  1305. "calcite-action-group",
  1306. "calcite-block",
  1307. "calcite-panel"
  1308. ],
  1309. "dependencies": [
  1310. "calcite-action",
  1311. "calcite-popover"
  1312. ],
  1313. "dependencyGraph": {
  1314. "calcite-action-menu": [
  1315. "calcite-action",
  1316. "calcite-popover"
  1317. ],
  1318. "calcite-action": [
  1319. "calcite-loader",
  1320. "calcite-icon"
  1321. ],
  1322. "calcite-popover": [
  1323. "calcite-action",
  1324. "calcite-icon"
  1325. ],
  1326. "calcite-action-group": [
  1327. "calcite-action-menu"
  1328. ],
  1329. "calcite-block": [
  1330. "calcite-action-menu"
  1331. ],
  1332. "calcite-panel": [
  1333. "calcite-action-menu"
  1334. ]
  1335. }
  1336. },
  1337. {
  1338. "filePath": "./src/components/action-pad/action-pad.tsx",
  1339. "encapsulation": "shadow",
  1340. "tag": "calcite-action-pad",
  1341. "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",
  1342. "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`.",
  1343. "docsTags": [
  1344. {
  1345. "name": "slot",
  1346. "text": "- A slot for adding `calcite-action`s to the action pad."
  1347. },
  1348. {
  1349. "name": "slot",
  1350. "text": "expand-tooltip - Used to set the tooltip for the expand toggle."
  1351. }
  1352. ],
  1353. "usage": {
  1354. "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",
  1355. "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",
  1356. "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"
  1357. },
  1358. "props": [
  1359. {
  1360. "name": "expandDisabled",
  1361. "type": "boolean",
  1362. "mutable": false,
  1363. "attr": "expand-disabled",
  1364. "reflectToAttr": true,
  1365. "docs": "When set to true, the expand-toggling behavior will be disabled.",
  1366. "docsTags": [],
  1367. "default": "false",
  1368. "values": [
  1369. {
  1370. "type": "boolean"
  1371. }
  1372. ],
  1373. "optional": false,
  1374. "required": false
  1375. },
  1376. {
  1377. "name": "expanded",
  1378. "type": "boolean",
  1379. "mutable": true,
  1380. "attr": "expanded",
  1381. "reflectToAttr": true,
  1382. "docs": "Indicates whether widget is expanded.",
  1383. "docsTags": [],
  1384. "default": "false",
  1385. "values": [
  1386. {
  1387. "type": "boolean"
  1388. }
  1389. ],
  1390. "optional": false,
  1391. "required": false
  1392. },
  1393. {
  1394. "name": "intlCollapse",
  1395. "type": "string",
  1396. "mutable": false,
  1397. "attr": "intl-collapse",
  1398. "reflectToAttr": false,
  1399. "docs": "Updates the label of the collapse icon when the component is expanded.",
  1400. "docsTags": [],
  1401. "values": [
  1402. {
  1403. "type": "string"
  1404. }
  1405. ],
  1406. "optional": true,
  1407. "required": false
  1408. },
  1409. {
  1410. "name": "intlExpand",
  1411. "type": "string",
  1412. "mutable": false,
  1413. "attr": "intl-expand",
  1414. "reflectToAttr": false,
  1415. "docs": "Updates the label of the expand icon when the component is not expanded.",
  1416. "docsTags": [],
  1417. "values": [
  1418. {
  1419. "type": "string"
  1420. }
  1421. ],
  1422. "optional": true,
  1423. "required": false
  1424. },
  1425. {
  1426. "name": "layout",
  1427. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  1428. "mutable": false,
  1429. "attr": "layout",
  1430. "reflectToAttr": true,
  1431. "docs": "Indicates the horizontal or vertical layout of the component.",
  1432. "docsTags": [],
  1433. "default": "\"vertical\"",
  1434. "values": [
  1435. {
  1436. "value": "grid",
  1437. "type": "string"
  1438. },
  1439. {
  1440. "value": "horizontal",
  1441. "type": "string"
  1442. },
  1443. {
  1444. "value": "vertical",
  1445. "type": "string"
  1446. }
  1447. ],
  1448. "optional": false,
  1449. "required": false
  1450. },
  1451. {
  1452. "name": "position",
  1453. "type": "\"end\" | \"start\"",
  1454. "mutable": false,
  1455. "attr": "position",
  1456. "reflectToAttr": true,
  1457. "docs": "Arranges the component depending on the elements 'dir' property.",
  1458. "docsTags": [],
  1459. "values": [
  1460. {
  1461. "value": "end",
  1462. "type": "string"
  1463. },
  1464. {
  1465. "value": "start",
  1466. "type": "string"
  1467. }
  1468. ],
  1469. "optional": false,
  1470. "required": false
  1471. },
  1472. {
  1473. "name": "scale",
  1474. "type": "\"l\" | \"m\" | \"s\"",
  1475. "mutable": false,
  1476. "attr": "scale",
  1477. "reflectToAttr": true,
  1478. "docs": "Specifies the size of the expand action.",
  1479. "docsTags": [],
  1480. "values": [
  1481. {
  1482. "value": "l",
  1483. "type": "string"
  1484. },
  1485. {
  1486. "value": "m",
  1487. "type": "string"
  1488. },
  1489. {
  1490. "value": "s",
  1491. "type": "string"
  1492. }
  1493. ],
  1494. "optional": false,
  1495. "required": false
  1496. }
  1497. ],
  1498. "methods": [
  1499. {
  1500. "name": "setFocus",
  1501. "returns": {
  1502. "type": "Promise<void>",
  1503. "docs": ""
  1504. },
  1505. "signature": "setFocus(focusId?: \"expand-toggle\") => Promise<void>",
  1506. "parameters": [],
  1507. "docs": "Sets focus on the component.",
  1508. "docsTags": []
  1509. }
  1510. ],
  1511. "events": [
  1512. {
  1513. "event": "calciteActionPadToggle",
  1514. "detail": "any",
  1515. "bubbles": true,
  1516. "cancelable": true,
  1517. "composed": true,
  1518. "docs": "Emitted when expanded has been toggled.",
  1519. "docsTags": []
  1520. }
  1521. ],
  1522. "listeners": [],
  1523. "styles": [],
  1524. "slots": [
  1525. {
  1526. "name": "",
  1527. "docs": "A slot for adding `calcite-action`s to the action pad."
  1528. },
  1529. {
  1530. "name": "expand-tooltip",
  1531. "docs": "Used to set the tooltip for the expand toggle."
  1532. }
  1533. ],
  1534. "parts": [],
  1535. "dependents": [],
  1536. "dependencies": [
  1537. "calcite-action-group",
  1538. "calcite-action"
  1539. ],
  1540. "dependencyGraph": {
  1541. "calcite-action-pad": [
  1542. "calcite-action-group",
  1543. "calcite-action"
  1544. ],
  1545. "calcite-action-group": [
  1546. "calcite-action-menu",
  1547. "calcite-action"
  1548. ],
  1549. "calcite-action-menu": [
  1550. "calcite-action",
  1551. "calcite-popover"
  1552. ],
  1553. "calcite-action": [
  1554. "calcite-loader",
  1555. "calcite-icon"
  1556. ],
  1557. "calcite-popover": [
  1558. "calcite-action",
  1559. "calcite-icon"
  1560. ]
  1561. }
  1562. },
  1563. {
  1564. "filePath": "./src/components/alert/alert.tsx",
  1565. "encapsulation": "shadow",
  1566. "tag": "calcite-alert",
  1567. "readme": "# calcite-alert\n",
  1568. "docs": "",
  1569. "docsTags": [
  1570. {
  1571. "name": "slot",
  1572. "text": "title - Title of the alert (optional)"
  1573. },
  1574. {
  1575. "name": "slot",
  1576. "text": "message - Main text of the alert"
  1577. },
  1578. {
  1579. "name": "slot",
  1580. "text": "link - Optional action to take from the alert (undo, try again, link to page, etc.)"
  1581. }
  1582. ],
  1583. "usage": {
  1584. "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"
  1585. },
  1586. "props": [
  1587. {
  1588. "name": "active",
  1589. "type": "boolean",
  1590. "mutable": true,
  1591. "attr": "active",
  1592. "reflectToAttr": true,
  1593. "docs": "Is the alert currently active or not",
  1594. "docsTags": [],
  1595. "default": "false",
  1596. "values": [
  1597. {
  1598. "type": "boolean"
  1599. }
  1600. ],
  1601. "optional": false,
  1602. "required": false
  1603. },
  1604. {
  1605. "name": "autoDismiss",
  1606. "type": "boolean",
  1607. "mutable": false,
  1608. "attr": "auto-dismiss",
  1609. "reflectToAttr": false,
  1610. "docs": "Close the alert automatically (recommended for passive, non-blocking alerts)",
  1611. "docsTags": [],
  1612. "default": "false",
  1613. "values": [
  1614. {
  1615. "type": "boolean"
  1616. }
  1617. ],
  1618. "optional": false,
  1619. "required": false
  1620. },
  1621. {
  1622. "name": "autoDismissDuration",
  1623. "type": "\"fast\" | \"medium\" | \"slow\"",
  1624. "mutable": false,
  1625. "attr": "auto-dismiss-duration",
  1626. "reflectToAttr": true,
  1627. "docs": "Duration of autoDismiss (only used with `autoDismiss`)",
  1628. "docsTags": [],
  1629. "default": "this.autoDismiss ? \"medium\" : null",
  1630. "values": [
  1631. {
  1632. "value": "fast",
  1633. "type": "string"
  1634. },
  1635. {
  1636. "value": "medium",
  1637. "type": "string"
  1638. },
  1639. {
  1640. "value": "slow",
  1641. "type": "string"
  1642. }
  1643. ],
  1644. "optional": false,
  1645. "required": false
  1646. },
  1647. {
  1648. "name": "color",
  1649. "type": "\"blue\" | \"green\" | \"red\" | \"yellow\"",
  1650. "mutable": false,
  1651. "attr": "color",
  1652. "reflectToAttr": true,
  1653. "docs": "Color for the alert (will apply to top border and icon)",
  1654. "docsTags": [],
  1655. "default": "\"blue\"",
  1656. "values": [
  1657. {
  1658. "value": "blue",
  1659. "type": "string"
  1660. },
  1661. {
  1662. "value": "green",
  1663. "type": "string"
  1664. },
  1665. {
  1666. "value": "red",
  1667. "type": "string"
  1668. },
  1669. {
  1670. "value": "yellow",
  1671. "type": "string"
  1672. }
  1673. ],
  1674. "optional": false,
  1675. "required": false
  1676. },
  1677. {
  1678. "name": "icon",
  1679. "type": "boolean | string",
  1680. "mutable": false,
  1681. "attr": "icon",
  1682. "reflectToAttr": true,
  1683. "docs": "when used as a boolean set to true, show a default recommended icon. You can\nalso pass a calcite-ui-icon name to this prop to display a requested icon",
  1684. "docsTags": [],
  1685. "values": [
  1686. {
  1687. "type": "boolean"
  1688. },
  1689. {
  1690. "type": "string"
  1691. }
  1692. ],
  1693. "optional": false,
  1694. "required": false
  1695. },
  1696. {
  1697. "name": "intlClose",
  1698. "type": "string",
  1699. "mutable": false,
  1700. "attr": "intl-close",
  1701. "reflectToAttr": false,
  1702. "docs": "string to override English close text",
  1703. "docsTags": [
  1704. {
  1705. "name": "default",
  1706. "text": "\"Close\""
  1707. }
  1708. ],
  1709. "default": "TEXT.intlClose",
  1710. "values": [
  1711. {
  1712. "type": "string"
  1713. }
  1714. ],
  1715. "optional": false,
  1716. "required": false
  1717. },
  1718. {
  1719. "name": "label",
  1720. "type": "string",
  1721. "mutable": false,
  1722. "attr": "label",
  1723. "reflectToAttr": false,
  1724. "docs": "Accessible name for the component",
  1725. "docsTags": [],
  1726. "values": [
  1727. {
  1728. "type": "string"
  1729. }
  1730. ],
  1731. "optional": false,
  1732. "required": true
  1733. },
  1734. {
  1735. "name": "placement",
  1736. "type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"top\" | \"top-end\" | \"top-start\"",
  1737. "mutable": false,
  1738. "attr": "placement",
  1739. "reflectToAttr": false,
  1740. "docs": "specify the placement of the alert",
  1741. "docsTags": [],
  1742. "default": "\"bottom\"",
  1743. "values": [
  1744. {
  1745. "value": "bottom",
  1746. "type": "string"
  1747. },
  1748. {
  1749. "value": "bottom-end",
  1750. "type": "string"
  1751. },
  1752. {
  1753. "value": "bottom-start",
  1754. "type": "string"
  1755. },
  1756. {
  1757. "value": "top",
  1758. "type": "string"
  1759. },
  1760. {
  1761. "value": "top-end",
  1762. "type": "string"
  1763. },
  1764. {
  1765. "value": "top-start",
  1766. "type": "string"
  1767. }
  1768. ],
  1769. "optional": false,
  1770. "required": false
  1771. },
  1772. {
  1773. "name": "scale",
  1774. "type": "\"l\" | \"m\" | \"s\"",
  1775. "mutable": false,
  1776. "attr": "scale",
  1777. "reflectToAttr": true,
  1778. "docs": "specify the scale of the alert, defaults to m",
  1779. "docsTags": [],
  1780. "default": "\"m\"",
  1781. "values": [
  1782. {
  1783. "value": "l",
  1784. "type": "string"
  1785. },
  1786. {
  1787. "value": "m",
  1788. "type": "string"
  1789. },
  1790. {
  1791. "value": "s",
  1792. "type": "string"
  1793. }
  1794. ],
  1795. "optional": false,
  1796. "required": false
  1797. }
  1798. ],
  1799. "methods": [
  1800. {
  1801. "name": "setFocus",
  1802. "returns": {
  1803. "type": "Promise<void>",
  1804. "docs": ""
  1805. },
  1806. "signature": "setFocus() => Promise<void>",
  1807. "parameters": [],
  1808. "docs": "Sets focus on the component.",
  1809. "docsTags": []
  1810. }
  1811. ],
  1812. "events": [
  1813. {
  1814. "event": "calciteAlertClose",
  1815. "detail": "any",
  1816. "bubbles": true,
  1817. "cancelable": true,
  1818. "composed": true,
  1819. "docs": "Fired when an alert is closed",
  1820. "docsTags": []
  1821. },
  1822. {
  1823. "event": "calciteAlertOpen",
  1824. "detail": "any",
  1825. "bubbles": true,
  1826. "cancelable": true,
  1827. "composed": true,
  1828. "docs": "Fired when an alert is opened",
  1829. "docsTags": []
  1830. }
  1831. ],
  1832. "listeners": [
  1833. {
  1834. "event": "calciteAlertSync",
  1835. "target": "window",
  1836. "capture": false,
  1837. "passive": false
  1838. },
  1839. {
  1840. "event": "calciteAlertRegister",
  1841. "target": "window",
  1842. "capture": false,
  1843. "passive": false
  1844. }
  1845. ],
  1846. "styles": [
  1847. {
  1848. "name": "--calcite-alert-width",
  1849. "annotation": "prop",
  1850. "docs": "the width of the alert"
  1851. }
  1852. ],
  1853. "slots": [
  1854. {
  1855. "name": "link",
  1856. "docs": "Optional action to take from the alert (undo, try again, link to page, etc.)"
  1857. },
  1858. {
  1859. "name": "message",
  1860. "docs": "Main text of the alert"
  1861. },
  1862. {
  1863. "name": "title",
  1864. "docs": "Title of the alert (optional)"
  1865. }
  1866. ],
  1867. "parts": [],
  1868. "dependents": [],
  1869. "dependencies": [
  1870. "calcite-icon",
  1871. "calcite-chip"
  1872. ],
  1873. "dependencyGraph": {
  1874. "calcite-alert": [
  1875. "calcite-icon",
  1876. "calcite-chip"
  1877. ],
  1878. "calcite-chip": [
  1879. "calcite-icon"
  1880. ]
  1881. }
  1882. },
  1883. {
  1884. "filePath": "./src/components/avatar/avatar.tsx",
  1885. "encapsulation": "shadow",
  1886. "tag": "calcite-avatar",
  1887. "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",
  1888. "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.",
  1889. "docsTags": [],
  1890. "usage": {
  1891. "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"
  1892. },
  1893. "props": [
  1894. {
  1895. "name": "fullName",
  1896. "type": "string",
  1897. "mutable": false,
  1898. "attr": "full-name",
  1899. "reflectToAttr": false,
  1900. "docs": "full name of the user",
  1901. "docsTags": [],
  1902. "values": [
  1903. {
  1904. "type": "string"
  1905. }
  1906. ],
  1907. "optional": false,
  1908. "required": false
  1909. },
  1910. {
  1911. "name": "scale",
  1912. "type": "\"l\" | \"m\" | \"s\"",
  1913. "mutable": false,
  1914. "attr": "scale",
  1915. "reflectToAttr": true,
  1916. "docs": "specify the scale of the avatar, defaults to m",
  1917. "docsTags": [],
  1918. "default": "\"m\"",
  1919. "values": [
  1920. {
  1921. "value": "l",
  1922. "type": "string"
  1923. },
  1924. {
  1925. "value": "m",
  1926. "type": "string"
  1927. },
  1928. {
  1929. "value": "s",
  1930. "type": "string"
  1931. }
  1932. ],
  1933. "optional": false,
  1934. "required": false
  1935. },
  1936. {
  1937. "name": "thumbnail",
  1938. "type": "string",
  1939. "mutable": false,
  1940. "attr": "thumbnail",
  1941. "reflectToAttr": false,
  1942. "docs": "src to an image (remember to add a token if the user is private)",
  1943. "docsTags": [],
  1944. "values": [
  1945. {
  1946. "type": "string"
  1947. }
  1948. ],
  1949. "optional": false,
  1950. "required": false
  1951. },
  1952. {
  1953. "name": "userId",
  1954. "type": "string",
  1955. "mutable": false,
  1956. "attr": "user-id",
  1957. "reflectToAttr": false,
  1958. "docs": "unique id for user",
  1959. "docsTags": [],
  1960. "values": [
  1961. {
  1962. "type": "string"
  1963. }
  1964. ],
  1965. "optional": false,
  1966. "required": false
  1967. },
  1968. {
  1969. "name": "username",
  1970. "type": "string",
  1971. "mutable": false,
  1972. "attr": "username",
  1973. "reflectToAttr": false,
  1974. "docs": "user name",
  1975. "docsTags": [],
  1976. "values": [
  1977. {
  1978. "type": "string"
  1979. }
  1980. ],
  1981. "optional": false,
  1982. "required": false
  1983. }
  1984. ],
  1985. "methods": [],
  1986. "events": [],
  1987. "listeners": [],
  1988. "styles": [],
  1989. "slots": [],
  1990. "parts": [],
  1991. "dependents": [],
  1992. "dependencies": [
  1993. "calcite-icon"
  1994. ],
  1995. "dependencyGraph": {
  1996. "calcite-avatar": [
  1997. "calcite-icon"
  1998. ]
  1999. }
  2000. },
  2001. {
  2002. "filePath": "./src/components/block/block.tsx",
  2003. "encapsulation": "shadow",
  2004. "tag": "calcite-block",
  2005. "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",
  2006. "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.",
  2007. "docsTags": [
  2008. {
  2009. "name": "slot",
  2010. "text": "- A slot for adding content to the block."
  2011. },
  2012. {
  2013. "name": "slot",
  2014. "text": "icon - A slot for adding a leading header icon."
  2015. },
  2016. {
  2017. "name": "slot",
  2018. "text": "control - A slot for adding a single HTML input element in a header."
  2019. },
  2020. {
  2021. "name": "slot",
  2022. "text": "header-menu-actions - a slot for adding an overflow menu with actions inside a dropdown."
  2023. }
  2024. ],
  2025. "usage": {
  2026. "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",
  2027. "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",
  2028. "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",
  2029. "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",
  2030. "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"
  2031. },
  2032. "props": [
  2033. {
  2034. "name": "collapsible",
  2035. "type": "boolean",
  2036. "mutable": false,
  2037. "attr": "collapsible",
  2038. "reflectToAttr": false,
  2039. "docs": "When true, this block will be collapsible.",
  2040. "docsTags": [],
  2041. "default": "false",
  2042. "values": [
  2043. {
  2044. "type": "boolean"
  2045. }
  2046. ],
  2047. "optional": false,
  2048. "required": false
  2049. },
  2050. {
  2051. "name": "disabled",
  2052. "type": "boolean",
  2053. "mutable": false,
  2054. "attr": "disabled",
  2055. "reflectToAttr": true,
  2056. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  2057. "docsTags": [],
  2058. "default": "false",
  2059. "values": [
  2060. {
  2061. "type": "boolean"
  2062. }
  2063. ],
  2064. "optional": false,
  2065. "required": false
  2066. },
  2067. {
  2068. "name": "dragHandle",
  2069. "type": "boolean",
  2070. "mutable": false,
  2071. "attr": "drag-handle",
  2072. "reflectToAttr": true,
  2073. "docs": "When true, displays a drag handle in the header.",
  2074. "docsTags": [],
  2075. "default": "false",
  2076. "values": [
  2077. {
  2078. "type": "boolean"
  2079. }
  2080. ],
  2081. "optional": false,
  2082. "required": false
  2083. },
  2084. {
  2085. "name": "heading",
  2086. "type": "string",
  2087. "mutable": false,
  2088. "attr": "heading",
  2089. "reflectToAttr": false,
  2090. "docs": "Block heading.",
  2091. "docsTags": [],
  2092. "values": [
  2093. {
  2094. "type": "string"
  2095. }
  2096. ],
  2097. "optional": false,
  2098. "required": true
  2099. },
  2100. {
  2101. "name": "headingLevel",
  2102. "type": "1 | 2 | 3 | 4 | 5 | 6",
  2103. "mutable": false,
  2104. "attr": "heading-level",
  2105. "reflectToAttr": false,
  2106. "docs": "Number at which section headings should start for this component.",
  2107. "docsTags": [],
  2108. "values": [
  2109. {
  2110. "value": "1",
  2111. "type": "number"
  2112. },
  2113. {
  2114. "value": "2",
  2115. "type": "number"
  2116. },
  2117. {
  2118. "value": "3",
  2119. "type": "number"
  2120. },
  2121. {
  2122. "value": "4",
  2123. "type": "number"
  2124. },
  2125. {
  2126. "value": "5",
  2127. "type": "number"
  2128. },
  2129. {
  2130. "value": "6",
  2131. "type": "number"
  2132. }
  2133. ],
  2134. "optional": false,
  2135. "required": false
  2136. },
  2137. {
  2138. "name": "intlCollapse",
  2139. "type": "string",
  2140. "mutable": false,
  2141. "attr": "intl-collapse",
  2142. "reflectToAttr": false,
  2143. "docs": "Aria-label for collapsing the toggle and tooltip used for the toggle when expanded.",
  2144. "docsTags": [],
  2145. "default": "TEXT.collapse",
  2146. "values": [
  2147. {
  2148. "type": "string"
  2149. }
  2150. ],
  2151. "optional": true,
  2152. "required": false
  2153. },
  2154. {
  2155. "name": "intlExpand",
  2156. "type": "string",
  2157. "mutable": false,
  2158. "attr": "intl-expand",
  2159. "reflectToAttr": false,
  2160. "docs": "Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.",
  2161. "docsTags": [],
  2162. "default": "TEXT.expand",
  2163. "values": [
  2164. {
  2165. "type": "string"
  2166. }
  2167. ],
  2168. "optional": true,
  2169. "required": false
  2170. },
  2171. {
  2172. "name": "intlLoading",
  2173. "type": "string",
  2174. "mutable": false,
  2175. "attr": "intl-loading",
  2176. "reflectToAttr": false,
  2177. "docs": "string to override English loading text",
  2178. "docsTags": [
  2179. {
  2180. "name": "default",
  2181. "text": "\"Loading\""
  2182. }
  2183. ],
  2184. "default": "TEXT.loading",
  2185. "values": [
  2186. {
  2187. "type": "string"
  2188. }
  2189. ],
  2190. "optional": true,
  2191. "required": false
  2192. },
  2193. {
  2194. "name": "intlOptions",
  2195. "type": "string",
  2196. "mutable": false,
  2197. "attr": "intl-options",
  2198. "reflectToAttr": false,
  2199. "docs": "Text string used for the actions menu",
  2200. "docsTags": [
  2201. {
  2202. "name": "default",
  2203. "text": "\"Options\""
  2204. }
  2205. ],
  2206. "default": "TEXT.options",
  2207. "values": [
  2208. {
  2209. "type": "string"
  2210. }
  2211. ],
  2212. "optional": true,
  2213. "required": false
  2214. },
  2215. {
  2216. "name": "loading",
  2217. "type": "boolean",
  2218. "mutable": false,
  2219. "attr": "loading",
  2220. "reflectToAttr": true,
  2221. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  2222. "docsTags": [],
  2223. "default": "false",
  2224. "values": [
  2225. {
  2226. "type": "boolean"
  2227. }
  2228. ],
  2229. "optional": false,
  2230. "required": false
  2231. },
  2232. {
  2233. "name": "open",
  2234. "type": "boolean",
  2235. "mutable": true,
  2236. "attr": "open",
  2237. "reflectToAttr": true,
  2238. "docs": "When true, the block's content will be displayed.",
  2239. "docsTags": [],
  2240. "default": "false",
  2241. "values": [
  2242. {
  2243. "type": "boolean"
  2244. }
  2245. ],
  2246. "optional": false,
  2247. "required": false
  2248. },
  2249. {
  2250. "name": "status",
  2251. "type": "\"idle\" | \"invalid\" | \"valid\"",
  2252. "mutable": false,
  2253. "attr": "status",
  2254. "reflectToAttr": true,
  2255. "docs": "Block status. Updates or adds icon to show related icon and color.",
  2256. "docsTags": [],
  2257. "values": [
  2258. {
  2259. "value": "idle",
  2260. "type": "string"
  2261. },
  2262. {
  2263. "value": "invalid",
  2264. "type": "string"
  2265. },
  2266. {
  2267. "value": "valid",
  2268. "type": "string"
  2269. }
  2270. ],
  2271. "optional": true,
  2272. "required": false
  2273. },
  2274. {
  2275. "name": "summary",
  2276. "type": "string",
  2277. "mutable": false,
  2278. "attr": "summary",
  2279. "reflectToAttr": false,
  2280. "docs": "Block summary.",
  2281. "docsTags": [],
  2282. "values": [
  2283. {
  2284. "type": "string"
  2285. }
  2286. ],
  2287. "optional": false,
  2288. "required": false
  2289. }
  2290. ],
  2291. "methods": [],
  2292. "events": [
  2293. {
  2294. "event": "calciteBlockToggle",
  2295. "detail": "any",
  2296. "bubbles": true,
  2297. "cancelable": true,
  2298. "composed": true,
  2299. "docs": "Emitted when the header has been clicked.",
  2300. "docsTags": []
  2301. }
  2302. ],
  2303. "listeners": [],
  2304. "styles": [],
  2305. "slots": [
  2306. {
  2307. "name": "",
  2308. "docs": "A slot for adding content to the block."
  2309. },
  2310. {
  2311. "name": "control",
  2312. "docs": "A slot for adding a single HTML input element in a header."
  2313. },
  2314. {
  2315. "name": "header-menu-actions",
  2316. "docs": "a slot for adding an overflow menu with actions inside a dropdown."
  2317. },
  2318. {
  2319. "name": "icon",
  2320. "docs": "A slot for adding a leading header icon."
  2321. }
  2322. ],
  2323. "parts": [],
  2324. "dependents": [],
  2325. "dependencies": [
  2326. "calcite-scrim",
  2327. "calcite-icon",
  2328. "calcite-handle",
  2329. "calcite-loader",
  2330. "calcite-action-menu"
  2331. ],
  2332. "dependencyGraph": {
  2333. "calcite-block": [
  2334. "calcite-scrim",
  2335. "calcite-icon",
  2336. "calcite-handle",
  2337. "calcite-loader",
  2338. "calcite-action-menu"
  2339. ],
  2340. "calcite-scrim": [
  2341. "calcite-loader"
  2342. ],
  2343. "calcite-handle": [
  2344. "calcite-icon"
  2345. ],
  2346. "calcite-action-menu": [
  2347. "calcite-action",
  2348. "calcite-popover"
  2349. ],
  2350. "calcite-action": [
  2351. "calcite-loader",
  2352. "calcite-icon"
  2353. ],
  2354. "calcite-popover": [
  2355. "calcite-action",
  2356. "calcite-icon"
  2357. ]
  2358. }
  2359. },
  2360. {
  2361. "filePath": "./src/components/block-section/block-section.tsx",
  2362. "encapsulation": "shadow",
  2363. "tag": "calcite-block-section",
  2364. "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",
  2365. "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.",
  2366. "docsTags": [
  2367. {
  2368. "name": "slot",
  2369. "text": "- A slot for adding content to the block section."
  2370. }
  2371. ],
  2372. "usage": {},
  2373. "props": [
  2374. {
  2375. "name": "intlCollapse",
  2376. "type": "string",
  2377. "mutable": false,
  2378. "attr": "intl-collapse",
  2379. "reflectToAttr": false,
  2380. "docs": "Tooltip used for the toggle when expanded.",
  2381. "docsTags": [],
  2382. "values": [
  2383. {
  2384. "type": "string"
  2385. }
  2386. ],
  2387. "optional": true,
  2388. "required": false
  2389. },
  2390. {
  2391. "name": "intlExpand",
  2392. "type": "string",
  2393. "mutable": false,
  2394. "attr": "intl-expand",
  2395. "reflectToAttr": false,
  2396. "docs": "Tooltip used for the toggle when collapsed.",
  2397. "docsTags": [],
  2398. "values": [
  2399. {
  2400. "type": "string"
  2401. }
  2402. ],
  2403. "optional": true,
  2404. "required": false
  2405. },
  2406. {
  2407. "name": "open",
  2408. "type": "boolean",
  2409. "mutable": true,
  2410. "attr": "open",
  2411. "reflectToAttr": true,
  2412. "docs": "When true, the block's section content will be displayed.",
  2413. "docsTags": [],
  2414. "default": "false",
  2415. "values": [
  2416. {
  2417. "type": "boolean"
  2418. }
  2419. ],
  2420. "optional": false,
  2421. "required": false
  2422. },
  2423. {
  2424. "name": "status",
  2425. "type": "\"idle\" | \"invalid\" | \"valid\"",
  2426. "mutable": false,
  2427. "attr": "status",
  2428. "reflectToAttr": true,
  2429. "docs": "BlockSection status. Adds indicator to show valid or invalid status.",
  2430. "docsTags": [],
  2431. "values": [
  2432. {
  2433. "value": "idle",
  2434. "type": "string"
  2435. },
  2436. {
  2437. "value": "invalid",
  2438. "type": "string"
  2439. },
  2440. {
  2441. "value": "valid",
  2442. "type": "string"
  2443. }
  2444. ],
  2445. "optional": true,
  2446. "required": false
  2447. },
  2448. {
  2449. "name": "text",
  2450. "type": "string",
  2451. "mutable": false,
  2452. "attr": "text",
  2453. "reflectToAttr": false,
  2454. "docs": "Text displayed in the button.",
  2455. "docsTags": [],
  2456. "values": [
  2457. {
  2458. "type": "string"
  2459. }
  2460. ],
  2461. "optional": false,
  2462. "required": false
  2463. },
  2464. {
  2465. "name": "toggleDisplay",
  2466. "type": "\"button\" | \"switch\"",
  2467. "mutable": false,
  2468. "attr": "toggle-display",
  2469. "reflectToAttr": true,
  2470. "docs": "This property determines the look of the section toggle.\nIf the value is \"switch\", a toggle-switch will be displayed.\nIf the value is \"button\", a clickable header is displayed.",
  2471. "docsTags": [],
  2472. "default": "\"button\"",
  2473. "values": [
  2474. {
  2475. "value": "button",
  2476. "type": "string"
  2477. },
  2478. {
  2479. "value": "switch",
  2480. "type": "string"
  2481. }
  2482. ],
  2483. "optional": false,
  2484. "required": false
  2485. }
  2486. ],
  2487. "methods": [],
  2488. "events": [
  2489. {
  2490. "event": "calciteBlockSectionToggle",
  2491. "detail": "any",
  2492. "bubbles": true,
  2493. "cancelable": true,
  2494. "composed": true,
  2495. "docs": "Emitted when the header has been clicked.",
  2496. "docsTags": []
  2497. }
  2498. ],
  2499. "listeners": [],
  2500. "styles": [],
  2501. "slots": [
  2502. {
  2503. "name": "",
  2504. "docs": "A slot for adding content to the block section."
  2505. }
  2506. ],
  2507. "parts": [],
  2508. "dependents": [],
  2509. "dependencies": [
  2510. "calcite-icon",
  2511. "calcite-switch"
  2512. ],
  2513. "dependencyGraph": {
  2514. "calcite-block-section": [
  2515. "calcite-icon",
  2516. "calcite-switch"
  2517. ]
  2518. }
  2519. },
  2520. {
  2521. "filePath": "./src/components/button/button.tsx",
  2522. "encapsulation": "shadow",
  2523. "tag": "calcite-button",
  2524. "readme": "# calcite-button\n",
  2525. "docs": "",
  2526. "docsTags": [
  2527. {
  2528. "name": "slot",
  2529. "text": "- A slot for adding text."
  2530. }
  2531. ],
  2532. "usage": {
  2533. "Basic": "```html\n<calcite-button icon-start=\"plus\" color=\"red\">Go!</calcite-button>\n```\n",
  2534. "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",
  2535. "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",
  2536. "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",
  2537. "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",
  2538. "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"
  2539. },
  2540. "props": [
  2541. {
  2542. "name": "alignment",
  2543. "type": "\"center\" | \"end\" | \"icon-end-space-between\" | \"icon-start-space-between\" | \"space-between\" | \"start\"",
  2544. "mutable": false,
  2545. "attr": "alignment",
  2546. "reflectToAttr": true,
  2547. "docs": "optionally specify alignment of button elements.",
  2548. "docsTags": [],
  2549. "default": "\"center\"",
  2550. "values": [
  2551. {
  2552. "value": "center",
  2553. "type": "string"
  2554. },
  2555. {
  2556. "value": "end",
  2557. "type": "string"
  2558. },
  2559. {
  2560. "value": "icon-end-space-between",
  2561. "type": "string"
  2562. },
  2563. {
  2564. "value": "icon-start-space-between",
  2565. "type": "string"
  2566. },
  2567. {
  2568. "value": "space-between",
  2569. "type": "string"
  2570. },
  2571. {
  2572. "value": "start",
  2573. "type": "string"
  2574. }
  2575. ],
  2576. "optional": true,
  2577. "required": false
  2578. },
  2579. {
  2580. "name": "appearance",
  2581. "type": "\"clear\" | \"outline\" | \"solid\" | \"transparent\"",
  2582. "mutable": false,
  2583. "attr": "appearance",
  2584. "reflectToAttr": true,
  2585. "docs": "specify the appearance style of the button, defaults to solid.",
  2586. "docsTags": [],
  2587. "default": "\"solid\"",
  2588. "values": [
  2589. {
  2590. "value": "clear",
  2591. "type": "string"
  2592. },
  2593. {
  2594. "value": "outline",
  2595. "type": "string"
  2596. },
  2597. {
  2598. "value": "solid",
  2599. "type": "string"
  2600. },
  2601. {
  2602. "value": "transparent",
  2603. "type": "string"
  2604. }
  2605. ],
  2606. "optional": false,
  2607. "required": false
  2608. },
  2609. {
  2610. "name": "color",
  2611. "type": "\"blue\" | \"inverse\" | \"neutral\" | \"red\"",
  2612. "mutable": false,
  2613. "attr": "color",
  2614. "reflectToAttr": true,
  2615. "docs": "specify the color of the button, defaults to blue",
  2616. "docsTags": [],
  2617. "default": "\"blue\"",
  2618. "values": [
  2619. {
  2620. "value": "blue",
  2621. "type": "string"
  2622. },
  2623. {
  2624. "value": "inverse",
  2625. "type": "string"
  2626. },
  2627. {
  2628. "value": "neutral",
  2629. "type": "string"
  2630. },
  2631. {
  2632. "value": "red",
  2633. "type": "string"
  2634. }
  2635. ],
  2636. "optional": false,
  2637. "required": false
  2638. },
  2639. {
  2640. "name": "disabled",
  2641. "type": "boolean",
  2642. "mutable": false,
  2643. "attr": "disabled",
  2644. "reflectToAttr": true,
  2645. "docs": "is the button disabled",
  2646. "docsTags": [],
  2647. "default": "false",
  2648. "values": [
  2649. {
  2650. "type": "boolean"
  2651. }
  2652. ],
  2653. "optional": false,
  2654. "required": false
  2655. },
  2656. {
  2657. "name": "form",
  2658. "type": "string",
  2659. "mutable": false,
  2660. "attr": "form",
  2661. "reflectToAttr": false,
  2662. "docs": "The form ID to associate with the component",
  2663. "docsTags": [
  2664. {
  2665. "name": "deprecated",
  2666. "text": "– this property is no longer needed if placed inside a form."
  2667. }
  2668. ],
  2669. "deprecation": "– this property is no longer needed if placed inside a form.",
  2670. "values": [
  2671. {
  2672. "type": "string"
  2673. }
  2674. ],
  2675. "optional": true,
  2676. "required": false
  2677. },
  2678. {
  2679. "name": "href",
  2680. "type": "string",
  2681. "mutable": false,
  2682. "attr": "href",
  2683. "reflectToAttr": true,
  2684. "docs": "optionally pass a href - used to determine if the component should render as a button or an anchor",
  2685. "docsTags": [],
  2686. "values": [
  2687. {
  2688. "type": "string"
  2689. }
  2690. ],
  2691. "optional": true,
  2692. "required": false
  2693. },
  2694. {
  2695. "name": "iconEnd",
  2696. "type": "string",
  2697. "mutable": false,
  2698. "attr": "icon-end",
  2699. "reflectToAttr": true,
  2700. "docs": "optionally pass an icon to display at the end of a button - accepts calcite ui icon names",
  2701. "docsTags": [],
  2702. "values": [
  2703. {
  2704. "type": "string"
  2705. }
  2706. ],
  2707. "optional": true,
  2708. "required": false
  2709. },
  2710. {
  2711. "name": "iconFlipRtl",
  2712. "type": "\"both\" | \"end\" | \"start\"",
  2713. "mutable": false,
  2714. "attr": "icon-flip-rtl",
  2715. "reflectToAttr": true,
  2716. "docs": "flip the icon(s) in rtl",
  2717. "docsTags": [],
  2718. "values": [
  2719. {
  2720. "value": "both",
  2721. "type": "string"
  2722. },
  2723. {
  2724. "value": "end",
  2725. "type": "string"
  2726. },
  2727. {
  2728. "value": "start",
  2729. "type": "string"
  2730. }
  2731. ],
  2732. "optional": true,
  2733. "required": false
  2734. },
  2735. {
  2736. "name": "iconStart",
  2737. "type": "string",
  2738. "mutable": false,
  2739. "attr": "icon-start",
  2740. "reflectToAttr": true,
  2741. "docs": "optionally pass an icon to display at the start of a button - accepts calcite ui icon names",
  2742. "docsTags": [],
  2743. "values": [
  2744. {
  2745. "type": "string"
  2746. }
  2747. ],
  2748. "optional": true,
  2749. "required": false
  2750. },
  2751. {
  2752. "name": "intlLoading",
  2753. "type": "string",
  2754. "mutable": false,
  2755. "attr": "intl-loading",
  2756. "reflectToAttr": false,
  2757. "docs": "string to override English loading text",
  2758. "docsTags": [
  2759. {
  2760. "name": "default",
  2761. "text": "\"Loading\""
  2762. }
  2763. ],
  2764. "default": "TEXT.loading",
  2765. "values": [
  2766. {
  2767. "type": "string"
  2768. }
  2769. ],
  2770. "optional": true,
  2771. "required": false
  2772. },
  2773. {
  2774. "name": "label",
  2775. "type": "string",
  2776. "mutable": false,
  2777. "attr": "label",
  2778. "reflectToAttr": false,
  2779. "docs": "Applies to the aria-label attribute on the button or hyperlink",
  2780. "docsTags": [],
  2781. "values": [
  2782. {
  2783. "type": "string"
  2784. }
  2785. ],
  2786. "optional": true,
  2787. "required": false
  2788. },
  2789. {
  2790. "name": "loading",
  2791. "type": "boolean",
  2792. "mutable": false,
  2793. "attr": "loading",
  2794. "reflectToAttr": true,
  2795. "docs": "optionally add a calcite-loader component to the button, disabling interaction.",
  2796. "docsTags": [],
  2797. "default": "false",
  2798. "values": [
  2799. {
  2800. "type": "boolean"
  2801. }
  2802. ],
  2803. "optional": false,
  2804. "required": false
  2805. },
  2806. {
  2807. "name": "name",
  2808. "type": "string",
  2809. "mutable": false,
  2810. "attr": "name",
  2811. "reflectToAttr": false,
  2812. "docs": "The name attribute to apply to the button",
  2813. "docsTags": [],
  2814. "values": [
  2815. {
  2816. "type": "string"
  2817. }
  2818. ],
  2819. "optional": true,
  2820. "required": false
  2821. },
  2822. {
  2823. "name": "rel",
  2824. "type": "string",
  2825. "mutable": false,
  2826. "attr": "rel",
  2827. "reflectToAttr": false,
  2828. "docs": "The rel attribute to apply to the hyperlink",
  2829. "docsTags": [],
  2830. "values": [
  2831. {
  2832. "type": "string"
  2833. }
  2834. ],
  2835. "optional": true,
  2836. "required": false
  2837. },
  2838. {
  2839. "name": "round",
  2840. "type": "boolean",
  2841. "mutable": false,
  2842. "attr": "round",
  2843. "reflectToAttr": true,
  2844. "docs": "optionally add a round style to the button",
  2845. "docsTags": [],
  2846. "default": "false",
  2847. "values": [
  2848. {
  2849. "type": "boolean"
  2850. }
  2851. ],
  2852. "optional": false,
  2853. "required": false
  2854. },
  2855. {
  2856. "name": "scale",
  2857. "type": "\"l\" | \"m\" | \"s\"",
  2858. "mutable": false,
  2859. "attr": "scale",
  2860. "reflectToAttr": true,
  2861. "docs": "specify the scale of the button, defaults to m",
  2862. "docsTags": [],
  2863. "default": "\"m\"",
  2864. "values": [
  2865. {
  2866. "value": "l",
  2867. "type": "string"
  2868. },
  2869. {
  2870. "value": "m",
  2871. "type": "string"
  2872. },
  2873. {
  2874. "value": "s",
  2875. "type": "string"
  2876. }
  2877. ],
  2878. "optional": false,
  2879. "required": false
  2880. },
  2881. {
  2882. "name": "splitChild",
  2883. "type": "\"primary\" | \"secondary\" | boolean",
  2884. "mutable": false,
  2885. "attr": "split-child",
  2886. "reflectToAttr": true,
  2887. "docs": "is the button a child of a calcite-split-button",
  2888. "docsTags": [],
  2889. "default": "false",
  2890. "values": [
  2891. {
  2892. "value": "primary",
  2893. "type": "string"
  2894. },
  2895. {
  2896. "value": "secondary",
  2897. "type": "string"
  2898. },
  2899. {
  2900. "type": "boolean"
  2901. }
  2902. ],
  2903. "optional": true,
  2904. "required": false
  2905. },
  2906. {
  2907. "name": "target",
  2908. "type": "string",
  2909. "mutable": false,
  2910. "attr": "target",
  2911. "reflectToAttr": false,
  2912. "docs": "The target attribute to apply to the hyperlink",
  2913. "docsTags": [],
  2914. "values": [
  2915. {
  2916. "type": "string"
  2917. }
  2918. ],
  2919. "optional": true,
  2920. "required": false
  2921. },
  2922. {
  2923. "name": "type",
  2924. "type": "string",
  2925. "mutable": true,
  2926. "attr": "type",
  2927. "reflectToAttr": false,
  2928. "docs": "The type attribute to apply to the button",
  2929. "docsTags": [],
  2930. "default": "\"button\"",
  2931. "values": [
  2932. {
  2933. "type": "string"
  2934. }
  2935. ],
  2936. "optional": false,
  2937. "required": false
  2938. },
  2939. {
  2940. "name": "width",
  2941. "type": "\"auto\" | \"full\" | \"half\"",
  2942. "mutable": false,
  2943. "attr": "width",
  2944. "reflectToAttr": true,
  2945. "docs": "specify the width of the button, defaults to auto",
  2946. "docsTags": [],
  2947. "default": "\"auto\"",
  2948. "values": [
  2949. {
  2950. "value": "auto",
  2951. "type": "string"
  2952. },
  2953. {
  2954. "value": "full",
  2955. "type": "string"
  2956. },
  2957. {
  2958. "value": "half",
  2959. "type": "string"
  2960. }
  2961. ],
  2962. "optional": false,
  2963. "required": false
  2964. }
  2965. ],
  2966. "methods": [
  2967. {
  2968. "name": "setFocus",
  2969. "returns": {
  2970. "type": "Promise<void>",
  2971. "docs": ""
  2972. },
  2973. "signature": "setFocus() => Promise<void>",
  2974. "parameters": [],
  2975. "docs": "Sets focus on the component.",
  2976. "docsTags": []
  2977. }
  2978. ],
  2979. "events": [],
  2980. "listeners": [],
  2981. "styles": [],
  2982. "slots": [
  2983. {
  2984. "name": "",
  2985. "docs": "A slot for adding text."
  2986. }
  2987. ],
  2988. "parts": [],
  2989. "dependents": [
  2990. "calcite-color-picker",
  2991. "calcite-fab",
  2992. "calcite-inline-editable",
  2993. "calcite-split-button"
  2994. ],
  2995. "dependencies": [
  2996. "calcite-loader",
  2997. "calcite-icon"
  2998. ],
  2999. "dependencyGraph": {
  3000. "calcite-button": [
  3001. "calcite-loader",
  3002. "calcite-icon"
  3003. ],
  3004. "calcite-color-picker": [
  3005. "calcite-button"
  3006. ],
  3007. "calcite-fab": [
  3008. "calcite-button"
  3009. ],
  3010. "calcite-inline-editable": [
  3011. "calcite-button"
  3012. ],
  3013. "calcite-split-button": [
  3014. "calcite-button"
  3015. ]
  3016. }
  3017. },
  3018. {
  3019. "filePath": "./src/components/card/card.tsx",
  3020. "encapsulation": "shadow",
  3021. "tag": "calcite-card",
  3022. "readme": "# calcite-card\n",
  3023. "docs": "",
  3024. "docsTags": [
  3025. {
  3026. "name": "slot",
  3027. "text": "- A slot for adding subheader/description content."
  3028. },
  3029. {
  3030. "name": "slot",
  3031. "text": "thumbnail - A slot for adding a thumbnail to the card."
  3032. },
  3033. {
  3034. "name": "slot",
  3035. "text": "title - A slot for adding a card title."
  3036. },
  3037. {
  3038. "name": "slot",
  3039. "text": "subtitle - A slot for adding a card subtitle or short summary."
  3040. },
  3041. {
  3042. "name": "slot",
  3043. "text": "footer-leading - A slot for adding a leading footer."
  3044. },
  3045. {
  3046. "name": "slot",
  3047. "text": "footer-trailing - A slot for adding a trailing footer."
  3048. }
  3049. ],
  3050. "usage": {
  3051. "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"
  3052. },
  3053. "props": [
  3054. {
  3055. "name": "intlDeselect",
  3056. "type": "string",
  3057. "mutable": false,
  3058. "attr": "intl-deselect",
  3059. "reflectToAttr": false,
  3060. "docs": "string to override English deselect text for checkbox when selectable is true",
  3061. "docsTags": [
  3062. {
  3063. "name": "default",
  3064. "text": "\"Deselect\""
  3065. }
  3066. ],
  3067. "default": "TEXT.deselect",
  3068. "values": [
  3069. {
  3070. "type": "string"
  3071. }
  3072. ],
  3073. "optional": false,
  3074. "required": false
  3075. },
  3076. {
  3077. "name": "intlLoading",
  3078. "type": "string",
  3079. "mutable": false,
  3080. "attr": "intl-loading",
  3081. "reflectToAttr": false,
  3082. "docs": "string to override English loading text",
  3083. "docsTags": [
  3084. {
  3085. "name": "default",
  3086. "text": "\"Loading\""
  3087. }
  3088. ],
  3089. "default": "TEXT.loading",
  3090. "values": [
  3091. {
  3092. "type": "string"
  3093. }
  3094. ],
  3095. "optional": true,
  3096. "required": false
  3097. },
  3098. {
  3099. "name": "intlSelect",
  3100. "type": "string",
  3101. "mutable": false,
  3102. "attr": "intl-select",
  3103. "reflectToAttr": false,
  3104. "docs": "string to override English select text for checkbox when selectable is true",
  3105. "docsTags": [
  3106. {
  3107. "name": "default",
  3108. "text": "\"Select\""
  3109. }
  3110. ],
  3111. "default": "TEXT.select",
  3112. "values": [
  3113. {
  3114. "type": "string"
  3115. }
  3116. ],
  3117. "optional": false,
  3118. "required": false
  3119. },
  3120. {
  3121. "name": "loading",
  3122. "type": "boolean",
  3123. "mutable": false,
  3124. "attr": "loading",
  3125. "reflectToAttr": true,
  3126. "docs": "When true, the cards content is waiting to be loaded. This state shows a busy indicator.",
  3127. "docsTags": [],
  3128. "default": "false",
  3129. "values": [
  3130. {
  3131. "type": "boolean"
  3132. }
  3133. ],
  3134. "optional": false,
  3135. "required": false
  3136. },
  3137. {
  3138. "name": "selectable",
  3139. "type": "boolean",
  3140. "mutable": false,
  3141. "attr": "selectable",
  3142. "reflectToAttr": true,
  3143. "docs": "Indicates whether the card is selectable.",
  3144. "docsTags": [],
  3145. "default": "false",
  3146. "values": [
  3147. {
  3148. "type": "boolean"
  3149. }
  3150. ],
  3151. "optional": false,
  3152. "required": false
  3153. },
  3154. {
  3155. "name": "selected",
  3156. "type": "boolean",
  3157. "mutable": true,
  3158. "attr": "selected",
  3159. "reflectToAttr": true,
  3160. "docs": "Indicates whether the card is selected.",
  3161. "docsTags": [],
  3162. "default": "false",
  3163. "values": [
  3164. {
  3165. "type": "boolean"
  3166. }
  3167. ],
  3168. "optional": false,
  3169. "required": false
  3170. }
  3171. ],
  3172. "methods": [],
  3173. "events": [
  3174. {
  3175. "event": "calciteCardSelect",
  3176. "detail": "any",
  3177. "bubbles": true,
  3178. "cancelable": true,
  3179. "composed": true,
  3180. "docs": "Fired when a selectable card is selected",
  3181. "docsTags": []
  3182. }
  3183. ],
  3184. "listeners": [],
  3185. "styles": [],
  3186. "slots": [
  3187. {
  3188. "name": "",
  3189. "docs": "A slot for adding subheader/description content."
  3190. },
  3191. {
  3192. "name": "footer-leading",
  3193. "docs": "A slot for adding a leading footer."
  3194. },
  3195. {
  3196. "name": "footer-trailing",
  3197. "docs": "A slot for adding a trailing footer."
  3198. },
  3199. {
  3200. "name": "subtitle",
  3201. "docs": "A slot for adding a card subtitle or short summary."
  3202. },
  3203. {
  3204. "name": "thumbnail",
  3205. "docs": "A slot for adding a thumbnail to the card."
  3206. },
  3207. {
  3208. "name": "title",
  3209. "docs": "A slot for adding a card title."
  3210. }
  3211. ],
  3212. "parts": [],
  3213. "dependents": [],
  3214. "dependencies": [
  3215. "calcite-loader",
  3216. "calcite-label",
  3217. "calcite-checkbox"
  3218. ],
  3219. "dependencyGraph": {
  3220. "calcite-card": [
  3221. "calcite-loader",
  3222. "calcite-label",
  3223. "calcite-checkbox"
  3224. ]
  3225. }
  3226. },
  3227. {
  3228. "filePath": "./src/components/checkbox/checkbox.tsx",
  3229. "encapsulation": "shadow",
  3230. "tag": "calcite-checkbox",
  3231. "readme": "# calcite-checkbox\n",
  3232. "docs": "",
  3233. "docsTags": [],
  3234. "usage": {
  3235. "Basic": "```html\n<calcite-checkbox id=\"first-name\" name=\"first-name\"></calcite-checkbox>\n```\n",
  3236. "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",
  3237. "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",
  3238. "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"
  3239. },
  3240. "props": [
  3241. {
  3242. "name": "checked",
  3243. "type": "boolean",
  3244. "mutable": true,
  3245. "attr": "checked",
  3246. "reflectToAttr": true,
  3247. "docs": "The checked state of the checkbox.",
  3248. "docsTags": [],
  3249. "default": "false",
  3250. "values": [
  3251. {
  3252. "type": "boolean"
  3253. }
  3254. ],
  3255. "optional": false,
  3256. "required": false
  3257. },
  3258. {
  3259. "name": "disabled",
  3260. "type": "boolean",
  3261. "mutable": false,
  3262. "attr": "disabled",
  3263. "reflectToAttr": true,
  3264. "docs": "True if the checkbox is disabled",
  3265. "docsTags": [],
  3266. "default": "false",
  3267. "values": [
  3268. {
  3269. "type": "boolean"
  3270. }
  3271. ],
  3272. "optional": false,
  3273. "required": false
  3274. },
  3275. {
  3276. "name": "guid",
  3277. "type": "string",
  3278. "mutable": true,
  3279. "attr": "guid",
  3280. "reflectToAttr": true,
  3281. "docs": "The id attribute of the checkbox. When omitted, a globally unique identifier is used.",
  3282. "docsTags": [],
  3283. "values": [
  3284. {
  3285. "type": "string"
  3286. }
  3287. ],
  3288. "optional": false,
  3289. "required": false
  3290. },
  3291. {
  3292. "name": "indeterminate",
  3293. "type": "boolean",
  3294. "mutable": true,
  3295. "attr": "indeterminate",
  3296. "reflectToAttr": true,
  3297. "docs": "True if the checkbox is initially indeterminate,\nwhich is independent from its checked state\nhttps://css-tricks.com/indeterminate-checkboxes/",
  3298. "docsTags": [],
  3299. "default": "false",
  3300. "values": [
  3301. {
  3302. "type": "boolean"
  3303. }
  3304. ],
  3305. "optional": false,
  3306. "required": false
  3307. },
  3308. {
  3309. "name": "name",
  3310. "type": "any",
  3311. "mutable": false,
  3312. "attr": "name",
  3313. "reflectToAttr": true,
  3314. "docs": "The name of the checkbox input",
  3315. "docsTags": [],
  3316. "values": [
  3317. {
  3318. "type": "any"
  3319. }
  3320. ],
  3321. "optional": false,
  3322. "required": false
  3323. },
  3324. {
  3325. "name": "scale",
  3326. "type": "\"l\" | \"m\" | \"s\"",
  3327. "mutable": false,
  3328. "attr": "scale",
  3329. "reflectToAttr": true,
  3330. "docs": "specify the scale of the checkbox, defaults to m",
  3331. "docsTags": [],
  3332. "default": "\"m\"",
  3333. "values": [
  3334. {
  3335. "value": "l",
  3336. "type": "string"
  3337. },
  3338. {
  3339. "value": "m",
  3340. "type": "string"
  3341. },
  3342. {
  3343. "value": "s",
  3344. "type": "string"
  3345. }
  3346. ],
  3347. "optional": false,
  3348. "required": false
  3349. },
  3350. {
  3351. "name": "value",
  3352. "type": "any",
  3353. "mutable": false,
  3354. "attr": "value",
  3355. "reflectToAttr": false,
  3356. "docs": "The value of the checkbox input",
  3357. "docsTags": [],
  3358. "values": [
  3359. {
  3360. "type": "any"
  3361. }
  3362. ],
  3363. "optional": false,
  3364. "required": false
  3365. }
  3366. ],
  3367. "methods": [
  3368. {
  3369. "name": "setFocus",
  3370. "returns": {
  3371. "type": "Promise<void>",
  3372. "docs": ""
  3373. },
  3374. "signature": "setFocus() => Promise<void>",
  3375. "parameters": [],
  3376. "docs": "Sets focus on the component.",
  3377. "docsTags": []
  3378. }
  3379. ],
  3380. "events": [
  3381. {
  3382. "event": "calciteCheckboxChange",
  3383. "detail": "any",
  3384. "bubbles": true,
  3385. "cancelable": true,
  3386. "composed": true,
  3387. "docs": "Emitted when the checkbox checked status changes",
  3388. "docsTags": []
  3389. }
  3390. ],
  3391. "listeners": [],
  3392. "styles": [
  3393. {
  3394. "name": "--calcite-checkbox-size",
  3395. "annotation": "prop",
  3396. "docs": "the width and height of the checkbox"
  3397. }
  3398. ],
  3399. "slots": [],
  3400. "parts": [],
  3401. "dependents": [
  3402. "calcite-card",
  3403. "calcite-tree-item"
  3404. ],
  3405. "dependencies": [],
  3406. "dependencyGraph": {
  3407. "calcite-card": [
  3408. "calcite-checkbox"
  3409. ],
  3410. "calcite-tree-item": [
  3411. "calcite-checkbox"
  3412. ]
  3413. }
  3414. },
  3415. {
  3416. "filePath": "./src/components/chip/chip.tsx",
  3417. "encapsulation": "shadow",
  3418. "tag": "calcite-chip",
  3419. "readme": "# calcite-chip\n",
  3420. "docs": "",
  3421. "docsTags": [
  3422. {
  3423. "name": "slot",
  3424. "text": "- A slot for adding text."
  3425. },
  3426. {
  3427. "name": "slot",
  3428. "text": "image - A slot for adding an image."
  3429. }
  3430. ],
  3431. "usage": {
  3432. "Basic": "```html\n<calcite-chip value=\"Global\" dismissible icon=\"globe\" appearance=\"clear\" color=\"green\">Global</calcite-chip>\n```\n"
  3433. },
  3434. "props": [
  3435. {
  3436. "name": "appearance",
  3437. "type": "\"clear\" | \"solid\"",
  3438. "mutable": false,
  3439. "attr": "appearance",
  3440. "reflectToAttr": true,
  3441. "docs": "specify the appearance style of the button, defaults to solid.",
  3442. "docsTags": [],
  3443. "default": "\"solid\"",
  3444. "values": [
  3445. {
  3446. "value": "clear",
  3447. "type": "string"
  3448. },
  3449. {
  3450. "value": "solid",
  3451. "type": "string"
  3452. }
  3453. ],
  3454. "optional": false,
  3455. "required": false
  3456. },
  3457. {
  3458. "name": "color",
  3459. "type": "\"blue\" | \"green\" | \"grey\" | \"red\" | \"yellow\"",
  3460. "mutable": false,
  3461. "attr": "color",
  3462. "reflectToAttr": true,
  3463. "docs": "specify the color of the button, defaults to blue",
  3464. "docsTags": [],
  3465. "default": "\"grey\"",
  3466. "values": [
  3467. {
  3468. "value": "blue",
  3469. "type": "string"
  3470. },
  3471. {
  3472. "value": "green",
  3473. "type": "string"
  3474. },
  3475. {
  3476. "value": "grey",
  3477. "type": "string"
  3478. },
  3479. {
  3480. "value": "red",
  3481. "type": "string"
  3482. },
  3483. {
  3484. "value": "yellow",
  3485. "type": "string"
  3486. }
  3487. ],
  3488. "optional": false,
  3489. "required": false
  3490. },
  3491. {
  3492. "name": "dismissLabel",
  3493. "type": "string",
  3494. "mutable": false,
  3495. "attr": "dismiss-label",
  3496. "reflectToAttr": false,
  3497. "docs": "Aria label for the \"x\" button",
  3498. "docsTags": [
  3499. {
  3500. "name": "default",
  3501. "text": "\"Close\""
  3502. }
  3503. ],
  3504. "default": "TEXT.close",
  3505. "values": [
  3506. {
  3507. "type": "string"
  3508. }
  3509. ],
  3510. "optional": true,
  3511. "required": false
  3512. },
  3513. {
  3514. "name": "dismissible",
  3515. "type": "boolean",
  3516. "mutable": false,
  3517. "attr": "dismissible",
  3518. "reflectToAttr": true,
  3519. "docs": "Optionally show a button the user can click to dismiss the chip",
  3520. "docsTags": [],
  3521. "default": "false",
  3522. "values": [
  3523. {
  3524. "type": "boolean"
  3525. }
  3526. ],
  3527. "optional": false,
  3528. "required": false
  3529. },
  3530. {
  3531. "name": "icon",
  3532. "type": "string",
  3533. "mutable": false,
  3534. "attr": "icon",
  3535. "reflectToAttr": true,
  3536. "docs": "optionally pass an icon to display - accepts Calcite UI icon names",
  3537. "docsTags": [],
  3538. "values": [
  3539. {
  3540. "type": "string"
  3541. }
  3542. ],
  3543. "optional": true,
  3544. "required": false
  3545. },
  3546. {
  3547. "name": "iconFlipRtl",
  3548. "type": "boolean",
  3549. "mutable": false,
  3550. "attr": "icon-flip-rtl",
  3551. "reflectToAttr": true,
  3552. "docs": "flip the icon in rtl",
  3553. "docsTags": [],
  3554. "default": "false",
  3555. "values": [
  3556. {
  3557. "type": "boolean"
  3558. }
  3559. ],
  3560. "optional": false,
  3561. "required": false
  3562. },
  3563. {
  3564. "name": "scale",
  3565. "type": "\"l\" | \"m\" | \"s\"",
  3566. "mutable": false,
  3567. "attr": "scale",
  3568. "reflectToAttr": true,
  3569. "docs": "specify the scale of the chip, defaults to m",
  3570. "docsTags": [],
  3571. "default": "\"m\"",
  3572. "values": [
  3573. {
  3574. "value": "l",
  3575. "type": "string"
  3576. },
  3577. {
  3578. "value": "m",
  3579. "type": "string"
  3580. },
  3581. {
  3582. "value": "s",
  3583. "type": "string"
  3584. }
  3585. ],
  3586. "optional": false,
  3587. "required": false
  3588. },
  3589. {
  3590. "name": "value",
  3591. "type": "any",
  3592. "mutable": false,
  3593. "attr": "value",
  3594. "reflectToAttr": false,
  3595. "docs": "The assigned value for the chip",
  3596. "docsTags": [],
  3597. "values": [
  3598. {
  3599. "type": "any"
  3600. }
  3601. ],
  3602. "optional": false,
  3603. "required": true
  3604. }
  3605. ],
  3606. "methods": [
  3607. {
  3608. "name": "setFocus",
  3609. "returns": {
  3610. "type": "Promise<void>",
  3611. "docs": ""
  3612. },
  3613. "signature": "setFocus() => Promise<void>",
  3614. "parameters": [],
  3615. "docs": "Sets focus on the component.",
  3616. "docsTags": []
  3617. }
  3618. ],
  3619. "events": [
  3620. {
  3621. "event": "calciteChipDismiss",
  3622. "detail": "any",
  3623. "bubbles": true,
  3624. "cancelable": true,
  3625. "composed": true,
  3626. "docs": "Emitted when the dismiss button is clicked",
  3627. "docsTags": []
  3628. }
  3629. ],
  3630. "listeners": [],
  3631. "styles": [],
  3632. "slots": [
  3633. {
  3634. "name": "",
  3635. "docs": "A slot for adding text."
  3636. },
  3637. {
  3638. "name": "image",
  3639. "docs": "A slot for adding an image."
  3640. }
  3641. ],
  3642. "parts": [],
  3643. "dependents": [
  3644. "calcite-alert",
  3645. "calcite-combobox",
  3646. "calcite-rating"
  3647. ],
  3648. "dependencies": [
  3649. "calcite-icon"
  3650. ],
  3651. "dependencyGraph": {
  3652. "calcite-chip": [
  3653. "calcite-icon"
  3654. ],
  3655. "calcite-alert": [
  3656. "calcite-chip"
  3657. ],
  3658. "calcite-combobox": [
  3659. "calcite-chip"
  3660. ],
  3661. "calcite-rating": [
  3662. "calcite-chip"
  3663. ]
  3664. }
  3665. },
  3666. {
  3667. "filePath": "./src/components/color-picker/color-picker.tsx",
  3668. "encapsulation": "shadow",
  3669. "tag": "calcite-color-picker",
  3670. "readme": "# calcite-color-picker\n",
  3671. "docs": "",
  3672. "docsTags": [],
  3673. "usage": {
  3674. "Basic": "```html\n<calcite-color-picker dir=\"ltr\" scale=\"m\" value=\"#b33f33\" appearance=\"default\"></calcite-color-picker>\n```\n",
  3675. "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"
  3676. },
  3677. "props": [
  3678. {
  3679. "name": "allowEmpty",
  3680. "type": "boolean",
  3681. "mutable": false,
  3682. "attr": "allow-empty",
  3683. "reflectToAttr": false,
  3684. "docs": "When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.\n\nWhen true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.",
  3685. "docsTags": [],
  3686. "default": "false",
  3687. "values": [
  3688. {
  3689. "type": "boolean"
  3690. }
  3691. ],
  3692. "optional": false,
  3693. "required": false
  3694. },
  3695. {
  3696. "name": "appearance",
  3697. "type": "\"default\" | \"minimal\"",
  3698. "mutable": false,
  3699. "attr": "appearance",
  3700. "reflectToAttr": true,
  3701. "docs": "specify the appearance - default (containing border), or minimal (no containing border)",
  3702. "docsTags": [],
  3703. "default": "\"default\"",
  3704. "values": [
  3705. {
  3706. "value": "default",
  3707. "type": "string"
  3708. },
  3709. {
  3710. "value": "minimal",
  3711. "type": "string"
  3712. }
  3713. ],
  3714. "optional": false,
  3715. "required": false
  3716. },
  3717. {
  3718. "name": "disabled",
  3719. "type": "boolean",
  3720. "mutable": false,
  3721. "attr": "disabled",
  3722. "reflectToAttr": true,
  3723. "docs": "When true, disabled prevents user interaction.",
  3724. "docsTags": [],
  3725. "default": "false",
  3726. "values": [
  3727. {
  3728. "type": "boolean"
  3729. }
  3730. ],
  3731. "optional": false,
  3732. "required": false
  3733. },
  3734. {
  3735. "name": "format",
  3736. "type": "\"auto\" | \"hex\" | \"hexa\" | \"hsl\" | \"hsl-css\" | \"hsla\" | \"hsla-css\" | \"hsv\" | \"hsva\" | \"rgb\" | \"rgb-css\" | \"rgba\" | \"rgba-css\"",
  3737. "mutable": false,
  3738. "attr": "format",
  3739. "reflectToAttr": false,
  3740. "docs": "The format of the value property.\n\nWhen \"auto\", the format will be inferred from `value` when set.",
  3741. "docsTags": [
  3742. {
  3743. "name": "default",
  3744. "text": "\"auto\""
  3745. }
  3746. ],
  3747. "default": "defaultFormat",
  3748. "values": [
  3749. {
  3750. "value": "auto",
  3751. "type": "string"
  3752. },
  3753. {
  3754. "value": "hex",
  3755. "type": "string"
  3756. },
  3757. {
  3758. "value": "hexa",
  3759. "type": "string"
  3760. },
  3761. {
  3762. "value": "hsl",
  3763. "type": "string"
  3764. },
  3765. {
  3766. "value": "hsl-css",
  3767. "type": "string"
  3768. },
  3769. {
  3770. "value": "hsla",
  3771. "type": "string"
  3772. },
  3773. {
  3774. "value": "hsla-css",
  3775. "type": "string"
  3776. },
  3777. {
  3778. "value": "hsv",
  3779. "type": "string"
  3780. },
  3781. {
  3782. "value": "hsva",
  3783. "type": "string"
  3784. },
  3785. {
  3786. "value": "rgb",
  3787. "type": "string"
  3788. },
  3789. {
  3790. "value": "rgb-css",
  3791. "type": "string"
  3792. },
  3793. {
  3794. "value": "rgba",
  3795. "type": "string"
  3796. },
  3797. {
  3798. "value": "rgba-css",
  3799. "type": "string"
  3800. }
  3801. ],
  3802. "optional": false,
  3803. "required": false
  3804. },
  3805. {
  3806. "name": "hideChannels",
  3807. "type": "boolean",
  3808. "mutable": false,
  3809. "attr": "hide-channels",
  3810. "reflectToAttr": false,
  3811. "docs": "When true, hides the RGB/HSV channel inputs",
  3812. "docsTags": [],
  3813. "default": "false",
  3814. "values": [
  3815. {
  3816. "type": "boolean"
  3817. }
  3818. ],
  3819. "optional": false,
  3820. "required": false
  3821. },
  3822. {
  3823. "name": "hideHex",
  3824. "type": "boolean",
  3825. "mutable": false,
  3826. "attr": "hide-hex",
  3827. "reflectToAttr": false,
  3828. "docs": "When true, hides the hex input",
  3829. "docsTags": [],
  3830. "default": "false",
  3831. "values": [
  3832. {
  3833. "type": "boolean"
  3834. }
  3835. ],
  3836. "optional": false,
  3837. "required": false
  3838. },
  3839. {
  3840. "name": "hideSaved",
  3841. "type": "boolean",
  3842. "mutable": false,
  3843. "attr": "hide-saved",
  3844. "reflectToAttr": false,
  3845. "docs": "When true, hides the saved colors section",
  3846. "docsTags": [],
  3847. "default": "false",
  3848. "values": [
  3849. {
  3850. "type": "boolean"
  3851. }
  3852. ],
  3853. "optional": false,
  3854. "required": false
  3855. },
  3856. {
  3857. "name": "intlB",
  3858. "type": "string",
  3859. "mutable": false,
  3860. "attr": "intl-b",
  3861. "reflectToAttr": false,
  3862. "docs": "Label used for the blue channel",
  3863. "docsTags": [
  3864. {
  3865. "name": "default",
  3866. "text": "\"B\""
  3867. }
  3868. ],
  3869. "default": "TEXT.b",
  3870. "values": [
  3871. {
  3872. "type": "string"
  3873. }
  3874. ],
  3875. "optional": false,
  3876. "required": false
  3877. },
  3878. {
  3879. "name": "intlBlue",
  3880. "type": "string",
  3881. "mutable": false,
  3882. "attr": "intl-blue",
  3883. "reflectToAttr": false,
  3884. "docs": "Label used for the blue channel description",
  3885. "docsTags": [
  3886. {
  3887. "name": "default",
  3888. "text": "\"Blue\""
  3889. }
  3890. ],
  3891. "default": "TEXT.blue",
  3892. "values": [
  3893. {
  3894. "type": "string"
  3895. }
  3896. ],
  3897. "optional": false,
  3898. "required": false
  3899. },
  3900. {
  3901. "name": "intlDeleteColor",
  3902. "type": "string",
  3903. "mutable": false,
  3904. "attr": "intl-delete-color",
  3905. "reflectToAttr": false,
  3906. "docs": "Label used for the delete color button.",
  3907. "docsTags": [
  3908. {
  3909. "name": "default",
  3910. "text": "\"Delete color\""
  3911. }
  3912. ],
  3913. "default": "TEXT.deleteColor",
  3914. "values": [
  3915. {
  3916. "type": "string"
  3917. }
  3918. ],
  3919. "optional": false,
  3920. "required": false
  3921. },
  3922. {
  3923. "name": "intlG",
  3924. "type": "string",
  3925. "mutable": false,
  3926. "attr": "intl-g",
  3927. "reflectToAttr": false,
  3928. "docs": "Label used for the green channel",
  3929. "docsTags": [
  3930. {
  3931. "name": "default",
  3932. "text": "\"G\""
  3933. }
  3934. ],
  3935. "default": "TEXT.g",
  3936. "values": [
  3937. {
  3938. "type": "string"
  3939. }
  3940. ],
  3941. "optional": false,
  3942. "required": false
  3943. },
  3944. {
  3945. "name": "intlGreen",
  3946. "type": "string",
  3947. "mutable": false,
  3948. "attr": "intl-green",
  3949. "reflectToAttr": false,
  3950. "docs": "Label used for the green channel description",
  3951. "docsTags": [
  3952. {
  3953. "name": "default",
  3954. "text": "\"Green\""
  3955. }
  3956. ],
  3957. "default": "TEXT.green",
  3958. "values": [
  3959. {
  3960. "type": "string"
  3961. }
  3962. ],
  3963. "optional": false,
  3964. "required": false
  3965. },
  3966. {
  3967. "name": "intlH",
  3968. "type": "string",
  3969. "mutable": false,
  3970. "attr": "intl-h",
  3971. "reflectToAttr": false,
  3972. "docs": "Label used for the hue channel",
  3973. "docsTags": [
  3974. {
  3975. "name": "default",
  3976. "text": "\"H\""
  3977. }
  3978. ],
  3979. "default": "TEXT.h",
  3980. "values": [
  3981. {
  3982. "type": "string"
  3983. }
  3984. ],
  3985. "optional": false,
  3986. "required": false
  3987. },
  3988. {
  3989. "name": "intlHex",
  3990. "type": "string",
  3991. "mutable": false,
  3992. "attr": "intl-hex",
  3993. "reflectToAttr": false,
  3994. "docs": "Label used for the hex input",
  3995. "docsTags": [
  3996. {
  3997. "name": "default",
  3998. "text": "\"Hex\""
  3999. }
  4000. ],
  4001. "default": "TEXT.hex",
  4002. "values": [
  4003. {
  4004. "type": "string"
  4005. }
  4006. ],
  4007. "optional": false,
  4008. "required": false
  4009. },
  4010. {
  4011. "name": "intlHsv",
  4012. "type": "string",
  4013. "mutable": false,
  4014. "attr": "intl-hsv",
  4015. "reflectToAttr": false,
  4016. "docs": "Label used for the HSV mode",
  4017. "docsTags": [
  4018. {
  4019. "name": "default",
  4020. "text": "\"HSV\""
  4021. }
  4022. ],
  4023. "default": "TEXT.hsv",
  4024. "values": [
  4025. {
  4026. "type": "string"
  4027. }
  4028. ],
  4029. "optional": false,
  4030. "required": false
  4031. },
  4032. {
  4033. "name": "intlHue",
  4034. "type": "string",
  4035. "mutable": false,
  4036. "attr": "intl-hue",
  4037. "reflectToAttr": false,
  4038. "docs": "Label used for the hue channel description",
  4039. "docsTags": [
  4040. {
  4041. "name": "default",
  4042. "text": "\"Hue\""
  4043. }
  4044. ],
  4045. "default": "TEXT.hue",
  4046. "values": [
  4047. {
  4048. "type": "string"
  4049. }
  4050. ],
  4051. "optional": false,
  4052. "required": false
  4053. },
  4054. {
  4055. "name": "intlNoColor",
  4056. "type": "string",
  4057. "mutable": false,
  4058. "attr": "intl-no-color",
  4059. "reflectToAttr": false,
  4060. "docs": "Label used for the hex input when there is no color selected.",
  4061. "docsTags": [
  4062. {
  4063. "name": "default",
  4064. "text": "\"No color\""
  4065. }
  4066. ],
  4067. "default": "TEXT.noColor",
  4068. "values": [
  4069. {
  4070. "type": "string"
  4071. }
  4072. ],
  4073. "optional": false,
  4074. "required": false
  4075. },
  4076. {
  4077. "name": "intlR",
  4078. "type": "string",
  4079. "mutable": false,
  4080. "attr": "intl-r",
  4081. "reflectToAttr": false,
  4082. "docs": "Label used for the red channel",
  4083. "docsTags": [
  4084. {
  4085. "name": "default",
  4086. "text": "\"R\""
  4087. }
  4088. ],
  4089. "default": "TEXT.r",
  4090. "values": [
  4091. {
  4092. "type": "string"
  4093. }
  4094. ],
  4095. "optional": false,
  4096. "required": false
  4097. },
  4098. {
  4099. "name": "intlRed",
  4100. "type": "string",
  4101. "mutable": false,
  4102. "attr": "intl-red",
  4103. "reflectToAttr": false,
  4104. "docs": "Label used for the red channel description",
  4105. "docsTags": [
  4106. {
  4107. "name": "default",
  4108. "text": "\"Red\""
  4109. }
  4110. ],
  4111. "default": "TEXT.red",
  4112. "values": [
  4113. {
  4114. "type": "string"
  4115. }
  4116. ],
  4117. "optional": false,
  4118. "required": false
  4119. },
  4120. {
  4121. "name": "intlRgb",
  4122. "type": "string",
  4123. "mutable": false,
  4124. "attr": "intl-rgb",
  4125. "reflectToAttr": false,
  4126. "docs": "Label used for the RGB mode",
  4127. "docsTags": [
  4128. {
  4129. "name": "default",
  4130. "text": "\"RGB\""
  4131. }
  4132. ],
  4133. "default": "TEXT.rgb",
  4134. "values": [
  4135. {
  4136. "type": "string"
  4137. }
  4138. ],
  4139. "optional": false,
  4140. "required": false
  4141. },
  4142. {
  4143. "name": "intlS",
  4144. "type": "string",
  4145. "mutable": false,
  4146. "attr": "intl-s",
  4147. "reflectToAttr": false,
  4148. "docs": "Label used for the saturation channel",
  4149. "docsTags": [
  4150. {
  4151. "name": "default",
  4152. "text": "\"S\""
  4153. }
  4154. ],
  4155. "default": "TEXT.s",
  4156. "values": [
  4157. {
  4158. "type": "string"
  4159. }
  4160. ],
  4161. "optional": false,
  4162. "required": false
  4163. },
  4164. {
  4165. "name": "intlSaturation",
  4166. "type": "string",
  4167. "mutable": false,
  4168. "attr": "intl-saturation",
  4169. "reflectToAttr": false,
  4170. "docs": "Label used for the saturation channel description",
  4171. "docsTags": [
  4172. {
  4173. "name": "default",
  4174. "text": "\"Saturation\""
  4175. }
  4176. ],
  4177. "default": "TEXT.saturation",
  4178. "values": [
  4179. {
  4180. "type": "string"
  4181. }
  4182. ],
  4183. "optional": false,
  4184. "required": false
  4185. },
  4186. {
  4187. "name": "intlSaveColor",
  4188. "type": "string",
  4189. "mutable": false,
  4190. "attr": "intl-save-color",
  4191. "reflectToAttr": false,
  4192. "docs": "Label used for the save color button.",
  4193. "docsTags": [
  4194. {
  4195. "name": "default",
  4196. "text": "\"Save color\""
  4197. }
  4198. ],
  4199. "default": "TEXT.saveColor",
  4200. "values": [
  4201. {
  4202. "type": "string"
  4203. }
  4204. ],
  4205. "optional": false,
  4206. "required": false
  4207. },
  4208. {
  4209. "name": "intlSaved",
  4210. "type": "string",
  4211. "mutable": false,
  4212. "attr": "intl-saved",
  4213. "reflectToAttr": false,
  4214. "docs": "Label used for the saved colors section",
  4215. "docsTags": [
  4216. {
  4217. "name": "default",
  4218. "text": "\"Saved\""
  4219. }
  4220. ],
  4221. "default": "TEXT.saved",
  4222. "values": [
  4223. {
  4224. "type": "string"
  4225. }
  4226. ],
  4227. "optional": false,
  4228. "required": false
  4229. },
  4230. {
  4231. "name": "intlV",
  4232. "type": "string",
  4233. "mutable": false,
  4234. "attr": "intl-v",
  4235. "reflectToAttr": false,
  4236. "docs": "Label used for the value channel",
  4237. "docsTags": [
  4238. {
  4239. "name": "default",
  4240. "text": "\"V\""
  4241. }
  4242. ],
  4243. "default": "TEXT.v",
  4244. "values": [
  4245. {
  4246. "type": "string"
  4247. }
  4248. ],
  4249. "optional": false,
  4250. "required": false
  4251. },
  4252. {
  4253. "name": "intlValue",
  4254. "type": "string",
  4255. "mutable": false,
  4256. "attr": "intl-value",
  4257. "reflectToAttr": false,
  4258. "docs": "Label used for the",
  4259. "docsTags": [
  4260. {
  4261. "name": "default",
  4262. "text": "\"Value\""
  4263. }
  4264. ],
  4265. "default": "TEXT.value",
  4266. "values": [
  4267. {
  4268. "type": "string"
  4269. }
  4270. ],
  4271. "optional": false,
  4272. "required": false
  4273. },
  4274. {
  4275. "name": "scale",
  4276. "type": "\"l\" | \"m\" | \"s\"",
  4277. "mutable": false,
  4278. "attr": "scale",
  4279. "reflectToAttr": true,
  4280. "docs": "The scale of the color picker.",
  4281. "docsTags": [],
  4282. "default": "\"m\"",
  4283. "values": [
  4284. {
  4285. "value": "l",
  4286. "type": "string"
  4287. },
  4288. {
  4289. "value": "m",
  4290. "type": "string"
  4291. },
  4292. {
  4293. "value": "s",
  4294. "type": "string"
  4295. }
  4296. ],
  4297. "optional": false,
  4298. "required": false
  4299. },
  4300. {
  4301. "name": "storageId",
  4302. "type": "string",
  4303. "mutable": false,
  4304. "attr": "storage-id",
  4305. "reflectToAttr": false,
  4306. "docs": "Storage ID for colors.",
  4307. "docsTags": [],
  4308. "values": [
  4309. {
  4310. "type": "string"
  4311. }
  4312. ],
  4313. "optional": false,
  4314. "required": false
  4315. },
  4316. {
  4317. "name": "value",
  4318. "type": "HSL | HSL & ObjectWithAlpha | HSV | HSV & ObjectWithAlpha | RGB | RGB & ObjectWithAlpha | string",
  4319. "mutable": true,
  4320. "attr": "value",
  4321. "reflectToAttr": false,
  4322. "docs": "The color value.\n\nThis value can be either a {@link https ://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS string}\na RGB, HSL or HSV object.\n\nThe type will be preserved as the color is updated.",
  4323. "docsTags": [
  4324. {
  4325. "name": "default",
  4326. "text": "\"#007ac2\""
  4327. },
  4328. {
  4329. "name": "see",
  4330. "text": "[ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)"
  4331. }
  4332. ],
  4333. "default": "defaultValue",
  4334. "values": [
  4335. {
  4336. "type": "HSL"
  4337. },
  4338. {
  4339. "type": "HSL & ObjectWithAlpha"
  4340. },
  4341. {
  4342. "type": "HSV"
  4343. },
  4344. {
  4345. "type": "HSV & ObjectWithAlpha"
  4346. },
  4347. {
  4348. "type": "RGB"
  4349. },
  4350. {
  4351. "type": "RGB & ObjectWithAlpha"
  4352. },
  4353. {
  4354. "type": "string"
  4355. }
  4356. ],
  4357. "optional": false,
  4358. "required": false
  4359. }
  4360. ],
  4361. "methods": [
  4362. {
  4363. "name": "setFocus",
  4364. "returns": {
  4365. "type": "Promise<void>",
  4366. "docs": ""
  4367. },
  4368. "signature": "setFocus() => Promise<void>",
  4369. "parameters": [],
  4370. "docs": "Sets focus on the component.",
  4371. "docsTags": []
  4372. }
  4373. ],
  4374. "events": [
  4375. {
  4376. "event": "calciteColorPickerChange",
  4377. "detail": "any",
  4378. "bubbles": true,
  4379. "cancelable": true,
  4380. "composed": true,
  4381. "docs": "Fires when the color value has changed.",
  4382. "docsTags": []
  4383. },
  4384. {
  4385. "event": "calciteColorPickerInput",
  4386. "detail": "any",
  4387. "bubbles": true,
  4388. "cancelable": true,
  4389. "composed": true,
  4390. "docs": "Fires as the color value changes.\n\nThis is similar to the change event with the exception of dragging. When dragging the color field or hue slider thumb, this event fires as the thumb is moved.",
  4391. "docsTags": []
  4392. }
  4393. ],
  4394. "listeners": [
  4395. {
  4396. "event": "keydown",
  4397. "capture": true,
  4398. "passive": false
  4399. },
  4400. {
  4401. "event": "keyup",
  4402. "capture": true,
  4403. "passive": false
  4404. }
  4405. ],
  4406. "styles": [],
  4407. "slots": [],
  4408. "parts": [],
  4409. "dependents": [],
  4410. "dependencies": [
  4411. "calcite-tab-title",
  4412. "calcite-tab",
  4413. "calcite-input",
  4414. "calcite-color-picker-hex-input",
  4415. "calcite-tabs",
  4416. "calcite-tab-nav",
  4417. "calcite-button",
  4418. "calcite-color-picker-swatch"
  4419. ],
  4420. "dependencyGraph": {
  4421. "calcite-color-picker": [
  4422. "calcite-tab-title",
  4423. "calcite-tab",
  4424. "calcite-input",
  4425. "calcite-color-picker-hex-input",
  4426. "calcite-tabs",
  4427. "calcite-tab-nav",
  4428. "calcite-button",
  4429. "calcite-color-picker-swatch"
  4430. ],
  4431. "calcite-tab-title": [
  4432. "calcite-icon"
  4433. ],
  4434. "calcite-input": [
  4435. "calcite-progress",
  4436. "calcite-icon"
  4437. ],
  4438. "calcite-color-picker-hex-input": [
  4439. "calcite-input",
  4440. "calcite-color-picker-swatch"
  4441. ],
  4442. "calcite-button": [
  4443. "calcite-loader",
  4444. "calcite-icon"
  4445. ]
  4446. }
  4447. },
  4448. {
  4449. "filePath": "./src/components/color-picker-hex-input/color-picker-hex-input.tsx",
  4450. "encapsulation": "shadow",
  4451. "tag": "calcite-color-picker-hex-input",
  4452. "readme": "# calcite-hex-input\n",
  4453. "docs": "",
  4454. "docsTags": [],
  4455. "usage": {},
  4456. "props": [
  4457. {
  4458. "name": "allowEmpty",
  4459. "type": "boolean",
  4460. "mutable": false,
  4461. "attr": "allow-empty",
  4462. "reflectToAttr": false,
  4463. "docs": "When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.\n\nWhen true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.",
  4464. "docsTags": [],
  4465. "default": "false",
  4466. "values": [
  4467. {
  4468. "type": "boolean"
  4469. }
  4470. ],
  4471. "optional": false,
  4472. "required": false
  4473. },
  4474. {
  4475. "name": "intlHex",
  4476. "type": "string",
  4477. "mutable": false,
  4478. "attr": "intl-hex",
  4479. "reflectToAttr": false,
  4480. "docs": "Label used for the hex input.",
  4481. "docsTags": [
  4482. {
  4483. "name": "default",
  4484. "text": "\"Hex\""
  4485. }
  4486. ],
  4487. "default": "TEXT.hex",
  4488. "values": [
  4489. {
  4490. "type": "string"
  4491. }
  4492. ],
  4493. "optional": false,
  4494. "required": false
  4495. },
  4496. {
  4497. "name": "intlNoColor",
  4498. "type": "string",
  4499. "mutable": false,
  4500. "attr": "intl-no-color",
  4501. "reflectToAttr": false,
  4502. "docs": "Label used for the hex input when there is no color selected.",
  4503. "docsTags": [
  4504. {
  4505. "name": "default",
  4506. "text": "\"No color\""
  4507. }
  4508. ],
  4509. "default": "TEXT.noColor",
  4510. "values": [
  4511. {
  4512. "type": "string"
  4513. }
  4514. ],
  4515. "optional": false,
  4516. "required": false
  4517. },
  4518. {
  4519. "name": "scale",
  4520. "type": "\"l\" | \"m\" | \"s\"",
  4521. "mutable": false,
  4522. "attr": "scale",
  4523. "reflectToAttr": true,
  4524. "docs": "The component's scale.",
  4525. "docsTags": [],
  4526. "default": "\"m\"",
  4527. "values": [
  4528. {
  4529. "value": "l",
  4530. "type": "string"
  4531. },
  4532. {
  4533. "value": "m",
  4534. "type": "string"
  4535. },
  4536. {
  4537. "value": "s",
  4538. "type": "string"
  4539. }
  4540. ],
  4541. "optional": false,
  4542. "required": false
  4543. },
  4544. {
  4545. "name": "value",
  4546. "type": "string",
  4547. "mutable": true,
  4548. "attr": "value",
  4549. "reflectToAttr": true,
  4550. "docs": "The hex value.",
  4551. "docsTags": [],
  4552. "default": "normalizeHex(DEFAULT_COLOR.hex())",
  4553. "values": [
  4554. {
  4555. "type": "string"
  4556. }
  4557. ],
  4558. "optional": false,
  4559. "required": false
  4560. }
  4561. ],
  4562. "methods": [
  4563. {
  4564. "name": "setFocus",
  4565. "returns": {
  4566. "type": "Promise<void>",
  4567. "docs": ""
  4568. },
  4569. "signature": "setFocus() => Promise<void>",
  4570. "parameters": [],
  4571. "docs": "Sets focus on the component.",
  4572. "docsTags": []
  4573. }
  4574. ],
  4575. "events": [
  4576. {
  4577. "event": "calciteColorPickerHexInputChange",
  4578. "detail": "any",
  4579. "bubbles": true,
  4580. "cancelable": true,
  4581. "composed": true,
  4582. "docs": "Emitted when the hex value changes.",
  4583. "docsTags": []
  4584. }
  4585. ],
  4586. "listeners": [
  4587. {
  4588. "event": "keydown",
  4589. "capture": true,
  4590. "passive": false
  4591. }
  4592. ],
  4593. "styles": [],
  4594. "slots": [],
  4595. "parts": [],
  4596. "dependents": [
  4597. "calcite-color-picker"
  4598. ],
  4599. "dependencies": [
  4600. "calcite-input",
  4601. "calcite-color-picker-swatch"
  4602. ],
  4603. "dependencyGraph": {
  4604. "calcite-color-picker-hex-input": [
  4605. "calcite-input",
  4606. "calcite-color-picker-swatch"
  4607. ],
  4608. "calcite-input": [
  4609. "calcite-progress",
  4610. "calcite-icon"
  4611. ],
  4612. "calcite-color-picker": [
  4613. "calcite-color-picker-hex-input"
  4614. ]
  4615. }
  4616. },
  4617. {
  4618. "filePath": "./src/components/color-picker-swatch/color-picker-swatch.tsx",
  4619. "encapsulation": "shadow",
  4620. "tag": "calcite-color-picker-swatch",
  4621. "readme": "# my-component\n",
  4622. "docs": "",
  4623. "docsTags": [],
  4624. "usage": {},
  4625. "props": [
  4626. {
  4627. "name": "active",
  4628. "type": "boolean",
  4629. "mutable": false,
  4630. "attr": "active",
  4631. "reflectToAttr": true,
  4632. "docs": "Used to display whether the swatch is active or not.",
  4633. "docsTags": [],
  4634. "default": "false",
  4635. "values": [
  4636. {
  4637. "type": "boolean"
  4638. }
  4639. ],
  4640. "optional": false,
  4641. "required": false
  4642. },
  4643. {
  4644. "name": "color",
  4645. "type": "string",
  4646. "mutable": false,
  4647. "attr": "color",
  4648. "reflectToAttr": false,
  4649. "docs": "The color value.",
  4650. "docsTags": [
  4651. {
  4652. "name": "see",
  4653. "text": "https://developer.mozilla.org/en-US/docs/Web/CSS/color_value"
  4654. }
  4655. ],
  4656. "values": [
  4657. {
  4658. "type": "string"
  4659. }
  4660. ],
  4661. "optional": false,
  4662. "required": false
  4663. },
  4664. {
  4665. "name": "scale",
  4666. "type": "\"l\" | \"m\" | \"s\"",
  4667. "mutable": false,
  4668. "attr": "scale",
  4669. "reflectToAttr": true,
  4670. "docs": "The component scale.",
  4671. "docsTags": [],
  4672. "default": "\"m\"",
  4673. "values": [
  4674. {
  4675. "value": "l",
  4676. "type": "string"
  4677. },
  4678. {
  4679. "value": "m",
  4680. "type": "string"
  4681. },
  4682. {
  4683. "value": "s",
  4684. "type": "string"
  4685. }
  4686. ],
  4687. "optional": false,
  4688. "required": false
  4689. }
  4690. ],
  4691. "methods": [],
  4692. "events": [],
  4693. "listeners": [],
  4694. "styles": [],
  4695. "slots": [],
  4696. "parts": [],
  4697. "dependents": [
  4698. "calcite-color-picker",
  4699. "calcite-color-picker-hex-input"
  4700. ],
  4701. "dependencies": [],
  4702. "dependencyGraph": {
  4703. "calcite-color-picker": [
  4704. "calcite-color-picker-swatch"
  4705. ],
  4706. "calcite-color-picker-hex-input": [
  4707. "calcite-color-picker-swatch"
  4708. ]
  4709. }
  4710. },
  4711. {
  4712. "filePath": "./src/components/combobox/combobox.tsx",
  4713. "encapsulation": "shadow",
  4714. "tag": "calcite-combobox",
  4715. "readme": "# calcite-combobox\n",
  4716. "docs": "",
  4717. "docsTags": [
  4718. {
  4719. "name": "slot",
  4720. "text": "- A slot for adding `calcite-combobox-item`s."
  4721. }
  4722. ],
  4723. "usage": {
  4724. "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",
  4725. "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",
  4726. "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"
  4727. },
  4728. "props": [
  4729. {
  4730. "name": "active",
  4731. "type": "boolean",
  4732. "mutable": true,
  4733. "attr": "active",
  4734. "reflectToAttr": true,
  4735. "docs": "Opens or closes the combobox",
  4736. "docsTags": [],
  4737. "default": "false",
  4738. "values": [
  4739. {
  4740. "type": "boolean"
  4741. }
  4742. ],
  4743. "optional": false,
  4744. "required": false
  4745. },
  4746. {
  4747. "name": "allowCustomValues",
  4748. "type": "boolean",
  4749. "mutable": false,
  4750. "attr": "allow-custom-values",
  4751. "reflectToAttr": false,
  4752. "docs": "Allow entry of custom values which are not in the original set of items",
  4753. "docsTags": [],
  4754. "values": [
  4755. {
  4756. "type": "boolean"
  4757. }
  4758. ],
  4759. "optional": false,
  4760. "required": false
  4761. },
  4762. {
  4763. "name": "disabled",
  4764. "type": "boolean",
  4765. "mutable": false,
  4766. "attr": "disabled",
  4767. "reflectToAttr": true,
  4768. "docs": "Disable combobox input",
  4769. "docsTags": [],
  4770. "default": "false",
  4771. "values": [
  4772. {
  4773. "type": "boolean"
  4774. }
  4775. ],
  4776. "optional": false,
  4777. "required": false
  4778. },
  4779. {
  4780. "name": "flipPlacements",
  4781. "type": "ComputedPlacement[]",
  4782. "mutable": false,
  4783. "reflectToAttr": false,
  4784. "docs": "Defines the available placements that can be used when a flip occurs.",
  4785. "docsTags": [],
  4786. "values": [
  4787. {
  4788. "type": "ComputedPlacement[]"
  4789. }
  4790. ],
  4791. "optional": true,
  4792. "required": false
  4793. },
  4794. {
  4795. "name": "intlRemoveTag",
  4796. "type": "string",
  4797. "mutable": false,
  4798. "attr": "intl-remove-tag",
  4799. "reflectToAttr": false,
  4800. "docs": "string to override the English \"Remove tag\" text for when an item is selected.",
  4801. "docsTags": [
  4802. {
  4803. "name": "default",
  4804. "text": "\"Remove tag\""
  4805. }
  4806. ],
  4807. "default": "TEXT.removeTag",
  4808. "values": [
  4809. {
  4810. "type": "string"
  4811. }
  4812. ],
  4813. "optional": false,
  4814. "required": false
  4815. },
  4816. {
  4817. "name": "label",
  4818. "type": "string",
  4819. "mutable": false,
  4820. "attr": "label",
  4821. "reflectToAttr": false,
  4822. "docs": "Aria label for combobox (required)",
  4823. "docsTags": [],
  4824. "values": [
  4825. {
  4826. "type": "string"
  4827. }
  4828. ],
  4829. "optional": false,
  4830. "required": true
  4831. },
  4832. {
  4833. "name": "maxItems",
  4834. "type": "number",
  4835. "mutable": false,
  4836. "attr": "max-items",
  4837. "reflectToAttr": false,
  4838. "docs": "Specify the maximum number of combobox items (including nested children) to display before showing the scroller",
  4839. "docsTags": [],
  4840. "default": "0",
  4841. "values": [
  4842. {
  4843. "type": "number"
  4844. }
  4845. ],
  4846. "optional": false,
  4847. "required": false
  4848. },
  4849. {
  4850. "name": "name",
  4851. "type": "string",
  4852. "mutable": false,
  4853. "attr": "name",
  4854. "reflectToAttr": true,
  4855. "docs": "The name of the switch input",
  4856. "docsTags": [],
  4857. "values": [
  4858. {
  4859. "type": "string"
  4860. }
  4861. ],
  4862. "optional": false,
  4863. "required": false
  4864. },
  4865. {
  4866. "name": "overlayPositioning",
  4867. "type": "\"absolute\" | \"fixed\"",
  4868. "mutable": false,
  4869. "attr": "overlay-positioning",
  4870. "reflectToAttr": false,
  4871. "docs": "Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.",
  4872. "docsTags": [],
  4873. "default": "\"absolute\"",
  4874. "values": [
  4875. {
  4876. "value": "absolute",
  4877. "type": "string"
  4878. },
  4879. {
  4880. "value": "fixed",
  4881. "type": "string"
  4882. }
  4883. ],
  4884. "optional": false,
  4885. "required": false
  4886. },
  4887. {
  4888. "name": "placeholder",
  4889. "type": "string",
  4890. "mutable": false,
  4891. "attr": "placeholder",
  4892. "reflectToAttr": false,
  4893. "docs": "Placeholder text for input",
  4894. "docsTags": [],
  4895. "values": [
  4896. {
  4897. "type": "string"
  4898. }
  4899. ],
  4900. "optional": true,
  4901. "required": false
  4902. },
  4903. {
  4904. "name": "scale",
  4905. "type": "\"l\" | \"m\" | \"s\"",
  4906. "mutable": false,
  4907. "attr": "scale",
  4908. "reflectToAttr": true,
  4909. "docs": "Specify the scale of the combobox, defaults to m",
  4910. "docsTags": [],
  4911. "default": "\"m\"",
  4912. "values": [
  4913. {
  4914. "value": "l",
  4915. "type": "string"
  4916. },
  4917. {
  4918. "value": "m",
  4919. "type": "string"
  4920. },
  4921. {
  4922. "value": "s",
  4923. "type": "string"
  4924. }
  4925. ],
  4926. "optional": false,
  4927. "required": false
  4928. },
  4929. {
  4930. "name": "selectionMode",
  4931. "type": "\"ancestors\" | \"multi\" | \"single\"",
  4932. "mutable": false,
  4933. "attr": "selection-mode",
  4934. "reflectToAttr": true,
  4935. "docs": "specify the selection mode\n- multi: allow any number of selected items (default)\n- single: only one selection)\n- ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips",
  4936. "docsTags": [],
  4937. "default": "\"multi\"",
  4938. "values": [
  4939. {
  4940. "value": "ancestors",
  4941. "type": "string"
  4942. },
  4943. {
  4944. "value": "multi",
  4945. "type": "string"
  4946. },
  4947. {
  4948. "value": "single",
  4949. "type": "string"
  4950. }
  4951. ],
  4952. "optional": false,
  4953. "required": false
  4954. },
  4955. {
  4956. "name": "value",
  4957. "type": "string | string[]",
  4958. "mutable": true,
  4959. "attr": "value",
  4960. "reflectToAttr": false,
  4961. "docs": "The value(s) of the selectedItem(s)",
  4962. "docsTags": [],
  4963. "default": "null",
  4964. "values": [
  4965. {
  4966. "type": "string"
  4967. },
  4968. {
  4969. "type": "string[]"
  4970. }
  4971. ],
  4972. "optional": false,
  4973. "required": false
  4974. }
  4975. ],
  4976. "methods": [
  4977. {
  4978. "name": "reposition",
  4979. "returns": {
  4980. "type": "Promise<void>",
  4981. "docs": ""
  4982. },
  4983. "signature": "reposition() => Promise<void>",
  4984. "parameters": [],
  4985. "docs": "Updates the position of the component.",
  4986. "docsTags": []
  4987. },
  4988. {
  4989. "name": "setFocus",
  4990. "returns": {
  4991. "type": "Promise<void>",
  4992. "docs": ""
  4993. },
  4994. "signature": "setFocus() => Promise<void>",
  4995. "parameters": [],
  4996. "docs": "Sets focus on the component.",
  4997. "docsTags": []
  4998. }
  4999. ],
  5000. "events": [
  5001. {
  5002. "event": "calciteComboboxChange",
  5003. "detail": "{ selectedItems: HTMLCalciteComboboxItemElement[]; }",
  5004. "bubbles": true,
  5005. "cancelable": true,
  5006. "composed": true,
  5007. "docs": "Called when the selected item(s) changes.",
  5008. "docsTags": []
  5009. },
  5010. {
  5011. "event": "calciteComboboxChipDismiss",
  5012. "detail": "any",
  5013. "bubbles": true,
  5014. "cancelable": true,
  5015. "composed": true,
  5016. "docs": "Called when a selected item in the combobox is dismissed via its chip *",
  5017. "docsTags": []
  5018. },
  5019. {
  5020. "event": "calciteComboboxFilterChange",
  5021. "detail": "{ visibleItems: HTMLCalciteComboboxItemElement[]; text: string; }",
  5022. "bubbles": true,
  5023. "cancelable": true,
  5024. "composed": true,
  5025. "docs": "Called when the user has entered text to filter the options list",
  5026. "docsTags": []
  5027. },
  5028. {
  5029. "event": "calciteLookupChange",
  5030. "detail": "HTMLCalciteComboboxItemElement[]",
  5031. "bubbles": true,
  5032. "cancelable": true,
  5033. "composed": true,
  5034. "docs": "Called when the selected items set changes",
  5035. "docsTags": [
  5036. {
  5037. "name": "deprecated",
  5038. "text": "use calciteComboboxChange instead"
  5039. }
  5040. ],
  5041. "deprecation": "use calciteComboboxChange instead"
  5042. }
  5043. ],
  5044. "listeners": [
  5045. {
  5046. "event": "click",
  5047. "target": "document",
  5048. "capture": false,
  5049. "passive": false
  5050. },
  5051. {
  5052. "event": "calciteComboboxItemChange",
  5053. "capture": false,
  5054. "passive": false
  5055. }
  5056. ],
  5057. "styles": [
  5058. {
  5059. "name": "--calcite-combobox-input-height",
  5060. "annotation": "prop",
  5061. "docs": "the height of the combobox input"
  5062. }
  5063. ],
  5064. "slots": [
  5065. {
  5066. "name": "",
  5067. "docs": "A slot for adding `calcite-combobox-item`s."
  5068. }
  5069. ],
  5070. "parts": [],
  5071. "dependents": [],
  5072. "dependencies": [
  5073. "calcite-chip",
  5074. "calcite-icon"
  5075. ],
  5076. "dependencyGraph": {
  5077. "calcite-combobox": [
  5078. "calcite-chip",
  5079. "calcite-icon"
  5080. ],
  5081. "calcite-chip": [
  5082. "calcite-icon"
  5083. ]
  5084. }
  5085. },
  5086. {
  5087. "filePath": "./src/components/combobox-item/combobox-item.tsx",
  5088. "encapsulation": "shadow",
  5089. "tag": "calcite-combobox-item",
  5090. "readme": "# calcite-combobox-item\n",
  5091. "docs": "",
  5092. "docsTags": [
  5093. {
  5094. "name": "slot",
  5095. "text": "- A slot for adding nested `calcite-combobox-item`s."
  5096. }
  5097. ],
  5098. "usage": {},
  5099. "props": [
  5100. {
  5101. "name": "active",
  5102. "type": "boolean",
  5103. "mutable": false,
  5104. "attr": "active",
  5105. "reflectToAttr": false,
  5106. "docs": "True when item is highlighted either from keyboard or mouse hover",
  5107. "docsTags": [],
  5108. "default": "false",
  5109. "values": [
  5110. {
  5111. "type": "boolean"
  5112. }
  5113. ],
  5114. "optional": false,
  5115. "required": false
  5116. },
  5117. {
  5118. "name": "ancestors",
  5119. "type": "ComboboxChildElement[]",
  5120. "mutable": true,
  5121. "reflectToAttr": false,
  5122. "docs": "Parent and grandparent combobox items, this is set internally for use from combobox",
  5123. "docsTags": [],
  5124. "values": [
  5125. {
  5126. "type": "ComboboxChildElement[]"
  5127. }
  5128. ],
  5129. "optional": false,
  5130. "required": false
  5131. },
  5132. {
  5133. "name": "constant",
  5134. "type": "boolean",
  5135. "mutable": false,
  5136. "attr": "constant",
  5137. "reflectToAttr": true,
  5138. "docs": "Don't filter this item based on the search text",
  5139. "docsTags": [],
  5140. "values": [
  5141. {
  5142. "type": "boolean"
  5143. }
  5144. ],
  5145. "optional": false,
  5146. "required": false
  5147. },
  5148. {
  5149. "name": "disabled",
  5150. "type": "boolean",
  5151. "mutable": false,
  5152. "attr": "disabled",
  5153. "reflectToAttr": true,
  5154. "docs": "When true, the item cannot be clicked and is visually muted.",
  5155. "docsTags": [],
  5156. "default": "false",
  5157. "values": [
  5158. {
  5159. "type": "boolean"
  5160. }
  5161. ],
  5162. "optional": false,
  5163. "required": false
  5164. },
  5165. {
  5166. "name": "guid",
  5167. "type": "string",
  5168. "mutable": false,
  5169. "attr": "guid",
  5170. "reflectToAttr": false,
  5171. "docs": "Unique identifier, used for accessibility",
  5172. "docsTags": [],
  5173. "default": "guid()",
  5174. "values": [
  5175. {
  5176. "type": "string"
  5177. }
  5178. ],
  5179. "optional": false,
  5180. "required": false
  5181. },
  5182. {
  5183. "name": "icon",
  5184. "type": "string",
  5185. "mutable": false,
  5186. "attr": "icon",
  5187. "reflectToAttr": false,
  5188. "docs": "Custom icon to display both in combobox chips and next to combobox item text",
  5189. "docsTags": [],
  5190. "values": [
  5191. {
  5192. "type": "string"
  5193. }
  5194. ],
  5195. "optional": true,
  5196. "required": false
  5197. },
  5198. {
  5199. "name": "selected",
  5200. "type": "boolean",
  5201. "mutable": true,
  5202. "attr": "selected",
  5203. "reflectToAttr": true,
  5204. "docs": "Set this to true to pre-select an item. Toggles when an item is checked/unchecked.",
  5205. "docsTags": [],
  5206. "default": "false",
  5207. "values": [
  5208. {
  5209. "type": "boolean"
  5210. }
  5211. ],
  5212. "optional": false,
  5213. "required": false
  5214. },
  5215. {
  5216. "name": "textLabel",
  5217. "type": "string",
  5218. "mutable": false,
  5219. "attr": "text-label",
  5220. "reflectToAttr": true,
  5221. "docs": "The main label for this item.",
  5222. "docsTags": [],
  5223. "values": [
  5224. {
  5225. "type": "string"
  5226. }
  5227. ],
  5228. "optional": false,
  5229. "required": true
  5230. },
  5231. {
  5232. "name": "value",
  5233. "type": "any",
  5234. "mutable": false,
  5235. "attr": "value",
  5236. "reflectToAttr": false,
  5237. "docs": "The item's associated value",
  5238. "docsTags": [],
  5239. "values": [
  5240. {
  5241. "type": "any"
  5242. }
  5243. ],
  5244. "optional": false,
  5245. "required": true
  5246. }
  5247. ],
  5248. "methods": [
  5249. {
  5250. "name": "toggleSelected",
  5251. "returns": {
  5252. "type": "Promise<void>",
  5253. "docs": ""
  5254. },
  5255. "signature": "toggleSelected(coerce?: boolean) => Promise<void>",
  5256. "parameters": [],
  5257. "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.",
  5258. "docsTags": []
  5259. }
  5260. ],
  5261. "events": [
  5262. {
  5263. "event": "calciteComboboxItemChange",
  5264. "detail": "any",
  5265. "bubbles": true,
  5266. "cancelable": true,
  5267. "composed": true,
  5268. "docs": "Emitted whenever the item is selected or unselected.",
  5269. "docsTags": []
  5270. }
  5271. ],
  5272. "listeners": [],
  5273. "styles": [],
  5274. "slots": [
  5275. {
  5276. "name": "",
  5277. "docs": "A slot for adding nested `calcite-combobox-item`s."
  5278. }
  5279. ],
  5280. "parts": [],
  5281. "dependents": [],
  5282. "dependencies": [
  5283. "calcite-icon"
  5284. ],
  5285. "dependencyGraph": {
  5286. "calcite-combobox-item": [
  5287. "calcite-icon"
  5288. ]
  5289. }
  5290. },
  5291. {
  5292. "filePath": "./src/components/combobox-item-group/combobox-item-group.tsx",
  5293. "encapsulation": "shadow",
  5294. "tag": "calcite-combobox-item-group",
  5295. "readme": "# calcite-combobox-item-group\n",
  5296. "docs": "",
  5297. "docsTags": [
  5298. {
  5299. "name": "slot",
  5300. "text": "- A slot for adding `calcite-combobox-item`s."
  5301. }
  5302. ],
  5303. "usage": {},
  5304. "props": [
  5305. {
  5306. "name": "ancestors",
  5307. "type": "ComboboxChildElement[]",
  5308. "mutable": true,
  5309. "reflectToAttr": false,
  5310. "docs": "Parent and grandparent combobox items, this is set internally for use from combobox",
  5311. "docsTags": [],
  5312. "values": [
  5313. {
  5314. "type": "ComboboxChildElement[]"
  5315. }
  5316. ],
  5317. "optional": false,
  5318. "required": false
  5319. },
  5320. {
  5321. "name": "label",
  5322. "type": "string",
  5323. "mutable": false,
  5324. "attr": "label",
  5325. "reflectToAttr": false,
  5326. "docs": "Title of the group",
  5327. "docsTags": [],
  5328. "values": [
  5329. {
  5330. "type": "string"
  5331. }
  5332. ],
  5333. "optional": false,
  5334. "required": true
  5335. }
  5336. ],
  5337. "methods": [],
  5338. "events": [],
  5339. "listeners": [],
  5340. "styles": [],
  5341. "slots": [
  5342. {
  5343. "name": "",
  5344. "docs": "A slot for adding `calcite-combobox-item`s."
  5345. }
  5346. ],
  5347. "parts": [],
  5348. "dependents": [],
  5349. "dependencies": [],
  5350. "dependencyGraph": {}
  5351. },
  5352. {
  5353. "filePath": "./src/components/date-picker/date-picker.tsx",
  5354. "encapsulation": "shadow",
  5355. "tag": "calcite-date-picker",
  5356. "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",
  5357. "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.",
  5358. "docsTags": [],
  5359. "usage": {
  5360. "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",
  5361. "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"
  5362. },
  5363. "props": [
  5364. {
  5365. "name": "activeRange",
  5366. "type": "\"end\" | \"start\"",
  5367. "mutable": false,
  5368. "attr": "active-range",
  5369. "reflectToAttr": false,
  5370. "docs": "Active range",
  5371. "docsTags": [],
  5372. "values": [
  5373. {
  5374. "value": "end",
  5375. "type": "string"
  5376. },
  5377. {
  5378. "value": "start",
  5379. "type": "string"
  5380. }
  5381. ],
  5382. "optional": true,
  5383. "required": false
  5384. },
  5385. {
  5386. "name": "end",
  5387. "type": "string",
  5388. "mutable": true,
  5389. "attr": "end",
  5390. "reflectToAttr": false,
  5391. "docs": "Selected end date",
  5392. "docsTags": [
  5393. {
  5394. "name": "deprecated",
  5395. "text": "use value instead"
  5396. }
  5397. ],
  5398. "deprecation": "use value instead",
  5399. "values": [
  5400. {
  5401. "type": "string"
  5402. }
  5403. ],
  5404. "optional": true,
  5405. "required": false
  5406. },
  5407. {
  5408. "name": "endAsDate",
  5409. "type": "Date",
  5410. "mutable": true,
  5411. "reflectToAttr": false,
  5412. "docs": "Selected end date as full date object",
  5413. "docsTags": [
  5414. {
  5415. "name": "deprecated",
  5416. "text": "use valueAsDate instead"
  5417. }
  5418. ],
  5419. "deprecation": "use valueAsDate instead",
  5420. "values": [
  5421. {
  5422. "type": "Date"
  5423. }
  5424. ],
  5425. "optional": true,
  5426. "required": false
  5427. },
  5428. {
  5429. "name": "headingLevel",
  5430. "type": "1 | 2 | 3 | 4 | 5 | 6",
  5431. "mutable": false,
  5432. "attr": "heading-level",
  5433. "reflectToAttr": false,
  5434. "docs": "Number at which section headings should start for this component.",
  5435. "docsTags": [],
  5436. "values": [
  5437. {
  5438. "value": "1",
  5439. "type": "number"
  5440. },
  5441. {
  5442. "value": "2",
  5443. "type": "number"
  5444. },
  5445. {
  5446. "value": "3",
  5447. "type": "number"
  5448. },
  5449. {
  5450. "value": "4",
  5451. "type": "number"
  5452. },
  5453. {
  5454. "value": "5",
  5455. "type": "number"
  5456. },
  5457. {
  5458. "value": "6",
  5459. "type": "number"
  5460. }
  5461. ],
  5462. "optional": false,
  5463. "required": false
  5464. },
  5465. {
  5466. "name": "intlNextMonth",
  5467. "type": "string",
  5468. "mutable": false,
  5469. "attr": "intl-next-month",
  5470. "reflectToAttr": false,
  5471. "docs": "Localized string for \"next month\" (used for aria label)",
  5472. "docsTags": [
  5473. {
  5474. "name": "default",
  5475. "text": "\"Next month\""
  5476. }
  5477. ],
  5478. "default": "TEXT.nextMonth",
  5479. "values": [
  5480. {
  5481. "type": "string"
  5482. }
  5483. ],
  5484. "optional": true,
  5485. "required": false
  5486. },
  5487. {
  5488. "name": "intlPrevMonth",
  5489. "type": "string",
  5490. "mutable": false,
  5491. "attr": "intl-prev-month",
  5492. "reflectToAttr": false,
  5493. "docs": "Localized string for \"previous month\" (used for aria label)",
  5494. "docsTags": [
  5495. {
  5496. "name": "default",
  5497. "text": "\"Previous month\""
  5498. }
  5499. ],
  5500. "default": "TEXT.prevMonth",
  5501. "values": [
  5502. {
  5503. "type": "string"
  5504. }
  5505. ],
  5506. "optional": true,
  5507. "required": false
  5508. },
  5509. {
  5510. "name": "intlYear",
  5511. "type": "string",
  5512. "mutable": false,
  5513. "attr": "intl-year",
  5514. "reflectToAttr": false,
  5515. "docs": "Localized string for \"year\" (used for aria label)",
  5516. "docsTags": [
  5517. {
  5518. "name": "default",
  5519. "text": "\"Year\""
  5520. }
  5521. ],
  5522. "default": "TEXT.year",
  5523. "values": [
  5524. {
  5525. "type": "string"
  5526. }
  5527. ],
  5528. "optional": true,
  5529. "required": false
  5530. },
  5531. {
  5532. "name": "locale",
  5533. "type": "string",
  5534. "mutable": false,
  5535. "attr": "locale",
  5536. "reflectToAttr": false,
  5537. "docs": "BCP 47 language tag for desired language and country format",
  5538. "docsTags": [],
  5539. "default": "document.documentElement.lang || \"en\"",
  5540. "values": [
  5541. {
  5542. "type": "string"
  5543. }
  5544. ],
  5545. "optional": true,
  5546. "required": false
  5547. },
  5548. {
  5549. "name": "max",
  5550. "type": "string",
  5551. "mutable": true,
  5552. "attr": "max",
  5553. "reflectToAttr": false,
  5554. "docs": "Latest allowed date (\"yyyy-mm-dd\")",
  5555. "docsTags": [],
  5556. "values": [
  5557. {
  5558. "type": "string"
  5559. }
  5560. ],
  5561. "optional": true,
  5562. "required": false
  5563. },
  5564. {
  5565. "name": "maxAsDate",
  5566. "type": "Date",
  5567. "mutable": true,
  5568. "reflectToAttr": false,
  5569. "docs": "Latest allowed date as full date object",
  5570. "docsTags": [],
  5571. "values": [
  5572. {
  5573. "type": "Date"
  5574. }
  5575. ],
  5576. "optional": true,
  5577. "required": false
  5578. },
  5579. {
  5580. "name": "min",
  5581. "type": "string",
  5582. "mutable": true,
  5583. "attr": "min",
  5584. "reflectToAttr": false,
  5585. "docs": "Earliest allowed date (\"yyyy-mm-dd\")",
  5586. "docsTags": [],
  5587. "values": [
  5588. {
  5589. "type": "string"
  5590. }
  5591. ],
  5592. "optional": true,
  5593. "required": false
  5594. },
  5595. {
  5596. "name": "minAsDate",
  5597. "type": "Date",
  5598. "mutable": true,
  5599. "reflectToAttr": false,
  5600. "docs": "Earliest allowed date as full date object",
  5601. "docsTags": [],
  5602. "values": [
  5603. {
  5604. "type": "Date"
  5605. }
  5606. ],
  5607. "optional": true,
  5608. "required": false
  5609. },
  5610. {
  5611. "name": "proximitySelectionDisabled",
  5612. "type": "boolean",
  5613. "mutable": false,
  5614. "attr": "proximity-selection-disabled",
  5615. "reflectToAttr": false,
  5616. "docs": "Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range.",
  5617. "docsTags": [],
  5618. "default": "false",
  5619. "values": [
  5620. {
  5621. "type": "boolean"
  5622. }
  5623. ],
  5624. "optional": false,
  5625. "required": false
  5626. },
  5627. {
  5628. "name": "range",
  5629. "type": "boolean",
  5630. "mutable": false,
  5631. "attr": "range",
  5632. "reflectToAttr": true,
  5633. "docs": "Range mode activation",
  5634. "docsTags": [],
  5635. "default": "false",
  5636. "values": [
  5637. {
  5638. "type": "boolean"
  5639. }
  5640. ],
  5641. "optional": false,
  5642. "required": false
  5643. },
  5644. {
  5645. "name": "scale",
  5646. "type": "\"l\" | \"m\" | \"s\"",
  5647. "mutable": false,
  5648. "attr": "scale",
  5649. "reflectToAttr": true,
  5650. "docs": "specify the scale of the date picker",
  5651. "docsTags": [],
  5652. "default": "\"m\"",
  5653. "values": [
  5654. {
  5655. "value": "l",
  5656. "type": "string"
  5657. },
  5658. {
  5659. "value": "m",
  5660. "type": "string"
  5661. },
  5662. {
  5663. "value": "s",
  5664. "type": "string"
  5665. }
  5666. ],
  5667. "optional": false,
  5668. "required": false
  5669. },
  5670. {
  5671. "name": "start",
  5672. "type": "string",
  5673. "mutable": true,
  5674. "attr": "start",
  5675. "reflectToAttr": false,
  5676. "docs": "Selected start date",
  5677. "docsTags": [
  5678. {
  5679. "name": "deprecated",
  5680. "text": "use value instead"
  5681. }
  5682. ],
  5683. "deprecation": "use value instead",
  5684. "values": [
  5685. {
  5686. "type": "string"
  5687. }
  5688. ],
  5689. "optional": true,
  5690. "required": false
  5691. },
  5692. {
  5693. "name": "startAsDate",
  5694. "type": "Date",
  5695. "mutable": true,
  5696. "reflectToAttr": false,
  5697. "docs": "Selected start date as full date object",
  5698. "docsTags": [
  5699. {
  5700. "name": "deprecated",
  5701. "text": "use valueAsDate instead"
  5702. }
  5703. ],
  5704. "deprecation": "use valueAsDate instead",
  5705. "values": [
  5706. {
  5707. "type": "Date"
  5708. }
  5709. ],
  5710. "optional": true,
  5711. "required": false
  5712. },
  5713. {
  5714. "name": "value",
  5715. "type": "string | string[]",
  5716. "mutable": true,
  5717. "attr": "value",
  5718. "reflectToAttr": false,
  5719. "docs": "Selected date",
  5720. "docsTags": [],
  5721. "values": [
  5722. {
  5723. "type": "string"
  5724. },
  5725. {
  5726. "type": "string[]"
  5727. }
  5728. ],
  5729. "optional": true,
  5730. "required": false
  5731. },
  5732. {
  5733. "name": "valueAsDate",
  5734. "type": "Date | Date[]",
  5735. "mutable": true,
  5736. "reflectToAttr": false,
  5737. "docs": "Selected date as full date object",
  5738. "docsTags": [],
  5739. "values": [
  5740. {
  5741. "type": "Date"
  5742. },
  5743. {
  5744. "type": "Date[]"
  5745. }
  5746. ],
  5747. "optional": true,
  5748. "required": false
  5749. }
  5750. ],
  5751. "methods": [],
  5752. "events": [
  5753. {
  5754. "event": "calciteDatePickerChange",
  5755. "detail": "Date",
  5756. "bubbles": true,
  5757. "cancelable": true,
  5758. "composed": true,
  5759. "docs": "Trigger calcite date change when a user changes the date.",
  5760. "docsTags": []
  5761. },
  5762. {
  5763. "event": "calciteDatePickerRangeChange",
  5764. "detail": "DateRangeChange",
  5765. "bubbles": true,
  5766. "cancelable": true,
  5767. "composed": true,
  5768. "docs": "Trigger calcite date change when a user changes the date range.",
  5769. "docsTags": [
  5770. {
  5771. "name": "see",
  5772. "text": "[DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/date-picker/interfaces.ts#L1)"
  5773. }
  5774. ]
  5775. }
  5776. ],
  5777. "listeners": [],
  5778. "styles": [],
  5779. "slots": [],
  5780. "parts": [],
  5781. "dependents": [
  5782. "calcite-input-date-picker"
  5783. ],
  5784. "dependencies": [
  5785. "calcite-date-picker-month-header",
  5786. "calcite-date-picker-month"
  5787. ],
  5788. "dependencyGraph": {
  5789. "calcite-date-picker": [
  5790. "calcite-date-picker-month-header",
  5791. "calcite-date-picker-month"
  5792. ],
  5793. "calcite-date-picker-month-header": [
  5794. "calcite-icon"
  5795. ],
  5796. "calcite-date-picker-month": [
  5797. "calcite-date-picker-day"
  5798. ],
  5799. "calcite-input-date-picker": [
  5800. "calcite-date-picker"
  5801. ]
  5802. }
  5803. },
  5804. {
  5805. "filePath": "./src/components/date-picker-day/date-picker-day.tsx",
  5806. "encapsulation": "shadow",
  5807. "tag": "calcite-date-picker-day",
  5808. "readme": "# calcite-date-day\n",
  5809. "docs": "",
  5810. "docsTags": [],
  5811. "usage": {},
  5812. "props": [
  5813. {
  5814. "name": "active",
  5815. "type": "boolean",
  5816. "mutable": false,
  5817. "attr": "active",
  5818. "reflectToAttr": true,
  5819. "docs": "Date is actively in focus for keyboard navigation",
  5820. "docsTags": [],
  5821. "default": "false",
  5822. "values": [
  5823. {
  5824. "type": "boolean"
  5825. }
  5826. ],
  5827. "optional": false,
  5828. "required": false
  5829. },
  5830. {
  5831. "name": "currentMonth",
  5832. "type": "boolean",
  5833. "mutable": false,
  5834. "attr": "current-month",
  5835. "reflectToAttr": true,
  5836. "docs": "Date is in the current month.",
  5837. "docsTags": [],
  5838. "default": "false",
  5839. "values": [
  5840. {
  5841. "type": "boolean"
  5842. }
  5843. ],
  5844. "optional": false,
  5845. "required": false
  5846. },
  5847. {
  5848. "name": "day",
  5849. "type": "number",
  5850. "mutable": false,
  5851. "attr": "day",
  5852. "reflectToAttr": false,
  5853. "docs": "Day of the month to be shown.",
  5854. "docsTags": [],
  5855. "values": [
  5856. {
  5857. "type": "number"
  5858. }
  5859. ],
  5860. "optional": false,
  5861. "required": false
  5862. },
  5863. {
  5864. "name": "disabled",
  5865. "type": "boolean",
  5866. "mutable": false,
  5867. "attr": "disabled",
  5868. "reflectToAttr": true,
  5869. "docs": "Date is outside of range and can't be selected",
  5870. "docsTags": [],
  5871. "default": "false",
  5872. "values": [
  5873. {
  5874. "type": "boolean"
  5875. }
  5876. ],
  5877. "optional": false,
  5878. "required": false
  5879. },
  5880. {
  5881. "name": "endOfRange",
  5882. "type": "boolean",
  5883. "mutable": false,
  5884. "attr": "end-of-range",
  5885. "reflectToAttr": true,
  5886. "docs": "Date is the end of date range",
  5887. "docsTags": [],
  5888. "default": "false",
  5889. "values": [
  5890. {
  5891. "type": "boolean"
  5892. }
  5893. ],
  5894. "optional": false,
  5895. "required": false
  5896. },
  5897. {
  5898. "name": "highlighted",
  5899. "type": "boolean",
  5900. "mutable": false,
  5901. "attr": "highlighted",
  5902. "reflectToAttr": true,
  5903. "docs": "Date is currently highlighted as part of the range",
  5904. "docsTags": [],
  5905. "default": "false",
  5906. "values": [
  5907. {
  5908. "type": "boolean"
  5909. }
  5910. ],
  5911. "optional": false,
  5912. "required": false
  5913. },
  5914. {
  5915. "name": "localeData",
  5916. "type": "DateLocaleData",
  5917. "mutable": false,
  5918. "reflectToAttr": false,
  5919. "docs": "CLDR data for current locale",
  5920. "docsTags": [],
  5921. "values": [
  5922. {
  5923. "type": "DateLocaleData"
  5924. }
  5925. ],
  5926. "optional": false,
  5927. "required": false
  5928. },
  5929. {
  5930. "name": "range",
  5931. "type": "boolean",
  5932. "mutable": false,
  5933. "attr": "range",
  5934. "reflectToAttr": true,
  5935. "docs": "Showing date range",
  5936. "docsTags": [],
  5937. "default": "false",
  5938. "values": [
  5939. {
  5940. "type": "boolean"
  5941. }
  5942. ],
  5943. "optional": false,
  5944. "required": false
  5945. },
  5946. {
  5947. "name": "rangeHover",
  5948. "type": "boolean",
  5949. "mutable": false,
  5950. "attr": "range-hover",
  5951. "reflectToAttr": true,
  5952. "docs": "Date is being hovered and within the set range",
  5953. "docsTags": [],
  5954. "default": "false",
  5955. "values": [
  5956. {
  5957. "type": "boolean"
  5958. }
  5959. ],
  5960. "optional": false,
  5961. "required": false
  5962. },
  5963. {
  5964. "name": "scale",
  5965. "type": "\"l\" | \"m\" | \"s\"",
  5966. "mutable": false,
  5967. "attr": "scale",
  5968. "reflectToAttr": true,
  5969. "docs": "specify the scale of the date picker",
  5970. "docsTags": [],
  5971. "values": [
  5972. {
  5973. "value": "l",
  5974. "type": "string"
  5975. },
  5976. {
  5977. "value": "m",
  5978. "type": "string"
  5979. },
  5980. {
  5981. "value": "s",
  5982. "type": "string"
  5983. }
  5984. ],
  5985. "optional": false,
  5986. "required": false
  5987. },
  5988. {
  5989. "name": "selected",
  5990. "type": "boolean",
  5991. "mutable": false,
  5992. "attr": "selected",
  5993. "reflectToAttr": true,
  5994. "docs": "Date is the current selected date of the picker",
  5995. "docsTags": [],
  5996. "default": "false",
  5997. "values": [
  5998. {
  5999. "type": "boolean"
  6000. }
  6001. ],
  6002. "optional": false,
  6003. "required": false
  6004. },
  6005. {
  6006. "name": "startOfRange",
  6007. "type": "boolean",
  6008. "mutable": false,
  6009. "attr": "start-of-range",
  6010. "reflectToAttr": true,
  6011. "docs": "Date is the start of date range",
  6012. "docsTags": [],
  6013. "default": "false",
  6014. "values": [
  6015. {
  6016. "type": "boolean"
  6017. }
  6018. ],
  6019. "optional": false,
  6020. "required": false
  6021. },
  6022. {
  6023. "name": "value",
  6024. "type": "Date",
  6025. "mutable": false,
  6026. "reflectToAttr": false,
  6027. "docs": "Date value for the day.",
  6028. "docsTags": [],
  6029. "values": [
  6030. {
  6031. "type": "Date"
  6032. }
  6033. ],
  6034. "optional": false,
  6035. "required": false
  6036. }
  6037. ],
  6038. "methods": [],
  6039. "events": [
  6040. {
  6041. "event": "calciteDaySelect",
  6042. "detail": "any",
  6043. "bubbles": true,
  6044. "cancelable": true,
  6045. "composed": true,
  6046. "docs": "Emitted when user selects day",
  6047. "docsTags": []
  6048. }
  6049. ],
  6050. "listeners": [
  6051. {
  6052. "event": "mouseover",
  6053. "capture": false,
  6054. "passive": true
  6055. }
  6056. ],
  6057. "styles": [],
  6058. "slots": [],
  6059. "parts": [],
  6060. "dependents": [
  6061. "calcite-date-picker-month"
  6062. ],
  6063. "dependencies": [],
  6064. "dependencyGraph": {
  6065. "calcite-date-picker-month": [
  6066. "calcite-date-picker-day"
  6067. ]
  6068. }
  6069. },
  6070. {
  6071. "filePath": "./src/components/date-picker-month/date-picker-month.tsx",
  6072. "encapsulation": "shadow",
  6073. "tag": "calcite-date-picker-month",
  6074. "readme": "# calcite-date-month\n",
  6075. "docs": "",
  6076. "docsTags": [],
  6077. "usage": {},
  6078. "props": [
  6079. {
  6080. "name": "activeDate",
  6081. "type": "Date",
  6082. "mutable": false,
  6083. "reflectToAttr": false,
  6084. "docs": "Date currently active.",
  6085. "docsTags": [],
  6086. "default": "new Date()",
  6087. "values": [
  6088. {
  6089. "type": "Date"
  6090. }
  6091. ],
  6092. "optional": false,
  6093. "required": false
  6094. },
  6095. {
  6096. "name": "endDate",
  6097. "type": "Date",
  6098. "mutable": false,
  6099. "reflectToAttr": false,
  6100. "docs": "End date currently active",
  6101. "docsTags": [],
  6102. "values": [
  6103. {
  6104. "type": "Date"
  6105. }
  6106. ],
  6107. "optional": true,
  6108. "required": false
  6109. },
  6110. {
  6111. "name": "hoverRange",
  6112. "type": "HoverRange",
  6113. "mutable": false,
  6114. "reflectToAttr": false,
  6115. "docs": "The range of dates currently being hovered",
  6116. "docsTags": [],
  6117. "values": [
  6118. {
  6119. "type": "HoverRange"
  6120. }
  6121. ],
  6122. "optional": false,
  6123. "required": false
  6124. },
  6125. {
  6126. "name": "max",
  6127. "type": "Date",
  6128. "mutable": false,
  6129. "reflectToAttr": false,
  6130. "docs": "Maximum date of the calendar above which is disabled.",
  6131. "docsTags": [],
  6132. "values": [
  6133. {
  6134. "type": "Date"
  6135. }
  6136. ],
  6137. "optional": false,
  6138. "required": false
  6139. },
  6140. {
  6141. "name": "min",
  6142. "type": "Date",
  6143. "mutable": false,
  6144. "reflectToAttr": false,
  6145. "docs": "Minimum date of the calendar below which is disabled.",
  6146. "docsTags": [],
  6147. "values": [
  6148. {
  6149. "type": "Date"
  6150. }
  6151. ],
  6152. "optional": false,
  6153. "required": false
  6154. },
  6155. {
  6156. "name": "scale",
  6157. "type": "\"l\" | \"m\" | \"s\"",
  6158. "mutable": false,
  6159. "attr": "scale",
  6160. "reflectToAttr": true,
  6161. "docs": "specify the scale of the date picker",
  6162. "docsTags": [],
  6163. "values": [
  6164. {
  6165. "value": "l",
  6166. "type": "string"
  6167. },
  6168. {
  6169. "value": "m",
  6170. "type": "string"
  6171. },
  6172. {
  6173. "value": "s",
  6174. "type": "string"
  6175. }
  6176. ],
  6177. "optional": false,
  6178. "required": false
  6179. },
  6180. {
  6181. "name": "selectedDate",
  6182. "type": "Date",
  6183. "mutable": false,
  6184. "reflectToAttr": false,
  6185. "docs": "Already selected date.",
  6186. "docsTags": [],
  6187. "values": [
  6188. {
  6189. "type": "Date"
  6190. }
  6191. ],
  6192. "optional": false,
  6193. "required": false
  6194. },
  6195. {
  6196. "name": "startDate",
  6197. "type": "Date",
  6198. "mutable": false,
  6199. "reflectToAttr": false,
  6200. "docs": "Start date currently active.",
  6201. "docsTags": [],
  6202. "values": [
  6203. {
  6204. "type": "Date"
  6205. }
  6206. ],
  6207. "optional": true,
  6208. "required": false
  6209. }
  6210. ],
  6211. "methods": [],
  6212. "events": [
  6213. {
  6214. "event": "calciteDatePickerActiveDateChange",
  6215. "detail": "any",
  6216. "bubbles": true,
  6217. "cancelable": true,
  6218. "composed": true,
  6219. "docs": "Active date for the user keyboard access.",
  6220. "docsTags": []
  6221. },
  6222. {
  6223. "event": "calciteDatePickerSelect",
  6224. "detail": "any",
  6225. "bubbles": true,
  6226. "cancelable": true,
  6227. "composed": true,
  6228. "docs": "Event emitted when user selects the date.",
  6229. "docsTags": []
  6230. }
  6231. ],
  6232. "listeners": [
  6233. {
  6234. "event": "mouseout",
  6235. "capture": false,
  6236. "passive": true
  6237. }
  6238. ],
  6239. "styles": [],
  6240. "slots": [],
  6241. "parts": [],
  6242. "dependents": [
  6243. "calcite-date-picker"
  6244. ],
  6245. "dependencies": [
  6246. "calcite-date-picker-day"
  6247. ],
  6248. "dependencyGraph": {
  6249. "calcite-date-picker-month": [
  6250. "calcite-date-picker-day"
  6251. ],
  6252. "calcite-date-picker": [
  6253. "calcite-date-picker-month"
  6254. ]
  6255. }
  6256. },
  6257. {
  6258. "filePath": "./src/components/date-picker-month-header/date-picker-month-header.tsx",
  6259. "encapsulation": "shadow",
  6260. "tag": "calcite-date-picker-month-header",
  6261. "readme": "# calcite-date-month-header\n",
  6262. "docs": "",
  6263. "docsTags": [],
  6264. "usage": {},
  6265. "props": [
  6266. {
  6267. "name": "activeDate",
  6268. "type": "Date",
  6269. "mutable": false,
  6270. "reflectToAttr": false,
  6271. "docs": "Focused date with indicator (will become selected date if user proceeds)",
  6272. "docsTags": [],
  6273. "values": [
  6274. {
  6275. "type": "Date"
  6276. }
  6277. ],
  6278. "optional": false,
  6279. "required": false
  6280. },
  6281. {
  6282. "name": "headingLevel",
  6283. "type": "1 | 2 | 3 | 4 | 5 | 6",
  6284. "mutable": false,
  6285. "attr": "heading-level",
  6286. "reflectToAttr": false,
  6287. "docs": "Number at which section headings should start for this component.",
  6288. "docsTags": [],
  6289. "values": [
  6290. {
  6291. "value": "1",
  6292. "type": "number"
  6293. },
  6294. {
  6295. "value": "2",
  6296. "type": "number"
  6297. },
  6298. {
  6299. "value": "3",
  6300. "type": "number"
  6301. },
  6302. {
  6303. "value": "4",
  6304. "type": "number"
  6305. },
  6306. {
  6307. "value": "5",
  6308. "type": "number"
  6309. },
  6310. {
  6311. "value": "6",
  6312. "type": "number"
  6313. }
  6314. ],
  6315. "optional": false,
  6316. "required": false
  6317. },
  6318. {
  6319. "name": "intlNextMonth",
  6320. "type": "string",
  6321. "mutable": false,
  6322. "attr": "intl-next-month",
  6323. "reflectToAttr": false,
  6324. "docs": "Localized string for next month.",
  6325. "docsTags": [],
  6326. "values": [
  6327. {
  6328. "type": "string"
  6329. }
  6330. ],
  6331. "optional": false,
  6332. "required": false
  6333. },
  6334. {
  6335. "name": "intlPrevMonth",
  6336. "type": "string",
  6337. "mutable": false,
  6338. "attr": "intl-prev-month",
  6339. "reflectToAttr": false,
  6340. "docs": "Localized string for previous month.",
  6341. "docsTags": [],
  6342. "values": [
  6343. {
  6344. "type": "string"
  6345. }
  6346. ],
  6347. "optional": false,
  6348. "required": false
  6349. },
  6350. {
  6351. "name": "intlYear",
  6352. "type": "string",
  6353. "mutable": false,
  6354. "attr": "intl-year",
  6355. "reflectToAttr": false,
  6356. "docs": "Localized string for year.",
  6357. "docsTags": [],
  6358. "values": [
  6359. {
  6360. "type": "string"
  6361. }
  6362. ],
  6363. "optional": false,
  6364. "required": false
  6365. },
  6366. {
  6367. "name": "locale",
  6368. "type": "string",
  6369. "mutable": false,
  6370. "attr": "locale",
  6371. "reflectToAttr": false,
  6372. "docs": "User's language and region as BCP 47 formatted string.",
  6373. "docsTags": [],
  6374. "values": [
  6375. {
  6376. "type": "string"
  6377. }
  6378. ],
  6379. "optional": false,
  6380. "required": false
  6381. },
  6382. {
  6383. "name": "localeData",
  6384. "type": "DateLocaleData",
  6385. "mutable": false,
  6386. "reflectToAttr": false,
  6387. "docs": "CLDR locale data for translated calendar info",
  6388. "docsTags": [],
  6389. "values": [
  6390. {
  6391. "type": "DateLocaleData"
  6392. }
  6393. ],
  6394. "optional": false,
  6395. "required": false
  6396. },
  6397. {
  6398. "name": "max",
  6399. "type": "Date",
  6400. "mutable": false,
  6401. "reflectToAttr": false,
  6402. "docs": "Maximum date of the calendar above which is disabled.",
  6403. "docsTags": [],
  6404. "values": [
  6405. {
  6406. "type": "Date"
  6407. }
  6408. ],
  6409. "optional": false,
  6410. "required": false
  6411. },
  6412. {
  6413. "name": "min",
  6414. "type": "Date",
  6415. "mutable": false,
  6416. "reflectToAttr": false,
  6417. "docs": "Minimum date of the calendar below which is disabled.",
  6418. "docsTags": [],
  6419. "values": [
  6420. {
  6421. "type": "Date"
  6422. }
  6423. ],
  6424. "optional": false,
  6425. "required": false
  6426. },
  6427. {
  6428. "name": "scale",
  6429. "type": "\"l\" | \"m\" | \"s\"",
  6430. "mutable": false,
  6431. "attr": "scale",
  6432. "reflectToAttr": true,
  6433. "docs": "specify the scale of the date picker",
  6434. "docsTags": [],
  6435. "values": [
  6436. {
  6437. "value": "l",
  6438. "type": "string"
  6439. },
  6440. {
  6441. "value": "m",
  6442. "type": "string"
  6443. },
  6444. {
  6445. "value": "s",
  6446. "type": "string"
  6447. }
  6448. ],
  6449. "optional": false,
  6450. "required": false
  6451. },
  6452. {
  6453. "name": "selectedDate",
  6454. "type": "Date",
  6455. "mutable": false,
  6456. "reflectToAttr": false,
  6457. "docs": "Already selected date.",
  6458. "docsTags": [],
  6459. "values": [
  6460. {
  6461. "type": "Date"
  6462. }
  6463. ],
  6464. "optional": false,
  6465. "required": false
  6466. }
  6467. ],
  6468. "methods": [],
  6469. "events": [
  6470. {
  6471. "event": "calciteDatePickerSelect",
  6472. "detail": "Date",
  6473. "bubbles": true,
  6474. "cancelable": true,
  6475. "composed": true,
  6476. "docs": "Changes to active date",
  6477. "docsTags": []
  6478. }
  6479. ],
  6480. "listeners": [],
  6481. "styles": [],
  6482. "slots": [],
  6483. "parts": [],
  6484. "dependents": [
  6485. "calcite-date-picker"
  6486. ],
  6487. "dependencies": [
  6488. "calcite-icon"
  6489. ],
  6490. "dependencyGraph": {
  6491. "calcite-date-picker-month-header": [
  6492. "calcite-icon"
  6493. ],
  6494. "calcite-date-picker": [
  6495. "calcite-date-picker-month-header"
  6496. ]
  6497. }
  6498. },
  6499. {
  6500. "filePath": "./src/components/dropdown/dropdown.tsx",
  6501. "encapsulation": "shadow",
  6502. "tag": "calcite-dropdown",
  6503. "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. All `<calcite-dropdown-item>` must have a parent `<calcite-dropdown-group>`, even if `group-title` attribute is not set.\n",
  6504. "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. All `<calcite-dropdown-item>` must have a parent `<calcite-dropdown-group>`, even if `group-title` attribute is not set.",
  6505. "docsTags": [
  6506. {
  6507. "name": "slot",
  6508. "text": "- A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s."
  6509. },
  6510. {
  6511. "name": "slot",
  6512. "text": "dropdown-trigger - A slot for the element that triggers the dropdown."
  6513. }
  6514. ],
  6515. "usage": {
  6516. "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",
  6517. "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",
  6518. "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"
  6519. },
  6520. "props": [
  6521. {
  6522. "name": "active",
  6523. "type": "boolean",
  6524. "mutable": true,
  6525. "attr": "active",
  6526. "reflectToAttr": true,
  6527. "docs": "Opens or closes the dropdown",
  6528. "docsTags": [],
  6529. "default": "false",
  6530. "values": [
  6531. {
  6532. "type": "boolean"
  6533. }
  6534. ],
  6535. "optional": false,
  6536. "required": false
  6537. },
  6538. {
  6539. "name": "disableCloseOnSelect",
  6540. "type": "boolean",
  6541. "mutable": false,
  6542. "attr": "disable-close-on-select",
  6543. "reflectToAttr": true,
  6544. "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",
  6545. "docsTags": [],
  6546. "default": "false",
  6547. "values": [
  6548. {
  6549. "type": "boolean"
  6550. }
  6551. ],
  6552. "optional": false,
  6553. "required": false
  6554. },
  6555. {
  6556. "name": "disabled",
  6557. "type": "boolean",
  6558. "mutable": false,
  6559. "attr": "disabled",
  6560. "reflectToAttr": true,
  6561. "docs": "is the dropdown disabled",
  6562. "docsTags": [],
  6563. "default": "false",
  6564. "values": [
  6565. {
  6566. "type": "boolean"
  6567. }
  6568. ],
  6569. "optional": false,
  6570. "required": false
  6571. },
  6572. {
  6573. "name": "flipPlacements",
  6574. "type": "ComputedPlacement[]",
  6575. "mutable": false,
  6576. "reflectToAttr": false,
  6577. "docs": "Defines the available placements that can be used when a flip occurs.",
  6578. "docsTags": [],
  6579. "values": [
  6580. {
  6581. "type": "ComputedPlacement[]"
  6582. }
  6583. ],
  6584. "optional": true,
  6585. "required": false
  6586. },
  6587. {
  6588. "name": "maxItems",
  6589. "type": "number",
  6590. "mutable": false,
  6591. "attr": "max-items",
  6592. "reflectToAttr": false,
  6593. "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",
  6594. "docsTags": [],
  6595. "default": "0",
  6596. "values": [
  6597. {
  6598. "type": "number"
  6599. }
  6600. ],
  6601. "optional": false,
  6602. "required": false
  6603. },
  6604. {
  6605. "name": "overlayPositioning",
  6606. "type": "\"absolute\" | \"fixed\"",
  6607. "mutable": false,
  6608. "attr": "overlay-positioning",
  6609. "reflectToAttr": false,
  6610. "docs": "Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.",
  6611. "docsTags": [],
  6612. "default": "\"absolute\"",
  6613. "values": [
  6614. {
  6615. "value": "absolute",
  6616. "type": "string"
  6617. },
  6618. {
  6619. "value": "fixed",
  6620. "type": "string"
  6621. }
  6622. ],
  6623. "optional": false,
  6624. "required": false
  6625. },
  6626. {
  6627. "name": "placement",
  6628. "type": "\"bottom\" | \"bottom-end\" | \"bottom-leading\" | \"bottom-start\" | \"bottom-trailing\" | \"top\" | \"top-end\" | \"top-leading\" | \"top-start\" | \"top-trailing\"",
  6629. "mutable": false,
  6630. "attr": "placement",
  6631. "reflectToAttr": true,
  6632. "docs": "Determines where the dropdown will be positioned relative to the button.",
  6633. "docsTags": [
  6634. {
  6635. "name": "default",
  6636. "text": "\"bottom-leading\""
  6637. }
  6638. ],
  6639. "default": "defaultMenuPlacement",
  6640. "values": [
  6641. {
  6642. "value": "bottom",
  6643. "type": "string"
  6644. },
  6645. {
  6646. "value": "bottom-end",
  6647. "type": "string"
  6648. },
  6649. {
  6650. "value": "bottom-leading",
  6651. "type": "string"
  6652. },
  6653. {
  6654. "value": "bottom-start",
  6655. "type": "string"
  6656. },
  6657. {
  6658. "value": "bottom-trailing",
  6659. "type": "string"
  6660. },
  6661. {
  6662. "value": "top",
  6663. "type": "string"
  6664. },
  6665. {
  6666. "value": "top-end",
  6667. "type": "string"
  6668. },
  6669. {
  6670. "value": "top-leading",
  6671. "type": "string"
  6672. },
  6673. {
  6674. "value": "top-start",
  6675. "type": "string"
  6676. },
  6677. {
  6678. "value": "top-trailing",
  6679. "type": "string"
  6680. }
  6681. ],
  6682. "optional": false,
  6683. "required": false
  6684. },
  6685. {
  6686. "name": "scale",
  6687. "type": "\"l\" | \"m\" | \"s\"",
  6688. "mutable": false,
  6689. "attr": "scale",
  6690. "reflectToAttr": true,
  6691. "docs": "specify the scale of dropdown, defaults to m",
  6692. "docsTags": [],
  6693. "default": "\"m\"",
  6694. "values": [
  6695. {
  6696. "value": "l",
  6697. "type": "string"
  6698. },
  6699. {
  6700. "value": "m",
  6701. "type": "string"
  6702. },
  6703. {
  6704. "value": "s",
  6705. "type": "string"
  6706. }
  6707. ],
  6708. "optional": false,
  6709. "required": false
  6710. },
  6711. {
  6712. "name": "selectedItems",
  6713. "type": "HTMLCalciteDropdownItemElement[]",
  6714. "mutable": true,
  6715. "reflectToAttr": false,
  6716. "docs": "**read-only** The currently selected items",
  6717. "docsTags": [
  6718. {
  6719. "name": "readonly"
  6720. }
  6721. ],
  6722. "default": "[]",
  6723. "values": [
  6724. {
  6725. "type": "HTMLCalciteDropdownItemElement[]"
  6726. }
  6727. ],
  6728. "optional": false,
  6729. "required": false
  6730. },
  6731. {
  6732. "name": "type",
  6733. "type": "\"click\" | \"hover\"",
  6734. "mutable": false,
  6735. "attr": "type",
  6736. "reflectToAttr": true,
  6737. "docs": "specify whether the dropdown is opened by hover or click of a trigger element",
  6738. "docsTags": [],
  6739. "default": "\"click\"",
  6740. "values": [
  6741. {
  6742. "value": "click",
  6743. "type": "string"
  6744. },
  6745. {
  6746. "value": "hover",
  6747. "type": "string"
  6748. }
  6749. ],
  6750. "optional": false,
  6751. "required": false
  6752. },
  6753. {
  6754. "name": "width",
  6755. "type": "\"l\" | \"m\" | \"s\"",
  6756. "mutable": false,
  6757. "attr": "width",
  6758. "reflectToAttr": true,
  6759. "docs": "specify the width of dropdown, defaults to m",
  6760. "docsTags": [],
  6761. "default": "\"m\"",
  6762. "values": [
  6763. {
  6764. "value": "l",
  6765. "type": "string"
  6766. },
  6767. {
  6768. "value": "m",
  6769. "type": "string"
  6770. },
  6771. {
  6772. "value": "s",
  6773. "type": "string"
  6774. }
  6775. ],
  6776. "optional": false,
  6777. "required": false
  6778. }
  6779. ],
  6780. "methods": [
  6781. {
  6782. "name": "reposition",
  6783. "returns": {
  6784. "type": "Promise<void>",
  6785. "docs": ""
  6786. },
  6787. "signature": "reposition() => Promise<void>",
  6788. "parameters": [],
  6789. "docs": "Updates the position of the component.",
  6790. "docsTags": []
  6791. }
  6792. ],
  6793. "events": [
  6794. {
  6795. "event": "calciteDropdownClose",
  6796. "detail": "void",
  6797. "bubbles": true,
  6798. "cancelable": true,
  6799. "composed": true,
  6800. "docs": "fires when a dropdown has been closed *",
  6801. "docsTags": []
  6802. },
  6803. {
  6804. "event": "calciteDropdownOpen",
  6805. "detail": "void",
  6806. "bubbles": true,
  6807. "cancelable": true,
  6808. "composed": true,
  6809. "docs": "fires when a dropdown has been opened *",
  6810. "docsTags": []
  6811. },
  6812. {
  6813. "event": "calciteDropdownSelect",
  6814. "detail": "void",
  6815. "bubbles": true,
  6816. "cancelable": true,
  6817. "composed": true,
  6818. "docs": "fires when a dropdown item has been selected or deselected *",
  6819. "docsTags": []
  6820. }
  6821. ],
  6822. "listeners": [
  6823. {
  6824. "event": "click",
  6825. "target": "window",
  6826. "capture": false,
  6827. "passive": false
  6828. },
  6829. {
  6830. "event": "calciteDropdownCloseRequest",
  6831. "capture": false,
  6832. "passive": false
  6833. },
  6834. {
  6835. "event": "calciteDropdownOpen",
  6836. "target": "window",
  6837. "capture": false,
  6838. "passive": false
  6839. },
  6840. {
  6841. "event": "mouseenter",
  6842. "capture": false,
  6843. "passive": true
  6844. },
  6845. {
  6846. "event": "mouseleave",
  6847. "capture": false,
  6848. "passive": true
  6849. },
  6850. {
  6851. "event": "calciteDropdownItemKeyEvent",
  6852. "capture": false,
  6853. "passive": false
  6854. },
  6855. {
  6856. "event": "calciteDropdownItemSelect",
  6857. "capture": false,
  6858. "passive": false
  6859. }
  6860. ],
  6861. "styles": [
  6862. {
  6863. "name": "--calcite-dropdown-width",
  6864. "annotation": "prop",
  6865. "docs": "the width of the dropdown wrapper"
  6866. }
  6867. ],
  6868. "slots": [
  6869. {
  6870. "name": "",
  6871. "docs": "A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s."
  6872. },
  6873. {
  6874. "name": "dropdown-trigger",
  6875. "docs": "A slot for the element that triggers the dropdown."
  6876. }
  6877. ],
  6878. "parts": [],
  6879. "dependents": [
  6880. "calcite-split-button"
  6881. ],
  6882. "dependencies": [],
  6883. "dependencyGraph": {
  6884. "calcite-split-button": [
  6885. "calcite-dropdown"
  6886. ]
  6887. }
  6888. },
  6889. {
  6890. "filePath": "./src/components/dropdown-group/dropdown-group.tsx",
  6891. "encapsulation": "shadow",
  6892. "tag": "calcite-dropdown-group",
  6893. "readme": "# calcite-dropdown-group\n",
  6894. "docs": "",
  6895. "docsTags": [
  6896. {
  6897. "name": "slot",
  6898. "text": "- A slot for adding `calcite-dropdown-item`s."
  6899. }
  6900. ],
  6901. "usage": {},
  6902. "props": [
  6903. {
  6904. "name": "groupTitle",
  6905. "type": "string",
  6906. "mutable": false,
  6907. "attr": "group-title",
  6908. "reflectToAttr": true,
  6909. "docs": "optionally set a group title for display",
  6910. "docsTags": [],
  6911. "values": [
  6912. {
  6913. "type": "string"
  6914. }
  6915. ],
  6916. "optional": true,
  6917. "required": false
  6918. },
  6919. {
  6920. "name": "scale",
  6921. "type": "\"l\" | \"m\" | \"s\"",
  6922. "mutable": false,
  6923. "attr": "scale",
  6924. "reflectToAttr": true,
  6925. "docs": "Specifies the size of the action.",
  6926. "docsTags": [],
  6927. "values": [
  6928. {
  6929. "value": "l",
  6930. "type": "string"
  6931. },
  6932. {
  6933. "value": "m",
  6934. "type": "string"
  6935. },
  6936. {
  6937. "value": "s",
  6938. "type": "string"
  6939. }
  6940. ],
  6941. "optional": false,
  6942. "required": false
  6943. },
  6944. {
  6945. "name": "selectionMode",
  6946. "type": "\"multi\" | \"none\" | \"single\"",
  6947. "mutable": false,
  6948. "attr": "selection-mode",
  6949. "reflectToAttr": true,
  6950. "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",
  6951. "docsTags": [],
  6952. "default": "\"single\"",
  6953. "values": [
  6954. {
  6955. "value": "multi",
  6956. "type": "string"
  6957. },
  6958. {
  6959. "value": "none",
  6960. "type": "string"
  6961. },
  6962. {
  6963. "value": "single",
  6964. "type": "string"
  6965. }
  6966. ],
  6967. "optional": false,
  6968. "required": false
  6969. }
  6970. ],
  6971. "methods": [],
  6972. "events": [],
  6973. "listeners": [
  6974. {
  6975. "event": "calciteDropdownItemSelect",
  6976. "capture": false,
  6977. "passive": false
  6978. }
  6979. ],
  6980. "styles": [],
  6981. "slots": [
  6982. {
  6983. "name": "",
  6984. "docs": "A slot for adding `calcite-dropdown-item`s."
  6985. }
  6986. ],
  6987. "parts": [],
  6988. "dependents": [],
  6989. "dependencies": [],
  6990. "dependencyGraph": {}
  6991. },
  6992. {
  6993. "filePath": "./src/components/dropdown-item/dropdown-item.tsx",
  6994. "encapsulation": "shadow",
  6995. "tag": "calcite-dropdown-item",
  6996. "readme": "# calcite-dropdown-item\n",
  6997. "docs": "",
  6998. "docsTags": [
  6999. {
  7000. "name": "slot",
  7001. "text": "- A slot for adding text."
  7002. }
  7003. ],
  7004. "usage": {},
  7005. "props": [
  7006. {
  7007. "name": "active",
  7008. "type": "boolean",
  7009. "mutable": true,
  7010. "attr": "active",
  7011. "reflectToAttr": true,
  7012. "docs": "Indicates whether the item is active.",
  7013. "docsTags": [],
  7014. "default": "false",
  7015. "values": [
  7016. {
  7017. "type": "boolean"
  7018. }
  7019. ],
  7020. "optional": false,
  7021. "required": false
  7022. },
  7023. {
  7024. "name": "href",
  7025. "type": "string",
  7026. "mutable": false,
  7027. "attr": "href",
  7028. "reflectToAttr": true,
  7029. "docs": "optionally pass a href - used to determine if the component should render as anchor",
  7030. "docsTags": [],
  7031. "values": [
  7032. {
  7033. "type": "string"
  7034. }
  7035. ],
  7036. "optional": true,
  7037. "required": false
  7038. },
  7039. {
  7040. "name": "iconEnd",
  7041. "type": "string",
  7042. "mutable": false,
  7043. "attr": "icon-end",
  7044. "reflectToAttr": true,
  7045. "docs": "optionally pass an icon to display at the end of an item - accepts calcite ui icon names",
  7046. "docsTags": [],
  7047. "values": [
  7048. {
  7049. "type": "string"
  7050. }
  7051. ],
  7052. "optional": true,
  7053. "required": false
  7054. },
  7055. {
  7056. "name": "iconFlipRtl",
  7057. "type": "\"both\" | \"end\" | \"start\"",
  7058. "mutable": false,
  7059. "attr": "icon-flip-rtl",
  7060. "reflectToAttr": true,
  7061. "docs": "flip the icon(s) in rtl",
  7062. "docsTags": [],
  7063. "values": [
  7064. {
  7065. "value": "both",
  7066. "type": "string"
  7067. },
  7068. {
  7069. "value": "end",
  7070. "type": "string"
  7071. },
  7072. {
  7073. "value": "start",
  7074. "type": "string"
  7075. }
  7076. ],
  7077. "optional": true,
  7078. "required": false
  7079. },
  7080. {
  7081. "name": "iconStart",
  7082. "type": "string",
  7083. "mutable": false,
  7084. "attr": "icon-start",
  7085. "reflectToAttr": true,
  7086. "docs": "optionally pass an icon to display at the start of an item - accepts calcite ui icon names",
  7087. "docsTags": [],
  7088. "values": [
  7089. {
  7090. "type": "string"
  7091. }
  7092. ],
  7093. "optional": true,
  7094. "required": false
  7095. },
  7096. {
  7097. "name": "label",
  7098. "type": "string",
  7099. "mutable": false,
  7100. "attr": "label",
  7101. "reflectToAttr": false,
  7102. "docs": "Applies to the aria-label attribute on the button or hyperlink",
  7103. "docsTags": [],
  7104. "values": [
  7105. {
  7106. "type": "string"
  7107. }
  7108. ],
  7109. "optional": true,
  7110. "required": false
  7111. },
  7112. {
  7113. "name": "rel",
  7114. "type": "string",
  7115. "mutable": false,
  7116. "attr": "rel",
  7117. "reflectToAttr": false,
  7118. "docs": "The rel attribute to apply to the hyperlink",
  7119. "docsTags": [],
  7120. "values": [
  7121. {
  7122. "type": "string"
  7123. }
  7124. ],
  7125. "optional": true,
  7126. "required": false
  7127. },
  7128. {
  7129. "name": "target",
  7130. "type": "string",
  7131. "mutable": false,
  7132. "attr": "target",
  7133. "reflectToAttr": false,
  7134. "docs": "The target attribute to apply to the hyperlink",
  7135. "docsTags": [],
  7136. "values": [
  7137. {
  7138. "type": "string"
  7139. }
  7140. ],
  7141. "optional": true,
  7142. "required": false
  7143. }
  7144. ],
  7145. "methods": [
  7146. {
  7147. "name": "setFocus",
  7148. "returns": {
  7149. "type": "Promise<void>",
  7150. "docs": ""
  7151. },
  7152. "signature": "setFocus() => Promise<void>",
  7153. "parameters": [],
  7154. "docs": "Sets focus on the component.",
  7155. "docsTags": []
  7156. }
  7157. ],
  7158. "events": [],
  7159. "listeners": [
  7160. {
  7161. "event": "click",
  7162. "capture": false,
  7163. "passive": false
  7164. },
  7165. {
  7166. "event": "keydown",
  7167. "capture": false,
  7168. "passive": false
  7169. },
  7170. {
  7171. "event": "calciteDropdownItemChange",
  7172. "target": "body",
  7173. "capture": false,
  7174. "passive": false
  7175. }
  7176. ],
  7177. "styles": [],
  7178. "slots": [
  7179. {
  7180. "name": "",
  7181. "docs": "A slot for adding text."
  7182. }
  7183. ],
  7184. "parts": [],
  7185. "dependents": [],
  7186. "dependencies": [
  7187. "calcite-icon"
  7188. ],
  7189. "dependencyGraph": {
  7190. "calcite-dropdown-item": [
  7191. "calcite-icon"
  7192. ]
  7193. }
  7194. },
  7195. {
  7196. "filePath": "./src/components/fab/fab.tsx",
  7197. "encapsulation": "shadow",
  7198. "tag": "calcite-fab",
  7199. "readme": "# calcite-fab\n",
  7200. "docs": "",
  7201. "docsTags": [],
  7202. "usage": {
  7203. "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",
  7204. "Loading-and-disabled": "Renders a `calcite-fab` that is loading and disabled.\n\n```html\n<calcite-fab loading disabled></calcite-fab>\n```\n",
  7205. "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"
  7206. },
  7207. "props": [
  7208. {
  7209. "name": "appearance",
  7210. "type": "\"outline\" | \"solid\"",
  7211. "mutable": false,
  7212. "attr": "appearance",
  7213. "reflectToAttr": true,
  7214. "docs": "Used to set the button's appearance. Default is outline.",
  7215. "docsTags": [],
  7216. "default": "\"outline\"",
  7217. "values": [
  7218. {
  7219. "value": "outline",
  7220. "type": "string"
  7221. },
  7222. {
  7223. "value": "solid",
  7224. "type": "string"
  7225. }
  7226. ],
  7227. "optional": false,
  7228. "required": false
  7229. },
  7230. {
  7231. "name": "color",
  7232. "type": "\"blue\" | \"inverse\" | \"neutral\" | \"red\"",
  7233. "mutable": false,
  7234. "attr": "color",
  7235. "reflectToAttr": true,
  7236. "docs": "Used to set the button's color. Default is light.",
  7237. "docsTags": [],
  7238. "default": "\"neutral\"",
  7239. "values": [
  7240. {
  7241. "value": "blue",
  7242. "type": "string"
  7243. },
  7244. {
  7245. "value": "inverse",
  7246. "type": "string"
  7247. },
  7248. {
  7249. "value": "neutral",
  7250. "type": "string"
  7251. },
  7252. {
  7253. "value": "red",
  7254. "type": "string"
  7255. }
  7256. ],
  7257. "optional": false,
  7258. "required": false
  7259. },
  7260. {
  7261. "name": "disabled",
  7262. "type": "boolean",
  7263. "mutable": false,
  7264. "attr": "disabled",
  7265. "reflectToAttr": true,
  7266. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  7267. "docsTags": [],
  7268. "default": "false",
  7269. "values": [
  7270. {
  7271. "type": "boolean"
  7272. }
  7273. ],
  7274. "optional": false,
  7275. "required": false
  7276. },
  7277. {
  7278. "name": "icon",
  7279. "type": "string",
  7280. "mutable": false,
  7281. "attr": "icon",
  7282. "reflectToAttr": false,
  7283. "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/.",
  7284. "docsTags": [
  7285. {
  7286. "name": "default",
  7287. "text": "\"plus\""
  7288. }
  7289. ],
  7290. "default": "ICONS.plus",
  7291. "values": [
  7292. {
  7293. "type": "string"
  7294. }
  7295. ],
  7296. "optional": true,
  7297. "required": false
  7298. },
  7299. {
  7300. "name": "label",
  7301. "type": "string",
  7302. "mutable": false,
  7303. "attr": "label",
  7304. "reflectToAttr": false,
  7305. "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.",
  7306. "docsTags": [],
  7307. "values": [
  7308. {
  7309. "type": "string"
  7310. }
  7311. ],
  7312. "optional": true,
  7313. "required": false
  7314. },
  7315. {
  7316. "name": "loading",
  7317. "type": "boolean",
  7318. "mutable": false,
  7319. "attr": "loading",
  7320. "reflectToAttr": true,
  7321. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  7322. "docsTags": [],
  7323. "default": "false",
  7324. "values": [
  7325. {
  7326. "type": "boolean"
  7327. }
  7328. ],
  7329. "optional": false,
  7330. "required": false
  7331. },
  7332. {
  7333. "name": "scale",
  7334. "type": "\"l\" | \"m\" | \"s\"",
  7335. "mutable": false,
  7336. "attr": "scale",
  7337. "reflectToAttr": true,
  7338. "docs": "Specifies the size of the fab.",
  7339. "docsTags": [],
  7340. "default": "\"m\"",
  7341. "values": [
  7342. {
  7343. "value": "l",
  7344. "type": "string"
  7345. },
  7346. {
  7347. "value": "m",
  7348. "type": "string"
  7349. },
  7350. {
  7351. "value": "s",
  7352. "type": "string"
  7353. }
  7354. ],
  7355. "optional": false,
  7356. "required": false
  7357. },
  7358. {
  7359. "name": "text",
  7360. "type": "string",
  7361. "mutable": false,
  7362. "attr": "text",
  7363. "reflectToAttr": false,
  7364. "docs": "Text that accompanies the FAB icon.",
  7365. "docsTags": [],
  7366. "values": [
  7367. {
  7368. "type": "string"
  7369. }
  7370. ],
  7371. "optional": true,
  7372. "required": false
  7373. },
  7374. {
  7375. "name": "textEnabled",
  7376. "type": "boolean",
  7377. "mutable": false,
  7378. "attr": "text-enabled",
  7379. "reflectToAttr": true,
  7380. "docs": "Indicates whether the text is displayed.",
  7381. "docsTags": [],
  7382. "default": "false",
  7383. "values": [
  7384. {
  7385. "type": "boolean"
  7386. }
  7387. ],
  7388. "optional": false,
  7389. "required": false
  7390. }
  7391. ],
  7392. "methods": [
  7393. {
  7394. "name": "setFocus",
  7395. "returns": {
  7396. "type": "Promise<void>",
  7397. "docs": ""
  7398. },
  7399. "signature": "setFocus() => Promise<void>",
  7400. "parameters": [],
  7401. "docs": "Sets focus on the component.",
  7402. "docsTags": []
  7403. }
  7404. ],
  7405. "events": [],
  7406. "listeners": [],
  7407. "styles": [],
  7408. "slots": [],
  7409. "parts": [],
  7410. "dependents": [],
  7411. "dependencies": [
  7412. "calcite-button"
  7413. ],
  7414. "dependencyGraph": {
  7415. "calcite-fab": [
  7416. "calcite-button"
  7417. ],
  7418. "calcite-button": [
  7419. "calcite-loader",
  7420. "calcite-icon"
  7421. ]
  7422. }
  7423. },
  7424. {
  7425. "filePath": "./src/components/filter/filter.tsx",
  7426. "encapsulation": "shadow",
  7427. "tag": "calcite-filter",
  7428. "readme": "# calcite-filter\n",
  7429. "docs": "",
  7430. "docsTags": [],
  7431. "usage": {},
  7432. "props": [
  7433. {
  7434. "name": "disabled",
  7435. "type": "boolean",
  7436. "mutable": false,
  7437. "attr": "disabled",
  7438. "reflectToAttr": true,
  7439. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  7440. "docsTags": [],
  7441. "default": "false",
  7442. "values": [
  7443. {
  7444. "type": "boolean"
  7445. }
  7446. ],
  7447. "optional": false,
  7448. "required": false
  7449. },
  7450. {
  7451. "name": "filteredItems",
  7452. "type": "object[]",
  7453. "mutable": true,
  7454. "reflectToAttr": false,
  7455. "docs": "The resulting items after filtering.",
  7456. "docsTags": [
  7457. {
  7458. "name": "readonly"
  7459. }
  7460. ],
  7461. "default": "[]",
  7462. "values": [
  7463. {
  7464. "type": "object[]"
  7465. }
  7466. ],
  7467. "optional": false,
  7468. "required": false
  7469. },
  7470. {
  7471. "name": "intlClear",
  7472. "type": "string",
  7473. "mutable": false,
  7474. "attr": "intl-clear",
  7475. "reflectToAttr": false,
  7476. "docs": "A text label that will appear on the clear button.",
  7477. "docsTags": [],
  7478. "values": [
  7479. {
  7480. "type": "string"
  7481. }
  7482. ],
  7483. "optional": true,
  7484. "required": false
  7485. },
  7486. {
  7487. "name": "intlLabel",
  7488. "type": "string",
  7489. "mutable": false,
  7490. "attr": "intl-label",
  7491. "reflectToAttr": false,
  7492. "docs": "A text label that will appear next to the input field.",
  7493. "docsTags": [],
  7494. "values": [
  7495. {
  7496. "type": "string"
  7497. }
  7498. ],
  7499. "optional": true,
  7500. "required": false
  7501. },
  7502. {
  7503. "name": "items",
  7504. "type": "object[]",
  7505. "mutable": true,
  7506. "reflectToAttr": false,
  7507. "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.",
  7508. "docsTags": [],
  7509. "default": "[]",
  7510. "values": [
  7511. {
  7512. "type": "object[]"
  7513. }
  7514. ],
  7515. "optional": false,
  7516. "required": false
  7517. },
  7518. {
  7519. "name": "placeholder",
  7520. "type": "string",
  7521. "mutable": false,
  7522. "attr": "placeholder",
  7523. "reflectToAttr": false,
  7524. "docs": "Placeholder text for the input element's placeholder attribute",
  7525. "docsTags": [],
  7526. "values": [
  7527. {
  7528. "type": "string"
  7529. }
  7530. ],
  7531. "optional": true,
  7532. "required": false
  7533. },
  7534. {
  7535. "name": "scale",
  7536. "type": "\"l\" | \"m\" | \"s\"",
  7537. "mutable": false,
  7538. "attr": "scale",
  7539. "reflectToAttr": true,
  7540. "docs": "specify the scale of filter, defaults to m",
  7541. "docsTags": [],
  7542. "default": "\"m\"",
  7543. "values": [
  7544. {
  7545. "value": "l",
  7546. "type": "string"
  7547. },
  7548. {
  7549. "value": "m",
  7550. "type": "string"
  7551. },
  7552. {
  7553. "value": "s",
  7554. "type": "string"
  7555. }
  7556. ],
  7557. "optional": false,
  7558. "required": false
  7559. },
  7560. {
  7561. "name": "value",
  7562. "type": "string",
  7563. "mutable": true,
  7564. "attr": "value",
  7565. "reflectToAttr": false,
  7566. "docs": "Filter value.",
  7567. "docsTags": [],
  7568. "default": "\"\"",
  7569. "values": [
  7570. {
  7571. "type": "string"
  7572. }
  7573. ],
  7574. "optional": false,
  7575. "required": false
  7576. }
  7577. ],
  7578. "methods": [
  7579. {
  7580. "name": "setFocus",
  7581. "returns": {
  7582. "type": "Promise<void>",
  7583. "docs": ""
  7584. },
  7585. "signature": "setFocus() => Promise<void>",
  7586. "parameters": [],
  7587. "docs": "Sets focus on the component.",
  7588. "docsTags": []
  7589. }
  7590. ],
  7591. "events": [
  7592. {
  7593. "event": "calciteFilterChange",
  7594. "detail": "void",
  7595. "bubbles": true,
  7596. "cancelable": true,
  7597. "composed": true,
  7598. "docs": "This event fires when the filter text changes.",
  7599. "docsTags": []
  7600. }
  7601. ],
  7602. "listeners": [],
  7603. "styles": [],
  7604. "slots": [],
  7605. "parts": [],
  7606. "dependents": [
  7607. "calcite-pick-list",
  7608. "calcite-value-list"
  7609. ],
  7610. "dependencies": [
  7611. "calcite-input"
  7612. ],
  7613. "dependencyGraph": {
  7614. "calcite-filter": [
  7615. "calcite-input"
  7616. ],
  7617. "calcite-input": [
  7618. "calcite-progress",
  7619. "calcite-icon"
  7620. ],
  7621. "calcite-pick-list": [
  7622. "calcite-filter"
  7623. ],
  7624. "calcite-value-list": [
  7625. "calcite-filter"
  7626. ]
  7627. }
  7628. },
  7629. {
  7630. "filePath": "./src/components/flow/flow.tsx",
  7631. "encapsulation": "shadow",
  7632. "tag": "calcite-flow",
  7633. "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",
  7634. "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.",
  7635. "docsTags": [
  7636. {
  7637. "name": "slot",
  7638. "text": "- A slot for adding `calcite-panel`s to the flow."
  7639. }
  7640. ],
  7641. "usage": {
  7642. "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",
  7643. "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"
  7644. },
  7645. "props": [],
  7646. "methods": [
  7647. {
  7648. "name": "back",
  7649. "returns": {
  7650. "type": "Promise<HTMLCalcitePanelElement>",
  7651. "docs": ""
  7652. },
  7653. "signature": "back() => Promise<HTMLCalcitePanelElement>",
  7654. "parameters": [],
  7655. "docs": "Removes the currently active `calcite-panel`.",
  7656. "docsTags": []
  7657. }
  7658. ],
  7659. "events": [],
  7660. "listeners": [
  7661. {
  7662. "event": "calcitePanelBackClick",
  7663. "capture": false,
  7664. "passive": false
  7665. }
  7666. ],
  7667. "styles": [],
  7668. "slots": [
  7669. {
  7670. "name": "",
  7671. "docs": "A slot for adding `calcite-panel`s to the flow."
  7672. }
  7673. ],
  7674. "parts": [],
  7675. "dependents": [],
  7676. "dependencies": [],
  7677. "dependencyGraph": {}
  7678. },
  7679. {
  7680. "filePath": "./src/components/graph/graph.tsx",
  7681. "encapsulation": "shadow",
  7682. "tag": "calcite-graph",
  7683. "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",
  7684. "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.",
  7685. "docsTags": [],
  7686. "usage": {},
  7687. "props": [
  7688. {
  7689. "name": "colorStops",
  7690. "type": "ColorStop[]",
  7691. "mutable": false,
  7692. "reflectToAttr": false,
  7693. "docs": "Array of values describing a single color stop ([offset, color, opacity])\nThese color stops should be sorted by offset value",
  7694. "docsTags": [],
  7695. "values": [
  7696. {
  7697. "type": "ColorStop[]"
  7698. }
  7699. ],
  7700. "optional": false,
  7701. "required": false
  7702. },
  7703. {
  7704. "name": "data",
  7705. "type": "Point[]",
  7706. "mutable": false,
  7707. "reflectToAttr": false,
  7708. "docs": "Array of tuples describing a single data point ([x, y])\nThese data points should be sorted by x-axis value",
  7709. "docsTags": [],
  7710. "default": "[]",
  7711. "values": [
  7712. {
  7713. "type": "Point[]"
  7714. }
  7715. ],
  7716. "optional": false,
  7717. "required": false
  7718. },
  7719. {
  7720. "name": "highlightMax",
  7721. "type": "number",
  7722. "mutable": false,
  7723. "attr": "highlight-max",
  7724. "reflectToAttr": false,
  7725. "docs": "End of highlight color if highlighting range",
  7726. "docsTags": [],
  7727. "values": [
  7728. {
  7729. "type": "number"
  7730. }
  7731. ],
  7732. "optional": false,
  7733. "required": false
  7734. },
  7735. {
  7736. "name": "highlightMin",
  7737. "type": "number",
  7738. "mutable": false,
  7739. "attr": "highlight-min",
  7740. "reflectToAttr": false,
  7741. "docs": "Start of highlight color if highlighting range",
  7742. "docsTags": [],
  7743. "values": [
  7744. {
  7745. "type": "number"
  7746. }
  7747. ],
  7748. "optional": false,
  7749. "required": false
  7750. },
  7751. {
  7752. "name": "max",
  7753. "type": "number",
  7754. "mutable": false,
  7755. "attr": "max",
  7756. "reflectToAttr": false,
  7757. "docs": "Highest point of the range",
  7758. "docsTags": [],
  7759. "values": [
  7760. {
  7761. "type": "number"
  7762. }
  7763. ],
  7764. "optional": false,
  7765. "required": true
  7766. },
  7767. {
  7768. "name": "min",
  7769. "type": "number",
  7770. "mutable": false,
  7771. "attr": "min",
  7772. "reflectToAttr": false,
  7773. "docs": "Lowest point of the range",
  7774. "docsTags": [],
  7775. "values": [
  7776. {
  7777. "type": "number"
  7778. }
  7779. ],
  7780. "optional": false,
  7781. "required": true
  7782. }
  7783. ],
  7784. "methods": [],
  7785. "events": [],
  7786. "listeners": [],
  7787. "styles": [],
  7788. "slots": [],
  7789. "parts": [],
  7790. "dependents": [
  7791. "calcite-slider"
  7792. ],
  7793. "dependencies": [],
  7794. "dependencyGraph": {
  7795. "calcite-slider": [
  7796. "calcite-graph"
  7797. ]
  7798. }
  7799. },
  7800. {
  7801. "filePath": "./src/components/handle/handle.tsx",
  7802. "encapsulation": "shadow",
  7803. "tag": "calcite-handle",
  7804. "readme": "# calcite-handle\n",
  7805. "docs": "",
  7806. "docsTags": [],
  7807. "usage": {},
  7808. "props": [
  7809. {
  7810. "name": "textTitle",
  7811. "type": "string",
  7812. "mutable": false,
  7813. "attr": "text-title",
  7814. "reflectToAttr": true,
  7815. "docs": "Value for the button title attribute",
  7816. "docsTags": [],
  7817. "default": "\"handle\"",
  7818. "values": [
  7819. {
  7820. "type": "string"
  7821. }
  7822. ],
  7823. "optional": false,
  7824. "required": false
  7825. }
  7826. ],
  7827. "methods": [
  7828. {
  7829. "name": "setFocus",
  7830. "returns": {
  7831. "type": "Promise<void>",
  7832. "docs": ""
  7833. },
  7834. "signature": "setFocus() => Promise<void>",
  7835. "parameters": [],
  7836. "docs": "Sets focus on the component.",
  7837. "docsTags": []
  7838. }
  7839. ],
  7840. "events": [
  7841. {
  7842. "event": "calciteHandleNudge",
  7843. "detail": "any",
  7844. "bubbles": true,
  7845. "cancelable": true,
  7846. "composed": true,
  7847. "docs": "Emitted when the the handle is activated and the up or down arrow key is pressed.",
  7848. "docsTags": []
  7849. }
  7850. ],
  7851. "listeners": [],
  7852. "styles": [],
  7853. "slots": [],
  7854. "parts": [],
  7855. "dependents": [
  7856. "calcite-block"
  7857. ],
  7858. "dependencies": [
  7859. "calcite-icon"
  7860. ],
  7861. "dependencyGraph": {
  7862. "calcite-handle": [
  7863. "calcite-icon"
  7864. ],
  7865. "calcite-block": [
  7866. "calcite-handle"
  7867. ]
  7868. }
  7869. },
  7870. {
  7871. "filePath": "./src/components/icon/icon.tsx",
  7872. "encapsulation": "shadow",
  7873. "tag": "calcite-icon",
  7874. "readme": "# calcite-icon\n",
  7875. "docs": "",
  7876. "docsTags": [],
  7877. "usage": {
  7878. "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"
  7879. },
  7880. "props": [
  7881. {
  7882. "name": "flipRtl",
  7883. "type": "boolean",
  7884. "mutable": false,
  7885. "attr": "flip-rtl",
  7886. "reflectToAttr": true,
  7887. "docs": "When true, the icon will be flipped when the element direction is 'rtl'.",
  7888. "docsTags": [],
  7889. "default": "false",
  7890. "values": [
  7891. {
  7892. "type": "boolean"
  7893. }
  7894. ],
  7895. "optional": false,
  7896. "required": false
  7897. },
  7898. {
  7899. "name": "icon",
  7900. "type": "string",
  7901. "mutable": false,
  7902. "attr": "icon",
  7903. "reflectToAttr": true,
  7904. "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/.",
  7905. "docsTags": [],
  7906. "default": "null",
  7907. "values": [
  7908. {
  7909. "type": "string"
  7910. }
  7911. ],
  7912. "optional": false,
  7913. "required": false
  7914. },
  7915. {
  7916. "name": "scale",
  7917. "type": "\"l\" | \"m\" | \"s\"",
  7918. "mutable": false,
  7919. "attr": "scale",
  7920. "reflectToAttr": true,
  7921. "docs": "Icon scale.",
  7922. "docsTags": [],
  7923. "default": "\"m\"",
  7924. "values": [
  7925. {
  7926. "value": "l",
  7927. "type": "string"
  7928. },
  7929. {
  7930. "value": "m",
  7931. "type": "string"
  7932. },
  7933. {
  7934. "value": "s",
  7935. "type": "string"
  7936. }
  7937. ],
  7938. "optional": false,
  7939. "required": false
  7940. },
  7941. {
  7942. "name": "textLabel",
  7943. "type": "string",
  7944. "mutable": false,
  7945. "attr": "text-label",
  7946. "reflectToAttr": false,
  7947. "docs": "The icon label.\n\nIt is recommended to set this value if your icon is semantic.",
  7948. "docsTags": [],
  7949. "values": [
  7950. {
  7951. "type": "string"
  7952. }
  7953. ],
  7954. "optional": false,
  7955. "required": false
  7956. }
  7957. ],
  7958. "methods": [],
  7959. "events": [],
  7960. "listeners": [],
  7961. "styles": [
  7962. {
  7963. "name": "--calcite-ui-icon-color",
  7964. "annotation": "prop",
  7965. "docs": "the color of the icon. Defaults to 'currentColor'."
  7966. }
  7967. ],
  7968. "slots": [],
  7969. "parts": [],
  7970. "dependents": [
  7971. "calcite-accordion-item",
  7972. "calcite-action",
  7973. "calcite-alert",
  7974. "calcite-avatar",
  7975. "calcite-block",
  7976. "calcite-block-section",
  7977. "calcite-button",
  7978. "calcite-chip",
  7979. "calcite-combobox",
  7980. "calcite-combobox-item",
  7981. "calcite-date-picker-month-header",
  7982. "calcite-dropdown-item",
  7983. "calcite-handle",
  7984. "calcite-input",
  7985. "calcite-input-date-picker",
  7986. "calcite-input-message",
  7987. "calcite-link",
  7988. "calcite-modal",
  7989. "calcite-notice",
  7990. "calcite-pagination",
  7991. "calcite-pick-list-item",
  7992. "calcite-popover",
  7993. "calcite-radio-group-item",
  7994. "calcite-rating",
  7995. "calcite-select",
  7996. "calcite-stepper-item",
  7997. "calcite-tab-title",
  7998. "calcite-tile",
  7999. "calcite-time-picker",
  8000. "calcite-tip-manager",
  8001. "calcite-tree-item",
  8002. "calcite-value-list-item"
  8003. ],
  8004. "dependencies": [],
  8005. "dependencyGraph": {
  8006. "calcite-accordion-item": [
  8007. "calcite-icon"
  8008. ],
  8009. "calcite-action": [
  8010. "calcite-icon"
  8011. ],
  8012. "calcite-alert": [
  8013. "calcite-icon"
  8014. ],
  8015. "calcite-avatar": [
  8016. "calcite-icon"
  8017. ],
  8018. "calcite-block": [
  8019. "calcite-icon"
  8020. ],
  8021. "calcite-block-section": [
  8022. "calcite-icon"
  8023. ],
  8024. "calcite-button": [
  8025. "calcite-icon"
  8026. ],
  8027. "calcite-chip": [
  8028. "calcite-icon"
  8029. ],
  8030. "calcite-combobox": [
  8031. "calcite-icon"
  8032. ],
  8033. "calcite-combobox-item": [
  8034. "calcite-icon"
  8035. ],
  8036. "calcite-date-picker-month-header": [
  8037. "calcite-icon"
  8038. ],
  8039. "calcite-dropdown-item": [
  8040. "calcite-icon"
  8041. ],
  8042. "calcite-handle": [
  8043. "calcite-icon"
  8044. ],
  8045. "calcite-input": [
  8046. "calcite-icon"
  8047. ],
  8048. "calcite-input-date-picker": [
  8049. "calcite-icon"
  8050. ],
  8051. "calcite-input-message": [
  8052. "calcite-icon"
  8053. ],
  8054. "calcite-link": [
  8055. "calcite-icon"
  8056. ],
  8057. "calcite-modal": [
  8058. "calcite-icon"
  8059. ],
  8060. "calcite-notice": [
  8061. "calcite-icon"
  8062. ],
  8063. "calcite-pagination": [
  8064. "calcite-icon"
  8065. ],
  8066. "calcite-pick-list-item": [
  8067. "calcite-icon"
  8068. ],
  8069. "calcite-popover": [
  8070. "calcite-icon"
  8071. ],
  8072. "calcite-radio-group-item": [
  8073. "calcite-icon"
  8074. ],
  8075. "calcite-rating": [
  8076. "calcite-icon"
  8077. ],
  8078. "calcite-select": [
  8079. "calcite-icon"
  8080. ],
  8081. "calcite-stepper-item": [
  8082. "calcite-icon"
  8083. ],
  8084. "calcite-tab-title": [
  8085. "calcite-icon"
  8086. ],
  8087. "calcite-tile": [
  8088. "calcite-icon"
  8089. ],
  8090. "calcite-time-picker": [
  8091. "calcite-icon"
  8092. ],
  8093. "calcite-tip-manager": [
  8094. "calcite-icon"
  8095. ],
  8096. "calcite-tree-item": [
  8097. "calcite-icon"
  8098. ],
  8099. "calcite-value-list-item": [
  8100. "calcite-icon"
  8101. ]
  8102. }
  8103. },
  8104. {
  8105. "filePath": "./src/components/inline-editable/inline-editable.tsx",
  8106. "encapsulation": "shadow",
  8107. "tag": "calcite-inline-editable",
  8108. "readme": "# calcite-inline-editable\n",
  8109. "docs": "",
  8110. "docsTags": [
  8111. {
  8112. "name": "slot",
  8113. "text": "- A slot for adding a `calcite-input`."
  8114. }
  8115. ],
  8116. "usage": {
  8117. "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",
  8118. "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",
  8119. "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"
  8120. },
  8121. "props": [
  8122. {
  8123. "name": "afterConfirm",
  8124. "type": "() => Promise<void>",
  8125. "mutable": false,
  8126. "reflectToAttr": false,
  8127. "docs": "when controls, specify a callback to be executed prior to disabling editing. when provided, loading state will be handled automatically.",
  8128. "docsTags": [],
  8129. "values": [
  8130. {
  8131. "type": "() => Promise<void>"
  8132. }
  8133. ],
  8134. "optional": true,
  8135. "required": false
  8136. },
  8137. {
  8138. "name": "controls",
  8139. "type": "boolean",
  8140. "mutable": false,
  8141. "attr": "controls",
  8142. "reflectToAttr": true,
  8143. "docs": "specify whether save/cancel controls should be displayed when editingEnabled is true, defaults to false",
  8144. "docsTags": [],
  8145. "default": "false",
  8146. "values": [
  8147. {
  8148. "type": "boolean"
  8149. }
  8150. ],
  8151. "optional": false,
  8152. "required": false
  8153. },
  8154. {
  8155. "name": "disabled",
  8156. "type": "boolean",
  8157. "mutable": false,
  8158. "attr": "disabled",
  8159. "reflectToAttr": true,
  8160. "docs": "specify whether editing can be enabled",
  8161. "docsTags": [],
  8162. "default": "false",
  8163. "values": [
  8164. {
  8165. "type": "boolean"
  8166. }
  8167. ],
  8168. "optional": false,
  8169. "required": false
  8170. },
  8171. {
  8172. "name": "editingEnabled",
  8173. "type": "boolean",
  8174. "mutable": true,
  8175. "attr": "editing-enabled",
  8176. "reflectToAttr": true,
  8177. "docs": "specify whether the wrapped input element is editable, defaults to false",
  8178. "docsTags": [],
  8179. "default": "false",
  8180. "values": [
  8181. {
  8182. "type": "boolean"
  8183. }
  8184. ],
  8185. "optional": false,
  8186. "required": false
  8187. },
  8188. {
  8189. "name": "intlCancelEditing",
  8190. "type": "string",
  8191. "mutable": false,
  8192. "attr": "intl-cancel-editing",
  8193. "reflectToAttr": true,
  8194. "docs": "specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`",
  8195. "docsTags": [
  8196. {
  8197. "name": "default",
  8198. "text": "\"Cancel\""
  8199. }
  8200. ],
  8201. "default": "TEXT.intlCancelEditing",
  8202. "values": [
  8203. {
  8204. "type": "string"
  8205. }
  8206. ],
  8207. "optional": false,
  8208. "required": false
  8209. },
  8210. {
  8211. "name": "intlConfirmChanges",
  8212. "type": "string",
  8213. "mutable": false,
  8214. "attr": "intl-confirm-changes",
  8215. "reflectToAttr": true,
  8216. "docs": "specify text to be user for the confirm changes button's aria-label, defaults to `Save`",
  8217. "docsTags": [
  8218. {
  8219. "name": "default",
  8220. "text": "\"Save\""
  8221. }
  8222. ],
  8223. "default": "TEXT.intlConfirmChanges",
  8224. "values": [
  8225. {
  8226. "type": "string"
  8227. }
  8228. ],
  8229. "optional": false,
  8230. "required": false
  8231. },
  8232. {
  8233. "name": "intlEnableEditing",
  8234. "type": "string",
  8235. "mutable": false,
  8236. "attr": "intl-enable-editing",
  8237. "reflectToAttr": true,
  8238. "docs": "specify text to be user for the enable editing button's aria-label, defaults to `Click to edit`",
  8239. "docsTags": [
  8240. {
  8241. "name": "default",
  8242. "text": "\"Click to edit\""
  8243. }
  8244. ],
  8245. "default": "TEXT.intlEnablingEditing",
  8246. "values": [
  8247. {
  8248. "type": "string"
  8249. }
  8250. ],
  8251. "optional": false,
  8252. "required": false
  8253. },
  8254. {
  8255. "name": "loading",
  8256. "type": "boolean",
  8257. "mutable": true,
  8258. "attr": "loading",
  8259. "reflectToAttr": true,
  8260. "docs": "specify whether the confirm button should display a loading state, defaults to false",
  8261. "docsTags": [],
  8262. "default": "false",
  8263. "values": [
  8264. {
  8265. "type": "boolean"
  8266. }
  8267. ],
  8268. "optional": false,
  8269. "required": false
  8270. },
  8271. {
  8272. "name": "scale",
  8273. "type": "\"l\" | \"m\" | \"s\"",
  8274. "mutable": true,
  8275. "attr": "scale",
  8276. "reflectToAttr": true,
  8277. "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",
  8278. "docsTags": [],
  8279. "values": [
  8280. {
  8281. "value": "l",
  8282. "type": "string"
  8283. },
  8284. {
  8285. "value": "m",
  8286. "type": "string"
  8287. },
  8288. {
  8289. "value": "s",
  8290. "type": "string"
  8291. }
  8292. ],
  8293. "optional": true,
  8294. "required": false
  8295. }
  8296. ],
  8297. "methods": [
  8298. {
  8299. "name": "setFocus",
  8300. "returns": {
  8301. "type": "Promise<void>",
  8302. "docs": ""
  8303. },
  8304. "signature": "setFocus() => Promise<void>",
  8305. "parameters": [],
  8306. "docs": "",
  8307. "docsTags": []
  8308. }
  8309. ],
  8310. "events": [
  8311. {
  8312. "event": "calciteInlineEditableEditCancel",
  8313. "detail": "void",
  8314. "bubbles": true,
  8315. "cancelable": true,
  8316. "composed": true,
  8317. "docs": "Emitted when the cancel button gets clicked.",
  8318. "docsTags": []
  8319. },
  8320. {
  8321. "event": "calciteInlineEditableEditConfirm",
  8322. "detail": "void",
  8323. "bubbles": true,
  8324. "cancelable": true,
  8325. "composed": true,
  8326. "docs": "Emitted when the check button gets clicked.",
  8327. "docsTags": []
  8328. }
  8329. ],
  8330. "listeners": [
  8331. {
  8332. "event": "calciteInputBlur",
  8333. "capture": false,
  8334. "passive": false
  8335. }
  8336. ],
  8337. "styles": [],
  8338. "slots": [
  8339. {
  8340. "name": "",
  8341. "docs": "A slot for adding a `calcite-input`."
  8342. }
  8343. ],
  8344. "parts": [],
  8345. "dependents": [],
  8346. "dependencies": [
  8347. "calcite-button"
  8348. ],
  8349. "dependencyGraph": {
  8350. "calcite-inline-editable": [
  8351. "calcite-button"
  8352. ],
  8353. "calcite-button": [
  8354. "calcite-loader",
  8355. "calcite-icon"
  8356. ]
  8357. }
  8358. },
  8359. {
  8360. "filePath": "./src/components/input/input.tsx",
  8361. "encapsulation": "shadow",
  8362. "tag": "calcite-input",
  8363. "readme": "# calcite-input\n",
  8364. "docs": "",
  8365. "docsTags": [
  8366. {
  8367. "name": "slot",
  8368. "text": "action - A slot for positioning a button next to an input"
  8369. }
  8370. ],
  8371. "usage": {
  8372. "Basic": "```html\n<calcite-input value=\"Entered value\" placeholder=\"My placeholder\"></calcite-input>\n```\n",
  8373. "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",
  8374. "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",
  8375. "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",
  8376. "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"
  8377. },
  8378. "props": [
  8379. {
  8380. "name": "alignment",
  8381. "type": "\"end\" | \"start\"",
  8382. "mutable": false,
  8383. "attr": "alignment",
  8384. "reflectToAttr": true,
  8385. "docs": "specify the alignment of the value of the input",
  8386. "docsTags": [],
  8387. "default": "\"start\"",
  8388. "values": [
  8389. {
  8390. "value": "end",
  8391. "type": "string"
  8392. },
  8393. {
  8394. "value": "start",
  8395. "type": "string"
  8396. }
  8397. ],
  8398. "optional": false,
  8399. "required": false
  8400. },
  8401. {
  8402. "name": "autofocus",
  8403. "type": "boolean",
  8404. "mutable": false,
  8405. "attr": "autofocus",
  8406. "reflectToAttr": false,
  8407. "docs": "should the input autofocus",
  8408. "docsTags": [],
  8409. "default": "false",
  8410. "values": [
  8411. {
  8412. "type": "boolean"
  8413. }
  8414. ],
  8415. "optional": false,
  8416. "required": false
  8417. },
  8418. {
  8419. "name": "clearable",
  8420. "type": "boolean",
  8421. "mutable": false,
  8422. "attr": "clearable",
  8423. "reflectToAttr": true,
  8424. "docs": "optionally display a clear button that displays when field has a value\nshows by default for search, time, date\nwill not display for type=\"textarea\"",
  8425. "docsTags": [],
  8426. "default": "false",
  8427. "values": [
  8428. {
  8429. "type": "boolean"
  8430. }
  8431. ],
  8432. "optional": false,
  8433. "required": false
  8434. },
  8435. {
  8436. "name": "disabled",
  8437. "type": "boolean",
  8438. "mutable": false,
  8439. "attr": "disabled",
  8440. "reflectToAttr": true,
  8441. "docs": "is the input disabled",
  8442. "docsTags": [],
  8443. "default": "false",
  8444. "values": [
  8445. {
  8446. "type": "boolean"
  8447. }
  8448. ],
  8449. "optional": false,
  8450. "required": false
  8451. },
  8452. {
  8453. "name": "groupSeparator",
  8454. "type": "boolean",
  8455. "mutable": false,
  8456. "attr": "group-separator",
  8457. "reflectToAttr": false,
  8458. "docs": "for number values, displays the locale's group separator",
  8459. "docsTags": [],
  8460. "default": "false",
  8461. "values": [
  8462. {
  8463. "type": "boolean"
  8464. }
  8465. ],
  8466. "optional": false,
  8467. "required": false
  8468. },
  8469. {
  8470. "name": "hidden",
  8471. "type": "boolean",
  8472. "mutable": false,
  8473. "attr": "hidden",
  8474. "reflectToAttr": false,
  8475. "docs": "when true, the component will not be visible",
  8476. "docsTags": [],
  8477. "default": "false",
  8478. "values": [
  8479. {
  8480. "type": "boolean"
  8481. }
  8482. ],
  8483. "optional": false,
  8484. "required": false
  8485. },
  8486. {
  8487. "name": "icon",
  8488. "type": "boolean | string",
  8489. "mutable": false,
  8490. "attr": "icon",
  8491. "reflectToAttr": true,
  8492. "docs": "when used as a boolean set to true, show a default recommended icon for certain\ninput types (tel, password, email, date, time, search). You can also pass a\ncalcite-ui-icon name to this prop to display a requested icon for any input type",
  8493. "docsTags": [],
  8494. "values": [
  8495. {
  8496. "type": "boolean"
  8497. },
  8498. {
  8499. "type": "string"
  8500. }
  8501. ],
  8502. "optional": false,
  8503. "required": false
  8504. },
  8505. {
  8506. "name": "iconFlipRtl",
  8507. "type": "boolean",
  8508. "mutable": false,
  8509. "attr": "icon-flip-rtl",
  8510. "reflectToAttr": true,
  8511. "docs": "flip the icon in rtl",
  8512. "docsTags": [],
  8513. "default": "false",
  8514. "values": [
  8515. {
  8516. "type": "boolean"
  8517. }
  8518. ],
  8519. "optional": false,
  8520. "required": false
  8521. },
  8522. {
  8523. "name": "intlClear",
  8524. "type": "string",
  8525. "mutable": false,
  8526. "attr": "intl-clear",
  8527. "reflectToAttr": false,
  8528. "docs": "A text label that will appear on the clear button for screen readers.",
  8529. "docsTags": [],
  8530. "values": [
  8531. {
  8532. "type": "string"
  8533. }
  8534. ],
  8535. "optional": true,
  8536. "required": false
  8537. },
  8538. {
  8539. "name": "intlLoading",
  8540. "type": "string",
  8541. "mutable": false,
  8542. "attr": "intl-loading",
  8543. "reflectToAttr": false,
  8544. "docs": "string to override English loading text",
  8545. "docsTags": [
  8546. {
  8547. "name": "default",
  8548. "text": "\"Loading\""
  8549. }
  8550. ],
  8551. "default": "COMMON_TEXT.loading",
  8552. "values": [
  8553. {
  8554. "type": "string"
  8555. }
  8556. ],
  8557. "optional": true,
  8558. "required": false
  8559. },
  8560. {
  8561. "name": "label",
  8562. "type": "string",
  8563. "mutable": false,
  8564. "attr": "label",
  8565. "reflectToAttr": false,
  8566. "docs": "Applies to the aria-label attribute on the button or hyperlink",
  8567. "docsTags": [],
  8568. "values": [
  8569. {
  8570. "type": "string"
  8571. }
  8572. ],
  8573. "optional": true,
  8574. "required": false
  8575. },
  8576. {
  8577. "name": "loading",
  8578. "type": "boolean",
  8579. "mutable": false,
  8580. "attr": "loading",
  8581. "reflectToAttr": true,
  8582. "docs": "specify if the input is in loading state",
  8583. "docsTags": [],
  8584. "default": "false",
  8585. "values": [
  8586. {
  8587. "type": "boolean"
  8588. }
  8589. ],
  8590. "optional": false,
  8591. "required": false
  8592. },
  8593. {
  8594. "name": "locale",
  8595. "type": "string",
  8596. "mutable": false,
  8597. "attr": "locale",
  8598. "reflectToAttr": false,
  8599. "docs": "BCP 47 language tag for desired language and country format",
  8600. "docsTags": [],
  8601. "default": "document.documentElement.lang || \"en\"",
  8602. "values": [
  8603. {
  8604. "type": "string"
  8605. }
  8606. ],
  8607. "optional": true,
  8608. "required": false
  8609. },
  8610. {
  8611. "name": "max",
  8612. "type": "number",
  8613. "mutable": false,
  8614. "attr": "max",
  8615. "reflectToAttr": true,
  8616. "docs": "input max",
  8617. "docsTags": [],
  8618. "values": [
  8619. {
  8620. "type": "number"
  8621. }
  8622. ],
  8623. "optional": true,
  8624. "required": false
  8625. },
  8626. {
  8627. "name": "maxLength",
  8628. "type": "number",
  8629. "mutable": false,
  8630. "attr": "max-length",
  8631. "reflectToAttr": true,
  8632. "docs": "Maximum length of the input value",
  8633. "docsTags": [],
  8634. "values": [
  8635. {
  8636. "type": "number"
  8637. }
  8638. ],
  8639. "optional": true,
  8640. "required": false
  8641. },
  8642. {
  8643. "name": "maxlength",
  8644. "type": "number",
  8645. "mutable": false,
  8646. "attr": "maxlength",
  8647. "reflectToAttr": true,
  8648. "docs": "Maximum length of text input.",
  8649. "docsTags": [
  8650. {
  8651. "name": "deprecated",
  8652. "text": "use maxLength instead"
  8653. }
  8654. ],
  8655. "deprecation": "use maxLength instead",
  8656. "values": [
  8657. {
  8658. "type": "number"
  8659. }
  8660. ],
  8661. "optional": true,
  8662. "required": false
  8663. },
  8664. {
  8665. "name": "min",
  8666. "type": "number",
  8667. "mutable": false,
  8668. "attr": "min",
  8669. "reflectToAttr": true,
  8670. "docs": "input min",
  8671. "docsTags": [],
  8672. "values": [
  8673. {
  8674. "type": "number"
  8675. }
  8676. ],
  8677. "optional": true,
  8678. "required": false
  8679. },
  8680. {
  8681. "name": "minLength",
  8682. "type": "number",
  8683. "mutable": false,
  8684. "attr": "min-length",
  8685. "reflectToAttr": true,
  8686. "docs": "Minimum length of the text input",
  8687. "docsTags": [],
  8688. "values": [
  8689. {
  8690. "type": "number"
  8691. }
  8692. ],
  8693. "optional": true,
  8694. "required": false
  8695. },
  8696. {
  8697. "name": "name",
  8698. "type": "string",
  8699. "mutable": false,
  8700. "attr": "name",
  8701. "reflectToAttr": true,
  8702. "docs": "The name of the input",
  8703. "docsTags": [],
  8704. "values": [
  8705. {
  8706. "type": "string"
  8707. }
  8708. ],
  8709. "optional": false,
  8710. "required": false
  8711. },
  8712. {
  8713. "name": "numberButtonType",
  8714. "type": "\"horizontal\" | \"none\" | \"vertical\"",
  8715. "mutable": false,
  8716. "attr": "number-button-type",
  8717. "reflectToAttr": true,
  8718. "docs": "specify the placement of the number buttons",
  8719. "docsTags": [],
  8720. "default": "\"vertical\"",
  8721. "values": [
  8722. {
  8723. "value": "horizontal",
  8724. "type": "string"
  8725. },
  8726. {
  8727. "value": "none",
  8728. "type": "string"
  8729. },
  8730. {
  8731. "value": "vertical",
  8732. "type": "string"
  8733. }
  8734. ],
  8735. "optional": true,
  8736. "required": false
  8737. },
  8738. {
  8739. "name": "placeholder",
  8740. "type": "string",
  8741. "mutable": false,
  8742. "attr": "placeholder",
  8743. "reflectToAttr": false,
  8744. "docs": "explicitly whitelist placeholder attribute",
  8745. "docsTags": [],
  8746. "values": [
  8747. {
  8748. "type": "string"
  8749. }
  8750. ],
  8751. "optional": false,
  8752. "required": false
  8753. },
  8754. {
  8755. "name": "prefixText",
  8756. "type": "string",
  8757. "mutable": false,
  8758. "attr": "prefix-text",
  8759. "reflectToAttr": false,
  8760. "docs": "optionally add prefix",
  8761. "docsTags": [],
  8762. "values": [
  8763. {
  8764. "type": "string"
  8765. }
  8766. ],
  8767. "optional": true,
  8768. "required": false
  8769. },
  8770. {
  8771. "name": "readOnly",
  8772. "type": "boolean",
  8773. "mutable": false,
  8774. "attr": "read-only",
  8775. "reflectToAttr": false,
  8776. "docs": "When true, a field cannot be modified.",
  8777. "docsTags": [],
  8778. "default": "false",
  8779. "values": [
  8780. {
  8781. "type": "boolean"
  8782. }
  8783. ],
  8784. "optional": false,
  8785. "required": false
  8786. },
  8787. {
  8788. "name": "required",
  8789. "type": "boolean",
  8790. "mutable": false,
  8791. "attr": "required",
  8792. "reflectToAttr": false,
  8793. "docs": "is the input required",
  8794. "docsTags": [],
  8795. "default": "false",
  8796. "values": [
  8797. {
  8798. "type": "boolean"
  8799. }
  8800. ],
  8801. "optional": false,
  8802. "required": false
  8803. },
  8804. {
  8805. "name": "scale",
  8806. "type": "\"l\" | \"m\" | \"s\"",
  8807. "mutable": true,
  8808. "attr": "scale",
  8809. "reflectToAttr": true,
  8810. "docs": "specify the scale of the input, defaults to m",
  8811. "docsTags": [],
  8812. "default": "\"m\"",
  8813. "values": [
  8814. {
  8815. "value": "l",
  8816. "type": "string"
  8817. },
  8818. {
  8819. "value": "m",
  8820. "type": "string"
  8821. },
  8822. {
  8823. "value": "s",
  8824. "type": "string"
  8825. }
  8826. ],
  8827. "optional": false,
  8828. "required": false
  8829. },
  8830. {
  8831. "name": "status",
  8832. "type": "\"idle\" | \"invalid\" | \"valid\"",
  8833. "mutable": true,
  8834. "attr": "status",
  8835. "reflectToAttr": true,
  8836. "docs": "specify the status of the input field, determines message and icons",
  8837. "docsTags": [],
  8838. "default": "\"idle\"",
  8839. "values": [
  8840. {
  8841. "value": "idle",
  8842. "type": "string"
  8843. },
  8844. {
  8845. "value": "invalid",
  8846. "type": "string"
  8847. },
  8848. {
  8849. "value": "valid",
  8850. "type": "string"
  8851. }
  8852. ],
  8853. "optional": false,
  8854. "required": false
  8855. },
  8856. {
  8857. "name": "step",
  8858. "type": "\"any\" | number",
  8859. "mutable": false,
  8860. "attr": "step",
  8861. "reflectToAttr": true,
  8862. "docs": "input step",
  8863. "docsTags": [],
  8864. "values": [
  8865. {
  8866. "value": "any",
  8867. "type": "string"
  8868. },
  8869. {
  8870. "type": "number"
  8871. }
  8872. ],
  8873. "optional": true,
  8874. "required": false
  8875. },
  8876. {
  8877. "name": "suffixText",
  8878. "type": "string",
  8879. "mutable": false,
  8880. "attr": "suffix-text",
  8881. "reflectToAttr": false,
  8882. "docs": "optionally add suffix *",
  8883. "docsTags": [],
  8884. "values": [
  8885. {
  8886. "type": "string"
  8887. }
  8888. ],
  8889. "optional": true,
  8890. "required": false
  8891. },
  8892. {
  8893. "name": "type",
  8894. "type": "\"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"image\" | \"month\" | \"number\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"textarea\" | \"time\" | \"url\" | \"week\"",
  8895. "mutable": false,
  8896. "attr": "type",
  8897. "reflectToAttr": true,
  8898. "docs": "specify the input type\n\nNote that the following types add type-specific icons by default: `date`, `email`, `password`, `search`, `tel`, `time`",
  8899. "docsTags": [],
  8900. "default": "\"text\"",
  8901. "values": [
  8902. {
  8903. "value": "color",
  8904. "type": "string"
  8905. },
  8906. {
  8907. "value": "date",
  8908. "type": "string"
  8909. },
  8910. {
  8911. "value": "datetime-local",
  8912. "type": "string"
  8913. },
  8914. {
  8915. "value": "email",
  8916. "type": "string"
  8917. },
  8918. {
  8919. "value": "file",
  8920. "type": "string"
  8921. },
  8922. {
  8923. "value": "image",
  8924. "type": "string"
  8925. },
  8926. {
  8927. "value": "month",
  8928. "type": "string"
  8929. },
  8930. {
  8931. "value": "number",
  8932. "type": "string"
  8933. },
  8934. {
  8935. "value": "password",
  8936. "type": "string"
  8937. },
  8938. {
  8939. "value": "search",
  8940. "type": "string"
  8941. },
  8942. {
  8943. "value": "tel",
  8944. "type": "string"
  8945. },
  8946. {
  8947. "value": "text",
  8948. "type": "string"
  8949. },
  8950. {
  8951. "value": "textarea",
  8952. "type": "string"
  8953. },
  8954. {
  8955. "value": "time",
  8956. "type": "string"
  8957. },
  8958. {
  8959. "value": "url",
  8960. "type": "string"
  8961. },
  8962. {
  8963. "value": "week",
  8964. "type": "string"
  8965. }
  8966. ],
  8967. "optional": false,
  8968. "required": false
  8969. },
  8970. {
  8971. "name": "value",
  8972. "type": "string",
  8973. "mutable": true,
  8974. "attr": "value",
  8975. "reflectToAttr": false,
  8976. "docs": "input value",
  8977. "docsTags": [],
  8978. "default": "\"\"",
  8979. "values": [
  8980. {
  8981. "type": "string"
  8982. }
  8983. ],
  8984. "optional": false,
  8985. "required": false
  8986. }
  8987. ],
  8988. "methods": [
  8989. {
  8990. "name": "setFocus",
  8991. "returns": {
  8992. "type": "Promise<void>",
  8993. "docs": ""
  8994. },
  8995. "signature": "setFocus() => Promise<void>",
  8996. "parameters": [],
  8997. "docs": "Sets focus on the component.",
  8998. "docsTags": []
  8999. }
  9000. ],
  9001. "events": [
  9002. {
  9003. "event": "calciteInputChange",
  9004. "detail": "void",
  9005. "bubbles": true,
  9006. "cancelable": true,
  9007. "composed": true,
  9008. "docs": "This event fires each time a new value is typed and committed.",
  9009. "docsTags": []
  9010. },
  9011. {
  9012. "event": "calciteInputInput",
  9013. "detail": "any",
  9014. "bubbles": true,
  9015. "cancelable": true,
  9016. "composed": true,
  9017. "docs": "This event fires each time a new value is typed.",
  9018. "docsTags": []
  9019. }
  9020. ],
  9021. "listeners": [],
  9022. "styles": [],
  9023. "slots": [
  9024. {
  9025. "name": "action",
  9026. "docs": "A slot for positioning a button next to an input"
  9027. }
  9028. ],
  9029. "parts": [],
  9030. "dependents": [
  9031. "calcite-color-picker",
  9032. "calcite-color-picker-hex-input",
  9033. "calcite-filter",
  9034. "calcite-input-date-picker",
  9035. "calcite-input-time-picker"
  9036. ],
  9037. "dependencies": [
  9038. "calcite-progress",
  9039. "calcite-icon"
  9040. ],
  9041. "dependencyGraph": {
  9042. "calcite-input": [
  9043. "calcite-progress",
  9044. "calcite-icon"
  9045. ],
  9046. "calcite-color-picker": [
  9047. "calcite-input"
  9048. ],
  9049. "calcite-color-picker-hex-input": [
  9050. "calcite-input"
  9051. ],
  9052. "calcite-filter": [
  9053. "calcite-input"
  9054. ],
  9055. "calcite-input-date-picker": [
  9056. "calcite-input"
  9057. ],
  9058. "calcite-input-time-picker": [
  9059. "calcite-input"
  9060. ]
  9061. }
  9062. },
  9063. {
  9064. "filePath": "./src/components/input-date-picker/input-date-picker.tsx",
  9065. "encapsulation": "shadow",
  9066. "tag": "calcite-input-date-picker",
  9067. "readme": "# calcite-input-date-picker\n",
  9068. "docs": "",
  9069. "docsTags": [],
  9070. "usage": {
  9071. "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 locale=\"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"
  9072. },
  9073. "props": [
  9074. {
  9075. "name": "active",
  9076. "type": "boolean",
  9077. "mutable": true,
  9078. "attr": "active",
  9079. "reflectToAttr": true,
  9080. "docs": "Expand or collapse when calendar does not have input",
  9081. "docsTags": [],
  9082. "default": "false",
  9083. "values": [
  9084. {
  9085. "type": "boolean"
  9086. }
  9087. ],
  9088. "optional": false,
  9089. "required": false
  9090. },
  9091. {
  9092. "name": "disabled",
  9093. "type": "boolean",
  9094. "mutable": false,
  9095. "attr": "disabled",
  9096. "reflectToAttr": true,
  9097. "docs": "When false, the component won't be interactive.",
  9098. "docsTags": [],
  9099. "default": "false",
  9100. "values": [
  9101. {
  9102. "type": "boolean"
  9103. }
  9104. ],
  9105. "optional": false,
  9106. "required": false
  9107. },
  9108. {
  9109. "name": "end",
  9110. "type": "string",
  9111. "mutable": true,
  9112. "attr": "end",
  9113. "reflectToAttr": false,
  9114. "docs": "Selected end date",
  9115. "docsTags": [
  9116. {
  9117. "name": "deprecated",
  9118. "text": "use value instead"
  9119. }
  9120. ],
  9121. "deprecation": "use value instead",
  9122. "values": [
  9123. {
  9124. "type": "string"
  9125. }
  9126. ],
  9127. "optional": true,
  9128. "required": false
  9129. },
  9130. {
  9131. "name": "endAsDate",
  9132. "type": "Date",
  9133. "mutable": true,
  9134. "reflectToAttr": false,
  9135. "docs": "Selected end date as full date object",
  9136. "docsTags": [
  9137. {
  9138. "name": "deprecated",
  9139. "text": "use valueAsDate instead"
  9140. }
  9141. ],
  9142. "deprecation": "use valueAsDate instead",
  9143. "values": [
  9144. {
  9145. "type": "Date"
  9146. }
  9147. ],
  9148. "optional": true,
  9149. "required": false
  9150. },
  9151. {
  9152. "name": "flipPlacements",
  9153. "type": "ComputedPlacement[]",
  9154. "mutable": false,
  9155. "reflectToAttr": false,
  9156. "docs": "Defines the available placements that can be used when a flip occurs.",
  9157. "docsTags": [],
  9158. "values": [
  9159. {
  9160. "type": "ComputedPlacement[]"
  9161. }
  9162. ],
  9163. "optional": true,
  9164. "required": false
  9165. },
  9166. {
  9167. "name": "headingLevel",
  9168. "type": "1 | 2 | 3 | 4 | 5 | 6",
  9169. "mutable": false,
  9170. "attr": "heading-level",
  9171. "reflectToAttr": false,
  9172. "docs": "Number at which section headings should start for this component.",
  9173. "docsTags": [],
  9174. "values": [
  9175. {
  9176. "value": "1",
  9177. "type": "number"
  9178. },
  9179. {
  9180. "value": "2",
  9181. "type": "number"
  9182. },
  9183. {
  9184. "value": "3",
  9185. "type": "number"
  9186. },
  9187. {
  9188. "value": "4",
  9189. "type": "number"
  9190. },
  9191. {
  9192. "value": "5",
  9193. "type": "number"
  9194. },
  9195. {
  9196. "value": "6",
  9197. "type": "number"
  9198. }
  9199. ],
  9200. "optional": false,
  9201. "required": false
  9202. },
  9203. {
  9204. "name": "intlNextMonth",
  9205. "type": "string",
  9206. "mutable": false,
  9207. "attr": "intl-next-month",
  9208. "reflectToAttr": false,
  9209. "docs": "Localized string for \"next month\" (used for aria label)",
  9210. "docsTags": [
  9211. {
  9212. "name": "default",
  9213. "text": "\"Next month\""
  9214. }
  9215. ],
  9216. "default": "TEXT.nextMonth",
  9217. "values": [
  9218. {
  9219. "type": "string"
  9220. }
  9221. ],
  9222. "optional": true,
  9223. "required": false
  9224. },
  9225. {
  9226. "name": "intlPrevMonth",
  9227. "type": "string",
  9228. "mutable": false,
  9229. "attr": "intl-prev-month",
  9230. "reflectToAttr": false,
  9231. "docs": "Localized string for \"previous month\" (used for aria label)",
  9232. "docsTags": [
  9233. {
  9234. "name": "default",
  9235. "text": "\"Previous month\""
  9236. }
  9237. ],
  9238. "default": "TEXT.prevMonth",
  9239. "values": [
  9240. {
  9241. "type": "string"
  9242. }
  9243. ],
  9244. "optional": true,
  9245. "required": false
  9246. },
  9247. {
  9248. "name": "intlYear",
  9249. "type": "string",
  9250. "mutable": false,
  9251. "attr": "intl-year",
  9252. "reflectToAttr": false,
  9253. "docs": "Localized string for \"year\" (used for aria label)",
  9254. "docsTags": [
  9255. {
  9256. "name": "default",
  9257. "text": "\"Year\""
  9258. }
  9259. ],
  9260. "default": "TEXT.year",
  9261. "values": [
  9262. {
  9263. "type": "string"
  9264. }
  9265. ],
  9266. "optional": true,
  9267. "required": false
  9268. },
  9269. {
  9270. "name": "layout",
  9271. "type": "\"horizontal\" | \"vertical\"",
  9272. "mutable": false,
  9273. "attr": "layout",
  9274. "reflectToAttr": true,
  9275. "docs": "Layout",
  9276. "docsTags": [],
  9277. "default": "\"horizontal\"",
  9278. "values": [
  9279. {
  9280. "value": "horizontal",
  9281. "type": "string"
  9282. },
  9283. {
  9284. "value": "vertical",
  9285. "type": "string"
  9286. }
  9287. ],
  9288. "optional": false,
  9289. "required": false
  9290. },
  9291. {
  9292. "name": "locale",
  9293. "type": "string",
  9294. "mutable": false,
  9295. "attr": "locale",
  9296. "reflectToAttr": false,
  9297. "docs": "BCP 47 language tag for desired language and country format",
  9298. "docsTags": [],
  9299. "default": "document.documentElement.lang || \"en\"",
  9300. "values": [
  9301. {
  9302. "type": "string"
  9303. }
  9304. ],
  9305. "optional": true,
  9306. "required": false
  9307. },
  9308. {
  9309. "name": "max",
  9310. "type": "string",
  9311. "mutable": true,
  9312. "attr": "max",
  9313. "reflectToAttr": false,
  9314. "docs": "Latest allowed date (\"yyyy-mm-dd\")",
  9315. "docsTags": [],
  9316. "values": [
  9317. {
  9318. "type": "string"
  9319. }
  9320. ],
  9321. "optional": true,
  9322. "required": false
  9323. },
  9324. {
  9325. "name": "maxAsDate",
  9326. "type": "Date",
  9327. "mutable": true,
  9328. "reflectToAttr": false,
  9329. "docs": "Latest allowed date as full date object",
  9330. "docsTags": [],
  9331. "values": [
  9332. {
  9333. "type": "Date"
  9334. }
  9335. ],
  9336. "optional": true,
  9337. "required": false
  9338. },
  9339. {
  9340. "name": "min",
  9341. "type": "string",
  9342. "mutable": true,
  9343. "attr": "min",
  9344. "reflectToAttr": false,
  9345. "docs": "Earliest allowed date (\"yyyy-mm-dd\")",
  9346. "docsTags": [],
  9347. "values": [
  9348. {
  9349. "type": "string"
  9350. }
  9351. ],
  9352. "optional": true,
  9353. "required": false
  9354. },
  9355. {
  9356. "name": "minAsDate",
  9357. "type": "Date",
  9358. "mutable": true,
  9359. "reflectToAttr": false,
  9360. "docs": "Earliest allowed date as full date object",
  9361. "docsTags": [],
  9362. "values": [
  9363. {
  9364. "type": "Date"
  9365. }
  9366. ],
  9367. "optional": true,
  9368. "required": false
  9369. },
  9370. {
  9371. "name": "name",
  9372. "type": "string",
  9373. "mutable": false,
  9374. "attr": "name",
  9375. "reflectToAttr": false,
  9376. "docs": "The picker's name. Gets submitted with the form.",
  9377. "docsTags": [],
  9378. "values": [
  9379. {
  9380. "type": "string"
  9381. }
  9382. ],
  9383. "optional": false,
  9384. "required": false
  9385. },
  9386. {
  9387. "name": "overlayPositioning",
  9388. "type": "\"absolute\" | \"fixed\"",
  9389. "mutable": false,
  9390. "attr": "overlay-positioning",
  9391. "reflectToAttr": false,
  9392. "docs": "Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.",
  9393. "docsTags": [],
  9394. "default": "\"absolute\"",
  9395. "values": [
  9396. {
  9397. "value": "absolute",
  9398. "type": "string"
  9399. },
  9400. {
  9401. "value": "fixed",
  9402. "type": "string"
  9403. }
  9404. ],
  9405. "optional": false,
  9406. "required": false
  9407. },
  9408. {
  9409. "name": "placement",
  9410. "type": "\"bottom\" | \"bottom-end\" | \"bottom-leading\" | \"bottom-start\" | \"bottom-trailing\" | \"top\" | \"top-end\" | \"top-leading\" | \"top-start\" | \"top-trailing\"",
  9411. "mutable": false,
  9412. "attr": "placement",
  9413. "reflectToAttr": true,
  9414. "docs": "Determines where the date-picker component will be positioned relative to the input.",
  9415. "docsTags": [
  9416. {
  9417. "name": "default",
  9418. "text": "\"bottom-leading\""
  9419. }
  9420. ],
  9421. "default": "defaultMenuPlacement",
  9422. "values": [
  9423. {
  9424. "value": "bottom",
  9425. "type": "string"
  9426. },
  9427. {
  9428. "value": "bottom-end",
  9429. "type": "string"
  9430. },
  9431. {
  9432. "value": "bottom-leading",
  9433. "type": "string"
  9434. },
  9435. {
  9436. "value": "bottom-start",
  9437. "type": "string"
  9438. },
  9439. {
  9440. "value": "bottom-trailing",
  9441. "type": "string"
  9442. },
  9443. {
  9444. "value": "top",
  9445. "type": "string"
  9446. },
  9447. {
  9448. "value": "top-end",
  9449. "type": "string"
  9450. },
  9451. {
  9452. "value": "top-leading",
  9453. "type": "string"
  9454. },
  9455. {
  9456. "value": "top-start",
  9457. "type": "string"
  9458. },
  9459. {
  9460. "value": "top-trailing",
  9461. "type": "string"
  9462. }
  9463. ],
  9464. "optional": false,
  9465. "required": false
  9466. },
  9467. {
  9468. "name": "proximitySelectionDisabled",
  9469. "type": "boolean",
  9470. "mutable": false,
  9471. "attr": "proximity-selection-disabled",
  9472. "reflectToAttr": false,
  9473. "docs": "Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range.",
  9474. "docsTags": [],
  9475. "default": "false",
  9476. "values": [
  9477. {
  9478. "type": "boolean"
  9479. }
  9480. ],
  9481. "optional": false,
  9482. "required": false
  9483. },
  9484. {
  9485. "name": "range",
  9486. "type": "boolean",
  9487. "mutable": false,
  9488. "attr": "range",
  9489. "reflectToAttr": true,
  9490. "docs": "Range mode activation",
  9491. "docsTags": [],
  9492. "default": "false",
  9493. "values": [
  9494. {
  9495. "type": "boolean"
  9496. }
  9497. ],
  9498. "optional": false,
  9499. "required": false
  9500. },
  9501. {
  9502. "name": "scale",
  9503. "type": "\"l\" | \"m\" | \"s\"",
  9504. "mutable": false,
  9505. "attr": "scale",
  9506. "reflectToAttr": true,
  9507. "docs": "specify the scale of the date picker",
  9508. "docsTags": [],
  9509. "default": "\"m\"",
  9510. "values": [
  9511. {
  9512. "value": "l",
  9513. "type": "string"
  9514. },
  9515. {
  9516. "value": "m",
  9517. "type": "string"
  9518. },
  9519. {
  9520. "value": "s",
  9521. "type": "string"
  9522. }
  9523. ],
  9524. "optional": false,
  9525. "required": false
  9526. },
  9527. {
  9528. "name": "start",
  9529. "type": "string",
  9530. "mutable": true,
  9531. "attr": "start",
  9532. "reflectToAttr": false,
  9533. "docs": "Selected start date",
  9534. "docsTags": [
  9535. {
  9536. "name": "deprecated",
  9537. "text": "use value instead"
  9538. }
  9539. ],
  9540. "deprecation": "use value instead",
  9541. "values": [
  9542. {
  9543. "type": "string"
  9544. }
  9545. ],
  9546. "optional": true,
  9547. "required": false
  9548. },
  9549. {
  9550. "name": "startAsDate",
  9551. "type": "Date",
  9552. "mutable": true,
  9553. "reflectToAttr": false,
  9554. "docs": "Selected start date as full date object",
  9555. "docsTags": [
  9556. {
  9557. "name": "deprecated",
  9558. "text": "use valueAsDate instead"
  9559. }
  9560. ],
  9561. "deprecation": "use valueAsDate instead",
  9562. "values": [
  9563. {
  9564. "type": "Date"
  9565. }
  9566. ],
  9567. "optional": true,
  9568. "required": false
  9569. },
  9570. {
  9571. "name": "value",
  9572. "type": "string | string[]",
  9573. "mutable": true,
  9574. "attr": "value",
  9575. "reflectToAttr": false,
  9576. "docs": "Selected date",
  9577. "docsTags": [],
  9578. "values": [
  9579. {
  9580. "type": "string"
  9581. },
  9582. {
  9583. "type": "string[]"
  9584. }
  9585. ],
  9586. "optional": false,
  9587. "required": false
  9588. },
  9589. {
  9590. "name": "valueAsDate",
  9591. "type": "Date | Date[]",
  9592. "mutable": true,
  9593. "reflectToAttr": false,
  9594. "docs": "Selected date as full date object",
  9595. "docsTags": [],
  9596. "values": [
  9597. {
  9598. "type": "Date"
  9599. },
  9600. {
  9601. "type": "Date[]"
  9602. }
  9603. ],
  9604. "optional": true,
  9605. "required": false
  9606. }
  9607. ],
  9608. "methods": [
  9609. {
  9610. "name": "reposition",
  9611. "returns": {
  9612. "type": "Promise<void>",
  9613. "docs": ""
  9614. },
  9615. "signature": "reposition() => Promise<void>",
  9616. "parameters": [],
  9617. "docs": "Updates the position of the component.",
  9618. "docsTags": []
  9619. },
  9620. {
  9621. "name": "setFocus",
  9622. "returns": {
  9623. "type": "Promise<void>",
  9624. "docs": ""
  9625. },
  9626. "signature": "setFocus() => Promise<void>",
  9627. "parameters": [],
  9628. "docs": "Updates the position of the component.",
  9629. "docsTags": []
  9630. }
  9631. ],
  9632. "events": [
  9633. {
  9634. "event": "calciteDatePickerChange",
  9635. "detail": "Date",
  9636. "bubbles": true,
  9637. "cancelable": true,
  9638. "composed": true,
  9639. "docs": "Trigger calcite date change when a user changes the date.",
  9640. "docsTags": [
  9641. {
  9642. "name": "deprecated",
  9643. "text": "use `calciteInputDatePickerChange` instead."
  9644. }
  9645. ],
  9646. "deprecation": "use `calciteInputDatePickerChange` instead."
  9647. },
  9648. {
  9649. "event": "calciteDatePickerRangeChange",
  9650. "detail": "DateRangeChange",
  9651. "bubbles": true,
  9652. "cancelable": true,
  9653. "composed": true,
  9654. "docs": "Trigger calcite date change when a user changes the date range.",
  9655. "docsTags": [
  9656. {
  9657. "name": "see",
  9658. "text": "[DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)"
  9659. },
  9660. {
  9661. "name": "deprecated",
  9662. "text": "use `calciteInputDatePickerChange` instead."
  9663. }
  9664. ],
  9665. "deprecation": "use `calciteInputDatePickerChange` instead."
  9666. },
  9667. {
  9668. "event": "calciteInputDatePickerChange",
  9669. "detail": "void",
  9670. "bubbles": true,
  9671. "cancelable": true,
  9672. "composed": true,
  9673. "docs": "This event fires when the input date picker value changes.",
  9674. "docsTags": []
  9675. }
  9676. ],
  9677. "listeners": [
  9678. {
  9679. "event": "calciteDatePickerChange",
  9680. "capture": false,
  9681. "passive": false
  9682. },
  9683. {
  9684. "event": "calciteDatePickerRangeChange",
  9685. "capture": false,
  9686. "passive": false
  9687. },
  9688. {
  9689. "event": "calciteDaySelect",
  9690. "capture": false,
  9691. "passive": false
  9692. }
  9693. ],
  9694. "styles": [],
  9695. "slots": [],
  9696. "parts": [],
  9697. "dependents": [],
  9698. "dependencies": [
  9699. "calcite-input",
  9700. "calcite-date-picker",
  9701. "calcite-icon"
  9702. ],
  9703. "dependencyGraph": {
  9704. "calcite-input-date-picker": [
  9705. "calcite-input",
  9706. "calcite-date-picker",
  9707. "calcite-icon"
  9708. ],
  9709. "calcite-input": [
  9710. "calcite-progress",
  9711. "calcite-icon"
  9712. ],
  9713. "calcite-date-picker": [
  9714. "calcite-date-picker-month-header",
  9715. "calcite-date-picker-month"
  9716. ],
  9717. "calcite-date-picker-month-header": [
  9718. "calcite-icon"
  9719. ],
  9720. "calcite-date-picker-month": [
  9721. "calcite-date-picker-day"
  9722. ]
  9723. }
  9724. },
  9725. {
  9726. "filePath": "./src/components/input-message/input-message.tsx",
  9727. "encapsulation": "shadow",
  9728. "tag": "calcite-input-message",
  9729. "readme": "# calcite-input-message\n\nDisplays a contextual message to a user. Allows the passing of content, links, etc.\n",
  9730. "docs": "Displays a contextual message to a user. Allows the passing of content, links, etc.",
  9731. "docsTags": [
  9732. {
  9733. "name": "slot",
  9734. "text": "- A slot for adding text."
  9735. }
  9736. ],
  9737. "usage": {
  9738. "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"
  9739. },
  9740. "props": [
  9741. {
  9742. "name": "active",
  9743. "type": "boolean",
  9744. "mutable": false,
  9745. "attr": "active",
  9746. "reflectToAttr": true,
  9747. "docs": "Indicates whether the message is displayed.",
  9748. "docsTags": [],
  9749. "default": "false",
  9750. "values": [
  9751. {
  9752. "type": "boolean"
  9753. }
  9754. ],
  9755. "optional": false,
  9756. "required": false
  9757. },
  9758. {
  9759. "name": "icon",
  9760. "type": "boolean | string",
  9761. "mutable": false,
  9762. "attr": "icon",
  9763. "reflectToAttr": true,
  9764. "docs": "when used as a boolean set to true, show a default icon based on status. You can\nalso pass a calcite-ui-icon name to this prop to display a custom icon",
  9765. "docsTags": [],
  9766. "values": [
  9767. {
  9768. "type": "boolean"
  9769. },
  9770. {
  9771. "type": "string"
  9772. }
  9773. ],
  9774. "optional": false,
  9775. "required": false
  9776. },
  9777. {
  9778. "name": "scale",
  9779. "type": "\"l\" | \"m\" | \"s\"",
  9780. "mutable": true,
  9781. "attr": "scale",
  9782. "reflectToAttr": true,
  9783. "docs": "specify the scale of the input, defaults to m",
  9784. "docsTags": [],
  9785. "default": "\"m\"",
  9786. "values": [
  9787. {
  9788. "value": "l",
  9789. "type": "string"
  9790. },
  9791. {
  9792. "value": "m",
  9793. "type": "string"
  9794. },
  9795. {
  9796. "value": "s",
  9797. "type": "string"
  9798. }
  9799. ],
  9800. "optional": false,
  9801. "required": false
  9802. },
  9803. {
  9804. "name": "status",
  9805. "type": "\"idle\" | \"invalid\" | \"valid\"",
  9806. "mutable": true,
  9807. "attr": "status",
  9808. "reflectToAttr": true,
  9809. "docs": "specify the status of the input field, determines message and icons",
  9810. "docsTags": [],
  9811. "default": "\"idle\"",
  9812. "values": [
  9813. {
  9814. "value": "idle",
  9815. "type": "string"
  9816. },
  9817. {
  9818. "value": "invalid",
  9819. "type": "string"
  9820. },
  9821. {
  9822. "value": "valid",
  9823. "type": "string"
  9824. }
  9825. ],
  9826. "optional": false,
  9827. "required": false
  9828. },
  9829. {
  9830. "name": "type",
  9831. "type": "\"default\"",
  9832. "mutable": false,
  9833. "attr": "type",
  9834. "reflectToAttr": true,
  9835. "docs": "specify the appearance of any slotted message - default (displayed under input), or floating (positioned absolutely under input)",
  9836. "docsTags": [
  9837. {
  9838. "name": "deprecated",
  9839. "text": "\"floating\" type is no longer supported"
  9840. }
  9841. ],
  9842. "deprecation": "\"floating\" type is no longer supported",
  9843. "values": [
  9844. {
  9845. "value": "default",
  9846. "type": "string"
  9847. }
  9848. ],
  9849. "optional": false,
  9850. "required": false
  9851. }
  9852. ],
  9853. "methods": [],
  9854. "events": [],
  9855. "listeners": [],
  9856. "styles": [
  9857. {
  9858. "name": "--calcite-input-message-spacing-value",
  9859. "annotation": "prop",
  9860. "docs": "the top margin above the input-message."
  9861. }
  9862. ],
  9863. "slots": [
  9864. {
  9865. "name": "",
  9866. "docs": "A slot for adding text."
  9867. }
  9868. ],
  9869. "parts": [],
  9870. "dependents": [],
  9871. "dependencies": [
  9872. "calcite-icon"
  9873. ],
  9874. "dependencyGraph": {
  9875. "calcite-input-message": [
  9876. "calcite-icon"
  9877. ]
  9878. }
  9879. },
  9880. {
  9881. "filePath": "./src/components/input-time-picker/input-time-picker.tsx",
  9882. "encapsulation": "shadow",
  9883. "tag": "calcite-input-time-picker",
  9884. "readme": "# calcite-input-time-picker\n",
  9885. "docs": "",
  9886. "docsTags": [],
  9887. "usage": {
  9888. "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"
  9889. },
  9890. "props": [
  9891. {
  9892. "name": "active",
  9893. "type": "boolean",
  9894. "mutable": true,
  9895. "attr": "active",
  9896. "reflectToAttr": true,
  9897. "docs": "The active state of the time input",
  9898. "docsTags": [],
  9899. "default": "false",
  9900. "values": [
  9901. {
  9902. "type": "boolean"
  9903. }
  9904. ],
  9905. "optional": false,
  9906. "required": false
  9907. },
  9908. {
  9909. "name": "disabled",
  9910. "type": "boolean",
  9911. "mutable": false,
  9912. "attr": "disabled",
  9913. "reflectToAttr": true,
  9914. "docs": "The disabled state of the time input",
  9915. "docsTags": [],
  9916. "default": "false",
  9917. "values": [
  9918. {
  9919. "type": "boolean"
  9920. }
  9921. ],
  9922. "optional": false,
  9923. "required": false
  9924. },
  9925. {
  9926. "name": "intlHour",
  9927. "type": "string",
  9928. "mutable": false,
  9929. "attr": "intl-hour",
  9930. "reflectToAttr": false,
  9931. "docs": "aria-label for the hour input",
  9932. "docsTags": [],
  9933. "values": [
  9934. {
  9935. "type": "string"
  9936. }
  9937. ],
  9938. "optional": true,
  9939. "required": false
  9940. },
  9941. {
  9942. "name": "intlHourDown",
  9943. "type": "string",
  9944. "mutable": false,
  9945. "attr": "intl-hour-down",
  9946. "reflectToAttr": false,
  9947. "docs": "aria-label for the hour down button",
  9948. "docsTags": [],
  9949. "values": [
  9950. {
  9951. "type": "string"
  9952. }
  9953. ],
  9954. "optional": true,
  9955. "required": false
  9956. },
  9957. {
  9958. "name": "intlHourUp",
  9959. "type": "string",
  9960. "mutable": false,
  9961. "attr": "intl-hour-up",
  9962. "reflectToAttr": false,
  9963. "docs": "aria-label for the hour up button",
  9964. "docsTags": [],
  9965. "values": [
  9966. {
  9967. "type": "string"
  9968. }
  9969. ],
  9970. "optional": true,
  9971. "required": false
  9972. },
  9973. {
  9974. "name": "intlMeridiem",
  9975. "type": "string",
  9976. "mutable": false,
  9977. "attr": "intl-meridiem",
  9978. "reflectToAttr": false,
  9979. "docs": "aria-label for the meridiem (am/pm) input",
  9980. "docsTags": [],
  9981. "values": [
  9982. {
  9983. "type": "string"
  9984. }
  9985. ],
  9986. "optional": true,
  9987. "required": false
  9988. },
  9989. {
  9990. "name": "intlMeridiemDown",
  9991. "type": "string",
  9992. "mutable": false,
  9993. "attr": "intl-meridiem-down",
  9994. "reflectToAttr": false,
  9995. "docs": "aria-label for the meridiem (am/pm) down button",
  9996. "docsTags": [],
  9997. "values": [
  9998. {
  9999. "type": "string"
  10000. }
  10001. ],
  10002. "optional": true,
  10003. "required": false
  10004. },
  10005. {
  10006. "name": "intlMeridiemUp",
  10007. "type": "string",
  10008. "mutable": false,
  10009. "attr": "intl-meridiem-up",
  10010. "reflectToAttr": false,
  10011. "docs": "aria-label for the meridiem (am/pm) up button",
  10012. "docsTags": [],
  10013. "values": [
  10014. {
  10015. "type": "string"
  10016. }
  10017. ],
  10018. "optional": true,
  10019. "required": false
  10020. },
  10021. {
  10022. "name": "intlMinute",
  10023. "type": "string",
  10024. "mutable": false,
  10025. "attr": "intl-minute",
  10026. "reflectToAttr": false,
  10027. "docs": "aria-label for the minute input",
  10028. "docsTags": [],
  10029. "values": [
  10030. {
  10031. "type": "string"
  10032. }
  10033. ],
  10034. "optional": true,
  10035. "required": false
  10036. },
  10037. {
  10038. "name": "intlMinuteDown",
  10039. "type": "string",
  10040. "mutable": false,
  10041. "attr": "intl-minute-down",
  10042. "reflectToAttr": false,
  10043. "docs": "aria-label for the minute down button",
  10044. "docsTags": [],
  10045. "values": [
  10046. {
  10047. "type": "string"
  10048. }
  10049. ],
  10050. "optional": true,
  10051. "required": false
  10052. },
  10053. {
  10054. "name": "intlMinuteUp",
  10055. "type": "string",
  10056. "mutable": false,
  10057. "attr": "intl-minute-up",
  10058. "reflectToAttr": false,
  10059. "docs": "aria-label for the minute up button",
  10060. "docsTags": [],
  10061. "values": [
  10062. {
  10063. "type": "string"
  10064. }
  10065. ],
  10066. "optional": true,
  10067. "required": false
  10068. },
  10069. {
  10070. "name": "intlSecond",
  10071. "type": "string",
  10072. "mutable": false,
  10073. "attr": "intl-second",
  10074. "reflectToAttr": false,
  10075. "docs": "aria-label for the second input",
  10076. "docsTags": [],
  10077. "values": [
  10078. {
  10079. "type": "string"
  10080. }
  10081. ],
  10082. "optional": true,
  10083. "required": false
  10084. },
  10085. {
  10086. "name": "intlSecondDown",
  10087. "type": "string",
  10088. "mutable": false,
  10089. "attr": "intl-second-down",
  10090. "reflectToAttr": false,
  10091. "docs": "aria-label for the second down button",
  10092. "docsTags": [],
  10093. "values": [
  10094. {
  10095. "type": "string"
  10096. }
  10097. ],
  10098. "optional": true,
  10099. "required": false
  10100. },
  10101. {
  10102. "name": "intlSecondUp",
  10103. "type": "string",
  10104. "mutable": false,
  10105. "attr": "intl-second-up",
  10106. "reflectToAttr": false,
  10107. "docs": "aria-label for the second up button",
  10108. "docsTags": [],
  10109. "values": [
  10110. {
  10111. "type": "string"
  10112. }
  10113. ],
  10114. "optional": true,
  10115. "required": false
  10116. },
  10117. {
  10118. "name": "name",
  10119. "type": "string",
  10120. "mutable": false,
  10121. "attr": "name",
  10122. "reflectToAttr": false,
  10123. "docs": "The name of the time input",
  10124. "docsTags": [],
  10125. "values": [
  10126. {
  10127. "type": "string"
  10128. }
  10129. ],
  10130. "optional": false,
  10131. "required": false
  10132. },
  10133. {
  10134. "name": "placement",
  10135. "type": "Placement | PlacementRtl | VariationRtl",
  10136. "mutable": false,
  10137. "attr": "placement",
  10138. "reflectToAttr": true,
  10139. "docs": "Determines where the popover will be positioned relative to the input.",
  10140. "docsTags": [
  10141. {
  10142. "name": "see",
  10143. "text": "[PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)"
  10144. }
  10145. ],
  10146. "default": "\"auto\"",
  10147. "values": [
  10148. {
  10149. "type": "Placement"
  10150. },
  10151. {
  10152. "type": "PlacementRtl"
  10153. },
  10154. {
  10155. "type": "VariationRtl"
  10156. }
  10157. ],
  10158. "optional": false,
  10159. "required": false
  10160. },
  10161. {
  10162. "name": "scale",
  10163. "type": "\"l\" | \"m\" | \"s\"",
  10164. "mutable": false,
  10165. "attr": "scale",
  10166. "reflectToAttr": true,
  10167. "docs": "The scale (size) of the time input",
  10168. "docsTags": [],
  10169. "default": "\"m\"",
  10170. "values": [
  10171. {
  10172. "value": "l",
  10173. "type": "string"
  10174. },
  10175. {
  10176. "value": "m",
  10177. "type": "string"
  10178. },
  10179. {
  10180. "value": "s",
  10181. "type": "string"
  10182. }
  10183. ],
  10184. "optional": false,
  10185. "required": false
  10186. },
  10187. {
  10188. "name": "step",
  10189. "type": "number",
  10190. "mutable": false,
  10191. "attr": "step",
  10192. "reflectToAttr": false,
  10193. "docs": "number (seconds) that specifies the granularity that the value must adhere to",
  10194. "docsTags": [],
  10195. "default": "60",
  10196. "values": [
  10197. {
  10198. "type": "number"
  10199. }
  10200. ],
  10201. "optional": false,
  10202. "required": false
  10203. },
  10204. {
  10205. "name": "value",
  10206. "type": "string",
  10207. "mutable": true,
  10208. "attr": "value",
  10209. "reflectToAttr": false,
  10210. "docs": "The selected time in UTC (always 24-hour format)",
  10211. "docsTags": [],
  10212. "default": "null",
  10213. "values": [
  10214. {
  10215. "type": "string"
  10216. }
  10217. ],
  10218. "optional": false,
  10219. "required": false
  10220. }
  10221. ],
  10222. "methods": [
  10223. {
  10224. "name": "reposition",
  10225. "returns": {
  10226. "type": "Promise<void>",
  10227. "docs": ""
  10228. },
  10229. "signature": "reposition() => Promise<void>",
  10230. "parameters": [],
  10231. "docs": "Updates the position of the component.",
  10232. "docsTags": []
  10233. },
  10234. {
  10235. "name": "setFocus",
  10236. "returns": {
  10237. "type": "Promise<void>",
  10238. "docs": ""
  10239. },
  10240. "signature": "setFocus() => Promise<void>",
  10241. "parameters": [],
  10242. "docs": "Sets focus on the component.",
  10243. "docsTags": []
  10244. }
  10245. ],
  10246. "events": [
  10247. {
  10248. "event": "calciteInputTimePickerChange",
  10249. "detail": "string",
  10250. "bubbles": true,
  10251. "cancelable": true,
  10252. "composed": true,
  10253. "docs": "Fires when the time value is changed as a result of user input.",
  10254. "docsTags": []
  10255. }
  10256. ],
  10257. "listeners": [
  10258. {
  10259. "event": "click",
  10260. "capture": false,
  10261. "passive": false
  10262. },
  10263. {
  10264. "event": "keyup",
  10265. "capture": false,
  10266. "passive": false
  10267. },
  10268. {
  10269. "event": "calciteTimePickerBlur",
  10270. "capture": false,
  10271. "passive": false
  10272. },
  10273. {
  10274. "event": "calciteTimePickerFocus",
  10275. "capture": false,
  10276. "passive": false
  10277. }
  10278. ],
  10279. "styles": [],
  10280. "slots": [],
  10281. "parts": [],
  10282. "dependents": [],
  10283. "dependencies": [
  10284. "calcite-input",
  10285. "calcite-popover",
  10286. "calcite-time-picker"
  10287. ],
  10288. "dependencyGraph": {
  10289. "calcite-input-time-picker": [
  10290. "calcite-input",
  10291. "calcite-popover",
  10292. "calcite-time-picker"
  10293. ],
  10294. "calcite-input": [
  10295. "calcite-progress",
  10296. "calcite-icon"
  10297. ],
  10298. "calcite-popover": [
  10299. "calcite-action",
  10300. "calcite-icon"
  10301. ],
  10302. "calcite-action": [
  10303. "calcite-loader",
  10304. "calcite-icon"
  10305. ],
  10306. "calcite-time-picker": [
  10307. "calcite-icon"
  10308. ]
  10309. }
  10310. },
  10311. {
  10312. "filePath": "./src/components/label/label.tsx",
  10313. "encapsulation": "shadow",
  10314. "tag": "calcite-label",
  10315. "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",
  10316. "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.",
  10317. "docsTags": [
  10318. {
  10319. "name": "slot",
  10320. "text": "- A slot for adding text and a component that can be labeled."
  10321. }
  10322. ],
  10323. "usage": {
  10324. "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",
  10325. "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"
  10326. },
  10327. "props": [
  10328. {
  10329. "name": "alignment",
  10330. "type": "\"center\" | \"end\" | \"start\"",
  10331. "mutable": false,
  10332. "attr": "alignment",
  10333. "reflectToAttr": true,
  10334. "docs": "specify the text alignment of the label",
  10335. "docsTags": [],
  10336. "default": "\"start\"",
  10337. "values": [
  10338. {
  10339. "value": "center",
  10340. "type": "string"
  10341. },
  10342. {
  10343. "value": "end",
  10344. "type": "string"
  10345. },
  10346. {
  10347. "value": "start",
  10348. "type": "string"
  10349. }
  10350. ],
  10351. "optional": false,
  10352. "required": false
  10353. },
  10354. {
  10355. "name": "disableSpacing",
  10356. "type": "boolean",
  10357. "mutable": false,
  10358. "attr": "disable-spacing",
  10359. "reflectToAttr": false,
  10360. "docs": "eliminates any space around the label",
  10361. "docsTags": [],
  10362. "default": "false",
  10363. "values": [
  10364. {
  10365. "type": "boolean"
  10366. }
  10367. ],
  10368. "optional": false,
  10369. "required": false
  10370. },
  10371. {
  10372. "name": "disabled",
  10373. "type": "boolean",
  10374. "mutable": false,
  10375. "attr": "disabled",
  10376. "reflectToAttr": true,
  10377. "docs": "is the label disabled",
  10378. "docsTags": [
  10379. {
  10380. "name": "deprecated",
  10381. "text": "use the `disabled` property on the interactive components instead"
  10382. }
  10383. ],
  10384. "default": "false",
  10385. "deprecation": "use the `disabled` property on the interactive components instead",
  10386. "values": [
  10387. {
  10388. "type": "boolean"
  10389. }
  10390. ],
  10391. "optional": false,
  10392. "required": false
  10393. },
  10394. {
  10395. "name": "for",
  10396. "type": "string",
  10397. "mutable": false,
  10398. "attr": "for",
  10399. "reflectToAttr": true,
  10400. "docs": "The id of the input associated with the label",
  10401. "docsTags": [],
  10402. "values": [
  10403. {
  10404. "type": "string"
  10405. }
  10406. ],
  10407. "optional": false,
  10408. "required": false
  10409. },
  10410. {
  10411. "name": "layout",
  10412. "type": "\"default\" | \"inline\" | \"inline-space-between\"",
  10413. "mutable": false,
  10414. "attr": "layout",
  10415. "reflectToAttr": true,
  10416. "docs": "is the wrapped element positioned inline with the label slotted text",
  10417. "docsTags": [],
  10418. "default": "\"default\"",
  10419. "values": [
  10420. {
  10421. "value": "default",
  10422. "type": "string"
  10423. },
  10424. {
  10425. "value": "inline",
  10426. "type": "string"
  10427. },
  10428. {
  10429. "value": "inline-space-between",
  10430. "type": "string"
  10431. }
  10432. ],
  10433. "optional": false,
  10434. "required": false
  10435. },
  10436. {
  10437. "name": "scale",
  10438. "type": "\"l\" | \"m\" | \"s\"",
  10439. "mutable": false,
  10440. "attr": "scale",
  10441. "reflectToAttr": true,
  10442. "docs": "specify the scale of the label, defaults to m",
  10443. "docsTags": [],
  10444. "default": "\"m\"",
  10445. "values": [
  10446. {
  10447. "value": "l",
  10448. "type": "string"
  10449. },
  10450. {
  10451. "value": "m",
  10452. "type": "string"
  10453. },
  10454. {
  10455. "value": "s",
  10456. "type": "string"
  10457. }
  10458. ],
  10459. "optional": false,
  10460. "required": false
  10461. },
  10462. {
  10463. "name": "status",
  10464. "type": "\"idle\" | \"invalid\" | \"valid\"",
  10465. "mutable": false,
  10466. "attr": "status",
  10467. "reflectToAttr": true,
  10468. "docs": "specify the status of the label and any child input / input messages",
  10469. "docsTags": [
  10470. {
  10471. "name": "deprecated",
  10472. "text": "set directly on child element instead"
  10473. }
  10474. ],
  10475. "default": "\"idle\"",
  10476. "deprecation": "set directly on child element instead",
  10477. "values": [
  10478. {
  10479. "value": "idle",
  10480. "type": "string"
  10481. },
  10482. {
  10483. "value": "invalid",
  10484. "type": "string"
  10485. },
  10486. {
  10487. "value": "valid",
  10488. "type": "string"
  10489. }
  10490. ],
  10491. "optional": false,
  10492. "required": false
  10493. }
  10494. ],
  10495. "methods": [],
  10496. "events": [],
  10497. "listeners": [],
  10498. "styles": [],
  10499. "slots": [
  10500. {
  10501. "name": "",
  10502. "docs": "A slot for adding text and a component that can be labeled."
  10503. }
  10504. ],
  10505. "parts": [],
  10506. "dependents": [
  10507. "calcite-card"
  10508. ],
  10509. "dependencies": [],
  10510. "dependencyGraph": {
  10511. "calcite-card": [
  10512. "calcite-label"
  10513. ]
  10514. }
  10515. },
  10516. {
  10517. "filePath": "./src/components/link/link.tsx",
  10518. "encapsulation": "shadow",
  10519. "tag": "calcite-link",
  10520. "readme": "# calcite-link\n",
  10521. "docs": "",
  10522. "docsTags": [
  10523. {
  10524. "name": "slot",
  10525. "text": "- A slot for adding text."
  10526. }
  10527. ],
  10528. "usage": {
  10529. "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",
  10530. "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"
  10531. },
  10532. "props": [
  10533. {
  10534. "name": "disabled",
  10535. "type": "boolean",
  10536. "mutable": false,
  10537. "attr": "disabled",
  10538. "reflectToAttr": true,
  10539. "docs": "is the link disabled",
  10540. "docsTags": [],
  10541. "default": "false",
  10542. "values": [
  10543. {
  10544. "type": "boolean"
  10545. }
  10546. ],
  10547. "optional": false,
  10548. "required": false
  10549. },
  10550. {
  10551. "name": "download",
  10552. "type": "boolean | string",
  10553. "mutable": false,
  10554. "attr": "download",
  10555. "reflectToAttr": true,
  10556. "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",
  10557. "docsTags": [],
  10558. "default": "false",
  10559. "values": [
  10560. {
  10561. "type": "boolean"
  10562. },
  10563. {
  10564. "type": "string"
  10565. }
  10566. ],
  10567. "optional": false,
  10568. "required": false
  10569. },
  10570. {
  10571. "name": "href",
  10572. "type": "string",
  10573. "mutable": false,
  10574. "attr": "href",
  10575. "reflectToAttr": true,
  10576. "docs": "optionally pass a href - used to determine if the component should render as a link or an anchor",
  10577. "docsTags": [],
  10578. "values": [
  10579. {
  10580. "type": "string"
  10581. }
  10582. ],
  10583. "optional": true,
  10584. "required": false
  10585. },
  10586. {
  10587. "name": "iconEnd",
  10588. "type": "string",
  10589. "mutable": false,
  10590. "attr": "icon-end",
  10591. "reflectToAttr": true,
  10592. "docs": "optionally pass an icon to display at the end of a button - accepts calcite ui icon names",
  10593. "docsTags": [],
  10594. "values": [
  10595. {
  10596. "type": "string"
  10597. }
  10598. ],
  10599. "optional": true,
  10600. "required": false
  10601. },
  10602. {
  10603. "name": "iconFlipRtl",
  10604. "type": "\"both\" | \"end\" | \"start\"",
  10605. "mutable": false,
  10606. "attr": "icon-flip-rtl",
  10607. "reflectToAttr": true,
  10608. "docs": "flip the icon(s) in rtl",
  10609. "docsTags": [],
  10610. "values": [
  10611. {
  10612. "value": "both",
  10613. "type": "string"
  10614. },
  10615. {
  10616. "value": "end",
  10617. "type": "string"
  10618. },
  10619. {
  10620. "value": "start",
  10621. "type": "string"
  10622. }
  10623. ],
  10624. "optional": true,
  10625. "required": false
  10626. },
  10627. {
  10628. "name": "iconStart",
  10629. "type": "string",
  10630. "mutable": false,
  10631. "attr": "icon-start",
  10632. "reflectToAttr": true,
  10633. "docs": "optionally pass an icon to display at the start of a button - accepts calcite ui icon names",
  10634. "docsTags": [],
  10635. "values": [
  10636. {
  10637. "type": "string"
  10638. }
  10639. ],
  10640. "optional": true,
  10641. "required": false
  10642. },
  10643. {
  10644. "name": "rel",
  10645. "type": "string",
  10646. "mutable": false,
  10647. "attr": "rel",
  10648. "reflectToAttr": false,
  10649. "docs": "The rel attribute to apply to the hyperlink",
  10650. "docsTags": [],
  10651. "values": [
  10652. {
  10653. "type": "string"
  10654. }
  10655. ],
  10656. "optional": true,
  10657. "required": false
  10658. },
  10659. {
  10660. "name": "target",
  10661. "type": "string",
  10662. "mutable": false,
  10663. "attr": "target",
  10664. "reflectToAttr": false,
  10665. "docs": "The target attribute to apply to the hyperlink",
  10666. "docsTags": [],
  10667. "values": [
  10668. {
  10669. "type": "string"
  10670. }
  10671. ],
  10672. "optional": true,
  10673. "required": false
  10674. }
  10675. ],
  10676. "methods": [
  10677. {
  10678. "name": "setFocus",
  10679. "returns": {
  10680. "type": "Promise<void>",
  10681. "docs": ""
  10682. },
  10683. "signature": "setFocus() => Promise<void>",
  10684. "parameters": [],
  10685. "docs": "Sets focus on the component.",
  10686. "docsTags": []
  10687. }
  10688. ],
  10689. "events": [],
  10690. "listeners": [],
  10691. "styles": [],
  10692. "slots": [
  10693. {
  10694. "name": "",
  10695. "docs": "A slot for adding text."
  10696. }
  10697. ],
  10698. "parts": [],
  10699. "dependents": [
  10700. "calcite-tile"
  10701. ],
  10702. "dependencies": [
  10703. "calcite-icon"
  10704. ],
  10705. "dependencyGraph": {
  10706. "calcite-link": [
  10707. "calcite-icon"
  10708. ],
  10709. "calcite-tile": [
  10710. "calcite-link"
  10711. ]
  10712. }
  10713. },
  10714. {
  10715. "filePath": "./src/components/list/list.tsx",
  10716. "encapsulation": "shadow",
  10717. "tag": "calcite-list",
  10718. "readme": "# calcite-list\n",
  10719. "docs": "A general purpose list that enables users to construct list items that conform to Calcite styling.",
  10720. "docsTags": [
  10721. {
  10722. "name": "slot",
  10723. "text": "- A slot for adding `calcite-list-item` elements."
  10724. }
  10725. ],
  10726. "usage": {
  10727. "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",
  10728. "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",
  10729. "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",
  10730. "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"
  10731. },
  10732. "props": [
  10733. {
  10734. "name": "disabled",
  10735. "type": "boolean",
  10736. "mutable": false,
  10737. "attr": "disabled",
  10738. "reflectToAttr": true,
  10739. "docs": "When true, disabled prevents user interaction.",
  10740. "docsTags": [],
  10741. "default": "false",
  10742. "values": [
  10743. {
  10744. "type": "boolean"
  10745. }
  10746. ],
  10747. "optional": false,
  10748. "required": false
  10749. },
  10750. {
  10751. "name": "headingLevel",
  10752. "type": "1 | 2 | 3 | 4 | 5 | 6",
  10753. "mutable": false,
  10754. "attr": "heading-level",
  10755. "reflectToAttr": false,
  10756. "docs": "Number at which section headings should start for this component.",
  10757. "docsTags": [],
  10758. "values": [
  10759. {
  10760. "value": "1",
  10761. "type": "number"
  10762. },
  10763. {
  10764. "value": "2",
  10765. "type": "number"
  10766. },
  10767. {
  10768. "value": "3",
  10769. "type": "number"
  10770. },
  10771. {
  10772. "value": "4",
  10773. "type": "number"
  10774. },
  10775. {
  10776. "value": "5",
  10777. "type": "number"
  10778. },
  10779. {
  10780. "value": "6",
  10781. "type": "number"
  10782. }
  10783. ],
  10784. "optional": false,
  10785. "required": false
  10786. }
  10787. ],
  10788. "methods": [
  10789. {
  10790. "name": "setFocus",
  10791. "returns": {
  10792. "type": "Promise<void>",
  10793. "docs": ""
  10794. },
  10795. "signature": "setFocus() => Promise<void>",
  10796. "parameters": [],
  10797. "docs": "Sets focus on the component.",
  10798. "docsTags": []
  10799. }
  10800. ],
  10801. "events": [],
  10802. "listeners": [],
  10803. "styles": [],
  10804. "slots": [
  10805. {
  10806. "name": "",
  10807. "docs": "A slot for adding `calcite-list-item` elements."
  10808. }
  10809. ],
  10810. "parts": [],
  10811. "dependents": [],
  10812. "dependencies": [],
  10813. "dependencyGraph": {}
  10814. },
  10815. {
  10816. "filePath": "./src/components/list-item/list-item.tsx",
  10817. "encapsulation": "shadow",
  10818. "tag": "calcite-list-item",
  10819. "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",
  10820. "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'.",
  10821. "docsTags": [
  10822. {
  10823. "name": "slot",
  10824. "text": "- A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  10825. },
  10826. {
  10827. "name": "slot",
  10828. "text": "actions-start - A slot for adding actionable `calcite-action` elements before the content of the list item."
  10829. },
  10830. {
  10831. "name": "slot",
  10832. "text": "content-start - A slot for adding non-actionable elements before the label and description of the list item."
  10833. },
  10834. {
  10835. "name": "slot",
  10836. "text": "content-end - A slot for adding non-actionable elements after the label and description of the list item."
  10837. },
  10838. {
  10839. "name": "slot",
  10840. "text": "actions-end - A slot for adding actionable `calcite-action` elements after the content of the list item."
  10841. }
  10842. ],
  10843. "usage": {},
  10844. "props": [
  10845. {
  10846. "name": "description",
  10847. "type": "string",
  10848. "mutable": false,
  10849. "attr": "description",
  10850. "reflectToAttr": false,
  10851. "docs": "An optional description for this item. This will appear below the label text.",
  10852. "docsTags": [],
  10853. "values": [
  10854. {
  10855. "type": "string"
  10856. }
  10857. ],
  10858. "optional": false,
  10859. "required": false
  10860. },
  10861. {
  10862. "name": "disabled",
  10863. "type": "boolean",
  10864. "mutable": false,
  10865. "attr": "disabled",
  10866. "reflectToAttr": true,
  10867. "docs": "When true, disabled prevents interaction.",
  10868. "docsTags": [],
  10869. "default": "false",
  10870. "values": [
  10871. {
  10872. "type": "boolean"
  10873. }
  10874. ],
  10875. "optional": false,
  10876. "required": false
  10877. },
  10878. {
  10879. "name": "label",
  10880. "type": "string",
  10881. "mutable": false,
  10882. "attr": "label",
  10883. "reflectToAttr": false,
  10884. "docs": "The label text of the list item. This will appear above the description text.",
  10885. "docsTags": [],
  10886. "values": [
  10887. {
  10888. "type": "string"
  10889. }
  10890. ],
  10891. "optional": false,
  10892. "required": false
  10893. },
  10894. {
  10895. "name": "nonInteractive",
  10896. "type": "boolean",
  10897. "mutable": false,
  10898. "attr": "non-interactive",
  10899. "reflectToAttr": true,
  10900. "docs": "When true, prevents the content of the list item from user interaction.",
  10901. "docsTags": [],
  10902. "default": "false",
  10903. "values": [
  10904. {
  10905. "type": "boolean"
  10906. }
  10907. ],
  10908. "optional": false,
  10909. "required": false
  10910. }
  10911. ],
  10912. "methods": [
  10913. {
  10914. "name": "setFocus",
  10915. "returns": {
  10916. "type": "Promise<void>",
  10917. "docs": ""
  10918. },
  10919. "signature": "setFocus() => Promise<void>",
  10920. "parameters": [],
  10921. "docs": "Sets focus on the component.",
  10922. "docsTags": []
  10923. }
  10924. ],
  10925. "events": [],
  10926. "listeners": [],
  10927. "styles": [],
  10928. "slots": [
  10929. {
  10930. "name": "",
  10931. "docs": "A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  10932. },
  10933. {
  10934. "name": "actions-end",
  10935. "docs": "A slot for adding actionable `calcite-action` elements after the content of the list item."
  10936. },
  10937. {
  10938. "name": "actions-start",
  10939. "docs": "A slot for adding actionable `calcite-action` elements before the content of the list item."
  10940. },
  10941. {
  10942. "name": "content-end",
  10943. "docs": "A slot for adding non-actionable elements after the label and description of the list item."
  10944. },
  10945. {
  10946. "name": "content-start",
  10947. "docs": "A slot for adding non-actionable elements before the label and description of the list item."
  10948. }
  10949. ],
  10950. "parts": [],
  10951. "dependents": [],
  10952. "dependencies": [],
  10953. "dependencyGraph": {}
  10954. },
  10955. {
  10956. "filePath": "./src/components/list-item-group/list-item-group.tsx",
  10957. "encapsulation": "shadow",
  10958. "tag": "calcite-list-item-group",
  10959. "readme": "# calcite-list-item-group\n",
  10960. "docs": "",
  10961. "docsTags": [
  10962. {
  10963. "name": "slot",
  10964. "text": "- A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  10965. }
  10966. ],
  10967. "usage": {},
  10968. "props": [
  10969. {
  10970. "name": "heading",
  10971. "type": "string",
  10972. "mutable": false,
  10973. "attr": "heading",
  10974. "reflectToAttr": true,
  10975. "docs": "The title used for all nested `calcite-list-item` rows.",
  10976. "docsTags": [],
  10977. "values": [
  10978. {
  10979. "type": "string"
  10980. }
  10981. ],
  10982. "optional": false,
  10983. "required": false
  10984. },
  10985. {
  10986. "name": "headingLevel",
  10987. "type": "1 | 2 | 3 | 4 | 5 | 6",
  10988. "mutable": false,
  10989. "attr": "heading-level",
  10990. "reflectToAttr": false,
  10991. "docs": "Number at which section headings should start for this component.",
  10992. "docsTags": [],
  10993. "values": [
  10994. {
  10995. "value": "1",
  10996. "type": "number"
  10997. },
  10998. {
  10999. "value": "2",
  11000. "type": "number"
  11001. },
  11002. {
  11003. "value": "3",
  11004. "type": "number"
  11005. },
  11006. {
  11007. "value": "4",
  11008. "type": "number"
  11009. },
  11010. {
  11011. "value": "5",
  11012. "type": "number"
  11013. },
  11014. {
  11015. "value": "6",
  11016. "type": "number"
  11017. }
  11018. ],
  11019. "optional": false,
  11020. "required": false
  11021. }
  11022. ],
  11023. "methods": [],
  11024. "events": [],
  11025. "listeners": [],
  11026. "styles": [],
  11027. "slots": [
  11028. {
  11029. "name": "",
  11030. "docs": "A slot for adding `calcite-list-item` and `calcite-list-item-group` elements."
  11031. }
  11032. ],
  11033. "parts": [],
  11034. "dependents": [],
  11035. "dependencies": [],
  11036. "dependencyGraph": {}
  11037. },
  11038. {
  11039. "filePath": "./src/components/loader/loader.tsx",
  11040. "encapsulation": "shadow",
  11041. "tag": "calcite-loader",
  11042. "readme": "# calcite-loader\n\nThe `calcite-loader` component can act as a determinate or indeterminate loading indicator.\n",
  11043. "docs": "The `calcite-loader` component can act as a determinate or indeterminate loading indicator.",
  11044. "docsTags": [],
  11045. "usage": {
  11046. "Basic": "You can use the `active` attribute to toggle visibility:\n\n```html\n<calcite-loader text=\"Fetching data...\" active></calcite-loader>\n```\n",
  11047. "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",
  11048. "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"
  11049. },
  11050. "props": [
  11051. {
  11052. "name": "active",
  11053. "type": "boolean",
  11054. "mutable": false,
  11055. "attr": "active",
  11056. "reflectToAttr": true,
  11057. "docs": "Show the loader",
  11058. "docsTags": [],
  11059. "default": "false",
  11060. "values": [
  11061. {
  11062. "type": "boolean"
  11063. }
  11064. ],
  11065. "optional": false,
  11066. "required": false
  11067. },
  11068. {
  11069. "name": "inline",
  11070. "type": "boolean",
  11071. "mutable": false,
  11072. "attr": "inline",
  11073. "reflectToAttr": true,
  11074. "docs": "Inline loaders are smaller and will appear to the left of the text",
  11075. "docsTags": [],
  11076. "default": "false",
  11077. "values": [
  11078. {
  11079. "type": "boolean"
  11080. }
  11081. ],
  11082. "optional": false,
  11083. "required": false
  11084. },
  11085. {
  11086. "name": "label",
  11087. "type": "string",
  11088. "mutable": false,
  11089. "attr": "label",
  11090. "reflectToAttr": false,
  11091. "docs": "Accessible name for the component",
  11092. "docsTags": [],
  11093. "values": [
  11094. {
  11095. "type": "string"
  11096. }
  11097. ],
  11098. "optional": false,
  11099. "required": true
  11100. },
  11101. {
  11102. "name": "noPadding",
  11103. "type": "boolean",
  11104. "mutable": false,
  11105. "attr": "no-padding",
  11106. "reflectToAttr": false,
  11107. "docs": "Turn off spacing around the loader",
  11108. "docsTags": [],
  11109. "default": "false",
  11110. "values": [
  11111. {
  11112. "type": "boolean"
  11113. }
  11114. ],
  11115. "optional": false,
  11116. "required": false
  11117. },
  11118. {
  11119. "name": "scale",
  11120. "type": "\"l\" | \"m\" | \"s\"",
  11121. "mutable": false,
  11122. "attr": "scale",
  11123. "reflectToAttr": true,
  11124. "docs": "Speficy the scale of the loader. Defaults to \"m\"",
  11125. "docsTags": [],
  11126. "default": "\"m\"",
  11127. "values": [
  11128. {
  11129. "value": "l",
  11130. "type": "string"
  11131. },
  11132. {
  11133. "value": "m",
  11134. "type": "string"
  11135. },
  11136. {
  11137. "value": "s",
  11138. "type": "string"
  11139. }
  11140. ],
  11141. "optional": false,
  11142. "required": false
  11143. },
  11144. {
  11145. "name": "text",
  11146. "type": "string",
  11147. "mutable": false,
  11148. "attr": "text",
  11149. "reflectToAttr": false,
  11150. "docs": "Text which should appear under the loading indicator (optional)",
  11151. "docsTags": [],
  11152. "default": "\"\"",
  11153. "values": [
  11154. {
  11155. "type": "string"
  11156. }
  11157. ],
  11158. "optional": false,
  11159. "required": false
  11160. },
  11161. {
  11162. "name": "type",
  11163. "type": "\"determinate\" | \"indeterminate\"",
  11164. "mutable": false,
  11165. "attr": "type",
  11166. "reflectToAttr": true,
  11167. "docs": "Use indeterminate if finding actual progress value is impossible",
  11168. "docsTags": [],
  11169. "values": [
  11170. {
  11171. "value": "determinate",
  11172. "type": "string"
  11173. },
  11174. {
  11175. "value": "indeterminate",
  11176. "type": "string"
  11177. }
  11178. ],
  11179. "optional": false,
  11180. "required": false
  11181. },
  11182. {
  11183. "name": "value",
  11184. "type": "number",
  11185. "mutable": false,
  11186. "attr": "value",
  11187. "reflectToAttr": false,
  11188. "docs": "Percent complete of 100, only valid for determinate indicators",
  11189. "docsTags": [],
  11190. "default": "0",
  11191. "values": [
  11192. {
  11193. "type": "number"
  11194. }
  11195. ],
  11196. "optional": false,
  11197. "required": false
  11198. }
  11199. ],
  11200. "methods": [],
  11201. "events": [],
  11202. "listeners": [],
  11203. "styles": [
  11204. {
  11205. "name": "--calcite-loader-font-size",
  11206. "annotation": "prop",
  11207. "docs": "when type is determinate, the font-size of the loader percentage"
  11208. },
  11209. {
  11210. "name": "--calcite-loader-size",
  11211. "annotation": "prop",
  11212. "docs": "the width and height of a non-inline loader"
  11213. },
  11214. {
  11215. "name": "--calcite-loader-size-inline",
  11216. "annotation": "prop",
  11217. "docs": "the width and height of an inline loader"
  11218. }
  11219. ],
  11220. "slots": [],
  11221. "parts": [],
  11222. "dependents": [
  11223. "calcite-action",
  11224. "calcite-block",
  11225. "calcite-button",
  11226. "calcite-card",
  11227. "calcite-scrim"
  11228. ],
  11229. "dependencies": [],
  11230. "dependencyGraph": {
  11231. "calcite-action": [
  11232. "calcite-loader"
  11233. ],
  11234. "calcite-block": [
  11235. "calcite-loader"
  11236. ],
  11237. "calcite-button": [
  11238. "calcite-loader"
  11239. ],
  11240. "calcite-card": [
  11241. "calcite-loader"
  11242. ],
  11243. "calcite-scrim": [
  11244. "calcite-loader"
  11245. ]
  11246. }
  11247. },
  11248. {
  11249. "filePath": "./src/components/modal/modal.tsx",
  11250. "encapsulation": "shadow",
  11251. "tag": "calcite-modal",
  11252. "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>",
  11253. "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>",
  11254. "docsTags": [
  11255. {
  11256. "name": "slot",
  11257. "text": "header - a slot for adding a modal header"
  11258. },
  11259. {
  11260. "name": "slot",
  11261. "text": "content - a slot for adding modal content"
  11262. },
  11263. {
  11264. "name": "slot",
  11265. "text": "primary - a slot for adding a primary button"
  11266. },
  11267. {
  11268. "name": "slot",
  11269. "text": "secondary - a slot for adding a secondary button"
  11270. },
  11271. {
  11272. "name": "slot",
  11273. "text": "back - a slot for adding a back button"
  11274. }
  11275. ],
  11276. "usage": {
  11277. "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",
  11278. "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",
  11279. "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"
  11280. },
  11281. "props": [
  11282. {
  11283. "name": "active",
  11284. "type": "boolean",
  11285. "mutable": true,
  11286. "attr": "active",
  11287. "reflectToAttr": true,
  11288. "docs": "Add the active attribute to open the modal",
  11289. "docsTags": [],
  11290. "default": "false",
  11291. "values": [
  11292. {
  11293. "type": "boolean"
  11294. }
  11295. ],
  11296. "optional": false,
  11297. "required": false
  11298. },
  11299. {
  11300. "name": "backgroundColor",
  11301. "type": "\"grey\" | \"white\"",
  11302. "mutable": false,
  11303. "attr": "background-color",
  11304. "reflectToAttr": true,
  11305. "docs": "Background color of modal content",
  11306. "docsTags": [],
  11307. "default": "\"white\"",
  11308. "values": [
  11309. {
  11310. "value": "grey",
  11311. "type": "string"
  11312. },
  11313. {
  11314. "value": "white",
  11315. "type": "string"
  11316. }
  11317. ],
  11318. "optional": false,
  11319. "required": false
  11320. },
  11321. {
  11322. "name": "beforeClose",
  11323. "type": "(el: HTMLElement) => Promise<void>",
  11324. "mutable": false,
  11325. "reflectToAttr": false,
  11326. "docs": "Optionally pass a function to run before close",
  11327. "docsTags": [],
  11328. "default": "() => Promise.resolve()",
  11329. "values": [
  11330. {
  11331. "type": "(el: HTMLElement) => Promise<void>"
  11332. }
  11333. ],
  11334. "optional": false,
  11335. "required": false
  11336. },
  11337. {
  11338. "name": "color",
  11339. "type": "\"blue\" | \"red\"",
  11340. "mutable": false,
  11341. "attr": "color",
  11342. "reflectToAttr": true,
  11343. "docs": "Adds a color bar at the top for visual impact,\nUse color to add importance to destructive/workflow dialogs.",
  11344. "docsTags": [],
  11345. "values": [
  11346. {
  11347. "value": "blue",
  11348. "type": "string"
  11349. },
  11350. {
  11351. "value": "red",
  11352. "type": "string"
  11353. }
  11354. ],
  11355. "optional": true,
  11356. "required": false
  11357. },
  11358. {
  11359. "name": "disableCloseButton",
  11360. "type": "boolean",
  11361. "mutable": false,
  11362. "attr": "disable-close-button",
  11363. "reflectToAttr": false,
  11364. "docs": "Disables the display a close button within the Modal",
  11365. "docsTags": [],
  11366. "default": "false",
  11367. "values": [
  11368. {
  11369. "type": "boolean"
  11370. }
  11371. ],
  11372. "optional": false,
  11373. "required": false
  11374. },
  11375. {
  11376. "name": "disableEscape",
  11377. "type": "boolean",
  11378. "mutable": false,
  11379. "attr": "disable-escape",
  11380. "reflectToAttr": false,
  11381. "docs": "Flag to disable the default close on escape behavior",
  11382. "docsTags": [],
  11383. "default": "false",
  11384. "values": [
  11385. {
  11386. "type": "boolean"
  11387. }
  11388. ],
  11389. "optional": false,
  11390. "required": false
  11391. },
  11392. {
  11393. "name": "disableOutsideClose",
  11394. "type": "boolean",
  11395. "mutable": false,
  11396. "attr": "disable-outside-close",
  11397. "reflectToAttr": false,
  11398. "docs": "Disables the closing of the Modal when clicked outside.",
  11399. "docsTags": [],
  11400. "default": "false",
  11401. "values": [
  11402. {
  11403. "type": "boolean"
  11404. }
  11405. ],
  11406. "optional": false,
  11407. "required": false
  11408. },
  11409. {
  11410. "name": "docked",
  11411. "type": "boolean",
  11412. "mutable": false,
  11413. "attr": "docked",
  11414. "reflectToAttr": true,
  11415. "docs": "Prevent the modal from taking up the entire screen on mobile",
  11416. "docsTags": [],
  11417. "values": [
  11418. {
  11419. "type": "boolean"
  11420. }
  11421. ],
  11422. "optional": false,
  11423. "required": false
  11424. },
  11425. {
  11426. "name": "firstFocus",
  11427. "type": "HTMLElement",
  11428. "mutable": false,
  11429. "reflectToAttr": false,
  11430. "docs": "Specify an element to focus when the modal is first opened",
  11431. "docsTags": [],
  11432. "values": [
  11433. {
  11434. "type": "HTMLElement"
  11435. }
  11436. ],
  11437. "optional": true,
  11438. "required": false
  11439. },
  11440. {
  11441. "name": "fullscreen",
  11442. "type": "boolean",
  11443. "mutable": false,
  11444. "attr": "fullscreen",
  11445. "reflectToAttr": true,
  11446. "docs": "Set the modal to always be fullscreen (overrides width)",
  11447. "docsTags": [],
  11448. "values": [
  11449. {
  11450. "type": "boolean"
  11451. }
  11452. ],
  11453. "optional": false,
  11454. "required": false
  11455. },
  11456. {
  11457. "name": "intlClose",
  11458. "type": "string",
  11459. "mutable": false,
  11460. "attr": "intl-close",
  11461. "reflectToAttr": false,
  11462. "docs": "Aria label for the close button",
  11463. "docsTags": [],
  11464. "default": "TEXT.close",
  11465. "values": [
  11466. {
  11467. "type": "string"
  11468. }
  11469. ],
  11470. "optional": false,
  11471. "required": false
  11472. },
  11473. {
  11474. "name": "noPadding",
  11475. "type": "boolean",
  11476. "mutable": false,
  11477. "attr": "no-padding",
  11478. "reflectToAttr": false,
  11479. "docs": "Turn off spacing around the content area slot",
  11480. "docsTags": [],
  11481. "default": "false",
  11482. "values": [
  11483. {
  11484. "type": "boolean"
  11485. }
  11486. ],
  11487. "optional": false,
  11488. "required": false
  11489. },
  11490. {
  11491. "name": "scale",
  11492. "type": "\"l\" | \"m\" | \"s\"",
  11493. "mutable": false,
  11494. "attr": "scale",
  11495. "reflectToAttr": true,
  11496. "docs": "specify the scale of modal, defaults to m",
  11497. "docsTags": [],
  11498. "default": "\"m\"",
  11499. "values": [
  11500. {
  11501. "value": "l",
  11502. "type": "string"
  11503. },
  11504. {
  11505. "value": "m",
  11506. "type": "string"
  11507. },
  11508. {
  11509. "value": "s",
  11510. "type": "string"
  11511. }
  11512. ],
  11513. "optional": false,
  11514. "required": false
  11515. },
  11516. {
  11517. "name": "width",
  11518. "type": "\"l\" | \"m\" | \"s\" | number",
  11519. "mutable": false,
  11520. "attr": "width",
  11521. "reflectToAttr": true,
  11522. "docs": "Set the width of the modal. Can use stock sizes or pass a number (in pixels)",
  11523. "docsTags": [],
  11524. "default": "\"m\"",
  11525. "values": [
  11526. {
  11527. "value": "l",
  11528. "type": "string"
  11529. },
  11530. {
  11531. "value": "m",
  11532. "type": "string"
  11533. },
  11534. {
  11535. "value": "s",
  11536. "type": "string"
  11537. },
  11538. {
  11539. "type": "number"
  11540. }
  11541. ],
  11542. "optional": false,
  11543. "required": false
  11544. }
  11545. ],
  11546. "methods": [
  11547. {
  11548. "name": "focusElement",
  11549. "returns": {
  11550. "type": "Promise<void>",
  11551. "docs": ""
  11552. },
  11553. "signature": "focusElement(el?: HTMLElement) => Promise<void>",
  11554. "parameters": [],
  11555. "docs": "Focus first interactive element",
  11556. "docsTags": [
  11557. {
  11558. "name": "deprecated",
  11559. "text": "use `setFocus` instead."
  11560. }
  11561. ],
  11562. "deprecation": "use `setFocus` instead."
  11563. },
  11564. {
  11565. "name": "scrollContent",
  11566. "returns": {
  11567. "type": "Promise<void>",
  11568. "docs": ""
  11569. },
  11570. "signature": "scrollContent(top?: number, left?: number) => Promise<void>",
  11571. "parameters": [],
  11572. "docs": "Set the scroll top of the modal content",
  11573. "docsTags": []
  11574. },
  11575. {
  11576. "name": "setFocus",
  11577. "returns": {
  11578. "type": "Promise<void>",
  11579. "docs": ""
  11580. },
  11581. "signature": "setFocus(focusId?: \"close-button\") => Promise<void>",
  11582. "parameters": [],
  11583. "docs": "Sets focus on the component.\n\nBy default, will try to focus on any focusable content. If there is none, it will focus on the close button.\nIf you want to focus on the close button, you can use the `close-button` focus ID.",
  11584. "docsTags": []
  11585. }
  11586. ],
  11587. "events": [
  11588. {
  11589. "event": "calciteModalClose",
  11590. "detail": "any",
  11591. "bubbles": true,
  11592. "cancelable": true,
  11593. "composed": true,
  11594. "docs": "Fired when the modal finishes the close animation",
  11595. "docsTags": []
  11596. },
  11597. {
  11598. "event": "calciteModalOpen",
  11599. "detail": "any",
  11600. "bubbles": true,
  11601. "cancelable": true,
  11602. "composed": true,
  11603. "docs": "Fired when the modal finishes the open animation",
  11604. "docsTags": []
  11605. }
  11606. ],
  11607. "listeners": [
  11608. {
  11609. "event": "keyup",
  11610. "target": "window",
  11611. "capture": false,
  11612. "passive": false
  11613. }
  11614. ],
  11615. "styles": [
  11616. {
  11617. "name": "--calcite-modal-content-text",
  11618. "annotation": "prop",
  11619. "docs": "the font-size of the modal content"
  11620. },
  11621. {
  11622. "name": "--calcite-modal-padding",
  11623. "annotation": "prop",
  11624. "docs": "the top/bottom padding around items in the modal"
  11625. },
  11626. {
  11627. "name": "--calcite-modal-padding-large",
  11628. "annotation": "prop",
  11629. "docs": "the left/right padding around items in the modal"
  11630. },
  11631. {
  11632. "name": "--calcite-modal-title-text",
  11633. "annotation": "prop",
  11634. "docs": "the font-size of the modal title"
  11635. },
  11636. {
  11637. "name": "--calcite-scrim-background",
  11638. "annotation": "prop",
  11639. "docs": "the semi-transparent background color behind modal"
  11640. }
  11641. ],
  11642. "slots": [
  11643. {
  11644. "name": "back",
  11645. "docs": "a slot for adding a back button"
  11646. },
  11647. {
  11648. "name": "content",
  11649. "docs": "a slot for adding modal content"
  11650. },
  11651. {
  11652. "name": "header",
  11653. "docs": "a slot for adding a modal header"
  11654. },
  11655. {
  11656. "name": "primary",
  11657. "docs": "a slot for adding a primary button"
  11658. },
  11659. {
  11660. "name": "secondary",
  11661. "docs": "a slot for adding a secondary button"
  11662. }
  11663. ],
  11664. "parts": [],
  11665. "dependents": [],
  11666. "dependencies": [
  11667. "calcite-scrim",
  11668. "calcite-icon"
  11669. ],
  11670. "dependencyGraph": {
  11671. "calcite-modal": [
  11672. "calcite-scrim",
  11673. "calcite-icon"
  11674. ],
  11675. "calcite-scrim": [
  11676. "calcite-loader"
  11677. ]
  11678. }
  11679. },
  11680. {
  11681. "filePath": "./src/components/notice/notice.tsx",
  11682. "encapsulation": "shadow",
  11683. "tag": "calcite-notice",
  11684. "readme": "# calcite-notice\n",
  11685. "docs": "",
  11686. "docsTags": [
  11687. {
  11688. "name": "slot",
  11689. "text": "title - Title of the notice (optional)"
  11690. },
  11691. {
  11692. "name": "slot",
  11693. "text": "message - Main text of the notice"
  11694. },
  11695. {
  11696. "name": "slot",
  11697. "text": "link - Optional action to take from the notice (undo, try again, link to page, etc.)"
  11698. },
  11699. {
  11700. "name": "slot",
  11701. "text": "actions-end - Allows adding a `calcite-action` at the end of the notice. It is recommended to use 2 or less actions."
  11702. }
  11703. ],
  11704. "usage": {
  11705. "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",
  11706. "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"
  11707. },
  11708. "props": [
  11709. {
  11710. "name": "active",
  11711. "type": "boolean",
  11712. "mutable": true,
  11713. "attr": "active",
  11714. "reflectToAttr": true,
  11715. "docs": "Is the notice currently active or not",
  11716. "docsTags": [],
  11717. "default": "false",
  11718. "values": [
  11719. {
  11720. "type": "boolean"
  11721. }
  11722. ],
  11723. "optional": false,
  11724. "required": false
  11725. },
  11726. {
  11727. "name": "color",
  11728. "type": "\"blue\" | \"green\" | \"red\" | \"yellow\"",
  11729. "mutable": false,
  11730. "attr": "color",
  11731. "reflectToAttr": true,
  11732. "docs": "Color for the notice (will apply to top border and icon)",
  11733. "docsTags": [],
  11734. "default": "\"blue\"",
  11735. "values": [
  11736. {
  11737. "value": "blue",
  11738. "type": "string"
  11739. },
  11740. {
  11741. "value": "green",
  11742. "type": "string"
  11743. },
  11744. {
  11745. "value": "red",
  11746. "type": "string"
  11747. },
  11748. {
  11749. "value": "yellow",
  11750. "type": "string"
  11751. }
  11752. ],
  11753. "optional": false,
  11754. "required": false
  11755. },
  11756. {
  11757. "name": "dismissible",
  11758. "type": "boolean",
  11759. "mutable": false,
  11760. "attr": "dismissible",
  11761. "reflectToAttr": true,
  11762. "docs": "Optionally show a button the user can click to dismiss the notice",
  11763. "docsTags": [],
  11764. "default": "false",
  11765. "values": [
  11766. {
  11767. "type": "boolean"
  11768. }
  11769. ],
  11770. "optional": false,
  11771. "required": false
  11772. },
  11773. {
  11774. "name": "icon",
  11775. "type": "boolean | string",
  11776. "mutable": false,
  11777. "attr": "icon",
  11778. "reflectToAttr": true,
  11779. "docs": "when used as a boolean set to true, show a default recommended icon. You can\nalso pass a calcite-ui-icon name to this prop to display a requested icon",
  11780. "docsTags": [],
  11781. "values": [
  11782. {
  11783. "type": "boolean"
  11784. },
  11785. {
  11786. "type": "string"
  11787. }
  11788. ],
  11789. "optional": false,
  11790. "required": false
  11791. },
  11792. {
  11793. "name": "intlClose",
  11794. "type": "string",
  11795. "mutable": false,
  11796. "attr": "intl-close",
  11797. "reflectToAttr": false,
  11798. "docs": "String for the close button.",
  11799. "docsTags": [
  11800. {
  11801. "name": "default",
  11802. "text": "\"Close\""
  11803. }
  11804. ],
  11805. "default": "TEXT.close",
  11806. "values": [
  11807. {
  11808. "type": "string"
  11809. }
  11810. ],
  11811. "optional": false,
  11812. "required": false
  11813. },
  11814. {
  11815. "name": "scale",
  11816. "type": "\"l\" | \"m\" | \"s\"",
  11817. "mutable": false,
  11818. "attr": "scale",
  11819. "reflectToAttr": true,
  11820. "docs": "specify the scale of the notice, defaults to m",
  11821. "docsTags": [],
  11822. "default": "\"m\"",
  11823. "values": [
  11824. {
  11825. "value": "l",
  11826. "type": "string"
  11827. },
  11828. {
  11829. "value": "m",
  11830. "type": "string"
  11831. },
  11832. {
  11833. "value": "s",
  11834. "type": "string"
  11835. }
  11836. ],
  11837. "optional": false,
  11838. "required": false
  11839. },
  11840. {
  11841. "name": "width",
  11842. "type": "\"auto\" | \"full\" | \"half\"",
  11843. "mutable": false,
  11844. "attr": "width",
  11845. "reflectToAttr": true,
  11846. "docs": "specify the width of the notice, defaults to auto",
  11847. "docsTags": [],
  11848. "default": "\"auto\"",
  11849. "values": [
  11850. {
  11851. "value": "auto",
  11852. "type": "string"
  11853. },
  11854. {
  11855. "value": "full",
  11856. "type": "string"
  11857. },
  11858. {
  11859. "value": "half",
  11860. "type": "string"
  11861. }
  11862. ],
  11863. "optional": false,
  11864. "required": false
  11865. }
  11866. ],
  11867. "methods": [
  11868. {
  11869. "name": "setFocus",
  11870. "returns": {
  11871. "type": "Promise<void>",
  11872. "docs": ""
  11873. },
  11874. "signature": "setFocus() => Promise<void>",
  11875. "parameters": [],
  11876. "docs": "Sets focus on the component.",
  11877. "docsTags": []
  11878. }
  11879. ],
  11880. "events": [
  11881. {
  11882. "event": "calciteNoticeClose",
  11883. "detail": "any",
  11884. "bubbles": true,
  11885. "cancelable": true,
  11886. "composed": true,
  11887. "docs": "Fired when an notice is closed",
  11888. "docsTags": []
  11889. },
  11890. {
  11891. "event": "calciteNoticeOpen",
  11892. "detail": "any",
  11893. "bubbles": true,
  11894. "cancelable": true,
  11895. "composed": true,
  11896. "docs": "Fired when an Notice is opened",
  11897. "docsTags": []
  11898. }
  11899. ],
  11900. "listeners": [],
  11901. "styles": [
  11902. {
  11903. "name": "--calcite-notice-width",
  11904. "annotation": "prop",
  11905. "docs": "the width of the notice"
  11906. }
  11907. ],
  11908. "slots": [
  11909. {
  11910. "name": "actions-end",
  11911. "docs": "Allows adding a `calcite-action` at the end of the notice. It is recommended to use 2 or less actions."
  11912. },
  11913. {
  11914. "name": "link",
  11915. "docs": "Optional action to take from the notice (undo, try again, link to page, etc.)"
  11916. },
  11917. {
  11918. "name": "message",
  11919. "docs": "Main text of the notice"
  11920. },
  11921. {
  11922. "name": "title",
  11923. "docs": "Title of the notice (optional)"
  11924. }
  11925. ],
  11926. "parts": [],
  11927. "dependents": [],
  11928. "dependencies": [
  11929. "calcite-icon"
  11930. ],
  11931. "dependencyGraph": {
  11932. "calcite-notice": [
  11933. "calcite-icon"
  11934. ]
  11935. }
  11936. },
  11937. {
  11938. "filePath": "./src/components/option/option.tsx",
  11939. "encapsulation": "shadow",
  11940. "tag": "calcite-option",
  11941. "readme": "# calcite-option\n",
  11942. "docs": "",
  11943. "docsTags": [],
  11944. "usage": {},
  11945. "props": [
  11946. {
  11947. "name": "disabled",
  11948. "type": "boolean",
  11949. "mutable": false,
  11950. "attr": "disabled",
  11951. "reflectToAttr": true,
  11952. "docs": "When true, it prevents the option from being selected.",
  11953. "docsTags": [],
  11954. "default": "false",
  11955. "values": [
  11956. {
  11957. "type": "boolean"
  11958. }
  11959. ],
  11960. "optional": false,
  11961. "required": false
  11962. },
  11963. {
  11964. "name": "label",
  11965. "type": "string",
  11966. "mutable": true,
  11967. "attr": "label",
  11968. "reflectToAttr": false,
  11969. "docs": "The option label.",
  11970. "docsTags": [],
  11971. "values": [
  11972. {
  11973. "type": "string"
  11974. }
  11975. ],
  11976. "optional": false,
  11977. "required": false
  11978. },
  11979. {
  11980. "name": "selected",
  11981. "type": "boolean",
  11982. "mutable": false,
  11983. "attr": "selected",
  11984. "reflectToAttr": true,
  11985. "docs": "When true, this option is selected. Otherwise, false.",
  11986. "docsTags": [],
  11987. "values": [
  11988. {
  11989. "type": "boolean"
  11990. }
  11991. ],
  11992. "optional": false,
  11993. "required": false
  11994. },
  11995. {
  11996. "name": "value",
  11997. "type": "any",
  11998. "mutable": true,
  11999. "attr": "value",
  12000. "reflectToAttr": false,
  12001. "docs": "The value associated with this option.",
  12002. "docsTags": [],
  12003. "values": [
  12004. {
  12005. "type": "any"
  12006. }
  12007. ],
  12008. "optional": false,
  12009. "required": false
  12010. }
  12011. ],
  12012. "methods": [],
  12013. "events": [],
  12014. "listeners": [],
  12015. "styles": [],
  12016. "slots": [],
  12017. "parts": [],
  12018. "dependents": [],
  12019. "dependencies": [],
  12020. "dependencyGraph": {}
  12021. },
  12022. {
  12023. "filePath": "./src/components/option-group/option-group.tsx",
  12024. "encapsulation": "shadow",
  12025. "tag": "calcite-option-group",
  12026. "readme": "# calcite-option-group\n",
  12027. "docs": "",
  12028. "docsTags": [
  12029. {
  12030. "name": "slot",
  12031. "text": "- A slot for adding `calcite-option`s."
  12032. }
  12033. ],
  12034. "usage": {},
  12035. "props": [
  12036. {
  12037. "name": "disabled",
  12038. "type": "boolean",
  12039. "mutable": false,
  12040. "attr": "disabled",
  12041. "reflectToAttr": true,
  12042. "docs": "When true, it prevents selection from any of its associated options.",
  12043. "docsTags": [],
  12044. "default": "false",
  12045. "values": [
  12046. {
  12047. "type": "boolean"
  12048. }
  12049. ],
  12050. "optional": false,
  12051. "required": false
  12052. },
  12053. {
  12054. "name": "label",
  12055. "type": "string",
  12056. "mutable": false,
  12057. "attr": "label",
  12058. "reflectToAttr": false,
  12059. "docs": "The group label. This property is required.",
  12060. "docsTags": [],
  12061. "values": [
  12062. {
  12063. "type": "string"
  12064. }
  12065. ],
  12066. "optional": false,
  12067. "required": true
  12068. }
  12069. ],
  12070. "methods": [],
  12071. "events": [],
  12072. "listeners": [],
  12073. "styles": [],
  12074. "slots": [
  12075. {
  12076. "name": "",
  12077. "docs": "A slot for adding `calcite-option`s."
  12078. }
  12079. ],
  12080. "parts": [],
  12081. "dependents": [],
  12082. "dependencies": [],
  12083. "dependencyGraph": {}
  12084. },
  12085. {
  12086. "filePath": "./src/components/pagination/pagination.tsx",
  12087. "encapsulation": "shadow",
  12088. "tag": "calcite-pagination",
  12089. "readme": "# calcite-pagination\n\n`calcite-pagination` allows users to select a page from a paginated API.\n",
  12090. "docs": "`calcite-pagination` allows users to select a page from a paginated API.",
  12091. "docsTags": [],
  12092. "usage": {
  12093. "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"
  12094. },
  12095. "props": [
  12096. {
  12097. "name": "num",
  12098. "type": "number",
  12099. "mutable": false,
  12100. "attr": "num",
  12101. "reflectToAttr": false,
  12102. "docs": "number of items per page",
  12103. "docsTags": [],
  12104. "default": "20",
  12105. "values": [
  12106. {
  12107. "type": "number"
  12108. }
  12109. ],
  12110. "optional": false,
  12111. "required": false
  12112. },
  12113. {
  12114. "name": "scale",
  12115. "type": "\"l\" | \"m\" | \"s\"",
  12116. "mutable": false,
  12117. "attr": "scale",
  12118. "reflectToAttr": true,
  12119. "docs": "The scale of the pagination",
  12120. "docsTags": [],
  12121. "default": "\"m\"",
  12122. "values": [
  12123. {
  12124. "value": "l",
  12125. "type": "string"
  12126. },
  12127. {
  12128. "value": "m",
  12129. "type": "string"
  12130. },
  12131. {
  12132. "value": "s",
  12133. "type": "string"
  12134. }
  12135. ],
  12136. "optional": false,
  12137. "required": false
  12138. },
  12139. {
  12140. "name": "start",
  12141. "type": "number",
  12142. "mutable": true,
  12143. "attr": "start",
  12144. "reflectToAttr": false,
  12145. "docs": "index of item that should begin the page",
  12146. "docsTags": [],
  12147. "default": "1",
  12148. "values": [
  12149. {
  12150. "type": "number"
  12151. }
  12152. ],
  12153. "optional": false,
  12154. "required": false
  12155. },
  12156. {
  12157. "name": "textLabelNext",
  12158. "type": "string",
  12159. "mutable": false,
  12160. "attr": "text-label-next",
  12161. "reflectToAttr": false,
  12162. "docs": "Used as an accessible label (aria-label) for the next button",
  12163. "docsTags": [
  12164. {
  12165. "name": "default",
  12166. "text": "\"Next\""
  12167. }
  12168. ],
  12169. "default": "TEXT.nextLabel",
  12170. "values": [
  12171. {
  12172. "type": "string"
  12173. }
  12174. ],
  12175. "optional": false,
  12176. "required": false
  12177. },
  12178. {
  12179. "name": "textLabelPrevious",
  12180. "type": "string",
  12181. "mutable": false,
  12182. "attr": "text-label-previous",
  12183. "reflectToAttr": false,
  12184. "docs": "Used as an accessible label (aria-label) of the previous button",
  12185. "docsTags": [
  12186. {
  12187. "name": "default",
  12188. "text": "\"Previous\""
  12189. }
  12190. ],
  12191. "default": "TEXT.previousLabel",
  12192. "values": [
  12193. {
  12194. "type": "string"
  12195. }
  12196. ],
  12197. "optional": false,
  12198. "required": false
  12199. },
  12200. {
  12201. "name": "total",
  12202. "type": "number",
  12203. "mutable": false,
  12204. "attr": "total",
  12205. "reflectToAttr": false,
  12206. "docs": "total number of items",
  12207. "docsTags": [],
  12208. "default": "0",
  12209. "values": [
  12210. {
  12211. "type": "number"
  12212. }
  12213. ],
  12214. "optional": false,
  12215. "required": false
  12216. }
  12217. ],
  12218. "methods": [
  12219. {
  12220. "name": "nextPage",
  12221. "returns": {
  12222. "type": "Promise<void>",
  12223. "docs": ""
  12224. },
  12225. "signature": "nextPage() => Promise<void>",
  12226. "parameters": [],
  12227. "docs": "Go to the next page of results",
  12228. "docsTags": []
  12229. },
  12230. {
  12231. "name": "previousPage",
  12232. "returns": {
  12233. "type": "Promise<void>",
  12234. "docs": ""
  12235. },
  12236. "signature": "previousPage() => Promise<void>",
  12237. "parameters": [],
  12238. "docs": "Go to the previous page of results",
  12239. "docsTags": []
  12240. }
  12241. ],
  12242. "events": [
  12243. {
  12244. "event": "calcitePaginationChange",
  12245. "detail": "PaginationDetail",
  12246. "bubbles": true,
  12247. "cancelable": true,
  12248. "composed": true,
  12249. "docs": "Emitted whenever the selected page changes.",
  12250. "docsTags": [
  12251. {
  12252. "name": "see",
  12253. "text": "[PaginationDetail](https://github.com/Esri/calcite-components/blob/master/src/components/pagination/calcite-pagination.tsx#L18)"
  12254. }
  12255. ]
  12256. },
  12257. {
  12258. "event": "calcitePaginationUpdate",
  12259. "detail": "PaginationDetail",
  12260. "bubbles": true,
  12261. "cancelable": true,
  12262. "composed": true,
  12263. "docs": "Emitted whenever the selected page changes.",
  12264. "docsTags": [
  12265. {
  12266. "name": "deprecated",
  12267. "text": "use calcitePaginationChange instead"
  12268. }
  12269. ],
  12270. "deprecation": "use calcitePaginationChange instead"
  12271. }
  12272. ],
  12273. "listeners": [],
  12274. "styles": [
  12275. {
  12276. "name": "--calcite-pagination-spacing",
  12277. "annotation": "prop",
  12278. "docs": "the amount of padding around each pagination item"
  12279. }
  12280. ],
  12281. "slots": [],
  12282. "parts": [],
  12283. "dependents": [],
  12284. "dependencies": [
  12285. "calcite-icon"
  12286. ],
  12287. "dependencyGraph": {
  12288. "calcite-pagination": [
  12289. "calcite-icon"
  12290. ]
  12291. }
  12292. },
  12293. {
  12294. "filePath": "./src/components/panel/panel.tsx",
  12295. "encapsulation": "shadow",
  12296. "tag": "calcite-panel",
  12297. "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",
  12298. "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.",
  12299. "docsTags": [
  12300. {
  12301. "name": "slot",
  12302. "text": "- A slot for adding custom content."
  12303. },
  12304. {
  12305. "name": "slot",
  12306. "text": "header-actions-start - A slot for adding actions or content to the start side of the panel header."
  12307. },
  12308. {
  12309. "name": "slot",
  12310. "text": "header-actions-end - A slot for adding actions or content to the end side of the panel header."
  12311. },
  12312. {
  12313. "name": "slot",
  12314. "text": "header-content - A slot for adding custom content to the header."
  12315. },
  12316. {
  12317. "name": "slot",
  12318. "text": "header-menu-actions - A slot for adding an overflow menu with actions inside a dropdown."
  12319. },
  12320. {
  12321. "name": "slot",
  12322. "text": "fab - A slot for adding a `calcite-fab` (floating action button) to perform an action."
  12323. },
  12324. {
  12325. "name": "slot",
  12326. "text": "footer-actions - A slot for adding buttons to the footer."
  12327. },
  12328. {
  12329. "name": "slot",
  12330. "text": "footer - A slot for adding custom content to the footer."
  12331. }
  12332. ],
  12333. "usage": {
  12334. "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",
  12335. "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",
  12336. "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",
  12337. "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"
  12338. },
  12339. "props": [
  12340. {
  12341. "name": "beforeBack",
  12342. "type": "() => Promise<void>",
  12343. "mutable": false,
  12344. "reflectToAttr": false,
  12345. "docs": "When provided, this method will be called before it is removed from the parent flow.",
  12346. "docsTags": [],
  12347. "values": [
  12348. {
  12349. "type": "() => Promise<void>"
  12350. }
  12351. ],
  12352. "optional": true,
  12353. "required": false
  12354. },
  12355. {
  12356. "name": "disabled",
  12357. "type": "boolean",
  12358. "mutable": false,
  12359. "attr": "disabled",
  12360. "reflectToAttr": true,
  12361. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  12362. "docsTags": [],
  12363. "default": "false",
  12364. "values": [
  12365. {
  12366. "type": "boolean"
  12367. }
  12368. ],
  12369. "optional": false,
  12370. "required": false
  12371. },
  12372. {
  12373. "name": "dismissed",
  12374. "type": "boolean",
  12375. "mutable": true,
  12376. "attr": "dismissed",
  12377. "reflectToAttr": true,
  12378. "docs": "Hides the panel.",
  12379. "docsTags": [],
  12380. "default": "false",
  12381. "values": [
  12382. {
  12383. "type": "boolean"
  12384. }
  12385. ],
  12386. "optional": false,
  12387. "required": false
  12388. },
  12389. {
  12390. "name": "dismissible",
  12391. "type": "boolean",
  12392. "mutable": false,
  12393. "attr": "dismissible",
  12394. "reflectToAttr": true,
  12395. "docs": "Displays a close button in the trailing side of the header.",
  12396. "docsTags": [],
  12397. "default": "false",
  12398. "values": [
  12399. {
  12400. "type": "boolean"
  12401. }
  12402. ],
  12403. "optional": false,
  12404. "required": false
  12405. },
  12406. {
  12407. "name": "heading",
  12408. "type": "string",
  12409. "mutable": false,
  12410. "attr": "heading",
  12411. "reflectToAttr": false,
  12412. "docs": "Heading text.",
  12413. "docsTags": [],
  12414. "values": [
  12415. {
  12416. "type": "string"
  12417. }
  12418. ],
  12419. "optional": true,
  12420. "required": false
  12421. },
  12422. {
  12423. "name": "headingLevel",
  12424. "type": "1 | 2 | 3 | 4 | 5 | 6",
  12425. "mutable": false,
  12426. "attr": "heading-level",
  12427. "reflectToAttr": false,
  12428. "docs": "Number at which section headings should start for this component.",
  12429. "docsTags": [],
  12430. "values": [
  12431. {
  12432. "value": "1",
  12433. "type": "number"
  12434. },
  12435. {
  12436. "value": "2",
  12437. "type": "number"
  12438. },
  12439. {
  12440. "value": "3",
  12441. "type": "number"
  12442. },
  12443. {
  12444. "value": "4",
  12445. "type": "number"
  12446. },
  12447. {
  12448. "value": "5",
  12449. "type": "number"
  12450. },
  12451. {
  12452. "value": "6",
  12453. "type": "number"
  12454. }
  12455. ],
  12456. "optional": false,
  12457. "required": false
  12458. },
  12459. {
  12460. "name": "heightScale",
  12461. "type": "\"l\" | \"m\" | \"s\"",
  12462. "mutable": false,
  12463. "attr": "height-scale",
  12464. "reflectToAttr": true,
  12465. "docs": "Specifies the maximum height of the panel.",
  12466. "docsTags": [],
  12467. "values": [
  12468. {
  12469. "value": "l",
  12470. "type": "string"
  12471. },
  12472. {
  12473. "value": "m",
  12474. "type": "string"
  12475. },
  12476. {
  12477. "value": "s",
  12478. "type": "string"
  12479. }
  12480. ],
  12481. "optional": true,
  12482. "required": false
  12483. },
  12484. {
  12485. "name": "intlBack",
  12486. "type": "string",
  12487. "mutable": false,
  12488. "attr": "intl-back",
  12489. "reflectToAttr": false,
  12490. "docs": "'Back' text string.",
  12491. "docsTags": [],
  12492. "values": [
  12493. {
  12494. "type": "string"
  12495. }
  12496. ],
  12497. "optional": true,
  12498. "required": false
  12499. },
  12500. {
  12501. "name": "intlClose",
  12502. "type": "string",
  12503. "mutable": false,
  12504. "attr": "intl-close",
  12505. "reflectToAttr": false,
  12506. "docs": "'Close' text string for the close button. The close button will only be shown when 'dismissible' is true.",
  12507. "docsTags": [],
  12508. "values": [
  12509. {
  12510. "type": "string"
  12511. }
  12512. ],
  12513. "optional": true,
  12514. "required": false
  12515. },
  12516. {
  12517. "name": "intlOptions",
  12518. "type": "string",
  12519. "mutable": false,
  12520. "attr": "intl-options",
  12521. "reflectToAttr": false,
  12522. "docs": "'Options' text string for the actions menu.",
  12523. "docsTags": [],
  12524. "values": [
  12525. {
  12526. "type": "string"
  12527. }
  12528. ],
  12529. "optional": true,
  12530. "required": false
  12531. },
  12532. {
  12533. "name": "loading",
  12534. "type": "boolean",
  12535. "mutable": false,
  12536. "attr": "loading",
  12537. "reflectToAttr": true,
  12538. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  12539. "docsTags": [],
  12540. "default": "false",
  12541. "values": [
  12542. {
  12543. "type": "boolean"
  12544. }
  12545. ],
  12546. "optional": false,
  12547. "required": false
  12548. },
  12549. {
  12550. "name": "menuOpen",
  12551. "type": "boolean",
  12552. "mutable": false,
  12553. "attr": "menu-open",
  12554. "reflectToAttr": true,
  12555. "docs": "Opens the action menu.",
  12556. "docsTags": [],
  12557. "default": "false",
  12558. "values": [
  12559. {
  12560. "type": "boolean"
  12561. }
  12562. ],
  12563. "optional": false,
  12564. "required": false
  12565. },
  12566. {
  12567. "name": "showBackButton",
  12568. "type": "boolean",
  12569. "mutable": false,
  12570. "attr": "show-back-button",
  12571. "reflectToAttr": true,
  12572. "docs": "Shows a back button in the header.",
  12573. "docsTags": [],
  12574. "default": "false",
  12575. "values": [
  12576. {
  12577. "type": "boolean"
  12578. }
  12579. ],
  12580. "optional": false,
  12581. "required": false
  12582. },
  12583. {
  12584. "name": "summary",
  12585. "type": "string",
  12586. "mutable": false,
  12587. "attr": "summary",
  12588. "reflectToAttr": false,
  12589. "docs": "Summary text. A description displayed underneath the heading.",
  12590. "docsTags": [],
  12591. "values": [
  12592. {
  12593. "type": "string"
  12594. }
  12595. ],
  12596. "optional": true,
  12597. "required": false
  12598. },
  12599. {
  12600. "name": "widthScale",
  12601. "type": "\"l\" | \"m\" | \"s\"",
  12602. "mutable": false,
  12603. "attr": "width-scale",
  12604. "reflectToAttr": true,
  12605. "docs": "This sets width of the panel.",
  12606. "docsTags": [],
  12607. "values": [
  12608. {
  12609. "value": "l",
  12610. "type": "string"
  12611. },
  12612. {
  12613. "value": "m",
  12614. "type": "string"
  12615. },
  12616. {
  12617. "value": "s",
  12618. "type": "string"
  12619. }
  12620. ],
  12621. "optional": true,
  12622. "required": false
  12623. }
  12624. ],
  12625. "methods": [
  12626. {
  12627. "name": "scrollContentTo",
  12628. "returns": {
  12629. "type": "Promise<void>",
  12630. "docs": ""
  12631. },
  12632. "signature": "scrollContentTo(options?: ScrollToOptions) => Promise<void>",
  12633. "parameters": [],
  12634. "docs": "Scrolls panel content to a particular set of coordinates.\n\n```\n myCalcitePanel.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 });\n```",
  12635. "docsTags": []
  12636. },
  12637. {
  12638. "name": "setFocus",
  12639. "returns": {
  12640. "type": "Promise<void>",
  12641. "docs": ""
  12642. },
  12643. "signature": "setFocus(focusId?: \"dismiss-button\" | \"back-button\") => Promise<void>",
  12644. "parameters": [],
  12645. "docs": "Sets focus on the component.",
  12646. "docsTags": []
  12647. }
  12648. ],
  12649. "events": [
  12650. {
  12651. "event": "calcitePanelBackClick",
  12652. "detail": "any",
  12653. "bubbles": true,
  12654. "cancelable": true,
  12655. "composed": true,
  12656. "docs": "Emitted when the back button has been clicked.",
  12657. "docsTags": []
  12658. },
  12659. {
  12660. "event": "calcitePanelDismiss",
  12661. "detail": "any",
  12662. "bubbles": true,
  12663. "cancelable": true,
  12664. "composed": true,
  12665. "docs": "Emitted when the close button has been clicked.",
  12666. "docsTags": []
  12667. },
  12668. {
  12669. "event": "calcitePanelDismissedChange",
  12670. "detail": "any",
  12671. "bubbles": true,
  12672. "cancelable": true,
  12673. "composed": true,
  12674. "docs": "Emitted when the close button has been clicked.",
  12675. "docsTags": [
  12676. {
  12677. "name": "deprecated",
  12678. "text": "use calcitePanelDismiss instead."
  12679. }
  12680. ],
  12681. "deprecation": "use calcitePanelDismiss instead."
  12682. },
  12683. {
  12684. "event": "calcitePanelScroll",
  12685. "detail": "any",
  12686. "bubbles": true,
  12687. "cancelable": true,
  12688. "composed": true,
  12689. "docs": "Emitted when the content has been scrolled.",
  12690. "docsTags": []
  12691. }
  12692. ],
  12693. "listeners": [],
  12694. "styles": [
  12695. {
  12696. "name": "--calcite-panel-max-height",
  12697. "annotation": "prop",
  12698. "docs": "the maximum height of the panel"
  12699. },
  12700. {
  12701. "name": "--calcite-panel-max-width",
  12702. "annotation": "prop",
  12703. "docs": "the maximum width of the panel"
  12704. },
  12705. {
  12706. "name": "--calcite-panel-min-width",
  12707. "annotation": "prop",
  12708. "docs": "the minimum width of the panel"
  12709. }
  12710. ],
  12711. "slots": [
  12712. {
  12713. "name": "",
  12714. "docs": "A slot for adding custom content."
  12715. },
  12716. {
  12717. "name": "fab",
  12718. "docs": "A slot for adding a `calcite-fab` (floating action button) to perform an action."
  12719. },
  12720. {
  12721. "name": "footer",
  12722. "docs": "A slot for adding custom content to the footer."
  12723. },
  12724. {
  12725. "name": "footer-actions",
  12726. "docs": "A slot for adding buttons to the footer."
  12727. },
  12728. {
  12729. "name": "header-actions-end",
  12730. "docs": "A slot for adding actions or content to the end side of the panel header."
  12731. },
  12732. {
  12733. "name": "header-actions-start",
  12734. "docs": "A slot for adding actions or content to the start side of the panel header."
  12735. },
  12736. {
  12737. "name": "header-content",
  12738. "docs": "A slot for adding custom content to the header."
  12739. },
  12740. {
  12741. "name": "header-menu-actions",
  12742. "docs": "A slot for adding an overflow menu with actions inside a dropdown."
  12743. }
  12744. ],
  12745. "parts": [],
  12746. "dependents": [],
  12747. "dependencies": [
  12748. "calcite-action",
  12749. "calcite-action-menu",
  12750. "calcite-scrim"
  12751. ],
  12752. "dependencyGraph": {
  12753. "calcite-panel": [
  12754. "calcite-action",
  12755. "calcite-action-menu",
  12756. "calcite-scrim"
  12757. ],
  12758. "calcite-action": [
  12759. "calcite-loader",
  12760. "calcite-icon"
  12761. ],
  12762. "calcite-action-menu": [
  12763. "calcite-action",
  12764. "calcite-popover"
  12765. ],
  12766. "calcite-popover": [
  12767. "calcite-action",
  12768. "calcite-icon"
  12769. ],
  12770. "calcite-scrim": [
  12771. "calcite-loader"
  12772. ]
  12773. }
  12774. },
  12775. {
  12776. "filePath": "./src/components/pick-list/pick-list.tsx",
  12777. "encapsulation": "shadow",
  12778. "tag": "calcite-pick-list",
  12779. "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",
  12780. "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.",
  12781. "docsTags": [
  12782. {
  12783. "name": "slot",
  12784. "text": "- A slot for adding `calcite-pick-list-item` elements or `calcite-pick-list-group` elements. Items are displayed as a vertical list."
  12785. },
  12786. {
  12787. "name": "slot",
  12788. "text": "menu-actions - A slot for adding a button + menu combo for performing actions like sorting."
  12789. }
  12790. ],
  12791. "usage": {
  12792. "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",
  12793. "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",
  12794. "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"
  12795. },
  12796. "props": [
  12797. {
  12798. "name": "disabled",
  12799. "type": "boolean",
  12800. "mutable": false,
  12801. "attr": "disabled",
  12802. "reflectToAttr": true,
  12803. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  12804. "docsTags": [],
  12805. "default": "false",
  12806. "values": [
  12807. {
  12808. "type": "boolean"
  12809. }
  12810. ],
  12811. "optional": false,
  12812. "required": false
  12813. },
  12814. {
  12815. "name": "filterEnabled",
  12816. "type": "boolean",
  12817. "mutable": false,
  12818. "attr": "filter-enabled",
  12819. "reflectToAttr": true,
  12820. "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.",
  12821. "docsTags": [],
  12822. "default": "false",
  12823. "values": [
  12824. {
  12825. "type": "boolean"
  12826. }
  12827. ],
  12828. "optional": false,
  12829. "required": false
  12830. },
  12831. {
  12832. "name": "filterPlaceholder",
  12833. "type": "string",
  12834. "mutable": false,
  12835. "attr": "filter-placeholder",
  12836. "reflectToAttr": true,
  12837. "docs": "Placeholder text for the filter input field.",
  12838. "docsTags": [],
  12839. "values": [
  12840. {
  12841. "type": "string"
  12842. }
  12843. ],
  12844. "optional": false,
  12845. "required": false
  12846. },
  12847. {
  12848. "name": "headingLevel",
  12849. "type": "1 | 2 | 3 | 4 | 5 | 6",
  12850. "mutable": false,
  12851. "attr": "heading-level",
  12852. "reflectToAttr": false,
  12853. "docs": "Number at which section headings should start for this component.",
  12854. "docsTags": [],
  12855. "values": [
  12856. {
  12857. "value": "1",
  12858. "type": "number"
  12859. },
  12860. {
  12861. "value": "2",
  12862. "type": "number"
  12863. },
  12864. {
  12865. "value": "3",
  12866. "type": "number"
  12867. },
  12868. {
  12869. "value": "4",
  12870. "type": "number"
  12871. },
  12872. {
  12873. "value": "5",
  12874. "type": "number"
  12875. },
  12876. {
  12877. "value": "6",
  12878. "type": "number"
  12879. }
  12880. ],
  12881. "optional": false,
  12882. "required": false
  12883. },
  12884. {
  12885. "name": "loading",
  12886. "type": "boolean",
  12887. "mutable": false,
  12888. "attr": "loading",
  12889. "reflectToAttr": true,
  12890. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  12891. "docsTags": [],
  12892. "default": "false",
  12893. "values": [
  12894. {
  12895. "type": "boolean"
  12896. }
  12897. ],
  12898. "optional": false,
  12899. "required": false
  12900. },
  12901. {
  12902. "name": "multiple",
  12903. "type": "boolean",
  12904. "mutable": false,
  12905. "attr": "multiple",
  12906. "reflectToAttr": true,
  12907. "docs": "Multiple works similar to standard radio buttons and checkboxes.\nWhen true, a user can select multiple items at a time.\nWhen false, only a single item can be selected at a time\nand selecting a new item will deselect any other selected items.",
  12908. "docsTags": [],
  12909. "default": "false",
  12910. "values": [
  12911. {
  12912. "type": "boolean"
  12913. }
  12914. ],
  12915. "optional": false,
  12916. "required": false
  12917. },
  12918. {
  12919. "name": "selectionFollowsFocus",
  12920. "type": "boolean",
  12921. "mutable": false,
  12922. "attr": "selection-follows-focus",
  12923. "reflectToAttr": false,
  12924. "docs": "When true and single-selection is enabled, the selection will change when navigating items via the keyboard.",
  12925. "docsTags": [],
  12926. "default": "false",
  12927. "values": [
  12928. {
  12929. "type": "boolean"
  12930. }
  12931. ],
  12932. "optional": false,
  12933. "required": false
  12934. }
  12935. ],
  12936. "methods": [
  12937. {
  12938. "name": "getSelectedItems",
  12939. "returns": {
  12940. "type": "Promise<Map<string, HTMLCalcitePickListItemElement>>",
  12941. "docs": ""
  12942. },
  12943. "signature": "getSelectedItems() => Promise<Map<string, HTMLCalcitePickListItemElement>>",
  12944. "parameters": [],
  12945. "docs": "Returns the currently selected items",
  12946. "docsTags": []
  12947. },
  12948. {
  12949. "name": "setFocus",
  12950. "returns": {
  12951. "type": "Promise<void>",
  12952. "docs": ""
  12953. },
  12954. "signature": "setFocus(focusId?: ListFocusId) => Promise<void>",
  12955. "parameters": [],
  12956. "docs": "Sets focus on the component.",
  12957. "docsTags": []
  12958. }
  12959. ],
  12960. "events": [
  12961. {
  12962. "event": "calciteListChange",
  12963. "detail": "Map<string, HTMLCalcitePickListItemElement>",
  12964. "bubbles": true,
  12965. "cancelable": true,
  12966. "composed": true,
  12967. "docs": "Emitted when any of the item selections have changed.",
  12968. "docsTags": []
  12969. }
  12970. ],
  12971. "listeners": [
  12972. {
  12973. "event": "calciteListItemRemove",
  12974. "capture": false,
  12975. "passive": false
  12976. },
  12977. {
  12978. "event": "calciteListItemChange",
  12979. "capture": false,
  12980. "passive": false
  12981. },
  12982. {
  12983. "event": "calciteListItemPropsChange",
  12984. "capture": false,
  12985. "passive": false
  12986. },
  12987. {
  12988. "event": "calciteListItemValueChange",
  12989. "capture": false,
  12990. "passive": false
  12991. },
  12992. {
  12993. "event": "focusout",
  12994. "capture": false,
  12995. "passive": false
  12996. }
  12997. ],
  12998. "styles": [],
  12999. "slots": [
  13000. {
  13001. "name": "",
  13002. "docs": "A slot for adding `calcite-pick-list-item` elements or `calcite-pick-list-group` elements. Items are displayed as a vertical list."
  13003. },
  13004. {
  13005. "name": "menu-actions",
  13006. "docs": "A slot for adding a button + menu combo for performing actions like sorting."
  13007. }
  13008. ],
  13009. "parts": [],
  13010. "dependents": [],
  13011. "dependencies": [
  13012. "calcite-filter",
  13013. "calcite-scrim"
  13014. ],
  13015. "dependencyGraph": {
  13016. "calcite-pick-list": [
  13017. "calcite-filter",
  13018. "calcite-scrim"
  13019. ],
  13020. "calcite-filter": [
  13021. "calcite-input"
  13022. ],
  13023. "calcite-input": [
  13024. "calcite-progress",
  13025. "calcite-icon"
  13026. ],
  13027. "calcite-scrim": [
  13028. "calcite-loader"
  13029. ]
  13030. }
  13031. },
  13032. {
  13033. "filePath": "./src/components/pick-list-group/pick-list-group.tsx",
  13034. "encapsulation": "shadow",
  13035. "tag": "calcite-pick-list-group",
  13036. "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",
  13037. "docs": "`calcite-pick-list-group` is a wrapper for multiple `calcite-pick-list-item`s and lives in `calcite-pick-list`.",
  13038. "docsTags": [
  13039. {
  13040. "name": "slot",
  13041. "text": "- A slot for adding `calcite-pick-list-item` elements."
  13042. }
  13043. ],
  13044. "usage": {},
  13045. "props": [
  13046. {
  13047. "name": "groupTitle",
  13048. "type": "string",
  13049. "mutable": false,
  13050. "attr": "group-title",
  13051. "reflectToAttr": true,
  13052. "docs": "The title used for all nested `calcite-pick-list` rows.",
  13053. "docsTags": [],
  13054. "values": [
  13055. {
  13056. "type": "string"
  13057. }
  13058. ],
  13059. "optional": false,
  13060. "required": false
  13061. },
  13062. {
  13063. "name": "headingLevel",
  13064. "type": "1 | 2 | 3 | 4 | 5 | 6",
  13065. "mutable": false,
  13066. "attr": "heading-level",
  13067. "reflectToAttr": false,
  13068. "docs": "Number at which section headings should start for this component.",
  13069. "docsTags": [],
  13070. "values": [
  13071. {
  13072. "value": "1",
  13073. "type": "number"
  13074. },
  13075. {
  13076. "value": "2",
  13077. "type": "number"
  13078. },
  13079. {
  13080. "value": "3",
  13081. "type": "number"
  13082. },
  13083. {
  13084. "value": "4",
  13085. "type": "number"
  13086. },
  13087. {
  13088. "value": "5",
  13089. "type": "number"
  13090. },
  13091. {
  13092. "value": "6",
  13093. "type": "number"
  13094. }
  13095. ],
  13096. "optional": false,
  13097. "required": false
  13098. }
  13099. ],
  13100. "methods": [],
  13101. "events": [],
  13102. "listeners": [],
  13103. "styles": [],
  13104. "slots": [
  13105. {
  13106. "name": "",
  13107. "docs": "A slot for adding `calcite-pick-list-item` elements."
  13108. }
  13109. ],
  13110. "parts": [],
  13111. "dependents": [],
  13112. "dependencies": [],
  13113. "dependencyGraph": {}
  13114. },
  13115. {
  13116. "filePath": "./src/components/pick-list-item/pick-list-item.tsx",
  13117. "encapsulation": "shadow",
  13118. "tag": "calcite-pick-list-item",
  13119. "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",
  13120. "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.",
  13121. "docsTags": [
  13122. {
  13123. "name": "slot",
  13124. "text": "actions-end - a slot for adding actions or content to the end side of the item."
  13125. },
  13126. {
  13127. "name": "slot",
  13128. "text": "actions-start - a slot for adding actions or content to the start side of the item."
  13129. }
  13130. ],
  13131. "usage": {},
  13132. "props": [
  13133. {
  13134. "name": "description",
  13135. "type": "string",
  13136. "mutable": false,
  13137. "attr": "description",
  13138. "reflectToAttr": true,
  13139. "docs": "An optional description for this item. This will appear below the label text.",
  13140. "docsTags": [],
  13141. "values": [
  13142. {
  13143. "type": "string"
  13144. }
  13145. ],
  13146. "optional": true,
  13147. "required": false
  13148. },
  13149. {
  13150. "name": "disableDeselect",
  13151. "type": "boolean",
  13152. "mutable": false,
  13153. "attr": "disable-deselect",
  13154. "reflectToAttr": false,
  13155. "docs": "When false, the item cannot be deselected by user interaction.",
  13156. "docsTags": [],
  13157. "default": "false",
  13158. "values": [
  13159. {
  13160. "type": "boolean"
  13161. }
  13162. ],
  13163. "optional": false,
  13164. "required": false
  13165. },
  13166. {
  13167. "name": "disabled",
  13168. "type": "boolean",
  13169. "mutable": false,
  13170. "attr": "disabled",
  13171. "reflectToAttr": true,
  13172. "docs": "When true, the item cannot be clicked and is visually muted.",
  13173. "docsTags": [],
  13174. "default": "false",
  13175. "values": [
  13176. {
  13177. "type": "boolean"
  13178. }
  13179. ],
  13180. "optional": false,
  13181. "required": false
  13182. },
  13183. {
  13184. "name": "icon",
  13185. "type": "ICON_TYPES.circle | ICON_TYPES.grip | ICON_TYPES.square",
  13186. "mutable": false,
  13187. "attr": "icon",
  13188. "reflectToAttr": true,
  13189. "docs": "Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.",
  13190. "docsTags": [
  13191. {
  13192. "name": "see",
  13193. "text": "[ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)"
  13194. }
  13195. ],
  13196. "default": "null",
  13197. "values": [
  13198. {
  13199. "type": "ICON_TYPES.circle"
  13200. },
  13201. {
  13202. "type": "ICON_TYPES.grip"
  13203. },
  13204. {
  13205. "type": "ICON_TYPES.square"
  13206. }
  13207. ],
  13208. "optional": true,
  13209. "required": false
  13210. },
  13211. {
  13212. "name": "intlRemove",
  13213. "type": "string",
  13214. "mutable": false,
  13215. "attr": "intl-remove",
  13216. "reflectToAttr": true,
  13217. "docs": "Used as an accessible label (aria-label) for the \"remove item\" action. Only applicable if removable is true.",
  13218. "docsTags": [
  13219. {
  13220. "name": "default",
  13221. "text": "\"Remove\""
  13222. }
  13223. ],
  13224. "default": "TEXT.remove",
  13225. "values": [
  13226. {
  13227. "type": "string"
  13228. }
  13229. ],
  13230. "optional": false,
  13231. "required": false
  13232. },
  13233. {
  13234. "name": "label",
  13235. "type": "string",
  13236. "mutable": false,
  13237. "attr": "label",
  13238. "reflectToAttr": true,
  13239. "docs": "The main label for this item. This will appear next to the icon.",
  13240. "docsTags": [],
  13241. "values": [
  13242. {
  13243. "type": "string"
  13244. }
  13245. ],
  13246. "optional": false,
  13247. "required": false
  13248. },
  13249. {
  13250. "name": "metadata",
  13251. "type": "{ [x: string]: unknown; }",
  13252. "mutable": false,
  13253. "reflectToAttr": false,
  13254. "docs": "Used to provide additional metadata to an item, primarily used when the parent list has a filter.",
  13255. "docsTags": [],
  13256. "values": [
  13257. {
  13258. "type": "{ [x: string]: unknown; }"
  13259. }
  13260. ],
  13261. "optional": true,
  13262. "required": false
  13263. },
  13264. {
  13265. "name": "removable",
  13266. "type": "boolean",
  13267. "mutable": false,
  13268. "attr": "removable",
  13269. "reflectToAttr": true,
  13270. "docs": "Set this to true to display a remove action that removes the item from the list.",
  13271. "docsTags": [],
  13272. "default": "false",
  13273. "values": [
  13274. {
  13275. "type": "boolean"
  13276. }
  13277. ],
  13278. "optional": true,
  13279. "required": false
  13280. },
  13281. {
  13282. "name": "selected",
  13283. "type": "boolean",
  13284. "mutable": true,
  13285. "attr": "selected",
  13286. "reflectToAttr": true,
  13287. "docs": "Set this to true to pre-select an item. Toggles when an item is checked/unchecked.",
  13288. "docsTags": [],
  13289. "default": "false",
  13290. "values": [
  13291. {
  13292. "type": "boolean"
  13293. }
  13294. ],
  13295. "optional": false,
  13296. "required": false
  13297. },
  13298. {
  13299. "name": "value",
  13300. "type": "any",
  13301. "mutable": false,
  13302. "attr": "value",
  13303. "reflectToAttr": false,
  13304. "docs": "The item's associated value.",
  13305. "docsTags": [],
  13306. "values": [
  13307. {
  13308. "type": "any"
  13309. }
  13310. ],
  13311. "optional": false,
  13312. "required": true
  13313. }
  13314. ],
  13315. "methods": [
  13316. {
  13317. "name": "setFocus",
  13318. "returns": {
  13319. "type": "Promise<void>",
  13320. "docs": ""
  13321. },
  13322. "signature": "setFocus() => Promise<void>",
  13323. "parameters": [],
  13324. "docs": "Sets focus on the component.",
  13325. "docsTags": []
  13326. },
  13327. {
  13328. "name": "toggleSelected",
  13329. "returns": {
  13330. "type": "Promise<void>",
  13331. "docs": ""
  13332. },
  13333. "signature": "toggleSelected(coerce?: boolean) => Promise<void>",
  13334. "parameters": [],
  13335. "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.",
  13336. "docsTags": []
  13337. }
  13338. ],
  13339. "events": [
  13340. {
  13341. "event": "calciteListItemChange",
  13342. "detail": "{ item: HTMLCalcitePickListItemElement; value: any; selected: boolean; shiftPressed: boolean; }",
  13343. "bubbles": true,
  13344. "cancelable": true,
  13345. "composed": true,
  13346. "docs": "Emitted whenever the item is selected or unselected.",
  13347. "docsTags": []
  13348. },
  13349. {
  13350. "event": "calciteListItemRemove",
  13351. "detail": "void",
  13352. "bubbles": true,
  13353. "cancelable": true,
  13354. "composed": true,
  13355. "docs": "Emitted whenever the remove button is pressed.",
  13356. "docsTags": []
  13357. }
  13358. ],
  13359. "listeners": [],
  13360. "styles": [],
  13361. "slots": [
  13362. {
  13363. "name": "actions-end",
  13364. "docs": "a slot for adding actions or content to the end side of the item."
  13365. },
  13366. {
  13367. "name": "actions-start",
  13368. "docs": "a slot for adding actions or content to the start side of the item."
  13369. }
  13370. ],
  13371. "parts": [],
  13372. "dependents": [
  13373. "calcite-value-list-item"
  13374. ],
  13375. "dependencies": [
  13376. "calcite-icon",
  13377. "calcite-action"
  13378. ],
  13379. "dependencyGraph": {
  13380. "calcite-pick-list-item": [
  13381. "calcite-icon",
  13382. "calcite-action"
  13383. ],
  13384. "calcite-action": [
  13385. "calcite-loader",
  13386. "calcite-icon"
  13387. ],
  13388. "calcite-value-list-item": [
  13389. "calcite-pick-list-item"
  13390. ]
  13391. }
  13392. },
  13393. {
  13394. "filePath": "./src/components/popover/popover.tsx",
  13395. "encapsulation": "shadow",
  13396. "tag": "calcite-popover",
  13397. "readme": "# calcite-popover\n",
  13398. "docs": "",
  13399. "docsTags": [
  13400. {
  13401. "name": "slot",
  13402. "text": "- A slot for adding custom content."
  13403. }
  13404. ],
  13405. "usage": {
  13406. "Manager": "```html\n<calcite-popover reference-element=\"popover-button\">Hello! I am some popover content!</calcite-popover>\n\n<calcite-popover-manager\n ><calcite-button id=\"popover-button\">Clickable popover</calcite-button></calcite-popover-manager\n>\n```\n"
  13407. },
  13408. "props": [
  13409. {
  13410. "name": "autoClose",
  13411. "type": "boolean",
  13412. "mutable": false,
  13413. "attr": "auto-close",
  13414. "reflectToAttr": true,
  13415. "docs": "Automatically closes any currently open popovers when clicking outside of a popover.",
  13416. "docsTags": [],
  13417. "default": "false",
  13418. "values": [
  13419. {
  13420. "type": "boolean"
  13421. }
  13422. ],
  13423. "optional": false,
  13424. "required": false
  13425. },
  13426. {
  13427. "name": "closeButton",
  13428. "type": "boolean",
  13429. "mutable": false,
  13430. "attr": "close-button",
  13431. "reflectToAttr": true,
  13432. "docs": "Display a close button within the Popover.",
  13433. "docsTags": [
  13434. {
  13435. "name": "deprecated",
  13436. "text": "use dismissible instead."
  13437. }
  13438. ],
  13439. "default": "false",
  13440. "deprecation": "use dismissible instead.",
  13441. "values": [
  13442. {
  13443. "type": "boolean"
  13444. }
  13445. ],
  13446. "optional": false,
  13447. "required": false
  13448. },
  13449. {
  13450. "name": "disableFlip",
  13451. "type": "boolean",
  13452. "mutable": false,
  13453. "attr": "disable-flip",
  13454. "reflectToAttr": true,
  13455. "docs": "Prevents flipping the popover's placement when it starts to overlap its reference element.",
  13456. "docsTags": [],
  13457. "default": "false",
  13458. "values": [
  13459. {
  13460. "type": "boolean"
  13461. }
  13462. ],
  13463. "optional": false,
  13464. "required": false
  13465. },
  13466. {
  13467. "name": "disablePointer",
  13468. "type": "boolean",
  13469. "mutable": false,
  13470. "attr": "disable-pointer",
  13471. "reflectToAttr": true,
  13472. "docs": "Removes the caret pointer.",
  13473. "docsTags": [],
  13474. "default": "false",
  13475. "values": [
  13476. {
  13477. "type": "boolean"
  13478. }
  13479. ],
  13480. "optional": false,
  13481. "required": false
  13482. },
  13483. {
  13484. "name": "dismissible",
  13485. "type": "boolean",
  13486. "mutable": false,
  13487. "attr": "dismissible",
  13488. "reflectToAttr": true,
  13489. "docs": "Display a close button within the Popover.",
  13490. "docsTags": [],
  13491. "default": "false",
  13492. "values": [
  13493. {
  13494. "type": "boolean"
  13495. }
  13496. ],
  13497. "optional": false,
  13498. "required": false
  13499. },
  13500. {
  13501. "name": "flipPlacements",
  13502. "type": "ComputedPlacement[]",
  13503. "mutable": false,
  13504. "reflectToAttr": false,
  13505. "docs": "Defines the available placements that can be used when a flip occurs.",
  13506. "docsTags": [],
  13507. "values": [
  13508. {
  13509. "type": "ComputedPlacement[]"
  13510. }
  13511. ],
  13512. "optional": true,
  13513. "required": false
  13514. },
  13515. {
  13516. "name": "heading",
  13517. "type": "string",
  13518. "mutable": false,
  13519. "attr": "heading",
  13520. "reflectToAttr": false,
  13521. "docs": "Heading text.",
  13522. "docsTags": [],
  13523. "values": [
  13524. {
  13525. "type": "string"
  13526. }
  13527. ],
  13528. "optional": true,
  13529. "required": false
  13530. },
  13531. {
  13532. "name": "headingLevel",
  13533. "type": "1 | 2 | 3 | 4 | 5 | 6",
  13534. "mutable": false,
  13535. "attr": "heading-level",
  13536. "reflectToAttr": false,
  13537. "docs": "Number at which section headings should start for this component.",
  13538. "docsTags": [],
  13539. "values": [
  13540. {
  13541. "value": "1",
  13542. "type": "number"
  13543. },
  13544. {
  13545. "value": "2",
  13546. "type": "number"
  13547. },
  13548. {
  13549. "value": "3",
  13550. "type": "number"
  13551. },
  13552. {
  13553. "value": "4",
  13554. "type": "number"
  13555. },
  13556. {
  13557. "value": "5",
  13558. "type": "number"
  13559. },
  13560. {
  13561. "value": "6",
  13562. "type": "number"
  13563. }
  13564. ],
  13565. "optional": false,
  13566. "required": false
  13567. },
  13568. {
  13569. "name": "intlClose",
  13570. "type": "string",
  13571. "mutable": false,
  13572. "attr": "intl-close",
  13573. "reflectToAttr": false,
  13574. "docs": "Text for close button.",
  13575. "docsTags": [
  13576. {
  13577. "name": "default",
  13578. "text": "\"Close\""
  13579. }
  13580. ],
  13581. "default": "TEXT.close",
  13582. "values": [
  13583. {
  13584. "type": "string"
  13585. }
  13586. ],
  13587. "optional": false,
  13588. "required": false
  13589. },
  13590. {
  13591. "name": "label",
  13592. "type": "string",
  13593. "mutable": false,
  13594. "attr": "label",
  13595. "reflectToAttr": false,
  13596. "docs": "Accessible name for the component",
  13597. "docsTags": [],
  13598. "values": [
  13599. {
  13600. "type": "string"
  13601. }
  13602. ],
  13603. "optional": false,
  13604. "required": true
  13605. },
  13606. {
  13607. "name": "offsetDistance",
  13608. "type": "number",
  13609. "mutable": false,
  13610. "attr": "offset-distance",
  13611. "reflectToAttr": true,
  13612. "docs": "Offset the position of the popover away from the reference element.",
  13613. "docsTags": [
  13614. {
  13615. "name": "default",
  13616. "text": "6"
  13617. }
  13618. ],
  13619. "default": "defaultOffsetDistance",
  13620. "values": [
  13621. {
  13622. "type": "number"
  13623. }
  13624. ],
  13625. "optional": false,
  13626. "required": false
  13627. },
  13628. {
  13629. "name": "offsetSkidding",
  13630. "type": "number",
  13631. "mutable": false,
  13632. "attr": "offset-skidding",
  13633. "reflectToAttr": true,
  13634. "docs": "Offset the position of the popover along the reference element.",
  13635. "docsTags": [],
  13636. "default": "0",
  13637. "values": [
  13638. {
  13639. "type": "number"
  13640. }
  13641. ],
  13642. "optional": false,
  13643. "required": false
  13644. },
  13645. {
  13646. "name": "open",
  13647. "type": "boolean",
  13648. "mutable": true,
  13649. "attr": "open",
  13650. "reflectToAttr": true,
  13651. "docs": "Display and position the component.",
  13652. "docsTags": [],
  13653. "default": "false",
  13654. "values": [
  13655. {
  13656. "type": "boolean"
  13657. }
  13658. ],
  13659. "optional": false,
  13660. "required": false
  13661. },
  13662. {
  13663. "name": "overlayPositioning",
  13664. "type": "\"absolute\" | \"fixed\"",
  13665. "mutable": false,
  13666. "attr": "overlay-positioning",
  13667. "reflectToAttr": false,
  13668. "docs": "Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.",
  13669. "docsTags": [],
  13670. "default": "\"absolute\"",
  13671. "values": [
  13672. {
  13673. "value": "absolute",
  13674. "type": "string"
  13675. },
  13676. {
  13677. "value": "fixed",
  13678. "type": "string"
  13679. }
  13680. ],
  13681. "optional": false,
  13682. "required": false
  13683. },
  13684. {
  13685. "name": "placement",
  13686. "type": "Placement | PlacementRtl | VariationRtl",
  13687. "mutable": false,
  13688. "attr": "placement",
  13689. "reflectToAttr": true,
  13690. "docs": "Determines where the component will be positioned relative to the referenceElement.",
  13691. "docsTags": [
  13692. {
  13693. "name": "see",
  13694. "text": "[PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)"
  13695. }
  13696. ],
  13697. "default": "defaultPopoverPlacement",
  13698. "values": [
  13699. {
  13700. "type": "Placement"
  13701. },
  13702. {
  13703. "type": "PlacementRtl"
  13704. },
  13705. {
  13706. "type": "VariationRtl"
  13707. }
  13708. ],
  13709. "optional": false,
  13710. "required": false
  13711. },
  13712. {
  13713. "name": "referenceElement",
  13714. "type": "HTMLElement | string",
  13715. "mutable": false,
  13716. "attr": "reference-element",
  13717. "reflectToAttr": false,
  13718. "docs": "Reference HTMLElement used to position this component according to the placement property. As a convenience, a string ID of the reference element can be used. However, setting this property to use an HTMLElement is preferred so that the component does not need to query the DOM for the referenceElement.",
  13719. "docsTags": [],
  13720. "values": [
  13721. {
  13722. "type": "HTMLElement"
  13723. },
  13724. {
  13725. "type": "string"
  13726. }
  13727. ],
  13728. "optional": false,
  13729. "required": true
  13730. }
  13731. ],
  13732. "methods": [
  13733. {
  13734. "name": "reposition",
  13735. "returns": {
  13736. "type": "Promise<void>",
  13737. "docs": ""
  13738. },
  13739. "signature": "reposition() => Promise<void>",
  13740. "parameters": [],
  13741. "docs": "Updates the position of the component.",
  13742. "docsTags": []
  13743. },
  13744. {
  13745. "name": "setFocus",
  13746. "returns": {
  13747. "type": "Promise<void>",
  13748. "docs": ""
  13749. },
  13750. "signature": "setFocus(focusId?: \"close-button\") => Promise<void>",
  13751. "parameters": [],
  13752. "docs": "Sets focus on the component.",
  13753. "docsTags": []
  13754. },
  13755. {
  13756. "name": "toggle",
  13757. "returns": {
  13758. "type": "Promise<void>",
  13759. "docs": ""
  13760. },
  13761. "signature": "toggle(value?: boolean) => Promise<void>",
  13762. "parameters": [],
  13763. "docs": "Toggles the popover's open property.",
  13764. "docsTags": []
  13765. }
  13766. ],
  13767. "events": [
  13768. {
  13769. "event": "calcitePopoverClose",
  13770. "detail": "any",
  13771. "bubbles": true,
  13772. "cancelable": true,
  13773. "composed": true,
  13774. "docs": "Fired when the popover is closed",
  13775. "docsTags": []
  13776. },
  13777. {
  13778. "event": "calcitePopoverOpen",
  13779. "detail": "any",
  13780. "bubbles": true,
  13781. "cancelable": true,
  13782. "composed": true,
  13783. "docs": "Fired when the popover is opened",
  13784. "docsTags": []
  13785. }
  13786. ],
  13787. "listeners": [],
  13788. "styles": [],
  13789. "slots": [
  13790. {
  13791. "name": "",
  13792. "docs": "A slot for adding custom content."
  13793. }
  13794. ],
  13795. "parts": [],
  13796. "dependents": [
  13797. "calcite-action-menu",
  13798. "calcite-input-time-picker"
  13799. ],
  13800. "dependencies": [
  13801. "calcite-action",
  13802. "calcite-icon"
  13803. ],
  13804. "dependencyGraph": {
  13805. "calcite-popover": [
  13806. "calcite-action",
  13807. "calcite-icon"
  13808. ],
  13809. "calcite-action": [
  13810. "calcite-loader",
  13811. "calcite-icon"
  13812. ],
  13813. "calcite-action-menu": [
  13814. "calcite-popover"
  13815. ],
  13816. "calcite-input-time-picker": [
  13817. "calcite-popover"
  13818. ]
  13819. }
  13820. },
  13821. {
  13822. "filePath": "./src/components/popover-manager/popover-manager.tsx",
  13823. "encapsulation": "shadow",
  13824. "tag": "calcite-popover-manager",
  13825. "readme": "# calcite-popover-manager\n",
  13826. "docs": "",
  13827. "docsTags": [
  13828. {
  13829. "name": "slot",
  13830. "text": "- A slot for adding elements that reference a 'calcite-popover' by the 'selector' property."
  13831. },
  13832. {
  13833. "name": "deprecated",
  13834. "text": "No longer required for popover usage."
  13835. }
  13836. ],
  13837. "usage": {},
  13838. "props": [
  13839. {
  13840. "name": "autoClose",
  13841. "type": "boolean",
  13842. "mutable": false,
  13843. "attr": "auto-close",
  13844. "reflectToAttr": true,
  13845. "docs": "Automatically closes any currently open popovers when clicking outside of a popover.",
  13846. "docsTags": [],
  13847. "default": "false",
  13848. "values": [
  13849. {
  13850. "type": "boolean"
  13851. }
  13852. ],
  13853. "optional": false,
  13854. "required": false
  13855. },
  13856. {
  13857. "name": "selector",
  13858. "type": "string",
  13859. "mutable": false,
  13860. "attr": "selector",
  13861. "reflectToAttr": false,
  13862. "docs": "CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.",
  13863. "docsTags": [
  13864. {
  13865. "name": "default",
  13866. "text": "`[data-calcite-popover-reference]`"
  13867. }
  13868. ],
  13869. "default": "\"[data-calcite-popover-reference]\"",
  13870. "values": [
  13871. {
  13872. "type": "string"
  13873. }
  13874. ],
  13875. "optional": false,
  13876. "required": false
  13877. }
  13878. ],
  13879. "methods": [],
  13880. "events": [],
  13881. "listeners": [],
  13882. "styles": [],
  13883. "slots": [
  13884. {
  13885. "name": "",
  13886. "docs": "A slot for adding elements that reference a 'calcite-popover' by the 'selector' property."
  13887. }
  13888. ],
  13889. "parts": [],
  13890. "dependents": [],
  13891. "dependencies": [],
  13892. "dependencyGraph": {},
  13893. "deprecation": "No longer required for popover usage."
  13894. },
  13895. {
  13896. "filePath": "./src/components/progress/progress.tsx",
  13897. "encapsulation": "shadow",
  13898. "tag": "calcite-progress",
  13899. "readme": "# calcite-progress\n\nThe `calcite-progress` component is used to show progress on some async task to the user.\n",
  13900. "docs": "The `calcite-progress` component is used to show progress on some async task to the user.",
  13901. "docsTags": [],
  13902. "usage": {
  13903. "Basic": "```html\n<calcite-progress type=\"indeterminate\"></calcite-progress>\n```\n"
  13904. },
  13905. "props": [
  13906. {
  13907. "name": "label",
  13908. "type": "string",
  13909. "mutable": false,
  13910. "attr": "label",
  13911. "reflectToAttr": false,
  13912. "docs": "Label for the progress indicator",
  13913. "docsTags": [],
  13914. "values": [
  13915. {
  13916. "type": "string"
  13917. }
  13918. ],
  13919. "optional": false,
  13920. "required": false
  13921. },
  13922. {
  13923. "name": "reversed",
  13924. "type": "boolean",
  13925. "mutable": false,
  13926. "attr": "reversed",
  13927. "reflectToAttr": false,
  13928. "docs": "For indeterminate progress bars, reverse the animation direction",
  13929. "docsTags": [],
  13930. "default": "false",
  13931. "values": [
  13932. {
  13933. "type": "boolean"
  13934. }
  13935. ],
  13936. "optional": false,
  13937. "required": false
  13938. },
  13939. {
  13940. "name": "text",
  13941. "type": "string",
  13942. "mutable": false,
  13943. "attr": "text",
  13944. "reflectToAttr": false,
  13945. "docs": "Text to display for the progress indicator",
  13946. "docsTags": [],
  13947. "values": [
  13948. {
  13949. "type": "string"
  13950. }
  13951. ],
  13952. "optional": false,
  13953. "required": false
  13954. },
  13955. {
  13956. "name": "type",
  13957. "type": "\"determinate\" | \"indeterminate\"",
  13958. "mutable": false,
  13959. "attr": "type",
  13960. "reflectToAttr": false,
  13961. "docs": "Use indeterminate if finding actual progress value is impossible",
  13962. "docsTags": [],
  13963. "default": "\"determinate\"",
  13964. "values": [
  13965. {
  13966. "value": "determinate",
  13967. "type": "string"
  13968. },
  13969. {
  13970. "value": "indeterminate",
  13971. "type": "string"
  13972. }
  13973. ],
  13974. "optional": false,
  13975. "required": false
  13976. },
  13977. {
  13978. "name": "value",
  13979. "type": "number",
  13980. "mutable": false,
  13981. "attr": "value",
  13982. "reflectToAttr": false,
  13983. "docs": "Fraction completed, in the range of 0 - 1.0",
  13984. "docsTags": [],
  13985. "default": "0",
  13986. "values": [
  13987. {
  13988. "type": "number"
  13989. }
  13990. ],
  13991. "optional": false,
  13992. "required": false
  13993. }
  13994. ],
  13995. "methods": [],
  13996. "events": [],
  13997. "listeners": [],
  13998. "styles": [],
  13999. "slots": [],
  14000. "parts": [],
  14001. "dependents": [
  14002. "calcite-input"
  14003. ],
  14004. "dependencies": [],
  14005. "dependencyGraph": {
  14006. "calcite-input": [
  14007. "calcite-progress"
  14008. ]
  14009. }
  14010. },
  14011. {
  14012. "filePath": "./src/components/radio-button/radio-button.tsx",
  14013. "encapsulation": "shadow",
  14014. "tag": "calcite-radio-button",
  14015. "readme": "# calcite-radio-button\n",
  14016. "docs": "",
  14017. "docsTags": [],
  14018. "usage": {
  14019. "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"
  14020. },
  14021. "props": [
  14022. {
  14023. "name": "checked",
  14024. "type": "boolean",
  14025. "mutable": true,
  14026. "attr": "checked",
  14027. "reflectToAttr": true,
  14028. "docs": "The checked state of the radio button.",
  14029. "docsTags": [],
  14030. "default": "false",
  14031. "values": [
  14032. {
  14033. "type": "boolean"
  14034. }
  14035. ],
  14036. "optional": false,
  14037. "required": false
  14038. },
  14039. {
  14040. "name": "disabled",
  14041. "type": "boolean",
  14042. "mutable": false,
  14043. "attr": "disabled",
  14044. "reflectToAttr": true,
  14045. "docs": "The disabled state of the radio button.",
  14046. "docsTags": [],
  14047. "default": "false",
  14048. "values": [
  14049. {
  14050. "type": "boolean"
  14051. }
  14052. ],
  14053. "optional": false,
  14054. "required": false
  14055. },
  14056. {
  14057. "name": "guid",
  14058. "type": "string",
  14059. "mutable": true,
  14060. "attr": "guid",
  14061. "reflectToAttr": true,
  14062. "docs": "The id attribute of the radio button. When omitted, a globally unique identifier is used.",
  14063. "docsTags": [],
  14064. "values": [
  14065. {
  14066. "type": "string"
  14067. }
  14068. ],
  14069. "optional": false,
  14070. "required": false
  14071. },
  14072. {
  14073. "name": "hidden",
  14074. "type": "boolean",
  14075. "mutable": false,
  14076. "attr": "hidden",
  14077. "reflectToAttr": true,
  14078. "docs": "The radio button's hidden status. When a radio button is hidden it is not focusable or checkable.",
  14079. "docsTags": [],
  14080. "default": "false",
  14081. "values": [
  14082. {
  14083. "type": "boolean"
  14084. }
  14085. ],
  14086. "optional": false,
  14087. "required": false
  14088. },
  14089. {
  14090. "name": "name",
  14091. "type": "string",
  14092. "mutable": false,
  14093. "attr": "name",
  14094. "reflectToAttr": true,
  14095. "docs": "The name of the radio button. `name` is passed as a property automatically from `calcite-radio-button-group`.",
  14096. "docsTags": [],
  14097. "values": [
  14098. {
  14099. "type": "string"
  14100. }
  14101. ],
  14102. "optional": false,
  14103. "required": false
  14104. },
  14105. {
  14106. "name": "required",
  14107. "type": "boolean",
  14108. "mutable": false,
  14109. "attr": "required",
  14110. "reflectToAttr": true,
  14111. "docs": "Requires that a value is selected for the radio button group before the parent form will submit.",
  14112. "docsTags": [],
  14113. "default": "false",
  14114. "values": [
  14115. {
  14116. "type": "boolean"
  14117. }
  14118. ],
  14119. "optional": false,
  14120. "required": false
  14121. },
  14122. {
  14123. "name": "scale",
  14124. "type": "\"l\" | \"m\" | \"s\"",
  14125. "mutable": false,
  14126. "attr": "scale",
  14127. "reflectToAttr": true,
  14128. "docs": "The scale (size) of the radio button. `scale` is passed as a property automatically from `calcite-radio-button-group`.",
  14129. "docsTags": [],
  14130. "default": "\"m\"",
  14131. "values": [
  14132. {
  14133. "value": "l",
  14134. "type": "string"
  14135. },
  14136. {
  14137. "value": "m",
  14138. "type": "string"
  14139. },
  14140. {
  14141. "value": "s",
  14142. "type": "string"
  14143. }
  14144. ],
  14145. "optional": false,
  14146. "required": false
  14147. },
  14148. {
  14149. "name": "value",
  14150. "type": "any",
  14151. "mutable": true,
  14152. "attr": "value",
  14153. "reflectToAttr": false,
  14154. "docs": "The value of the radio button.",
  14155. "docsTags": [],
  14156. "values": [
  14157. {
  14158. "type": "any"
  14159. }
  14160. ],
  14161. "optional": false,
  14162. "required": true
  14163. }
  14164. ],
  14165. "methods": [
  14166. {
  14167. "name": "setFocus",
  14168. "returns": {
  14169. "type": "Promise<void>",
  14170. "docs": ""
  14171. },
  14172. "signature": "setFocus() => Promise<void>",
  14173. "parameters": [],
  14174. "docs": "Sets focus on the component.",
  14175. "docsTags": []
  14176. }
  14177. ],
  14178. "events": [
  14179. {
  14180. "event": "calciteRadioButtonChange",
  14181. "detail": "any",
  14182. "bubbles": true,
  14183. "cancelable": true,
  14184. "composed": true,
  14185. "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.",
  14186. "docsTags": []
  14187. }
  14188. ],
  14189. "listeners": [
  14190. {
  14191. "event": "mouseenter",
  14192. "capture": false,
  14193. "passive": true
  14194. },
  14195. {
  14196. "event": "mouseleave",
  14197. "capture": false,
  14198. "passive": true
  14199. }
  14200. ],
  14201. "styles": [],
  14202. "slots": [],
  14203. "parts": [],
  14204. "dependents": [],
  14205. "dependencies": [],
  14206. "dependencyGraph": {}
  14207. },
  14208. {
  14209. "filePath": "./src/components/radio-button-group/radio-button-group.tsx",
  14210. "encapsulation": "shadow",
  14211. "tag": "calcite-radio-button-group",
  14212. "readme": "# calcite-radio-button-group\n",
  14213. "docs": "",
  14214. "docsTags": [
  14215. {
  14216. "name": "slot",
  14217. "text": "- A slot for adding `calcite-radio-button`s."
  14218. }
  14219. ],
  14220. "usage": {
  14221. "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",
  14222. "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",
  14223. "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"
  14224. },
  14225. "props": [
  14226. {
  14227. "name": "disabled",
  14228. "type": "boolean",
  14229. "mutable": false,
  14230. "attr": "disabled",
  14231. "reflectToAttr": true,
  14232. "docs": "The disabled state of the radio button group.",
  14233. "docsTags": [],
  14234. "default": "false",
  14235. "values": [
  14236. {
  14237. "type": "boolean"
  14238. }
  14239. ],
  14240. "optional": false,
  14241. "required": false
  14242. },
  14243. {
  14244. "name": "hidden",
  14245. "type": "boolean",
  14246. "mutable": false,
  14247. "attr": "hidden",
  14248. "reflectToAttr": true,
  14249. "docs": "The radio button group's hidden status. When a radio button group is hidden none of its options are focusable or checkable.",
  14250. "docsTags": [],
  14251. "default": "false",
  14252. "values": [
  14253. {
  14254. "type": "boolean"
  14255. }
  14256. ],
  14257. "optional": false,
  14258. "required": false
  14259. },
  14260. {
  14261. "name": "layout",
  14262. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  14263. "mutable": false,
  14264. "attr": "layout",
  14265. "reflectToAttr": true,
  14266. "docs": "The layout direction of the radio buttons in a group.",
  14267. "docsTags": [],
  14268. "default": "\"horizontal\"",
  14269. "values": [
  14270. {
  14271. "value": "grid",
  14272. "type": "string"
  14273. },
  14274. {
  14275. "value": "horizontal",
  14276. "type": "string"
  14277. },
  14278. {
  14279. "value": "vertical",
  14280. "type": "string"
  14281. }
  14282. ],
  14283. "optional": false,
  14284. "required": false
  14285. },
  14286. {
  14287. "name": "name",
  14288. "type": "string",
  14289. "mutable": false,
  14290. "attr": "name",
  14291. "reflectToAttr": true,
  14292. "docs": "The name of the radio button group. `name` must be unique to other radio button group instances.",
  14293. "docsTags": [],
  14294. "values": [
  14295. {
  14296. "type": "string"
  14297. }
  14298. ],
  14299. "optional": false,
  14300. "required": true
  14301. },
  14302. {
  14303. "name": "required",
  14304. "type": "boolean",
  14305. "mutable": false,
  14306. "attr": "required",
  14307. "reflectToAttr": true,
  14308. "docs": "Requires that a value is selected for the radio button group before the parent form will submit.",
  14309. "docsTags": [],
  14310. "default": "false",
  14311. "values": [
  14312. {
  14313. "type": "boolean"
  14314. }
  14315. ],
  14316. "optional": false,
  14317. "required": false
  14318. },
  14319. {
  14320. "name": "scale",
  14321. "type": "\"l\" | \"m\" | \"s\"",
  14322. "mutable": false,
  14323. "attr": "scale",
  14324. "reflectToAttr": true,
  14325. "docs": "The scale (size) of the radio button group.",
  14326. "docsTags": [],
  14327. "default": "\"m\"",
  14328. "values": [
  14329. {
  14330. "value": "l",
  14331. "type": "string"
  14332. },
  14333. {
  14334. "value": "m",
  14335. "type": "string"
  14336. },
  14337. {
  14338. "value": "s",
  14339. "type": "string"
  14340. }
  14341. ],
  14342. "optional": false,
  14343. "required": false
  14344. }
  14345. ],
  14346. "methods": [],
  14347. "events": [
  14348. {
  14349. "event": "calciteRadioButtonGroupChange",
  14350. "detail": "any",
  14351. "bubbles": true,
  14352. "cancelable": true,
  14353. "composed": true,
  14354. "docs": "Emitted when the radio button group has changed.",
  14355. "docsTags": []
  14356. }
  14357. ],
  14358. "listeners": [
  14359. {
  14360. "event": "calciteRadioButtonChange",
  14361. "capture": false,
  14362. "passive": false
  14363. }
  14364. ],
  14365. "styles": [],
  14366. "slots": [
  14367. {
  14368. "name": "",
  14369. "docs": "A slot for adding `calcite-radio-button`s."
  14370. }
  14371. ],
  14372. "parts": [],
  14373. "dependents": [],
  14374. "dependencies": [],
  14375. "dependencyGraph": {}
  14376. },
  14377. {
  14378. "filePath": "./src/components/radio-group/radio-group.tsx",
  14379. "encapsulation": "shadow",
  14380. "tag": "calcite-radio-group",
  14381. "readme": "# calcite-radio-group\n",
  14382. "docs": "",
  14383. "docsTags": [
  14384. {
  14385. "name": "slot",
  14386. "text": "- A slot for adding `calcite-radio-group-item`s."
  14387. }
  14388. ],
  14389. "usage": {
  14390. "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"
  14391. },
  14392. "props": [
  14393. {
  14394. "name": "appearance",
  14395. "type": "\"outline\" | \"solid\"",
  14396. "mutable": false,
  14397. "attr": "appearance",
  14398. "reflectToAttr": true,
  14399. "docs": "specify the appearance style of the radio group, defaults to solid.",
  14400. "docsTags": [],
  14401. "default": "\"solid\"",
  14402. "values": [
  14403. {
  14404. "value": "outline",
  14405. "type": "string"
  14406. },
  14407. {
  14408. "value": "solid",
  14409. "type": "string"
  14410. }
  14411. ],
  14412. "optional": false,
  14413. "required": false
  14414. },
  14415. {
  14416. "name": "disabled",
  14417. "type": "boolean",
  14418. "mutable": false,
  14419. "attr": "disabled",
  14420. "reflectToAttr": true,
  14421. "docs": "is the radio group disabled",
  14422. "docsTags": [],
  14423. "default": "false",
  14424. "values": [
  14425. {
  14426. "type": "boolean"
  14427. }
  14428. ],
  14429. "optional": false,
  14430. "required": false
  14431. },
  14432. {
  14433. "name": "layout",
  14434. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  14435. "mutable": false,
  14436. "attr": "layout",
  14437. "reflectToAttr": true,
  14438. "docs": "specify the layout of the radio group, defaults to horizontal",
  14439. "docsTags": [],
  14440. "default": "\"horizontal\"",
  14441. "values": [
  14442. {
  14443. "value": "grid",
  14444. "type": "string"
  14445. },
  14446. {
  14447. "value": "horizontal",
  14448. "type": "string"
  14449. },
  14450. {
  14451. "value": "vertical",
  14452. "type": "string"
  14453. }
  14454. ],
  14455. "optional": false,
  14456. "required": false
  14457. },
  14458. {
  14459. "name": "name",
  14460. "type": "string",
  14461. "mutable": false,
  14462. "attr": "name",
  14463. "reflectToAttr": false,
  14464. "docs": "The group's name. Gets submitted with the form.",
  14465. "docsTags": [],
  14466. "values": [
  14467. {
  14468. "type": "string"
  14469. }
  14470. ],
  14471. "optional": false,
  14472. "required": false
  14473. },
  14474. {
  14475. "name": "scale",
  14476. "type": "\"l\" | \"m\" | \"s\"",
  14477. "mutable": false,
  14478. "attr": "scale",
  14479. "reflectToAttr": true,
  14480. "docs": "The scale of the radio group",
  14481. "docsTags": [],
  14482. "default": "\"m\"",
  14483. "values": [
  14484. {
  14485. "value": "l",
  14486. "type": "string"
  14487. },
  14488. {
  14489. "value": "m",
  14490. "type": "string"
  14491. },
  14492. {
  14493. "value": "s",
  14494. "type": "string"
  14495. }
  14496. ],
  14497. "optional": false,
  14498. "required": false
  14499. },
  14500. {
  14501. "name": "selectedItem",
  14502. "type": "HTMLCalciteRadioGroupItemElement",
  14503. "mutable": true,
  14504. "reflectToAttr": false,
  14505. "docs": "The group's selected item.",
  14506. "docsTags": [],
  14507. "values": [
  14508. {
  14509. "type": "HTMLCalciteRadioGroupItemElement"
  14510. }
  14511. ],
  14512. "optional": false,
  14513. "required": false
  14514. },
  14515. {
  14516. "name": "value",
  14517. "type": "string",
  14518. "mutable": true,
  14519. "attr": "value",
  14520. "reflectToAttr": false,
  14521. "docs": "The value of the selectedItem",
  14522. "docsTags": [],
  14523. "default": "null",
  14524. "values": [
  14525. {
  14526. "type": "string"
  14527. }
  14528. ],
  14529. "optional": false,
  14530. "required": false
  14531. },
  14532. {
  14533. "name": "width",
  14534. "type": "\"auto\" | \"full\"",
  14535. "mutable": false,
  14536. "attr": "width",
  14537. "reflectToAttr": true,
  14538. "docs": "specify the width of the group, defaults to auto",
  14539. "docsTags": [],
  14540. "default": "\"auto\"",
  14541. "values": [
  14542. {
  14543. "value": "auto",
  14544. "type": "string"
  14545. },
  14546. {
  14547. "value": "full",
  14548. "type": "string"
  14549. }
  14550. ],
  14551. "optional": false,
  14552. "required": false
  14553. }
  14554. ],
  14555. "methods": [
  14556. {
  14557. "name": "setFocus",
  14558. "returns": {
  14559. "type": "Promise<void>",
  14560. "docs": ""
  14561. },
  14562. "signature": "setFocus() => Promise<void>",
  14563. "parameters": [],
  14564. "docs": "Sets focus on the component.",
  14565. "docsTags": []
  14566. }
  14567. ],
  14568. "events": [
  14569. {
  14570. "event": "calciteRadioGroupChange",
  14571. "detail": "string",
  14572. "bubbles": true,
  14573. "cancelable": true,
  14574. "composed": true,
  14575. "docs": "Fired when the selected option changes, event detail is the new value",
  14576. "docsTags": []
  14577. }
  14578. ],
  14579. "listeners": [
  14580. {
  14581. "event": "calciteRadioGroupItemChange",
  14582. "capture": false,
  14583. "passive": false
  14584. },
  14585. {
  14586. "event": "keydown",
  14587. "capture": false,
  14588. "passive": false
  14589. }
  14590. ],
  14591. "styles": [],
  14592. "slots": [
  14593. {
  14594. "name": "",
  14595. "docs": "A slot for adding `calcite-radio-group-item`s."
  14596. }
  14597. ],
  14598. "parts": [],
  14599. "dependents": [],
  14600. "dependencies": [],
  14601. "dependencyGraph": {}
  14602. },
  14603. {
  14604. "filePath": "./src/components/radio-group-item/radio-group-item.tsx",
  14605. "encapsulation": "shadow",
  14606. "tag": "calcite-radio-group-item",
  14607. "readme": "# calcite-radio-group-item\n",
  14608. "docs": "",
  14609. "docsTags": [],
  14610. "usage": {},
  14611. "props": [
  14612. {
  14613. "name": "checked",
  14614. "type": "boolean",
  14615. "mutable": true,
  14616. "attr": "checked",
  14617. "reflectToAttr": true,
  14618. "docs": "Indicates whether the control is checked.",
  14619. "docsTags": [],
  14620. "default": "false",
  14621. "values": [
  14622. {
  14623. "type": "boolean"
  14624. }
  14625. ],
  14626. "optional": false,
  14627. "required": false
  14628. },
  14629. {
  14630. "name": "icon",
  14631. "type": "string",
  14632. "mutable": false,
  14633. "attr": "icon",
  14634. "reflectToAttr": true,
  14635. "docs": "optionally pass an icon to display - accepts Calcite UI icon names",
  14636. "docsTags": [],
  14637. "values": [
  14638. {
  14639. "type": "string"
  14640. }
  14641. ],
  14642. "optional": true,
  14643. "required": false
  14644. },
  14645. {
  14646. "name": "iconFlipRtl",
  14647. "type": "boolean",
  14648. "mutable": false,
  14649. "attr": "icon-flip-rtl",
  14650. "reflectToAttr": true,
  14651. "docs": "flip the icon in rtl",
  14652. "docsTags": [],
  14653. "default": "false",
  14654. "values": [
  14655. {
  14656. "type": "boolean"
  14657. }
  14658. ],
  14659. "optional": false,
  14660. "required": false
  14661. },
  14662. {
  14663. "name": "iconPosition",
  14664. "type": "\"end\" | \"start\"",
  14665. "mutable": false,
  14666. "attr": "icon-position",
  14667. "reflectToAttr": true,
  14668. "docs": "optionally used with icon, select where to position the icon",
  14669. "docsTags": [],
  14670. "default": "\"start\"",
  14671. "values": [
  14672. {
  14673. "value": "end",
  14674. "type": "string"
  14675. },
  14676. {
  14677. "value": "start",
  14678. "type": "string"
  14679. }
  14680. ],
  14681. "optional": true,
  14682. "required": false
  14683. },
  14684. {
  14685. "name": "value",
  14686. "type": "any",
  14687. "mutable": true,
  14688. "attr": "value",
  14689. "reflectToAttr": false,
  14690. "docs": "The control's value.",
  14691. "docsTags": [],
  14692. "values": [
  14693. {
  14694. "type": "any"
  14695. }
  14696. ],
  14697. "optional": false,
  14698. "required": false
  14699. }
  14700. ],
  14701. "methods": [],
  14702. "events": [],
  14703. "listeners": [],
  14704. "styles": [],
  14705. "slots": [],
  14706. "parts": [],
  14707. "dependents": [],
  14708. "dependencies": [
  14709. "calcite-icon"
  14710. ],
  14711. "dependencyGraph": {
  14712. "calcite-radio-group-item": [
  14713. "calcite-icon"
  14714. ]
  14715. }
  14716. },
  14717. {
  14718. "filePath": "./src/components/rating/rating.tsx",
  14719. "encapsulation": "shadow",
  14720. "tag": "calcite-rating",
  14721. "readme": "# calcite-rating\n",
  14722. "docs": "",
  14723. "docsTags": [],
  14724. "usage": {
  14725. "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"
  14726. },
  14727. "props": [
  14728. {
  14729. "name": "average",
  14730. "type": "number",
  14731. "mutable": false,
  14732. "attr": "average",
  14733. "reflectToAttr": true,
  14734. "docs": "optionally pass a cumulative average rating to display",
  14735. "docsTags": [],
  14736. "values": [
  14737. {
  14738. "type": "number"
  14739. }
  14740. ],
  14741. "optional": true,
  14742. "required": false
  14743. },
  14744. {
  14745. "name": "count",
  14746. "type": "number",
  14747. "mutable": false,
  14748. "attr": "count",
  14749. "reflectToAttr": true,
  14750. "docs": "optionally pass a number of previous ratings to display",
  14751. "docsTags": [],
  14752. "values": [
  14753. {
  14754. "type": "number"
  14755. }
  14756. ],
  14757. "optional": true,
  14758. "required": false
  14759. },
  14760. {
  14761. "name": "disabled",
  14762. "type": "boolean",
  14763. "mutable": false,
  14764. "attr": "disabled",
  14765. "reflectToAttr": true,
  14766. "docs": "is the rating component in a selectable mode",
  14767. "docsTags": [],
  14768. "default": "false",
  14769. "values": [
  14770. {
  14771. "type": "boolean"
  14772. }
  14773. ],
  14774. "optional": false,
  14775. "required": false
  14776. },
  14777. {
  14778. "name": "intlRating",
  14779. "type": "string",
  14780. "mutable": false,
  14781. "attr": "intl-rating",
  14782. "reflectToAttr": false,
  14783. "docs": "Localized string for \"Rating\" (used for aria label)",
  14784. "docsTags": [
  14785. {
  14786. "name": "default",
  14787. "text": "\"Rating\""
  14788. }
  14789. ],
  14790. "default": "TEXT.rating",
  14791. "values": [
  14792. {
  14793. "type": "string"
  14794. }
  14795. ],
  14796. "optional": true,
  14797. "required": false
  14798. },
  14799. {
  14800. "name": "intlStars",
  14801. "type": "string",
  14802. "mutable": false,
  14803. "attr": "intl-stars",
  14804. "reflectToAttr": false,
  14805. "docs": "Localized string for labelling each star, `${num}` in the string will be replaced by the number",
  14806. "docsTags": [
  14807. {
  14808. "name": "default",
  14809. "text": "\"Stars: ${num}\""
  14810. }
  14811. ],
  14812. "default": "TEXT.stars",
  14813. "values": [
  14814. {
  14815. "type": "string"
  14816. }
  14817. ],
  14818. "optional": true,
  14819. "required": false
  14820. },
  14821. {
  14822. "name": "name",
  14823. "type": "string",
  14824. "mutable": false,
  14825. "attr": "name",
  14826. "reflectToAttr": true,
  14827. "docs": "The name of the rating",
  14828. "docsTags": [],
  14829. "values": [
  14830. {
  14831. "type": "string"
  14832. }
  14833. ],
  14834. "optional": false,
  14835. "required": false
  14836. },
  14837. {
  14838. "name": "readOnly",
  14839. "type": "boolean",
  14840. "mutable": false,
  14841. "attr": "read-only",
  14842. "reflectToAttr": true,
  14843. "docs": "is the rating component in a selectable mode",
  14844. "docsTags": [],
  14845. "default": "false",
  14846. "values": [
  14847. {
  14848. "type": "boolean"
  14849. }
  14850. ],
  14851. "optional": false,
  14852. "required": false
  14853. },
  14854. {
  14855. "name": "scale",
  14856. "type": "\"l\" | \"m\" | \"s\"",
  14857. "mutable": false,
  14858. "attr": "scale",
  14859. "reflectToAttr": true,
  14860. "docs": "specify the scale of the component, defaults to m",
  14861. "docsTags": [],
  14862. "default": "\"m\"",
  14863. "values": [
  14864. {
  14865. "value": "l",
  14866. "type": "string"
  14867. },
  14868. {
  14869. "value": "m",
  14870. "type": "string"
  14871. },
  14872. {
  14873. "value": "s",
  14874. "type": "string"
  14875. }
  14876. ],
  14877. "optional": false,
  14878. "required": false
  14879. },
  14880. {
  14881. "name": "showChip",
  14882. "type": "boolean",
  14883. "mutable": false,
  14884. "attr": "show-chip",
  14885. "reflectToAttr": true,
  14886. "docs": "Show average and count data summary chip (if available)",
  14887. "docsTags": [],
  14888. "default": "false",
  14889. "values": [
  14890. {
  14891. "type": "boolean"
  14892. }
  14893. ],
  14894. "optional": false,
  14895. "required": false
  14896. },
  14897. {
  14898. "name": "value",
  14899. "type": "number",
  14900. "mutable": true,
  14901. "attr": "value",
  14902. "reflectToAttr": true,
  14903. "docs": "the value of the rating component",
  14904. "docsTags": [],
  14905. "default": "0",
  14906. "values": [
  14907. {
  14908. "type": "number"
  14909. }
  14910. ],
  14911. "optional": false,
  14912. "required": false
  14913. }
  14914. ],
  14915. "methods": [
  14916. {
  14917. "name": "setFocus",
  14918. "returns": {
  14919. "type": "Promise<void>",
  14920. "docs": ""
  14921. },
  14922. "signature": "setFocus() => Promise<void>",
  14923. "parameters": [],
  14924. "docs": "Sets focus on the component.",
  14925. "docsTags": []
  14926. }
  14927. ],
  14928. "events": [
  14929. {
  14930. "event": "calciteRatingChange",
  14931. "detail": "{ value: number; }",
  14932. "bubbles": true,
  14933. "cancelable": true,
  14934. "composed": true,
  14935. "docs": "Fires when the rating value has changed.",
  14936. "docsTags": []
  14937. }
  14938. ],
  14939. "listeners": [
  14940. {
  14941. "event": "blur",
  14942. "capture": false,
  14943. "passive": false
  14944. }
  14945. ],
  14946. "styles": [
  14947. {
  14948. "name": "--calcite-rating-spacing-unit",
  14949. "annotation": "prop",
  14950. "docs": "the amount of left/right margin between each rating star"
  14951. }
  14952. ],
  14953. "slots": [],
  14954. "parts": [],
  14955. "dependents": [],
  14956. "dependencies": [
  14957. "calcite-icon",
  14958. "calcite-chip"
  14959. ],
  14960. "dependencyGraph": {
  14961. "calcite-rating": [
  14962. "calcite-icon",
  14963. "calcite-chip"
  14964. ],
  14965. "calcite-chip": [
  14966. "calcite-icon"
  14967. ]
  14968. }
  14969. },
  14970. {
  14971. "filePath": "./src/components/scrim/scrim.tsx",
  14972. "encapsulation": "shadow",
  14973. "tag": "calcite-scrim",
  14974. "readme": "# calcite-scrim\n",
  14975. "docs": "",
  14976. "docsTags": [
  14977. {
  14978. "name": "slot",
  14979. "text": "- A slot for adding custom content, primarily loading information."
  14980. }
  14981. ],
  14982. "usage": {
  14983. "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",
  14984. "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"
  14985. },
  14986. "props": [
  14987. {
  14988. "name": "intlLoading",
  14989. "type": "string",
  14990. "mutable": false,
  14991. "attr": "intl-loading",
  14992. "reflectToAttr": false,
  14993. "docs": "string to override English loading text",
  14994. "docsTags": [
  14995. {
  14996. "name": "default",
  14997. "text": "\"Loading\""
  14998. }
  14999. ],
  15000. "default": "TEXT.loading",
  15001. "values": [
  15002. {
  15003. "type": "string"
  15004. }
  15005. ],
  15006. "optional": true,
  15007. "required": false
  15008. },
  15009. {
  15010. "name": "loading",
  15011. "type": "boolean",
  15012. "mutable": false,
  15013. "attr": "loading",
  15014. "reflectToAttr": true,
  15015. "docs": "Determines if the component will have the loader overlay.\nOtherwise, will render opaque disabled state.",
  15016. "docsTags": [],
  15017. "default": "false",
  15018. "values": [
  15019. {
  15020. "type": "boolean"
  15021. }
  15022. ],
  15023. "optional": false,
  15024. "required": false
  15025. }
  15026. ],
  15027. "methods": [],
  15028. "events": [],
  15029. "listeners": [],
  15030. "styles": [],
  15031. "slots": [
  15032. {
  15033. "name": "",
  15034. "docs": "A slot for adding custom content, primarily loading information."
  15035. }
  15036. ],
  15037. "parts": [],
  15038. "dependents": [
  15039. "calcite-block",
  15040. "calcite-modal",
  15041. "calcite-panel",
  15042. "calcite-pick-list",
  15043. "calcite-value-list"
  15044. ],
  15045. "dependencies": [
  15046. "calcite-loader"
  15047. ],
  15048. "dependencyGraph": {
  15049. "calcite-scrim": [
  15050. "calcite-loader"
  15051. ],
  15052. "calcite-block": [
  15053. "calcite-scrim"
  15054. ],
  15055. "calcite-modal": [
  15056. "calcite-scrim"
  15057. ],
  15058. "calcite-panel": [
  15059. "calcite-scrim"
  15060. ],
  15061. "calcite-pick-list": [
  15062. "calcite-scrim"
  15063. ],
  15064. "calcite-value-list": [
  15065. "calcite-scrim"
  15066. ]
  15067. }
  15068. },
  15069. {
  15070. "filePath": "./src/components/select/select.tsx",
  15071. "encapsulation": "shadow",
  15072. "tag": "calcite-select",
  15073. "readme": "# calcite-select\n\nThis component represents a menu of options.\n",
  15074. "docs": "This component represents a menu of options.",
  15075. "docsTags": [
  15076. {
  15077. "name": "slot",
  15078. "text": "- A slot for adding `calcite-option`s."
  15079. }
  15080. ],
  15081. "usage": {
  15082. "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",
  15083. "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",
  15084. "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",
  15085. "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",
  15086. "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",
  15087. "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"
  15088. },
  15089. "props": [
  15090. {
  15091. "name": "disabled",
  15092. "type": "boolean",
  15093. "mutable": false,
  15094. "attr": "disabled",
  15095. "reflectToAttr": true,
  15096. "docs": "When true, it prevents the option from being selected.",
  15097. "docsTags": [],
  15098. "default": "false",
  15099. "values": [
  15100. {
  15101. "type": "boolean"
  15102. }
  15103. ],
  15104. "optional": false,
  15105. "required": false
  15106. },
  15107. {
  15108. "name": "label",
  15109. "type": "string",
  15110. "mutable": false,
  15111. "attr": "label",
  15112. "reflectToAttr": false,
  15113. "docs": "The component's label. This is required for accessibility purposes.",
  15114. "docsTags": [],
  15115. "values": [
  15116. {
  15117. "type": "string"
  15118. }
  15119. ],
  15120. "optional": false,
  15121. "required": true
  15122. },
  15123. {
  15124. "name": "name",
  15125. "type": "string",
  15126. "mutable": false,
  15127. "attr": "name",
  15128. "reflectToAttr": false,
  15129. "docs": "The select's name. Gets submitted with the form.",
  15130. "docsTags": [],
  15131. "values": [
  15132. {
  15133. "type": "string"
  15134. }
  15135. ],
  15136. "optional": false,
  15137. "required": false
  15138. },
  15139. {
  15140. "name": "scale",
  15141. "type": "\"l\" | \"m\" | \"s\"",
  15142. "mutable": false,
  15143. "attr": "scale",
  15144. "reflectToAttr": true,
  15145. "docs": "The component scale.",
  15146. "docsTags": [],
  15147. "default": "\"m\"",
  15148. "values": [
  15149. {
  15150. "value": "l",
  15151. "type": "string"
  15152. },
  15153. {
  15154. "value": "m",
  15155. "type": "string"
  15156. },
  15157. {
  15158. "value": "s",
  15159. "type": "string"
  15160. }
  15161. ],
  15162. "optional": false,
  15163. "required": false
  15164. },
  15165. {
  15166. "name": "selectedOption",
  15167. "type": "HTMLCalciteOptionElement",
  15168. "mutable": true,
  15169. "reflectToAttr": false,
  15170. "docs": "The currently selected option.",
  15171. "docsTags": [
  15172. {
  15173. "name": "readonly"
  15174. }
  15175. ],
  15176. "values": [
  15177. {
  15178. "type": "HTMLCalciteOptionElement"
  15179. }
  15180. ],
  15181. "optional": false,
  15182. "required": false
  15183. },
  15184. {
  15185. "name": "value",
  15186. "type": "string",
  15187. "mutable": true,
  15188. "attr": "value",
  15189. "reflectToAttr": false,
  15190. "docs": "The value of the selectedOption",
  15191. "docsTags": [],
  15192. "default": "null",
  15193. "values": [
  15194. {
  15195. "type": "string"
  15196. }
  15197. ],
  15198. "optional": false,
  15199. "required": false
  15200. },
  15201. {
  15202. "name": "width",
  15203. "type": "\"auto\" | \"full\" | \"half\"",
  15204. "mutable": false,
  15205. "attr": "width",
  15206. "reflectToAttr": true,
  15207. "docs": "The component width.",
  15208. "docsTags": [],
  15209. "default": "\"auto\"",
  15210. "values": [
  15211. {
  15212. "value": "auto",
  15213. "type": "string"
  15214. },
  15215. {
  15216. "value": "full",
  15217. "type": "string"
  15218. },
  15219. {
  15220. "value": "half",
  15221. "type": "string"
  15222. }
  15223. ],
  15224. "optional": false,
  15225. "required": false
  15226. }
  15227. ],
  15228. "methods": [
  15229. {
  15230. "name": "setFocus",
  15231. "returns": {
  15232. "type": "Promise<void>",
  15233. "docs": ""
  15234. },
  15235. "signature": "setFocus() => Promise<void>",
  15236. "parameters": [],
  15237. "docs": "Sets focus on the component.",
  15238. "docsTags": []
  15239. }
  15240. ],
  15241. "events": [
  15242. {
  15243. "event": "calciteSelectChange",
  15244. "detail": "void",
  15245. "bubbles": true,
  15246. "cancelable": true,
  15247. "composed": true,
  15248. "docs": "This event will fire whenever the selected option changes.",
  15249. "docsTags": []
  15250. }
  15251. ],
  15252. "listeners": [
  15253. {
  15254. "event": "calciteOptionChange",
  15255. "capture": false,
  15256. "passive": false
  15257. },
  15258. {
  15259. "event": "calciteOptionGroupChange",
  15260. "capture": false,
  15261. "passive": false
  15262. }
  15263. ],
  15264. "styles": [
  15265. {
  15266. "name": "--calcite-select-font-size",
  15267. "annotation": "prop",
  15268. "docs": "the font-size of items in the select"
  15269. },
  15270. {
  15271. "name": "--calcite-select-spacing",
  15272. "annotation": "prop",
  15273. "docs": "the padding around the selected option text"
  15274. }
  15275. ],
  15276. "slots": [
  15277. {
  15278. "name": "",
  15279. "docs": "A slot for adding `calcite-option`s."
  15280. }
  15281. ],
  15282. "parts": [],
  15283. "dependents": [],
  15284. "dependencies": [
  15285. "calcite-icon"
  15286. ],
  15287. "dependencyGraph": {
  15288. "calcite-select": [
  15289. "calcite-icon"
  15290. ]
  15291. }
  15292. },
  15293. {
  15294. "filePath": "./src/components/shell/shell.tsx",
  15295. "encapsulation": "shadow",
  15296. "tag": "calcite-shell",
  15297. "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",
  15298. "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_",
  15299. "docsTags": [
  15300. {
  15301. "name": "slot",
  15302. "text": "- A slot for adding content to the shell. This content will appear between any leading and trailing panels added to the shell. (eg. a map)"
  15303. },
  15304. {
  15305. "name": "slot",
  15306. "text": "header - A slot for adding header content. This content will be positioned at the top of the shell."
  15307. },
  15308. {
  15309. "name": "slot",
  15310. "text": "footer - A slot for adding footer content. This content will be positioned at the bottom of the shell."
  15311. },
  15312. {
  15313. "name": "slot",
  15314. "text": "primary-panel - A slot for adding the leading `calcite-shell-panel`."
  15315. },
  15316. {
  15317. "name": "slot",
  15318. "text": "contextual-panel - A slot for adding the trailing `calcite-shell-panel`."
  15319. },
  15320. {
  15321. "name": "slot",
  15322. "text": "center-row - A slot for adding custom content in the center row."
  15323. }
  15324. ],
  15325. "usage": {
  15326. "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=\"primary-panel\" 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=\"contextual-panel\" 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",
  15327. "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",
  15328. "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=\"primary-panel\" 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",
  15329. "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=\"primary-panel\" position=\"start\">\n Leading panel! (on the left side, since this is a LTR app)\n </calcite-shell-panel>\n <calcite-shell-panel slot=\"contextual-panel\" 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"
  15330. },
  15331. "props": [
  15332. {
  15333. "name": "contentBehind",
  15334. "type": "boolean",
  15335. "mutable": false,
  15336. "attr": "content-behind",
  15337. "reflectToAttr": true,
  15338. "docs": "Positions the center content behind any calcite-shell-panels.",
  15339. "docsTags": [],
  15340. "default": "false",
  15341. "values": [
  15342. {
  15343. "type": "boolean"
  15344. }
  15345. ],
  15346. "optional": false,
  15347. "required": false
  15348. }
  15349. ],
  15350. "methods": [],
  15351. "events": [],
  15352. "listeners": [],
  15353. "styles": [
  15354. {
  15355. "name": "--calcite-shell-tip-spacing",
  15356. "annotation": "prop",
  15357. "docs": "the left/right positioning of the tip-manager when slotted within a shell"
  15358. }
  15359. ],
  15360. "slots": [
  15361. {
  15362. "name": "",
  15363. "docs": "A slot for adding content to the shell. This content will appear between any leading and trailing panels added to the shell. (eg. a map)"
  15364. },
  15365. {
  15366. "name": "center-row",
  15367. "docs": "A slot for adding custom content in the center row."
  15368. },
  15369. {
  15370. "name": "contextual-panel",
  15371. "docs": "A slot for adding the trailing `calcite-shell-panel`."
  15372. },
  15373. {
  15374. "name": "footer",
  15375. "docs": "A slot for adding footer content. This content will be positioned at the bottom of the shell."
  15376. },
  15377. {
  15378. "name": "header",
  15379. "docs": "A slot for adding header content. This content will be positioned at the top of the shell."
  15380. },
  15381. {
  15382. "name": "primary-panel",
  15383. "docs": "A slot for adding the leading `calcite-shell-panel`."
  15384. }
  15385. ],
  15386. "parts": [],
  15387. "dependents": [],
  15388. "dependencies": [],
  15389. "dependencyGraph": {}
  15390. },
  15391. {
  15392. "filePath": "./src/components/shell-center-row/shell-center-row.tsx",
  15393. "encapsulation": "shadow",
  15394. "tag": "calcite-shell-center-row",
  15395. "readme": "# calcite-shell-center-row\n",
  15396. "docs": "",
  15397. "docsTags": [
  15398. {
  15399. "name": "slot",
  15400. "text": "- A slot for adding content to the shell panel."
  15401. },
  15402. {
  15403. "name": "slot",
  15404. "text": "action-bar - A slot for adding a `calcite-action-bar` to the panel."
  15405. }
  15406. ],
  15407. "usage": {},
  15408. "props": [
  15409. {
  15410. "name": "detached",
  15411. "type": "boolean",
  15412. "mutable": false,
  15413. "attr": "detached",
  15414. "reflectToAttr": true,
  15415. "docs": "This property makes the content area appear like a \"floating\" panel.",
  15416. "docsTags": [],
  15417. "default": "false",
  15418. "values": [
  15419. {
  15420. "type": "boolean"
  15421. }
  15422. ],
  15423. "optional": false,
  15424. "required": false
  15425. },
  15426. {
  15427. "name": "heightScale",
  15428. "type": "\"l\" | \"m\" | \"s\"",
  15429. "mutable": false,
  15430. "attr": "height-scale",
  15431. "reflectToAttr": true,
  15432. "docs": "Specifies the maximum height of the row.",
  15433. "docsTags": [],
  15434. "default": "\"s\"",
  15435. "values": [
  15436. {
  15437. "value": "l",
  15438. "type": "string"
  15439. },
  15440. {
  15441. "value": "m",
  15442. "type": "string"
  15443. },
  15444. {
  15445. "value": "s",
  15446. "type": "string"
  15447. }
  15448. ],
  15449. "optional": false,
  15450. "required": false
  15451. },
  15452. {
  15453. "name": "position",
  15454. "type": "\"end\" | \"start\"",
  15455. "mutable": false,
  15456. "attr": "position",
  15457. "reflectToAttr": true,
  15458. "docs": "Arranges the component depending on the elements 'dir' property.",
  15459. "docsTags": [],
  15460. "default": "\"end\"",
  15461. "values": [
  15462. {
  15463. "value": "end",
  15464. "type": "string"
  15465. },
  15466. {
  15467. "value": "start",
  15468. "type": "string"
  15469. }
  15470. ],
  15471. "optional": false,
  15472. "required": false
  15473. }
  15474. ],
  15475. "methods": [],
  15476. "events": [],
  15477. "listeners": [],
  15478. "styles": [],
  15479. "slots": [
  15480. {
  15481. "name": "",
  15482. "docs": "A slot for adding content to the shell panel."
  15483. },
  15484. {
  15485. "name": "action-bar",
  15486. "docs": "A slot for adding a `calcite-action-bar` to the panel."
  15487. }
  15488. ],
  15489. "parts": [],
  15490. "dependents": [],
  15491. "dependencies": [],
  15492. "dependencyGraph": {}
  15493. },
  15494. {
  15495. "filePath": "./src/components/shell-panel/shell-panel.tsx",
  15496. "encapsulation": "shadow",
  15497. "tag": "calcite-shell-panel",
  15498. "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",
  15499. "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`.",
  15500. "docsTags": [
  15501. {
  15502. "name": "slot",
  15503. "text": "- A slot for adding content to the shell panel."
  15504. },
  15505. {
  15506. "name": "slot",
  15507. "text": "action-bar - A slot for adding a `calcite-action-bar` to the panel."
  15508. }
  15509. ],
  15510. "usage": {
  15511. "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",
  15512. "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",
  15513. "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",
  15514. "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",
  15515. "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"
  15516. },
  15517. "props": [
  15518. {
  15519. "name": "collapsed",
  15520. "type": "boolean",
  15521. "mutable": false,
  15522. "attr": "collapsed",
  15523. "reflectToAttr": true,
  15524. "docs": "Hide the content panel.",
  15525. "docsTags": [],
  15526. "default": "false",
  15527. "values": [
  15528. {
  15529. "type": "boolean"
  15530. }
  15531. ],
  15532. "optional": false,
  15533. "required": false
  15534. },
  15535. {
  15536. "name": "detached",
  15537. "type": "boolean",
  15538. "mutable": false,
  15539. "attr": "detached",
  15540. "reflectToAttr": true,
  15541. "docs": "This property makes the content area appear like a \"floating\" panel.",
  15542. "docsTags": [],
  15543. "default": "false",
  15544. "values": [
  15545. {
  15546. "type": "boolean"
  15547. }
  15548. ],
  15549. "optional": false,
  15550. "required": false
  15551. },
  15552. {
  15553. "name": "detachedHeightScale",
  15554. "type": "\"l\" | \"m\" | \"s\"",
  15555. "mutable": false,
  15556. "attr": "detached-height-scale",
  15557. "reflectToAttr": true,
  15558. "docs": "Specifies the maximum height of the contents when detached.",
  15559. "docsTags": [],
  15560. "default": "\"l\"",
  15561. "values": [
  15562. {
  15563. "value": "l",
  15564. "type": "string"
  15565. },
  15566. {
  15567. "value": "m",
  15568. "type": "string"
  15569. },
  15570. {
  15571. "value": "s",
  15572. "type": "string"
  15573. }
  15574. ],
  15575. "optional": false,
  15576. "required": false
  15577. },
  15578. {
  15579. "name": "intlResize",
  15580. "type": "string",
  15581. "mutable": false,
  15582. "attr": "intl-resize",
  15583. "reflectToAttr": false,
  15584. "docs": "Accessible label for resize separator.",
  15585. "docsTags": [
  15586. {
  15587. "name": "default",
  15588. "text": "\"Resize\""
  15589. }
  15590. ],
  15591. "default": "TEXT.resize",
  15592. "values": [
  15593. {
  15594. "type": "string"
  15595. }
  15596. ],
  15597. "optional": false,
  15598. "required": false
  15599. },
  15600. {
  15601. "name": "position",
  15602. "type": "\"end\" | \"start\"",
  15603. "mutable": false,
  15604. "attr": "position",
  15605. "reflectToAttr": true,
  15606. "docs": "Arranges the component depending on the elements 'dir' property.",
  15607. "docsTags": [],
  15608. "values": [
  15609. {
  15610. "value": "end",
  15611. "type": "string"
  15612. },
  15613. {
  15614. "value": "start",
  15615. "type": "string"
  15616. }
  15617. ],
  15618. "optional": false,
  15619. "required": false
  15620. },
  15621. {
  15622. "name": "resizable",
  15623. "type": "boolean",
  15624. "mutable": false,
  15625. "attr": "resizable",
  15626. "reflectToAttr": true,
  15627. "docs": "This property makes the content area resizable if the calcite-shell-panel is not 'detached'.",
  15628. "docsTags": [],
  15629. "default": "false",
  15630. "values": [
  15631. {
  15632. "type": "boolean"
  15633. }
  15634. ],
  15635. "optional": false,
  15636. "required": false
  15637. },
  15638. {
  15639. "name": "widthScale",
  15640. "type": "\"l\" | \"m\" | \"s\"",
  15641. "mutable": false,
  15642. "attr": "width-scale",
  15643. "reflectToAttr": true,
  15644. "docs": "This sets width of the content area.",
  15645. "docsTags": [],
  15646. "default": "\"m\"",
  15647. "values": [
  15648. {
  15649. "value": "l",
  15650. "type": "string"
  15651. },
  15652. {
  15653. "value": "m",
  15654. "type": "string"
  15655. },
  15656. {
  15657. "value": "s",
  15658. "type": "string"
  15659. }
  15660. ],
  15661. "optional": false,
  15662. "required": false
  15663. }
  15664. ],
  15665. "methods": [],
  15666. "events": [
  15667. {
  15668. "event": "calciteShellPanelToggle",
  15669. "detail": "any",
  15670. "bubbles": true,
  15671. "cancelable": true,
  15672. "composed": true,
  15673. "docs": "Emitted when collapse has been toggled.",
  15674. "docsTags": [
  15675. {
  15676. "name": "deprecated",
  15677. "text": "use a resizeObserver on the shell-panel to listen for changes to its size."
  15678. }
  15679. ],
  15680. "deprecation": "use a resizeObserver on the shell-panel to listen for changes to its size."
  15681. }
  15682. ],
  15683. "listeners": [],
  15684. "styles": [],
  15685. "slots": [
  15686. {
  15687. "name": "",
  15688. "docs": "A slot for adding content to the shell panel."
  15689. },
  15690. {
  15691. "name": "action-bar",
  15692. "docs": "A slot for adding a `calcite-action-bar` to the panel."
  15693. }
  15694. ],
  15695. "parts": [],
  15696. "dependents": [],
  15697. "dependencies": [],
  15698. "dependencyGraph": {}
  15699. },
  15700. {
  15701. "filePath": "./src/components/slider/slider.tsx",
  15702. "encapsulation": "shadow",
  15703. "tag": "calcite-slider",
  15704. "readme": "# calcite-slider\n\nRange selection component for selecting single or multiple numeric values inside a given range.\n",
  15705. "docs": "Range selection component for selecting single or multiple numeric values inside a given range.",
  15706. "docsTags": [],
  15707. "usage": {
  15708. "Basic": "```html\n<calcite-slider min=\"1\" max=\"100\" value=\"50\" step=\"1\"></calcite-slider>\n```\n",
  15709. "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"
  15710. },
  15711. "props": [
  15712. {
  15713. "name": "disabled",
  15714. "type": "boolean",
  15715. "mutable": false,
  15716. "attr": "disabled",
  15717. "reflectToAttr": true,
  15718. "docs": "Disable and gray out the slider",
  15719. "docsTags": [],
  15720. "default": "false",
  15721. "values": [
  15722. {
  15723. "type": "boolean"
  15724. }
  15725. ],
  15726. "optional": false,
  15727. "required": false
  15728. },
  15729. {
  15730. "name": "hasHistogram",
  15731. "type": "boolean",
  15732. "mutable": true,
  15733. "attr": "has-histogram",
  15734. "reflectToAttr": true,
  15735. "docs": "Indicates if a histogram is present",
  15736. "docsTags": [],
  15737. "default": "false",
  15738. "values": [
  15739. {
  15740. "type": "boolean"
  15741. }
  15742. ],
  15743. "optional": false,
  15744. "required": false
  15745. },
  15746. {
  15747. "name": "histogram",
  15748. "type": "Point[]",
  15749. "mutable": false,
  15750. "reflectToAttr": false,
  15751. "docs": "List of x,y coordinates within the slider's min and max, displays above the slider track.",
  15752. "docsTags": [
  15753. {
  15754. "name": "see",
  15755. "text": "[DataSeries](https://github.com/Esri/calcite-components/blob/master/src/components/graph/interfaces.ts#L5)"
  15756. }
  15757. ],
  15758. "values": [
  15759. {
  15760. "type": "Point[]"
  15761. }
  15762. ],
  15763. "optional": true,
  15764. "required": false
  15765. },
  15766. {
  15767. "name": "histogramStops",
  15768. "type": "ColorStop[]",
  15769. "mutable": false,
  15770. "reflectToAttr": false,
  15771. "docs": "Array of values describing a single color stop, sorted by offset ascending.",
  15772. "docsTags": [],
  15773. "values": [
  15774. {
  15775. "type": "ColorStop[]"
  15776. }
  15777. ],
  15778. "optional": false,
  15779. "required": false
  15780. },
  15781. {
  15782. "name": "labelHandles",
  15783. "type": "boolean",
  15784. "mutable": false,
  15785. "attr": "label-handles",
  15786. "reflectToAttr": true,
  15787. "docs": "Label handles with their numeric value",
  15788. "docsTags": [],
  15789. "default": "false",
  15790. "values": [
  15791. {
  15792. "type": "boolean"
  15793. }
  15794. ],
  15795. "optional": false,
  15796. "required": false
  15797. },
  15798. {
  15799. "name": "labelTicks",
  15800. "type": "boolean",
  15801. "mutable": false,
  15802. "attr": "label-ticks",
  15803. "reflectToAttr": true,
  15804. "docs": "Label tick marks with their numeric value.",
  15805. "docsTags": [],
  15806. "default": "false",
  15807. "values": [
  15808. {
  15809. "type": "boolean"
  15810. }
  15811. ],
  15812. "optional": false,
  15813. "required": false
  15814. },
  15815. {
  15816. "name": "max",
  15817. "type": "number",
  15818. "mutable": false,
  15819. "attr": "max",
  15820. "reflectToAttr": true,
  15821. "docs": "Maximum selectable value",
  15822. "docsTags": [],
  15823. "default": "100",
  15824. "values": [
  15825. {
  15826. "type": "number"
  15827. }
  15828. ],
  15829. "optional": false,
  15830. "required": false
  15831. },
  15832. {
  15833. "name": "maxLabel",
  15834. "type": "string",
  15835. "mutable": false,
  15836. "attr": "max-label",
  15837. "reflectToAttr": false,
  15838. "docs": "Used as an accessible label (aria-label) for second handle if needed (ex. \"Temperature, upper bound\")",
  15839. "docsTags": [],
  15840. "values": [
  15841. {
  15842. "type": "string"
  15843. }
  15844. ],
  15845. "optional": true,
  15846. "required": false
  15847. },
  15848. {
  15849. "name": "maxValue",
  15850. "type": "number",
  15851. "mutable": true,
  15852. "attr": "max-value",
  15853. "reflectToAttr": false,
  15854. "docs": "Currently selected upper number (if multi-select)",
  15855. "docsTags": [],
  15856. "values": [
  15857. {
  15858. "type": "number"
  15859. }
  15860. ],
  15861. "optional": true,
  15862. "required": false
  15863. },
  15864. {
  15865. "name": "min",
  15866. "type": "number",
  15867. "mutable": false,
  15868. "attr": "min",
  15869. "reflectToAttr": true,
  15870. "docs": "Minimum selectable value",
  15871. "docsTags": [],
  15872. "default": "0",
  15873. "values": [
  15874. {
  15875. "type": "number"
  15876. }
  15877. ],
  15878. "optional": false,
  15879. "required": false
  15880. },
  15881. {
  15882. "name": "minLabel",
  15883. "type": "string",
  15884. "mutable": false,
  15885. "attr": "min-label",
  15886. "reflectToAttr": false,
  15887. "docs": "Used as an accessible label (aria-label) for first (or only) handle (ex. \"Temperature, lower bound\")",
  15888. "docsTags": [],
  15889. "values": [
  15890. {
  15891. "type": "string"
  15892. }
  15893. ],
  15894. "optional": false,
  15895. "required": false
  15896. },
  15897. {
  15898. "name": "minValue",
  15899. "type": "number",
  15900. "mutable": true,
  15901. "attr": "min-value",
  15902. "reflectToAttr": false,
  15903. "docs": "Currently selected lower number (if multi-select)",
  15904. "docsTags": [],
  15905. "values": [
  15906. {
  15907. "type": "number"
  15908. }
  15909. ],
  15910. "optional": true,
  15911. "required": false
  15912. },
  15913. {
  15914. "name": "mirrored",
  15915. "type": "boolean",
  15916. "mutable": false,
  15917. "attr": "mirrored",
  15918. "reflectToAttr": true,
  15919. "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.",
  15920. "docsTags": [],
  15921. "default": "false",
  15922. "values": [
  15923. {
  15924. "type": "boolean"
  15925. }
  15926. ],
  15927. "optional": false,
  15928. "required": false
  15929. },
  15930. {
  15931. "name": "name",
  15932. "type": "string",
  15933. "mutable": false,
  15934. "attr": "name",
  15935. "reflectToAttr": true,
  15936. "docs": "The name of the slider",
  15937. "docsTags": [],
  15938. "values": [
  15939. {
  15940. "type": "string"
  15941. }
  15942. ],
  15943. "optional": false,
  15944. "required": false
  15945. },
  15946. {
  15947. "name": "pageStep",
  15948. "type": "number",
  15949. "mutable": false,
  15950. "attr": "page-step",
  15951. "reflectToAttr": false,
  15952. "docs": "Interval to move on page up/page down keys",
  15953. "docsTags": [],
  15954. "values": [
  15955. {
  15956. "type": "number"
  15957. }
  15958. ],
  15959. "optional": true,
  15960. "required": false
  15961. },
  15962. {
  15963. "name": "precise",
  15964. "type": "boolean",
  15965. "mutable": false,
  15966. "attr": "precise",
  15967. "reflectToAttr": false,
  15968. "docs": "Use finer point for handles",
  15969. "docsTags": [],
  15970. "default": "false",
  15971. "values": [
  15972. {
  15973. "type": "boolean"
  15974. }
  15975. ],
  15976. "optional": false,
  15977. "required": false
  15978. },
  15979. {
  15980. "name": "required",
  15981. "type": "boolean",
  15982. "mutable": false,
  15983. "attr": "required",
  15984. "reflectToAttr": true,
  15985. "docs": "When true, makes the component required for form-submission.",
  15986. "docsTags": [],
  15987. "default": "false",
  15988. "values": [
  15989. {
  15990. "type": "boolean"
  15991. }
  15992. ],
  15993. "optional": false,
  15994. "required": false
  15995. },
  15996. {
  15997. "name": "scale",
  15998. "type": "\"l\" | \"m\" | \"s\"",
  15999. "mutable": false,
  16000. "attr": "scale",
  16001. "reflectToAttr": false,
  16002. "docs": "Specify the scale of the slider, defaults to m",
  16003. "docsTags": [],
  16004. "default": "\"m\"",
  16005. "values": [
  16006. {
  16007. "value": "l",
  16008. "type": "string"
  16009. },
  16010. {
  16011. "value": "m",
  16012. "type": "string"
  16013. },
  16014. {
  16015. "value": "s",
  16016. "type": "string"
  16017. }
  16018. ],
  16019. "optional": false,
  16020. "required": false
  16021. },
  16022. {
  16023. "name": "snap",
  16024. "type": "boolean",
  16025. "mutable": false,
  16026. "attr": "snap",
  16027. "reflectToAttr": false,
  16028. "docs": "When true, enables snap selection along the step interval",
  16029. "docsTags": [],
  16030. "default": "false",
  16031. "values": [
  16032. {
  16033. "type": "boolean"
  16034. }
  16035. ],
  16036. "optional": false,
  16037. "required": false
  16038. },
  16039. {
  16040. "name": "step",
  16041. "type": "number",
  16042. "mutable": false,
  16043. "attr": "step",
  16044. "reflectToAttr": false,
  16045. "docs": "Interval to move on up/down keys",
  16046. "docsTags": [],
  16047. "default": "1",
  16048. "values": [
  16049. {
  16050. "type": "number"
  16051. }
  16052. ],
  16053. "optional": true,
  16054. "required": false
  16055. },
  16056. {
  16057. "name": "ticks",
  16058. "type": "number",
  16059. "mutable": false,
  16060. "attr": "ticks",
  16061. "reflectToAttr": false,
  16062. "docs": "Show tick marks on the number line at provided interval",
  16063. "docsTags": [],
  16064. "values": [
  16065. {
  16066. "type": "number"
  16067. }
  16068. ],
  16069. "optional": true,
  16070. "required": false
  16071. },
  16072. {
  16073. "name": "value",
  16074. "type": "number | number[]",
  16075. "mutable": true,
  16076. "attr": "value",
  16077. "reflectToAttr": true,
  16078. "docs": "Currently selected number (if single select)",
  16079. "docsTags": [],
  16080. "default": "0",
  16081. "values": [
  16082. {
  16083. "type": "number"
  16084. },
  16085. {
  16086. "type": "number[]"
  16087. }
  16088. ],
  16089. "optional": false,
  16090. "required": false
  16091. }
  16092. ],
  16093. "methods": [
  16094. {
  16095. "name": "setFocus",
  16096. "returns": {
  16097. "type": "Promise<void>",
  16098. "docs": ""
  16099. },
  16100. "signature": "setFocus() => Promise<void>",
  16101. "parameters": [],
  16102. "docs": "Sets focus on the component.",
  16103. "docsTags": []
  16104. }
  16105. ],
  16106. "events": [
  16107. {
  16108. "event": "calciteSliderChange",
  16109. "detail": "any",
  16110. "bubbles": true,
  16111. "cancelable": true,
  16112. "composed": true,
  16113. "docs": "Fires on when the thumb is released on slider\nIf you need to constantly listen to the drag event,\nplease use calciteSliderInput instead",
  16114. "docsTags": []
  16115. },
  16116. {
  16117. "event": "calciteSliderInput",
  16118. "detail": "any",
  16119. "bubbles": true,
  16120. "cancelable": true,
  16121. "composed": true,
  16122. "docs": "Fires on all updates to the slider.\n:warning: 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.",
  16123. "docsTags": []
  16124. },
  16125. {
  16126. "event": "calciteSliderUpdate",
  16127. "detail": "any",
  16128. "bubbles": true,
  16129. "cancelable": true,
  16130. "composed": true,
  16131. "docs": "Fires on all updates to the slider.\n:warning: 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.",
  16132. "docsTags": [
  16133. {
  16134. "name": "deprecated",
  16135. "text": "use calciteSliderInput instead"
  16136. }
  16137. ],
  16138. "deprecation": "use calciteSliderInput instead"
  16139. }
  16140. ],
  16141. "listeners": [
  16142. {
  16143. "event": "keydown",
  16144. "capture": false,
  16145. "passive": false
  16146. },
  16147. {
  16148. "event": "click",
  16149. "capture": false,
  16150. "passive": false
  16151. },
  16152. {
  16153. "event": "pointerdown",
  16154. "capture": false,
  16155. "passive": true
  16156. }
  16157. ],
  16158. "styles": [],
  16159. "slots": [],
  16160. "parts": [],
  16161. "dependents": [],
  16162. "dependencies": [
  16163. "calcite-graph"
  16164. ],
  16165. "dependencyGraph": {
  16166. "calcite-slider": [
  16167. "calcite-graph"
  16168. ]
  16169. }
  16170. },
  16171. {
  16172. "filePath": "./src/components/sortable-list/sortable-list.tsx",
  16173. "encapsulation": "shadow",
  16174. "tag": "calcite-sortable-list",
  16175. "readme": "# calcite-sortable-list\n",
  16176. "docs": "",
  16177. "docsTags": [
  16178. {
  16179. "name": "slot",
  16180. "text": "- A slot for adding sortable items."
  16181. }
  16182. ],
  16183. "usage": {},
  16184. "props": [
  16185. {
  16186. "name": "disabled",
  16187. "type": "boolean",
  16188. "mutable": false,
  16189. "attr": "disabled",
  16190. "reflectToAttr": true,
  16191. "docs": "When true, disabled prevents interaction. This state shows items with lower opacity/grayed.",
  16192. "docsTags": [],
  16193. "default": "false",
  16194. "values": [
  16195. {
  16196. "type": "boolean"
  16197. }
  16198. ],
  16199. "optional": false,
  16200. "required": false
  16201. },
  16202. {
  16203. "name": "dragSelector",
  16204. "type": "string",
  16205. "mutable": false,
  16206. "attr": "drag-selector",
  16207. "reflectToAttr": false,
  16208. "docs": "Specifies which items inside the element should be draggable.",
  16209. "docsTags": [],
  16210. "values": [
  16211. {
  16212. "type": "string"
  16213. }
  16214. ],
  16215. "optional": true,
  16216. "required": false
  16217. },
  16218. {
  16219. "name": "group",
  16220. "type": "string",
  16221. "mutable": false,
  16222. "attr": "group",
  16223. "reflectToAttr": false,
  16224. "docs": "The list's group identifier.\n\nTo drag elements from one list into another, both lists must have the same group value.",
  16225. "docsTags": [],
  16226. "values": [
  16227. {
  16228. "type": "string"
  16229. }
  16230. ],
  16231. "optional": true,
  16232. "required": false
  16233. },
  16234. {
  16235. "name": "handleSelector",
  16236. "type": "string",
  16237. "mutable": false,
  16238. "attr": "handle-selector",
  16239. "reflectToAttr": false,
  16240. "docs": "The selector for the handle elements.",
  16241. "docsTags": [],
  16242. "default": "\"calcite-handle\"",
  16243. "values": [
  16244. {
  16245. "type": "string"
  16246. }
  16247. ],
  16248. "optional": false,
  16249. "required": false
  16250. },
  16251. {
  16252. "name": "layout",
  16253. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  16254. "mutable": false,
  16255. "attr": "layout",
  16256. "reflectToAttr": false,
  16257. "docs": "Indicates the horizontal or vertical orientation of the component.",
  16258. "docsTags": [],
  16259. "default": "\"vertical\"",
  16260. "values": [
  16261. {
  16262. "value": "grid",
  16263. "type": "string"
  16264. },
  16265. {
  16266. "value": "horizontal",
  16267. "type": "string"
  16268. },
  16269. {
  16270. "value": "vertical",
  16271. "type": "string"
  16272. }
  16273. ],
  16274. "optional": false,
  16275. "required": false
  16276. },
  16277. {
  16278. "name": "loading",
  16279. "type": "boolean",
  16280. "mutable": false,
  16281. "attr": "loading",
  16282. "reflectToAttr": true,
  16283. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  16284. "docsTags": [],
  16285. "default": "false",
  16286. "values": [
  16287. {
  16288. "type": "boolean"
  16289. }
  16290. ],
  16291. "optional": false,
  16292. "required": false
  16293. }
  16294. ],
  16295. "methods": [],
  16296. "events": [
  16297. {
  16298. "event": "calciteListOrderChange",
  16299. "detail": "any",
  16300. "bubbles": true,
  16301. "cancelable": true,
  16302. "composed": true,
  16303. "docs": "Emitted when the order of the list has changed.",
  16304. "docsTags": []
  16305. }
  16306. ],
  16307. "listeners": [
  16308. {
  16309. "event": "calciteHandleNudge",
  16310. "capture": false,
  16311. "passive": false
  16312. }
  16313. ],
  16314. "styles": [],
  16315. "slots": [
  16316. {
  16317. "name": "",
  16318. "docs": "A slot for adding sortable items."
  16319. }
  16320. ],
  16321. "parts": [],
  16322. "dependents": [],
  16323. "dependencies": [],
  16324. "dependencyGraph": {}
  16325. },
  16326. {
  16327. "filePath": "./src/components/split-button/split-button.tsx",
  16328. "encapsulation": "shadow",
  16329. "tag": "calcite-split-button",
  16330. "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",
  16331. "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.",
  16332. "docsTags": [
  16333. {
  16334. "name": "slot",
  16335. "text": "- A slot for adding `calcite-dropdown` content."
  16336. }
  16337. ],
  16338. "usage": {
  16339. "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"
  16340. },
  16341. "props": [
  16342. {
  16343. "name": "appearance",
  16344. "type": "\"clear\" | \"outline\" | \"solid\" | \"transparent\"",
  16345. "mutable": false,
  16346. "attr": "appearance",
  16347. "reflectToAttr": true,
  16348. "docs": "specify the appearance style of the button, defaults to solid.",
  16349. "docsTags": [],
  16350. "default": "\"solid\"",
  16351. "values": [
  16352. {
  16353. "value": "clear",
  16354. "type": "string"
  16355. },
  16356. {
  16357. "value": "outline",
  16358. "type": "string"
  16359. },
  16360. {
  16361. "value": "solid",
  16362. "type": "string"
  16363. },
  16364. {
  16365. "value": "transparent",
  16366. "type": "string"
  16367. }
  16368. ],
  16369. "optional": false,
  16370. "required": false
  16371. },
  16372. {
  16373. "name": "color",
  16374. "type": "\"blue\" | \"inverse\" | \"neutral\" | \"red\"",
  16375. "mutable": false,
  16376. "attr": "color",
  16377. "reflectToAttr": true,
  16378. "docs": "specify the color of the control, defaults to blue",
  16379. "docsTags": [],
  16380. "default": "\"blue\"",
  16381. "values": [
  16382. {
  16383. "value": "blue",
  16384. "type": "string"
  16385. },
  16386. {
  16387. "value": "inverse",
  16388. "type": "string"
  16389. },
  16390. {
  16391. "value": "neutral",
  16392. "type": "string"
  16393. },
  16394. {
  16395. "value": "red",
  16396. "type": "string"
  16397. }
  16398. ],
  16399. "optional": false,
  16400. "required": false
  16401. },
  16402. {
  16403. "name": "disabled",
  16404. "type": "boolean",
  16405. "mutable": false,
  16406. "attr": "disabled",
  16407. "reflectToAttr": true,
  16408. "docs": "is the control disabled",
  16409. "docsTags": [],
  16410. "default": "false",
  16411. "values": [
  16412. {
  16413. "type": "boolean"
  16414. }
  16415. ],
  16416. "optional": false,
  16417. "required": false
  16418. },
  16419. {
  16420. "name": "dropdownIconType",
  16421. "type": "\"caret\" | \"chevron\" | \"ellipsis\" | \"overflow\"",
  16422. "mutable": false,
  16423. "attr": "dropdown-icon-type",
  16424. "reflectToAttr": true,
  16425. "docs": "specify the icon used for the dropdown menu, defaults to chevron",
  16426. "docsTags": [],
  16427. "default": "\"chevron\"",
  16428. "values": [
  16429. {
  16430. "value": "caret",
  16431. "type": "string"
  16432. },
  16433. {
  16434. "value": "chevron",
  16435. "type": "string"
  16436. },
  16437. {
  16438. "value": "ellipsis",
  16439. "type": "string"
  16440. },
  16441. {
  16442. "value": "overflow",
  16443. "type": "string"
  16444. }
  16445. ],
  16446. "optional": false,
  16447. "required": false
  16448. },
  16449. {
  16450. "name": "dropdownLabel",
  16451. "type": "string",
  16452. "mutable": false,
  16453. "attr": "dropdown-label",
  16454. "reflectToAttr": true,
  16455. "docs": "aria label for overflow button",
  16456. "docsTags": [],
  16457. "values": [
  16458. {
  16459. "type": "string"
  16460. }
  16461. ],
  16462. "optional": true,
  16463. "required": false
  16464. },
  16465. {
  16466. "name": "loading",
  16467. "type": "boolean",
  16468. "mutable": false,
  16469. "attr": "loading",
  16470. "reflectToAttr": true,
  16471. "docs": "optionally add a calcite-loader component to the control,\ndisabling interaction. with the primary button",
  16472. "docsTags": [],
  16473. "default": "false",
  16474. "values": [
  16475. {
  16476. "type": "boolean"
  16477. }
  16478. ],
  16479. "optional": false,
  16480. "required": false
  16481. },
  16482. {
  16483. "name": "overlayPositioning",
  16484. "type": "\"absolute\" | \"fixed\"",
  16485. "mutable": false,
  16486. "attr": "overlay-positioning",
  16487. "reflectToAttr": false,
  16488. "docs": "Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value.",
  16489. "docsTags": [],
  16490. "default": "\"absolute\"",
  16491. "values": [
  16492. {
  16493. "value": "absolute",
  16494. "type": "string"
  16495. },
  16496. {
  16497. "value": "fixed",
  16498. "type": "string"
  16499. }
  16500. ],
  16501. "optional": false,
  16502. "required": false
  16503. },
  16504. {
  16505. "name": "primaryIconEnd",
  16506. "type": "string",
  16507. "mutable": false,
  16508. "attr": "primary-icon-end",
  16509. "reflectToAttr": true,
  16510. "docs": "optionally pass an icon to display at the end of the primary button - accepts Calcite UI icon names",
  16511. "docsTags": [],
  16512. "values": [
  16513. {
  16514. "type": "string"
  16515. }
  16516. ],
  16517. "optional": true,
  16518. "required": false
  16519. },
  16520. {
  16521. "name": "primaryIconFlipRtl",
  16522. "type": "\"both\" | \"end\" | \"start\"",
  16523. "mutable": false,
  16524. "attr": "primary-icon-flip-rtl",
  16525. "reflectToAttr": true,
  16526. "docs": "flip the primary icon(s) in rtl",
  16527. "docsTags": [],
  16528. "values": [
  16529. {
  16530. "value": "both",
  16531. "type": "string"
  16532. },
  16533. {
  16534. "value": "end",
  16535. "type": "string"
  16536. },
  16537. {
  16538. "value": "start",
  16539. "type": "string"
  16540. }
  16541. ],
  16542. "optional": true,
  16543. "required": false
  16544. },
  16545. {
  16546. "name": "primaryIconStart",
  16547. "type": "string",
  16548. "mutable": false,
  16549. "attr": "primary-icon-start",
  16550. "reflectToAttr": true,
  16551. "docs": "optionally pass an icon to display at the start of the primary button - accepts Calcite UI icon names",
  16552. "docsTags": [],
  16553. "values": [
  16554. {
  16555. "type": "string"
  16556. }
  16557. ],
  16558. "optional": true,
  16559. "required": false
  16560. },
  16561. {
  16562. "name": "primaryLabel",
  16563. "type": "string",
  16564. "mutable": false,
  16565. "attr": "primary-label",
  16566. "reflectToAttr": true,
  16567. "docs": "optionally pass an aria-label for the primary button",
  16568. "docsTags": [],
  16569. "values": [
  16570. {
  16571. "type": "string"
  16572. }
  16573. ],
  16574. "optional": true,
  16575. "required": false
  16576. },
  16577. {
  16578. "name": "primaryText",
  16579. "type": "string",
  16580. "mutable": false,
  16581. "attr": "primary-text",
  16582. "reflectToAttr": true,
  16583. "docs": "text for primary action button",
  16584. "docsTags": [],
  16585. "values": [
  16586. {
  16587. "type": "string"
  16588. }
  16589. ],
  16590. "optional": false,
  16591. "required": false
  16592. },
  16593. {
  16594. "name": "scale",
  16595. "type": "\"l\" | \"m\" | \"s\"",
  16596. "mutable": false,
  16597. "attr": "scale",
  16598. "reflectToAttr": true,
  16599. "docs": "specify the scale of the control, defaults to m",
  16600. "docsTags": [],
  16601. "default": "\"m\"",
  16602. "values": [
  16603. {
  16604. "value": "l",
  16605. "type": "string"
  16606. },
  16607. {
  16608. "value": "m",
  16609. "type": "string"
  16610. },
  16611. {
  16612. "value": "s",
  16613. "type": "string"
  16614. }
  16615. ],
  16616. "optional": false,
  16617. "required": false
  16618. },
  16619. {
  16620. "name": "width",
  16621. "type": "\"auto\" | \"full\" | \"half\"",
  16622. "mutable": false,
  16623. "attr": "width",
  16624. "reflectToAttr": true,
  16625. "docs": "specify the width of the button, defaults to auto",
  16626. "docsTags": [],
  16627. "default": "\"auto\"",
  16628. "values": [
  16629. {
  16630. "value": "auto",
  16631. "type": "string"
  16632. },
  16633. {
  16634. "value": "full",
  16635. "type": "string"
  16636. },
  16637. {
  16638. "value": "half",
  16639. "type": "string"
  16640. }
  16641. ],
  16642. "optional": false,
  16643. "required": false
  16644. }
  16645. ],
  16646. "methods": [],
  16647. "events": [
  16648. {
  16649. "event": "calciteSplitButtonPrimaryClick",
  16650. "detail": "any",
  16651. "bubbles": true,
  16652. "cancelable": true,
  16653. "composed": true,
  16654. "docs": "fired when the primary button is clicked",
  16655. "docsTags": []
  16656. },
  16657. {
  16658. "event": "calciteSplitButtonSecondaryClick",
  16659. "detail": "any",
  16660. "bubbles": true,
  16661. "cancelable": true,
  16662. "composed": true,
  16663. "docs": "fired when the secondary button is clicked",
  16664. "docsTags": []
  16665. }
  16666. ],
  16667. "listeners": [],
  16668. "styles": [],
  16669. "slots": [
  16670. {
  16671. "name": "",
  16672. "docs": "A slot for adding `calcite-dropdown` content."
  16673. }
  16674. ],
  16675. "parts": [],
  16676. "dependents": [],
  16677. "dependencies": [
  16678. "calcite-button",
  16679. "calcite-dropdown"
  16680. ],
  16681. "dependencyGraph": {
  16682. "calcite-split-button": [
  16683. "calcite-button",
  16684. "calcite-dropdown"
  16685. ],
  16686. "calcite-button": [
  16687. "calcite-loader",
  16688. "calcite-icon"
  16689. ]
  16690. }
  16691. },
  16692. {
  16693. "filePath": "./src/components/stepper/stepper.tsx",
  16694. "encapsulation": "shadow",
  16695. "tag": "calcite-stepper",
  16696. "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",
  16697. "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.",
  16698. "docsTags": [
  16699. {
  16700. "name": "slot",
  16701. "text": "- A slot for adding `calcite-stepper-item`s."
  16702. }
  16703. ],
  16704. "usage": {
  16705. "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"
  16706. },
  16707. "props": [
  16708. {
  16709. "name": "icon",
  16710. "type": "boolean",
  16711. "mutable": false,
  16712. "attr": "icon",
  16713. "reflectToAttr": true,
  16714. "docs": "optionally display a status icon next to the step title",
  16715. "docsTags": [],
  16716. "default": "false",
  16717. "values": [
  16718. {
  16719. "type": "boolean"
  16720. }
  16721. ],
  16722. "optional": false,
  16723. "required": false
  16724. },
  16725. {
  16726. "name": "layout",
  16727. "type": "\"grid\" | \"horizontal\" | \"vertical\"",
  16728. "mutable": false,
  16729. "attr": "layout",
  16730. "reflectToAttr": true,
  16731. "docs": "specify the layout of stepper, defaults to horizontal",
  16732. "docsTags": [],
  16733. "default": "\"horizontal\"",
  16734. "values": [
  16735. {
  16736. "value": "grid",
  16737. "type": "string"
  16738. },
  16739. {
  16740. "value": "horizontal",
  16741. "type": "string"
  16742. },
  16743. {
  16744. "value": "vertical",
  16745. "type": "string"
  16746. }
  16747. ],
  16748. "optional": false,
  16749. "required": false
  16750. },
  16751. {
  16752. "name": "numbered",
  16753. "type": "boolean",
  16754. "mutable": false,
  16755. "attr": "numbered",
  16756. "reflectToAttr": true,
  16757. "docs": "optionally display the number next to the step title",
  16758. "docsTags": [],
  16759. "default": "false",
  16760. "values": [
  16761. {
  16762. "type": "boolean"
  16763. }
  16764. ],
  16765. "optional": false,
  16766. "required": false
  16767. },
  16768. {
  16769. "name": "scale",
  16770. "type": "\"l\" | \"m\" | \"s\"",
  16771. "mutable": false,
  16772. "attr": "scale",
  16773. "reflectToAttr": true,
  16774. "docs": "specify the scale of stepper, defaults to m",
  16775. "docsTags": [],
  16776. "default": "\"m\"",
  16777. "values": [
  16778. {
  16779. "value": "l",
  16780. "type": "string"
  16781. },
  16782. {
  16783. "value": "m",
  16784. "type": "string"
  16785. },
  16786. {
  16787. "value": "s",
  16788. "type": "string"
  16789. }
  16790. ],
  16791. "optional": false,
  16792. "required": false
  16793. }
  16794. ],
  16795. "methods": [
  16796. {
  16797. "name": "endStep",
  16798. "returns": {
  16799. "type": "Promise<void>",
  16800. "docs": ""
  16801. },
  16802. "signature": "endStep() => Promise<void>",
  16803. "parameters": [],
  16804. "docs": "set the last step as active",
  16805. "docsTags": []
  16806. },
  16807. {
  16808. "name": "goToStep",
  16809. "returns": {
  16810. "type": "Promise<void>",
  16811. "docs": ""
  16812. },
  16813. "signature": "goToStep(step: number) => Promise<void>",
  16814. "parameters": [],
  16815. "docs": "set the requested step as active",
  16816. "docsTags": []
  16817. },
  16818. {
  16819. "name": "nextStep",
  16820. "returns": {
  16821. "type": "Promise<void>",
  16822. "docs": ""
  16823. },
  16824. "signature": "nextStep() => Promise<void>",
  16825. "parameters": [],
  16826. "docs": "set the next step as active",
  16827. "docsTags": []
  16828. },
  16829. {
  16830. "name": "prevStep",
  16831. "returns": {
  16832. "type": "Promise<void>",
  16833. "docs": ""
  16834. },
  16835. "signature": "prevStep() => Promise<void>",
  16836. "parameters": [],
  16837. "docs": "set the previous step as active",
  16838. "docsTags": []
  16839. },
  16840. {
  16841. "name": "startStep",
  16842. "returns": {
  16843. "type": "Promise<void>",
  16844. "docs": ""
  16845. },
  16846. "signature": "startStep() => Promise<void>",
  16847. "parameters": [],
  16848. "docs": "set the first step as active",
  16849. "docsTags": []
  16850. }
  16851. ],
  16852. "events": [],
  16853. "listeners": [
  16854. {
  16855. "event": "calciteStepperItemKeyEvent",
  16856. "capture": false,
  16857. "passive": false
  16858. },
  16859. {
  16860. "event": "calciteStepperItemRegister",
  16861. "capture": false,
  16862. "passive": false
  16863. },
  16864. {
  16865. "event": "calciteStepperItemSelect",
  16866. "capture": false,
  16867. "passive": false
  16868. }
  16869. ],
  16870. "styles": [],
  16871. "slots": [
  16872. {
  16873. "name": "",
  16874. "docs": "A slot for adding `calcite-stepper-item`s."
  16875. }
  16876. ],
  16877. "parts": [],
  16878. "dependents": [],
  16879. "dependencies": [],
  16880. "dependencyGraph": {}
  16881. },
  16882. {
  16883. "filePath": "./src/components/stepper-item/stepper-item.tsx",
  16884. "encapsulation": "shadow",
  16885. "tag": "calcite-stepper-item",
  16886. "readme": "# calcite-stepper-item\n\nindividual `calcite-stepper-item` item\n",
  16887. "docs": "individual `calcite-stepper-item` item",
  16888. "docsTags": [
  16889. {
  16890. "name": "slot",
  16891. "text": "- A slot for adding custom content."
  16892. }
  16893. ],
  16894. "usage": {},
  16895. "props": [
  16896. {
  16897. "name": "active",
  16898. "type": "boolean",
  16899. "mutable": true,
  16900. "attr": "active",
  16901. "reflectToAttr": true,
  16902. "docs": "is the step active",
  16903. "docsTags": [],
  16904. "default": "false",
  16905. "values": [
  16906. {
  16907. "type": "boolean"
  16908. }
  16909. ],
  16910. "optional": false,
  16911. "required": false
  16912. },
  16913. {
  16914. "name": "complete",
  16915. "type": "boolean",
  16916. "mutable": false,
  16917. "attr": "complete",
  16918. "reflectToAttr": true,
  16919. "docs": "has the step been completed",
  16920. "docsTags": [],
  16921. "default": "false",
  16922. "values": [
  16923. {
  16924. "type": "boolean"
  16925. }
  16926. ],
  16927. "optional": false,
  16928. "required": false
  16929. },
  16930. {
  16931. "name": "disabled",
  16932. "type": "boolean",
  16933. "mutable": false,
  16934. "attr": "disabled",
  16935. "reflectToAttr": true,
  16936. "docs": "is the step disabled and not navigable to by a user",
  16937. "docsTags": [],
  16938. "default": "false",
  16939. "values": [
  16940. {
  16941. "type": "boolean"
  16942. }
  16943. ],
  16944. "optional": false,
  16945. "required": false
  16946. },
  16947. {
  16948. "name": "error",
  16949. "type": "boolean",
  16950. "mutable": false,
  16951. "attr": "error",
  16952. "reflectToAttr": false,
  16953. "docs": "does the step contain an error that needs to be resolved by the user",
  16954. "docsTags": [],
  16955. "default": "false",
  16956. "values": [
  16957. {
  16958. "type": "boolean"
  16959. }
  16960. ],
  16961. "optional": false,
  16962. "required": false
  16963. },
  16964. {
  16965. "name": "itemSubtitle",
  16966. "type": "string",
  16967. "mutable": false,
  16968. "attr": "item-subtitle",
  16969. "reflectToAttr": false,
  16970. "docs": "pass a title for the stepper item",
  16971. "docsTags": [],
  16972. "values": [
  16973. {
  16974. "type": "string"
  16975. }
  16976. ],
  16977. "optional": true,
  16978. "required": false
  16979. },
  16980. {
  16981. "name": "itemTitle",
  16982. "type": "string",
  16983. "mutable": false,
  16984. "attr": "item-title",
  16985. "reflectToAttr": false,
  16986. "docs": "pass a title for the stepper item",
  16987. "docsTags": [],
  16988. "values": [
  16989. {
  16990. "type": "string"
  16991. }
  16992. ],
  16993. "optional": true,
  16994. "required": false
  16995. }
  16996. ],
  16997. "methods": [],
  16998. "events": [],
  16999. "listeners": [
  17000. {
  17001. "event": "calciteStepperItemChange",
  17002. "target": "body",
  17003. "capture": false,
  17004. "passive": false
  17005. }
  17006. ],
  17007. "styles": [],
  17008. "slots": [
  17009. {
  17010. "name": "",
  17011. "docs": "A slot for adding custom content."
  17012. }
  17013. ],
  17014. "parts": [],
  17015. "dependents": [],
  17016. "dependencies": [
  17017. "calcite-icon"
  17018. ],
  17019. "dependencyGraph": {
  17020. "calcite-stepper-item": [
  17021. "calcite-icon"
  17022. ]
  17023. }
  17024. },
  17025. {
  17026. "filePath": "./src/components/switch/switch.tsx",
  17027. "encapsulation": "shadow",
  17028. "tag": "calcite-switch",
  17029. "readme": "# calcite-switch\n\n`calcite-switch` is used to toggle a value on or off.\n",
  17030. "docs": "`calcite-switch` is used to toggle a value on or off.",
  17031. "docsTags": [],
  17032. "usage": {
  17033. "Basic": "```html\n<label> <calcite-switch checked></calcite-switch> Switch is on </label>\n```\n"
  17034. },
  17035. "props": [
  17036. {
  17037. "name": "checked",
  17038. "type": "boolean",
  17039. "mutable": true,
  17040. "attr": "checked",
  17041. "reflectToAttr": true,
  17042. "docs": "True if the switch is initially on",
  17043. "docsTags": [],
  17044. "default": "false",
  17045. "values": [
  17046. {
  17047. "type": "boolean"
  17048. }
  17049. ],
  17050. "optional": false,
  17051. "required": false
  17052. },
  17053. {
  17054. "name": "disabled",
  17055. "type": "boolean",
  17056. "mutable": false,
  17057. "attr": "disabled",
  17058. "reflectToAttr": true,
  17059. "docs": "True if the switch is disabled",
  17060. "docsTags": [],
  17061. "default": "false",
  17062. "values": [
  17063. {
  17064. "type": "boolean"
  17065. }
  17066. ],
  17067. "optional": false,
  17068. "required": false
  17069. },
  17070. {
  17071. "name": "label",
  17072. "type": "string",
  17073. "mutable": false,
  17074. "attr": "label",
  17075. "reflectToAttr": false,
  17076. "docs": "Applies to the aria-label attribute on the switch",
  17077. "docsTags": [],
  17078. "values": [
  17079. {
  17080. "type": "string"
  17081. }
  17082. ],
  17083. "optional": true,
  17084. "required": false
  17085. },
  17086. {
  17087. "name": "name",
  17088. "type": "string",
  17089. "mutable": false,
  17090. "attr": "name",
  17091. "reflectToAttr": true,
  17092. "docs": "The name of the switch input",
  17093. "docsTags": [],
  17094. "values": [
  17095. {
  17096. "type": "string"
  17097. }
  17098. ],
  17099. "optional": false,
  17100. "required": false
  17101. },
  17102. {
  17103. "name": "scale",
  17104. "type": "\"l\" | \"m\" | \"s\"",
  17105. "mutable": false,
  17106. "attr": "scale",
  17107. "reflectToAttr": true,
  17108. "docs": "The scale of the switch",
  17109. "docsTags": [],
  17110. "default": "\"m\"",
  17111. "values": [
  17112. {
  17113. "value": "l",
  17114. "type": "string"
  17115. },
  17116. {
  17117. "value": "m",
  17118. "type": "string"
  17119. },
  17120. {
  17121. "value": "s",
  17122. "type": "string"
  17123. }
  17124. ],
  17125. "optional": false,
  17126. "required": false
  17127. },
  17128. {
  17129. "name": "switched",
  17130. "type": "boolean",
  17131. "mutable": true,
  17132. "attr": "switched",
  17133. "reflectToAttr": false,
  17134. "docs": "True if the switch is initially on",
  17135. "docsTags": [
  17136. {
  17137. "name": "deprecated",
  17138. "text": "use 'checked' instead."
  17139. }
  17140. ],
  17141. "default": "false",
  17142. "deprecation": "use 'checked' instead.",
  17143. "values": [
  17144. {
  17145. "type": "boolean"
  17146. }
  17147. ],
  17148. "optional": false,
  17149. "required": false
  17150. },
  17151. {
  17152. "name": "value",
  17153. "type": "any",
  17154. "mutable": false,
  17155. "attr": "value",
  17156. "reflectToAttr": false,
  17157. "docs": "The value of the switch input",
  17158. "docsTags": [],
  17159. "values": [
  17160. {
  17161. "type": "any"
  17162. }
  17163. ],
  17164. "optional": false,
  17165. "required": false
  17166. }
  17167. ],
  17168. "methods": [
  17169. {
  17170. "name": "setFocus",
  17171. "returns": {
  17172. "type": "Promise<void>",
  17173. "docs": ""
  17174. },
  17175. "signature": "setFocus() => Promise<void>",
  17176. "parameters": [],
  17177. "docs": "Sets focus on the component.",
  17178. "docsTags": []
  17179. }
  17180. ],
  17181. "events": [
  17182. {
  17183. "event": "calciteSwitchChange",
  17184. "detail": "any",
  17185. "bubbles": true,
  17186. "cancelable": true,
  17187. "composed": true,
  17188. "docs": "Fires when the checked value has changed.",
  17189. "docsTags": []
  17190. }
  17191. ],
  17192. "listeners": [],
  17193. "styles": [],
  17194. "slots": [],
  17195. "parts": [],
  17196. "dependents": [
  17197. "calcite-block-section"
  17198. ],
  17199. "dependencies": [],
  17200. "dependencyGraph": {
  17201. "calcite-block-section": [
  17202. "calcite-switch"
  17203. ]
  17204. }
  17205. },
  17206. {
  17207. "filePath": "./src/components/tab/tab.tsx",
  17208. "encapsulation": "shadow",
  17209. "tag": "calcite-tab",
  17210. "readme": "# calcite-tab\n",
  17211. "docs": "",
  17212. "docsTags": [
  17213. {
  17214. "name": "slot",
  17215. "text": "- A slot for adding custom content."
  17216. }
  17217. ],
  17218. "usage": {
  17219. "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"
  17220. },
  17221. "props": [
  17222. {
  17223. "name": "active",
  17224. "type": "boolean",
  17225. "mutable": true,
  17226. "attr": "active",
  17227. "reflectToAttr": true,
  17228. "docs": "Show this tab",
  17229. "docsTags": [],
  17230. "default": "false",
  17231. "values": [
  17232. {
  17233. "type": "boolean"
  17234. }
  17235. ],
  17236. "optional": false,
  17237. "required": false
  17238. },
  17239. {
  17240. "name": "tab",
  17241. "type": "string",
  17242. "mutable": false,
  17243. "attr": "tab",
  17244. "reflectToAttr": true,
  17245. "docs": "Optionally include a unique name for this tab,\nbe sure to also set this name on the associated title.",
  17246. "docsTags": [],
  17247. "values": [
  17248. {
  17249. "type": "string"
  17250. }
  17251. ],
  17252. "optional": false,
  17253. "required": false
  17254. }
  17255. ],
  17256. "methods": [
  17257. {
  17258. "name": "getTabIndex",
  17259. "returns": {
  17260. "type": "Promise<number>",
  17261. "docs": ""
  17262. },
  17263. "signature": "getTabIndex() => Promise<number>",
  17264. "parameters": [],
  17265. "docs": "Return the index of this tab within the tab array",
  17266. "docsTags": []
  17267. }
  17268. ],
  17269. "events": [],
  17270. "listeners": [
  17271. {
  17272. "event": "calciteInternalTabChange",
  17273. "target": "body",
  17274. "capture": false,
  17275. "passive": false
  17276. }
  17277. ],
  17278. "styles": [],
  17279. "slots": [
  17280. {
  17281. "name": "",
  17282. "docs": "A slot for adding custom content."
  17283. }
  17284. ],
  17285. "parts": [],
  17286. "dependents": [
  17287. "calcite-color-picker"
  17288. ],
  17289. "dependencies": [],
  17290. "dependencyGraph": {
  17291. "calcite-color-picker": [
  17292. "calcite-tab"
  17293. ]
  17294. }
  17295. },
  17296. {
  17297. "filePath": "./src/components/tab-nav/tab-nav.tsx",
  17298. "encapsulation": "shadow",
  17299. "tag": "calcite-tab-nav",
  17300. "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",
  17301. "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.",
  17302. "docsTags": [
  17303. {
  17304. "name": "slot",
  17305. "text": "- A slot for adding `calcite-tab-title`s."
  17306. }
  17307. ],
  17308. "usage": {
  17309. "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"
  17310. },
  17311. "props": [
  17312. {
  17313. "name": "storageId",
  17314. "type": "string",
  17315. "mutable": false,
  17316. "attr": "storage-id",
  17317. "reflectToAttr": false,
  17318. "docs": "Name to use when saving selected tab data to localStorage",
  17319. "docsTags": [],
  17320. "values": [
  17321. {
  17322. "type": "string"
  17323. }
  17324. ],
  17325. "optional": false,
  17326. "required": false
  17327. },
  17328. {
  17329. "name": "syncId",
  17330. "type": "string",
  17331. "mutable": false,
  17332. "attr": "sync-id",
  17333. "reflectToAttr": false,
  17334. "docs": "Pass the same string to multiple tab navs to keep them all in sync if one changes",
  17335. "docsTags": [],
  17336. "values": [
  17337. {
  17338. "type": "string"
  17339. }
  17340. ],
  17341. "optional": false,
  17342. "required": false
  17343. }
  17344. ],
  17345. "methods": [],
  17346. "events": [
  17347. {
  17348. "event": "calciteTabChange",
  17349. "detail": "TabChangeEventDetail",
  17350. "bubbles": true,
  17351. "cancelable": true,
  17352. "composed": true,
  17353. "docs": "Emitted when the active tab changes",
  17354. "docsTags": [
  17355. {
  17356. "name": "see",
  17357. "text": "[TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)"
  17358. }
  17359. ]
  17360. }
  17361. ],
  17362. "listeners": [
  17363. {
  17364. "event": "calciteTabsFocusPrevious",
  17365. "capture": false,
  17366. "passive": false
  17367. },
  17368. {
  17369. "event": "calciteTabsFocusNext",
  17370. "capture": false,
  17371. "passive": false
  17372. },
  17373. {
  17374. "event": "calciteInternalTabsActivate",
  17375. "capture": false,
  17376. "passive": false
  17377. },
  17378. {
  17379. "event": "calciteTabsActivate",
  17380. "capture": false,
  17381. "passive": false
  17382. },
  17383. {
  17384. "event": "calciteTabTitleRegister",
  17385. "capture": false,
  17386. "passive": false
  17387. },
  17388. {
  17389. "event": "calciteInternalTabChange",
  17390. "target": "body",
  17391. "capture": false,
  17392. "passive": false
  17393. }
  17394. ],
  17395. "styles": [],
  17396. "slots": [
  17397. {
  17398. "name": "",
  17399. "docs": "A slot for adding `calcite-tab-title`s."
  17400. }
  17401. ],
  17402. "parts": [],
  17403. "dependents": [
  17404. "calcite-color-picker"
  17405. ],
  17406. "dependencies": [],
  17407. "dependencyGraph": {
  17408. "calcite-color-picker": [
  17409. "calcite-tab-nav"
  17410. ]
  17411. }
  17412. },
  17413. {
  17414. "filePath": "./src/components/tab-title/tab-title.tsx",
  17415. "encapsulation": "shadow",
  17416. "tag": "calcite-tab-title",
  17417. "readme": "# calcite-tab-title\n\nThe tab-title is the link that switches between panes in [calcite-tabs](../tabs).\n",
  17418. "docs": "The tab-title is the link that switches between panes in [calcite-tabs](../tabs).",
  17419. "docsTags": [
  17420. {
  17421. "name": "slot",
  17422. "text": "- A slot for adding text."
  17423. }
  17424. ],
  17425. "usage": {},
  17426. "props": [
  17427. {
  17428. "name": "active",
  17429. "type": "boolean",
  17430. "mutable": true,
  17431. "attr": "active",
  17432. "reflectToAttr": true,
  17433. "docs": "Show this tab title as selected",
  17434. "docsTags": [],
  17435. "default": "false",
  17436. "values": [
  17437. {
  17438. "type": "boolean"
  17439. }
  17440. ],
  17441. "optional": false,
  17442. "required": false
  17443. },
  17444. {
  17445. "name": "disabled",
  17446. "type": "boolean",
  17447. "mutable": false,
  17448. "attr": "disabled",
  17449. "reflectToAttr": true,
  17450. "docs": "Disable this tab title",
  17451. "docsTags": [],
  17452. "default": "false",
  17453. "values": [
  17454. {
  17455. "type": "boolean"
  17456. }
  17457. ],
  17458. "optional": false,
  17459. "required": false
  17460. },
  17461. {
  17462. "name": "iconEnd",
  17463. "type": "string",
  17464. "mutable": false,
  17465. "attr": "icon-end",
  17466. "reflectToAttr": true,
  17467. "docs": "optionally pass an icon to display at the end of a tab title - accepts calcite ui icon names",
  17468. "docsTags": [],
  17469. "values": [
  17470. {
  17471. "type": "string"
  17472. }
  17473. ],
  17474. "optional": true,
  17475. "required": false
  17476. },
  17477. {
  17478. "name": "iconFlipRtl",
  17479. "type": "\"both\" | \"end\" | \"start\"",
  17480. "mutable": false,
  17481. "attr": "icon-flip-rtl",
  17482. "reflectToAttr": true,
  17483. "docs": "flip the icon(s) in rtl",
  17484. "docsTags": [],
  17485. "values": [
  17486. {
  17487. "value": "both",
  17488. "type": "string"
  17489. },
  17490. {
  17491. "value": "end",
  17492. "type": "string"
  17493. },
  17494. {
  17495. "value": "start",
  17496. "type": "string"
  17497. }
  17498. ],
  17499. "optional": true,
  17500. "required": false
  17501. },
  17502. {
  17503. "name": "iconStart",
  17504. "type": "string",
  17505. "mutable": false,
  17506. "attr": "icon-start",
  17507. "reflectToAttr": true,
  17508. "docs": "optionally pass an icon to display at the start of a tab title - accepts calcite ui icon names",
  17509. "docsTags": [],
  17510. "values": [
  17511. {
  17512. "type": "string"
  17513. }
  17514. ],
  17515. "optional": true,
  17516. "required": false
  17517. },
  17518. {
  17519. "name": "tab",
  17520. "type": "string",
  17521. "mutable": false,
  17522. "attr": "tab",
  17523. "reflectToAttr": true,
  17524. "docs": "Optionally include a unique name for the tab title,\nbe sure to also set this name on the associated tab.",
  17525. "docsTags": [],
  17526. "values": [
  17527. {
  17528. "type": "string"
  17529. }
  17530. ],
  17531. "optional": true,
  17532. "required": false
  17533. }
  17534. ],
  17535. "methods": [
  17536. {
  17537. "name": "getTabIndex",
  17538. "returns": {
  17539. "type": "Promise<number>",
  17540. "docs": ""
  17541. },
  17542. "signature": "getTabIndex() => Promise<number>",
  17543. "parameters": [],
  17544. "docs": "Return the index of this title within the nav",
  17545. "docsTags": []
  17546. }
  17547. ],
  17548. "events": [
  17549. {
  17550. "event": "calciteTabsActivate",
  17551. "detail": "TabChangeEventDetail",
  17552. "bubbles": true,
  17553. "cancelable": true,
  17554. "composed": true,
  17555. "docs": "Fires when a specific tab is activated. Emits the \"tab\" property or the index position.",
  17556. "docsTags": [
  17557. {
  17558. "name": "see",
  17559. "text": "[TabChangeEventDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tab/interfaces.ts#L1)"
  17560. }
  17561. ]
  17562. }
  17563. ],
  17564. "listeners": [
  17565. {
  17566. "event": "calciteInternalTabChange",
  17567. "target": "body",
  17568. "capture": false,
  17569. "passive": false
  17570. },
  17571. {
  17572. "event": "click",
  17573. "capture": false,
  17574. "passive": false
  17575. },
  17576. {
  17577. "event": "keydown",
  17578. "capture": false,
  17579. "passive": false
  17580. }
  17581. ],
  17582. "styles": [],
  17583. "slots": [
  17584. {
  17585. "name": "",
  17586. "docs": "A slot for adding text."
  17587. }
  17588. ],
  17589. "parts": [],
  17590. "dependents": [
  17591. "calcite-color-picker"
  17592. ],
  17593. "dependencies": [
  17594. "calcite-icon"
  17595. ],
  17596. "dependencyGraph": {
  17597. "calcite-tab-title": [
  17598. "calcite-icon"
  17599. ],
  17600. "calcite-color-picker": [
  17601. "calcite-tab-title"
  17602. ]
  17603. }
  17604. },
  17605. {
  17606. "filePath": "./src/components/tabs/tabs.tsx",
  17607. "encapsulation": "shadow",
  17608. "tag": "calcite-tabs",
  17609. "readme": "# calcite-tabs\n",
  17610. "docs": "",
  17611. "docsTags": [
  17612. {
  17613. "name": "slot",
  17614. "text": "- A slot for adding `calcite-tab`s."
  17615. },
  17616. {
  17617. "name": "slot",
  17618. "text": "tab-nav - A slot for adding a tab navigation component."
  17619. }
  17620. ],
  17621. "usage": {
  17622. "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",
  17623. "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"
  17624. },
  17625. "props": [
  17626. {
  17627. "name": "bordered",
  17628. "type": "boolean",
  17629. "mutable": true,
  17630. "attr": "bordered",
  17631. "reflectToAttr": true,
  17632. "docs": "Optionally enable tabs to appear like a folder-style menu when its layout is \"inline\"",
  17633. "docsTags": [],
  17634. "default": "false",
  17635. "values": [
  17636. {
  17637. "type": "boolean"
  17638. }
  17639. ],
  17640. "optional": false,
  17641. "required": false
  17642. },
  17643. {
  17644. "name": "layout",
  17645. "type": "\"center\" | \"inline\"",
  17646. "mutable": false,
  17647. "attr": "layout",
  17648. "reflectToAttr": true,
  17649. "docs": "Align tab titles to the edge or fully justify them across the tab nav (\"center\")",
  17650. "docsTags": [],
  17651. "default": "\"inline\"",
  17652. "values": [
  17653. {
  17654. "value": "center",
  17655. "type": "string"
  17656. },
  17657. {
  17658. "value": "inline",
  17659. "type": "string"
  17660. }
  17661. ],
  17662. "optional": false,
  17663. "required": false
  17664. },
  17665. {
  17666. "name": "position",
  17667. "type": "\"above\" | \"below\"",
  17668. "mutable": false,
  17669. "attr": "position",
  17670. "reflectToAttr": true,
  17671. "docs": "Display the tabs above (default) or below the tab content",
  17672. "docsTags": [],
  17673. "default": "\"above\"",
  17674. "values": [
  17675. {
  17676. "value": "above",
  17677. "type": "string"
  17678. },
  17679. {
  17680. "value": "below",
  17681. "type": "string"
  17682. }
  17683. ],
  17684. "optional": false,
  17685. "required": false
  17686. },
  17687. {
  17688. "name": "scale",
  17689. "type": "\"l\" | \"m\" | \"s\"",
  17690. "mutable": false,
  17691. "attr": "scale",
  17692. "reflectToAttr": true,
  17693. "docs": "Specify the scale of the tabs component, defaults to m",
  17694. "docsTags": [],
  17695. "default": "\"m\"",
  17696. "values": [
  17697. {
  17698. "value": "l",
  17699. "type": "string"
  17700. },
  17701. {
  17702. "value": "m",
  17703. "type": "string"
  17704. },
  17705. {
  17706. "value": "s",
  17707. "type": "string"
  17708. }
  17709. ],
  17710. "optional": false,
  17711. "required": false
  17712. }
  17713. ],
  17714. "methods": [],
  17715. "events": [],
  17716. "listeners": [
  17717. {
  17718. "event": "calciteTabTitleRegister",
  17719. "capture": false,
  17720. "passive": false
  17721. },
  17722. {
  17723. "event": "calciteTabTitleUnregister",
  17724. "target": "body",
  17725. "capture": false,
  17726. "passive": false
  17727. },
  17728. {
  17729. "event": "calciteTabRegister",
  17730. "capture": false,
  17731. "passive": false
  17732. },
  17733. {
  17734. "event": "calciteTabUnregister",
  17735. "target": "body",
  17736. "capture": false,
  17737. "passive": false
  17738. }
  17739. ],
  17740. "styles": [],
  17741. "slots": [
  17742. {
  17743. "name": "",
  17744. "docs": "A slot for adding `calcite-tab`s."
  17745. },
  17746. {
  17747. "name": "tab-nav",
  17748. "docs": "A slot for adding a tab navigation component."
  17749. }
  17750. ],
  17751. "parts": [],
  17752. "dependents": [
  17753. "calcite-color-picker"
  17754. ],
  17755. "dependencies": [],
  17756. "dependencyGraph": {
  17757. "calcite-color-picker": [
  17758. "calcite-tabs"
  17759. ]
  17760. }
  17761. },
  17762. {
  17763. "filePath": "./src/components/tile/tile.tsx",
  17764. "encapsulation": "shadow",
  17765. "tag": "calcite-tile",
  17766. "readme": "# calcite-tile\n",
  17767. "docs": "",
  17768. "docsTags": [
  17769. {
  17770. "name": "slot",
  17771. "text": "content-start - A slot for adding non-actionable elements before the tile content."
  17772. },
  17773. {
  17774. "name": "slot",
  17775. "text": "content-end - A slot for adding non-actionable elements after the tile content."
  17776. }
  17777. ],
  17778. "usage": {
  17779. "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"
  17780. },
  17781. "props": [
  17782. {
  17783. "name": "active",
  17784. "type": "boolean",
  17785. "mutable": false,
  17786. "attr": "active",
  17787. "reflectToAttr": true,
  17788. "docs": "The active state of the tile.",
  17789. "docsTags": [],
  17790. "default": "false",
  17791. "values": [
  17792. {
  17793. "type": "boolean"
  17794. }
  17795. ],
  17796. "optional": false,
  17797. "required": false
  17798. },
  17799. {
  17800. "name": "description",
  17801. "type": "string",
  17802. "mutable": false,
  17803. "attr": "description",
  17804. "reflectToAttr": true,
  17805. "docs": "The description text that appears beneath the heading of the tile.",
  17806. "docsTags": [],
  17807. "values": [
  17808. {
  17809. "type": "string"
  17810. }
  17811. ],
  17812. "optional": true,
  17813. "required": false
  17814. },
  17815. {
  17816. "name": "disabled",
  17817. "type": "boolean",
  17818. "mutable": false,
  17819. "attr": "disabled",
  17820. "reflectToAttr": true,
  17821. "docs": "When true, prevents interaction.",
  17822. "docsTags": [],
  17823. "default": "false",
  17824. "values": [
  17825. {
  17826. "type": "boolean"
  17827. }
  17828. ],
  17829. "optional": false,
  17830. "required": false
  17831. },
  17832. {
  17833. "name": "embed",
  17834. "type": "boolean",
  17835. "mutable": false,
  17836. "attr": "embed",
  17837. "reflectToAttr": true,
  17838. "docs": "The embed mode of the tile. When true, renders without a border and padding for use by other components.",
  17839. "docsTags": [],
  17840. "default": "false",
  17841. "values": [
  17842. {
  17843. "type": "boolean"
  17844. }
  17845. ],
  17846. "optional": false,
  17847. "required": false
  17848. },
  17849. {
  17850. "name": "heading",
  17851. "type": "string",
  17852. "mutable": false,
  17853. "attr": "heading",
  17854. "reflectToAttr": true,
  17855. "docs": "The heading text that appears between the icon and description of the tile.",
  17856. "docsTags": [],
  17857. "values": [
  17858. {
  17859. "type": "string"
  17860. }
  17861. ],
  17862. "optional": true,
  17863. "required": false
  17864. },
  17865. {
  17866. "name": "hidden",
  17867. "type": "boolean",
  17868. "mutable": false,
  17869. "attr": "hidden",
  17870. "reflectToAttr": true,
  17871. "docs": "The hidden state of the tile.",
  17872. "docsTags": [],
  17873. "default": "false",
  17874. "values": [
  17875. {
  17876. "type": "boolean"
  17877. }
  17878. ],
  17879. "optional": false,
  17880. "required": false
  17881. },
  17882. {
  17883. "name": "href",
  17884. "type": "string",
  17885. "mutable": false,
  17886. "attr": "href",
  17887. "reflectToAttr": true,
  17888. "docs": "The (optional) url for the tile. (Only applies when embed is set to false)",
  17889. "docsTags": [],
  17890. "values": [
  17891. {
  17892. "type": "string"
  17893. }
  17894. ],
  17895. "optional": true,
  17896. "required": false
  17897. },
  17898. {
  17899. "name": "icon",
  17900. "type": "string",
  17901. "mutable": false,
  17902. "attr": "icon",
  17903. "reflectToAttr": true,
  17904. "docs": "The icon that appears at the top of the tile.",
  17905. "docsTags": [],
  17906. "values": [
  17907. {
  17908. "type": "string"
  17909. }
  17910. ],
  17911. "optional": true,
  17912. "required": false
  17913. }
  17914. ],
  17915. "methods": [],
  17916. "events": [],
  17917. "listeners": [],
  17918. "styles": [],
  17919. "slots": [
  17920. {
  17921. "name": "content-end",
  17922. "docs": "A slot for adding non-actionable elements after the tile content."
  17923. },
  17924. {
  17925. "name": "content-start",
  17926. "docs": "A slot for adding non-actionable elements before the tile content."
  17927. }
  17928. ],
  17929. "parts": [],
  17930. "dependents": [
  17931. "calcite-tile-select"
  17932. ],
  17933. "dependencies": [
  17934. "calcite-icon",
  17935. "calcite-link"
  17936. ],
  17937. "dependencyGraph": {
  17938. "calcite-tile": [
  17939. "calcite-icon",
  17940. "calcite-link"
  17941. ],
  17942. "calcite-link": [
  17943. "calcite-icon"
  17944. ],
  17945. "calcite-tile-select": [
  17946. "calcite-tile"
  17947. ]
  17948. }
  17949. },
  17950. {
  17951. "filePath": "./src/components/tile-select/tile-select.tsx",
  17952. "encapsulation": "shadow",
  17953. "tag": "calcite-tile-select",
  17954. "readme": "# calcite-tile-select\n",
  17955. "docs": "",
  17956. "docsTags": [
  17957. {
  17958. "name": "slot",
  17959. "text": "- A slot for adding custom content."
  17960. }
  17961. ],
  17962. "usage": {
  17963. "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"
  17964. },
  17965. "props": [
  17966. {
  17967. "name": "checked",
  17968. "type": "boolean",
  17969. "mutable": true,
  17970. "attr": "checked",
  17971. "reflectToAttr": true,
  17972. "docs": "The checked state of the tile select.",
  17973. "docsTags": [],
  17974. "default": "false",
  17975. "values": [
  17976. {
  17977. "type": "boolean"
  17978. }
  17979. ],
  17980. "optional": false,
  17981. "required": false
  17982. },
  17983. {
  17984. "name": "description",
  17985. "type": "string",
  17986. "mutable": false,
  17987. "attr": "description",
  17988. "reflectToAttr": true,
  17989. "docs": "The description text that appears beneath the heading of the tile.",
  17990. "docsTags": [],
  17991. "values": [
  17992. {
  17993. "type": "string"
  17994. }
  17995. ],
  17996. "optional": true,
  17997. "required": false
  17998. },
  17999. {
  18000. "name": "disabled",
  18001. "type": "boolean",
  18002. "mutable": false,
  18003. "attr": "disabled",
  18004. "reflectToAttr": true,
  18005. "docs": "The disabled state of the tile select.",
  18006. "docsTags": [],
  18007. "default": "false",
  18008. "values": [
  18009. {
  18010. "type": "boolean"
  18011. }
  18012. ],
  18013. "optional": false,
  18014. "required": false
  18015. },
  18016. {
  18017. "name": "heading",
  18018. "type": "string",
  18019. "mutable": false,
  18020. "attr": "heading",
  18021. "reflectToAttr": true,
  18022. "docs": "The heading text that appears between the icon and description of the tile.",
  18023. "docsTags": [],
  18024. "values": [
  18025. {
  18026. "type": "string"
  18027. }
  18028. ],
  18029. "optional": true,
  18030. "required": false
  18031. },
  18032. {
  18033. "name": "hidden",
  18034. "type": "boolean",
  18035. "mutable": false,
  18036. "attr": "hidden",
  18037. "reflectToAttr": true,
  18038. "docs": "The hidden state of the tile select.",
  18039. "docsTags": [],
  18040. "default": "false",
  18041. "values": [
  18042. {
  18043. "type": "boolean"
  18044. }
  18045. ],
  18046. "optional": false,
  18047. "required": false
  18048. },
  18049. {
  18050. "name": "icon",
  18051. "type": "string",
  18052. "mutable": false,
  18053. "attr": "icon",
  18054. "reflectToAttr": true,
  18055. "docs": "The icon that appears at the top of the tile.",
  18056. "docsTags": [],
  18057. "values": [
  18058. {
  18059. "type": "string"
  18060. }
  18061. ],
  18062. "optional": true,
  18063. "required": false
  18064. },
  18065. {
  18066. "name": "inputAlignment",
  18067. "type": "\"end\" | \"start\"",
  18068. "mutable": false,
  18069. "attr": "input-alignment",
  18070. "reflectToAttr": true,
  18071. "docs": "The side of the tile that the radio or checkbox appears on when inputEnabled is true.",
  18072. "docsTags": [],
  18073. "default": "\"start\"",
  18074. "values": [
  18075. {
  18076. "value": "end",
  18077. "type": "string"
  18078. },
  18079. {
  18080. "value": "start",
  18081. "type": "string"
  18082. }
  18083. ],
  18084. "optional": false,
  18085. "required": false
  18086. },
  18087. {
  18088. "name": "inputEnabled",
  18089. "type": "boolean",
  18090. "mutable": false,
  18091. "attr": "input-enabled",
  18092. "reflectToAttr": true,
  18093. "docs": "Display an interactive radio or checkbox.",
  18094. "docsTags": [],
  18095. "default": "false",
  18096. "values": [
  18097. {
  18098. "type": "boolean"
  18099. }
  18100. ],
  18101. "optional": false,
  18102. "required": false
  18103. },
  18104. {
  18105. "name": "name",
  18106. "type": "any",
  18107. "mutable": false,
  18108. "attr": "name",
  18109. "reflectToAttr": true,
  18110. "docs": "The name of the tile select. This name will appear in form submissions as either a radio or checkbox identifier based on the `type` property.",
  18111. "docsTags": [],
  18112. "values": [
  18113. {
  18114. "type": "any"
  18115. }
  18116. ],
  18117. "optional": false,
  18118. "required": false
  18119. },
  18120. {
  18121. "name": "type",
  18122. "type": "\"checkbox\" | \"radio\"",
  18123. "mutable": false,
  18124. "attr": "type",
  18125. "reflectToAttr": true,
  18126. "docs": "The selection mode of the tile select: radio (single) or checkbox (multiple).",
  18127. "docsTags": [],
  18128. "default": "\"radio\"",
  18129. "values": [
  18130. {
  18131. "value": "checkbox",
  18132. "type": "string"
  18133. },
  18134. {
  18135. "value": "radio",
  18136. "type": "string"
  18137. }
  18138. ],
  18139. "optional": false,
  18140. "required": false
  18141. },
  18142. {
  18143. "name": "value",
  18144. "type": "any",
  18145. "mutable": false,
  18146. "attr": "value",
  18147. "reflectToAttr": false,
  18148. "docs": "The value of the tile select. This value will appear in form submissions when this tile select is checked.",
  18149. "docsTags": [],
  18150. "values": [
  18151. {
  18152. "type": "any"
  18153. }
  18154. ],
  18155. "optional": true,
  18156. "required": false
  18157. },
  18158. {
  18159. "name": "width",
  18160. "type": "\"auto\" | \"full\"",
  18161. "mutable": false,
  18162. "attr": "width",
  18163. "reflectToAttr": true,
  18164. "docs": "specify the width of the tile, defaults to auto",
  18165. "docsTags": [],
  18166. "default": "\"auto\"",
  18167. "values": [
  18168. {
  18169. "value": "auto",
  18170. "type": "string"
  18171. },
  18172. {
  18173. "value": "full",
  18174. "type": "string"
  18175. }
  18176. ],
  18177. "optional": false,
  18178. "required": false
  18179. }
  18180. ],
  18181. "methods": [
  18182. {
  18183. "name": "setFocus",
  18184. "returns": {
  18185. "type": "Promise<void>",
  18186. "docs": ""
  18187. },
  18188. "signature": "setFocus() => Promise<void>",
  18189. "parameters": [],
  18190. "docs": "Sets focus on the component.",
  18191. "docsTags": []
  18192. }
  18193. ],
  18194. "events": [
  18195. {
  18196. "event": "calciteTileSelectChange",
  18197. "detail": "any",
  18198. "bubbles": true,
  18199. "cancelable": true,
  18200. "composed": true,
  18201. "docs": "Emits a custom change event. For checkboxes, it emits when the checkbox is checked or unchecked. For radios it only emits when it is checked.",
  18202. "docsTags": []
  18203. }
  18204. ],
  18205. "listeners": [
  18206. {
  18207. "event": "calciteCheckboxChange",
  18208. "capture": false,
  18209. "passive": false
  18210. },
  18211. {
  18212. "event": "calciteInternalCheckboxFocus",
  18213. "capture": false,
  18214. "passive": false
  18215. },
  18216. {
  18217. "event": "calciteInternalCheckboxBlur",
  18218. "capture": false,
  18219. "passive": false
  18220. },
  18221. {
  18222. "event": "calciteRadioButtonChange",
  18223. "capture": false,
  18224. "passive": false
  18225. },
  18226. {
  18227. "event": "calciteInternalRadioButtonCheckedChange",
  18228. "capture": false,
  18229. "passive": false
  18230. },
  18231. {
  18232. "event": "calciteInternalRadioButtonFocus",
  18233. "capture": false,
  18234. "passive": false
  18235. },
  18236. {
  18237. "event": "calciteInternalRadioButtonBlur",
  18238. "capture": false,
  18239. "passive": false
  18240. },
  18241. {
  18242. "event": "click",
  18243. "capture": false,
  18244. "passive": false
  18245. },
  18246. {
  18247. "event": "mouseenter",
  18248. "capture": false,
  18249. "passive": true
  18250. },
  18251. {
  18252. "event": "mouseleave",
  18253. "capture": false,
  18254. "passive": true
  18255. }
  18256. ],
  18257. "styles": [],
  18258. "slots": [
  18259. {
  18260. "name": "",
  18261. "docs": "A slot for adding custom content."
  18262. }
  18263. ],
  18264. "parts": [],
  18265. "dependents": [],
  18266. "dependencies": [
  18267. "calcite-tile"
  18268. ],
  18269. "dependencyGraph": {
  18270. "calcite-tile-select": [
  18271. "calcite-tile"
  18272. ],
  18273. "calcite-tile": [
  18274. "calcite-icon",
  18275. "calcite-link"
  18276. ],
  18277. "calcite-link": [
  18278. "calcite-icon"
  18279. ]
  18280. }
  18281. },
  18282. {
  18283. "filePath": "./src/components/tile-select-group/tile-select-group.tsx",
  18284. "encapsulation": "shadow",
  18285. "tag": "calcite-tile-select-group",
  18286. "readme": "# calcite-tile-select-group\n",
  18287. "docs": "",
  18288. "docsTags": [
  18289. {
  18290. "name": "slot",
  18291. "text": "- A slot for adding `calcite-tile-select`s."
  18292. }
  18293. ],
  18294. "usage": {},
  18295. "props": [
  18296. {
  18297. "name": "disabled",
  18298. "type": "boolean",
  18299. "mutable": false,
  18300. "attr": "disabled",
  18301. "reflectToAttr": true,
  18302. "docs": "The disabled state of the tile select.",
  18303. "docsTags": [],
  18304. "default": "false",
  18305. "values": [
  18306. {
  18307. "type": "boolean"
  18308. }
  18309. ],
  18310. "optional": false,
  18311. "required": false
  18312. },
  18313. {
  18314. "name": "layout",
  18315. "type": "\"horizontal\" | \"vertical\"",
  18316. "mutable": false,
  18317. "attr": "layout",
  18318. "reflectToAttr": true,
  18319. "docs": "Tiles by default move horizontally, stacking with each row, vertical allows single-column layouts",
  18320. "docsTags": [],
  18321. "default": "\"horizontal\"",
  18322. "values": [
  18323. {
  18324. "value": "horizontal",
  18325. "type": "string"
  18326. },
  18327. {
  18328. "value": "vertical",
  18329. "type": "string"
  18330. }
  18331. ],
  18332. "optional": true,
  18333. "required": false
  18334. }
  18335. ],
  18336. "methods": [],
  18337. "events": [],
  18338. "listeners": [],
  18339. "styles": [],
  18340. "slots": [
  18341. {
  18342. "name": "",
  18343. "docs": "A slot for adding `calcite-tile-select`s."
  18344. }
  18345. ],
  18346. "parts": [],
  18347. "dependents": [],
  18348. "dependencies": [],
  18349. "dependencyGraph": {}
  18350. },
  18351. {
  18352. "filePath": "./src/components/time-picker/time-picker.tsx",
  18353. "encapsulation": "shadow",
  18354. "tag": "calcite-time-picker",
  18355. "readme": "# calcite-time-picker\n",
  18356. "docs": "",
  18357. "docsTags": [],
  18358. "usage": {},
  18359. "props": [
  18360. {
  18361. "name": "intlHour",
  18362. "type": "string",
  18363. "mutable": false,
  18364. "attr": "intl-hour",
  18365. "reflectToAttr": false,
  18366. "docs": "aria-label for the hour input",
  18367. "docsTags": [
  18368. {
  18369. "name": "default",
  18370. "text": "\"Hour\""
  18371. }
  18372. ],
  18373. "default": "TEXT.hour",
  18374. "values": [
  18375. {
  18376. "type": "string"
  18377. }
  18378. ],
  18379. "optional": false,
  18380. "required": false
  18381. },
  18382. {
  18383. "name": "intlHourDown",
  18384. "type": "string",
  18385. "mutable": false,
  18386. "attr": "intl-hour-down",
  18387. "reflectToAttr": false,
  18388. "docs": "aria-label for the hour down button",
  18389. "docsTags": [
  18390. {
  18391. "name": "default",
  18392. "text": "\"Decrease hour\""
  18393. }
  18394. ],
  18395. "default": "TEXT.hourDown",
  18396. "values": [
  18397. {
  18398. "type": "string"
  18399. }
  18400. ],
  18401. "optional": false,
  18402. "required": false
  18403. },
  18404. {
  18405. "name": "intlHourUp",
  18406. "type": "string",
  18407. "mutable": false,
  18408. "attr": "intl-hour-up",
  18409. "reflectToAttr": false,
  18410. "docs": "aria-label for the hour up button",
  18411. "docsTags": [
  18412. {
  18413. "name": "default",
  18414. "text": "\"Increase hour\""
  18415. }
  18416. ],
  18417. "default": "TEXT.hourUp",
  18418. "values": [
  18419. {
  18420. "type": "string"
  18421. }
  18422. ],
  18423. "optional": false,
  18424. "required": false
  18425. },
  18426. {
  18427. "name": "intlMeridiem",
  18428. "type": "string",
  18429. "mutable": false,
  18430. "attr": "intl-meridiem",
  18431. "reflectToAttr": false,
  18432. "docs": "aria-label for the meridiem (am/pm) input",
  18433. "docsTags": [
  18434. {
  18435. "name": "default",
  18436. "text": "\"AM/PM\""
  18437. }
  18438. ],
  18439. "default": "TEXT.meridiem",
  18440. "values": [
  18441. {
  18442. "type": "string"
  18443. }
  18444. ],
  18445. "optional": false,
  18446. "required": false
  18447. },
  18448. {
  18449. "name": "intlMeridiemDown",
  18450. "type": "string",
  18451. "mutable": false,
  18452. "attr": "intl-meridiem-down",
  18453. "reflectToAttr": false,
  18454. "docs": "aria-label for the meridiem (am/pm) down button",
  18455. "docsTags": [
  18456. {
  18457. "name": "default",
  18458. "text": "\"Decrease AM/PM\""
  18459. }
  18460. ],
  18461. "default": "TEXT.meridiemDown",
  18462. "values": [
  18463. {
  18464. "type": "string"
  18465. }
  18466. ],
  18467. "optional": false,
  18468. "required": false
  18469. },
  18470. {
  18471. "name": "intlMeridiemUp",
  18472. "type": "string",
  18473. "mutable": false,
  18474. "attr": "intl-meridiem-up",
  18475. "reflectToAttr": false,
  18476. "docs": "aria-label for the meridiem (am/pm) up button",
  18477. "docsTags": [
  18478. {
  18479. "name": "default",
  18480. "text": "\"Increase AM/PM\""
  18481. }
  18482. ],
  18483. "default": "TEXT.meridiemUp",
  18484. "values": [
  18485. {
  18486. "type": "string"
  18487. }
  18488. ],
  18489. "optional": false,
  18490. "required": false
  18491. },
  18492. {
  18493. "name": "intlMinute",
  18494. "type": "string",
  18495. "mutable": false,
  18496. "attr": "intl-minute",
  18497. "reflectToAttr": false,
  18498. "docs": "aria-label for the minute input",
  18499. "docsTags": [
  18500. {
  18501. "name": "default",
  18502. "text": "\"Minute\""
  18503. }
  18504. ],
  18505. "default": "TEXT.minute",
  18506. "values": [
  18507. {
  18508. "type": "string"
  18509. }
  18510. ],
  18511. "optional": false,
  18512. "required": false
  18513. },
  18514. {
  18515. "name": "intlMinuteDown",
  18516. "type": "string",
  18517. "mutable": false,
  18518. "attr": "intl-minute-down",
  18519. "reflectToAttr": false,
  18520. "docs": "aria-label for the minute down button",
  18521. "docsTags": [
  18522. {
  18523. "name": "default",
  18524. "text": "\"Decrease minute\""
  18525. }
  18526. ],
  18527. "default": "TEXT.minuteDown",
  18528. "values": [
  18529. {
  18530. "type": "string"
  18531. }
  18532. ],
  18533. "optional": false,
  18534. "required": false
  18535. },
  18536. {
  18537. "name": "intlMinuteUp",
  18538. "type": "string",
  18539. "mutable": false,
  18540. "attr": "intl-minute-up",
  18541. "reflectToAttr": false,
  18542. "docs": "aria-label for the minute up button",
  18543. "docsTags": [
  18544. {
  18545. "name": "default",
  18546. "text": "\"Increase minute\""
  18547. }
  18548. ],
  18549. "default": "TEXT.minuteUp",
  18550. "values": [
  18551. {
  18552. "type": "string"
  18553. }
  18554. ],
  18555. "optional": false,
  18556. "required": false
  18557. },
  18558. {
  18559. "name": "intlSecond",
  18560. "type": "string",
  18561. "mutable": false,
  18562. "attr": "intl-second",
  18563. "reflectToAttr": false,
  18564. "docs": "aria-label for the second input",
  18565. "docsTags": [
  18566. {
  18567. "name": "default",
  18568. "text": "\"Second\""
  18569. }
  18570. ],
  18571. "default": "TEXT.second",
  18572. "values": [
  18573. {
  18574. "type": "string"
  18575. }
  18576. ],
  18577. "optional": false,
  18578. "required": false
  18579. },
  18580. {
  18581. "name": "intlSecondDown",
  18582. "type": "string",
  18583. "mutable": false,
  18584. "attr": "intl-second-down",
  18585. "reflectToAttr": false,
  18586. "docs": "aria-label for the second down button",
  18587. "docsTags": [
  18588. {
  18589. "name": "default",
  18590. "text": "\"Decrease second\""
  18591. }
  18592. ],
  18593. "default": "TEXT.secondDown",
  18594. "values": [
  18595. {
  18596. "type": "string"
  18597. }
  18598. ],
  18599. "optional": false,
  18600. "required": false
  18601. },
  18602. {
  18603. "name": "intlSecondUp",
  18604. "type": "string",
  18605. "mutable": false,
  18606. "attr": "intl-second-up",
  18607. "reflectToAttr": false,
  18608. "docs": "aria-label for the second up button",
  18609. "docsTags": [
  18610. {
  18611. "name": "default",
  18612. "text": "\"Increase second\""
  18613. }
  18614. ],
  18615. "default": "TEXT.secondUp",
  18616. "values": [
  18617. {
  18618. "type": "string"
  18619. }
  18620. ],
  18621. "optional": false,
  18622. "required": false
  18623. },
  18624. {
  18625. "name": "scale",
  18626. "type": "\"l\" | \"m\" | \"s\"",
  18627. "mutable": false,
  18628. "attr": "scale",
  18629. "reflectToAttr": false,
  18630. "docs": "The scale (size) of the time picker",
  18631. "docsTags": [],
  18632. "default": "\"m\"",
  18633. "values": [
  18634. {
  18635. "value": "l",
  18636. "type": "string"
  18637. },
  18638. {
  18639. "value": "m",
  18640. "type": "string"
  18641. },
  18642. {
  18643. "value": "s",
  18644. "type": "string"
  18645. }
  18646. ],
  18647. "optional": false,
  18648. "required": false
  18649. },
  18650. {
  18651. "name": "step",
  18652. "type": "number",
  18653. "mutable": false,
  18654. "attr": "step",
  18655. "reflectToAttr": false,
  18656. "docs": "number (seconds) that specifies the granularity that the value must adhere to",
  18657. "docsTags": [],
  18658. "default": "60",
  18659. "values": [
  18660. {
  18661. "type": "number"
  18662. }
  18663. ],
  18664. "optional": false,
  18665. "required": false
  18666. },
  18667. {
  18668. "name": "value",
  18669. "type": "string",
  18670. "mutable": true,
  18671. "attr": "value",
  18672. "reflectToAttr": false,
  18673. "docs": "The selected time in UTC (always 24-hour format)",
  18674. "docsTags": [],
  18675. "default": "null",
  18676. "values": [
  18677. {
  18678. "type": "string"
  18679. }
  18680. ],
  18681. "optional": false,
  18682. "required": false
  18683. }
  18684. ],
  18685. "methods": [
  18686. {
  18687. "name": "setFocus",
  18688. "returns": {
  18689. "type": "Promise<void>",
  18690. "docs": ""
  18691. },
  18692. "signature": "setFocus(target: TimePart) => Promise<void>",
  18693. "parameters": [],
  18694. "docs": "Sets focus on the component.",
  18695. "docsTags": []
  18696. }
  18697. ],
  18698. "events": [],
  18699. "listeners": [
  18700. {
  18701. "event": "blur",
  18702. "capture": false,
  18703. "passive": false
  18704. },
  18705. {
  18706. "event": "focus",
  18707. "capture": false,
  18708. "passive": false
  18709. },
  18710. {
  18711. "event": "keydown",
  18712. "capture": false,
  18713. "passive": false
  18714. }
  18715. ],
  18716. "styles": [],
  18717. "slots": [],
  18718. "parts": [],
  18719. "dependents": [
  18720. "calcite-input-time-picker"
  18721. ],
  18722. "dependencies": [
  18723. "calcite-icon"
  18724. ],
  18725. "dependencyGraph": {
  18726. "calcite-time-picker": [
  18727. "calcite-icon"
  18728. ],
  18729. "calcite-input-time-picker": [
  18730. "calcite-time-picker"
  18731. ]
  18732. }
  18733. },
  18734. {
  18735. "filePath": "./src/components/tip/tip.tsx",
  18736. "encapsulation": "shadow",
  18737. "tag": "calcite-tip",
  18738. "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",
  18739. "docs": "The `calcite-tip` component can comprise of an image, text and hyperlink to give helpful hints to a user about using the platform.",
  18740. "docsTags": [
  18741. {
  18742. "name": "slot",
  18743. "text": "- A slot for adding text and a hyperlink."
  18744. },
  18745. {
  18746. "name": "slot",
  18747. "text": "thumbnail - A slot for adding an HTML image element to the tip."
  18748. }
  18749. ],
  18750. "usage": {
  18751. "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"
  18752. },
  18753. "props": [
  18754. {
  18755. "name": "dismissed",
  18756. "type": "boolean",
  18757. "mutable": true,
  18758. "attr": "dismissed",
  18759. "reflectToAttr": true,
  18760. "docs": "No longer displays the tip.",
  18761. "docsTags": [],
  18762. "default": "false",
  18763. "values": [
  18764. {
  18765. "type": "boolean"
  18766. }
  18767. ],
  18768. "optional": false,
  18769. "required": false
  18770. },
  18771. {
  18772. "name": "heading",
  18773. "type": "string",
  18774. "mutable": false,
  18775. "attr": "heading",
  18776. "reflectToAttr": false,
  18777. "docs": "The heading of the tip.",
  18778. "docsTags": [],
  18779. "values": [
  18780. {
  18781. "type": "string"
  18782. }
  18783. ],
  18784. "optional": true,
  18785. "required": false
  18786. },
  18787. {
  18788. "name": "headingLevel",
  18789. "type": "1 | 2 | 3 | 4 | 5 | 6",
  18790. "mutable": false,
  18791. "attr": "heading-level",
  18792. "reflectToAttr": false,
  18793. "docs": "Number at which section headings should start for this component.",
  18794. "docsTags": [],
  18795. "values": [
  18796. {
  18797. "value": "1",
  18798. "type": "number"
  18799. },
  18800. {
  18801. "value": "2",
  18802. "type": "number"
  18803. },
  18804. {
  18805. "value": "3",
  18806. "type": "number"
  18807. },
  18808. {
  18809. "value": "4",
  18810. "type": "number"
  18811. },
  18812. {
  18813. "value": "5",
  18814. "type": "number"
  18815. },
  18816. {
  18817. "value": "6",
  18818. "type": "number"
  18819. }
  18820. ],
  18821. "optional": false,
  18822. "required": false
  18823. },
  18824. {
  18825. "name": "intlClose",
  18826. "type": "string",
  18827. "mutable": false,
  18828. "attr": "intl-close",
  18829. "reflectToAttr": false,
  18830. "docs": "Alternate text for closing the tip.",
  18831. "docsTags": [],
  18832. "values": [
  18833. {
  18834. "type": "string"
  18835. }
  18836. ],
  18837. "optional": true,
  18838. "required": false
  18839. },
  18840. {
  18841. "name": "nonDismissible",
  18842. "type": "boolean",
  18843. "mutable": false,
  18844. "attr": "non-dismissible",
  18845. "reflectToAttr": true,
  18846. "docs": "Indicates whether the tip can be dismissed.",
  18847. "docsTags": [],
  18848. "default": "false",
  18849. "values": [
  18850. {
  18851. "type": "boolean"
  18852. }
  18853. ],
  18854. "optional": false,
  18855. "required": false
  18856. },
  18857. {
  18858. "name": "selected",
  18859. "type": "boolean",
  18860. "mutable": false,
  18861. "attr": "selected",
  18862. "reflectToAttr": true,
  18863. "docs": "The selected state of the tip if it is being used inside a `calcite-tip-manager`.",
  18864. "docsTags": [],
  18865. "default": "false",
  18866. "values": [
  18867. {
  18868. "type": "boolean"
  18869. }
  18870. ],
  18871. "optional": false,
  18872. "required": false
  18873. }
  18874. ],
  18875. "methods": [],
  18876. "events": [
  18877. {
  18878. "event": "calciteTipDismiss",
  18879. "detail": "any",
  18880. "bubbles": true,
  18881. "cancelable": true,
  18882. "composed": true,
  18883. "docs": "Emitted when the component has been dismissed.",
  18884. "docsTags": []
  18885. }
  18886. ],
  18887. "listeners": [],
  18888. "styles": [],
  18889. "slots": [
  18890. {
  18891. "name": "",
  18892. "docs": "A slot for adding text and a hyperlink."
  18893. },
  18894. {
  18895. "name": "thumbnail",
  18896. "docs": "A slot for adding an HTML image element to the tip."
  18897. }
  18898. ],
  18899. "parts": [],
  18900. "dependents": [],
  18901. "dependencies": [
  18902. "calcite-action"
  18903. ],
  18904. "dependencyGraph": {
  18905. "calcite-tip": [
  18906. "calcite-action"
  18907. ],
  18908. "calcite-action": [
  18909. "calcite-loader",
  18910. "calcite-icon"
  18911. ]
  18912. }
  18913. },
  18914. {
  18915. "filePath": "./src/components/tip-group/tip-group.tsx",
  18916. "encapsulation": "shadow",
  18917. "tag": "calcite-tip-group",
  18918. "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",
  18919. "docs": "`calcite-tip-group` is a wrapper for multiple `calcite-tip`s and is housed in `calcite-tip-manager`.",
  18920. "docsTags": [
  18921. {
  18922. "name": "slot",
  18923. "text": "- A slot for adding `calcite-tip`s."
  18924. }
  18925. ],
  18926. "usage": {},
  18927. "props": [
  18928. {
  18929. "name": "groupTitle",
  18930. "type": "string",
  18931. "mutable": false,
  18932. "attr": "group-title",
  18933. "reflectToAttr": false,
  18934. "docs": "The title used for all nested tips.",
  18935. "docsTags": [],
  18936. "values": [
  18937. {
  18938. "type": "string"
  18939. }
  18940. ],
  18941. "optional": true,
  18942. "required": false
  18943. }
  18944. ],
  18945. "methods": [],
  18946. "events": [],
  18947. "listeners": [],
  18948. "styles": [],
  18949. "slots": [
  18950. {
  18951. "name": "",
  18952. "docs": "A slot for adding `calcite-tip`s."
  18953. }
  18954. ],
  18955. "parts": [],
  18956. "dependents": [],
  18957. "dependencies": [],
  18958. "dependencyGraph": {}
  18959. },
  18960. {
  18961. "filePath": "./src/components/tip-manager/tip-manager.tsx",
  18962. "encapsulation": "shadow",
  18963. "tag": "calcite-tip-manager",
  18964. "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",
  18965. "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.",
  18966. "docsTags": [
  18967. {
  18968. "name": "slot",
  18969. "text": "- A slot for adding `calcite-tip`s."
  18970. }
  18971. ],
  18972. "usage": {
  18973. "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"
  18974. },
  18975. "props": [
  18976. {
  18977. "name": "closed",
  18978. "type": "boolean",
  18979. "mutable": true,
  18980. "attr": "closed",
  18981. "reflectToAttr": true,
  18982. "docs": "Closed state of the `calcite-tip-manager`.",
  18983. "docsTags": [],
  18984. "default": "false",
  18985. "values": [
  18986. {
  18987. "type": "boolean"
  18988. }
  18989. ],
  18990. "optional": false,
  18991. "required": false
  18992. },
  18993. {
  18994. "name": "headingLevel",
  18995. "type": "1 | 2 | 3 | 4 | 5 | 6",
  18996. "mutable": false,
  18997. "attr": "heading-level",
  18998. "reflectToAttr": false,
  18999. "docs": "Number at which section headings should start for this component.",
  19000. "docsTags": [],
  19001. "values": [
  19002. {
  19003. "value": "1",
  19004. "type": "number"
  19005. },
  19006. {
  19007. "value": "2",
  19008. "type": "number"
  19009. },
  19010. {
  19011. "value": "3",
  19012. "type": "number"
  19013. },
  19014. {
  19015. "value": "4",
  19016. "type": "number"
  19017. },
  19018. {
  19019. "value": "5",
  19020. "type": "number"
  19021. },
  19022. {
  19023. "value": "6",
  19024. "type": "number"
  19025. }
  19026. ],
  19027. "optional": false,
  19028. "required": false
  19029. },
  19030. {
  19031. "name": "intlClose",
  19032. "type": "string",
  19033. "mutable": false,
  19034. "attr": "intl-close",
  19035. "reflectToAttr": false,
  19036. "docs": "Alternate text for closing the tip.",
  19037. "docsTags": [],
  19038. "values": [
  19039. {
  19040. "type": "string"
  19041. }
  19042. ],
  19043. "optional": true,
  19044. "required": false
  19045. },
  19046. {
  19047. "name": "intlDefaultTitle",
  19048. "type": "string",
  19049. "mutable": false,
  19050. "attr": "intl-default-title",
  19051. "reflectToAttr": false,
  19052. "docs": "The default group title for the `calcite-tip-manager`.",
  19053. "docsTags": [],
  19054. "values": [
  19055. {
  19056. "type": "string"
  19057. }
  19058. ],
  19059. "optional": true,
  19060. "required": false
  19061. },
  19062. {
  19063. "name": "intlNext",
  19064. "type": "string",
  19065. "mutable": false,
  19066. "attr": "intl-next",
  19067. "reflectToAttr": false,
  19068. "docs": "Alternate text for navigating to the next tip.",
  19069. "docsTags": [],
  19070. "values": [
  19071. {
  19072. "type": "string"
  19073. }
  19074. ],
  19075. "optional": true,
  19076. "required": false
  19077. },
  19078. {
  19079. "name": "intlPaginationLabel",
  19080. "type": "string",
  19081. "mutable": false,
  19082. "attr": "intl-pagination-label",
  19083. "reflectToAttr": false,
  19084. "docs": "Label that appears on hover of pagination icon.",
  19085. "docsTags": [],
  19086. "values": [
  19087. {
  19088. "type": "string"
  19089. }
  19090. ],
  19091. "optional": true,
  19092. "required": false
  19093. },
  19094. {
  19095. "name": "intlPrevious",
  19096. "type": "string",
  19097. "mutable": false,
  19098. "attr": "intl-previous",
  19099. "reflectToAttr": false,
  19100. "docs": "Alternate text for navigating to the previous tip.",
  19101. "docsTags": [],
  19102. "values": [
  19103. {
  19104. "type": "string"
  19105. }
  19106. ],
  19107. "optional": true,
  19108. "required": false
  19109. }
  19110. ],
  19111. "methods": [
  19112. {
  19113. "name": "nextTip",
  19114. "returns": {
  19115. "type": "Promise<void>",
  19116. "docs": ""
  19117. },
  19118. "signature": "nextTip() => Promise<void>",
  19119. "parameters": [],
  19120. "docs": "Selects the next tip to display",
  19121. "docsTags": []
  19122. },
  19123. {
  19124. "name": "previousTip",
  19125. "returns": {
  19126. "type": "Promise<void>",
  19127. "docs": ""
  19128. },
  19129. "signature": "previousTip() => Promise<void>",
  19130. "parameters": [],
  19131. "docs": "Selects the previous tip to display",
  19132. "docsTags": []
  19133. }
  19134. ],
  19135. "events": [
  19136. {
  19137. "event": "calciteTipManagerClose",
  19138. "detail": "any",
  19139. "bubbles": true,
  19140. "cancelable": true,
  19141. "composed": true,
  19142. "docs": "Emitted when the `calcite-tip-manager` has been closed.",
  19143. "docsTags": []
  19144. },
  19145. {
  19146. "event": "calciteTipManagerToggle",
  19147. "detail": "any",
  19148. "bubbles": true,
  19149. "cancelable": true,
  19150. "composed": true,
  19151. "docs": "Emitted when the `calcite-tip-manager` has been toggled open or closed.",
  19152. "docsTags": [
  19153. {
  19154. "name": "deprecated",
  19155. "text": "use calciteTipManagerClose instead."
  19156. }
  19157. ],
  19158. "deprecation": "use calciteTipManagerClose instead."
  19159. }
  19160. ],
  19161. "listeners": [],
  19162. "styles": [
  19163. {
  19164. "name": "--calcite-tip-manager-height",
  19165. "annotation": "prop",
  19166. "docs": "the maximum height of the tip-manager"
  19167. },
  19168. {
  19169. "name": "--calcite-tip-max-width",
  19170. "annotation": "prop",
  19171. "docs": "the maximum width of a slotted tip within tip-manager"
  19172. }
  19173. ],
  19174. "slots": [
  19175. {
  19176. "name": "",
  19177. "docs": "A slot for adding `calcite-tip`s."
  19178. }
  19179. ],
  19180. "parts": [],
  19181. "dependents": [],
  19182. "dependencies": [
  19183. "calcite-action",
  19184. "calcite-icon"
  19185. ],
  19186. "dependencyGraph": {
  19187. "calcite-tip-manager": [
  19188. "calcite-action",
  19189. "calcite-icon"
  19190. ],
  19191. "calcite-action": [
  19192. "calcite-loader",
  19193. "calcite-icon"
  19194. ]
  19195. }
  19196. },
  19197. {
  19198. "filePath": "./src/components/tooltip/tooltip.tsx",
  19199. "encapsulation": "shadow",
  19200. "tag": "calcite-tooltip",
  19201. "readme": "# calcite-tooltip\n",
  19202. "docs": "",
  19203. "docsTags": [
  19204. {
  19205. "name": "slot",
  19206. "text": "- A slot for adding text."
  19207. }
  19208. ],
  19209. "usage": {
  19210. "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"
  19211. },
  19212. "props": [
  19213. {
  19214. "name": "label",
  19215. "type": "string",
  19216. "mutable": false,
  19217. "attr": "label",
  19218. "reflectToAttr": false,
  19219. "docs": "Accessible name for the component",
  19220. "docsTags": [],
  19221. "values": [
  19222. {
  19223. "type": "string"
  19224. }
  19225. ],
  19226. "optional": false,
  19227. "required": true
  19228. },
  19229. {
  19230. "name": "offsetDistance",
  19231. "type": "number",
  19232. "mutable": false,
  19233. "attr": "offset-distance",
  19234. "reflectToAttr": true,
  19235. "docs": "Offset the position of the tooltip away from the reference element.",
  19236. "docsTags": [
  19237. {
  19238. "name": "default",
  19239. "text": "6"
  19240. }
  19241. ],
  19242. "default": "defaultOffsetDistance",
  19243. "values": [
  19244. {
  19245. "type": "number"
  19246. }
  19247. ],
  19248. "optional": false,
  19249. "required": false
  19250. },
  19251. {
  19252. "name": "offsetSkidding",
  19253. "type": "number",
  19254. "mutable": false,
  19255. "attr": "offset-skidding",
  19256. "reflectToAttr": true,
  19257. "docs": "Offset the position of the tooltip along the reference element.",
  19258. "docsTags": [],
  19259. "default": "0",
  19260. "values": [
  19261. {
  19262. "type": "number"
  19263. }
  19264. ],
  19265. "optional": false,
  19266. "required": false
  19267. },
  19268. {
  19269. "name": "open",
  19270. "type": "boolean",
  19271. "mutable": false,
  19272. "attr": "open",
  19273. "reflectToAttr": true,
  19274. "docs": "Display and position the component.",
  19275. "docsTags": [],
  19276. "default": "false",
  19277. "values": [
  19278. {
  19279. "type": "boolean"
  19280. }
  19281. ],
  19282. "optional": false,
  19283. "required": false
  19284. },
  19285. {
  19286. "name": "overlayPositioning",
  19287. "type": "\"absolute\" | \"fixed\"",
  19288. "mutable": false,
  19289. "attr": "overlay-positioning",
  19290. "reflectToAttr": false,
  19291. "docs": "Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.",
  19292. "docsTags": [],
  19293. "default": "\"absolute\"",
  19294. "values": [
  19295. {
  19296. "value": "absolute",
  19297. "type": "string"
  19298. },
  19299. {
  19300. "value": "fixed",
  19301. "type": "string"
  19302. }
  19303. ],
  19304. "optional": false,
  19305. "required": false
  19306. },
  19307. {
  19308. "name": "placement",
  19309. "type": "Placement | PlacementRtl | VariationRtl",
  19310. "mutable": false,
  19311. "attr": "placement",
  19312. "reflectToAttr": true,
  19313. "docs": "Determines where the component will be positioned relative to the referenceElement.",
  19314. "docsTags": [
  19315. {
  19316. "name": "see",
  19317. "text": "[PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)"
  19318. }
  19319. ],
  19320. "default": "\"auto\"",
  19321. "values": [
  19322. {
  19323. "type": "Placement"
  19324. },
  19325. {
  19326. "type": "PlacementRtl"
  19327. },
  19328. {
  19329. "type": "VariationRtl"
  19330. }
  19331. ],
  19332. "optional": false,
  19333. "required": false
  19334. },
  19335. {
  19336. "name": "referenceElement",
  19337. "type": "HTMLElement | string",
  19338. "mutable": false,
  19339. "attr": "reference-element",
  19340. "reflectToAttr": false,
  19341. "docs": "Reference HTMLElement used to position this component according to the placement property. As a convenience, a string ID of the reference element can be used. However, setting this property to use an HTMLElement is preferred so that the component does not need to query the DOM for the referenceElement.",
  19342. "docsTags": [],
  19343. "values": [
  19344. {
  19345. "type": "HTMLElement"
  19346. },
  19347. {
  19348. "type": "string"
  19349. }
  19350. ],
  19351. "optional": false,
  19352. "required": false
  19353. }
  19354. ],
  19355. "methods": [
  19356. {
  19357. "name": "reposition",
  19358. "returns": {
  19359. "type": "Promise<void>",
  19360. "docs": ""
  19361. },
  19362. "signature": "reposition() => Promise<void>",
  19363. "parameters": [],
  19364. "docs": "Updates the position of the component.",
  19365. "docsTags": []
  19366. }
  19367. ],
  19368. "events": [],
  19369. "listeners": [],
  19370. "styles": [],
  19371. "slots": [
  19372. {
  19373. "name": "",
  19374. "docs": "A slot for adding text."
  19375. }
  19376. ],
  19377. "parts": [],
  19378. "dependents": [],
  19379. "dependencies": [],
  19380. "dependencyGraph": {}
  19381. },
  19382. {
  19383. "filePath": "./src/components/tooltip-manager/tooltip-manager.tsx",
  19384. "encapsulation": "shadow",
  19385. "tag": "calcite-tooltip-manager",
  19386. "readme": "# calcite-tooltip-manager\n",
  19387. "docs": "",
  19388. "docsTags": [
  19389. {
  19390. "name": "slot",
  19391. "text": "- A slot for adding elements that reference a 'calcite-tooltip' by the 'selector' property."
  19392. },
  19393. {
  19394. "name": "deprecated",
  19395. "text": "No longer required for tooltip usage."
  19396. }
  19397. ],
  19398. "usage": {},
  19399. "props": [
  19400. {
  19401. "name": "selector",
  19402. "type": "string",
  19403. "mutable": false,
  19404. "attr": "selector",
  19405. "reflectToAttr": false,
  19406. "docs": "CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.",
  19407. "docsTags": [
  19408. {
  19409. "name": "default",
  19410. "text": "`[data-calcite-tooltip-reference]`"
  19411. }
  19412. ],
  19413. "default": "\"[data-calcite-tooltip-reference]\"",
  19414. "values": [
  19415. {
  19416. "type": "string"
  19417. }
  19418. ],
  19419. "optional": false,
  19420. "required": false
  19421. }
  19422. ],
  19423. "methods": [],
  19424. "events": [],
  19425. "listeners": [],
  19426. "styles": [],
  19427. "slots": [
  19428. {
  19429. "name": "",
  19430. "docs": "A slot for adding elements that reference a 'calcite-tooltip' by the 'selector' property."
  19431. }
  19432. ],
  19433. "parts": [],
  19434. "dependents": [],
  19435. "dependencies": [],
  19436. "dependencyGraph": {},
  19437. "deprecation": "No longer required for tooltip usage."
  19438. },
  19439. {
  19440. "filePath": "./src/components/tree/tree.tsx",
  19441. "encapsulation": "shadow",
  19442. "tag": "calcite-tree",
  19443. "readme": "# calcite-tree\n",
  19444. "docs": "",
  19445. "docsTags": [
  19446. {
  19447. "name": "slot",
  19448. "text": "- A slot for calcite-tree-item elements."
  19449. }
  19450. ],
  19451. "usage": {
  19452. "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"
  19453. },
  19454. "props": [
  19455. {
  19456. "name": "inputEnabled",
  19457. "type": "boolean",
  19458. "mutable": false,
  19459. "attr": "input-enabled",
  19460. "reflectToAttr": false,
  19461. "docs": "Display input",
  19462. "docsTags": [
  19463. {
  19464. "name": "deprecated",
  19465. "text": "Use \"ancestors\" selection-mode for checkbox input."
  19466. }
  19467. ],
  19468. "default": "false",
  19469. "deprecation": "Use \"ancestors\" selection-mode for checkbox input.",
  19470. "values": [
  19471. {
  19472. "type": "boolean"
  19473. }
  19474. ],
  19475. "optional": false,
  19476. "required": false
  19477. },
  19478. {
  19479. "name": "lines",
  19480. "type": "boolean",
  19481. "mutable": true,
  19482. "attr": "lines",
  19483. "reflectToAttr": true,
  19484. "docs": "Display indentation guide lines.",
  19485. "docsTags": [],
  19486. "default": "false",
  19487. "values": [
  19488. {
  19489. "type": "boolean"
  19490. }
  19491. ],
  19492. "optional": false,
  19493. "required": false
  19494. },
  19495. {
  19496. "name": "scale",
  19497. "type": "\"l\" | \"m\" | \"s\"",
  19498. "mutable": true,
  19499. "attr": "scale",
  19500. "reflectToAttr": true,
  19501. "docs": "Specify the scale of the tree.",
  19502. "docsTags": [],
  19503. "default": "\"m\"",
  19504. "values": [
  19505. {
  19506. "value": "l",
  19507. "type": "string"
  19508. },
  19509. {
  19510. "value": "m",
  19511. "type": "string"
  19512. },
  19513. {
  19514. "value": "s",
  19515. "type": "string"
  19516. }
  19517. ],
  19518. "optional": false,
  19519. "required": false
  19520. },
  19521. {
  19522. "name": "selectionMode",
  19523. "type": "TreeSelectionMode.Ancestors | TreeSelectionMode.Children | TreeSelectionMode.Multi | TreeSelectionMode.MultiChildren | TreeSelectionMode.Single",
  19524. "mutable": true,
  19525. "attr": "selection-mode",
  19526. "reflectToAttr": true,
  19527. "docs": "Customize how tree selection works.",
  19528. "docsTags": [
  19529. {
  19530. "name": "default",
  19531. "text": "\"single\""
  19532. },
  19533. {
  19534. "name": "see",
  19535. "text": "[TreeSelectionMode](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L5)"
  19536. }
  19537. ],
  19538. "default": "TreeSelectionMode.Single",
  19539. "values": [
  19540. {
  19541. "type": "TreeSelectionMode.Ancestors"
  19542. },
  19543. {
  19544. "type": "TreeSelectionMode.Children"
  19545. },
  19546. {
  19547. "type": "TreeSelectionMode.Multi"
  19548. },
  19549. {
  19550. "type": "TreeSelectionMode.MultiChildren"
  19551. },
  19552. {
  19553. "type": "TreeSelectionMode.Single"
  19554. }
  19555. ],
  19556. "optional": false,
  19557. "required": false
  19558. }
  19559. ],
  19560. "methods": [],
  19561. "events": [
  19562. {
  19563. "event": "calciteTreeSelect",
  19564. "detail": "TreeSelectDetail",
  19565. "bubbles": true,
  19566. "cancelable": true,
  19567. "composed": true,
  19568. "docs": "Emits when the user selects/deselects tree items. An object including an array of selected items will be passed in the event's \"detail\" property.",
  19569. "docsTags": [
  19570. {
  19571. "name": "see",
  19572. "text": "[TreeSelectDetail](https://github.com/Esri/calcite-components/blob/master/src/components/tree/interfaces.ts#L1)"
  19573. }
  19574. ]
  19575. }
  19576. ],
  19577. "listeners": [
  19578. {
  19579. "event": "focus",
  19580. "capture": false,
  19581. "passive": false
  19582. },
  19583. {
  19584. "event": "focusin",
  19585. "capture": false,
  19586. "passive": false
  19587. },
  19588. {
  19589. "event": "focusout",
  19590. "capture": false,
  19591. "passive": false
  19592. },
  19593. {
  19594. "event": "calciteTreeItemSelect",
  19595. "capture": false,
  19596. "passive": false
  19597. },
  19598. {
  19599. "event": "keydown",
  19600. "capture": false,
  19601. "passive": false
  19602. }
  19603. ],
  19604. "styles": [],
  19605. "slots": [
  19606. {
  19607. "name": "",
  19608. "docs": "A slot for calcite-tree-item elements."
  19609. }
  19610. ],
  19611. "parts": [],
  19612. "dependents": [],
  19613. "dependencies": [],
  19614. "dependencyGraph": {}
  19615. },
  19616. {
  19617. "filePath": "./src/components/tree-item/tree-item.tsx",
  19618. "encapsulation": "shadow",
  19619. "tag": "calcite-tree-item",
  19620. "readme": "# calcite-tree-item\n\n`<calcite-tree-item>` is used to represent a single item in a `<calcite-tree>`.\n",
  19621. "docs": "`<calcite-tree-item>` is used to represent a single item in a `<calcite-tree>`.",
  19622. "docsTags": [
  19623. {
  19624. "name": "slot",
  19625. "text": "- A slot for adding content to the item."
  19626. },
  19627. {
  19628. "name": "slot",
  19629. "text": "children - A slot for adding nested calcite-tree elements."
  19630. }
  19631. ],
  19632. "usage": {},
  19633. "props": [
  19634. {
  19635. "name": "expanded",
  19636. "type": "boolean",
  19637. "mutable": true,
  19638. "attr": "expanded",
  19639. "reflectToAttr": true,
  19640. "docs": "Expanded state of the item.",
  19641. "docsTags": [],
  19642. "default": "false",
  19643. "values": [
  19644. {
  19645. "type": "boolean"
  19646. }
  19647. ],
  19648. "optional": false,
  19649. "required": false
  19650. },
  19651. {
  19652. "name": "selected",
  19653. "type": "boolean",
  19654. "mutable": true,
  19655. "attr": "selected",
  19656. "reflectToAttr": true,
  19657. "docs": "Selected state of the item.",
  19658. "docsTags": [],
  19659. "default": "false",
  19660. "values": [
  19661. {
  19662. "type": "boolean"
  19663. }
  19664. ],
  19665. "optional": false,
  19666. "required": false
  19667. }
  19668. ],
  19669. "methods": [],
  19670. "events": [],
  19671. "listeners": [
  19672. {
  19673. "event": "click",
  19674. "capture": false,
  19675. "passive": false
  19676. },
  19677. {
  19678. "event": "keydown",
  19679. "capture": false,
  19680. "passive": false
  19681. }
  19682. ],
  19683. "styles": [],
  19684. "slots": [
  19685. {
  19686. "name": "",
  19687. "docs": "A slot for adding content to the item."
  19688. },
  19689. {
  19690. "name": "children",
  19691. "docs": "A slot for adding nested calcite-tree elements."
  19692. }
  19693. ],
  19694. "parts": [],
  19695. "dependents": [],
  19696. "dependencies": [
  19697. "calcite-icon",
  19698. "calcite-checkbox"
  19699. ],
  19700. "dependencyGraph": {
  19701. "calcite-tree-item": [
  19702. "calcite-icon",
  19703. "calcite-checkbox"
  19704. ]
  19705. }
  19706. },
  19707. {
  19708. "filePath": "./src/components/value-list/value-list.tsx",
  19709. "encapsulation": "shadow",
  19710. "tag": "calcite-value-list",
  19711. "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",
  19712. "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.",
  19713. "docsTags": [
  19714. {
  19715. "name": "slot",
  19716. "text": "- A slot for adding calcite-value-list-item elements. List items are displayed as a vertical list."
  19717. },
  19718. {
  19719. "name": "slot",
  19720. "text": "menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting."
  19721. }
  19722. ],
  19723. "usage": {
  19724. "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",
  19725. "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",
  19726. "Label-editing-and-single-select": "Renders a value list with label editing and single select.\n\n```html\n<calcite-value-list label-editing-enabled>\n <calcite-value-list-item\n label=\"2018 Generation Alpha Population (Born 2017 or Later) [updated 2019-09-18]\"\n description=\"GENALPHACY\"\n value=\"GENALPHACY\"\n >\n </calcite-value-list-item>\n <calcite-value-list-item\n label=\"2010-2018 Households: Annual Growth Rate (Esri)\"\n description=\"HHGRW10CY-2019-09-18.001ZZYLKJ\"\n value=\"HHGRW10CY\"\n >\n </calcite-value-list-item>\n <calcite-value-list-item\n label=\"2010-2018 Households: Annual Growth Rate (Esri)\"\n description=\"HHGRW10CY-2019-09-18.001ZZYYZLKJ\"\n value=\"HHGRW10CY2\"\n >\n </calcite-value-list-item>\n</calcite-value-list>\n```\n"
  19727. },
  19728. "props": [
  19729. {
  19730. "name": "disabled",
  19731. "type": "boolean",
  19732. "mutable": false,
  19733. "attr": "disabled",
  19734. "reflectToAttr": true,
  19735. "docs": "When true, prevents user interaction. This state shows list items grayed out and with lower opacity.",
  19736. "docsTags": [],
  19737. "default": "false",
  19738. "values": [
  19739. {
  19740. "type": "boolean"
  19741. }
  19742. ],
  19743. "optional": false,
  19744. "required": false
  19745. },
  19746. {
  19747. "name": "dragEnabled",
  19748. "type": "boolean",
  19749. "mutable": false,
  19750. "attr": "drag-enabled",
  19751. "reflectToAttr": true,
  19752. "docs": "When true, list items are sortable via a draggable button.",
  19753. "docsTags": [],
  19754. "default": "false",
  19755. "values": [
  19756. {
  19757. "type": "boolean"
  19758. }
  19759. ],
  19760. "optional": false,
  19761. "required": false
  19762. },
  19763. {
  19764. "name": "filterEnabled",
  19765. "type": "boolean",
  19766. "mutable": false,
  19767. "attr": "filter-enabled",
  19768. "reflectToAttr": true,
  19769. "docs": "When true, an input appears at the top of the list that can be used by end users to filter list items.",
  19770. "docsTags": [],
  19771. "default": "false",
  19772. "values": [
  19773. {
  19774. "type": "boolean"
  19775. }
  19776. ],
  19777. "optional": false,
  19778. "required": false
  19779. },
  19780. {
  19781. "name": "filterPlaceholder",
  19782. "type": "string",
  19783. "mutable": false,
  19784. "attr": "filter-placeholder",
  19785. "reflectToAttr": true,
  19786. "docs": "Placeholder text for the filter's input field.",
  19787. "docsTags": [],
  19788. "values": [
  19789. {
  19790. "type": "string"
  19791. }
  19792. ],
  19793. "optional": false,
  19794. "required": false
  19795. },
  19796. {
  19797. "name": "group",
  19798. "type": "string",
  19799. "mutable": false,
  19800. "attr": "group",
  19801. "reflectToAttr": false,
  19802. "docs": "The list's group identifier.\n\nTo drag elements from one list into another, both lists must have the same group value.",
  19803. "docsTags": [],
  19804. "values": [
  19805. {
  19806. "type": "string"
  19807. }
  19808. ],
  19809. "optional": true,
  19810. "required": false
  19811. },
  19812. {
  19813. "name": "loading",
  19814. "type": "boolean",
  19815. "mutable": false,
  19816. "attr": "loading",
  19817. "reflectToAttr": true,
  19818. "docs": "When true, content is waiting to be loaded. This state shows a busy indicator.",
  19819. "docsTags": [],
  19820. "default": "false",
  19821. "values": [
  19822. {
  19823. "type": "boolean"
  19824. }
  19825. ],
  19826. "optional": false,
  19827. "required": false
  19828. },
  19829. {
  19830. "name": "multiple",
  19831. "type": "boolean",
  19832. "mutable": false,
  19833. "attr": "multiple",
  19834. "reflectToAttr": true,
  19835. "docs": "Similar to standard radio buttons and checkboxes.\nWhen true, a user can select multiple list items at a time.\nWhen false, only a single list item can be selected at a time,\nand selecting a new list item will deselect any other selected list items.",
  19836. "docsTags": [],
  19837. "default": "false",
  19838. "values": [
  19839. {
  19840. "type": "boolean"
  19841. }
  19842. ],
  19843. "optional": false,
  19844. "required": false
  19845. },
  19846. {
  19847. "name": "selectionFollowsFocus",
  19848. "type": "boolean",
  19849. "mutable": false,
  19850. "attr": "selection-follows-focus",
  19851. "reflectToAttr": false,
  19852. "docs": "When true and single-selection is enabled, the selection changes when navigating list items via the keyboard.",
  19853. "docsTags": [],
  19854. "default": "false",
  19855. "values": [
  19856. {
  19857. "type": "boolean"
  19858. }
  19859. ],
  19860. "optional": false,
  19861. "required": false
  19862. }
  19863. ],
  19864. "methods": [
  19865. {
  19866. "name": "getSelectedItems",
  19867. "returns": {
  19868. "type": "Promise<Map<string, HTMLCalciteValueListItemElement>>",
  19869. "docs": ""
  19870. },
  19871. "signature": "getSelectedItems() => Promise<Map<string, HTMLCalciteValueListItemElement>>",
  19872. "parameters": [],
  19873. "docs": "Returns the currently selected items",
  19874. "docsTags": []
  19875. },
  19876. {
  19877. "name": "setFocus",
  19878. "returns": {
  19879. "type": "Promise<void>",
  19880. "docs": ""
  19881. },
  19882. "signature": "setFocus(focusId?: ListFocusId) => Promise<void>",
  19883. "parameters": [],
  19884. "docs": "Sets focus on the component.",
  19885. "docsTags": []
  19886. }
  19887. ],
  19888. "events": [
  19889. {
  19890. "event": "calciteListChange",
  19891. "detail": "Map<string, HTMLCalciteValueListItemElement>",
  19892. "bubbles": true,
  19893. "cancelable": true,
  19894. "composed": true,
  19895. "docs": "Emits when any of the list item selections have changed.",
  19896. "docsTags": []
  19897. },
  19898. {
  19899. "event": "calciteListOrderChange",
  19900. "detail": "any[]",
  19901. "bubbles": true,
  19902. "cancelable": true,
  19903. "composed": true,
  19904. "docs": "Emits when the order of the list has changed.",
  19905. "docsTags": []
  19906. }
  19907. ],
  19908. "listeners": [
  19909. {
  19910. "event": "focusout",
  19911. "capture": false,
  19912. "passive": false
  19913. },
  19914. {
  19915. "event": "calciteListItemRemove",
  19916. "capture": false,
  19917. "passive": false
  19918. },
  19919. {
  19920. "event": "calciteListItemChange",
  19921. "capture": false,
  19922. "passive": false
  19923. },
  19924. {
  19925. "event": "calciteListItemPropsChange",
  19926. "capture": false,
  19927. "passive": false
  19928. },
  19929. {
  19930. "event": "calciteListItemValueChange",
  19931. "capture": false,
  19932. "passive": false
  19933. }
  19934. ],
  19935. "styles": [],
  19936. "slots": [
  19937. {
  19938. "name": "",
  19939. "docs": "A slot for adding calcite-value-list-item elements. List items are displayed as a vertical list."
  19940. },
  19941. {
  19942. "name": "menu-actions",
  19943. "docs": "A slot for adding a button and menu combination for performing actions, such as sorting."
  19944. }
  19945. ],
  19946. "parts": [],
  19947. "dependents": [],
  19948. "dependencies": [
  19949. "calcite-filter",
  19950. "calcite-scrim"
  19951. ],
  19952. "dependencyGraph": {
  19953. "calcite-value-list": [
  19954. "calcite-filter",
  19955. "calcite-scrim"
  19956. ],
  19957. "calcite-filter": [
  19958. "calcite-input"
  19959. ],
  19960. "calcite-input": [
  19961. "calcite-progress",
  19962. "calcite-icon"
  19963. ],
  19964. "calcite-scrim": [
  19965. "calcite-loader"
  19966. ]
  19967. }
  19968. },
  19969. {
  19970. "filePath": "./src/components/value-list-item/value-list-item.tsx",
  19971. "encapsulation": "shadow",
  19972. "tag": "calcite-value-list-item",
  19973. "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",
  19974. "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.",
  19975. "docsTags": [
  19976. {
  19977. "name": "slot",
  19978. "text": "actions-end - A slot for adding actions or content to the end side of the item."
  19979. },
  19980. {
  19981. "name": "slot",
  19982. "text": "actions-start - A slot for adding actions or content to the start side of the item."
  19983. }
  19984. ],
  19985. "usage": {},
  19986. "props": [
  19987. {
  19988. "name": "description",
  19989. "type": "string",
  19990. "mutable": false,
  19991. "attr": "description",
  19992. "reflectToAttr": true,
  19993. "docs": "An optional description for the list item that displays below the label text.",
  19994. "docsTags": [],
  19995. "values": [
  19996. {
  19997. "type": "string"
  19998. }
  19999. ],
  20000. "optional": true,
  20001. "required": false
  20002. },
  20003. {
  20004. "name": "disabled",
  20005. "type": "boolean",
  20006. "mutable": false,
  20007. "attr": "disabled",
  20008. "reflectToAttr": true,
  20009. "docs": "When true, the list item cannot be clicked and is visually muted.",
  20010. "docsTags": [],
  20011. "default": "false",
  20012. "values": [
  20013. {
  20014. "type": "boolean"
  20015. }
  20016. ],
  20017. "optional": false,
  20018. "required": false
  20019. },
  20020. {
  20021. "name": "icon",
  20022. "type": "ICON_TYPES.circle | ICON_TYPES.grip | ICON_TYPES.square",
  20023. "mutable": false,
  20024. "attr": "icon",
  20025. "reflectToAttr": true,
  20026. "docs": "Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.",
  20027. "docsTags": [
  20028. {
  20029. "name": "see",
  20030. "text": "[ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/pick-list/resources.ts#L5)"
  20031. }
  20032. ],
  20033. "default": "null",
  20034. "values": [
  20035. {
  20036. "type": "ICON_TYPES.circle"
  20037. },
  20038. {
  20039. "type": "ICON_TYPES.grip"
  20040. },
  20041. {
  20042. "type": "ICON_TYPES.square"
  20043. }
  20044. ],
  20045. "optional": true,
  20046. "required": false
  20047. },
  20048. {
  20049. "name": "label",
  20050. "type": "string",
  20051. "mutable": false,
  20052. "attr": "label",
  20053. "reflectToAttr": true,
  20054. "docs": "The main label for the list item. Appears next to the icon.",
  20055. "docsTags": [],
  20056. "values": [
  20057. {
  20058. "type": "string"
  20059. }
  20060. ],
  20061. "optional": false,
  20062. "required": true
  20063. },
  20064. {
  20065. "name": "metadata",
  20066. "type": "{ [x: string]: unknown; }",
  20067. "mutable": false,
  20068. "reflectToAttr": false,
  20069. "docs": "Provides additional metadata to a list item. Primary use is for a filter on the parent list.",
  20070. "docsTags": [],
  20071. "values": [
  20072. {
  20073. "type": "{ [x: string]: unknown; }"
  20074. }
  20075. ],
  20076. "optional": true,
  20077. "required": false
  20078. },
  20079. {
  20080. "name": "nonInteractive",
  20081. "type": "boolean",
  20082. "mutable": false,
  20083. "attr": "non-interactive",
  20084. "reflectToAttr": true,
  20085. "docs": "When true, prevents the content of the list item from user interaction.",
  20086. "docsTags": [],
  20087. "default": "false",
  20088. "values": [
  20089. {
  20090. "type": "boolean"
  20091. }
  20092. ],
  20093. "optional": false,
  20094. "required": false
  20095. },
  20096. {
  20097. "name": "removable",
  20098. "type": "boolean",
  20099. "mutable": false,
  20100. "attr": "removable",
  20101. "reflectToAttr": true,
  20102. "docs": "When true, adds an action to remove the list item.",
  20103. "docsTags": [],
  20104. "default": "false",
  20105. "values": [
  20106. {
  20107. "type": "boolean"
  20108. }
  20109. ],
  20110. "optional": false,
  20111. "required": false
  20112. },
  20113. {
  20114. "name": "selected",
  20115. "type": "boolean",
  20116. "mutable": true,
  20117. "attr": "selected",
  20118. "reflectToAttr": true,
  20119. "docs": "When true, preselects the list item. Toggles when an item is checked/unchecked.",
  20120. "docsTags": [],
  20121. "default": "false",
  20122. "values": [
  20123. {
  20124. "type": "boolean"
  20125. }
  20126. ],
  20127. "optional": false,
  20128. "required": false
  20129. },
  20130. {
  20131. "name": "value",
  20132. "type": "any",
  20133. "mutable": false,
  20134. "attr": "value",
  20135. "reflectToAttr": false,
  20136. "docs": "The list item's associated value.",
  20137. "docsTags": [],
  20138. "values": [
  20139. {
  20140. "type": "any"
  20141. }
  20142. ],
  20143. "optional": false,
  20144. "required": true
  20145. }
  20146. ],
  20147. "methods": [
  20148. {
  20149. "name": "setFocus",
  20150. "returns": {
  20151. "type": "Promise<void>",
  20152. "docs": ""
  20153. },
  20154. "signature": "setFocus() => Promise<void>",
  20155. "parameters": [],
  20156. "docs": "Set focus on the component.",
  20157. "docsTags": []
  20158. },
  20159. {
  20160. "name": "toggleSelected",
  20161. "returns": {
  20162. "type": "Promise<void>",
  20163. "docs": ""
  20164. },
  20165. "signature": "toggleSelected(coerce?: boolean) => Promise<void>",
  20166. "parameters": [],
  20167. "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.",
  20168. "docsTags": []
  20169. }
  20170. ],
  20171. "events": [
  20172. {
  20173. "event": "calciteListItemRemove",
  20174. "detail": "void",
  20175. "bubbles": true,
  20176. "cancelable": true,
  20177. "composed": true,
  20178. "docs": "Emits when the remove button is pressed.",
  20179. "docsTags": []
  20180. }
  20181. ],
  20182. "listeners": [
  20183. {
  20184. "event": "calciteListItemChange",
  20185. "capture": false,
  20186. "passive": false
  20187. }
  20188. ],
  20189. "styles": [],
  20190. "slots": [
  20191. {
  20192. "name": "actions-end",
  20193. "docs": "A slot for adding actions or content to the end side of the item."
  20194. },
  20195. {
  20196. "name": "actions-start",
  20197. "docs": "A slot for adding actions or content to the start side of the item."
  20198. }
  20199. ],
  20200. "parts": [],
  20201. "dependents": [],
  20202. "dependencies": [
  20203. "calcite-icon",
  20204. "calcite-pick-list-item"
  20205. ],
  20206. "dependencyGraph": {
  20207. "calcite-value-list-item": [
  20208. "calcite-icon",
  20209. "calcite-pick-list-item"
  20210. ],
  20211. "calcite-pick-list-item": [
  20212. "calcite-icon",
  20213. "calcite-action"
  20214. ],
  20215. "calcite-action": [
  20216. "calcite-loader",
  20217. "calcite-icon"
  20218. ]
  20219. }
  20220. }
  20221. ]
  20222. }