@esri/calcite-components 5.1.0-next.8 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (501) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{H6GZBNAP.js → 2I4IL7KB.js} +1 -1
  3. package/dist/cdn/{B6PZTEUN.js → 2P5ISR6V.js} +1 -1
  4. package/dist/cdn/2TVQXBLD.js +2 -0
  5. package/dist/cdn/2VKTPJWO.js +2 -0
  6. package/dist/cdn/3GDRQKT2.js +2 -0
  7. package/dist/cdn/{SZBL6UYR.js → 3HTVKOWE.js} +1 -1
  8. package/dist/cdn/{PUV74SQM.js → 3IM4BLOF.js} +1 -1
  9. package/dist/cdn/44WHX5D3.js +2 -0
  10. package/dist/cdn/{WVFJMOTI.js → 46F35NGY.js} +1 -1
  11. package/dist/cdn/4A2BNZJW.js +2 -0
  12. package/dist/cdn/{4C3MDIBF.js → 4ANP3V6G.js} +1 -1
  13. package/dist/cdn/4PUYRVNO.js +2 -0
  14. package/dist/cdn/{XIHNK7BL.js → 4RELRYKX.js} +1 -1
  15. package/dist/cdn/4V5C3DSP.js +2 -0
  16. package/dist/cdn/54WP47EN.js +2 -0
  17. package/dist/cdn/5C72Z4LQ.js +2 -0
  18. package/dist/cdn/{AQRFO7EB.js → 5OLLJHWT.js} +1 -1
  19. package/dist/cdn/5SDZUEAZ.js +2 -0
  20. package/dist/cdn/5ULM4EXU.js +2 -0
  21. package/dist/cdn/6U4CYHVA.js +2 -0
  22. package/dist/cdn/6UERLWMH.js +2 -0
  23. package/dist/cdn/{FP7RUVVK.js → 6XE2EP66.js} +1 -1
  24. package/dist/cdn/{X7WG3NQR.js → 6YLT6LZJ.js} +1 -1
  25. package/dist/cdn/6ZUCCZI3.js +2 -0
  26. package/dist/cdn/{7J54SLPG.js → 75ARST2G.js} +1 -1
  27. package/dist/cdn/{ZTRVZ3XB.js → 7A746NXL.js} +1 -1
  28. package/dist/cdn/7DBM34FB.js +2 -0
  29. package/dist/cdn/7FTYXBPX.js +2 -0
  30. package/dist/cdn/7OWLHFPX.js +2 -0
  31. package/dist/cdn/7XMGNOPQ.js +2 -0
  32. package/dist/cdn/A5L2Q32C.js +2 -0
  33. package/dist/cdn/ADH55C3C.js +2 -0
  34. package/dist/cdn/{MMKBWG37.js → ADH5D4IE.js} +1 -1
  35. package/dist/cdn/AFGFN5LE.js +2 -0
  36. package/dist/cdn/AKKQ5DPN.js +2 -0
  37. package/dist/cdn/{6UI3PKF5.js → AYFJCHPP.js} +1 -1
  38. package/dist/cdn/{YRXMN6UU.js → BL4CROY4.js} +1 -1
  39. package/dist/cdn/{LESJQSHY.js → BONCETQ5.js} +1 -1
  40. package/dist/cdn/BOZBB7XQ.js +2 -0
  41. package/dist/cdn/BPVUFU5U.js +4 -0
  42. package/dist/cdn/CY6G2WDI.js +2 -0
  43. package/dist/cdn/{ZNRHT3KC.js → CYVIISMJ.js} +1 -1
  44. package/dist/cdn/{UW5IDOUT.js → D44AQ74K.js} +1 -1
  45. package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
  46. package/dist/cdn/{7BCKEAN4.js → DJTEYVEK.js} +1 -1
  47. package/dist/cdn/DK56URUM.js +2 -0
  48. package/dist/cdn/DMMA5ZYG.js +2 -0
  49. package/dist/cdn/DYMICF33.js +2 -0
  50. package/dist/cdn/{6LSU4JVT.js → E2T2QERX.js} +1 -1
  51. package/dist/cdn/{LWQNBQLX.js → ECXU6B4A.js} +1 -1
  52. package/dist/cdn/EOJ2AVKD.js +2 -0
  53. package/dist/cdn/{H5CLLKA7.js → EPDTHVMK.js} +1 -1
  54. package/dist/cdn/EPNCB6OJ.js +2 -0
  55. package/dist/cdn/FFB3HCSC.js +2 -0
  56. package/dist/cdn/{Z5H3SBF4.js → FHGV3WTN.js} +1 -1
  57. package/dist/cdn/{QLMMEMXZ.js → GALIT4BA.js} +1 -1
  58. package/dist/cdn/{A5U47A46.js → GB2TPSAG.js} +1 -1
  59. package/dist/cdn/{EDTUYGTH.js → GCNYPWEC.js} +1 -1
  60. package/dist/cdn/GDZAGWDU.js +2 -0
  61. package/dist/cdn/{N6UQ2IN3.js → GEEPTD4A.js} +1 -1
  62. package/dist/cdn/{222PZZVE.js → GFEJFYRL.js} +1 -1
  63. package/dist/cdn/{VAIV6TN5.js → GI6UQRPO.js} +1 -1
  64. package/dist/cdn/GJL5RMPQ.js +2 -0
  65. package/dist/cdn/{CW3BSFXN.js → GT3BV452.js} +1 -1
  66. package/dist/cdn/GZHK6NCY.js +2 -0
  67. package/dist/cdn/HB4MH2EZ.js +2 -0
  68. package/dist/cdn/HRC6BJMW.js +2 -0
  69. package/dist/cdn/{OI5C3DZQ.js → I5D2AGK5.js} +1 -1
  70. package/dist/cdn/IEPYYQBO.js +2 -0
  71. package/dist/cdn/{SJMZTW3M.js → ISTQU57G.js} +1 -1
  72. package/dist/cdn/J3ELP2FF.js +2 -0
  73. package/dist/cdn/JITQNOBY.js +2 -0
  74. package/dist/cdn/JIWTOV7Q.js +2 -0
  75. package/dist/cdn/JRHGPYNH.js +2 -0
  76. package/dist/cdn/{XWSZOGW5.js → JWG2PPAV.js} +1 -1
  77. package/dist/cdn/{7PY56QMA.js → JZWVIZ2B.js} +1 -1
  78. package/dist/cdn/{O64Y2APR.js → K57DPE4N.js} +1 -1
  79. package/dist/cdn/{OHI6NELF.js → KEAGVFG4.js} +1 -1
  80. package/dist/cdn/KED2RZ42.js +2 -0
  81. package/dist/cdn/KEFKNHSD.js +2 -0
  82. package/dist/cdn/KLW37VF4.js +2 -0
  83. package/dist/cdn/{PWPVALIF.js → KSR5E33C.js} +1 -1
  84. package/dist/cdn/{LS6DCTIG.js → KTBER6SN.js} +1 -1
  85. package/dist/cdn/{BWVI7Y36.js → KTUCOBBY.js} +1 -1
  86. package/dist/cdn/{QZKM3D6F.js → KWFOKTKG.js} +1 -1
  87. package/dist/cdn/LBFLMGFV.js +2 -0
  88. package/dist/cdn/LHYTGIZG.js +2 -0
  89. package/dist/cdn/{M7DW3FTJ.js → LO5HOYI2.js} +1 -1
  90. package/dist/cdn/LOAHLN6N.js +2 -0
  91. package/dist/cdn/{YOWRCPCO.js → LUWJNSYS.js} +1 -1
  92. package/dist/cdn/MJPROSY6.js +2 -0
  93. package/dist/cdn/{2MVB66KM.js → NBXPROCG.js} +1 -1
  94. package/dist/cdn/NERFMP54.js +2 -0
  95. package/dist/cdn/{FHTREWRA.js → NKYEDCKH.js} +1 -1
  96. package/dist/cdn/NRALFORW.js +2 -0
  97. package/dist/cdn/{ITDGV5OO.js → NRY3KXPN.js} +1 -1
  98. package/dist/cdn/{VS2M3PA6.js → NRYIW7DB.js} +1 -1
  99. package/dist/cdn/NTYYNNBV.js +2 -0
  100. package/dist/cdn/NU23JDGC.js +2 -0
  101. package/dist/cdn/NZC2U4OU.js +2 -0
  102. package/dist/cdn/ODKPYY3R.js +2 -0
  103. package/dist/cdn/OQHB5W7D.js +2 -0
  104. package/dist/cdn/PQ5ASGHR.js +2 -0
  105. package/dist/cdn/PZVPEXW2.js +2 -0
  106. package/dist/cdn/QOPSMYNJ.js +2 -0
  107. package/dist/cdn/QP76SSEW.js +2 -0
  108. package/dist/cdn/{C6PZ6UXS.js → QSU37BPY.js} +1 -1
  109. package/dist/cdn/{EBTV6BQC.js → QYODZAGH.js} +1 -1
  110. package/dist/cdn/R2VQIQOY.js +2 -0
  111. package/dist/cdn/R3SNXCXR.js +2 -0
  112. package/dist/cdn/RJTQLFW2.js +2 -0
  113. package/dist/cdn/{ZWUAND2V.js → RRF6AKIF.js} +1 -1
  114. package/dist/cdn/RSCWCCYB.js +2 -0
  115. package/dist/cdn/{WGLBPXGA.js → RUVQ7O6L.js} +1 -1
  116. package/dist/cdn/RYLKDSFN.js +3 -0
  117. package/dist/cdn/STAAJHPM.js +2 -0
  118. package/dist/cdn/{TRQXVBXU.js → SUEXKJRG.js} +1 -1
  119. package/dist/cdn/TAZRZNVR.js +2 -0
  120. package/dist/cdn/{QO4WS7CE.js → TKHRV4GA.js} +1 -1
  121. package/dist/cdn/{N4R7WBTP.js → TSWJKW5G.js} +1 -1
  122. package/dist/cdn/UDRFE54L.js +2 -0
  123. package/dist/cdn/USZ4G42E.js +2 -0
  124. package/dist/cdn/{DY2ED436.js → UTEI7VLM.js} +1 -1
  125. package/dist/cdn/UWU3SSNM.js +2 -0
  126. package/dist/cdn/UY76KLJJ.js +2 -0
  127. package/dist/cdn/{T2ZN7HPU.js → V5LDBUD2.js} +1 -1
  128. package/dist/cdn/VAXAY3BK.js +2 -0
  129. package/dist/cdn/{DOWM2T5Z.js → VD7KVHE6.js} +1 -1
  130. package/dist/cdn/{7SJGHMRM.js → VYK6NRTI.js} +1 -1
  131. package/dist/cdn/W5TINV5N.js +2 -0
  132. package/dist/cdn/W753MF3U.js +2 -0
  133. package/dist/cdn/WC3SB5B7.js +2 -0
  134. package/dist/cdn/{RH6ZIP65.js → WGGFNK4Z.js} +1 -1
  135. package/dist/cdn/WTP5LKQS.js +2 -0
  136. package/dist/cdn/{NRP3ANIH.js → X3WAJ4V4.js} +1 -1
  137. package/dist/cdn/XMHBPNOP.js +2 -0
  138. package/dist/cdn/{FZIKVG4Q.js → XQXKNOUC.js} +1 -1
  139. package/dist/cdn/{R7ZYHFUG.js → XTKAAKGX.js} +1 -1
  140. package/dist/cdn/XVCPLNXU.js +2 -0
  141. package/dist/cdn/XZK4WGVJ.js +4 -0
  142. package/dist/cdn/{47YWJRMK.js → Y47FX6CN.js} +1 -1
  143. package/dist/cdn/{ITZTBZ6D.js → YFT7U3IW.js} +1 -1
  144. package/dist/cdn/{CZLSVHDA.js → YLZT3LR4.js} +1 -1
  145. package/dist/cdn/{VSGEBKJL.js → ZQ4VNHFE.js} +1 -1
  146. package/dist/cdn/ZSTOD4V7.js +2 -0
  147. package/dist/cdn/ZYQDIIRU.js +2 -0
  148. package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
  149. package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
  150. package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
  151. package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
  152. package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
  153. package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
  154. package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
  155. package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
  156. package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
  157. package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
  158. package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
  159. package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
  160. package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
  161. package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
  162. package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
  163. package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
  164. package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
  165. package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
  166. package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
  167. package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
  168. package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
  169. package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
  170. package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
  171. package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
  172. package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
  173. package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
  174. package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
  175. package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
  176. package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
  177. package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
  178. package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
  179. package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
  180. package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
  181. package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
  182. package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
  183. package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
  184. package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
  185. package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
  186. package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
  187. package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
  188. package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
  189. package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
  190. package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
  191. package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
  192. package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
  193. package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
  194. package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
  195. package/dist/cdn/assets/icon/buttons16.json +1 -0
  196. package/dist/cdn/assets/icon/buttons24.json +1 -0
  197. package/dist/cdn/assets/icon/buttons32.json +1 -0
  198. package/dist/cdn/assets/icon/entityTypes16.json +1 -0
  199. package/dist/cdn/assets/icon/entityTypes24.json +1 -0
  200. package/dist/cdn/assets/icon/entityTypes32.json +1 -0
  201. package/dist/cdn/assets/icon/gpsReceiver16.json +1 -0
  202. package/dist/cdn/assets/icon/gpsReceiver24.json +1 -0
  203. package/dist/cdn/assets/icon/gpsReceiver32.json +1 -0
  204. package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
  205. package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
  206. package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
  207. package/dist/cdn/assets/icon/returnToDefault16.json +1 -0
  208. package/dist/cdn/assets/icon/returnToDefault24.json +1 -0
  209. package/dist/cdn/assets/icon/returnToDefault32.json +1 -0
  210. package/dist/cdn/assets/icon/reviewMap16.json +1 -0
  211. package/dist/cdn/assets/icon/reviewMap24.json +1 -0
  212. package/dist/cdn/assets/icon/reviewMap32.json +1 -0
  213. package/dist/cdn/assets/icon/totalStation16.json +1 -0
  214. package/dist/cdn/assets/icon/totalStation24.json +1 -0
  215. package/dist/cdn/assets/icon/totalStation32.json +1 -0
  216. package/dist/cdn/assets/icon/velocityServer16.json +1 -0
  217. package/dist/cdn/assets/icon/velocityServer24.json +1 -0
  218. package/dist/cdn/assets/icon/velocityServer32.json +1 -0
  219. package/dist/cdn/index.js +2 -2
  220. package/dist/cdn/main.css +2 -2
  221. package/dist/chunks/ClearButton.js +16 -0
  222. package/dist/chunks/ExpandToggle.js +2 -2
  223. package/dist/chunks/Heading.js +3 -3
  224. package/dist/chunks/component.js +1 -1
  225. package/dist/chunks/dom.js +49 -28
  226. package/dist/chunks/floating-ui.js +2 -5
  227. package/dist/chunks/locale.js +29 -12
  228. package/dist/chunks/manager.js +505 -0
  229. package/dist/chunks/resources6.js +2 -0
  230. package/dist/chunks/runtime.js +4 -4
  231. package/dist/chunks/useFocusTrap.js +70 -28
  232. package/dist/chunks/useForm.js +225 -44
  233. package/dist/chunks/useFormTrigger.js +25 -0
  234. package/dist/chunks/{sortableComponent.js → useSortable.js} +70 -44
  235. package/dist/chunks/utils.js +6 -6
  236. package/dist/chunks/utils3.js +18 -3
  237. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  238. package/dist/components/calcite-action/customElement.d.ts +20 -12
  239. package/dist/components/calcite-action/customElement.js +10 -15
  240. package/dist/components/calcite-action-bar/customElement.d.ts +4 -4
  241. package/dist/components/calcite-action-bar/customElement.js +12 -6
  242. package/dist/components/calcite-action-group/customElement.d.ts +12 -6
  243. package/dist/components/calcite-action-group/customElement.js +2 -1
  244. package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
  245. package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
  246. package/dist/components/calcite-action-pad/customElement.js +12 -7
  247. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  248. package/dist/components/calcite-alert/customElement.js +1 -1
  249. package/dist/components/calcite-autocomplete/customElement.d.ts +16 -13
  250. package/dist/components/calcite-autocomplete/customElement.js +21 -32
  251. package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
  252. package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
  253. package/dist/components/calcite-block/customElement.d.ts +11 -7
  254. package/dist/components/calcite-block/customElement.js +1 -1
  255. package/dist/components/calcite-block-group/customElement.d.ts +1 -1
  256. package/dist/components/calcite-block-group/customElement.js +4 -11
  257. package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
  258. package/dist/components/calcite-block-section/customElement.d.ts +1 -1
  259. package/dist/components/calcite-button/customElement.d.ts +6 -6
  260. package/dist/components/calcite-button/customElement.js +10 -22
  261. package/dist/components/calcite-card/customElement.d.ts +11 -5
  262. package/dist/components/calcite-card/customElement.js +5 -3
  263. package/dist/components/calcite-card-group/customElement.d.ts +9 -3
  264. package/dist/components/calcite-card-group/customElement.js +11 -1
  265. package/dist/components/calcite-carousel/customElement.d.ts +8 -2
  266. package/dist/components/calcite-carousel/customElement.js +11 -8
  267. package/dist/components/calcite-carousel/interfaces.d.ts +3 -1
  268. package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
  269. package/dist/components/calcite-checkbox/customElement.js +2 -15
  270. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  271. package/dist/components/calcite-chip/customElement.js +1 -1
  272. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  273. package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
  274. package/dist/components/calcite-color-picker/customElement.js +2 -2
  275. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  276. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  277. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  278. package/dist/components/calcite-combobox/customElement.d.ts +5 -5
  279. package/dist/components/calcite-combobox/customElement.js +57 -69
  280. package/dist/components/calcite-combobox/index.js +2 -1
  281. package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
  282. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  283. package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
  284. package/dist/components/calcite-date-picker/customElement.js +4 -14
  285. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  286. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  287. package/dist/components/calcite-date-picker-month/customElement.js +2 -2
  288. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  289. package/dist/components/calcite-dialog/customElement.d.ts +7 -5
  290. package/dist/components/calcite-dialog/customElement.js +4 -2
  291. package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
  292. package/dist/components/calcite-dropdown/customElement.js +166 -91
  293. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  294. package/dist/components/calcite-dropdown-item/customElement.js +14 -32
  295. package/dist/components/calcite-fab/customElement.d.ts +1 -1
  296. package/dist/components/calcite-fab/customElement.js +2 -2
  297. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  298. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  299. package/dist/components/calcite-flow-item/customElement.d.ts +8 -5
  300. package/dist/components/calcite-flow-item/customElement.js +4 -2
  301. package/dist/components/calcite-focus-trap/customElement.d.ts +46 -0
  302. package/dist/components/calcite-focus-trap/customElement.js +56 -0
  303. package/dist/components/calcite-focus-trap/index.d.ts +1 -0
  304. package/dist/components/calcite-focus-trap/index.js +1 -0
  305. package/dist/components/calcite-graph/customElement.js +1 -1
  306. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  307. package/dist/components/calcite-icon/customElement.d.ts +1 -1
  308. package/dist/components/calcite-inline-editable/customElement.d.ts +2 -2
  309. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  310. package/dist/components/calcite-input/customElement.d.ts +17 -18
  311. package/dist/components/calcite-input/customElement.js +26 -49
  312. package/dist/components/calcite-input/index.js +1 -0
  313. package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
  314. package/dist/components/calcite-input-date-picker/customElement.js +67 -76
  315. package/dist/components/calcite-input-message/customElement.d.ts +1 -1
  316. package/dist/components/calcite-input-number/customElement.d.ts +13 -14
  317. package/dist/components/calcite-input-number/customElement.js +22 -48
  318. package/dist/components/calcite-input-number/index.js +1 -0
  319. package/dist/components/calcite-input-text/customElement.d.ts +11 -12
  320. package/dist/components/calcite-input-text/customElement.js +6 -18
  321. package/dist/components/calcite-input-text/index.js +1 -0
  322. package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
  323. package/dist/components/calcite-input-time-picker/customElement.js +11 -23
  324. package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
  325. package/dist/components/calcite-input-time-zone/customElement.js +21 -19
  326. package/dist/components/calcite-label/customElement.js +1 -1
  327. package/dist/components/calcite-link/customElement.d.ts +9 -9
  328. package/dist/components/calcite-link/customElement.js +28 -23
  329. package/dist/components/calcite-list/customElement.d.ts +1 -1
  330. package/dist/components/calcite-list/customElement.js +18 -15
  331. package/dist/components/calcite-list/interfaces.d.ts +2 -6
  332. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  333. package/dist/components/calcite-list-item/customElement.js +7 -4
  334. package/dist/components/calcite-list-item-group/customElement.js +6 -0
  335. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  336. package/dist/components/calcite-menu/customElement.d.ts +1 -1
  337. package/dist/components/calcite-menu/customElement.js +1 -1
  338. package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
  339. package/dist/components/calcite-menu-item/customElement.js +1 -1
  340. package/dist/components/calcite-meter/customElement.js +4 -4
  341. package/dist/components/calcite-navigation/customElement.d.ts +9 -2
  342. package/dist/components/calcite-navigation/customElement.js +56 -3
  343. package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
  344. package/dist/components/calcite-navigation-logo/customElement.js +4 -3
  345. package/dist/components/calcite-navigation-user/customElement.d.ts +2 -2
  346. package/dist/components/calcite-navigation-user/customElement.js +11 -6
  347. package/dist/components/calcite-notice/customElement.d.ts +3 -3
  348. package/dist/components/calcite-notice/customElement.js +1 -1
  349. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  350. package/dist/components/calcite-pagination/customElement.js +1 -1
  351. package/dist/components/calcite-panel/customElement.d.ts +7 -5
  352. package/dist/components/calcite-panel/customElement.js +20 -8
  353. package/dist/components/calcite-popover/customElement.d.ts +2 -2
  354. package/dist/components/calcite-popover/customElement.js +12 -176
  355. package/dist/components/calcite-radio-button/customElement.d.ts +30 -2
  356. package/dist/components/calcite-radio-button/customElement.js +12 -19
  357. package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
  358. package/dist/components/calcite-radio-button-group/customElement.js +20 -1
  359. package/dist/components/calcite-rating/customElement.d.ts +3 -4
  360. package/dist/components/calcite-rating/customElement.js +12 -18
  361. package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
  362. package/dist/components/calcite-segmented-control/customElement.js +8 -19
  363. package/dist/components/calcite-segmented-control-item/customElement.d.ts +0 -1
  364. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  365. package/dist/components/calcite-select/customElement.d.ts +3 -4
  366. package/dist/components/calcite-select/customElement.js +9 -20
  367. package/dist/components/calcite-sheet/customElement.d.ts +3 -3
  368. package/dist/components/calcite-sheet/customElement.js +3 -7
  369. package/dist/components/calcite-shell-panel/customElement.d.ts +4 -4
  370. package/dist/components/calcite-shell-panel/customElement.js +59 -30
  371. package/dist/components/calcite-slider/customElement.d.ts +3 -4
  372. package/dist/components/calcite-slider/customElement.js +12 -22
  373. package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
  374. package/dist/components/calcite-sort-handle/customElement.js +44 -17
  375. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  376. package/dist/components/calcite-sortable-list/customElement.js +3 -3
  377. package/dist/components/calcite-split-button/customElement.d.ts +8 -8
  378. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  379. package/dist/components/calcite-stepper/customElement.js +29 -42
  380. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
  381. package/dist/components/calcite-stepper-item/customElement.js +2 -8
  382. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  383. package/dist/components/calcite-switch/customElement.d.ts +4 -4
  384. package/dist/components/calcite-switch/customElement.js +9 -8
  385. package/dist/components/calcite-tab/customElement.d.ts +1 -1
  386. package/dist/components/calcite-tab/customElement.js +1 -1
  387. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  388. package/dist/components/calcite-tab-title/customElement.js +1 -1
  389. package/dist/components/calcite-table/customElement.js +1 -1
  390. package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
  391. package/dist/components/calcite-table-header/customElement.d.ts +2 -2
  392. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  393. package/dist/components/calcite-tabs/customElement.js +2 -1
  394. package/dist/components/calcite-text-area/customElement.d.ts +13 -14
  395. package/dist/components/calcite-text-area/customElement.js +32 -37
  396. package/dist/components/calcite-tile/customElement.d.ts +1 -1
  397. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  398. package/dist/components/calcite-time-picker/customElement.js +2 -2
  399. package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
  400. package/dist/components/calcite-tooltip/customElement.js +24 -315
  401. package/dist/components/calcite-tree/customElement.js +1 -1
  402. package/dist/components/calcite-tree-item/customElement.js +2 -3
  403. package/dist/controllers/useSortable.d.ts +7 -0
  404. package/dist/docs/api.json +1 -1
  405. package/dist/docs/docs.json +1 -1
  406. package/dist/docs/supported-browsers.json +1 -1
  407. package/dist/docs/translations.json +1 -1
  408. package/dist/docs/vscode.css-custom-data.json +1 -1
  409. package/dist/docs/vscode.html-custom-data.json +1 -1
  410. package/dist/docs/web-types.json +1 -1
  411. package/dist/index.d.ts +10 -0
  412. package/dist/loader.js +27 -26
  413. package/dist/types/lumina.d.ts +16 -10
  414. package/dist/types/preact.d.ts +17 -10
  415. package/dist/types/react.d.ts +18 -10
  416. package/dist/types/stencil.d.ts +16 -10
  417. package/package.json +22 -23
  418. package/dist/cdn/23OTAQAT.js +0 -3
  419. package/dist/cdn/24AJZ7NF.js +0 -2
  420. package/dist/cdn/2G4JQYU3.js +0 -2
  421. package/dist/cdn/2HAZSBOB.js +0 -2
  422. package/dist/cdn/2IVE7ZEH.js +0 -2
  423. package/dist/cdn/2KWDJDMW.js +0 -2
  424. package/dist/cdn/2MN63CPE.js +0 -2
  425. package/dist/cdn/3KC2E42Z.js +0 -2
  426. package/dist/cdn/3KDUSL55.js +0 -2
  427. package/dist/cdn/4KMSHV4T.js +0 -2
  428. package/dist/cdn/4OYHP3ZM.js +0 -2
  429. package/dist/cdn/5XX7HCEA.js +0 -2
  430. package/dist/cdn/6LVCAJSU.js +0 -2
  431. package/dist/cdn/6UFBJC4N.js +0 -2
  432. package/dist/cdn/6WOFQ5YL.js +0 -2
  433. package/dist/cdn/7JKP2OCF.js +0 -2
  434. package/dist/cdn/7MOAOZLZ.js +0 -2
  435. package/dist/cdn/7Q6OKLFD.js +0 -2
  436. package/dist/cdn/7UOYXJ3K.js +0 -2
  437. package/dist/cdn/AKHHJLNI.js +0 -2
  438. package/dist/cdn/BH25NEU3.js +0 -2
  439. package/dist/cdn/BLZ5Z3L3.js +0 -2
  440. package/dist/cdn/BYFOQ5L7.js +0 -2
  441. package/dist/cdn/CFOEAERZ.js +0 -2
  442. package/dist/cdn/CMJEMF3I.js +0 -2
  443. package/dist/cdn/DML4UYSR.js +0 -2
  444. package/dist/cdn/EXQURJYX.js +0 -2
  445. package/dist/cdn/FA4JJMDD.js +0 -2
  446. package/dist/cdn/FE36XWQT.js +0 -2
  447. package/dist/cdn/FEK3PIOE.js +0 -2
  448. package/dist/cdn/G3LIWIPW.js +0 -2
  449. package/dist/cdn/G5PEBD22.js +0 -2
  450. package/dist/cdn/GBD3L2UH.js +0 -2
  451. package/dist/cdn/GOV5YXBE.js +0 -2
  452. package/dist/cdn/H764MK3H.js +0 -2
  453. package/dist/cdn/HFAM5MEC.js +0 -2
  454. package/dist/cdn/I3AH3MF6.js +0 -2
  455. package/dist/cdn/I7TFCBQO.js +0 -2
  456. package/dist/cdn/IMFR5NEO.js +0 -3
  457. package/dist/cdn/ISXEEXKP.js +0 -2
  458. package/dist/cdn/KB33IA7A.js +0 -2
  459. package/dist/cdn/KONOZFYK.js +0 -2
  460. package/dist/cdn/L36EVTCL.js +0 -2
  461. package/dist/cdn/M5HMGRI3.js +0 -2
  462. package/dist/cdn/MIZ37SIW.js +0 -2
  463. package/dist/cdn/NKB7CA3Y.js +0 -2
  464. package/dist/cdn/OGR5ARIW.js +0 -2
  465. package/dist/cdn/OI35UHBC.js +0 -2
  466. package/dist/cdn/OLJ3NCJ2.js +0 -2
  467. package/dist/cdn/OOITRFLJ.js +0 -2
  468. package/dist/cdn/OXIEI7FU.js +0 -2
  469. package/dist/cdn/OZVZ5LCR.js +0 -2
  470. package/dist/cdn/P76VFMZV.js +0 -2
  471. package/dist/cdn/PXNLTA7Q.js +0 -2
  472. package/dist/cdn/QHJ5GHM6.js +0 -2
  473. package/dist/cdn/QKC2XFP5.js +0 -2
  474. package/dist/cdn/RLE4LAGP.js +0 -2
  475. package/dist/cdn/SDD3P4XX.js +0 -2
  476. package/dist/cdn/T72X6C55.js +0 -2
  477. package/dist/cdn/TWMPNHXY.js +0 -2
  478. package/dist/cdn/UPCUFECO.js +0 -2
  479. package/dist/cdn/UW2OIFN6.js +0 -2
  480. package/dist/cdn/UWFSTP6H.js +0 -2
  481. package/dist/cdn/V6KMTSY3.js +0 -2
  482. package/dist/cdn/V6PUXCHJ.js +0 -2
  483. package/dist/cdn/VZBGQAPM.js +0 -2
  484. package/dist/cdn/W26FRFX7.js +0 -2
  485. package/dist/cdn/WDKSZZPO.js +0 -2
  486. package/dist/cdn/WJXZ7BPV.js +0 -2
  487. package/dist/cdn/XHL646A2.js +0 -2
  488. package/dist/cdn/XMUU3UTU.js +0 -2
  489. package/dist/cdn/YCAYW3ES.js +0 -2
  490. package/dist/cdn/YCIXRDI4.js +0 -4
  491. package/dist/cdn/YCTMZBN3.js +0 -2
  492. package/dist/cdn/YDUAJXOW.js +0 -2
  493. package/dist/cdn/YJRANKFJ.js +0 -2
  494. package/dist/cdn/YWGODKAA.js +0 -2
  495. package/dist/cdn/ZQLGBHLZ.js +0 -2
  496. package/dist/cdn/ZQO6FYUW.js +0 -2
  497. package/dist/chunks/form.js +0 -268
  498. package/dist/chunks/input.js +0 -40
  499. package/dist/controllers/useForm.d.ts +0 -3
  500. package/dist/utils/form.d.ts +0 -3
  501. 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
  /**
@@ -130,7 +130,7 @@ export abstract class Sheet extends LitElement {
130
130
  /**
131
131
  * Updates the component's size by setting its inline and/or block dimensions.
132
132
  *
133
- * Use this method to programmatically override the components's width (inline) and/or height (block).
133
+ * Use this method to programmatically override the component's width (inline) and/or height (block).
134
134
  * Pass `null` to clear the override and revert to the default or CSS variable size.
135
135
  *
136
136
  * @param size
@@ -6,7 +6,7 @@ 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
8
  import { useDirection } from "@arcgis/lumina/controllers";
9
- import { y as ensureId, g as getStylePixelValue } from "../../chunks/dom.js";
9
+ import { B as ensureId, g as getStylePixelValue } from "../../chunks/dom.js";
10
10
  import { c as createObserver } from "../../chunks/observers.js";
11
11
  import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
12
12
  import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
@@ -33,7 +33,7 @@ const ICONS = {
33
33
  dragVertical: "drag-resize-vertical",
34
34
  dragHorizontal: "drag-resize-horizontal"
35
35
  };
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) 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{box-shadow:var(--calcite-sheet-shadow, var(--calcite-shadow-sm))}:host([display-mode=overlay][position=inline-start]) .content{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .content{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .content{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .content{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}@starting-style{.container--open{opacity:0;visibility:hidden}}: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}`;
37
37
  class Sheet extends LitElement {
38
38
  constructor() {
39
39
  super();
@@ -144,7 +144,7 @@ class Sheet extends LitElement {
144
144
  if (changes.has("opened") && (this.hasUpdated || this.opened !== false) && this.transitionRef.value) {
145
145
  toggleOpenClose(this);
146
146
  }
147
- if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("position") && (this.hasUpdated || this.position !== "inline-start") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false)) {
147
+ if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("position") && (this.hasUpdated || this.position !== "inline-start") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false) || changes.has("direction")) {
148
148
  this.setupInteractions();
149
149
  }
150
150
  if (this.contentRef.value) {
@@ -232,10 +232,6 @@ class Sheet extends LitElement {
232
232
  }
233
233
  cleanupInteractions() {
234
234
  this.interaction?.unset();
235
- this.updateSizeInternal({
236
- inline: null,
237
- block: null
238
- });
239
235
  }
240
236
  async setupInteractions() {
241
237
  this.cleanupInteractions();
@@ -12,7 +12,7 @@ import type { DisplayMode } from "./interfaces.js";
12
12
  * @cssproperty [--calcite-shell-panel-min-height] - When `layout` is `horizontal`, or `layout` is `vertical` and `displayMode` is `float-content` or `float`, specifies the component's minimum height.
13
13
  * @cssproperty [--calcite-shell-panel-max-width] - Specifies the component's maximum width.
14
14
  * @cssproperty [--calcite-shell-panel-resize-icon-color] - Specifies the resize handle's text color.
15
- * @cssproperty [--calcite-shell-panel-shadow] - When `displayMode` is `"float-all"`, specifies the component's shadow.
15
+ * @cssproperty [--calcite-shell-panel-shadow] - When `displayMode` is `float-all`, `float-content`, or `overlay`, specifies the component's shadow.
16
16
  * @cssproperty [--calcite-shell-panel-text-color] - Specifies the component's text color.
17
17
  * @cssproperty [--calcite-shell-panel-width] - Specifies the component's width.
18
18
  * @cssproperty [--calcite-shell-panel-z-index] - Specifies the component's z-index value.
@@ -53,7 +53,7 @@ export abstract class ShellPanel extends LitElement {
53
53
  /**
54
54
  * Specifies the component's direction.
55
55
  *
56
- * @deprecated in v4.0.0, removal target v6.0.0 - No longer necessary.
56
+ * @deprecated in v5.0.0, removal target v6.0.0 - No longer necessary.
57
57
  * @default "vertical"
58
58
  */
59
59
  accessor layout: Extract<"horizontal" | "vertical", Layout>;
@@ -62,7 +62,7 @@ export abstract class ShellPanel extends LitElement {
62
62
  /**
63
63
  * Specifies the component's position. Will be flipped when the element direction is right-to-left (`"rtl"`).
64
64
  *
65
- * @deprecated in v4.0.0, removal target v6.0.0 - No longer necessary.
65
+ * @deprecated in v5.0.0, removal target v6.0.0 - No longer necessary.
66
66
  * @default "start"
67
67
  */
68
68
  accessor position: Extract<"start" | "end", Position>;
@@ -84,7 +84,7 @@ export abstract class ShellPanel extends LitElement {
84
84
  /**
85
85
  * Updates the component's size by setting its inline and/or block dimensions.
86
86
  *
87
- * Use this method to programmatically override the components's width (inline) and/or height (block).
87
+ * Use this method to programmatically override the component's width (inline) and/or height (block).
88
88
  * Pass `null` to clear the override and revert to the default or CSS variable size.
89
89
  *
90
90
  * @param size
@@ -32,11 +32,12 @@ const ICONS = {
32
32
  dragVertical: "drag-resize-vertical",
33
33
  dragHorizontal: "drag-resize-horizontal"
34
34
  };
35
- const styles = css`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]),:host([display-mode=float-all][height-scale=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]),:host([display-mode=float-all][height-scale=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]),:host([display-mode=float-all][height-scale=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}.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-shell-panel-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-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-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-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-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=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-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([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-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));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`;
35
+ const styles = css`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]),:host([display-mode=float-all][height-scale=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]),:host([display-mode=float-all][height-scale=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]),:host([display-mode=float-all][height-scale=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}.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-shell-panel-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-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-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-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-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=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .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-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`;
36
36
  class ShellPanel extends LitElement {
37
37
  constructor() {
38
38
  super(...arguments);
39
39
  this.direction = useDirection();
40
+ this.resizeHandleRef = createRef();
40
41
  this.actionBars = [];
41
42
  this.contentRef = createRef();
42
43
  this.messages = useT9n();
@@ -79,9 +80,30 @@ class ShellPanel extends LitElement {
79
80
  async updateSize(size) {
80
81
  this.updateSizeInternal(size);
81
82
  }
83
+ connectedCallback() {
84
+ super.connectedCallback();
85
+ if (this.hasUpdated) {
86
+ this.refreshResize();
87
+ }
88
+ }
82
89
  willUpdate(changes) {
90
+ let shouldRefreshResize = false;
83
91
  if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
84
92
  this.setActionBarsLayout(this.actionBars);
93
+ this.updateSizeInternal({ inline: null, block: null });
94
+ shouldRefreshResize = true;
95
+ }
96
+ if (changes.has("direction") && this.hasUpdated || changes.has("position") && (this.hasUpdated || this.position !== "start")) {
97
+ shouldRefreshResize = true;
98
+ }
99
+ if (changes.has("collapsed") && (this.hasUpdated || this.collapsed !== false) || changes.has("resizable") && (this.hasUpdated || this.resizable !== false)) {
100
+ shouldRefreshResize = this.resizable && !this.collapsed;
101
+ if (!shouldRefreshResize) {
102
+ this.cleanUpInteractions();
103
+ }
104
+ }
105
+ if (shouldRefreshResize) {
106
+ this.refreshResize();
85
107
  }
86
108
  if (changes.has("collapsed") && this.hasUpdated) {
87
109
  if (this.collapsed) {
@@ -93,7 +115,7 @@ class ShellPanel extends LitElement {
93
115
  }
94
116
  disconnectedCallback() {
95
117
  super.disconnectedCallback();
96
- this.cleanupInteractions();
118
+ this.cleanUpInteractions();
97
119
  }
98
120
  getContentElDOMRect() {
99
121
  return this.contentRef.value.getBoundingClientRect();
@@ -150,43 +172,54 @@ class ShellPanel extends LitElement {
150
172
  break;
151
173
  }
152
174
  }
153
- cleanupInteractions() {
175
+ cleanUpInteractions() {
154
176
  this.interaction?.unset();
155
177
  }
156
- async setupInteractions() {
157
- this.cleanupInteractions();
158
- const { el, contentRef, resizable, position, collapsed, resizeHandleEl, layout } = this;
159
- if (!contentRef.value || collapsed || !resizable || !resizeHandleEl) {
178
+ updateResizeValues() {
179
+ const { contentRef } = this;
180
+ if (!contentRef.value) {
160
181
  return;
161
182
  }
162
- await this.el.componentOnReady();
163
- const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(contentRef.value);
164
- const values = {
165
- inlineSize: getStylePixelValue(inlineSize),
166
- blockSize: getStylePixelValue(blockSize),
167
- minInlineSize: getStylePixelValue(minInlineSize),
168
- minBlockSize: getStylePixelValue(minBlockSize),
169
- maxInlineSize: getStylePixelValue(maxInlineSize) || window.innerWidth,
170
- maxBlockSize: getStylePixelValue(maxBlockSize) || window.innerHeight
183
+ const computedStyle = window.getComputedStyle(contentRef.value);
184
+ this.resizeValues = {
185
+ inlineSize: getStylePixelValue(computedStyle.inlineSize),
186
+ blockSize: getStylePixelValue(computedStyle.blockSize),
187
+ minInlineSize: getStylePixelValue(computedStyle.minInlineSize),
188
+ minBlockSize: getStylePixelValue(computedStyle.minBlockSize),
189
+ maxInlineSize: getStylePixelValue(computedStyle.maxInlineSize) || window.innerWidth,
190
+ maxBlockSize: getStylePixelValue(computedStyle.maxBlockSize) || window.innerHeight
171
191
  };
172
- this.resizeValues = values;
192
+ }
193
+ async refreshResize() {
194
+ await this.componentOnReady();
195
+ await this.updateComplete;
196
+ this.updateResizeValues();
197
+ this.setUpResizeInteractions();
198
+ }
199
+ setUpResizeInteractions() {
200
+ this.cleanUpInteractions();
201
+ const { el, contentRef, resizable, position, collapsed, resizeHandleRef, layout } = this;
202
+ const resizeHandle = resizeHandleRef.value;
203
+ if (!contentRef.value || collapsed || !resizable || !resizeHandle) {
204
+ return;
205
+ }
173
206
  const rtl = this.direction === "rtl";
174
207
  this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
175
208
  edges: {
176
- top: position === "end" && layout === "horizontal" ? resizeHandleEl : false,
177
- right: position === (rtl ? "end" : "start") && layout === "vertical" ? resizeHandleEl : false,
178
- bottom: position === "start" && layout === "horizontal" ? resizeHandleEl : false,
179
- left: position === (rtl ? "start" : "end") && layout === "vertical" ? resizeHandleEl : false
209
+ top: position === "end" && layout === "horizontal" ? resizeHandle : false,
210
+ right: position === (rtl ? "end" : "start") && layout === "vertical" ? resizeHandle : false,
211
+ bottom: position === "start" && layout === "horizontal" ? resizeHandle : false,
212
+ left: position === (rtl ? "start" : "end") && layout === "vertical" ? resizeHandle : false
180
213
  },
181
214
  modifiers: [
182
215
  interact.modifiers.restrictSize({
183
216
  min: {
184
- width: values.minInlineSize,
185
- height: values.minBlockSize
217
+ width: this.resizeValues.minInlineSize,
218
+ height: this.resizeValues.minBlockSize
186
219
  },
187
220
  max: {
188
- width: values.maxInlineSize,
189
- height: values.maxBlockSize
221
+ width: this.resizeValues.maxInlineSize,
222
+ height: this.resizeValues.maxBlockSize
190
223
  }
191
224
  })
192
225
  ],
@@ -204,10 +237,6 @@ class ShellPanel extends LitElement {
204
237
  }
205
238
  });
206
239
  }
207
- setResizeHandleEl(el) {
208
- this.resizeHandleEl = el;
209
- this.setupInteractions();
210
- }
211
240
  setActionBarsLayout(actionBars) {
212
241
  actionBars.forEach((actionBar) => actionBar.layout = this.layout);
213
242
  }
@@ -230,7 +259,7 @@ class ShellPanel extends LitElement {
230
259
  const { collapsed, position, resizable, layout, displayMode, resizeValues } = this;
231
260
  const dir = this.direction;
232
261
  const isBlockPosition = layout === "horizontal";
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;
262
+ 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.resizeHandleRef)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null;
234
263
  const getAnimationDir = () => {
235
264
  if (layout === "horizontal") {
236
265
  return position === "start" ? CSS_UTILITY.calciteAnimateInDown : CSS_UTILITY.calciteAnimateInUp;
@@ -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 { j as isPrimaryPointerButton, v 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. */