@proyecto-viviana/solidaria 0.2.8 → 0.4.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 (976) hide show
  1. package/README.md +31 -236
  2. package/dist/_chunk/actiongroup.js +207 -0
  3. package/dist/_chunk/actiongroup.js.map +1 -0
  4. package/dist/_chunk/actiongroup.jsx +207 -0
  5. package/dist/_chunk/actiongroup.jsx.map +1 -0
  6. package/dist/_chunk/ariaHideOutside.js +122 -0
  7. package/dist/_chunk/ariaHideOutside.js.map +1 -0
  8. package/dist/_chunk/ariaHideOutside.jsx +122 -0
  9. package/dist/_chunk/ariaHideOutside.jsx.map +1 -0
  10. package/dist/_chunk/autocomplete.js +196 -0
  11. package/dist/_chunk/autocomplete.js.map +1 -0
  12. package/dist/_chunk/autocomplete.jsx +196 -0
  13. package/dist/_chunk/autocomplete.jsx.map +1 -0
  14. package/dist/_chunk/breadcrumbs.js +119 -0
  15. package/dist/_chunk/breadcrumbs.js.map +1 -0
  16. package/dist/_chunk/breadcrumbs.jsx +119 -0
  17. package/dist/_chunk/breadcrumbs.jsx.map +1 -0
  18. package/dist/_chunk/button.js +276 -0
  19. package/dist/_chunk/button.js.map +1 -0
  20. package/dist/_chunk/button.jsx +276 -0
  21. package/dist/_chunk/button.jsx.map +1 -0
  22. package/dist/_chunk/calendar.js +1036 -0
  23. package/dist/_chunk/calendar.js.map +1 -0
  24. package/dist/_chunk/calendar.jsx +1036 -0
  25. package/dist/_chunk/calendar.jsx.map +1 -0
  26. package/dist/_chunk/checkbox.js +234 -0
  27. package/dist/_chunk/checkbox.js.map +1 -0
  28. package/dist/_chunk/checkbox.jsx +234 -0
  29. package/dist/_chunk/checkbox.jsx.map +1 -0
  30. package/dist/_chunk/color.js +1174 -0
  31. package/dist/_chunk/color.js.map +1 -0
  32. package/dist/_chunk/color.jsx +1174 -0
  33. package/dist/_chunk/color.jsx.map +1 -0
  34. package/dist/_chunk/combobox.js +436 -0
  35. package/dist/_chunk/combobox.js.map +1 -0
  36. package/dist/_chunk/combobox.jsx +436 -0
  37. package/dist/_chunk/combobox.jsx.map +1 -0
  38. package/dist/_chunk/createCollator.js +229 -0
  39. package/dist/_chunk/createCollator.js.map +1 -0
  40. package/dist/_chunk/createCollator.jsx +223 -0
  41. package/dist/_chunk/createCollator.jsx.map +1 -0
  42. package/dist/_chunk/createCollectionRowInteraction.js +133 -0
  43. package/dist/_chunk/createCollectionRowInteraction.js.map +1 -0
  44. package/dist/_chunk/createCollectionRowInteraction.jsx +133 -0
  45. package/dist/_chunk/createCollectionRowInteraction.jsx.map +1 -0
  46. package/dist/_chunk/createField.js +54 -0
  47. package/dist/_chunk/createField.js.map +1 -0
  48. package/dist/_chunk/createField.jsx +54 -0
  49. package/dist/_chunk/createField.jsx.map +1 -0
  50. package/dist/_chunk/createFocus.js +101 -0
  51. package/dist/_chunk/createFocus.js.map +1 -0
  52. package/dist/_chunk/createFocus.jsx +101 -0
  53. package/dist/_chunk/createFocus.jsx.map +1 -0
  54. package/dist/_chunk/createFocusRing.js +54 -0
  55. package/dist/_chunk/createFocusRing.js.map +1 -0
  56. package/dist/_chunk/createFocusRing.jsx +54 -0
  57. package/dist/_chunk/createFocusRing.jsx.map +1 -0
  58. package/dist/_chunk/createFocusWithin.js +121 -0
  59. package/dist/_chunk/createFocusWithin.js.map +1 -0
  60. package/dist/_chunk/createFocusWithin.jsx +121 -0
  61. package/dist/_chunk/createFocusWithin.jsx.map +1 -0
  62. package/dist/_chunk/createFocusable.js +131 -0
  63. package/dist/_chunk/createFocusable.js.map +1 -0
  64. package/dist/_chunk/createFocusable.jsx +131 -0
  65. package/dist/_chunk/createFocusable.jsx.map +1 -0
  66. package/dist/_chunk/createFormValidation.js +135 -0
  67. package/dist/_chunk/createFormValidation.js.map +1 -0
  68. package/dist/_chunk/createFormValidation.jsx +135 -0
  69. package/dist/_chunk/createFormValidation.jsx.map +1 -0
  70. package/dist/_chunk/createHover.js +130 -0
  71. package/dist/_chunk/createHover.js.map +1 -0
  72. package/dist/_chunk/createHover.jsx +130 -0
  73. package/dist/_chunk/createHover.jsx.map +1 -0
  74. package/dist/_chunk/createInteractionModality.js +269 -0
  75. package/dist/_chunk/createInteractionModality.js.map +1 -0
  76. package/dist/_chunk/createInteractionModality.jsx +269 -0
  77. package/dist/_chunk/createInteractionModality.jsx.map +1 -0
  78. package/dist/_chunk/createLabel.js +46 -0
  79. package/dist/_chunk/createLabel.js.map +1 -0
  80. package/dist/_chunk/createLabel.jsx +46 -0
  81. package/dist/_chunk/createLabel.jsx.map +1 -0
  82. package/dist/_chunk/createLabels.js +31 -0
  83. package/dist/_chunk/createLabels.js.map +1 -0
  84. package/dist/_chunk/createLabels.jsx +31 -0
  85. package/dist/_chunk/createLabels.jsx.map +1 -0
  86. package/dist/_chunk/createLandmark.js +198 -0
  87. package/dist/_chunk/createLandmark.js.map +1 -0
  88. package/dist/_chunk/createLandmark.jsx +198 -0
  89. package/dist/_chunk/createLandmark.jsx.map +1 -0
  90. package/dist/_chunk/createLongPress.js +91 -0
  91. package/dist/_chunk/createLongPress.js.map +1 -0
  92. package/dist/_chunk/createLongPress.jsx +91 -0
  93. package/dist/_chunk/createLongPress.jsx.map +1 -0
  94. package/dist/_chunk/createOverlay.js +327 -0
  95. package/dist/_chunk/createOverlay.js.map +1 -0
  96. package/dist/_chunk/createOverlay.jsx +327 -0
  97. package/dist/_chunk/createOverlay.jsx.map +1 -0
  98. package/dist/_chunk/createPress.js +526 -0
  99. package/dist/_chunk/createPress.js.map +1 -0
  100. package/dist/_chunk/createPress.jsx +526 -0
  101. package/dist/_chunk/createPress.jsx.map +1 -0
  102. package/dist/_chunk/createProgressBar.js +81 -0
  103. package/dist/_chunk/createProgressBar.js.map +1 -0
  104. package/dist/_chunk/createProgressBar.jsx +81 -0
  105. package/dist/_chunk/createProgressBar.jsx.map +1 -0
  106. package/dist/_chunk/createSelectableItem.js +298 -0
  107. package/dist/_chunk/createSelectableItem.js.map +1 -0
  108. package/dist/_chunk/createSelectableItem.jsx +298 -0
  109. package/dist/_chunk/createSelectableItem.jsx.map +1 -0
  110. package/dist/_chunk/createToggle.js +158 -0
  111. package/dist/_chunk/createToggle.js.map +1 -0
  112. package/dist/_chunk/createToggle.jsx +158 -0
  113. package/dist/_chunk/createToggle.jsx.map +1 -0
  114. package/dist/_chunk/createTypeSelect.js +125 -0
  115. package/dist/_chunk/createTypeSelect.js.map +1 -0
  116. package/dist/_chunk/createTypeSelect.jsx +125 -0
  117. package/dist/_chunk/createTypeSelect.jsx.map +1 -0
  118. package/dist/_chunk/datepicker.js +1393 -0
  119. package/dist/_chunk/datepicker.js.map +1 -0
  120. package/dist/_chunk/datepicker.jsx +1393 -0
  121. package/dist/_chunk/datepicker.jsx.map +1 -0
  122. package/dist/_chunk/dialog.js +62 -0
  123. package/dist/_chunk/dialog.js.map +1 -0
  124. package/dist/_chunk/dialog.jsx +62 -0
  125. package/dist/_chunk/dialog.jsx.map +1 -0
  126. package/dist/_chunk/disclosure.js +185 -0
  127. package/dist/_chunk/disclosure.js.map +1 -0
  128. package/dist/_chunk/disclosure.jsx +185 -0
  129. package/dist/_chunk/disclosure.jsx.map +1 -0
  130. package/dist/_chunk/dnd.js +1304 -0
  131. package/dist/_chunk/dnd.js.map +1 -0
  132. package/dist/_chunk/dnd.jsx +1304 -0
  133. package/dist/_chunk/dnd.jsx.map +1 -0
  134. package/dist/_chunk/env.js +105 -0
  135. package/dist/_chunk/env.js.map +1 -0
  136. package/dist/_chunk/env.jsx +105 -0
  137. package/dist/_chunk/env.jsx.map +1 -0
  138. package/dist/_chunk/filterDOMProps.js +82 -0
  139. package/dist/_chunk/filterDOMProps.js.map +1 -0
  140. package/dist/_chunk/filterDOMProps.jsx +82 -0
  141. package/dist/_chunk/filterDOMProps.jsx.map +1 -0
  142. package/dist/_chunk/focus.js +399 -0
  143. package/dist/_chunk/focus.js.map +1 -0
  144. package/dist/_chunk/focus.jsx +399 -0
  145. package/dist/_chunk/focus.jsx.map +1 -0
  146. package/dist/_chunk/focus2.js +895 -0
  147. package/dist/_chunk/focus2.js.map +1 -0
  148. package/dist/_chunk/focus2.jsx +870 -0
  149. package/dist/_chunk/focus2.jsx.map +1 -0
  150. package/dist/_chunk/form.js +39 -0
  151. package/dist/_chunk/form.js.map +1 -0
  152. package/dist/_chunk/form.jsx +39 -0
  153. package/dist/_chunk/form.jsx.map +1 -0
  154. package/dist/_chunk/grid.js +623 -0
  155. package/dist/_chunk/grid.js.map +1 -0
  156. package/dist/_chunk/grid.jsx +623 -0
  157. package/dist/_chunk/grid.jsx.map +1 -0
  158. package/dist/_chunk/gridlist.js +364 -0
  159. package/dist/_chunk/gridlist.js.map +1 -0
  160. package/dist/_chunk/gridlist.jsx +364 -0
  161. package/dist/_chunk/gridlist.jsx.map +1 -0
  162. package/dist/_chunk/i18n.js +254 -0
  163. package/dist/_chunk/i18n.js.map +1 -0
  164. package/dist/_chunk/i18n.jsx +254 -0
  165. package/dist/_chunk/i18n.jsx.map +1 -0
  166. package/dist/_chunk/interactions.js +241 -0
  167. package/dist/_chunk/interactions.js.map +1 -0
  168. package/dist/_chunk/interactions.jsx +237 -0
  169. package/dist/_chunk/interactions.jsx.map +1 -0
  170. package/dist/_chunk/link.js +96 -0
  171. package/dist/_chunk/link.js.map +1 -0
  172. package/dist/_chunk/link.jsx +96 -0
  173. package/dist/_chunk/link.jsx.map +1 -0
  174. package/dist/_chunk/listbox.js +324 -0
  175. package/dist/_chunk/listbox.js.map +1 -0
  176. package/dist/_chunk/listbox.jsx +324 -0
  177. package/dist/_chunk/listbox.jsx.map +1 -0
  178. package/dist/_chunk/live-announcer.js +207 -0
  179. package/dist/_chunk/live-announcer.js.map +1 -0
  180. package/dist/_chunk/live-announcer.jsx +207 -0
  181. package/dist/_chunk/live-announcer.jsx.map +1 -0
  182. package/dist/_chunk/menu.js +518 -0
  183. package/dist/_chunk/menu.js.map +1 -0
  184. package/dist/_chunk/menu.jsx +518 -0
  185. package/dist/_chunk/menu.jsx.map +1 -0
  186. package/dist/_chunk/meter.js +33 -0
  187. package/dist/_chunk/meter.js.map +1 -0
  188. package/dist/_chunk/meter.jsx +33 -0
  189. package/dist/_chunk/meter.jsx.map +1 -0
  190. package/dist/_chunk/numberfield.js +258 -0
  191. package/dist/_chunk/numberfield.js.map +1 -0
  192. package/dist/_chunk/numberfield.jsx +258 -0
  193. package/dist/_chunk/numberfield.jsx.map +1 -0
  194. package/dist/_chunk/overlays.js +186 -0
  195. package/dist/_chunk/overlays.js.map +1 -0
  196. package/dist/_chunk/overlays.jsx +162 -0
  197. package/dist/_chunk/overlays.jsx.map +1 -0
  198. package/dist/_chunk/popover.js +574 -0
  199. package/dist/_chunk/popover.js.map +1 -0
  200. package/dist/_chunk/popover.jsx +574 -0
  201. package/dist/_chunk/popover.jsx.map +1 -0
  202. package/dist/_chunk/radio.js +319 -0
  203. package/dist/_chunk/radio.js.map +1 -0
  204. package/dist/_chunk/radio.jsx +319 -0
  205. package/dist/_chunk/radio.jsx.map +1 -0
  206. package/dist/_chunk/searchfield.js +209 -0
  207. package/dist/_chunk/searchfield.js.map +1 -0
  208. package/dist/_chunk/searchfield.jsx +209 -0
  209. package/dist/_chunk/searchfield.jsx.map +1 -0
  210. package/dist/_chunk/select.js +403 -0
  211. package/dist/_chunk/select.js.map +1 -0
  212. package/dist/_chunk/select.jsx +394 -0
  213. package/dist/_chunk/select.jsx.map +1 -0
  214. package/dist/_chunk/selection.js +679 -0
  215. package/dist/_chunk/selection.js.map +1 -0
  216. package/dist/_chunk/selection.jsx +679 -0
  217. package/dist/_chunk/selection.jsx.map +1 -0
  218. package/dist/_chunk/separator.js +29 -0
  219. package/dist/_chunk/separator.js.map +1 -0
  220. package/dist/_chunk/separator.jsx +29 -0
  221. package/dist/_chunk/separator.jsx.map +1 -0
  222. package/dist/_chunk/slider.js +255 -0
  223. package/dist/_chunk/slider.js.map +1 -0
  224. package/dist/_chunk/slider.jsx +255 -0
  225. package/dist/_chunk/slider.jsx.map +1 -0
  226. package/dist/_chunk/steplist.js +66 -0
  227. package/dist/_chunk/steplist.js.map +1 -0
  228. package/dist/_chunk/steplist.jsx +66 -0
  229. package/dist/_chunk/steplist.jsx.map +1 -0
  230. package/dist/_chunk/switch.js +34 -0
  231. package/dist/_chunk/switch.js.map +1 -0
  232. package/dist/_chunk/switch.jsx +34 -0
  233. package/dist/_chunk/switch.jsx.map +1 -0
  234. package/dist/_chunk/table.js +1051 -0
  235. package/dist/_chunk/table.js.map +1 -0
  236. package/dist/_chunk/table.jsx +1051 -0
  237. package/dist/_chunk/table.jsx.map +1 -0
  238. package/dist/_chunk/tabs.js +260 -0
  239. package/dist/_chunk/tabs.js.map +1 -0
  240. package/dist/_chunk/tabs.jsx +260 -0
  241. package/dist/_chunk/tabs.jsx.map +1 -0
  242. package/dist/_chunk/tag.js +286 -0
  243. package/dist/_chunk/tag.js.map +1 -0
  244. package/dist/_chunk/tag.jsx +286 -0
  245. package/dist/_chunk/tag.jsx.map +1 -0
  246. package/dist/_chunk/textfield.js +109 -0
  247. package/dist/_chunk/textfield.js.map +1 -0
  248. package/dist/_chunk/textfield.jsx +109 -0
  249. package/dist/_chunk/textfield.jsx.map +1 -0
  250. package/dist/_chunk/toast.js +250 -0
  251. package/dist/_chunk/toast.js.map +1 -0
  252. package/dist/_chunk/toast.jsx +250 -0
  253. package/dist/_chunk/toast.jsx.map +1 -0
  254. package/dist/_chunk/toolbar.js +258 -0
  255. package/dist/_chunk/toolbar.js.map +1 -0
  256. package/dist/_chunk/toolbar.jsx +258 -0
  257. package/dist/_chunk/toolbar.jsx.map +1 -0
  258. package/dist/_chunk/tooltip.js +185 -0
  259. package/dist/_chunk/tooltip.js.map +1 -0
  260. package/dist/_chunk/tooltip.jsx +185 -0
  261. package/dist/_chunk/tooltip.jsx.map +1 -0
  262. package/dist/_chunk/tree.js +424 -0
  263. package/dist/_chunk/tree.js.map +1 -0
  264. package/dist/_chunk/tree.jsx +424 -0
  265. package/dist/_chunk/tree.jsx.map +1 -0
  266. package/dist/_chunk/utils.js +665 -0
  267. package/dist/_chunk/utils.js.map +1 -0
  268. package/dist/_chunk/utils.jsx +665 -0
  269. package/dist/_chunk/utils.jsx.map +1 -0
  270. package/dist/_chunk/visually-hidden.js +92 -0
  271. package/dist/_chunk/visually-hidden.js.map +1 -0
  272. package/dist/_chunk/visually-hidden.jsx +92 -0
  273. package/dist/_chunk/visually-hidden.jsx.map +1 -0
  274. package/dist/actiongroup/createActionGroup.d.ts +5 -5
  275. package/dist/actiongroup/createActionGroup.d.ts.map +1 -1
  276. package/dist/actiongroup/index.d.ts +1 -1
  277. package/dist/actiongroup/index.js +2 -0
  278. package/dist/actiongroup/index.jsx +2 -0
  279. package/dist/autocomplete/createAutocomplete.d.ts +12 -10
  280. package/dist/autocomplete/createAutocomplete.d.ts.map +1 -1
  281. package/dist/autocomplete/index.d.ts +1 -1
  282. package/dist/autocomplete/index.d.ts.map +1 -1
  283. package/dist/autocomplete/index.js +2 -0
  284. package/dist/autocomplete/index.jsx +2 -0
  285. package/dist/breadcrumbs/createBreadcrumbs.d.ts +9 -7
  286. package/dist/breadcrumbs/createBreadcrumbs.d.ts.map +1 -1
  287. package/dist/breadcrumbs/index.d.ts +1 -1
  288. package/dist/breadcrumbs/index.js +2 -0
  289. package/dist/breadcrumbs/index.jsx +2 -0
  290. package/dist/button/createButton.d.ts +1 -1
  291. package/dist/button/createButton.d.ts.map +1 -1
  292. package/dist/button/createToggleButton.d.ts +3 -3
  293. package/dist/button/createToggleButtonGroup.d.ts +7 -7
  294. package/dist/button/createToggleButtonGroup.d.ts.map +1 -1
  295. package/dist/button/index.d.ts +6 -6
  296. package/dist/button/index.d.ts.map +1 -1
  297. package/dist/button/index.js +2 -0
  298. package/dist/button/index.jsx +2 -0
  299. package/dist/button/types.d.ts +18 -12
  300. package/dist/button/types.d.ts.map +1 -1
  301. package/dist/calendar/createCalendar.d.ts +15 -5
  302. package/dist/calendar/createCalendar.d.ts.map +1 -1
  303. package/dist/calendar/createCalendarCell.d.ts +6 -2
  304. package/dist/calendar/createCalendarCell.d.ts.map +1 -1
  305. package/dist/calendar/createCalendarGrid.d.ts +4 -4
  306. package/dist/calendar/createCalendarGrid.d.ts.map +1 -1
  307. package/dist/calendar/createCalendarMonthPicker.d.ts +41 -0
  308. package/dist/calendar/createCalendarMonthPicker.d.ts.map +1 -0
  309. package/dist/calendar/createCalendarYearPicker.d.ts +49 -0
  310. package/dist/calendar/createCalendarYearPicker.d.ts.map +1 -0
  311. package/dist/calendar/createRangeCalendar.d.ts +15 -5
  312. package/dist/calendar/createRangeCalendar.d.ts.map +1 -1
  313. package/dist/calendar/createRangeCalendarCell.d.ts +4 -2
  314. package/dist/calendar/createRangeCalendarCell.d.ts.map +1 -1
  315. package/dist/calendar/index.d.ts +7 -5
  316. package/dist/calendar/index.d.ts.map +1 -1
  317. package/dist/calendar/index.js +2 -0
  318. package/dist/calendar/index.jsx +2 -0
  319. package/dist/calendar/intl/index.d.ts +12 -0
  320. package/dist/calendar/intl/index.d.ts.map +1 -0
  321. package/dist/calendar/utils.d.ts +16 -0
  322. package/dist/calendar/utils.d.ts.map +1 -0
  323. package/dist/checkbox/createCheckbox.d.ts +10 -6
  324. package/dist/checkbox/createCheckbox.d.ts.map +1 -1
  325. package/dist/checkbox/createCheckboxGroup.d.ts +7 -7
  326. package/dist/checkbox/createCheckboxGroup.d.ts.map +1 -1
  327. package/dist/checkbox/createCheckboxGroupItem.d.ts +4 -4
  328. package/dist/checkbox/createCheckboxGroupItem.d.ts.map +1 -1
  329. package/dist/checkbox/createCheckboxGroupState.d.ts +2 -2
  330. package/dist/checkbox/createCheckboxGroupState.d.ts.map +1 -1
  331. package/dist/checkbox/index.d.ts +8 -8
  332. package/dist/checkbox/index.d.ts.map +1 -1
  333. package/dist/checkbox/index.js +2 -0
  334. package/dist/checkbox/index.jsx +2 -0
  335. package/dist/collections/index.d.ts +3 -3
  336. package/dist/collections/index.d.ts.map +1 -1
  337. package/dist/collections/index.js +160 -0
  338. package/dist/collections/index.js.map +1 -0
  339. package/dist/collections/index.jsx +160 -0
  340. package/dist/collections/index.jsx.map +1 -0
  341. package/dist/color/createColorArea.d.ts +3 -3
  342. package/dist/color/createColorArea.d.ts.map +1 -1
  343. package/dist/color/createColorField.d.ts +4 -4
  344. package/dist/color/createColorField.d.ts.map +1 -1
  345. package/dist/color/createColorSlider.d.ts +4 -4
  346. package/dist/color/createColorSlider.d.ts.map +1 -1
  347. package/dist/color/createColorSwatch.d.ts +2 -2
  348. package/dist/color/createColorSwatch.d.ts.map +1 -1
  349. package/dist/color/createColorWheel.d.ts +3 -3
  350. package/dist/color/createColorWheel.d.ts.map +1 -1
  351. package/dist/color/index.d.ts +6 -6
  352. package/dist/color/index.js +2 -0
  353. package/dist/color/index.jsx +2 -0
  354. package/dist/color/types.d.ts +98 -16
  355. package/dist/color/types.d.ts.map +1 -1
  356. package/dist/combobox/createComboBox.d.ts +10 -7
  357. package/dist/combobox/createComboBox.d.ts.map +1 -1
  358. package/dist/combobox/index.d.ts +1 -1
  359. package/dist/combobox/index.js +2 -0
  360. package/dist/combobox/index.jsx +2 -0
  361. package/dist/combobox/intl/index.d.ts +1 -1
  362. package/dist/datepicker/createDateField.d.ts +18 -6
  363. package/dist/datepicker/createDateField.d.ts.map +1 -1
  364. package/dist/datepicker/createDatePicker.d.ts +51 -5
  365. package/dist/datepicker/createDatePicker.d.ts.map +1 -1
  366. package/dist/datepicker/createDatePickerGroup.d.ts +19 -0
  367. package/dist/datepicker/createDatePickerGroup.d.ts.map +1 -0
  368. package/dist/datepicker/createDateRangePicker.d.ts +8 -6
  369. package/dist/datepicker/createDateRangePicker.d.ts.map +1 -1
  370. package/dist/datepicker/createDateSegment.d.ts +10 -2
  371. package/dist/datepicker/createDateSegment.d.ts.map +1 -1
  372. package/dist/datepicker/createTimeField.d.ts +11 -5
  373. package/dist/datepicker/createTimeField.d.ts.map +1 -1
  374. package/dist/datepicker/createTimeSegment.d.ts +2 -2
  375. package/dist/datepicker/createTimeSegment.d.ts.map +1 -1
  376. package/dist/datepicker/index.d.ts +7 -6
  377. package/dist/datepicker/index.d.ts.map +1 -1
  378. package/dist/datepicker/index.js +2 -0
  379. package/dist/datepicker/index.jsx +2 -0
  380. package/dist/dialog/createDialog.d.ts +5 -5
  381. package/dist/dialog/createDialog.d.ts.map +1 -1
  382. package/dist/dialog/index.d.ts +2 -2
  383. package/dist/dialog/index.d.ts.map +1 -1
  384. package/dist/dialog/index.js +2 -0
  385. package/dist/dialog/index.jsx +2 -0
  386. package/dist/dialog/types.d.ts +4 -4
  387. package/dist/disclosure/createDisclosure.d.ts +5 -2
  388. package/dist/disclosure/createDisclosure.d.ts.map +1 -1
  389. package/dist/disclosure/createDisclosureGroup.d.ts +4 -4
  390. package/dist/disclosure/createDisclosureGroup.d.ts.map +1 -1
  391. package/dist/disclosure/index.d.ts +2 -2
  392. package/dist/disclosure/index.js +2 -0
  393. package/dist/disclosure/index.jsx +2 -0
  394. package/dist/dnd/createDrag.d.ts +2 -2
  395. package/dist/dnd/createDrag.d.ts.map +1 -1
  396. package/dist/dnd/createDraggableCollection.d.ts +2 -2
  397. package/dist/dnd/createDraggableItem.d.ts +3 -3
  398. package/dist/dnd/createDraggableItem.d.ts.map +1 -1
  399. package/dist/dnd/createDrop.d.ts +2 -2
  400. package/dist/dnd/createDrop.d.ts.map +1 -1
  401. package/dist/dnd/createDroppableCollection.d.ts +26 -6
  402. package/dist/dnd/createDroppableCollection.d.ts.map +1 -1
  403. package/dist/dnd/createDroppableItem.d.ts +3 -3
  404. package/dist/dnd/index.d.ts +12 -12
  405. package/dist/dnd/index.d.ts.map +1 -1
  406. package/dist/dnd/index.js +2 -0
  407. package/dist/dnd/index.jsx +2 -0
  408. package/dist/dnd/types.d.ts +2 -2
  409. package/dist/dnd/types.d.ts.map +1 -1
  410. package/dist/dnd/utils.d.ts +2 -2
  411. package/dist/dnd/utils.d.ts.map +1 -1
  412. package/dist/focus/FocusScope.d.ts +1 -1
  413. package/dist/focus/FocusScope.d.ts.map +1 -1
  414. package/dist/focus/createAutoFocus.d.ts.map +1 -1
  415. package/dist/focus/createFocusRestore.d.ts.map +1 -1
  416. package/dist/focus/createVirtualFocus.d.ts +4 -4
  417. package/dist/focus/createVirtualFocus.d.ts.map +1 -1
  418. package/dist/focus/index.d.ts +4 -4
  419. package/dist/focus/index.d.ts.map +1 -1
  420. package/dist/focus/index.js +2 -0
  421. package/dist/focus/index.jsx +2 -0
  422. package/dist/form/createFormReset.d.ts +1 -1
  423. package/dist/form/createFormValidation.d.ts +3 -3
  424. package/dist/form/createFormValidation.d.ts.map +1 -1
  425. package/dist/form/index.d.ts +2 -2
  426. package/dist/form/index.d.ts.map +1 -1
  427. package/dist/form/index.js +3 -0
  428. package/dist/form/index.jsx +3 -0
  429. package/dist/grid/GridKeyboardDelegate.d.ts +5 -5
  430. package/dist/grid/createGrid.d.ts +3 -3
  431. package/dist/grid/createGridCell.d.ts +3 -3
  432. package/dist/grid/createGridRow.d.ts +3 -3
  433. package/dist/grid/index.d.ts +5 -5
  434. package/dist/grid/index.js +2 -0
  435. package/dist/grid/index.jsx +2 -0
  436. package/dist/grid/types.d.ts +8 -8
  437. package/dist/gridlist/createGridList.d.ts +12 -4
  438. package/dist/gridlist/createGridList.d.ts.map +1 -1
  439. package/dist/gridlist/createGridListItem.d.ts +4 -4
  440. package/dist/gridlist/createGridListItem.d.ts.map +1 -1
  441. package/dist/gridlist/createGridListSection.d.ts +15 -0
  442. package/dist/gridlist/createGridListSection.d.ts.map +1 -0
  443. package/dist/gridlist/createGridListSelectionCheckbox.d.ts +3 -3
  444. package/dist/gridlist/createGridListSelectionCheckbox.d.ts.map +1 -1
  445. package/dist/gridlist/index.d.ts +5 -4
  446. package/dist/gridlist/index.d.ts.map +1 -1
  447. package/dist/gridlist/index.js +2 -0
  448. package/dist/gridlist/index.jsx +2 -0
  449. package/dist/gridlist/types.d.ts +61 -7
  450. package/dist/gridlist/types.d.ts.map +1 -1
  451. package/dist/i18n/createCollator.d.ts.map +1 -1
  452. package/dist/i18n/createDateFormatter.d.ts.map +1 -1
  453. package/dist/i18n/createFilter.d.ts.map +1 -1
  454. package/dist/i18n/createNumberFormatter.d.ts +1 -1
  455. package/dist/i18n/createNumberFormatter.d.ts.map +1 -1
  456. package/dist/i18n/createStringFormatter.d.ts +2 -2
  457. package/dist/i18n/createStringFormatter.d.ts.map +1 -1
  458. package/dist/i18n/index.d.ts +8 -8
  459. package/dist/i18n/index.d.ts.map +1 -1
  460. package/dist/i18n/index.js +3 -0
  461. package/dist/i18n/index.jsx +3 -0
  462. package/dist/i18n/locale.d.ts +2 -2
  463. package/dist/i18n/locale.d.ts.map +1 -1
  464. package/dist/i18n/utils.d.ts.map +1 -1
  465. package/dist/index.d.ts +56 -51
  466. package/dist/index.d.ts.map +1 -1
  467. package/dist/index.js +71 -17119
  468. package/dist/index.jsx +71 -0
  469. package/dist/interactions/FocusableProvider.d.ts +2 -2
  470. package/dist/interactions/FocusableProvider.d.ts.map +1 -1
  471. package/dist/interactions/PressEvent.d.ts +13 -2
  472. package/dist/interactions/PressEvent.d.ts.map +1 -1
  473. package/dist/interactions/createFocus.d.ts +1 -1
  474. package/dist/interactions/createFocus.d.ts.map +1 -1
  475. package/dist/interactions/createFocusRing.d.ts +1 -1
  476. package/dist/interactions/createFocusRing.d.ts.map +1 -1
  477. package/dist/interactions/createFocusWithin.d.ts +1 -1
  478. package/dist/interactions/createFocusWithin.d.ts.map +1 -1
  479. package/dist/interactions/createFocusable.d.ts +3 -3
  480. package/dist/interactions/createFocusable.d.ts.map +1 -1
  481. package/dist/interactions/createHover.d.ts +5 -5
  482. package/dist/interactions/createHover.d.ts.map +1 -1
  483. package/dist/interactions/createInteractionModality.d.ts +3 -4
  484. package/dist/interactions/createInteractionModality.d.ts.map +1 -1
  485. package/dist/interactions/createKeyboard.d.ts +1 -1
  486. package/dist/interactions/createKeyboard.d.ts.map +1 -1
  487. package/dist/interactions/createLongPress.d.ts +5 -5
  488. package/dist/interactions/createMove.d.ts +5 -5
  489. package/dist/interactions/createMove.d.ts.map +1 -1
  490. package/dist/interactions/createPress.d.ts +4 -4
  491. package/dist/interactions/createPress.d.ts.map +1 -1
  492. package/dist/interactions/index.d.ts +12 -12
  493. package/dist/interactions/index.d.ts.map +1 -1
  494. package/dist/interactions/index.js +10 -0
  495. package/dist/interactions/index.jsx +10 -0
  496. package/dist/label/createField.d.ts +4 -4
  497. package/dist/label/createField.d.ts.map +1 -1
  498. package/dist/label/createLabel.d.ts +7 -7
  499. package/dist/label/createLabel.d.ts.map +1 -1
  500. package/dist/label/createLabels.d.ts +1 -1
  501. package/dist/label/createLabels.d.ts.map +1 -1
  502. package/dist/label/index.d.ts +5 -5
  503. package/dist/label/index.js +4 -0
  504. package/dist/label/index.jsx +4 -0
  505. package/dist/landmark/createLandmark.d.ts +5 -5
  506. package/dist/landmark/createLandmark.d.ts.map +1 -1
  507. package/dist/landmark/index.d.ts +1 -1
  508. package/dist/landmark/index.js +2 -0
  509. package/dist/landmark/index.jsx +2 -0
  510. package/dist/link/createLink.d.ts +14 -8
  511. package/dist/link/createLink.d.ts.map +1 -1
  512. package/dist/link/index.d.ts +1 -1
  513. package/dist/link/index.js +2 -0
  514. package/dist/link/index.jsx +2 -0
  515. package/dist/listbox/createListBox.d.ts +48 -6
  516. package/dist/listbox/createListBox.d.ts.map +1 -1
  517. package/dist/listbox/createOption.d.ts +27 -4
  518. package/dist/listbox/createOption.d.ts.map +1 -1
  519. package/dist/listbox/index.d.ts +2 -2
  520. package/dist/listbox/index.d.ts.map +1 -1
  521. package/dist/listbox/index.js +2 -0
  522. package/dist/listbox/index.jsx +2 -0
  523. package/dist/live-announcer/announce.d.ts +2 -2
  524. package/dist/live-announcer/announce.d.ts.map +1 -1
  525. package/dist/live-announcer/index.d.ts +1 -1
  526. package/dist/live-announcer/index.js +2 -0
  527. package/dist/live-announcer/index.jsx +2 -0
  528. package/dist/menu/createMenu.d.ts +14 -11
  529. package/dist/menu/createMenu.d.ts.map +1 -1
  530. package/dist/menu/createMenuItem.d.ts +25 -5
  531. package/dist/menu/createMenuItem.d.ts.map +1 -1
  532. package/dist/menu/createMenuTrigger.d.ts +4 -4
  533. package/dist/menu/index.d.ts +3 -3
  534. package/dist/menu/index.d.ts.map +1 -1
  535. package/dist/menu/index.js +2 -0
  536. package/dist/menu/index.jsx +2 -0
  537. package/dist/meter/createMeter.d.ts +6 -6
  538. package/dist/meter/createMeter.d.ts.map +1 -1
  539. package/dist/meter/index.d.ts +1 -1
  540. package/dist/meter/index.js +2 -0
  541. package/dist/meter/index.jsx +2 -0
  542. package/dist/numberfield/createNumberField.d.ts +9 -8
  543. package/dist/numberfield/createNumberField.d.ts.map +1 -1
  544. package/dist/numberfield/index.d.ts +1 -1
  545. package/dist/numberfield/index.js +2 -0
  546. package/dist/numberfield/index.jsx +2 -0
  547. package/dist/overlays/ariaHideOutside.d.ts.map +1 -1
  548. package/dist/overlays/createModal.d.ts +3 -3
  549. package/dist/overlays/createModal.d.ts.map +1 -1
  550. package/dist/overlays/createOverlay.d.ts +1 -1
  551. package/dist/overlays/createOverlay.d.ts.map +1 -1
  552. package/dist/overlays/createOverlayTrigger.d.ts +6 -6
  553. package/dist/overlays/index.d.ts +6 -6
  554. package/dist/overlays/index.d.ts.map +1 -1
  555. package/dist/overlays/index.js +4 -0
  556. package/dist/overlays/index.jsx +4 -0
  557. package/dist/popover/calculatePosition.d.ts +6 -4
  558. package/dist/popover/calculatePosition.d.ts.map +1 -1
  559. package/dist/popover/createOverlayPosition.d.ts +11 -3
  560. package/dist/popover/createOverlayPosition.d.ts.map +1 -1
  561. package/dist/popover/createPopover.d.ts +4 -4
  562. package/dist/popover/createPopover.d.ts.map +1 -1
  563. package/dist/popover/index.d.ts +3 -3
  564. package/dist/popover/index.js +2 -0
  565. package/dist/popover/index.jsx +2 -0
  566. package/dist/progress/createProgressBar.d.ts +7 -5
  567. package/dist/progress/createProgressBar.d.ts.map +1 -1
  568. package/dist/progress/index.d.ts +1 -1
  569. package/dist/progress/index.js +2 -0
  570. package/dist/progress/index.jsx +2 -0
  571. package/dist/radio/createRadio.d.ts +9 -7
  572. package/dist/radio/createRadio.d.ts.map +1 -1
  573. package/dist/radio/createRadioGroup.d.ts +10 -10
  574. package/dist/radio/createRadioGroup.d.ts.map +1 -1
  575. package/dist/radio/createRadioGroupState.d.ts +3 -3
  576. package/dist/radio/createRadioGroupState.d.ts.map +1 -1
  577. package/dist/radio/index.d.ts +3 -3
  578. package/dist/radio/index.d.ts.map +1 -1
  579. package/dist/radio/index.js +2 -0
  580. package/dist/radio/index.jsx +2 -0
  581. package/dist/searchfield/createSearchField.d.ts +7 -7
  582. package/dist/searchfield/createSearchField.d.ts.map +1 -1
  583. package/dist/searchfield/index.d.ts +2 -2
  584. package/dist/searchfield/index.js +2 -0
  585. package/dist/searchfield/index.jsx +2 -0
  586. package/dist/select/createHiddenSelect.d.ts +4 -4
  587. package/dist/select/createHiddenSelect.d.ts.map +1 -1
  588. package/dist/select/createSelect.d.ts +14 -6
  589. package/dist/select/createSelect.d.ts.map +1 -1
  590. package/dist/select/index.d.ts +2 -2
  591. package/dist/select/index.d.ts.map +1 -1
  592. package/dist/select/index.js +2 -0
  593. package/dist/select/index.jsx +2 -0
  594. package/dist/selection/DOMLayoutDelegate.d.ts +58 -0
  595. package/dist/selection/DOMLayoutDelegate.d.ts.map +1 -0
  596. package/dist/selection/ListKeyboardDelegate.d.ts +95 -0
  597. package/dist/selection/ListKeyboardDelegate.d.ts.map +1 -0
  598. package/dist/selection/constants.d.ts +15 -0
  599. package/dist/selection/constants.d.ts.map +1 -0
  600. package/dist/selection/createCollectionRowInteraction.d.ts +13 -0
  601. package/dist/selection/createCollectionRowInteraction.d.ts.map +1 -0
  602. package/dist/selection/createScrollIntoViewOnFocus.d.ts +31 -0
  603. package/dist/selection/createScrollIntoViewOnFocus.d.ts.map +1 -0
  604. package/dist/selection/createSelectableCollection.d.ts +69 -0
  605. package/dist/selection/createSelectableCollection.d.ts.map +1 -0
  606. package/dist/selection/createSelectableItem.d.ts +154 -0
  607. package/dist/selection/createSelectableItem.d.ts.map +1 -0
  608. package/dist/selection/createSelectableList.d.ts +43 -0
  609. package/dist/selection/createSelectableList.d.ts.map +1 -0
  610. package/dist/selection/createTypeSelect.d.ts +2 -2
  611. package/dist/selection/createTypeSelect.d.ts.map +1 -1
  612. package/dist/selection/index.d.ts +10 -1
  613. package/dist/selection/index.d.ts.map +1 -1
  614. package/dist/selection/index.js +4 -0
  615. package/dist/selection/index.jsx +4 -0
  616. package/dist/selection/selectItem.d.ts +29 -0
  617. package/dist/selection/selectItem.d.ts.map +1 -0
  618. package/dist/selection/utils.d.ts +40 -0
  619. package/dist/selection/utils.d.ts.map +1 -0
  620. package/dist/separator/createSeparator.d.ts +9 -5
  621. package/dist/separator/createSeparator.d.ts.map +1 -1
  622. package/dist/separator/index.d.ts +1 -1
  623. package/dist/separator/index.js +2 -0
  624. package/dist/separator/index.jsx +2 -0
  625. package/dist/slider/createSlider.d.ts +11 -7
  626. package/dist/slider/createSlider.d.ts.map +1 -1
  627. package/dist/slider/index.d.ts +2 -2
  628. package/dist/slider/index.js +2 -0
  629. package/dist/slider/index.jsx +2 -0
  630. package/dist/ssr/index.d.ts +18 -1
  631. package/dist/ssr/index.d.ts.map +1 -1
  632. package/dist/ssr/index.js +299 -0
  633. package/dist/ssr/index.js.map +1 -0
  634. package/dist/ssr/index.jsx +292 -0
  635. package/dist/ssr/index.jsx.map +1 -0
  636. package/dist/steplist/createStepList.d.ts +36 -0
  637. package/dist/steplist/createStepList.d.ts.map +1 -0
  638. package/dist/steplist/index.d.ts +2 -0
  639. package/dist/steplist/index.d.ts.map +1 -0
  640. package/dist/steplist/index.js +2 -0
  641. package/dist/steplist/index.jsx +2 -0
  642. package/dist/switch/createSwitch.d.ts +10 -4
  643. package/dist/switch/createSwitch.d.ts.map +1 -1
  644. package/dist/switch/index.d.ts +1 -1
  645. package/dist/switch/index.js +2 -0
  646. package/dist/switch/index.jsx +2 -0
  647. package/dist/table/createTable.d.ts +3 -3
  648. package/dist/table/createTable.d.ts.map +1 -1
  649. package/dist/table/createTableCell.d.ts +3 -3
  650. package/dist/table/createTableCell.d.ts.map +1 -1
  651. package/dist/table/createTableColumnHeader.d.ts +3 -3
  652. package/dist/table/createTableColumnHeader.d.ts.map +1 -1
  653. package/dist/table/createTableColumnResize.d.ts +41 -0
  654. package/dist/table/createTableColumnResize.d.ts.map +1 -0
  655. package/dist/table/createTableHeaderRow.d.ts +3 -3
  656. package/dist/table/createTableRow.d.ts +4 -4
  657. package/dist/table/createTableRow.d.ts.map +1 -1
  658. package/dist/table/createTableRowGroup.d.ts +2 -2
  659. package/dist/table/createTableRowGroup.d.ts.map +1 -1
  660. package/dist/table/createTableSelectAllCheckbox.d.ts +3 -3
  661. package/dist/table/createTableSelectionCheckbox.d.ts +3 -3
  662. package/dist/table/index.d.ts +11 -9
  663. package/dist/table/index.d.ts.map +1 -1
  664. package/dist/table/index.js +2 -0
  665. package/dist/table/index.jsx +2 -0
  666. package/dist/table/types.d.ts +41 -7
  667. package/dist/table/types.d.ts.map +1 -1
  668. package/dist/tabs/createTabs.d.ts +32 -28
  669. package/dist/tabs/createTabs.d.ts.map +1 -1
  670. package/dist/tabs/index.d.ts +1 -1
  671. package/dist/tabs/index.js +2 -0
  672. package/dist/tabs/index.jsx +2 -0
  673. package/dist/tag/createTag.d.ts +4 -2
  674. package/dist/tag/createTag.d.ts.map +1 -1
  675. package/dist/tag/createTagGroup.d.ts +5 -5
  676. package/dist/tag/createTagGroup.d.ts.map +1 -1
  677. package/dist/tag/index.d.ts +2 -2
  678. package/dist/tag/index.d.ts.map +1 -1
  679. package/dist/tag/index.js +2 -0
  680. package/dist/tag/index.jsx +2 -0
  681. package/dist/textfield/createTextField.d.ts +17 -11
  682. package/dist/textfield/createTextField.d.ts.map +1 -1
  683. package/dist/textfield/index.d.ts +1 -1
  684. package/dist/textfield/index.d.ts.map +1 -1
  685. package/dist/textfield/index.js +2 -0
  686. package/dist/textfield/index.jsx +2 -0
  687. package/dist/toast/createToast.d.ts +2 -2
  688. package/dist/toast/createToast.d.ts.map +1 -1
  689. package/dist/toast/createToastRegion.d.ts +5 -3
  690. package/dist/toast/createToastRegion.d.ts.map +1 -1
  691. package/dist/toast/index.d.ts +2 -2
  692. package/dist/toast/index.d.ts.map +1 -1
  693. package/dist/toast/index.js +2 -0
  694. package/dist/toast/index.jsx +2 -0
  695. package/dist/toggle/createToggle.d.ts +13 -9
  696. package/dist/toggle/createToggle.d.ts.map +1 -1
  697. package/dist/toggle/createToggleState.d.ts +2 -2
  698. package/dist/toggle/createToggleState.d.ts.map +1 -1
  699. package/dist/toggle/index.d.ts +4 -4
  700. package/dist/toggle/index.d.ts.map +1 -1
  701. package/dist/toggle/index.js +3 -0
  702. package/dist/toggle/index.jsx +3 -0
  703. package/dist/toolbar/createToolbar.d.ts +9 -9
  704. package/dist/toolbar/createToolbar.d.ts.map +1 -1
  705. package/dist/toolbar/index.d.ts +1 -1
  706. package/dist/toolbar/index.d.ts.map +1 -1
  707. package/dist/toolbar/index.js +2 -0
  708. package/dist/toolbar/index.jsx +2 -0
  709. package/dist/tooltip/createTooltip.d.ts +5 -5
  710. package/dist/tooltip/createTooltip.d.ts.map +1 -1
  711. package/dist/tooltip/createTooltipTrigger.d.ts +10 -5
  712. package/dist/tooltip/createTooltipTrigger.d.ts.map +1 -1
  713. package/dist/tooltip/index.d.ts +2 -2
  714. package/dist/tooltip/index.js +2 -0
  715. package/dist/tooltip/index.jsx +2 -0
  716. package/dist/tree/createTree.d.ts +8 -4
  717. package/dist/tree/createTree.d.ts.map +1 -1
  718. package/dist/tree/createTreeItem.d.ts +4 -4
  719. package/dist/tree/createTreeItem.d.ts.map +1 -1
  720. package/dist/tree/createTreeSelectionCheckbox.d.ts +3 -3
  721. package/dist/tree/createTreeSelectionCheckbox.d.ts.map +1 -1
  722. package/dist/tree/index.d.ts +4 -4
  723. package/dist/tree/index.js +2 -0
  724. package/dist/tree/index.jsx +2 -0
  725. package/dist/tree/types.d.ts +20 -6
  726. package/dist/tree/types.d.ts.map +1 -1
  727. package/dist/utils/animation.d.ts +60 -0
  728. package/dist/utils/animation.d.ts.map +1 -0
  729. package/dist/utils/createDescription.d.ts +2 -2
  730. package/dist/utils/createDescription.d.ts.map +1 -1
  731. package/dist/utils/dom.d.ts +48 -2
  732. package/dist/utils/dom.d.ts.map +1 -1
  733. package/dist/utils/env.d.ts.map +1 -1
  734. package/dist/utils/focus.d.ts +1 -1
  735. package/dist/utils/focus.d.ts.map +1 -1
  736. package/dist/utils/geometry.d.ts.map +1 -1
  737. package/dist/utils/index.d.ts +15 -12
  738. package/dist/utils/index.d.ts.map +1 -1
  739. package/dist/utils/index.js +5 -0
  740. package/dist/utils/index.jsx +5 -0
  741. package/dist/utils/keyboard.d.ts +17 -0
  742. package/dist/utils/keyboard.d.ts.map +1 -0
  743. package/dist/utils/mergeProps.d.ts.map +1 -1
  744. package/dist/utils/reactivity.d.ts +1 -1
  745. package/dist/utils/scrollIntoView.d.ts +30 -0
  746. package/dist/utils/scrollIntoView.d.ts.map +1 -0
  747. package/dist/visually-hidden/createVisuallyHidden.d.ts +2 -2
  748. package/dist/visually-hidden/createVisuallyHidden.d.ts.map +1 -1
  749. package/dist/visually-hidden/index.d.ts +1 -1
  750. package/dist/visually-hidden/index.js +2 -0
  751. package/dist/visually-hidden/index.jsx +2 -0
  752. package/package.json +334 -33
  753. package/src/actiongroup/createActionGroup.ts +101 -91
  754. package/src/actiongroup/index.ts +1 -1
  755. package/src/autocomplete/createAutocomplete.ts +177 -148
  756. package/src/autocomplete/index.ts +1 -1
  757. package/src/breadcrumbs/createBreadcrumbs.ts +33 -42
  758. package/src/breadcrumbs/index.ts +1 -1
  759. package/src/button/createButton.ts +102 -73
  760. package/src/button/createToggleButton.ts +10 -10
  761. package/src/button/createToggleButtonGroup.ts +25 -32
  762. package/src/button/index.ts +6 -9
  763. package/src/button/types.ts +18 -12
  764. package/src/calendar/createCalendar.ts +64 -29
  765. package/src/calendar/createCalendarCell.ts +115 -46
  766. package/src/calendar/createCalendarGrid.ts +97 -41
  767. package/src/calendar/createCalendarMonthPicker.ts +105 -0
  768. package/src/calendar/createCalendarYearPicker.ts +144 -0
  769. package/src/calendar/createRangeCalendar.ts +68 -31
  770. package/src/calendar/createRangeCalendarCell.ts +92 -31
  771. package/src/calendar/index.ts +21 -8
  772. package/src/calendar/intl/index.ts +210 -0
  773. package/src/calendar/utils.ts +231 -0
  774. package/src/checkbox/createCheckbox.ts +23 -21
  775. package/src/checkbox/createCheckboxGroup.ts +68 -44
  776. package/src/checkbox/createCheckboxGroupItem.ts +26 -41
  777. package/src/checkbox/createCheckboxGroupState.ts +3 -22
  778. package/src/checkbox/index.ts +8 -10
  779. package/src/collections/index.ts +33 -29
  780. package/src/color/createColorArea.ts +232 -154
  781. package/src/color/createColorField.ts +107 -58
  782. package/src/color/createColorSlider.ts +231 -73
  783. package/src/color/createColorSwatch.ts +38 -13
  784. package/src/color/createColorWheel.ts +208 -83
  785. package/src/color/index.ts +6 -6
  786. package/src/color/types.ts +98 -16
  787. package/src/combobox/createComboBox.ts +157 -100
  788. package/src/combobox/index.ts +1 -1
  789. package/src/combobox/intl/index.ts +5 -5
  790. package/src/datepicker/createDateField.ts +192 -39
  791. package/src/datepicker/createDatePicker.ts +260 -67
  792. package/src/datepicker/createDatePickerGroup.ts +149 -0
  793. package/src/datepicker/createDateRangePicker.ts +105 -57
  794. package/src/datepicker/createDateSegment.ts +188 -96
  795. package/src/datepicker/createTimeField.ts +38 -34
  796. package/src/datepicker/createTimeSegment.ts +67 -85
  797. package/src/datepicker/index.ts +13 -14
  798. package/src/dialog/createDialog.ts +45 -38
  799. package/src/dialog/index.ts +2 -2
  800. package/src/dialog/types.ts +4 -4
  801. package/src/disclosure/createDisclosure.ts +138 -33
  802. package/src/disclosure/createDisclosureGroup.ts +8 -21
  803. package/src/disclosure/index.ts +2 -2
  804. package/src/dnd/createDrag.ts +19 -25
  805. package/src/dnd/createDraggableCollection.ts +4 -4
  806. package/src/dnd/createDraggableItem.ts +20 -19
  807. package/src/dnd/createDrop.ts +42 -51
  808. package/src/dnd/createDroppableCollection.ts +293 -173
  809. package/src/dnd/createDroppableItem.ts +34 -34
  810. package/src/dnd/index.ts +23 -12
  811. package/src/dnd/types.ts +4 -7
  812. package/src/dnd/utils.ts +58 -47
  813. package/src/focus/FocusScope.tsx +301 -176
  814. package/src/focus/createAutoFocus.ts +4 -20
  815. package/src/focus/createFocusRestore.ts +15 -28
  816. package/src/focus/createVirtualFocus.ts +20 -36
  817. package/src/focus/index.ts +4 -8
  818. package/src/form/createFormReset.ts +4 -4
  819. package/src/form/createFormValidation.ts +23 -39
  820. package/src/form/index.ts +2 -5
  821. package/src/grid/GridKeyboardDelegate.ts +30 -30
  822. package/src/grid/createGrid.ts +36 -36
  823. package/src/grid/createGridCell.ts +18 -18
  824. package/src/grid/createGridRow.ts +14 -14
  825. package/src/grid/index.ts +5 -5
  826. package/src/grid/types.ts +8 -8
  827. package/src/gridlist/createGridList.ts +172 -64
  828. package/src/gridlist/createGridListItem.ts +98 -121
  829. package/src/gridlist/createGridListSection.ts +54 -0
  830. package/src/gridlist/createGridListSelectionCheckbox.ts +12 -9
  831. package/src/gridlist/index.ts +7 -4
  832. package/src/gridlist/types.ts +58 -7
  833. package/src/i18n/createCollator.ts +5 -18
  834. package/src/i18n/createDateFormatter.ts +5 -13
  835. package/src/i18n/createFilter.ts +11 -24
  836. package/src/i18n/createNumberFormatter.ts +4 -6
  837. package/src/i18n/createStringFormatter.ts +19 -15
  838. package/src/i18n/index.ts +8 -11
  839. package/src/i18n/locale.tsx +15 -40
  840. package/src/i18n/utils.ts +35 -39
  841. package/src/index.ts +111 -172
  842. package/src/interactions/FocusableProvider.tsx +3 -7
  843. package/src/interactions/PressEvent.ts +18 -4
  844. package/src/interactions/createFocus.ts +12 -8
  845. package/src/interactions/createFocusRing.ts +21 -19
  846. package/src/interactions/createFocusWithin.ts +20 -13
  847. package/src/interactions/createFocusable.ts +15 -16
  848. package/src/interactions/createHover.ts +70 -55
  849. package/src/interactions/createInteractionModality.ts +96 -94
  850. package/src/interactions/createKeyboard.ts +12 -2
  851. package/src/interactions/createLongPress.ts +23 -23
  852. package/src/interactions/createMove.ts +72 -62
  853. package/src/interactions/createPress.ts +192 -92
  854. package/src/interactions/index.ts +24 -16
  855. package/src/label/createField.ts +18 -19
  856. package/src/label/createLabel.ts +18 -30
  857. package/src/label/createLabels.ts +8 -12
  858. package/src/label/index.ts +5 -5
  859. package/src/landmark/createLandmark.ts +30 -51
  860. package/src/landmark/index.ts +1 -1
  861. package/src/link/createLink.ts +83 -56
  862. package/src/link/index.ts +1 -1
  863. package/src/listbox/createListBox.ts +198 -66
  864. package/src/listbox/createOption.ts +112 -71
  865. package/src/listbox/index.ts +2 -6
  866. package/src/live-announcer/announce.ts +44 -71
  867. package/src/live-announcer/index.ts +1 -1
  868. package/src/menu/createMenu.ts +171 -65
  869. package/src/menu/createMenuItem.ts +315 -51
  870. package/src/menu/createMenuTrigger.ts +15 -15
  871. package/src/menu/index.ts +3 -12
  872. package/src/meter/createMeter.ts +7 -15
  873. package/src/meter/index.ts +1 -1
  874. package/src/numberfield/createNumberField.ts +205 -80
  875. package/src/numberfield/index.ts +1 -1
  876. package/src/overlays/ariaHideOutside.ts +14 -10
  877. package/src/overlays/createInteractOutside.ts +21 -18
  878. package/src/overlays/createModal.tsx +17 -17
  879. package/src/overlays/createOverlay.ts +38 -8
  880. package/src/overlays/createOverlayTrigger.ts +16 -16
  881. package/src/overlays/createPreventScroll.ts +46 -24
  882. package/src/overlays/index.ts +6 -17
  883. package/src/popover/calculatePosition.ts +134 -124
  884. package/src/popover/createOverlayPosition.ts +55 -40
  885. package/src/popover/createPopover.ts +42 -17
  886. package/src/popover/index.ts +3 -3
  887. package/src/progress/createProgressBar.ts +31 -32
  888. package/src/progress/index.ts +1 -1
  889. package/src/radio/createRadio.ts +114 -75
  890. package/src/radio/createRadioGroup.ts +83 -77
  891. package/src/radio/createRadioGroupState.ts +7 -31
  892. package/src/radio/index.ts +3 -8
  893. package/src/searchfield/createSearchField.ts +57 -29
  894. package/src/searchfield/index.ts +2 -2
  895. package/src/select/createHiddenSelect.tsx +57 -44
  896. package/src/select/createSelect.ts +146 -73
  897. package/src/select/index.ts +2 -7
  898. package/src/selection/DOMLayoutDelegate.ts +102 -0
  899. package/src/selection/ListKeyboardDelegate.ts +398 -0
  900. package/src/selection/constants.ts +16 -0
  901. package/src/selection/createCollectionRowInteraction.ts +209 -0
  902. package/src/selection/createScrollIntoViewOnFocus.ts +65 -0
  903. package/src/selection/createSelectableCollection.ts +645 -0
  904. package/src/selection/createSelectableItem.ts +498 -0
  905. package/src/selection/createSelectableList.ts +93 -0
  906. package/src/selection/createTypeSelect.ts +120 -59
  907. package/src/selection/index.ts +32 -1
  908. package/src/selection/selectItem.ts +80 -0
  909. package/src/selection/utils.ts +82 -0
  910. package/src/separator/createSeparator.ts +20 -25
  911. package/src/separator/index.ts +1 -1
  912. package/src/slider/createSlider.ts +128 -112
  913. package/src/slider/index.ts +2 -2
  914. package/src/ssr/index.tsx +38 -46
  915. package/src/steplist/createStepList.ts +106 -0
  916. package/src/steplist/index.ts +8 -0
  917. package/src/switch/createSwitch.ts +19 -14
  918. package/src/switch/index.ts +1 -1
  919. package/src/table/createTable.ts +192 -95
  920. package/src/table/createTableCell.ts +17 -16
  921. package/src/table/createTableColumnHeader.ts +67 -20
  922. package/src/table/createTableColumnResize.ts +256 -0
  923. package/src/table/createTableHeaderRow.ts +7 -7
  924. package/src/table/createTableRow.ts +206 -91
  925. package/src/table/createTableRowGroup.ts +5 -7
  926. package/src/table/createTableSelectAllCheckbox.ts +14 -14
  927. package/src/table/createTableSelectionCheckbox.ts +8 -8
  928. package/src/table/index.ts +14 -9
  929. package/src/table/types.ts +43 -7
  930. package/src/tabs/createTabs.ts +123 -111
  931. package/src/tabs/index.ts +1 -1
  932. package/src/tag/createTag.ts +57 -50
  933. package/src/tag/createTagGroup.ts +47 -41
  934. package/src/tag/index.ts +2 -6
  935. package/src/textfield/createTextField.ts +67 -35
  936. package/src/textfield/index.ts +1 -5
  937. package/src/toast/createToast.ts +29 -26
  938. package/src/toast/createToastRegion.ts +169 -26
  939. package/src/toast/index.ts +2 -6
  940. package/src/toggle/createToggle.ts +115 -53
  941. package/src/toggle/createToggleState.ts +2 -10
  942. package/src/toggle/index.ts +4 -5
  943. package/src/toolbar/createToolbar.ts +214 -230
  944. package/src/toolbar/index.ts +1 -1
  945. package/src/tooltip/createTooltip.ts +11 -24
  946. package/src/tooltip/createTooltipTrigger.ts +61 -49
  947. package/src/tooltip/index.ts +2 -2
  948. package/src/tree/createTree.ts +128 -72
  949. package/src/tree/createTreeItem.ts +120 -135
  950. package/src/tree/createTreeSelectionCheckbox.ts +11 -8
  951. package/src/tree/index.ts +4 -4
  952. package/src/tree/types.ts +20 -6
  953. package/src/utils/animation.ts +151 -0
  954. package/src/utils/createDescription.ts +6 -23
  955. package/src/utils/dom.ts +265 -68
  956. package/src/utils/env.ts +9 -11
  957. package/src/utils/events.ts +7 -7
  958. package/src/utils/filterDOMProps.ts +49 -49
  959. package/src/utils/focus.ts +60 -68
  960. package/src/utils/geometry.ts +1 -4
  961. package/src/utils/globalListeners.ts +9 -9
  962. package/src/utils/index.ts +20 -22
  963. package/src/utils/keyboard.ts +25 -0
  964. package/src/utils/mergeProps.ts +49 -15
  965. package/src/utils/platform.ts +2 -2
  966. package/src/utils/reactivity.ts +3 -3
  967. package/src/utils/scrollIntoView.ts +181 -0
  968. package/src/utils/textSelection.ts +16 -16
  969. package/src/visually-hidden/createVisuallyHidden.ts +16 -28
  970. package/src/visually-hidden/index.ts +1 -1
  971. package/dist/i18n/NumberFormatter.d.ts +0 -43
  972. package/dist/i18n/NumberFormatter.d.ts.map +0 -1
  973. package/dist/index.js.map +0 -1
  974. package/dist/index.ssr.js +0 -17082
  975. package/dist/index.ssr.js.map +0 -1
  976. package/src/i18n/NumberFormatter.ts +0 -266
package/dist/index.jsx ADDED
@@ -0,0 +1,71 @@
1
+ import { t as createPress } from "./_chunk/createPress.jsx";
2
+ import { a as isAccessor, i as access, o as mergeProps } from "./_chunk/env.jsx";
3
+ import { t as filterDOMProps } from "./_chunk/filterDOMProps.jsx";
4
+ import { i as createDescription, n as createExitAnimation, t as createEnterAnimation } from "./_chunk/utils.jsx";
5
+ import { t as focusSafely } from "./_chunk/focus.jsx";
6
+ import { t as createLongPress } from "./_chunk/createLongPress.jsx";
7
+ import { n as createMove } from "./_chunk/interactions.jsx";
8
+ import { n as createFocusable } from "./_chunk/createFocusable.jsx";
9
+ import { c as isFocusVisible, i as createFocusVisibleListener, n as addWindowFocusTracking, r as createFocusVisible } from "./_chunk/createInteractionModality.jsx";
10
+ import { t as createFocusRing } from "./_chunk/createFocusRing.jsx";
11
+ import { t as createHover } from "./_chunk/createHover.jsx";
12
+ import { i as createButton, n as createToggleButtonGroupItem, r as createToggleButton, t as createToggleButtonGroup } from "./_chunk/button.jsx";
13
+ import { a as useLocale, i as getDefaultLocale, n as I18nProvider, r as createDefaultLocale, s as isRTL, t as createCollator } from "./_chunk/createCollator.jsx";
14
+ import { a as createDateFormatter, i as createFilter, n as createStringDictionary, o as createNumberFormatter, r as createStringFormatter, t as NumberFormatter } from "./_chunk/i18n.jsx";
15
+ import { t as createToolbar } from "./_chunk/toolbar.jsx";
16
+ import { n as createActionGroupItem, t as createActionGroup } from "./_chunk/actiongroup.jsx";
17
+ import { BaseCollection, Collection, CollectionBuilder, createBranchComponent, createHideableComponent, createLeafComponent, useCachedChildren, useIsHidden } from "./collections/index.jsx";
18
+ import { SSRProvider, canUseDOM, createBrowserEffect, createBrowserValue, createHydrationState, createId, createIsSSR, createSlotId, getDocument, getOwnerDocument, getOwnerWindow, getPortalContainer, getWindow, useIsSSR } from "./ssr/index.jsx";
19
+ import { t as createToggle } from "./_chunk/createToggle.jsx";
20
+ import { createToggleState } from "./toggle/index.jsx";
21
+ import { a as createCheckbox, i as createCheckboxGroup, n as createCheckboxGroupItem, r as checkboxGroupData, t as createCheckboxGroupState } from "./_chunk/checkbox.jsx";
22
+ import { t as createLabels } from "./_chunk/createLabels.jsx";
23
+ import { t as createLabel } from "./_chunk/createLabel.jsx";
24
+ import { t as createField } from "./_chunk/createField.jsx";
25
+ import { a as radioGroupData, i as createRadioGroup, r as createRadio, t as createRadioGroupState } from "./_chunk/radio.jsx";
26
+ import { t as createSwitch } from "./_chunk/switch.jsx";
27
+ import { t as createLink } from "./_chunk/link.jsx";
28
+ import { t as createTextField } from "./_chunk/textfield.jsx";
29
+ import { t as createProgressBar } from "./_chunk/createProgressBar.jsx";
30
+ import "./progress/index.jsx";
31
+ import { t as createSeparator } from "./_chunk/separator.jsx";
32
+ import { n as AUTOCOMPLETE_FOCUS_EVENT, r as createAutocomplete, t as AUTOCOMPLETE_CLEAR_FOCUS_EVENT } from "./_chunk/autocomplete.jsx";
33
+ import { n as createInteractOutside, r as createPreventScroll, t as createOverlay } from "./_chunk/createOverlay.jsx";
34
+ import { a as createModal, c as createOverlayTrigger, i as UNSAFE_PortalProvider, l as onCloseMap, n as OverlayContainer, o as useModalProvider, r as OverlayProvider, s as useUNSAFE_PortalContext, t as ModalProvider } from "./_chunk/overlays.jsx";
35
+ import { n as keepVisible, t as ariaHideOutside } from "./_chunk/ariaHideOutside.jsx";
36
+ import { t as createTypeSelect } from "./_chunk/createTypeSelect.jsx";
37
+ import { n as createListBox, r as getListBoxData, t as createOption } from "./_chunk/listbox.jsx";
38
+ import { a as isNonContiguousSelectionModifier, i as getItemElement, n as createSelectableItem, t as ITEM_ACTION_EVENT } from "./_chunk/createSelectableItem.jsx";
39
+ import { i as getMenuData, n as createMenuItem, r as createMenu, t as createMenuTrigger } from "./_chunk/menu.jsx";
40
+ import { i as getSelectData, n as createHiddenSelect, r as createSelect, t as HiddenSelect } from "./_chunk/select.jsx";
41
+ import { t as createFormValidation } from "./_chunk/createFormValidation.jsx";
42
+ import { n as createTabList, r as createTabPanel, t as createTab } from "./_chunk/tabs.jsx";
43
+ import { n as createBreadcrumbs, t as createBreadcrumbItem } from "./_chunk/breadcrumbs.jsx";
44
+ import { t as createNumberField } from "./_chunk/numberfield.jsx";
45
+ import { t as createSearchField } from "./_chunk/searchfield.jsx";
46
+ import { t as createSlider } from "./_chunk/slider.jsx";
47
+ import { n as createTooltip, t as createTooltipTrigger } from "./_chunk/tooltip.jsx";
48
+ import { i as useAnnouncer, n as clearAnnouncer, r as destroyAnnouncer, t as announce } from "./_chunk/live-announcer.jsx";
49
+ import { n as getComboBoxData, t as createComboBox } from "./_chunk/combobox.jsx";
50
+ import { t as createDialog } from "./_chunk/dialog.jsx";
51
+ import { n as createToast, t as createToastRegion } from "./_chunk/toast.jsx";
52
+ import { n as getLandmarkController, t as createLandmark } from "./_chunk/createLandmark.jsx";
53
+ import { n as createOverlayPosition, r as calculatePosition, t as createPopover } from "./_chunk/popover.jsx";
54
+ import { a as clearFocusStack, c as popFocusStack, d as useFocusManager, i as createVirtualFocus, l as pushFocusStack, n as createAutoFocus, o as createFocusRestore, r as getAutoFocusQueueLength, s as getFocusStackLength, t as clearAutoFocusQueue, u as FocusScope } from "./_chunk/focus2.jsx";
55
+ import { n as createDisclosure, t as createDisclosureGroup } from "./_chunk/disclosure.jsx";
56
+ import { t as createMeter } from "./_chunk/meter.jsx";
57
+ import { n as createTagGroup, r as getTagGroupData, t as createTag } from "./_chunk/tag.jsx";
58
+ import { a as createCalendarYearPicker, i as createCalendarGrid, n as createRangeCalendar, o as createCalendarMonthPicker, r as createCalendarCell, s as createCalendar, t as createRangeCalendarCell } from "./_chunk/calendar.jsx";
59
+ import { a as createTimeField, i as createTimeSegment, o as createDateSegment, r as createDatePicker, s as createDateField, t as createDateRangePicker } from "./_chunk/datepicker.jsx";
60
+ import { a as GridKeyboardDelegate, i as getGridData, n as createGridRow, r as createGrid, t as createGridCell } from "./_chunk/grid.jsx";
61
+ import { a as createTableCell, c as createTableHeaderRow, i as createTableRowGroup, l as createTable, n as createTableSelectAllCheckbox, o as createTableRow, r as createTableSelectionCheckbox, s as createTableColumnHeader, t as createTableColumnResize, u as getTableData } from "./_chunk/table.jsx";
62
+ import { a as getGridListData, i as createGridList, n as createGridListSelectionCheckbox, r as createGridListItem, t as createGridListSection } from "./_chunk/gridlist.jsx";
63
+ import { i as getTreeData, n as createTreeItem, r as createTree, t as createTreeSelectionCheckbox } from "./_chunk/tree.jsx";
64
+ import { a as createColorSlider, i as createColorArea, n as createColorField, r as createColorWheel, t as createColorSwatch } from "./_chunk/color.jsx";
65
+ import { A as readFromDataTransfer, C as NATIVE_DRAG_TYPES, D as isDirectoryDropItem, E as getTypes, M as setGlobalDropEffect, N as writeToDataTransfer, O as isFileDropItem, S as GENERIC_TYPE, T as getGlobalDropEffect, _ as DROP_OPERATION, a as setGlobalDropCollectionRef, b as DragTypesImpl, c as createDraggableCollection, d as getGlobalDraggingTypes, f as setGlobalDraggingCollectionRef, g as DROP_EFFECT_TO_DROP_OPERATION, h as CUSTOM_DRAG_TYPE, i as getGlobalDropCollectionRef, j as setGlobalAllowedDropOperations, k as isTextDropItem, l as getGlobalDraggingCollectionRef, m as setGlobalDraggingTypes, n as createDraggableItem, o as createDrop, p as setGlobalDraggingKeys, r as createDroppableCollection, s as createDrag, t as createDroppableItem, u as getGlobalDraggingKeys, v as DROP_OPERATION_ALLOWED, w as getGlobalAllowedDropOperations, x as EFFECT_ALLOWED, y as DROP_OPERATION_TO_DROP_EFFECT } from "./_chunk/dnd.jsx";
66
+ import "./landmark/index.jsx";
67
+ import { n as visuallyHiddenStyles, t as createVisuallyHidden } from "./_chunk/visually-hidden.jsx";
68
+ import { t as createFormReset } from "./_chunk/form.jsx";
69
+ import { n as createStepList, t as createStep } from "./_chunk/steplist.jsx";
70
+ import { a as CLEAR_FOCUS_EVENT, i as DOMLayoutDelegate, n as createSelectableCollection, o as FOCUS_EVENT, r as ListKeyboardDelegate, s as createScrollIntoViewOnFocus, t as createSelectableList } from "./_chunk/selection.jsx";
71
+ export { AUTOCOMPLETE_CLEAR_FOCUS_EVENT, AUTOCOMPLETE_FOCUS_EVENT, BaseCollection, CLEAR_FOCUS_EVENT, CUSTOM_DRAG_TYPE, Collection, CollectionBuilder, DOMLayoutDelegate, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION, DROP_OPERATION_ALLOWED, DROP_OPERATION_TO_DROP_EFFECT, DragTypesImpl, EFFECT_ALLOWED, FOCUS_EVENT, FocusScope, GENERIC_TYPE, GridKeyboardDelegate, HiddenSelect, I18nProvider, ITEM_ACTION_EVENT, ListKeyboardDelegate, ModalProvider, NATIVE_DRAG_TYPES, NumberFormatter, OverlayContainer, OverlayProvider, SSRProvider, UNSAFE_PortalProvider, access, addWindowFocusTracking, announce, ariaHideOutside, calculatePosition, canUseDOM, checkboxGroupData, clearAnnouncer, clearAutoFocusQueue, clearFocusStack, createActionGroup, createActionGroupItem, createAutoFocus, createAutocomplete, createBranchComponent, createBreadcrumbItem, createBreadcrumbs, createBrowserEffect, createBrowserValue, createButton, createCalendar, createCalendarCell, createCalendarGrid, createCalendarMonthPicker, createCalendarYearPicker, createCheckbox, createCheckboxGroup, createCheckboxGroupItem, createCheckboxGroupState, createCollator, createColorArea, createColorField, createColorSlider, createColorSwatch, createColorWheel, createComboBox, createDateField, createDateFormatter, createDatePicker, createDateRangePicker, createDateSegment, createDefaultLocale, createDescription, createDialog, createDisclosure, createDisclosureGroup, createDrag, createDraggableCollection, createDraggableItem, createDrop, createDroppableCollection, createDroppableItem, createEnterAnimation, createExitAnimation, createField, createFilter, createFocusRestore, createFocusRing, createFocusVisible, createFocusVisibleListener, createFocusable, createFormReset, createFormValidation, createGrid, createGridCell, createGridList, createGridListItem, createGridListSection, createGridListSelectionCheckbox, createGridRow, createHiddenSelect, createHideableComponent, createHover, createHydrationState, createId, createInteractOutside, createIsSSR, createLabel, createLabels, createLandmark, createLeafComponent, createLink, createListBox, createLongPress, createMenu, createMenuItem, createMenuTrigger, createMeter, createModal, createMove, createNumberField, createNumberFormatter, createOption, createOverlay, createOverlayPosition, createOverlayTrigger, createPopover, createPress, createPreventScroll, createProgressBar, createRadio, createRadioGroup, createRadioGroupState, createRangeCalendar, createRangeCalendarCell, createScrollIntoViewOnFocus, createSearchField, createSelect, createSelectableCollection, createSelectableItem, createSelectableList, createSeparator, createSlider, createSlotId, createStep, createStepList, createStringDictionary, createStringFormatter, createSwitch, createTab, createTabList, createTabPanel, createTable, createTableCell, createTableColumnHeader, createTableColumnResize, createTableHeaderRow, createTableRow, createTableRowGroup, createTableSelectAllCheckbox, createTableSelectionCheckbox, createTag, createTagGroup, createTextField, createTimeField, createTimeSegment, createToast, createToastRegion, createToggle, createToggleButton, createToggleButtonGroup, createToggleButtonGroupItem, createToggleState, createToolbar, createTooltip, createTooltipTrigger, createTree, createTreeItem, createTreeSelectionCheckbox, createTypeSelect, createVirtualFocus, createVisuallyHidden, destroyAnnouncer, filterDOMProps, focusSafely, getAutoFocusQueueLength, getComboBoxData, getDefaultLocale, getDocument, getFocusStackLength, getGlobalAllowedDropOperations, getGlobalDraggingCollectionRef, getGlobalDraggingKeys, getGlobalDraggingTypes, getGlobalDropCollectionRef, getGlobalDropEffect, getGridData, getGridListData, getItemElement, getLandmarkController, getListBoxData, getMenuData, getOwnerDocument, getOwnerWindow, getPortalContainer, getSelectData, getTableData, getTagGroupData, getTreeData, getTypes, getWindow, isAccessor, isDirectoryDropItem, isFileDropItem, isFocusVisible, isNonContiguousSelectionModifier, isRTL, isTextDropItem, keepVisible, mergeProps, onCloseMap, popFocusStack, pushFocusStack, radioGroupData, readFromDataTransfer, setGlobalAllowedDropOperations, setGlobalDraggingCollectionRef, setGlobalDraggingKeys, setGlobalDraggingTypes, setGlobalDropCollectionRef, setGlobalDropEffect, useAnnouncer, useCachedChildren, useFocusManager, useIsHidden, useIsSSR, useLocale, useModalProvider, useUNSAFE_PortalContext, visuallyHiddenStyles, writeToDataTransfer };
@@ -3,8 +3,8 @@
3
3
  *
4
4
  * This is a 1-1 port of React-Aria's FocusableProvider adapted for SolidJS.
5
5
  */
6
- import { JSX, ParentComponent } from 'solid-js';
7
- import { FocusableProviderProps } from './createFocusable';
6
+ import { JSX, ParentComponent } from "solid-js";
7
+ import { FocusableProviderProps } from "./createFocusable";
8
8
  /**
9
9
  * Provides DOM props to the nearest focusable child.
10
10
  * Used to pass focus-related props through component boundaries.
@@ -1 +1 @@
1
- {"version":3,"file":"FocusableProvider.d.ts","sourceRoot":"","sources":["../../src/interactions/FocusableProvider.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAA2C,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpG;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAC7C,sBAAsB,GAAG,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAgBzD,CAAC"}
1
+ {"version":3,"file":"FocusableProvider.d.ts","sourceRoot":"","sources":["../../src/interactions/FocusableProvider.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAA2C,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpG;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAC7C,sBAAsB,GAAG,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAYzD,CAAC"}
@@ -2,8 +2,8 @@
2
2
  * PressEvent class that matches React-Aria's PressEvent interface.
3
3
  * Wraps native events with press-specific data.
4
4
  */
5
- export type PointerType = 'mouse' | 'pen' | 'touch' | 'keyboard' | 'virtual';
6
- export type PressEventType = 'pressstart' | 'pressend' | 'pressup' | 'press';
5
+ export type PointerType = "mouse" | "pen" | "touch" | "keyboard" | "virtual";
6
+ export type PressEventType = "pressstart" | "pressend" | "pressup" | "press";
7
7
  /**
8
8
  * Minimal event data needed to create a PressEvent.
9
9
  * Allows both native Event objects and synthetic event-like objects.
@@ -16,6 +16,11 @@ export interface PressEventSource {
16
16
  altKey?: boolean;
17
17
  clientX?: number;
18
18
  clientY?: number;
19
+ /**
20
+ * The key that triggered the event, present on keyboard interactions
21
+ * (the native `KeyboardEvent` is passed through unchanged).
22
+ */
23
+ key?: string;
19
24
  }
20
25
  export interface IPressEvent {
21
26
  /** The type of press event being fired. */
@@ -36,6 +41,11 @@ export interface IPressEvent {
36
41
  x: number;
37
42
  /** Y position of the press relative to the target element. */
38
43
  y: number;
44
+ /**
45
+ * The key that triggered the press event, if it was triggered by a keyboard
46
+ * interaction. Useful for differentiating between Space and Enter key presses.
47
+ */
48
+ key?: string;
39
49
  /**
40
50
  * By default, press events stop propagation to parent elements.
41
51
  * Call continuePropagation() to allow the event to bubble up.
@@ -57,6 +67,7 @@ export declare class PressEvent implements IPressEvent {
57
67
  altKey: boolean;
58
68
  x: number;
59
69
  y: number;
70
+ key?: string;
60
71
  constructor(type: PressEventType, pointerType: PointerType, originalEvent: PressEventSource | null, target: Element | null);
61
72
  /**
62
73
  * Call this to allow the press event to propagate to parent elements.
@@ -1 +1 @@
1
- {"version":3,"file":"PressEvent.d.ts","sourceRoot":"","sources":["../../src/interactions/PressEvent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AAC7E,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7E;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,E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BAAmB,IAAI,IAAI,CAAC;CAC7B;AAED;;;GAGG;AACH,qBAAa,UAAW,YAAW,WAAW;;IAC5C,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,GAAG,CAAC,EAAE,MAAM,CAAC;gBAKX,IAAI,EAAE,cAAc,EACpB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,gBAAgB,GAAG,IAAI,EACtC,MAAM,EAAE,OAAO,GAAG,IAAI;IAgCxB;;;OAGG;IACH,mBAAmB,IAAI,IAAI;IAI3B;;;OAGG;IACH,IAAI,qBAAqB,IAAI,OAAO,CAEnC;CACF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,cAAc,EACpB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,gBAAgB,GAAG,IAAI,EACtC,MAAM,EAAE,OAAO,GAAG,IAAI,GACrB,UAAU,CAEZ"}
@@ -4,7 +4,7 @@
4
4
  * This is a 1-1 port of React-Aria's useFocus hook adapted for SolidJS.
5
5
  * Focus events on child elements will be ignored.
6
6
  */
7
- import { JSX } from 'solid-js';
7
+ import { JSX } from "solid-js";
8
8
  export interface FocusEvents {
9
9
  /** Handler that is called when the element receives focus. */
10
10
  onFocus?: (e: FocusEvent) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"createFocus.d.ts","sourceRoot":"","sources":["../../src/interactions/createFocus.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,GAAG,EAAa,MAAM,UAAU,CAAC;AAU1C,MAAM,WAAW,WAAW;IAC1B,8DAA8D;IAC9D,OAAO,CAAC,EAAE,C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*
8
8
  * Port of @react-aria/focus useFocusRing.
9
9
  */
10
- import { type JSX, type Accessor } from 'solid-js';
10
+ import { type JSX, type Accessor } from "solid-js";
11
11
  export interface FocusRingProps {
12
12
  /** Whether the element is a text input. */
13
13
  isTextInput?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"createFocusRing.d.ts","sourceRoot":"","sources":["../../src/interactions/createFocusRing.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,QAAQ,EAAqD,MAAM,UAAU,CAAC;AAYtG,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC7B,gDAAgD;IAChD,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAClC,qDAAqD;IACrD,UAAU,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAC7C;AAMD;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,KAAK,GAAE,cAAmB,GAAG,eAAe,CAmC3E"}
1
+ {"version":3,"file":"createFocusRing.d.ts","sourceRoot":"","sources":["../../src/interactions/createFocusRing.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,KAAK,GAAG,EACR,KAAK,QAAQ,EAKd,MAAM,UAAU,CAAC;AAQlB,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC7B,gDAAgD;IAChD,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAClC,qDAAqD;IACrD,UAAU,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAC7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,KAAK,GAAE,cAAmB,GAAG,eAAe,CAsC3E"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * This is a 1-1 port of React-Aria's useFocusWithin hook adapted for SolidJS.
5
5
  */
6
- import { JSX } from 'solid-js';
6
+ import { JSX } from "solid-js";
7
7
  export interface FocusWithinProps {
8
8
  /** Whether the focus within events should be disabled. */
9
9
  isDisabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"createFocusWithin.d.ts","sourceRoot":"","sources":["../../src/interactions/createFocusWithin.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAa,MAAM,UAAU,CAAC;AAI1C,MAAM,WAAW,gBAAgB;IAC/B,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qFAAqF;IACrF,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,qFAAqF;IACrF,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;CACxD;AAED,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,gBAAgB,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CACnD;AA4DD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,GAAE,gBAAqB,GAAG,iBAAiB,CAqHjF"}
1
+ {"version":3,"file":"createFocusWithin.d.ts","sourceRoot":"","sources":["../../src/interactions/createFocusWithin.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAa,MAAM,UAAU,CAAC;AAI1C,MAAM,WAAW,gBAAgB;IAC/B,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qFAAqF;IACrF,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,qFAAqF;IACrF,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;CACxD;AAED,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,gBAAgB,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CACnD;AAgED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,GAAE,gBAAqB,GAAG,iBAAiB,CAwHjF"}
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * This is a 1-1 port of React-Aria's useFocusable hook adapted for SolidJS.
5
5
  */
6
- import { JSX, Accessor } from 'solid-js';
7
- import { type FocusEvents } from './createFocus';
8
- import { type KeyboardEvents } from './createKeyboard';
6
+ import { JSX, Accessor } from "solid-js";
7
+ import { type FocusEvents } from "./createFocus";
8
+ import { type KeyboardEvents } from "./createKeyboard";
9
9
  export interface FocusableDOMProps {
10
10
  /** Whether to exclude the element from the sequential tab order. */
11
11
  excludeFromTabOrder?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"createFocusable.d.ts","sourceRoot":"","sources":["../../src/interactions/createFocusable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAsC,MAAM,UAAU,CAAC;AAC7E,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,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vE,MAAM,WAAW,iBAAiB;IAChC,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,cAAe,SAAQ,WAAW,EAAE,cAAc;IACjE,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,oBAAqB,SAAQ,cAAc,EAAE,iBAAiB;IAC7E,wCAAwC;IACxC,UAAU,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;CAC1C;AAED,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,cAAc,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CACjD;AAID,MAAM,WAAW,qBAAqB;IACpC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,KAAK,IAAI,CAAC;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,0DAAoD,CAAC;AA0BlF,MAAM,WAAW,sBAAsB;IACrC,iDAAiD;IACjD,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CACxB;AASD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,eAAe,CAC7B,KAAK,GAAE,oBAAyB,EAChC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,KAAK,IAAI,GAC9B,eAAe,CAyDjB"}
@@ -6,13 +6,13 @@
6
6
  *
7
7
  * Port of @react-aria/interactions useHover.
8
8
  */
9
- import { type JSX, type Accessor } from 'solid-js';
10
- import { type MaybeAccessor } from '../utils/reactivity';
9
+ import { type JSX, type Accessor } from "solid-js";
10
+ import { type MaybeAccessor } from "../utils/reactivity";
11
11
  export interface HoverEvent {
12
12
  /** The type of hover event being fired. */
13
- type: 'hoverstart' | 'hoverend';
13
+ type: "hoverstart" | "hoverend";
14
14
  /** The pointer type that triggered the hover event. */
15
- pointerType: 'mouse' | 'pen';
15
+ pointerType: "mouse" | "pen";
16
16
  /** The target element of the hover event. */
17
17
  target: Element;
18
18
  }
@@ -29,7 +29,7 @@ export interface CreateHoverProps extends HoverEvents {
29
29
  isDisabled?: boolean;
30
30
  }
31
31
  /** Event handler props returned by createHover - safe to spread on any element */
32
- export type HoverProps = Pick<JSX.HTMLAttributes<HTMLElement>, 'onPointerEnter' | 'onPointerLeave' | 'onPointerOver' | 'onPointerOut' | 'onMouseEnter' | 'onMouseLeave'>;
32
+ export type HoverProps = Pick<JSX.HTMLAttributes<HTMLElement>, "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOut" | "onMouseEnter" | "onMouseLeave">;
33
33
  export interface HoverResult {
34
34
  /** Props to spread on the target element. */
35
35
  hoverProps: HoverProps;
@@ -1 +1 @@
1
- {"version":3,"file":"createHover.d.ts","sourceRoot":"","sources":["../../src/interactions/createHover.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,QAAQ,EAAqD,MAAM,UAAU,CAAC;AACtG,OAAO,EAAE,KAAK,aAAa,EAAU,MAAM,qBAAqB,CAAC;AAQjE,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,IAAI,EAAE,YAAY,GAAG,UAAU,CAAC;IAChC,uDAAuD;IACvD,WAAW,EAAE,OAAO,GAAG,KAAK,CAAC;IAC7B,6CAA6C;IAC7C,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,4CAA4C;IAC5C,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,0CAA0C;IAC1C,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,mDAAmD;IACnD,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,MAAM,WAAW,gBAAiB,SAAQ,WAAW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AU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,kFAAkF;AAClF,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,EAC7B,gBAAgB,GAChB,gBAAgB,GAChB,eAAe,GACf,cAAc,GACd,cAAc,GACd,cAAc,CACjB,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,6CAA6C;IAC7C,UAAU,EAAE,UAAU,CAAC;IACvB,gDAAgD;IAChD,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC9B;AAgDD;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,GAAE,aAAa,CAAC,gBAAgB,CAAM,GAAG,WAAW,CA6JpF"}
@@ -5,9 +5,9 @@
5
5
  * Tracks the current interaction modality (keyboard, pointer, or virtual) and
6
6
  * provides focus-visible state and listeners.
7
7
  */
8
- import { type Accessor } from 'solid-js';
9
- export type Modality = 'keyboard' | 'pointer' | 'virtual';
10
- export type PointerType = 'mouse' | 'pen' | 'touch' | 'keyboard' | 'virtual';
8
+ import { type Accessor } from "solid-js";
9
+ export type Modality = "keyboard" | "pointer" | "virtual";
10
+ export type PointerType = "mouse" | "pen" | "touch" | "keyboard" | "virtual";
11
11
  export type FocusVisibleHandler = (isFocusVisible: boolean) => void;
12
12
  export interface FocusVisibleProps {
13
13
  /** Whether the element is a text input. */
@@ -25,7 +25,6 @@ export interface InteractionModalityResult {
25
25
  }
26
26
  export declare let hasSetupGlobalListeners: Map<Window, {
27
27
  focus: typeof window.HTMLElement.prototype.focus;
28
- canOverride: boolean;
29
28
  }>;
30
29
  /**
31
30
  * Adds a window (i.e. iframe) to the list of windows that are being tracked for focus visible.
@@ -1 +1 @@
1
- {"version":3,"file":"createInteractionModality.d.ts","sourceRoot":"","sources":["../../src/interactions/createInteractionModality.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAyC,MAAM,UAAU,CAAC;AAQ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,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/B,MAAM,IAAI,CAYZ;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,iBAAsB,GAAG,kBAAkB,CAcpF;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,yBAAyB,CAuBrE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,GAAG,MAAM,IAAI,CAQrF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,QAAQ,CAAC,OAAO,CAAC,CAOxD"}
1
+ {"version":3,"file":"createInteractionModality.d.ts","sourceRoot":"","sources":["../../src/interactions/createInteractionModality.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAyC,MAAM,UAAU,CAAC;AAIhF,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AAI7E,MAAM,MAAM,mBAAmB,GAAG,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;AAEpE,MAAM,WAAW,iBAAiB;IAChC,2CAA2C;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,kDAAkD;IAClD,cAAc,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,yBAAyB;IACxC,wCAAwC;IACxC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;CACrC;AAMD,eAAO,IAAI,uBAAuB,EAAE,GAAG,CACrC,MAAM,EACN;IAAE,KAAK,EAAE,OAAO,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,KAAK,CAAA;CAAE,CACzC,CAAC;AAiMd;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,IAAI,CAc/E;AAED,wBAAgB,yBAAyB,IAAI,IAAI,CAEhD;AAMD;;GAEG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAExC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,QAAQ,GAAG,IAAI,CAExD;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAI/D;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAE5C;AA4CD;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,mBAAmB,EAC5B,IAAI,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/B,MAAM,IAAI,CAYZ;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,iBAAsB,GAAG,kBAAkB,CAcpF;AAED;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,yBAAyB,CAuBrE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,GAAG,MAAM,IAAI,CAQrF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,QAAQ,CAAC,OAAO,CAAC,CAOxD"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * This is a 1-1 port of React-Aria's useKeyboard hook adapted for SolidJS.
5
5
  */
6
- import { JSX } from 'solid-js';
6
+ import { JSX } from "solid-js";
7
7
  /**
8
8
  * Keyboard event with continuePropagation support.
9
9
  * By default, keyboard events stop propagation.
@@ -1 +1 @@
1
- {"version":3,"file":"createKeyboard.d.ts","sourceRoot":"","sources":["../../src/interactions/createKeyboard.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,E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a,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAChD;AAyCD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,GAAE,mBAAwB,GAAG,cAAc,CAa9E"}
@@ -3,14 +3,14 @@
3
3
  *
4
4
  * Port of @react-aria/interactions useLongPress, adapted for SolidJS.
5
5
  */
6
- import { JSX } from 'solid-js';
7
- import { type PressEvent } from './createPress';
8
- import { type MaybeAccessor } from '../utils/reactivity';
6
+ import { JSX } from "solid-js";
7
+ import { type PressEvent } from "./createPress";
8
+ import { type MaybeAccessor } from "../utils/reactivity";
9
9
  export interface LongPressEvent {
10
10
  /** The type of long press event being fired. */
11
- type: 'longpressstart' | 'longpressend' | 'longpress';
11
+ type: "longpressstart" | "longpressend" | "longpress";
12
12
  /** The pointer type that triggered the long press. */
13
- pointerType: PressEvent['pointerType'];
13
+ pointerType: PressEvent["pointerType"];
14
14
  /** The target element of the long press event. */
15
15
  target: Element;
16
16
  /** Whether the shift keyboard modifier was held during the long press event. */
@@ -3,8 +3,8 @@
3
3
  *
4
4
  * Port of @react-aria/interactions useMove, adapted for SolidJS.
5
5
  */
6
- import { JSX } from 'solid-js';
7
- export type PointerType = 'mouse' | 'pen' | 'touch' | 'keyboard';
6
+ import { JSX } from "solid-js";
7
+ export type PointerType = "mouse" | "pen" | "touch" | "keyboard";
8
8
  interface BaseMoveEvent {
9
9
  pointerType: PointerType;
10
10
  shiftKey: boolean;
@@ -13,15 +13,15 @@ interface BaseMoveEvent {
13
13
  altKey: boolean;
14
14
  }
15
15
  export interface MoveStartEvent extends BaseMoveEvent {
16
- type: 'movestart';
16
+ type: "movestart";
17
17
  }
18
18
  export interface MoveMoveEvent extends BaseMoveEvent {
19
- type: 'move';
19
+ type: "move";
20
20
  deltaX: number;
21
21
  deltaY: number;
22
22
  }
23
23
  export interface MoveEndEvent extends BaseMoveEvent {
24
- type: 'moveend';
24
+ type: "moveend";
25
25
  }
26
26
  export interface MoveEvents {
27
27
  onMoveStart?: (e: MoveStartEvent) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"createMove.d.ts","sourceRoot":"","sources":["../../src/interactions/createMove.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAyC,MAAM,UAAU,CAAC;AAGtE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,UAAU,CAAC;AAEjE,UAAU,aAAa;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAa,SAAQ,aAAa;IACjD,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IAC1C,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;CACvC;AAED,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,SAAS,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAC5C;AAqBD;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,GAAE,UAAe,GAAG,UAAU,CA8N7D"}
1
+ {"version":3,"file":"createMove.d.ts","sourceRoot":"","sources":["../../src/interactions/createMove.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAyC,MAAM,UAAU,CAAC;AAGtE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,UAAU,CAAC;AAEjE,UAAU,aAAa;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAa,SAAQ,aAAa;IACjD,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IAC1C,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;CACvC;AAED,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,SAAS,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAC5C;AAqBD;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,GAAE,UAAe,GAAG,UAAU,CAwO7D"}
@@ -4,10 +4,10 @@
4
4
  * This is a 1-1 port of React-Aria's usePress hook adapted for SolidJS.
5
5
  * All behaviors, edge cases, and platform-specific handling are preserved.
6
6
  */
7
- import { JSX, Accessor } from 'solid-js';
8
- import { PressEvent } from './PressEvent';
9
- export { PressEvent, type PointerType } from './PressEvent';
10
- export type { IPressEvent, PressEventType } from './PressEvent';
7
+ import { JSX, Accessor } from "solid-js";
8
+ import { PressEvent } from "./PressEvent";
9
+ export { PressEvent, type PointerType } from "./PressEvent";
10
+ export type { IPressEvent, PressEventType } from "./PressEvent";
11
11
  export interface CreatePressProps {
12
12
  /** Whether the target is currently disabled. */
13
13
  isDisabled?: Accessor<boolean> | boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"createPress.d.ts","sourceRoot":"","sources":["../../src/interactions/createPress.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAgB,GAAG,EAAE,QAAQ,EAAa,MAAM,UAAU,CAAC;AAClE,OAAO,EAAE,UAAU,EAAwD,MAAM,cAAc,CAAC;AAsBhG,OAAO,EAAE,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAC5D,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,UAAU,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACzC,iEAAiE;IACjE,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,sDAAsD;IACtD,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,+GAA+G;IAC/G,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,mDAAmD;IACnD,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,uEAAuE;IACvE,SAAS,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACxC,8CAA8C;IAC9C,mBAAm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AAK,IAAI,CAAC;IAC7C;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,uEAAuE;IACvE,SAAS,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACxC,8CAA8C;IAC9C,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,yEAAyE;IACzE,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,6DAA6D;IAC7D,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,MAAM,WAAW,WAAW;IAC1B,+CAA+C;IAC/C,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC7B,6CAA6C;IAC7C,UAAU,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAC7C;AAyDD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,GAAE,gBAAqB,GAAG,WAAW,CAgyBrE"}
@@ -1,13 +1,13 @@
1
- export { createPress, type CreatePressProps, type PressResult } from './createPress';
2
- export { PressEvent, type IPressEvent, type PressEventType } from './PressEvent';
3
- export { createLongPress, type LongPressProps, type LongPressResult, type LongPressEvent, } from './createLongPress';
4
- export { createMove, type MoveEvents, type MoveResult, type MoveStartEvent, type MoveMoveEvent, type MoveEndEvent } from './createMove';
5
- export { createFocus, type CreateFocusProps, type FocusResult, type FocusEvents } from './createFocus';
6
- export { createFocusWithin, type FocusWithinProps, type FocusWithinResult, } from './createFocusWithin';
7
- export { createFocusable, FocusableContext, type CreateFocusableProps, type FocusableResult, type FocusableContextValue, type FocusableProviderProps, type FocusableProps, type FocusableDOMProps, } from './createFocusable';
8
- export { FocusableProvider } from './FocusableProvider';
9
- export { createFocusRing, type FocusRingProps, type FocusRingResult, } from './createFocusRing';
10
- export { createInteractionModality, createFocusVisible, createFocusVisibleListener, addWindowFocusTracking, isFocusVisible, getInteractionModality, setInteractionModality, getPointerType, setupGlobalFocusListeners, addModalityListener, useIsKeyboardFocused, type Modality, type PointerType, type FocusVisibleProps, type FocusVisibleResult, type FocusVisibleHandler, type InteractionModalityResult, } from './createInteractionModality';
11
- export { createHover, type CreateHoverProps, type HoverProps, type HoverResult, type HoverEvent, type HoverEvents, } from './createHover';
12
- export { createKeyboard, type CreateKeyboardProps, type KeyboardResult, type KeyboardEvents, type KeyboardEvent, } from './createKeyboard';
1
+ export { createPress, type CreatePressProps, type PressResult } from "./createPress";
2
+ export { PressEvent, type IPressEvent, type PressEventType } from "./PressEvent";
3
+ export { createLongPress, type LongPressProps, type LongPressResult, type LongPressEvent, } from "./createLongPress";
4
+ export { createMove, type MoveEvents, type MoveResult, type MoveStartEvent, type MoveMoveEvent, type MoveEndEvent, } from "./createMove";
5
+ export { createFocus, type CreateFocusProps, type FocusResult, type FocusEvents, } from "./createFocus";
6
+ export { createFocusWithin, type FocusWithinProps, type FocusWithinResult, } from "./createFocusWithin";
7
+ export { createFocusable, FocusableContext, type CreateFocusableProps, type FocusableResult, type FocusableContextValue, type FocusableProviderProps, type FocusableProps, type FocusableDOMProps, } from "./createFocusable";
8
+ export { FocusableProvider } from "./FocusableProvider";
9
+ export { createFocusRing, type FocusRingProps, type FocusRingResult } from "./createFocusRing";
10
+ export { createInteractionModality, createFocusVisible, createFocusVisibleListener, addWindowFocusTracking, isFocusVisible, getInteractionModality, setInteractionModality, getPointerType, setupGlobalFocusListeners, addModalityListener, useIsKeyboardFocused, type Modality, type PointerType, type FocusVisibleProps, type FocusVisibleResult, type FocusVisibleHandler, type InteractionModalityResult, } from "./createInteractionModality";
11
+ export { createHover, type CreateHoverProps, type HoverProps, type HoverResult, type HoverEvent, type HoverEvents, } from "./createHover";
12
+ export { createKeyboard, type CreateKeyboardProps, type KeyboardResult, type KeyboardEvents, type KeyboardEvent, } from "./createKeyboard";
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interactions/index.ts"],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C/B,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,GACjB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interactions/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGjF,OAAO,EACL,eAAe,EACf,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,UAAU,EACV,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,WAAW,GACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG/F,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,cAAc,EACd,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,GAC/B,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,GACjB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { n as PressEvent, t as createPress } from "../_chunk/createPress.js";
2
+ import { t as createLongPress } from "../_chunk/createLongPress.js";
3
+ import { n as createMove, t as FocusableProvider } from "../_chunk/interactions.js";
4
+ import { t as createFocus } from "../_chunk/createFocus.js";
5
+ import { t as createFocusWithin } from "../_chunk/createFocusWithin.js";
6
+ import { n as createFocusable, r as createKeyboard, t as FocusableContext } from "../_chunk/createFocusable.js";
7
+ import { a as createInteractionModality, c as isFocusVisible, d as useIsKeyboardFocused, i as createFocusVisibleListener, l as setInteractionModality, n as addWindowFocusTracking, o as getInteractionModality, r as createFocusVisible, s as getPointerType, t as addModalityListener, u as setupGlobalFocusListeners } from "../_chunk/createInteractionModality.js";
8
+ import { t as createFocusRing } from "../_chunk/createFocusRing.js";
9
+ import { t as createHover } from "../_chunk/createHover.js";
10
+ export { FocusableContext, FocusableProvider, PressEvent, addModalityListener, addWindowFocusTracking, createFocus, createFocusRing, createFocusVisible, createFocusVisibleListener, createFocusWithin, createFocusable, createHover, createInteractionModality, createKeyboard, createLongPress, createMove, createPress, getInteractionModality, getPointerType, isFocusVisible, setInteractionModality, setupGlobalFocusListeners, useIsKeyboardFocused };
@@ -0,0 +1,10 @@
1
+ import { n as PressEvent, t as createPress } from "../_chunk/createPress.jsx";
2
+ import { t as createLongPress } from "../_chunk/createLongPress.jsx";
3
+ import { n as createMove, t as FocusableProvider } from "../_chunk/interactions.jsx";
4
+ import { t as createFocus } from "../_chunk/createFocus.jsx";
5
+ import { t as createFocusWithin } from "../_chunk/createFocusWithin.jsx";
6
+ import { n as createFocusable, r as createKeyboard, t as FocusableContext } from "../_chunk/createFocusable.jsx";
7
+ import { a as createInteractionModality, c as isFocusVisible, d as useIsKeyboardFocused, i as createFocusVisibleListener, l as setInteractionModality, n as addWindowFocusTracking, o as getInteractionModality, r as createFocusVisible, s as getPointerType, t as addModalityListener, u as setupGlobalFocusListeners } from "../_chunk/createInteractionModality.jsx";
8
+ import { t as createFocusRing } from "../_chunk/createFocusRing.jsx";
9
+ import { t as createHover } from "../_chunk/createHover.jsx";
10
+ export { FocusableContext, FocusableProvider, PressEvent, addModalityListener, addWindowFocusTracking, createFocus, createFocusRing, createFocusVisible, createFocusVisibleListener, createFocusWithin, createFocusable, createHover, createInteractionModality, createKeyboard, createLongPress, createMove, createPress, getInteractionModality, getPointerType, isFocusVisible, setInteractionModality, setupGlobalFocusListeners, useIsKeyboardFocused };
@@ -7,9 +7,9 @@
7
7
  *
8
8
  * This is a 1:1 port of @react-aria/label's useField hook.
9
9
  */
10
- import { JSX } from 'solid-js';
11
- import { type LabelAriaProps, type LabelAria } from './createLabel';
12
- import { type MaybeAccessor } from '../utils/reactivity';
10
+ import { JSX } from "solid-js";
11
+ import { type LabelAriaProps, type LabelAria } from "./createLabel";
12
+ import { type MaybeAccessor } from "../utils/reactivity";
13
13
  export interface HelpTextProps {
14
14
  /** A description for the field. Provides a hint such as specific requirements for what to choose. */
15
15
  description?: JSX.Element;
@@ -32,7 +32,7 @@ export interface Validation<T> {
32
32
  /** A function that returns an error message if a given value is invalid. */
33
33
  validate?: (value: T) => string | string[] | true | null | undefined;
34
34
  }
35
- export interface AriaFieldProps extends LabelAriaProps, HelpTextProps, Omit<Validation<any>, 'isRequired'> {
35
+ export interface AriaFieldProps extends LabelAriaProps, HelpTextProps, Omit<Validation<any>, "isRequired"> {
36
36
  }
37
37
  export interface FieldAria extends LabelAria {
38
38
  /** Props for the description element, if any. */
@@ -1 +1 @@
1
- {"version":3,"file":"createField.d.ts","sourceRoot":"","sources":["../../src/label/createField.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,OAAO,EAAe,KAAK,cAAc,EAAE,KAAK,SAAS,EAAyC,MAAM,eAAe,CAAC;AAExH,OAAO,EAAE,KAAK,aAAa,EAAU,MAAM,qBAAqB,CAAC;AAMjE,MAAM,WAAW,aAAa;IAC5B,qGAAqG;IACrG,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,sCAAsC;IACtC,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,CAAC,CAAC,UAAU,EAAE,gBAAgB,KAAK,GAAG,CAAC,OAAO,CAAC,CAAC;CAC9E;AAED,MAAM,WAAW,gBAAgB;IAC/B,0CAA0C;IAC1C,SAAS,EAAE,OAAO,CAAC;IACnB,2FAA2F;IAC3F,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,+CAA+C;IAC/C,iBAAiB,EAAE,aAAa,CAAC;CAClC;AAED,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,E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CAAC;IACpB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,EAAE,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;CACtE;AAED,MAAM,WAAW,cACf,SAAQ,cAAc,EAAE,aAAa,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,YAAY,CAAC;CAAG;AAE/E,MAAM,WAAW,SAAU,SAAQ,SAAS;IAC1C,iDAAiD;IACjD,gBAAgB,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAClD,mDAAmD;IACnD,iBAAiB,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CACpD;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,SAAS,CA+E3E"}
@@ -6,17 +6,17 @@
6
6
  *
7
7
  * This is a 1:1 port of @react-aria/label's useLabel hook.
8
8
  */
9
- import { JSX } from 'solid-js';
10
- import { type MaybeAccessor } from '../utils/reactivity';
9
+ import { JSX } from "solid-js";
10
+ import { type MaybeAccessor } from "../utils/reactivity";
11
11
  export interface AriaLabelingProps {
12
12
  /** Defines a string value that labels the current element. */
13
- 'aria-label'?: string;
13
+ "aria-label"?: string;
14
14
  /** Identifies the element (or elements) that labels the current element. */
15
- 'aria-labelledby'?: string;
15
+ "aria-labelledby"?: string;
16
16
  /** Identifies the element (or elements) that describes the object. */
17
- 'aria-describedby'?: string;
17
+ "aria-describedby"?: string;
18
18
  /** Identifies the element (or elements) that provide a detailed, extended description for the object. */
19
- 'aria-details'?: string;
19
+ "aria-details"?: string;
20
20
  }
21
21
  export interface LabelableProps {
22
22
  /** The content to display as the label. */
@@ -31,7 +31,7 @@ export interface LabelAriaProps extends LabelableProps, DOMProps, AriaLabelingPr
31
31
  * The HTML element used to render the label, e.g. 'label', or 'span'.
32
32
  * @default 'label'
33
33
  */
34
- labelElementType?: 'label' | 'span' | 'div';
34
+ labelElementType?: "label" | "span" | "div";
35
35
  }
36
36
  export interface LabelAria {
37
37
  /** Props to apply to the label container element. */
@@ -1 +1 @@
1
- {"version":3,"file":"createLabel.d.ts","sourceRoot":"","sources":["../../src/label/createLabel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAG/B,OAAO,EAAE,KAAK,aAAa,EAAU,MAAM,qBAAqB,CAAC;AAOjE,MAAM,WAAW,iBAAiB;IAChC,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yGAAyG;IACzG,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,uCAAuC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,cAAe,SAAQ,cAAc,EAAE,QAAQ,EAAE,iBAAiB;IACjF;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;CAC7C;AAED,MAAM,WAAW,SAAS;IACxB,qDAAqD;IACrD,UAAU,EAAE,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IAC5F,mEAAmE;IACnE,UAAU,EAAE,iBAAiB,GAAG,QAAQ,CAAC;CAC1C;AAMD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,SAAS,CAmD3E"}
1
+ {"version":3,"file":"createLabel.d.ts","sourceRoot":"","sources":["../../src/label/createLabel.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAG/B,OAAO,EAAE,KAAK,aAAa,EAAU,MAAM,qBAAqB,CAAC;AAGjE,MAAM,WAAW,iBAAiB;IAChC,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yGAAyG;IACzG,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,uCAAuC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,cAAe,SAAQ,cAAc,EAAE,QAAQ,EAAE,iBAAiB;IACjF;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;CAC7C;AAED,MAAM,WAAW,SAAS;IACxB,qDAAqD;IACrD,UAAU,EAAE,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IAC5F,mEAAmE;IACnE,UAAU,EAAE,iBAAiB,GAAG,QAAQ,CAAC;CAC1C;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,GAAG,SAAS,CA+C3E"}
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * This is a 1:1 port of @react-aria/utils's useLabels hook.
7
7
  */
8
- import type { AriaLabelingProps, DOMProps } from './createLabel';
8
+ import type { AriaLabelingProps, DOMProps } from "./createLabel";
9
9
  /**
10
10
  * Merges aria-label and aria-labelledby into aria-labelledby when both exist.
11
11
  *
@@ -1 +1 @@
1
- {"version":3,"file":"createLabels.d.ts","sourceRoot":"","sources":["../../src/label/createLabels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEjE;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,QAAQ,GAAG,iBAAiB,EACnC,YAAY,CAAC,EAAE,MAAM,GACpB,QAAQ,GAAG,iBAAiB,CA6B9B"}
1
+ {"version":3,"file":"createLabels.d.ts","sourceRoot":"","sources":["../../src/label/createLabels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEjE;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,QAAQ,GAAG,iBAAiB,EACnC,YAAY,CAAC,EAAE,MAAM,GACpB,QAAQ,GAAG,iBAAiB,CAyB9B"}
@@ -1,6 +1,6 @@
1
- export { createLabel } from './createLabel';
2
- export type { LabelAriaProps, LabelAria, AriaLabelingProps, LabelableProps, DOMProps, } from './createLabel';
3
- export { createField } from './createField';
4
- export type { AriaFieldProps, FieldAria, HelpTextProps, ValidationResult, Validation, } from './createField';
5
- export { createLabels } from './createLabels';
1
+ export { createLabel } from "./createLabel";
2
+ export type { LabelAriaProps, LabelAria, AriaLabelingProps, LabelableProps, DOMProps, } from "./createLabel";
3
+ export { createField } from "./createField";
4
+ export type { AriaFieldProps, FieldAria, HelpTextProps, ValidationResult, Validation, } from "./createField";
5
+ export { createLabels } from "./createLabels";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { t as createLabels } from "../_chunk/createLabels.js";
2
+ import { t as createLabel } from "../_chunk/createLabel.js";
3
+ import { t as createField } from "../_chunk/createField.js";
4
+ export { createField, createLabel, createLabels };
@@ -0,0 +1,4 @@
1
+ import { t as createLabels } from "../_chunk/createLabels.jsx";
2
+ import { t as createLabel } from "../_chunk/createLabel.jsx";
3
+ import { t as createField } from "../_chunk/createField.jsx";
4
+ export { createField, createLabel, createLabels };