@esri/calcite-components 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/{ALESK5G3.js → 2ADYSLPZ.js} +2 -2
- package/dist/calcite/{T4ULXMD7.js → 2BYCWVAC.js} +2 -2
- package/dist/calcite/{METSX5PL.js → 2DJLQG4A.js} +2 -2
- package/dist/calcite/{Q66CF4W3.js → 2KN7VFV3.js} +2 -2
- package/dist/calcite/{ORNJ2SHJ.js → 2QQE6RBG.js} +2 -2
- package/dist/calcite/{JAS5LR3V.js → 2W46C5IT.js} +2 -2
- package/dist/calcite/{KN2DHQQX.js → 2WEHZC4R.js} +2 -2
- package/dist/calcite/{44T76NU4.js → 2YD4Z56B.js} +2 -2
- package/dist/calcite/{IF2VTG4O.js → 2YU4JUQK.js} +2 -2
- package/dist/calcite/{5K7VN4KA.js → 323UDHL6.js} +2 -2
- package/dist/calcite/{DUIF4UOJ.js → 35N5CZK3.js} +2 -2
- package/dist/calcite/{RBZYH2DB.js → 3GWF5ELI.js} +2 -2
- package/dist/calcite/{P7NGK5HU.js → 3JWBMHMV.js} +2 -2
- package/dist/calcite/{2FISXH45.js → 3NUUOJEI.js} +1 -1
- package/dist/calcite/{HYAVXYZ2.js → 3O4S27LQ.js} +2 -2
- package/dist/calcite/{4GA4WC4S.js → 3O5VK4VN.js} +2 -2
- package/dist/calcite/{GMSVWV3D.js → 3OFHBVGT.js} +2 -2
- package/dist/calcite/{XIWNJBFP.js → 3XJDMBMJ.js} +1 -1
- package/dist/calcite/{OPD7D4JP.js → 3YYHU67H.js} +1 -1
- package/dist/calcite/{ME6Z2YOO.js → 44ZIVGS7.js} +2 -2
- package/dist/calcite/{36RFUWOV.js → 4BEUN427.js} +2 -2
- package/dist/calcite/{2PENUS6W.js → 4G4MW34F.js} +2 -2
- package/dist/calcite/{QVCY4WGU.js → 4GGWE4M3.js} +2 -2
- package/dist/calcite/{KFCQM5TQ.js → 4HF2MH3F.js} +2 -2
- package/dist/calcite/{E3P6UTBX.js → 4KGTT6I3.js} +2 -2
- package/dist/calcite/{YYW4OM7V.js → 4QHW2KCC.js} +2 -2
- package/dist/calcite/{CUGMAH5O.js → 52AGH4NW.js} +2 -2
- package/dist/calcite/{NMX7JENH.js → 5A4SCMTT.js} +2 -2
- package/dist/calcite/{FPK4FZB7.js → 5B6WX2DL.js} +2 -2
- package/dist/calcite/{AWUASB3T.js → 5BW6OEX4.js} +2 -2
- package/dist/calcite/{C4UTTCWS.js → 5FDKP64C.js} +2 -2
- package/dist/calcite/{ARIDWTR6.js → 5MAYMOZA.js} +1 -1
- package/dist/calcite/{TNF7E2RJ.js → 5UXZD2PW.js} +2 -2
- package/dist/calcite/{KUKMISYB.js → 5WEHUHTX.js} +2 -2
- package/dist/calcite/{GRW4JOP4.js → 5ZOOOTHO.js} +2 -2
- package/dist/calcite/{O4ROBHBS.js → 6C6KOC25.js} +2 -2
- package/dist/calcite/{PYX2DOAY.js → 6DU5XIRS.js} +2 -2
- package/dist/calcite/{IVQXEPWH.js → 6IRQP6SO.js} +2 -2
- package/dist/calcite/{AGSPOKJL.js → 6M4MQUQE.js} +2 -2
- package/dist/calcite/{E4L6NZNF.js → 6MCHN6SO.js} +2 -2
- package/dist/calcite/{4BJW4WBP.js → 6NCXFBVI.js} +2 -2
- package/dist/calcite/{WRT5VFG2.js → 6NJ2XB5D.js} +2 -2
- package/dist/calcite/{R7DNUMFW.js → 6NPZR4ED.js} +2 -2
- package/dist/calcite/{63TOND25.js → 74XIV7EB.js} +2 -2
- package/dist/calcite/{BPAXWMOU.js → 77RD52T4.js} +2 -2
- package/dist/calcite/{VTO75NHN.js → 7BOAE3LM.js} +2 -2
- package/dist/calcite/{MNEWDDI2.js → 7DY27BCZ.js} +2 -2
- package/dist/calcite/{26HCN763.js → 7EIGV5FV.js} +2 -2
- package/dist/calcite/{AQIH4QSU.js → 7MV5X5YY.js} +2 -2
- package/dist/calcite/{2MRVC7VA.js → 7SAECUZA.js} +2 -2
- package/dist/calcite/{3BBEWJXF.js → 7SFM2X2V.js} +2 -2
- package/dist/calcite/{3ZXS7UKF.js → 7SQTVACB.js} +2 -2
- package/dist/calcite/{SSS44B5K.js → 7U3ECTM6.js} +2 -2
- package/dist/calcite/{VI3KXLGC.js → 7WRGOM4T.js} +1 -1
- package/dist/calcite/{ZYEB6OOM.js → 7XDJ54GY.js} +2 -2
- package/dist/calcite/{DXHVTM3H.js → ABXKDQDM.js} +2 -2
- package/dist/calcite/{HZD74WIH.js → AN6BRRC4.js} +2 -2
- package/dist/calcite/{JD225EOA.js → AS3OWJAM.js} +2 -2
- package/dist/calcite/{2YAKETFF.js → AUQ7MLX2.js} +2 -2
- package/dist/calcite/{MBDY7HC3.js → AWXNBIWS.js} +2 -2
- package/dist/calcite/{EZG5QKN6.js → AZOHNXOH.js} +2 -2
- package/dist/calcite/{KJOYBAI5.js → B45JROQX.js} +2 -2
- package/dist/calcite/{P7S34RN4.js → B4YIOD3M.js} +1 -1
- package/dist/calcite/{WK6BSIWL.js → B7HWVLZ4.js} +2 -2
- package/dist/calcite/{BNGQWGBI.js → B7IG4G6I.js} +2 -2
- package/dist/calcite/{DP7DCTHA.js → B7MQCVNK.js} +2 -2
- package/dist/calcite/{4ZU47CQ3.js → BFDAS53F.js} +1 -1
- package/dist/calcite/{E3LQGBTP.js → BHTF7FU6.js} +2 -2
- package/dist/calcite/{MFSJ7P6E.js → BKNRSH5I.js} +2 -2
- package/dist/calcite/{JIYWCS5W.js → BTOGKDPW.js} +2 -2
- package/dist/calcite/{BFYE5CCU.js → BZAVOPTZ.js} +2 -2
- package/dist/calcite/{TY7PAOH3.js → CATJWSUR.js} +2 -2
- package/dist/calcite/{K5VIMCTR.js → CY5CVEEO.js} +2 -2
- package/dist/calcite/{LVN6GKGM.js → D4CU2ELJ.js} +2 -2
- package/dist/calcite/{R4WJ47LZ.js → DFFLO6RQ.js} +1 -1
- package/dist/calcite/{LVPZFTT7.js → DIIIRTRD.js} +2 -2
- package/dist/calcite/{O6S6VY32.js → DJ65IGAJ.js} +2 -2
- package/dist/calcite/{4FEHFKFZ.js → DR6TNPNP.js} +2 -2
- package/dist/calcite/{KYF26PQD.js → DSV6O5SN.js} +2 -2
- package/dist/calcite/{2XQRDBOF.js → DWSKOILM.js} +2 -2
- package/dist/calcite/{D5BK72IU.js → E2K7V264.js} +2 -2
- package/dist/calcite/{QTFP7OUN.js → E5276FGO.js} +2 -2
- package/dist/calcite/{G57AKIT2.js → EJZAAUYU.js} +1 -1
- package/dist/calcite/{4PUNUHJG.js → EO6WGEPM.js} +2 -2
- package/dist/calcite/{OTFP3MJD.js → EOTHRH2D.js} +2 -2
- package/dist/calcite/{J67XRVOQ.js → F3XJA6O4.js} +2 -2
- package/dist/calcite/{6LEJ3UPZ.js → F4EMKIHK.js} +2 -2
- package/dist/calcite/{YJATTLI4.js → FA3NO5EU.js} +2 -2
- package/dist/calcite/FA3WMFEB.js +22 -0
- package/dist/calcite/{S5F5TPCL.js → FKBMHLD3.js} +2 -2
- package/dist/calcite/{XJFKL6PV.js → FP7FM2VM.js} +2 -2
- package/dist/calcite/{EUZ5QYKG.js → FP7S2M3E.js} +2 -2
- package/dist/calcite/{3LLV2AEE.js → FTPC7ETT.js} +2 -2
- package/dist/calcite/{EPC6PV3A.js → FWYDKVOD.js} +2 -2
- package/dist/calcite/{4S7WQOEH.js → G3CCZ6XE.js} +2 -2
- package/dist/calcite/{LEM2HQED.js → G5S7W2IC.js} +1 -1
- package/dist/calcite/{HVSGKI4U.js → GEURCF7X.js} +2 -2
- package/dist/calcite/{KP54C3JZ.js → GFAN7OST.js} +2 -2
- package/dist/calcite/{4ZGOTZVH.js → GGSSFQEY.js} +2 -2
- package/dist/calcite/{FXELZL3D.js → GIAPPW2B.js} +2 -2
- package/dist/calcite/{Z4EVTJCF.js → GQAZQ3S4.js} +2 -2
- package/dist/calcite/{DABOIYSX.js → GQUIDXCJ.js} +2 -2
- package/dist/calcite/GUUZ7ZDV.js +4 -0
- package/dist/calcite/{3INVFQIX.js → H3XVYGU3.js} +2 -2
- package/dist/calcite/{PBIOUIAG.js → H6E5FODU.js} +2 -2
- package/dist/calcite/{VRXSW66C.js → HBMJPX74.js} +2 -2
- package/dist/calcite/{KTIU4AW5.js → HEHWLTET.js} +2 -2
- package/dist/calcite/{SMJSXUYT.js → HHWADIGN.js} +2 -2
- package/dist/calcite/{S2LJOUMB.js → HJBKJ56M.js} +2 -2
- package/dist/calcite/{2D346WWC.js → HMAFQQAN.js} +2 -2
- package/dist/calcite/{AR5Q6UVU.js → HMNR3FGX.js} +2 -2
- package/dist/calcite/{BZD7GFVI.js → HO6YJDQ6.js} +2 -2
- package/dist/calcite/{D3M3HCEU.js → HXRFWMNM.js} +2 -2
- package/dist/calcite/{G44GIY32.js → HZNGZAMK.js} +2 -2
- package/dist/calcite/{5VWHRVSC.js → HZSC2XKV.js} +1 -1
- package/dist/calcite/{PXNVLWHJ.js → I7NALNEM.js} +2 -2
- package/dist/calcite/{VANSKT7E.js → I7S2F2P2.js} +2 -2
- package/dist/calcite/{M7C4BL3W.js → J22MUGVD.js} +2 -2
- package/dist/calcite/{OYFIV5DV.js → J2XEN4PC.js} +2 -2
- package/dist/calcite/{RJ2QSN7Y.js → JHSTZGJJ.js} +2 -2
- package/dist/calcite/{XLECMXIQ.js → JNK6UYNK.js} +2 -2
- package/dist/calcite/{UIY3ZOUS.js → JR5RWSNX.js} +2 -2
- package/dist/calcite/{CHIM52AT.js → JSHY6EAI.js} +2 -2
- package/dist/calcite/{5COCTVTL.js → JZB5GBZP.js} +2 -2
- package/dist/calcite/{4JFNYHYI.js → JZBTEL4E.js} +2 -2
- package/dist/calcite/{NQ2LK6DD.js → KE362XQL.js} +2 -2
- package/dist/calcite/{URZNSXZT.js → KGBDVMSN.js} +2 -2
- package/dist/calcite/{57I55JUX.js → KHFQ3CWL.js} +2 -2
- package/dist/calcite/{CI3KGKPX.js → KJ5QSHIV.js} +2 -2
- package/dist/calcite/{5LT4TL2A.js → KK2GYQJN.js} +1 -1
- package/dist/calcite/{YJBOOAYG.js → KPOLTNRY.js} +2 -2
- package/dist/calcite/{XNX35ZFQ.js → KUJZNT2T.js} +2 -2
- package/dist/calcite/{ZDGZDBPE.js → KW5SSXI2.js} +2 -2
- package/dist/calcite/{XCHOTUWL.js → KZLGID44.js} +2 -2
- package/dist/calcite/{6VYYMBFV.js → L64PNSJ7.js} +2 -2
- package/dist/calcite/{GE7AW6D3.js → LBEGPJNS.js} +2 -2
- package/dist/calcite/{LALBDZYZ.js → LDPDJTKP.js} +2 -2
- package/dist/calcite/{XMMC32IR.js → LHPTWBKI.js} +2 -2
- package/dist/calcite/{N7VBZNZD.js → LPMWWCXO.js} +2 -2
- package/dist/calcite/M2Z3Q7XS.js +4 -0
- package/dist/calcite/{KDOZHNH6.js → MADH6ZCD.js} +2 -2
- package/dist/calcite/{BPPH3LON.js → MED7DXL5.js} +2 -2
- package/dist/calcite/{BS4H6VSM.js → MN6JS3SO.js} +2 -2
- package/dist/calcite/{BYPR2JSH.js → MNQ67HJJ.js} +2 -2
- package/dist/calcite/{77BUHP3U.js → MOOKY73S.js} +2 -2
- package/dist/calcite/{MKITX7PO.js → N3RCOT5M.js} +2 -2
- package/dist/calcite/{2QHD4PJ3.js → N6SVU4LG.js} +2 -2
- package/dist/calcite/{B3PECEJL.js → NE3OUQ5Q.js} +2 -2
- package/dist/calcite/{DF4DAIZE.js → NFHTQLBP.js} +2 -2
- package/dist/calcite/{532AODLB.js → NHLJM63F.js} +2 -2
- package/dist/calcite/{5V5PZFPV.js → NLWFZFB3.js} +1 -1
- package/dist/calcite/{KXMBACE6.js → NSBYYOY2.js} +2 -2
- package/dist/calcite/{B4RFHTW2.js → NSHGJK73.js} +1 -1
- package/dist/calcite/{T2NQWILT.js → NUDAXIBZ.js} +1 -1
- package/dist/calcite/{AFAENHVJ.js → O5SN3SJX.js} +2 -2
- package/dist/calcite/{R4XN3TM5.js → OEWDESOU.js} +2 -2
- package/dist/calcite/{3TLSGE35.js → OTB6UDF3.js} +2 -2
- package/dist/calcite/{VPBKQWRV.js → OXCCRWE7.js} +2 -2
- package/dist/calcite/{NUOSJ2QU.js → PG3U4QAJ.js} +2 -2
- package/dist/calcite/{U52CBUNR.js → PMUHOU3H.js} +2 -2
- package/dist/calcite/{JNT67J3Z.js → PRPWC5NA.js} +2 -2
- package/dist/calcite/{YX5TRVRY.js → PSOUNIL7.js} +2 -2
- package/dist/calcite/{6MF5C5ST.js → Q6VXEGD5.js} +2 -2
- package/dist/calcite/{4V2CYZGJ.js → Q752TMWW.js} +2 -2
- package/dist/calcite/{OSDCA5Z5.js → QMGTBEVK.js} +2 -2
- package/dist/calcite/{Z6VFYDJB.js → QNL5HVWX.js} +2 -2
- package/dist/calcite/{UG4VX2WO.js → QQ2QONXU.js} +2 -2
- package/dist/calcite/{FTW2LAIW.js → QQCFFW4X.js} +2 -2
- package/dist/calcite/{HAWP5JEV.js → QSRM5BPK.js} +2 -2
- package/dist/calcite/{H7Q3GS6I.js → QXDDQX5X.js} +2 -2
- package/dist/calcite/{AW6AIWFX.js → R4TXKGB3.js} +2 -2
- package/dist/calcite/{CVRPAZHG.js → R546VITU.js} +1 -1
- package/dist/calcite/{UEYGVMY4.js → RGOMC52G.js} +2 -2
- package/dist/calcite/{NWMFN6P5.js → RIMAR2EG.js} +2 -2
- package/dist/calcite/{IUEFQJD6.js → RJV2JRQS.js} +2 -2
- package/dist/calcite/{QNMIJ4WK.js → RLVRPIQB.js} +2 -2
- package/dist/calcite/{MBW4RJGP.js → RR6NYECR.js} +2 -2
- package/dist/calcite/{7D6PTDQC.js → RVEN4NOD.js} +1 -1
- package/dist/calcite/{HPIVWV3W.js → RXONMM2F.js} +2 -2
- package/dist/calcite/{KBLPZCLN.js → RYOCULDB.js} +2 -2
- package/dist/calcite/{2J535H74.js → SCKKZTVU.js} +1 -1
- package/dist/calcite/{UD7QUO4R.js → SKGKFH23.js} +2 -2
- package/dist/calcite/{E77UFCG7.js → SUCAF23Q.js} +1 -1
- package/dist/calcite/{AG3OBGY5.js → SWZ5F3MV.js} +2 -2
- package/dist/calcite/{MKVVU5LK.js → SX5X4EI7.js} +2 -2
- package/dist/calcite/{GO4QOK2G.js → SXYTJEOC.js} +2 -2
- package/dist/calcite/{GYGPER4P.js → SY3OC64V.js} +2 -2
- package/dist/calcite/{42EYBCUV.js → SYD5OQF5.js} +1 -1
- package/dist/calcite/{FC7N6LLB.js → SZONZQBZ.js} +2 -2
- package/dist/calcite/{R4SFKVAB.js → TEDXU7XB.js} +2 -2
- package/dist/calcite/{MMMDZXO3.js → TL6JRD7M.js} +2 -2
- package/dist/calcite/{CFI5FI64.js → TOC7BSNI.js} +2 -2
- package/dist/calcite/{IMPJNHBW.js → TYTRJYZL.js} +2 -2
- package/dist/calcite/{IIZHIWV2.js → U3FS2FCE.js} +2 -2
- package/dist/calcite/{2JYAKUAI.js → UIWDOEUD.js} +2 -2
- package/dist/calcite/{SGGVWBUG.js → URGYWK4W.js} +2 -2
- package/dist/calcite/{QCYLDKPD.js → V5LFQL3E.js} +2 -2
- package/dist/calcite/{KKGMEX34.js → VGEM6KFP.js} +1 -1
- package/dist/calcite/{BYC3WNCO.js → VH2EYQHG.js} +2 -2
- package/dist/calcite/{762X4JRQ.js → VHAES5IP.js} +2 -2
- package/dist/calcite/{TYHCHYHH.js → VJ5DDNTG.js} +2 -2
- package/dist/calcite/{PXWJSYPX.js → VTUEWQVZ.js} +2 -2
- package/dist/calcite/{FBT37OEB.js → VXIKRCVR.js} +2 -2
- package/dist/calcite/{LQPVMOYJ.js → W4BKGWAR.js} +2 -2
- package/dist/calcite/{SXNM7HTI.js → WB6MZBXE.js} +2 -2
- package/dist/calcite/{IZ4UM67D.js → WBAUVVNW.js} +2 -2
- package/dist/calcite/{JORKWQP7.js → WCZACGMB.js} +2 -2
- package/dist/calcite/{6EPLB3BH.js → WEHMJO3D.js} +2 -2
- package/dist/calcite/{3RVGBVFJ.js → WGTFNY3J.js} +2 -2
- package/dist/calcite/{ADQG5III.js → WHHZYHGQ.js} +2 -2
- package/dist/calcite/{GUGZXV6L.js → WOM5JCSF.js} +1 -1
- package/dist/calcite/{SPUWEZWR.js → X37LIRIJ.js} +2 -2
- package/dist/calcite/{7BNRX2TA.js → XVCE2OUE.js} +2 -2
- package/dist/calcite/{PGMKTKRG.js → XVQRC56A.js} +2 -2
- package/dist/calcite/{ERSVI3SQ.js → XYA7Z3GN.js} +2 -2
- package/dist/calcite/{KEZYP6US.js → YED3P76Q.js} +2 -2
- package/dist/calcite/{T64NHTR5.js → YJZ2YI4N.js} +2 -2
- package/dist/calcite/{NXAQ3ZNZ.js → YW6WV5X7.js} +2 -2
- package/dist/calcite/{PDYG4KDD.js → Z3IB3JHI.js} +2 -2
- package/dist/calcite/{BYLYAZTZ.js → Z64MBKLN.js} +2 -2
- package/dist/calcite/{LX6AOLTA.js → Z762LC4M.js} +2 -2
- package/dist/calcite/{IFPCUCS6.js → ZHYECVB4.js} +2 -2
- package/dist/calcite/{3IDVHKGJ.js → ZQALJZYZ.js} +2 -2
- package/dist/calcite/{HHGO6V2F.js → ZXJF7S7L.js} +2 -2
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/_commonjsHelpers.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/focusTrapComponent.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/loadable.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useFocusTrap.js +29 -25
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +34 -28
- package/dist/components/calcite-dialog/customElement.js +1 -1
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +18 -18
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-center-row/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-tile-select/customElement.js +1 -1
- package/dist/components/calcite-tile-select-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tip/customElement.js +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -1
- package/dist/components/calcite-tip-manager/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +4 -2
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/controllers/useFocusTrap.d.ts +2 -6
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +3 -3
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -2
- package/readme.md +9 -37
- package/dist/calcite/2Q43JR4R.js +0 -22
- package/dist/calcite/3MDXQNOS.js +0 -4
- package/dist/calcite/6CCGJZNF.js +0 -4
|
@@ -11,7 +11,7 @@ import { c as w } from "../../chunks/loadable.js";
|
|
|
11
11
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
14
|
-
v3.0.
|
|
14
|
+
v3.0.3 */
|
|
15
15
|
const o = {
|
|
16
16
|
container: "container",
|
|
17
17
|
track: "track",
|
|
@@ -6,7 +6,7 @@ import { g as d } from "../../chunks/guid.js";
|
|
|
6
6
|
import { css as b } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
9
|
-
v3.0.
|
|
9
|
+
v3.0.3 */
|
|
10
10
|
const l = {
|
|
11
11
|
container: "container",
|
|
12
12
|
content: "content"
|
|
@@ -10,7 +10,7 @@ import { u as W } from "../../chunks/useT9n.js";
|
|
|
10
10
|
import { css as H } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
13
|
-
v3.0.
|
|
13
|
+
v3.0.3 */
|
|
14
14
|
const g = {
|
|
15
15
|
chevronRight: "chevron-right",
|
|
16
16
|
chevronLeft: "chevron-left"
|
|
@@ -12,7 +12,7 @@ import { u as w } from "../../chunks/useT9n.js";
|
|
|
12
12
|
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
15
|
-
v3.0.
|
|
15
|
+
v3.0.3 */
|
|
16
16
|
const e = {
|
|
17
17
|
closeButton: "close-button",
|
|
18
18
|
container: "container",
|
|
@@ -9,7 +9,7 @@ import { i as g } from "../../chunks/component.js";
|
|
|
9
9
|
import { css as O } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
12
|
-
v3.0.
|
|
12
|
+
v3.0.3 */
|
|
13
13
|
const n = {
|
|
14
14
|
bordered: "bordered",
|
|
15
15
|
striped: "striped",
|
|
@@ -9,7 +9,7 @@ import { u as b } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
12
|
-
v3.0.
|
|
12
|
+
v3.0.3 */
|
|
13
13
|
const e = {
|
|
14
14
|
contentCell: "content-cell",
|
|
15
15
|
numberCell: "number-cell",
|
|
@@ -8,7 +8,7 @@ import { u as g } from "../../chunks/useT9n.js";
|
|
|
8
8
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
11
|
-
v3.0.
|
|
11
|
+
v3.0.3 */
|
|
12
12
|
const e = {
|
|
13
13
|
contentCell: "content-cell",
|
|
14
14
|
numberCell: "number-cell",
|
|
@@ -11,7 +11,7 @@ import { g } from "../../chunks/component.js";
|
|
|
11
11
|
import { css as T } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
14
|
-
v3.0.
|
|
14
|
+
v3.0.3 */
|
|
15
15
|
const $ = {
|
|
16
16
|
lastVisibleRow: "last-visible-row"
|
|
17
17
|
}, S = T`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}@-moz-document url-prefix(){tr{box-shadow:inset 0 -1px 0 0 var(--calcite-internal-table-row-border-color)}tr.last-visible-row{box-shadow:inset 0 -1px 0 0 transparent}}:host([item-hidden]){display:none}`;
|
|
@@ -6,7 +6,7 @@ import { s as b, e as p } from "../../chunks/dom.js";
|
|
|
6
6
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
9
|
-
v3.0.
|
|
9
|
+
v3.0.3 */
|
|
10
10
|
const f = {
|
|
11
11
|
titleGroup: "title-group"
|
|
12
12
|
}, u = m`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1),inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
@@ -19,7 +19,7 @@ import { u as j } from "../../chunks/useT9n.js";
|
|
|
19
19
|
import { css as V } from "@lit/reactive-element/css-tag.js";
|
|
20
20
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
21
21
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
22
|
-
v3.0.
|
|
22
|
+
v3.0.3 */
|
|
23
23
|
const a = {
|
|
24
24
|
assistiveText: "assistive-text",
|
|
25
25
|
characterLimit: "character-limit",
|
|
@@ -8,7 +8,7 @@ import { c as A } from "../../chunks/loadable.js";
|
|
|
8
8
|
import { css as H } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
11
|
-
v3.0.
|
|
11
|
+
v3.0.3 */
|
|
12
12
|
const t = {
|
|
13
13
|
container: "container",
|
|
14
14
|
contentContainer: "content-container",
|
|
@@ -8,7 +8,7 @@ import { d as i } from "../../chunks/dom.js";
|
|
|
8
8
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
11
|
-
v3.0.
|
|
11
|
+
v3.0.3 */
|
|
12
12
|
const u = {
|
|
13
13
|
container: "container"
|
|
14
14
|
}, f = m`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto,1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
@@ -8,7 +8,7 @@ import { l as w } from "../../chunks/logger.js";
|
|
|
8
8
|
import { css as C } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
11
|
-
v3.0.
|
|
11
|
+
v3.0.3 */
|
|
12
12
|
const i = {
|
|
13
13
|
description: "description",
|
|
14
14
|
descriptionOnly: "description-only",
|
|
@@ -6,7 +6,7 @@ import { l } from "../../chunks/logger.js";
|
|
|
6
6
|
import { css as a } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
9
|
-
v3.0.
|
|
9
|
+
v3.0.3 */
|
|
10
10
|
const d = a`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
11
11
|
class r extends s {
|
|
12
12
|
constructor() {
|
|
@@ -13,7 +13,7 @@ import { u as _ } from "../../chunks/useT9n.js";
|
|
|
13
13
|
import { css as B } from "@lit/reactive-element/css-tag.js";
|
|
14
14
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
15
15
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
16
|
-
v3.0.
|
|
16
|
+
v3.0.3 */
|
|
17
17
|
const t = {
|
|
18
18
|
button: "button",
|
|
19
19
|
buttonBottomLeft: "button--bottom-left",
|
|
@@ -9,7 +9,7 @@ import { u as b } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as v } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
12
|
-
v3.0.
|
|
12
|
+
v3.0.3 */
|
|
13
13
|
const e = {
|
|
14
14
|
container: "container",
|
|
15
15
|
header: "header",
|
|
@@ -5,7 +5,7 @@ import { l as r } from "../../chunks/logger.js";
|
|
|
5
5
|
import { css as i } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
8
|
-
v3.0.
|
|
8
|
+
v3.0.3 */
|
|
9
9
|
const s = i`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
10
10
|
class l extends t {
|
|
11
11
|
static {
|
|
@@ -11,7 +11,7 @@ import { u as T } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { css as k } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
14
|
-
v3.0.
|
|
14
|
+
v3.0.3 */
|
|
15
15
|
const i = {
|
|
16
16
|
header: "header",
|
|
17
17
|
heading: "heading",
|
|
@@ -10,7 +10,7 @@ import { q as R, c as x } from "../../chunks/dom.js";
|
|
|
10
10
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
13
|
-
v3.0.
|
|
13
|
+
v3.0.3 */
|
|
14
14
|
const f = {
|
|
15
15
|
positionContainer: "position-container",
|
|
16
16
|
container: "container"
|
|
@@ -34,8 +34,10 @@ class z {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}, this.pointerMoveHandler = (e) => {
|
|
37
|
-
if (e.defaultPrevented)
|
|
37
|
+
if (e.defaultPrevented) {
|
|
38
|
+
this.closeHoveredTooltip();
|
|
38
39
|
return;
|
|
40
|
+
}
|
|
39
41
|
const t = e.composedPath(), { activeTooltip: i } = this, o = this.queryTooltip(t);
|
|
40
42
|
if (this.pathHasOpenTooltip(o, t)) {
|
|
41
43
|
this.clearHoverTimeout();
|
|
@@ -5,7 +5,7 @@ import { b, n as p, s as M, t as S } from "../../chunks/dom.js";
|
|
|
5
5
|
import { css as C } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
8
|
-
v3.0.
|
|
8
|
+
v3.0.3 */
|
|
9
9
|
function g(h) {
|
|
10
10
|
return h?.tagName === "CALCITE-TREE-ITEM";
|
|
11
11
|
}
|
|
@@ -9,7 +9,7 @@ import { g as h } from "../../chunks/component.js";
|
|
|
9
9
|
import { css as F } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
12
|
-
v3.0.
|
|
12
|
+
v3.0.3 */
|
|
13
13
|
const i = {
|
|
14
14
|
actionsEnd: "actions-end",
|
|
15
15
|
bulletPointIcon: "bullet-point",
|
|
@@ -4,16 +4,12 @@ import { LitElement } from '@arcgis/lumina';
|
|
|
4
4
|
export interface UseFocusTrap {
|
|
5
5
|
/**
|
|
6
6
|
* Activates the focus trap.
|
|
7
|
-
*
|
|
8
|
-
* @see https://github.com/focus-trap/focus-trap#trapactivate
|
|
9
7
|
*/
|
|
10
|
-
activate: (
|
|
8
|
+
activate: () => void;
|
|
11
9
|
/**
|
|
12
10
|
* Deactivates the focus trap.
|
|
13
|
-
*
|
|
14
|
-
* @see https://github.com/focus-trap/focus-trap#trapdeactivate
|
|
15
11
|
*/
|
|
16
|
-
deactivate: (
|
|
12
|
+
deactivate: () => void;
|
|
17
13
|
/**
|
|
18
14
|
* By default, the host element will be used as the focus-trap element, but if the focus-trap element needs to be a different element, use this method prior to activating to set the focus-trap element.
|
|
19
15
|
*/
|
package/dist/docs/api.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-02-
|
|
2
|
+
"timestamp": "2025-02-19T23:00:02",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
5
|
"version": "4.32.0-next.129",
|
|
@@ -28139,7 +28139,7 @@
|
|
|
28139
28139
|
{
|
|
28140
28140
|
"kind": "field",
|
|
28141
28141
|
"name": "canPull",
|
|
28142
|
-
"description": "When provided, the method will be called to determine whether the element can
|
|
28142
|
+
"description": "When provided, the method will be called to determine whether the element can move from the list.",
|
|
28143
28143
|
"type": {
|
|
28144
28144
|
"text": "(detail: ListDragDetail) => boolean",
|
|
28145
28145
|
"references": [
|
|
@@ -42593,7 +42593,7 @@
|
|
|
42593
42593
|
{
|
|
42594
42594
|
"kind": "field",
|
|
42595
42595
|
"name": "canPull",
|
|
42596
|
-
"description": "When provided, the method will be called to determine whether the element can
|
|
42596
|
+
"description": "When provided, the method will be called to determine whether the element can move from the list.",
|
|
42597
42597
|
"type": {
|
|
42598
42598
|
"text": "(detail: DragDetail) => boolean",
|
|
42599
42599
|
"references": [
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-02-
|
|
2
|
+
"timestamp": "2025-02-19T23:00:02",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
5
|
"version": "4.32.0-next.129",
|
|
@@ -23345,7 +23345,7 @@
|
|
|
23345
23345
|
},
|
|
23346
23346
|
"mutable": true,
|
|
23347
23347
|
"reflectToAttr": false,
|
|
23348
|
-
"docs": "When provided, the method will be called to determine whether the element can
|
|
23348
|
+
"docs": "When provided, the method will be called to determine whether the element can move from the list.",
|
|
23349
23349
|
"docsTags": [],
|
|
23350
23350
|
"values": [],
|
|
23351
23351
|
"optional": true,
|
|
@@ -35418,7 +35418,7 @@
|
|
|
35418
35418
|
},
|
|
35419
35419
|
"mutable": true,
|
|
35420
35420
|
"reflectToAttr": false,
|
|
35421
|
-
"docs": "When provided, the method will be called to determine whether the element can
|
|
35421
|
+
"docs": "When provided, the method will be called to determine whether the element can move from the list.",
|
|
35422
35422
|
"docsTags": [],
|
|
35423
35423
|
"values": [],
|
|
35424
35424
|
"optional": true,
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@esri/calcite-components",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.3",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -10093,7 +10093,7 @@
|
|
|
10093
10093
|
"properties": [
|
|
10094
10094
|
{
|
|
10095
10095
|
"name": "canPull",
|
|
10096
|
-
"description": "When provided, the method will be called to determine whether the element can
|
|
10096
|
+
"description": "When provided, the method will be called to determine whether the element can move from the list.",
|
|
10097
10097
|
"type": "(detail: ListDragDetail) => boolean"
|
|
10098
10098
|
},
|
|
10099
10099
|
{
|
|
@@ -15145,7 +15145,7 @@
|
|
|
15145
15145
|
"properties": [
|
|
15146
15146
|
{
|
|
15147
15147
|
"name": "canPull",
|
|
15148
|
-
"description": "When provided, the method will be called to determine whether the element can
|
|
15148
|
+
"description": "When provided, the method will be called to determine whether the element can move from the list.",
|
|
15149
15149
|
"type": "(detail: DragDetail) => boolean"
|
|
15150
15150
|
},
|
|
15151
15151
|
{
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { s } from "./chunks/runtime.js";
|
|
|
2
2
|
import { g as P } from "./chunks/runtime.js";
|
|
3
3
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
5
|
-
v3.0.
|
|
5
|
+
v3.0.3 */
|
|
6
6
|
let e = !1;
|
|
7
7
|
const o = (t) => {
|
|
8
8
|
e = !0, s(t);
|
package/dist/loader.js
CHANGED
|
@@ -3,7 +3,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
3
3
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
6
|
-
v3.0.
|
|
6
|
+
v3.0.3 */
|
|
7
7
|
const o = t(e, {
|
|
8
8
|
"calcite-accordion": [() => import("./components/calcite-accordion/customElement.js"), "appearance,iconPosition,iconType,scale,selectionMode"],
|
|
9
9
|
"calcite-accordion-item": [() => import("./components/calcite-accordion-item/customElement.js"), "accordionParent:,description,expanded,heading,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,scale;setFocus"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"repository": {
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"dist/docs/vscode.html-custom-data.json"
|
|
102
102
|
],
|
|
103
103
|
"web-types": "dist/docs/web-types.json",
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "0b0b89f593ad0748c8b6d994c792e58e0703366e"
|
|
105
105
|
}
|
package/readme.md
CHANGED
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
[](https://www.npmjs.com/package/@esri/calcite-components)
|
|
5
5
|
[](https://github.com/Esri/calcite-design-system/graphs/contributors)
|
|
6
6
|
|
|
7
|
-
# Calcite
|
|
7
|
+
# Calcite components
|
|
8
8
|
|
|
9
|
-
Calcite
|
|
9
|
+
Calcite components, part of Esri's Calcite Design System, is a rich library of flexible, framework-agnostic web components for building applications. View the [documentation](https://developers.arcgis.com/calcite-design-system/components/) for component descriptions, examples, and API reference, which includes properties, slots, styles, and theming.
|
|
10
10
|
|
|
11
11
|
## Use the CDN
|
|
12
12
|
|
|
13
|
-
The most common approach for loading Calcite
|
|
13
|
+
The most common approach for loading Calcite components is to use the version hosted on the CDN. The components can be loaded via `<script>` and `<link>` tags in the head of your HTML document:
|
|
14
14
|
|
|
15
15
|
<!-- x-release-please-start-version -->
|
|
16
16
|
|
|
17
17
|
```html
|
|
18
18
|
<script
|
|
19
19
|
type="module"
|
|
20
|
-
src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.
|
|
20
|
+
src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.3/dist/calcite/calcite.esm.js"
|
|
21
21
|
></script>
|
|
22
22
|
<link
|
|
23
23
|
rel="stylesheet"
|
|
24
24
|
type="text/css"
|
|
25
|
-
href="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.
|
|
25
|
+
href="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.3/dist/calcite/calcite.css"
|
|
26
26
|
/>
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -32,41 +32,13 @@ Once these tags are added, components can be used like any other HTML element. O
|
|
|
32
32
|
|
|
33
33
|
## Use the NPM package
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
```sh
|
|
38
|
-
npm install @esri/calcite-components
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### 1. Build
|
|
42
|
-
|
|
43
|
-
Refer to the [Get started](https://developers.arcgis.com/calcite-design-system/get-started/) page for details on setting up a build.
|
|
44
|
-
|
|
45
|
-
### 2. Assets
|
|
46
|
-
|
|
47
|
-
Some components, such as `calcite-icon` and `calcite-date-picker`, rely on assets being available at a particular path. As mentioned, with the NPM package you have the option to provide a local path or the URL to the assets hosted on the CDN. Using the CDN hosted assets can help decrease on disk build size.
|
|
48
|
-
|
|
49
|
-
To use the assets locally, they need to be copied using a build tool or NPM script. The directory for the local assets must be named `assets`, which eases the copying process. For example, `/public/calcite/assets` will work, however `/public/calcite-assets` will not.
|
|
50
|
-
|
|
51
|
-
The Calcite Components [examples repo](https://github.com/Esri/calcite-components-examples) demonstrates using local assets in a variety of JavaScript frameworks and build tools. Each example has a README with a framework or build tool specific explanation.
|
|
52
|
-
|
|
53
|
-
```sh
|
|
54
|
-
cp -r node_modules/@esri/calcite-components/dist/calcite/assets/* ./public/assets/
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### 3. Styles
|
|
58
|
-
|
|
59
|
-
Finally, load the Cascading Style Sheet (CSS). This is also dependent on your framework or build tool, however in many cases it can be imported in JavaScript:
|
|
60
|
-
|
|
61
|
-
```js
|
|
62
|
-
import "@esri/calcite-components/dist/calcite/calcite.css";
|
|
63
|
-
```
|
|
35
|
+
Refer to the [Get started](https://developers.arcgis.com/calcite-design-system/get-started/#use-the-npm-package) page for details on setting up the [NPM package](https://www.npmjs.com/package/@esri/calcite-components).
|
|
64
36
|
|
|
65
37
|
## TypeScript
|
|
66
38
|
|
|
67
|
-
Refer to the [
|
|
39
|
+
Refer to the [Framework integration](https://developers.arcgis.com/calcite-design-system/resources/frameworks/#typescript) resource page for guidance on setting up TypeScript.
|
|
68
40
|
|
|
69
|
-
## Browser
|
|
41
|
+
## Browser support
|
|
70
42
|
|
|
71
43
|
<table>
|
|
72
44
|
<thead>
|
|
@@ -86,7 +58,7 @@ Refer to the [TypeScript section of the Framework integration](https://developer
|
|
|
86
58
|
|
|
87
59
|
## Contributing
|
|
88
60
|
|
|
89
|
-
We welcome contributions to this project. See [CONTRIBUTING.md](
|
|
61
|
+
We welcome contributions to this project. See [CONTRIBUTING.md](https://github.com/Esri/calcite-design-system/blob/dev/CONTRIBUTING.md) for an overview of contribution guidelines.
|
|
90
62
|
|
|
91
63
|
## License
|
|
92
64
|
|
package/dist/calcite/2Q43JR4R.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.2 */
|
|
4
|
-
import{a as j}from"./77BUHP3U.js";import{a as G}from"./P7S34RN4.js";import{J as Z,e as C,f as w,g as d,w as P,x as f,z as $}from"./63TOND25.js";function S(s,i,h){let a=i[0]-s[0],n=h[0]-i[0],o=i[1]-s[1],l=h[1]-i[1],r=o/(a||n<0&&0),e=l/(n||a<0&&0),t=(r*n+e*a)/(a+n);return(Math.sign(r)+Math.sign(e))*Math.min(Math.abs(r),Math.abs(e),.5*Math.abs(t))||0}function H(s,i,h){let a=i[0]-s[0],n=i[1]-s[1];return a?(3*n/a-h)/2:h}function O(s,i,h,a,n){let[o,l]=s,[r,e]=i,t=(r-o)/3,c=n([o+t,l+t*h]).join(","),g=n([r-t,e-t*a]).join(","),p=n([r,e]).join(",");return`C ${c} ${g} ${p}`}function E({width:s,height:i,min:h,max:a}){let n=a[0]-h[0],o=a[1]-h[1];return l=>{let r=(l[0]-h[0])/n*s,e=i-l[1]/o*i;return[r,e]}}function R(s){let[i,h]=s[0],a=[i,h],n=[i,h];return s.reduce(({min:o,max:l},[r,e])=>({min:[Math.min(o[0],r),Math.min(o[1],e)],max:[Math.max(l[0],r),Math.max(l[1],e)]}),{min:a,max:n})}function q({data:s,min:i,max:h,t:a}){if(s.length===0)return"";let[n,o]=a(s[0]),[l,r]=a(i),[e]=a(h),t,c,g,p=s.reduce((x,M,m)=>{if(c=s[m-2],g=s[m-1],m>1){let u=S(c,g,M),k=t===void 0?H(c,g,u):t,L=O(c,g,k,u,a);return t=u,`${x} ${L}`}return x},`M ${l},${r} L ${l},${o} L ${n},${o}`),y=s[s.length-1],v=O(g,y,t,H(g,y,t),a);return`${p} ${v} L ${e},${r} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,b={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${G()}`,this.resizeObserver=j("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:0,data:0,highlightMax:9,highlightMin:9,max:11,min:11}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:i,colorStops:h,el:a,highlightMax:n,highlightMin:o,min:l,max:r}=this,e=this.graphId,{clientHeight:t,clientWidth:c}=a;if(!i||i.length===0)return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}></svg>`;let{min:g,max:p}=R(i),y=g,v=p;(l<g[0]||l>g[0])&&(y=[l,0]),(r>p[0]||r<p[0])&&(v=[r,p[1]]);let x=E({min:y,max:v,width:c,height:t}),[M]=x([o,v[1]]),[m]=x([n,v[1]]),u=q({data:i,min:g,max:p,t:x}),k=h?`url(#linear-gradient-${e})`:void 0;return w`<svg aria-hidden=true class=${f(b.svg)} height=${t??$} preserveAspectRatio=none viewBox=${`0 0 ${c} ${t}`} width=${c??$}>${h?d`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${h.map(({offset:L,color:A,opacity:B})=>d`<stop offset=${`${L*100}%`} stop-color=${A??$} stop-opacity=${B??$} />`)}</linearGradient></defs>`:null}${o!==void 0?[d`<mask height=100% .id=${`${e}1`} width=100% x=0% y=0%><path d=${`
|
|
5
|
-
M 0,0
|
|
6
|
-
L ${M-1},0
|
|
7
|
-
L ${M-1},${t}
|
|
8
|
-
L 0,${t}
|
|
9
|
-
Z
|
|
10
|
-
`} fill=white /></mask>`,d`<mask height=100% .id=${`${e}2`} width=100% x=0% y=0%><path d=${`
|
|
11
|
-
M ${M+1},0
|
|
12
|
-
L ${m-1},0
|
|
13
|
-
L ${m-1},${t}
|
|
14
|
-
L ${M+1}, ${t}
|
|
15
|
-
Z
|
|
16
|
-
`} fill=white /></mask>`,d`<mask height=100% .id=${`${e}3`} width=100% x=0% y=0%><path d=${`
|
|
17
|
-
M ${m+1},0
|
|
18
|
-
L ${c},0
|
|
19
|
-
L ${c},${t}
|
|
20
|
-
L ${m+1}, ${t}
|
|
21
|
-
Z
|
|
22
|
-
`} fill=white /></mask>`,d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} mask=${`url(#${e}1)`} />`,d`<path class=${f(b.graphPathHighlight)} d=${u??$} fill=${k??$} mask=${`url(#${e}2)`} />`,d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} mask=${`url(#${e}3)`} />`]:d`<path class=${f(b.graphPath)} d=${u??$} fill=${k??$} />`}</svg>`}};Z("calcite-graph",z);export{z as Graph};
|
package/dist/calcite/3MDXQNOS.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.2 */
|
|
4
|
-
import{a as p,c as u}from"./MMMDZXO3.js";import{b as i}from"./63TOND25.js";function d(r,{focusTrapOptions:t},o){return!t?.extraContainers&&!o?r:[r,...f(t?.extraContainers),...f(o)]}function f(r=[]){return Array.isArray(r)?r:[r]}var E=r=>i((t,o)=>{let e,c,s,l=r.focusTrapOptions;return o.onConnected(()=>{t[r.triggerProp]&&e&&e.activate()}),o.onDisconnected(()=>e?.deactivate()),{activate:a=>{let n=c||t.el;if(n.isConnected){if(!e){let v={...l,...t.focusTrapOptions};s||=d(n,t),e=p(s,u(n,v))}(typeof t.focusTrapDisabledOverride=="function"?!t.focusTrapDisabledOverride():!t.focusTrapDisabled)&&e.activate(a)}},deactivate:a=>e?.deactivate(a),overrideFocusTrapEl:a=>{if(e)throw new Error("Focus trap already created");c=a},setExtraContainers:a=>{let n=c||t.el;s=d(n,t,a)},updateContainerElements:()=>e?.updateContainerElements(s)}});export{E as a};
|
package/dist/calcite/6CCGJZNF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.0.2 */
|
|
4
|
-
import{a as R}from"./LQPVMOYJ.js";import{c as h,e as y,f as C,g as L,h as x,i as p}from"./H7Q3GS6I.js";import"./VI3KXLGC.js";import{a as H}from"./HYAVXYZ2.js";import"./NWMFN6P5.js";import"./42EYBCUV.js";import{b as d}from"./FC7N6LLB.js";import{h as b,j as k}from"./GO4QOK2G.js";import{a as E}from"./P7S34RN4.js";import{A as T,J as w,e as m,f as v,v as n,w as g,x as l}from"./63TOND25.js";var O={positionContainer:"position-container",container:"container"},I=300,D=500,S="aria-describedby";function P(s){let{referenceElement:e}=s;return(typeof e=="string"?k(s,{id:e}):e)||null}var u=class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.activeTooltip=null,this.registeredElementCount=0,this.clickedTooltip=null,this.queryTooltip=e=>{let{registeredElements:t}=this,i=e.find(o=>t.has(o));return t.get(i)},this.keyDownHandler=e=>{if(e.key==="Escape"&&!e.defaultPrevented){let{activeTooltip:t}=this;if(t?.open){this.clearHoverTimeout(),this.closeActiveTooltip();let i=P(t),o=e.composedPath();(i instanceof Element&&o.includes(i)||o.includes(t))&&e.preventDefault()}}},this.pointerMoveHandler=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),{activeTooltip:i}=this,o=this.queryTooltip(t);if(this.pathHasOpenTooltip(o,t)){this.clearHoverTimeout();return}o!==this.clickedTooltip&&(o?this.openHoveredTooltip(o):i?.open&&this.closeHoveredTooltip(),this.clickedTooltip=null)},this.clickHandler=e=>{if(e.defaultPrevented)return;this.clickedTooltip=null;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}if(this.closeActiveTooltip(),!!i){if(this.clearHoverTimeout(),i.closeOnClick){this.clickedTooltip=i,this.toggleTooltip(i,!1);return}this.toggleTooltip(i,!0)}},this.blurHandler=()=>{this.closeActiveTooltip()},this.focusInHandler=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),i=this.queryTooltip(t);if(this.pathHasOpenTooltip(i,t)){this.clearHoverTimeout();return}i!==this.clickedTooltip&&(this.clickedTooltip=null,this.closeTooltipIfNotActive(i),i&&this.toggleFocusedTooltip(i,!0))},this.openHoveredTooltip=e=>{this.hoverOpenTimeout=window.setTimeout(()=>{this.hoverOpenTimeout!==null&&(this.clearHoverCloseTimeout(),this.closeTooltipIfNotActive(e),this.toggleTooltip(e,!0))},this.activeTooltip?.open?0:I)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout(()=>{this.hoverCloseTimeout!==null&&this.closeActiveTooltip()},D)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t);let i=this.getReferenceElShadowRootNode(e);i&&this.registerShadowRoot(i),this.registeredElementCount===1&&this.addListeners()}unregisterElement(e){let t=this.getReferenceElShadowRootNode(e);t&&this.unregisterShadowRoot(t),this.registeredElements.delete(e)&&this.registeredElementCount--,this.registeredElementCount===0&&this.removeListeners()}pathHasOpenTooltip(e,t){let{activeTooltip:i}=this;return i?.open&&t.includes(i)||e?.open&&t.includes(e)}addShadowListeners(e){e.addEventListener("focusin",this.focusInHandler)}removeShadowListeners(e){e.removeEventListener("focusin",this.focusInHandler)}addListeners(){window.addEventListener("keydown",this.keyDownHandler),window.addEventListener("pointermove",this.pointerMoveHandler),window.addEventListener("click",this.clickHandler),window.addEventListener("focusin",this.focusInHandler),window.addEventListener("blur",this.blurHandler)}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler),window.removeEventListener("pointermove",this.pointerMoveHandler),window.removeEventListener("click",this.clickHandler),window.removeEventListener("focusin",this.focusInHandler),window.removeEventListener("blur",this.blurHandler)}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeTooltipIfNotActive(e){this.activeTooltip!==e&&this.closeActiveTooltip()}closeActiveTooltip(){let{activeTooltip:e}=this;e?.open&&this.toggleTooltip(e,!1)}toggleFocusedTooltip(e,t){t&&this.clearHoverTimeout(),this.toggleTooltip(e,t)}toggleTooltip(e,t){e.open=t,this.activeTooltip=t?e:null}registerShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.min((typeof i=="number"?i:0)+1,1);o===1&&this.addShadowListeners(e),t.set(e,o)}unregisterShadowRoot(e){let{registeredShadowRootCounts:t}=this,i=t.get(e),o=Math.max((typeof i=="number"?i:1)-1,0);o===0&&this.removeShadowListeners(e),t.set(e,o)}getReferenceElShadowRootNode(e){return e instanceof Element?b(e):null}},U=m`:host{display:contents;--calcite-floating-ui-z-index: var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip))}.position-container{inline-size:max-content;display:none;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.position-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.position-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.position-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.position-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.position-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.position-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;padding:.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round));color:var(--calcite-tooltip-text-color, var(--calcite-color-text-1));max-inline-size:20rem;max-block-size:20rem;text-align:start}.position-container .calcite-floating-ui-anim{border-width:1px;border-style:solid;background-color:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-tooltip-border-color, var(--calcite-color-border-3));border-radius:var(--calcite-tooltip-corner-radius, var(--calcite-corner-radius-round))}.calcite-floating-ui-arrow{fill:var(--calcite-tooltip-background-color, var(--calcite-color-foreground-1))}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-tooltip-border-color, var(--calcite-color-border-3))}:host([hidden]){display:none}[hidden]{display:none}`,A=new u,f=class extends g{constructor(){super(...arguments),this.guid=`calcite-tooltip-${E()}`,this.transitionProp="opacity",this.floatingLayout="vertical",this.closeOnClick=!1,this.offsetDistance=p,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.calciteTooltipBeforeClose=n({cancelable:!1}),this.calciteTooltipBeforeOpen=n({cancelable:!1}),this.calciteTooltipClose=n({cancelable:!1}),this.calciteTooltipOpen=n({cancelable:!1})}static{this.properties={floatingLayout:16,referenceEl:16,closeOnClick:7,label:1,offsetDistance:11,offsetSkidding:11,open:7,overlayPositioning:3,placement:3,referenceElement:1}}static{this.styles=U}async reposition(e=!1){let{referenceEl:t,placement:i,overlayPositioning:o,offsetDistance:r,offsetSkidding:a,arrowEl:c,floatingEl:z}=this;return y(this,{floatingEl:z,referenceEl:t,overlayPositioning:o,placement:i,offsetDistance:r,offsetSkidding:a,arrowEl:c,type:"tooltip"},e)}connectedCallback(){super.connectedCallback(),this.setUpReferenceElement(!0)}willUpdate(e){(e.has("offsetDistance")&&(this.hasUpdated||this.offsetDistance!==p)||e.has("offsetSkidding")&&(this.hasUpdated||this.offsetSkidding!==0)||e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!=="auto"))&&this.reposition(!0),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("referenceElement")&&this.setUpReferenceElement()}loaded(){this.referenceElement&&!this.referenceEl&&this.setUpReferenceElement()}disconnectedCallback(){super.disconnectedCallback(),this.removeReferences(),x(this)}openHandler(){H(this),this.reposition(!0)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit(),C(this)}setFloatingEl(e){this.floatingEl=e,e&&requestAnimationFrame(()=>this.setUpReferenceElement())}setTransitionEl(e){this.transitionEl=e}setUpReferenceElement(e=!0){this.removeReferences(),this.referenceEl=P(this.el),L(this);let{el:t,referenceElement:i,referenceEl:o}=this;e&&i&&!o&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()}getId(){return this.el.id||this.guid}addReferences(){let{referenceEl:e}=this;if(!e)return;let t=this.getId();"setAttribute"in e&&e.setAttribute(S,t),A.registerElement(e,this.el)}removeReferences(){let{referenceEl:e}=this;e&&("removeAttribute"in e&&e.removeAttribute(S),A.unregisterElement(e))}render(){let{referenceEl:e,label:t,open:i,floatingLayout:o}=this,r=e&&i,a=!r;return this.el.inert=a,this.el.ariaLabel=t,this.el.ariaLive="polite",T(this.el,"id",this.getId()),this.el.role="tooltip",v`<div class=${l(O.positionContainer)} ${d(this.setFloatingEl)}><div class=${l({[h.animation]:!0,[h.animationActive]:r})} ${d(this.setTransitionEl)}>${R({floatingLayout:o,ref:c=>this.arrowEl=c})}<div class=${l(O.container)}><slot></slot></div></div></div>`}};w("calcite-tooltip",f);export{f as Tooltip};
|