@esri/calcite-components 5.1.0-next.3 → 5.1.0-next.30

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 (462) hide show
  1. package/dist/cdn/2I24Q6HG.js +2 -0
  2. package/dist/cdn/2LUMWQZY.js +2 -0
  3. package/dist/cdn/{QOXTJ7PA.js → 34WUOWO6.js} +1 -1
  4. package/dist/cdn/{6C5JMRKM.js → 3FXLCXEF.js} +1 -1
  5. package/dist/cdn/3LVPP52S.js +2 -0
  6. package/dist/cdn/3UU6PUEZ.js +2 -0
  7. package/dist/cdn/{RHJW4CXA.js → 46XYBXSA.js} +1 -1
  8. package/dist/cdn/{LCPYWUGK.js → 47ZWM6SP.js} +1 -1
  9. package/dist/cdn/4CGPBRFI.js +2 -0
  10. package/dist/cdn/{EQ4Z4LBA.js → 4RP3OGCP.js} +1 -1
  11. package/dist/cdn/{X6LSQXQT.js → 57CIL36H.js} +1 -1
  12. package/dist/cdn/{SQLDNSI6.js → 5DEP6UL7.js} +1 -1
  13. package/dist/cdn/5DEXYRFH.js +2 -0
  14. package/dist/cdn/66BQUAEF.js +2 -0
  15. package/dist/cdn/6742QPEE.js +2 -0
  16. package/dist/cdn/6FSL67XJ.js +2 -0
  17. package/dist/cdn/{IZBELXZC.js → 6KMNIG3H.js} +1 -1
  18. package/dist/cdn/{B4VMCAZI.js → 6LODJ26H.js} +1 -1
  19. package/dist/cdn/74EOXSPH.js +2 -0
  20. package/dist/cdn/7GTG7SUF.js +2 -0
  21. package/dist/cdn/7I5EKIDO.js +2 -0
  22. package/dist/cdn/7Q6FVOSE.js +2 -0
  23. package/dist/cdn/7WMQKIBY.js +2 -0
  24. package/dist/cdn/7YQW7B7E.js +2 -0
  25. package/dist/cdn/7ZBXJRPO.js +2 -0
  26. package/dist/cdn/{ECURCDZ2.js → A7RILTOO.js} +1 -1
  27. package/dist/cdn/AFGHAQUQ.js +2 -0
  28. package/dist/cdn/{QGBPRJIT.js → AHEDZHQ2.js} +1 -1
  29. package/dist/cdn/AJTOSFDH.js +2 -0
  30. package/dist/cdn/AOP3NH2U.js +2 -0
  31. package/dist/cdn/{D3ZA3ZSE.js → AOQ34WQ6.js} +1 -1
  32. package/dist/cdn/AQNYPIPX.js +2 -0
  33. package/dist/cdn/ARNANVZZ.js +2 -0
  34. package/dist/cdn/AVYPI52K.js +2 -0
  35. package/dist/cdn/B3EBGYCI.js +2 -0
  36. package/dist/cdn/{2EN543JD.js → BS547LGW.js} +1 -1
  37. package/dist/cdn/{KHE57SV3.js → BXIBMOE6.js} +1 -1
  38. package/dist/cdn/BYS4GNCX.js +2 -0
  39. package/dist/cdn/{YX5LYAIV.js → C32S4HGX.js} +1 -1
  40. package/dist/cdn/CBWGCOIO.js +2 -0
  41. package/dist/cdn/{XLOC3L55.js → CJQWESQ2.js} +3 -3
  42. package/dist/cdn/CJTB2G5O.js +2 -0
  43. package/dist/cdn/CNQVNMR7.js +2 -0
  44. package/dist/cdn/CPIWY5GX.js +2 -0
  45. package/dist/cdn/D3G4KNL4.js +2 -0
  46. package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
  47. package/dist/cdn/DDDUIVNA.js +2 -0
  48. package/dist/cdn/{I5LZP3DC.js → DJ5TODX7.js} +1 -1
  49. package/dist/cdn/{IF5AIFNS.js → DQJ3PS72.js} +1 -1
  50. package/dist/cdn/DSY7BOJJ.js +2 -0
  51. package/dist/cdn/{VZDUTHQS.js → DUYCNBSR.js} +1 -1
  52. package/dist/cdn/DWIB4FVP.js +2 -0
  53. package/dist/cdn/E3OAYCPO.js +2 -0
  54. package/dist/cdn/{EYR3DX5M.js → EHTWHFIN.js} +1 -1
  55. package/dist/cdn/EUJFL2WJ.js +2 -0
  56. package/dist/cdn/{NPTVRXRO.js → F6O2MDAB.js} +1 -1
  57. package/dist/cdn/FBBEDCIC.js +2 -0
  58. package/dist/cdn/{N5SFF63Q.js → FIGNBXC4.js} +1 -1
  59. package/dist/cdn/{R265ZYQR.js → FS3FIZQ7.js} +1 -1
  60. package/dist/cdn/G5IYZRZD.js +2 -0
  61. package/dist/cdn/GBL55CBG.js +2 -0
  62. package/dist/cdn/GEWRKDNT.js +2 -0
  63. package/dist/cdn/{RTSHUMUI.js → GLYCZM27.js} +1 -1
  64. package/dist/cdn/{ULGKAMEK.js → GNUO7A4Y.js} +1 -1
  65. package/dist/cdn/H43C4DT4.js +2 -0
  66. package/dist/cdn/H4ESHMLA.js +2 -0
  67. package/dist/cdn/H5G45SF4.js +2 -0
  68. package/dist/cdn/{WUW46I4S.js → HDQ72ZNE.js} +1 -1
  69. package/dist/cdn/HIHNC2W6.js +2 -0
  70. package/dist/cdn/HKSMMZUW.js +2 -0
  71. package/dist/cdn/{TG6MK4QD.js → HWBVGZHG.js} +1 -1
  72. package/dist/cdn/HXIVUHZU.js +2 -0
  73. package/dist/cdn/ICNEOIAY.js +2 -0
  74. package/dist/cdn/{4ILCK5CI.js → IDJOHYLJ.js} +1 -1
  75. package/dist/cdn/{GIV3RH7X.js → ITD5YGM3.js} +1 -1
  76. package/dist/cdn/J3P6S2E2.js +2 -0
  77. package/dist/cdn/JEALIYFT.js +2 -0
  78. package/dist/cdn/JPDWZDO2.js +2 -0
  79. package/dist/cdn/JPE6LVAD.js +2 -0
  80. package/dist/cdn/{YKP66AQ5.js → JWEKZH6L.js} +1 -1
  81. package/dist/cdn/KI33EXTI.js +2 -0
  82. package/dist/cdn/{LJIHBKNI.js → KJIYAJA4.js} +1 -1
  83. package/dist/cdn/KW4BHBBW.js +2 -0
  84. package/dist/cdn/{4ZGFXXYL.js → L7DEPZAJ.js} +1 -1
  85. package/dist/cdn/{4NDBPQOW.js → L7TOPWGR.js} +1 -1
  86. package/dist/cdn/LK7OAPDO.js +2 -0
  87. package/dist/cdn/{KBSNJSUL.js → LOJGQFL6.js} +1 -1
  88. package/dist/cdn/{HFPBP7XA.js → LTDQ3KMS.js} +1 -1
  89. package/dist/cdn/{732QLUKT.js → LVZ24HEK.js} +1 -1
  90. package/dist/cdn/{QQYOGIVS.js → M6TXECYZ.js} +1 -1
  91. package/dist/cdn/MORUF5PU.js +2 -0
  92. package/dist/cdn/{RMERVJA5.js → MPGZXCBO.js} +1 -1
  93. package/dist/cdn/{XGISY6QA.js → MWS2HEQR.js} +1 -1
  94. package/dist/cdn/{3ZYN3227.js → MXDC3OC2.js} +1 -1
  95. package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
  96. package/dist/cdn/{HJ45IHRA.js → NWCFNDM2.js} +1 -1
  97. package/dist/cdn/{RRN6YM7F.js → NWIU5L4M.js} +1 -1
  98. package/dist/cdn/NYL2Z7AD.js +2 -0
  99. package/dist/cdn/{LKHFQ3U6.js → O5WPS55F.js} +1 -1
  100. package/dist/cdn/{FXFRKJEJ.js → ODAV2DWN.js} +1 -1
  101. package/dist/cdn/OGQ6UAE2.js +2 -0
  102. package/dist/cdn/OLXLHWGL.js +2 -0
  103. package/dist/cdn/{RBGGE65K.js → P2ZPFKR7.js} +1 -1
  104. package/dist/cdn/{LDLJRK76.js → P32KQQAD.js} +1 -1
  105. package/dist/cdn/{ZJ34LWXC.js → QAG6VFG2.js} +1 -1
  106. package/dist/cdn/QRH3LFLT.js +2 -0
  107. package/dist/cdn/{MSGQMPT6.js → QVMVZTAX.js} +1 -1
  108. package/dist/cdn/QXFX3OAF.js +2 -0
  109. package/dist/cdn/{YQST67WD.js → R2DCCWBB.js} +1 -1
  110. package/dist/cdn/R3Z5LCK3.js +2 -0
  111. package/dist/cdn/RFQSI4MJ.js +2 -0
  112. package/dist/cdn/RNFEU4JP.js +2 -0
  113. package/dist/cdn/{DKD23HP3.js → RRVD3RYN.js} +1 -1
  114. package/dist/cdn/{N234JPQQ.js → S6WMWFN7.js} +1 -1
  115. package/dist/cdn/{6KLHDA5V.js → SAK5TSCY.js} +1 -1
  116. package/dist/cdn/SMHE5GTR.js +2 -0
  117. package/dist/cdn/{2HPKL5UL.js → STISOSDG.js} +1 -1
  118. package/dist/cdn/TRMTKJYB.js +2 -0
  119. package/dist/cdn/TTFYMTZC.js +2 -0
  120. package/dist/cdn/{XRVUSKBQ.js → TWHGJHW2.js} +1 -1
  121. package/dist/cdn/TXRNHBI5.js +2 -0
  122. package/dist/cdn/{WTL6TTVY.js → TZAUE2UM.js} +1 -1
  123. package/dist/cdn/UESKV37D.js +2 -0
  124. package/dist/cdn/UQC63ORI.js +2 -0
  125. package/dist/cdn/{SDDDIVHA.js → UYAS53RY.js} +1 -1
  126. package/dist/cdn/{ILHS3TD7.js → V4RO7LWG.js} +1 -1
  127. package/dist/cdn/VE3ULCBL.js +2 -0
  128. package/dist/cdn/{EPKWV7TT.js → VIB4WBRW.js} +1 -1
  129. package/dist/cdn/{7CVLFVE5.js → VL7C7DUX.js} +1 -1
  130. package/dist/cdn/{MTIRRGHA.js → WMWPUGOP.js} +1 -1
  131. package/dist/cdn/{4PZDI5YW.js → WN6LIOTB.js} +1 -1
  132. package/dist/cdn/{UQBN3Z6H.js → WQOYAKXN.js} +1 -1
  133. package/dist/cdn/{UG6FM2IU.js → WUPDOPI3.js} +1 -1
  134. package/dist/cdn/{PNBC2B77.js → X4CROIR6.js} +1 -1
  135. package/dist/cdn/X62QRK2A.js +2 -0
  136. package/dist/cdn/{A26SXPLB.js → XOT64MSN.js} +1 -1
  137. package/dist/cdn/{SK7CWKMU.js → XS5BO3QC.js} +1 -1
  138. package/dist/cdn/XWGKICAS.js +2 -0
  139. package/dist/cdn/{FUL4JV2P.js → YRHSBDX4.js} +1 -1
  140. package/dist/cdn/{GY6M2LPM.js → YSWTVICN.js} +1 -1
  141. package/dist/cdn/Z445ZVWS.js +2 -0
  142. package/dist/cdn/{U63GYZ74.js → Z5FNOUD3.js} +2 -2
  143. package/dist/cdn/ZC6A5OHK.js +2 -0
  144. package/dist/cdn/{Z2R5VRT7.js → ZHZF3WW4.js} +1 -1
  145. package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
  146. package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
  147. package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
  148. package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
  149. package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
  150. package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
  151. package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
  152. package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
  153. package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
  154. package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
  155. package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
  156. package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
  157. package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
  158. package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
  159. package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
  160. package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
  161. package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
  162. package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
  163. package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
  164. package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
  165. package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
  166. package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
  167. package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
  168. package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
  169. package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
  170. package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
  171. package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
  172. package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
  173. package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
  174. package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
  175. package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
  176. package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
  177. package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
  178. package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
  179. package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
  180. package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
  181. package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
  182. package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
  183. package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
  184. package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
  185. package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
  186. package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
  187. package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
  188. package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
  189. package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
  190. package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
  191. package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
  192. package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
  193. package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
  194. package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
  195. package/dist/cdn/assets/icon/publish16.json +1 -0
  196. package/dist/cdn/assets/icon/publish24.json +1 -0
  197. package/dist/cdn/assets/icon/publish32.json +1 -0
  198. package/dist/cdn/assets/icon/velocityServer16.json +1 -0
  199. package/dist/cdn/assets/icon/velocityServer24.json +1 -0
  200. package/dist/cdn/assets/icon/velocityServer32.json +1 -0
  201. package/dist/cdn/index.js +1 -1
  202. package/dist/chunks/ExpandToggle.js +4 -5
  203. package/dist/chunks/Heading.js +3 -3
  204. package/dist/chunks/dom.js +23 -28
  205. package/dist/chunks/floating-ui.js +3 -6
  206. package/dist/chunks/label.js +1 -1
  207. package/dist/chunks/locale.js +29 -12
  208. package/dist/chunks/manager.js +505 -0
  209. package/dist/chunks/openCloseComponent.js +1 -1
  210. package/dist/chunks/resources5.js +2 -1
  211. package/dist/chunks/resources6.js +2 -0
  212. package/dist/chunks/runtime.js +4 -4
  213. package/dist/chunks/useFocusTrap.js +1 -1
  214. package/dist/chunks/useForm.js +294 -0
  215. package/dist/chunks/useFormTrigger.js +25 -0
  216. package/dist/chunks/useSetFocus.js +1 -1
  217. package/dist/chunks/{sortableComponent.js → useSortable.js} +67 -44
  218. package/dist/chunks/utils2.js +1 -1
  219. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  220. package/dist/components/calcite-accordion-item/customElement.js +4 -3
  221. package/dist/components/calcite-action/customElement.d.ts +12 -12
  222. package/dist/components/calcite-action/customElement.js +7 -13
  223. package/dist/components/calcite-action-bar/customElement.d.ts +20 -4
  224. package/dist/components/calcite-action-bar/customElement.js +43 -15
  225. package/dist/components/calcite-action-group/customElement.d.ts +6 -6
  226. package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
  227. package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
  228. package/dist/components/calcite-action-pad/customElement.js +5 -3
  229. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  230. package/dist/components/calcite-alert/customElement.js +2 -2
  231. package/dist/components/calcite-autocomplete/customElement.d.ts +11 -12
  232. package/dist/components/calcite-autocomplete/customElement.js +23 -32
  233. package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
  234. package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
  235. package/dist/components/calcite-avatar/customElement.js +1 -1
  236. package/dist/components/calcite-block/customElement.d.ts +5 -5
  237. package/dist/components/calcite-block/customElement.js +2 -2
  238. package/dist/components/calcite-block-group/customElement.d.ts +1 -1
  239. package/dist/components/calcite-block-group/customElement.js +4 -4
  240. package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
  241. package/dist/components/calcite-block-section/customElement.d.ts +1 -1
  242. package/dist/components/calcite-button/customElement.d.ts +5 -5
  243. package/dist/components/calcite-button/customElement.js +11 -23
  244. package/dist/components/calcite-card/customElement.d.ts +4 -4
  245. package/dist/components/calcite-card-group/customElement.d.ts +2 -2
  246. package/dist/components/calcite-carousel/customElement.d.ts +1 -1
  247. package/dist/components/calcite-carousel/customElement.js +27 -25
  248. package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
  249. package/dist/components/calcite-checkbox/customElement.js +10 -23
  250. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  251. package/dist/components/calcite-chip/customElement.js +1 -1
  252. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  253. package/dist/components/calcite-chip-group/customElement.js +1 -1
  254. package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
  255. package/dist/components/calcite-color-picker/customElement.js +4 -2
  256. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  257. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  258. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  259. package/dist/components/calcite-combobox/customElement.d.ts +16 -6
  260. package/dist/components/calcite-combobox/customElement.js +151 -60
  261. package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
  262. package/dist/components/calcite-combobox-item/customElement.js +10 -4
  263. package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
  264. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  265. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  266. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  267. package/dist/components/calcite-dialog/customElement.d.ts +7 -3
  268. package/dist/components/calcite-dialog/customElement.js +5 -3
  269. package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
  270. package/dist/components/calcite-dropdown/customElement.js +168 -90
  271. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  272. package/dist/components/calcite-dropdown-item/customElement.js +14 -32
  273. package/dist/components/calcite-fab/customElement.d.ts +1 -1
  274. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  275. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  276. package/dist/components/calcite-flow-item/customElement.d.ts +9 -5
  277. package/dist/components/calcite-flow-item/customElement.js +7 -5
  278. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  279. package/dist/components/calcite-icon/customElement.d.ts +1 -1
  280. package/dist/components/calcite-icon/customElement.js +4 -3
  281. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
  282. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  283. package/dist/components/calcite-input/customElement.d.ts +17 -18
  284. package/dist/components/calcite-input/customElement.js +20 -42
  285. package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
  286. package/dist/components/calcite-input-date-picker/customElement.js +34 -28
  287. package/dist/components/calcite-input-message/customElement.d.ts +1 -1
  288. package/dist/components/calcite-input-message/customElement.js +1 -1
  289. package/dist/components/calcite-input-number/customElement.d.ts +13 -14
  290. package/dist/components/calcite-input-number/customElement.js +17 -42
  291. package/dist/components/calcite-input-text/customElement.d.ts +11 -12
  292. package/dist/components/calcite-input-text/customElement.js +16 -41
  293. package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
  294. package/dist/components/calcite-input-time-picker/customElement.js +14 -25
  295. package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
  296. package/dist/components/calcite-input-time-zone/customElement.js +21 -19
  297. package/dist/components/calcite-link/customElement.d.ts +2 -2
  298. package/dist/components/calcite-link/customElement.js +4 -3
  299. package/dist/components/calcite-list/customElement.d.ts +1 -1
  300. package/dist/components/calcite-list/customElement.js +29 -7
  301. package/dist/components/calcite-list/interfaces.d.ts +2 -6
  302. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  303. package/dist/components/calcite-list-item/customElement.js +6 -4
  304. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  305. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  306. package/dist/components/calcite-menu/customElement.d.ts +1 -1
  307. package/dist/components/calcite-menu/customElement.js +1 -1
  308. package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
  309. package/dist/components/calcite-menu-item/customElement.js +4 -2
  310. package/dist/components/calcite-meter/customElement.d.ts +7 -1
  311. package/dist/components/calcite-meter/customElement.js +4 -8
  312. package/dist/components/calcite-navigation/customElement.d.ts +2 -2
  313. package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
  314. package/dist/components/calcite-navigation-user/customElement.d.ts +1 -1
  315. package/dist/components/calcite-notice/customElement.d.ts +3 -3
  316. package/dist/components/calcite-notice/customElement.js +1 -1
  317. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  318. package/dist/components/calcite-pagination/customElement.js +1 -1
  319. package/dist/components/calcite-panel/customElement.d.ts +11 -7
  320. package/dist/components/calcite-panel/customElement.js +21 -9
  321. package/dist/components/calcite-popover/customElement.d.ts +2 -2
  322. package/dist/components/calcite-popover/customElement.js +14 -175
  323. package/dist/components/calcite-progress/customElement.js +3 -2
  324. package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
  325. package/dist/components/calcite-radio-button/customElement.js +173 -5
  326. package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
  327. package/dist/components/calcite-rating/customElement.d.ts +3 -4
  328. package/dist/components/calcite-rating/customElement.js +12 -18
  329. package/dist/components/calcite-scrim/customElement.js +1 -1
  330. package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
  331. package/dist/components/calcite-segmented-control/customElement.js +13 -22
  332. package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
  333. package/dist/components/calcite-select/customElement.d.ts +3 -4
  334. package/dist/components/calcite-select/customElement.js +8 -19
  335. package/dist/components/calcite-sheet/customElement.d.ts +2 -2
  336. package/dist/components/calcite-sheet/customElement.js +9 -6
  337. package/dist/components/calcite-shell/customElement.js +1 -1
  338. package/dist/components/calcite-shell-panel/customElement.js +7 -5
  339. package/dist/components/calcite-slider/customElement.d.ts +3 -4
  340. package/dist/components/calcite-slider/customElement.js +12 -22
  341. package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
  342. package/dist/components/calcite-sort-handle/customElement.js +44 -17
  343. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  344. package/dist/components/calcite-sortable-list/customElement.js +4 -4
  345. package/dist/components/calcite-split-button/customElement.d.ts +8 -8
  346. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  347. package/dist/components/calcite-stepper/customElement.js +30 -43
  348. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
  349. package/dist/components/calcite-stepper-item/customElement.js +4 -10
  350. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  351. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  352. package/dist/components/calcite-switch/customElement.d.ts +4 -4
  353. package/dist/components/calcite-switch/customElement.js +9 -8
  354. package/dist/components/calcite-tab/customElement.d.ts +1 -1
  355. package/dist/components/calcite-tab/customElement.js +2 -2
  356. package/dist/components/calcite-tab-nav/customElement.js +4 -2
  357. package/dist/components/calcite-tab-title/customElement.js +6 -4
  358. package/dist/components/calcite-table/customElement.js +1 -1
  359. package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
  360. package/dist/components/calcite-table-cell/customElement.js +3 -2
  361. package/dist/components/calcite-table-header/customElement.d.ts +2 -2
  362. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  363. package/dist/components/calcite-tabs/customElement.js +1 -1
  364. package/dist/components/calcite-text-area/customElement.d.ts +13 -14
  365. package/dist/components/calcite-text-area/customElement.js +32 -37
  366. package/dist/components/calcite-tile/customElement.d.ts +1 -1
  367. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  368. package/dist/components/calcite-time-picker/customElement.js +4 -3
  369. package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
  370. package/dist/components/calcite-tooltip/customElement.js +27 -315
  371. package/dist/components/calcite-tree/customElement.js +1 -1
  372. package/dist/components/calcite-tree-item/customElement.js +5 -4
  373. package/dist/controllers/useSortable.d.ts +7 -0
  374. package/dist/docs/api.json +1 -1
  375. package/dist/docs/docs.json +1 -1
  376. package/dist/docs/supported-browsers.json +1 -1
  377. package/dist/docs/translations.json +1 -1
  378. package/dist/docs/vscode.css-custom-data.json +1 -1
  379. package/dist/docs/vscode.html-custom-data.json +1 -1
  380. package/dist/docs/web-types.json +1 -1
  381. package/dist/loader.js +23 -23
  382. package/dist/types/lumina.d.ts +5 -5
  383. package/dist/types/preact.d.ts +5 -5
  384. package/dist/types/react.d.ts +5 -5
  385. package/dist/types/stencil.d.ts +5 -5
  386. package/package.json +13 -12
  387. package/dist/cdn/2CCRLQOV.js +0 -2
  388. package/dist/cdn/2SXQFDOQ.js +0 -2
  389. package/dist/cdn/2UXQ7FQU.js +0 -2
  390. package/dist/cdn/32TBZZTY.js +0 -2
  391. package/dist/cdn/3KAMTN22.js +0 -2
  392. package/dist/cdn/3TLJ5JOP.js +0 -2
  393. package/dist/cdn/46F46R3T.js +0 -2
  394. package/dist/cdn/4DX77VVY.js +0 -2
  395. package/dist/cdn/4ET37OQN.js +0 -2
  396. package/dist/cdn/4I67VFAN.js +0 -2
  397. package/dist/cdn/5XFHSV4Z.js +0 -2
  398. package/dist/cdn/66NDMEG2.js +0 -2
  399. package/dist/cdn/76VE6QGI.js +0 -2
  400. package/dist/cdn/7AJLMSNL.js +0 -2
  401. package/dist/cdn/7J3JDTWK.js +0 -2
  402. package/dist/cdn/7PFEVHWG.js +0 -2
  403. package/dist/cdn/ALRQOPMQ.js +0 -2
  404. package/dist/cdn/AO7ZTAVY.js +0 -2
  405. package/dist/cdn/BEHKDUR6.js +0 -2
  406. package/dist/cdn/BKAZFAPN.js +0 -2
  407. package/dist/cdn/C7TED56N.js +0 -2
  408. package/dist/cdn/CSRCARFW.js +0 -2
  409. package/dist/cdn/DADGP3DW.js +0 -2
  410. package/dist/cdn/EC3GCET5.js +0 -2
  411. package/dist/cdn/EREDWMAC.js +0 -2
  412. package/dist/cdn/ETXIJA2R.js +0 -2
  413. package/dist/cdn/EVZEXLBF.js +0 -2
  414. package/dist/cdn/FH7GL6DM.js +0 -2
  415. package/dist/cdn/GETIWK4G.js +0 -2
  416. package/dist/cdn/GJ5VSZCN.js +0 -2
  417. package/dist/cdn/HSNJW6OM.js +0 -2
  418. package/dist/cdn/I6XABN6A.js +0 -2
  419. package/dist/cdn/IQ23RSWK.js +0 -2
  420. package/dist/cdn/JC2AVKOO.js +0 -2
  421. package/dist/cdn/JLJULYTE.js +0 -2
  422. package/dist/cdn/JRAIIHMU.js +0 -2
  423. package/dist/cdn/JZWQZ5BO.js +0 -2
  424. package/dist/cdn/KFPRUCQK.js +0 -2
  425. package/dist/cdn/LFGU3E4X.js +0 -2
  426. package/dist/cdn/LGDOYO5J.js +0 -2
  427. package/dist/cdn/MHSIIKU2.js +0 -2
  428. package/dist/cdn/MOZ5AAJM.js +0 -2
  429. package/dist/cdn/MTQHRNJW.js +0 -2
  430. package/dist/cdn/N6YVNJ3O.js +0 -2
  431. package/dist/cdn/NB3LG2PS.js +0 -2
  432. package/dist/cdn/NNVU3JV4.js +0 -2
  433. package/dist/cdn/O5XHZCXZ.js +0 -2
  434. package/dist/cdn/OXJIN4W5.js +0 -2
  435. package/dist/cdn/OXZJMSLQ.js +0 -2
  436. package/dist/cdn/P2745LUP.js +0 -2
  437. package/dist/cdn/QHUMJCWK.js +0 -2
  438. package/dist/cdn/QJ2FRJRU.js +0 -2
  439. package/dist/cdn/QUJE6MIQ.js +0 -2
  440. package/dist/cdn/REAIBS67.js +0 -2
  441. package/dist/cdn/RKSFMXT4.js +0 -2
  442. package/dist/cdn/RMKYCARB.js +0 -2
  443. package/dist/cdn/S5KQDAMG.js +0 -2
  444. package/dist/cdn/SUIJIBLR.js +0 -2
  445. package/dist/cdn/TDDLSMO5.js +0 -2
  446. package/dist/cdn/TQQTV5HV.js +0 -2
  447. package/dist/cdn/UMLQ6PVE.js +0 -2
  448. package/dist/cdn/UODBUSON.js +0 -2
  449. package/dist/cdn/WJXZ7BPV.js +0 -2
  450. package/dist/cdn/X2HWVZ5U.js +0 -2
  451. package/dist/cdn/XPGAQQQC.js +0 -2
  452. package/dist/cdn/XSMU7S2O.js +0 -2
  453. package/dist/cdn/YT6UJRLT.js +0 -2
  454. package/dist/cdn/YUZXLNNW.js +0 -2
  455. package/dist/cdn/YZ4W6DFR.js +0 -2
  456. package/dist/cdn/Z2BYWKFB.js +0 -2
  457. package/dist/cdn/ZCBRPKAV.js +0 -2
  458. package/dist/cdn/ZQLGBHLZ.js +0 -2
  459. package/dist/chunks/form.js +0 -268
  460. package/dist/chunks/input.js +0 -30
  461. package/dist/utils/form.d.ts +0 -3
  462. package/dist/utils/sortableComponent.d.ts +0 -7
@@ -102,7 +102,7 @@ export abstract class Sheet extends LitElement {
102
102
  * Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
103
103
  *
104
104
  * @default false
105
- * @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
105
+ * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
106
106
  */
107
107
  accessor topLayerDisabled: boolean;
108
108
  /** Specifies the component's width. */
@@ -118,7 +118,7 @@ export abstract class Sheet extends LitElement {
118
118
  * Sets focus on the component's "close" button - the first focusable item.
119
119
  *
120
120
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
121
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
121
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
122
122
  */
123
123
  setFocus(options?: FocusOptions): Promise<void>;
124
124
  /**
@@ -5,7 +5,8 @@ import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverrid
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
7
7
  import { createRef, ref } from "lit/directives/ref.js";
8
- import { z as ensureId, g as getElementDir, a as getStylePixelValue } from "../../chunks/dom.js";
8
+ import { useDirection } from "@arcgis/lumina/controllers";
9
+ import { B as ensureId, g as getStylePixelValue } from "../../chunks/dom.js";
9
10
  import { c as createObserver } from "../../chunks/observers.js";
10
11
  import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
11
12
  import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
@@ -32,11 +33,12 @@ const ICONS = {
32
33
  dragVertical: "drag-resize-vertical",
33
34
  dragHorizontal: "drag-resize-horizontal"
34
35
  };
35
- const styles = css`:host{position:absolute;inset:0;display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}:host([embedded]){z-index:var(--calcite-z-index-overlay)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;box-sizing:border-box;display:flex;opacity:0;color:var(--calcite-sheet-text-color, var(--calcite-color-text-2));transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88)}:host([top-layer-disabled]) .container,:host([embedded]) .container{z-index:var(--calcite-z-index-overlay)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--calcite-sheet-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden;z-index:calc(var(--calcite-z-index) * -1)}:host([top-layer-disabled]) .scrim{z-index:unset}[popover]{padding:0;margin:0;border:none;background-color:transparent;position:fixed;display:flex;inline-size:100%;block-size:100%}[popover]:popover-open{display:flex}:host([opened]){visibility:visible!important}.content{position:relative;box-sizing:border-box;display:flex;max-inline-size:100%;padding:0;background-color:var(--calcite-sheet-background-color, var(--calcite-color-foreground-1));max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transform:var(--calcite-sheet-hidden-position-internal)}:host([top-layer-disabled]),:host([top-layer-disabled]) .content,:host([embedded]) .content{z-index:var(--calcite-z-index-modal)}.content-container{position:relative;display:flex;max-block-size:100%;max-inline-size:100%;flex:1 1 0%;overflow:hidden}.content-container ::slotted(*){block-size:auto}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([display-mode=float]) .container{padding:var(--calcite-spacing-md)}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88),max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(.215,.44,.42,.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-end-end-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`;
36
+ const styles = css`:host{position:absolute;inset:0;display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}:host([embedded]){z-index:var(--calcite-z-index-overlay)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;box-sizing:border-box;display:flex;opacity:0;color:var(--calcite-sheet-text-color, var(--calcite-color-text-2));transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) ease-in-out}:host([top-layer-disabled]) .container,:host([embedded]) .container{z-index:var(--calcite-z-index-overlay)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, .2), 0 2px 4px -2px rgba(0, 0, 0, .16);--tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--calcite-sheet-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden;z-index:calc(var(--calcite-z-index) * -1)}:host([top-layer-disabled]) .scrim{z-index:unset}[popover]{padding:0;margin:0;border:none;background-color:transparent;position:fixed;display:flex;inline-size:100%;block-size:100%}[popover]:popover-open{display:flex}:host([opened]){visibility:visible!important}.content{position:relative;box-sizing:border-box;display:flex;max-inline-size:100%;padding:0;background-color:var(--calcite-sheet-background-color, var(--calcite-color-foreground-1));max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) ease-in-out,visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) ease-in-out;transform:var(--calcite-sheet-hidden-position-internal)}:host([top-layer-disabled]),:host([top-layer-disabled]) .content,:host([embedded]) .content{z-index:var(--calcite-z-index-modal)}.content-container{position:relative;display:flex;max-block-size:100%;max-inline-size:100%;flex:1 1 0%;overflow:hidden}.content-container ::slotted(*){block-size:auto}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([display-mode=float]) .container{padding:var(--calcite-spacing-md)}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) ease-in-out,visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) ease-in-out,max-inline-size var(--calcite-internal-animation-timing-medium) ease-in-out,max-block-size var(--calcite-internal-animation-timing-medium) ease-in-out;transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-end-end-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`;
36
37
  class Sheet extends LitElement {
37
38
  constructor() {
38
39
  super();
39
40
  this.contentRef = createRef();
41
+ this.direction = useDirection();
40
42
  this.focusTrap = useFocusTrap({
41
43
  triggerProp: "open",
42
44
  focusTrapOptions: {
@@ -178,14 +180,14 @@ class Sheet extends LitElement {
178
180
  }
179
181
  handleKeyDown(event) {
180
182
  const { key, defaultPrevented, shiftKey } = event;
181
- const { contentRef, position, resizable, el, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
183
+ const { contentRef, position, resizable, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
182
184
  const arrowKeys = position === "block-end" || position === "block-start" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"];
183
185
  const keys = [...arrowKeys, "Home", "End"];
184
186
  if (!resizable || !contentRef.value || defaultPrevented || !keys.includes(key)) {
185
187
  return;
186
188
  }
187
189
  const rect = this.getContentRefDOMRect();
188
- const invertRTL = getElementDir(el) === "rtl" ? -1 : 1;
190
+ const invertRTL = this.direction === "rtl" ? -1 : 1;
189
191
  const stepValue = shiftKey ? resizeShiftStep : resizeStep;
190
192
  switch (key) {
191
193
  case "ArrowUp":
@@ -256,7 +258,8 @@ class Sheet extends LitElement {
256
258
  maxInlineSize: getStylePixelValue(maxInlineSize) || window.innerWidth,
257
259
  maxBlockSize: getStylePixelValue(maxBlockSize) || window.innerHeight
258
260
  };
259
- const rtl = getElementDir(el) === "rtl";
261
+ this.resizeValues = values;
262
+ const rtl = this.direction === "rtl";
260
263
  this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
261
264
  edges: {
262
265
  top: position === "block-end" ? resizeHandleEl : false,
@@ -318,7 +321,7 @@ class Sheet extends LitElement {
318
321
  }
319
322
  render() {
320
323
  const { resizable, position, resizeValues } = this;
321
- const dir = getElementDir(this.el);
324
+ const dir = this.direction;
322
325
  const isBlockPosition = position === "block-start" || position === "block-end";
323
326
  setAttribute(this.el, "aria-describedby", this.contentId);
324
327
  this.el.ariaLabel = this.label;
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { keyed } from "lit/directives/keyed.js";
4
4
  import { css, html } from "lit";
5
5
  import { LitElement, safeClassMap } from "@arcgis/lumina";
6
- import { s as slotChangeHasAssignedElement, b as slotChangeGetAssignedElements } from "../../chunks/dom.js";
6
+ import { s as slotChangeHasAssignedElement, a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
7
7
  const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-panel){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:var(--calcite-border-width-sm);border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-none);border-inline-end-width:var(--calcite-border-width-none);border-style:solid}slot[name=panel-top]::slotted(calcite-shell-panel:not([display-mode^=float])),slot[name=panel-bottom]::slotted(calcite-shell-panel:not([display-mode^=float])){border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:var(--calcite-border-width-sm)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-panel){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);inset-block-end:.5rem;inset-inline:var(--calcite-shell-tip-spacing, 26vw)}slot[name=panel-bottom]::slotted(calcite-shell-panel){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-panel){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}`;
8
8
  const CSS = {
9
9
  main: "main",
@@ -5,7 +5,8 @@ import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverrid
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
7
7
  import { createRef, ref } from "lit/directives/ref.js";
8
- import { g as getElementDir, a as getStylePixelValue, b as slotChangeGetAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
8
+ import { useDirection } from "@arcgis/lumina/controllers";
9
+ import { g as getStylePixelValue, a as slotChangeGetAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
9
10
  import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
10
11
  import { a as ariaValueFromSize } from "../../chunks/aria.js";
11
12
  import { u as useT9n } from "../../chunks/useT9n.js";
@@ -35,6 +36,7 @@ const styles = css`:host{pointer-events:none;position:relative;display:flex;flex
35
36
  class ShellPanel extends LitElement {
36
37
  constructor() {
37
38
  super(...arguments);
39
+ this.direction = useDirection();
38
40
  this.actionBars = [];
39
41
  this.contentRef = createRef();
40
42
  this.messages = useT9n();
@@ -104,14 +106,14 @@ class ShellPanel extends LitElement {
104
106
  }
105
107
  handleKeyDown(event) {
106
108
  const { key, defaultPrevented, shiftKey } = event;
107
- const { position, layout, resizable, contentRef, el, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
109
+ const { position, layout, resizable, contentRef, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
108
110
  const arrowKeys = layout === "horizontal" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"];
109
111
  const keys = [...arrowKeys, "Home", "End"];
110
112
  if (!resizable || !contentRef.value || defaultPrevented || !keys.includes(key)) {
111
113
  return;
112
114
  }
113
115
  const rect = this.getContentElDOMRect();
114
- const invertRTL = getElementDir(el) === "rtl" ? -1 : 1;
116
+ const invertRTL = this.direction === "rtl" ? -1 : 1;
115
117
  const stepValue = shiftKey ? resizeShiftStep : resizeStep;
116
118
  switch (key) {
117
119
  case "ArrowUp":
@@ -168,7 +170,7 @@ class ShellPanel extends LitElement {
168
170
  maxBlockSize: getStylePixelValue(maxBlockSize) || window.innerHeight
169
171
  };
170
172
  this.resizeValues = values;
171
- const rtl = getElementDir(el) === "rtl";
173
+ const rtl = this.direction === "rtl";
172
174
  this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
173
175
  edges: {
174
176
  top: position === "end" && layout === "horizontal" ? resizeHandleEl : false,
@@ -226,7 +228,7 @@ class ShellPanel extends LitElement {
226
228
  }
227
229
  render() {
228
230
  const { collapsed, position, resizable, layout, displayMode, resizeValues } = this;
229
- const dir = getElementDir(this.el);
231
+ const dir = this.direction;
230
232
  const isBlockPosition = layout === "horizontal";
231
233
  const separatorNode = !collapsed && resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resize} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.maxBlockSize, resizeValues.maxInlineSize)} .ariaValueMin=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.minBlockSize, resizeValues.minInlineSize)} .ariaValueNow=${ariaValueFromSize(isBlockPosition ? "block" : "inline", 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;
232
234
  const getAnimationDir = () => {
@@ -1,6 +1,5 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { MutableValidityState } from "../../utils/form.js";
4
3
  import type { NumberingSystem } from "../../utils/locale.js";
5
4
  import type { ColorStop, DataSeries } from "../calcite-graph/interfaces.js";
6
5
  import type { Scale, Status } from "../interfaces.js";
@@ -162,16 +161,16 @@ export abstract class Slider extends LitElement {
162
161
  /**
163
162
  * The component's current validation state.
164
163
  *
165
- * @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
164
+ * @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
166
165
  */
167
- get validity(): MutableValidityState;
166
+ get validity(): ValidityState;
168
167
  /** The component's value. */
169
168
  accessor value: number | number[];
170
169
  /**
171
170
  * Sets focus on the component.
172
171
  *
173
172
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
174
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
173
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
175
174
  */
176
175
  setFocus(options?: FocusOptions): Promise<void>;
177
176
  /**
@@ -5,10 +5,9 @@ import { css, html, nothing } from "lit";
5
5
  import { LitElement, createEvent, stringOrBoolean, setAttribute, safeClassMap, safeStyleMap } from "@arcgis/lumina";
6
6
  import { createRef, ref } from "lit/directives/ref.js";
7
7
  import { g as guid } from "../../chunks/guid.js";
8
- import { k as isPrimaryPointerButton, x as intersects } from "../../chunks/dom.js";
8
+ import { j as isPrimaryPointerButton, z as intersects } from "../../chunks/dom.js";
9
9
  import { I as InternalLabel } from "../../chunks/InternalLabel.js";
10
10
  import { V as Validation } from "../../chunks/Validation.js";
11
- import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
12
11
  import { i as isActivationKey } from "../../chunks/key.js";
13
12
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from "../../chunks/label.js";
14
13
  import { n as numberStringFormatter, B as BigDecimal } from "../../chunks/locale.js";
@@ -16,6 +15,7 @@ import { d as decimalPlaces, c as clamp } from "../../chunks/math.js";
16
15
  import { u as useT9n } from "../../chunks/useT9n.js";
17
16
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
18
17
  import { u as useInteractive } from "../../chunks/useInteractive.js";
18
+ import { u as useForm } from "../../chunks/useForm.js";
19
19
  const CSS = {
20
20
  container: "container",
21
21
  containerRange: "container--range",
@@ -51,7 +51,7 @@ const IDS = {
51
51
  host: (id) => `${idPrefix}-${id}`
52
52
  };
53
53
  const maxTickElementThreshold = 250;
54
- const styles = css`@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:"—";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:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(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)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
54
+ const styles = css`@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: var(--calcite-space-sm-plus);--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:"—";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:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(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)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
55
55
  function isRange(value) {
56
56
  return Array.isArray(value);
57
57
  }
@@ -117,8 +117,11 @@ class Slider extends LitElement {
117
117
  };
118
118
  return numberStringFormatter.localize(value.toString());
119
119
  };
120
+ this.formSupport = useForm({
121
+ inputType: "range"
122
+ })(this);
120
123
  this.guid = IDS.host(guid());
121
- this.messages = useT9n();
124
+ this.messages = useT9n({ blocking: true });
122
125
  this.pointerUpDragEnd = (event) => {
123
126
  if (this.disabled || !isPrimaryPointerButton(event)) {
124
127
  return;
@@ -149,19 +152,6 @@ class Slider extends LitElement {
149
152
  this.snap = false;
150
153
  this.status = "idle";
151
154
  this.step = 1;
152
- this.validity = {
153
- valid: false,
154
- badInput: false,
155
- customError: false,
156
- patternMismatch: false,
157
- rangeOverflow: false,
158
- rangeUnderflow: false,
159
- stepMismatch: false,
160
- tooLong: false,
161
- tooShort: false,
162
- typeMismatch: false,
163
- valueMissing: false
164
- };
165
155
  this.calciteSliderChange = createEvent({ cancelable: false });
166
156
  this.calciteSliderInput = createEvent({ cancelable: false });
167
157
  this.listen("pointerdown", this.pointerDownHandler);
@@ -169,7 +159,10 @@ class Slider extends LitElement {
169
159
  this.listen("touchstart", this.handleTouchStart);
170
160
  }
171
161
  static {
172
- this.properties = { activeProp: [16, {}, { state: true }], maxValueDragRange: [16, {}, { state: true }], minMaxValueRange: [16, {}, { state: true }], minValueDragRange: [16, {}, { state: true }], tickValues: [16, {}, { state: true }], disabled: [7, {}, { reflect: true, type: Boolean }], fillPlacement: [3, {}, { reflect: true }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], hasHistogram: [7, {}, { reflect: true, type: Boolean }], histogram: [0, {}, { attribute: false }], histogramStops: [0, {}, { attribute: false }], labelFormatter: [0, {}, { attribute: false }], labelHandles: [7, {}, { reflect: true, type: Boolean }], labelTicks: [7, {}, { reflect: true, type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLabel: 1, maxValue: [9, {}, { type: Number }], min: [11, {}, { reflect: true, type: Number }], minLabel: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], minValue: [9, {}, { type: Number }], mirrored: [7, {}, { reflect: true, type: Boolean }], name: [3, {}, { reflect: true }], numberingSystem: 1, pageStep: [11, {}, { reflect: true, type: Number }], precise: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], snap: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], step: [11, {}, { reflect: true, type: Number }], ticks: [11, {}, { reflect: true, type: Number }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [0, {}, { attribute: false }], value: [11, {}, { reflect: true, type: Number }] };
162
+ this.properties = { activeProp: [16, {}, { state: true }], maxValueDragRange: [16, {}, { state: true }], minMaxValueRange: [16, {}, { state: true }], minValueDragRange: [16, {}, { state: true }], tickValues: [16, {}, { state: true }], disabled: [7, {}, { reflect: true, type: Boolean }], fillPlacement: [3, {}, { reflect: true }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], hasHistogram: [7, {}, { reflect: true, type: Boolean }], histogram: [0, {}, { attribute: false }], histogramStops: [0, {}, { attribute: false }], labelFormatter: [0, {}, { attribute: false }], labelHandles: [7, {}, { reflect: true, type: Boolean }], labelTicks: [7, {}, { reflect: true, type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLabel: 1, maxValue: [9, {}, { type: Number }], min: [11, {}, { reflect: true, type: Number }], minLabel: 1, labelText: 1, messageOverrides: [0, {}, { attribute: false }], minValue: [9, {}, { type: Number }], mirrored: [7, {}, { reflect: true, type: Boolean }], name: [3, {}, { reflect: true }], numberingSystem: 1, pageStep: [11, {}, { reflect: true, type: Number }], precise: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], snap: [7, {}, { reflect: true, type: Boolean }], status: [3, {}, { reflect: true }], step: [11, {}, { reflect: true, type: Number }], ticks: [11, {}, { reflect: true, type: Number }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [32, {}, { readOnly: true, attribute: false }], value: [11, {}, { reflect: true, type: Number }] };
163
+ }
164
+ static {
165
+ this.formAssociated = true;
173
166
  }
174
167
  static {
175
168
  this.shadowRootOptions = { mode: "open", delegatesFocus: true };
@@ -202,12 +195,10 @@ class Slider extends LitElement {
202
195
  this.setMinMaxFromValue();
203
196
  this.setValueFromMinMax();
204
197
  connectLabel(this);
205
- connectForm(this);
206
198
  this.previousEmittedValue = this.value;
207
199
  }
208
200
  load() {
209
201
  this.setInitialValue();
210
- afterConnectDefaultValueSet(this, this.value);
211
202
  }
212
203
  willUpdate(changes) {
213
204
  if (changes.has("histogram")) {
@@ -238,7 +229,6 @@ class Slider extends LitElement {
238
229
  disconnectedCallback() {
239
230
  super.disconnectedCallback();
240
231
  disconnectLabel(this);
241
- disconnectForm(this);
242
232
  this.removeDragListeners();
243
233
  }
244
234
  setInitialValue() {
@@ -690,7 +680,7 @@ class Slider extends LitElement {
690
680
  left: mirror ? "" : tickOffset,
691
681
  right: mirror ? tickOffset : ""
692
682
  })}>${this.renderTickLabel(tick)}</span>`;
693
- })}</div></div><div class=${safeClassMap(CSS.thumbContainer)}>${minThumb}${thumb}${HiddenFormInputSlot({ component: this })}</div></div>${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, scale: this.scale, status: this.status }) : null}` });
683
+ })}</div></div><div class=${safeClassMap(CSS.thumbContainer)}>${minThumb}${thumb}</div></div>${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, scale: this.scale, status: this.status }) : null}` });
694
684
  }
695
685
  renderThumb({ type, mirror, thumbPlacement, minInterval, maxInterval }) {
696
686
  const isLabeled = type.includes("labeled");
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Scale } from "../interfaces.js";
4
- import type { FlipPlacement, MenuPlacement, OverlayPositioning } from "../../utils/floating-ui.js";
4
+ import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../utils/floating-ui.js";
5
5
  import type { MoveEventDetail, SortMenuItem, ReorderEventDetail, AddEventDetail } from "./interfaces.js";
6
6
 
7
7
  export abstract class SortHandle extends LitElement {
@@ -52,7 +52,7 @@ export abstract class SortHandle extends LitElement {
52
52
  *
53
53
  * @default "bottom-start"
54
54
  */
55
- accessor placement: MenuPlacement;
55
+ accessor placement: LogicalPlacement;
56
56
  /**
57
57
  * Specifies the size of the component.
58
58
  *
@@ -75,7 +75,7 @@ export abstract class SortHandle extends LitElement {
75
75
  * Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
76
76
  *
77
77
  * @default false
78
- * @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
78
+ * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
79
79
  */
80
80
  accessor topLayerDisabled: boolean;
81
81
  /** Specifies the width of the component. */
@@ -84,7 +84,7 @@ export abstract class SortHandle extends LitElement {
84
84
  * Sets focus on the component.
85
85
  *
86
86
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
87
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
87
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
88
88
  */
89
89
  setFocus(options?: FocusOptions): Promise<void>;
90
90
  /** Fires when an add item has been selected. */
@@ -64,13 +64,42 @@ class SortHandle extends LitElement {
64
64
  return typeof this.setPosition === "number" && typeof this.setSize === "number";
65
65
  }
66
66
  get hasValidSetInfo() {
67
- return this.hasSetInfo ? this.setPosition > 0 && this.setSize > 1 : true;
67
+ return this.hasSetInfo ? this.setPosition > 0 && this.setPosition <= this.setSize && this.setSize > 0 : true;
68
68
  }
69
69
  get hasReorderItems() {
70
70
  return !this.sortDisabled && this.hasValidSetInfo;
71
71
  }
72
+ get hasMoveToItems() {
73
+ return this.moveToItems.length > 0;
74
+ }
75
+ get hasAddToItems() {
76
+ return this.addToItems.length > 0;
77
+ }
78
+ get reorderGroupTitle() {
79
+ return this.hasMoveToItems || this.hasAddToItems ? this.messages.reorder : "";
80
+ }
72
81
  get hasNoItems() {
73
- return !this.hasReorderItems && this.moveToItems.length < 1 && this.addToItems.length < 1;
82
+ return !this.hasReorderItems && !this.hasMoveToItems && !this.hasAddToItems;
83
+ }
84
+ get hasAllReorderItemsDisabled() {
85
+ return this.hasReorderItems && this.isTopReorderDisabled && this.isUpReorderDisabled && this.isDownReorderDisabled && this.isBottomReorderDisabled;
86
+ }
87
+ get hasOnlyDisabledReorderItems() {
88
+ return this.hasReorderItems && !this.hasMoveToItems && !this.hasAddToItems && this.hasAllReorderItemsDisabled;
89
+ }
90
+ get isTopReorderDisabled() {
91
+ const { setPosition } = this;
92
+ return setPosition === 1 || setPosition === 2;
93
+ }
94
+ get isUpReorderDisabled() {
95
+ return this.setPosition === 1;
96
+ }
97
+ get isDownReorderDisabled() {
98
+ return this.setPosition === this.setSize;
99
+ }
100
+ get isBottomReorderDisabled() {
101
+ const { setPosition, setSize } = this;
102
+ return setPosition === setSize || setPosition === setSize - 1;
74
103
  }
75
104
  async setFocus(options) {
76
105
  return this.focusSetter(() => this.dropdownEl, options);
@@ -139,9 +168,9 @@ class SortHandle extends LitElement {
139
168
  this.calciteSortHandleAdd.emit({ addTo });
140
169
  }
141
170
  render() {
142
- const { disabled, flipPlacements, open, overlayPositioning, placement, scale, widthScale, hasNoItems } = this;
171
+ const { disabled, flipPlacements, hasOnlyDisabledReorderItems, open, overlayPositioning, placement, scale, widthScale, hasNoItems } = this;
143
172
  const text = this.getLabel();
144
- const isDisabled = disabled || hasNoItems;
173
+ const isDisabled = disabled || hasNoItems || hasOnlyDisabledReorderItems;
145
174
  return this.interactiveContainer({ disabled, children: html`<calcite-dropdown class=${safeClassMap(CSS.dropdown)} .disabled=${isDisabled} .flipPlacements=${flipPlacements} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${overlayPositioning} .placement=${placement} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${widthScale} ${ref(this.setDropdownEl)}><calcite-action .active=${open} .aria=${{ expanded: open }} class=${safeClassMap(CSS.handle)} .dragHandle=${true} .icon=${disabled ? ICONS.blank : ICONS.drag} .label=${text} .scale=${scale} slot=${SLOTS.trigger} .text=${text} title=${text ?? nothing}></calcite-action>${this.renderReorderGroup()}${this.renderMoveToGroup()}${this.renderAddToGroup()}</calcite-dropdown>` });
146
175
  }
147
176
  renderAddToItem(addToItem) {
@@ -151,32 +180,30 @@ class SortHandle extends LitElement {
151
180
  return keyed(moveToItem.id, html`<calcite-dropdown-item data-id=${moveToItem.id ?? nothing} .label=${moveToItem.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${moveToItem.label}</calcite-dropdown-item>`);
152
181
  }
153
182
  renderReorderGroup() {
154
- return this.hasReorderItems ? keyed("reorder", html`<calcite-dropdown-group .groupTitle=${this.messages.reorder} id=${IDS.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`) : null;
183
+ return this.hasReorderItems ? keyed("reorder", html`<calcite-dropdown-group .groupTitle=${this.reorderGroupTitle} id=${IDS.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`) : null;
155
184
  }
156
185
  renderAddToGroup() {
157
- const { messages, addToItems, scale } = this;
158
- return addToItems.length ? keyed("add-to-items", html`<calcite-dropdown-group .groupTitle=${messages.addTo} id=${IDS.add} .scale=${scale} selection-mode=none>${addToItems.map((addToItem) => this.renderAddToItem(addToItem))}</calcite-dropdown-group>`) : null;
186
+ const { messages, addToItems, scale, hasAddToItems } = this;
187
+ return hasAddToItems ? keyed("add-to-items", html`<calcite-dropdown-group .groupTitle=${messages.addTo} id=${IDS.add} .scale=${scale} selection-mode=none>${addToItems.map((addToItem) => this.renderAddToItem(addToItem))}</calcite-dropdown-group>`) : null;
159
188
  }
160
189
  renderMoveToGroup() {
161
- const { messages, moveToItems, scale } = this;
162
- return moveToItems.length ? keyed("move-to-items", html`<calcite-dropdown-group .groupTitle=${messages.moveTo} id=${IDS.move} .scale=${scale} selection-mode=none>${moveToItems.map((moveToItem) => this.renderMoveToItem(moveToItem))}</calcite-dropdown-group>`) : null;
190
+ const { messages, moveToItems, scale, hasMoveToItems } = this;
191
+ return hasMoveToItems ? keyed("move-to-items", html`<calcite-dropdown-group .groupTitle=${messages.moveTo} id=${IDS.move} .scale=${scale} selection-mode=none>${moveToItems.map((moveToItem) => this.renderMoveToItem(moveToItem))}</calcite-dropdown-group>`) : null;
163
192
  }
164
- renderDropdownItem(positionIndex, label) {
165
- return keyed(REORDER_VALUES[positionIndex], html`<calcite-dropdown-item data-value=${REORDER_VALUES[positionIndex] ?? nothing} .label=${label} @calciteDropdownItemSelect=${this.handleReorder}>${label}</calcite-dropdown-item>`);
193
+ renderDropdownItem(positionIndex, label, disabled = false) {
194
+ return keyed(REORDER_VALUES[positionIndex], html`<calcite-dropdown-item data-value=${REORDER_VALUES[positionIndex] ?? nothing} .disabled=${disabled} .label=${label} @calciteDropdownItemSelect=${this.handleReorder}>${label}</calcite-dropdown-item>`);
166
195
  }
167
196
  renderTop() {
168
- const { setPosition } = this;
169
- return setPosition !== 1 && setPosition !== 2 ? this.renderDropdownItem(0, this.messages.moveToTop) : null;
197
+ return this.renderDropdownItem(0, this.messages.moveToTop, this.isTopReorderDisabled);
170
198
  }
171
199
  renderUp() {
172
- return this.setPosition !== 1 ? this.renderDropdownItem(1, this.messages.moveUp) : null;
200
+ return this.renderDropdownItem(1, this.messages.moveUp, this.isUpReorderDisabled);
173
201
  }
174
202
  renderDown() {
175
- return this.setPosition !== this.setSize ? this.renderDropdownItem(2, this.messages.moveDown) : null;
203
+ return this.renderDropdownItem(2, this.messages.moveDown, this.isDownReorderDisabled);
176
204
  }
177
205
  renderBottom() {
178
- const { setPosition, setSize } = this;
179
- return setPosition !== setSize && setPosition !== setSize - 1 ? this.renderDropdownItem(3, this.messages.moveToBottom) : null;
206
+ return this.renderDropdownItem(3, this.messages.moveToBottom, this.isBottomReorderDisabled);
180
207
  }
181
208
  }
182
209
  customElement("calcite-sort-handle", SortHandle);
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Layout } from "../interfaces.js";
4
- import type { DragDetail } from "../../utils/sortableComponent.js";
4
+ import type { DragDetail } from "../../controllers/useSortable.js";
5
5
 
6
6
  /**
7
7
  * @deprecated Use the `calcite-block-group` component instead.
@@ -3,10 +3,10 @@ import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
5
5
  import { c as createObserver } from "../../chunks/observers.js";
6
- import { d as disconnectSortableComponent, c as connectSortableComponent } from "../../chunks/sortableComponent.js";
7
- import { j as focusElement } from "../../chunks/dom.js";
6
+ import { i as focusElement } from "../../chunks/dom.js";
8
7
  import { l as logger } from "../../chunks/logger.js";
9
8
  import { u as useInteractive } from "../../chunks/useInteractive.js";
9
+ import { u as useSortable } from "../../chunks/useSortable.js";
10
10
  const CSS = {
11
11
  container: "container",
12
12
  containerHorizontal: "container--horizontal",
@@ -21,6 +21,7 @@ class SortableList extends LitElement {
21
21
  this.mutationObserver = createObserver("mutation", () => {
22
22
  this.setUpSorting();
23
23
  });
24
+ this.sortable = useSortable()(this);
24
25
  this.interactiveContainer = useInteractive(this);
25
26
  this.disabled = false;
26
27
  this.handleSelector = "calcite-handle";
@@ -50,7 +51,6 @@ class SortableList extends LitElement {
50
51
  }
51
52
  disconnectedCallback() {
52
53
  super.disconnectedCallback();
53
- disconnectSortableComponent(this);
54
54
  this.endObserving();
55
55
  }
56
56
  calciteHandleNudgeNextHandler(event) {
@@ -110,7 +110,7 @@ class SortableList extends LitElement {
110
110
  }
111
111
  setUpSorting() {
112
112
  this.items = Array.from(this.el.children);
113
- connectSortableComponent(this);
113
+ this.sortable.reset();
114
114
  }
115
115
  beginObserving() {
116
116
  this.mutationObserver?.observe(this.el, { childList: true, subtree: true });