@esri/calcite-components 5.0.0-next.86 → 5.0.0-next.87

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 (368) hide show
  1. package/dist/cdn/{KJHHU73B.js → 2373KWAB.js} +1 -1
  2. package/dist/cdn/2BP6BLXE.js +4 -0
  3. package/dist/cdn/{2NDNB5KH.js → 2CVEU3XG.js} +2 -2
  4. package/dist/cdn/{D3RZQWBA.js → 2E52E2XD.js} +2 -2
  5. package/dist/cdn/{HTF2JIW2.js → 2M6IDYFI.js} +2 -2
  6. package/dist/cdn/{MM5RJ37O.js → 2PDSRXA2.js} +2 -2
  7. package/dist/cdn/{BPMHVCV2.js → 2TINODZO.js} +1 -1
  8. package/dist/cdn/{EQAOU3A7.js → 3HJULOLL.js} +1 -1
  9. package/dist/cdn/{LPCVYKLE.js → 3JHCVZKV.js} +1 -1
  10. package/dist/cdn/{4YDOGNCB.js → 4VHFYS2N.js} +2 -2
  11. package/dist/cdn/{MQR23NC7.js → 4XQBGWC4.js} +2 -2
  12. package/dist/cdn/{M2OQVEFA.js → 53GF2726.js} +2 -2
  13. package/dist/cdn/{IGUQVDMG.js → 5ZIFEQC6.js} +1 -1
  14. package/dist/cdn/{4IRTN23G.js → 62PHRYRK.js} +2 -2
  15. package/dist/cdn/{GH3OBJBY.js → 675KV4NT.js} +2 -2
  16. package/dist/cdn/{JHOPF723.js → 6G5MG4J5.js} +2 -2
  17. package/dist/cdn/{CB4TKLJV.js → 6KKNQH27.js} +2 -2
  18. package/dist/cdn/{SXRV3RIK.js → 6NK6CMGD.js} +1 -1
  19. package/dist/cdn/{XGGNP6H5.js → 6TATRIPH.js} +2 -2
  20. package/dist/cdn/{DDZ4I2DA.js → 762EZOD4.js} +2 -2
  21. package/dist/cdn/{JY6HDRMX.js → 7BSOLPG3.js} +2 -2
  22. package/dist/cdn/{KCWYN4MG.js → 7ENJYNFM.js} +2 -2
  23. package/dist/cdn/{6AIPNFS6.js → 7LCNPXWB.js} +2 -2
  24. package/dist/cdn/{WO5BT3M7.js → 7NYBX7QN.js} +2 -2
  25. package/dist/cdn/{MHU64UOV.js → 7Z3A3D47.js} +2 -2
  26. package/dist/cdn/{MDTMHCRJ.js → A2VDENNK.js} +2 -2
  27. package/dist/cdn/{C534KEBU.js → A3XRA242.js} +1 -1
  28. package/dist/cdn/ACMYB2Y4.js +4 -0
  29. package/dist/cdn/{AXEHK3LE.js → AHF5ZIKF.js} +2 -2
  30. package/dist/cdn/{TQGB6WJH.js → ANNAI5HC.js} +2 -2
  31. package/dist/cdn/{5SSAX7QY.js → ASB7RDT3.js} +2 -2
  32. package/dist/cdn/{265LZPSS.js → BGC52DWT.js} +2 -2
  33. package/dist/cdn/{WTZ5ELSG.js → BKQDHYCI.js} +2 -2
  34. package/dist/cdn/{IA2VWER5.js → BMCHKZIE.js} +2 -2
  35. package/dist/cdn/{K7EIX6OB.js → BN6UYQFA.js} +1 -1
  36. package/dist/cdn/{OR6ON54D.js → BNQBOVT3.js} +2 -2
  37. package/dist/cdn/{D6TJWYOO.js → BO4KTOLS.js} +2 -2
  38. package/dist/cdn/{3YPGTT6K.js → BUQT5SDS.js} +2 -2
  39. package/dist/cdn/{UUJIFHR3.js → BZTG4JWV.js} +1 -1
  40. package/dist/cdn/{7OSYB6BP.js → CCAJNDCR.js} +2 -2
  41. package/dist/cdn/{SVR27ET5.js → CGJRNNIG.js} +2 -2
  42. package/dist/cdn/{SDJV7PMH.js → CJ7COVTK.js} +2 -2
  43. package/dist/cdn/{D7ZOWYKB.js → CJVIXIAR.js} +2 -2
  44. package/dist/cdn/{CPLX2NNO.js → CKIVMGPI.js} +2 -2
  45. package/dist/cdn/{4N7GGDYF.js → CLVQWMUR.js} +1 -1
  46. package/dist/cdn/{BBGEPDDE.js → CM5BTKGZ.js} +2 -2
  47. package/dist/cdn/{B23BUOQP.js → CRJARPLV.js} +2 -2
  48. package/dist/cdn/{4WQZM2DO.js → D6Z24UHJ.js} +2 -2
  49. package/dist/cdn/{CFOCSPSL.js → DBJV3ZRM.js} +2 -2
  50. package/dist/cdn/{YUHCAPQZ.js → DEBBJWGT.js} +2 -2
  51. package/dist/cdn/{PTZGOVXI.js → DOYNR2C7.js} +2 -2
  52. package/dist/cdn/{3TBNQFN2.js → DWNAOLPK.js} +2 -2
  53. package/dist/cdn/{LAPF2X2D.js → DXGG2NVB.js} +2 -2
  54. package/dist/cdn/{66L4L6CO.js → EL4ISQBT.js} +2 -2
  55. package/dist/cdn/{MQKJIHCG.js → EMFXFFZO.js} +2 -2
  56. package/dist/cdn/{VEJ7VUSN.js → EOIDFHKZ.js} +2 -2
  57. package/dist/cdn/{WRXXJYTS.js → ETKS4GFU.js} +2 -2
  58. package/dist/cdn/{7RLSNUNU.js → F2LU5FFY.js} +2 -2
  59. package/dist/cdn/{6SQ3FVMJ.js → FHJ2ZW2X.js} +2 -2
  60. package/dist/cdn/{I4OZL7RR.js → FJI34RLX.js} +2 -2
  61. package/dist/cdn/{PE4FJDWY.js → FLHMUXA7.js} +2 -2
  62. package/dist/cdn/{VCTG3II6.js → FP3AQDXE.js} +2 -2
  63. package/dist/cdn/{X3DPELVQ.js → FTHDTQ7R.js} +2 -2
  64. package/dist/cdn/{GZ6OZTTY.js → FUQPVSBJ.js} +2 -2
  65. package/dist/cdn/{SVXLZBGE.js → FZ2HAWSN.js} +1 -1
  66. package/dist/cdn/{RLV3NTMY.js → G472KXFV.js} +2 -2
  67. package/dist/cdn/{KKFNPVKR.js → G67SWKSH.js} +2 -2
  68. package/dist/cdn/{JGE77A6R.js → GM7AV7GT.js} +2 -2
  69. package/dist/cdn/{HXPW2KQ5.js → GRHBCDBJ.js} +2 -2
  70. package/dist/cdn/{BXHZLH5C.js → HEN6TLWE.js} +2 -2
  71. package/dist/cdn/{SPHA7ZGV.js → HHGYFBTU.js} +2 -2
  72. package/dist/cdn/{X67ED5ZX.js → HWLX45HO.js} +2 -2
  73. package/dist/cdn/{5XN3Y3V4.js → I5LZMOLV.js} +2 -2
  74. package/dist/cdn/{XFMJXJ4G.js → I5VPOQ2E.js} +2 -2
  75. package/dist/cdn/{PAK22M5C.js → I63XVPPV.js} +2 -2
  76. package/dist/cdn/{CPPPO7DD.js → IAEVGJGS.js} +2 -2
  77. package/dist/cdn/{7CZDVZBA.js → IHLPBSOI.js} +2 -2
  78. package/dist/cdn/{BDQGAMWA.js → IUO5JY2U.js} +2 -2
  79. package/dist/cdn/{GGC5MM77.js → IUSYKFYV.js} +2 -2
  80. package/dist/cdn/{IEHHI67O.js → J6W654FU.js} +2 -2
  81. package/dist/cdn/{WYVGACIJ.js → JAMARNOH.js} +2 -2
  82. package/dist/cdn/{LNNXYZGH.js → JH66HV3W.js} +2 -2
  83. package/dist/cdn/{IW2PABZ2.js → JOR6WREK.js} +1 -1
  84. package/dist/cdn/{5N4TM6IC.js → JPXSPVYE.js} +2 -2
  85. package/dist/cdn/JTH6OSFN.js +4 -0
  86. package/dist/cdn/{T562VRPK.js → JUSNPECD.js} +2 -2
  87. package/dist/cdn/{ALIWLWXW.js → JXAEEG7Q.js} +2 -2
  88. package/dist/cdn/{GI2NJ4HI.js → JYUPGREB.js} +2 -2
  89. package/dist/cdn/{GFCCAASY.js → K6FFKO7B.js} +1 -1
  90. package/dist/cdn/{BJ3BSHB7.js → KPXHO532.js} +2 -2
  91. package/dist/cdn/{HG7EWFXA.js → L462GUQB.js} +2 -2
  92. package/dist/cdn/{MUNMMTPD.js → L74AE7QX.js} +1 -1
  93. package/dist/cdn/{BJYROWVL.js → LBD5YCK5.js} +2 -2
  94. package/dist/cdn/{RTQ52OFV.js → LJLPNSN7.js} +2 -2
  95. package/dist/cdn/{PQYZJA3V.js → LQD5ZJCA.js} +2 -2
  96. package/dist/cdn/{UMBUQSG7.js → M4RFCDAT.js} +2 -2
  97. package/dist/cdn/{WTXBPSHB.js → M56FQL6E.js} +2 -2
  98. package/dist/cdn/{R25RK4LC.js → M7ZBNZBE.js} +2 -2
  99. package/dist/cdn/{OLSTY4QA.js → MBPARYRC.js} +1 -1
  100. package/dist/cdn/{I2H4EA7W.js → MCDXYBZV.js} +2 -2
  101. package/dist/cdn/{F3BZUVQS.js → MDACFJSU.js} +2 -2
  102. package/dist/cdn/{CYSLJACL.js → MGQ4FNCS.js} +1 -1
  103. package/dist/cdn/{OOZPOQPU.js → MMBMHBNA.js} +2 -2
  104. package/dist/cdn/{QD6UQOR5.js → MQR3G6IA.js} +1 -1
  105. package/dist/cdn/{OBTAW3FT.js → MQSY66K5.js} +2 -2
  106. package/dist/cdn/{XXJGFNWJ.js → MUICCZRB.js} +2 -2
  107. package/dist/cdn/{YE2IEAVJ.js → MUM4JXPS.js} +2 -2
  108. package/dist/cdn/{MTCFDW63.js → MWD2JVSH.js} +2 -2
  109. package/dist/cdn/{TMERZAGC.js → NG3RGK4W.js} +2 -2
  110. package/dist/cdn/{TXGMUILM.js → NJ47ZQGP.js} +2 -2
  111. package/dist/cdn/{3QUHWKWI.js → NJIXK2AF.js} +2 -2
  112. package/dist/cdn/{ELPVYVTD.js → NPKY33F4.js} +1 -1
  113. package/dist/cdn/{JJNZESCC.js → NTGXQF4E.js} +2 -2
  114. package/dist/cdn/{USVGIGD2.js → OBONLOSH.js} +2 -2
  115. package/dist/cdn/{LZXYJ3BV.js → OEKM57QU.js} +2 -2
  116. package/dist/cdn/{N42SIHEY.js → P7HJT2YJ.js} +2 -2
  117. package/dist/cdn/PCJKGEWM.js +4 -0
  118. package/dist/cdn/{I7M2FNP2.js → PJMG7A37.js} +2 -2
  119. package/dist/cdn/{CQGYPSEK.js → PK7RJYVG.js} +2 -2
  120. package/dist/cdn/{CGB4W7AQ.js → PX7V7KJW.js} +1 -1
  121. package/dist/cdn/{3YE26UGT.js → Q3AIXMTM.js} +2 -2
  122. package/dist/cdn/{7UABX7SR.js → QFXQZ3YE.js} +1 -1
  123. package/dist/cdn/{LPTXS5CC.js → QVZZYGTP.js} +2 -2
  124. package/dist/cdn/{XPLKFVPY.js → QXLCWWSJ.js} +2 -2
  125. package/dist/cdn/{QNFGMZYR.js → QXLXXMTX.js} +2 -2
  126. package/dist/cdn/{HNIKUPY3.js → QYUIKN7M.js} +2 -2
  127. package/dist/cdn/{R2N5YMIX.js → R62HOHPD.js} +2 -2
  128. package/dist/cdn/{NPM4KIF4.js → RB5CIMLJ.js} +1 -1
  129. package/dist/cdn/{ZQKVMXYU.js → RFHUJRBJ.js} +2 -2
  130. package/dist/cdn/{LUMK2N7N.js → RM332DU4.js} +2 -2
  131. package/dist/cdn/{7HU3UQ3T.js → RN7QPOEM.js} +2 -2
  132. package/dist/cdn/{G6WKZFLJ.js → RNNSEBWK.js} +2 -2
  133. package/dist/cdn/{SKGO6HLV.js → RWDL4YMA.js} +2 -2
  134. package/dist/cdn/{MWMPO4JF.js → RWESR4HM.js} +2 -2
  135. package/dist/cdn/{YB2FTLLM.js → RXGXWGF6.js} +2 -2
  136. package/dist/cdn/{GR5AFKI5.js → RYFTXAFF.js} +2 -2
  137. package/dist/cdn/{HKLMBQOB.js → S27SB57X.js} +1 -1
  138. package/dist/cdn/{XB7RQ3KO.js → SCOK7CS6.js} +2 -2
  139. package/dist/cdn/{HNKPDR4V.js → SNQUXCX5.js} +2 -2
  140. package/dist/cdn/{PVPMLCXY.js → SR5B42CR.js} +2 -2
  141. package/dist/cdn/{WKTY2TT3.js → ST2S34A2.js} +2 -2
  142. package/dist/cdn/{OUB2G64Q.js → SUKQQERE.js} +2 -2
  143. package/dist/cdn/{KPDT5CVJ.js → T7RSW33W.js} +2 -2
  144. package/dist/cdn/{MBL643OF.js → TGXNBQOP.js} +2 -2
  145. package/dist/cdn/{7JOJIZSP.js → TOMFRF2X.js} +2 -2
  146. package/dist/cdn/{2ZBLUFKN.js → TTPNFJ77.js} +2 -2
  147. package/dist/cdn/{4F36ERWD.js → UK6CGDP2.js} +1 -1
  148. package/dist/cdn/{H4NQV5OF.js → VAA6CHBC.js} +2 -2
  149. package/dist/cdn/{IIC64NTV.js → VALDCRK4.js} +2 -2
  150. package/dist/cdn/{7VOFORAF.js → VFH436WI.js} +2 -2
  151. package/dist/cdn/{YB3DFN4R.js → VJNFDN7J.js} +2 -2
  152. package/dist/cdn/{XQZSRN5A.js → VTMOMR6V.js} +2 -2
  153. package/dist/cdn/{4LUNXMA2.js → VUQFYBOI.js} +2 -2
  154. package/dist/cdn/{UFMOJ6BP.js → VVOMB767.js} +2 -2
  155. package/dist/cdn/{KAXTRCIT.js → W5EBMJNX.js} +2 -2
  156. package/dist/cdn/{UTOVKWT3.js → WG5O3ZBW.js} +2 -2
  157. package/dist/cdn/{DVCMEWZ3.js → WGJPLV3F.js} +2 -2
  158. package/dist/cdn/{ETNO4FCO.js → WOV25ALO.js} +2 -2
  159. package/dist/cdn/{XB3BMWQA.js → WR2AQ3LN.js} +1 -1
  160. package/dist/cdn/{7ET55HJN.js → WW6KTWOJ.js} +2 -2
  161. package/dist/cdn/{IDWLI73G.js → X4VMAEW3.js} +2 -2
  162. package/dist/cdn/{VPKGL5MV.js → X4ZO5XM3.js} +2 -2
  163. package/dist/cdn/{DVE2UKPP.js → XGA7N2M7.js} +2 -2
  164. package/dist/cdn/{7O3B34IO.js → XLB6FOH7.js} +2 -2
  165. package/dist/cdn/{XTQB7RP2.js → XMKBJKN3.js} +2 -2
  166. package/dist/cdn/{AHYGUJFY.js → XPXFDYHQ.js} +2 -2
  167. package/dist/cdn/{GXZLMJNC.js → XQJZC57J.js} +2 -2
  168. package/dist/cdn/{DF4OPPSM.js → YHNC5RLP.js} +2 -2
  169. package/dist/cdn/{K7NS2AMX.js → YQFDBASD.js} +2 -2
  170. package/dist/cdn/{FAWC2LXX.js → YZGVMUFJ.js} +2 -2
  171. package/dist/cdn/{75WBKLAF.js → Z457CNLY.js} +2 -2
  172. package/dist/cdn/{5ONVNF6P.js → ZAO3RUBN.js} +2 -2
  173. package/dist/cdn/{UFARZ6LX.js → ZJYQKA6J.js} +1 -1
  174. package/dist/cdn/{NQA37JEY.js → ZQ3XD7ZO.js} +2 -2
  175. package/dist/cdn/ZQAWPMUQ.js +4 -0
  176. package/dist/cdn/index.js +2 -2
  177. package/dist/chunks/ExpandToggle.js +1 -1
  178. package/dist/chunks/FloatingArrow.js +1 -1
  179. package/dist/chunks/Heading.js +1 -1
  180. package/dist/chunks/InternalLabel.js +1 -1
  181. package/dist/chunks/Validation.js +1 -1
  182. package/dist/chunks/array.js +1 -1
  183. package/dist/chunks/component.js +1 -1
  184. package/dist/chunks/core.js +1 -1
  185. package/dist/chunks/date.js +1 -1
  186. package/dist/chunks/dom.js +1 -1
  187. package/dist/chunks/dynamicClasses.js +1 -1
  188. package/dist/chunks/filter.js +1 -1
  189. package/dist/chunks/floating-ui.js +1 -1
  190. package/dist/chunks/form.js +1 -1
  191. package/dist/chunks/global.js +1 -1
  192. package/dist/chunks/guid.js +1 -1
  193. package/dist/chunks/header.js +1 -1
  194. package/dist/chunks/input.js +1 -1
  195. package/dist/chunks/key.js +1 -1
  196. package/dist/chunks/label.js +1 -1
  197. package/dist/chunks/locale.js +1 -1
  198. package/dist/chunks/logger.js +1 -1
  199. package/dist/chunks/math.js +1 -1
  200. package/dist/chunks/observers.js +1 -1
  201. package/dist/chunks/openCloseComponent.js +1 -1
  202. package/dist/chunks/resources.js +1 -1
  203. package/dist/chunks/resources2.js +1 -1
  204. package/dist/chunks/resources3.js +1 -1
  205. package/dist/chunks/resources4.js +1 -1
  206. package/dist/chunks/resources5.js +1 -1
  207. package/dist/chunks/resources6.js +1 -1
  208. package/dist/chunks/resources7.js +1 -1
  209. package/dist/chunks/resources8.js +1 -1
  210. package/dist/chunks/resources9.js +1 -1
  211. package/dist/chunks/responsive.js +1 -1
  212. package/dist/chunks/runtime.js +5 -5
  213. package/dist/chunks/sortable.js +1 -1
  214. package/dist/chunks/sortableComponent.js +1 -1
  215. package/dist/chunks/text.js +1 -1
  216. package/dist/chunks/useCancelable.js +1 -1
  217. package/dist/chunks/useFocusTrap.js +1 -1
  218. package/dist/chunks/useInteractive.js +1 -1
  219. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  220. package/dist/chunks/useSetFocus.js +1 -1
  221. package/dist/chunks/{interact.min.js → useSizeOverride.js} +58 -2
  222. package/dist/chunks/useT9n.js +1 -1
  223. package/dist/chunks/useTime.js +1 -1
  224. package/dist/chunks/useTopLayer.js +1 -1
  225. package/dist/chunks/utils.js +1 -1
  226. package/dist/chunks/utils2.js +1 -1
  227. package/dist/chunks/utils3.js +1 -1
  228. package/dist/chunks/utils4.js +1 -1
  229. package/dist/components/calcite-accordion/customElement.js +1 -1
  230. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  231. package/dist/components/calcite-action/customElement.d.ts +1 -1
  232. package/dist/components/calcite-action/customElement.js +1 -1
  233. package/dist/components/calcite-action-bar/customElement.d.ts +0 -9
  234. package/dist/components/calcite-action-bar/customElement.js +3 -4
  235. package/dist/components/calcite-action-group/customElement.js +1 -1
  236. package/dist/components/calcite-action-menu/customElement.js +1 -1
  237. package/dist/components/calcite-action-pad/customElement.d.ts +0 -9
  238. package/dist/components/calcite-action-pad/customElement.js +3 -4
  239. package/dist/components/calcite-alert/customElement.js +1 -1
  240. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  241. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  242. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  243. package/dist/components/calcite-avatar/customElement.js +1 -1
  244. package/dist/components/calcite-block/customElement.js +1 -1
  245. package/dist/components/calcite-block-group/customElement.js +1 -1
  246. package/dist/components/calcite-block-section/customElement.js +1 -1
  247. package/dist/components/calcite-button/customElement.js +1 -1
  248. package/dist/components/calcite-card/customElement.js +1 -1
  249. package/dist/components/calcite-card-group/customElement.js +1 -1
  250. package/dist/components/calcite-carousel/customElement.js +1 -1
  251. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  252. package/dist/components/calcite-checkbox/customElement.js +1 -1
  253. package/dist/components/calcite-chip/customElement.js +1 -1
  254. package/dist/components/calcite-chip-group/customElement.js +1 -1
  255. package/dist/components/calcite-color-picker/customElement.js +1 -1
  256. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  257. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  258. package/dist/components/calcite-combobox/customElement.d.ts +12 -12
  259. package/dist/components/calcite-combobox/customElement.js +1 -1
  260. package/dist/components/calcite-combobox-item/customElement.d.ts +7 -7
  261. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  262. package/dist/components/calcite-combobox-item-group/customElement.d.ts +3 -3
  263. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  264. package/dist/components/calcite-date-picker/customElement.js +1 -1
  265. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  266. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  267. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  268. package/dist/components/calcite-dialog/customElement.d.ts +12 -0
  269. package/dist/components/calcite-dialog/customElement.js +60 -31
  270. package/dist/components/calcite-dropdown/customElement.js +1 -1
  271. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  272. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  273. package/dist/components/calcite-fab/customElement.js +1 -1
  274. package/dist/components/calcite-filter/customElement.js +1 -1
  275. package/dist/components/calcite-flow/customElement.js +1 -1
  276. package/dist/components/calcite-flow-item/customElement.js +1 -1
  277. package/dist/components/calcite-graph/customElement.js +1 -1
  278. package/dist/components/calcite-handle/customElement.js +1 -1
  279. package/dist/components/calcite-icon/customElement.d.ts +4 -4
  280. package/dist/components/calcite-icon/customElement.js +1 -1
  281. package/dist/components/calcite-inline-editable/customElement.d.ts +9 -9
  282. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  283. package/dist/components/calcite-input/customElement.d.ts +25 -27
  284. package/dist/components/calcite-input/customElement.js +1 -1
  285. package/dist/components/calcite-input-date-picker/customElement.d.ts +32 -32
  286. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  287. package/dist/components/calcite-input-message/customElement.d.ts +3 -3
  288. package/dist/components/calcite-input-message/customElement.js +1 -1
  289. package/dist/components/calcite-input-number/customElement.d.ts +32 -32
  290. package/dist/components/calcite-input-number/customElement.js +1 -1
  291. package/dist/components/calcite-input-text/customElement.d.ts +20 -20
  292. package/dist/components/calcite-input-text/customElement.js +1 -1
  293. package/dist/components/calcite-input-time-picker/customElement.d.ts +10 -10
  294. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  295. package/dist/components/calcite-input-time-zone/customElement.d.ts +6 -8
  296. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  297. package/dist/components/calcite-label/customElement.js +1 -1
  298. package/dist/components/calcite-link/customElement.js +1 -1
  299. package/dist/components/calcite-list/customElement.js +1 -1
  300. package/dist/components/calcite-list-item/customElement.js +1 -1
  301. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  302. package/dist/components/calcite-loader/customElement.js +1 -1
  303. package/dist/components/calcite-menu/customElement.js +1 -1
  304. package/dist/components/calcite-menu-item/customElement.js +1 -1
  305. package/dist/components/calcite-meter/customElement.js +1 -1
  306. package/dist/components/calcite-navigation/customElement.js +1 -1
  307. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  308. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  309. package/dist/components/calcite-notice/customElement.js +1 -1
  310. package/dist/components/calcite-option/customElement.js +1 -1
  311. package/dist/components/calcite-option-group/customElement.js +1 -1
  312. package/dist/components/calcite-pagination/customElement.js +1 -1
  313. package/dist/components/calcite-panel/customElement.js +1 -1
  314. package/dist/components/calcite-popover/customElement.js +1 -1
  315. package/dist/components/calcite-progress/customElement.js +1 -1
  316. package/dist/components/calcite-radio-button/customElement.js +1 -1
  317. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  318. package/dist/components/calcite-rating/customElement.js +1 -1
  319. package/dist/components/calcite-scrim/customElement.js +1 -1
  320. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  321. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  322. package/dist/components/calcite-select/customElement.js +1 -1
  323. package/dist/components/calcite-sheet/customElement.d.ts +12 -0
  324. package/dist/components/calcite-sheet/customElement.js +53 -55
  325. package/dist/components/calcite-shell/customElement.js +1 -1
  326. package/dist/components/calcite-shell-panel/customElement.js +2 -37
  327. package/dist/components/calcite-slider/customElement.js +1 -1
  328. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  329. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  330. package/dist/components/calcite-split-button/customElement.js +1 -1
  331. package/dist/components/calcite-stack/customElement.js +1 -1
  332. package/dist/components/calcite-stepper/customElement.js +1 -1
  333. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  334. package/dist/components/calcite-swatch/customElement.js +1 -1
  335. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  336. package/dist/components/calcite-switch/customElement.js +1 -1
  337. package/dist/components/calcite-tab/customElement.js +1 -1
  338. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  339. package/dist/components/calcite-tab-title/customElement.js +1 -1
  340. package/dist/components/calcite-table/customElement.js +1 -1
  341. package/dist/components/calcite-table-cell/customElement.js +1 -1
  342. package/dist/components/calcite-table-header/customElement.js +1 -1
  343. package/dist/components/calcite-table-row/customElement.js +1 -1
  344. package/dist/components/calcite-tabs/customElement.js +1 -1
  345. package/dist/components/calcite-text-area/customElement.js +1 -1
  346. package/dist/components/calcite-tile/customElement.js +1 -1
  347. package/dist/components/calcite-tile-group/customElement.js +1 -1
  348. package/dist/components/calcite-time-picker/customElement.js +1 -1
  349. package/dist/components/calcite-tooltip/customElement.js +1 -1
  350. package/dist/components/calcite-tree/customElement.js +1 -1
  351. package/dist/components/calcite-tree-item/customElement.js +1 -1
  352. package/dist/docs/api.json +1 -1
  353. package/dist/docs/docs.json +1 -1
  354. package/dist/docs/vscode.css-custom-data.json +1 -1
  355. package/dist/docs/vscode.html-custom-data.json +1 -1
  356. package/dist/docs/web-types.json +1 -1
  357. package/dist/index.js +1 -1
  358. package/dist/loader.js +5 -5
  359. package/dist/types/lumina.d.ts +2 -2
  360. package/dist/types/preact.d.ts +2 -2
  361. package/dist/types/react.d.ts +2 -2
  362. package/dist/types/stencil.d.ts +2 -2
  363. package/package.json +5 -5
  364. package/dist/cdn/ECVDI5K3.js +0 -4
  365. package/dist/cdn/IQYO3YLL.js +0 -4
  366. package/dist/cdn/OEC3VYWR.js +0 -4
  367. package/dist/cdn/VJ5ESOPH.js +0 -4
  368. package/dist/cdn/XMM4Z4DP.js +0 -4
@@ -17,7 +17,7 @@ export abstract class InputTimeZone extends LitElement {
17
17
  */
18
18
  accessor clearable: boolean;
19
19
  /**
20
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
20
+ * When `true`, prevents interaction and decreases the component's opacity.
21
21
  *
22
22
  * @default false
23
23
  */
@@ -658,14 +658,12 @@ export abstract class InputTimeZone extends LitElement {
658
658
  /** Specifies the name of the component. Required to pass the component's `value` on form submission. */
659
659
  accessor name: string;
660
660
  /**
661
- * Specifies how the offset will be displayed, where
661
+ * When `mode` is `"offset"`, specifies how the offset will be displayed, where
662
662
  *
663
663
  * `"user"` uses `UTC` or `GMT` depending on the user's locale,
664
664
  * `"gmt"` always uses `GMT`, and
665
665
  * `"utc"` always uses `UTC`.
666
666
  *
667
- * This only applies to the `offset` mode.
668
- *
669
667
  * @default "user"
670
668
  */
671
669
  accessor offsetStyle: OffsetStyle;
@@ -686,7 +684,7 @@ export abstract class InputTimeZone extends LitElement {
686
684
  */
687
685
  accessor overlayPositioning: OverlayPositioning;
688
686
  /**
689
- * When `true`, the component's value can be read, but controls are not accessible and the value cannot be modified.
687
+ * When `true`, the component's `value` can be read, but controls are not accessible and the `value` cannot be modified.
690
688
  *
691
689
  * @default false
692
690
  */
@@ -706,7 +704,7 @@ export abstract class InputTimeZone extends LitElement {
706
704
  */
707
705
  accessor scale: Scale;
708
706
  /**
709
- * Specifies the status of the input field, which determines message and icons.
707
+ * Specifies the input field's status, which determines message and icons.
710
708
  *
711
709
  * @default "idle"
712
710
  */
@@ -751,9 +749,9 @@ export abstract class InputTimeZone extends LitElement {
751
749
  readonly calciteInputTimeZoneBeforeOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
752
750
  /** Fires when the component's `value` changes. */
753
751
  readonly calciteInputTimeZoneChange: import("@arcgis/lumina").TargetedEvent<this, void>;
754
- /** Fires after the component is closed and animation is complete. */
752
+ /** Fires when the component is closed and animation is complete. */
755
753
  readonly calciteInputTimeZoneClose: import("@arcgis/lumina").TargetedEvent<this, void>;
756
- /** Fires after the component is opened and animation is complete. */
754
+ /** Fires when the component is opened and animation is complete. */
757
755
  readonly calciteInputTimeZoneOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
758
756
  readonly "@eventTypes": {
759
757
  calciteInputTimeZoneBeforeClose: InputTimeZone["calciteInputTimeZoneBeforeClose"]["detail"];
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { repeat } from "lit/directives/repeat.js";
6
6
  import { keyed } from "lit/directives/keyed.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { literal, html as html$1 } from "lit/static-html.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
5
5
  import { ref } from "lit/directives/ref.js";
6
6
  import { keyed } from "lit/directives/keyed.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html, nothing } from "lit";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html, nothing, svg } from "lit";
6
6
  import { LitElement, setAttribute, safeClassMap, safeStyleMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { keyed } from "lit/directives/keyed.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html } from "lit";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { createRef, ref } from "lit/directives/ref.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { keyed } from "lit/directives/keyed.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { keyed } from "lit/directives/keyed.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { createRef, ref } from "lit/directives/ref.js";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { html } from "lit";
6
6
  import { LitElement, createEvent } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { html } from "lit";
6
6
  import { LitElement, createEvent } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html, nothing } from "lit";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html, nothing } from "lit";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html } from "lit";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, safeClassMap, safeStyleMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, nothing, html } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { live } from "lit/directives/live.js";
6
6
  import { html, css } from "lit";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, safeClassMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, isServer, nothing, html } from "lit";
6
6
  import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
@@ -127,6 +127,18 @@ export abstract class Sheet extends LitElement {
127
127
  * @param extraContainers - Additional elements to include in the focus trap. This is useful for including elements that may have related parts rendered outside the main focus trapping element.
128
128
  */
129
129
  updateFocusTrapElements(extraContainers?: FocusTrapOptions["extraContainers"]): Promise<void>;
130
+ /**
131
+ * Updates the sheet's inline and/or block size via method call.
132
+ *
133
+ * Use this method to programmatically override the sheet's width (inline) and/or height (block).
134
+ * Pass `null` to clear the override and revert to the default or CSS variable size.
135
+ *
136
+ * @param size
137
+ */
138
+ updateSize(size: {
139
+ inline?: number | null;
140
+ block?: number | null;
141
+ }): Promise<void>;
130
142
  /** Fires when the component is requested to be closed and before the closing transition begins. */
131
143
  readonly calciteSheetBeforeClose: import("@arcgis/lumina").TargetedEvent<this, void>;
132
144
  /** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */
@@ -1,17 +1,16 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { C as CSS_UTILITY, b as resizeShiftStep, d as resizeStep, c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
- import { i as interact } from "../../chunks/interact.min.js";
6
+ import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverride.js";
7
7
  import { css, html } from "lit";
8
8
  import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
9
9
  import { createRef, ref } from "lit/directives/ref.js";
10
- import { g as getElementDir, a as getStylePixelValue, A as ensureId } from "../../chunks/dom.js";
10
+ import { A as ensureId, g as getElementDir, a as getStylePixelValue } from "../../chunks/dom.js";
11
11
  import { c as createObserver } from "../../chunks/observers.js";
12
12
  import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
13
13
  import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
14
- import { c as clamp } from "../../chunks/math.js";
15
14
  import { u as useT9n } from "../../chunks/useT9n.js";
16
15
  import { u as usePreventDocumentScroll } from "../../chunks/usePreventDocumentScroll.js";
17
16
  import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
@@ -38,6 +37,7 @@ const styles = css`:host{position:absolute;inset:0;display:flex;visibility:hidde
38
37
  class Sheet extends LitElement {
39
38
  constructor() {
40
39
  super();
40
+ this.contentRef = createRef();
41
41
  this.focusTrap = useFocusTrap({
42
42
  triggerProp: "open",
43
43
  focusTrapOptions: {
@@ -67,6 +67,13 @@ class Sheet extends LitElement {
67
67
  this.open = false;
68
68
  }
69
69
  };
70
+ this.sizeOverride = useSizeOverride({
71
+ targetElement: this.contentRef,
72
+ getBounds: () => ({
73
+ inline: { min: this.resizeValues.minInlineSize, max: this.resizeValues.maxInlineSize },
74
+ block: { min: this.resizeValues.minBlockSize, max: this.resizeValues.maxBlockSize }
75
+ })
76
+ });
70
77
  this.topLayer = useTopLayer({
71
78
  disabledOverride: () => this.embedded,
72
79
  target: this.transitionRef
@@ -121,18 +128,24 @@ class Sheet extends LitElement {
121
128
  this.focusTrap.setExtraContainers(extraContainers);
122
129
  this.focusTrap.updateContainerElements();
123
130
  }
131
+ async updateSize(size) {
132
+ this.updateSizeInternal(size);
133
+ }
124
134
  connectedCallback() {
125
135
  super.connectedCallback();
126
136
  this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
127
137
  this.setupInteractions();
128
138
  }
129
139
  willUpdate(changes) {
130
- if (changes.has("opened") && (this.hasUpdated || this.opened !== false)) {
140
+ if (changes.has("opened") && (this.hasUpdated || this.opened !== false) && this.transitionRef.value) {
131
141
  toggleOpenClose(this);
132
142
  }
133
143
  if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("position") && (this.hasUpdated || this.position !== "inline-start") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false)) {
134
144
  this.setupInteractions();
135
145
  }
146
+ if (this.contentRef.value) {
147
+ this.contentId = ensureId(this.contentRef.value);
148
+ }
136
149
  }
137
150
  disconnectedCallback() {
138
151
  super.disconnectedCallback();
@@ -158,93 +171,85 @@ class Sheet extends LitElement {
158
171
  const { position } = this;
159
172
  return position === "block-start" || position === "block-end" ? ICONS.dragVertical : ICONS.dragHorizontal;
160
173
  }
161
- getContentElDOMRect() {
162
- return this.contentEl.getBoundingClientRect();
174
+ getContentRefDOMRect() {
175
+ return this.contentRef.value?.getBoundingClientRect();
163
176
  }
164
177
  handleKeyDown(event) {
165
178
  const { key, defaultPrevented, shiftKey } = event;
166
- const { position, resizable, contentEl, el, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
179
+ const { contentRef, position, resizable, el, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
167
180
  const arrowKeys = position === "block-end" || position === "block-start" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"];
168
181
  const keys = [...arrowKeys, "Home", "End"];
169
- if (!resizable || !contentEl || defaultPrevented || !keys.includes(key)) {
182
+ if (!resizable || !contentRef.value || defaultPrevented || !keys.includes(key)) {
170
183
  return;
171
184
  }
172
- const rect = this.getContentElDOMRect();
185
+ const rect = this.getContentRefDOMRect();
173
186
  const invertRTL = getElementDir(el) === "rtl" ? -1 : 1;
174
187
  const stepValue = shiftKey ? resizeShiftStep : resizeStep;
175
188
  switch (key) {
176
189
  case "ArrowUp":
177
- this.updateSize({
178
- size: rect.height + (position === "block-end" ? stepValue : -stepValue),
179
- type: "blockSize"
190
+ this.updateSizeInternal({
191
+ block: rect.height + (position === "block-end" ? stepValue : -stepValue)
180
192
  });
181
193
  event.preventDefault();
182
194
  break;
183
195
  case "ArrowDown":
184
- this.updateSize({
185
- size: rect.height + (position === "block-end" ? -stepValue : stepValue),
186
- type: "blockSize"
196
+ this.updateSizeInternal({
197
+ block: rect.height + (position === "block-end" ? -stepValue : stepValue)
187
198
  });
188
199
  event.preventDefault();
189
200
  break;
190
201
  case "ArrowLeft":
191
- this.updateSize({
192
- size: rect.width + (position === "inline-end" ? stepValue : -stepValue) * invertRTL,
193
- type: "inlineSize"
202
+ this.updateSizeInternal({
203
+ inline: rect.width + (position === "inline-end" ? stepValue : -stepValue) * invertRTL
194
204
  });
195
205
  event.preventDefault();
196
206
  break;
197
207
  case "ArrowRight":
198
- this.updateSize({
199
- size: rect.width + (position === "inline-end" ? -stepValue : stepValue) * invertRTL,
200
- type: "inlineSize"
208
+ this.updateSizeInternal({
209
+ inline: rect.width + (position === "inline-end" ? -stepValue : stepValue) * invertRTL
201
210
  });
202
211
  event.preventDefault();
203
212
  break;
204
213
  case "Home":
205
- this.updateSize({
206
- size: position === "block-start" || position === "block-end" ? minBlockSize : minInlineSize,
207
- type: position === "block-start" || position === "block-end" ? "blockSize" : "inlineSize"
208
- });
214
+ this.updateSizeInternal(position === "block-start" || position === "block-end" ? { block: minBlockSize } : { inline: minInlineSize });
209
215
  event.preventDefault();
210
216
  break;
211
217
  case "End":
212
- this.updateSize({
213
- size: position === "block-start" || position === "block-end" ? maxBlockSize : maxInlineSize,
214
- type: position === "block-start" || position === "block-end" ? "blockSize" : "inlineSize"
215
- });
218
+ this.updateSizeInternal(position === "block-start" || position === "block-end" ? { block: maxBlockSize } : { inline: maxInlineSize });
216
219
  event.preventDefault();
217
220
  break;
218
221
  }
219
222
  }
220
- updateSize({ type, size }) {
221
- const { contentEl, resizeValues } = this;
222
- if (!contentEl) {
223
+ updateSizeInternal(size) {
224
+ if (!this.contentRef.value) {
223
225
  return;
224
226
  }
225
- const resizeMin = type === "blockSize" ? "minBlockSize" : "minInlineSize";
226
- const resizeMax = type === "blockSize" ? "maxBlockSize" : "maxInlineSize";
227
- const clamped = resizeValues[resizeMin] && resizeValues[resizeMax] ? clamp(size, resizeValues[resizeMin], resizeValues[resizeMax]) : size;
228
- const rounded = Math.round(clamped);
227
+ const appliedSize = this.sizeOverride.resize(size);
229
228
  this.resizeValues = {
230
- ...resizeValues,
231
- [type]: rounded
229
+ ...this.resizeValues,
230
+ ...appliedSize.inline !== void 0 && {
231
+ inlineSize: appliedSize.inline
232
+ },
233
+ ...appliedSize.block !== void 0 && {
234
+ blockSize: appliedSize.block
235
+ }
232
236
  };
233
- contentEl.style[type] = size !== null ? `${rounded}px` : null;
234
237
  }
235
238
  cleanupInteractions() {
236
239
  this.interaction?.unset();
237
- this.updateSize({ size: null, type: "inlineSize" });
238
- this.updateSize({ size: null, type: "blockSize" });
240
+ this.updateSizeInternal({
241
+ inline: null,
242
+ block: null
243
+ });
239
244
  }
240
245
  async setupInteractions() {
241
246
  this.cleanupInteractions();
242
- const { el, contentEl, resizable, position, open, resizeHandleEl } = this;
243
- if (!contentEl || !open || !resizable || !resizeHandleEl) {
247
+ const { contentRef, el, resizable, position, open, resizeHandleEl } = this;
248
+ if (!contentRef.value || !open || !resizable || !resizeHandleEl) {
244
249
  return;
245
250
  }
246
251
  await this.el.componentOnReady();
247
- const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(contentEl);
252
+ const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(contentRef.value);
248
253
  const values = {
249
254
  inlineSize: getStylePixelValue(inlineSize),
250
255
  blockSize: getStylePixelValue(blockSize),
@@ -255,7 +260,7 @@ class Sheet extends LitElement {
255
260
  };
256
261
  this.resizeValues = values;
257
262
  const rtl = getElementDir(el) === "rtl";
258
- this.interaction = interact(contentEl, { context: el.ownerDocument }).resizable({
263
+ this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
259
264
  edges: {
260
265
  top: position === "block-end" ? resizeHandleEl : false,
261
266
  right: position === (rtl ? "inline-end" : "inline-start") ? resizeHandleEl : false,
@@ -277,10 +282,7 @@ class Sheet extends LitElement {
277
282
  listeners: {
278
283
  move: ({ rect }) => {
279
284
  const isBlock = position === "block-start" || position === "block-end";
280
- this.updateSize({
281
- size: isBlock ? rect.height : rect.width,
282
- type: isBlock ? "blockSize" : "inlineSize"
283
- });
285
+ this.updateSizeInternal(isBlock ? { block: rect.height } : { inline: rect.width });
284
286
  }
285
287
  }
286
288
  });
@@ -308,10 +310,6 @@ class Sheet extends LitElement {
308
310
  this.resizeHandleEl = el;
309
311
  this.setupInteractions();
310
312
  }
311
- setContentEl(el) {
312
- this.contentEl = el;
313
- this.contentId = ensureId(el);
314
- }
315
313
  handleOutsideClose() {
316
314
  if (this.outsideCloseDisabled) {
317
315
  return;
@@ -336,7 +334,7 @@ class Sheet extends LitElement {
336
334
  [CSS_UTILITY.rtl]: dir === "rtl",
337
335
  [getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale),
338
336
  [getDimensionClass("height", this.height, this.heightScale)]: !!(this.height || this.heightScale)
339
- })} .popover=${!this.embedded ? "manual" : null} ${ref(this.transitionRef)}><calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.setContentEl)}><div class=${safeClassMap(CSS.contentContainer)}><slot></slot></div>${resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${isBlockPosition ? resizeValues.maxBlockSize : resizeValues.maxInlineSize} .ariaValueMin=${isBlockPosition ? resizeValues.minBlockSize : resizeValues.minInlineSize} .ariaValueNow=${isBlockPosition ? resizeValues.blockSize : resizeValues.inlineSize} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null}</div></div>`;
337
+ })} .popover=${!this.embedded ? "manual" : null} ${ref(this.transitionRef)}><calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.contentRef)}><div class=${safeClassMap(CSS.contentContainer)}><slot></slot></div>${resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${isBlockPosition ? resizeValues.maxBlockSize : resizeValues.maxInlineSize} .ariaValueMin=${isBlockPosition ? resizeValues.minBlockSize : resizeValues.minInlineSize} .ariaValueNow=${isBlockPosition ? resizeValues.blockSize : resizeValues.inlineSize} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null}</div></div>`;
340
338
  }
341
339
  }
342
340
  customElement("calcite-sheet", Sheet);
@@ -1,6 +1,6 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html } from "lit";
@@ -1,50 +1,15 @@
1
1
  /* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.86 */
3
+ v5.0.0-next.87 */
4
4
  import { C as CSS_UTILITY, b as resizeShiftStep, d as resizeStep, c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
- import { i as interact } from "../../chunks/interact.min.js";
6
+ import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverride.js";
7
7
  import { css, html } from "lit";
8
8
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
9
9
  import { createRef, ref } from "lit/directives/ref.js";
10
10
  import { g as getElementDir, a as getStylePixelValue, b as slotChangeGetAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
11
11
  import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
12
12
  import { u as useT9n } from "../../chunks/useT9n.js";
13
- import { makeController } from "@arcgis/lumina/controllers";
14
- const useSizeOverride = (context) => makeController(() => {
15
- const applyAxis = (requestedSize, axis, el) => {
16
- if (requestedSize === void 0) {
17
- return void 0;
18
- }
19
- const prop = axis === "block" ? "block-size" : "inline-size";
20
- if (requestedSize === null) {
21
- el.style.removeProperty(prop);
22
- return null;
23
- }
24
- let clampedSize = requestedSize;
25
- const bounds = context.getBounds?.() ?? { inline: { min: null, max: null }, block: { min: null, max: null } };
26
- const { min, max } = axis === "inline" ? bounds.inline : bounds.block;
27
- if (min !== null) {
28
- clampedSize = Math.round(Math.max(clampedSize, min));
29
- }
30
- if (max !== null) {
31
- clampedSize = Math.round(Math.min(clampedSize, max));
32
- }
33
- el.style.setProperty(prop, `${Math.round(clampedSize)}px`);
34
- return clampedSize;
35
- };
36
- return {
37
- resize(sizes) {
38
- const targetElement = context.targetElement.value;
39
- const inline = applyAxis(sizes.inline, "inline", targetElement);
40
- const block = applyAxis(sizes.block, "block", targetElement);
41
- return {
42
- inline,
43
- block
44
- };
45
- }
46
- };
47
- });
48
13
  const styles$1 = css`.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@keyframes in{0%{opacity:0}to{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0,-5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(.95,.95,1)}to{opacity:1;transform:scaleZ(1)}}`;
49
14
  const CSS = {
50
15
  container: "container",