@esri/calcite-components 3.0.0-next.98 → 3.0.0

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/22RQB3WE.js +4 -0
  2. package/dist/calcite/{YGZZRAVL.js → 24SER2VV.js} +4 -6
  3. package/dist/calcite/2BGMAPSV.js +4 -0
  4. package/dist/calcite/2JKKAEPM.js +4 -0
  5. package/dist/calcite/{DMND3N53.js → 2M4WCGKG.js} +4 -6
  6. package/dist/calcite/2YAXZHP2.js +4 -0
  7. package/dist/calcite/{7D6Q26CZ.js → 345Q4UHX.js} +4 -6
  8. package/dist/calcite/{LPR4PB3U.js → 36DMRAV2.js} +4 -6
  9. package/dist/calcite/{XTM45ICH.js → 3DGJ6ZQI.js} +4 -6
  10. package/dist/calcite/3GICXOBQ.js +4 -0
  11. package/dist/calcite/3IV6JSC2.js +4 -0
  12. package/dist/calcite/{DOD4WFTZ.js → 3TOVZEQB.js} +4 -6
  13. package/dist/calcite/45GA6INB.js +4 -0
  14. package/dist/calcite/46U4MKUU.js +4 -0
  15. package/dist/calcite/4BSCJ722.js +4 -0
  16. package/dist/calcite/4SEPDFCP.js +5 -0
  17. package/dist/calcite/{EU3H7BCA.js → 4TQLSUKH.js} +4 -6
  18. package/dist/calcite/4YZ27QWL.js +4 -0
  19. package/dist/calcite/4Z7JRTON.js +4 -0
  20. package/dist/calcite/5AVZLE2Q.js +4 -0
  21. package/dist/calcite/{3AK4X5OV.js → 5EPP4MG3.js} +4 -6
  22. package/dist/calcite/{FPFTHRY6.js → 66B2H27W.js} +4 -6
  23. package/dist/calcite/6LW27BEV.js +4 -0
  24. package/dist/calcite/6OZRZ36X.js +4 -0
  25. package/dist/calcite/6X2SD2PW.js +4 -0
  26. package/dist/calcite/{ZGJB2ECH.js → 6XTYGXNG.js} +4 -6
  27. package/dist/calcite/6ZTWHW63.js +4 -0
  28. package/dist/calcite/{YFZLUYQJ.js → 7D3VEEUX.js} +4 -6
  29. package/dist/calcite/7E342YOK.js +4 -0
  30. package/dist/calcite/{3XOYD44L.js → 7KSGVDSR.js} +4 -6
  31. package/dist/calcite/{6FWANW5T.js → 7PWETOIU.js} +4 -6
  32. package/dist/calcite/7QHUEK5R.js +4 -0
  33. package/dist/calcite/{NSKFJMNX.js → 7SX3RD7P.js} +4 -6
  34. package/dist/calcite/7U7FF3Y4.js +4 -0
  35. package/dist/calcite/7WG5I3MP.js +4 -0
  36. package/dist/calcite/{ADB3AYG3.js → A5GGYTUQ.js} +4 -6
  37. package/dist/calcite/{BRBFCQO2.js → AI3R3SU6.js} +5 -7
  38. package/dist/calcite/ARHYATTG.js +4 -0
  39. package/dist/calcite/{WMVGOOU2.js → ATHBUWBY.js} +4 -6
  40. package/dist/calcite/AXXJNFKZ.js +4 -0
  41. package/dist/calcite/{FG7MNK63.js → AYZ73RWQ.js} +4 -6
  42. package/dist/calcite/{NWOFVES6.js → BAHIPAHM.js} +4 -6
  43. package/dist/calcite/BRTDMTZ3.js +4 -0
  44. package/dist/calcite/BRTESQOJ.js +4 -0
  45. package/dist/calcite/{67NDJDQ5.js → BSRMWMHQ.js} +4 -6
  46. package/dist/calcite/{AZIIYZ5O.js → BZKF5ZXQ.js} +4 -6
  47. package/dist/calcite/C46JYVUP.js +4 -0
  48. package/dist/calcite/C54C5E23.js +4 -0
  49. package/dist/calcite/CBSMKHOY.js +4 -0
  50. package/dist/calcite/CFRBQXK4.js +4 -0
  51. package/dist/calcite/CIV3PH3Z.js +4 -0
  52. package/dist/calcite/CJYTY62F.js +4 -0
  53. package/dist/calcite/CK6HQQX6.js +4 -0
  54. package/dist/calcite/CMO3X257.js +4 -0
  55. package/dist/calcite/{SKMMQQJV.js → CNO6NFH5.js} +4 -6
  56. package/dist/calcite/CWPRBG3T.js +4 -0
  57. package/dist/calcite/CY6C2FDZ.js +4 -0
  58. package/dist/calcite/D2HDFE7S.js +22 -0
  59. package/dist/calcite/D36VWSDW.js +4 -0
  60. package/dist/calcite/{DALSMKYG.js → DBVNMM6Q.js} +4 -6
  61. package/dist/calcite/{HOWCGXPH.js → DDJ75RTI.js} +4 -6
  62. package/dist/calcite/DH4ISGHV.js +4 -0
  63. package/dist/calcite/{L6U5SH5H.js → DNYBIAUI.js} +4 -6
  64. package/dist/calcite/DT67ZFPX.js +4 -0
  65. package/dist/calcite/{TMHRMF76.js → DTL2LM6T.js} +4 -6
  66. package/dist/calcite/E3R5SMVW.js +4 -0
  67. package/dist/calcite/{MZ3KHKD7.js → E4NMFIKN.js} +4 -6
  68. package/dist/calcite/{KVSVZ6K7.js → EAML4EDI.js} +4 -6
  69. package/dist/calcite/{AJSU4WDN.js → ECEZ4R6E.js} +4 -6
  70. package/dist/calcite/EFI2G5WL.js +4 -0
  71. package/dist/calcite/EHZCT5YZ.js +4 -0
  72. package/dist/calcite/{NHHVXBWF.js → EOHVH6PN.js} +4 -6
  73. package/dist/calcite/ESBOJTBS.js +4 -0
  74. package/dist/calcite/F6EGRKXW.js +4 -0
  75. package/dist/calcite/FCN5RMLA.js +4 -0
  76. package/dist/calcite/FDIM6DYL.js +4 -0
  77. package/dist/calcite/FE3A3YUN.js +4 -0
  78. package/dist/calcite/FHBFGCTR.js +4 -0
  79. package/dist/calcite/FNFWOOMR.js +4 -0
  80. package/dist/calcite/{X4JV7QBZ.js → FNM4DZZH.js} +3 -5
  81. package/dist/calcite/G2KHDAZD.js +4 -0
  82. package/dist/calcite/{4YTV42YC.js → G3LH75CQ.js} +4 -6
  83. package/dist/calcite/{TJJNESY6.js → G3ZJ2KQT.js} +4 -6
  84. package/dist/calcite/{V7O3TS4K.js → G7WFYVUC.js} +4 -6
  85. package/dist/calcite/{C6D6T2QL.js → GAAXSGWK.js} +4 -6
  86. package/dist/calcite/{GIWNYIWI.js → GE63ETFI.js} +4 -6
  87. package/dist/calcite/{JAQBT7O2.js → GFC7NS6P.js} +4 -6
  88. package/dist/calcite/GGO5TMB4.js +4 -0
  89. package/dist/calcite/GKKCWEZX.js +4 -0
  90. package/dist/calcite/GN5CPLSJ.js +4 -0
  91. package/dist/calcite/GNUSLZWJ.js +4 -0
  92. package/dist/calcite/{7XR7JSFK.js → GOOHYN3D.js} +4 -6
  93. package/dist/calcite/GPUFLCIT.js +4 -0
  94. package/dist/calcite/GSXEMGSW.js +4 -0
  95. package/dist/calcite/GYQTRH4V.js +4 -0
  96. package/dist/calcite/HFIRIAQA.js +4 -0
  97. package/dist/calcite/{UR74R23Y.js → HGTV36FX.js} +4 -6
  98. package/dist/calcite/HKHPJJ34.js +4 -0
  99. package/dist/calcite/{Q2QY7ZFK.js → HMVKZP47.js} +4 -6
  100. package/dist/calcite/I2OIH73C.js +4 -0
  101. package/dist/calcite/{4GZ2XBON.js → I32TMNTO.js} +3 -5
  102. package/dist/calcite/{OEZ2ZO2E.js → I62DUDHI.js} +4 -6
  103. package/dist/calcite/IH4RXHJJ.js +4 -0
  104. package/dist/calcite/{YUH32F6Q.js → IJCTXZQB.js} +4 -6
  105. package/dist/calcite/{SIKDPHI3.js → IXRMDUEL.js} +4 -6
  106. package/dist/calcite/IYDN67SF.js +4 -0
  107. package/dist/calcite/JCWM5Z43.js +4 -0
  108. package/dist/calcite/{OVBCCJSO.js → JEX42CPR.js} +4 -6
  109. package/dist/calcite/JFYDLHH7.js +4 -0
  110. package/dist/calcite/JLZYAYOL.js +4 -0
  111. package/dist/calcite/{YADF4OR7.js → JUNCR7R2.js} +4 -6
  112. package/dist/calcite/{AOOHSCUM.js → JVNEJ36Z.js} +4 -6
  113. package/dist/calcite/K3ZBW4GY.js +4 -0
  114. package/dist/calcite/{LRWFZNMG.js → KBDXI6DJ.js} +4 -6
  115. package/dist/calcite/{RXVA6IDK.js → KBNS3CCT.js} +4 -6
  116. package/dist/calcite/KI2NOBMU.js +4 -0
  117. package/dist/calcite/KSNEQFZX.js +4 -0
  118. package/dist/calcite/KSVYAIHK.js +4 -0
  119. package/dist/calcite/KULDQOV2.js +4 -0
  120. package/dist/calcite/KVSCG5E3.js +6 -0
  121. package/dist/calcite/{QMAVVMZX.js → KW57BHXD.js} +4 -6
  122. package/dist/calcite/{USPGSZKI.js → KWOOGTG2.js} +4 -6
  123. package/dist/calcite/L5FDXQMT.js +4 -0
  124. package/dist/calcite/{D6VMYOIF.js → LB5ATL5Q.js} +4 -6
  125. package/dist/calcite/LH7KSBQC.js +4 -0
  126. package/dist/calcite/{LELS4MNY.js → LHSAAMYQ.js} +4 -6
  127. package/dist/calcite/LILDCWFX.js +4 -0
  128. package/dist/calcite/LLSB73WA.js +4 -0
  129. package/dist/calcite/{4MHQTNLP.js → LOZEGKG2.js} +4 -6
  130. package/dist/calcite/{VB2CZH2R.js → MBQZPRQ5.js} +4 -6
  131. package/dist/calcite/MCSX2S5T.js +4 -0
  132. package/dist/calcite/{IVBFSESV.js → MIKGJ3NM.js} +4 -6
  133. package/dist/calcite/MPAVJ7UH.js +4 -0
  134. package/dist/calcite/{MZKQ2IE5.js → MPX2M2VX.js} +4 -6
  135. package/dist/calcite/{VUI2CUZB.js → MQYH4ONZ.js} +3 -5
  136. package/dist/calcite/MUWK32IE.js +4 -0
  137. package/dist/calcite/{34JGX2UT.js → MZRO54UT.js} +4 -6
  138. package/dist/calcite/N2BVYYYP.js +4 -0
  139. package/dist/calcite/{3LRPQHGC.js → N4MN6VQ7.js} +4 -6
  140. package/dist/calcite/{NOOS5KYH.js → N55N67N5.js} +4 -6
  141. package/dist/calcite/NODC2JA6.js +4 -0
  142. package/dist/calcite/{3REOX2WD.js → NVBNX55L.js} +4 -6
  143. package/dist/calcite/{6KHZB5QM.js → NWVCPRVB.js} +3 -5
  144. package/dist/calcite/{36NZNZAH.js → O4O3TSE5.js} +4 -6
  145. package/dist/calcite/OE2AH2NC.js +4 -0
  146. package/dist/calcite/OGED6PPP.js +4 -0
  147. package/dist/calcite/{P4HQU6WZ.js → OHOS32IT.js} +4 -6
  148. package/dist/calcite/{M66YCIAJ.js → OLMX7G3J.js} +3 -5
  149. package/dist/calcite/OOSULFCY.js +4 -0
  150. package/dist/calcite/OPBQNK7J.js +4 -0
  151. package/dist/calcite/OTHVFLNW.js +4 -0
  152. package/dist/calcite/{MDXVE52Q.js → OTUG3NVT.js} +4 -6
  153. package/dist/calcite/PNHR5K2L.js +4 -0
  154. package/dist/calcite/{M3DNGO5Z.js → PT2XMADA.js} +3 -5
  155. package/dist/calcite/PZLVQQMT.js +4 -0
  156. package/dist/calcite/{PVA5CRLN.js → QAYSDI3M.js} +3 -5
  157. package/dist/calcite/QCGLMLKW.js +4 -0
  158. package/dist/calcite/QHASLHZN.js +4 -0
  159. package/dist/calcite/QK2H5T7J.js +4 -0
  160. package/dist/calcite/QLKHJI4P.js +4 -0
  161. package/dist/calcite/QQ67AVDV.js +4 -0
  162. package/dist/calcite/{U7CNRHVY.js → QU33PBBI.js} +4 -6
  163. package/dist/calcite/QYGED6CL.js +4 -0
  164. package/dist/calcite/R3HMG2D6.js +4 -0
  165. package/dist/calcite/{2ILRHKYA.js → R4RMVIKH.js} +4 -6
  166. package/dist/calcite/R6GNPMSV.js +4 -0
  167. package/dist/calcite/{RCCGU5MD.js → RAFCSOOQ.js} +4 -6
  168. package/dist/calcite/{OKBJXUSY.js → RAQWKUOJ.js} +4 -6
  169. package/dist/calcite/RESHLE2Y.js +4 -0
  170. package/dist/calcite/RJLKHCRB.js +4 -0
  171. package/dist/calcite/RLSQLIV6.js +4 -0
  172. package/dist/calcite/{3EX47ZJ7.js → RMGYRZXR.js} +4 -6
  173. package/dist/calcite/RSAEDAEX.js +4 -0
  174. package/dist/calcite/{L4QPHNYB.js → RUTUU2EH.js} +4 -6
  175. package/dist/calcite/{GSK6RQ3K.js → RVMVJW6K.js} +4 -6
  176. package/dist/calcite/RVQMJBNS.js +4 -0
  177. package/dist/calcite/{IU2I5NQH.js → S76CXQTI.js} +4 -6
  178. package/dist/calcite/SBZ6VJ75.js +4 -0
  179. package/dist/calcite/SJKTCGW6.js +4 -0
  180. package/dist/calcite/{OZT7IOB4.js → SKDMJE3X.js} +3 -5
  181. package/dist/calcite/SMUXJLDL.js +4 -0
  182. package/dist/calcite/SYEQSDHG.js +4 -0
  183. package/dist/calcite/T3NRBBZP.js +4 -0
  184. package/dist/calcite/T5UPGHU3.js +4 -0
  185. package/dist/calcite/{J2OJW5GP.js → T6HODD4B.js} +4 -6
  186. package/dist/calcite/TNR5VZG2.js +4 -0
  187. package/dist/calcite/TQIVV2F7.js +4 -0
  188. package/dist/calcite/{FZ4CSZA4.js → TQTAM3XB.js} +4 -6
  189. package/dist/calcite/{XYFCDRYI.js → TSJJLMPA.js} +3 -5
  190. package/dist/calcite/{2WAX46W7.js → TVDZM7WT.js} +4 -6
  191. package/dist/calcite/U3WK4DZT.js +4 -0
  192. package/dist/calcite/U725E4ID.js +4 -0
  193. package/dist/calcite/UELGJSYH.js +4 -0
  194. package/dist/calcite/UJL3BWDH.js +4 -0
  195. package/dist/calcite/{5BEC7VI2.js → URM3R65T.js} +4 -6
  196. package/dist/calcite/US3PQV6O.js +4 -0
  197. package/dist/calcite/{LB35U4RB.js → V4JZRN7T.js} +4 -6
  198. package/dist/calcite/{AXDFDSSW.js → VCSXFNPO.js} +4 -6
  199. package/dist/calcite/VG7BJBFG.js +4 -0
  200. package/dist/calcite/{XB45LF7D.js → VJD4CRQ3.js} +4 -6
  201. package/dist/calcite/VMRLYKNI.js +4 -0
  202. package/dist/calcite/{J7S4FBW6.js → VNQNKQ2J.js} +4 -6
  203. package/dist/calcite/VST65PDC.js +4 -0
  204. package/dist/calcite/WKTGTKRJ.js +4 -0
  205. package/dist/calcite/WPAMFFBY.js +4 -0
  206. package/dist/calcite/{EMKF6OLE.js → WSGL37LB.js} +4 -6
  207. package/dist/calcite/{5NJCKLIQ.js → WWUBU6N5.js} +4 -6
  208. package/dist/calcite/{EW526JIT.js → X2UHFJHG.js} +4 -6
  209. package/dist/calcite/XBZLGRRI.js +4 -0
  210. package/dist/calcite/XOVG6UH3.js +4 -0
  211. package/dist/calcite/{HYEIYTTY.js → XT32TCZG.js} +3 -5
  212. package/dist/calcite/XXZIOSXQ.js +4 -0
  213. package/dist/calcite/{B4XI5JOK.js → Y6VF7HSM.js} +4 -6
  214. package/dist/calcite/YA5A7PJR.js +4 -0
  215. package/dist/calcite/{5I3PI5EW.js → YMRTHS5X.js} +4 -6
  216. package/dist/calcite/{SKJ5S6CA.js → YTRT5XZT.js} +4 -6
  217. package/dist/calcite/{PBQGOCJH.js → YXLQFMOA.js} +4 -6
  218. package/dist/calcite/{FCUAMZTR.js → YYJSHQR3.js} +3 -5
  219. package/dist/calcite/{5QSUEEHT.js → Z6GA347Y.js} +4 -6
  220. package/dist/calcite/{G76AKBKS.js → Z7VNUC77.js} +4 -6
  221. package/dist/calcite/ZA76CHET.js +4 -0
  222. package/dist/calcite/ZGXTLCGJ.js +4 -0
  223. package/dist/calcite/{57K4SYWS.js → ZQO6E4FO.js} +4 -6
  224. package/dist/calcite/ZV442E6X.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 +49 -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 +17 -21
  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 +66 -85
  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.js +3 -7
  384. package/dist/components/calcite-menu/customElement.js +12 -16
  385. package/dist/components/calcite-menu-item/customElement.js +12 -16
  386. package/dist/components/calcite-meter/customElement.js +26 -28
  387. package/dist/components/calcite-modal/customElement.d.ts +16 -3
  388. package/dist/components/calcite-modal/customElement.js +61 -61
  389. package/dist/components/calcite-navigation/customElement.js +17 -21
  390. package/dist/components/calcite-navigation-logo/customElement.js +12 -16
  391. package/dist/components/calcite-navigation-user/customElement.js +10 -14
  392. package/dist/components/calcite-notice/customElement.js +25 -28
  393. package/dist/components/calcite-option/customElement.js +3 -5
  394. package/dist/components/calcite-option-group/customElement.js +3 -5
  395. package/dist/components/calcite-pagination/customElement.js +15 -17
  396. package/dist/components/calcite-panel/customElement.js +45 -48
  397. package/dist/components/calcite-popover/customElement.d.ts +10 -7
  398. package/dist/components/calcite-popover/customElement.js +70 -79
  399. package/dist/components/calcite-progress/customElement.js +3 -5
  400. package/dist/components/calcite-radio-button/customElement.d.ts +4 -1
  401. package/dist/components/calcite-radio-button/customElement.js +17 -20
  402. package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -1
  403. package/dist/components/calcite-radio-button-group/customElement.js +14 -17
  404. package/dist/components/calcite-rating/customElement.js +21 -23
  405. package/dist/components/calcite-scrim/customElement.js +3 -5
  406. package/dist/components/calcite-segmented-control/customElement.d.ts +4 -1
  407. package/dist/components/calcite-segmented-control/customElement.js +14 -17
  408. package/dist/components/calcite-segmented-control-item/customElement.js +28 -30
  409. package/dist/components/calcite-select/customElement.d.ts +4 -1
  410. package/dist/components/calcite-select/customElement.js +19 -22
  411. package/dist/components/calcite-sheet/customElement.d.ts +17 -3
  412. package/dist/components/calcite-sheet/customElement.js +59 -62
  413. package/dist/components/calcite-shell/customElement.js +3 -6
  414. package/dist/components/calcite-shell-center-row/customElement.js +3 -5
  415. package/dist/components/calcite-shell-panel/customElement.js +16 -20
  416. package/dist/components/calcite-slider/customElement.d.ts +4 -1
  417. package/dist/components/calcite-slider/customElement.js +18 -21
  418. package/dist/components/calcite-sort-handle/customElement.js +45 -35
  419. package/dist/components/calcite-sort-handle/index.d.ts +1 -1
  420. package/dist/components/calcite-sort-handle/index.js +1 -1
  421. package/dist/components/calcite-sortable-list/customElement.d.ts +4 -1
  422. package/dist/components/calcite-sortable-list/customElement.js +21 -16
  423. package/dist/components/calcite-split-button/customElement.js +13 -20
  424. package/dist/components/calcite-stack/customElement.js +4 -6
  425. package/dist/components/calcite-stepper/customElement.js +36 -39
  426. package/dist/components/calcite-stepper-item/customElement.js +23 -22
  427. package/dist/components/calcite-switch/customElement.js +10 -14
  428. package/dist/components/calcite-tab/customElement.js +3 -5
  429. package/dist/components/calcite-tab-nav/customElement.js +3 -5
  430. package/dist/components/calcite-tab-title/customElement.js +3 -5
  431. package/dist/components/calcite-table/customElement.js +44 -47
  432. package/dist/components/calcite-table-cell/customElement.js +22 -25
  433. package/dist/components/calcite-table-header/customElement.js +18 -21
  434. package/dist/components/calcite-table-row/customElement.js +6 -8
  435. package/dist/components/calcite-tabs/customElement.js +3 -5
  436. package/dist/components/calcite-text-area/customElement.d.ts +10 -3
  437. package/dist/components/calcite-text-area/customElement.js +30 -37
  438. package/dist/components/calcite-tile/customElement.js +16 -20
  439. package/dist/components/calcite-tile-group/customElement.js +3 -5
  440. package/dist/components/calcite-tile-select/customElement.js +17 -22
  441. package/dist/components/calcite-tile-select-group/customElement.js +3 -5
  442. package/dist/components/calcite-time-picker/customElement.d.ts +1 -0
  443. package/dist/components/calcite-time-picker/customElement.js +19 -23
  444. package/dist/components/calcite-tip/customElement.js +3 -5
  445. package/dist/components/calcite-tip-group/customElement.js +3 -5
  446. package/dist/components/calcite-tip-manager/customElement.js +3 -5
  447. package/dist/components/calcite-tooltip/customElement.js +41 -40
  448. package/dist/components/calcite-tree/customElement.js +3 -5
  449. package/dist/components/calcite-tree-item/customElement.js +16 -14
  450. package/dist/components/interfaces.d.ts +4 -0
  451. package/dist/controllers/useFocusTrap.d.ts +67 -0
  452. package/dist/custom-theme/block.d.ts +4 -5
  453. package/dist/custom-theme/calcite-shell-panel.d.ts +13 -0
  454. package/dist/custom-theme/date-picker.d.ts +28 -0
  455. package/dist/custom-theme/flow.d.ts +21 -0
  456. package/dist/custom-theme/graph.d.ts +4 -0
  457. package/dist/custom-theme/inline-editable.d.ts +10 -0
  458. package/dist/custom-theme/segmented-control.d.ts +7 -0
  459. package/dist/docs/api.json +1141 -159
  460. package/dist/docs/docs.json +1093 -126
  461. package/dist/docs/supported-browsers.json +1 -1
  462. package/dist/docs/vscode.css-custom-data.json +315 -7
  463. package/dist/docs/vscode.html-custom-data.json +107 -60
  464. package/dist/docs/web-types.json +659 -119
  465. package/dist/extras/vscode-data.json +107 -60
  466. package/dist/index.d.ts +25 -0
  467. package/dist/index.js +3 -5
  468. package/dist/loader.js +16 -17
  469. package/dist/types/lumina.d.ts +18 -6
  470. package/dist/types/preact.d.ts +19 -6
  471. package/dist/types/react.d.ts +180 -165
  472. package/dist/types/stencil.d.ts +18 -6
  473. package/dist/utils/component.d.ts +4 -0
  474. package/dist/utils/focusTrapComponent.d.ts +9 -0
  475. package/dist/utils/loadable.d.ts +26 -43
  476. package/dist/utils/openCloseComponent.d.ts +17 -18
  477. package/hydrate/index.d.ts +1 -0
  478. package/hydrate/index.js +1 -0
  479. package/hydrate/index.mjs +1 -0
  480. package/package.json +11 -12
  481. package/readme.md +5 -69
  482. package/dist/calcite/22HJHGFC.js +0 -6
  483. package/dist/calcite/24UHHCGZ.js +0 -6
  484. package/dist/calcite/26RYXNTM.js +0 -6
  485. package/dist/calcite/2BDE5BE5.js +0 -6
  486. package/dist/calcite/2Z66C2UQ.js +0 -6
  487. package/dist/calcite/32ZUDEFF.js +0 -6
  488. package/dist/calcite/33ZHAQAN.js +0 -6
  489. package/dist/calcite/344WUQSU.js +0 -6
  490. package/dist/calcite/36QANWE7.js +0 -6
  491. package/dist/calcite/3BABRTZ7.js +0 -6
  492. package/dist/calcite/3GVUXBN3.js +0 -6
  493. package/dist/calcite/3ISRG7GL.js +0 -6
  494. package/dist/calcite/43FXUJG7.js +0 -6
  495. package/dist/calcite/43U3QOKZ.js +0 -6
  496. package/dist/calcite/45C26CGA.js +0 -6
  497. package/dist/calcite/4DYITTEZ.js +0 -6
  498. package/dist/calcite/4GJIQCDB.js +0 -6
  499. package/dist/calcite/4TQWOYN3.js +0 -6
  500. package/dist/calcite/525CSK55.js +0 -6
  501. package/dist/calcite/5J3KIS2Y.js +0 -6
  502. package/dist/calcite/5LBOUCUR.js +0 -6
  503. package/dist/calcite/5YNUO5U6.js +0 -6
  504. package/dist/calcite/635OBWKC.js +0 -6
  505. package/dist/calcite/7LNOTS5J.js +0 -6
  506. package/dist/calcite/7VTS46YY.js +0 -6
  507. package/dist/calcite/7XAMYDVB.js +0 -6
  508. package/dist/calcite/7ZVYZ7HI.js +0 -6
  509. package/dist/calcite/AG2N2DRD.js +0 -6
  510. package/dist/calcite/AO43UELW.js +0 -6
  511. package/dist/calcite/BG2AISBE.js +0 -6
  512. package/dist/calcite/BGH5AJN6.js +0 -6
  513. package/dist/calcite/BXSIT4FA.js +0 -6
  514. package/dist/calcite/CCQRH5OE.js +0 -6
  515. package/dist/calcite/CNNNSCMZ.js +0 -6
  516. package/dist/calcite/DAXZUZG7.js +0 -6
  517. package/dist/calcite/DVDIWJH7.js +0 -6
  518. package/dist/calcite/EXJCK3HG.js +0 -6
  519. package/dist/calcite/F6OUTEHV.js +0 -6
  520. package/dist/calcite/FJAWVMYN.js +0 -6
  521. package/dist/calcite/FLX3VOM5.js +0 -6
  522. package/dist/calcite/G2QEEOO5.js +0 -6
  523. package/dist/calcite/H7BZS7IR.js +0 -6
  524. package/dist/calcite/HKNIHKIM.js +0 -6
  525. package/dist/calcite/HLG6DGAF.js +0 -6
  526. package/dist/calcite/HMVW5COC.js +0 -6
  527. package/dist/calcite/IAG3EJCS.js +0 -6
  528. package/dist/calcite/IBJ3DPFM.js +0 -6
  529. package/dist/calcite/IDSRWSZS.js +0 -6
  530. package/dist/calcite/IGFOWO7X.js +0 -6
  531. package/dist/calcite/IKWE7O4V.js +0 -6
  532. package/dist/calcite/JGO64K4G.js +0 -6
  533. package/dist/calcite/JVXIBINH.js +0 -6
  534. package/dist/calcite/K5OJ3522.js +0 -6
  535. package/dist/calcite/KDABXPKT.js +0 -6
  536. package/dist/calcite/KLKV3NO5.js +0 -6
  537. package/dist/calcite/KNU6MVIX.js +0 -6
  538. package/dist/calcite/KOX7NSUX.js +0 -6
  539. package/dist/calcite/KTIDLP6I.js +0 -24
  540. package/dist/calcite/KUQLVV3G.js +0 -6
  541. package/dist/calcite/L75EPU72.js +0 -6
  542. package/dist/calcite/LJ5WXSCB.js +0 -6
  543. package/dist/calcite/M7JLEFAV.js +0 -6
  544. package/dist/calcite/MDJ7KIEH.js +0 -6
  545. package/dist/calcite/MNPVC4UV.js +0 -6
  546. package/dist/calcite/MTZJ3QEO.js +0 -6
  547. package/dist/calcite/N5RAGKSV.js +0 -6
  548. package/dist/calcite/N7S4KMZ3.js +0 -6
  549. package/dist/calcite/NKJ53SP5.js +0 -6
  550. package/dist/calcite/NP6XKXNB.js +0 -6
  551. package/dist/calcite/NPTTGQKZ.js +0 -6
  552. package/dist/calcite/NU7YASJY.js +0 -6
  553. package/dist/calcite/NWVRCTA3.js +0 -6
  554. package/dist/calcite/OANTC65T.js +0 -6
  555. package/dist/calcite/ORFOJQIT.js +0 -6
  556. package/dist/calcite/OZ2EM7PB.js +0 -6
  557. package/dist/calcite/P2EHUODO.js +0 -6
  558. package/dist/calcite/P2OWRZWS.js +0 -6
  559. package/dist/calcite/PLIJBDJE.js +0 -6
  560. package/dist/calcite/PNUVZ3BZ.js +0 -6
  561. package/dist/calcite/PRLNQU3I.js +0 -6
  562. package/dist/calcite/QFRCFN5B.js +0 -6
  563. package/dist/calcite/QMW634ML.js +0 -6
  564. package/dist/calcite/QVFO4PCF.js +0 -6
  565. package/dist/calcite/R4GMIOLL.js +0 -6
  566. package/dist/calcite/RAABIUMQ.js +0 -6
  567. package/dist/calcite/RBAXDZGX.js +0 -6
  568. package/dist/calcite/RRXQBAP5.js +0 -6
  569. package/dist/calcite/RTAW5CIS.js +0 -6
  570. package/dist/calcite/RVTHJSK4.js +0 -7
  571. package/dist/calcite/RXLZN3RA.js +0 -6
  572. package/dist/calcite/SGUPIHES.js +0 -6
  573. package/dist/calcite/SM3PON4U.js +0 -6
  574. package/dist/calcite/SR6BSZKM.js +0 -6
  575. package/dist/calcite/SVA572F6.js +0 -6
  576. package/dist/calcite/SYEFY3RF.js +0 -6
  577. package/dist/calcite/T2I3BMFS.js +0 -6
  578. package/dist/calcite/T2RQHQ4J.js +0 -6
  579. package/dist/calcite/T4BRARRE.js +0 -6
  580. package/dist/calcite/TOVFIM35.js +0 -6
  581. package/dist/calcite/TUOQB4BF.js +0 -6
  582. package/dist/calcite/TXKCK2GX.js +0 -6
  583. package/dist/calcite/UASDTDDX.js +0 -6
  584. package/dist/calcite/UBUBAUNX.js +0 -6
  585. package/dist/calcite/UDBTSID6.js +0 -6
  586. package/dist/calcite/UIH7UV4G.js +0 -6
  587. package/dist/calcite/UJNTMRHF.js +0 -6
  588. package/dist/calcite/UT5IDNAH.js +0 -6
  589. package/dist/calcite/UW7IANT6.js +0 -6
  590. package/dist/calcite/V6S33OQR.js +0 -6
  591. package/dist/calcite/VB3C3KGQ.js +0 -6
  592. package/dist/calcite/WJ4C7WEL.js +0 -6
  593. package/dist/calcite/WW6NBCNW.js +0 -6
  594. package/dist/calcite/WWC5WLZF.js +0 -8
  595. package/dist/calcite/WYJTKFJS.js +0 -6
  596. package/dist/calcite/XFA5FHFI.js +0 -6
  597. package/dist/calcite/YMSUL5GP.js +0 -6
  598. package/dist/calcite/YQFENTI7.js +0 -6
  599. package/dist/calcite/YRI6AGQS.js +0 -6
  600. package/dist/calcite/YROEPZIT.js +0 -6
  601. package/dist/calcite/Z67HNIVB.js +0 -6
  602. package/dist/calcite/ZEO7P3BE.js +0 -6
  603. package/dist/calcite/ZEOCUBLO.js +0 -6
  604. package/dist/calcite/ZVVUEEVN.js +0 -6
@@ -12,6 +12,7 @@ import type { AutocompleteItem } from "../components/calcite-autocomplete-item";
12
12
  import type { AutocompleteItemGroup } from "../components/calcite-autocomplete-item-group";
13
13
  import type { Avatar } from "../components/calcite-avatar";
14
14
  import type { Block } from "../components/calcite-block";
15
+ import type { BlockGroup } from "../components/calcite-block-group";
15
16
  import type { BlockSection } from "../components/calcite-block-section";
16
17
  import type { Button } from "../components/calcite-button";
17
18
  import type { Card } from "../components/calcite-card";
@@ -162,14 +163,24 @@ interface StencilCalciteAutocompleteItemGroup extends Required<Pick<Autocomplete
162
163
  interface StencilCalciteAvatar extends Partial<Pick<Avatar, 'fullName' | 'label' | 'scale' | 'thumbnail' | 'userId' | 'username'>>, StencilJsx.HTMLAttributes<HTMLCalciteAvatarElement> {
163
164
  }
164
165
 
165
- interface StencilCalciteBlock extends Partial<Pick<Block, 'collapsible' | 'description' | 'disabled' | 'dragHandle' | 'heading' | 'headingLevel' | 'iconEnd' | 'iconFlipRtl' | 'iconStart' | 'label' | 'loading' | 'menuFlipPlacements' | 'menuPlacement' | 'messageOverrides' | 'open' | 'overlayPositioning' | 'status'>>, StencilJsx.HTMLAttributes<HTMLCalciteBlockElement> {
166
+ interface StencilCalciteBlock extends Partial<Pick<Block, 'collapsible' | 'description' | 'disabled' | 'dragDisabled' | 'dragHandle' | 'heading' | 'headingLevel' | 'iconEnd' | 'iconFlipRtl' | 'iconStart' | 'label' | 'loading' | 'menuFlipPlacements' | 'menuPlacement' | 'messageOverrides' | 'open' | 'overlayPositioning' | 'sortHandleOpen' | 'status'>>, StencilJsx.HTMLAttributes<HTMLCalciteBlockElement> {
166
167
  onCalciteBlockBeforeClose?: EventHandler<HTMLCalciteBlockElement["calciteBlockBeforeClose"]>;
167
168
  onCalciteBlockBeforeOpen?: EventHandler<HTMLCalciteBlockElement["calciteBlockBeforeOpen"]>;
168
169
  onCalciteBlockClose?: EventHandler<HTMLCalciteBlockElement["calciteBlockClose"]>;
169
170
  onCalciteBlockOpen?: EventHandler<HTMLCalciteBlockElement["calciteBlockOpen"]>;
171
+ onCalciteBlockSortHandleBeforeClose?: EventHandler<HTMLCalciteBlockElement["calciteBlockSortHandleBeforeClose"]>;
172
+ onCalciteBlockSortHandleBeforeOpen?: EventHandler<HTMLCalciteBlockElement["calciteBlockSortHandleBeforeOpen"]>;
173
+ onCalciteBlockSortHandleClose?: EventHandler<HTMLCalciteBlockElement["calciteBlockSortHandleClose"]>;
174
+ onCalciteBlockSortHandleOpen?: EventHandler<HTMLCalciteBlockElement["calciteBlockSortHandleOpen"]>;
170
175
  onCalciteBlockToggle?: EventHandler<HTMLCalciteBlockElement["calciteBlockToggle"]>;
171
176
  }
172
177
 
178
+ interface StencilCalciteBlockGroup extends Required<Pick<BlockGroup, 'label'>>, Partial<Pick<BlockGroup, 'canPull' | 'canPut' | 'disabled' | 'dragEnabled' | 'group' | 'loading'>>, StencilJsx.HTMLAttributes<HTMLCalciteBlockGroupElement> {
179
+ onCalciteBlockGroupDragEnd?: EventHandler<HTMLCalciteBlockGroupElement["calciteBlockGroupDragEnd"]>;
180
+ onCalciteBlockGroupDragStart?: EventHandler<HTMLCalciteBlockGroupElement["calciteBlockGroupDragStart"]>;
181
+ onCalciteBlockGroupOrderChange?: EventHandler<HTMLCalciteBlockGroupElement["calciteBlockGroupOrderChange"]>;
182
+ }
183
+
173
184
  interface StencilCalciteBlockSection extends Partial<Pick<BlockSection, 'iconEnd' | 'iconFlipRtl' | 'iconStart' | 'messageOverrides' | 'open' | 'status' | 'text' | 'toggleDisplay'>>, StencilJsx.HTMLAttributes<HTMLCalciteBlockSectionElement> {
174
185
  onCalciteBlockSectionToggle?: EventHandler<HTMLCalciteBlockSectionElement["calciteBlockSectionToggle"]>;
175
186
  }
@@ -252,7 +263,7 @@ interface StencilCalciteDatePickerMonth extends Partial<Pick<DatePickerMonth, 'a
252
263
  interface StencilCalciteDatePickerMonthHeader extends Partial<Pick<DatePickerMonthHeader, 'activeDate' | 'headingLevel' | 'localeData' | 'max' | 'min' | 'monthStyle' | 'scale' | 'selectedDate'>>, StencilJsx.HTMLAttributes<HTMLCalciteDatePickerMonthHeaderElement> {
253
264
  }
254
265
 
255
- interface StencilCalciteDialog extends Partial<Pick<Dialog, 'beforeClose' | 'closeDisabled' | 'description' | 'dragEnabled' | 'escapeDisabled' | 'heading' | 'headingLevel' | 'kind' | 'loading' | 'menuOpen' | 'messageOverrides' | 'modal' | 'open' | 'outsideCloseDisabled' | 'overlayPositioning' | 'placement' | 'resizable' | 'scale' | 'width' | 'widthScale'>>, StencilJsx.HTMLAttributes<HTMLCalciteDialogElement> {
266
+ interface StencilCalciteDialog extends Partial<Pick<Dialog, 'beforeClose' | 'closeDisabled' | 'description' | 'dragEnabled' | 'escapeDisabled' | 'focusTrapDisabled' | 'focusTrapOptions' | 'heading' | 'headingLevel' | 'kind' | 'loading' | 'menuOpen' | 'messageOverrides' | 'modal' | 'open' | 'outsideCloseDisabled' | 'overlayPositioning' | 'placement' | 'resizable' | 'scale' | 'width' | 'widthScale'>>, StencilJsx.HTMLAttributes<HTMLCalciteDialogElement> {
256
267
  onCalciteDialogBeforeClose?: EventHandler<HTMLCalciteDialogElement["calciteDialogBeforeClose"]>;
257
268
  onCalciteDialogBeforeOpen?: EventHandler<HTMLCalciteDialogElement["calciteDialogBeforeOpen"]>;
258
269
  onCalciteDialogClose?: EventHandler<HTMLCalciteDialogElement["calciteDialogClose"]>;
@@ -390,7 +401,7 @@ interface StencilCalciteMenuItem extends Required<Pick<MenuItem, 'label'>>, Part
390
401
  interface StencilCalciteMeter extends Required<Pick<Meter, 'label'>>, Partial<Pick<Meter, 'appearance' | 'disabled' | 'fillType' | 'form' | 'groupSeparator' | 'high' | 'low' | 'max' | 'min' | 'name' | 'numberingSystem' | 'rangeLabels' | 'rangeLabelType' | 'scale' | 'unitLabel' | 'value' | 'valueLabel' | 'valueLabelType'>>, StencilJsx.HTMLAttributes<HTMLCalciteMeterElement> {
391
402
  }
392
403
 
393
- interface StencilCalciteModal extends Partial<Pick<Modal, 'beforeClose' | 'closeButtonDisabled' | 'docked' | 'escapeDisabled' | 'focusTrapDisabled' | 'fullscreen' | 'kind' | 'messageOverrides' | 'open' | 'outsideCloseDisabled' | 'scale' | 'widthScale'>>, StencilJsx.HTMLAttributes<HTMLCalciteModalElement> {
404
+ interface StencilCalciteModal extends Partial<Pick<Modal, 'beforeClose' | 'closeButtonDisabled' | 'docked' | 'escapeDisabled' | 'focusTrapDisabled' | 'focusTrapOptions' | 'fullscreen' | 'kind' | 'messageOverrides' | 'open' | 'outsideCloseDisabled' | 'scale' | 'widthScale'>>, StencilJsx.HTMLAttributes<HTMLCalciteModalElement> {
394
405
  onCalciteModalBeforeClose?: EventHandler<HTMLCalciteModalElement["calciteModalBeforeClose"]>;
395
406
  onCalciteModalBeforeOpen?: EventHandler<HTMLCalciteModalElement["calciteModalBeforeOpen"]>;
396
407
  onCalciteModalClose?: EventHandler<HTMLCalciteModalElement["calciteModalClose"]>;
@@ -430,7 +441,7 @@ interface StencilCalcitePanel extends Partial<Pick<Panel, 'beforeClose' | 'closa
430
441
  onCalcitePanelToggle?: EventHandler<HTMLCalcitePanelElement["calcitePanelToggle"]>;
431
442
  }
432
443
 
433
- interface StencilCalcitePopover extends Required<Pick<Popover, 'label' | 'referenceElement'>>, Partial<Pick<Popover, 'autoClose' | 'closable' | 'flipDisabled' | 'flipPlacements' | 'focusTrapDisabled' | 'heading' | 'headingLevel' | 'initialFocusTrapFocus' | 'messageOverrides' | 'offsetDistance' | 'offsetSkidding' | 'open' | 'overlayPositioning' | 'placement' | 'pointerDisabled' | 'scale' | 'triggerDisabled'>>, StencilJsx.HTMLAttributes<HTMLCalcitePopoverElement> {
444
+ interface StencilCalcitePopover extends Required<Pick<Popover, 'label' | 'referenceElement'>>, Partial<Pick<Popover, 'autoClose' | 'closable' | 'flipDisabled' | 'flipPlacements' | 'focusTrapDisabled' | 'focusTrapOptions' | 'heading' | 'headingLevel' | 'messageOverrides' | 'offsetDistance' | 'offsetSkidding' | 'open' | 'overlayPositioning' | 'placement' | 'pointerDisabled' | 'scale' | 'triggerDisabled'>>, StencilJsx.HTMLAttributes<HTMLCalcitePopoverElement> {
434
445
  onCalcitePopoverBeforeClose?: EventHandler<HTMLCalcitePopoverElement["calcitePopoverBeforeClose"]>;
435
446
  onCalcitePopoverBeforeOpen?: EventHandler<HTMLCalcitePopoverElement["calcitePopoverBeforeOpen"]>;
436
447
  onCalcitePopoverClose?: EventHandler<HTMLCalcitePopoverElement["calcitePopoverClose"]>;
@@ -466,7 +477,7 @@ interface StencilCalciteSelect extends Required<Pick<Select, 'label'>>, Partial<
466
477
  onCalciteSelectChange?: EventHandler<HTMLCalciteSelectElement["calciteSelectChange"]>;
467
478
  }
468
479
 
469
- interface StencilCalciteSheet extends Required<Pick<Sheet, 'label'>>, Partial<Pick<Sheet, 'beforeClose' | 'displayMode' | 'escapeDisabled' | 'focusTrapDisabled' | 'height' | 'heightScale' | 'messageOverrides' | 'open' | 'outsideCloseDisabled' | 'position' | 'resizable' | 'width' | 'widthScale'>>, StencilJsx.HTMLAttributes<HTMLCalciteSheetElement> {
480
+ interface StencilCalciteSheet extends Required<Pick<Sheet, 'label'>>, Partial<Pick<Sheet, 'beforeClose' | 'displayMode' | 'escapeDisabled' | 'focusTrapDisabled' | 'focusTrapOptions' | 'height' | 'heightScale' | 'messageOverrides' | 'open' | 'outsideCloseDisabled' | 'position' | 'resizable' | 'width' | 'widthScale'>>, StencilJsx.HTMLAttributes<HTMLCalciteSheetElement> {
470
481
  onCalciteSheetBeforeClose?: EventHandler<HTMLCalciteSheetElement["calciteSheetBeforeClose"]>;
471
482
  onCalciteSheetBeforeOpen?: EventHandler<HTMLCalciteSheetElement["calciteSheetBeforeOpen"]>;
472
483
  onCalciteSheetClose?: EventHandler<HTMLCalciteSheetElement["calciteSheetClose"]>;
@@ -551,7 +562,7 @@ interface StencilCalciteTableRow extends Partial<Pick<TableRow, 'alignment' | 'd
551
562
  interface StencilCalciteTabs extends Partial<Pick<Tabs, 'bordered' | 'layout' | 'position' | 'scale'>>, StencilJsx.HTMLAttributes<HTMLCalciteTabsElement> {
552
563
  }
553
564
 
554
- interface StencilCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, StencilJsx.HTMLAttributes<HTMLCalciteTextAreaElement> {
565
+ interface StencilCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'limitText' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, StencilJsx.HTMLAttributes<HTMLCalciteTextAreaElement> {
555
566
  onCalciteTextAreaChange?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaChange"]>;
556
567
  onCalciteTextAreaInput?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaInput"]>;
557
568
  }
@@ -614,6 +625,7 @@ interface ExposedElements {
614
625
  "calcite-autocomplete-item-group": StencilCalciteAutocompleteItemGroup;
615
626
  "calcite-avatar": StencilCalciteAvatar;
616
627
  "calcite-block": StencilCalciteBlock;
628
+ "calcite-block-group": StencilCalciteBlockGroup;
617
629
  "calcite-block-section": StencilCalciteBlockSection;
618
630
  "calcite-button": StencilCalciteButton;
619
631
  "calcite-card": StencilCalciteCard;
@@ -1,5 +1,8 @@
1
1
  import { LitElement } from '@arcgis/lumina';
2
2
  import { Scale } from '../components/interfaces';
3
+ import { ComboboxChildElement } from '../components/calcite-combobox/interfaces';
4
+ import { StepperItem } from '../components/calcite-stepper-item/customElement.js';
5
+ import { TableRow } from '../components/calcite-table-row/customElement.js';
3
6
  export declare function getIconScale(componentScale: Scale): Extract<Scale, "s" | "m">;
4
7
  /**
5
8
  * This utility logs a warning message when a required property is missing.
@@ -13,3 +16,4 @@ export declare function getIconScale(componentScale: Scale): Extract<Scale, "s"
13
16
  * @param deprecatedProp the deprecated property that is required
14
17
  */
15
18
  export declare function warnIfMissingRequiredProp<C extends LitElement>(component: C, newProp: keyof C, deprecatedProp: keyof C): void;
19
+ export declare function isHidden<C extends ComboboxChildElement | HTMLCalciteStepperItemElement | HTMLCalciteTableRowElement>(el: C): boolean;
@@ -5,6 +5,8 @@ export interface FocusTrapComponent {
5
5
  el: HTMLElement;
6
6
  /** When `true`, prevents focus trapping. */
7
7
  focusTrapDisabled?: boolean;
8
+ /** When defined, provides a condition to disable focus trapping. When `true`, prevents focus trapping. */
9
+ focusTrapDisabledOverride?: () => boolean;
8
10
  /** The focus trap instance. */
9
11
  focusTrap: FocusTrap;
10
12
  /**
@@ -28,6 +30,13 @@ interface ConnectFocusTrapOptions {
28
30
  * @param options
29
31
  */
30
32
  export declare function connectFocusTrap(component: FocusTrapComponent, options?: ConnectFocusTrapOptions): void;
33
+ /**
34
+ * Helper to create the FocusTrap options.
35
+ *
36
+ * @param hostEl
37
+ * @param options
38
+ */
39
+ export declare function createFocusTrapOptions(hostEl: HTMLElement, options?: FocusTrapOptions): FocusTrapOptions;
31
40
  /**
32
41
  * Helper to activate the FocusTrap component.
33
42
  *
@@ -2,8 +2,7 @@ import { LitElement } from '@arcgis/lumina';
2
2
  /**
3
3
  * This helper adds support for knowing when a component has been loaded.
4
4
  *
5
- * Related issue: https://github.com/Esri/calcite-design-system/issues/5369
6
- * Could be related to Stencil.js issue: https://github.com/ionic-team/stencil/issues/3580
5
+ * @deprecated this interface is no longer needed, and you can use LitElement.componentOnReady instead
7
6
  *
8
7
  * Implementing
9
8
  *
@@ -18,11 +17,11 @@ import { LitElement } from '@arcgis/lumina';
18
17
  * //
19
18
  * //--------------------------------------------------------------------------
20
19
  *
21
- * componentWillLoad(): void {
20
+ * load(): void {
22
21
  * setUpLoadableComponent(this);
23
22
  * }
24
23
  *
25
- * componentDidLoad(): void {
24
+ * loaded(): void {
26
25
  * setComponentLoaded(this);
27
26
  * }
28
27
  *
@@ -37,82 +36,66 @@ import { LitElement } from '@arcgis/lumina';
37
36
  * }
38
37
  * ```
39
38
  */
40
- export interface LoadableComponent extends LitElement {
41
- /**
42
- * Stencil lifecycle method.
43
- * https://stenciljs.com/docs/component-lifecycle#componentwillload
44
- *
45
- * Called once just after the component is first connected to the DOM. Since this method is only called once, it's a good place to load data asynchronously and to setup the state without triggering extra re-renders.
46
- */
47
- load: () => Promise<void> | void;
48
- /**
49
- * Stencil lifecycle method.
50
- * https://stenciljs.com/docs/component-lifecycle#componentdidload
51
- *
52
- * Called once just after the component is fully loaded and the first render() occurs.
53
- */
54
- loaded: () => Promise<void> | void;
39
+ export interface LoadableComponent {
55
40
  }
56
41
  /**
57
42
  * This helper util sets up the component for the ability to know when the component has been loaded.
58
43
  *
59
- * This should be used in the `componentWillLoad` lifecycle hook.
44
+ * This should be used in the `load` lifecycle hook.
60
45
  *
61
- * ```
62
- * componentWillLoad(): void {
46
+ * @deprecated this method is no longer needed, and you can use LitElement.componentOnReady instead
47
+ *
48
+ * @example
49
+ * load(): void {
63
50
  * setUpLoadableComponent(this);
64
51
  * }
65
- * ```
66
52
  *
67
- * @param component
53
+ * @param _component
68
54
  */
69
- export declare function setUpLoadableComponent(component: LoadableComponent): void;
55
+ export declare function setUpLoadableComponent(_component: LoadableComponent): void;
70
56
  /**
71
57
  * This helper util lets the loadable component know that it is now loaded.
72
58
  *
73
- * This should be used in the `componentDidLoad` lifecycle hook.
59
+ * This should be used in the `loaded` lifecycle hook.
74
60
  *
75
- * ```
76
- * componentDidLoad(): void {
61
+ * @deprecated this method is no longer needed, and you can use LitElement.componentOnReady instead
62
+ *
63
+ * @example
64
+ * loaded(): void {
77
65
  * setComponentLoaded(this);
78
66
  * }
79
- * ```
80
67
  *
81
- * @param component
68
+ * @param _component
82
69
  */
83
- export declare function setComponentLoaded(component: LoadableComponent): void;
70
+ export declare function setComponentLoaded(_component: LoadableComponent): void;
84
71
  /**
85
- * This helper util can be used to ensure a component has been loaded (The "componentDidLoad" Stencil lifecycle method has been called).
86
- *
87
- * Requires requires `LoadableComponent` to be implemented.
72
+ * This helper util can be used to ensure a component has been loaded (The "componentOnReady" lifecycle method has been called).
88
73
  *
89
74
  * A component developer can await this method before proceeding with any logic that requires a component to be loaded first.
90
75
  *
91
- * ```
76
+ * @deprecated use LitElement.componentOnReady instead
77
+ *
78
+ * @example
92
79
  * async myMethod(): Promise<void> {
93
80
  * await componentLoaded(this);
94
81
  * }
95
- * ```
96
82
  *
97
83
  * @param component
98
84
  * @returns Promise<void>
99
85
  */
100
- export declare function componentLoaded(component: LoadableComponent): Promise<void>;
86
+ export declare function componentLoaded(component: LitElement): Promise<void>;
101
87
  /**
102
- * This helper util can be used to ensuring the component is loaded and rendered by the browser (The "componentDidLoad" Stencil lifecycle method has been called and any internal elements are focusable).
103
- *
104
- * Requires `LoadableComponent` to be implemented.
88
+ * This helper util can be used to ensuring the component is loaded and rendered by the browser (The "componentOnReady" lifecycle method has been called and any internal elements are focusable).
105
89
  *
106
90
  * A component developer can await this method before proceeding with any logic that requires a component to be loaded first and then an internal element be focused.
107
91
  *
108
- * ```
92
+ * @example
109
93
  * async setFocus(): Promise<void> {
110
94
  * await componentFocusable(this);
111
95
  * this.internalElement?.focus();
112
96
  * }
113
- * ```
114
97
  *
115
98
  * @param component
116
99
  * @returns Promise<void>
117
100
  */
118
- export declare function componentFocusable(component: LoadableComponent): Promise<void>;
101
+ export declare function componentFocusable(component: LitElement): Promise<void>;
@@ -1,3 +1,4 @@
1
+ import { KebabCase } from 'type-fest';
1
2
  /**
2
3
  * Defines interface for components with open/close public emitter.
3
4
  * All implementations of this interface must handle the following events: `beforeOpen`, `open`, `beforeClose`, `close`.
@@ -5,14 +6,14 @@
5
6
  export interface OpenCloseComponent {
6
7
  /** The host element. */
7
8
  readonly el: HTMLElement;
8
- /** When true, the component opens. */
9
- open?: boolean;
10
- /** When true, the component is open. */
11
- opened?: boolean;
12
- /** Specifies the name of transitionProp. */
13
- transitionProp?: string;
14
- /** Specifies property on which active transition is watched for. */
15
- openTransitionProp: string;
9
+ /**
10
+ * Specifies property on which active transition is watched for.
11
+ *
12
+ * This should be used if the component uses a property other than `open` to trigger a transition.
13
+ */
14
+ openProp?: string;
15
+ /** Specifies the name of CSS transition property. */
16
+ transitionProp?: KebabCase<Extract<keyof CSSStyleDeclaration, string>>;
16
17
  /** Specifies element that the transition is allowed to emit on. */
17
18
  transitionEl: HTMLElement;
18
19
  /** Defines method for `beforeOpen` event handler. */
@@ -25,20 +26,18 @@ export interface OpenCloseComponent {
25
26
  onClose: () => void;
26
27
  }
27
28
  /**
28
- * Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the `@Watch`("open").
29
- * Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
29
+ * This util helps emit (before)open/close events consistently based on the associated CSS transition property.
30
+ *
31
+ * Note: this should be called whenever the component's toggling property changes and would trigger a transition.
30
32
  *
31
33
  * @example
32
34
  * import { onToggleOpenCloseComponent, OpenCloseComponent } from "../../utils/openCloseComponent";
33
35
  *
34
- * async componentWillLoad() {
35
- * // When component initially renders, if `open` was set we need to trigger on load as watcher doesn't fire.
36
- * if (this.open) {
37
- * onToggleOpenCloseComponent(this);
38
- * }
39
- * @Watch ("open")
40
- * async toggleModal(value: boolean): Promise<void> {
41
- * onToggleOpenCloseComponent(this);
36
+ * override willUpdate(changes: PropertyValues<this>): void {
37
+ * if (changes.has("open") && (this.hasUpdated || this.open !== false)) {
38
+ * onToggleOpenCloseComponent(this);
39
+ * }
40
+ * // ...
42
41
  * }
43
42
  * @param component - OpenCloseComponent uses `open` prop to emit (before)open/close.
44
43
  */
@@ -11,6 +11,7 @@ import "../dist/components/calcite-autocomplete-item";
11
11
  import "../dist/components/calcite-autocomplete-item-group";
12
12
  import "../dist/components/calcite-avatar";
13
13
  import "../dist/components/calcite-block";
14
+ import "../dist/components/calcite-block-group";
14
15
  import "../dist/components/calcite-block-section";
15
16
  import "../dist/components/calcite-button";
16
17
  import "../dist/components/calcite-card";
package/hydrate/index.js CHANGED
@@ -11,6 +11,7 @@ import "../dist/components/calcite-autocomplete-item";
11
11
  import "../dist/components/calcite-autocomplete-item-group";
12
12
  import "../dist/components/calcite-avatar";
13
13
  import "../dist/components/calcite-block";
14
+ import "../dist/components/calcite-block-group";
14
15
  import "../dist/components/calcite-block-section";
15
16
  import "../dist/components/calcite-button";
16
17
  import "../dist/components/calcite-card";
package/hydrate/index.mjs CHANGED
@@ -11,6 +11,7 @@ import "../dist/components/calcite-autocomplete-item";
11
11
  import "../dist/components/calcite-autocomplete-item-group";
12
12
  import "../dist/components/calcite-avatar";
13
13
  import "../dist/components/calcite-block";
14
+ import "../dist/components/calcite-block-group";
14
15
  import "../dist/components/calcite-block-section";
15
16
  import "../dist/components/calcite-button";
16
17
  import "../dist/components/calcite-card";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "3.0.0-next.98",
3
+ "version": "3.0.0",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "homepage": "https://developers.arcgis.com/calcite-design-system/",
6
6
  "repository": {
@@ -36,12 +36,12 @@
36
36
  ],
37
37
  "scripts": {
38
38
  "build": "npm run util:prep-build-reqs && vite build",
39
- "postbuild": "npm run util:generate-t9n-docs-json && npm run util:generate-supported-browsers-json && npm run util:clean-readmes && npm run util:copy-legacy-vscode-data",
39
+ "postbuild": "npm run util:generate-t9n-docs-json && npm run util:generate-supported-browsers-json && npm run util:copy-legacy-vscode-data",
40
40
  "build-storybook": "npm run util:prep-build-reqs && NODE_OPTIONS=--openssl-legacy-provider storybook build --output-dir ./docs --quiet",
41
41
  "build:dev": "vite build --mode development",
42
42
  "build:watch": "npm run util:prep-build-reqs && vite --mode production",
43
43
  "build:watch-dev": "npm run util:prep-build-reqs && vite --mode development",
44
- "clean": "npm run util:clean-js-files && npm run util:clean-readmes && rimraf node_modules dist hydrate docs .turbo",
44
+ "clean": "npm run util:clean-js-files && rimraf node_modules dist hydrate docs .turbo",
45
45
  "lint": "concurrently npm:lint:*",
46
46
  "lint:html": "prettier --write \"**/*.html\" >/dev/null",
47
47
  "lint:json": "prettier --write \"**/*.json\" >/dev/null",
@@ -52,11 +52,10 @@
52
52
  "screenshot-tests": "npm run build-storybook",
53
53
  "screenshot-tests:preview": "npm run util:prep-build-reqs && NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_SCREENSHOT_LOCAL_BUILD=true storybook dev",
54
54
  "screenshot-tests:publish": "npm run screenshot-tests && storybook-to-ghpages --existing-output-dir=docs",
55
- "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"trap 'npm run util:clean-js-files' INT TERM EXIT && tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev\"",
55
+ "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"trap 'npm run util:clean-js-files' INT TERM EXIT >/dev/null 2>&1 || true && tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev\"",
56
56
  "test": "vitest run",
57
57
  "test:watch": "vitest",
58
58
  "util:clean-js-files": "rimraf --glob -- *.js {src,.storybook,support}/**/*.js",
59
- "util:clean-readmes": "git restore src/components/*/readme.md",
60
59
  "util:clean-tested-build": "npm ci && npm test && npm run build",
61
60
  "util:copy-legacy-vscode-data": "cpy \"./dist/docs/vscode.html-custom-data.json\" \"./dist/extras/\" --rename=vscode-data.json --flat",
62
61
  "util:copy-assets": "npm run util:copy-icons",
@@ -69,10 +68,10 @@
69
68
  "util:test-types": "! grep -rnw 'dist/types' -e '<reference types='"
70
69
  },
71
70
  "dependencies": {
72
- "@arcgis/components-controllers": "^4.32.0-next.75",
73
- "@arcgis/components-utils": "^4.32.0-next.75",
74
- "@arcgis/lumina": "^4.32.0-next.75",
75
- "@esri/calcite-ui-icons": "4.0.0-next.7",
71
+ "@arcgis/components-controllers": "^4.32.0-next.129",
72
+ "@arcgis/components-utils": "^4.32.0-next.129",
73
+ "@arcgis/lumina": "^4.32.0-next.129",
74
+ "@esri/calcite-ui-icons": "4.0.0",
76
75
  "@floating-ui/dom": "^1.6.12",
77
76
  "@floating-ui/utils": "^0.2.8",
78
77
  "@types/color": "^4.2.0",
@@ -88,8 +87,8 @@
88
87
  "type-fest": "^4.30.1"
89
88
  },
90
89
  "devDependencies": {
91
- "@esri/calcite-design-tokens": "3.0.0-next.7",
92
- "@esri/eslint-plugin-calcite-components": "2.0.0-next.5"
90
+ "@esri/calcite-design-tokens": "3.0.0",
91
+ "@esri/eslint-plugin-calcite-components": "2.0.0"
93
92
  },
94
93
  "volta": {
95
94
  "extends": "../../package.json"
@@ -102,5 +101,5 @@
102
101
  "dist/docs/vscode.html-custom-data.json"
103
102
  ],
104
103
  "web-types": "dist/docs/web-types.json",
105
- "gitHead": "674d2183ac8c2de9da46f93439994773f0c35826"
104
+ "gitHead": "e63242f9ee599ca587df864e4f85545746c1157c"
106
105
  }
package/readme.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)](https://stenciljs.com/)
1
+ [![Built With Lit](https://img.shields.io/badge/Built%20Wit%20Lit-black?style=flat-square&logo=lit&link=https%3A%2F%2Flit.dev%2F)](https://lit.dev/)
2
2
  [![npm package](https://img.shields.io/npm/v/@esri/calcite-components?style=flat-square&color=007AC2)](https://www.npmjs.com/package/@esri/calcite-components)
3
3
  [![minified size](https://img.shields.io/bundlephobia/min/@esri/calcite-components?style=flat-square&color=D83020)](https://bundlephobia.com/package/@esri/calcite-components)
4
4
  [![downloads per month](https://img.shields.io/npm/dm/@esri/calcite-components?style=flat-square&color=35AC46)](https://www.npmjs.com/package/@esri/calcite-components)
@@ -17,12 +17,12 @@ The most common approach for loading Calcite Components is to use the version ho
17
17
  ```html
18
18
  <script
19
19
  type="module"
20
- src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@2.13.2/dist/calcite/calcite.esm.js"
20
+ src="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.0/dist/calcite/calcite.esm.js"
21
21
  ></script>
22
22
  <link
23
23
  rel="stylesheet"
24
24
  type="text/css"
25
- href="https://cdn.jsdelivr.net/npm/@esri/calcite-components@2.13.2/dist/calcite/calcite.css"
25
+ href="https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.0/dist/calcite/calcite.css"
26
26
  />
27
27
  ```
28
28
 
@@ -40,45 +40,7 @@ npm install @esri/calcite-components
40
40
 
41
41
  ### 1. Build
42
42
 
43
- Choose one of the two builds provided by Calcite Components.
44
-
45
- #### Custom Elements
46
-
47
- [Custom Elements](https://stenciljs.com/docs/custom-elements) is the recommended build when leveraging a frontend framework. To use this build, you will need to set the path to Calcite Components' assets. You can either use local assets, which will be explained in a subsequent step, or assets hosted on the CDN.
48
-
49
- ```jsx
50
- import { setAssetPath } from "@esri/calcite-components/dist/components";
51
- // CDN hosted assets
52
- setAssetPath("https://cdn.jsdelivr.net/npm/@esri/calcite-components/dist/calcite/assets");
53
-
54
- // Local assets
55
- // setAssetPath(PATH); // PATH depends on framework, more info below
56
- ```
57
-
58
- Next, you need to import each component you use from the custom elements build. This will automatically define the custom elements on the window.
59
-
60
- ```jsx
61
- import "@esri/calcite-components/dist/components/calcite-button";
62
- import "@esri/calcite-components/dist/components/calcite-icon";
63
- import "@esri/calcite-components/dist/components/calcite-slider";
64
- ```
65
-
66
- #### Distribution
67
-
68
- When using the [Distribution](https://stenciljs.com/docs/distribution) build, you'll need to define the custom elements on the window. You can also choose between local and CDN hosted assets.
69
-
70
- ```jsx
71
- import { defineCustomElements } from "@esri/calcite-components/dist/loader";
72
- // CDN hosted assets
73
- defineCustomElements(window, {
74
- resourcesUrl: "https://cdn.jsdelivr.net/npm/@esri/calcite-components/dist/calcite/assets",
75
- });
76
-
77
- // Local assets
78
- // defineCustomElements(window);
79
- ```
80
-
81
- Since you defined the custom elements on the window, you do not need to import individual components.
43
+ Refer to the [Get started](https://developers.arcgis.com/calcite-design-system/get-started/) page for details on setting up a build.
82
44
 
83
45
  ### 2. Assets
84
46
 
@@ -102,33 +64,7 @@ import "@esri/calcite-components/dist/calcite/calcite.css";
102
64
 
103
65
  ## TypeScript
104
66
 
105
- Stencil provides a full set of typings for all the components in this repo. To make TypeScript aware of these components, just import the library:
106
-
107
- ```ts
108
- import "@esri/calcite-components";
109
- ```
110
-
111
- This will provide autocomplete of component names/properties, as well as additional HTML element types:
112
-
113
- ```ts
114
- // created elements will implicitly have the correct type already
115
- const loader = document.createElement("calcite-loader");
116
- document.body.appendChild(loader);
117
- loader.active = true;
118
-
119
- // you can also explicitly type an element using the generated types
120
- // the type name will always be formatted like HTML{CamelCaseComponentName}Element
121
- const loader = document.querySelector(".my-loader-element") as HTMLCalciteLoaderElement;
122
- loader.active = true;
123
- ```
124
-
125
- ## `@stencil/core` Version
126
-
127
- When using Stencil, make sure the `@stencil/core` version in your project matches the one used by Calcite Components. You may run into type errors if the `@stencil/core` versions are different. You can install the same Stencil version used by `@esri/calcite-components`:
128
-
129
- ```bash
130
- npm install @stencil/core@$(npm view @esri/calcite-components dependencies["@stencil/core"])
131
- ```
67
+ Refer to the [TypeScript section of the Framework integration](https://developers.arcgis.com/calcite-design-system/resources/frameworks/#typescript) resource page for guidance on setting up TypeScript.
132
68
 
133
69
  ## Browser Support
134
70
 
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{a as s,b as o}from"./VUI2CUZB.js";import{a as i}from"./T2I3BMFS.js";import{u as a}from"./UASDTDDX.js";import"./UBUBAUNX.js";import{I as l,d,e as n,v as r,w as e}from"./WWC5WLZF.js";var h=d`:host([disabled]) .content{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, .75rem);padding-block:var(--calcite-stack-padding-block, .5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends r{constructor(){super(...arguments),this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasContentEnd=!1,this.hasContentStart=!1,this.disabled=!1}static{this.properties={hasActionsEnd:16,hasActionsStart:16,hasContentEnd:16,hasContentStart:16,disabled:7}}static{this.styles=h}handleActionsStartSlotChange(t){this.hasActionsStart=a(t)}handleActionsEndSlotChange(t){this.hasActionsEnd=a(t)}handleContentStartSlotChange(t){this.hasContentStart=a(t)}handleContentEndSlotChange(t){this.hasContentEnd=a(t)}renderActionsStart(){let{hasActionsStart:t}=this;return i("actions-start-container",n`<div class=${e(s.actionsStart)} .hidden=${!t}><slot name=${o.actionsStart} @slotchange=${this.handleActionsStartSlotChange}></slot></div>`)}renderActionsEnd(){let{hasActionsEnd:t}=this;return i("actions-end-container",n`<div class=${e(s.actionsEnd)} .hidden=${!t}><slot name=${o.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>`)}renderContentStart(){let{hasContentStart:t}=this;return n`<div class=${e(s.contentStart)} .hidden=${!t}><slot name=${o.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot></div>`}renderDefaultContent(){return n`<div class=${e(s.content)}><slot></slot></div>`}renderContentEnd(){let{hasContentEnd:t}=this;return n`<div class=${e(s.contentEnd)} .hidden=${!t}><slot name=${o.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot></div>`}render(){return n`<div class=${e(s.container)}>${this.renderActionsStart()}${this.renderContentStart()}${this.renderDefaultContent()}${this.renderContentEnd()}${this.renderActionsEnd()}</div>`}};l("calcite-stack",c);export{c as Stack};
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{a as S,b as x}from"./EU3H7BCA.js";import{a as y,b as O}from"./4MHQTNLP.js";import{a as f}from"./SKMMQQJV.js";import{l as v}from"./UASDTDDX.js";import"./UBUBAUNX.js";import{I as u,d as h,e as m,u as b,v as p,w as g}from"./WWC5WLZF.js";var l={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"},E=h`: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}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.dragEnabled=!0,this.items=[],this.mutationObserver=f("mutation",()=>{this.setUpSorting()}),this.disabled=!1,this.handleSelector="calcite-handle",this.layout="vertical",this.loading=!1,this.calciteListOrderChange=b({cancelable:!1}),this.listen("calciteHandleNudge",this.calciteHandleNudgeNextHandler)}static{this.properties={canPull:0,canPut:0,disabled:7,dragSelector:3,group:3,handleSelector:3,layout:3,loading:7}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setUpSorting(),this.beginObserving()}updated(){y(this)}disconnectedCallback(){super.disconnectedCallback(),x(this),this.endObserving()}calciteHandleNudgeNextHandler(e){this.handleNudgeEvent(e)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(e){let{direction:r}=e.detail,t=e.composedPath().find(a=>a.matches(this.handleSelector)),i=this.items.find(a=>a.contains(t)||e.composedPath().includes(a)),c=this.items.length-1,s=this.items.indexOf(i),o=!1,n;r==="up"?s===0?o=!0:n=s-1:s===c?n=0:s===c-1?o=!0:n=s+2,this.endObserving(),o?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[n]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame(()=>v(t)),"selected"in t&&(t.selected=!0)}setUpSorting(){this.items=Array.from(this.el.children),S(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){let{disabled:e,layout:r}=this,t=r==="horizontal"||!1;return O({disabled:e,children:m`<div class=${g({[l.container]:!0,[l.containerVertical]:!t,[l.containerHorizontal]:t})}><slot></slot></div>`})}};u("calcite-sortable-list",d);export{d as SortableList};
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{a as y}from"./SKMMQQJV.js";import{a as A}from"./LJ5WXSCB.js";import{b as f}from"./U7CNRHVY.js";import{v as S,z as l}from"./UASDTDDX.js";import{a as I}from"./UBUBAUNX.js";import{I as v,d as u,e as a,f as b,i as h,u as c,v as g,w as r}from"./WWC5WLZF.js";var p={actionIcon:"action-icon",actionIconStart:"action-icon--start",actionIconEnd:"action-icon--end",actionContainer:"action-container",stepBarContainer:"step-bar-container",singleView:"single-view"},o={stepBar:"step-bar",stepBarActive:"step-bar--active",stepBarComplete:"step-bar--complete",stepBarDisabled:"step-bar--disabled",stepBarError:"step-bar--error",stepBarInActive:"step-bar--inactive"},E=({disabled:d,active:e,complete:t,error:i})=>a`<svg class=${r({[o.stepBar]:!0})}>${b`<rect class=${r({[o.stepBarActive]:e,[o.stepBarComplete]:t,[o.stepBarDisabled]:d,[o.stepBarError]:i,[o.stepBarInActive]:!0})} width=100% x=0 y=0 />`}</svg>`,P=u`:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-action-block-size: 2.75rem;--calcite-internal-stepper-action-inline-size: 2rem;--calcite-internal-step-bar-gap: .25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-action-block-size: 3.25rem;--calcite-internal-stepper-action-inline-size: 2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-action-block-size: 4rem;--calcite-internal-stepper-action-inline-size: 3rem;--calcite-internal-step-bar-gap: .75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:"items" "content";gap:.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, .5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,m=class extends g{constructor(){super(),this.enabledItems=[],this.guid=`calcite-stepper-action-${I()}`,this.itemMap=new Map,this.items=[],this.multipleViewMode=!1,this.mutationObserver=y("mutation",()=>this.updateItems()),this.icon=!1,this.layout="horizontal",this.messages=A(),this.numbered=!1,this.scale="m",this.selectedItem=null,this.calciteInternalStepperItemChange=c({cancelable:!1}),this.calciteStepperChange=c({cancelable:!1}),this.calciteStepperItemChange=c({cancelable:!1}),this.listen("calciteInternalStepperItemKeyEvent",this.calciteInternalStepperItemKeyEvent),this.listen("calciteInternalStepperItemRegister",this.registerItem),this.listen("calciteInternalStepperItemSelect",this.updateItem),this.listen("calciteStepperItemSelect",this.handleItemSelect)}static{this.properties={currentActivePosition:16,icon:7,layout:3,messageOverrides:0,numbered:7,numberingSystem:3,scale:3,selectedItem:0}}static{this.styles=P}async endStep(){let e=this.getEnabledStepIndex(this.items.length-1,"previous");typeof e=="number"&&this.updateStep(e)}async goToStep(e){let t=e-1;this.currentActivePosition!==t&&this.updateStep(t)}async nextStep(){let e=this.getEnabledStepIndex(this.currentActivePosition+1,"next");typeof e=="number"&&this.updateStep(e)}async prevStep(){let e=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");typeof e=="number"&&this.updateStep(e)}async startStep(){let e=this.getEnabledStepIndex(0,"next");typeof e=="number"&&this.updateStep(e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateItems()}willUpdate(e){(e.has("icon")&&(this.hasUpdated||this.icon!==!1)||e.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&(this.updateItems(),this.determineActiveStepper()),e.has("numberingSystem")&&this.setStepperItemNumberingSystem(),e.has("currentActivePosition")&&requestAnimationFrame(()=>{this.determineActiveStepper()})}loaded(){if(typeof this.currentActivePosition!="number"){let e=this.getFirstEnabledStepperPosition();e===0&&(this.currentActivePosition=e),this.calciteInternalStepperItemChange.emit({position:e})}}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}calciteInternalStepperItemKeyEvent(e){let t=e.detail.item,i=e.target;switch(t.key){case"ArrowDown":case"ArrowRight":l(this.enabledItems,i,"next");break;case"ArrowUp":case"ArrowLeft":l(this.enabledItems,i,"previous");break;case"Home":l(this.enabledItems,i,"first");break;case"End":l(this.enabledItems,i,"last");break}e.stopPropagation()}registerItem(e){let t=e.target,{content:i,position:n}=e.detail;this.itemMap.set(t,{position:n,content:i}),this.enabledItems=this.filterItems(),e.stopPropagation()}updateItem(e){let{position:t}=e.detail;typeof t=="number"&&(this.currentActivePosition=t,this.selectedItem=e.target),this.calciteInternalStepperItemChange.emit({position:t})}handleItemSelect(){this.emitItemSelect()}emitItemSelect(){this.calciteStepperItemChange.emit(),this.calciteStepperChange.emit()}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach(e=>{e.icon=this.icon,e.numbered=this.numbered,e.layout=this.layout,e.scale=this.scale})}determineActiveStepper(){let{items:e}=this;if(e.length<2)return;let{currentActivePosition:t,layout:i}=this;this.multipleViewMode=i!=="horizontal-single",e.forEach((n,s)=>{n.hidden=i==="horizontal-single"&&s!==(t||0)})}getEnabledStepIndex(e,t="next"){let{items:i,currentActivePosition:n}=this,s=e;for(;i[s]?.disabled&&this.layout!=="horizontal-single";)s=s+(t==="previous"?-1:1);return s!==n&&s<i.length&&s>=0?s:null}updateStep(e){this.currentActivePosition=e,this.calciteInternalStepperItemChange.emit({position:e})}filterItems(){return this.items.filter(e=>!e.disabled)}setStepperItemNumberingSystem(){this.items.forEach(e=>{e.numberingSystem=this.numberingSystem})}handleActionClick(e){let t=this.currentActivePosition;e.target.getAttribute("data-position")==="start"?this.prevStep():this.nextStep(),typeof this.currentActivePosition=="number"&&t!==this.currentActivePosition&&!this.items[this.currentActivePosition].disabled&&this.emitItemSelect()}getFirstEnabledStepperPosition(){let e=this.items.findIndex(t=>!t.disabled);return e>-1?e:0}setContainerEl(e){this.containerEl=e}handleDefaultSlotChange(e){let t=S(e).filter(n=>n?.tagName==="CALCITE-STEPPER-ITEM");this.items=t;let i=Array(t.length).fill("1fr").join(" ");this.containerEl.style.gridTemplateAreas=i,this.containerEl.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()}render(){return this.el.ariaLabel=this.messages.label,this.el.role="region",a`<div class=${r({container:!0,[p.singleView]:this.layout==="horizontal-single"})} ${f(this.setContainerEl)}>${this.layout==="horizontal-single"&&a`<div class=${r({[p.stepBarContainer]:!0})}>${this.items.map((e,t)=>E({active:t===this.currentActivePosition,complete:e.complete&&t!==this.currentActivePosition&&!e.error,disabled:e.disabled&&t!==this.currentActivePosition,error:e.error&&t!==this.currentActivePosition}))}</div>`||""}${this.layout==="horizontal-single"&&a`<div class=${r({[p.actionContainer]:!0})}>${this.renderAction("start")}${this.renderAction("end")}</div>`||""}<slot @slotchange=${this.handleDefaultSlotChange}></slot></div>`}renderAction(e){let t=e==="start",i=t?"chevron-left":"chevron-right",{currentActivePosition:n,multipleViewMode:s,layout:z}=this,x=this.items.length,C=`${this.guid}-${t?"start":"end"}`;return z==="horizontal-single"&&!s?a`<calcite-action alignment=center appearance=transparent class=${r({[p.actionIcon]:!0})} compact data-position=${e??h} .disabled=${n===0&&t||n===x-1&&!t} .icon=${i} icon-flip-rtl id=${C??h} @click=${this.handleActionClick} .scale=${this.scale} .text=${t?this.messages.previousStep:this.messages.nextStep}></calcite-action>`:null}};v("calcite-stepper",m);export{m as Stepper};
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{b}from"./BXSIT4FA.js";import"./V7O3TS4K.js";import{a as s}from"./T2I3BMFS.js";import{a as m,b as u,d as x}from"./3ISRG7GL.js";import{I as f,d as p,e as t,v,w as o,y as e}from"./WWC5WLZF.js";var i={container:"container",containerLink:"container--link",textContainer:"text-container",heading:"heading",description:"description",image:"image",standalone:"standalone",icon:"icon"},$=p`:host{display:inline-flex}.container{margin:0;display:flex;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;background-color:var(--calcite-navigation-background-color, var(--calcite-internal-navigation-logo-background-color, var(--calcite-color-foreground-1)));border-block-end:2px solid var(--calcite-color-transparent);transition-property:background-color;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.container--link{cursor:pointer;text-decoration-line:none;outline-color:transparent}:host(:focus) .container--link{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))))}.image,.icon{margin:0;display:flex;block-size:1.75rem;padding-inline:1rem;color:var(--calcite-navigation-logo-text-color, var(--calcite-icon-color, var(--calcite-internal-navigation-logo-text-color, inherit)))}.image~.icon{padding-inline-start:0px}.image~.text-container,.icon~.text-container{padding-inline-start:0px}:host([href]:hover),:host([href]:focus){--calcite-internal-navigation-logo-background-color: var(--calcite-color-foreground-2)}:host([href]:active){--calcite-internal-navigation-logo-background-color: var(--calcite-color-foreground-3)}:host([active]) .container{border-block-end-color:var(--calcite-navigation-accent-color, var(--calcite-color-brand))}:host([active]),:host([href]:active){--calcite-internal-navigation-logo-text-color: var(--calcite-color-brand)}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-logo-heading-text-color, var(--calcite-color-text-1))}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-2);color:var(--calcite-navigation-logo-text-color, var(--calcite-color-text-2));font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends v{constructor(){super(...arguments),this.iconFlipRtl=!1}static{this.properties={active:7,description:1,heading:1,headingLevel:11,href:3,icon:3,iconFlipRtl:7,label:1,rel:3,target:3,thumbnail:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=$}async setFocus(){await x(this),this.href&&this.el.focus()}load(){m(this)}loaded(){u(this)}renderIcon(){return t`<calcite-icon class=${o(i.icon)} .flipRtl=${this.iconFlipRtl} .icon=${this.icon} scale=l></calcite-icon>`}renderHeaderContent(){let{heading:n,headingLevel:a,description:r}=this,c=n?s(i.heading,b({class:{[i.heading]:!0,[i.standalone]:!this.description},level:a,children:n})):null,l=r?s(i.description,t`<span class=${o(i.description)}>${r}</span>`):null;return c||l?s(i.textContainer,t`<div class=${o(i.textContainer)}>${c}${l}</div>`):null}render(){let{icon:n,href:a,label:r,rel:c,target:l,thumbnail:g}=this,h=t`${g&&t`<img alt=${(r||"")??e} class=${o(i.image)} src=${g??e}>`||""}${n&&this.renderIcon()||""}${this.renderHeaderContent()}`;return a?t`<a class=${o({[i.container]:!0,[i.containerLink]:!0})} href=${a??e} rel=${c??e} target=${l??e}>${h}</a>`:t`<div class=${o(i.container)}>${h}</div>`}};f("calcite-navigation-logo",d);export{d as NavigationLogo};
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.98
5
- */
6
- import{c as C,e as w,h as $}from"./TMHRMF76.js";import{c as x,d as y,e as z}from"./4YTV42YC.js";import{a as u,b as v}from"./4MHQTNLP.js";import{a as f}from"./RXLZN3RA.js";import{a as d,b as g}from"./U7CNRHVY.js";import{e as b}from"./UASDTDDX.js";import{a as p,b as k,d as m}from"./3ISRG7GL.js";import"./UBUBAUNX.js";import{B as n,I as h,d as c,e as a,f as l,u as t,v as r,w as o,y as i}from"./WWC5WLZF.js";var I={toggle:"toggle",check:"check-svg"},H=c`: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([scale=s]) .check-svg,:host([scale=s]) .toggle{inline-size:var(--calcite-checkbox-size, .75rem);block-size:var(--calcite-checkbox-size, .75rem)}:host([scale=m]) .check-svg,:host([scale=m]) .toggle{inline-size:var(--calcite-checkbox-size, var(--calcite-font-size--1));block-size:var(--calcite-checkbox-size, var(--calcite-font-size--1))}:host([scale=l]) .check-svg,:host([scale=l]) .toggle{inline-size:var(--calcite-checkbox-size, 1rem);block-size:var(--calcite-checkbox-size, 1rem)}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-shadow:inset 0 0 0 1px var(--calcite-checkbox-border-color, var(--calcite-color-border-input));color:var(--calcite-checkbox-icon-color, var(--calcite-color-background))}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-checkbox-border-color-hover, var(--calcite-color-brand))}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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))))}.toggle:after,.toggle:before{inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute}.toggle:not(.calcite--rtl):after{content:"";transform:translate(-50%) translateY(-50%)}.toggle.calcite--rtl:before{content:"";transform:translate(50%) translateY(-50%)}@media (forced-colors: active){.check-svg{border:1px solid currentColor}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::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}`,s=class extends r{constructor(){super(),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.onLabelClick=()=>{this.toggle()},this.toggleEl=d(),this.checked=!1,this.disabled=!1,this.hovered=!1,this.indeterminate=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteCheckboxChange=t({cancelable:!1}),this.calciteInternalCheckboxBlur=t({cancelable:!1}),this.calciteInternalCheckboxFocus=t({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:7,disabled:7,form:3,hovered:7,indeterminate:7,label:1,name:3,required:7,scale:3,status:3,validity:0,value:1}}static{this.styles=H}async setFocus(){await m(this),this.toggleEl.value?.focus()}connectedCallback(){super.connectedCallback(),x(this),C(this)}load(){p(this)}updated(){u(this)}loaded(){k(this)}disconnectedCallback(){super.disconnectedCallback(),y(this),w(this)}syncHiddenFormInput(e){e.type="checkbox"}getPath(){return this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:""}toggle(){this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())}keyDownHandler(e){f(e.key)&&(this.toggle(),e.preventDefault())}clickHandler(){this.toggle()}onToggleBlur(){this.calciteInternalCheckboxBlur.emit(!1)}onToggleFocus(){this.calciteInternalCheckboxFocus.emit(!0)}render(){let e=b(this.el)==="rtl";return v({disabled:this.disabled,children:a`<div .ariaChecked=${this.checked} .ariaLabel=${z(this)} class=${o({[I.toggle]:!0,[n.rtl]:e})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled?void 0:0)??i} ${g(this.toggleEl)}><svg aria-hidden=true class=${o(I.check)} viewBox="0 0 16 16">${l`<path d=${this.getPath()??i} />`}</svg><slot></slot></div>${$({component:this})}`})}};h("calcite-checkbox",s);export{s as Checkbox};