@esri/calcite-components 5.0.0-next.73 → 5.0.0-next.74

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 (903) hide show
  1. package/dist/cdn/2375XCVM.js +4 -0
  2. package/dist/cdn/2AEK7A73.js +4 -0
  3. package/dist/cdn/{GLK7OIKI.js → 2ETOPUPD.js} +2 -2
  4. package/dist/cdn/{K7JNISRP.js → 2HAU5LNZ.js} +2 -2
  5. package/dist/cdn/2KD2QFKM.js +4 -0
  6. package/dist/cdn/{WZM6JDEL.js → 2Z24AWM5.js} +2 -2
  7. package/dist/cdn/3AN2BNRL.js +4 -0
  8. package/dist/cdn/3EH5XJU3.js +4 -0
  9. package/dist/cdn/3GSW4KV5.js +4 -0
  10. package/dist/cdn/3S63UZD3.js +4 -0
  11. package/dist/cdn/46KRA7KH.js +4 -0
  12. package/dist/cdn/{BNNVKIXE.js → 4XN5N6E3.js} +1 -1
  13. package/dist/cdn/53SC4Y3Y.js +4 -0
  14. package/dist/cdn/5PUWT7LQ.js +4 -0
  15. package/dist/cdn/{KP4IRRVS.js → 5R4JXODK.js} +2 -2
  16. package/dist/cdn/6BA2VBEJ.js +4 -0
  17. package/dist/cdn/{WDPE2ZYY.js → 6CJMMAA7.js} +2 -2
  18. package/dist/cdn/6U5AZSSY.js +4 -0
  19. package/dist/cdn/6XP7FPSQ.js +4 -0
  20. package/dist/cdn/72BXKWG2.js +4 -0
  21. package/dist/cdn/{HEMAFFKJ.js → 777QJZF5.js} +2 -2
  22. package/dist/cdn/7AYID5PU.js +4 -0
  23. package/dist/cdn/{RQDMOJBD.js → 7IBUU5CJ.js} +2 -2
  24. package/dist/cdn/{IONHIAOK.js → 7PCD7FV7.js} +1 -1
  25. package/dist/cdn/7R4S3W2C.js +4 -0
  26. package/dist/cdn/7R54WSCE.js +4 -0
  27. package/dist/cdn/{D5NGRS5T.js → 7US6JSMJ.js} +2 -2
  28. package/dist/cdn/{PLHINUVF.js → 7WAXYRSU.js} +1 -1
  29. package/dist/cdn/{GKKMRD2R.js → 7WL4SE5M.js} +2 -2
  30. package/dist/cdn/7WLAV6HY.js +4 -0
  31. package/dist/cdn/7XXOSP75.js +4 -0
  32. package/dist/cdn/{CZGN7OOG.js → A3A6X2NL.js} +2 -2
  33. package/dist/cdn/A6ZPQJXM.js +4 -0
  34. package/dist/cdn/AHTGIE6G.js +4 -0
  35. package/dist/cdn/ATKGH7IS.js +4 -0
  36. package/dist/cdn/{U6DP5U33.js → AV5IOBRP.js} +1 -1
  37. package/dist/cdn/AV7L4UBA.js +6 -0
  38. package/dist/cdn/B5NY2355.js +4 -0
  39. package/dist/cdn/B7CHYGOH.js +4 -0
  40. package/dist/cdn/BBXTYAEW.js +4 -0
  41. package/dist/cdn/BJUYGTFX.js +4 -0
  42. package/dist/cdn/{N4CST3ZJ.js → BLF7FOZ4.js} +2 -2
  43. package/dist/cdn/{NXZRNXVO.js → BMO4PIO3.js} +2 -2
  44. package/dist/cdn/{DZOWQTOA.js → BO7RWDLN.js} +1 -1
  45. package/dist/cdn/{67H54DL3.js → BQ7EQMVM.js} +1 -1
  46. package/dist/cdn/BXGAAXJB.js +4 -0
  47. package/dist/cdn/C4GRY2N6.js +4 -0
  48. package/dist/cdn/C7Z5ZNS7.js +4 -0
  49. package/dist/cdn/CFC6PZBD.js +4 -0
  50. package/dist/cdn/{GZ56Z6X5.js → CFRBGPKS.js} +2 -2
  51. package/dist/cdn/CIYA6RIS.js +4 -0
  52. package/dist/cdn/CKBBO7T6.js +4 -0
  53. package/dist/cdn/{BTHTTICE.js → CYEJP7UZ.js} +2 -2
  54. package/dist/cdn/{XI6BCQ6Y.js → DLRNBAYK.js} +2 -2
  55. package/dist/cdn/{WBZMX3LF.js → DNFHD6RZ.js} +2 -2
  56. package/dist/cdn/DYIFNCUK.js +4 -0
  57. package/dist/cdn/E53IBBUJ.js +4 -0
  58. package/dist/cdn/{XCDZXWY5.js → E5YKMDDQ.js} +2 -2
  59. package/dist/cdn/EKW7L242.js +4 -0
  60. package/dist/cdn/{TNMDZQTU.js → EPSNP35N.js} +2 -2
  61. package/dist/cdn/EXBDPRCM.js +4 -0
  62. package/dist/cdn/{PZARUO5I.js → EYVRD7GH.js} +2 -2
  63. package/dist/cdn/{35FOGTIY.js → EZR4TKVZ.js} +2 -2
  64. package/dist/cdn/{YP2WT2LS.js → F3R6TNQ5.js} +2 -2
  65. package/dist/cdn/{54OU63RL.js → FII3JHOO.js} +1 -1
  66. package/dist/cdn/FQT5FGEM.js +4 -0
  67. package/dist/cdn/{KWXD7AJG.js → FR2Y7QS2.js} +2 -2
  68. package/dist/cdn/FWOTIYFT.js +4 -0
  69. package/dist/cdn/{5TUOSEA2.js → FY5CJC2S.js} +2 -2
  70. package/dist/cdn/{ODIQ6T3A.js → G67UBCZK.js} +2 -2
  71. package/dist/cdn/GH6XBUDA.js +4 -0
  72. package/dist/cdn/GI4VYRCL.js +4 -0
  73. package/dist/cdn/GOFCATWL.js +4 -0
  74. package/dist/cdn/{MR6K64GL.js → GRTFNVPD.js} +1 -1
  75. package/dist/cdn/{TRMYYWAL.js → H4IEAPAT.js} +1 -1
  76. package/dist/cdn/HA3RMWDQ.js +4 -0
  77. package/dist/cdn/HHB32MLL.js +4 -0
  78. package/dist/cdn/HI2VSF7D.js +4 -0
  79. package/dist/cdn/HK3UQAHO.js +4 -0
  80. package/dist/cdn/HKFJSU6X.js +4 -0
  81. package/dist/cdn/HLKC3UY7.js +4 -0
  82. package/dist/cdn/HN7Z2GYY.js +4 -0
  83. package/dist/cdn/HSEB47OH.js +4 -0
  84. package/dist/cdn/IFNJXEWZ.js +4 -0
  85. package/dist/cdn/IGFUJDST.js +4 -0
  86. package/dist/cdn/{NZ47QELO.js → IH3LZYK3.js} +2 -2
  87. package/dist/cdn/IO2ES6KG.js +4 -0
  88. package/dist/cdn/{25L4DJT3.js → IPHCBICP.js} +2 -2
  89. package/dist/cdn/IREUAMPO.js +4 -0
  90. package/dist/cdn/ITNTZ2CQ.js +4 -0
  91. package/dist/cdn/IXB3ZPET.js +4 -0
  92. package/dist/cdn/{MEDNJ37J.js → JFQFCJXD.js} +2 -2
  93. package/dist/cdn/JGNQYPTC.js +4 -0
  94. package/dist/cdn/JJ5UTXC6.js +4 -0
  95. package/dist/cdn/{KVOJRATR.js → JU4MG3HE.js} +1 -1
  96. package/dist/cdn/JUGRG2UF.js +4 -0
  97. package/dist/cdn/{47IA7U5X.js → JUR3KAZU.js} +2 -2
  98. package/dist/cdn/{NKRXC6HO.js → KS7DYOBQ.js} +1 -1
  99. package/dist/cdn/{73HK4JTP.js → LB4O7HLK.js} +2 -2
  100. package/dist/cdn/{TFXNZU62.js → LQDGQWTS.js} +1 -1
  101. package/dist/cdn/{O3AECT7T.js → LUFIZ6IH.js} +2 -2
  102. package/dist/cdn/{244N3PBI.js → M2UD6ERG.js} +2 -2
  103. package/dist/cdn/{JUU2XNXW.js → M5C3MGYN.js} +2 -2
  104. package/dist/cdn/MB3DZZDW.js +4 -0
  105. package/dist/cdn/{LTGRBE63.js → MCMBJPA6.js} +2 -2
  106. package/dist/cdn/MJ4AOQMM.js +4 -0
  107. package/dist/cdn/{UVG2Y6I3.js → MJR6BSS4.js} +2 -2
  108. package/dist/cdn/MTM45MBT.js +4 -0
  109. package/dist/cdn/MZMUXQOC.js +4 -0
  110. package/dist/cdn/{E4ESSYYH.js → NBVWN7EK.js} +2 -2
  111. package/dist/cdn/{3WWFIUAH.js → NCFS6SSA.js} +2 -2
  112. package/dist/cdn/NTJ6PBIH.js +4 -0
  113. package/dist/cdn/{62TOKSP7.js → O42TMGJK.js} +2 -2
  114. package/dist/cdn/O55TIJ53.js +4 -0
  115. package/dist/cdn/{SO4N4LH5.js → OHVOYE6U.js} +2 -2
  116. package/dist/cdn/PHCANMRC.js +4 -0
  117. package/dist/cdn/PIGJ5HOE.js +4 -0
  118. package/dist/cdn/{ODNDTR7J.js → PSBH4GTB.js} +1 -1
  119. package/dist/cdn/{DUXQNCWQ.js → QM3DXYRV.js} +1 -1
  120. package/dist/cdn/QSHMHWTC.js +4 -0
  121. package/dist/cdn/QUTFDDR5.js +4 -0
  122. package/dist/cdn/{HI3342AL.js → QXU3JCRU.js} +1 -1
  123. package/dist/cdn/{4N2PB4I4.js → R7LEUYDR.js} +2 -2
  124. package/dist/cdn/{4F4H6EMI.js → RESUGFNC.js} +2 -2
  125. package/dist/cdn/{LOFLLUD5.js → RHBBVOWN.js} +2 -2
  126. package/dist/cdn/{OYICAOXN.js → RQ5CXOYU.js} +2 -2
  127. package/dist/cdn/RW7HH46K.js +4 -0
  128. package/dist/cdn/RXFO3FLJ.js +4 -0
  129. package/dist/cdn/S7XRP64G.js +4 -0
  130. package/dist/cdn/{LLWIVY2P.js → SFTBL5PA.js} +1 -1
  131. package/dist/cdn/SJKPU6NF.js +4 -0
  132. package/dist/cdn/SM4645HQ.js +4 -0
  133. package/dist/cdn/{4S74L7UT.js → SNXOUIQ6.js} +2 -2
  134. package/dist/cdn/{P5QORSCN.js → SO6CE3FY.js} +2 -2
  135. package/dist/cdn/{HZ3OY527.js → SOVMTSNG.js} +2 -2
  136. package/dist/cdn/{F3F7ILT4.js → SYCBIZ3L.js} +2 -2
  137. package/dist/cdn/{P6HCTFQW.js → TJMJXN62.js} +2 -2
  138. package/dist/cdn/TLQNJY62.js +4 -0
  139. package/dist/cdn/TSWOBVCO.js +4 -0
  140. package/dist/cdn/{QYUB4GS6.js → TZLLB5DY.js} +2 -2
  141. package/dist/cdn/{G5DIWPQB.js → U3W7QUML.js} +1 -1
  142. package/dist/cdn/UCWSOYC7.js +4 -0
  143. package/dist/cdn/{2YAG4QEZ.js → UJC5XP2H.js} +1 -1
  144. package/dist/cdn/{PFI4X5H3.js → UQ6GEIXA.js} +2 -2
  145. package/dist/cdn/UXGZ2JJF.js +4 -0
  146. package/dist/cdn/UYF4A3HX.js +4 -0
  147. package/dist/cdn/{NYT6HEMU.js → V563Z72W.js} +1 -1
  148. package/dist/cdn/V77W63CS.js +4 -0
  149. package/dist/cdn/{BXRG3QG3.js → VKSF6MXC.js} +2 -2
  150. package/dist/cdn/VPQKVJQQ.js +4 -0
  151. package/dist/cdn/VZEBTLI4.js +4 -0
  152. package/dist/cdn/{BO3SFQAC.js → W7BILVDR.js} +2 -2
  153. package/dist/cdn/WECKEBH5.js +4 -0
  154. package/dist/cdn/WPAMRSZA.js +4 -0
  155. package/dist/cdn/WPJFMCX2.js +4 -0
  156. package/dist/cdn/{MB65J5HZ.js → WUQLDFYJ.js} +2 -2
  157. package/dist/cdn/{VVQEPIHY.js → X7TGPXU3.js} +1 -1
  158. package/dist/cdn/{LKM7KOBV.js → XBC42ZK6.js} +1 -1
  159. package/dist/cdn/{UTC3ZWPM.js → XDF3XML4.js} +1 -1
  160. package/dist/cdn/{VZ3NO6C5.js → XL6MDXH4.js} +1 -1
  161. package/dist/cdn/{NGBJTO5U.js → XWG6YFT3.js} +2 -2
  162. package/dist/cdn/{UKPGCL4O.js → XYXIQ2VY.js} +2 -2
  163. package/dist/cdn/{GE55TSZO.js → YEA4ZE2P.js} +2 -2
  164. package/dist/cdn/YRA7WKPH.js +4 -0
  165. package/dist/cdn/{L5T4SBUE.js → YSVYXVUV.js} +2 -2
  166. package/dist/cdn/{OQXRA4A6.js → Z5NECB2Q.js} +2 -2
  167. package/dist/cdn/{MW4DB6ZR.js → ZA4YMZJW.js} +2 -2
  168. package/dist/cdn/ZB4O7MXT.js +4 -0
  169. package/dist/cdn/ZHGBDUH7.js +4 -0
  170. package/dist/cdn/{63WE2NFB.js → ZIHWRZLV.js} +1 -1
  171. package/dist/cdn/ZPXFDFLJ.js +4 -0
  172. package/dist/cdn/{6MA6WZ3C.js → ZQAOUB3H.js} +1 -1
  173. package/dist/cdn/ZTLZHJWE.js +4 -0
  174. package/dist/cdn/{BCNA5QGW.js → ZW6R3CDI.js} +2 -2
  175. package/dist/cdn/index.js +2 -2
  176. package/dist/chunks/ExpandToggle.js +3 -3
  177. package/dist/chunks/FloatingArrow.js +1 -1
  178. package/dist/chunks/Heading.js +1 -1
  179. package/dist/chunks/InternalLabel.js +1 -1
  180. package/dist/chunks/Validation.js +1 -1
  181. package/dist/chunks/array.js +1 -1
  182. package/dist/chunks/component.js +1 -1
  183. package/dist/chunks/core.js +5 -5
  184. package/dist/chunks/date.js +12 -12
  185. package/dist/chunks/dom.js +27 -27
  186. package/dist/chunks/dynamicClasses.js +1 -1
  187. package/dist/chunks/filter.js +1 -1
  188. package/dist/chunks/floating-ui.js +4 -4
  189. package/dist/chunks/form.js +2 -2
  190. package/dist/chunks/global.js +1 -1
  191. package/dist/chunks/guid.js +1 -1
  192. package/dist/chunks/header.js +1 -1
  193. package/dist/chunks/input.js +1 -1
  194. package/dist/chunks/interact.min.js +1 -1
  195. package/dist/chunks/key.js +1 -1
  196. package/dist/chunks/label.js +2 -2
  197. package/dist/chunks/locale.js +3 -3
  198. package/dist/chunks/logger.js +2 -2
  199. package/dist/chunks/math.js +1 -1
  200. package/dist/chunks/observers.js +1 -1
  201. package/dist/chunks/openCloseComponent.js +2 -2
  202. package/dist/chunks/resources.js +17 -12
  203. package/dist/chunks/resources2.js +8 -16
  204. package/dist/chunks/resources3.js +14 -53
  205. package/dist/chunks/resources4.js +57 -14
  206. package/dist/chunks/resources5.js +44 -50
  207. package/dist/chunks/resources6.js +10 -54
  208. package/dist/chunks/resources7.js +12 -10
  209. package/dist/chunks/resources8.js +55 -8
  210. package/dist/chunks/responsive.js +1 -1
  211. package/dist/chunks/runtime.js +7 -7
  212. package/dist/chunks/sortable.js +1 -1
  213. package/dist/chunks/sortableComponent.js +1 -1
  214. package/dist/chunks/text.js +1 -1
  215. package/dist/chunks/useCancelable.js +1 -1
  216. package/dist/chunks/useFocusTrap.js +3 -3
  217. package/dist/chunks/useInteractive.js +1 -1
  218. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  219. package/dist/chunks/useSetFocus.js +2 -2
  220. package/dist/chunks/useT9n.js +1 -1
  221. package/dist/chunks/useTime.js +2 -2
  222. package/dist/chunks/useTopLayer.js +1 -1
  223. package/dist/chunks/utils.js +18 -18
  224. package/dist/chunks/utils2.js +47 -42
  225. package/dist/chunks/utils3.js +2 -2
  226. package/dist/chunks/utils4.js +42 -47
  227. package/dist/components/calcite-accordion/customElement.d.ts +48 -42
  228. package/dist/components/calcite-accordion/customElement.js +1 -1
  229. package/dist/components/calcite-accordion-item/customElement.d.ts +62 -48
  230. package/dist/components/calcite-accordion-item/customElement.js +2 -2
  231. package/dist/components/calcite-accordion-item/index.d.ts +0 -1
  232. package/dist/components/calcite-action/customElement.d.ts +131 -119
  233. package/dist/components/calcite-action/customElement.js +1 -1
  234. package/dist/components/calcite-action/index.d.ts +0 -2
  235. package/dist/components/calcite-action-bar/customElement.d.ts +100 -90
  236. package/dist/components/calcite-action-bar/customElement.js +5 -4
  237. package/dist/components/calcite-action-bar/index.d.ts +0 -2
  238. package/dist/components/calcite-action-group/customElement.d.ts +93 -82
  239. package/dist/components/calcite-action-group/customElement.js +7 -6
  240. package/dist/components/calcite-action-group/index.d.ts +0 -2
  241. package/dist/components/calcite-action-group/interfaces.d.ts +1 -1
  242. package/dist/components/calcite-action-menu/customElement.d.ts +81 -69
  243. package/dist/components/calcite-action-menu/customElement.js +5 -4
  244. package/dist/components/calcite-action-menu/index.d.ts +0 -2
  245. package/dist/components/calcite-action-pad/customElement.d.ts +86 -78
  246. package/dist/components/calcite-action-pad/customElement.js +5 -4
  247. package/dist/components/calcite-action-pad/index.d.ts +0 -2
  248. package/dist/components/calcite-alert/customElement.d.ts +106 -102
  249. package/dist/components/calcite-alert/customElement.js +3 -3
  250. package/dist/components/calcite-alert/index.d.ts +0 -3
  251. package/dist/components/calcite-alert/interfaces.d.ts +2 -1
  252. package/dist/components/calcite-autocomplete/customElement.d.ts +247 -230
  253. package/dist/components/calcite-autocomplete/customElement.js +4 -4
  254. package/dist/components/calcite-autocomplete/index.d.ts +0 -2
  255. package/dist/components/calcite-autocomplete-item/customElement.d.ts +38 -31
  256. package/dist/components/calcite-autocomplete-item/customElement.js +2 -2
  257. package/dist/components/calcite-autocomplete-item/index.d.ts +0 -1
  258. package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +24 -20
  259. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  260. package/dist/components/calcite-avatar/customElement.d.ts +25 -20
  261. package/dist/components/calcite-avatar/customElement.js +3 -3
  262. package/dist/components/calcite-avatar/index.d.ts +0 -1
  263. package/dist/components/calcite-block/customElement.d.ts +175 -151
  264. package/dist/components/calcite-block/customElement.js +6 -5
  265. package/dist/components/calcite-block/index.d.ts +0 -5
  266. package/dist/components/calcite-block-group/customElement.d.ts +78 -77
  267. package/dist/components/calcite-block-group/customElement.js +2 -2
  268. package/dist/components/calcite-block-group/index.d.ts +0 -1
  269. package/dist/components/calcite-block-group/interfaces.d.ts +8 -13
  270. package/dist/components/calcite-block-section/customElement.d.ts +81 -75
  271. package/dist/components/calcite-block-section/customElement.js +2 -2
  272. package/dist/components/calcite-block-section/index.d.ts +0 -2
  273. package/dist/components/calcite-block-section/interfaces.d.ts +1 -1
  274. package/dist/components/calcite-button/customElement.d.ts +121 -123
  275. package/dist/components/calcite-button/customElement.js +2 -2
  276. package/dist/components/calcite-button/index.d.ts +0 -2
  277. package/dist/components/calcite-button/interfaces.d.ts +2 -1
  278. package/dist/components/calcite-card/customElement.d.ts +66 -56
  279. package/dist/components/calcite-card/customElement.js +2 -2
  280. package/dist/components/calcite-card/index.d.ts +0 -4
  281. package/dist/components/calcite-card-group/customElement.d.ts +42 -37
  282. package/dist/components/calcite-card-group/customElement.js +2 -2
  283. package/dist/components/calcite-carousel/customElement.d.ts +87 -91
  284. package/dist/components/calcite-carousel/customElement.js +2 -2
  285. package/dist/components/calcite-carousel/index.d.ts +0 -2
  286. package/dist/components/calcite-carousel/interfaces.d.ts +2 -1
  287. package/dist/components/calcite-carousel-item/customElement.d.ts +15 -15
  288. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  289. package/dist/components/calcite-checkbox/customElement.d.ts +86 -88
  290. package/dist/components/calcite-checkbox/customElement.js +1 -1
  291. package/dist/components/calcite-chip/customElement.d.ts +95 -90
  292. package/dist/components/calcite-chip/customElement.js +2 -2
  293. package/dist/components/calcite-chip/index.d.ts +0 -2
  294. package/dist/components/calcite-chip-group/customElement.d.ts +51 -50
  295. package/dist/components/calcite-chip-group/customElement.js +2 -2
  296. package/dist/components/calcite-color-picker/customElement.d.ts +139 -141
  297. package/dist/components/calcite-color-picker/customElement.js +3 -3
  298. package/dist/components/calcite-color-picker/index.d.ts +0 -9
  299. package/dist/components/calcite-color-picker/interfaces.d.ts +24 -19
  300. package/dist/components/calcite-color-picker/utils.d.ts +12 -36
  301. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +48 -49
  302. package/dist/components/calcite-color-picker-hex-input/customElement.js +2 -2
  303. package/dist/components/calcite-color-picker-hex-input/index.d.ts +0 -2
  304. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +22 -23
  305. package/dist/components/calcite-color-picker-swatch/customElement.js +3 -3
  306. package/dist/components/calcite-combobox/customElement.d.ts +227 -233
  307. package/dist/components/calcite-combobox/customElement.js +6 -6
  308. package/dist/components/calcite-combobox/index.d.ts +0 -4
  309. package/dist/components/calcite-combobox/interfaces.d.ts +6 -15
  310. package/dist/components/calcite-combobox-item/customElement.d.ts +78 -69
  311. package/dist/components/calcite-combobox-item/customElement.js +4 -4
  312. package/dist/components/calcite-combobox-item/index.d.ts +0 -1
  313. package/dist/components/calcite-combobox-item-group/customElement.d.ts +24 -21
  314. package/dist/components/calcite-combobox-item-group/customElement.js +2 -2
  315. package/dist/components/calcite-date-picker/customElement.d.ts +117 -95
  316. package/dist/components/calcite-date-picker/customElement.js +2 -2
  317. package/dist/components/calcite-date-picker/index.d.ts +0 -1
  318. package/dist/components/calcite-date-picker-day/customElement.d.ts +75 -76
  319. package/dist/components/calcite-date-picker-day/customElement.js +3 -3
  320. package/dist/components/calcite-date-picker-month/customElement.d.ts +38 -41
  321. package/dist/components/calcite-date-picker-month/customElement.js +2 -2
  322. package/dist/components/calcite-date-picker-month/index.d.ts +0 -2
  323. package/dist/components/calcite-date-picker-month-header/customElement.js +3 -3
  324. package/dist/components/calcite-dialog/customElement.d.ts +218 -193
  325. package/dist/components/calcite-dialog/customElement.js +5 -5
  326. package/dist/components/calcite-dialog/index.d.ts +0 -2
  327. package/dist/components/calcite-dialog/interfaces.d.ts +1 -11
  328. package/dist/components/calcite-dropdown/customElement.d.ts +126 -120
  329. package/dist/components/calcite-dropdown/customElement.js +3 -3
  330. package/dist/components/calcite-dropdown-group/customElement.d.ts +30 -28
  331. package/dist/components/calcite-dropdown-group/customElement.js +2 -2
  332. package/dist/components/calcite-dropdown-item/customElement.d.ts +56 -48
  333. package/dist/components/calcite-dropdown-item/customElement.js +2 -2
  334. package/dist/components/calcite-dropdown-item/index.d.ts +0 -1
  335. package/dist/components/calcite-fab/customElement.d.ts +72 -65
  336. package/dist/components/calcite-fab/customElement.js +1 -1
  337. package/dist/components/calcite-fab/index.d.ts +0 -1
  338. package/dist/components/calcite-filter/customElement.d.ts +75 -64
  339. package/dist/components/calcite-filter/customElement.js +1 -1
  340. package/dist/components/calcite-filter/index.d.ts +0 -1
  341. package/dist/components/calcite-flow/customElement.d.ts +23 -22
  342. package/dist/components/calcite-flow/customElement.js +2 -2
  343. package/dist/components/calcite-flow/interfaces.d.ts +6 -4
  344. package/dist/components/calcite-flow/types/index.d.ts +2 -2
  345. package/dist/components/calcite-flow-item/customElement.d.ts +177 -143
  346. package/dist/components/calcite-flow-item/customElement.js +5 -4
  347. package/dist/components/calcite-flow-item/index.d.ts +0 -2
  348. package/dist/components/calcite-graph/customElement.d.ts +31 -30
  349. package/dist/components/calcite-graph/customElement.js +1 -1
  350. package/dist/components/calcite-graph/interfaces.d.ts +10 -19
  351. package/dist/components/calcite-handle/customElement.d.ts +51 -49
  352. package/dist/components/calcite-handle/customElement.js +1 -1
  353. package/dist/components/calcite-handle/index.d.ts +0 -1
  354. package/dist/components/calcite-handle/interfaces.d.ts +2 -5
  355. package/dist/components/calcite-icon/customElement.d.ts +39 -36
  356. package/dist/components/calcite-icon/customElement.js +1 -1
  357. package/dist/components/calcite-icon/interfaces.d.ts +9 -6
  358. package/dist/components/calcite-inline-editable/customElement.d.ts +66 -63
  359. package/dist/components/calcite-inline-editable/customElement.js +2 -2
  360. package/dist/components/calcite-inline-editable/index.d.ts +0 -1
  361. package/dist/components/calcite-input/customElement.d.ts +243 -231
  362. package/dist/components/calcite-input/customElement.js +4 -4
  363. package/dist/components/calcite-input/index.d.ts +0 -3
  364. package/dist/components/calcite-input/interfaces.d.ts +1 -4
  365. package/dist/components/calcite-input-date-picker/customElement.d.ts +233 -209
  366. package/dist/components/calcite-input-date-picker/customElement.js +4 -4
  367. package/dist/components/calcite-input-date-picker/index.d.ts +0 -4
  368. package/dist/components/calcite-input-message/customElement.d.ts +28 -26
  369. package/dist/components/calcite-input-message/customElement.js +2 -2
  370. package/dist/components/calcite-input-message/index.d.ts +0 -1
  371. package/dist/components/calcite-input-number/customElement.d.ts +217 -204
  372. package/dist/components/calcite-input-number/customElement.js +4 -4
  373. package/dist/components/calcite-input-number/index.d.ts +0 -3
  374. package/dist/components/calcite-input-text/customElement.d.ts +180 -167
  375. package/dist/components/calcite-input-text/customElement.js +3 -3
  376. package/dist/components/calcite-input-text/index.d.ts +0 -3
  377. package/dist/components/calcite-input-time-picker/customElement.d.ts +196 -195
  378. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  379. package/dist/components/calcite-input-time-picker/index.d.ts +0 -4
  380. package/dist/components/calcite-input-time-zone/customElement.d.ts +762 -1363
  381. package/dist/components/calcite-input-time-zone/customElement.js +5 -4
  382. package/dist/components/calcite-input-time-zone/index.d.ts +0 -3
  383. package/dist/components/calcite-input-time-zone/interfaces.d.ts +2 -24
  384. package/dist/components/calcite-label/customElement.d.ts +29 -26
  385. package/dist/components/calcite-label/customElement.js +1 -1
  386. package/dist/components/calcite-link/customElement.d.ts +39 -39
  387. package/dist/components/calcite-link/customElement.js +1 -1
  388. package/dist/components/calcite-link/index.d.ts +0 -1
  389. package/dist/components/calcite-list/customElement.d.ts +180 -181
  390. package/dist/components/calcite-list/customElement.js +4 -4
  391. package/dist/components/calcite-list/index.d.ts +0 -3
  392. package/dist/components/calcite-list/interfaces.d.ts +9 -15
  393. package/dist/components/calcite-list/resources.d.ts +1 -16
  394. package/dist/components/calcite-list-item/customElement.d.ts +141 -125
  395. package/dist/components/calcite-list-item/customElement.js +7 -6
  396. package/dist/components/calcite-list-item/index.d.ts +0 -3
  397. package/dist/components/calcite-list-item/interfaces.d.ts +8 -7
  398. package/dist/components/calcite-list-item-group/customElement.d.ts +24 -20
  399. package/dist/components/calcite-list-item-group/customElement.js +2 -2
  400. package/dist/components/calcite-loader/customElement.d.ts +57 -43
  401. package/dist/components/calcite-loader/customElement.js +1 -1
  402. package/dist/components/calcite-menu/customElement.d.ts +25 -32
  403. package/dist/components/calcite-menu/customElement.js +2 -2
  404. package/dist/components/calcite-menu-item/customElement.d.ts +76 -72
  405. package/dist/components/calcite-menu-item/customElement.js +2 -2
  406. package/dist/components/calcite-menu-item/index.d.ts +0 -3
  407. package/dist/components/calcite-meter/customElement.d.ts +114 -109
  408. package/dist/components/calcite-meter/customElement.js +2 -2
  409. package/dist/components/calcite-meter/interfaces.d.ts +2 -1
  410. package/dist/components/calcite-navigation/customElement.d.ts +27 -21
  411. package/dist/components/calcite-navigation/customElement.js +2 -2
  412. package/dist/components/calcite-navigation/index.d.ts +0 -1
  413. package/dist/components/calcite-navigation-logo/customElement.d.ts +56 -51
  414. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  415. package/dist/components/calcite-navigation-logo/index.d.ts +0 -1
  416. package/dist/components/calcite-navigation-user/customElement.d.ts +40 -33
  417. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  418. package/dist/components/calcite-navigation-user/index.d.ts +0 -1
  419. package/dist/components/calcite-notice/customElement.d.ts +84 -73
  420. package/dist/components/calcite-notice/customElement.js +3 -3
  421. package/dist/components/calcite-notice/index.d.ts +0 -2
  422. package/dist/components/calcite-option/customElement.d.ts +19 -20
  423. package/dist/components/calcite-option/customElement.js +1 -1
  424. package/dist/components/calcite-option-group/customElement.d.ts +15 -16
  425. package/dist/components/calcite-option-group/customElement.js +1 -1
  426. package/dist/components/calcite-pagination/customElement.d.ts +74 -77
  427. package/dist/components/calcite-pagination/customElement.js +1 -1
  428. package/dist/components/calcite-pagination/index.d.ts +0 -1
  429. package/dist/components/calcite-panel/customElement.d.ts +168 -142
  430. package/dist/components/calcite-panel/customElement.js +9 -8
  431. package/dist/components/calcite-panel/index.d.ts +0 -4
  432. package/dist/components/calcite-popover/customElement.d.ts +167 -162
  433. package/dist/components/calcite-popover/customElement.js +3 -3
  434. package/dist/components/calcite-popover/index.d.ts +0 -1
  435. package/dist/components/calcite-progress/customElement.d.ts +32 -27
  436. package/dist/components/calcite-progress/customElement.js +1 -1
  437. package/dist/components/calcite-radio-button/customElement.d.ts +68 -68
  438. package/dist/components/calcite-radio-button/customElement.js +1 -1
  439. package/dist/components/calcite-radio-button-group/customElement.d.ts +67 -69
  440. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  441. package/dist/components/calcite-radio-button-group/index.d.ts +0 -1
  442. package/dist/components/calcite-rating/customElement.d.ts +90 -91
  443. package/dist/components/calcite-rating/customElement.js +1 -1
  444. package/dist/components/calcite-rating/index.d.ts +0 -3
  445. package/dist/components/calcite-scrim/customElement.d.ts +15 -18
  446. package/dist/components/calcite-scrim/customElement.js +2 -2
  447. package/dist/components/calcite-scrim/index.d.ts +0 -1
  448. package/dist/components/calcite-segmented-control/customElement.d.ts +89 -98
  449. package/dist/components/calcite-segmented-control/customElement.js +2 -2
  450. package/dist/components/calcite-segmented-control/index.d.ts +0 -1
  451. package/dist/components/calcite-segmented-control-item/customElement.d.ts +29 -24
  452. package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
  453. package/dist/components/calcite-segmented-control-item/index.d.ts +0 -1
  454. package/dist/components/calcite-select/customElement.d.ts +90 -92
  455. package/dist/components/calcite-select/customElement.js +1 -1
  456. package/dist/components/calcite-select/index.d.ts +0 -2
  457. package/dist/components/calcite-sheet/customElement.d.ts +142 -127
  458. package/dist/components/calcite-sheet/customElement.js +3 -3
  459. package/dist/components/calcite-sheet/index.d.ts +0 -2
  460. package/dist/components/calcite-sheet/interfaces.d.ts +1 -9
  461. package/dist/components/calcite-shell/customElement.d.ts +10 -10
  462. package/dist/components/calcite-shell/customElement.js +2 -2
  463. package/dist/components/calcite-shell-panel/customElement.d.ts +91 -81
  464. package/dist/components/calcite-shell-panel/customElement.js +3 -3
  465. package/dist/components/calcite-shell-panel/index.d.ts +0 -1
  466. package/dist/components/calcite-shell-panel/interfaces.d.ts +1 -9
  467. package/dist/components/calcite-slider/customElement.d.ts +194 -192
  468. package/dist/components/calcite-slider/customElement.js +2 -2
  469. package/dist/components/calcite-slider/index.d.ts +0 -2
  470. package/dist/components/calcite-sort-handle/customElement.d.ts +111 -106
  471. package/dist/components/calcite-sort-handle/customElement.js +5 -4
  472. package/dist/components/calcite-sort-handle/index.d.ts +0 -4
  473. package/dist/components/calcite-sort-handle/interfaces.d.ts +11 -7
  474. package/dist/components/calcite-sortable-list/customElement.d.ts +46 -44
  475. package/dist/components/calcite-sortable-list/customElement.js +2 -2
  476. package/dist/components/calcite-split-button/customElement.d.ts +141 -114
  477. package/dist/components/calcite-split-button/customElement.js +4 -3
  478. package/dist/components/calcite-split-button/index.d.ts +0 -2
  479. package/dist/components/calcite-stack/customElement.d.ts +11 -9
  480. package/dist/components/calcite-stack/customElement.js +3 -3
  481. package/dist/components/calcite-stepper/customElement.d.ts +68 -65
  482. package/dist/components/calcite-stepper/customElement.js +2 -2
  483. package/dist/components/calcite-stepper/index.d.ts +0 -1
  484. package/dist/components/calcite-stepper/interfaces.d.ts +1 -10
  485. package/dist/components/calcite-stepper-item/customElement.d.ts +76 -63
  486. package/dist/components/calcite-stepper-item/customElement.js +2 -2
  487. package/dist/components/calcite-stepper-item/index.d.ts +0 -1
  488. package/dist/components/calcite-swatch/customElement.d.ts +51 -48
  489. package/dist/components/calcite-swatch/customElement.js +3 -3
  490. package/dist/components/calcite-swatch-group/customElement.d.ts +54 -50
  491. package/dist/components/calcite-swatch-group/customElement.js +2 -2
  492. package/dist/components/calcite-switch/customElement.d.ts +59 -55
  493. package/dist/components/calcite-switch/customElement.js +1 -1
  494. package/dist/components/calcite-tab/customElement.d.ts +24 -21
  495. package/dist/components/calcite-tab/customElement.js +2 -2
  496. package/dist/components/calcite-tab-nav/customElement.d.ts +35 -33
  497. package/dist/components/calcite-tab-nav/customElement.js +3 -3
  498. package/dist/components/calcite-tab-nav/index.d.ts +0 -1
  499. package/dist/components/calcite-tab-title/customElement.d.ts +79 -66
  500. package/dist/components/calcite-tab-title/customElement.js +2 -2
  501. package/dist/components/calcite-tab-title/index.d.ts +0 -2
  502. package/dist/components/calcite-table/customElement.d.ts +145 -109
  503. package/dist/components/calcite-table/customElement.js +1 -1
  504. package/dist/components/calcite-table/index.d.ts +0 -3
  505. package/dist/components/calcite-table/interfaces.d.ts +3 -9
  506. package/dist/components/calcite-table-cell/customElement.d.ts +36 -40
  507. package/dist/components/calcite-table-cell/customElement.js +1 -1
  508. package/dist/components/calcite-table-header/customElement.d.ts +41 -45
  509. package/dist/components/calcite-table-header/customElement.js +1 -1
  510. package/dist/components/calcite-table-header/index.d.ts +0 -1
  511. package/dist/components/calcite-table-row/customElement.d.ts +32 -24
  512. package/dist/components/calcite-table-row/customElement.js +2 -2
  513. package/dist/components/calcite-table-row/index.d.ts +0 -3
  514. package/dist/components/calcite-tabs/customElement.d.ts +31 -32
  515. package/dist/components/calcite-tabs/customElement.js +2 -2
  516. package/dist/components/calcite-tabs/interfaces.d.ts +2 -2
  517. package/dist/components/calcite-text-area/customElement.d.ts +173 -170
  518. package/dist/components/calcite-text-area/customElement.js +2 -2
  519. package/dist/components/calcite-text-area/index.d.ts +0 -2
  520. package/dist/components/calcite-tile/customElement.d.ts +85 -75
  521. package/dist/components/calcite-tile/customElement.js +2 -2
  522. package/dist/components/calcite-tile/index.d.ts +0 -2
  523. package/dist/components/calcite-tile-group/customElement.d.ts +65 -64
  524. package/dist/components/calcite-tile-group/customElement.js +2 -2
  525. package/dist/components/calcite-time-picker/customElement.d.ts +76 -81
  526. package/dist/components/calcite-time-picker/customElement.js +1 -1
  527. package/dist/components/calcite-time-picker/index.d.ts +0 -1
  528. package/dist/components/calcite-tooltip/customElement.d.ts +97 -86
  529. package/dist/components/calcite-tooltip/customElement.js +3 -3
  530. package/dist/components/calcite-tree/customElement.d.ts +44 -42
  531. package/dist/components/calcite-tree/customElement.js +2 -2
  532. package/dist/components/calcite-tree-item/customElement.d.ts +43 -37
  533. package/dist/components/calcite-tree-item/customElement.js +2 -2
  534. package/dist/components/calcite-tree-item/index.d.ts +0 -1
  535. package/dist/components/functional/Heading.d.ts +1 -11
  536. package/dist/components/interfaces.d.ts +21 -17
  537. package/dist/controllers/useFocusTrap.d.ts +14 -88
  538. package/dist/controllers/useTime.d.ts +132 -158
  539. package/dist/docs/api.json +1 -56166
  540. package/dist/docs/docs.json +1 -47371
  541. package/dist/docs/vscode.css-custom-data.json +1 -2951
  542. package/dist/docs/vscode.html-custom-data.json +1 -9179
  543. package/dist/docs/web-types.json +1 -21842
  544. package/dist/index.d.ts +579 -1339
  545. package/dist/index.js +1 -1
  546. package/dist/loader.js +21 -21
  547. package/dist/types/components.d.ts +1 -0
  548. package/dist/types/lumina.d.ts +399 -399
  549. package/dist/types/preact.d.ts +399 -399
  550. package/dist/types/react.d.ts +399 -399
  551. package/dist/types/stencil.d.ts +399 -399
  552. package/dist/utils/config.d.ts +23 -25
  553. package/dist/utils/date.d.ts +4 -144
  554. package/dist/utils/dom.d.ts +13 -362
  555. package/dist/utils/floating-ui.d.ts +30 -176
  556. package/dist/utils/form.d.ts +3 -176
  557. package/dist/utils/locale.d.ts +7 -139
  558. package/dist/utils/logger.d.ts +1 -34
  559. package/dist/utils/sortableComponent.d.ts +6 -83
  560. package/dist/utils/time.d.ts +3 -85
  561. package/package.json +2 -2
  562. package/dist/cdn/2YIFHJHY.js +0 -4
  563. package/dist/cdn/32UUCGYB.js +0 -4
  564. package/dist/cdn/3GUVPQJR.js +0 -4
  565. package/dist/cdn/3YOKKJPY.js +0 -4
  566. package/dist/cdn/4CN7H6RM.js +0 -4
  567. package/dist/cdn/4WKWHRPZ.js +0 -4
  568. package/dist/cdn/5Q57CQI3.js +0 -4
  569. package/dist/cdn/6Z76MN3O.js +0 -4
  570. package/dist/cdn/72K54LJ3.js +0 -4
  571. package/dist/cdn/7UBY56YB.js +0 -4
  572. package/dist/cdn/7YRLVLEU.js +0 -4
  573. package/dist/cdn/AGSZXLFZ.js +0 -4
  574. package/dist/cdn/ATLOMO4U.js +0 -4
  575. package/dist/cdn/AVYY537F.js +0 -4
  576. package/dist/cdn/AYJMHRHA.js +0 -4
  577. package/dist/cdn/BCQ43LG2.js +0 -4
  578. package/dist/cdn/BRGAUXEE.js +0 -4
  579. package/dist/cdn/C5GW3QGU.js +0 -4
  580. package/dist/cdn/C5MRBVVJ.js +0 -4
  581. package/dist/cdn/CALTMDSP.js +0 -4
  582. package/dist/cdn/CEJWPGKG.js +0 -4
  583. package/dist/cdn/CGIXKXVI.js +0 -4
  584. package/dist/cdn/CP6TRAY3.js +0 -4
  585. package/dist/cdn/FAQ7PNPN.js +0 -4
  586. package/dist/cdn/FITJOEW5.js +0 -4
  587. package/dist/cdn/FTB7STHD.js +0 -4
  588. package/dist/cdn/FUKA2TDW.js +0 -4
  589. package/dist/cdn/FYW3U7RY.js +0 -4
  590. package/dist/cdn/G26E4Y5F.js +0 -4
  591. package/dist/cdn/G3GJSEUW.js +0 -4
  592. package/dist/cdn/GG3RFBYR.js +0 -4
  593. package/dist/cdn/GSW4MFZA.js +0 -4
  594. package/dist/cdn/GULEBIC3.js +0 -4
  595. package/dist/cdn/GUODPHFC.js +0 -4
  596. package/dist/cdn/I7X4UW64.js +0 -4
  597. package/dist/cdn/IGN2CLPE.js +0 -4
  598. package/dist/cdn/IVJAMT6Z.js +0 -4
  599. package/dist/cdn/KCQCPFUL.js +0 -4
  600. package/dist/cdn/KGIEHKQM.js +0 -4
  601. package/dist/cdn/KWEJGNCA.js +0 -4
  602. package/dist/cdn/LC6ANU6L.js +0 -4
  603. package/dist/cdn/LCZIHGJW.js +0 -6
  604. package/dist/cdn/LQ4REGZY.js +0 -4
  605. package/dist/cdn/LQTEOC43.js +0 -4
  606. package/dist/cdn/LXUTSB4Q.js +0 -4
  607. package/dist/cdn/MGB75KTC.js +0 -4
  608. package/dist/cdn/MI73YDXI.js +0 -4
  609. package/dist/cdn/N4O6BCQN.js +0 -4
  610. package/dist/cdn/NAQRKSUT.js +0 -4
  611. package/dist/cdn/NCBA3WEJ.js +0 -4
  612. package/dist/cdn/NNNQA5CE.js +0 -4
  613. package/dist/cdn/O3PUG7UN.js +0 -4
  614. package/dist/cdn/OAYEKVMX.js +0 -4
  615. package/dist/cdn/OHO4ZJBF.js +0 -4
  616. package/dist/cdn/OJIDM65V.js +0 -4
  617. package/dist/cdn/ONIGI3PC.js +0 -4
  618. package/dist/cdn/OPZJVDXL.js +0 -4
  619. package/dist/cdn/ORD3PCIH.js +0 -4
  620. package/dist/cdn/OTAJMSGN.js +0 -4
  621. package/dist/cdn/PPVZ46SY.js +0 -4
  622. package/dist/cdn/QBLVZKXO.js +0 -4
  623. package/dist/cdn/QYN4DVKB.js +0 -4
  624. package/dist/cdn/R3WR5YVD.js +0 -4
  625. package/dist/cdn/RA23P7VX.js +0 -4
  626. package/dist/cdn/RVG7GGAT.js +0 -4
  627. package/dist/cdn/SGXRT32J.js +0 -4
  628. package/dist/cdn/SJZJHII4.js +0 -4
  629. package/dist/cdn/SQSDWY2G.js +0 -4
  630. package/dist/cdn/STXK5HL7.js +0 -4
  631. package/dist/cdn/SYRUJUF5.js +0 -4
  632. package/dist/cdn/T4MJNTVW.js +0 -4
  633. package/dist/cdn/U2FT6ETL.js +0 -4
  634. package/dist/cdn/U6VTRKGF.js +0 -4
  635. package/dist/cdn/UBIPAQXU.js +0 -4
  636. package/dist/cdn/UXPM4JEV.js +0 -4
  637. package/dist/cdn/UYNJ4AXL.js +0 -4
  638. package/dist/cdn/VCVSUC25.js +0 -4
  639. package/dist/cdn/VDAHEY6D.js +0 -4
  640. package/dist/cdn/W2YNGVZA.js +0 -4
  641. package/dist/cdn/WXIS6FMR.js +0 -4
  642. package/dist/cdn/XIIJDTVR.js +0 -4
  643. package/dist/cdn/XPX3JPRJ.js +0 -4
  644. package/dist/cdn/XX45SDX4.js +0 -4
  645. package/dist/cdn/Y5M5WVDC.js +0 -4
  646. package/dist/cdn/YB6POHXI.js +0 -4
  647. package/dist/cdn/YHZQR6SB.js +0 -4
  648. package/dist/cdn/YJ52HWWQ.js +0 -4
  649. package/dist/cdn/ZQNOL767.js +0 -4
  650. package/dist/cdn/ZSLXO2SR.js +0 -4
  651. package/dist/components/calcite-accordion/interfaces.d.ts +0 -4
  652. package/dist/components/calcite-accordion/resources.d.ts +0 -4
  653. package/dist/components/calcite-accordion-item/interfaces.d.ts +0 -9
  654. package/dist/components/calcite-accordion-item/resources.d.ts +0 -35
  655. package/dist/components/calcite-action/resources.d.ts +0 -17
  656. package/dist/components/calcite-action-bar/resources.d.ts +0 -8
  657. package/dist/components/calcite-action-bar/utils.d.ts +0 -9
  658. package/dist/components/calcite-action-group/resources.d.ts +0 -9
  659. package/dist/components/calcite-action-menu/resources.d.ts +0 -15
  660. package/dist/components/calcite-action-pad/resources.d.ts +0 -7
  661. package/dist/components/calcite-alert/AlertManager.d.ts +0 -9
  662. package/dist/components/calcite-alert/resources.d.ts +0 -33
  663. package/dist/components/calcite-autocomplete/resources.d.ts +0 -20
  664. package/dist/components/calcite-autocomplete-item/resources.d.ts +0 -18
  665. package/dist/components/calcite-autocomplete-item-group/resources.d.ts +0 -9
  666. package/dist/components/calcite-avatar/resources.d.ts +0 -6
  667. package/dist/components/calcite-avatar/utils.d.ts +0 -20
  668. package/dist/components/calcite-block/resources.d.ts +0 -38
  669. package/dist/components/calcite-block/utils.d.ts +0 -2
  670. package/dist/components/calcite-block-group/resources.d.ts +0 -8
  671. package/dist/components/calcite-block-group/utils.d.ts +0 -2
  672. package/dist/components/calcite-block-section/resources.d.ts +0 -21
  673. package/dist/components/calcite-button/resources.d.ts +0 -14
  674. package/dist/components/calcite-card/resources.d.ts +0 -23
  675. package/dist/components/calcite-card-group/resources.d.ts +0 -4
  676. package/dist/components/calcite-carousel/resources.d.ts +0 -33
  677. package/dist/components/calcite-carousel-item/resources.d.ts +0 -7
  678. package/dist/components/calcite-checkbox/resources.d.ts +0 -4
  679. package/dist/components/calcite-chip/resources.d.ts +0 -23
  680. package/dist/components/calcite-color-picker/resources.d.ts +0 -93
  681. package/dist/components/calcite-color-picker-hex-input/resources.d.ts +0 -5
  682. package/dist/components/calcite-color-picker-swatch/resources.d.ts +0 -17
  683. package/dist/components/calcite-combobox/resources.d.ts +0 -48
  684. package/dist/components/calcite-combobox/utils.d.ts +0 -10
  685. package/dist/components/calcite-combobox-item/resources.d.ts +0 -22
  686. package/dist/components/calcite-combobox-item-group/resources.d.ts +0 -10
  687. package/dist/components/calcite-date-picker/resources.d.ts +0 -5
  688. package/dist/components/calcite-date-picker/utils.d.ts +0 -57
  689. package/dist/components/calcite-date-picker-day/resources.d.ts +0 -6
  690. package/dist/components/calcite-date-picker-month/resources.d.ts +0 -14
  691. package/dist/components/calcite-date-picker-month-header/customElement.d.ts +0 -27
  692. package/dist/components/calcite-date-picker-month-header/index.d.ts +0 -4
  693. package/dist/components/calcite-date-picker-month-header/resources.d.ts +0 -18
  694. package/dist/components/calcite-dialog/resources.d.ts +0 -29
  695. package/dist/components/calcite-dropdown/interfaces.d.ts +0 -4
  696. package/dist/components/calcite-dropdown/resources.d.ts +0 -12
  697. package/dist/components/calcite-dropdown-group/interfaces.d.ts +0 -6
  698. package/dist/components/calcite-dropdown-group/resources.d.ts +0 -5
  699. package/dist/components/calcite-dropdown-item/resources.d.ts +0 -11
  700. package/dist/components/calcite-fab/resources.d.ts +0 -5
  701. package/dist/components/calcite-filter/resources.d.ts +0 -7
  702. package/dist/components/calcite-flow/resources.d.ts +0 -5
  703. package/dist/components/calcite-flow-item/resources.d.ts +0 -19
  704. package/dist/components/calcite-graph/resources.d.ts +0 -10
  705. package/dist/components/calcite-graph/util.d.ts +0 -29
  706. package/dist/components/calcite-handle/resources.d.ts +0 -12
  707. package/dist/components/calcite-icon/resources.d.ts +0 -5
  708. package/dist/components/calcite-icon/utils.d.ts +0 -37
  709. package/dist/components/calcite-inline-editable/resources.d.ts +0 -12
  710. package/dist/components/calcite-input/common/input.d.ts +0 -31
  711. package/dist/components/calcite-input/common/tests.d.ts +0 -4
  712. package/dist/components/calcite-input/resources.d.ts +0 -37
  713. package/dist/components/calcite-input-date-picker/resources.d.ts +0 -31
  714. package/dist/components/calcite-input-date-picker/utils.d.ts +0 -8
  715. package/dist/components/calcite-input-message/interfaces.d.ts +0 -5
  716. package/dist/components/calcite-input-message/resources.d.ts +0 -3
  717. package/dist/components/calcite-input-number/resources.d.ts +0 -31
  718. package/dist/components/calcite-input-text/resources.d.ts +0 -22
  719. package/dist/components/calcite-input-time-picker/resources.d.ts +0 -25
  720. package/dist/components/calcite-input-time-zone/resources.d.ts +0 -6
  721. package/dist/components/calcite-input-time-zone/utils.d.ts +0 -22
  722. package/dist/components/calcite-label/resources.d.ts +0 -3
  723. package/dist/components/calcite-link/resources.d.ts +0 -5
  724. package/dist/components/calcite-list-item/resources.d.ts +0 -47
  725. package/dist/components/calcite-list-item/utils.d.ts +0 -13
  726. package/dist/components/calcite-list-item-group/resources.d.ts +0 -4
  727. package/dist/components/calcite-loader/interfaces.d.ts +0 -1
  728. package/dist/components/calcite-loader/resources.d.ts +0 -10
  729. package/dist/components/calcite-menu-item/interfaces.d.ts +0 -7
  730. package/dist/components/calcite-menu-item/resources.d.ts +0 -24
  731. package/dist/components/calcite-meter/resources.d.ts +0 -15
  732. package/dist/components/calcite-navigation/resources.d.ts +0 -23
  733. package/dist/components/calcite-navigation-logo/resources.d.ts +0 -10
  734. package/dist/components/calcite-navigation-user/resources.d.ts +0 -6
  735. package/dist/components/calcite-notice/resources.d.ts +0 -13
  736. package/dist/components/calcite-pagination/resources.d.ts +0 -12
  737. package/dist/components/calcite-panel/resources.d.ts +0 -48
  738. package/dist/components/calcite-popover/PopoverManager.d.ts +0 -23
  739. package/dist/components/calcite-popover/resources.d.ts +0 -16
  740. package/dist/components/calcite-progress/resources.d.ts +0 -5
  741. package/dist/components/calcite-radio-button/resources.d.ts +0 -4
  742. package/dist/components/calcite-radio-button-group/resources.d.ts +0 -6
  743. package/dist/components/calcite-rating/functional/star.d.ts +0 -3
  744. package/dist/components/calcite-rating/interfaces.d.ts +0 -17
  745. package/dist/components/calcite-rating/resources.d.ts +0 -17
  746. package/dist/components/calcite-scrim/resources.d.ts +0 -8
  747. package/dist/components/calcite-segmented-control/resources.d.ts +0 -6
  748. package/dist/components/calcite-segmented-control-item/resources.d.ts +0 -13
  749. package/dist/components/calcite-select/resources.d.ts +0 -9
  750. package/dist/components/calcite-sheet/resources.d.ts +0 -17
  751. package/dist/components/calcite-shell/interfaces.d.ts +0 -1
  752. package/dist/components/calcite-shell/resources.d.ts +0 -23
  753. package/dist/components/calcite-shell-panel/resources.d.ts +0 -21
  754. package/dist/components/calcite-slider/interfaces.d.ts +0 -11
  755. package/dist/components/calcite-slider/resources.d.ts +0 -35
  756. package/dist/components/calcite-sort-handle/resources.d.ts +0 -23
  757. package/dist/components/calcite-sortable-list/resources.d.ts +0 -6
  758. package/dist/components/calcite-split-button/resources.d.ts +0 -13
  759. package/dist/components/calcite-stack/resources.d.ts +0 -14
  760. package/dist/components/calcite-stepper/functional/step-bar.d.ts +0 -17
  761. package/dist/components/calcite-stepper/resources.d.ts +0 -18
  762. package/dist/components/calcite-stepper-item/resources.d.ts +0 -14
  763. package/dist/components/calcite-swatch/resources.d.ts +0 -28
  764. package/dist/components/calcite-swatch-group/resources.d.ts +0 -3
  765. package/dist/components/calcite-switch/resources.d.ts +0 -5
  766. package/dist/components/calcite-tab/interfaces.d.ts +0 -9
  767. package/dist/components/calcite-tab/resources.d.ts +0 -9
  768. package/dist/components/calcite-tab-nav/resources.d.ts +0 -16
  769. package/dist/components/calcite-tab-title/resources.d.ts +0 -17
  770. package/dist/components/calcite-table/resources.d.ts +0 -22
  771. package/dist/components/calcite-table-cell/resources.d.ts +0 -10
  772. package/dist/components/calcite-table-header/resources.d.ts +0 -17
  773. package/dist/components/calcite-table-row/resources.d.ts +0 -5
  774. package/dist/components/calcite-tabs/resources.d.ts +0 -6
  775. package/dist/components/calcite-text-area/interfaces.d.ts +0 -4
  776. package/dist/components/calcite-text-area/resources.d.ts +0 -33
  777. package/dist/components/calcite-tile/resources.d.ts +0 -22
  778. package/dist/components/calcite-tile-group/resources.d.ts +0 -3
  779. package/dist/components/calcite-time-picker/resources.d.ts +0 -38
  780. package/dist/components/calcite-tooltip/TooltipManager.d.ts +0 -38
  781. package/dist/components/calcite-tooltip/resources.d.ts +0 -11
  782. package/dist/components/calcite-tooltip/utils.d.ts +0 -3
  783. package/dist/components/calcite-tree/utils.d.ts +0 -4
  784. package/dist/components/calcite-tree-item/interfaces.d.ts +0 -9
  785. package/dist/components/calcite-tree-item/resources.d.ts +0 -19
  786. package/dist/components/functional/ExpandToggle.d.ts +0 -22
  787. package/dist/components/functional/FloatingArrow.d.ts +0 -20
  788. package/dist/components/functional/InternalLabel.d.ts +0 -26
  789. package/dist/components/functional/Validation.d.ts +0 -17
  790. package/dist/components/functional/XButton.d.ts +0 -17
  791. package/dist/components/resources.d.ts +0 -13
  792. package/dist/components/types.d.ts +0 -2
  793. package/dist/controllers/useCancelable.d.ts +0 -30
  794. package/dist/controllers/useInteractive.d.ts +0 -33
  795. package/dist/controllers/usePreventDocumentScroll.d.ts +0 -22
  796. package/dist/controllers/useSetFocus.d.ts +0 -18
  797. package/dist/controllers/useSizeOverride.d.ts +0 -44
  798. package/dist/controllers/useT9n.d.ts +0 -1
  799. package/dist/controllers/useTopLayer.d.ts +0 -34
  800. package/dist/custom-theme/accordion-item.d.ts +0 -9
  801. package/dist/custom-theme/accordion.d.ts +0 -8
  802. package/dist/custom-theme/action.d.ts +0 -27
  803. package/dist/custom-theme/alert.d.ts +0 -7
  804. package/dist/custom-theme/autocomplete.d.ts +0 -28
  805. package/dist/custom-theme/avatar.d.ts +0 -8
  806. package/dist/custom-theme/block-section.d.ts +0 -9
  807. package/dist/custom-theme/block.d.ts +0 -13
  808. package/dist/custom-theme/button.d.ts +0 -5
  809. package/dist/custom-theme/card.d.ts +0 -11
  810. package/dist/custom-theme/carousel.d.ts +0 -14
  811. package/dist/custom-theme/checkbox.d.ts +0 -8
  812. package/dist/custom-theme/chips.d.ts +0 -11
  813. package/dist/custom-theme/color-picker.d.ts +0 -22
  814. package/dist/custom-theme/combobox-item.d.ts +0 -12
  815. package/dist/custom-theme/combobox.d.ts +0 -20
  816. package/dist/custom-theme/date-picker.d.ts +0 -29
  817. package/dist/custom-theme/dialog.d.ts +0 -30
  818. package/dist/custom-theme/dropdown.d.ts +0 -17
  819. package/dist/custom-theme/fab.d.ts +0 -10
  820. package/dist/custom-theme/filter.d.ts +0 -17
  821. package/dist/custom-theme/flow.d.ts +0 -21
  822. package/dist/custom-theme/graph.d.ts +0 -4
  823. package/dist/custom-theme/handle.d.ts +0 -9
  824. package/dist/custom-theme/icon.d.ts +0 -1
  825. package/dist/custom-theme/inline-editable.d.ts +0 -10
  826. package/dist/custom-theme/input-date-picker.d.ts +0 -43
  827. package/dist/custom-theme/input-message.d.ts +0 -8
  828. package/dist/custom-theme/input-number.d.ts +0 -29
  829. package/dist/custom-theme/input-text.d.ts +0 -29
  830. package/dist/custom-theme/input-time-picker.d.ts +0 -20
  831. package/dist/custom-theme/input.d.ts +0 -24
  832. package/dist/custom-theme/label.d.ts +0 -5
  833. package/dist/custom-theme/link.d.ts +0 -4
  834. package/dist/custom-theme/list.d.ts +0 -13
  835. package/dist/custom-theme/loader.d.ts +0 -13
  836. package/dist/custom-theme/menu-item.d.ts +0 -8
  837. package/dist/custom-theme/meter.d.ts +0 -10
  838. package/dist/custom-theme/navigation-logo.d.ts +0 -7
  839. package/dist/custom-theme/navigation-user.d.ts +0 -9
  840. package/dist/custom-theme/navigation.d.ts +0 -7
  841. package/dist/custom-theme/notice.d.ts +0 -16
  842. package/dist/custom-theme/pagination.d.ts +0 -9
  843. package/dist/custom-theme/panel.d.ts +0 -19
  844. package/dist/custom-theme/popover.d.ts +0 -9
  845. package/dist/custom-theme/progress.d.ts +0 -6
  846. package/dist/custom-theme/radio-button-group.d.ts +0 -5
  847. package/dist/custom-theme/radio-button.d.ts +0 -7
  848. package/dist/custom-theme/rating.d.ts +0 -10
  849. package/dist/custom-theme/segmented-control.d.ts +0 -8
  850. package/dist/custom-theme/select.d.ts +0 -11
  851. package/dist/custom-theme/shell-panel.d.ts +0 -18
  852. package/dist/custom-theme/slider.d.ts +0 -13
  853. package/dist/custom-theme/split-button.d.ts +0 -14
  854. package/dist/custom-theme/stepper-item.d.ts +0 -22
  855. package/dist/custom-theme/stepper.d.ts +0 -8
  856. package/dist/custom-theme/swatch-group.d.ts +0 -4
  857. package/dist/custom-theme/swatch.d.ts +0 -4
  858. package/dist/custom-theme/switch.d.ts +0 -10
  859. package/dist/custom-theme/table.d.ts +0 -51
  860. package/dist/custom-theme/tabs.d.ts +0 -18
  861. package/dist/custom-theme/text-area.d.ts +0 -14
  862. package/dist/custom-theme/tile.d.ts +0 -11
  863. package/dist/custom-theme/time-picker.d.ts +0 -12
  864. package/dist/custom-theme/tooltip.d.ts +0 -9
  865. package/dist/custom-theme/tree.d.ts +0 -6
  866. package/dist/internal-label/autocomplete.d.ts +0 -1
  867. package/dist/internal-label/checkbox.d.ts +0 -1
  868. package/dist/internal-label/combobox.d.ts +0 -1
  869. package/dist/internal-label/input-date-picker.d.ts +0 -1
  870. package/dist/internal-label/input-number.d.ts +0 -1
  871. package/dist/internal-label/input-text.d.ts +0 -1
  872. package/dist/internal-label/input-time-picker.d.ts +0 -1
  873. package/dist/internal-label/input-time-zone.d.ts +0 -1
  874. package/dist/internal-label/input.d.ts +0 -1
  875. package/dist/internal-label/radio-button-group.d.ts +0 -1
  876. package/dist/internal-label/radio-button.d.ts +0 -1
  877. package/dist/internal-label/rating.d.ts +0 -1
  878. package/dist/internal-label/segmented-control.d.ts +0 -1
  879. package/dist/internal-label/select.d.ts +0 -1
  880. package/dist/internal-label/slider.d.ts +0 -1
  881. package/dist/internal-label/switch.d.ts +0 -1
  882. package/dist/internal-label/text-area.d.ts +0 -1
  883. package/dist/runtime.d.ts +0 -6
  884. package/dist/types/preact10.d.ts +0 -938
  885. package/dist/utils/array.d.ts +0 -1
  886. package/dist/utils/browser.d.ts +0 -1
  887. package/dist/utils/component.d.ts +0 -34
  888. package/dist/utils/dynamicClasses.d.ts +0 -2
  889. package/dist/utils/filter.d.ts +0 -1
  890. package/dist/utils/globalScript.d.ts +0 -1
  891. package/dist/utils/guid.d.ts +0 -1
  892. package/dist/utils/key.d.ts +0 -3
  893. package/dist/utils/label.d.ts +0 -45
  894. package/dist/utils/math.d.ts +0 -22
  895. package/dist/utils/mode.d.ts +0 -2
  896. package/dist/utils/number.d.ts +0 -45
  897. package/dist/utils/observers.d.ts +0 -29
  898. package/dist/utils/openCloseComponent.d.ts +0 -52
  899. package/dist/utils/overflow.d.ts +0 -28
  900. package/dist/utils/resources.d.ts +0 -33
  901. package/dist/utils/responsive.d.ts +0 -11
  902. package/dist/utils/selectableComponent.d.ts +0 -17
  903. package/dist/utils/text.d.ts +0 -22
@@ -1,29 +1,13 @@
1
- import { FocusTrap } from 'focus-trap';
2
- import { LogLevel } from './logger';
3
- export interface CalciteConfig {
4
- /**
5
- * Defines the global trap stack to use for focus-trapping components.
6
- *
7
- * This is useful if your application uses its own instance of `focus-trap` and both need to be aware of each other.
8
- *
9
- * @see [focus-trap createOptions](https://github.com/focus-trap/focus-trap#createoptions).
10
- */
11
- focusTrapStack: FocusTrap[];
12
- /** Defines the global log level to use when logging messages. */
13
- logLevel: LogLevel;
14
- /**
15
- * Contains the version of the Calcite components.
16
- *
17
- * @readonly
18
- */
19
- version?: string;
20
- }
1
+ import type { FocusTrap } from "focus-trap";
2
+ import type { LogLevel } from "./logger.js";
3
+
21
4
  /**
22
5
  * Exporting for testing purposes only
23
6
  *
24
7
  * @internal
25
8
  */
26
- export declare const defaultConfig: CalciteConfig;
9
+ export const defaultConfig: CalciteConfig;
10
+
27
11
  /**
28
12
  * Clears the effective config so it will be recomputed on next getConfig().
29
13
  *
@@ -31,12 +15,26 @@ export declare const defaultConfig: CalciteConfig;
31
15
  *
32
16
  * @internal
33
17
  */
34
- export declare function clearConfig(): void;
18
+ export function clearConfig(): void;
19
+
35
20
  /**
36
21
  * Returns the effective config.
37
22
  *
38
23
  * @internal
39
24
  */
40
- export declare function getConfig(): CalciteConfig;
41
- /** Stamp the version onto the global config. */
42
- export declare function stampVersion(): void;
25
+ export function getConfig(): CalciteConfig;
26
+
27
+ export interface CalciteConfig {
28
+ /**
29
+ * Defines the global trap stack to use for focus-trapping components.
30
+ *
31
+ * This is useful if your application uses its own instance of `focus-trap` and both need to be aware of each other.
32
+ *
33
+ * @see [focus-trap createOptions](https://github.com/focus-trap/focus-trap#createoptions).
34
+ */
35
+ focusTrapStack: FocusTrap[];
36
+ /** Defines the global log level to use when logging messages. */
37
+ logLevel: LogLevel;
38
+ /** Contains the version of the Calcite components. */
39
+ readonly version?: string;
40
+ }
@@ -1,145 +1,5 @@
1
- import { DateLocaleData } from '../components/calcite-date-picker/utils';
2
1
  export interface HoverRange {
3
- focused: "end" | "start";
4
- start: Date;
5
- end: Date;
6
- }
7
- /**
8
- * Check if date is within a min and max
9
- *
10
- * @param date
11
- * @param min
12
- * @param max
13
- */
14
- export declare function inRange(date: Date, min?: Date | string, max?: Date | string): boolean;
15
- /**
16
- * Ensures date is within range,
17
- * returns min or max if out of bounds
18
- *
19
- * @param date
20
- * @param min
21
- * @param max
22
- */
23
- export declare function dateFromRange(date?: any, min?: Date | string, max?: Date | string): Date | null;
24
- /**
25
- * Parse an iso8601 string (YYYY-mm-dd) into a valid date.
26
- * TODO: handle time when time of day UI is added
27
- *
28
- * @param iso8601
29
- * @param isEndDate
30
- */
31
- export declare function dateFromISO(iso8601: string | Date, isEndDate?: boolean): Date | null;
32
- /**
33
- * Parse a localized date string into a valid Date.
34
- * return false if date is invalid, or out of range
35
- *
36
- * @param value
37
- * @param localeData
38
- */
39
- export declare function dateFromLocalizedString(value: string, localeData: DateLocaleData): Date;
40
- export declare function parseCalendarYear(year: number, localeData: DateLocaleData): number;
41
- export declare function formatCalendarYear(year: number, localeData: DateLocaleData): number;
42
- /**
43
- * Retrieve day, month, and year strings from a localized string
44
- *
45
- * @param string
46
- * @param localeData
47
- */
48
- export declare function datePartsFromLocalizedString(string: string, localeData: DateLocaleData): {
49
- day: string;
50
- month: string;
51
- year: string;
52
- };
53
- /**
54
- * Return the date portion in local time of a Date object in ISO 8601 format (YYYY-MM-DD)
55
- *
56
- * @param date
57
- */
58
- export declare function dateToISO(date?: Date): string;
59
- /**
60
- * Retrieve day, month, and year strings from a ISO string (YYYY-mm-dd)
61
- *
62
- * @param string
63
- * @param isoDate
64
- */
65
- export declare function datePartsFromISO(isoDate: string): {
66
- day: string;
67
- month: string;
68
- year: string;
69
- };
70
- /**
71
- * Check if two dates are the same day, month, year
72
- *
73
- * @param d1
74
- * @param d2
75
- */
76
- export declare function sameDate(d1: Date, d2: Date): boolean;
77
- /**
78
- * Get a date one month in the past
79
- *
80
- * @param date
81
- */
82
- export declare function prevMonth(date: Date): Date;
83
- /**
84
- * Get active date in a given month.
85
- *
86
- * @param date
87
- * @param month
88
- */
89
- export declare function getDateInMonth(date: Date, month: number): Date;
90
- /**
91
- * Get First Valid date in a month.
92
- *
93
- * @param date
94
- * @param min
95
- * @param max
96
- */
97
- export declare function getFirstValidDateInMonth(date: Date, min: Date, max: Date): Date;
98
- /**
99
- * Get a date one month in the future
100
- *
101
- * @param date
102
- */
103
- export declare function nextMonth(date: Date): Date;
104
- /**
105
- * Parse numeric units for day, month, and year from a localized string
106
- * month starts at 0 (can pass to date constructor)
107
- * can return values as number or string
108
- *
109
- * @param string
110
- * @param localeData
111
- */
112
- export declare function parseDateString(string: string, localeData: DateLocaleData): {
113
- day: number;
114
- month: number;
115
- year: number;
116
- };
117
- type unitOrderSignifier = "m" | "d" | "y";
118
- /**
119
- * Based on the unitOrder string, find order of month, day, and year for locale
120
- *
121
- * @param unitOrder
122
- */
123
- export declare function getOrder(unitOrder: string): unitOrderSignifier[];
124
- /**
125
- * Get number of days between two dates
126
- *
127
- * @param date1
128
- * @param date2
129
- */
130
- export declare function getDaysDiff(date1: Date, date2: Date): number;
131
- /**
132
- * Set time of the day to the end.
133
- *
134
- * @param date Date.
135
- * @returns Date with time set to end of day .
136
- */
137
- export declare function setEndOfDay(date: Date): Date;
138
- /**
139
- * Returns true if two dates have same month and year.
140
- *
141
- * @param date1
142
- * @param date2
143
- */
144
- export declare function hasSameMonthAndYear(date1: Date, date2: Date): boolean;
145
- export {};
2
+ focused: "end" | "start";
3
+ start: Date;
4
+ end: Date;
5
+ }
@@ -1,368 +1,19 @@
1
- import { LitElement } from '@arcgis/lumina';
2
- import { IconName } from '../components/calcite-icon/interfaces';
3
1
  /**
4
- * The default `focus-trap/tabbable` options.
2
+ * Helper to get the first focusable element.
5
3
  *
6
- * See https://github.com/focus-trap/tabbable#tabbable
4
+ * @param element - The html element containing focusable elements.
5
+ * @param includeContainer - When true, the container element will be considered as well.
6
+ * @returns the first focusable element.
7
+ * @internal
7
8
  */
8
- export declare const tabbableOptions: {
9
- getShadowRoot: boolean;
10
- };
9
+ export function getFirstFocusable(element: HTMLElement, includeContainer?: boolean): HTMLElement;
10
+
11
11
  /**
12
- * This helper will guarantee an ID on the provided element.
12
+ * Helper to focus the first focusable element.
13
13
  *
14
- * If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
15
- *
16
- * @param el An element.
17
- * @returns The element's ID.
18
- */
19
- export declare function ensureId(el: Element): string;
20
- /**
21
- * This helper returns an array from a NodeList.
22
- *
23
- * @param nodeList A NodeList.
24
- * @returns An array of elements.
25
- */
26
- export declare function nodeListToArray<T extends Element>(nodeList: HTMLCollectionOf<T> | NodeListOf<T> | T[]): T[];
27
- export type Direction = "ltr" | "rtl";
28
- /**
29
- * This helper returns the Calcite "mode" of an element.
30
- *
31
- * @param el An element.
32
- * @returns The Calcite mode.
33
- */
34
- export declare function getModeName(el: HTMLElement): "light" | "dark";
35
- /**
36
- * This helper returns the direction of a HTML element.
37
- *
38
- * @param el An element.
39
- * @returns The direction.
40
- */
41
- export declare function getElementDir(el: HTMLElement): Direction;
42
- /**
43
- * This helper returns the computed width in pixels of a rendered HTMLElement.
44
- *
45
- * @param el An element.
46
- * @returns The element's width.
47
- */
48
- export declare function getElementWidth(el: HTMLElement): number;
49
- /**
50
- * This helper returns the rootNode of an element.
51
- *
52
- * @param el An element.
53
- * @returns The element's root node.
54
- */
55
- export declare function getRootNode(el: Element): Document | ShadowRoot;
56
- /**
57
- * This helper returns the node's shadowRoot root node if it exists.
58
- *
59
- * @param el The element.
60
- * @returns The element's root node ShadowRoot.
61
- */
62
- export declare function getShadowRootNode(el: Element): ShadowRoot | null;
63
- /**
64
- * This helper returns the computed width in pixels a given text string takes up on screen.
65
- *
66
- * See https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript
67
- *
68
- * @param text The string of text to measure.
69
- * @param font The CSS font attribute's value, which should include size and face, e.g. "12px Arial".
70
- */
71
- export declare function getTextWidth(text: string, font: string): number;
72
- /**
73
- * This helper returns the host of a ShadowRoot.
74
- *
75
- * @param root A root element.
76
- * @returns The host element.
77
- */
78
- export declare function getHost(root: Document | ShadowRoot): Element | null;
79
- /**
80
- * This helper queries an element's rootNode and any ancestor rootNodes.
81
- *
82
- * If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
83
- */
84
- export declare function queryElementRoots<T extends Element = Element>(el: Element, { selector, id, }: {
85
- selector?: string;
86
- id?: string;
87
- }): T | null;
88
- /**
89
- * This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.
90
- *
91
- * Based on https://stackoverflow.com/q/54520554/194216
92
- *
93
- * @param element The starting element.
94
- * @param selector The selector.
95
- * @returns The targeted element.
96
- */
97
- export declare function closestElementCrossShadowBoundary<TagName extends keyof HTMLElementTagNameMap>(element: Element, selector: TagName): HTMLElementTagNameMap[TagName] | null;
98
- export declare function closestElementCrossShadowBoundary<T extends Element = Element>(element: Element, selector: string): T | null;
99
- /**
100
- * This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
101
- *
102
- * Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
103
- *
104
- * @param element An element.
105
- * @param onVisit The callback.
106
- * @returns The result.
107
- */
108
- export declare function walkUpAncestry<T = any>(element: Element, onVisit: (node: Node) => T): T;
109
- export type FocusableElement = SetFocusable | HTMLElement;
110
- export interface SetFocusable extends LitElement {
111
- setFocus: (options?: FocusOptions) => Promise<void>;
112
- }
113
- /**
114
- * This helper returns true when an element has a setFocus method.
115
- *
116
- * @param el An element.
117
- * @returns Whether the element is focusable.
118
- */
119
- export declare function isCalciteFocusable(el: FocusableElement): el is SetFocusable;
120
- /**
121
- * This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.
122
- *
123
- * @param el An element.
124
- * @param includeContainer When true, the container element will be considered as well. Note, this is only applicable when `setFocus` is not applicable.
125
- * @param strategy The focus strategy to use when finding the first focusable element. Defaults to "tabbable".
126
- * @param context The element invoking the focus – use when the host is focusable to short-circuit the focus call.
127
- * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
128
- *
129
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
130
- */
131
- export declare function focusElement(el: FocusableElement, includeContainer?: boolean, strategy?: "focusable" | "tabbable", context?: HTMLElement, options?: FocusOptions): Promise<void>;
132
- /**
133
- * Helper to get the first tabbable element.
134
- *
135
- * @param element The html element containing tabbable elements.
136
- * @param includeContainer When true, the container element will be considered as well.
137
- *
138
- * @returns the first tabbable element.
139
- */
140
- export declare function getFirstTabbable(element: HTMLElement, includeContainer?: boolean): HTMLElement;
141
- /**
142
- * Helper to focus the first tabbable element.
143
- *
144
- * @param element The html element containing tabbable elements.
145
- * @param includeContainer When true, the container element will be considered as well.
146
- * @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
147
- *
148
- * @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
149
- */
150
- export declare function focusFirstTabbable(element: HTMLElement, includeContainer?: boolean, options?: FocusOptions): void;
151
- /**
152
- * Filters direct children.
153
- *
154
- * @param el An element.
155
- * @param selector The selector.
156
- * @returns An array of elements.
157
- */
158
- export declare function filterDirectChildren<T extends Element>(el: Element, selector: string): T[];
159
- /**
160
- * Filters an array of HTML elements by the provided css selector string.
161
- *
162
- * @param elements An array of elements, such as one returned by HTMLSlotElement.assignedElements().
163
- * @param selector The CSS selector string to filter the returned elements by.
164
- * @returns A filtered array of elements.
165
- */
166
- export declare function filterElementsBySelector<T extends Element>(elements: Element[], selector: string): T[];
167
- /**
168
- * Set a default icon from a defined set or allow an override with an icon name string
169
- *
170
- * @param iconObject The icon object.
171
- * @param iconValue The icon value.
172
- * @param matchedValue The matched value.
173
- * @returns The resulting icon value.
174
- */
175
- export declare function setRequestedIcon(iconObject: Record<string, IconName>, iconValue: IconName | boolean | "", matchedValue: string): IconName | undefined;
176
- /**
177
- * This helper returns true when two rectangles intersect.
178
- *
179
- * @param rect1 The first rectangle.
180
- * @param rect2 The second rectangle.
181
- * @returns The result.
182
- */
183
- export declare function intersects(rect1: DOMRect, rect2: DOMRect): boolean;
184
- /**
185
- * This helper makes sure that boolean aria attributes are properly converted to a string.
186
- *
187
- * It should only be used for aria attributes that require a string value of "true" or "false".
188
- *
189
- * @param value The value.
190
- * @returns The string conversion of a boolean value ("true" | "false").
191
- */
192
- export declare function toAriaBoolean(value: boolean): string;
193
- /**
194
- * This helper returns `true` if the target `slot` element from the `onSlotchange` event has any content (text or elements).
195
- *
196
- * ```
197
- * <slot onSlotchange={(event) => this.mySlotHasContent = slotChangeHasContent(event)} />}
198
- * ```
199
- *
200
- * @param event The event.
201
- * @returns Whether the slot has any content.
202
- */
203
- export declare function slotChangeHasContent(event: Event): boolean;
204
- /**
205
- * This helper returns a string of textContent if the target `slot` element from the `onSlotchange` event has any text content.
206
- *
207
- * ```
208
- * <slot onSlotchange={(event) => this.mySlotText = slotChangeGetTextContent(event)} />}
209
- * ```
210
- *
211
- * @param event The event.
212
- * @returns The slots text.
213
- */
214
- export declare function slotChangeGetTextContent(event: Event): string;
215
- /**
216
- * This helper checks if an element has visible content.
217
- *
218
- * @param element The element to check.
219
- * @returns True if the element has visible content, otherwise false.
220
- */
221
- export declare function hasVisibleContent(element: HTMLElement): boolean;
222
- /**
223
- * This helper returns `true` if the target `slot` element from the `onSlotchange` event has any text content.
224
- *
225
- * ```
226
- * <slot onSlotchange={(event) => this.mySlotHasTextContent = slotChangeHasTextContent(event)} />}
227
- * ```
228
- *
229
- * @param event The event.
230
- * @returns Whether the slot has any text content.
231
- */
232
- export declare function slotChangeHasTextContent(event: Event): boolean;
233
- /**
234
- * This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned node.
235
- *
236
- * ```
237
- * <slot onSlotchange={(event) => this.mySlotHasNode = slotChangeHasAssignedNode(event)} />}
238
- * ```
239
- *
240
- * @param event The event.
241
- * @returns Whether the slot has any assigned nodes.
242
- */
243
- export declare function slotChangeHasAssignedNode(event: Event): boolean;
244
- /**
245
- * This helper returns the assigned nodes on a `slot` element from the `onSlotchange` event.
246
- *
247
- * ```
248
- * <slot onSlotchange={(event) => this.mySlotNodes = slotChangeGetAssignedNodes(event)} />}
249
- * ```
250
- *
251
- * @param event The event.
252
- * @returns Whether the slot has any assigned nodes.
253
- */
254
- export declare function slotChangeGetAssignedNodes(event: Event): Node[];
255
- /**
256
- * This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned element.
257
- *
258
- * ```
259
- * <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
260
- * ```
261
- *
262
- * @param event The event.
263
- * @returns Whether the slot has any assigned elements.
264
- */
265
- export declare function slotChangeHasAssignedElement(event: Event): boolean;
266
- /**
267
- * This helper returns the assigned elements on a `slot` element from the `onSlotchange` event.
268
- *
269
- * ```
270
- * <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}
271
- * ```
272
- *
273
- * @param event The event.
274
- * @param selector The CSS selector string to filter the returned elements by.
275
- * @returns An array of elements.
276
- */
277
- export declare function slotChangeGetAssignedElements<T extends Element>(event: Event, selector?: string): T[] | null;
278
- /**
279
- * This helper returns the assigned elements on a `slot` element, filtered by an optional css selector.
280
- *
281
- * @param slot The slot element.
282
- * @param selector CSS selector string to filter the returned elements by.
283
- * @returns An array of elements.
284
- */
285
- export declare function getSlotAssignedElements<T extends Element>(slot: HTMLSlotElement, selector?: string): T[] | null;
286
- /**
287
- * This helper returns true if the pointer event fired from the primary button of the device.
288
- *
289
- * See https://www.w3.org/TR/pointerevents/#the-button-property.
290
- *
291
- * @param event The pointer event.
292
- * @returns The value.
293
- */
294
- export declare function isPrimaryPointerButton(event: PointerEvent): boolean;
295
- /**
296
- * This helper returns true if the mouse event was triggered by a keyboard click.
297
- *
298
- * @param event The mouse event.
299
- * @returns The value.
300
- */
301
- export declare function isKeyboardTriggeredClick(event: MouseEvent): boolean;
302
- export type FocusElementInGroupDestination = "first" | "last" | "next" | "previous";
303
- /**
304
- * This helper sets focus on and returns a destination element from within a group of provided elements.
305
- *
306
- * @param elements An array of elements.
307
- * @param currentElement The current element.
308
- * @param destination The target destination element to focus.
309
- * @param cycle Should navigation cycle through elements or stop at extent - defaults to true.
310
- * @param includeContainer Determines whether the container element should be considered as well - defaults to true.
311
- * @param targetAsContext
312
- * @returns The focused element
313
- */
314
- export declare const focusElementInGroup: <T extends Element = Element>(elements: Element[], currentElement: Element, destination: FocusElementInGroupDestination, cycle?: boolean, includeContainer?: boolean, targetAsContext?: boolean) => T;
315
- /**
316
- * This helper determines if an element is before another element in the DOM.
317
- *
318
- * @param a the reference element to compare
319
- * @param b the element to compare against
320
- * @returns true when a is before b in the DOM
321
- */
322
- export declare function isBefore(a: HTMLElement, b: HTMLElement): boolean;
323
- /**
324
- * This util helps determine when an animation has completed.
325
- *
326
- * @param targetEl The element to watch for the animation to complete.
327
- * @param animationName The name of the animation to watch for completion.
328
- */
329
- export declare function whenAnimationDone(targetEl: HTMLElement, animationName: string): Promise<void>;
330
- /**
331
- * This util helps determine when a transition has completed.
332
- *
333
- * @param targetEl The element to watch for the transition to complete.
334
- * @param transitionProp The name of the transition to watch for completion.
335
- */
336
- export declare function whenTransitionDone(targetEl: HTMLElement, transitionProp: string): Promise<void>;
337
- type TransitionOrAnimation = "transition" | "animation";
338
- /**
339
- * This util helps determine when a transition has completed.
340
- *
341
- * @param targetEl The element to watch for the transition or animation to complete.
342
- * @param transitionPropOrAnimationName The transition or animation property to watch for completion.
343
- * @param type The type of property to watch for completion. Defaults to "transition".
344
- */
345
- export declare function whenTransitionOrAnimationDone(targetEl: HTMLElement, transitionPropOrAnimationName: string, type: TransitionOrAnimation): Promise<void>;
346
- /**
347
- * Helper function to wait for the next animation frame.
348
- */
349
- export declare function nextFrame(): Promise<void>;
350
- /**
351
- * This helper converts a CSS style value (e.g., "px", "vw", "vh") into its pixel equivalent.
352
- *
353
- * - If the value ends with "px", it parses and returns the numeric value.
354
- * - If the value ends with "vw", it calculates the pixel value based on the viewport width.
355
- * - If the value ends with "vh", it calculates the pixel value based on the viewport height.
356
- * - For unsupported units or invalid values, it returns 0.
357
- *
358
- * @param value - The CSS style value to convert (e.g., "10px", "50vw", "30vh").
359
- * @returns The pixel equivalent of the provided value.
360
- */
361
- export declare function getStylePixelValue(value: string): number;
362
- /**
363
- * Exported for testing purposes only.
364
- *
365
- * @private
14
+ * @param element - The html element containing focusable elements.
15
+ * @param includeContainer - When true, the container element will be considered as well.
16
+ * @param options
17
+ * @internal
366
18
  */
367
- export declare function viewportUnitToPixel(value: number, viewportSize: number): number;
368
- export {};
19
+ export function focusFirstFocusable(element: HTMLElement, includeContainer?: boolean, options?: FocusOptions): void;