@proyecto-viviana/solidaria 0.4.0 → 0.4.1

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 (480) hide show
  1. package/dist/_chunk/DragManager.js +627 -0
  2. package/dist/_chunk/DragManager.js.map +1 -0
  3. package/dist/_chunk/DragManager.jsx +627 -0
  4. package/dist/_chunk/DragManager.jsx.map +1 -0
  5. package/dist/_chunk/FocusScope.js +400 -0
  6. package/dist/_chunk/FocusScope.js.map +1 -0
  7. package/dist/_chunk/FocusScope.jsx +375 -0
  8. package/dist/_chunk/FocusScope.jsx.map +1 -0
  9. package/dist/_chunk/actiongroup.js +13 -79
  10. package/dist/_chunk/actiongroup.js.map +1 -1
  11. package/dist/_chunk/actiongroup.jsx +13 -79
  12. package/dist/_chunk/actiongroup.jsx.map +1 -1
  13. package/dist/_chunk/{live-announcer.js → announce.js} +1 -1
  14. package/dist/_chunk/announce.js.map +1 -0
  15. package/dist/_chunk/{live-announcer.jsx → announce.jsx} +1 -1
  16. package/dist/_chunk/announce.jsx.map +1 -0
  17. package/dist/_chunk/autocomplete.js +56 -8
  18. package/dist/_chunk/autocomplete.js.map +1 -1
  19. package/dist/_chunk/autocomplete.jsx +56 -8
  20. package/dist/_chunk/autocomplete.jsx.map +1 -1
  21. package/dist/_chunk/breadcrumbs.js +6 -4
  22. package/dist/_chunk/breadcrumbs.js.map +1 -1
  23. package/dist/_chunk/breadcrumbs.jsx +6 -4
  24. package/dist/_chunk/breadcrumbs.jsx.map +1 -1
  25. package/dist/_chunk/button.js +8 -9
  26. package/dist/_chunk/button.js.map +1 -1
  27. package/dist/_chunk/button.jsx +8 -9
  28. package/dist/_chunk/button.jsx.map +1 -1
  29. package/dist/_chunk/calendar.js +27 -26
  30. package/dist/_chunk/calendar.js.map +1 -1
  31. package/dist/_chunk/calendar.jsx +27 -26
  32. package/dist/_chunk/calendar.jsx.map +1 -1
  33. package/dist/_chunk/checkbox.js +5 -4
  34. package/dist/_chunk/checkbox.js.map +1 -1
  35. package/dist/_chunk/checkbox.jsx +5 -4
  36. package/dist/_chunk/checkbox.jsx.map +1 -1
  37. package/dist/_chunk/color.js +302 -18
  38. package/dist/_chunk/color.js.map +1 -1
  39. package/dist/_chunk/color.jsx +302 -18
  40. package/dist/_chunk/color.jsx.map +1 -1
  41. package/dist/_chunk/combobox.js +638 -12
  42. package/dist/_chunk/combobox.js.map +1 -1
  43. package/dist/_chunk/combobox.jsx +638 -12
  44. package/dist/_chunk/combobox.jsx.map +1 -1
  45. package/dist/_chunk/constants.js +19 -0
  46. package/dist/_chunk/constants.js.map +1 -0
  47. package/dist/_chunk/constants.jsx +19 -0
  48. package/dist/_chunk/constants.jsx.map +1 -0
  49. package/dist/_chunk/createCollator.js +3 -171
  50. package/dist/_chunk/createCollator.js.map +1 -1
  51. package/dist/_chunk/createCollator.jsx +3 -165
  52. package/dist/_chunk/createCollator.jsx.map +1 -1
  53. package/dist/_chunk/createField.js +2 -1
  54. package/dist/_chunk/createField.js.map +1 -1
  55. package/dist/_chunk/createField.jsx +2 -1
  56. package/dist/_chunk/createField.jsx.map +1 -1
  57. package/dist/_chunk/createFocus.js +12 -8
  58. package/dist/_chunk/createFocus.js.map +1 -1
  59. package/dist/_chunk/createFocus.jsx +12 -8
  60. package/dist/_chunk/createFocus.jsx.map +1 -1
  61. package/dist/_chunk/createFocusWithin.js +12 -13
  62. package/dist/_chunk/createFocusWithin.js.map +1 -1
  63. package/dist/_chunk/createFocusWithin.jsx +12 -13
  64. package/dist/_chunk/createFocusWithin.jsx.map +1 -1
  65. package/dist/_chunk/createFocusable.js +3 -3
  66. package/dist/_chunk/createFocusable.js.map +1 -1
  67. package/dist/_chunk/createFocusable.jsx +3 -3
  68. package/dist/_chunk/createFocusable.jsx.map +1 -1
  69. package/dist/_chunk/{form.js → createFormReset.js} +1 -1
  70. package/dist/_chunk/createFormReset.js.map +1 -0
  71. package/dist/_chunk/{form.jsx → createFormReset.jsx} +1 -1
  72. package/dist/_chunk/createFormReset.jsx.map +1 -0
  73. package/dist/_chunk/createHover.js +2 -1
  74. package/dist/_chunk/createHover.js.map +1 -1
  75. package/dist/_chunk/createHover.jsx +2 -1
  76. package/dist/_chunk/createHover.jsx.map +1 -1
  77. package/dist/_chunk/createInteractionModality.js +2 -3
  78. package/dist/_chunk/createInteractionModality.js.map +1 -1
  79. package/dist/_chunk/createInteractionModality.jsx +2 -3
  80. package/dist/_chunk/createInteractionModality.jsx.map +1 -1
  81. package/dist/_chunk/createLabel.js +2 -1
  82. package/dist/_chunk/createLabel.js.map +1 -1
  83. package/dist/_chunk/createLabel.jsx +2 -1
  84. package/dist/_chunk/createLabel.jsx.map +1 -1
  85. package/dist/_chunk/createLabels.js +3 -2
  86. package/dist/_chunk/createLabels.js.map +1 -1
  87. package/dist/_chunk/createLabels.jsx +3 -2
  88. package/dist/_chunk/createLabels.jsx.map +1 -1
  89. package/dist/_chunk/createLandmark.js +1 -1
  90. package/dist/_chunk/createLandmark.jsx +1 -1
  91. package/dist/_chunk/createProgressBar.js +2 -1
  92. package/dist/_chunk/createProgressBar.js.map +1 -1
  93. package/dist/_chunk/createProgressBar.jsx +2 -1
  94. package/dist/_chunk/createProgressBar.jsx.map +1 -1
  95. package/dist/_chunk/createSelectableItem.js +7 -3
  96. package/dist/_chunk/createSelectableItem.js.map +1 -1
  97. package/dist/_chunk/createSelectableItem.jsx +7 -3
  98. package/dist/_chunk/createSelectableItem.jsx.map +1 -1
  99. package/dist/_chunk/createStringFormatter.js +61 -0
  100. package/dist/_chunk/createStringFormatter.js.map +1 -0
  101. package/dist/_chunk/createStringFormatter.jsx +61 -0
  102. package/dist/_chunk/createStringFormatter.jsx.map +1 -0
  103. package/dist/_chunk/createToggle.js +5 -4
  104. package/dist/_chunk/createToggle.js.map +1 -1
  105. package/dist/_chunk/createToggle.jsx +5 -4
  106. package/dist/_chunk/createToggle.jsx.map +1 -1
  107. package/dist/_chunk/datepicker.js +1413 -1100
  108. package/dist/_chunk/datepicker.js.map +1 -1
  109. package/dist/_chunk/datepicker.jsx +1413 -1100
  110. package/dist/_chunk/datepicker.jsx.map +1 -1
  111. package/dist/_chunk/disclosure.js +2 -2
  112. package/dist/_chunk/disclosure.js.map +1 -1
  113. package/dist/_chunk/disclosure.jsx +2 -2
  114. package/dist/_chunk/disclosure.jsx.map +1 -1
  115. package/dist/_chunk/dnd.js +1586 -495
  116. package/dist/_chunk/dnd.js.map +1 -1
  117. package/dist/_chunk/dnd.jsx +1586 -495
  118. package/dist/_chunk/dnd.jsx.map +1 -1
  119. package/dist/_chunk/env.js +1 -19
  120. package/dist/_chunk/env.js.map +1 -1
  121. package/dist/_chunk/env.jsx +1 -19
  122. package/dist/_chunk/env.jsx.map +1 -1
  123. package/dist/_chunk/focus.js +1 -1
  124. package/dist/_chunk/focus.js.map +1 -1
  125. package/dist/_chunk/focus.jsx +1 -1
  126. package/dist/_chunk/focus.jsx.map +1 -1
  127. package/dist/_chunk/focus2.js +54 -318
  128. package/dist/_chunk/focus2.js.map +1 -1
  129. package/dist/_chunk/focus2.jsx +53 -292
  130. package/dist/_chunk/focus2.jsx.map +1 -1
  131. package/dist/_chunk/grid.js +1 -1
  132. package/dist/_chunk/grid.jsx +1 -1
  133. package/dist/_chunk/gridlist.js +14 -9
  134. package/dist/_chunk/gridlist.js.map +1 -1
  135. package/dist/_chunk/gridlist.jsx +14 -9
  136. package/dist/_chunk/gridlist.jsx.map +1 -1
  137. package/dist/_chunk/i18n.js +3 -58
  138. package/dist/_chunk/i18n.js.map +1 -1
  139. package/dist/_chunk/i18n.jsx +3 -58
  140. package/dist/_chunk/i18n.jsx.map +1 -1
  141. package/dist/_chunk/interactions.js +99 -9
  142. package/dist/_chunk/interactions.js.map +1 -1
  143. package/dist/_chunk/interactions.jsx +97 -9
  144. package/dist/_chunk/interactions.jsx.map +1 -1
  145. package/dist/_chunk/link.js +2 -1
  146. package/dist/_chunk/link.js.map +1 -1
  147. package/dist/_chunk/link.jsx +2 -1
  148. package/dist/_chunk/link.jsx.map +1 -1
  149. package/dist/_chunk/listbox.js +42 -10
  150. package/dist/_chunk/listbox.js.map +1 -1
  151. package/dist/_chunk/listbox.jsx +42 -10
  152. package/dist/_chunk/listbox.jsx.map +1 -1
  153. package/dist/_chunk/locale.js +173 -0
  154. package/dist/_chunk/locale.js.map +1 -0
  155. package/dist/_chunk/locale.jsx +167 -0
  156. package/dist/_chunk/locale.jsx.map +1 -0
  157. package/dist/_chunk/menu.js +5 -4
  158. package/dist/_chunk/menu.js.map +1 -1
  159. package/dist/_chunk/menu.jsx +5 -4
  160. package/dist/_chunk/menu.jsx.map +1 -1
  161. package/dist/_chunk/numberfield.js +3 -2
  162. package/dist/_chunk/numberfield.js.map +1 -1
  163. package/dist/_chunk/numberfield.jsx +3 -2
  164. package/dist/_chunk/numberfield.jsx.map +1 -1
  165. package/dist/_chunk/overlays.js +1 -1
  166. package/dist/_chunk/overlays.jsx +1 -1
  167. package/dist/_chunk/popover.js +3 -3
  168. package/dist/_chunk/popover.js.map +1 -1
  169. package/dist/_chunk/popover.jsx +3 -3
  170. package/dist/_chunk/popover.jsx.map +1 -1
  171. package/dist/_chunk/radio.js +7 -6
  172. package/dist/_chunk/radio.js.map +1 -1
  173. package/dist/_chunk/radio.jsx +7 -6
  174. package/dist/_chunk/radio.jsx.map +1 -1
  175. package/dist/_chunk/reactivity.js +21 -0
  176. package/dist/_chunk/reactivity.js.map +1 -0
  177. package/dist/_chunk/reactivity.jsx +21 -0
  178. package/dist/_chunk/reactivity.jsx.map +1 -0
  179. package/dist/_chunk/searchfield.js +2 -1
  180. package/dist/_chunk/searchfield.js.map +1 -1
  181. package/dist/_chunk/searchfield.jsx +2 -1
  182. package/dist/_chunk/searchfield.jsx.map +1 -1
  183. package/dist/_chunk/select.js +8 -5
  184. package/dist/_chunk/select.js.map +1 -1
  185. package/dist/_chunk/select.jsx +8 -5
  186. package/dist/_chunk/select.jsx.map +1 -1
  187. package/dist/_chunk/selection.js +8 -21
  188. package/dist/_chunk/selection.js.map +1 -1
  189. package/dist/_chunk/selection.jsx +8 -21
  190. package/dist/_chunk/selection.jsx.map +1 -1
  191. package/dist/_chunk/separator.js +1 -1
  192. package/dist/_chunk/separator.jsx +1 -1
  193. package/dist/_chunk/slider.js +5 -4
  194. package/dist/_chunk/slider.js.map +1 -1
  195. package/dist/_chunk/slider.jsx +5 -4
  196. package/dist/_chunk/slider.jsx.map +1 -1
  197. package/dist/_chunk/spinbutton.js +153 -0
  198. package/dist/_chunk/spinbutton.js.map +1 -0
  199. package/dist/_chunk/spinbutton.jsx +153 -0
  200. package/dist/_chunk/spinbutton.jsx.map +1 -0
  201. package/dist/_chunk/table.js +45 -8
  202. package/dist/_chunk/table.js.map +1 -1
  203. package/dist/_chunk/table.jsx +45 -8
  204. package/dist/_chunk/table.jsx.map +1 -1
  205. package/dist/_chunk/tabs.js +11 -8
  206. package/dist/_chunk/tabs.js.map +1 -1
  207. package/dist/_chunk/tabs.jsx +11 -8
  208. package/dist/_chunk/tabs.jsx.map +1 -1
  209. package/dist/_chunk/tag.js +54 -18
  210. package/dist/_chunk/tag.js.map +1 -1
  211. package/dist/_chunk/tag.jsx +54 -18
  212. package/dist/_chunk/tag.jsx.map +1 -1
  213. package/dist/_chunk/textfield.js +2 -1
  214. package/dist/_chunk/textfield.js.map +1 -1
  215. package/dist/_chunk/textfield.jsx +2 -1
  216. package/dist/_chunk/textfield.jsx.map +1 -1
  217. package/dist/_chunk/toolbar.js +4 -36
  218. package/dist/_chunk/toolbar.js.map +1 -1
  219. package/dist/_chunk/toolbar.jsx +4 -36
  220. package/dist/_chunk/toolbar.jsx.map +1 -1
  221. package/dist/_chunk/tooltip.js +2 -2
  222. package/dist/_chunk/tooltip.js.map +1 -1
  223. package/dist/_chunk/tooltip.jsx +2 -2
  224. package/dist/_chunk/tooltip.jsx.map +1 -1
  225. package/dist/_chunk/tree.js +42 -14
  226. package/dist/_chunk/tree.js.map +1 -1
  227. package/dist/_chunk/tree.jsx +42 -14
  228. package/dist/_chunk/tree.jsx.map +1 -1
  229. package/dist/_chunk/utils.js +59 -19
  230. package/dist/_chunk/utils.js.map +1 -1
  231. package/dist/_chunk/utils.jsx +59 -19
  232. package/dist/_chunk/utils.jsx.map +1 -1
  233. package/dist/_chunk/visually-hidden.js +3 -2
  234. package/dist/_chunk/visually-hidden.js.map +1 -1
  235. package/dist/_chunk/visually-hidden.jsx +3 -2
  236. package/dist/_chunk/visually-hidden.jsx.map +1 -1
  237. package/dist/actiongroup/createActionGroup.d.ts.map +1 -1
  238. package/dist/autocomplete/createAutocomplete.d.ts +10 -7
  239. package/dist/autocomplete/createAutocomplete.d.ts.map +1 -1
  240. package/dist/breadcrumbs/createBreadcrumbs.d.ts.map +1 -1
  241. package/dist/button/createToggleButtonGroup.d.ts.map +1 -1
  242. package/dist/calendar/createCalendar.d.ts.map +1 -1
  243. package/dist/calendar/createCalendarCell.d.ts.map +1 -1
  244. package/dist/calendar/createCalendarGrid.d.ts.map +1 -1
  245. package/dist/calendar/createRangeCalendar.d.ts.map +1 -1
  246. package/dist/calendar/createRangeCalendarCell.d.ts.map +1 -1
  247. package/dist/calendar/intl/index.d.ts +1 -1
  248. package/dist/calendar/intl/index.d.ts.map +1 -1
  249. package/dist/collections/index.js +1 -1
  250. package/dist/collections/index.jsx +1 -1
  251. package/dist/color/createColorArea.d.ts.map +1 -1
  252. package/dist/color/createColorField.d.ts.map +1 -1
  253. package/dist/color/createColorSlider.d.ts.map +1 -1
  254. package/dist/color/createColorSwatch.d.ts.map +1 -1
  255. package/dist/color/createColorWheel.d.ts.map +1 -1
  256. package/dist/color/intl/index.d.ts +30 -0
  257. package/dist/color/intl/index.d.ts.map +1 -0
  258. package/dist/combobox/createComboBox.d.ts.map +1 -1
  259. package/dist/combobox/intl/generated-locales.d.ts +16 -0
  260. package/dist/combobox/intl/generated-locales.d.ts.map +1 -0
  261. package/dist/combobox/intl/index.d.ts +2 -2
  262. package/dist/combobox/intl/index.d.ts.map +1 -1
  263. package/dist/datepicker/createDateField.d.ts +45 -23
  264. package/dist/datepicker/createDateField.d.ts.map +1 -1
  265. package/dist/datepicker/createDatePicker.d.ts +34 -6
  266. package/dist/datepicker/createDatePicker.d.ts.map +1 -1
  267. package/dist/datepicker/createDatePickerGroup.d.ts +13 -13
  268. package/dist/datepicker/createDatePickerGroup.d.ts.map +1 -1
  269. package/dist/datepicker/createDateRangePicker.d.ts +55 -7
  270. package/dist/datepicker/createDateRangePicker.d.ts.map +1 -1
  271. package/dist/datepicker/createDateSegment.d.ts +6 -15
  272. package/dist/datepicker/createDateSegment.d.ts.map +1 -1
  273. package/dist/datepicker/createDisplayNames.d.ts +17 -0
  274. package/dist/datepicker/createDisplayNames.d.ts.map +1 -0
  275. package/dist/datepicker/createTimeField.d.ts +12 -49
  276. package/dist/datepicker/createTimeField.d.ts.map +1 -1
  277. package/dist/datepicker/index.d.ts +3 -3
  278. package/dist/datepicker/index.d.ts.map +1 -1
  279. package/dist/datepicker/index.js +2 -2
  280. package/dist/datepicker/index.jsx +2 -2
  281. package/dist/datepicker/intl.d.ts +12 -0
  282. package/dist/datepicker/intl.d.ts.map +1 -0
  283. package/dist/dnd/DragManager.d.ts +86 -0
  284. package/dist/dnd/DragManager.d.ts.map +1 -0
  285. package/dist/dnd/DropTargetKeyboardNavigation.d.ts +42 -0
  286. package/dist/dnd/DropTargetKeyboardNavigation.d.ts.map +1 -0
  287. package/dist/dnd/createDrag.d.ts.map +1 -1
  288. package/dist/dnd/createDraggableCollection.d.ts.map +1 -1
  289. package/dist/dnd/createDraggableItem.d.ts +12 -7
  290. package/dist/dnd/createDraggableItem.d.ts.map +1 -1
  291. package/dist/dnd/createDroppableCollection.d.ts +7 -15
  292. package/dist/dnd/createDroppableCollection.d.ts.map +1 -1
  293. package/dist/dnd/index.d.ts +5 -1
  294. package/dist/dnd/index.d.ts.map +1 -1
  295. package/dist/dnd/index.js +3 -2
  296. package/dist/dnd/index.jsx +3 -2
  297. package/dist/dnd/intl/index.d.ts +39 -0
  298. package/dist/dnd/intl/index.d.ts.map +1 -0
  299. package/dist/dnd/utils.d.ts +5 -0
  300. package/dist/dnd/utils.d.ts.map +1 -1
  301. package/dist/focus/FocusScope.d.ts +7 -0
  302. package/dist/focus/FocusScope.d.ts.map +1 -1
  303. package/dist/focus/index.d.ts +2 -1
  304. package/dist/focus/index.d.ts.map +1 -1
  305. package/dist/focus/index.js +3 -2
  306. package/dist/focus/index.jsx +3 -2
  307. package/dist/focus/virtualFocus.d.ts +26 -0
  308. package/dist/focus/virtualFocus.d.ts.map +1 -0
  309. package/dist/form/index.js +1 -1
  310. package/dist/form/index.jsx +1 -1
  311. package/dist/gridlist/createGridList.d.ts.map +1 -1
  312. package/dist/i18n/index.js +4 -2
  313. package/dist/i18n/index.jsx +4 -2
  314. package/dist/index.d.ts +3 -3
  315. package/dist/index.d.ts.map +1 -1
  316. package/dist/index.js +18 -12
  317. package/dist/index.jsx +18 -12
  318. package/dist/interactions/FocusableProvider.d.ts.map +1 -1
  319. package/dist/interactions/createFocus.d.ts.map +1 -1
  320. package/dist/interactions/createFocusWithin.d.ts.map +1 -1
  321. package/dist/interactions/createInteractionModality.d.ts.map +1 -1
  322. package/dist/interactions/index.js +1 -2
  323. package/dist/interactions/index.jsx +1 -2
  324. package/dist/label/createLabels.d.ts.map +1 -1
  325. package/dist/listbox/createListBox.d.ts.map +1 -1
  326. package/dist/listbox/createOption.d.ts +1 -1
  327. package/dist/listbox/createOption.d.ts.map +1 -1
  328. package/dist/live-announcer/index.js +1 -1
  329. package/dist/live-announcer/index.jsx +1 -1
  330. package/dist/select/createSelect.d.ts +2 -0
  331. package/dist/select/createSelect.d.ts.map +1 -1
  332. package/dist/selection/createSelectableItem.d.ts.map +1 -1
  333. package/dist/selection/index.js +2 -1
  334. package/dist/selection/index.jsx +2 -1
  335. package/dist/spinbutton/createSpinButton.d.ts +41 -0
  336. package/dist/spinbutton/createSpinButton.d.ts.map +1 -0
  337. package/dist/spinbutton/index.d.ts +3 -0
  338. package/dist/spinbutton/index.d.ts.map +1 -0
  339. package/dist/spinbutton/index.js +2 -0
  340. package/dist/spinbutton/index.jsx +2 -0
  341. package/dist/spinbutton/intl.d.ts +5 -0
  342. package/dist/spinbutton/intl.d.ts.map +1 -0
  343. package/dist/table/createTable.d.ts.map +1 -1
  344. package/dist/table/createTableColumnHeader.d.ts.map +1 -1
  345. package/dist/table/createTableRow.d.ts.map +1 -1
  346. package/dist/table/createTableSelectionCheckbox.d.ts.map +1 -1
  347. package/dist/table/types.d.ts +8 -0
  348. package/dist/table/types.d.ts.map +1 -1
  349. package/dist/table/utils.d.ts +15 -0
  350. package/dist/table/utils.d.ts.map +1 -0
  351. package/dist/tabs/createTabs.d.ts +1 -0
  352. package/dist/tabs/createTabs.d.ts.map +1 -1
  353. package/dist/tag/createTag.d.ts.map +1 -1
  354. package/dist/tag/createTagGroup.d.ts +7 -0
  355. package/dist/tag/createTagGroup.d.ts.map +1 -1
  356. package/dist/toolbar/createToolbar.d.ts.map +1 -1
  357. package/dist/tree/createTree.d.ts.map +1 -1
  358. package/dist/tree/createTreeSelectionCheckbox.d.ts.map +1 -1
  359. package/dist/utils/animation.d.ts.map +1 -1
  360. package/dist/utils/dom.d.ts +1 -0
  361. package/dist/utils/dom.d.ts.map +1 -1
  362. package/dist/utils/index.d.ts +1 -1
  363. package/dist/utils/index.d.ts.map +1 -1
  364. package/dist/utils/index.js +4 -3
  365. package/dist/utils/index.jsx +4 -3
  366. package/package.json +2 -2
  367. package/src/actiongroup/createActionGroup.ts +26 -109
  368. package/src/autocomplete/createAutocomplete.ts +136 -15
  369. package/src/breadcrumbs/createBreadcrumbs.ts +12 -4
  370. package/src/button/createToggleButtonGroup.ts +19 -14
  371. package/src/calendar/createCalendar.ts +3 -4
  372. package/src/calendar/createCalendarCell.ts +17 -3
  373. package/src/calendar/createCalendarGrid.ts +5 -4
  374. package/src/calendar/createRangeCalendar.ts +27 -17
  375. package/src/calendar/createRangeCalendarCell.ts +17 -3
  376. package/src/calendar/intl/index.ts +8 -0
  377. package/src/color/createColorArea.ts +17 -10
  378. package/src/color/createColorField.ts +8 -1
  379. package/src/color/createColorSlider.ts +1 -2
  380. package/src/color/createColorSwatch.ts +4 -2
  381. package/src/color/createColorWheel.ts +0 -6
  382. package/src/color/intl/index.ts +316 -0
  383. package/src/combobox/createComboBox.ts +35 -4
  384. package/src/combobox/intl/generated-locales.ts +635 -0
  385. package/src/combobox/intl/index.ts +8 -2
  386. package/src/datepicker/createDateField.ts +228 -213
  387. package/src/datepicker/createDatePicker.ts +157 -146
  388. package/src/datepicker/createDatePickerGroup.ts +88 -82
  389. package/src/datepicker/createDateRangePicker.ts +230 -179
  390. package/src/datepicker/createDateSegment.ts +386 -389
  391. package/src/datepicker/createDisplayNames.ts +45 -0
  392. package/src/datepicker/createTimeField.ts +36 -129
  393. package/src/datepicker/index.ts +13 -14
  394. package/src/datepicker/intl.ts +633 -0
  395. package/src/dnd/DragManager.ts +693 -0
  396. package/src/dnd/DropTargetKeyboardNavigation.ts +337 -0
  397. package/src/dnd/createDrag.ts +31 -5
  398. package/src/dnd/createDraggableCollection.ts +33 -15
  399. package/src/dnd/createDraggableItem.ts +92 -5
  400. package/src/dnd/createDroppableCollection.ts +487 -373
  401. package/src/dnd/index.ts +11 -0
  402. package/src/dnd/intl/ar-AE.json +29 -0
  403. package/src/dnd/intl/bg-BG.json +29 -0
  404. package/src/dnd/intl/cs-CZ.json +29 -0
  405. package/src/dnd/intl/da-DK.json +29 -0
  406. package/src/dnd/intl/de-DE.json +29 -0
  407. package/src/dnd/intl/el-GR.json +29 -0
  408. package/src/dnd/intl/en-US.json +29 -0
  409. package/src/dnd/intl/es-ES.json +29 -0
  410. package/src/dnd/intl/et-EE.json +29 -0
  411. package/src/dnd/intl/fi-FI.json +29 -0
  412. package/src/dnd/intl/fr-FR.json +29 -0
  413. package/src/dnd/intl/he-IL.json +29 -0
  414. package/src/dnd/intl/hr-HR.json +29 -0
  415. package/src/dnd/intl/hu-HU.json +29 -0
  416. package/src/dnd/intl/index.ts +139 -0
  417. package/src/dnd/intl/it-IT.json +29 -0
  418. package/src/dnd/intl/ja-JP.json +29 -0
  419. package/src/dnd/intl/ko-KR.json +29 -0
  420. package/src/dnd/intl/lt-LT.json +29 -0
  421. package/src/dnd/intl/lv-LV.json +29 -0
  422. package/src/dnd/intl/nb-NO.json +29 -0
  423. package/src/dnd/intl/nl-NL.json +29 -0
  424. package/src/dnd/intl/pl-PL.json +29 -0
  425. package/src/dnd/intl/pt-BR.json +29 -0
  426. package/src/dnd/intl/pt-PT.json +29 -0
  427. package/src/dnd/intl/ro-RO.json +29 -0
  428. package/src/dnd/intl/ru-RU.json +29 -0
  429. package/src/dnd/intl/sk-SK.json +29 -0
  430. package/src/dnd/intl/sl-SI.json +29 -0
  431. package/src/dnd/intl/sr-SP.json +29 -0
  432. package/src/dnd/intl/sv-SE.json +29 -0
  433. package/src/dnd/intl/tr-TR.json +29 -0
  434. package/src/dnd/intl/uk-UA.json +29 -0
  435. package/src/dnd/intl/zh-CN.json +29 -0
  436. package/src/dnd/intl/zh-TW.json +29 -0
  437. package/src/dnd/utils.ts +36 -0
  438. package/src/focus/FocusScope.tsx +120 -12
  439. package/src/focus/index.ts +8 -0
  440. package/src/focus/virtualFocus.ts +55 -0
  441. package/src/gridlist/createGridList.ts +52 -16
  442. package/src/index.ts +11 -3
  443. package/src/interactions/FocusableProvider.tsx +11 -6
  444. package/src/interactions/createFocus.ts +26 -21
  445. package/src/interactions/createFocusWithin.ts +23 -24
  446. package/src/interactions/createInteractionModality.ts +5 -3
  447. package/src/label/createLabels.ts +7 -4
  448. package/src/listbox/createListBox.ts +74 -2
  449. package/src/listbox/createOption.ts +16 -1
  450. package/src/select/createSelect.ts +23 -2
  451. package/src/selection/createSelectableItem.ts +14 -0
  452. package/src/spinbutton/createSpinButton.ts +163 -0
  453. package/src/spinbutton/index.ts +10 -0
  454. package/src/spinbutton/intl.ts +115 -0
  455. package/src/table/createTable.ts +26 -1
  456. package/src/table/createTableColumnHeader.ts +10 -0
  457. package/src/table/createTableRow.ts +10 -0
  458. package/src/table/createTableSelectionCheckbox.ts +24 -1
  459. package/src/table/types.ts +8 -0
  460. package/src/table/utils.ts +41 -0
  461. package/src/tabs/createTabs.ts +53 -12
  462. package/src/tag/createTag.ts +21 -32
  463. package/src/tag/createTagGroup.ts +92 -0
  464. package/src/toolbar/createToolbar.ts +6 -58
  465. package/src/tree/createTree.ts +69 -14
  466. package/src/tree/createTreeSelectionCheckbox.ts +14 -1
  467. package/src/utils/animation.ts +119 -27
  468. package/src/utils/dom.ts +3 -2
  469. package/src/utils/index.ts +2 -0
  470. package/dist/_chunk/createLongPress.js +0 -91
  471. package/dist/_chunk/createLongPress.js.map +0 -1
  472. package/dist/_chunk/createLongPress.jsx +0 -91
  473. package/dist/_chunk/createLongPress.jsx.map +0 -1
  474. package/dist/_chunk/form.js.map +0 -1
  475. package/dist/_chunk/form.jsx.map +0 -1
  476. package/dist/_chunk/live-announcer.js.map +0 -1
  477. package/dist/_chunk/live-announcer.jsx.map +0 -1
  478. package/dist/datepicker/createTimeSegment.d.ts +0 -29
  479. package/dist/datepicker/createTimeSegment.d.ts.map +0 -1
  480. package/src/datepicker/createTimeSegment.ts +0 -352
@@ -0,0 +1,86 @@
1
+ /**
2
+ * Global keyboard/virtual drag session manager.
3
+ *
4
+ * Faithful port of @react-aria/dnd `DragManager` (react-aria 3.50). A single
5
+ * module-level singleton owns the active drag session: it registers drop targets
6
+ * and drop items across every collection on the page, drives Tab/Shift+Tab
7
+ * cycling between them, Enter-to-drop / Escape-to-cancel, and the aria-live
8
+ * announcements — providing the accessible keyboard alternative to native
9
+ * pointer drag and drop.
10
+ *
11
+ * The only framework-specific adaptation from upstream is the reactive
12
+ * subscription: React's `useDragSession` (useState + a subscription Set) becomes
13
+ * a module-level Solid signal exposed through `createDragSession()`. Element refs
14
+ * (upstream `RefObject.current`) become Solid element accessors (`() => el`).
15
+ */
16
+ import { type Accessor } from "solid-js";
17
+ import type { DragEndEvent, DragItem, DropActivateEvent, DropEnterEvent, DropEvent, DropExitEvent, DropOperation, DropTarget as DroppableCollectionTarget } from "@proyecto-viviana/solid-stately";
18
+ import type { LocalizedStringFormatter } from "@internationalized/string";
19
+ /** A Solid element accessor, replacing upstream's `RefObject<T>.current`. */
20
+ type ElementAccessor = () => HTMLElement | null;
21
+ interface DropTarget {
22
+ element: HTMLElement;
23
+ preventFocusOnDrop?: boolean;
24
+ getDropOperation?: (types: Set<string>, allowedOperations: DropOperation[]) => DropOperation;
25
+ onDropEnter?: (e: DropEnterEvent, dragTarget: DragTarget) => void;
26
+ onDropExit?: (e: DropExitEvent) => void;
27
+ onDropTargetEnter?: (target: DroppableCollectionTarget | null) => void;
28
+ onDropActivate?: (e: DropActivateEvent, target: DroppableCollectionTarget | null) => void;
29
+ onDrop?: (e: DropEvent, target: DroppableCollectionTarget | null) => void;
30
+ onKeyDown?: (e: KeyboardEvent, dragTarget: DragTarget) => void;
31
+ activateButtonRef?: ElementAccessor;
32
+ }
33
+ export declare function registerDropTarget(target: DropTarget): () => void;
34
+ interface DroppableItem {
35
+ element: HTMLElement;
36
+ target: DroppableCollectionTarget;
37
+ getDropOperation?: (types: Set<string>, allowedOperations: DropOperation[]) => DropOperation;
38
+ activateButtonRef?: ElementAccessor;
39
+ }
40
+ export declare function registerDropItem(item: DroppableItem): () => void;
41
+ interface DragTarget {
42
+ element: HTMLElement;
43
+ items: DragItem[];
44
+ allowedDropOperations: DropOperation[];
45
+ onDragEnd?: (e: DragEndEvent) => void;
46
+ }
47
+ export declare function beginDragging(target: DragTarget, stringFormatter: LocalizedStringFormatter): void;
48
+ /** Reactive accessor for the active drag session, or null. */
49
+ export declare function createDragSession(): Accessor<DragSession | null>;
50
+ /** @private */
51
+ export declare function isVirtualDragging(): boolean;
52
+ export declare function isValidDropTarget(element: Element): boolean;
53
+ declare class DragSession {
54
+ dragTarget: DragTarget;
55
+ validDropTargets: DropTarget[];
56
+ currentDropTarget: DropTarget | null;
57
+ currentDropItem: DroppableItem | null;
58
+ dropOperation: DropOperation | null;
59
+ private mutationObserver;
60
+ private restoreAriaHidden;
61
+ private stringFormatter;
62
+ private isVirtualClick;
63
+ private initialFocused;
64
+ constructor(target: DragTarget, stringFormatter: LocalizedStringFormatter);
65
+ setup(): void;
66
+ teardown(): void;
67
+ onKeyDown(e: KeyboardEvent): void;
68
+ onKeyUp(e: KeyboardEvent): void;
69
+ getCurrentActivateButton(): HTMLElement | null;
70
+ onFocus(e: FocusEvent): void;
71
+ onBlur(e: FocusEvent): void;
72
+ onClick(e: MouseEvent): void;
73
+ onPointerDown(e: PointerEvent): void;
74
+ cancelEvent(e: Event): void;
75
+ updateValidDropTargets(): void;
76
+ next(): void;
77
+ previous(): void;
78
+ findNearestDropTarget(): number;
79
+ setCurrentDropTarget(dropTarget: DropTarget | null, item?: DroppableItem): void;
80
+ end(): void;
81
+ cancel(): void;
82
+ drop(item?: DroppableItem): void;
83
+ activate(dropTarget: DropTarget | null, dropItem: DroppableItem | null | undefined): void;
84
+ }
85
+ export type { DragTarget, DropTarget, DroppableItem, DragSession };
86
+ //# sourceMappingURL=DragManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragManager.d.ts","sourceRoot":"","sources":["../../src/dnd/DragManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIvD,OAAO,KAAK,EACV,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,cAAc,EACd,SAAS,EACT,aAAa,EAEb,aAAa,EACb,UAAU,IAAI,yBAAyB,EACxC,MAAM,iCAAiC,CAAC;AAIzC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAE1E,6EAA6E;AAC7E,KAAK,eAAe,GAAG,MAAM,WAAW,GAAG,IAAI,CAAC;AAUhD,UAAU,UAAU;IAClB,OAAO,EAAE,WAA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AOpC,WAAW,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAmB3B,sBAAsB,IAAI,IAAI;IA+D9B,IAAI,IAAI,IAAI;IA8BZ,QAAQ,IAAI,IAAI;IA0BhB,qBAAqB,IAAI,MAAM;IAoB/B,oBAAoB,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI;IAmD/E,GAAG,IAAI,IAAI;IA4BX,MAAM,IAAI,IAAI;IAad,IAAI,CAAC,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI;IA4ChC,QAAQ,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;CAc1F;AAiBD,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Keyboard navigation between drop targets within a droppable collection.
3
+ *
4
+ * Faithful port of @react-aria/dnd `DropTargetKeyboardNavigation` (react-aria
5
+ * 3.50). Given a keyboard delegate, the collection, and the current drop target,
6
+ * returns the next/previous drop target in a given direction — cycling through
7
+ * the `before`/`on`/`after` drop positions on each item and descending into
8
+ * nested items.
9
+ *
10
+ * Upstream reads `node.nextKey` / `node.prevKey` (the flattened collection
11
+ * linked-list pointers). In our collection model those are exactly what
12
+ * `collection.getKeyAfter(key)` / `collection.getKeyBefore(key)` return, so they
13
+ * are substituted 1:1 with no behavioral difference. Upstream's `lastChildKey`
14
+ * fast-path is absent from our `CollectionNode`, so we always take upstream's
15
+ * own `childNodes.findLast` fallback branch.
16
+ */
17
+ import type { Collection, Key } from "@proyecto-viviana/solid-stately";
18
+ import type { DropTarget } from "@proyecto-viviana/solid-stately";
19
+ /**
20
+ * Keyboard delegate shape consumed by drop-target navigation. Mirrors the
21
+ * subset of `@react-types/shared` `KeyboardDelegate` that navigation uses,
22
+ * including the `{includeDisabled}` option so drop positions around disabled
23
+ * items remain reachable.
24
+ */
25
+ export interface DropNavigationKeyboardDelegate {
26
+ getKeyBelow?(key: Key, options?: {
27
+ includeDisabled?: boolean;
28
+ }): Key | null;
29
+ getKeyAbove?(key: Key, options?: {
30
+ includeDisabled?: boolean;
31
+ }): Key | null;
32
+ getKeyLeftOf?(key: Key, options?: {
33
+ includeDisabled?: boolean;
34
+ }): Key | null;
35
+ getKeyRightOf?(key: Key, options?: {
36
+ includeDisabled?: boolean;
37
+ }): Key | null;
38
+ getFirstKey?(key?: Key, global?: boolean): Key | null;
39
+ getLastKey?(key?: Key, global?: boolean): Key | null;
40
+ }
41
+ export declare function navigate(keyboardDelegate: DropNavigationKeyboardDelegate, collection: Collection, target: DropTarget | null | undefined, direction: "left" | "right" | "up" | "down", rtl?: boolean, wrap?: boolean): DropTarget | null;
42
+ //# sourceMappingURL=DropTargetKeyboardNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropTargetKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../src/dnd/DropTargetKeyboardNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAkB,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAElE;;;;;GAKG;AACH,MAAM,WAAW,8BAA8B;IAC7C,WAAW,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,GAAG,GAAG,IAAI,CAAC;IAC5E,WAAW,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,GAAG,GAAG,IAAI,CAAC;IAC5E,YAAY,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,GAAG,GAAG,IAAI,CAAC;IAC7E,aAAa,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,GAAG,GAAG,IAAI,CAAC;IAC9E,WAAW,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,GAAG,GAAG,IAAI,CAAC;IACtD,UAAU,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,GAAG,GAAG,IAAI,CAAC;CACtD;AAED,wBAAgB,QAAQ,CACtB,gBAAgB,EAAE,8BAA8B,EAChD,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,EACrC,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,MAAM,EAC3C,GAAG,UAAQ,EACX,IAAI,UAAQ,GACX,UAAU,GAAG,IAAI,CAenB"}
@@ -1 +1 @@
1
- {"version":3,"file":"createDrag.d.ts","sourceRoot":"","sources":["../../src/dnd/createDrag.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAazD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ,CA6LrE"}
1
+ {"version":3,"file":"createDrag.d.ts","sourceRoot":"","sources":["../../src/dnd/createDrag.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErD,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAgBzD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ,CAoNrE"}
@@ -1 +1 @@
1
- {"version":3,"file":"createDraggableCollection.d.ts","sourceRoot":"","sources":["../../src/dnd/createDraggableCollection.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAuC,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAQhF,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAE5E;AAED,wBAAgB,8BAA8B,IAAI,WAAW,GAAG,IAAI,CAEnE;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI,CAEtE;AAED,wBAAgB,qBAAqB,IAAI,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAE5D;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAE/D;AAED,wBAAgB,sBAAsB,IAAI,GAAG,CAAC,MAAM,CAAC,CAEpD;AAED,MAAM,WAAW,0BAA0B;IACzC,2CAA2C;IAC3C,GAAG,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,sCAAsC;IACtC,KAAK,EAAE,wBAAwB,CAAC;CACjC;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,0BAA0B,EACnC,KAAK,EAAE,wBAAwB,GAC9B,uBAAuB,CAmCzB"}
1
+ {"version":3,"file":"createDraggableCollection.d.ts","sourceRoot":"","sources":["../../src/dnd/createDraggableCollection.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAgBhF,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAE5E;AAED,wBAAgB,8BAA8B,IAAI,WAAW,GAAG,IAAI,CAEnE;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI,CAEtE;AAED,wBAAgB,qBAAqB,IAAI,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAE5D;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAE/D;AAED,wBAAgB,sBAAsB,IAAI,GAAG,CAAC,MAAM,CAAC,CAEpD;AAED,MAAM,WAAW,0BAA0B;IACzC,2CAA2C;IAC3C,GAAG,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,sCAAsC;IACtC,KAAK,EAAE,wBAAwB,CAAC;CACjC;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,0BAA0B,EACnC,KAAK,EAAE,wBAAwB,GAC9B,uBAAuB,CAsCzB"}
@@ -11,6 +11,18 @@ export interface DraggableItemOptions {
11
11
  key: string | number;
12
12
  /** Whether the item has a separate drag button affordance. */
13
13
  hasDragButton?: boolean;
14
+ /**
15
+ * Whether the host item has a primary action (e.g. Enter on a GridList/Table
16
+ * row) that conflicts with the Enter keyboard drag pickup. When true the drag
17
+ * description switches to the Alt variant (mirrors upstream `hasAction`).
18
+ */
19
+ hasAction?: boolean;
20
+ /**
21
+ * The host collection's selection mode. Upstream only surfaces the drag
22
+ * affordance description (aria-describedby → "Press Enter to start dragging.")
23
+ * when the mode is not `'none'`.
24
+ */
25
+ selectionMode?: "none" | "single" | "multiple";
14
26
  /** Whether this item is disabled for dragging. */
15
27
  isDisabled?: boolean;
16
28
  /** Preview renderer function ref. */
@@ -26,12 +38,5 @@ export interface DraggableItemAria {
26
38
  /** Whether the item is currently being dragged. */
27
39
  isDragging: boolean;
28
40
  }
29
- /**
30
- * Creates ARIA props for a draggable item within a collection.
31
- *
32
- * @param options - Accessor returning item options
33
- * @param state - Draggable collection state
34
- * @returns Draggable item ARIA props
35
- */
36
41
  export declare function createDraggableItem(options: Accessor<DraggableItemOptions>, state: DraggableCollectionState): DraggableItemAria;
37
42
  //# sourceMappingURL=createDraggableItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createDraggableItem.d.ts","sourceRoot":"","sources":["../../src/dnd/createDraggableItem.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AAazC,MAAM,WAAW,oBAAoB;IACnC,kCAAkC;IAClC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qCAAqC;IACrC,OAAO,CAAC,EAAE;QAAE,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAA;KAAE,CAAC;CACnD;AAED,MAAM,WAAW,iBAAiB;IAChC,4CAA4C;IAC5C,SAAS,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAC3C,6DAA6D;IAC7D,eAAe,EAAE,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IAC7D,mDAAmD;IACnD,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACvC,KAAK,EAAE,wBAAwB,GAC9B,iBAAiB,CA6MnB"}
1
+ {"version":3,"file":"createDraggableItem.d.ts","sourceRoot":"","sources":["../../src/dnd/createDraggableItem.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAc,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EAEpB,MAAM,iCAAiC,CAAC;AAmBzC,MAAM,WAAW,oBAAoB;IACnC,kCAAkC;IAClC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC/C,kDAAkD;IAClD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qCAAqC;IACrC,OAAO,CAAC,EAAE;QAAE,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAA;KAAE,CAAC;CACnD;AAED,MAAM,WAAW,iBAAiB;IAChC,4CAA4C;IAC5C,SAAS,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAC3C,6DAA6D;IAC7D,eAAe,EAAE,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;IAC7D,mDAAmD;IACnD,UAAU,EAAE,OAAO,CAAC;CACrB;AAkBD,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACvC,KAAK,EAAE,wBAAwB,GAC9B,iBAAiB,CAwQnB"}
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { type Accessor } from "solid-js";
8
8
  import type { JSX } from "solid-js";
9
- import type { DroppableCollectionState, DropTarget, DropOperation, DropItem, Key } from "@proyecto-viviana/solid-stately";
9
+ import type { Collection, DroppableCollectionState, DropTarget, DropOperation, DropItem, Key } from "@proyecto-viviana/solid-stately";
10
10
  export declare function setGlobalDropCollectionRef(ref: HTMLElement | null): void;
11
11
  export declare function getGlobalDropCollectionRef(): HTMLElement | null;
12
12
  export interface DropTargetDelegate {
@@ -33,17 +33,6 @@ export interface KeyboardDelegateLike {
33
33
  getKeyPageBelow?: (key: string | number) => string | number | null;
34
34
  getKeyPageAbove?: (key: string | number) => string | number | null;
35
35
  }
36
- interface CollectionNodeLike {
37
- type?: string;
38
- key: Key;
39
- parentKey?: Key | null;
40
- childNodes?: CollectionNodeLike[];
41
- isExpanded?: boolean;
42
- }
43
- interface CollectionLike {
44
- getItem(key: Key): CollectionNodeLike | null;
45
- [Symbol.iterator](): Iterator<CollectionNodeLike>;
46
- }
47
36
  export interface DroppableCollectionOptions {
48
37
  /** Reference to the collection element. */
49
38
  ref: Accessor<HTMLElement | null>;
@@ -97,8 +86,12 @@ export interface DroppableCollectionOptions {
97
86
  keyboardDelegate?: KeyboardDelegateLike;
98
87
  /** Optional keyboard handler composed with internal drop target navigation keys. */
99
88
  onKeyDown?: (e: KeyboardEvent) => void;
100
- /** Collection snapshot used to restore focus and selection after a drop mutates items. */
101
- collection?: CollectionLike;
89
+ /**
90
+ * The collection backing the droppable. Used both to restore focus/selection
91
+ * after a drop mutates items and to drive keyboard drop-target navigation
92
+ * (`navigate()` walks `getKeyAfter`/`getKeyBefore`).
93
+ */
94
+ collection?: Collection;
102
95
  /** Current collection selection used to avoid replacing user-updated selection after a drop. */
103
96
  selectedKeys?: "all" | Iterable<Key>;
104
97
  /** Sets collection selection after a drop when new rows were inserted and selection was unchanged. */
@@ -123,5 +116,4 @@ export interface DroppableCollectionAria {
123
116
  * @returns Droppable collection ARIA result
124
117
  */
125
118
  export declare function createDroppableCollection(options: Accessor<DroppableCollectionOptions>, state: DroppableCollectionState): DroppableCollectionAria;
126
- export {};
127
119
  //# sourceMappingURL=createDroppableCollection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createDroppableCollection.d.ts","sourceRoot":"","sources":["../../src/dnd/createDroppableCollection.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAyB,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,KAAK,EACV,wBAAwB,EACxB,UAAU,EACV,aAAa,EACb,QAAQ,EAGR,GAAG,EACJ,MAAM,iCAAiC,CAAC;AAazC,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI,CAExE;AAED,wBAAgB,0BAA0B,IAAI,WAAW,GAAG,IAAI,CAE/D;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,sBAAsB,CACpB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,iBAAiB,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,OAAO,GACjD,UAAU,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,2BAA2B,CAAC,CAC1B,MAAM,EAAE,UAAU,GAAG,IAAI,EACzB,SAAS,EAAE,MAAM,GAAG,UAAU,EAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,OAAO,GACjD,UAAU,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,+BAA+B,CAAC,CAC9B,MAAM,EAAE,UAAU,GAAG,IAAI,EACzB,SAAS,EAAE,MAAM,GAAG,UAAU,EAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,OAAO,GACjD,UAAU,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,MAAM,GAAG,MAAM,GAAG,IA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CAAC,CAAC;CACpD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,GAAG,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,CAQrE;AAED,MAAM,WAAW,uBAAuB;IACtC,iDAAiD;IACjD,eAAe,EAAE,GAAG,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;CAClD;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,QAAQ,CAAC,0BAA0B,CAAC,EAC7C,KAAK,EAAE,wBAAwB,GAC9B,uBAAuB,CAinBzB"}
@@ -14,5 +14,9 @@ export type { DraggableCollectionOptions, DraggableCollectionAria, } from "./cre
14
14
  export type { DroppableCollectionOptions, DroppableCollectionAria, DropTargetDelegate, } from "./createDroppableCollection";
15
15
  export type { DraggableItemOptions, DraggableItemAria } from "./createDraggableItem";
16
16
  export type { DroppableItemOptions, DroppableItemAria } from "./createDroppableItem";
17
- export { CUSTOM_DRAG_TYPE, NATIVE_DRAG_TYPES, GENERIC_TYPE, DROP_OPERATION, DROP_OPERATION_ALLOWED, EFFECT_ALLOWED, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION_TO_DROP_EFFECT, getTypes, writeToDataTransfer, readFromDataTransfer, DragTypesImpl, isTextDropItem, isFileDropItem, isDirectoryDropItem, setGlobalDropEffect, getGlobalDropEffect, setGlobalAllowedDropOperations, getGlobalAllowedDropOperations, } from "./utils";
17
+ export { createDragSession, isVirtualDragging, registerDropItem } from "./DragManager";
18
+ export type { DragSession } from "./DragManager";
19
+ export { dndIntlStrings } from "./intl";
20
+ export type { DndIntlStrings } from "./intl";
21
+ export { CUSTOM_DRAG_TYPE, NATIVE_DRAG_TYPES, GENERIC_TYPE, DROP_OPERATION, DROP_OPERATION_ALLOWED, EFFECT_ALLOWED, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION_TO_DROP_EFFECT, getDragModality, getTypes, writeToDataTransfer, readFromDataTransfer, DragTypesImpl, isTextDropItem, isFileDropItem, isDirectoryDropItem, setGlobalDropEffect, getGlobalDropEffect, setGlobalAllowedDropOperations, getGlobalAllowedDropOperations, } from "./utils";
18
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dnd/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,EACL,yBAAyB,EACzB,8BAA8B,EAC9B,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACpF,YAAY,EACV,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,0BAA0B,EAC1B,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACrF,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAGrF,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,6BAA6B,EAC7B,6BAA6B,EAC7B,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,cAAc,EACd,mBAAm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,EAChB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,6BAA6B,EAC7B,6BAA6B,EAC7B,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,SAAS,CAAC"}
package/dist/dnd/index.js CHANGED
@@ -1,2 +1,3 @@
1
- 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.js";
2
- export { CUSTOM_DRAG_TYPE, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION, DROP_OPERATION_ALLOWED, DROP_OPERATION_TO_DROP_EFFECT, DragTypesImpl, EFFECT_ALLOWED, GENERIC_TYPE, NATIVE_DRAG_TYPES, createDrag, createDraggableCollection, createDraggableItem, createDrop, createDroppableCollection, createDroppableItem, getGlobalAllowedDropOperations, getGlobalDraggingCollectionRef, getGlobalDraggingKeys, getGlobalDraggingTypes, getGlobalDropCollectionRef, getGlobalDropEffect, getTypes, isDirectoryDropItem, isFileDropItem, isTextDropItem, readFromDataTransfer, setGlobalAllowedDropOperations, setGlobalDraggingCollectionRef, setGlobalDraggingKeys, setGlobalDraggingTypes, setGlobalDropCollectionRef, setGlobalDropEffect, writeToDataTransfer };
1
+ import { C as setGlobalAllowedDropOperations, S as readFromDataTransfer, T as writeToDataTransfer, _ as getGlobalDropEffect, b as isFileDropItem, c as DROP_OPERATION, d as DragTypesImpl, f as EFFECT_ALLOWED, g as getGlobalAllowedDropOperations, h as getDragModality, i as registerDropItem, l as DROP_OPERATION_ALLOWED, m as NATIVE_DRAG_TYPES, n as createDragSession, o as CUSTOM_DRAG_TYPE, p as GENERIC_TYPE, r as isVirtualDragging, s as DROP_EFFECT_TO_DROP_OPERATION, u as DROP_OPERATION_TO_DROP_EFFECT, v as getTypes, w as setGlobalDropEffect, x as isTextDropItem, y as isDirectoryDropItem } from "../_chunk/DragManager.js";
2
+ import { a as setGlobalDropCollectionRef, c as dndIntlStrings, d as getGlobalDraggingKeys, f as getGlobalDraggingTypes, h as setGlobalDraggingTypes, i as getGlobalDropCollectionRef, l as createDraggableCollection, m as setGlobalDraggingKeys, n as createDraggableItem, o as createDrop, p as setGlobalDraggingCollectionRef, r as createDroppableCollection, s as createDrag, t as createDroppableItem, u as getGlobalDraggingCollectionRef } from "../_chunk/dnd.js";
3
+ export { CUSTOM_DRAG_TYPE, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION, DROP_OPERATION_ALLOWED, DROP_OPERATION_TO_DROP_EFFECT, DragTypesImpl, EFFECT_ALLOWED, GENERIC_TYPE, NATIVE_DRAG_TYPES, createDrag, createDragSession, createDraggableCollection, createDraggableItem, createDrop, createDroppableCollection, createDroppableItem, dndIntlStrings, getDragModality, getGlobalAllowedDropOperations, getGlobalDraggingCollectionRef, getGlobalDraggingKeys, getGlobalDraggingTypes, getGlobalDropCollectionRef, getGlobalDropEffect, getTypes, isDirectoryDropItem, isFileDropItem, isTextDropItem, isVirtualDragging, readFromDataTransfer, registerDropItem, setGlobalAllowedDropOperations, setGlobalDraggingCollectionRef, setGlobalDraggingKeys, setGlobalDraggingTypes, setGlobalDropCollectionRef, setGlobalDropEffect, writeToDataTransfer };
@@ -1,2 +1,3 @@
1
- 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";
2
- export { CUSTOM_DRAG_TYPE, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION, DROP_OPERATION_ALLOWED, DROP_OPERATION_TO_DROP_EFFECT, DragTypesImpl, EFFECT_ALLOWED, GENERIC_TYPE, NATIVE_DRAG_TYPES, createDrag, createDraggableCollection, createDraggableItem, createDrop, createDroppableCollection, createDroppableItem, getGlobalAllowedDropOperations, getGlobalDraggingCollectionRef, getGlobalDraggingKeys, getGlobalDraggingTypes, getGlobalDropCollectionRef, getGlobalDropEffect, getTypes, isDirectoryDropItem, isFileDropItem, isTextDropItem, readFromDataTransfer, setGlobalAllowedDropOperations, setGlobalDraggingCollectionRef, setGlobalDraggingKeys, setGlobalDraggingTypes, setGlobalDropCollectionRef, setGlobalDropEffect, writeToDataTransfer };
1
+ import { C as setGlobalAllowedDropOperations, S as readFromDataTransfer, T as writeToDataTransfer, _ as getGlobalDropEffect, b as isFileDropItem, c as DROP_OPERATION, d as DragTypesImpl, f as EFFECT_ALLOWED, g as getGlobalAllowedDropOperations, h as getDragModality, i as registerDropItem, l as DROP_OPERATION_ALLOWED, m as NATIVE_DRAG_TYPES, n as createDragSession, o as CUSTOM_DRAG_TYPE, p as GENERIC_TYPE, r as isVirtualDragging, s as DROP_EFFECT_TO_DROP_OPERATION, u as DROP_OPERATION_TO_DROP_EFFECT, v as getTypes, w as setGlobalDropEffect, x as isTextDropItem, y as isDirectoryDropItem } from "../_chunk/DragManager.jsx";
2
+ import { a as setGlobalDropCollectionRef, c as dndIntlStrings, d as getGlobalDraggingKeys, f as getGlobalDraggingTypes, h as setGlobalDraggingTypes, i as getGlobalDropCollectionRef, l as createDraggableCollection, m as setGlobalDraggingKeys, n as createDraggableItem, o as createDrop, p as setGlobalDraggingCollectionRef, r as createDroppableCollection, s as createDrag, t as createDroppableItem, u as getGlobalDraggingCollectionRef } from "../_chunk/dnd.jsx";
3
+ export { CUSTOM_DRAG_TYPE, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION, DROP_OPERATION_ALLOWED, DROP_OPERATION_TO_DROP_EFFECT, DragTypesImpl, EFFECT_ALLOWED, GENERIC_TYPE, NATIVE_DRAG_TYPES, createDrag, createDragSession, createDraggableCollection, createDraggableItem, createDrop, createDroppableCollection, createDroppableItem, dndIntlStrings, getDragModality, getGlobalAllowedDropOperations, getGlobalDraggingCollectionRef, getGlobalDraggingKeys, getGlobalDraggingTypes, getGlobalDropCollectionRef, getGlobalDropEffect, getTypes, isDirectoryDropItem, isFileDropItem, isTextDropItem, isVirtualDragging, readFromDataTransfer, registerDropItem, setGlobalAllowedDropOperations, setGlobalDraggingCollectionRef, setGlobalDraggingKeys, setGlobalDraggingTypes, setGlobalDropCollectionRef, setGlobalDropEffect, writeToDataTransfer };
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Drag and Drop internationalization strings.
3
+ *
4
+ * Copied verbatim from @react-aria/dnd (react-aria 3.50 / RAC 1.19) intl/dnd.
5
+ * All keys are plain ICU MessageFormat strings (no compiled announcement
6
+ * functions), so the port's LocalizedStringFormatter consumes them directly.
7
+ */
8
+ import type { LocalizedString, LocalizedStrings } from "@internationalized/string";
9
+ export type DndIntlStrings = {
10
+ dragItem: string;
11
+ dragSelectedItems: string;
12
+ dragDescriptionKeyboard: string;
13
+ dragDescriptionKeyboardAlt: string;
14
+ dragDescriptionTouch: string;
15
+ dragDescriptionVirtual: string;
16
+ dragDescriptionLongPress: string;
17
+ dragSelectedKeyboard: string;
18
+ dragSelectedKeyboardAlt: string;
19
+ dragSelectedLongPress: string;
20
+ dragStartedKeyboard: string;
21
+ dragStartedTouch: string;
22
+ dragStartedVirtual: string;
23
+ endDragKeyboard: string;
24
+ endDragTouch: string;
25
+ endDragVirtual: string;
26
+ dropDescriptionKeyboard: string;
27
+ dropDescriptionTouch: string;
28
+ dropDescriptionVirtual: string;
29
+ dropCanceled: string;
30
+ dropComplete: string;
31
+ dropIndicator: string;
32
+ dropOnRoot: string;
33
+ dropOnItem: string;
34
+ insertBefore: string;
35
+ insertBetween: string;
36
+ insertAfter: string;
37
+ };
38
+ export declare const dndIntlStrings: LocalizedStrings<keyof DndIntlStrings, LocalizedString>;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dnd/intl/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAqCnF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,0BAA0B,EAAE,MAAM,CAAC;IACnC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AA8BF,eAAO,MAAM,cAAc,EAAE,gBAAgB,CAAC,MAAM,cAAc,EAAE,eAAe,CAmClF,CAAC"}
@@ -17,6 +17,11 @@ export declare const DROP_OPERATION_ALLOWED: Record<string, number>;
17
17
  export declare const EFFECT_ALLOWED: Record<number, string>;
18
18
  export declare const DROP_EFFECT_TO_DROP_OPERATION: Record<string, DropOperation>;
19
19
  export declare const DROP_OPERATION_TO_DROP_EFFECT: Record<DropOperation, string>;
20
+ /**
21
+ * Returns the drag modality ('keyboard' | 'virtual' | 'touch') for the current
22
+ * interaction. Mirrors @react-aria/dnd `getDragModality`.
23
+ */
24
+ export declare function getDragModality(): string;
20
25
  /**
21
26
  * Get the types present in drag items.
22
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/dnd/utils.ts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F,eAAO,MAAM,6BAA6B,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAKvE,CAAC;AA6BF;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAQvD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CA4CvF;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,YAAY,GAAG,QAAQ,EAAE,CAoD3E;AAeD;;GAEG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,KAAK,CAAc;IAC3B,OAAO,CAAC,oBAAoB,CAAU;gBAE1B,YAAY,EAAE,YAAY;IAqBtC,GAAG,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,OAAO;CA4B1C;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,IAAI,YAAY,CAE3E;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,IAAI,YAAY,CAE3E;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,QAAQ,IAAI,iBAAiB,CAErF;AAMD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAEpE;AAED,wBAAgB,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAExD;AAED,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAEhE;AAED,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD"}
@@ -39,6 +39,13 @@ export interface FocusManager {
39
39
  /** Moves focus to the last focusable or tabbable element in the focus scope. */
40
40
  focusLast(opts?: FocusManagerOptions): HTMLElement | null;
41
41
  }
42
+ /**
43
+ * Creates a FocusManager rooted at the given ref element, independent of any
44
+ * FocusScope. Mirrors @react-aria/focus's `createFocusManager`: it walks the
45
+ * focusable tree with `getFocusableTreeWalker` so segment/spinbutton navigation
46
+ * inside a date field group behaves exactly like upstream.
47
+ */
48
+ export declare function createFocusManager(ref: () => HTMLElement | null | undefined, defaultOptions?: FocusManagerOptions): FocusManager;
42
49
  /**
43
50
  * Returns a FocusManager interface for the parent FocusScope.
44
51
  * A FocusManager can be used to programmatically move focus within
@@ -1 +1 @@
1
- {"version":3,"file":"FocusScope.d.ts","sourceRoot":"","sources":["../../src/focus/FocusScope.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAKL,KAAK,GAAG,EAER,KAAK,eAAe,EAGrB,MAAM,UAAU,CAAC;AAKlB,MAAM,WAAW,eAAe;IAC9B,uCAAuC;IACvC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qFAAqF;IACrF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,qFAAqF;IACrF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,uEAAuE;IACvE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;CACrC;AAED,MAAM,WAAW,YAAY;IAC3B,gFAAgF;IAChF,SAAS,CAAC,IAAI,CAAC,EAAE,mBAAmB,GAAG,WAAW,GAAG,IAAI,CAAC;IAC1D,oFAAoF;IACpF,aAAa,CAAC,IAAI,CAAC,EAAE,mBAAmB,GAAG,WAAW,GAAG,IAAI,CAAC;IAC9D,i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,iFAAiF;IACjF,UAAU,CAAC,IAAI,CAAC,EAAE,mBAAmB,GAAG,WAAW,GAAG,IAAI,CAAC;IAC3D,gFAAgF;IAChF,SAAS,CAAC,IAAI,CAAC,EAAE,mBAAmB,GAAG,WAAW,GAAG,IAAI,CAAC;CAC3D;AAuBD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,EACzC,cAAc,GAAE,mBAAwB,GACvC,YAAY,CAsFd;AAID;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,YAAY,GAAG,SAAS,CAE1D;AAiID;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,eAAe,CAsTvD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,5 +1,6 @@
1
- export { FocusScope, useFocusManager, type FocusScopeProps, type FocusManager, type FocusManagerOptions, } from "./FocusScope";
1
+ export { FocusScope, useFocusManager, createFocusManager, type FocusScopeProps, type FocusManager, type FocusManagerOptions, } from "./FocusScope";
2
2
  export { createFocusRestore, pushFocusStack, popFocusStack, getFocusStackLength, clearFocusStack, type FocusRestoreOptions, type FocusRestoreResult, } from "./createFocusRestore";
3
3
  export { createVirtualFocus, type VirtualFocusOptions, type VirtualFocusResult, } from "./createVirtualFocus";
4
+ export { moveVirtualFocus, dispatchVirtualBlur, dispatchVirtualFocus, getVirtuallyFocusedElement, } from "./virtualFocus";
4
5
  export { createAutoFocus, clearAutoFocusQueue, getAutoFocusQueueLength, type AutoFocusOptions, type AutoFocusResult, } from "./createAutoFocus";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/focus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,eAAe,EACf,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,mBAAmB,GACzB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/focus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,mBAAmB,GACzB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,mBAAmB,CAAC"}
@@ -1,2 +1,3 @@
1
- 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.js";
2
- export { FocusScope, clearAutoFocusQueue, clearFocusStack, createAutoFocus, createFocusRestore, createVirtualFocus, getAutoFocusQueueLength, getFocusStackLength, popFocusStack, pushFocusStack, useFocusManager };
1
+ import { n as createFocusManager, r as useFocusManager, t as FocusScope } from "../_chunk/FocusScope.js";
2
+ import { a as dispatchVirtualFocus, c as createVirtualFocus, d as getFocusStackLength, f as popFocusStack, i as dispatchVirtualBlur, l as clearFocusStack, n as createAutoFocus, o as getVirtuallyFocusedElement, p as pushFocusStack, r as getAutoFocusQueueLength, s as moveVirtualFocus, t as clearAutoFocusQueue, u as createFocusRestore } from "../_chunk/focus2.js";
3
+ export { FocusScope, clearAutoFocusQueue, clearFocusStack, createAutoFocus, createFocusManager, createFocusRestore, createVirtualFocus, dispatchVirtualBlur, dispatchVirtualFocus, getAutoFocusQueueLength, getFocusStackLength, getVirtuallyFocusedElement, moveVirtualFocus, popFocusStack, pushFocusStack, useFocusManager };
@@ -1,2 +1,3 @@
1
- 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";
2
- export { FocusScope, clearAutoFocusQueue, clearFocusStack, createAutoFocus, createFocusRestore, createVirtualFocus, getAutoFocusQueueLength, getFocusStackLength, popFocusStack, pushFocusStack, useFocusManager };
1
+ import { n as createFocusManager, r as useFocusManager, t as FocusScope } from "../_chunk/FocusScope.jsx";
2
+ import { a as dispatchVirtualFocus, c as createVirtualFocus, d as getFocusStackLength, f as popFocusStack, i as dispatchVirtualBlur, l as clearFocusStack, n as createAutoFocus, o as getVirtuallyFocusedElement, p as pushFocusStack, r as getAutoFocusQueueLength, s as moveVirtualFocus, t as clearAutoFocusQueue, u as createFocusRestore } from "../_chunk/focus2.jsx";
3
+ export { FocusScope, clearAutoFocusQueue, clearFocusStack, createAutoFocus, createFocusManager, createFocusRestore, createVirtualFocus, dispatchVirtualBlur, dispatchVirtualFocus, getAutoFocusQueueLength, getFocusStackLength, getVirtuallyFocusedElement, moveVirtualFocus, popFocusStack, pushFocusStack, useFocusManager };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Virtual-focus event dispatch primitives.
3
+ *
4
+ * A faithful port of @react-aria/focus's `virtualFocus` module. Under virtual
5
+ * focus (e.g. Autocomplete), real DOM focus stays on an input while the
6
+ * "focused" collection option is indicated by `aria-activedescendant`. Moving
7
+ * that virtual cursor dispatches synthetic `focus`/`blur` events (with matching
8
+ * bubbling `focusin`/`focusout`) on the option elements so listeners — notably
9
+ * the autocomplete input's `focusin` handler that mirrors the active descendant
10
+ * — react as if the element were really focused.
11
+ */
12
+ /**
13
+ * Moves virtual focus to `to`, dispatching a virtual blur on the previously
14
+ * virtually-focused element (if any) and a virtual focus on `to` (if non-null).
15
+ */
16
+ export declare function moveVirtualFocus(to: Element | null): void;
17
+ /** Dispatches synthetic `blur` + bubbling `focusout` events on `from`. */
18
+ export declare function dispatchVirtualBlur(from: Element, to: Element | null): void;
19
+ /** Dispatches synthetic `focus` + bubbling `focusin` events on `to`. */
20
+ export declare function dispatchVirtualFocus(to: Element, from: Element | null): void;
21
+ /**
22
+ * Returns the currently virtually-focused element: the element referenced by the
23
+ * active element's `aria-activedescendant`, or the active element itself.
24
+ */
25
+ export declare function getVirtuallyFocusedElement(document: Document): Element | null;
26
+ //# sourceMappingURL=virtualFocus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualFocus.d.ts","sourceRoot":"","sources":["../../src/focus/virtualFocus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAUzD;AAED,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAG3E;AAED,wEAAwE;AACxE,wBAAgB,oBAAoB,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,GAAG,IAAI,CAG5E;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,IAAI,CAQ7E"}
@@ -1,3 +1,3 @@
1
1
  import { t as createFormValidation } from "../_chunk/createFormValidation.js";
2
- import { t as createFormReset } from "../_chunk/form.js";
2
+ import { t as createFormReset } from "../_chunk/createFormReset.js";
3
3
  export { createFormReset, createFormValidation };
@@ -1,3 +1,3 @@
1
1
  import { t as createFormValidation } from "../_chunk/createFormValidation.jsx";
2
- import { t as createFormReset } from "../_chunk/form.jsx";
2
+ import { t as createFormReset } from "../_chunk/createFormReset.jsx";
3
3
  export { createFormReset, createFormValidation };
@@ -1 +1 @@
1
- {"version":3,"file":"createGridList.d.ts","sourceRoot":"","sources":["../../src/gridlist/createGridList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA4B,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGnE,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI/D;;GAEG;AACH,UAAU,YAAY;IACpB,0CAA0C;IAC1C,UAAU,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,iBAAiB,EAAE,SAAS,GAAG,QAAQ,CAAC;IACxC,sDAAsD;IACtD,qBAAqB,EAAE,OAAO,CAAC;IAC/B,2DAA2D;IAC3D,0BAA0B,EAAE,OAAO,GAAG,KAAK,CAAC;IAC5C,qDAAqD;IACrD,SAAS,EAAE,KAAK,GAAG,KAAK,CAAC;IACzB,4CAA4C;IAC5C,OAAO,EAAE;QACP,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;KAC/B,CAAC;CACH;AAOD;;GAEG;AACH,wBA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wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,EAC3E,KAAK,EAAE,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,GACrB,YAAY,GAAG,SAAS,CAE1B;AAkCD;;GAEG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAC9F,KAAK,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EAClC,KAAK,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAChC,GAAG,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,GAChC,YAAY,CAkQd"}
@@ -1,3 +1,5 @@
1
- import { a as useLocale, i as getDefaultLocale, n as I18nProvider, o as createCacheKey, r as createDefaultLocale, s as isRTL, t as createCollator } from "../_chunk/createCollator.js";
2
- import { a as createDateFormatter, i as createFilter, n as createStringDictionary, o as createNumberFormatter, r as createStringFormatter, t as NumberFormatter } from "../_chunk/i18n.js";
1
+ import { a as createCacheKey, i as useLocale, n as createDefaultLocale, o as isRTL, r as getDefaultLocale, t as I18nProvider } from "../_chunk/locale.js";
2
+ import { i as createNumberFormatter, n as createFilter, r as createDateFormatter, t as NumberFormatter } from "../_chunk/i18n.js";
3
+ import { t as createCollator } from "../_chunk/createCollator.js";
4
+ import { n as createStringFormatter, t as createStringDictionary } from "../_chunk/createStringFormatter.js";
3
5
  export { I18nProvider, NumberFormatter, createCacheKey, createCollator, createDateFormatter, createDefaultLocale, createFilter, createNumberFormatter, createStringDictionary, createStringFormatter, getDefaultLocale, isRTL, useLocale };
@@ -1,3 +1,5 @@
1
- import { a as useLocale, i as getDefaultLocale, n as I18nProvider, o as createCacheKey, r as createDefaultLocale, s as isRTL, t as createCollator } from "../_chunk/createCollator.jsx";
2
- import { a as createDateFormatter, i as createFilter, n as createStringDictionary, o as createNumberFormatter, r as createStringFormatter, t as NumberFormatter } from "../_chunk/i18n.jsx";
1
+ import { a as createCacheKey, i as useLocale, n as createDefaultLocale, o as isRTL, r as getDefaultLocale, t as I18nProvider } from "../_chunk/locale.jsx";
2
+ import { i as createNumberFormatter, n as createFilter, r as createDateFormatter, t as NumberFormatter } from "../_chunk/i18n.jsx";
3
+ import { t as createCollator } from "../_chunk/createCollator.jsx";
4
+ import { n as createStringFormatter, t as createStringDictionary } from "../_chunk/createStringFormatter.jsx";
3
5
  export { I18nProvider, NumberFormatter, createCacheKey, createCollator, createDateFormatter, createDefaultLocale, createFilter, createNumberFormatter, createStringDictionary, createStringFormatter, getDefaultLocale, isRTL, useLocale };
package/dist/index.d.ts CHANGED
@@ -28,18 +28,18 @@ export { createComboBox, getComboBoxData, type AriaComboBoxProps, type ComboBoxA
28
28
  export { createDialog, type AriaDialogProps, type DialogAria } from "./dialog";
29
29
  export { createToast, createToastRegion, type AriaToastProps, type ToastAria, type AriaToastRegionProps, type ToastRegionAria, } from "./toast";
30
30
  export { createPopover, createOverlayPosition, calculatePosition, type AriaPopoverProps, type PopoverAria, type AriaPositionProps, type PositionProps, type PositionAria, type Placement, type PlacementAxis, type PositionOpts, type PositionResult, } from "./popover";
31
- export { FocusScope, useFocusManager, type FocusScopeProps, type FocusManager, type FocusManagerOptions, createFocusRestore, pushFocusStack, popFocusStack, getFocusStackLength, clearFocusStack, type FocusRestoreOptions, type FocusRestoreResult, createVirtualFocus, type VirtualFocusOptions, type VirtualFocusResult, createAutoFocus, clearAutoFocusQueue, getAutoFocusQueueLength, type AutoFocusOptions, type AutoFocusResult, } from "./focus";
31
+ export { FocusScope, useFocusManager, createFocusManager, type FocusScopeProps, type FocusManager, type FocusManagerOptions, createFocusRestore, pushFocusStack, popFocusStack, getFocusStackLength, clearFocusStack, type FocusRestoreOptions, type FocusRestoreResult, createVirtualFocus, type VirtualFocusOptions, type VirtualFocusResult, moveVirtualFocus, dispatchVirtualBlur, dispatchVirtualFocus, getVirtuallyFocusedElement, createAutoFocus, clearAutoFocusQueue, getAutoFocusQueueLength, type AutoFocusOptions, type AutoFocusResult, } from "./focus";
32
32
  export { createDisclosure, createDisclosureGroup, type AriaDisclosureProps, type DisclosureAria, type AriaDisclosureGroupProps, type DisclosureGroupAria, } from "./disclosure";
33
33
  export { createMeter, type AriaMeterProps, type MeterAria } from "./meter";
34
34
  export { createTagGroup, createTag, getTagGroupData, type AriaTagGroupProps, type TagGroupAria, type AriaTagProps, type TagAria, } from "./tag";
35
35
  export { createCalendar, type AriaCalendarProps, type CalendarAria, createCalendarMonthPicker, type CalendarMonthPickerProps, type CalendarMonthPickerItem, type CalendarMonthPickerAria, createCalendarYearPicker, type CalendarYearPickerProps, type CalendarYearPickerFormatOptions, type CalendarYearPickerItem, type CalendarYearPickerAria, createCalendarGrid, type AriaCalendarGridProps, type CalendarGridAria, createCalendarCell, type AriaCalendarCellProps, type CalendarCellAria, createRangeCalendar, type AriaRangeCalendarProps, type RangeCalendarAria, createRangeCalendarCell, type AriaRangeCalendarCellProps, type RangeCalendarCellAria, } from "./calendar";
36
- export { createDateField, type AriaDateFieldProps, type DateFieldAria, createDateSegment, type AriaDateSegmentProps, type DateSegmentAria, createTimeField, type AriaTimeFieldProps, type TimeFieldAria, createTimeSegment, type AriaTimeSegmentProps, type TimeSegmentAria, createDatePicker, createDateRangePicker, type AriaDatePickerProps, type DatePickerAria, type DatePickerState, type AriaDateRangePickerProps, type DateRangePickerAria, } from "./datepicker";
36
+ export { createDateField, type AriaDateFieldProps, type DateFieldAria, createDateSegment, type AriaDateSegmentProps, type DateSegmentAria, createTimeField, type AriaTimeFieldProps, type TimeFieldAria, createDatePicker, createDateRangePicker, type AriaDatePickerProps, type DatePickerAria, type DatePickerState, type AriaDateRangePickerProps, type DateRangePickerAria, } from "./datepicker";
37
37
  export { createGrid, createGridRow, createGridCell, GridKeyboardDelegate, getGridData, type KeyboardDelegate, type GridProps, type GridAria, type GridRowProps, type GridRowAria, type GridCellProps, type GridCellAria, } from "./grid";
38
38
  export { createTable, createTableHeaderRow, createTableColumnHeader, createTableRow, createTableCell, createTableRowGroup, createTableSelectionCheckbox, createTableSelectAllCheckbox, getTableData, createTableColumnResize, type AriaTableProps, type TableAria, type AriaTableHeaderRowProps, type TableHeaderRowAria, type AriaTableColumnHeaderProps, type TableColumnHeaderAria, type AriaTableRowProps, type TableRowAria, type AriaTableCellProps, type TableCellAria, type AriaTableRowGroupProps, type TableRowGroupAria, type AriaTableSelectionCheckboxProps, type TableSelectionCheckboxAria, type TableSelectAllCheckboxAria, type CreateTableColumnResizeProps, type TableColumnResizeResult, } from "./table";
39
39
  export { createGridList, createGridListItem, createGridListSelectionCheckbox, createGridListSection, getGridListData, type AriaGridListProps, type GridListAria, type AriaGridListItemProps, type GridListItemAria, type AriaGridListSelectionCheckboxProps, type GridListSelectionCheckboxAria, type AriaGridListSectionProps, type GridListSectionAria, } from "./gridlist";
40
40
  export { createTree, createTreeItem, createTreeSelectionCheckbox, getTreeData, type AriaTreeProps, type TreeAria, type AriaTreeItemProps, type TreeItemAria, type AriaTreeSelectionCheckboxProps, type TreeSelectionCheckboxAria, } from "./tree";
41
41
  export { createColorSlider, createColorArea, createColorWheel, createColorField, createColorSwatch, type AriaColorSliderOptions, type ColorSliderAria, type AriaColorAreaOptions, type ColorAreaAria, type AriaColorWheelOptions, type ColorWheelAria, type AriaColorFieldOptions, type ColorFieldAria, type AriaColorSwatchOptions, type ColorSwatchAria, } from "./color";
42
- export { createDrag, createDrop, createDraggableCollection, createDroppableCollection, createDraggableItem, createDroppableItem, setGlobalDraggingCollectionRef, getGlobalDraggingCollectionRef, setGlobalDraggingKeys, getGlobalDraggingKeys, setGlobalDraggingTypes, getGlobalDraggingTypes, setGlobalDropCollectionRef, getGlobalDropCollectionRef, type AriaDragOptions, type DragAria, type AriaDropOptions, type DropAria, type DraggableCollectionOptions, type DraggableCollectionAria, type DroppableCollectionOptions, type DroppableCollectionAria, type DropTargetDelegate, type DraggableItemOptions, type DraggableItemAria, type DroppableItemOptions, type DroppableItemAria, CUSTOM_DRAG_TYPE, NATIVE_DRAG_TYPES, GENERIC_TYPE, DROP_OPERATION, DROP_OPERATION_ALLOWED, EFFECT_ALLOWED, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION_TO_DROP_EFFECT, getTypes, writeToDataTransfer, readFromDataTransfer, DragTypesImpl, isTextDropItem, isFileDropItem, isDirectoryDropItem, setGlobalDropEffect, getGlobalDropEffect, setGlobalAllowedDropOperations, getGlobalAllowedDropOperations, } from "./dnd";
42
+ export { createDrag, createDrop, createDraggableCollection, createDroppableCollection, createDraggableItem, createDroppableItem, createDragSession, isVirtualDragging, registerDropItem, dndIntlStrings, setGlobalDraggingCollectionRef, getGlobalDraggingCollectionRef, setGlobalDraggingKeys, getGlobalDraggingKeys, setGlobalDraggingTypes, getGlobalDraggingTypes, setGlobalDropCollectionRef, getGlobalDropCollectionRef, type AriaDragOptions, type DragAria, type AriaDropOptions, type DropAria, type DraggableCollectionOptions, type DraggableCollectionAria, type DroppableCollectionOptions, type DroppableCollectionAria, type DropTargetDelegate, type DraggableItemOptions, type DraggableItemAria, type DroppableItemOptions, type DroppableItemAria, type DragSession, type DndIntlStrings, CUSTOM_DRAG_TYPE, NATIVE_DRAG_TYPES, GENERIC_TYPE, DROP_OPERATION, DROP_OPERATION_ALLOWED, EFFECT_ALLOWED, DROP_EFFECT_TO_DROP_OPERATION, DROP_OPERATION_TO_DROP_EFFECT, getTypes, writeToDataTransfer, readFromDataTransfer, DragTypesImpl, isTextDropItem, isFileDropItem, isDirectoryDropItem, setGlobalDropEffect, getGlobalDropEffect, setGlobalAllowedDropOperations, getGlobalAllowedDropOperations, } from "./dnd";
43
43
  export { createLandmark, getLandmarkController, type AriaLandmarkRole, type AriaLandmarkProps, type LandmarkAria, type LandmarkController, } from "./landmark";
44
44
  export { createVisuallyHidden, visuallyHiddenStyles, type AriaVisuallyHiddenProps, type VisuallyHiddenAria, } from "./visually-hidden";
45
45
  export { announce, clearAnnouncer, destroyAnnouncer, useAnnouncer, type Assertiveness, type Message, type UseAnnouncerResult, } from "./live-announcer";