@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.
Files changed (604) hide show
  1. package/dist/calcite/2AP6YLXQ.js +4 -0
  2. package/dist/calcite/2M5DP5VS.js +4 -0
  3. package/dist/calcite/2MTW4RBX.js +4 -0
  4. package/dist/calcite/2TEERBTI.js +4 -0
  5. package/dist/calcite/{4TWMM7Z6.js → 3BOJE7XV.js} +4 -6
  6. package/dist/calcite/3EQ32UON.js +4 -0
  7. package/dist/calcite/3LOOBSHJ.js +4 -0
  8. package/dist/calcite/3LXK5OEB.js +5 -0
  9. package/dist/calcite/{4OYBMKUB.js → 3NJWAHVN.js} +4 -6
  10. package/dist/calcite/{2JRSKQML.js → 3TGA6ACB.js} +4 -6
  11. package/dist/calcite/3TJZ3VMN.js +4 -0
  12. package/dist/calcite/3U4EUW42.js +4 -0
  13. package/dist/calcite/45R3L3J2.js +4 -0
  14. package/dist/calcite/45YXH4D4.js +4 -0
  15. package/dist/calcite/{ZWGCNMZF.js → 46ICVIVW.js} +4 -6
  16. package/dist/calcite/{UZAQE6XP.js → 47FXQ37G.js} +4 -6
  17. package/dist/calcite/{JFBHBHJE.js → 4GUL5QXY.js} +4 -6
  18. package/dist/calcite/{AUEN6VFD.js → 4PKLCHA5.js} +4 -6
  19. package/dist/calcite/4QSXDJ3I.js +4 -0
  20. package/dist/calcite/{BGQR3WLU.js → 4TLHW2N3.js} +4 -6
  21. package/dist/calcite/{XFHDAVBK.js → 54O5ASY6.js} +4 -6
  22. package/dist/calcite/{FSQJ72IH.js → 57MQUGHN.js} +4 -6
  23. package/dist/calcite/5FYVM4AX.js +4 -0
  24. package/dist/calcite/5KCZZJGZ.js +4 -0
  25. package/dist/calcite/5OWSKBSV.js +4 -0
  26. package/dist/calcite/{3SE2Z2VK.js → 5X666Z33.js} +5 -7
  27. package/dist/calcite/5YBMD5MK.js +4 -0
  28. package/dist/calcite/5ZA467A4.js +4 -0
  29. package/dist/calcite/62M3DNDT.js +4 -0
  30. package/dist/calcite/{DF7SVAJW.js → 6AN3H3R6.js} +4 -6
  31. package/dist/calcite/{W4D5O4P2.js → 6GK2OTHZ.js} +3 -5
  32. package/dist/calcite/6HEZO2KI.js +4 -0
  33. package/dist/calcite/{BZOCG27F.js → 6KFLYQ3F.js} +4 -6
  34. package/dist/calcite/6OPQR7PL.js +4 -0
  35. package/dist/calcite/{3QV5TGZD.js → 6ZNTK2O2.js} +4 -6
  36. package/dist/calcite/7C3Y7SM7.js +4 -0
  37. package/dist/calcite/{L4IJ6KQT.js → 7C4KHH7U.js} +4 -6
  38. package/dist/calcite/{AASA6526.js → 7COKCZTB.js} +4 -6
  39. package/dist/calcite/{KA53KK35.js → 7CQS22FK.js} +3 -5
  40. package/dist/calcite/{2YSVELPG.js → 7NLQECEF.js} +3 -5
  41. package/dist/calcite/7SVWZ5TZ.js +4 -0
  42. package/dist/calcite/{I2N2BRJR.js → 7URHQAUN.js} +3 -5
  43. package/dist/calcite/ACFEDJWV.js +4 -0
  44. package/dist/calcite/{MNBTRJLH.js → AFJ2UDEO.js} +4 -6
  45. package/dist/calcite/{5MEU7SU4.js → AQANFQEK.js} +4 -6
  46. package/dist/calcite/{GU2SFYM4.js → AZPKU6ON.js} +4 -6
  47. package/dist/calcite/{SZP7YBVQ.js → B2GDIYRL.js} +4 -6
  48. package/dist/calcite/{26ES3CRO.js → BETB6YPW.js} +4 -6
  49. package/dist/calcite/BJQEZXFS.js +4 -0
  50. package/dist/calcite/BKB5MWFT.js +4 -0
  51. package/dist/calcite/BYRVP24K.js +22 -0
  52. package/dist/calcite/{UPY24BFQ.js → C3XHCMBP.js} +3 -5
  53. package/dist/calcite/C52QQAFR.js +4 -0
  54. package/dist/calcite/CE3TSSYN.js +4 -0
  55. package/dist/calcite/CHVHH4L7.js +4 -0
  56. package/dist/calcite/CNTBFQBL.js +4 -0
  57. package/dist/calcite/CPH3OCUO.js +4 -0
  58. package/dist/calcite/CWBUDJKG.js +4 -0
  59. package/dist/calcite/CWJKJUCU.js +4 -0
  60. package/dist/calcite/{XOA2TSHC.js → CYKAIRKP.js} +4 -6
  61. package/dist/calcite/D7X7U5LL.js +6 -0
  62. package/dist/calcite/DH73QGXJ.js +4 -0
  63. package/dist/calcite/{EWQKTTIO.js → DJU4LSIS.js} +4 -6
  64. package/dist/calcite/DNKJTXCY.js +4 -0
  65. package/dist/calcite/DO7AVVBP.js +4 -0
  66. package/dist/calcite/DVFRWPOF.js +4 -0
  67. package/dist/calcite/{3KND2KKH.js → DX5LTGNX.js} +4 -6
  68. package/dist/calcite/DYHX5C6J.js +4 -0
  69. package/dist/calcite/E6LODM5C.js +4 -0
  70. package/dist/calcite/{6LWRLBVD.js → EB432BS5.js} +4 -6
  71. package/dist/calcite/{ZQSF4K7D.js → EFUCITW3.js} +4 -6
  72. package/dist/calcite/ETK7F3KI.js +4 -0
  73. package/dist/calcite/{UCGUHOUO.js → EWAQVZXY.js} +4 -6
  74. package/dist/calcite/{O7B4THLC.js → EWBW2GOP.js} +4 -6
  75. package/dist/calcite/{GIRDDKPZ.js → F52GIETG.js} +4 -6
  76. package/dist/calcite/F6CK7P7G.js +4 -0
  77. package/dist/calcite/FA3DOLYY.js +4 -0
  78. package/dist/calcite/FBUTQVLY.js +4 -0
  79. package/dist/calcite/FF2SNYC6.js +4 -0
  80. package/dist/calcite/FGCSO5KT.js +4 -0
  81. package/dist/calcite/FJLPIBCZ.js +4 -0
  82. package/dist/calcite/{DO5AYUNU.js → FL63KFPW.js} +4 -6
  83. package/dist/calcite/{KHDHQPVO.js → FMALNIBL.js} +4 -6
  84. package/dist/calcite/{ARFAFPKS.js → FNTHRMT3.js} +4 -6
  85. package/dist/calcite/{KWWKG3YN.js → FOFSX3FY.js} +4 -6
  86. package/dist/calcite/FSQRHBBB.js +4 -0
  87. package/dist/calcite/FYCT4FES.js +4 -0
  88. package/dist/calcite/{G4Q2QH6B.js → FYUK2GME.js} +4 -6
  89. package/dist/calcite/G4CQ5QPF.js +4 -0
  90. package/dist/calcite/G5AYPPXM.js +4 -0
  91. package/dist/calcite/{EUXG27WD.js → GGNAK2N6.js} +4 -6
  92. package/dist/calcite/{57L4ZYLO.js → GKVYSG3G.js} +4 -6
  93. package/dist/calcite/{W3WKINVO.js → GR3JRBW6.js} +4 -6
  94. package/dist/calcite/GS4K4IEJ.js +4 -0
  95. package/dist/calcite/{EBQYJBDQ.js → GZBMMB2V.js} +4 -6
  96. package/dist/calcite/HD2NABQD.js +4 -0
  97. package/dist/calcite/{P64WY2HI.js → HEVM6SRJ.js} +4 -6
  98. package/dist/calcite/HMZA4X6S.js +4 -0
  99. package/dist/calcite/HPFCIR5F.js +4 -0
  100. package/dist/calcite/HRDRO2MA.js +4 -0
  101. package/dist/calcite/I54F3V4F.js +4 -0
  102. package/dist/calcite/{BNYX7IBO.js → IBLJGOPM.js} +4 -6
  103. package/dist/calcite/IGQGPBGN.js +4 -0
  104. package/dist/calcite/{QLJX2F4K.js → IITTEDPS.js} +4 -6
  105. package/dist/calcite/IJOUQRZG.js +4 -0
  106. package/dist/calcite/IKHZ7MAG.js +4 -0
  107. package/dist/calcite/{SYOTV4D4.js → J3ZEXA7Z.js} +4 -6
  108. package/dist/calcite/{OMBBOPRI.js → J6ES4ZTD.js} +4 -6
  109. package/dist/calcite/J6V2OKQD.js +4 -0
  110. package/dist/calcite/JHWO2CVD.js +4 -0
  111. package/dist/calcite/JUW7VCPP.js +4 -0
  112. package/dist/calcite/KAZVOPHR.js +4 -0
  113. package/dist/calcite/{3ATQZBKY.js → KCA2V6ZH.js} +4 -6
  114. package/dist/calcite/{QNGBOTGF.js → KJYAPBB2.js} +4 -6
  115. package/dist/calcite/KLG62CS4.js +4 -0
  116. package/dist/calcite/{SFWNFANJ.js → KOPH76Z4.js} +4 -6
  117. package/dist/calcite/KP4G4VQ3.js +4 -0
  118. package/dist/calcite/{ELXZUEDC.js → KPJGFWME.js} +4 -6
  119. package/dist/calcite/KPP5CUG6.js +4 -0
  120. package/dist/calcite/{3RLXG3NR.js → KT3W2WN7.js} +4 -6
  121. package/dist/calcite/{AGLAEQKV.js → KW4WGJWX.js} +4 -6
  122. package/dist/calcite/{B77QRUX7.js → LAE3F72I.js} +4 -6
  123. package/dist/calcite/LDJND26G.js +4 -0
  124. package/dist/calcite/LWAXFXVK.js +4 -0
  125. package/dist/calcite/LWKIGIQ7.js +4 -0
  126. package/dist/calcite/M5RSVI77.js +4 -0
  127. package/dist/calcite/{4JU7BKXB.js → M6GGWFWP.js} +4 -6
  128. package/dist/calcite/{QBG5T6W3.js → MCYHITP5.js} +4 -6
  129. package/dist/calcite/{J7RY7DXT.js → MCZED6UJ.js} +3 -5
  130. package/dist/calcite/MD4KKJXR.js +4 -0
  131. package/dist/calcite/{G75XVKLZ.js → MFGDUWWU.js} +4 -6
  132. package/dist/calcite/MGC5QBVT.js +4 -0
  133. package/dist/calcite/MKMTLSBP.js +4 -0
  134. package/dist/calcite/{QFH3VN2R.js → MRRSD5GQ.js} +4 -6
  135. package/dist/calcite/{Y5IWWVKB.js → MUYFLMXN.js} +4 -6
  136. package/dist/calcite/{XR2WLB7D.js → MVBR6FNF.js} +3 -5
  137. package/dist/calcite/MYXXA6E5.js +4 -0
  138. package/dist/calcite/{AFH6KP7M.js → N2AFATQQ.js} +4 -6
  139. package/dist/calcite/N2Q46D75.js +4 -0
  140. package/dist/calcite/NBX4LUWL.js +4 -0
  141. package/dist/calcite/NLK3OCCK.js +4 -0
  142. package/dist/calcite/{3Z3RDAUW.js → NPTN6OGZ.js} +4 -6
  143. package/dist/calcite/{Z2ZTWA3F.js → NQPJICFQ.js} +3 -5
  144. package/dist/calcite/{FMI6FJW4.js → NWTXX6JY.js} +4 -6
  145. package/dist/calcite/{WIGL5RKK.js → O627WVJG.js} +4 -6
  146. package/dist/calcite/{CM4U5UKC.js → O6BU5DYY.js} +4 -6
  147. package/dist/calcite/OAD7JJOE.js +4 -0
  148. package/dist/calcite/{6FI3WN2Y.js → OEK7OZTX.js} +4 -6
  149. package/dist/calcite/OENBCW7D.js +4 -0
  150. package/dist/calcite/OLP7ABVK.js +4 -0
  151. package/dist/calcite/OOHSVUO2.js +4 -0
  152. package/dist/calcite/OOWC3DHW.js +4 -0
  153. package/dist/calcite/OREMH3DL.js +4 -0
  154. package/dist/calcite/OUKBJ6J3.js +4 -0
  155. package/dist/calcite/PA6PSCEP.js +4 -0
  156. package/dist/calcite/{KMLCSDZJ.js → PFRWMYU6.js} +4 -6
  157. package/dist/calcite/PPMXW2CH.js +4 -0
  158. package/dist/calcite/{3LYDW23E.js → PU7HI4RM.js} +4 -6
  159. package/dist/calcite/{6YQ42X6L.js → PV7FS57L.js} +4 -6
  160. package/dist/calcite/PYT6F7XN.js +4 -0
  161. package/dist/calcite/QGSMNFLV.js +4 -0
  162. package/dist/calcite/{N7NWH5SX.js → QLL7IT53.js} +3 -5
  163. package/dist/calcite/{CTQ5YHOP.js → QV6PXGLB.js} +4 -6
  164. package/dist/calcite/{ESS6BUTG.js → QZ4S4NPD.js} +4 -6
  165. package/dist/calcite/{VFBPWVKE.js → R5GIKUFX.js} +4 -6
  166. package/dist/calcite/{XEW3B3B5.js → RD2YKJMP.js} +4 -6
  167. package/dist/calcite/{6EFD6XES.js → RI6ANEBM.js} +4 -6
  168. package/dist/calcite/RIXZG4AD.js +4 -0
  169. package/dist/calcite/RIYYUHQ7.js +4 -0
  170. package/dist/calcite/RRNZ4FU5.js +4 -0
  171. package/dist/calcite/{S6AE7RHT.js → RRPMD5OW.js} +4 -6
  172. package/dist/calcite/RSI5VQHT.js +4 -0
  173. package/dist/calcite/RYQPXZK6.js +4 -0
  174. package/dist/calcite/S3TERCKZ.js +4 -0
  175. package/dist/calcite/{7NVGCG7Q.js → S6DJKPG5.js} +3 -5
  176. package/dist/calcite/{3JQJ24PZ.js → S6SBHJIV.js} +4 -6
  177. package/dist/calcite/SM6GCEH6.js +4 -0
  178. package/dist/calcite/STCRUA4G.js +4 -0
  179. package/dist/calcite/{G27BUJJG.js → SVTZCS25.js} +3 -5
  180. package/dist/calcite/T246IHBX.js +4 -0
  181. package/dist/calcite/T5I34CKY.js +4 -0
  182. package/dist/calcite/{2UYJUU43.js → TC73OO6B.js} +4 -6
  183. package/dist/calcite/{3PJ42556.js → TFRMRELY.js} +4 -6
  184. package/dist/calcite/TTARWRVZ.js +4 -0
  185. package/dist/calcite/TTPB5NUF.js +4 -0
  186. package/dist/calcite/{5LAQP62T.js → TV2JMAEX.js} +4 -6
  187. package/dist/calcite/{PB4E6L52.js → U3A4ZFDA.js} +4 -6
  188. package/dist/calcite/{LQ5ITYNE.js → U3J436K5.js} +4 -6
  189. package/dist/calcite/{KBVTFWRR.js → U4KFLUXN.js} +4 -6
  190. package/dist/calcite/U5LWIQFM.js +4 -0
  191. package/dist/calcite/UAPP5RN3.js +4 -0
  192. package/dist/calcite/{MYJH43DB.js → UJ2DNCBI.js} +4 -6
  193. package/dist/calcite/UVQWXGAE.js +4 -0
  194. package/dist/calcite/{UFV4E5V5.js → V7P5NO5D.js} +4 -6
  195. package/dist/calcite/VGKMOO66.js +4 -0
  196. package/dist/calcite/VIVZTWDT.js +4 -0
  197. package/dist/calcite/VLUVMJLJ.js +4 -0
  198. package/dist/calcite/VPCQX3JS.js +4 -0
  199. package/dist/calcite/VQZMYHUR.js +4 -0
  200. package/dist/calcite/{JLIVSPKC.js → VRJOLF5U.js} +4 -6
  201. package/dist/calcite/VSACPVTO.js +4 -0
  202. package/dist/calcite/{VP4IW6MN.js → VSVGJIKO.js} +4 -6
  203. package/dist/calcite/{LR6EXHT2.js → W2IMTPXZ.js} +4 -6
  204. package/dist/calcite/{K3F2CI4A.js → W35EGCBV.js} +4 -6
  205. package/dist/calcite/{VM4VUQ54.js → W7BTFAAV.js} +4 -6
  206. package/dist/calcite/{RWW7CETF.js → WB2APVPE.js} +4 -6
  207. package/dist/calcite/WODNJF5Z.js +4 -0
  208. package/dist/calcite/{MRVEUN2O.js → X6EDNQN2.js} +4 -6
  209. package/dist/calcite/X7JJZRMI.js +4 -0
  210. package/dist/calcite/{OU4N4K2U.js → XDEHQTPQ.js} +4 -6
  211. package/dist/calcite/XFRASDZI.js +4 -0
  212. package/dist/calcite/XK4FISIX.js +4 -0
  213. package/dist/calcite/{XFKIMAJU.js → XL665FTR.js} +4 -6
  214. package/dist/calcite/XPMURWBT.js +4 -0
  215. package/dist/calcite/XUCTBMBM.js +4 -0
  216. package/dist/calcite/Y3MFFLOP.js +4 -0
  217. package/dist/calcite/YHIHWSGP.js +4 -0
  218. package/dist/calcite/YJWS4TZW.js +4 -0
  219. package/dist/calcite/YUYVD6B5.js +4 -0
  220. package/dist/calcite/YW6YWFXE.js +4 -0
  221. package/dist/calcite/YW7G4LA7.js +4 -0
  222. package/dist/calcite/YXYKAROM.js +4 -0
  223. package/dist/calcite/{O2KBYT33.js → Z7RQIFXO.js} +4 -6
  224. package/dist/calcite/ZYBMEVEB.js +4 -0
  225. package/dist/calcite/assets/icon/crosshair16.json +1 -0
  226. package/dist/calcite/assets/icon/crosshair24.json +1 -0
  227. package/dist/calcite/assets/icon/crosshair32.json +1 -0
  228. package/dist/calcite/assets/icon/dualImageArea16.json +1 -0
  229. package/dist/calcite/assets/icon/dualImageArea24.json +1 -0
  230. package/dist/calcite/assets/icon/dualImageArea32.json +1 -0
  231. package/dist/calcite/assets/icon/dualImageDistance16.json +1 -0
  232. package/dist/calcite/assets/icon/dualImageDistance24.json +1 -0
  233. package/dist/calcite/assets/icon/dualImageDistance32.json +1 -0
  234. package/dist/calcite/assets/icon/dualImageLocation16.json +1 -0
  235. package/dist/calcite/assets/icon/dualImageLocation24.json +1 -0
  236. package/dist/calcite/assets/icon/dualImageLocation32.json +1 -0
  237. package/dist/calcite/assets/icon/hammerCoin16.json +1 -0
  238. package/dist/calcite/assets/icon/hammerCoin24.json +1 -0
  239. package/dist/calcite/assets/icon/hammerCoin32.json +1 -0
  240. package/dist/calcite/assets/icon/hammerLock16.json +1 -0
  241. package/dist/calcite/assets/icon/hammerLock24.json +1 -0
  242. package/dist/calcite/assets/icon/hammerLock32.json +1 -0
  243. package/dist/calcite/assets/icon/utilityNetworkLayer16.json +1 -0
  244. package/dist/calcite/assets/icon/utilityNetworkLayer24.json +1 -0
  245. package/dist/calcite/assets/icon/utilityNetworkLayer32.json +1 -0
  246. package/dist/calcite/calcite.css +1 -1
  247. package/dist/calcite/calcite.esm.js +4 -6
  248. package/dist/chunks/ExpandToggle.js +3 -5
  249. package/dist/chunks/FloatingArrow.js +6 -8
  250. package/dist/chunks/Heading.js +3 -5
  251. package/dist/chunks/Validation.js +3 -5
  252. package/dist/chunks/_commonjsHelpers.js +3 -5
  253. package/dist/chunks/array.js +3 -5
  254. package/dist/chunks/component.js +13 -11
  255. package/dist/chunks/core.js +3 -5
  256. package/dist/chunks/date.js +3 -5
  257. package/dist/chunks/dom.js +218 -234
  258. package/dist/chunks/dynamicClasses.js +3 -5
  259. package/dist/chunks/filter.js +3 -5
  260. package/dist/chunks/floating-ui.js +61 -65
  261. package/dist/chunks/focusTrapComponent.js +25 -30
  262. package/dist/chunks/form.js +19 -21
  263. package/dist/chunks/global.js +14 -14
  264. package/dist/chunks/guid.js +3 -5
  265. package/dist/chunks/input.js +3 -5
  266. package/dist/chunks/interact.min.js +3 -5
  267. package/dist/chunks/interactive.js +3 -5
  268. package/dist/chunks/key.js +3 -5
  269. package/dist/chunks/label.js +7 -9
  270. package/dist/chunks/loadable.js +11 -22
  271. package/dist/chunks/locale.js +3 -5
  272. package/dist/chunks/logger.js +3 -5
  273. package/dist/chunks/math.js +3 -5
  274. package/dist/chunks/observers.js +3 -5
  275. package/dist/chunks/openCloseComponent.js +5 -7
  276. package/dist/chunks/resources.js +3 -5
  277. package/dist/chunks/resources2.js +3 -5
  278. package/dist/chunks/resources3.js +8 -14
  279. package/dist/chunks/resources4.js +3 -5
  280. package/dist/chunks/resources5.js +3 -5
  281. package/dist/chunks/resources6.js +3 -5
  282. package/dist/chunks/resources7.js +3 -5
  283. package/dist/chunks/responsive.js +9 -12
  284. package/dist/chunks/runtime.js +39 -43
  285. package/dist/chunks/sortableComponent.js +49 -39
  286. package/dist/chunks/text.js +3 -5
  287. package/dist/chunks/time.js +12 -14
  288. package/dist/chunks/useFocusTrap.js +47 -0
  289. package/dist/chunks/useT9n.js +3 -5
  290. package/dist/chunks/utils.js +19 -17
  291. package/dist/chunks/utils2.js +3 -5
  292. package/dist/chunks/utils3.js +15 -16
  293. package/dist/chunks/utils4.js +264 -271
  294. package/dist/components/calcite-accordion/customElement.js +3 -5
  295. package/dist/components/calcite-accordion-item/customElement.js +10 -14
  296. package/dist/components/calcite-action/customElement.js +38 -42
  297. package/dist/components/calcite-action-bar/customElement.js +24 -27
  298. package/dist/components/calcite-action-group/customElement.js +20 -24
  299. package/dist/components/calcite-action-menu/customElement.js +14 -18
  300. package/dist/components/calcite-action-pad/customElement.js +21 -25
  301. package/dist/components/calcite-alert/customElement.js +50 -63
  302. package/dist/components/calcite-autocomplete/customElement.d.ts +10 -4
  303. package/dist/components/calcite-autocomplete/customElement.js +50 -52
  304. package/dist/components/calcite-autocomplete-item/customElement.js +17 -21
  305. package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -5
  306. package/dist/components/calcite-avatar/customElement.js +8 -10
  307. package/dist/components/calcite-block/customElement.d.ts +18 -1
  308. package/dist/components/calcite-block/customElement.js +54 -40
  309. package/dist/components/calcite-block/index.d.ts +1 -1
  310. package/dist/components/calcite-block/index.js +1 -1
  311. package/dist/components/calcite-block/utils.d.ts +2 -0
  312. package/dist/components/calcite-block-group/customElement.d.ts +50 -0
  313. package/dist/components/calcite-block-group/customElement.js +177 -0
  314. package/dist/components/calcite-block-group/index.d.ts +2 -0
  315. package/dist/components/calcite-block-group/index.js +2 -0
  316. package/dist/components/calcite-block-group/interfaces.d.ts +14 -0
  317. package/dist/components/calcite-block-group/resources.d.ts +8 -0
  318. package/dist/components/calcite-block-group/utils.d.ts +1 -0
  319. package/dist/components/calcite-block-section/customElement.js +19 -23
  320. package/dist/components/calcite-button/customElement.js +28 -30
  321. package/dist/components/calcite-card/customElement.js +17 -23
  322. package/dist/components/calcite-card-group/customElement.js +15 -18
  323. package/dist/components/calcite-carousel/customElement.js +29 -32
  324. package/dist/components/calcite-carousel-item/customElement.js +3 -5
  325. package/dist/components/calcite-checkbox/customElement.d.ts +4 -1
  326. package/dist/components/calcite-checkbox/customElement.js +18 -22
  327. package/dist/components/calcite-chip/customElement.js +42 -44
  328. package/dist/components/calcite-chip-group/customElement.js +10 -14
  329. package/dist/components/calcite-color-picker/customElement.d.ts +1 -1
  330. package/dist/components/calcite-color-picker/customElement.js +200 -178
  331. package/dist/components/calcite-color-picker/resources.d.ts +7 -16
  332. package/dist/components/calcite-color-picker/utils.d.ts +4 -3
  333. package/dist/components/calcite-color-picker-hex-input/customElement.js +27 -31
  334. package/dist/components/calcite-color-picker-swatch/customElement.js +3 -5
  335. package/dist/components/calcite-combobox/customElement.d.ts +5 -3
  336. package/dist/components/calcite-combobox/customElement.js +166 -160
  337. package/dist/components/calcite-combobox/resources.d.ts +1 -0
  338. package/dist/components/calcite-combobox-item/customElement.d.ts +2 -1
  339. package/dist/components/calcite-combobox-item/customElement.js +47 -38
  340. package/dist/components/calcite-combobox-item-group/customElement.js +13 -15
  341. package/dist/components/calcite-date-picker/customElement.d.ts +8 -2
  342. package/dist/components/calcite-date-picker/customElement.js +28 -31
  343. package/dist/components/calcite-date-picker-day/customElement.js +16 -19
  344. package/dist/components/calcite-date-picker-month/customElement.js +39 -41
  345. package/dist/components/calcite-date-picker-month-header/customElement.js +40 -44
  346. package/dist/components/calcite-dialog/customElement.d.ts +20 -4
  347. package/dist/components/calcite-dialog/customElement.js +78 -72
  348. package/dist/components/calcite-dialog/resources.d.ts +1 -0
  349. package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
  350. package/dist/components/calcite-dropdown/customElement.js +63 -70
  351. package/dist/components/calcite-dropdown/resources.d.ts +1 -0
  352. package/dist/components/calcite-dropdown-group/customElement.js +4 -6
  353. package/dist/components/calcite-dropdown-item/customElement.js +20 -23
  354. package/dist/components/calcite-fab/customElement.js +19 -23
  355. package/dist/components/calcite-filter/customElement.js +20 -25
  356. package/dist/components/calcite-flow/customElement.js +19 -22
  357. package/dist/components/calcite-flow-item/customElement.js +26 -30
  358. package/dist/components/calcite-graph/customElement.js +52 -50
  359. package/dist/components/calcite-graph/interfaces.d.ts +1 -5
  360. package/dist/components/calcite-graph/resources.d.ts +5 -0
  361. package/dist/components/calcite-handle/customElement.d.ts +3 -0
  362. package/dist/components/calcite-handle/customElement.js +20 -18
  363. package/dist/components/calcite-icon/customElement.js +23 -25
  364. package/dist/components/calcite-inline-editable/customElement.js +25 -29
  365. package/dist/components/calcite-input/customElement.d.ts +14 -6
  366. package/dist/components/calcite-input/customElement.js +26 -29
  367. package/dist/components/calcite-input-date-picker/customElement.d.ts +12 -3
  368. package/dist/components/calcite-input-date-picker/customElement.js +84 -88
  369. package/dist/components/calcite-input-message/customElement.js +3 -5
  370. package/dist/components/calcite-input-number/customElement.d.ts +12 -5
  371. package/dist/components/calcite-input-number/customElement.js +30 -36
  372. package/dist/components/calcite-input-text/customElement.d.ts +10 -4
  373. package/dist/components/calcite-input-text/customElement.js +61 -65
  374. package/dist/components/calcite-input-time-picker/customElement.d.ts +8 -3
  375. package/dist/components/calcite-input-time-picker/customElement.js +45 -47
  376. package/dist/components/calcite-input-time-zone/customElement.js +53 -55
  377. package/dist/components/calcite-label/customElement.js +3 -5
  378. package/dist/components/calcite-link/customElement.js +10 -14
  379. package/dist/components/calcite-list/customElement.js +67 -70
  380. package/dist/components/calcite-list-item/customElement.js +54 -73
  381. package/dist/components/calcite-list-item/utils.d.ts +1 -0
  382. package/dist/components/calcite-list-item-group/customElement.js +3 -5
  383. package/dist/components/calcite-loader/customElement.d.ts +2 -2
  384. package/dist/components/calcite-loader/customElement.js +3 -7
  385. package/dist/components/calcite-menu/customElement.js +12 -16
  386. package/dist/components/calcite-menu-item/customElement.js +12 -16
  387. package/dist/components/calcite-meter/customElement.js +26 -28
  388. package/dist/components/calcite-modal/customElement.d.ts +16 -3
  389. package/dist/components/calcite-modal/customElement.js +61 -61
  390. package/dist/components/calcite-navigation/customElement.js +17 -21
  391. package/dist/components/calcite-navigation-logo/customElement.js +12 -16
  392. package/dist/components/calcite-navigation-user/customElement.js +10 -14
  393. package/dist/components/calcite-notice/customElement.js +25 -28
  394. package/dist/components/calcite-option/customElement.js +3 -5
  395. package/dist/components/calcite-option-group/customElement.js +3 -5
  396. package/dist/components/calcite-pagination/customElement.js +15 -17
  397. package/dist/components/calcite-panel/customElement.js +45 -48
  398. package/dist/components/calcite-popover/customElement.d.ts +10 -7
  399. package/dist/components/calcite-popover/customElement.js +70 -79
  400. package/dist/components/calcite-progress/customElement.js +3 -5
  401. package/dist/components/calcite-radio-button/customElement.d.ts +4 -1
  402. package/dist/components/calcite-radio-button/customElement.js +17 -20
  403. package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -1
  404. package/dist/components/calcite-radio-button-group/customElement.js +14 -17
  405. package/dist/components/calcite-rating/customElement.js +21 -23
  406. package/dist/components/calcite-scrim/customElement.js +3 -5
  407. package/dist/components/calcite-segmented-control/customElement.d.ts +4 -1
  408. package/dist/components/calcite-segmented-control/customElement.js +14 -17
  409. package/dist/components/calcite-segmented-control-item/customElement.js +28 -30
  410. package/dist/components/calcite-select/customElement.d.ts +4 -1
  411. package/dist/components/calcite-select/customElement.js +19 -22
  412. package/dist/components/calcite-sheet/customElement.d.ts +17 -3
  413. package/dist/components/calcite-sheet/customElement.js +59 -62
  414. package/dist/components/calcite-shell/customElement.js +3 -6
  415. package/dist/components/calcite-shell-center-row/customElement.js +3 -5
  416. package/dist/components/calcite-shell-panel/customElement.js +16 -20
  417. package/dist/components/calcite-slider/customElement.d.ts +4 -1
  418. package/dist/components/calcite-slider/customElement.js +18 -21
  419. package/dist/components/calcite-sort-handle/customElement.js +45 -35
  420. package/dist/components/calcite-sort-handle/index.d.ts +1 -1
  421. package/dist/components/calcite-sort-handle/index.js +1 -1
  422. package/dist/components/calcite-sortable-list/customElement.d.ts +4 -1
  423. package/dist/components/calcite-sortable-list/customElement.js +21 -16
  424. package/dist/components/calcite-split-button/customElement.js +13 -20
  425. package/dist/components/calcite-stack/customElement.js +4 -6
  426. package/dist/components/calcite-stepper/customElement.js +36 -39
  427. package/dist/components/calcite-stepper-item/customElement.js +23 -22
  428. package/dist/components/calcite-switch/customElement.js +10 -14
  429. package/dist/components/calcite-tab/customElement.js +3 -5
  430. package/dist/components/calcite-tab-nav/customElement.js +3 -5
  431. package/dist/components/calcite-tab-title/customElement.js +3 -5
  432. package/dist/components/calcite-table/customElement.js +44 -47
  433. package/dist/components/calcite-table-cell/customElement.js +22 -25
  434. package/dist/components/calcite-table-header/customElement.js +18 -21
  435. package/dist/components/calcite-table-row/customElement.js +6 -8
  436. package/dist/components/calcite-tabs/customElement.js +3 -5
  437. package/dist/components/calcite-text-area/customElement.d.ts +10 -3
  438. package/dist/components/calcite-text-area/customElement.js +30 -37
  439. package/dist/components/calcite-tile/customElement.js +16 -20
  440. package/dist/components/calcite-tile-group/customElement.js +3 -5
  441. package/dist/components/calcite-tile-select/customElement.js +17 -22
  442. package/dist/components/calcite-tile-select-group/customElement.js +3 -5
  443. package/dist/components/calcite-time-picker/customElement.d.ts +1 -0
  444. package/dist/components/calcite-time-picker/customElement.js +19 -23
  445. package/dist/components/calcite-tip/customElement.js +3 -5
  446. package/dist/components/calcite-tip-group/customElement.js +3 -5
  447. package/dist/components/calcite-tip-manager/customElement.js +3 -5
  448. package/dist/components/calcite-tooltip/customElement.js +41 -40
  449. package/dist/components/calcite-tree/customElement.js +3 -5
  450. package/dist/components/calcite-tree-item/customElement.js +16 -14
  451. package/dist/components/interfaces.d.ts +4 -0
  452. package/dist/controllers/useFocusTrap.d.ts +71 -0
  453. package/dist/custom-theme/block.d.ts +4 -5
  454. package/dist/custom-theme/calcite-shell-panel.d.ts +13 -0
  455. package/dist/custom-theme/date-picker.d.ts +28 -0
  456. package/dist/custom-theme/flow.d.ts +21 -0
  457. package/dist/custom-theme/graph.d.ts +4 -0
  458. package/dist/custom-theme/inline-editable.d.ts +10 -0
  459. package/dist/custom-theme/segmented-control.d.ts +7 -0
  460. package/dist/docs/api.json +1152 -170
  461. package/dist/docs/docs.json +1102 -135
  462. package/dist/docs/supported-browsers.json +1 -1
  463. package/dist/docs/vscode.css-custom-data.json +322 -14
  464. package/dist/docs/vscode.html-custom-data.json +110 -63
  465. package/dist/docs/web-types.json +671 -131
  466. package/dist/extras/vscode-data.json +110 -63
  467. package/dist/index.d.ts +25 -0
  468. package/dist/index.js +3 -5
  469. package/dist/loader.js +16 -17
  470. package/dist/types/lumina.d.ts +18 -6
  471. package/dist/types/preact.d.ts +19 -6
  472. package/dist/types/react.d.ts +180 -165
  473. package/dist/types/stencil.d.ts +18 -6
  474. package/dist/utils/component.d.ts +4 -0
  475. package/dist/utils/focusTrapComponent.d.ts +9 -0
  476. package/dist/utils/loadable.d.ts +26 -43
  477. package/dist/utils/openCloseComponent.d.ts +17 -18
  478. package/hydrate/index.d.ts +1 -0
  479. package/hydrate/index.js +1 -0
  480. package/hydrate/index.mjs +1 -0
  481. package/package.json +11 -12
  482. package/readme.md +5 -69
  483. package/dist/calcite/2AZY343I.js +0 -6
  484. package/dist/calcite/2CPZ6K5L.js +0 -6
  485. package/dist/calcite/2M35C4DF.js +0 -6
  486. package/dist/calcite/2VVNNU7Q.js +0 -6
  487. package/dist/calcite/2XACBT2N.js +0 -6
  488. package/dist/calcite/32P7BAVF.js +0 -6
  489. package/dist/calcite/3HC2LTHR.js +0 -6
  490. package/dist/calcite/455MOJA6.js +0 -6
  491. package/dist/calcite/4DVWRXRA.js +0 -6
  492. package/dist/calcite/4TF5UO7R.js +0 -6
  493. package/dist/calcite/572RARTY.js +0 -6
  494. package/dist/calcite/5I36CFLM.js +0 -6
  495. package/dist/calcite/5OJMVZTI.js +0 -6
  496. package/dist/calcite/5YZTHYBK.js +0 -6
  497. package/dist/calcite/6L5EBECQ.js +0 -6
  498. package/dist/calcite/73JK3C3F.js +0 -6
  499. package/dist/calcite/7557S5FH.js +0 -6
  500. package/dist/calcite/7FJOFJBG.js +0 -6
  501. package/dist/calcite/7KUN772K.js +0 -6
  502. package/dist/calcite/7LABYE24.js +0 -6
  503. package/dist/calcite/7NPWRWEK.js +0 -6
  504. package/dist/calcite/7PQTHMQD.js +0 -6
  505. package/dist/calcite/AEIISXUM.js +0 -6
  506. package/dist/calcite/AT2QAEKC.js +0 -6
  507. package/dist/calcite/BHLCJMB4.js +0 -6
  508. package/dist/calcite/BOMPAJVU.js +0 -6
  509. package/dist/calcite/BYURAML5.js +0 -6
  510. package/dist/calcite/CRBGPV2Y.js +0 -6
  511. package/dist/calcite/CY2QE4I2.js +0 -6
  512. package/dist/calcite/D26RI2OE.js +0 -6
  513. package/dist/calcite/DCAWR655.js +0 -6
  514. package/dist/calcite/DSYDJ57C.js +0 -6
  515. package/dist/calcite/E2PVAX5K.js +0 -6
  516. package/dist/calcite/EH7S4XKL.js +0 -6
  517. package/dist/calcite/FGCHRTFU.js +0 -6
  518. package/dist/calcite/FIJQNNLL.js +0 -6
  519. package/dist/calcite/FIVGOTUL.js +0 -6
  520. package/dist/calcite/FPZSDG22.js +0 -6
  521. package/dist/calcite/FQJWCM6B.js +0 -6
  522. package/dist/calcite/FRK56FXW.js +0 -6
  523. package/dist/calcite/FSORFWYW.js +0 -6
  524. package/dist/calcite/FWSMKN2T.js +0 -6
  525. package/dist/calcite/GGQW5H6B.js +0 -6
  526. package/dist/calcite/GHY53YEU.js +0 -6
  527. package/dist/calcite/GWGCBSIN.js +0 -6
  528. package/dist/calcite/HH5FL6GD.js +0 -6
  529. package/dist/calcite/HNNE5R46.js +0 -6
  530. package/dist/calcite/HRVN7KZA.js +0 -6
  531. package/dist/calcite/I3TEC7IS.js +0 -6
  532. package/dist/calcite/I5SQS3SN.js +0 -6
  533. package/dist/calcite/I74ZLJFG.js +0 -6
  534. package/dist/calcite/I7SBXLRM.js +0 -6
  535. package/dist/calcite/IEJMBPJU.js +0 -6
  536. package/dist/calcite/IK3QCAZN.js +0 -6
  537. package/dist/calcite/IKOOMPAX.js +0 -6
  538. package/dist/calcite/IPDH2LDG.js +0 -6
  539. package/dist/calcite/IUBUCDD6.js +0 -6
  540. package/dist/calcite/JCMCWR7J.js +0 -6
  541. package/dist/calcite/JHGP2C56.js +0 -6
  542. package/dist/calcite/JMNIVK3R.js +0 -6
  543. package/dist/calcite/KDCUMRGX.js +0 -6
  544. package/dist/calcite/KEFBUO23.js +0 -6
  545. package/dist/calcite/KHNXDA3R.js +0 -6
  546. package/dist/calcite/KLEV3IGL.js +0 -6
  547. package/dist/calcite/LIT6HBCV.js +0 -6
  548. package/dist/calcite/LKXA7MRG.js +0 -6
  549. package/dist/calcite/LMTPIXJD.js +0 -6
  550. package/dist/calcite/M3MFRN64.js +0 -6
  551. package/dist/calcite/M5MPF4VA.js +0 -6
  552. package/dist/calcite/MWGGE65N.js +0 -6
  553. package/dist/calcite/MXNAKF47.js +0 -6
  554. package/dist/calcite/NNKZWGGT.js +0 -6
  555. package/dist/calcite/NVQN43XK.js +0 -6
  556. package/dist/calcite/OHLVZUJX.js +0 -6
  557. package/dist/calcite/OHR7IMVY.js +0 -6
  558. package/dist/calcite/OJ5D52RG.js +0 -6
  559. package/dist/calcite/OJ5H4H4N.js +0 -6
  560. package/dist/calcite/OTT2SAVW.js +0 -6
  561. package/dist/calcite/OTYNRKUI.js +0 -6
  562. package/dist/calcite/PO4EKM6H.js +0 -6
  563. package/dist/calcite/PPU55N5C.js +0 -6
  564. package/dist/calcite/PRGXXMHF.js +0 -6
  565. package/dist/calcite/PZ34QZ44.js +0 -6
  566. package/dist/calcite/PZ65523C.js +0 -6
  567. package/dist/calcite/PZGFP3J5.js +0 -6
  568. package/dist/calcite/Q2OAKI4L.js +0 -7
  569. package/dist/calcite/QIOSM7C2.js +0 -6
  570. package/dist/calcite/QS2B427U.js +0 -6
  571. package/dist/calcite/QVG465DZ.js +0 -6
  572. package/dist/calcite/RJU34JMH.js +0 -6
  573. package/dist/calcite/RL6ENWBS.js +0 -6
  574. package/dist/calcite/RWRTOY74.js +0 -6
  575. package/dist/calcite/S66ATD4V.js +0 -6
  576. package/dist/calcite/SHIZHTEP.js +0 -6
  577. package/dist/calcite/SY776R43.js +0 -6
  578. package/dist/calcite/T2M3KJPZ.js +0 -6
  579. package/dist/calcite/T7AHSVKE.js +0 -6
  580. package/dist/calcite/TBZM4XEW.js +0 -6
  581. package/dist/calcite/THTH4FYX.js +0 -6
  582. package/dist/calcite/TI4ZYY5Y.js +0 -6
  583. package/dist/calcite/TKE6VYZT.js +0 -6
  584. package/dist/calcite/TR3TLSTJ.js +0 -6
  585. package/dist/calcite/TSUCKRY4.js +0 -6
  586. package/dist/calcite/TWZNPBFB.js +0 -6
  587. package/dist/calcite/U5AZRHO7.js +0 -6
  588. package/dist/calcite/UE43U5QZ.js +0 -6
  589. package/dist/calcite/UHCCT74Q.js +0 -6
  590. package/dist/calcite/USP47AIY.js +0 -6
  591. package/dist/calcite/V3ZZW4SK.js +0 -6
  592. package/dist/calcite/WBOLRFTK.js +0 -6
  593. package/dist/calcite/WH3NETOG.js +0 -6
  594. package/dist/calcite/WHD4MFC3.js +0 -6
  595. package/dist/calcite/WJ6LOMWZ.js +0 -6
  596. package/dist/calcite/WKI76QXV.js +0 -6
  597. package/dist/calcite/WRQMW4QF.js +0 -24
  598. package/dist/calcite/X4RLJXN2.js +0 -6
  599. package/dist/calcite/XDGCDDNX.js +0 -8
  600. package/dist/calcite/XL6QBGWC.js +0 -6
  601. package/dist/calcite/XVBU5M6P.js +0 -6
  602. package/dist/calcite/Z4XCJ5VE.js +0 -6
  603. package/dist/calcite/ZQERQE2F.js +0 -6
  604. package/dist/calcite/ZYUUIPOD.js +0 -6
@@ -2,31 +2,29 @@ import { c as r } from "../../chunks/runtime.js";
2
2
  import { ref as c } from "lit-html/directives/ref.js";
3
3
  import { html as l } from "lit";
4
4
  import { LitElement as d, safeClassMap as m } from "@arcgis/lumina";
5
- import { c as h } from "../../chunks/observers.js";
6
- import { c as f, s as u, a as p } from "../../chunks/loadable.js";
7
- import { z as w } from "../../chunks/dom.js";
8
- import { css as g } from "@lit/reactive-element/css-tag.js";
9
- /*!
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.0-next.99
13
- */
5
+ import { c as f } from "../../chunks/observers.js";
6
+ import { c as h } from "../../chunks/loadable.js";
7
+ import { z as u } from "../../chunks/dom.js";
8
+ import { css as p } from "@lit/reactive-element/css-tag.js";
9
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
10
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
11
+ v3.0.1 */
14
12
  const n = {
15
13
  frame: "frame",
16
14
  frameAdvancing: "frame--advancing",
17
15
  frameRetreating: "frame--retreating"
18
- }, b = g`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0;animation-name:none;animation-duration:var(--calcite-animation-timing)}:host ::slotted(*){display:none;block-size:100%}:host ::slotted(*[selected]){display:flex}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation-name:calcite-frame-advance}:host .frame--retreating{animation-name:calcite-frame-retreat}@keyframes calcite-frame-advance{0%{--tw-bg-opacity: .5;transform:translate3d(50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity: .5;transform:translate3d(-50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}:host([hidden]){display:none}[hidden]{display:none}`;
19
- class v extends d {
16
+ }, w = p`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0;animation-name:none;animation-duration:var(--calcite-animation-timing);background-color:var(--calcite-flow-background-color)}:host ::slotted(*){display:none;block-size:100%}:host ::slotted(*[selected]){display:flex}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation-name:calcite-frame-advance}:host .frame--retreating{animation-name:calcite-frame-retreat}@keyframes calcite-frame-advance{0%{--tw-bg-opacity: .5;transform:translate3d(50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity: .5;transform:translate3d(-50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}:host([hidden]){display:none}[hidden]{display:none}`;
17
+ class g extends d {
20
18
  // #endregion
21
19
  // #region Lifecycle
22
20
  constructor() {
23
- super(), this.itemMutationObserver = h("mutation", () => this.handleMutationObserverChange()), this.selectedIndex = -1, this.flowDirection = "standby", this.items = [], this.listen("calciteInternalFlowItemChange", this.handleCalciteInternalFlowItemChange), this.listen("calciteFlowItemBack", this.handleItemBackClick);
21
+ super(), this.itemMutationObserver = f("mutation", () => this.updateItemsAndProps()), this.items = [], this.selectedIndex = -1, this.flowDirection = "standby", this.listen("calciteInternalFlowItemChange", this.handleCalciteInternalFlowItemChange), this.listen("calciteFlowItemBack", this.handleItemBackClick);
24
22
  }
25
23
  static {
26
- this.properties = { flowDirection: 16, items: 16, customItemSelectors: 1 };
24
+ this.properties = { flowDirection: 16, customItemSelectors: 1 };
27
25
  }
28
26
  static {
29
- this.styles = b;
27
+ this.styles = w;
30
28
  }
31
29
  // #endregion
32
30
  // #region Public Methods
@@ -53,21 +51,20 @@ class v extends d {
53
51
  * @returns Promise<void>
54
52
  */
55
53
  async setFocus() {
56
- await f(this);
54
+ await h(this);
57
55
  const { items: e } = this;
58
56
  return e[this.selectedIndex]?.setFocus();
59
57
  }
60
58
  connectedCallback() {
61
- super.connectedCallback(), this.itemMutationObserver?.observe(this.el, { childList: !0, subtree: !0 }), this.handleMutationObserverChange();
59
+ super.connectedCallback(), this.itemMutationObserver?.observe(this.el, { childList: !0, subtree: !0 });
62
60
  }
63
61
  load() {
64
- u(this);
65
62
  }
66
63
  willUpdate(e) {
67
64
  e.has("flowDirection") && (this.hasUpdated || this.flowDirection !== "standby") && this.handleFlowDirectionChange(this.flowDirection);
68
65
  }
69
66
  loaded() {
70
- p(this);
67
+ this.updateItemsAndProps();
71
68
  }
72
69
  disconnectedCallback() {
73
70
  super.disconnectedCallback(), this.itemMutationObserver?.disconnect();
@@ -75,7 +72,7 @@ class v extends d {
75
72
  // #endregion
76
73
  // #region Private Methods
77
74
  async handleFlowDirectionChange(e) {
78
- e !== "standby" && (await w(this.frameEl, e === "retreating" ? "calcite-frame-retreat" : "calcite-frame-advance"), this.resetFlowDirection());
75
+ e !== "standby" && (await u(this.frameEl, e === "retreating" ? "calcite-frame-retreat" : "calcite-frame-advance"), this.resetFlowDirection());
79
76
  }
80
77
  handleCalciteInternalFlowItemChange(e) {
81
78
  e.stopPropagation(), this.updateFlowProps();
@@ -91,7 +88,7 @@ class v extends d {
91
88
  const t = e > 0;
92
89
  return !(e > -1 && i > 0) && !t ? "standby" : i < e ? "retreating" : "advancing";
93
90
  }
94
- handleMutationObserverChange() {
91
+ updateItemsAndProps() {
95
92
  const { customItemSelectors: e, el: i } = this, t = Array.from(i.querySelectorAll(`calcite-flow-item${e ? `,${e}` : ""}`)).filter((a) => a.closest("calcite-flow") === i);
96
93
  this.items = t, this.ensureSelectedFlowItemExists(), this.updateFlowProps();
97
94
  }
@@ -127,7 +124,7 @@ class v extends d {
127
124
  return l`<div class=${m(i)} ${c(this.setFrameEl)}><slot></slot></div>`;
128
125
  }
129
126
  }
130
- r("calcite-flow", v);
127
+ r("calcite-flow", g);
131
128
  export {
132
- v as Flow
129
+ g as Flow
133
130
  };
@@ -1,22 +1,20 @@
1
- import { c as B } from "../../chunks/runtime.js";
1
+ import { c as w } from "../../chunks/runtime.js";
2
2
  import { ref as d } from "lit-html/directives/ref.js";
3
- import { keyed as w } from "lit-html/directives/keyed.js";
4
- import { html as h, nothing as C } from "lit";
5
- import { LitElement as I, createEvent as s, safeClassMap as y } from "@arcgis/lumina";
6
- import { g as v } from "../../chunks/dom.js";
7
- import { u as S, I as E } from "../../chunks/interactive.js";
8
- import { c as P, s as F, a as T } from "../../chunks/loadable.js";
3
+ import { keyed as v } from "lit-html/directives/keyed.js";
4
+ import { html as h, nothing as B } from "lit";
5
+ import { LitElement as C, createEvent as c, safeClassMap as I } from "@arcgis/lumina";
6
+ import { g as y } from "../../chunks/dom.js";
7
+ import { u as x, I as S } from "../../chunks/interactive.js";
8
+ import { c as E } from "../../chunks/loadable.js";
9
9
  import { S as t } from "../../chunks/resources3.js";
10
- import { u as x } from "../../chunks/useT9n.js";
11
- import { css as A } from "@lit/reactive-element/css-tag.js";
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v3.0.0-next.99
16
- */
17
- const L = {
10
+ import { u as P } from "../../chunks/useT9n.js";
11
+ import { css as F } from "@lit/reactive-element/css-tag.js";
12
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
13
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
14
+ v3.0.1 */
15
+ const T = {
18
16
  backButton: "back-button"
19
- }, m = {
17
+ }, f = {
20
18
  backLeft: "chevron-left",
21
19
  backRight: "chevron-right"
22
20
  }, o = {
@@ -33,16 +31,16 @@ const L = {
33
31
  footerActions: "footer-actions",
34
32
  footerEnd: "footer-end",
35
33
  footerStart: "footer-start"
36
- }, O = A`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}: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:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding: var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end: var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}`;
37
- class R extends I {
34
+ }, A = F`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}: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:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-flow-border-color, var(--calcite-color-border-3))}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-space: var(--calcite-flow-space)}:host([hidden]){display:none}[hidden]{display:none}`;
35
+ class L extends C {
38
36
  constructor() {
39
- super(...arguments), this.closable = !1, this.closed = !1, this.collapseDirection = "down", this.collapsed = !1, this.collapsible = !1, this.disabled = !1, this.loading = !1, this.menuOpen = !1, this.messages = x(), this.overlayPositioning = "absolute", this.scale = "m", this.selected = !1, this.showBackButton = !1, this.calciteFlowItemBack = s(), this.calciteFlowItemClose = s({ cancelable: !1 }), this.calciteFlowItemScroll = s({ cancelable: !1 }), this.calciteFlowItemToggle = s({ cancelable: !1 }), this.calciteInternalFlowItemChange = s({ cancelable: !1 });
37
+ super(...arguments), this.closable = !1, this.closed = !1, this.collapseDirection = "down", this.collapsed = !1, this.collapsible = !1, this.disabled = !1, this.loading = !1, this.menuOpen = !1, this.messages = P(), this.overlayPositioning = "absolute", this.scale = "m", this.selected = !1, this.showBackButton = !1, this.calciteFlowItemBack = c(), this.calciteFlowItemClose = c({ cancelable: !1 }), this.calciteFlowItemScroll = c({ cancelable: !1 }), this.calciteFlowItemToggle = c({ cancelable: !1 }), this.calciteInternalFlowItemChange = c({ cancelable: !1 });
40
38
  }
41
39
  static {
42
40
  this.properties = { beforeBack: 0, beforeClose: 0, closable: 7, closed: 7, collapseDirection: 1, collapsed: 7, collapsible: 7, description: 1, disabled: 7, heading: 1, headingLevel: 11, loading: 7, menuOpen: 7, messageOverrides: 0, overlayPositioning: 3, scale: 3, selected: 7, showBackButton: 5 };
43
41
  }
44
42
  static {
45
- this.styles = O;
43
+ this.styles = A;
46
44
  }
47
45
  // #endregion
48
46
  // #region Public Methods
@@ -67,7 +65,7 @@ class R extends I {
67
65
  * @returns promise.
68
66
  */
69
67
  async setFocus() {
70
- await P(this);
68
+ await E(this);
71
69
  const { backButtonEl: e, containerEl: a } = this;
72
70
  if (e)
73
71
  return e.setFocus();
@@ -77,16 +75,14 @@ class R extends I {
77
75
  // #endregion
78
76
  // #region Lifecycle
79
77
  async load() {
80
- F(this);
81
78
  }
82
79
  willUpdate(e) {
83
80
  e.has("selected") && (this.hasUpdated || this.selected !== !1) && this.calciteInternalFlowItemChange.emit();
84
81
  }
85
82
  updated() {
86
- S(this);
83
+ x(this);
87
84
  }
88
85
  loaded() {
89
- T(this);
90
86
  }
91
87
  // #endregion
92
88
  // #region Private Methods
@@ -111,15 +107,15 @@ class R extends I {
111
107
  // #endregion
112
108
  // #region Rendering
113
109
  renderBackButton() {
114
- const { el: e } = this, a = v(e) === "rtl", { showBackButton: i, backButtonClick: c, messages: r } = this, l = r.back, n = a ? m.backRight : m.backLeft;
115
- return i ? w("flow-back-button", h`<calcite-action .ariaLabel=${l} class=${y(L.backButton)} .icon=${n} @click=${c} scale=s slot=header-actions-start .text=${l} title=${l ?? C} ${d(this.setBackRef)}></calcite-action>`) : null;
110
+ const { el: e } = this, a = y(e) === "rtl", { showBackButton: n, backButtonClick: i, messages: r } = this, l = r.back, s = a ? f.backRight : f.backLeft;
111
+ return n ? v("flow-back-button", h`<calcite-action .ariaLabel=${l} class=${I(T.backButton)} .icon=${s} @click=${i} scale=s slot=header-actions-start .text=${l} title=${l ?? B} ${d(this.setBackRef)}></calcite-action>`) : null;
116
112
  }
117
113
  render() {
118
- const { collapsed: e, collapseDirection: a, collapsible: i, closable: c, closed: r, description: l, disabled: n, heading: f, headingLevel: p, loading: b, menuOpen: $, messages: u, overlayPositioning: g, beforeClose: k } = this;
119
- return E({ disabled: n, children: h`<calcite-panel .beforeClose=${k} .closable=${c} .closed=${r} .collapseDirection=${a} .collapsed=${e} .collapsible=${i} .description=${l} .disabled=${n} .heading=${f} .headingLevel=${p} .loading=${b} .menuOpen=${$} .messageOverrides=${u} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${g} .scale=${this.scale} ${d(this.setContainerRef)}>${this.renderBackButton()}<slot name=${o.actionBar} slot=${t.actionBar}></slot><slot name=${o.alerts} slot=${t.alerts}></slot><slot name=${o.headerActionsStart} slot=${t.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${t.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${t.headerContent}></slot><slot name=${o.headerMenuActions} slot=${t.headerMenuActions}></slot><slot name=${o.fab} slot=${t.fab}></slot><slot name=${o.contentTop} slot=${t.contentTop}></slot><slot name=${o.contentBottom} slot=${t.contentBottom}></slot><slot name=${o.footerStart} slot=${t.footerStart}></slot><slot name=${o.footer} slot=${t.footer}></slot><slot name=${o.footerEnd} slot=${t.footerEnd}></slot><slot name=${o.footerActions} slot=${t.footerActions}></slot><slot></slot></calcite-panel>` });
114
+ const { collapsed: e, collapseDirection: a, collapsible: n, closable: i, closed: r, description: l, disabled: s, heading: p, headingLevel: b, loading: m, menuOpen: u, messages: g, overlayPositioning: $, beforeClose: k } = this;
115
+ return S({ disabled: s, children: h`<calcite-panel .beforeClose=${k} .closable=${i} .closed=${r} .collapseDirection=${a} .collapsed=${e} .collapsible=${n} .description=${l} .disabled=${s} .heading=${p} .headingLevel=${b} .loading=${m} .menuOpen=${u} .messageOverrides=${g} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${$} .scale=${this.scale} ${d(this.setContainerRef)}>${this.renderBackButton()}<slot name=${o.actionBar} slot=${t.actionBar}></slot><slot name=${o.alerts} slot=${t.alerts}></slot><slot name=${o.headerActionsStart} slot=${t.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${t.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${t.headerContent}></slot><slot name=${o.headerMenuActions} slot=${t.headerMenuActions}></slot><slot name=${o.fab} slot=${t.fab}></slot><slot name=${o.contentTop} slot=${t.contentTop}></slot><slot name=${o.contentBottom} slot=${t.contentBottom}></slot><slot name=${o.footerStart} slot=${t.footerStart}></slot><slot name=${o.footer} slot=${t.footer}></slot><slot name=${o.footerEnd} slot=${t.footerEnd}></slot><slot name=${o.footerActions} slot=${t.footerActions}></slot><slot></slot></calcite-panel>` });
120
116
  }
121
117
  }
122
- B("calcite-flow-item", R);
118
+ w("calcite-flow-item", L);
123
119
  export {
124
- R as FlowItem
120
+ L as FlowItem
125
121
  };
@@ -1,58 +1,60 @@
1
- import { c as C } from "../../chunks/runtime.js";
2
- import { html as y, svg as m } from "lit-html";
3
- import { LitElement as O, nothing as $ } from "@arcgis/lumina";
1
+ import { c as S } from "../../chunks/runtime.js";
2
+ import { html as w, svg as m } from "lit-html";
3
+ import { LitElement as O, safeClassMap as b, nothing as $ } from "@arcgis/lumina";
4
4
  import { g as Y } from "../../chunks/guid.js";
5
5
  import { c as Z } from "../../chunks/observers.js";
6
6
  import { css as j } from "@lit/reactive-element/css-tag.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v3.0.0-next.99
11
- */
12
- function G(i, n, r) {
13
- const s = n[0] - i[0], o = r[0] - n[0], h = n[1] - i[1], c = r[1] - n[1], a = h / (s || o < 0 && 0), e = c / (o || s < 0 && 0), t = (a * o + e * s) / (s + o);
14
- return (Math.sign(a) + Math.sign(e)) * Math.min(Math.abs(a), Math.abs(e), 0.5 * Math.abs(t)) || 0;
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 */
10
+ function G(i, s, a) {
11
+ const n = s[0] - i[0], h = a[0] - s[0], c = s[1] - i[1], o = a[1] - s[1], r = c / (n || h < 0 && 0), e = o / (h || n < 0 && 0), t = (r * h + e * n) / (n + h);
12
+ return (Math.sign(r) + Math.sign(e)) * Math.min(Math.abs(r), Math.abs(e), 0.5 * Math.abs(t)) || 0;
15
13
  }
16
- function L(i, n, r) {
17
- const s = n[0] - i[0], o = n[1] - i[1];
18
- return s ? (3 * o / s - r) / 2 : r;
14
+ function z(i, s, a) {
15
+ const n = s[0] - i[0], h = s[1] - i[1];
16
+ return n ? (3 * h / n - a) / 2 : a;
19
17
  }
20
- function w(i, n, r, s, o) {
21
- const [h, c] = i, [a, e] = n, t = (a - h) / 3, l = o([h + t, c + t * r]).join(","), d = o([a - t, e - t * s]).join(","), g = o([a, e]).join(",");
22
- return `C ${l} ${d} ${g}`;
18
+ function C(i, s, a, n, h) {
19
+ const [c, o] = i, [r, e] = s, t = (r - c) / 3, l = h([c + t, o + t * a]).join(","), g = h([r - t, e - t * n]).join(","), d = h([r, e]).join(",");
20
+ return `C ${l} ${g} ${d}`;
23
21
  }
24
- function S({ width: i, height: n, min: r, max: s }) {
25
- const o = s[0] - r[0], h = s[1] - r[1];
26
- return (c) => {
27
- const a = (c[0] - r[0]) / o * i, e = n - c[1] / h * n;
28
- return [a, e];
22
+ function H({ width: i, height: s, min: a, max: n }) {
23
+ const h = n[0] - a[0], c = n[1] - a[1];
24
+ return (o) => {
25
+ const r = (o[0] - a[0]) / h * i, e = s - o[1] / c * s;
26
+ return [r, e];
29
27
  };
30
28
  }
31
29
  function A(i) {
32
- const [n, r] = i[0], s = [n, r], o = [n, r];
30
+ const [s, a] = i[0], n = [s, a], h = [s, a];
33
31
  return i.reduce(
34
- ({ min: h, max: c }, [a, e]) => ({
35
- min: [Math.min(h[0], a), Math.min(h[1], e)],
36
- max: [Math.max(c[0], a), Math.max(c[1], e)]
32
+ ({ min: c, max: o }, [r, e]) => ({
33
+ min: [Math.min(c[0], r), Math.min(c[1], e)],
34
+ max: [Math.max(o[0], r), Math.max(o[1], e)]
37
35
  }),
38
- { min: s, max: o }
36
+ { min: n, max: h }
39
37
  );
40
38
  }
41
- function B({ data: i, min: n, max: r, t: s }) {
39
+ function B({ data: i, min: s, max: a, t: n }) {
42
40
  if (i.length === 0)
43
41
  return "";
44
- const [o, h] = s(i[0]), [c, a] = s(n), [e] = s(r);
45
- let t, l, d;
46
- const g = i.reduce((x, M, p) => {
47
- if (l = i[p - 2], d = i[p - 1], p > 1) {
48
- const u = G(l, d, M), v = t === void 0 ? L(l, d, u) : t, k = w(l, d, v, u, s);
49
- return t = u, `${x} ${k}`;
42
+ const [h, c] = n(i[0]), [o, r] = n(s), [e] = n(a);
43
+ let t, l, g;
44
+ const d = i.reduce((x, M, p) => {
45
+ if (l = i[p - 2], g = i[p - 1], p > 1) {
46
+ const u = G(l, g, M), v = t === void 0 ? z(l, g, u) : t, L = C(l, g, v, u, n);
47
+ return t = u, `${x} ${L}`;
50
48
  }
51
49
  return x;
52
- }, `M ${c},${a} L ${c},${h} L ${o},${h}`), b = i[i.length - 1], f = w(d, b, t, L(d, b, t), s);
53
- return `${g} ${f} L ${e},${a} Z`;
50
+ }, `M ${o},${r} L ${o},${c} L ${h},${c}`), y = i[i.length - 1], f = C(g, y, t, z(g, y, t), n);
51
+ return `${d} ${f} L ${e},${r} Z`;
54
52
  }
55
- const E = j`: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-color-brand);opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`;
53
+ const E = j`: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}`, k = {
54
+ svg: "svg",
55
+ graphPath: "graph-path",
56
+ graphPathHighlight: "graph-path--highlight"
57
+ };
56
58
  class I extends O {
57
59
  constructor() {
58
60
  super(...arguments), this.graphId = `calcite-graph-${Y()}`, this.resizeObserver = Z("resize", () => this.requestUpdate()), this.data = [];
@@ -74,14 +76,14 @@ class I extends O {
74
76
  // #endregion
75
77
  // #region Rendering
76
78
  render() {
77
- const { data: n, colorStops: r, el: s, highlightMax: o, highlightMin: h, min: c, max: a } = this, e = this.graphId, { clientHeight: t, clientWidth: l } = s;
78
- if (!n || n.length === 0)
79
- return y`<svg aria-hidden=true class="svg" height=${t ?? $} preserveAspectRatio=none viewBox=${`0 0 ${l} ${t}`} width=${l ?? $}></svg>`;
80
- const { min: d, max: g } = A(n);
81
- let b = d, f = g;
82
- (c < d[0] || c > d[0]) && (b = [c, 0]), (a > g[0] || a < g[0]) && (f = [a, g[1]]);
83
- const x = S({ min: b, max: f, width: l, height: t }), [M] = x([h, f[1]]), [p] = x([o, f[1]]), u = B({ data: n, min: d, max: g, t: x }), v = r ? `url(#linear-gradient-${e})` : void 0;
84
- return y`<svg aria-hidden=true class="svg" height=${t ?? $} preserveAspectRatio=none viewBox=${`0 0 ${l} ${t}`} width=${l ?? $}>${r ? m`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${r.map(({ offset: k, color: z, opacity: X }) => m`<stop offset=${`${k * 100}%`} stop-color=${z ?? $} stop-opacity=${X ?? $} />`)}</linearGradient></defs>` : null}${h !== void 0 ? [
79
+ const { data: s, colorStops: a, el: n, highlightMax: h, highlightMin: c, min: o, max: r } = this, e = this.graphId, { clientHeight: t, clientWidth: l } = n;
80
+ if (!s || s.length === 0)
81
+ return w`<svg aria-hidden=true class=${b(k.svg)} height=${t ?? $} preserveAspectRatio=none viewBox=${`0 0 ${l} ${t}`} width=${l ?? $}></svg>`;
82
+ const { min: g, max: d } = A(s);
83
+ let y = g, f = d;
84
+ (o < g[0] || o > g[0]) && (y = [o, 0]), (r > d[0] || r < d[0]) && (f = [r, d[1]]);
85
+ const x = H({ min: y, max: f, width: l, height: t }), [M] = x([c, f[1]]), [p] = x([h, f[1]]), u = B({ data: s, min: g, max: d, t: x }), v = a ? `url(#linear-gradient-${e})` : void 0;
86
+ return w`<svg aria-hidden=true class=${b(k.svg)} height=${t ?? $} preserveAspectRatio=none viewBox=${`0 0 ${l} ${t}`} width=${l ?? $}>${a ? m`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${a.map(({ offset: L, color: P, opacity: X }) => m`<stop offset=${`${L * 100}%`} stop-color=${P ?? $} stop-opacity=${X ?? $} />`)}</linearGradient></defs>` : null}${c !== void 0 ? [
85
87
  m`<mask height=100% .id=${`${e}1`} width=100% x=0% y=0%><path d=${`
86
88
  M 0,0
87
89
  L ${M - 1},0
@@ -103,13 +105,13 @@ class I extends O {
103
105
  L ${p + 1}, ${t}
104
106
  Z
105
107
  `} fill=white /></mask>`,
106
- m`<path class="graph-path" d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}1)`} />`,
107
- m`<path class="graph-path--highlight" d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}2)`} />`,
108
- m`<path class="graph-path" d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}3)`} />`
109
- ] : m`<path class="graph-path" d=${u ?? $} fill=${v ?? $} />`}</svg>`;
108
+ m`<path class=${b(k.graphPath)} d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}1)`} />`,
109
+ m`<path class=${b(k.graphPathHighlight)} d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}2)`} />`,
110
+ m`<path class=${b(k.graphPath)} d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}3)`} />`
111
+ ] : m`<path class=${b(k.graphPath)} d=${u ?? $} fill=${v ?? $} />`}</svg>`;
110
112
  }
111
113
  }
112
- C("calcite-graph", I);
114
+ S("calcite-graph", I);
113
115
  export {
114
116
  I as Graph
115
117
  };
@@ -1,14 +1,10 @@
1
+ import { Dimensions } from '../interfaces';
1
2
  /** x,y coordinate set */
2
3
  export type Point = [number, number];
3
4
  /** array of coordinates */
4
5
  export type DataSeries = Point[];
5
6
  /** Function that converts point from data space to pixels */
6
7
  export type Translator = (p: Point) => Point;
7
- /** Dimensions (in pixels) */
8
- export interface Dimensions {
9
- width: number;
10
- height: number;
11
- }
12
8
  /** Min/Max from all values of a given data set */
13
9
  export interface Extent {
14
10
  min: Point;
@@ -0,0 +1,5 @@
1
+ export declare const CSS: {
2
+ svg: string;
3
+ graphPath: string;
4
+ graphPathHighlight: string;
5
+ };
@@ -5,6 +5,9 @@ import { LoadableComponent } from '../../utils/loadable';
5
5
  import { InteractiveComponent } from '../../utils/interactive';
6
6
  import { HandleChange, HandleNudge } from './interfaces';
7
7
 
8
+ /**
9
+ * @deprecated Use the `calcite-sort-handle` component instead.
10
+ */
8
11
  export declare class Handle extends LitElement {
9
12
  /** When `true`, interaction is prevented and the component is displayed with lower opacity. */
10
13
  disabled: boolean;
@@ -2,15 +2,14 @@ import { c as d } from "../../chunks/runtime.js";
2
2
  import { html as h, nothing as n } from "lit";
3
3
  import { createRef as u, ref as b } from "lit-html/directives/ref.js";
4
4
  import { LitElement as p, createEvent as s, safeClassMap as f } from "@arcgis/lumina";
5
- import { c as m, s as g, a as v } from "../../chunks/loadable.js";
6
- import { u as y, I as x } from "../../chunks/interactive.js";
7
- import { u as C } from "../../chunks/useT9n.js";
5
+ import { c as m } from "../../chunks/loadable.js";
6
+ import { u as g, I as v } from "../../chunks/interactive.js";
7
+ import { u as y } from "../../chunks/useT9n.js";
8
+ import { l as x } from "../../chunks/logger.js";
8
9
  import { css as k } from "@lit/reactive-element/css-tag.js";
9
- /*!
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.0-next.99
13
- */
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 */
14
13
  const r = {
15
14
  handle: "handle",
16
15
  handleSelected: "handle--selected"
@@ -20,16 +19,16 @@ const r = {
20
19
  itemLabel: "{itemLabel}",
21
20
  position: "{position}",
22
21
  total: "{total}"
23
- }, S = k`: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}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;outline-color:transparent;color:var(--calcite-handle-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-handle-background-color, transparent);padding-block:.75rem;padding-inline:.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-hover, var(--calcite-color-foreground-2))}:host(:not([disabled])) .handle:focus{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))));color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1))}:host(:not([disabled])) .handle--selected{color:var(--calcite-handle-icon-color-selected, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-selected, var(--calcite-color-foreground-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
24
- class T extends p {
22
+ }, C = k`: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}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;outline-color:transparent;color:var(--calcite-handle-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-handle-background-color, transparent);padding-block:.75rem;padding-inline:.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-hover, var(--calcite-color-foreground-2))}:host(:not([disabled])) .handle:focus{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))));color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1))}:host(:not([disabled])) .handle--selected{color:var(--calcite-handle-icon-color-selected, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-selected, var(--calcite-color-foreground-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
23
+ class S extends p {
25
24
  constructor() {
26
- super(...arguments), this.handleButton = u(), this.blurUnselectDisabled = !1, this.disabled = !1, this.messages = C({ blocking: !0 }), this.selected = !1, this.calciteHandleChange = s({ cancelable: !1 }), this.calciteHandleNudge = s({ cancelable: !1 }), this.calciteInternalAssistiveTextChange = s({ cancelable: !1 });
25
+ super(...arguments), this.handleButton = u(), this.blurUnselectDisabled = !1, this.disabled = !1, this.messages = y({ blocking: !0 }), this.selected = !1, this.calciteHandleChange = s({ cancelable: !1 }), this.calciteHandleNudge = s({ cancelable: !1 }), this.calciteInternalAssistiveTextChange = s({ cancelable: !1 });
27
26
  }
28
27
  static {
29
28
  this.properties = { blurUnselectDisabled: 5, disabled: 7, dragHandle: 3, label: 1, messageOverrides: 0, selected: 7, setPosition: 9, setSize: 9 };
30
29
  }
31
30
  static {
32
- this.styles = S;
31
+ this.styles = C;
33
32
  }
34
33
  // #endregion
35
34
  // #region Public Methods
@@ -40,16 +39,19 @@ class T extends p {
40
39
  // #endregion
41
40
  // #region Lifecycle
42
41
  async load() {
43
- g(this);
44
42
  }
45
43
  willUpdate(e) {
46
44
  (e.has("messages") || e.has("label") || e.has("selected") && (this.hasUpdated || this.selected !== !1) || e.has("setPosition") || e.has("setSize")) && this.handleAriaTextChange();
47
45
  }
48
46
  updated() {
49
- y(this);
47
+ g(this);
50
48
  }
51
49
  loaded() {
52
- v(this);
50
+ x.deprecated("component", {
51
+ name: "handle",
52
+ removalVersion: 4,
53
+ suggested: "sort-handle"
54
+ });
53
55
  }
54
56
  // #endregion
55
57
  // #region Private Methods
@@ -91,10 +93,10 @@ class T extends p {
91
93
  // #endregion
92
94
  // #region Rendering
93
95
  render() {
94
- return x({ disabled: this.disabled, children: h`<span .ariaChecked=${this.disabled ? null : this.selected} .ariaDisabled=${this.disabled ? this.disabled : null} .ariaLabel=${this.disabled ? null : this.getAriaText("label")} class=${f({ [r.handle]: !0, [r.handleSelected]: !this.disabled && this.selected })} @blur=${this.handleBlur} @keydown=${this.handleKeyDown} role=radio tabindex=${(this.disabled ? null : 0) ?? n} title=${this.getTooltip() ?? n} ${b(this.handleButton)}><calcite-icon .icon=${H.drag} scale=s></calcite-icon></span>` });
96
+ return v({ disabled: this.disabled, children: h`<span .ariaChecked=${this.disabled ? null : this.selected} .ariaDisabled=${this.disabled ? this.disabled : null} .ariaLabel=${this.disabled ? null : this.getAriaText("label")} class=${f({ [r.handle]: !0, [r.handleSelected]: !this.disabled && this.selected })} @blur=${this.handleBlur} @keydown=${this.handleKeyDown} role=radio tabindex=${(this.disabled ? null : 0) ?? n} title=${this.getTooltip() ?? n} ${b(this.handleButton)}><calcite-icon .icon=${H.drag} scale=s></calcite-icon></span>` });
95
97
  }
96
98
  }
97
- d("calcite-handle", T);
99
+ d("calcite-handle", S);
98
100
  export {
99
- T as Handle
101
+ S as Handle
100
102
  };
@@ -1,41 +1,39 @@
1
1
  import { g as v, i as x, c as I } from "../../chunks/runtime.js";
2
- import { html as C, svg as u, nothing as p } from "lit";
2
+ import { html as C, svg as f, nothing as p } from "lit";
3
3
  import { LitElement as z, safeClassMap as y } from "@arcgis/lumina";
4
4
  import { g as $, t as D } from "../../chunks/dom.js";
5
5
  import { c as k } from "../../chunks/observers.js";
6
- import { css as w } from "@lit/reactive-element/css-tag.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v3.0.0-next.99
11
- */
12
- const N = {
13
- icon: "icon",
6
+ import { l as w } from "../../chunks/logger.js";
7
+ import { css as N } from "@lit/reactive-element/css-tag.js";
8
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ v3.0.1 */
11
+ const P = {
14
12
  flipRtl: "flip-rtl"
15
- }, f = {}, d = {}, m = {
13
+ }, u = {}, d = {}, m = {
16
14
  s: 16,
17
15
  m: 24,
18
16
  l: 32
19
17
  };
20
18
  function b({ icon: e, scale: t }) {
21
- const s = m[t], i = U(e), n = i.charAt(i.length - 1) === "F";
19
+ const s = m[t], i = L(e), n = i.charAt(i.length - 1) === "F";
22
20
  return `${n ? i.substring(0, i.length - 1) : i}${s}${n ? "F" : ""}`;
23
21
  }
24
- async function P(e) {
22
+ async function O(e) {
25
23
  const t = b(e), s = g(t);
26
24
  if (s)
27
25
  return s;
28
- d[t] || (d[t] = fetch(v(`./assets/icon/${t}.json`)).then((n) => n.json()).catch(() => (console.error(`"${t}" is not a valid calcite-ui-icon name`), "")));
26
+ d[t] || (d[t] = fetch(v(`./assets/icon/${t}.json`)).then((n) => n.json()).catch(() => (w.error(`${e.icon} (${e.scale}) icon failed to load`), "")));
29
27
  const i = await d[t];
30
- return f[t] = i, i;
28
+ return u[t] = i, i;
31
29
  }
32
- function O(e) {
30
+ function U(e) {
33
31
  return g(b(e));
34
32
  }
35
33
  function g(e) {
36
- return f[e];
34
+ return u[e];
37
35
  }
38
- function U(e) {
36
+ function L(e) {
39
37
  const t = !isNaN(Number(e.charAt(0))), s = e.split("-");
40
38
  if (s.length > 0) {
41
39
  const n = /[a-z]/i;
@@ -45,8 +43,8 @@ function U(e) {
45
43
  }
46
44
  return t ? `i${e}` : e;
47
45
  }
48
- const L = w`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;
49
- class R extends z {
46
+ const R = N`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;
47
+ class A extends z {
50
48
  constructor() {
51
49
  super(...arguments), this.visible = !1, this.flipRtl = !1, this.icon = null, this.preload = !1, this.scale = "m";
52
50
  }
@@ -54,7 +52,7 @@ class R extends z {
54
52
  this.properties = { pathData: 16, visible: 16, flipRtl: 7, icon: 3, preload: 7, scale: 3, textLabel: 1 };
55
53
  }
56
54
  static {
57
- this.styles = L;
55
+ this.styles = R;
58
56
  }
59
57
  // #endregion
60
58
  // #region Lifecycle
@@ -79,7 +77,7 @@ class R extends z {
79
77
  const { icon: t, scale: s, visible: i } = this;
80
78
  if (!x() || !t || !i)
81
79
  return;
82
- const n = { icon: t, scale: s }, o = O(n) || await P(n);
80
+ const n = { icon: t, scale: s }, o = U(n) || await O(n);
83
81
  t === this.icon && (this.pathData = o);
84
82
  }
85
83
  waitUntilVisible(t) {
@@ -98,12 +96,12 @@ class R extends z {
98
96
  render() {
99
97
  const { el: t, flipRtl: s, pathData: i, scale: n, textLabel: o } = this, r = $(t), l = m[n], a = !!o, h = [].concat(i || "");
100
98
  return this.el.ariaHidden = D(!a), this.el.ariaLabel = a ? o : null, this.el.role = a ? "img" : null, C`<svg aria-hidden=true class=${y({
101
- [N.flipRtl]: r === "rtl" && s,
99
+ [P.flipRtl]: r === "rtl" && s,
102
100
  svg: !0
103
- })} fill=currentColor height=100% viewBox=${`0 0 ${l} ${l}`} width=100% xmlns=http://www.w3.org/2000/svg>${h.map((c) => typeof c == "string" ? u`<path d=${c ?? p} />` : u`<path d=${c.d ?? p} opacity=${("opacity" in c ? c.opacity : 1) ?? p} />`)}</svg>`;
101
+ })} fill=currentColor height=100% viewBox=${`0 0 ${l} ${l}`} width=100% xmlns=http://www.w3.org/2000/svg>${h.map((c) => typeof c == "string" ? f`<path d=${c ?? p} />` : f`<path d=${c.d ?? p} opacity=${("opacity" in c ? c.opacity : 1) ?? p} />`)}</svg>`;
104
102
  }
105
103
  }
106
- I("calcite-icon", R);
104
+ I("calcite-icon", A);
107
105
  export {
108
- R as Icon
106
+ A as Icon
109
107
  };