@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
@@ -8,7 +8,7 @@ import { g as getIconScale } from "../../chunks/component.js";
8
8
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
9
9
  import { u as useInteractive } from "../../chunks/useInteractive.js";
10
10
  import { C as CSS, I as ICONS } from "../../chunks/resources7.js";
11
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:.625rem;padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container{text-decoration-line:none;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
11
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:var(--calcite-space-sm-plus);padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container,:host([active-descendant]) .container{text-decoration-line:none;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
12
12
  class DropdownItem extends LitElement {
13
13
  constructor() {
14
14
  super();
@@ -16,19 +16,17 @@ class DropdownItem extends LitElement {
16
16
  this.focusSetter = useSetFocus()(this);
17
17
  this.interactiveContainer = useInteractive(this);
18
18
  this.disabled = false;
19
+ this.activeDescendant = false;
19
20
  this.scale = "m";
20
21
  this.selected = false;
21
22
  this.selectionMode = "single";
22
23
  this.calciteDropdownItemSelect = createEvent({ cancelable: false });
23
- this.calciteInternalDropdownCloseRequest = createEvent({ cancelable: false });
24
- this.calciteInternalDropdownItemKeyEvent = createEvent({ cancelable: false });
25
24
  this.calciteInternalDropdownItemSelect = createEvent({ cancelable: false });
26
25
  this.listen("click", this.onClick);
27
- this.listen("keydown", this.keyDownHandler);
28
26
  this.listenOn(document.body, "calciteInternalDropdownItemChange", this.updateActiveItemOnChange);
29
27
  }
30
28
  static {
31
- this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], href: [3, {}, { reflect: true }], iconEnd: [3, { type: String }, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, { type: String }, { reflect: true }], label: 1, rel: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionMode: 1, target: [3, {}, { reflect: true }] };
29
+ this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], activeDescendant: [7, {}, { reflect: true, type: Boolean }], href: [3, {}, { reflect: true }], iconEnd: [3, { type: String }, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, { type: String }, { reflect: true }], label: 1, rel: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionMode: 1, target: [3, {}, { reflect: true }] };
32
30
  }
33
31
  static {
34
32
  this.styles = styles;
@@ -36,6 +34,16 @@ class DropdownItem extends LitElement {
36
34
  async setFocus(options) {
37
35
  return this.focusSetter(() => this.el, options);
38
36
  }
37
+ async activateItem() {
38
+ if (this.disabled) {
39
+ return;
40
+ }
41
+ if (this.href) {
42
+ this.childLinkRef.value?.click();
43
+ return;
44
+ }
45
+ this.emitRequestedItem();
46
+ }
39
47
  connectedCallback() {
40
48
  super.connectedCallback();
41
49
  this.initialize();
@@ -46,32 +54,6 @@ class DropdownItem extends LitElement {
46
54
  onClick() {
47
55
  this.emitRequestedItem();
48
56
  }
49
- keyDownHandler(event) {
50
- switch (event.key) {
51
- case " ":
52
- case "Enter":
53
- this.emitRequestedItem();
54
- if (this.href) {
55
- this.childLinkRef.value.click();
56
- }
57
- event.preventDefault();
58
- break;
59
- case "Escape":
60
- this.calciteInternalDropdownCloseRequest.emit();
61
- event.preventDefault();
62
- break;
63
- case "Tab":
64
- this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });
65
- break;
66
- case "ArrowUp":
67
- case "ArrowDown":
68
- case "Home":
69
- case "End":
70
- event.preventDefault();
71
- this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });
72
- break;
73
- }
74
- }
75
57
  updateActiveItemOnChange(event) {
76
58
  const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);
77
59
  if (parentEmittedChange) {
@@ -126,7 +108,7 @@ class DropdownItem extends LitElement {
126
108
  this.el.ariaChecked = itemAria;
127
109
  this.el.ariaLabel = !href ? label : "";
128
110
  this.el.role = itemRole;
129
- setAttribute(this.el, "tabIndex", disabled ? -1 : 0);
111
+ setAttribute(this.el, "tabIndex", -1);
130
112
  return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({
131
113
  [CSS.container]: true,
132
114
  [CSS.containerNone]: selectionMode === "none"
@@ -64,7 +64,7 @@ export abstract class Fab extends LitElement {
64
64
  * Sets focus on the component.
65
65
  *
66
66
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
67
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
67
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
68
68
  */
69
69
  setFocus(options?: FocusOptions): Promise<void>;
70
70
  }
@@ -2,7 +2,7 @@
2
2
  import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
- import { LitElement, safeClassMap, nothing } from "@arcgis/lumina";
5
+ import { LitElement, nothing, safeClassMap } from "@arcgis/lumina";
6
6
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
7
7
  import { u as useInteractive } from "../../chunks/useInteractive.js";
8
8
  const CSS = {
@@ -11,7 +11,7 @@ const CSS = {
11
11
  const ICONS = {
12
12
  plus: "plus"
13
13
  };
14
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-button{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-corner-radius: var(--calcite-fab-corner-radius);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}:host([hidden]){display:none}[hidden]{display:none}`;
14
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-button{--calcite-fab-shadow-internal: var(--calcite-shadow-md);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-corner-radius: var(--calcite-fab-corner-radius);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}:host([hidden]){display:none}[hidden]{display:none}`;
15
15
  class Fab extends LitElement {
16
16
  constructor() {
17
17
  super(...arguments);
@@ -66,7 +66,7 @@ export abstract class Filter extends LitElement {
66
66
  * Sets focus on the component.
67
67
  *
68
68
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
69
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
69
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
70
70
  */
71
71
  setFocus(options?: FocusOptions): Promise<void>;
72
72
  /** Fires when the filter text changes. */
@@ -19,7 +19,7 @@ export abstract class Flow extends LitElement {
19
19
  *
20
20
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
21
21
  * @returns Promise<void>
22
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
22
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
23
23
  */
24
24
  setFocus(options?: FocusOptions): Promise<void>;
25
25
  }
@@ -3,11 +3,12 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { HeadingLevel } from "../functional/Heading.js";
4
4
  import type { OverlayPositioning } from "../../utils/floating-ui.js";
5
5
  import type { Scale } from "../interfaces.js";
6
+ import type { Panel } from "../calcite-panel/customElement.js";
6
7
  import type { IconName } from "../calcite-icon/interfaces.js";
7
8
 
8
9
  /**
9
- * @cssproperty [--calcite-flow-item-footer-padding] - [Deprecated] Use `--calcite-flow-footer-space` instead. Specifies the padding of the component's footer.
10
- * @cssproperty [--calcite-flow-item-header-border-block-end] - [Deprecated] Use `--calcite-flow-border-color` instead. Specifies the component header's block end border.
10
+ * @cssproperty [--calcite-flow-item-footer-padding] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-flow-footer-space` instead. Specifies the padding of the component's footer.
11
+ * @cssproperty [--calcite-flow-item-header-border-block-end] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-flow-border-color` instead. Specifies the component header's block end border.
11
12
  * @cssproperty [--calcite-flow-corner-radius] - Specifies the component's corner radius.
12
13
  * @cssproperty [--calcite-flow-heading-text-color] - Specifies the text color of the component's `heading`.
13
14
  * @cssproperty [--calcite-flow-icon-color] - Specifies the color of the component's `icon`.
@@ -42,6 +43,8 @@ import type { IconName } from "../calcite-icon/interfaces.js";
42
43
  * @slot [header-actions-end] - A slot for adding `calcite-action`s or content to the end side of the component's header.
43
44
  * @slot [header-content] - A slot for adding custom content to the component's header.
44
45
  * @slot [header-menu-actions] - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`.
46
+ * @slot [heading] - A slot for adding content to the heading area of the default header. Takes precedence over the `heading` property.
47
+ * @slot [description] - A slot for adding content to the description area of the default header. Takes precedence over the `description` property.
45
48
  * @slot [fab] - A slot for adding a `calcite-fab` (floating action button) to perform an action.
46
49
  * @slot [footer] - A slot for adding custom content to the component's footer. Should not be used with the `footer-start` or `footer-end` slots.
47
50
  * @slot [footer-end] - A slot for adding a trailing footer custom content. Should not be used with the `footer` slot.
@@ -113,7 +116,7 @@ export abstract class FlowItem extends LitElement {
113
116
  back?: string;
114
117
  close?: string;
115
118
  options?: string;
116
- };
119
+ } & Panel["messageOverrides"];
117
120
  /**
118
121
  * Specifies the type of positioning to use for overlaid content, where:
119
122
  *
@@ -149,7 +152,7 @@ export abstract class FlowItem extends LitElement {
149
152
  * Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
150
153
  *
151
154
  * @default false
152
- * @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
155
+ * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
153
156
  */
154
157
  accessor topLayerDisabled: boolean;
155
158
  /**
@@ -170,7 +173,7 @@ export abstract class FlowItem extends LitElement {
170
173
  *
171
174
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
172
175
  * @returns promise.
173
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
176
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
174
177
  */
175
178
  setFocus(options?: FocusOptions): Promise<void>;
176
179
  /** Fires when the component's back button is clicked. */
@@ -23,6 +23,8 @@ const SLOTS = {
23
23
  contentBottom: "content-bottom",
24
24
  headerActionsStart: "header-actions-start",
25
25
  headerActionsEnd: "header-actions-end",
26
+ description: "description",
27
+ heading: "heading",
26
28
  headerMenuActions: "header-menu-actions",
27
29
  headerContent: "header-content",
28
30
  fab: "fab",
@@ -120,8 +122,8 @@ class FlowItem extends LitElement {
120
122
  return showBackButton ? keyed("flow-back-button", html`<calcite-action .ariaLabel=${label} class=${safeClassMap(CSS.backButton)} .icon=${icon} @click=${backButtonClick} .scale=${this.scale} slot=${SLOTS.headerActionsStart} .text=${label} title=${label ?? nothing} ${ref(this.backButtonRef)}></calcite-action>`) : null;
121
123
  }
122
124
  render() {
123
- const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, overlayPositioning, beforeClose, icon, iconFlipRtl } = this;
124
- return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapseDirection=${collapseDirection} .collapsed=${collapsed} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messages} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
125
+ const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messageOverrides, overlayPositioning, beforeClose, icon, iconFlipRtl } = this;
126
+ return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapseDirection=${collapseDirection} .collapsed=${collapsed} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
125
127
  }
126
128
  }
127
129
  customElement("calcite-flow-item", FlowItem);
@@ -0,0 +1,46 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
+ import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
4
+
5
+ /** @slot - A slot for adding focus-trapped content. */
6
+ export abstract class FocusTrap extends LitElement {
7
+ /**
8
+ * Indicates whether the component's focus trap is currently active.
9
+ *
10
+ * @default false
11
+ */
12
+ get active(): boolean;
13
+ /**
14
+ * When `true`, prevents focus trapping.
15
+ *
16
+ * @default false
17
+ */
18
+ accessor focusTrapDisabled: boolean;
19
+ /** When defined, provides a condition to disable focus trapping. When `true`, prevents focus trapping. */
20
+ accessor focusTrapDisabledOverride: (() => boolean) | undefined;
21
+ /**
22
+ * Specifies custom focus trap configuration on the component, where
23
+ *
24
+ * `"allowOutsideClick"` allows outside clicks,
25
+ * `"initialFocus"` enables initial focus,
26
+ * `"returnFocusOnDeactivate"` returns focus when not active,
27
+ * `"extraContainers"` specifies additional focusable elements external to the trap, and
28
+ * `"setReturnFocus"` customizes the element to which focus is returned when the trap is deactivated.
29
+ */
30
+ accessor focusTrapOptions: Partial<FocusTrapOptions> | undefined;
31
+ /** Activates the component's focus trap. */
32
+ activate(): Promise<void>;
33
+ /** Deactivates the component's focus trap. */
34
+ deactivate(): Promise<void>;
35
+ /**
36
+ * Updates the element(s) that are included in the focus-trap of the component.
37
+ *
38
+ * @param extraContainers - Additional elements to include in the focus trap. This is useful for including elements that may have related parts rendered outside the main focus trapping element.
39
+ */
40
+ updateFocusTrapElements(extraContainers?: FocusTrapOptions["extraContainers"]): Promise<void>;
41
+ /** Fires when the focus-trap active state has changed. */
42
+ readonly calciteFocusTrapActiveChange: import("@arcgis/lumina").TargetedEvent<this, void>;
43
+ readonly "@eventTypes": {
44
+ calciteFocusTrapActiveChange: FocusTrap["calciteFocusTrapActiveChange"]["detail"];
45
+ };
46
+ }
@@ -0,0 +1,56 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import { c as customElement } from "../../chunks/runtime.js";
3
+ import { css, html } from "lit";
4
+ import { LitElement, createEvent } from "@arcgis/lumina";
5
+ import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
6
+ const styles = css`:host{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
7
+ class FocusTrap extends LitElement {
8
+ constructor() {
9
+ super(...arguments);
10
+ this._active = false;
11
+ this.focusTrapController = useFocusTrap({
12
+ focusTrapOptions: {
13
+ onActivate: () => {
14
+ this.setActive(true);
15
+ },
16
+ onDeactivate: () => {
17
+ this.setActive(false);
18
+ }
19
+ }
20
+ })(this);
21
+ this.focusTrapDisabled = false;
22
+ this.calciteFocusTrapActiveChange = createEvent({ cancelable: false });
23
+ }
24
+ static {
25
+ this.properties = { focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], active: [32, {}, { attribute: false, readOnly: true }], focusTrapDisabledOverride: [0, {}, { attribute: false }], focusTrapOptions: [0, {}, { attribute: false }] };
26
+ }
27
+ static {
28
+ this.styles = styles;
29
+ }
30
+ get active() {
31
+ return this._active;
32
+ }
33
+ async activate() {
34
+ this.focusTrapController.activate();
35
+ }
36
+ async deactivate() {
37
+ this.focusTrapController.deactivate();
38
+ }
39
+ async updateFocusTrapElements(extraContainers) {
40
+ this.focusTrapController.setExtraContainers(extraContainers);
41
+ this.focusTrapController.updateContainerElements();
42
+ }
43
+ setActive(active) {
44
+ const oldActive = this._active;
45
+ this._active = active;
46
+ this.requestUpdate("active", oldActive);
47
+ this.calciteFocusTrapActiveChange.emit();
48
+ }
49
+ render() {
50
+ return html`<slot></slot>`;
51
+ }
52
+ }
53
+ customElement("calcite-focus-trap", FocusTrap);
54
+ export {
55
+ FocusTrap
56
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html, svg } from "lit";
4
- import { LitElement, safeClassMap, nothing } from "@arcgis/lumina";
4
+ import { LitElement, nothing, safeClassMap } from "@arcgis/lumina";
5
5
  import { g as guid } from "../../chunks/guid.js";
6
6
  import { c as createObserver } from "../../chunks/observers.js";
7
7
  function slope(p0, p1, p2) {
@@ -39,7 +39,7 @@ export abstract class Handle extends LitElement {
39
39
  * Sets focus on the component.
40
40
  *
41
41
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
42
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
42
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
43
43
  */
44
44
  setFocus(options?: FocusOptions): Promise<void>;
45
45
  /** Fires whenever the component is selected or unselected. */
@@ -4,7 +4,7 @@ import type { Scale } from "../interfaces.js";
4
4
  import type { IconName } from "./interfaces.js";
5
5
 
6
6
  /**
7
- * @cssproperty [--calcite-ui-icon-color] - [Deprecated] Use `--calcite-icon-color`. Specifies the component's color. Defaults to current color.
7
+ * @cssproperty [--calcite-ui-icon-color] - [Deprecated] in v2.13.0, removal target v6.0.0 - Use `--calcite-icon-color` instead. Specifies the component's color. Defaults to current color.
8
8
  * @cssproperty [--calcite-icon-color] - Specifies the component's color. Defaults to current color.
9
9
  */
10
10
  export abstract class Icon extends LitElement {
@@ -7,7 +7,7 @@ import type { Scale } from "../interfaces.js";
7
7
  * @cssproperty [--calcite-inline-editable-background-color] - Specifies the component's background color.
8
8
  * @cssproperty [--calcite-inline-editable-button-background-color] - When `appearance="solid"` or `appearance="outline-fill"`, specifies the background color of the component's button element.
9
9
  * @cssproperty [--calcite-inline-editable-button-corner-radius] - Specifies the corner radius of the component's button element.
10
- * @cssproperty [--calcite-inline-editable-button-loader-color] - Specifies the loader color of the components's button element.
10
+ * @cssproperty [--calcite-inline-editable-button-loader-color] - Specifies the loader color of the component's button element.
11
11
  * @cssproperty [--calcite-inline-editable-button-text-color] - Specifies the text color of the component's button element.
12
12
  * @slot - A slot for adding a `calcite-input`.
13
13
  */
@@ -54,7 +54,7 @@ export abstract class InlineEditable extends LitElement {
54
54
  * Sets focus on the component.
55
55
  *
56
56
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
57
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
57
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
58
58
  */
59
59
  setFocus(options?: FocusOptions): Promise<void>;
60
60
  /** Fires when the component's "cancel editing" button is pressed. */
@@ -2,7 +2,7 @@
2
2
  import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { createRef, ref } from "lit/directives/ref.js";
5
- import { LitElement, createEvent, safeClassMap, nothing } from "@arcgis/lumina";
5
+ import { LitElement, createEvent, nothing, safeClassMap } from "@arcgis/lumina";
6
6
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from "../../chunks/label.js";
7
7
  import { a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
8
8
  import { u as useT9n } from "../../chunks/useT9n.js";
@@ -1,7 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Alignment, Scale, Status } from "../interfaces.js";
4
- import type { MutableValidityState } from "../../utils/form.js";
5
4
  import type { NumberingSystem } from "../../utils/locale.js";
6
5
  import type { IconName } from "../calcite-icon/interfaces.js";
7
6
  import type { InputPlacement } from "./interfaces.js";
@@ -34,7 +33,7 @@ export abstract class Input extends LitElement {
34
33
  * When `type` is `"file"`, specifies a comma separated list of unique file type specifiers for limiting accepted file types.
35
34
  * Read the native attribute's documentation on MDN for more info.
36
35
  *
37
- * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
36
+ * @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
38
37
  */
39
38
  accessor accept: string;
40
39
  /**
@@ -47,7 +46,7 @@ export abstract class Input extends LitElement {
47
46
  * Specifies the type of content to autocomplete, for use in forms.
48
47
  * Read the native attribute's documentation on MDN for more info.
49
48
  *
50
- * @mdn [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
49
+ * @see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
51
50
  */
52
51
  accessor autocomplete: AutoFill;
53
52
  /**
@@ -60,13 +59,13 @@ export abstract class Input extends LitElement {
60
59
  * When `true`, prevents interaction and decreases the component's opacity.
61
60
  *
62
61
  * @default false
63
- * @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
62
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
64
63
  */
65
64
  accessor disabled: boolean;
66
65
  /**
67
66
  * When `type` is `"file"`, specifies the component's selected files.
68
67
  *
69
- * @mdn https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files
68
+ * @see [MDN - files](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)
70
69
  */
71
70
  accessor files: FileList | undefined;
72
71
  /**
@@ -103,14 +102,14 @@ export abstract class Input extends LitElement {
103
102
  * When the component resides in a form,
104
103
  * specifies the maximum value for `type="number"`.
105
104
  *
106
- * @mdn [max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)
105
+ * @see [MDN - max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)
107
106
  */
108
107
  accessor max: number;
109
108
  /**
110
109
  * When the component resides in a form,
111
110
  * specifies the maximum length of text for the component's `value`.
112
111
  *
113
- * @mdn [maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)
112
+ * @see [MDN - maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)
114
113
  */
115
114
  accessor maxLength: number;
116
115
  /** Overrides individual strings used by the component. */
@@ -123,14 +122,14 @@ export abstract class Input extends LitElement {
123
122
  * When the component resides in a form,
124
123
  * specifies the minimum value for `type="number"`.
125
124
  *
126
- * @mdn [min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)
125
+ * @see [MDN - min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)
127
126
  */
128
127
  accessor min: number;
129
128
  /**
130
129
  * When the component resides in a form,
131
130
  * specifies the minimum length of text for the component's `value`.
132
131
  *
133
- * @mdn [minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)
132
+ * @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)
134
133
  */
135
134
  accessor minLength: number;
136
135
  /**
@@ -138,7 +137,7 @@ export abstract class Input extends LitElement {
138
137
  * Read the native attribute's documentation on MDN for more info.
139
138
  *
140
139
  * @default false
141
- * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple)
140
+ * @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/multiple)
142
141
  */
143
142
  accessor multiple: boolean;
144
143
  /**
@@ -146,7 +145,7 @@ export abstract class Input extends LitElement {
146
145
  *
147
146
  * Required to pass the component's `value` on form submission.
148
147
  *
149
- * @mdn [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
148
+ * @see [MDN - name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
150
149
  */
151
150
  accessor name: string;
152
151
  /**
@@ -162,13 +161,13 @@ export abstract class Input extends LitElement {
162
161
  * specifies a regular expression (regex) pattern the component's `value` must match for validation.
163
162
  * Read the native attribute's documentation on MDN for more info.
164
163
  *
165
- * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
164
+ * @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
166
165
  */
167
166
  accessor pattern: string;
168
167
  /**
169
168
  * Specifies the component's placeholder text.
170
169
  *
171
- * @mdn [placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)
170
+ * @see [MDN - placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)
172
171
  */
173
172
  accessor placeholder: string;
174
173
  /** Specifies text to display at the start of the component. */
@@ -177,7 +176,7 @@ export abstract class Input extends LitElement {
177
176
  * When `true`, the component's `value` can be read, but cannot be modified.
178
177
  *
179
178
  * @default false
180
- * @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
179
+ * @see [MDN - readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
181
180
  */
182
181
  accessor readOnly: boolean;
183
182
  /**
@@ -202,7 +201,7 @@ export abstract class Input extends LitElement {
202
201
  /**
203
202
  * Specifies the granularity the component's `value` must adhere to.
204
203
  *
205
- * @mdn [step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)
204
+ * @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)
206
205
  */
207
206
  accessor step: number | "any";
208
207
  /** Specifies text to display at the end of the component. */
@@ -222,9 +221,9 @@ export abstract class Input extends LitElement {
222
221
  /**
223
222
  * The component's current validation state.
224
223
  *
225
- * @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
224
+ * @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
226
225
  */
227
- get validity(): MutableValidityState;
226
+ get validity(): ValidityState;
228
227
  /** The component's value. */
229
228
  accessor value: string;
230
229
  /** Selects the text of the component's `value`. */
@@ -233,7 +232,7 @@ export abstract class Input extends LitElement {
233
232
  * Sets focus on the component.
234
233
  *
235
234
  * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
236
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
235
+ * @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
237
236
  */
238
237
  setFocus(options?: FocusOptions): Promise<void>;
239
238
  /** Fires each time a new `value` is typed and committed. */