@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
@@ -10,16 +10,14 @@ import { c as I, a as X, d as U, H as q } from "../../chunks/form.js";
10
10
  import { u as j, I as N } from "../../chunks/interactive.js";
11
11
  import { i as G } from "../../chunks/key.js";
12
12
  import { c as K, d as W, g as J } from "../../chunks/label.js";
13
- import { c as Q, s as Y, a as Z } from "../../chunks/loadable.js";
14
- import { n as H, B as ee } from "../../chunks/locale.js";
15
- import { d as S, c as te } from "../../chunks/math.js";
16
- import { u as ae } from "../../chunks/useT9n.js";
17
- import { css as ie } from "@lit/reactive-element/css-tag.js";
18
- /*!
19
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
20
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
21
- * v3.0.0-next.98
22
- */
13
+ import { c as Q } from "../../chunks/loadable.js";
14
+ import { n as H, B as Y } from "../../chunks/locale.js";
15
+ import { d as S, c as Z } from "../../chunks/math.js";
16
+ import { u as ee } from "../../chunks/useT9n.js";
17
+ import { css as te } from "@lit/reactive-element/css-tag.js";
18
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
19
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
20
+ v3.0.0 */
23
21
  const l = {
24
22
  container: "container",
25
23
  containerRange: "container--range",
@@ -49,11 +47,11 @@ const l = {
49
47
  transformed: "transformed"
50
48
  }, D = {
51
49
  validationMessage: "validationMessage"
52
- }, se = 250, le = ie`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: .625rem;--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: .875rem;--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);position:absolute;margin:0;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen:after{content:"\u2014";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;outline-color:transparent;background-color:var(--calcite-slider-handle-fill-color, var(--calcite-color-foreground-1));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{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))))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;border-radius:0;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand))}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:.25rem;inline-size:.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-color-foreground-1));inset-block-start:-2px;pointer-events:none;margin-inline-start:-.125rem}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-slider-graph-color, var(--calcite-color-foreground-3));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
50
+ }, ae = 250, ie = te`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: .625rem;--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: .875rem;--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);position:absolute;margin:0;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen:after{content:"\u2014";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;outline-color:transparent;background-color:var(--calcite-slider-handle-fill-color, var(--calcite-color-foreground-1));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{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))))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;border-radius:0;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand))}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:.25rem;inline-size:.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-color-foreground-1));inset-block-start:-2px;pointer-events:none;margin-inline-start:-.125rem}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-slider-graph-color, var(--calcite-color-foreground-3));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
53
51
  function g(L) {
54
52
  return Array.isArray(L);
55
53
  }
56
- class ne extends F {
54
+ class se extends F {
57
55
  // #endregion
58
56
  // #region Lifecycle
59
57
  constructor() {
@@ -78,7 +76,7 @@ class ne extends F {
78
76
  locale: this.messages._lang,
79
77
  numberingSystem: this.numberingSystem,
80
78
  useGrouping: this.groupSeparator
81
- }, H.localize(e.toString())), this.guid = `calcite-slider-${E()}`, this.messages = ae({ name: null }), this.pointerUpDragEnd = (e) => {
79
+ }, H.localize(e.toString())), this.guid = `calcite-slider-${E()}`, this.messages = ee({ name: null }), this.pointerUpDragEnd = (e) => {
82
80
  this.disabled || !M(e) || this.dragEnd(e);
83
81
  }, this.maxValueDragRange = null, this.minMaxValueRange = null, this.minValueDragRange = null, this.tickValues = [], this.disabled = !1, this.fillPlacement = "start", this.groupSeparator = !1, this.hasHistogram = !1, this.labelHandles = !1, this.labelTicks = !1, this.max = 100, this.min = 0, this.mirrored = !1, this.precise = !1, this.required = !1, this.scale = "m", this.snap = !1, this.status = "idle", this.step = 1, this.validity = {
84
82
  valid: !1,
@@ -101,7 +99,7 @@ class ne extends F {
101
99
  this.shadowRootOptions = { mode: "open", delegatesFocus: !0 };
102
100
  }
103
101
  static {
104
- this.styles = le;
102
+ this.styles = ie;
105
103
  }
106
104
  // #endregion
107
105
  // #region Public Methods
@@ -113,7 +111,7 @@ class ne extends F {
113
111
  super.connectedCallback(), this.setMinMaxFromValue(), this.setValueFromMinMax(), K(this), I(this);
114
112
  }
115
113
  load() {
116
- Y(this), g(this.value) || (this.value = this.snap ? this.getClosestStep(this.value) : this.clamp(this.value)), X(this, this.value);
114
+ g(this.value) || (this.value = this.snap ? this.getClosestStep(this.value) : this.clamp(this.value)), X(this, this.value);
117
115
  }
118
116
  willUpdate(e) {
119
117
  e.has("histogram") && (this.hasHistogram = !!this.histogram), e.has("ticks") && (this.tickValues = this.generateTickValues()), e.has("value") && (this.hasUpdated || this.value !== 0) && this.setMinMaxFromValue(), (e.has("minValue") || e.has("maxValue")) && this.setValueFromMinMax();
@@ -122,7 +120,6 @@ class ne extends F {
122
120
  this.labelHandles && (this.adjustHostObscuredHandleLabel("value"), g(this.value) && (this.adjustHostObscuredHandleLabel("minValue"), this.precise && !this.hasHistogram || this.hyphenateCollidingRangeHandleLabels())), this.hideObscuredBoundingTickLabels(), j(this);
123
121
  }
124
122
  loaded() {
125
- Z(this);
126
123
  }
127
124
  disconnectedCallback() {
128
125
  super.disconnectedCallback(), W(this), U(this), this.removeDragListeners();
@@ -176,7 +173,7 @@ class ne extends F {
176
173
  return g(this.value) ? this.hasHistogram && this.maxValue === 0 || !this.hasHistogram && this.minValue === 0 : !1;
177
174
  }
178
175
  getTickDensity() {
179
- const e = (this.max - this.min) / this.ticks / se;
176
+ const e = (this.max - this.min) / this.ticks / ae;
180
177
  return e < 1 ? 1 : e;
181
178
  }
182
179
  generateTickValues() {
@@ -251,7 +248,7 @@ class ne extends F {
251
248
  * @private
252
249
  */
253
250
  clamp(e, t) {
254
- return e = te(e, this.min, this.max), t === "maxValue" && (e = Math.max(e, this.minValue)), t === "minValue" && (e = Math.min(e, this.maxValue)), e;
251
+ return e = Z(e, this.min, this.max), t === "maxValue" && (e = Math.max(e, this.minValue)), t === "minValue" && (e = Math.min(e, this.maxValue)), e;
255
252
  }
256
253
  /**
257
254
  * Translate a pixel position to value along the range
@@ -270,7 +267,7 @@ class ne extends F {
270
267
  * @private
271
268
  */
272
269
  getClosestStep(e) {
273
- const { max: t, min: i, step: a } = this, s = new ee(`${Math.floor((e - i) / a)}`).multiply(`${a}`).add(`${i}`).toString();
270
+ const { max: t, min: i, step: a } = this, s = new Y(`${Math.floor((e - i) / a)}`).multiply(`${a}`).add(`${i}`).toString();
274
271
  let n = this.clamp(Number(s));
275
272
  return n > t && (n -= a), n;
276
273
  }
@@ -456,7 +453,7 @@ class ne extends F {
456
453
  })}>${this.internalLabelFormatter(e, "tick")}</span>` : null;
457
454
  }
458
455
  }
459
- P("calcite-slider", ne);
456
+ P("calcite-slider", se);
460
457
  export {
461
- ne as Slider
458
+ se as Slider
462
459
  };
@@ -1,58 +1,63 @@
1
- import { c as T } from "../../chunks/runtime.js";
2
- import { ref as P } from "lit-html/directives/ref.js";
1
+ import { c as w } from "../../chunks/runtime.js";
2
+ import { ref as S } from "lit-html/directives/ref.js";
3
3
  import { keyed as l } from "lit-html/directives/keyed.js";
4
- import { html as i, nothing as c } from "lit";
5
- import { LitElement as y, createEvent as a, safeClassMap as m } from "@arcgis/lumina";
6
- import { c as D, s as H, a as C } from "../../chunks/loadable.js";
7
- import { u as I, I as B } from "../../chunks/interactive.js";
8
- import { b as O } from "../../chunks/floating-ui.js";
9
- import { u as E } from "../../chunks/useT9n.js";
10
- import { css as M } from "@lit/reactive-element/css-tag.js";
11
- /*!
12
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
13
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
14
- * v3.0.0-next.98
15
- */
16
- const u = {
4
+ import { html as a, nothing as d } from "lit";
5
+ import { LitElement as $, createEvent as i, safeClassMap as h } from "@arcgis/lumina";
6
+ import { c as v } from "../../chunks/loadable.js";
7
+ import { u as D, I } from "../../chunks/interactive.js";
8
+ import { b as T } from "../../chunks/floating-ui.js";
9
+ import { u as y } from "../../chunks/useT9n.js";
10
+ import { css as P } from "@lit/reactive-element/css-tag.js";
11
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
12
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
13
+ v3.0.0 */
14
+ const m = {
17
15
  handle: "handle",
18
16
  dropdown: "dropdown"
19
- }, f = {
17
+ }, u = {
20
18
  drag: "drag",
21
19
  blank: "blank"
22
- }, p = {
20
+ }, c = {
23
21
  label: "{label}",
24
22
  position: "{position}",
25
23
  total: "{total}"
26
- }, b = ["top", "up", "down", "bottom"], U = M`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
27
- class L extends y {
24
+ }, f = ["top", "up", "down", "bottom"], H = P`: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}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
25
+ class B extends $ {
28
26
  constructor() {
29
- super(...arguments), this.disabled = !1, this.messages = E({ blocking: !0 }), this.moveToItems = [], this.open = !1, this.overlayPositioning = "absolute", this.placement = O, this.scale = "m", this.calciteSortHandleBeforeClose = a({ cancelable: !1 }), this.calciteSortHandleBeforeOpen = a({ cancelable: !1 }), this.calciteSortHandleClose = a({ cancelable: !1 }), this.calciteSortHandleMove = a({ cancelable: !1 }), this.calciteSortHandleOpen = a({ cancelable: !1 }), this.calciteSortHandleReorder = a({ cancelable: !1 });
27
+ super(...arguments), this.disabled = !1, this.messages = y({ blocking: !0 }), this.moveToItems = [], this.open = !1, this.overlayPositioning = "absolute", this.placement = T, this.scale = "m", this.calciteSortHandleBeforeClose = i({ cancelable: !1 }), this.calciteSortHandleBeforeOpen = i({ cancelable: !1 }), this.calciteSortHandleClose = i({ cancelable: !1 }), this.calciteSortHandleMove = i({ cancelable: !1 }), this.calciteSortHandleOpen = i({ cancelable: !1 }), this.calciteSortHandleReorder = i({ cancelable: !1 });
30
28
  }
31
29
  static {
32
- this.properties = { disabled: 7, flipPlacements: 0, label: 1, messageOverrides: 0, messages: 0, moveToItems: 0, open: 7, overlayPositioning: 3, placement: 3, scale: 3, setPosition: 9, setSize: 9, widthScale: 3 };
30
+ this.properties = { hasSetInfo: 16, isSetDisabled: 16, disabled: 7, flipPlacements: 0, label: 1, messageOverrides: 0, messages: 0, moveToItems: 0, open: 7, overlayPositioning: 3, placement: 3, scale: 3, setPosition: 9, setSize: 9, widthScale: 3 };
33
31
  }
34
32
  static {
35
- this.styles = U;
33
+ this.styles = H;
34
+ }
35
+ // #endregion
36
+ // #region State Properties
37
+ get hasSetInfo() {
38
+ return typeof this.setPosition == "number" && typeof this.setSize == "number";
39
+ }
40
+ get isSetDisabled() {
41
+ const { setPosition: e, setSize: t, moveToItems: o } = this;
42
+ return this.hasSetInfo ? e < 1 || t < 1 || t < 2 && o.length < 1 : !1;
36
43
  }
37
44
  // #endregion
38
45
  // #region Public Methods
39
46
  /** Sets focus on the component. */
40
47
  async setFocus() {
41
- await D(this), this.dropdownEl?.setFocus();
48
+ await v(this), this.dropdownEl?.setFocus();
42
49
  }
43
50
  // #endregion
44
51
  // #region Lifecycle
45
52
  async load() {
46
- H(this);
47
53
  }
48
54
  willUpdate(e) {
49
55
  e.has("open") && (this.hasUpdated || this.open !== !1) && this.openHandler();
50
56
  }
51
57
  updated() {
52
- I(this);
58
+ D(this);
53
59
  }
54
60
  loaded() {
55
- C(this);
56
61
  }
57
62
  // #endregion
58
63
  // #region Private Methods
@@ -68,8 +73,10 @@ class L extends y {
68
73
  }
69
74
  getLabel() {
70
75
  const { label: e, messages: t, setPosition: o, setSize: s } = this;
71
- let n = e ? t.repositionLabel.replace(p.label, e) : t.reposition;
72
- return n = n.replace(p.position, o ? o.toString() : ""), n.replace(p.total, s ? s.toString() : "");
76
+ if (!this.hasSetInfo)
77
+ return e ?? "";
78
+ let n = e ? t.repositionLabel.replace(c.label, e) : t.reposition;
79
+ return n = n.replace(c.position, o ? o.toString() : ""), n.replace(c.total, s ? s.toString() : "");
73
80
  }
74
81
  handleBeforeOpen(e) {
75
82
  e.stopPropagation(), this.calciteSortHandleBeforeOpen.emit();
@@ -95,18 +102,21 @@ class L extends y {
95
102
  // #endregion
96
103
  // #region Rendering
97
104
  render() {
98
- const { disabled: e, flipPlacements: t, messages: o, open: s, overlayPositioning: n, placement: g, scale: r, setPosition: w, setSize: h, widthScale: $, moveToItems: S } = this, d = this.getLabel(), v = e || !w || !h || h < 2 && S.length < 1;
99
- return B({ disabled: e, children: i`<calcite-dropdown class=${m(u.dropdown)} .disabled=${v} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${n} .placement=${g} .scale=${r} .widthScale=${$} ${P(this.setDropdownEl)}><calcite-action .active=${s} appearance=transparent class=${m(u.handle)} .dragHandle=${!0} .icon=${e ? f.blank : f.drag} .label=${d} .scale=${r} slot=trigger .text=${d} title=${d ?? c}></calcite-action>${l("reorder", i`<calcite-dropdown-group .groupTitle=${o.reorder} .scale=${r} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`)}${this.renderMoveToGroup()}</calcite-dropdown>` });
105
+ const { disabled: e, flipPlacements: t, open: o, overlayPositioning: s, placement: n, scale: p, widthScale: b } = this, r = this.getLabel(), g = e || this.isSetDisabled;
106
+ return I({ disabled: e, children: a`<calcite-dropdown class=${h(m.dropdown)} .disabled=${g} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${n} .scale=${p} .widthScale=${b} ${S(this.setDropdownEl)}><calcite-action .active=${o} appearance=transparent class=${h(m.handle)} .dragHandle=${!0} .icon=${e ? u.blank : u.drag} .label=${r} .scale=${p} slot=trigger .text=${r} title=${r ?? d}></calcite-action>${this.renderGroup()}${this.renderMoveToGroup()}</calcite-dropdown>` });
100
107
  }
101
108
  renderMoveToItem(e) {
102
- return l(e.id, i`<calcite-dropdown-item data-id=${e.id ?? c} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`);
109
+ return l(e.id, a`<calcite-dropdown-item data-id=${e.id ?? d} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`);
110
+ }
111
+ renderGroup() {
112
+ return this.hasSetInfo ? l("reorder", a`<calcite-dropdown-group .groupTitle=${this.messages.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`) : null;
103
113
  }
104
114
  renderMoveToGroup() {
105
115
  const { messages: e, moveToItems: t, scale: o } = this;
106
- return t.length ? l("move-to-items", i`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map((s) => this.renderMoveToItem(s))}</calcite-dropdown-group>`) : null;
116
+ return t.length ? l("move-to-items", a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map((s) => this.renderMoveToItem(s))}</calcite-dropdown-group>`) : null;
107
117
  }
108
118
  renderDropdownItem(e, t) {
109
- return l(b[e], i`<calcite-dropdown-item data-value=${b[e] ?? c} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`);
119
+ return l(f[e], a`<calcite-dropdown-item data-value=${f[e] ?? d} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`);
110
120
  }
111
121
  renderTop() {
112
122
  const { setPosition: e } = this;
@@ -123,7 +133,7 @@ class L extends y {
123
133
  return e !== t && e !== t - 1 ? this.renderDropdownItem(3, this.messages.moveToBottom) : null;
124
134
  }
125
135
  }
126
- T("calcite-sort-handle", L);
136
+ w("calcite-sort-handle", B);
127
137
  export {
128
- L as SortHandle
138
+ B as SortHandle
129
139
  };
@@ -1,5 +1,5 @@
1
1
  import "../calcite-dropdown/index.js";
2
2
  import "../calcite-action/index.js";
3
- import "../calcite-dropdown-group/index.js";
4
3
  import "../calcite-dropdown-item/index.js";
4
+ import "../calcite-dropdown-group/index.js";
5
5
  export * from "./customElement.js";
@@ -1,5 +1,5 @@
1
1
  import "../calcite-dropdown/index.js";
2
2
  import "../calcite-action/index.js";
3
- import "../calcite-dropdown-group/index.js";
4
3
  import "../calcite-dropdown-item/index.js";
4
+ import "../calcite-dropdown-group/index.js";
5
5
  export * from "./customElement.js";
@@ -5,7 +5,10 @@ import { InteractiveComponent } from '../../utils/interactive';
5
5
  import { Layout } from '../interfaces';
6
6
  import { DragDetail, SortableComponent } from '../../utils/sortableComponent';
7
7
 
8
- /** @slot - A slot for adding sortable items. */
8
+ /**
9
+ * @deprecated Use the `calcite-block-group` component instead.
10
+ * @slot - A slot for adding sortable items.
11
+ */
9
12
  export declare class SortableList extends LitElement {
10
13
  /** When provided, the method will be called to determine whether the element can move from the list. */
11
14
  canPull: (detail: DragDetail) => boolean;
@@ -1,27 +1,25 @@
1
1
  import { c as d } from "../../chunks/runtime.js";
2
2
  import { html as h } from "lit-html";
3
3
  import { LitElement as m, createEvent as b, safeClassMap as u } from "@arcgis/lumina";
4
- import { u as p, I as f } from "../../chunks/interactive.js";
5
- import { c as g } from "../../chunks/observers.js";
4
+ import { u as p, I as g } from "../../chunks/interactive.js";
5
+ import { c as f } from "../../chunks/observers.js";
6
6
  import { d as v, c as y } from "../../chunks/sortableComponent.js";
7
7
  import { b as O } from "../../chunks/dom.js";
8
- import { css as S } from "@lit/reactive-element/css-tag.js";
9
- /*!
10
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
11
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
12
- * v3.0.0-next.98
13
- */
8
+ import { l as S } from "../../chunks/logger.js";
9
+ import { css as x } from "@lit/reactive-element/css-tag.js";
10
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
11
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
12
+ v3.0.0 */
14
13
  const l = {
15
- sortItem: "sort-item",
16
14
  container: "container",
17
15
  containerHorizontal: "container--horizontal",
18
16
  containerVertical: "container--vertical"
19
- }, x = S`: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}`;
20
- class C extends m {
17
+ }, C = x`: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}`;
18
+ class E extends m {
21
19
  // #endregion
22
20
  // #region Lifecycle
23
21
  constructor() {
24
- super(), this.dragEnabled = !0, this.items = [], this.mutationObserver = g("mutation", () => {
22
+ super(), this.dragEnabled = !0, this.items = [], this.mutationObserver = f("mutation", () => {
25
23
  this.setUpSorting();
26
24
  }), this.disabled = !1, this.handleSelector = "calcite-handle", this.layout = "vertical", this.loading = !1, this.calciteListOrderChange = b({ cancelable: !1 }), this.listen("calciteHandleNudge", this.calciteHandleNudgeNextHandler);
27
25
  }
@@ -29,11 +27,18 @@ class C extends m {
29
27
  this.properties = { canPull: 0, canPut: 0, disabled: 7, dragSelector: 3, group: 3, handleSelector: 3, layout: 3, loading: 7 };
30
28
  }
31
29
  static {
32
- this.styles = x;
30
+ this.styles = C;
33
31
  }
34
32
  connectedCallback() {
35
33
  super.connectedCallback(), this.setUpSorting(), this.beginObserving();
36
34
  }
35
+ load() {
36
+ S.deprecated("component", {
37
+ name: "sortable-list",
38
+ removalVersion: 4,
39
+ suggested: "block-group"
40
+ });
41
+ }
37
42
  updated() {
38
43
  p(this);
39
44
  }
@@ -76,14 +81,14 @@ class C extends m {
76
81
  // #region Rendering
77
82
  render() {
78
83
  const { disabled: e, layout: r } = this, t = r === "horizontal" || !1;
79
- return f({ disabled: e, children: h`<div class=${u({
84
+ return g({ disabled: e, children: h`<div class=${u({
80
85
  [l.container]: !0,
81
86
  [l.containerVertical]: !t,
82
87
  [l.containerHorizontal]: t
83
88
  })}><slot></slot></div>` });
84
89
  }
85
90
  }
86
- d("calcite-sortable-list", C);
91
+ d("calcite-sortable-list", E);
87
92
  export {
88
- C as SortableList
93
+ E as SortableList
89
94
  };
@@ -2,23 +2,18 @@ import { c as n } from "../../chunks/runtime.js";
2
2
  import { html as o } from "lit-html";
3
3
  import { LitElement as r, createEvent as e, safeClassMap as t } from "@arcgis/lumina";
4
4
  import { u as l, I as c } from "../../chunks/interactive.js";
5
- import { c as s, s as d, a as p } from "../../chunks/loadable.js";
6
- import { h } from "../../chunks/dom.js";
7
- import { css as u } from "@lit/reactive-element/css-tag.js";
8
- /*!
9
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
10
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
11
- * v3.0.0-next.98
12
- */
5
+ import { c as s } from "../../chunks/loadable.js";
6
+ import { h as d } from "../../chunks/dom.js";
7
+ import { css as p } from "@lit/reactive-element/css-tag.js";
8
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ v3.0.0 */
13
11
  const i = {
14
12
  container: "container",
15
13
  dividerContainer: "divider-container",
16
- divider: "divider",
17
- widthAuto: "width-auto",
18
- widthHalf: "width-half",
19
- widthFull: "width-full"
20
- }, b = u`: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:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-background: var(--calcite-color-brand);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-background: var(--calcite-color-status-danger);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-background: var(--calcite-color-foreground-3);--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-inverse);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-background: transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-background: transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;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;background-color:var(--calcite-internal-split-button-background)}.divider{margin-block:.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
21
- class v extends r {
14
+ divider: "divider"
15
+ }, h = p`: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:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-background: var(--calcite-color-brand);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=danger]){--calcite-internal-split-button-background: var(--calcite-color-status-danger);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([kind=neutral]){--calcite-internal-split-button-background: var(--calcite-color-foreground-3);--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-inverse);--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=transparent]){--calcite-internal-split-button-background: transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-background: transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-background: var(--calcite-color-background)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider: var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider: var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{display:flex;inline-size:1px;align-items:stretch;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;background-color:var(--calcite-internal-split-button-background)}.divider{margin-block:.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider: var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-color-background)}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
16
+ class u extends r {
22
17
  constructor() {
23
18
  super(...arguments), this.active = !1, this.appearance = "solid", this.disabled = !1, this.dropdownIconType = "chevron", this.kind = "brand", this.loading = !1, this.overlayPositioning = "absolute", this.placement = "bottom-end", this.scale = "m", this.width = "auto", this.calciteSplitButtonPrimaryClick = e({ cancelable: !1 }), this.calciteSplitButtonSecondaryClick = e({ cancelable: !1 });
24
19
  }
@@ -29,7 +24,7 @@ class v extends r {
29
24
  this.shadowRootOptions = { mode: "open", delegatesFocus: !0 };
30
25
  }
31
26
  static {
32
- this.styles = b;
27
+ this.styles = h;
33
28
  }
34
29
  // #endregion
35
30
  // #region Private Properties
@@ -40,18 +35,16 @@ class v extends r {
40
35
  // #region Public Methods
41
36
  /** Sets focus on the component's first focusable element. */
42
37
  async setFocus() {
43
- await s(this), h(this.el);
38
+ await s(this), d(this.el);
44
39
  }
45
40
  // #endregion
46
41
  // #region Lifecycle
47
42
  load() {
48
- d(this);
49
43
  }
50
44
  updated() {
51
45
  l(this);
52
46
  }
53
47
  loaded() {
54
- p(this);
55
48
  }
56
49
  // #endregion
57
50
  // #region Private Methods
@@ -68,7 +61,7 @@ class v extends r {
68
61
  return c({ disabled: this.disabled, children: o`<div class=${t(i.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconEnd=${this.primaryIconEnd ? this.primaryIconEnd : null} .iconFlipRtl=${this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null} .iconStart=${this.primaryIconStart ? this.primaryIconStart : null} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .scale=${this.scale} split-child=primary type=button .width=${a}>${this.primaryText}</calcite-button><div class=${t(i.dividerContainer)}><div class=${t(i.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .widthScale=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=trigger split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>` });
69
62
  }
70
63
  }
71
- n("calcite-split-button", v);
64
+ n("calcite-split-button", u);
72
65
  export {
73
- v as SplitButton
66
+ u as SplitButton
74
67
  };
@@ -3,13 +3,11 @@ import { html as n } from "lit-html";
3
3
  import { keyed as i } from "lit-html/directives/keyed.js";
4
4
  import { LitElement as l, safeClassMap as e } from "@arcgis/lumina";
5
5
  import { a } from "../../chunks/dom.js";
6
- import { C as s, S as o } from "../../chunks/resources.js";
6
+ import { S as o, C as s } from "../../chunks/resources.js";
7
7
  import { css as d } from "@lit/reactive-element/css-tag.js";
8
- /*!
9
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
10
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
11
- * v3.0.0-next.98
12
- */
8
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
+ v3.0.0 */
13
11
  const r = 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}`;
14
12
  class h extends l {
15
13
  constructor() {