@proyecto-viviana/solid-stately 0.5.1 → 0.6.0-rc.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 (414) hide show
  1. package/LICENSE-APACHE-2.0 +201 -0
  2. package/NOTICE +91 -0
  3. package/dist/autocomplete/createAutocompleteState.d.ts +2 -1
  4. package/dist/autocomplete/createAutocompleteState.d.ts.map +1 -0
  5. package/dist/autocomplete/index.d.ts +1 -0
  6. package/dist/autocomplete/index.d.ts.map +1 -0
  7. package/dist/calendar/IncompleteDate.d.ts +2 -1
  8. package/dist/calendar/IncompleteDate.d.ts.map +1 -0
  9. package/dist/calendar/createCalendarState.d.ts +7 -8
  10. package/dist/calendar/createCalendarState.d.ts.map +1 -0
  11. package/dist/calendar/createDateFieldState.d.ts +4 -20
  12. package/dist/calendar/createDateFieldState.d.ts.map +1 -0
  13. package/dist/calendar/createDatePickerState.d.ts +2 -7
  14. package/dist/calendar/createDatePickerState.d.ts.map +1 -0
  15. package/dist/calendar/createRangeCalendarState.d.ts +7 -7
  16. package/dist/calendar/createRangeCalendarState.d.ts.map +1 -0
  17. package/dist/calendar/createTimeFieldState.d.ts +4 -23
  18. package/dist/calendar/createTimeFieldState.d.ts.map +1 -0
  19. package/dist/calendar/index.d.ts +1 -0
  20. package/dist/calendar/index.d.ts.map +1 -0
  21. package/dist/calendar/intl/index.d.ts +1 -0
  22. package/dist/calendar/intl/index.d.ts.map +1 -0
  23. package/dist/checkbox/createCheckboxGroupState.d.ts +1 -0
  24. package/dist/checkbox/createCheckboxGroupState.d.ts.map +1 -0
  25. package/dist/checkbox/index.d.ts +1 -0
  26. package/dist/checkbox/index.d.ts.map +1 -0
  27. package/dist/collections/ListCollection.d.ts +5 -0
  28. package/dist/collections/ListCollection.d.ts.map +1 -0
  29. package/dist/collections/createListState.d.ts +2 -6
  30. package/dist/collections/createListState.d.ts.map +1 -0
  31. package/dist/collections/createMenuState.d.ts +30 -13
  32. package/dist/collections/createMenuState.d.ts.map +1 -0
  33. package/dist/collections/createSelectionState.d.ts +2 -5
  34. package/dist/collections/createSelectionState.d.ts.map +1 -0
  35. package/dist/collections/getChildNodes.d.ts +6 -3
  36. package/dist/collections/getChildNodes.d.ts.map +1 -0
  37. package/dist/collections/index.d.ts +2 -1
  38. package/dist/collections/index.d.ts.map +1 -0
  39. package/dist/collections/types.d.ts +36 -2
  40. package/dist/collections/types.d.ts.map +1 -0
  41. package/dist/color/Color.d.ts +7 -1
  42. package/dist/color/Color.d.ts.map +1 -0
  43. package/dist/color/createColorAreaState.d.ts +2 -5
  44. package/dist/color/createColorAreaState.d.ts.map +1 -0
  45. package/dist/color/createColorFieldState.d.ts +2 -5
  46. package/dist/color/createColorFieldState.d.ts.map +1 -0
  47. package/dist/color/createColorSliderState.d.ts +2 -5
  48. package/dist/color/createColorSliderState.d.ts.map +1 -0
  49. package/dist/color/createColorWheelState.d.ts +2 -5
  50. package/dist/color/createColorWheelState.d.ts.map +1 -0
  51. package/dist/color/getColorChannels.d.ts +3 -0
  52. package/dist/color/getColorChannels.d.ts.map +1 -0
  53. package/dist/color/index.d.ts +2 -1
  54. package/dist/color/index.d.ts.map +1 -0
  55. package/dist/color/intl/index.d.ts +1 -0
  56. package/dist/color/intl/index.d.ts.map +1 -0
  57. package/dist/color/types.d.ts +2 -1
  58. package/dist/color/types.d.ts.map +1 -0
  59. package/dist/combobox/createComboBoxState.d.ts +4 -8
  60. package/dist/combobox/createComboBoxState.d.ts.map +1 -0
  61. package/dist/combobox/index.d.ts +1 -0
  62. package/dist/combobox/index.d.ts.map +1 -0
  63. package/dist/data/createAsyncList.d.ts +1 -7
  64. package/dist/data/createAsyncList.d.ts.map +1 -0
  65. package/dist/data/createListData.d.ts +1 -6
  66. package/dist/data/createListData.d.ts.map +1 -0
  67. package/dist/data/createTreeData.d.ts +1 -6
  68. package/dist/data/createTreeData.d.ts.map +1 -0
  69. package/dist/data/index.d.ts +1 -0
  70. package/dist/data/index.d.ts.map +1 -0
  71. package/dist/datepicker/index.d.ts +1 -0
  72. package/dist/datepicker/index.d.ts.map +1 -0
  73. package/dist/disclosure/createDisclosureState.d.ts +2 -5
  74. package/dist/disclosure/createDisclosureState.d.ts.map +1 -0
  75. package/dist/disclosure/index.d.ts +1 -0
  76. package/dist/disclosure/index.d.ts.map +1 -0
  77. package/dist/dnd/createDragState.d.ts +2 -6
  78. package/dist/dnd/createDragState.d.ts.map +1 -0
  79. package/dist/dnd/createDraggableCollectionState.d.ts +39 -10
  80. package/dist/dnd/createDraggableCollectionState.d.ts.map +1 -0
  81. package/dist/dnd/createDropState.d.ts +2 -6
  82. package/dist/dnd/createDropState.d.ts.map +1 -0
  83. package/dist/dnd/createDroppableCollectionState.d.ts +28 -11
  84. package/dist/dnd/createDroppableCollectionState.d.ts.map +1 -0
  85. package/dist/dnd/index.d.ts +3 -2
  86. package/dist/dnd/index.d.ts.map +1 -0
  87. package/dist/dnd/types.d.ts +17 -0
  88. package/dist/dnd/types.d.ts.map +1 -0
  89. package/dist/flags/flags.d.ts +5 -0
  90. package/dist/flags/flags.d.ts.map +1 -0
  91. package/dist/form/createFormValidationState.d.ts +2 -9
  92. package/{src → dist}/form/createFormValidationState.d.ts.map +1 -1
  93. package/dist/form/index.d.ts +1 -0
  94. package/dist/form/index.d.ts.map +1 -0
  95. package/dist/grid/createGridState.d.ts +3 -2
  96. package/dist/grid/createGridState.d.ts.map +1 -0
  97. package/dist/grid/index.d.ts +1 -0
  98. package/dist/grid/index.d.ts.map +1 -0
  99. package/dist/grid/types.d.ts +23 -1
  100. package/dist/grid/types.d.ts.map +1 -0
  101. package/dist/index.d.ts +4 -2
  102. package/dist/index.d.ts.map +1 -0
  103. package/dist/index.js +2030 -593
  104. package/dist/index.js.map +1 -1
  105. package/dist/menu/index.d.ts +2 -1
  106. package/dist/menu/index.d.ts.map +1 -0
  107. package/dist/numberfield/createNumberFieldState.d.ts +31 -6
  108. package/dist/numberfield/createNumberFieldState.d.ts.map +1 -0
  109. package/dist/numberfield/index.d.ts +1 -0
  110. package/dist/numberfield/index.d.ts.map +1 -0
  111. package/dist/overlays/createOverlayTriggerState.d.ts +12 -1
  112. package/dist/overlays/createOverlayTriggerState.d.ts.map +1 -0
  113. package/dist/overlays/index.d.ts +1 -0
  114. package/dist/overlays/index.d.ts.map +1 -0
  115. package/dist/private/flags/flags.js +26 -0
  116. package/dist/private/flags/flags.js.map +1 -0
  117. package/dist/radio/createRadioGroupState.d.ts +1 -0
  118. package/dist/radio/createRadioGroupState.d.ts.map +1 -0
  119. package/dist/radio/index.d.ts +1 -0
  120. package/dist/radio/index.d.ts.map +1 -0
  121. package/dist/searchfield/createSearchFieldState.d.ts +2 -5
  122. package/dist/searchfield/createSearchFieldState.d.ts.map +1 -0
  123. package/dist/searchfield/index.d.ts +1 -0
  124. package/dist/searchfield/index.d.ts.map +1 -0
  125. package/dist/select/createSelectState.d.ts +17 -6
  126. package/dist/select/createSelectState.d.ts.map +1 -0
  127. package/dist/select/index.d.ts +1 -0
  128. package/dist/select/index.d.ts.map +1 -0
  129. package/dist/selection/Selection.d.ts +2 -1
  130. package/dist/selection/Selection.d.ts.map +1 -0
  131. package/dist/selection/SelectionManager.d.ts +1 -19
  132. package/dist/selection/SelectionManager.d.ts.map +1 -0
  133. package/dist/selection/createMultipleSelectionState.d.ts +2 -13
  134. package/dist/selection/createMultipleSelectionState.d.ts.map +1 -0
  135. package/dist/selection/index.d.ts +1 -0
  136. package/dist/selection/index.d.ts.map +1 -0
  137. package/dist/slider/createSliderState.d.ts +2 -5
  138. package/dist/slider/createSliderState.d.ts.map +1 -0
  139. package/dist/slider/index.d.ts +1 -0
  140. package/dist/slider/index.d.ts.map +1 -0
  141. package/dist/ssr/index.d.ts +2 -7
  142. package/dist/ssr/index.d.ts.map +1 -0
  143. package/dist/steplist/createStepListState.d.ts +2 -5
  144. package/dist/steplist/createStepListState.d.ts.map +1 -0
  145. package/dist/steplist/index.d.ts +1 -0
  146. package/dist/steplist/index.d.ts.map +1 -0
  147. package/dist/table/TableCollection.d.ts +1 -0
  148. package/dist/table/TableCollection.d.ts.map +1 -0
  149. package/dist/table/createTableColumnResizeState.d.ts +2 -9
  150. package/dist/table/createTableColumnResizeState.d.ts.map +1 -0
  151. package/dist/table/createTableState.d.ts +2 -5
  152. package/dist/table/createTableState.d.ts.map +1 -0
  153. package/dist/table/createTreeGridState.d.ts +2 -8
  154. package/dist/table/createTreeGridState.d.ts.map +1 -0
  155. package/dist/table/index.d.ts +1 -0
  156. package/dist/table/index.d.ts.map +1 -0
  157. package/dist/table/types.d.ts +35 -1
  158. package/dist/table/types.d.ts.map +1 -0
  159. package/dist/tabs/createTabListState.d.ts +2 -5
  160. package/dist/tabs/createTabListState.d.ts.map +1 -0
  161. package/dist/tabs/index.d.ts +1 -0
  162. package/dist/tabs/index.d.ts.map +1 -0
  163. package/dist/textfield/createTextFieldState.d.ts +1 -0
  164. package/dist/textfield/createTextFieldState.d.ts.map +1 -0
  165. package/dist/textfield/index.d.ts +1 -0
  166. package/dist/textfield/index.d.ts.map +1 -0
  167. package/dist/toast/createToastState.d.ts +2 -5
  168. package/dist/toast/createToastState.d.ts.map +1 -0
  169. package/dist/toast/index.d.ts +1 -0
  170. package/dist/toast/index.d.ts.map +1 -0
  171. package/dist/toggle/createToggleGroupState.d.ts +1 -0
  172. package/dist/toggle/createToggleGroupState.d.ts.map +1 -0
  173. package/dist/toggle/createToggleState.d.ts +1 -0
  174. package/dist/toggle/createToggleState.d.ts.map +1 -0
  175. package/dist/toggle/index.d.ts +1 -0
  176. package/dist/toggle/index.d.ts.map +1 -0
  177. package/dist/tokenfield/TokenFieldValue.d.ts +72 -0
  178. package/dist/tokenfield/TokenFieldValue.d.ts.map +1 -0
  179. package/dist/tokenfield/createTokenFieldState.d.ts +33 -0
  180. package/dist/tokenfield/createTokenFieldState.d.ts.map +1 -0
  181. package/dist/tokenfield/index.d.ts +3 -0
  182. package/dist/tokenfield/index.d.ts.map +1 -0
  183. package/dist/tooltip/createTooltipTriggerState.d.ts +9 -8
  184. package/dist/tooltip/createTooltipTriggerState.d.ts.map +1 -0
  185. package/dist/tooltip/index.d.ts +1 -0
  186. package/dist/tooltip/index.d.ts.map +1 -0
  187. package/dist/tree/TreeCollection.d.ts +1 -0
  188. package/dist/tree/TreeCollection.d.ts.map +1 -0
  189. package/dist/tree/createTreeState.d.ts +2 -7
  190. package/{src → dist}/tree/createTreeState.d.ts.map +1 -1
  191. package/dist/tree/index.d.ts +1 -0
  192. package/dist/tree/index.d.ts.map +1 -0
  193. package/dist/tree/types.d.ts +19 -1
  194. package/dist/tree/types.d.ts.map +1 -0
  195. package/dist/utils/index.d.ts +3 -1
  196. package/dist/utils/index.d.ts.map +1 -0
  197. package/dist/utils/owner.d.ts +9 -0
  198. package/dist/utils/owner.d.ts.map +1 -0
  199. package/dist/utils/reactivity.d.ts +19 -0
  200. package/dist/utils/reactivity.d.ts.map +1 -0
  201. package/package.json +21 -9
  202. package/src/autocomplete/createAutocompleteState.ts +18 -4
  203. package/src/calendar/IncompleteDate.ts +15 -1
  204. package/src/calendar/createCalendarState.ts +194 -79
  205. package/src/calendar/createDateFieldState.ts +45 -31
  206. package/src/calendar/createDatePickerState.ts +32 -14
  207. package/src/calendar/createRangeCalendarState.ts +134 -73
  208. package/src/calendar/createTimeFieldState.ts +25 -6
  209. package/src/calendar/intl/index.ts +37 -2
  210. package/src/checkbox/createCheckboxGroupState.ts +29 -13
  211. package/src/collections/ListCollection.ts +31 -0
  212. package/src/collections/createListState.ts +23 -6
  213. package/src/collections/createMenuState.ts +59 -14
  214. package/src/collections/createSelectionState.ts +32 -12
  215. package/src/collections/getChildNodes.ts +20 -3
  216. package/src/collections/index.ts +2 -0
  217. package/src/collections/types.ts +35 -2
  218. package/src/color/Color.ts +61 -22
  219. package/src/color/createColorAreaState.ts +29 -4
  220. package/src/color/createColorFieldState.ts +37 -11
  221. package/src/color/createColorSliderState.ts +36 -7
  222. package/src/color/createColorWheelState.ts +20 -4
  223. package/src/color/getColorChannels.ts +16 -0
  224. package/src/color/index.ts +1 -0
  225. package/src/color/intl/index.ts +38 -3
  226. package/src/color/types.ts +1 -1
  227. package/src/combobox/createComboBoxState.ts +178 -195
  228. package/src/data/createAsyncList.ts +22 -2
  229. package/src/data/createListData.ts +19 -2
  230. package/src/data/createTreeData.ts +19 -3
  231. package/src/disclosure/createDisclosureState.ts +40 -19
  232. package/src/dnd/createDragState.ts +22 -4
  233. package/src/dnd/createDraggableCollectionState.ts +137 -10
  234. package/src/dnd/createDropState.ts +21 -3
  235. package/src/dnd/createDroppableCollectionState.ts +117 -11
  236. package/src/dnd/index.ts +4 -0
  237. package/src/dnd/types.ts +16 -0
  238. package/src/flags/flags.ts +25 -0
  239. package/src/form/createFormValidationState.ts +54 -36
  240. package/src/grid/createGridState.ts +187 -109
  241. package/src/grid/types.ts +22 -1
  242. package/src/index.ts +15 -0
  243. package/src/menu/index.ts +2 -0
  244. package/src/numberfield/createNumberFieldState.ts +153 -66
  245. package/src/overlays/createOverlayTriggerState.ts +31 -4
  246. package/src/radio/createRadioGroupState.ts +19 -5
  247. package/src/searchfield/createSearchFieldState.ts +18 -3
  248. package/src/select/createSelectState.ts +73 -8
  249. package/src/selection/Selection.ts +15 -1
  250. package/src/selection/SelectionManager.ts +14 -0
  251. package/src/selection/createMultipleSelectionState.ts +44 -25
  252. package/src/slider/createSliderState.ts +20 -5
  253. package/src/ssr/index.ts +27 -4
  254. package/src/steplist/createStepListState.ts +38 -17
  255. package/src/table/TableCollection.ts +14 -0
  256. package/src/table/createTableColumnResizeState.ts +20 -3
  257. package/src/table/createTableState.ts +22 -1
  258. package/src/table/createTreeGridState.ts +21 -4
  259. package/src/table/types.ts +36 -3
  260. package/src/tabs/createTabListState.ts +77 -34
  261. package/src/textfield/createTextFieldState.ts +17 -3
  262. package/src/toast/createToastState.ts +28 -3
  263. package/src/toggle/createToggleGroupState.ts +20 -5
  264. package/src/toggle/createToggleState.ts +19 -4
  265. package/src/tokenfield/TokenFieldValue.ts +440 -0
  266. package/src/tokenfield/createTokenFieldState.ts +88 -0
  267. package/src/tokenfield/index.ts +14 -0
  268. package/src/tooltip/createTooltipTriggerState.ts +49 -13
  269. package/src/tree/TreeCollection.ts +14 -0
  270. package/src/tree/createTreeState.ts +62 -35
  271. package/src/tree/types.ts +18 -1
  272. package/src/utils/index.ts +9 -1
  273. package/src/utils/owner.ts +20 -0
  274. package/src/utils/reactivity.ts +45 -1
  275. package/src/autocomplete/createAutocompleteState.d.ts +0 -48
  276. package/src/autocomplete/createAutocompleteState.d.ts.map +0 -1
  277. package/src/autocomplete/index.d.ts +0 -6
  278. package/src/autocomplete/index.d.ts.map +0 -1
  279. package/src/calendar/createCalendarState.d.ts +0 -152
  280. package/src/calendar/createCalendarState.d.ts.map +0 -1
  281. package/src/calendar/createDateFieldState.d.ts +0 -145
  282. package/src/calendar/createDateFieldState.d.ts.map +0 -1
  283. package/src/calendar/createRangeCalendarState.d.ts +0 -171
  284. package/src/calendar/createRangeCalendarState.d.ts.map +0 -1
  285. package/src/calendar/createTimeFieldState.d.ts +0 -97
  286. package/src/calendar/createTimeFieldState.d.ts.map +0 -1
  287. package/src/calendar/index.d.ts +0 -80
  288. package/src/calendar/index.d.ts.map +0 -1
  289. package/src/checkbox/createCheckboxGroupState.d.ts +0 -73
  290. package/src/checkbox/createCheckboxGroupState.d.ts.map +0 -1
  291. package/src/checkbox/index.d.ts +0 -6
  292. package/src/checkbox/index.d.ts.map +0 -1
  293. package/src/collections/ListCollection.d.ts +0 -40
  294. package/src/collections/ListCollection.d.ts.map +0 -1
  295. package/src/collections/createListState.d.ts +0 -94
  296. package/src/collections/createListState.d.ts.map +0 -1
  297. package/src/collections/createMenuState.d.ts +0 -55
  298. package/src/collections/createMenuState.d.ts.map +0 -1
  299. package/src/collections/createSelectionState.d.ts +0 -89
  300. package/src/collections/createSelectionState.d.ts.map +0 -1
  301. package/src/collections/index.d.ts +0 -38
  302. package/src/collections/index.d.ts.map +0 -1
  303. package/src/collections/types.d.ts +0 -147
  304. package/src/collections/types.d.ts.map +0 -1
  305. package/src/color/Color.d.ts +0 -43
  306. package/src/color/Color.d.ts.map +0 -1
  307. package/src/color/createColorAreaState.d.ts +0 -78
  308. package/src/color/createColorAreaState.d.ts.map +0 -1
  309. package/src/color/createColorFieldState.d.ts +0 -57
  310. package/src/color/createColorFieldState.d.ts.map +0 -1
  311. package/src/color/createColorSliderState.d.ts +0 -69
  312. package/src/color/createColorSliderState.d.ts.map +0 -1
  313. package/src/color/createColorWheelState.d.ts +0 -53
  314. package/src/color/createColorWheelState.d.ts.map +0 -1
  315. package/src/color/index.d.ts +0 -39
  316. package/src/color/index.d.ts.map +0 -1
  317. package/src/color/types.d.ts +0 -111
  318. package/src/color/types.d.ts.map +0 -1
  319. package/src/combobox/createComboBoxState.d.ts +0 -127
  320. package/src/combobox/createComboBoxState.d.ts.map +0 -1
  321. package/src/combobox/index.d.ts +0 -13
  322. package/src/combobox/index.d.ts.map +0 -1
  323. package/src/disclosure/createDisclosureState.d.ts +0 -68
  324. package/src/disclosure/createDisclosureState.d.ts.map +0 -1
  325. package/src/disclosure/index.d.ts +0 -10
  326. package/src/disclosure/index.d.ts.map +0 -1
  327. package/src/dnd/createDragState.d.ts +0 -68
  328. package/src/dnd/createDragState.d.ts.map +0 -1
  329. package/src/dnd/createDraggableCollectionState.d.ts +0 -68
  330. package/src/dnd/createDraggableCollectionState.d.ts.map +0 -1
  331. package/src/dnd/createDropState.d.ts +0 -80
  332. package/src/dnd/createDropState.d.ts.map +0 -1
  333. package/src/dnd/createDroppableCollectionState.d.ts +0 -107
  334. package/src/dnd/createDroppableCollectionState.d.ts.map +0 -1
  335. package/src/dnd/index.d.ts +0 -60
  336. package/src/dnd/index.d.ts.map +0 -1
  337. package/src/dnd/types.d.ts +0 -277
  338. package/src/dnd/types.d.ts.map +0 -1
  339. package/src/form/createFormValidationState.d.ts +0 -102
  340. package/src/form/index.d.ts +0 -16
  341. package/src/form/index.d.ts.map +0 -1
  342. package/src/grid/createGridState.d.ts +0 -15
  343. package/src/grid/createGridState.d.ts.map +0 -1
  344. package/src/grid/index.d.ts +0 -7
  345. package/src/grid/index.d.ts.map +0 -1
  346. package/src/grid/types.d.ts +0 -163
  347. package/src/grid/types.d.ts.map +0 -1
  348. package/src/index.d.ts +0 -311
  349. package/src/index.d.ts.map +0 -1
  350. package/src/numberfield/createNumberFieldState.d.ts +0 -67
  351. package/src/numberfield/createNumberFieldState.d.ts.map +0 -1
  352. package/src/numberfield/index.d.ts +0 -6
  353. package/src/numberfield/index.d.ts.map +0 -1
  354. package/src/overlays/createOverlayTriggerState.d.ts +0 -34
  355. package/src/overlays/createOverlayTriggerState.d.ts.map +0 -1
  356. package/src/overlays/index.d.ts +0 -6
  357. package/src/overlays/index.d.ts.map +0 -1
  358. package/src/radio/createRadioGroupState.d.ts +0 -79
  359. package/src/radio/createRadioGroupState.d.ts.map +0 -1
  360. package/src/radio/index.d.ts +0 -7
  361. package/src/radio/index.d.ts.map +0 -1
  362. package/src/searchfield/createSearchFieldState.d.ts +0 -27
  363. package/src/searchfield/createSearchFieldState.d.ts.map +0 -1
  364. package/src/searchfield/index.d.ts +0 -3
  365. package/src/searchfield/index.d.ts.map +0 -1
  366. package/src/select/createSelectState.d.ts +0 -75
  367. package/src/select/createSelectState.d.ts.map +0 -1
  368. package/src/select/index.d.ts +0 -2
  369. package/src/select/index.d.ts.map +0 -1
  370. package/src/slider/createSliderState.d.ts +0 -72
  371. package/src/slider/createSliderState.d.ts.map +0 -1
  372. package/src/slider/index.d.ts +0 -3
  373. package/src/slider/index.d.ts.map +0 -1
  374. package/src/ssr/index.d.ts +0 -28
  375. package/src/ssr/index.d.ts.map +0 -1
  376. package/src/table/TableCollection.d.ts +0 -54
  377. package/src/table/TableCollection.d.ts.map +0 -1
  378. package/src/table/createTableState.d.ts +0 -15
  379. package/src/table/createTableState.d.ts.map +0 -1
  380. package/src/table/index.d.ts +0 -18
  381. package/src/table/index.d.ts.map +0 -1
  382. package/src/table/types.d.ts +0 -145
  383. package/src/table/types.d.ts.map +0 -1
  384. package/src/tabs/createTabListState.d.ts +0 -70
  385. package/src/tabs/createTabListState.d.ts.map +0 -1
  386. package/src/tabs/index.d.ts +0 -8
  387. package/src/tabs/index.d.ts.map +0 -1
  388. package/src/textfield/createTextFieldState.d.ts +0 -32
  389. package/src/textfield/createTextFieldState.d.ts.map +0 -1
  390. package/src/textfield/index.d.ts +0 -6
  391. package/src/textfield/index.d.ts.map +0 -1
  392. package/src/toast/createToastState.d.ts +0 -129
  393. package/src/toast/createToastState.d.ts.map +0 -1
  394. package/src/toast/index.d.ts +0 -12
  395. package/src/toast/index.d.ts.map +0 -1
  396. package/src/toggle/createToggleState.d.ts +0 -34
  397. package/src/toggle/createToggleState.d.ts.map +0 -1
  398. package/src/toggle/index.d.ts +0 -2
  399. package/src/toggle/index.d.ts.map +0 -1
  400. package/src/tooltip/createTooltipTriggerState.d.ts +0 -39
  401. package/src/tooltip/createTooltipTriggerState.d.ts.map +0 -1
  402. package/src/tooltip/index.d.ts +0 -7
  403. package/src/tooltip/index.d.ts.map +0 -1
  404. package/src/tree/TreeCollection.d.ts +0 -43
  405. package/src/tree/TreeCollection.d.ts.map +0 -1
  406. package/src/tree/createTreeState.d.ts +0 -17
  407. package/src/tree/index.d.ts +0 -13
  408. package/src/tree/index.d.ts.map +0 -1
  409. package/src/tree/types.d.ts +0 -162
  410. package/src/tree/types.d.ts.map +0 -1
  411. package/src/utils/index.d.ts +0 -2
  412. package/src/utils/index.d.ts.map +0 -1
  413. package/src/utils/reactivity.d.ts +0 -28
  414. package/src/utils/reactivity.d.ts.map +0 -1
@@ -1,68 +0,0 @@
1
- /**
2
- * Draggable collection state management for solid-stately.
3
- *
4
- * Provides reactive state for dragging items from a collection.
5
- */
6
- import { type Accessor } from "solid-js";
7
- import type {
8
- DragItem,
9
- DraggableCollectionStartEvent,
10
- DraggableCollectionMoveEvent,
11
- DraggableCollectionEndEvent,
12
- DropOperation,
13
- DragPreviewRenderer,
14
- } from "./types";
15
- export interface DraggableCollectionStateOptions<T = object> {
16
- /** A function that returns the items being dragged. */
17
- getItems: (keys: Set<string | number>) => DragItem[];
18
- /** Function that returns the allowed drop operations. */
19
- getAllowedDropOperations?: () => DropOperation[];
20
- /** Handler that is called when a drag operation is started. */
21
- onDragStart?: (e: DraggableCollectionStartEvent) => void;
22
- /** Handler that is called when the drag is moved. */
23
- onDragMove?: (e: DraggableCollectionMoveEvent) => void;
24
- /** Handler that is called when the drag operation ends. */
25
- onDragEnd?: (e: DraggableCollectionEndEvent) => void;
26
- /** Whether the drag operation is disabled. */
27
- isDisabled?: boolean;
28
- /** Preview renderer function ref. */
29
- preview?: {
30
- current: DragPreviewRenderer | null;
31
- };
32
- }
33
- export interface DraggableCollectionState {
34
- /** Whether items are currently being dragged. */
35
- readonly isDragging: boolean;
36
- /** The keys of the items being dragged. */
37
- readonly draggingKeys: Set<string | number>;
38
- /** Whether dragging is disabled. */
39
- readonly isDisabled: boolean;
40
- /** Start a drag operation with the given keys. */
41
- startDrag(keys: Set<string | number>, x: number, y: number): void;
42
- /** Update drag position. */
43
- moveDrag(x: number, y: number): void;
44
- /** End a drag operation. */
45
- endDrag(x: number, y: number, dropOperation: DropOperation, isInternal: boolean): void;
46
- /** Cancel a drag operation. */
47
- cancelDrag(): void;
48
- /** Get the items being dragged for the given keys. */
49
- getItems(keys: Set<string | number>): DragItem[];
50
- /** Get allowed drop operations. */
51
- getAllowedDropOperations(): DropOperation[];
52
- /** Preview renderer. */
53
- readonly preview:
54
- | {
55
- current: DragPreviewRenderer | null;
56
- }
57
- | undefined;
58
- }
59
- /**
60
- * Creates state for dragging items from a collection.
61
- *
62
- * @param props - Accessor returning draggable collection options
63
- * @returns Draggable collection state object
64
- */
65
- export declare function createDraggableCollectionState<T = object>(
66
- props: Accessor<DraggableCollectionStateOptions<T>>,
67
- ): DraggableCollectionState;
68
- //# sourceMappingURL=createDraggableCollectionState.d.ts.map
@@ -1 +0,0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EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClE,4BAA4B;IAC5B,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,4BAA4B;IAC5B,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IACvF,+BAA+B;IAC/B,UAAU,IAAI,IAAI,CAAC;IACnB,sDAAsD;IACtD,QAAQ,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,QAAQ,EAAE,CAAC;IACjD,mCAAmC;IACnC,wBAAwB,IAAI,aAAa,EAAE,CAAC;IAC5C,wBAAwB;IACxB,QAAQ,CAAC,OAAO,EAAE;QAAE,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAC;CACvE;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,CAAC,GAAG,MAAM,EACvD,KAAK,EAAE,QAAQ,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAAC,GAClD,wBAAwB,CAoG1B"}
@@ -1,80 +0,0 @@
1
- /**
2
- * Drop state management for solid-stately.
3
- *
4
- * Provides reactive state for drop target operations.
5
- */
6
- import { type Accessor } from "solid-js";
7
- import type {
8
- DropItem,
9
- DropEnterEvent,
10
- DropMoveEvent,
11
- DropExitEvent,
12
- DropActivateEvent,
13
- DropEvent,
14
- DropOperation,
15
- DragTypes,
16
- } from "./types";
17
- export interface DropStateOptions {
18
- /**
19
- * A function returning the drop operation to be performed.
20
- */
21
- getDropOperation?: (types: DragTypes, allowedOperations: DropOperation[]) => DropOperation;
22
- /**
23
- * A function returning the drop operation for a specific point.
24
- */
25
- getDropOperationForPoint?: (
26
- types: DragTypes,
27
- allowedOperations: DropOperation[],
28
- x: number,
29
- y: number,
30
- ) => DropOperation;
31
- /** Handler that is called when a valid drag enters the drop target. */
32
- onDropEnter?: (e: DropEnterEvent) => void;
33
- /** Handler that is called when a valid drag is moved within the drop target. */
34
- onDropMove?: (e: DropMoveEvent) => void;
35
- /** Handler that is called after a valid drag is held over the drop target. */
36
- onDropActivate?: (e: DropActivateEvent) => void;
37
- /** Handler that is called when a valid drag exits the drop target. */
38
- onDropExit?: (e: DropExitEvent) => void;
39
- /** Handler that is called when a valid drag is dropped on the drop target. */
40
- onDrop?: (e: DropEvent) => void;
41
- /** Whether there is a separate drop button affordance. */
42
- hasDropButton?: boolean;
43
- /** Whether the drop target is disabled. */
44
- isDisabled?: boolean;
45
- }
46
- export interface DropState {
47
- /** Whether the drop target is currently being hovered or focused. */
48
- readonly isDropTarget: boolean;
49
- /** Whether the drop target is disabled. */
50
- readonly isDisabled: boolean;
51
- /** Whether there is a drop button. */
52
- readonly hasDropButton: boolean;
53
- /** Enter the drop target. */
54
- enterTarget(x: number, y: number): void;
55
- /** Move within the drop target. */
56
- moveInTarget(x: number, y: number): void;
57
- /** Exit the drop target. */
58
- exitTarget(x: number, y: number): void;
59
- /** Activate the drop target (after holding). */
60
- activateTarget(x: number, y: number): void;
61
- /** Perform a drop on the target. */
62
- drop(x: number, y: number, items: DropItem[], dropOperation: DropOperation): void;
63
- /** Get the drop operation for given types. */
64
- getDropOperation(types: DragTypes, allowedOperations: DropOperation[]): DropOperation;
65
- /** Get the drop operation for a specific point. */
66
- getDropOperationForPoint(
67
- types: DragTypes,
68
- allowedOperations: DropOperation[],
69
- x: number,
70
- y: number,
71
- ): DropOperation;
72
- }
73
- /**
74
- * Creates drop state for managing drop target operations.
75
- *
76
- * @param props - Accessor returning drop state options
77
- * @returns Drop state object
78
- */
79
- export declare function createDropState(props: Accessor<DropStateOptions>): DropState;
80
- //# sourceMappingURL=createDropState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createDropState.d.ts","sourceRoot":"","sources":["createDropState.ts"],"names":[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;IAChC,6BAA6B;IAC7B,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,mCAAmC;IACnC,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,4BAA4B;IAC5B,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,gDAAgD;IAChD,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,oCAAoC;IACpC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IAClF,8CAA8C;IAC9C,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,GAAG,aAAa,CAAC;IACtF,mDAAmD;IACnD,wBAAwB,CACtB,KAAK,EAAE,SAAS,EAChB,iBAAiB,EAAE,aAAa,EAAE,EAClC,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,GACR,aAAa,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAChC,SAAS,CA4HX"}
@@ -1,107 +0,0 @@
1
- /**
2
- * Droppable collection state management for solid-stately.
3
- *
4
- * Provides reactive state for accepting drops onto a collection.
5
- */
6
- import { type Accessor } from "solid-js";
7
- import type {
8
- DropItem,
9
- DropTarget,
10
- DropOperation,
11
- DragTypes,
12
- DroppableCollectionEnterEvent,
13
- DroppableCollectionActivateEvent,
14
- DroppableCollectionExitEvent,
15
- DroppableCollectionDropEvent,
16
- DroppableCollectionInsertDropEvent,
17
- DroppableCollectionRootDropEvent,
18
- DroppableCollectionOnItemDropEvent,
19
- DroppableCollectionReorderEvent,
20
- ItemDropTarget,
21
- } from "./types";
22
- export interface DroppableCollectionStateOptions {
23
- /**
24
- * The drag types that the droppable collection accepts.
25
- * @default 'all'
26
- */
27
- acceptedDragTypes?: "all" | Array<string | symbol>;
28
- /**
29
- * A function returning the drop operation to be performed.
30
- */
31
- getDropOperation?: (
32
- target: DropTarget,
33
- types: DragTypes,
34
- allowedOperations: DropOperation[],
35
- ) => DropOperation;
36
- /** Handler that is called when a valid drag enters a drop target. */
37
- onDropEnter?: (e: DroppableCollectionEnterEvent) => void;
38
- /** Handler that is called after a valid drag is held over a drop target. */
39
- onDropActivate?: (e: DroppableCollectionActivateEvent) => void;
40
- /** Handler that is called when a valid drag exits a drop target. */
41
- onDropExit?: (e: DroppableCollectionExitEvent) => void;
42
- /** Handler that is called when a valid drag is dropped. */
43
- onDrop?: (e: DroppableCollectionDropEvent) => void;
44
- /** Handler that is called when external items are dropped "between" items. */
45
- onInsert?: (e: DroppableCollectionInsertDropEvent) => void;
46
- /** Handler that is called when external items are dropped on the collection's root. */
47
- onRootDrop?: (e: DroppableCollectionRootDropEvent) => void;
48
- /** Handler that is called when items are dropped "on" an item. */
49
- onItemDrop?: (e: DroppableCollectionOnItemDropEvent) => void;
50
- /** Handler that is called when items are reordered within the collection. */
51
- onReorder?: (e: DroppableCollectionReorderEvent) => void;
52
- /** Handler that is called when items are moved within the source collection. */
53
- onMove?: (e: DroppableCollectionReorderEvent) => void;
54
- /** A function returning whether a given target is a valid "on" drop target. */
55
- shouldAcceptItemDrop?: (target: ItemDropTarget, types: DragTypes) => boolean;
56
- /** Whether the droppable collection is disabled. */
57
- isDisabled?: boolean;
58
- }
59
- export interface DroppableCollectionState {
60
- /** Whether a drag is currently over the collection. */
61
- readonly isDropTarget: boolean;
62
- /** The current drop target within the collection. */
63
- readonly target: DropTarget | null;
64
- /** Whether the collection is disabled for drops. */
65
- readonly isDisabled: boolean;
66
- /** Set the current drop target. */
67
- setTarget(target: DropTarget | null): void;
68
- /** Check if a drag type is accepted. */
69
- isAccepted(types: DragTypes): boolean;
70
- /** Enter the collection with a drop target. */
71
- enterTarget(target: DropTarget, x: number, y: number): void;
72
- /** Move to a new target within the collection. */
73
- moveToTarget(target: DropTarget, x: number, y: number): void;
74
- /** Exit the collection. */
75
- exitTarget(x: number, y: number): void;
76
- /** Activate the current target. */
77
- activateTarget(x: number, y: number): void;
78
- /** Perform a drop on the collection. */
79
- drop(
80
- items: DropItem[],
81
- dropOperation: DropOperation,
82
- isInternal: boolean,
83
- draggingKeys?: Set<string | number>,
84
- ): void;
85
- /** Get the drop operation for a target. */
86
- getDropOperation(
87
- target: DropTarget,
88
- types: DragTypes,
89
- allowedOperations: DropOperation[],
90
- ): DropOperation;
91
- /** Check if an item drop should be accepted. */
92
- shouldAcceptItemDrop(target: ItemDropTarget, types: DragTypes): boolean;
93
- }
94
- /**
95
- * Symbol for directory drag type.
96
- */
97
- export declare const DIRECTORY_DRAG_TYPE: symbol;
98
- /**
99
- * Creates state for accepting drops onto a collection.
100
- *
101
- * @param props - Accessor returning droppable collection options
102
- * @returns Droppable collection state object
103
- */
104
- export declare function createDroppableCollectionState(
105
- props: Accessor<DroppableCollectionStateOptions>,
106
- ): DroppableCollectionState;
107
- //# sourceMappingURL=createDroppableCollectionState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createDroppableCollectionState.d.ts","sourceRoot":"","sources":["createDroppableCollectionState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAA4B,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,aAAa,EACb,SAAS,EACT,6BAA6B,EAE7B,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,kCAAkC,EAClC,gCAAgC,EAChC,kCAAkC,EAClC,+BAA+B,EAC/B,cAAc,EACf,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,+BAA+B;IAC9C;;;OAGG;IACH,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,+BAA+B,CAAC,GAC/C,wBAAwB,CAyO1B"}
@@ -1,60 +0,0 @@
1
- /**
2
- * Drag and Drop state management for solid-stately.
3
- *
4
- * Exports for DnD functionality.
5
- */
6
- export type {
7
- DropOperation,
8
- DragItem,
9
- DragDropEvent,
10
- DragStartEvent,
11
- DragMoveEvent,
12
- DragEndEvent,
13
- DropEnterEvent,
14
- DropMoveEvent,
15
- DropActivateEvent,
16
- DropExitEvent,
17
- TextDropItem,
18
- FileDropItem,
19
- DirectoryDropItem,
20
- DropItem,
21
- DropEvent,
22
- DropPosition,
23
- RootDropTarget,
24
- ItemDropTarget,
25
- DropTarget,
26
- DroppableCollectionEnterEvent,
27
- DroppableCollectionMoveEvent,
28
- DroppableCollectionActivateEvent,
29
- DroppableCollectionExitEvent,
30
- DroppableCollectionDropEvent,
31
- DroppableCollectionInsertDropEvent,
32
- DroppableCollectionRootDropEvent,
33
- DroppableCollectionOnItemDropEvent,
34
- DroppableCollectionReorderEvent,
35
- DragType,
36
- DragTypes,
37
- DropTargetDelegate,
38
- DraggableCollectionStartEvent,
39
- DraggableCollectionMoveEvent,
40
- DraggableCollectionEndEvent,
41
- DragPreviewRenderer,
42
- DroppableCollectionUtilityOptions,
43
- DroppableCollectionBaseProps,
44
- DroppableCollectionProps,
45
- DraggableCollectionProps,
46
- } from "./types";
47
- export { createDragState, type DragStateOptions, type DragState } from "./createDragState";
48
- export { createDropState, type DropStateOptions, type DropState } from "./createDropState";
49
- export {
50
- createDraggableCollectionState,
51
- type DraggableCollectionStateOptions,
52
- type DraggableCollectionState,
53
- } from "./createDraggableCollectionState";
54
- export {
55
- createDroppableCollectionState,
56
- DIRECTORY_DRAG_TYPE,
57
- type DroppableCollectionStateOptions,
58
- type DroppableCollectionState,
59
- } from "./createDroppableCollectionState";
60
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,YAAY,EACV,aAAa,EACb,QAAQ,EACR,aAAa,EACb,cAAc,EACd,aAAa,EACb,YAAY,EACZ,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,cAAc,EACd,cAAc,EACd,UAAU,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,kCAAkC,EAClC,gCAAgC,EAChC,kCAAkC,EAClC,+BAA+B,EAC/B,SAAS,EACT,kBAAkB,EAClB,6BAA6B,EAC7B,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,EACnB,iCAAiC,EACjC,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,SAAS,GACf,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,SAAS,GACf,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACL,8BAA8B,EAC9B,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,GAC9B,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,EACnB,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,GAC9B,MAAM,kCAAkC,CAAC"}
@@ -1,277 +0,0 @@
1
- /**
2
- * Drag and Drop types for solid-stately.
3
- *
4
- * Core types for drag and drop operations, matching React Aria's DnD API.
5
- */
6
- /** The type of drop operation to perform. */
7
- export type DropOperation = "copy" | "link" | "move" | "cancel";
8
- /** Drag item data as key-value pairs where keys are MIME types or custom types. */
9
- export interface DragItem {
10
- [type: string]: string;
11
- }
12
- /** Base event for drag/drop operations with coordinates. */
13
- export interface DragDropEvent {
14
- /** The x coordinate of the event, relative to the target element. */
15
- x: number;
16
- /** The y coordinate of the event, relative to the target element. */
17
- y: number;
18
- }
19
- /** Event fired when a drag operation starts. */
20
- export interface DragStartEvent extends DragDropEvent {
21
- /** The event type. */
22
- type: "dragstart";
23
- }
24
- /** Event fired as a drag moves. */
25
- export interface DragMoveEvent extends DragDropEvent {
26
- /** The event type. */
27
- type: "dragmove";
28
- }
29
- /** Event fired when a drag operation ends. */
30
- export interface DragEndEvent extends DragDropEvent {
31
- /** The event type. */
32
- type: "dragend";
33
- /** The drop operation that occurred. */
34
- dropOperation: DropOperation;
35
- }
36
- /** Event fired when a drag enters a drop target. */
37
- export interface DropEnterEvent extends DragDropEvent {
38
- /** The event type. */
39
- type: "dropenter";
40
- }
41
- /** Event fired as a drag moves within a drop target. */
42
- export interface DropMoveEvent extends DragDropEvent {
43
- /** The event type. */
44
- type: "dropmove";
45
- }
46
- /** Event fired when a drag is held over a drop target. */
47
- export interface DropActivateEvent extends DragDropEvent {
48
- /** The event type. */
49
- type: "dropactivate";
50
- }
51
- /** Event fired when a drag exits a drop target. */
52
- export interface DropExitEvent extends DragDropEvent {
53
- /** The event type. */
54
- type: "dropexit";
55
- }
56
- /** A text item in a drop operation. */
57
- export interface TextDropItem {
58
- /** The item kind. */
59
- kind: "text";
60
- /** The drag types available for this item. */
61
- types: Set<string>;
62
- /** Returns the data for the given type as a string. */
63
- getText(type: string): Promise<string>;
64
- }
65
- /** A file item in a drop operation. */
66
- export interface FileDropItem {
67
- /** The item kind. */
68
- kind: "file";
69
- /** The file type (usually a mime type). */
70
- type: string;
71
- /** The file name. */
72
- name: string;
73
- /** Returns the contents of the file as a blob. */
74
- getFile(): Promise<File>;
75
- /** Returns the contents of the file as a string. */
76
- getText(): Promise<string>;
77
- }
78
- /** A directory item in a drop operation. */
79
- export interface DirectoryDropItem {
80
- /** The item kind. */
81
- kind: "directory";
82
- /** The directory name. */
83
- name: string;
84
- /** Returns the entries contained within the directory. */
85
- getEntries(): AsyncIterable<FileDropItem | DirectoryDropItem>;
86
- }
87
- /** Union of all drop item types. */
88
- export type DropItem = TextDropItem | FileDropItem | DirectoryDropItem;
89
- /** Event fired when items are dropped. */
90
- export interface DropEvent extends DragDropEvent {
91
- /** The event type. */
92
- type: "drop";
93
- /** The drop operation that should occur. */
94
- dropOperation: DropOperation;
95
- /** The dropped items. */
96
- items: DropItem[];
97
- }
98
- /** Position relative to an item for drop operations. */
99
- export type DropPosition = "on" | "before" | "after";
100
- /** Drop target representing the root of a collection. */
101
- export interface RootDropTarget {
102
- /** The drop target type. */
103
- type: "root";
104
- }
105
- /** Drop target representing an item in a collection. */
106
- export interface ItemDropTarget {
107
- /** The drop target type. */
108
- type: "item";
109
- /** The item key. */
110
- key: string | number;
111
- /** The drop position relative to the item. */
112
- dropPosition: DropPosition;
113
- }
114
- /** Union of drop target types. */
115
- export type DropTarget = RootDropTarget | ItemDropTarget;
116
- /** Event fired when a drag enters a droppable collection. */
117
- export interface DroppableCollectionEnterEvent extends DropEnterEvent {
118
- /** The drop target. */
119
- target: DropTarget;
120
- }
121
- /** Event fired as a drag moves within a droppable collection. */
122
- export interface DroppableCollectionMoveEvent extends DropMoveEvent {
123
- /** The drop target. */
124
- target: DropTarget;
125
- }
126
- /** Event fired when a drag is held over a droppable collection item. */
127
- export interface DroppableCollectionActivateEvent extends DropActivateEvent {
128
- /** The drop target. */
129
- target: DropTarget;
130
- }
131
- /** Event fired when a drag exits a droppable collection. */
132
- export interface DroppableCollectionExitEvent extends DropExitEvent {
133
- /** The drop target. */
134
- target: DropTarget;
135
- }
136
- /** Event fired when items are dropped on a droppable collection. */
137
- export interface DroppableCollectionDropEvent extends DropEvent {
138
- /** The drop target. */
139
- target: DropTarget;
140
- }
141
- /** Event for inserting items between existing collection items. */
142
- export interface DroppableCollectionInsertDropEvent {
143
- /** The dropped items. */
144
- items: DropItem[];
145
- /** The drop operation that should occur. */
146
- dropOperation: DropOperation;
147
- /** The drop target. */
148
- target: ItemDropTarget;
149
- }
150
- /** Event for dropping on the root of a collection. */
151
- export interface DroppableCollectionRootDropEvent {
152
- /** The dropped items. */
153
- items: DropItem[];
154
- /** The drop operation that should occur. */
155
- dropOperation: DropOperation;
156
- }
157
- /** Event for dropping on a specific item. */
158
- export interface DroppableCollectionOnItemDropEvent {
159
- /** The dropped items. */
160
- items: DropItem[];
161
- /** The drop operation that should occur. */
162
- dropOperation: DropOperation;
163
- /** Whether the drag originated within the same collection as the drop. */
164
- isInternal: boolean;
165
- /** The drop target. */
166
- target: ItemDropTarget;
167
- }
168
- /** Event for reordering items within a collection. */
169
- export interface DroppableCollectionReorderEvent {
170
- /** The keys of the items that were reordered. */
171
- keys: Set<string | number>;
172
- /** The drop operation that should occur. */
173
- dropOperation: DropOperation;
174
- /** The drop target. */
175
- target: ItemDropTarget;
176
- }
177
- /** A drag type: either a MIME type string or a symbol such as the directory drag type. */
178
- export type DragType = string | symbol;
179
- /** Interface for checking drag types. */
180
- export interface DragTypes {
181
- /** Returns whether the drag contains data of the given type. */
182
- has(type: DragType | DragType[]): boolean;
183
- }
184
- /** Delegate for determining drop targets within a collection. */
185
- export interface DropTargetDelegate {
186
- /**
187
- * Returns a drop target within a collection for the given coordinates.
188
- * @param x - X coordinate relative to the collection container
189
- * @param y - Y coordinate relative to the collection container
190
- * @param isValidDropTarget - Function to check if a target is valid
191
- */
192
- getDropTargetFromPoint(
193
- x: number,
194
- y: number,
195
- isValidDropTarget: (target: DropTarget) => boolean,
196
- ): DropTarget | null;
197
- }
198
- /** Event fired when a collection drag starts. */
199
- export interface DraggableCollectionStartEvent extends DragStartEvent {
200
- /** The keys of the items that were dragged. */
201
- keys: Set<string | number>;
202
- }
203
- /** Event fired as a collection drag moves. */
204
- export interface DraggableCollectionMoveEvent extends DragMoveEvent {
205
- /** The keys of the items that were dragged. */
206
- keys: Set<string | number>;
207
- }
208
- /** Event fired when a collection drag ends. */
209
- export interface DraggableCollectionEndEvent extends DragEndEvent {
210
- /** The keys of the items that were dragged. */
211
- keys: Set<string | number>;
212
- /** Whether the drop ended within the same collection as it originated. */
213
- isInternal: boolean;
214
- }
215
- /** Function to render a custom drag preview. */
216
- export type DragPreviewRenderer = (
217
- items: DragItem[],
218
- callback: (node: HTMLElement | null, x?: number, y?: number) => void,
219
- ) => void;
220
- /** Props for droppable collection utility handlers. */
221
- export interface DroppableCollectionUtilityOptions {
222
- /**
223
- * The drag types that the droppable collection accepts.
224
- * @default 'all'
225
- */
226
- acceptedDragTypes?: "all" | Array<string | symbol>;
227
- /** Handler that is called when external items are dropped "between" items. */
228
- onInsert?: (e: DroppableCollectionInsertDropEvent) => void;
229
- /** Handler that is called when external items are dropped on the collection's root. */
230
- onRootDrop?: (e: DroppableCollectionRootDropEvent) => void;
231
- /** Handler that is called when items are dropped "on" an item. */
232
- onItemDrop?: (e: DroppableCollectionOnItemDropEvent) => void;
233
- /** Handler that is called when items are reordered within the collection. */
234
- onReorder?: (e: DroppableCollectionReorderEvent) => void;
235
- /** Handler that is called when items are moved within the source collection. */
236
- onMove?: (e: DroppableCollectionReorderEvent) => void;
237
- /** A function returning whether a given target is a valid "on" drop target. */
238
- shouldAcceptItemDrop?: (target: ItemDropTarget, types: DragTypes) => boolean;
239
- }
240
- /** Base props for droppable collections. */
241
- export interface DroppableCollectionBaseProps {
242
- /** Handler that is called when a valid drag enters a drop target. */
243
- onDropEnter?: (e: DroppableCollectionEnterEvent) => void;
244
- /** Handler that is called after a valid drag is held over a drop target. */
245
- onDropActivate?: (e: DroppableCollectionActivateEvent) => void;
246
- /** Handler that is called when a valid drag exits a drop target. */
247
- onDropExit?: (e: DroppableCollectionExitEvent) => void;
248
- /** Handler that is called when a valid drag is dropped on a drop target. */
249
- onDrop?: (e: DroppableCollectionDropEvent) => void;
250
- /** A function returning the drop operation to be performed. */
251
- getDropOperation?: (
252
- target: DropTarget,
253
- types: DragTypes,
254
- allowedOperations: DropOperation[],
255
- ) => DropOperation;
256
- }
257
- /** Combined props for droppable collections. */
258
- export interface DroppableCollectionProps
259
- extends DroppableCollectionUtilityOptions, DroppableCollectionBaseProps {}
260
- /** Props for draggable collections. */
261
- export interface DraggableCollectionProps<T = object> {
262
- /** Handler that is called when a drag operation is started. */
263
- onDragStart?: (e: DraggableCollectionStartEvent) => void;
264
- /** Handler that is called when the drag is moved. */
265
- onDragMove?: (e: DraggableCollectionMoveEvent) => void;
266
- /** Handler that is called when the drag operation ends. */
267
- onDragEnd?: (e: DraggableCollectionEndEvent) => void;
268
- /** A function that returns the items being dragged. */
269
- getItems: (keys: Set<string | number>, items: T[]) => DragItem[];
270
- /** The ref of the element that will be rendered as the drag preview. */
271
- preview?: {
272
- current: DragPreviewRenderer | null;
273
- };
274
- /** Function that returns the allowed drop operations. */
275
- getAllowedDropOperations?: () => DropOperation[];
276
- }
277
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,6CAA6C;AAC7C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEhE,mFAAmF;AACnF,MAAM,WAAW,QAAQ;IACvB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,4DAA4D;AAC5D,MAAM,WAAW,aAAa;IAC5B,qEAAqE;IACrE,CAAC,EAAE,MAAM,CAAC;IACV,qEAAqE;IACrE,CAAC,EAAE,MAAM,CAAC;CACX;AAED,gDAAgD;AAChD,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,sBAAsB;IACtB,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,mCAAmC;AACnC,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,sBAAsB;IACtB,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,8CAA8C;AAC9C,MAAM,WAAW,YAAa,SAAQ,aAAa;IACjD,sBAAsB;IACtB,IAAI,EAAE,SAAS,CAAC;IAChB,wCAAwC;IACxC,aAAa,EAAE,aAAa,CAAC;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