@proyecto-viviana/solidaria 0.2.0 → 0.2.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 (387) hide show
  1. package/dist/autocomplete/createAutocomplete.d.ts +109 -0
  2. package/dist/autocomplete/createAutocomplete.d.ts.map +1 -0
  3. package/dist/autocomplete/index.d.ts +2 -0
  4. package/dist/autocomplete/index.d.ts.map +1 -0
  5. package/dist/breadcrumbs/createBreadcrumbs.d.ts +43 -0
  6. package/dist/breadcrumbs/createBreadcrumbs.d.ts.map +1 -0
  7. package/dist/breadcrumbs/index.d.ts +2 -0
  8. package/dist/breadcrumbs/index.d.ts.map +1 -0
  9. package/dist/button/createButton.d.ts +29 -0
  10. package/dist/button/createButton.d.ts.map +1 -0
  11. package/dist/button/createToggleButton.d.ts +41 -0
  12. package/dist/button/createToggleButton.d.ts.map +1 -0
  13. package/dist/button/index.d.ts +5 -0
  14. package/dist/button/index.d.ts.map +1 -0
  15. package/dist/button/types.d.ts +77 -0
  16. package/dist/button/types.d.ts.map +1 -0
  17. package/dist/calendar/createCalendar.d.ts +41 -0
  18. package/dist/calendar/createCalendar.d.ts.map +1 -0
  19. package/dist/calendar/createCalendarCell.d.ts +41 -0
  20. package/dist/calendar/createCalendarCell.d.ts.map +1 -0
  21. package/dist/calendar/createCalendarGrid.d.ts +29 -0
  22. package/dist/calendar/createCalendarGrid.d.ts.map +1 -0
  23. package/dist/calendar/createRangeCalendar.d.ts +39 -0
  24. package/dist/calendar/createRangeCalendar.d.ts.map +1 -0
  25. package/dist/calendar/createRangeCalendarCell.d.ts +45 -0
  26. package/dist/calendar/createRangeCalendarCell.d.ts.map +1 -0
  27. package/dist/calendar/index.d.ts +6 -0
  28. package/dist/calendar/index.d.ts.map +1 -0
  29. package/dist/checkbox/createCheckbox.d.ts +56 -0
  30. package/dist/checkbox/createCheckbox.d.ts.map +1 -0
  31. package/dist/checkbox/createCheckboxGroup.d.ts +53 -0
  32. package/dist/checkbox/createCheckboxGroup.d.ts.map +1 -0
  33. package/dist/checkbox/createCheckboxGroupItem.d.ts +25 -0
  34. package/dist/checkbox/createCheckboxGroupItem.d.ts.map +1 -0
  35. package/dist/checkbox/createCheckboxGroupState.d.ts +71 -0
  36. package/dist/checkbox/createCheckboxGroupState.d.ts.map +1 -0
  37. package/dist/checkbox/index.d.ts +9 -0
  38. package/dist/checkbox/index.d.ts.map +1 -0
  39. package/dist/color/createColorArea.d.ts +13 -0
  40. package/dist/color/createColorArea.d.ts.map +1 -0
  41. package/dist/color/createColorField.d.ts +13 -0
  42. package/dist/color/createColorField.d.ts.map +1 -0
  43. package/dist/color/createColorSlider.d.ts +13 -0
  44. package/dist/color/createColorSlider.d.ts.map +1 -0
  45. package/dist/color/createColorSwatch.d.ts +12 -0
  46. package/dist/color/createColorSwatch.d.ts.map +1 -0
  47. package/dist/color/createColorWheel.d.ts +13 -0
  48. package/dist/color/createColorWheel.d.ts.map +1 -0
  49. package/dist/color/index.d.ts +10 -0
  50. package/dist/color/index.d.ts.map +1 -0
  51. package/dist/color/types.d.ts +106 -0
  52. package/dist/color/types.d.ts.map +1 -0
  53. package/dist/combobox/createComboBox.d.ts +77 -0
  54. package/dist/combobox/createComboBox.d.ts.map +1 -0
  55. package/dist/combobox/index.d.ts +2 -0
  56. package/dist/combobox/index.d.ts.map +1 -0
  57. package/dist/combobox/intl/index.d.ts +14 -0
  58. package/dist/combobox/intl/index.d.ts.map +1 -0
  59. package/dist/datepicker/createDateField.d.ts +51 -0
  60. package/dist/datepicker/createDateField.d.ts.map +1 -0
  61. package/dist/datepicker/createDatePicker.d.ts +65 -0
  62. package/dist/datepicker/createDatePicker.d.ts.map +1 -0
  63. package/dist/datepicker/createDateSegment.d.ts +29 -0
  64. package/dist/datepicker/createDateSegment.d.ts.map +1 -0
  65. package/dist/datepicker/createTimeField.d.ts +51 -0
  66. package/dist/datepicker/createTimeField.d.ts.map +1 -0
  67. package/dist/datepicker/index.d.ts +5 -0
  68. package/dist/datepicker/index.d.ts.map +1 -0
  69. package/dist/dialog/createDialog.d.ts +25 -0
  70. package/dist/dialog/createDialog.d.ts.map +1 -0
  71. package/dist/dialog/index.d.ts +3 -0
  72. package/dist/dialog/index.d.ts.map +1 -0
  73. package/dist/dialog/types.d.ts +18 -0
  74. package/dist/dialog/types.d.ts.map +1 -0
  75. package/dist/disclosure/createDisclosure.d.ts +52 -0
  76. package/dist/disclosure/createDisclosure.d.ts.map +1 -0
  77. package/dist/disclosure/createDisclosureGroup.d.ts +39 -0
  78. package/dist/disclosure/createDisclosureGroup.d.ts.map +1 -0
  79. package/dist/disclosure/index.d.ts +3 -0
  80. package/dist/disclosure/index.d.ts.map +1 -0
  81. package/dist/dnd/createDrag.d.ts +16 -0
  82. package/dist/dnd/createDrag.d.ts.map +1 -0
  83. package/dist/dnd/createDraggableCollection.d.ts +27 -0
  84. package/dist/dnd/createDraggableCollection.d.ts.map +1 -0
  85. package/dist/dnd/createDraggableItem.d.ts +37 -0
  86. package/dist/dnd/createDraggableItem.d.ts.map +1 -0
  87. package/dist/dnd/createDrop.d.ts +16 -0
  88. package/dist/dnd/createDrop.d.ts.map +1 -0
  89. package/dist/dnd/createDroppableCollection.d.ts +76 -0
  90. package/dist/dnd/createDroppableCollection.d.ts.map +1 -0
  91. package/dist/dnd/createDroppableItem.d.ts +31 -0
  92. package/dist/dnd/createDroppableItem.d.ts.map +1 -0
  93. package/dist/dnd/index.d.ts +18 -0
  94. package/dist/dnd/index.d.ts.map +1 -0
  95. package/dist/dnd/types.d.ts +66 -0
  96. package/dist/dnd/types.d.ts.map +1 -0
  97. package/dist/dnd/utils.d.ts +57 -0
  98. package/dist/dnd/utils.d.ts.map +1 -0
  99. package/dist/focus/FocusScope.d.ts +57 -0
  100. package/dist/focus/FocusScope.d.ts.map +1 -0
  101. package/dist/focus/createAutoFocus.d.ts +120 -0
  102. package/dist/focus/createAutoFocus.d.ts.map +1 -0
  103. package/dist/focus/createFocusRestore.d.ts +116 -0
  104. package/dist/focus/createFocusRestore.d.ts.map +1 -0
  105. package/dist/focus/createVirtualFocus.d.ts +170 -0
  106. package/dist/focus/createVirtualFocus.d.ts.map +1 -0
  107. package/dist/focus/index.d.ts +5 -0
  108. package/dist/focus/index.d.ts.map +1 -0
  109. package/dist/form/createFormReset.d.ts +27 -0
  110. package/dist/form/createFormReset.d.ts.map +1 -0
  111. package/dist/form/createFormValidation.d.ts +56 -0
  112. package/dist/form/createFormValidation.d.ts.map +1 -0
  113. package/dist/form/index.d.ts +3 -0
  114. package/dist/form/index.d.ts.map +1 -0
  115. package/dist/grid/GridKeyboardDelegate.d.ts +79 -0
  116. package/dist/grid/GridKeyboardDelegate.d.ts.map +1 -0
  117. package/dist/grid/createGrid.d.ts +24 -0
  118. package/dist/grid/createGrid.d.ts.map +1 -0
  119. package/dist/grid/createGridCell.d.ts +12 -0
  120. package/dist/grid/createGridCell.d.ts.map +1 -0
  121. package/dist/grid/createGridRow.d.ts +12 -0
  122. package/dist/grid/createGridRow.d.ts.map +1 -0
  123. package/dist/grid/index.d.ts +10 -0
  124. package/dist/grid/index.d.ts.map +1 -0
  125. package/dist/grid/types.d.ts +126 -0
  126. package/dist/grid/types.d.ts.map +1 -0
  127. package/dist/gridlist/createGridList.d.ts +28 -0
  128. package/dist/gridlist/createGridList.d.ts.map +1 -0
  129. package/dist/gridlist/createGridListItem.d.ts +12 -0
  130. package/dist/gridlist/createGridListItem.d.ts.map +1 -0
  131. package/dist/gridlist/createGridListSelectionCheckbox.d.ts +12 -0
  132. package/dist/gridlist/createGridListSelectionCheckbox.d.ts.map +1 -0
  133. package/dist/gridlist/index.d.ts +8 -0
  134. package/dist/gridlist/index.d.ts.map +1 -0
  135. package/dist/gridlist/types.d.ts +75 -0
  136. package/dist/gridlist/types.d.ts.map +1 -0
  137. package/dist/i18n/NumberFormatter.d.ts +43 -0
  138. package/dist/i18n/NumberFormatter.d.ts.map +1 -0
  139. package/dist/i18n/createCollator.d.ts +41 -0
  140. package/dist/i18n/createCollator.d.ts.map +1 -0
  141. package/dist/i18n/createDateFormatter.d.ts +45 -0
  142. package/dist/i18n/createDateFormatter.d.ts.map +1 -0
  143. package/dist/i18n/createFilter.d.ts +57 -0
  144. package/dist/i18n/createFilter.d.ts.map +1 -0
  145. package/dist/i18n/createNumberFormatter.d.ts +43 -0
  146. package/dist/i18n/createNumberFormatter.d.ts.map +1 -0
  147. package/dist/i18n/createStringFormatter.d.ts +42 -0
  148. package/dist/i18n/createStringFormatter.d.ts.map +1 -0
  149. package/dist/i18n/index.d.ts +9 -0
  150. package/dist/i18n/index.d.ts.map +1 -0
  151. package/dist/i18n/locale.d.ts +66 -0
  152. package/dist/i18n/locale.d.ts.map +1 -0
  153. package/dist/i18n/utils.d.ts +17 -0
  154. package/dist/i18n/utils.d.ts.map +1 -0
  155. package/dist/index.d.ts +50 -6135
  156. package/dist/index.d.ts.map +1 -0
  157. package/dist/index.js +1120 -485
  158. package/dist/index.js.map +7 -0
  159. package/dist/{index.jsx → index.ssr.js} +143 -89
  160. package/dist/index.ssr.js.map +7 -0
  161. package/dist/interactions/FocusableProvider.d.ts +26 -0
  162. package/dist/interactions/FocusableProvider.d.ts.map +1 -0
  163. package/dist/interactions/PressEvent.d.ts +73 -0
  164. package/dist/interactions/PressEvent.d.ts.map +1 -0
  165. package/dist/interactions/createFocus.d.ts +31 -0
  166. package/dist/interactions/createFocus.d.ts.map +1 -0
  167. package/dist/interactions/createFocusRing.d.ts +37 -0
  168. package/dist/interactions/createFocusRing.d.ts.map +1 -0
  169. package/dist/interactions/createFocusWithin.d.ts +27 -0
  170. package/dist/interactions/createFocusWithin.d.ts.map +1 -0
  171. package/dist/interactions/createFocusable.d.ts +65 -0
  172. package/dist/interactions/createFocusable.d.ts.map +1 -0
  173. package/dist/interactions/createHover.d.ts +43 -0
  174. package/dist/interactions/createHover.d.ts.map +1 -0
  175. package/dist/interactions/createInteractionModality.d.ts +73 -0
  176. package/dist/interactions/createInteractionModality.d.ts.map +1 -0
  177. package/dist/interactions/createKeyboard.d.ts +35 -0
  178. package/dist/interactions/createKeyboard.d.ts.map +1 -0
  179. package/dist/interactions/createLongPress.d.ts +63 -0
  180. package/dist/interactions/createLongPress.d.ts.map +1 -0
  181. package/dist/interactions/createMove.d.ts +40 -0
  182. package/dist/interactions/createMove.d.ts.map +1 -0
  183. package/dist/interactions/createPress.d.ts +55 -0
  184. package/dist/interactions/createPress.d.ts.map +1 -0
  185. package/dist/interactions/index.d.ts +13 -0
  186. package/dist/interactions/index.d.ts.map +1 -0
  187. package/dist/label/createField.d.ts +51 -0
  188. package/dist/label/createField.d.ts.map +1 -0
  189. package/dist/label/createLabel.d.ts +49 -0
  190. package/dist/label/createLabel.d.ts.map +1 -0
  191. package/dist/label/createLabels.d.ts +16 -0
  192. package/dist/label/createLabels.d.ts.map +1 -0
  193. package/dist/label/index.d.ts +6 -0
  194. package/dist/label/index.d.ts.map +1 -0
  195. package/dist/landmark/createLandmark.d.ts +79 -0
  196. package/dist/landmark/createLandmark.d.ts.map +1 -0
  197. package/dist/landmark/index.d.ts +2 -0
  198. package/dist/landmark/index.d.ts.map +1 -0
  199. package/dist/link/createLink.d.ts +65 -0
  200. package/dist/link/createLink.d.ts.map +1 -0
  201. package/dist/link/index.d.ts +2 -0
  202. package/dist/link/index.d.ts.map +1 -0
  203. package/dist/listbox/createListBox.d.ts +58 -0
  204. package/dist/listbox/createListBox.d.ts.map +1 -0
  205. package/dist/listbox/createOption.d.ts +42 -0
  206. package/dist/listbox/createOption.d.ts.map +1 -0
  207. package/dist/listbox/index.d.ts +3 -0
  208. package/dist/listbox/index.d.ts.map +1 -0
  209. package/dist/live-announcer/announce.d.ts +113 -0
  210. package/dist/live-announcer/announce.d.ts.map +1 -0
  211. package/dist/live-announcer/index.d.ts +2 -0
  212. package/dist/live-announcer/index.d.ts.map +1 -0
  213. package/dist/menu/createMenu.d.ts +57 -0
  214. package/dist/menu/createMenu.d.ts.map +1 -0
  215. package/dist/menu/createMenuItem.d.ts +42 -0
  216. package/dist/menu/createMenuItem.d.ts.map +1 -0
  217. package/dist/menu/createMenuTrigger.d.ts +29 -0
  218. package/dist/menu/createMenuTrigger.d.ts.map +1 -0
  219. package/dist/menu/index.d.ts +4 -0
  220. package/dist/menu/index.d.ts.map +1 -0
  221. package/dist/meter/createMeter.d.ts +44 -0
  222. package/dist/meter/createMeter.d.ts.map +1 -0
  223. package/dist/meter/index.d.ts +2 -0
  224. package/dist/meter/index.d.ts.map +1 -0
  225. package/dist/numberfield/createNumberField.d.ts +56 -0
  226. package/dist/numberfield/createNumberField.d.ts.map +1 -0
  227. package/dist/numberfield/index.d.ts +2 -0
  228. package/dist/numberfield/index.d.ts.map +1 -0
  229. package/dist/overlays/ariaHideOutside.d.ts +25 -0
  230. package/dist/overlays/ariaHideOutside.d.ts.map +1 -0
  231. package/dist/overlays/createInteractOutside.d.ts +20 -0
  232. package/dist/overlays/createInteractOutside.d.ts.map +1 -0
  233. package/dist/overlays/createModal.d.ts +70 -0
  234. package/dist/overlays/createModal.d.ts.map +1 -0
  235. package/dist/overlays/createOverlay.d.ts +43 -0
  236. package/dist/overlays/createOverlay.d.ts.map +1 -0
  237. package/dist/overlays/createOverlayTrigger.d.ts +30 -0
  238. package/dist/overlays/createOverlayTrigger.d.ts.map +1 -0
  239. package/dist/overlays/createPreventScroll.d.ts +15 -0
  240. package/dist/overlays/createPreventScroll.d.ts.map +1 -0
  241. package/dist/overlays/index.d.ts +7 -0
  242. package/dist/overlays/index.d.ts.map +1 -0
  243. package/dist/popover/calculatePosition.d.ts +67 -0
  244. package/dist/popover/calculatePosition.d.ts.map +1 -0
  245. package/dist/popover/createOverlayPosition.d.ts +109 -0
  246. package/dist/popover/createOverlayPosition.d.ts.map +1 -0
  247. package/dist/popover/createPopover.d.ts +88 -0
  248. package/dist/popover/createPopover.d.ts.map +1 -0
  249. package/dist/popover/index.d.ts +4 -0
  250. package/dist/popover/index.d.ts.map +1 -0
  251. package/dist/progress/createProgressBar.d.ts +47 -0
  252. package/dist/progress/createProgressBar.d.ts.map +1 -0
  253. package/dist/progress/index.d.ts +2 -0
  254. package/dist/progress/index.d.ts.map +1 -0
  255. package/dist/radio/createRadio.d.ts +68 -0
  256. package/dist/radio/createRadio.d.ts.map +1 -0
  257. package/dist/radio/createRadioGroup.d.ts +85 -0
  258. package/dist/radio/createRadioGroup.d.ts.map +1 -0
  259. package/dist/radio/createRadioGroupState.d.ts +77 -0
  260. package/dist/radio/createRadioGroupState.d.ts.map +1 -0
  261. package/dist/radio/index.d.ts +4 -0
  262. package/dist/radio/index.d.ts.map +1 -0
  263. package/dist/searchfield/createSearchField.d.ts +32 -0
  264. package/dist/searchfield/createSearchField.d.ts.map +1 -0
  265. package/dist/searchfield/index.d.ts +3 -0
  266. package/dist/searchfield/index.d.ts.map +1 -0
  267. package/dist/select/createHiddenSelect.d.ts +69 -0
  268. package/dist/select/createHiddenSelect.d.ts.map +1 -0
  269. package/dist/select/createSelect.d.ts +70 -0
  270. package/dist/select/createSelect.d.ts.map +1 -0
  271. package/dist/select/index.d.ts +3 -0
  272. package/dist/select/index.d.ts.map +1 -0
  273. package/dist/selection/createTypeSelect.d.ts +43 -0
  274. package/dist/selection/createTypeSelect.d.ts.map +1 -0
  275. package/dist/selection/index.d.ts +6 -0
  276. package/dist/selection/index.d.ts.map +1 -0
  277. package/dist/separator/createSeparator.d.ts +38 -0
  278. package/dist/separator/createSeparator.d.ts.map +1 -0
  279. package/dist/separator/index.d.ts +2 -0
  280. package/dist/separator/index.d.ts.map +1 -0
  281. package/dist/slider/createSlider.d.ts +43 -0
  282. package/dist/slider/createSlider.d.ts.map +1 -0
  283. package/dist/slider/index.d.ts +3 -0
  284. package/dist/slider/index.d.ts.map +1 -0
  285. package/dist/ssr/index.d.ts +221 -0
  286. package/dist/ssr/index.d.ts.map +1 -0
  287. package/dist/switch/createSwitch.d.ts +34 -0
  288. package/dist/switch/createSwitch.d.ts.map +1 -0
  289. package/dist/switch/index.d.ts +2 -0
  290. package/dist/switch/index.d.ts.map +1 -0
  291. package/dist/table/createTable.d.ts +24 -0
  292. package/dist/table/createTable.d.ts.map +1 -0
  293. package/dist/table/createTableCell.d.ts +12 -0
  294. package/dist/table/createTableCell.d.ts.map +1 -0
  295. package/dist/table/createTableColumnHeader.d.ts +12 -0
  296. package/dist/table/createTableColumnHeader.d.ts.map +1 -0
  297. package/dist/table/createTableHeaderRow.d.ts +12 -0
  298. package/dist/table/createTableHeaderRow.d.ts.map +1 -0
  299. package/dist/table/createTableRow.d.ts +12 -0
  300. package/dist/table/createTableRow.d.ts.map +1 -0
  301. package/dist/table/createTableRowGroup.d.ts +11 -0
  302. package/dist/table/createTableRowGroup.d.ts.map +1 -0
  303. package/dist/table/createTableSelectAllCheckbox.d.ts +12 -0
  304. package/dist/table/createTableSelectAllCheckbox.d.ts.map +1 -0
  305. package/dist/table/createTableSelectionCheckbox.d.ts +12 -0
  306. package/dist/table/createTableSelectionCheckbox.d.ts.map +1 -0
  307. package/dist/table/index.d.ts +14 -0
  308. package/dist/table/index.d.ts.map +1 -0
  309. package/dist/table/types.d.ts +150 -0
  310. package/dist/table/types.d.ts.map +1 -0
  311. package/dist/tabs/createTabs.d.ts +123 -0
  312. package/dist/tabs/createTabs.d.ts.map +1 -0
  313. package/dist/tabs/index.d.ts +2 -0
  314. package/dist/tabs/index.d.ts.map +1 -0
  315. package/dist/tag/createTag.d.ts +42 -0
  316. package/dist/tag/createTag.d.ts.map +1 -0
  317. package/dist/tag/createTagGroup.d.ts +54 -0
  318. package/dist/tag/createTagGroup.d.ts.map +1 -0
  319. package/dist/tag/index.d.ts +3 -0
  320. package/dist/tag/index.d.ts.map +1 -0
  321. package/dist/textfield/createTextField.d.ts +73 -0
  322. package/dist/textfield/createTextField.d.ts.map +1 -0
  323. package/dist/textfield/index.d.ts +2 -0
  324. package/dist/textfield/index.d.ts.map +1 -0
  325. package/dist/toast/createToast.d.ts +58 -0
  326. package/dist/toast/createToast.d.ts.map +1 -0
  327. package/dist/toast/createToastRegion.d.ts +49 -0
  328. package/dist/toast/createToastRegion.d.ts.map +1 -0
  329. package/dist/toast/index.d.ts +3 -0
  330. package/dist/toast/index.d.ts.map +1 -0
  331. package/dist/toggle/createToggle.d.ts +94 -0
  332. package/dist/toggle/createToggle.d.ts.map +1 -0
  333. package/dist/toggle/createToggleState.d.ts +34 -0
  334. package/dist/toggle/createToggleState.d.ts.map +1 -0
  335. package/dist/toggle/index.d.ts +5 -0
  336. package/dist/toggle/index.d.ts.map +1 -0
  337. package/dist/toolbar/createToolbar.d.ts +49 -0
  338. package/dist/toolbar/createToolbar.d.ts.map +1 -0
  339. package/dist/toolbar/index.d.ts +2 -0
  340. package/dist/toolbar/index.d.ts.map +1 -0
  341. package/dist/tooltip/createTooltip.d.ts +48 -0
  342. package/dist/tooltip/createTooltip.d.ts.map +1 -0
  343. package/dist/tooltip/createTooltipTrigger.d.ts +64 -0
  344. package/dist/tooltip/createTooltipTrigger.d.ts.map +1 -0
  345. package/dist/tooltip/index.d.ts +3 -0
  346. package/dist/tooltip/index.d.ts.map +1 -0
  347. package/dist/tree/createTree.d.ts +28 -0
  348. package/dist/tree/createTree.d.ts.map +1 -0
  349. package/dist/tree/createTreeItem.d.ts +12 -0
  350. package/dist/tree/createTreeItem.d.ts.map +1 -0
  351. package/dist/tree/createTreeSelectionCheckbox.d.ts +12 -0
  352. package/dist/tree/createTreeSelectionCheckbox.d.ts.map +1 -0
  353. package/dist/tree/index.d.ts +8 -0
  354. package/dist/tree/index.d.ts.map +1 -0
  355. package/dist/tree/types.d.ts +81 -0
  356. package/dist/tree/types.d.ts.map +1 -0
  357. package/dist/utils/createDescription.d.ts +56 -0
  358. package/dist/utils/createDescription.d.ts.map +1 -0
  359. package/dist/utils/dom.d.ts +68 -0
  360. package/dist/utils/dom.d.ts.map +1 -0
  361. package/dist/utils/env.d.ts +18 -0
  362. package/dist/utils/env.d.ts.map +1 -0
  363. package/dist/utils/events.d.ts +29 -0
  364. package/dist/utils/events.d.ts.map +1 -0
  365. package/dist/utils/filterDOMProps.d.ts +29 -0
  366. package/dist/utils/filterDOMProps.d.ts.map +1 -0
  367. package/dist/utils/focus.d.ts +20 -0
  368. package/dist/utils/focus.d.ts.map +1 -0
  369. package/dist/utils/geometry.d.ts +40 -0
  370. package/dist/utils/geometry.d.ts.map +1 -0
  371. package/dist/utils/globalListeners.d.ts +36 -0
  372. package/dist/utils/globalListeners.d.ts.map +1 -0
  373. package/dist/utils/index.d.ts +13 -0
  374. package/dist/utils/index.d.ts.map +1 -0
  375. package/dist/utils/mergeProps.d.ts +11 -0
  376. package/dist/utils/mergeProps.d.ts.map +1 -0
  377. package/dist/utils/platform.d.ts +14 -0
  378. package/dist/utils/platform.d.ts.map +1 -0
  379. package/dist/utils/reactivity.d.ts +28 -0
  380. package/dist/utils/reactivity.d.ts.map +1 -0
  381. package/dist/utils/textSelection.d.ts +19 -0
  382. package/dist/utils/textSelection.d.ts.map +1 -0
  383. package/dist/visually-hidden/createVisuallyHidden.d.ts +60 -0
  384. package/dist/visually-hidden/createVisuallyHidden.d.ts.map +1 -0
  385. package/dist/visually-hidden/index.d.ts +2 -0
  386. package/dist/visually-hidden/index.d.ts.map +1 -0
  387. package/package.json +4 -4
@@ -0,0 +1,109 @@
1
+ /**
2
+ * createAutocomplete - Accessibility hook for autocomplete components
3
+ *
4
+ * Provides keyboard navigation, virtual focus via aria-activedescendant,
5
+ * and filtering capabilities for autocomplete inputs.
6
+ *
7
+ * Based on @react-aria/autocomplete useAutocomplete.
8
+ */
9
+ import { type Accessor } from 'solid-js';
10
+ import { type AutocompleteState } from '@proyecto-viviana/solid-stately';
11
+ export interface CollectionOptions {
12
+ /** The id of the collection element. */
13
+ id?: string;
14
+ /** Accessible label for the collection. */
15
+ 'aria-label'?: string;
16
+ /** Whether the collection items should use virtual focus instead of being focused directly. */
17
+ shouldUseVirtualFocus: boolean;
18
+ /** Whether typeahead is disabled. */
19
+ disallowTypeAhead: boolean;
20
+ }
21
+ export interface AutocompleteInputProps {
22
+ /** Current input value. */
23
+ value: Accessor<string>;
24
+ /** Handler for input value changes. */
25
+ onChange: (value: string) => void;
26
+ /** Handler for key events. */
27
+ onKeyDown: (e: KeyboardEvent) => void;
28
+ /** Handler for focus events. */
29
+ onFocus: (e: FocusEvent) => void;
30
+ /** Handler for blur events. */
31
+ onBlur: (e: FocusEvent) => void;
32
+ /** The id of the currently focused item for aria-activedescendant. */
33
+ 'aria-activedescendant': Accessor<string | undefined>;
34
+ /** The id of the controlled collection. */
35
+ 'aria-controls': string;
36
+ /** Autocomplete type. */
37
+ 'aria-autocomplete': 'list' | 'none' | 'inline' | 'both';
38
+ /** Enter key hint for mobile keyboards. */
39
+ enterKeyHint: 'go';
40
+ /** Disable autocorrect. */
41
+ autoCorrect: 'off';
42
+ /** Disable spell check. */
43
+ spellCheck: 'false';
44
+ /** Disable browser autocomplete. */
45
+ autoComplete: 'off';
46
+ }
47
+ export interface AriaAutocompleteOptions<_T = unknown> {
48
+ /** Ref accessor for the input element. */
49
+ inputRef: Accessor<HTMLInputElement | undefined>;
50
+ /** Ref accessor for the collection element. */
51
+ collectionRef: Accessor<HTMLElement | undefined>;
52
+ /**
53
+ * An optional filter function used to determine if an option should be included.
54
+ * @param textValue - The text value of the item
55
+ * @param inputValue - The current input value
56
+ */
57
+ filter?: (textValue: string, inputValue: string) => boolean;
58
+ /**
59
+ * Whether to focus the first item after filtering.
60
+ * @default false
61
+ */
62
+ disableAutoFocusFirst?: boolean;
63
+ /**
64
+ * Whether to disable virtual focus (aria-activedescendant).
65
+ * @default false
66
+ */
67
+ disableVirtualFocus?: boolean;
68
+ }
69
+ export interface AutocompleteAria<_T = unknown> {
70
+ /** Props for the autocomplete input element. */
71
+ inputProps: AutocompleteInputProps;
72
+ /** Props for the collection (ListBox/Menu). */
73
+ collectionProps: CollectionOptions;
74
+ /** A filter function that returns if the item should be shown. */
75
+ filter?: (textValue: string) => boolean;
76
+ }
77
+ export declare const AUTOCOMPLETE_FOCUS_EVENT = "autocomplete:focus";
78
+ export declare const AUTOCOMPLETE_CLEAR_FOCUS_EVENT = "autocomplete:clearfocus";
79
+ /**
80
+ * Provides the behavior and accessibility implementation for an autocomplete component.
81
+ * An autocomplete combines a text input with a collection, allowing users to filter
82
+ * the collection's contents to match a query.
83
+ *
84
+ * @example
85
+ * ```tsx
86
+ * const state = createAutocompleteState({ defaultInputValue: '' });
87
+ * let inputRef, collectionRef;
88
+ *
89
+ * const { inputProps, collectionProps, filter } = createAutocomplete({
90
+ * inputRef: () => inputRef,
91
+ * collectionRef: () => collectionRef,
92
+ * filter: (textValue, inputValue) =>
93
+ * textValue.toLowerCase().includes(inputValue.toLowerCase()),
94
+ * }, state);
95
+ *
96
+ * return (
97
+ * <div>
98
+ * <input ref={inputRef} {...inputProps} />
99
+ * <ul ref={collectionRef} {...collectionProps}>
100
+ * {items.filter(item => filter?.(item.name) ?? true).map(item => (
101
+ * <li key={item.id}>{item.name}</li>
102
+ * ))}
103
+ * </ul>
104
+ * </div>
105
+ * );
106
+ * ```
107
+ */
108
+ export declare function createAutocomplete<T = unknown>(props: AriaAutocompleteOptions<T>, state: AutocompleteState): AutocompleteAria<T>;
109
+ //# sourceMappingURL=createAutocomplete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAutocomplete.d.ts","sourceRoot":"","sources":["../../src/autocomplete/createAutocomplete.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAIL,KAAK,QAAQ,EACd,MAAM,UAAU,CAAA;AAEjB,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAMxE,MAAM,WAAW,iBAAiB;IAChC,wCAAwC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,+FAA+F;IAC/F,qBAAqB,EAAE,OAAO,CAAA;IAC9B,qCAAqC;IACrC,iBAAiB,EAAE,OAAO,CAAA;CAC3B;AAED,MAAM,WAAW,sBAAsB;IACrC,2BAA2B;IAC3B,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;IACvB,uCAAuC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,8BAA8B;IAC9B,SAAS,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,IAAI,CAAA;IACrC,gCAAgC;IAChC,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAChC,+BAA+B;IAC/B,MAAM,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;IAC/B,sEAAsE;IACtE,uBAAuB,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IACrD,2CAA2C;IAC3C,eAAe,EAAE,MAAM,CAAA;IACvB,yBAAyB;IACzB,mBAAmB,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;IACxD,2CAA2C;IAC3C,YAAY,EAAE,IAAI,CAAA;IAClB,2BAA2B;IAC3B,WAAW,EAAE,KAAK,CAAA;IAClB,2BAA2B;IAC3B,UAAU,EAAE,OAAO,CAAA;IACnB,oCAAoC;IACpC,YAAY,EAAE,KAAK,CAAA;CACpB;AAED,MAAM,WAAW,uBAAuB,CAAC,EAAE,GAAG,OAAO;IACnD,0CAA0C;IAC1C,QAAQ,EAAE,QAAQ,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAA;IAChD,+CAA+C;IAC/C,aAAa,EAAE,QAAQ,CAAC,WAAW,GAAG,SAAS,CAAC,CAAA;IAChD;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAA;IAC3D;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B;AAED,MAAM,WAAW,gBAAgB,CAAC,EAAE,GAAG,OAAO;IAC5C,gDAAgD;IAChD,UAAU,EAAE,sBAAsB,CAAA;IAClC,+CAA+C;IAC/C,eAAe,EAAE,iBAAiB,CAAA;IAClC,kEAAkE;IAClE,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAA;CACxC;AAOD,eAAO,MAAM,wBAAwB,uBAAuB,CAAA;AAC5D,eAAO,MAAM,8BAA8B,4BAA4B,CAAA;AAMvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,OAAO,EAC5C,KAAK,EAAE,uBAAuB,CAAC,CAAC,CAAC,EACjC,KAAK,EAAE,iBAAiB,GACvB,gBAAgB,CAAC,CAAC,CAAC,CA4MrB"}
@@ -0,0 +1,2 @@
1
+ export { createAutocomplete, AUTOCOMPLETE_FOCUS_EVENT, AUTOCOMPLETE_CLEAR_FOCUS_EVENT, type AriaAutocompleteOptions, type AutocompleteAria, type AutocompleteInputProps, type CollectionOptions, } from './createAutocomplete';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/autocomplete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,8BAA8B,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,GACvB,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Breadcrumbs hooks for Solidaria
3
+ *
4
+ * Provides accessibility implementation for breadcrumb navigation.
5
+ * Port of @react-aria/breadcrumbs.
6
+ */
7
+ import { type AriaLinkProps, type LinkAria } from '../link';
8
+ import { type MaybeAccessor } from '../utils/reactivity';
9
+ export interface AriaBreadcrumbsProps {
10
+ /** Provides a label for the breadcrumbs navigation. */
11
+ 'aria-label'?: string;
12
+ /** Identifies the element (or elements) that labels the breadcrumbs. */
13
+ 'aria-labelledby'?: string;
14
+ /** Identifies the element (or elements) that describes the breadcrumbs. */
15
+ 'aria-describedby'?: string;
16
+ /** Whether the breadcrumbs are disabled. */
17
+ isDisabled?: boolean;
18
+ }
19
+ export interface BreadcrumbsAria {
20
+ /** Props for the breadcrumbs nav element. */
21
+ navProps: Record<string, unknown>;
22
+ }
23
+ export interface AriaBreadcrumbItemProps extends Omit<AriaLinkProps, 'aria-current'> {
24
+ /** Whether this is the current/last item in the breadcrumb trail. */
25
+ isCurrent?: boolean;
26
+ /** The type of current location for aria-current. @default 'page' */
27
+ 'aria-current'?: 'page' | 'step' | 'location' | 'date' | 'time' | boolean;
28
+ /** The HTML element type. @default 'a' */
29
+ elementType?: string;
30
+ }
31
+ export interface BreadcrumbItemAria extends LinkAria {
32
+ /** Props for the breadcrumb item element. */
33
+ itemProps: Record<string, unknown>;
34
+ }
35
+ /**
36
+ * Provides accessibility implementation for the breadcrumbs navigation container.
37
+ */
38
+ export declare function createBreadcrumbs(props?: MaybeAccessor<AriaBreadcrumbsProps>): BreadcrumbsAria;
39
+ /**
40
+ * Provides accessibility implementation for an individual breadcrumb item.
41
+ */
42
+ export declare function createBreadcrumbItem(props?: MaybeAccessor<AriaBreadcrumbItemProps>): BreadcrumbItemAria;
43
+ //# sourceMappingURL=createBreadcrumbs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createBreadcrumbs.d.ts","sourceRoot":"","sources":["../../src/breadcrumbs/createBreadcrumbs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAc,KAAK,aAAa,EAAE,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxE,OAAO,EAAE,KAAK,aAAa,EAAU,MAAM,qBAAqB,CAAC;AAMjE,MAAM,WAAW,oBAAoB;IACnC,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wEAAwE;IACxE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4CAA4C;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC;IAClF,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC1E,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD,6CAA6C;IAC7C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAMD;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,GAAE,aAAa,CAAC,oBAAoB,CAAM,GAC9C,eAAe,CAsBjB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,GAAE,aAAa,CAAC,uBAAuB,CAAM,GACjD,kBAAkB,CA+GpB"}
@@ -0,0 +1,2 @@
1
+ export { createBreadcrumbs, createBreadcrumbItem, type AriaBreadcrumbsProps, type BreadcrumbsAria, type AriaBreadcrumbItemProps, type BreadcrumbItemAria, } from './createBreadcrumbs';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/breadcrumbs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,GACxB,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { AriaButtonProps, ButtonAria } from './types';
2
+ /**
3
+ * Provides the behavior and accessibility implementation for a button component.
4
+ * Handles press interactions across mouse, touch, keyboard and screen readers.
5
+ *
6
+ * Based on react-aria's useButton but adapted for SolidJS.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * import { createButton } from 'solidaria';
11
+ *
12
+ * function Button(props) {
13
+ * let ref;
14
+ * const { buttonProps, isPressed } = createButton(props);
15
+ *
16
+ * return (
17
+ * <button
18
+ * {...buttonProps}
19
+ * ref={ref}
20
+ * class={isPressed() ? 'pressed' : ''}
21
+ * >
22
+ * {props.children}
23
+ * </button>
24
+ * );
25
+ * }
26
+ * ```
27
+ */
28
+ export declare function createButton(props?: AriaButtonProps): ButtonAria;
29
+ //# sourceMappingURL=createButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createButton.d.ts","sourceRoot":"","sources":["../../src/button/createButton.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAS3D;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,YAAY,CAAC,KAAK,GAAE,eAAoB,GAAG,UAAU,CAsGpE"}
@@ -0,0 +1,41 @@
1
+ import { Accessor } from 'solid-js';
2
+ import type { AriaButtonProps, ButtonAria } from './types';
3
+ export interface AriaToggleButtonProps extends Omit<AriaButtonProps, 'aria-pressed'> {
4
+ /** Whether the button is selected (controlled). */
5
+ isSelected?: Accessor<boolean> | boolean;
6
+ /** Handler called when the button's selection state changes. */
7
+ onChange?: (isSelected: boolean) => void;
8
+ /** The default selected state (uncontrolled). */
9
+ defaultSelected?: boolean;
10
+ }
11
+ export interface ToggleButtonAria extends ButtonAria {
12
+ /** Whether the button is currently selected. */
13
+ isSelected: Accessor<boolean>;
14
+ }
15
+ /**
16
+ * Provides the behavior and accessibility implementation for a toggle button component.
17
+ * Toggle buttons allow users to toggle a selection on or off.
18
+ *
19
+ * Based on react-aria's useToggleButton but adapted for SolidJS.
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * import { createToggleButton } from 'solidaria';
24
+ *
25
+ * function ToggleButton(props) {
26
+ * const { buttonProps, isPressed, isSelected } = createToggleButton(props);
27
+ *
28
+ * return (
29
+ * <button
30
+ * {...buttonProps}
31
+ * class={isSelected() ? 'selected' : ''}
32
+ * style={{ opacity: isPressed() ? 0.8 : 1 }}
33
+ * >
34
+ * {props.children}
35
+ * </button>
36
+ * );
37
+ * }
38
+ * ```
39
+ */
40
+ export declare function createToggleButton(props?: AriaToggleButtonProps): ToggleButtonAria;
41
+ //# sourceMappingURL=createToggleButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createToggleButton.d.ts","sourceRoot":"","sources":["../../src/button/createToggleButton.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAgB,MAAM,UAAU,CAAC;AAGlD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG3D,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CAAC,eAAe,EAAE,cAAc,CAAC;IAClF,mDAAmD;IACnD,UAAU,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACzC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,iDAAiD;IACjD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAClD,gDAAgD;IAChD,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC/B;AASD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,qBAA0B,GAAG,gBAAgB,CAgDtF"}
@@ -0,0 +1,5 @@
1
+ export { createButton } from './createButton';
2
+ export { createToggleButton } from './createToggleButton';
3
+ export type { AriaButtonProps, ButtonAria } from './types';
4
+ export type { AriaToggleButtonProps, ToggleButtonAria } from './createToggleButton';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC3D,YAAY,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { Accessor } from 'solid-js';
2
+ import { PressEvent } from '../interactions';
3
+ export interface AriaButtonProps {
4
+ /** Whether the button is disabled. */
5
+ isDisabled?: Accessor<boolean> | boolean;
6
+ /** Handler called when the press is released over the target. */
7
+ onPress?: (e: PressEvent) => void;
8
+ /** Handler called when a press interaction starts. */
9
+ onPressStart?: (e: PressEvent) => void;
10
+ /** Handler called when a press interaction ends. */
11
+ onPressEnd?: (e: PressEvent) => void;
12
+ /** Handler called when a press is released over the target. */
13
+ onPressUp?: (e: PressEvent) => void;
14
+ /** Handler called when the press state changes. */
15
+ onPressChange?: (isPressed: boolean) => void;
16
+ /**
17
+ * A native click handler, useful for form submission.
18
+ * Note: `onPress` is preferred for cross-device compatibility.
19
+ */
20
+ onClick?: (e: MouseEvent) => void;
21
+ /** Whether the button should not receive focus on press. */
22
+ preventFocusOnPress?: boolean;
23
+ /**
24
+ * Whether to allow focus on the button when it is disabled.
25
+ * This enables showing tooltips on disabled buttons.
26
+ * When true, the button gets `tabIndex=-1` instead of being removed from tab order.
27
+ */
28
+ allowFocusWhenDisabled?: boolean;
29
+ /** Whether the element should receive focus on render. */
30
+ autoFocus?: boolean;
31
+ /** The HTML element type to use for the button. */
32
+ elementType?: 'button' | 'a' | 'div' | 'input' | 'span';
33
+ /** The URL to link to (for anchor elements). */
34
+ href?: string;
35
+ /** The target for the link (for anchor elements). */
36
+ target?: string;
37
+ /** The rel attribute for the link (for anchor elements). */
38
+ rel?: string;
39
+ /** The type attribute for button elements. */
40
+ type?: 'button' | 'submit' | 'reset';
41
+ /** Whether the button is in a pressed state (controlled). */
42
+ 'aria-pressed'?: boolean | 'true' | 'false' | 'mixed';
43
+ /** Whether the button has a popup. */
44
+ 'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | 'true' | 'false';
45
+ /** Whether the popup is expanded. */
46
+ 'aria-expanded'?: boolean | 'true' | 'false';
47
+ /** The accessible label for the button. */
48
+ 'aria-label'?: string;
49
+ /** The id of the element that labels the button. */
50
+ 'aria-labelledby'?: string;
51
+ /** The id of the element that describes the button. */
52
+ 'aria-describedby'?: string;
53
+ /** Identifies the element (or elements) whose contents or presence are controlled by the button. */
54
+ 'aria-controls'?: string;
55
+ /** Indicates the current "pressed" state of toggle buttons. */
56
+ 'aria-current'?: boolean | 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
57
+ /** Additional attributes for form buttons. */
58
+ form?: string;
59
+ formAction?: string;
60
+ formEncType?: string;
61
+ formMethod?: string;
62
+ formNoValidate?: boolean;
63
+ formTarget?: string;
64
+ /** The name attribute for form buttons. */
65
+ name?: string;
66
+ /** The value attribute for form buttons. */
67
+ value?: string;
68
+ /** Whether to exclude the button from the tab order. */
69
+ excludeFromTabOrder?: boolean;
70
+ }
71
+ export interface ButtonAria {
72
+ /** Props to spread on the button element. */
73
+ buttonProps: Record<string, unknown>;
74
+ /** Whether the button is currently pressed. */
75
+ isPressed: Accessor<boolean>;
76
+ }
77
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,WAAW,eAAe;IAC9B,sCAAsC;IACtC,UAAU,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;IACzC,iEAAiE;IACjE,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,sDAAsD;IACtD,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,oDAAoD;IACpD,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,+DAA+D;IAC/D,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,mDAAmD;IACnD,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAClC,4DAA4D;IAC5D,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mDAAmD;IACnD,WAAW,CAAC,EAAE,QAAQ,GAAG,GAAG,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;IACxD,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,6DAA6D;IAC7D,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IACtD,sCAAsC;IACtC,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/F,qCAAqC;IACrC,eAAe,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;IAC7C,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uDAAuD;IACvD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC7F,8CAA8C;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,UAAU;IACzB,6CAA6C;IAC7C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,+CAA+C;IAC/C,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC9B"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * createCalendar hook for Solidaria
3
+ *
4
+ * Provides the behavior and accessibility implementation for a calendar component.
5
+ * Based on @react-aria/calendar useCalendar
6
+ */
7
+ import { type MaybeAccessor } from '../utils/reactivity';
8
+ import type { CalendarState } from '@proyecto-viviana/solid-stately';
9
+ export interface AriaCalendarProps {
10
+ /** An ID for the calendar. */
11
+ id?: string;
12
+ /** Whether the calendar is disabled. */
13
+ isDisabled?: boolean;
14
+ /** Whether the calendar is read-only. */
15
+ isReadOnly?: boolean;
16
+ /** An accessible label for the calendar. */
17
+ 'aria-label'?: string;
18
+ /** The ID of an element that labels the calendar. */
19
+ 'aria-labelledby'?: string;
20
+ /** The ID of an element that describes the calendar. */
21
+ 'aria-describedby'?: string;
22
+ /** Minimum number of visible months. */
23
+ visibleMonths?: number;
24
+ }
25
+ export interface CalendarAria {
26
+ /** Props for the calendar container element. */
27
+ calendarProps: Record<string, unknown>;
28
+ /** Props for the previous button. */
29
+ prevButtonProps: Record<string, unknown>;
30
+ /** Props for the next button. */
31
+ nextButtonProps: Record<string, unknown>;
32
+ /** Props for the title/heading element. */
33
+ titleProps: Record<string, unknown>;
34
+ /** An accessible label for the title. */
35
+ title: string;
36
+ }
37
+ /**
38
+ * Provides the behavior and accessibility implementation for a calendar component.
39
+ */
40
+ export declare function createCalendar<T extends CalendarState>(props: MaybeAccessor<AriaCalendarProps>, state: T): CalendarAria;
41
+ //# sourceMappingURL=createCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCalendar.d.ts","sourceRoot":"","sources":["../../src/calendar/createCalendar.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAU,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAMrE,MAAM,WAAW,iBAAiB;IAChC,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wDAAwD;IACxD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,qCAAqC;IACrC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,iCAAiC;IACjC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;CACf;AAMD;;GAEG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,aAAa,EACpD,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,EACvC,KAAK,EAAE,CAAC,GACP,YAAY,CAgFd"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * createCalendarCell hook for Solidaria
3
+ *
4
+ * Provides the behavior and accessibility implementation for a calendar cell.
5
+ * Based on @react-aria/calendar useCalendarCell
6
+ */
7
+ import { type MaybeAccessor } from '../utils/reactivity';
8
+ import type { CalendarState, DateValue } from '@proyecto-viviana/solid-stately';
9
+ export interface AriaCalendarCellProps {
10
+ /** The date represented by the cell. */
11
+ date: DateValue;
12
+ /** Whether the cell is disabled. */
13
+ isDisabled?: boolean;
14
+ }
15
+ export interface CalendarCellAria {
16
+ /** Props for the cell element (td or gridcell). */
17
+ cellProps: Record<string, unknown>;
18
+ /** Props for the button inside the cell. */
19
+ buttonProps: Record<string, unknown>;
20
+ /** Whether the cell is selected. */
21
+ isSelected: boolean;
22
+ /** Whether the cell is focused. */
23
+ isFocused: boolean;
24
+ /** Whether the cell is disabled. */
25
+ isDisabled: boolean;
26
+ /** Whether the cell is unavailable (e.g., booked date). */
27
+ isUnavailable: boolean;
28
+ /** Whether the cell is outside the visible month. */
29
+ isOutsideMonth: boolean;
30
+ /** Whether the cell represents today. */
31
+ isToday: boolean;
32
+ /** Whether the cell is pressed. */
33
+ isPressed: boolean;
34
+ /** The formatted date string. */
35
+ formattedDate: string;
36
+ }
37
+ /**
38
+ * Provides the behavior and accessibility implementation for a calendar cell.
39
+ */
40
+ export declare function createCalendarCell<T extends CalendarState>(props: MaybeAccessor<AriaCalendarCellProps>, state: T, ref?: () => HTMLElement | null): CalendarCellAria;
41
+ //# sourceMappingURL=createCalendarCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCalendarCell.d.ts","sourceRoot":"","sources":["../../src/calendar/createCalendarCell.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAU,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAgB,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAO9F,MAAM,WAAW,qBAAqB;IACpC,wCAAwC;IACxC,IAAI,EAAE,SAAS,CAAC;IAChB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,oCAAoC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,2DAA2D;IAC3D,aAAa,EAAE,OAAO,CAAC;IACvB,qDAAqD;IACrD,cAAc,EAAE,OAAO,CAAC;IACxB,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,aAAa,EACxD,KAAK,EAAE,aAAa,CAAC,qBAAqB,CAAC,EAC3C,KAAK,EAAE,CAAC,EACR,GAAG,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAC7B,gBAAgB,CAiIlB"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * createCalendarGrid hook for Solidaria
3
+ *
4
+ * Provides the behavior and accessibility implementation for a calendar grid.
5
+ * Based on @react-aria/calendar useCalendarGrid
6
+ */
7
+ import { type MaybeAccessor } from '../utils/reactivity';
8
+ import type { CalendarState, CalendarDate } from '@proyecto-viviana/solid-stately';
9
+ export interface AriaCalendarGridProps {
10
+ /** The start date of the grid (defaults to start of focused month). */
11
+ startDate?: CalendarDate;
12
+ /** The end date of the grid (defaults to end of focused month). */
13
+ endDate?: CalendarDate;
14
+ /** The number of weeks to display. */
15
+ weekdayStyle?: 'narrow' | 'short' | 'long';
16
+ }
17
+ export interface CalendarGridAria {
18
+ /** Props for the grid element (table or grid role). */
19
+ gridProps: Record<string, unknown>;
20
+ /** Props for the header row. */
21
+ headerProps: Record<string, unknown>;
22
+ /** Week day labels for the header. */
23
+ weekDays: string[];
24
+ }
25
+ /**
26
+ * Provides the behavior and accessibility implementation for a calendar grid.
27
+ */
28
+ export declare function createCalendarGrid<T extends CalendarState>(_props: MaybeAccessor<AriaCalendarGridProps>, state: T, ref?: () => HTMLElement | null): CalendarGridAria;
29
+ //# sourceMappingURL=createCalendarGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCalendarGrid.d.ts","sourceRoot":"","sources":["../../src/calendar/createCalendarGrid.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAMnF,MAAM,WAAW,qBAAqB;IACpC,uEAAuE;IACvE,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,mEAAmE;IACnE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,sCAAsC;IACtC,YAAY,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;CAC5C;AAED,MAAM,WAAW,gBAAgB;IAC/B,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,gCAAgC;IAChC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,sCAAsC;IACtC,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAMD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,aAAa,EACxD,MAAM,EAAE,aAAa,CAAC,qBAAqB,CAAC,EAC5C,KAAK,EAAE,CAAC,EACR,GAAG,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAC7B,gBAAgB,CA+FlB"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * createRangeCalendar hook for Solidaria
3
+ *
4
+ * Provides the behavior and accessibility implementation for a range calendar component.
5
+ * Based on @react-aria/calendar useRangeCalendar
6
+ */
7
+ import { type MaybeAccessor } from '../utils/reactivity';
8
+ import type { RangeCalendarState } from '@proyecto-viviana/solid-stately';
9
+ export interface AriaRangeCalendarProps {
10
+ /** An ID for the calendar. */
11
+ id?: string;
12
+ /** Whether the calendar is disabled. */
13
+ isDisabled?: boolean;
14
+ /** Whether the calendar is read-only. */
15
+ isReadOnly?: boolean;
16
+ /** An accessible label for the calendar. */
17
+ 'aria-label'?: string;
18
+ /** The ID of an element that labels the calendar. */
19
+ 'aria-labelledby'?: string;
20
+ /** The ID of an element that describes the calendar. */
21
+ 'aria-describedby'?: string;
22
+ }
23
+ export interface RangeCalendarAria {
24
+ /** Props for the calendar container element. */
25
+ calendarProps: Record<string, unknown>;
26
+ /** Props for the previous button. */
27
+ prevButtonProps: Record<string, unknown>;
28
+ /** Props for the next button. */
29
+ nextButtonProps: Record<string, unknown>;
30
+ /** Props for the title/heading element. */
31
+ titleProps: Record<string, unknown>;
32
+ /** An accessible label for the title. */
33
+ title: string;
34
+ }
35
+ /**
36
+ * Provides the behavior and accessibility implementation for a range calendar component.
37
+ */
38
+ export declare function createRangeCalendar<T extends RangeCalendarState>(props: MaybeAccessor<AriaRangeCalendarProps>, state: T): RangeCalendarAria;
39
+ //# sourceMappingURL=createRangeCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRangeCalendar.d.ts","sourceRoot":"","sources":["../../src/calendar/createRangeCalendar.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAU,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAM1E,MAAM,WAAW,sBAAsB;IACrC,8BAA8B;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wDAAwD;IACxD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,iBAAiB;IAChC,gDAAgD;IAChD,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,qCAAqC;IACrC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,iCAAiC;IACjC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;CACf;AAMD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,kBAAkB,EAC9D,KAAK,EAAE,aAAa,CAAC,sBAAsB,CAAC,EAC5C,KAAK,EAAE,CAAC,GACP,iBAAiB,CAgFnB"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * createRangeCalendarCell hook for Solidaria
3
+ *
4
+ * Provides the behavior and accessibility implementation for a range calendar cell.
5
+ * Based on @react-aria/calendar useCalendarCell (with range support)
6
+ */
7
+ import { type MaybeAccessor } from '../utils/reactivity';
8
+ import type { RangeCalendarState, DateValue } from '@proyecto-viviana/solid-stately';
9
+ export interface AriaRangeCalendarCellProps {
10
+ /** The date represented by the cell. */
11
+ date: DateValue;
12
+ /** Whether the cell is disabled. */
13
+ isDisabled?: boolean;
14
+ }
15
+ export interface RangeCalendarCellAria {
16
+ /** Props for the cell element (td or gridcell). */
17
+ cellProps: Record<string, unknown>;
18
+ /** Props for the button inside the cell. */
19
+ buttonProps: Record<string, unknown>;
20
+ /** Whether the cell is within the selected range. */
21
+ isSelected: boolean;
22
+ /** Whether the cell is the start of the selection. */
23
+ isSelectionStart: boolean;
24
+ /** Whether the cell is the end of the selection. */
25
+ isSelectionEnd: boolean;
26
+ /** Whether the cell is focused. */
27
+ isFocused: boolean;
28
+ /** Whether the cell is disabled. */
29
+ isDisabled: boolean;
30
+ /** Whether the cell is unavailable (e.g., booked date). */
31
+ isUnavailable: boolean;
32
+ /** Whether the cell is outside the visible month. */
33
+ isOutsideMonth: boolean;
34
+ /** Whether the cell represents today. */
35
+ isToday: boolean;
36
+ /** Whether the cell is pressed. */
37
+ isPressed: boolean;
38
+ /** The formatted date string. */
39
+ formattedDate: string;
40
+ }
41
+ /**
42
+ * Provides the behavior and accessibility implementation for a range calendar cell.
43
+ */
44
+ export declare function createRangeCalendarCell<T extends RangeCalendarState>(props: MaybeAccessor<AriaRangeCalendarCellProps>, state: T, _ref?: () => HTMLElement | null): RangeCalendarCellAria;
45
+ //# sourceMappingURL=createRangeCalendarCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRangeCalendarCell.d.ts","sourceRoot":"","sources":["../../src/calendar/createRangeCalendarCell.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAU,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAgB,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAOnG,MAAM,WAAW,0BAA0B;IACzC,wCAAwC;IACxC,IAAI,EAAE,SAAS,CAAC;IAChB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,qDAAqD;IACrD,UAAU,EAAE,OAAO,CAAC;IACpB,sDAAsD;IACtD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oDAAoD;IACpD,cAAc,EAAE,OAAO,CAAC;IACxB,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,UAAU,EAAE,OAAO,CAAC;IACpB,2DAA2D;IAC3D,aAAa,EAAE,OAAO,CAAC;IACvB,qDAAqD;IACrD,cAAc,EAAE,OAAO,CAAC;IACxB,yCAAyC;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,kBAAkB,EAClE,KAAK,EAAE,aAAa,CAAC,0BAA0B,CAAC,EAChD,KAAK,EAAE,CAAC,EACR,IAAI,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAC9B,qBAAqB,CA4HvB"}
@@ -0,0 +1,6 @@
1
+ export { createCalendar, type AriaCalendarProps, type CalendarAria, } from './createCalendar';
2
+ export { createCalendarGrid, type AriaCalendarGridProps, type CalendarGridAria, } from './createCalendarGrid';
3
+ export { createCalendarCell, type AriaCalendarCellProps, type CalendarCellAria, } from './createCalendarCell';
4
+ export { createRangeCalendar, type AriaRangeCalendarProps, type RangeCalendarAria, } from './createRangeCalendar';
5
+ export { createRangeCalendarCell, type AriaRangeCalendarCellProps, type RangeCalendarCellAria, } from './createRangeCalendarCell';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/calendar/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,KAAK,iBAAiB,EACtB,KAAK,YAAY,GAClB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,kBAAkB,EAClB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,kBAAkB,EAClB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,GACvB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACL,uBAAuB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,GAC3B,MAAM,2BAA2B,CAAC"}