@esri/calcite-components 3.0.0-next.99 → 3.0.1
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/2AP6YLXQ.js +4 -0
- package/dist/calcite/2M5DP5VS.js +4 -0
- package/dist/calcite/2MTW4RBX.js +4 -0
- package/dist/calcite/2TEERBTI.js +4 -0
- package/dist/calcite/{4TWMM7Z6.js → 3BOJE7XV.js} +4 -6
- package/dist/calcite/3EQ32UON.js +4 -0
- package/dist/calcite/3LOOBSHJ.js +4 -0
- package/dist/calcite/3LXK5OEB.js +5 -0
- package/dist/calcite/{4OYBMKUB.js → 3NJWAHVN.js} +4 -6
- package/dist/calcite/{2JRSKQML.js → 3TGA6ACB.js} +4 -6
- package/dist/calcite/3TJZ3VMN.js +4 -0
- package/dist/calcite/3U4EUW42.js +4 -0
- package/dist/calcite/45R3L3J2.js +4 -0
- package/dist/calcite/45YXH4D4.js +4 -0
- package/dist/calcite/{ZWGCNMZF.js → 46ICVIVW.js} +4 -6
- package/dist/calcite/{UZAQE6XP.js → 47FXQ37G.js} +4 -6
- package/dist/calcite/{JFBHBHJE.js → 4GUL5QXY.js} +4 -6
- package/dist/calcite/{AUEN6VFD.js → 4PKLCHA5.js} +4 -6
- package/dist/calcite/4QSXDJ3I.js +4 -0
- package/dist/calcite/{BGQR3WLU.js → 4TLHW2N3.js} +4 -6
- package/dist/calcite/{XFHDAVBK.js → 54O5ASY6.js} +4 -6
- package/dist/calcite/{FSQJ72IH.js → 57MQUGHN.js} +4 -6
- package/dist/calcite/5FYVM4AX.js +4 -0
- package/dist/calcite/5KCZZJGZ.js +4 -0
- package/dist/calcite/5OWSKBSV.js +4 -0
- package/dist/calcite/{3SE2Z2VK.js → 5X666Z33.js} +5 -7
- package/dist/calcite/5YBMD5MK.js +4 -0
- package/dist/calcite/5ZA467A4.js +4 -0
- package/dist/calcite/62M3DNDT.js +4 -0
- package/dist/calcite/{DF7SVAJW.js → 6AN3H3R6.js} +4 -6
- package/dist/calcite/{W4D5O4P2.js → 6GK2OTHZ.js} +3 -5
- package/dist/calcite/6HEZO2KI.js +4 -0
- package/dist/calcite/{BZOCG27F.js → 6KFLYQ3F.js} +4 -6
- package/dist/calcite/6OPQR7PL.js +4 -0
- package/dist/calcite/{3QV5TGZD.js → 6ZNTK2O2.js} +4 -6
- package/dist/calcite/7C3Y7SM7.js +4 -0
- package/dist/calcite/{L4IJ6KQT.js → 7C4KHH7U.js} +4 -6
- package/dist/calcite/{AASA6526.js → 7COKCZTB.js} +4 -6
- package/dist/calcite/{KA53KK35.js → 7CQS22FK.js} +3 -5
- package/dist/calcite/{2YSVELPG.js → 7NLQECEF.js} +3 -5
- package/dist/calcite/7SVWZ5TZ.js +4 -0
- package/dist/calcite/{I2N2BRJR.js → 7URHQAUN.js} +3 -5
- package/dist/calcite/ACFEDJWV.js +4 -0
- package/dist/calcite/{MNBTRJLH.js → AFJ2UDEO.js} +4 -6
- package/dist/calcite/{5MEU7SU4.js → AQANFQEK.js} +4 -6
- package/dist/calcite/{GU2SFYM4.js → AZPKU6ON.js} +4 -6
- package/dist/calcite/{SZP7YBVQ.js → B2GDIYRL.js} +4 -6
- package/dist/calcite/{26ES3CRO.js → BETB6YPW.js} +4 -6
- package/dist/calcite/BJQEZXFS.js +4 -0
- package/dist/calcite/BKB5MWFT.js +4 -0
- package/dist/calcite/BYRVP24K.js +22 -0
- package/dist/calcite/{UPY24BFQ.js → C3XHCMBP.js} +3 -5
- package/dist/calcite/C52QQAFR.js +4 -0
- package/dist/calcite/CE3TSSYN.js +4 -0
- package/dist/calcite/CHVHH4L7.js +4 -0
- package/dist/calcite/CNTBFQBL.js +4 -0
- package/dist/calcite/CPH3OCUO.js +4 -0
- package/dist/calcite/CWBUDJKG.js +4 -0
- package/dist/calcite/CWJKJUCU.js +4 -0
- package/dist/calcite/{XOA2TSHC.js → CYKAIRKP.js} +4 -6
- package/dist/calcite/D7X7U5LL.js +6 -0
- package/dist/calcite/DH73QGXJ.js +4 -0
- package/dist/calcite/{EWQKTTIO.js → DJU4LSIS.js} +4 -6
- package/dist/calcite/DNKJTXCY.js +4 -0
- package/dist/calcite/DO7AVVBP.js +4 -0
- package/dist/calcite/DVFRWPOF.js +4 -0
- package/dist/calcite/{3KND2KKH.js → DX5LTGNX.js} +4 -6
- package/dist/calcite/DYHX5C6J.js +4 -0
- package/dist/calcite/E6LODM5C.js +4 -0
- package/dist/calcite/{6LWRLBVD.js → EB432BS5.js} +4 -6
- package/dist/calcite/{ZQSF4K7D.js → EFUCITW3.js} +4 -6
- package/dist/calcite/ETK7F3KI.js +4 -0
- package/dist/calcite/{UCGUHOUO.js → EWAQVZXY.js} +4 -6
- package/dist/calcite/{O7B4THLC.js → EWBW2GOP.js} +4 -6
- package/dist/calcite/{GIRDDKPZ.js → F52GIETG.js} +4 -6
- package/dist/calcite/F6CK7P7G.js +4 -0
- package/dist/calcite/FA3DOLYY.js +4 -0
- package/dist/calcite/FBUTQVLY.js +4 -0
- package/dist/calcite/FF2SNYC6.js +4 -0
- package/dist/calcite/FGCSO5KT.js +4 -0
- package/dist/calcite/FJLPIBCZ.js +4 -0
- package/dist/calcite/{DO5AYUNU.js → FL63KFPW.js} +4 -6
- package/dist/calcite/{KHDHQPVO.js → FMALNIBL.js} +4 -6
- package/dist/calcite/{ARFAFPKS.js → FNTHRMT3.js} +4 -6
- package/dist/calcite/{KWWKG3YN.js → FOFSX3FY.js} +4 -6
- package/dist/calcite/FSQRHBBB.js +4 -0
- package/dist/calcite/FYCT4FES.js +4 -0
- package/dist/calcite/{G4Q2QH6B.js → FYUK2GME.js} +4 -6
- package/dist/calcite/G4CQ5QPF.js +4 -0
- package/dist/calcite/G5AYPPXM.js +4 -0
- package/dist/calcite/{EUXG27WD.js → GGNAK2N6.js} +4 -6
- package/dist/calcite/{57L4ZYLO.js → GKVYSG3G.js} +4 -6
- package/dist/calcite/{W3WKINVO.js → GR3JRBW6.js} +4 -6
- package/dist/calcite/GS4K4IEJ.js +4 -0
- package/dist/calcite/{EBQYJBDQ.js → GZBMMB2V.js} +4 -6
- package/dist/calcite/HD2NABQD.js +4 -0
- package/dist/calcite/{P64WY2HI.js → HEVM6SRJ.js} +4 -6
- package/dist/calcite/HMZA4X6S.js +4 -0
- package/dist/calcite/HPFCIR5F.js +4 -0
- package/dist/calcite/HRDRO2MA.js +4 -0
- package/dist/calcite/I54F3V4F.js +4 -0
- package/dist/calcite/{BNYX7IBO.js → IBLJGOPM.js} +4 -6
- package/dist/calcite/IGQGPBGN.js +4 -0
- package/dist/calcite/{QLJX2F4K.js → IITTEDPS.js} +4 -6
- package/dist/calcite/IJOUQRZG.js +4 -0
- package/dist/calcite/IKHZ7MAG.js +4 -0
- package/dist/calcite/{SYOTV4D4.js → J3ZEXA7Z.js} +4 -6
- package/dist/calcite/{OMBBOPRI.js → J6ES4ZTD.js} +4 -6
- package/dist/calcite/J6V2OKQD.js +4 -0
- package/dist/calcite/JHWO2CVD.js +4 -0
- package/dist/calcite/JUW7VCPP.js +4 -0
- package/dist/calcite/KAZVOPHR.js +4 -0
- package/dist/calcite/{3ATQZBKY.js → KCA2V6ZH.js} +4 -6
- package/dist/calcite/{QNGBOTGF.js → KJYAPBB2.js} +4 -6
- package/dist/calcite/KLG62CS4.js +4 -0
- package/dist/calcite/{SFWNFANJ.js → KOPH76Z4.js} +4 -6
- package/dist/calcite/KP4G4VQ3.js +4 -0
- package/dist/calcite/{ELXZUEDC.js → KPJGFWME.js} +4 -6
- package/dist/calcite/KPP5CUG6.js +4 -0
- package/dist/calcite/{3RLXG3NR.js → KT3W2WN7.js} +4 -6
- package/dist/calcite/{AGLAEQKV.js → KW4WGJWX.js} +4 -6
- package/dist/calcite/{B77QRUX7.js → LAE3F72I.js} +4 -6
- package/dist/calcite/LDJND26G.js +4 -0
- package/dist/calcite/LWAXFXVK.js +4 -0
- package/dist/calcite/LWKIGIQ7.js +4 -0
- package/dist/calcite/M5RSVI77.js +4 -0
- package/dist/calcite/{4JU7BKXB.js → M6GGWFWP.js} +4 -6
- package/dist/calcite/{QBG5T6W3.js → MCYHITP5.js} +4 -6
- package/dist/calcite/{J7RY7DXT.js → MCZED6UJ.js} +3 -5
- package/dist/calcite/MD4KKJXR.js +4 -0
- package/dist/calcite/{G75XVKLZ.js → MFGDUWWU.js} +4 -6
- package/dist/calcite/MGC5QBVT.js +4 -0
- package/dist/calcite/MKMTLSBP.js +4 -0
- package/dist/calcite/{QFH3VN2R.js → MRRSD5GQ.js} +4 -6
- package/dist/calcite/{Y5IWWVKB.js → MUYFLMXN.js} +4 -6
- package/dist/calcite/{XR2WLB7D.js → MVBR6FNF.js} +3 -5
- package/dist/calcite/MYXXA6E5.js +4 -0
- package/dist/calcite/{AFH6KP7M.js → N2AFATQQ.js} +4 -6
- package/dist/calcite/N2Q46D75.js +4 -0
- package/dist/calcite/NBX4LUWL.js +4 -0
- package/dist/calcite/NLK3OCCK.js +4 -0
- package/dist/calcite/{3Z3RDAUW.js → NPTN6OGZ.js} +4 -6
- package/dist/calcite/{Z2ZTWA3F.js → NQPJICFQ.js} +3 -5
- package/dist/calcite/{FMI6FJW4.js → NWTXX6JY.js} +4 -6
- package/dist/calcite/{WIGL5RKK.js → O627WVJG.js} +4 -6
- package/dist/calcite/{CM4U5UKC.js → O6BU5DYY.js} +4 -6
- package/dist/calcite/OAD7JJOE.js +4 -0
- package/dist/calcite/{6FI3WN2Y.js → OEK7OZTX.js} +4 -6
- package/dist/calcite/OENBCW7D.js +4 -0
- package/dist/calcite/OLP7ABVK.js +4 -0
- package/dist/calcite/OOHSVUO2.js +4 -0
- package/dist/calcite/OOWC3DHW.js +4 -0
- package/dist/calcite/OREMH3DL.js +4 -0
- package/dist/calcite/OUKBJ6J3.js +4 -0
- package/dist/calcite/PA6PSCEP.js +4 -0
- package/dist/calcite/{KMLCSDZJ.js → PFRWMYU6.js} +4 -6
- package/dist/calcite/PPMXW2CH.js +4 -0
- package/dist/calcite/{3LYDW23E.js → PU7HI4RM.js} +4 -6
- package/dist/calcite/{6YQ42X6L.js → PV7FS57L.js} +4 -6
- package/dist/calcite/PYT6F7XN.js +4 -0
- package/dist/calcite/QGSMNFLV.js +4 -0
- package/dist/calcite/{N7NWH5SX.js → QLL7IT53.js} +3 -5
- package/dist/calcite/{CTQ5YHOP.js → QV6PXGLB.js} +4 -6
- package/dist/calcite/{ESS6BUTG.js → QZ4S4NPD.js} +4 -6
- package/dist/calcite/{VFBPWVKE.js → R5GIKUFX.js} +4 -6
- package/dist/calcite/{XEW3B3B5.js → RD2YKJMP.js} +4 -6
- package/dist/calcite/{6EFD6XES.js → RI6ANEBM.js} +4 -6
- package/dist/calcite/RIXZG4AD.js +4 -0
- package/dist/calcite/RIYYUHQ7.js +4 -0
- package/dist/calcite/RRNZ4FU5.js +4 -0
- package/dist/calcite/{S6AE7RHT.js → RRPMD5OW.js} +4 -6
- package/dist/calcite/RSI5VQHT.js +4 -0
- package/dist/calcite/RYQPXZK6.js +4 -0
- package/dist/calcite/S3TERCKZ.js +4 -0
- package/dist/calcite/{7NVGCG7Q.js → S6DJKPG5.js} +3 -5
- package/dist/calcite/{3JQJ24PZ.js → S6SBHJIV.js} +4 -6
- package/dist/calcite/SM6GCEH6.js +4 -0
- package/dist/calcite/STCRUA4G.js +4 -0
- package/dist/calcite/{G27BUJJG.js → SVTZCS25.js} +3 -5
- package/dist/calcite/T246IHBX.js +4 -0
- package/dist/calcite/T5I34CKY.js +4 -0
- package/dist/calcite/{2UYJUU43.js → TC73OO6B.js} +4 -6
- package/dist/calcite/{3PJ42556.js → TFRMRELY.js} +4 -6
- package/dist/calcite/TTARWRVZ.js +4 -0
- package/dist/calcite/TTPB5NUF.js +4 -0
- package/dist/calcite/{5LAQP62T.js → TV2JMAEX.js} +4 -6
- package/dist/calcite/{PB4E6L52.js → U3A4ZFDA.js} +4 -6
- package/dist/calcite/{LQ5ITYNE.js → U3J436K5.js} +4 -6
- package/dist/calcite/{KBVTFWRR.js → U4KFLUXN.js} +4 -6
- package/dist/calcite/U5LWIQFM.js +4 -0
- package/dist/calcite/UAPP5RN3.js +4 -0
- package/dist/calcite/{MYJH43DB.js → UJ2DNCBI.js} +4 -6
- package/dist/calcite/UVQWXGAE.js +4 -0
- package/dist/calcite/{UFV4E5V5.js → V7P5NO5D.js} +4 -6
- package/dist/calcite/VGKMOO66.js +4 -0
- package/dist/calcite/VIVZTWDT.js +4 -0
- package/dist/calcite/VLUVMJLJ.js +4 -0
- package/dist/calcite/VPCQX3JS.js +4 -0
- package/dist/calcite/VQZMYHUR.js +4 -0
- package/dist/calcite/{JLIVSPKC.js → VRJOLF5U.js} +4 -6
- package/dist/calcite/VSACPVTO.js +4 -0
- package/dist/calcite/{VP4IW6MN.js → VSVGJIKO.js} +4 -6
- package/dist/calcite/{LR6EXHT2.js → W2IMTPXZ.js} +4 -6
- package/dist/calcite/{K3F2CI4A.js → W35EGCBV.js} +4 -6
- package/dist/calcite/{VM4VUQ54.js → W7BTFAAV.js} +4 -6
- package/dist/calcite/{RWW7CETF.js → WB2APVPE.js} +4 -6
- package/dist/calcite/WODNJF5Z.js +4 -0
- package/dist/calcite/{MRVEUN2O.js → X6EDNQN2.js} +4 -6
- package/dist/calcite/X7JJZRMI.js +4 -0
- package/dist/calcite/{OU4N4K2U.js → XDEHQTPQ.js} +4 -6
- package/dist/calcite/XFRASDZI.js +4 -0
- package/dist/calcite/XK4FISIX.js +4 -0
- package/dist/calcite/{XFKIMAJU.js → XL665FTR.js} +4 -6
- package/dist/calcite/XPMURWBT.js +4 -0
- package/dist/calcite/XUCTBMBM.js +4 -0
- package/dist/calcite/Y3MFFLOP.js +4 -0
- package/dist/calcite/YHIHWSGP.js +4 -0
- package/dist/calcite/YJWS4TZW.js +4 -0
- package/dist/calcite/YUYVD6B5.js +4 -0
- package/dist/calcite/YW6YWFXE.js +4 -0
- package/dist/calcite/YW7G4LA7.js +4 -0
- package/dist/calcite/YXYKAROM.js +4 -0
- package/dist/calcite/{O2KBYT33.js → Z7RQIFXO.js} +4 -6
- package/dist/calcite/ZYBMEVEB.js +4 -0
- package/dist/calcite/assets/icon/crosshair16.json +1 -0
- package/dist/calcite/assets/icon/crosshair24.json +1 -0
- package/dist/calcite/assets/icon/crosshair32.json +1 -0
- package/dist/calcite/assets/icon/dualImageArea16.json +1 -0
- package/dist/calcite/assets/icon/dualImageArea24.json +1 -0
- package/dist/calcite/assets/icon/dualImageArea32.json +1 -0
- package/dist/calcite/assets/icon/dualImageDistance16.json +1 -0
- package/dist/calcite/assets/icon/dualImageDistance24.json +1 -0
- package/dist/calcite/assets/icon/dualImageDistance32.json +1 -0
- package/dist/calcite/assets/icon/dualImageLocation16.json +1 -0
- package/dist/calcite/assets/icon/dualImageLocation24.json +1 -0
- package/dist/calcite/assets/icon/dualImageLocation32.json +1 -0
- package/dist/calcite/assets/icon/hammerCoin16.json +1 -0
- package/dist/calcite/assets/icon/hammerCoin24.json +1 -0
- package/dist/calcite/assets/icon/hammerCoin32.json +1 -0
- package/dist/calcite/assets/icon/hammerLock16.json +1 -0
- package/dist/calcite/assets/icon/hammerLock24.json +1 -0
- package/dist/calcite/assets/icon/hammerLock32.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +4 -6
- package/dist/chunks/ExpandToggle.js +3 -5
- package/dist/chunks/FloatingArrow.js +6 -8
- package/dist/chunks/Heading.js +3 -5
- package/dist/chunks/Validation.js +3 -5
- package/dist/chunks/_commonjsHelpers.js +3 -5
- package/dist/chunks/array.js +3 -5
- package/dist/chunks/component.js +13 -11
- package/dist/chunks/core.js +3 -5
- package/dist/chunks/date.js +3 -5
- package/dist/chunks/dom.js +218 -234
- package/dist/chunks/dynamicClasses.js +3 -5
- package/dist/chunks/filter.js +3 -5
- package/dist/chunks/floating-ui.js +61 -65
- package/dist/chunks/focusTrapComponent.js +25 -30
- package/dist/chunks/form.js +19 -21
- package/dist/chunks/global.js +14 -14
- package/dist/chunks/guid.js +3 -5
- package/dist/chunks/input.js +3 -5
- package/dist/chunks/interact.min.js +3 -5
- package/dist/chunks/interactive.js +3 -5
- package/dist/chunks/key.js +3 -5
- package/dist/chunks/label.js +7 -9
- package/dist/chunks/loadable.js +11 -22
- package/dist/chunks/locale.js +3 -5
- package/dist/chunks/logger.js +3 -5
- package/dist/chunks/math.js +3 -5
- package/dist/chunks/observers.js +3 -5
- package/dist/chunks/openCloseComponent.js +5 -7
- package/dist/chunks/resources.js +3 -5
- package/dist/chunks/resources2.js +3 -5
- package/dist/chunks/resources3.js +8 -14
- package/dist/chunks/resources4.js +3 -5
- package/dist/chunks/resources5.js +3 -5
- package/dist/chunks/resources6.js +3 -5
- package/dist/chunks/resources7.js +3 -5
- package/dist/chunks/responsive.js +9 -12
- package/dist/chunks/runtime.js +39 -43
- package/dist/chunks/sortableComponent.js +49 -39
- package/dist/chunks/text.js +3 -5
- package/dist/chunks/time.js +12 -14
- package/dist/chunks/useFocusTrap.js +47 -0
- package/dist/chunks/useT9n.js +3 -5
- package/dist/chunks/utils.js +19 -17
- package/dist/chunks/utils2.js +3 -5
- package/dist/chunks/utils3.js +15 -16
- package/dist/chunks/utils4.js +264 -271
- package/dist/components/calcite-accordion/customElement.js +3 -5
- package/dist/components/calcite-accordion-item/customElement.js +10 -14
- package/dist/components/calcite-action/customElement.js +38 -42
- package/dist/components/calcite-action-bar/customElement.js +24 -27
- package/dist/components/calcite-action-group/customElement.js +20 -24
- package/dist/components/calcite-action-menu/customElement.js +14 -18
- package/dist/components/calcite-action-pad/customElement.js +21 -25
- package/dist/components/calcite-alert/customElement.js +50 -63
- package/dist/components/calcite-autocomplete/customElement.d.ts +10 -4
- package/dist/components/calcite-autocomplete/customElement.js +50 -52
- package/dist/components/calcite-autocomplete-item/customElement.js +17 -21
- package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -5
- package/dist/components/calcite-avatar/customElement.js +8 -10
- package/dist/components/calcite-block/customElement.d.ts +18 -1
- package/dist/components/calcite-block/customElement.js +54 -40
- package/dist/components/calcite-block/index.d.ts +1 -1
- package/dist/components/calcite-block/index.js +1 -1
- package/dist/components/calcite-block/utils.d.ts +2 -0
- package/dist/components/calcite-block-group/customElement.d.ts +50 -0
- package/dist/components/calcite-block-group/customElement.js +177 -0
- package/dist/components/calcite-block-group/index.d.ts +2 -0
- package/dist/components/calcite-block-group/index.js +2 -0
- package/dist/components/calcite-block-group/interfaces.d.ts +14 -0
- package/dist/components/calcite-block-group/resources.d.ts +8 -0
- package/dist/components/calcite-block-group/utils.d.ts +1 -0
- package/dist/components/calcite-block-section/customElement.js +19 -23
- package/dist/components/calcite-button/customElement.js +28 -30
- package/dist/components/calcite-card/customElement.js +17 -23
- package/dist/components/calcite-card-group/customElement.js +15 -18
- package/dist/components/calcite-carousel/customElement.js +29 -32
- package/dist/components/calcite-carousel-item/customElement.js +3 -5
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -1
- package/dist/components/calcite-checkbox/customElement.js +18 -22
- package/dist/components/calcite-chip/customElement.js +42 -44
- package/dist/components/calcite-chip-group/customElement.js +10 -14
- package/dist/components/calcite-color-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker/customElement.js +200 -178
- package/dist/components/calcite-color-picker/resources.d.ts +7 -16
- package/dist/components/calcite-color-picker/utils.d.ts +4 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.js +27 -31
- package/dist/components/calcite-color-picker-swatch/customElement.js +3 -5
- package/dist/components/calcite-combobox/customElement.d.ts +5 -3
- package/dist/components/calcite-combobox/customElement.js +166 -160
- package/dist/components/calcite-combobox/resources.d.ts +1 -0
- package/dist/components/calcite-combobox-item/customElement.d.ts +2 -1
- package/dist/components/calcite-combobox-item/customElement.js +47 -38
- package/dist/components/calcite-combobox-item-group/customElement.js +13 -15
- package/dist/components/calcite-date-picker/customElement.d.ts +8 -2
- package/dist/components/calcite-date-picker/customElement.js +28 -31
- package/dist/components/calcite-date-picker-day/customElement.js +16 -19
- package/dist/components/calcite-date-picker-month/customElement.js +39 -41
- package/dist/components/calcite-date-picker-month-header/customElement.js +40 -44
- package/dist/components/calcite-dialog/customElement.d.ts +20 -4
- package/dist/components/calcite-dialog/customElement.js +78 -72
- package/dist/components/calcite-dialog/resources.d.ts +1 -0
- package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown/customElement.js +63 -70
- package/dist/components/calcite-dropdown/resources.d.ts +1 -0
- package/dist/components/calcite-dropdown-group/customElement.js +4 -6
- package/dist/components/calcite-dropdown-item/customElement.js +20 -23
- package/dist/components/calcite-fab/customElement.js +19 -23
- package/dist/components/calcite-filter/customElement.js +20 -25
- package/dist/components/calcite-flow/customElement.js +19 -22
- package/dist/components/calcite-flow-item/customElement.js +26 -30
- package/dist/components/calcite-graph/customElement.js +52 -50
- package/dist/components/calcite-graph/interfaces.d.ts +1 -5
- package/dist/components/calcite-graph/resources.d.ts +5 -0
- package/dist/components/calcite-handle/customElement.d.ts +3 -0
- package/dist/components/calcite-handle/customElement.js +20 -18
- package/dist/components/calcite-icon/customElement.js +23 -25
- package/dist/components/calcite-inline-editable/customElement.js +25 -29
- package/dist/components/calcite-input/customElement.d.ts +14 -6
- package/dist/components/calcite-input/customElement.js +26 -29
- package/dist/components/calcite-input-date-picker/customElement.d.ts +12 -3
- package/dist/components/calcite-input-date-picker/customElement.js +84 -88
- package/dist/components/calcite-input-message/customElement.js +3 -5
- package/dist/components/calcite-input-number/customElement.d.ts +12 -5
- package/dist/components/calcite-input-number/customElement.js +30 -36
- package/dist/components/calcite-input-text/customElement.d.ts +10 -4
- package/dist/components/calcite-input-text/customElement.js +61 -65
- package/dist/components/calcite-input-time-picker/customElement.d.ts +8 -3
- package/dist/components/calcite-input-time-picker/customElement.js +45 -47
- package/dist/components/calcite-input-time-zone/customElement.js +53 -55
- package/dist/components/calcite-label/customElement.js +3 -5
- package/dist/components/calcite-link/customElement.js +10 -14
- package/dist/components/calcite-list/customElement.js +67 -70
- package/dist/components/calcite-list-item/customElement.js +54 -73
- package/dist/components/calcite-list-item/utils.d.ts +1 -0
- package/dist/components/calcite-list-item-group/customElement.js +3 -5
- package/dist/components/calcite-loader/customElement.d.ts +2 -2
- package/dist/components/calcite-loader/customElement.js +3 -7
- package/dist/components/calcite-menu/customElement.js +12 -16
- package/dist/components/calcite-menu-item/customElement.js +12 -16
- package/dist/components/calcite-meter/customElement.js +26 -28
- package/dist/components/calcite-modal/customElement.d.ts +16 -3
- package/dist/components/calcite-modal/customElement.js +61 -61
- package/dist/components/calcite-navigation/customElement.js +17 -21
- package/dist/components/calcite-navigation-logo/customElement.js +12 -16
- package/dist/components/calcite-navigation-user/customElement.js +10 -14
- package/dist/components/calcite-notice/customElement.js +25 -28
- package/dist/components/calcite-option/customElement.js +3 -5
- package/dist/components/calcite-option-group/customElement.js +3 -5
- package/dist/components/calcite-pagination/customElement.js +15 -17
- package/dist/components/calcite-panel/customElement.js +45 -48
- package/dist/components/calcite-popover/customElement.d.ts +10 -7
- package/dist/components/calcite-popover/customElement.js +70 -79
- package/dist/components/calcite-progress/customElement.js +3 -5
- package/dist/components/calcite-radio-button/customElement.d.ts +4 -1
- package/dist/components/calcite-radio-button/customElement.js +17 -20
- package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -1
- package/dist/components/calcite-radio-button-group/customElement.js +14 -17
- package/dist/components/calcite-rating/customElement.js +21 -23
- package/dist/components/calcite-scrim/customElement.js +3 -5
- package/dist/components/calcite-segmented-control/customElement.d.ts +4 -1
- package/dist/components/calcite-segmented-control/customElement.js +14 -17
- package/dist/components/calcite-segmented-control-item/customElement.js +28 -30
- package/dist/components/calcite-select/customElement.d.ts +4 -1
- package/dist/components/calcite-select/customElement.js +19 -22
- package/dist/components/calcite-sheet/customElement.d.ts +17 -3
- package/dist/components/calcite-sheet/customElement.js +59 -62
- package/dist/components/calcite-shell/customElement.js +3 -6
- package/dist/components/calcite-shell-center-row/customElement.js +3 -5
- package/dist/components/calcite-shell-panel/customElement.js +16 -20
- package/dist/components/calcite-slider/customElement.d.ts +4 -1
- package/dist/components/calcite-slider/customElement.js +18 -21
- package/dist/components/calcite-sort-handle/customElement.js +45 -35
- package/dist/components/calcite-sort-handle/index.d.ts +1 -1
- package/dist/components/calcite-sort-handle/index.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.d.ts +4 -1
- package/dist/components/calcite-sortable-list/customElement.js +21 -16
- package/dist/components/calcite-split-button/customElement.js +13 -20
- package/dist/components/calcite-stack/customElement.js +4 -6
- package/dist/components/calcite-stepper/customElement.js +36 -39
- package/dist/components/calcite-stepper-item/customElement.js +23 -22
- package/dist/components/calcite-switch/customElement.js +10 -14
- package/dist/components/calcite-tab/customElement.js +3 -5
- package/dist/components/calcite-tab-nav/customElement.js +3 -5
- package/dist/components/calcite-tab-title/customElement.js +3 -5
- package/dist/components/calcite-table/customElement.js +44 -47
- package/dist/components/calcite-table-cell/customElement.js +22 -25
- package/dist/components/calcite-table-header/customElement.js +18 -21
- package/dist/components/calcite-table-row/customElement.js +6 -8
- package/dist/components/calcite-tabs/customElement.js +3 -5
- package/dist/components/calcite-text-area/customElement.d.ts +10 -3
- package/dist/components/calcite-text-area/customElement.js +30 -37
- package/dist/components/calcite-tile/customElement.js +16 -20
- package/dist/components/calcite-tile-group/customElement.js +3 -5
- package/dist/components/calcite-tile-select/customElement.js +17 -22
- package/dist/components/calcite-tile-select-group/customElement.js +3 -5
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -0
- package/dist/components/calcite-time-picker/customElement.js +19 -23
- package/dist/components/calcite-tip/customElement.js +3 -5
- package/dist/components/calcite-tip-group/customElement.js +3 -5
- package/dist/components/calcite-tip-manager/customElement.js +3 -5
- package/dist/components/calcite-tooltip/customElement.js +41 -40
- package/dist/components/calcite-tree/customElement.js +3 -5
- package/dist/components/calcite-tree-item/customElement.js +16 -14
- package/dist/components/interfaces.d.ts +4 -0
- package/dist/controllers/useFocusTrap.d.ts +71 -0
- package/dist/custom-theme/block.d.ts +4 -5
- package/dist/custom-theme/calcite-shell-panel.d.ts +13 -0
- package/dist/custom-theme/date-picker.d.ts +28 -0
- package/dist/custom-theme/flow.d.ts +21 -0
- package/dist/custom-theme/graph.d.ts +4 -0
- package/dist/custom-theme/inline-editable.d.ts +10 -0
- package/dist/custom-theme/segmented-control.d.ts +7 -0
- package/dist/docs/api.json +1152 -170
- package/dist/docs/docs.json +1102 -135
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +322 -14
- package/dist/docs/vscode.html-custom-data.json +110 -63
- package/dist/docs/web-types.json +671 -131
- package/dist/extras/vscode-data.json +110 -63
- package/dist/index.d.ts +25 -0
- package/dist/index.js +3 -5
- package/dist/loader.js +16 -17
- package/dist/types/lumina.d.ts +18 -6
- package/dist/types/preact.d.ts +19 -6
- package/dist/types/react.d.ts +180 -165
- package/dist/types/stencil.d.ts +18 -6
- package/dist/utils/component.d.ts +4 -0
- package/dist/utils/focusTrapComponent.d.ts +9 -0
- package/dist/utils/loadable.d.ts +26 -43
- package/dist/utils/openCloseComponent.d.ts +17 -18
- package/hydrate/index.d.ts +1 -0
- package/hydrate/index.js +1 -0
- package/hydrate/index.mjs +1 -0
- package/package.json +11 -12
- package/readme.md +5 -69
- package/dist/calcite/2AZY343I.js +0 -6
- package/dist/calcite/2CPZ6K5L.js +0 -6
- package/dist/calcite/2M35C4DF.js +0 -6
- package/dist/calcite/2VVNNU7Q.js +0 -6
- package/dist/calcite/2XACBT2N.js +0 -6
- package/dist/calcite/32P7BAVF.js +0 -6
- package/dist/calcite/3HC2LTHR.js +0 -6
- package/dist/calcite/455MOJA6.js +0 -6
- package/dist/calcite/4DVWRXRA.js +0 -6
- package/dist/calcite/4TF5UO7R.js +0 -6
- package/dist/calcite/572RARTY.js +0 -6
- package/dist/calcite/5I36CFLM.js +0 -6
- package/dist/calcite/5OJMVZTI.js +0 -6
- package/dist/calcite/5YZTHYBK.js +0 -6
- package/dist/calcite/6L5EBECQ.js +0 -6
- package/dist/calcite/73JK3C3F.js +0 -6
- package/dist/calcite/7557S5FH.js +0 -6
- package/dist/calcite/7FJOFJBG.js +0 -6
- package/dist/calcite/7KUN772K.js +0 -6
- package/dist/calcite/7LABYE24.js +0 -6
- package/dist/calcite/7NPWRWEK.js +0 -6
- package/dist/calcite/7PQTHMQD.js +0 -6
- package/dist/calcite/AEIISXUM.js +0 -6
- package/dist/calcite/AT2QAEKC.js +0 -6
- package/dist/calcite/BHLCJMB4.js +0 -6
- package/dist/calcite/BOMPAJVU.js +0 -6
- package/dist/calcite/BYURAML5.js +0 -6
- package/dist/calcite/CRBGPV2Y.js +0 -6
- package/dist/calcite/CY2QE4I2.js +0 -6
- package/dist/calcite/D26RI2OE.js +0 -6
- package/dist/calcite/DCAWR655.js +0 -6
- package/dist/calcite/DSYDJ57C.js +0 -6
- package/dist/calcite/E2PVAX5K.js +0 -6
- package/dist/calcite/EH7S4XKL.js +0 -6
- package/dist/calcite/FGCHRTFU.js +0 -6
- package/dist/calcite/FIJQNNLL.js +0 -6
- package/dist/calcite/FIVGOTUL.js +0 -6
- package/dist/calcite/FPZSDG22.js +0 -6
- package/dist/calcite/FQJWCM6B.js +0 -6
- package/dist/calcite/FRK56FXW.js +0 -6
- package/dist/calcite/FSORFWYW.js +0 -6
- package/dist/calcite/FWSMKN2T.js +0 -6
- package/dist/calcite/GGQW5H6B.js +0 -6
- package/dist/calcite/GHY53YEU.js +0 -6
- package/dist/calcite/GWGCBSIN.js +0 -6
- package/dist/calcite/HH5FL6GD.js +0 -6
- package/dist/calcite/HNNE5R46.js +0 -6
- package/dist/calcite/HRVN7KZA.js +0 -6
- package/dist/calcite/I3TEC7IS.js +0 -6
- package/dist/calcite/I5SQS3SN.js +0 -6
- package/dist/calcite/I74ZLJFG.js +0 -6
- package/dist/calcite/I7SBXLRM.js +0 -6
- package/dist/calcite/IEJMBPJU.js +0 -6
- package/dist/calcite/IK3QCAZN.js +0 -6
- package/dist/calcite/IKOOMPAX.js +0 -6
- package/dist/calcite/IPDH2LDG.js +0 -6
- package/dist/calcite/IUBUCDD6.js +0 -6
- package/dist/calcite/JCMCWR7J.js +0 -6
- package/dist/calcite/JHGP2C56.js +0 -6
- package/dist/calcite/JMNIVK3R.js +0 -6
- package/dist/calcite/KDCUMRGX.js +0 -6
- package/dist/calcite/KEFBUO23.js +0 -6
- package/dist/calcite/KHNXDA3R.js +0 -6
- package/dist/calcite/KLEV3IGL.js +0 -6
- package/dist/calcite/LIT6HBCV.js +0 -6
- package/dist/calcite/LKXA7MRG.js +0 -6
- package/dist/calcite/LMTPIXJD.js +0 -6
- package/dist/calcite/M3MFRN64.js +0 -6
- package/dist/calcite/M5MPF4VA.js +0 -6
- package/dist/calcite/MWGGE65N.js +0 -6
- package/dist/calcite/MXNAKF47.js +0 -6
- package/dist/calcite/NNKZWGGT.js +0 -6
- package/dist/calcite/NVQN43XK.js +0 -6
- package/dist/calcite/OHLVZUJX.js +0 -6
- package/dist/calcite/OHR7IMVY.js +0 -6
- package/dist/calcite/OJ5D52RG.js +0 -6
- package/dist/calcite/OJ5H4H4N.js +0 -6
- package/dist/calcite/OTT2SAVW.js +0 -6
- package/dist/calcite/OTYNRKUI.js +0 -6
- package/dist/calcite/PO4EKM6H.js +0 -6
- package/dist/calcite/PPU55N5C.js +0 -6
- package/dist/calcite/PRGXXMHF.js +0 -6
- package/dist/calcite/PZ34QZ44.js +0 -6
- package/dist/calcite/PZ65523C.js +0 -6
- package/dist/calcite/PZGFP3J5.js +0 -6
- package/dist/calcite/Q2OAKI4L.js +0 -7
- package/dist/calcite/QIOSM7C2.js +0 -6
- package/dist/calcite/QS2B427U.js +0 -6
- package/dist/calcite/QVG465DZ.js +0 -6
- package/dist/calcite/RJU34JMH.js +0 -6
- package/dist/calcite/RL6ENWBS.js +0 -6
- package/dist/calcite/RWRTOY74.js +0 -6
- package/dist/calcite/S66ATD4V.js +0 -6
- package/dist/calcite/SHIZHTEP.js +0 -6
- package/dist/calcite/SY776R43.js +0 -6
- package/dist/calcite/T2M3KJPZ.js +0 -6
- package/dist/calcite/T7AHSVKE.js +0 -6
- package/dist/calcite/TBZM4XEW.js +0 -6
- package/dist/calcite/THTH4FYX.js +0 -6
- package/dist/calcite/TI4ZYY5Y.js +0 -6
- package/dist/calcite/TKE6VYZT.js +0 -6
- package/dist/calcite/TR3TLSTJ.js +0 -6
- package/dist/calcite/TSUCKRY4.js +0 -6
- package/dist/calcite/TWZNPBFB.js +0 -6
- package/dist/calcite/U5AZRHO7.js +0 -6
- package/dist/calcite/UE43U5QZ.js +0 -6
- package/dist/calcite/UHCCT74Q.js +0 -6
- package/dist/calcite/USP47AIY.js +0 -6
- package/dist/calcite/V3ZZW4SK.js +0 -6
- package/dist/calcite/WBOLRFTK.js +0 -6
- package/dist/calcite/WH3NETOG.js +0 -6
- package/dist/calcite/WHD4MFC3.js +0 -6
- package/dist/calcite/WJ6LOMWZ.js +0 -6
- package/dist/calcite/WKI76QXV.js +0 -6
- package/dist/calcite/WRQMW4QF.js +0 -24
- package/dist/calcite/X4RLJXN2.js +0 -6
- package/dist/calcite/XDGCDDNX.js +0 -8
- package/dist/calcite/XL6QBGWC.js +0 -6
- package/dist/calcite/XVBU5M6P.js +0 -6
- package/dist/calcite/Z4XCJ5VE.js +0 -6
- package/dist/calcite/ZQERQE2F.js +0 -6
- package/dist/calcite/ZYUUIPOD.js +0 -6
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as I } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as h } from "lit-html/directives/ref.js";
|
|
3
3
|
import { repeat as y } from "lit-html/directives/repeat.js";
|
|
4
4
|
import { html as d, nothing as s } from "lit";
|
|
5
|
-
import { LitElement as $, createEvent as c, stringOrBoolean as
|
|
6
|
-
import { useWatchAttributes as
|
|
7
|
-
import { debounce as
|
|
8
|
-
import { b as
|
|
9
|
-
import { u as w, I as
|
|
10
|
-
import
|
|
11
|
-
import { o as
|
|
12
|
-
import { c as
|
|
13
|
-
import { c as V, a as
|
|
14
|
-
import { a as
|
|
15
|
-
import { g as
|
|
16
|
-
import { u as
|
|
17
|
-
import { V as
|
|
18
|
-
import { c as
|
|
19
|
-
import { css as
|
|
20
|
-
/*!
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
const W = q`: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{position:relative;display:block}.input-container{position:relative;display:flex;flex:1 1 auto;flex-wrap:nowrap}.input{inline-size:100%;--calcite-input-prefix-size: var(--calcite-autocomplete-input-prefix-size);--calcite-input-suffix-size: var(--calcite-autocomplete-input-suffix-size);--calcite-input-background-color: var(--calcite-autocomplete-input-background-color);--calcite-input-border-color: var(--calcite-autocomplete-input-border-color);--calcite-input-corner-radius: var(--calcite-autocomplete-input-corner-radius);--calcite-input-shadow: var(--calcite-autocomplete-input-shadow);--calcite-input-icon-color: var(--calcite-autocomplete-input-icon-color);--calcite-input-text-color: var(--calcite-autocomplete-input-text-color);--calcite-input-placeholder-text-color: var(--calcite-autocomplete-input-placeholder-text-color);--calcite-input-actions-background-color: var(--calcite-autocomplete-input-actions-background-color);--calcite-input-actions-background-color-hover: var(--calcite-autocomplete-input-actions-background-color-hover);--calcite-input-actions-background-color-press: var(--calcite-autocomplete-input-actions-background-color-press);--calcite-input-actions-icon-color: var(--calcite-autocomplete-input-actions-icon-color);--calcite-input-actions-icon-color-hover: var(--calcite-autocomplete-input-actions-icon-color-hover);--calcite-input-actions-icon-color-press: var(--calcite-autocomplete-input-actions-icon-color-press);--calcite-input-loading-background-color: var(--calcite-autocomplete-input-loading-background-color);--calcite-input-loading-fill-color: var(--calcite-autocomplete-input-loading-fill-color);--calcite-input-prefix-background-color: var(--calcite-autocomplete-input-prefix-background-color);--calcite-input-prefix-text-color: var(--calcite-autocomplete-input-prefix-text-color);--calcite-input-suffix-background-color: var(--calcite-autocomplete-input-suffix-background-color);--calcite-input-suffix-text-color: var(--calcite-autocomplete-input-suffix-text-color)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.content-container{box-sizing:border-box;inline-size:100%}.floating-ui-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown);inline-size:max-content;display:none;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.floating-ui-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}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.content-container .calcite-floating-ui-anim{max-block-size:45vh;inline-size:100%;overflow-y:auto;color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-1));background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-autocomplete-corner-radius, var(--calcite-corner-radius-round))}.content--hidden{display:none}@media (forced-colors: active){.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`, I = {
|
|
5
|
+
import { LitElement as $, createEvent as c, stringOrBoolean as m, safeClassMap as r } from "@arcgis/lumina";
|
|
6
|
+
import { useWatchAttributes as C } from "@arcgis/components-controllers";
|
|
7
|
+
import { debounce as k, escapeRegExp as A } from "lodash-es";
|
|
8
|
+
import { b as f, r as T, c as p, a as E, F as g } from "../../chunks/floating-ui.js";
|
|
9
|
+
import { u as w, I as O } from "../../chunks/interactive.js";
|
|
10
|
+
import "lit-html/is-server.js";
|
|
11
|
+
import { o as S } from "../../chunks/openCloseComponent.js";
|
|
12
|
+
import { c as F, d as D } from "../../chunks/label.js";
|
|
13
|
+
import { c as V, a as z, d as H, s as P, H as B } from "../../chunks/form.js";
|
|
14
|
+
import { a as b } from "../../chunks/dom.js";
|
|
15
|
+
import { g as M } from "../../chunks/guid.js";
|
|
16
|
+
import { u as L } from "../../chunks/useT9n.js";
|
|
17
|
+
import { V as U } from "../../chunks/Validation.js";
|
|
18
|
+
import { c as v } from "../../chunks/observers.js";
|
|
19
|
+
import { css as R } from "@lit/reactive-element/css-tag.js";
|
|
20
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
21
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
22
|
+
v3.0.1 */
|
|
23
|
+
const G = R`: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{position:relative;display:block}.input-container{position:relative;display:flex;flex:1 1 auto;flex-wrap:nowrap}.input{width:100%;--calcite-input-prefix-size: var(--calcite-autocomplete-input-prefix-size);--calcite-input-suffix-size: var(--calcite-autocomplete-input-suffix-size);--calcite-input-background-color: var(--calcite-autocomplete-input-background-color);--calcite-input-border-color: var(--calcite-autocomplete-input-border-color);--calcite-input-corner-radius: var(--calcite-autocomplete-input-corner-radius);--calcite-input-shadow: var(--calcite-autocomplete-input-shadow);--calcite-input-icon-color: var(--calcite-autocomplete-input-icon-color);--calcite-input-text-color: var(--calcite-autocomplete-input-text-color);--calcite-input-placeholder-text-color: var(--calcite-autocomplete-input-placeholder-text-color);--calcite-input-actions-background-color: var(--calcite-autocomplete-input-actions-background-color);--calcite-input-actions-background-color-hover: var(--calcite-autocomplete-input-actions-background-color-hover);--calcite-input-actions-background-color-press: var(--calcite-autocomplete-input-actions-background-color-press);--calcite-input-actions-icon-color: var(--calcite-autocomplete-input-actions-icon-color);--calcite-input-actions-icon-color-hover: var(--calcite-autocomplete-input-actions-icon-color-hover);--calcite-input-actions-icon-color-press: var(--calcite-autocomplete-input-actions-icon-color-press);--calcite-input-loading-background-color: var(--calcite-autocomplete-input-loading-background-color);--calcite-input-loading-fill-color: var(--calcite-autocomplete-input-loading-fill-color);--calcite-input-prefix-background-color: var(--calcite-autocomplete-input-prefix-background-color);--calcite-input-prefix-text-color: var(--calcite-autocomplete-input-prefix-text-color);--calcite-input-suffix-background-color: var(--calcite-autocomplete-input-suffix-background-color);--calcite-input-suffix-text-color: var(--calcite-autocomplete-input-suffix-text-color)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.content-container{box-sizing:border-box;width:100%}.floating-ui-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown);inline-size:max-content;display:none;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.floating-ui-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}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.content-container .calcite-floating-ui-anim{max-height:45vh;width:100%;overflow-y:auto;color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-1));background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-autocomplete-corner-radius, var(--calcite-corner-radius-round))}.content--hidden{display:none}@media (forced-colors: active){.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`, x = {
|
|
26
24
|
contentBottom: "content-bottom",
|
|
27
25
|
contentTop: "content-top"
|
|
28
26
|
}, l = {
|
|
@@ -35,14 +33,14 @@ const W = q`:host([disabled]){cursor:default;-webkit-user-select:none;user-selec
|
|
|
35
33
|
floatingUIContainer: "floating-ui-container",
|
|
36
34
|
floatingUIContainerActive: "floating-ui-container--active",
|
|
37
35
|
screenReadersOnly: "screen-readers-only"
|
|
38
|
-
},
|
|
36
|
+
}, q = {
|
|
39
37
|
validationMessage: "autocompleteValidationMessage"
|
|
40
|
-
},
|
|
41
|
-
class
|
|
38
|
+
}, W = "calcite-autocomplete-item-group", K = "calcite-autocomplete-item";
|
|
39
|
+
class j extends $ {
|
|
42
40
|
// #endregion
|
|
43
41
|
// #region Lifecycle
|
|
44
42
|
constructor() {
|
|
45
|
-
super(), this.guid =
|
|
43
|
+
super(), this.guid = M(), this.attributeWatch = C(["autofocus", "enterkeyhint", "inputmode"], this.handleGlobalAttributesChanged), this.inputId = `autocomplete-input-${this.guid}`, this.listId = `autocomplete-list-${this.guid}`, this.messages = L(), this.transitionProp = "opacity", this.activeDescendant = "", this.activeIndex = -1, this.hasContentBottom = !1, this.hasContentTop = !1, this.items = [], this.groups = [], this.alignment = "start", this.disabled = !1, this.iconFlipRtl = !1, this.loading = !1, this.open = !1, this.overlayPositioning = "absolute", this.placement = f, this.readOnly = !1, this.required = !1, this.scale = "m", this.status = "idle", this.validity = {
|
|
46
44
|
valid: !1,
|
|
47
45
|
badInput: !1,
|
|
48
46
|
customError: !1,
|
|
@@ -54,15 +52,15 @@ class N extends $ {
|
|
|
54
52
|
tooShort: !1,
|
|
55
53
|
typeMismatch: !1,
|
|
56
54
|
valueMissing: !1
|
|
57
|
-
}, this.value = "", this.calciteAutocompleteBeforeClose = c({ cancelable: !1 }), this.calciteAutocompleteBeforeOpen = c({ cancelable: !1 }), this.calciteAutocompleteChange = c({ cancelable: !1 }), this.calciteAutocompleteClose = c({ cancelable: !1 }), this.calciteAutocompleteOpen = c({ cancelable: !1 }), this.calciteAutocompleteTextChange = c({ cancelable: !1 }), this.calciteAutocompleteTextInput = c({ cancelable: !1 }), this.mutationObserver =
|
|
55
|
+
}, this.value = "", this.calciteAutocompleteBeforeClose = c({ cancelable: !1 }), this.calciteAutocompleteBeforeOpen = c({ cancelable: !1 }), this.calciteAutocompleteChange = c({ cancelable: !1 }), this.calciteAutocompleteClose = c({ cancelable: !1 }), this.calciteAutocompleteOpen = c({ cancelable: !1 }), this.calciteAutocompleteTextChange = c({ cancelable: !1 }), this.calciteAutocompleteTextInput = c({ cancelable: !1 }), this.mutationObserver = v("mutation", () => this.getAllItemsDebounced()), this.resizeObserver = v("resize", () => {
|
|
58
56
|
this.setFloatingElSize();
|
|
59
|
-
}), this.getAllItemsDebounced =
|
|
57
|
+
}), this.getAllItemsDebounced = k(this.getAllItems, 0), this.listenOn(document, "click", this.documentClickHandler), this.listen("calciteInternalAutocompleteItemSelect", this.handleInternalAutocompleteItemSelect);
|
|
60
58
|
}
|
|
61
59
|
static {
|
|
62
|
-
this.properties = { activeDescendant: 16, activeIndex: 16, hasContentBottom: 16, hasContentTop: 16, items: 16, groups: 16, isOpen: 16, enabledItems: 16, alignment: 3, autocomplete: 0, disabled: 7, flipPlacements: 0, form: 3, icon: [3, { converter:
|
|
60
|
+
this.properties = { activeDescendant: 16, activeIndex: 16, hasContentBottom: 16, hasContentTop: 16, items: 16, groups: 16, isOpen: 16, enabledItems: 16, alignment: 3, autocomplete: 0, disabled: 7, flipPlacements: 0, form: 3, icon: [3, { converter: m }], iconFlipRtl: 7, inputValue: 1, label: 1, loading: 7, maxLength: 11, messageOverrides: 0, minLength: 11, name: 3, open: 7, overlayPositioning: 3, pattern: 1, placeholder: 1, placement: 3, prefixText: 1, readOnly: 7, required: 7, scale: 3, status: 3, suffixText: 1, validationIcon: [3, { converter: m }], validationMessage: 1, validity: 0, value: 1 };
|
|
63
61
|
}
|
|
64
62
|
static {
|
|
65
|
-
this.styles =
|
|
63
|
+
this.styles = G;
|
|
66
64
|
}
|
|
67
65
|
get isOpen() {
|
|
68
66
|
return this.open && (this.hasContentTop || this.hasContentBottom || this.items.length > 0);
|
|
@@ -80,7 +78,7 @@ class N extends $ {
|
|
|
80
78
|
*/
|
|
81
79
|
async reposition(t = !1) {
|
|
82
80
|
const { floatingEl: e, referenceEl: o, placement: i, overlayPositioning: n, flipPlacements: a } = this;
|
|
83
|
-
return
|
|
81
|
+
return T(this, {
|
|
84
82
|
floatingEl: e,
|
|
85
83
|
referenceEl: o,
|
|
86
84
|
overlayPositioning: n,
|
|
@@ -121,24 +119,24 @@ class N extends $ {
|
|
|
121
119
|
return this.referenceEl.setFocus();
|
|
122
120
|
}
|
|
123
121
|
connectedCallback() {
|
|
124
|
-
super.connectedCallback(), this.mutationObserver?.observe(this.el, { childList: !0, subtree: !0 }),
|
|
122
|
+
super.connectedCallback(), this.mutationObserver?.observe(this.el, { childList: !0, subtree: !0 }), F(this), V(this), this.defaultInputValue = this.inputValue || "", this.getAllItemsDebounced(), p(this);
|
|
125
123
|
}
|
|
126
124
|
async load() {
|
|
127
|
-
|
|
125
|
+
this.getAllItemsDebounced();
|
|
128
126
|
}
|
|
129
127
|
willUpdate(t) {
|
|
130
|
-
t.has("disabled") && (this.hasUpdated || this.disabled !== !1) && this.handleDisabledChange(this.disabled), t.has("flipPlacements") && this.reposition(!0), t.has("open") && (this.hasUpdated || this.open !== !1) && this.openHandler(), t.has("overlayPositioning") && (this.hasUpdated || this.overlayPositioning !== "absolute") && this.reposition(!0), t.has("placement") && (this.hasUpdated || this.placement !==
|
|
128
|
+
t.has("disabled") && (this.hasUpdated || this.disabled !== !1) && this.handleDisabledChange(this.disabled), t.has("flipPlacements") && this.reposition(!0), t.has("open") && (this.hasUpdated || this.open !== !1) && this.openHandler(), t.has("overlayPositioning") && (this.hasUpdated || this.overlayPositioning !== "absolute") && this.reposition(!0), t.has("placement") && (this.hasUpdated || this.placement !== f) && this.reposition(!0);
|
|
131
129
|
let e = !1;
|
|
132
|
-
t.has("inputValue") && (this.hasUpdated || this.inputValue) && (this.inputValueMatchPattern = this.inputValue && new RegExp(`(${
|
|
130
|
+
t.has("inputValue") && (this.hasUpdated || this.inputValue) && (this.inputValueMatchPattern = this.inputValue && new RegExp(`(${A(this.inputValue)})`, "i"), this.updateItems(), this.updateGroups(), e = !0), !e && t.has("scale") && (this.hasUpdated || this.scale !== "m") && (this.updateItems(), this.updateGroups(), e = !0), !e && t.has("activeIndex") && (this.hasUpdated || this.activeIndex !== -1) && this.updateItems();
|
|
133
131
|
}
|
|
134
132
|
updated() {
|
|
135
133
|
w(this);
|
|
136
134
|
}
|
|
137
135
|
loaded() {
|
|
138
|
-
|
|
136
|
+
z(this, this.value || ""), this.defaultInputValue = this.inputValue || "", p(this);
|
|
139
137
|
}
|
|
140
138
|
disconnectedCallback() {
|
|
141
|
-
super.disconnectedCallback(), this.mutationObserver?.disconnect(), this.resizeObserver?.disconnect(),
|
|
139
|
+
super.disconnectedCallback(), this.mutationObserver?.disconnect(), this.resizeObserver?.disconnect(), D(this), H(this), E(this);
|
|
142
140
|
}
|
|
143
141
|
// #endregion
|
|
144
142
|
// #region Private Methods
|
|
@@ -153,7 +151,7 @@ class N extends $ {
|
|
|
153
151
|
t || (this.open = !1);
|
|
154
152
|
}
|
|
155
153
|
openHandler() {
|
|
156
|
-
if (
|
|
154
|
+
if (S(this), this.open || (this.activeIndex = -1), this.disabled) {
|
|
157
155
|
this.open = !1;
|
|
158
156
|
return;
|
|
159
157
|
}
|
|
@@ -206,23 +204,23 @@ class N extends $ {
|
|
|
206
204
|
this.open = !0;
|
|
207
205
|
}
|
|
208
206
|
handleContentTopSlotChange(t) {
|
|
209
|
-
this.hasContentTop =
|
|
207
|
+
this.hasContentTop = b(t);
|
|
210
208
|
}
|
|
211
209
|
handleContentBottomSlotChange(t) {
|
|
212
|
-
this.hasContentBottom =
|
|
210
|
+
this.hasContentBottom = b(t);
|
|
213
211
|
}
|
|
214
212
|
getAllItems() {
|
|
215
213
|
const { el: t } = this;
|
|
216
|
-
this.groups = Array.from(t.querySelectorAll(
|
|
214
|
+
this.groups = Array.from(t.querySelectorAll(W)), this.items = Array.from(t.querySelectorAll(K)), this.updateItems(), this.updateGroups();
|
|
217
215
|
}
|
|
218
216
|
setReferenceEl(t) {
|
|
219
|
-
this.referenceEl = t, t && (this.resizeObserver?.observe(t),
|
|
217
|
+
this.referenceEl = t, t && (this.resizeObserver?.observe(t), p(this));
|
|
220
218
|
}
|
|
221
219
|
keyDownHandler(t) {
|
|
222
220
|
const { defaultPrevented: e, key: o } = t;
|
|
223
221
|
if (e)
|
|
224
222
|
return;
|
|
225
|
-
const { open: i, activeIndex: n, enabledItems: a } = this,
|
|
223
|
+
const { open: i, activeIndex: n, enabledItems: a } = this, u = a.length && n > -1 ? a[n] : null;
|
|
226
224
|
switch (o) {
|
|
227
225
|
case "Escape":
|
|
228
226
|
i && (this.open = !1, t.preventDefault());
|
|
@@ -231,7 +229,7 @@ class N extends $ {
|
|
|
231
229
|
this.open = !1;
|
|
232
230
|
break;
|
|
233
231
|
case "Enter":
|
|
234
|
-
i &&
|
|
232
|
+
i && u ? (this.value = u.value, this.emitChange(), this.open = !1, t.preventDefault()) : t.defaultPrevented || P(this) && t.preventDefault();
|
|
235
233
|
break;
|
|
236
234
|
case "ArrowDown":
|
|
237
235
|
a.length && (this.open = !0, this.activeIndex = n !== -1 ? Math.min(n + 1, a.length - 1) : 0, this.scrollToActiveItem(), t.preventDefault());
|
|
@@ -260,7 +258,7 @@ class N extends $ {
|
|
|
260
258
|
t.stopPropagation(), this.inputValue = t.target.value, this.calciteAutocompleteTextInput.emit();
|
|
261
259
|
}
|
|
262
260
|
setFloatingEl(t) {
|
|
263
|
-
this.floatingEl = t,
|
|
261
|
+
this.floatingEl = t, p(this);
|
|
264
262
|
}
|
|
265
263
|
setTransitionEl(t) {
|
|
266
264
|
this.transitionEl = t;
|
|
@@ -268,16 +266,16 @@ class N extends $ {
|
|
|
268
266
|
// #endregion
|
|
269
267
|
// #region Rendering
|
|
270
268
|
render() {
|
|
271
|
-
const { disabled: t, listId: e, inputId: o, isOpen: i } = this, n = this.el.autofocus, a = this.el.enterKeyHint,
|
|
272
|
-
return
|
|
269
|
+
const { disabled: t, listId: e, inputId: o, isOpen: i } = this, n = this.el.autofocus, a = this.el.enterKeyHint, u = this.el.inputMode;
|
|
270
|
+
return O({ disabled: t, children: d`<div class=${r(l.inputContainer)}><calcite-input .alignment=${this.alignment} aria-activedescendant=${this.activeDescendant ?? s} aria-controls=${e ?? s} aria-owns=${e ?? s} aria-autocomplete=list .ariaExpanded=${i} aria-haspopup=listbox .autocomplete=${this.autocomplete} .autofocus=${n} class=${r(l.input)} clearable .disabled=${t} enterkeyhint=${a ?? s} .form=${this.form} .icon=${this.icon ?? !0} .iconFlipRtl=${this.iconFlipRtl} id=${o ?? s} inputmode=${u ?? s} .label=${this.label} .loading=${this.loading} .maxLength=${this.maxLength} .messageOverrides=${this.messages} .minLength=${this.minLength} .name=${this.name} @click=${this.inputClickHandler} @keydown=${this.keyDownHandler} @calciteInputChange=${this.changeHandler} @calciteInputInput=${this.inputHandler} @calciteInternalInputFocus=${this.handleInputFocus} .pattern=${this.pattern} .placeholder=${this.placeholder} .prefixText=${this.prefixText} .readOnly=${this.readOnly} role=combobox .scale=${this.scale} .status=${this.status} .suffixText=${this.suffixText} type=search .value=${this.inputValue} ${h(this.setReferenceEl)}></calcite-input>${this.renderListBox()}<div class=${r({
|
|
273
271
|
[l.contentContainer]: !0,
|
|
274
272
|
[l.floatingUIContainer]: !0,
|
|
275
273
|
[l.floatingUIContainerActive]: i
|
|
276
274
|
})} ${h(this.setFloatingEl)}><div class=${r({
|
|
277
275
|
[l.contentAnimation]: !0,
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
})} ${h(this.setTransitionEl)}><div class=${r({ [l.content]: !0, [l.contentHidden]: !i })}><slot name=${
|
|
276
|
+
[g.animation]: !0,
|
|
277
|
+
[g.animationActive]: i
|
|
278
|
+
})} ${h(this.setTransitionEl)}><div class=${r({ [l.content]: !0, [l.contentHidden]: !i })}><slot name=${x.contentTop} @slotchange=${this.handleContentTopSlotChange}></slot><slot aria-hidden=true></slot><slot name=${x.contentBottom} @slotchange=${this.handleContentBottomSlotChange}></slot></div></div></div></div>${B({ component: this })}${this.validationMessage && this.status === "invalid" ? U({ icon: this.validationIcon, id: q.validationMessage, message: this.validationMessage, scale: this.scale, status: this.status }) : null}` });
|
|
281
279
|
}
|
|
282
280
|
renderListBox() {
|
|
283
281
|
return d`<ul aria-labelledby=${this.inputId ?? s} class=${r(l.screenReadersOnly)} id=${this.listId ?? s} role=listbox tabindex=-1>${this.renderListBoxOptions()}</ul>`;
|
|
@@ -286,7 +284,7 @@ class N extends $ {
|
|
|
286
284
|
return y(this.items.filter((t) => !!(t.label || t.heading)), (t) => t.guid, (t) => d`<li .ariaDisabled=${t.disabled} .ariaLabel=${t.label} id=${t.guid ?? s} role=option tabindex=-1>${t.heading}${t.description}</li>`);
|
|
287
285
|
}
|
|
288
286
|
}
|
|
289
|
-
|
|
287
|
+
I("calcite-autocomplete", j);
|
|
290
288
|
export {
|
|
291
|
-
|
|
289
|
+
j as Autocomplete
|
|
292
290
|
};
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as r } from "lit-html";
|
|
3
3
|
import { LitElement as m, createEvent as u, safeClassMap as i } from "@arcgis/lumina";
|
|
4
|
-
import
|
|
5
|
-
import { g as
|
|
6
|
-
import { u as
|
|
7
|
-
import { g as
|
|
4
|
+
import "lit-html/is-server.js";
|
|
5
|
+
import { g as h } from "../../chunks/component.js";
|
|
6
|
+
import { u as v, I as g } from "../../chunks/interactive.js";
|
|
7
|
+
import { g as f } from "../../chunks/guid.js";
|
|
8
8
|
import { h as s } from "../../chunks/text.js";
|
|
9
|
-
import { css as
|
|
10
|
-
/*!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* v3.0.0-next.99
|
|
14
|
-
*/
|
|
9
|
+
import { css as b } from "@lit/reactive-element/css-tag.js";
|
|
10
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
11
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
12
|
+
v3.0.1 */
|
|
15
13
|
const t = {
|
|
16
14
|
container: "container",
|
|
17
15
|
containerActive: "container--active",
|
|
@@ -24,27 +22,25 @@ const t = {
|
|
|
24
22
|
}, d = {
|
|
25
23
|
contentEnd: "content-end",
|
|
26
24
|
contentStart: "content-start"
|
|
27
|
-
},
|
|
28
|
-
class
|
|
25
|
+
}, x = b`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-internal-autocomplete-item-spacing-unit-l: .5rem;--calcite-internal-autocomplete-item-spacing-unit-s: .25rem;--calcite-internal-autocomplete-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-internal-autocomplete-item-spacing-unit-l: .75rem;--calcite-internal-autocomplete-item-spacing-unit-s: .375rem;--calcite-internal-autocomplete-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-internal-autocomplete-item-spacing-unit-l: 1rem;--calcite-internal-autocomplete-item-spacing-unit-s: .625rem;--calcite-internal-autocomplete-item-description-font-size: var(--calcite-font-size)}:host{display:flex}.container{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;outline-color:transparent;background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-1));color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-3));gap:var(--calcite-internal-autocomplete-item-spacing-unit-l);padding-inline:var(--calcite-internal-autocomplete-item-spacing-unit-l);padding-block:var(--calcite-internal-autocomplete-item-spacing-unit-s);word-wrap:break-word;word-break:break-word;justify-content:space-around}.description{color:var(--calcite-autocomplete-description-text-color);font-size:var(--calcite-internal-autocomplete-item-description-font-size)}.heading{color:var(--calcite-autocomplete-heading-text-color, var(--calcite-color-text-1))}.heading,.description{line-height:var(--calcite-font-line-height-relative-snug)}:host(:hover:not([disabled])) .container{background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-2))}:host(:hover:not([disabled])) .container .description{color:var(--calcite-autocomplete-description-text-color, var(--calcite-color-text-2))}.container--active{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.content-center{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
26
|
+
class z extends m {
|
|
29
27
|
constructor() {
|
|
30
|
-
super(...arguments), this.active = !1, this.disabled = !1, this.guid = `autocomplete-item-${
|
|
28
|
+
super(...arguments), this.active = !1, this.disabled = !1, this.guid = `autocomplete-item-${f()}`, this.scale = "m", this.calciteInternalAutocompleteItemSelect = u({ cancelable: !1 });
|
|
31
29
|
}
|
|
32
30
|
static {
|
|
33
31
|
this.properties = { active: 5, description: 1, disabled: 7, guid: 1, heading: 1, iconEnd: 3, iconFlipRtl: 3, iconStart: 3, inputValueMatchPattern: 2, label: 1, scale: 1, value: 1 };
|
|
34
32
|
}
|
|
35
33
|
static {
|
|
36
|
-
this.styles =
|
|
34
|
+
this.styles = x;
|
|
37
35
|
}
|
|
38
36
|
// #endregion
|
|
39
37
|
// #region Lifecycle
|
|
40
38
|
load() {
|
|
41
|
-
h(this);
|
|
42
39
|
}
|
|
43
40
|
updated() {
|
|
44
|
-
|
|
41
|
+
v(this);
|
|
45
42
|
}
|
|
46
43
|
loaded() {
|
|
47
|
-
v(this);
|
|
48
44
|
}
|
|
49
45
|
// #endregion
|
|
50
46
|
// #region Private Methods
|
|
@@ -55,7 +51,7 @@ class k extends m {
|
|
|
55
51
|
// #region Rendering
|
|
56
52
|
render() {
|
|
57
53
|
const { active: e, description: c, heading: o, disabled: n, inputValueMatchPattern: l } = this;
|
|
58
|
-
return
|
|
54
|
+
return g({ disabled: n, children: r`<div class=${i({
|
|
59
55
|
[t.container]: !0,
|
|
60
56
|
[t.containerActive]: e && !n,
|
|
61
57
|
[t.scale(this.scale)]: !0
|
|
@@ -69,10 +65,10 @@ class k extends m {
|
|
|
69
65
|
}
|
|
70
66
|
renderIcon(e) {
|
|
71
67
|
const { iconFlipRtl: c } = this, o = e === "start" ? this.iconStart : this.iconEnd;
|
|
72
|
-
return o ? r`<calcite-icon class=${i(e === "start" ? t.iconStart : t.iconEnd)} .flipRtl=${c === e || c === "both"} .icon=${o} .scale=${
|
|
68
|
+
return o ? r`<calcite-icon class=${i(e === "start" ? t.iconStart : t.iconEnd)} .flipRtl=${c === e || c === "both"} .icon=${o} .scale=${h(this.scale)}></calcite-icon>` : null;
|
|
73
69
|
}
|
|
74
70
|
}
|
|
75
|
-
p("calcite-autocomplete-item",
|
|
71
|
+
p("calcite-autocomplete-item", z);
|
|
76
72
|
export {
|
|
77
|
-
|
|
73
|
+
z as AutocompleteItem
|
|
78
74
|
};
|
|
@@ -2,11 +2,9 @@ import { c as o } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as a } from "lit-html";
|
|
3
3
|
import { LitElement as n, nothing as c, safeClassMap as i } from "@arcgis/lumina";
|
|
4
4
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
5
|
-
/*!
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* v3.0.0-next.99
|
|
9
|
-
*/
|
|
5
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
6
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
7
|
+
v3.0.1 */
|
|
10
8
|
const e = {
|
|
11
9
|
container: "container",
|
|
12
10
|
containerNoSpacing: "container--no-spacing",
|
|
@@ -2,21 +2,19 @@ import { c as b } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as o } from "lit-html";
|
|
3
3
|
import { LitElement as f, nothing as m, safeClassMap as c, safeStyleMap as g } from "@arcgis/lumina";
|
|
4
4
|
import { C as p } from "../../chunks/dom.js";
|
|
5
|
-
import {
|
|
5
|
+
import { x as v, i as d } from "../../chunks/utils4.js";
|
|
6
6
|
import { css as k } from "@lit/reactive-element/css-tag.js";
|
|
7
|
-
/*!
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* v3.0.0-next.99
|
|
11
|
-
*/
|
|
7
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
9
|
+
v3.0.1 */
|
|
12
10
|
const u = {
|
|
13
11
|
thumbnail: "thumbnail",
|
|
14
12
|
background: "background",
|
|
15
13
|
initials: "initials",
|
|
16
14
|
icon: "icon"
|
|
17
15
|
};
|
|
18
|
-
function
|
|
19
|
-
a =
|
|
16
|
+
function x(a) {
|
|
17
|
+
a = z(a);
|
|
20
18
|
let e = 0;
|
|
21
19
|
for (let i = 0; i < a.length; i++)
|
|
22
20
|
e = a.charCodeAt(i) + ((e << 5) - e);
|
|
@@ -27,7 +25,7 @@ function z(a) {
|
|
|
27
25
|
}
|
|
28
26
|
return t;
|
|
29
27
|
}
|
|
30
|
-
function
|
|
28
|
+
function z(a) {
|
|
31
29
|
const e = Math.floor(a.length / 2), t = a.split("").reverse().join("");
|
|
32
30
|
return t.substring(e) + t.slice(0, e);
|
|
33
31
|
}
|
|
@@ -75,7 +73,7 @@ class T extends f {
|
|
|
75
73
|
}
|
|
76
74
|
/** Generate a valid background color that is consistent and unique to this user */
|
|
77
75
|
generateFillColor() {
|
|
78
|
-
const { userId: e, username: t, fullName: i, el: r } = this, l = p(r), s = e && `#${e.substr(e.length - 6)}`, n = t || i || "", h = s && d(s) ? s :
|
|
76
|
+
const { userId: e, username: t, fullName: i, el: r } = this, l = p(r), s = e && `#${e.substr(e.length - 6)}`, n = t || i || "", h = s && d(s) ? s : x(n);
|
|
79
77
|
return !e && !n || !d(h) ? "var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))" : `var(--calcite-avatar-background-color, hsl(${y(h)}, 60%, ${l === "dark" ? 20 : 90}%))`;
|
|
80
78
|
}
|
|
81
79
|
/** Use fullName or username to generate initials */
|
|
@@ -8,6 +8,7 @@ import { LoadableComponent } from '../../utils/loadable';
|
|
|
8
8
|
import { OpenCloseComponent } from '../../utils/openCloseComponent';
|
|
9
9
|
import { FlipPlacement, LogicalPlacement, OverlayPositioning } from '../../utils/floating-ui';
|
|
10
10
|
import { IconNameOrString } from '../calcite-icon/interfaces';
|
|
11
|
+
import { MoveTo } from '../calcite-sort-handle/interfaces';
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* @slot - A slot for adding custom content.
|
|
@@ -24,7 +25,13 @@ export declare class Block extends LitElement {
|
|
|
24
25
|
description: string;
|
|
25
26
|
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
26
27
|
disabled: boolean;
|
|
27
|
-
/** When `true`,
|
|
28
|
+
/** When `true`, and a parent Block Group is `dragEnabled`, the component is not draggable. */
|
|
29
|
+
dragDisabled: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* When `true`, the component displays a draggable button.
|
|
32
|
+
*
|
|
33
|
+
* @deprecated No longer necessary. Use Block Group for draggable functionality.
|
|
34
|
+
*/
|
|
28
35
|
dragHandle: boolean;
|
|
29
36
|
/**
|
|
30
37
|
* The component header text.
|
|
@@ -77,6 +84,8 @@ export declare class Block extends LitElement {
|
|
|
77
84
|
* `"fixed"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
78
85
|
*/
|
|
79
86
|
overlayPositioning: OverlayPositioning;
|
|
87
|
+
/** When `true`, displays and positions the sort handle. */
|
|
88
|
+
sortHandleOpen: boolean;
|
|
80
89
|
/**
|
|
81
90
|
* Displays a status-related indicator icon.
|
|
82
91
|
*
|
|
@@ -93,6 +102,14 @@ export declare class Block extends LitElement {
|
|
|
93
102
|
readonly calciteBlockClose: TargetedEvent<this, undefined>;
|
|
94
103
|
/** Fires when the component is open and animation is complete. */
|
|
95
104
|
readonly calciteBlockOpen: TargetedEvent<this, undefined>;
|
|
105
|
+
/** Fires when the sort handle is requested to be closed and before the closing transition begins. */
|
|
106
|
+
readonly calciteBlockSortHandleBeforeClose: TargetedEvent<this, undefined>;
|
|
107
|
+
/** Fires when the sort handle is added to the DOM but not rendered, and before the opening transition begins. */
|
|
108
|
+
readonly calciteBlockSortHandleBeforeOpen: TargetedEvent<this, undefined>;
|
|
109
|
+
/** Fires when the sort handle is closed and animation is complete. */
|
|
110
|
+
readonly calciteBlockSortHandleClose: TargetedEvent<this, undefined>;
|
|
111
|
+
/** Fires when the sort handle is open and animation is complete. */
|
|
112
|
+
readonly calciteBlockSortHandleOpen: TargetedEvent<this, undefined>;
|
|
96
113
|
/**
|
|
97
114
|
* Fires when the component's header is clicked.
|
|
98
115
|
*
|