@ahrowe/ui 0.35.0 → 0.37.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 (783) hide show
  1. package/README.md +102 -72
  2. package/dist/cjs-types/common/accordion/accordion.d.ts +4 -0
  3. package/dist/cjs-types/common/accordion/accordion.types.d.ts +21 -0
  4. package/dist/cjs-types/common/accordion/index.d.ts +2 -0
  5. package/dist/cjs-types/common/actionButtons/actionButtons.d.ts +2 -0
  6. package/dist/cjs-types/common/actionButtons/actionButtons.types.d.ts +34 -0
  7. package/dist/cjs-types/common/actionButtons/index.d.ts +2 -0
  8. package/dist/cjs-types/common/actionIcon/actionIcon.d.ts +4 -0
  9. package/dist/cjs-types/common/actionIcon/actionIcon.types.d.ts +15 -0
  10. package/dist/cjs-types/common/actionIcon/index.d.ts +2 -0
  11. package/dist/cjs-types/common/alert/alert.d.ts +4 -0
  12. package/dist/cjs-types/common/alert/alert.types.d.ts +30 -0
  13. package/dist/cjs-types/common/alert/index.d.ts +2 -0
  14. package/dist/cjs-types/common/animatedIcon/animatedIcon.d.ts +3 -0
  15. package/dist/cjs-types/common/animatedIcon/animatedIcon.types.d.ts +25 -0
  16. package/dist/cjs-types/common/animatedIcon/index.d.ts +2 -0
  17. package/dist/cjs-types/common/animatedLogo/animatedLogo.d.ts +4 -0
  18. package/dist/cjs-types/common/animatedLogo/animatedLogo.types.d.ts +35 -0
  19. package/dist/cjs-types/common/animatedLogo/index.d.ts +2 -0
  20. package/dist/cjs-types/common/animatedText/animatedText.d.ts +4 -0
  21. package/dist/cjs-types/common/animatedText/animatedText.types.d.ts +65 -0
  22. package/dist/cjs-types/common/animatedText/index.d.ts +2 -0
  23. package/dist/cjs-types/common/avatar/avatar.d.ts +4 -0
  24. package/dist/cjs-types/common/avatar/avatar.types.d.ts +26 -0
  25. package/dist/cjs-types/common/avatar/avatarGroup.d.ts +4 -0
  26. package/dist/cjs-types/common/avatar/index.d.ts +3 -0
  27. package/dist/cjs-types/common/badge/badge.d.ts +4 -0
  28. package/dist/cjs-types/common/badge/badge.types.d.ts +31 -0
  29. package/dist/cjs-types/common/badge/index.d.ts +2 -0
  30. package/dist/cjs-types/common/bodyEnd/bodyEnd.d.ts +4 -0
  31. package/dist/cjs-types/common/bodyEnd/bodyEnd.types.d.ts +4 -0
  32. package/dist/cjs-types/common/bodyEnd/index.d.ts +2 -0
  33. package/dist/cjs-types/common/breadcrumb/breadcrumb.d.ts +4 -0
  34. package/dist/cjs-types/common/breadcrumb/breadcrumb.types.d.ts +33 -0
  35. package/dist/cjs-types/common/breadcrumb/index.d.ts +2 -0
  36. package/dist/cjs-types/common/button/button.d.ts +9 -0
  37. package/dist/cjs-types/common/button/button.types.d.ts +42 -0
  38. package/dist/cjs-types/common/button/index.d.ts +2 -0
  39. package/dist/cjs-types/common/buttonGroup/buttonGroup.d.ts +4 -0
  40. package/dist/cjs-types/common/buttonGroup/buttonGroup.types.d.ts +12 -0
  41. package/dist/cjs-types/common/buttonGroup/index.d.ts +2 -0
  42. package/dist/cjs-types/common/card/Card.d.ts +4 -0
  43. package/dist/cjs-types/common/card/CardActions.d.ts +4 -0
  44. package/dist/cjs-types/common/card/CardContent.d.ts +4 -0
  45. package/dist/cjs-types/common/card/CardHeader.d.ts +4 -0
  46. package/dist/cjs-types/common/card/CardMedia.d.ts +4 -0
  47. package/dist/cjs-types/common/card/card.types.d.ts +55 -0
  48. package/dist/cjs-types/common/card/index.d.ts +6 -0
  49. package/dist/cjs-types/common/carousel/carousel.d.ts +4 -0
  50. package/dist/cjs-types/common/carousel/carousel.types.d.ts +35 -0
  51. package/dist/cjs-types/common/carousel/index.d.ts +2 -0
  52. package/dist/cjs-types/common/checkbox/checkbox.d.ts +4 -0
  53. package/dist/cjs-types/common/checkbox/checkbox.types.d.ts +27 -0
  54. package/dist/cjs-types/common/checkbox/index.d.ts +2 -0
  55. package/dist/cjs-types/common/chip/chip.d.ts +4 -0
  56. package/dist/cjs-types/common/chip/chip.types.d.ts +35 -0
  57. package/dist/cjs-types/common/chip/chipContainer.d.ts +4 -0
  58. package/dist/cjs-types/common/chip/index.d.ts +3 -0
  59. package/dist/cjs-types/common/colorPicker/colorPicker.d.ts +4 -0
  60. package/dist/cjs-types/common/colorPicker/colorPicker.types.d.ts +25 -0
  61. package/dist/cjs-types/common/colorPicker/index.d.ts +2 -0
  62. package/dist/cjs-types/common/colorPicker/toHex.d.ts +11 -0
  63. package/dist/cjs-types/common/configProvider/configProvider.d.ts +13 -0
  64. package/dist/cjs-types/common/configProvider/configProvider.types.d.ts +133 -0
  65. package/dist/cjs-types/common/configProvider/index.d.ts +6 -0
  66. package/dist/cjs-types/common/configProvider/presentation.types.d.ts +14 -0
  67. package/dist/cjs-types/common/configProvider/useComponentDefaults.d.ts +17 -0
  68. package/dist/cjs-types/common/configProvider/useLabels.d.ts +22 -0
  69. package/dist/cjs-types/common/configProvider/usePresentationDefault.d.ts +8 -0
  70. package/dist/cjs-types/common/confirmModal/confirmModal.d.ts +4 -0
  71. package/dist/cjs-types/common/confirmModal/confirmModal.types.d.ts +24 -0
  72. package/dist/cjs-types/common/confirmModal/index.d.ts +2 -0
  73. package/dist/cjs-types/common/datePicker/components/datePickerMonth/datePickerMonth.d.ts +2 -0
  74. package/dist/cjs-types/common/datePicker/components/datePickerMonth/datePickerMonth.types.d.ts +23 -0
  75. package/dist/cjs-types/common/datePicker/components/datePickerMonth/index.d.ts +1 -0
  76. package/dist/cjs-types/common/datePicker/dateFunctions.d.ts +44 -0
  77. package/dist/cjs-types/common/datePicker/datePicker.d.ts +3 -0
  78. package/dist/cjs-types/common/datePicker/datePicker.types.d.ts +60 -0
  79. package/dist/cjs-types/common/datePicker/index.d.ts +2 -0
  80. package/dist/cjs-types/common/divider/divider.d.ts +4 -0
  81. package/dist/cjs-types/common/divider/divider.types.d.ts +21 -0
  82. package/dist/cjs-types/common/divider/index.d.ts +2 -0
  83. package/dist/cjs-types/common/drawer/drawer.d.ts +4 -0
  84. package/dist/cjs-types/common/drawer/drawer.types.d.ts +15 -0
  85. package/dist/cjs-types/common/drawer/index.d.ts +2 -0
  86. package/dist/cjs-types/common/dropZone/dropZone.d.ts +4 -0
  87. package/dist/cjs-types/common/dropZone/dropZone.types.d.ts +90 -0
  88. package/dist/cjs-types/common/dropZone/index.d.ts +2 -0
  89. package/dist/cjs-types/common/dropdown/dropdown.d.ts +4 -0
  90. package/dist/cjs-types/common/dropdown/dropdown.types.d.ts +47 -0
  91. package/dist/cjs-types/common/dropdown/index.d.ts +2 -0
  92. package/dist/cjs-types/common/emptyState/emptyState.d.ts +3 -0
  93. package/dist/cjs-types/common/emptyState/emptyState.types.d.ts +20 -0
  94. package/dist/cjs-types/common/emptyState/index.d.ts +2 -0
  95. package/dist/cjs-types/common/errorBoundary/errorBoundary.d.ts +14 -0
  96. package/dist/cjs-types/common/errorBoundary/errorBoundary.types.d.ts +57 -0
  97. package/dist/cjs-types/common/errorBoundary/index.d.ts +2 -0
  98. package/dist/cjs-types/common/fab/components/fabBase/fabBase.d.ts +3 -0
  99. package/dist/cjs-types/common/fab/components/fabBase/fabBase.types.d.ts +12 -0
  100. package/dist/cjs-types/common/fab/components/fabBase/index.d.ts +1 -0
  101. package/dist/cjs-types/common/fab/fab.d.ts +3 -0
  102. package/dist/cjs-types/common/fab/fab.types.d.ts +22 -0
  103. package/dist/cjs-types/common/fab/index.d.ts +2 -0
  104. package/dist/cjs-types/common/flip/flip.d.ts +3 -0
  105. package/dist/cjs-types/common/flip/flip.types.d.ts +44 -0
  106. package/dist/cjs-types/common/flip/index.d.ts +2 -0
  107. package/dist/cjs-types/common/floorPlan/floorPlan.faces.d.ts +33 -0
  108. package/dist/cjs-types/common/floorPlan/floorPlan.fixtures.d.ts +35 -0
  109. package/dist/cjs-types/common/floorPlan/floorPlan.geometry.d.ts +111 -0
  110. package/dist/cjs-types/common/floorPlan/floorPlan.graph.d.ts +184 -0
  111. package/dist/cjs-types/common/floorPlan/floorPlan.hit.d.ts +26 -0
  112. package/dist/cjs-types/common/floorPlan/floorPlan.json.d.ts +23 -0
  113. package/dist/cjs-types/common/floorPlan/floorPlan.mesh.d.ts +36 -0
  114. package/dist/cjs-types/common/floorPlan/floorPlan.path.d.ts +59 -0
  115. package/dist/cjs-types/common/floorPlan/floorPlan.plan.d.ts +98 -0
  116. package/dist/cjs-types/common/floorPlan/floorPlan.rooms.d.ts +47 -0
  117. package/dist/cjs-types/common/floorPlan/floorPlan.snap.d.ts +101 -0
  118. package/dist/cjs-types/common/floorPlan/floorPlan.triangulate.d.ts +11 -0
  119. package/dist/cjs-types/common/floorPlan/floorPlan.types.d.ts +276 -0
  120. package/dist/cjs-types/common/floorPlan/index.d.ts +30 -0
  121. package/dist/cjs-types/common/floorPlan/legacySvg.d.ts +27 -0
  122. package/dist/cjs-types/common/hooks/index.d.ts +13 -0
  123. package/dist/cjs-types/common/hooks/useAnchorTracking.d.ts +40 -0
  124. package/dist/cjs-types/common/hooks/useCoarsePointer.d.ts +3 -0
  125. package/dist/cjs-types/common/hooks/useFocusBoundary.d.ts +20 -0
  126. package/dist/cjs-types/common/hooks/useHotkeys.d.ts +45 -0
  127. package/dist/cjs-types/common/hooks/useMediaQuery.d.ts +9 -0
  128. package/dist/cjs-types/common/hooks/useOverlay.d.ts +26 -0
  129. package/dist/cjs-types/common/hooks/useScrollEdges.d.ts +18 -0
  130. package/dist/cjs-types/common/hooks/useSheet.d.ts +19 -0
  131. package/dist/cjs-types/common/hooks/useSwipeDismiss.d.ts +37 -0
  132. package/dist/cjs-types/common/hooks/useVisualViewportSize.d.ts +13 -0
  133. package/dist/cjs-types/common/iconPicker/iconPicker.d.ts +3 -0
  134. package/dist/cjs-types/common/iconPicker/iconPicker.types.d.ts +23 -0
  135. package/dist/cjs-types/common/iconPicker/index.d.ts +2 -0
  136. package/dist/cjs-types/common/idleManager/idleManager.d.ts +3 -0
  137. package/dist/cjs-types/common/idleManager/idleManager.types.d.ts +8 -0
  138. package/dist/cjs-types/common/idleManager/index.d.ts +2 -0
  139. package/dist/cjs-types/common/infiniteBlock/useInfiniteScroll.d.ts +5 -0
  140. package/dist/cjs-types/common/input/index.d.ts +2 -0
  141. package/dist/cjs-types/common/input/input.d.ts +4 -0
  142. package/dist/cjs-types/common/input/input.types.d.ts +84 -0
  143. package/dist/cjs-types/common/inputDropdown/index.d.ts +2 -0
  144. package/dist/cjs-types/common/inputDropdown/inputDropdown.d.ts +3 -0
  145. package/dist/cjs-types/common/inputDropdown/inputDropdown.types.d.ts +36 -0
  146. package/dist/cjs-types/common/interactableDiv/index.d.ts +2 -0
  147. package/dist/cjs-types/common/interactableDiv/interactableDiv.d.ts +8 -0
  148. package/dist/cjs-types/common/kanbanBoard/KanbanBoard.d.ts +3 -0
  149. package/dist/cjs-types/common/kanbanBoard/KanbanColumn.d.ts +45 -0
  150. package/dist/cjs-types/common/kanbanBoard/KanbanItem.d.ts +3 -0
  151. package/dist/cjs-types/common/kanbanBoard/index.d.ts +3 -0
  152. package/dist/cjs-types/common/kanbanBoard/kanbanBoard.types.d.ts +129 -0
  153. package/dist/cjs-types/common/kanbanBoard/kanbanBoard.utils.d.ts +60 -0
  154. package/dist/cjs-types/common/klipyPicker/components/gifPreview/gifPreview.d.ts +3 -0
  155. package/dist/cjs-types/common/klipyPicker/components/gifPreview/gifPreview.types.d.ts +7 -0
  156. package/dist/cjs-types/common/klipyPicker/components/gifPreview/index.d.ts +1 -0
  157. package/dist/cjs-types/common/klipyPicker/components/gifView/gifView.d.ts +3 -0
  158. package/dist/cjs-types/common/klipyPicker/components/gifView/gifView.types.d.ts +4 -0
  159. package/dist/cjs-types/common/klipyPicker/components/gifView/index.d.ts +1 -0
  160. package/dist/cjs-types/common/klipyPicker/index.d.ts +2 -0
  161. package/dist/cjs-types/common/klipyPicker/klipyPicker.d.ts +3 -0
  162. package/dist/cjs-types/common/klipyPicker/klipyPicker.types.d.ts +15 -0
  163. package/dist/cjs-types/common/loading/index.d.ts +1 -0
  164. package/dist/cjs-types/common/loading/spinnerLoading/index.d.ts +2 -0
  165. package/dist/cjs-types/common/loading/spinnerLoading/spinnerLoading.d.ts +6 -0
  166. package/dist/cjs-types/common/maskedInput/index.d.ts +2 -0
  167. package/dist/cjs-types/common/maskedInput/mask.d.ts +48 -0
  168. package/dist/cjs-types/common/maskedInput/maskedInput.d.ts +13 -0
  169. package/dist/cjs-types/common/maskedInput/maskedInput.types.d.ts +38 -0
  170. package/dist/cjs-types/common/menu/index.d.ts +3 -0
  171. package/dist/cjs-types/common/menu/menu.d.ts +14 -0
  172. package/dist/cjs-types/common/menu/menu.types.d.ts +61 -0
  173. package/dist/cjs-types/common/menu/menuHotkeys.d.ts +20 -0
  174. package/dist/cjs-types/common/modal/index.d.ts +2 -0
  175. package/dist/cjs-types/common/modal/modal.d.ts +3 -0
  176. package/dist/cjs-types/common/modal/modal.types.d.ts +31 -0
  177. package/dist/cjs-types/common/multiSelect/index.d.ts +2 -0
  178. package/dist/cjs-types/common/multiSelect/multiSelect.d.ts +4 -0
  179. package/dist/cjs-types/common/multiSelect/multiSelect.types.d.ts +69 -0
  180. package/dist/cjs-types/common/numberInput/index.d.ts +3 -0
  181. package/dist/cjs-types/common/numberInput/numberInput.d.ts +5 -0
  182. package/dist/cjs-types/common/numberInput/numberInput.types.d.ts +76 -0
  183. package/dist/cjs-types/common/numberInput/useStepRepeat.d.ts +17 -0
  184. package/dist/cjs-types/common/optionPicker/index.d.ts +2 -0
  185. package/dist/cjs-types/common/optionPicker/optionPicker.d.ts +4 -0
  186. package/dist/cjs-types/common/optionPicker/optionPicker.types.d.ts +16 -0
  187. package/dist/cjs-types/common/otpInput/index.d.ts +2 -0
  188. package/dist/cjs-types/common/otpInput/otpInput.d.ts +4 -0
  189. package/dist/cjs-types/common/otpInput/otpInput.types.d.ts +60 -0
  190. package/dist/cjs-types/common/overscroll/index.d.ts +2 -0
  191. package/dist/cjs-types/common/overscroll/overscroll.d.ts +2 -0
  192. package/dist/cjs-types/common/overscroll/overscroll.types.d.ts +14 -0
  193. package/dist/cjs-types/common/pagination/index.d.ts +2 -0
  194. package/dist/cjs-types/common/pagination/pagination.d.ts +4 -0
  195. package/dist/cjs-types/common/pagination/pagination.types.d.ts +45 -0
  196. package/dist/cjs-types/common/planCanvas/index.d.ts +2 -0
  197. package/dist/cjs-types/common/planCanvas/planCanvas.d.ts +7 -0
  198. package/dist/cjs-types/common/planCanvas/planCanvas.types.d.ts +64 -0
  199. package/dist/cjs-types/common/popover/index.d.ts +2 -0
  200. package/dist/cjs-types/common/popover/popover.d.ts +3 -0
  201. package/dist/cjs-types/common/popover/popover.types.d.ts +94 -0
  202. package/dist/cjs-types/common/popover/usePopoverPosition.d.ts +45 -0
  203. package/dist/cjs-types/common/progressBar/index.d.ts +2 -0
  204. package/dist/cjs-types/common/progressBar/progressBar.d.ts +5 -0
  205. package/dist/cjs-types/common/progressBar/progressBar.types.d.ts +18 -0
  206. package/dist/cjs-types/common/radioGroup/index.d.ts +2 -0
  207. package/dist/cjs-types/common/radioGroup/radioGroup.d.ts +4 -0
  208. package/dist/cjs-types/common/radioGroup/radioGroup.types.d.ts +45 -0
  209. package/dist/cjs-types/common/rating/index.d.ts +2 -0
  210. package/dist/cjs-types/common/rating/rating.d.ts +4 -0
  211. package/dist/cjs-types/common/rating/rating.types.d.ts +19 -0
  212. package/dist/cjs-types/common/revealLens/index.d.ts +2 -0
  213. package/dist/cjs-types/common/revealLens/revealLens.d.ts +4 -0
  214. package/dist/cjs-types/common/revealLens/revealLens.types.d.ts +24 -0
  215. package/dist/cjs-types/common/ripple/index.d.ts +2 -0
  216. package/dist/cjs-types/common/ripple/ripple.d.ts +5 -0
  217. package/dist/cjs-types/common/ripple/ripple.types.d.ts +16 -0
  218. package/dist/cjs-types/common/roomDrawer/index.d.ts +2 -0
  219. package/dist/cjs-types/common/roomDrawer/roomDrawer.d.ts +3 -0
  220. package/dist/cjs-types/common/roomDrawer/roomDrawer.types.d.ts +308 -0
  221. package/dist/cjs-types/common/roomDrawer/usePlanHistory.d.ts +24 -0
  222. package/dist/cjs-types/common/roomViewer/index.d.ts +2 -0
  223. package/dist/cjs-types/common/roomViewer/roomViewer.d.ts +10 -0
  224. package/dist/cjs-types/common/roomViewer/roomViewer.types.d.ts +91 -0
  225. package/dist/cjs-types/common/scrollFade/index.d.ts +2 -0
  226. package/dist/cjs-types/common/scrollFade/scrollFade.d.ts +4 -0
  227. package/dist/cjs-types/common/scrollFade/scrollFade.types.d.ts +20 -0
  228. package/dist/cjs-types/common/scrollbarProvider/index.d.ts +2 -0
  229. package/dist/cjs-types/common/scrollbarProvider/scrollbarProvider.d.ts +7 -0
  230. package/dist/cjs-types/common/searchInput/index.d.ts +2 -0
  231. package/dist/cjs-types/common/searchInput/searchInput.d.ts +3 -0
  232. package/dist/cjs-types/common/searchInput/searchInput.types.d.ts +28 -0
  233. package/dist/cjs-types/common/sectionHeader/index.d.ts +2 -0
  234. package/dist/cjs-types/common/sectionHeader/sectionHeader.d.ts +4 -0
  235. package/dist/cjs-types/common/sectionHeader/sectionHeader.types.d.ts +27 -0
  236. package/dist/cjs-types/common/sheetBackdrop/index.d.ts +2 -0
  237. package/dist/cjs-types/common/sheetBackdrop/sheetBackdrop.d.ts +16 -0
  238. package/dist/cjs-types/common/sheetBackdrop/sheetBackdrop.types.d.ts +7 -0
  239. package/dist/cjs-types/common/skeleton/index.d.ts +2 -0
  240. package/dist/cjs-types/common/skeleton/skeleton.d.ts +4 -0
  241. package/dist/cjs-types/common/skeleton/skeleton.types.d.ts +22 -0
  242. package/dist/cjs-types/common/slider/index.d.ts +2 -0
  243. package/dist/cjs-types/common/slider/slider.d.ts +3 -0
  244. package/dist/cjs-types/common/slider/slider.types.d.ts +68 -0
  245. package/dist/cjs-types/common/splitButton/index.d.ts +2 -0
  246. package/dist/cjs-types/common/splitButton/splitButton.d.ts +3 -0
  247. package/dist/cjs-types/common/splitButton/splitButton.types.d.ts +35 -0
  248. package/dist/cjs-types/common/stepper/index.d.ts +2 -0
  249. package/dist/cjs-types/common/stepper/stepper.d.ts +3 -0
  250. package/dist/cjs-types/common/stepper/stepper.types.d.ts +77 -0
  251. package/dist/cjs-types/common/sticky/index.d.ts +1 -0
  252. package/dist/cjs-types/common/sticky/sticky.d.ts +3 -0
  253. package/dist/cjs-types/common/sticky/sticky.types.d.ts +37 -0
  254. package/dist/cjs-types/common/sticky/stickyStack.d.ts +51 -0
  255. package/dist/cjs-types/common/switch/index.d.ts +2 -0
  256. package/dist/cjs-types/common/switch/switch.d.ts +4 -0
  257. package/dist/cjs-types/common/switch/switch.types.d.ts +21 -0
  258. package/dist/cjs-types/common/tabHeader/index.d.ts +2 -0
  259. package/dist/cjs-types/common/tabHeader/tabHeader.d.ts +4 -0
  260. package/dist/cjs-types/common/tabHeader/tabHeader.types.d.ts +20 -0
  261. package/dist/cjs-types/common/textarea/index.d.ts +2 -0
  262. package/dist/cjs-types/common/textarea/textarea.d.ts +3 -0
  263. package/dist/cjs-types/common/textarea/textarea.types.d.ts +2 -0
  264. package/dist/cjs-types/common/themeProvider/defaultTheme.d.ts +7 -0
  265. package/dist/cjs-types/common/themeProvider/index.d.ts +4 -0
  266. package/dist/cjs-types/common/themeProvider/lightTheme.d.ts +13 -0
  267. package/dist/cjs-types/common/themeProvider/theme.types.d.ts +272 -0
  268. package/dist/cjs-types/common/themeProvider/themeProvider.d.ts +38 -0
  269. package/dist/cjs-types/common/themeProvider/themeVariablesContext.d.ts +11 -0
  270. package/dist/cjs-types/common/themeProvider/useTheme.d.ts +4 -0
  271. package/dist/cjs-types/common/tilt/index.d.ts +4 -0
  272. package/dist/cjs-types/common/tilt/tilt.d.ts +3 -0
  273. package/dist/cjs-types/common/tilt/tilt.types.d.ts +40 -0
  274. package/dist/cjs-types/common/tilt/tiltMath.d.ts +24 -0
  275. package/dist/cjs-types/common/tiltGroup/index.d.ts +3 -0
  276. package/dist/cjs-types/common/tiltGroup/tiltGroup.d.ts +6 -0
  277. package/dist/cjs-types/common/tiltGroup/tiltGroup.types.d.ts +16 -0
  278. package/dist/cjs-types/common/timeInput/components/clockDial/clockDial.d.ts +3 -0
  279. package/dist/cjs-types/common/timeInput/components/clockDial/clockDial.types.d.ts +24 -0
  280. package/dist/cjs-types/common/timeInput/components/clockDial/index.d.ts +1 -0
  281. package/dist/cjs-types/common/timeInput/index.d.ts +1 -0
  282. package/dist/cjs-types/common/timeInput/timeFunctions.d.ts +36 -0
  283. package/dist/cjs-types/common/timeInput/timeInput.d.ts +3 -0
  284. package/dist/cjs-types/common/timeInput/timeInput.types.d.ts +44 -0
  285. package/dist/cjs-types/common/timeline/index.d.ts +2 -0
  286. package/dist/cjs-types/common/timeline/timeline.d.ts +3 -0
  287. package/dist/cjs-types/common/timeline/timeline.types.d.ts +51 -0
  288. package/dist/cjs-types/common/timer/index.d.ts +2 -0
  289. package/dist/cjs-types/common/timer/timer.chime.d.ts +1 -0
  290. package/dist/cjs-types/common/timer/timer.d.ts +3 -0
  291. package/dist/cjs-types/common/timer/timer.types.d.ts +110 -0
  292. package/dist/cjs-types/common/toast/index.d.ts +3 -0
  293. package/dist/cjs-types/common/toast/toast.d.ts +11 -0
  294. package/dist/cjs-types/common/toast/toast.types.d.ts +50 -0
  295. package/dist/cjs-types/common/toast/toastProvider.d.ts +8 -0
  296. package/dist/cjs-types/common/toast/toastService.d.ts +7 -0
  297. package/dist/cjs-types/common/tooltip/index.d.ts +2 -0
  298. package/dist/cjs-types/common/tooltip/tooltip.d.ts +3 -0
  299. package/dist/cjs-types/common/tooltip/tooltip.types.d.ts +17 -0
  300. package/dist/cjs-types/common/tree/flattenTree.d.ts +3 -0
  301. package/dist/cjs-types/common/tree/index.d.ts +3 -0
  302. package/dist/cjs-types/common/tree/tree.d.ts +4 -0
  303. package/dist/cjs-types/common/tree/tree.types.d.ts +67 -0
  304. package/dist/cjs-types/common/types/actions.types.d.ts +7 -0
  305. package/dist/cjs-types/common/types/baseProps.types.d.ts +29 -0
  306. package/dist/cjs-types/common/types/icon.types.d.ts +17 -0
  307. package/dist/cjs-types/common/types/slots.types.d.ts +4 -0
  308. package/dist/cjs-types/common/utils/activationKey.d.ts +9 -0
  309. package/dist/cjs-types/common/utils/interactiveTarget.d.ts +7 -0
  310. package/dist/cjs-types/common/utils/listNavigation.d.ts +49 -0
  311. package/dist/cjs-types/common/utils/mergeRefs.d.ts +12 -0
  312. package/dist/cjs-types/common/utils/renderIcon.d.ts +29 -0
  313. package/dist/cjs-types/common/utils/scrollAncestors.d.ts +12 -0
  314. package/dist/cjs-types/common/utils/visualViewport.d.ts +7 -0
  315. package/dist/cjs-types/common/virtualList/index.d.ts +2 -0
  316. package/dist/cjs-types/common/virtualList/scroller.d.ts +33 -0
  317. package/dist/cjs-types/common/virtualList/useColumnResize.d.ts +59 -0
  318. package/dist/cjs-types/common/virtualList/useColumns.d.ts +52 -0
  319. package/dist/cjs-types/common/virtualList/useHeaderNavigation.d.ts +22 -0
  320. package/dist/cjs-types/common/virtualList/useRowDrag.d.ts +63 -0
  321. package/dist/cjs-types/common/virtualList/useRowNavigation.d.ts +60 -0
  322. package/dist/cjs-types/common/virtualList/useSelection.d.ts +24 -0
  323. package/dist/cjs-types/common/virtualList/useSorting.d.ts +26 -0
  324. package/dist/cjs-types/common/virtualList/useVirtualWindow.d.ts +55 -0
  325. package/dist/cjs-types/common/virtualList/virtualList.d.ts +5 -0
  326. package/dist/cjs-types/common/virtualList/virtualList.types.d.ts +357 -0
  327. package/dist/cjs-types/common/virtualList/virtualList.utils.d.ts +126 -0
  328. package/dist/cjs-types/common/virtualList/virtualListHeader.d.ts +35 -0
  329. package/dist/cjs-types/common/virtualList/virtualRow.d.ts +62 -0
  330. package/dist/cjs-types/common/wizard/index.d.ts +1 -0
  331. package/dist/cjs-types/common/wizard/wizard.d.ts +3 -0
  332. package/dist/cjs-types/common/wizard/wizard.types.d.ts +12 -0
  333. package/dist/cjs-types/hooks/useWindowSize.d.ts +6 -0
  334. package/dist/cjs-types/index.d.ts +155 -0
  335. package/dist/cjs-types/package.json +3 -0
  336. package/dist/cjs-types/services/formValidation/FormValidatorGroupWithForm.d.ts +18 -0
  337. package/dist/cjs-types/services/formValidation/index.d.ts +5 -0
  338. package/dist/cjs-types/services/formValidation/useFormValidatorGroup.d.ts +10 -0
  339. package/dist/cjs-types/services/formValidation/validatableComponent.d.ts +36 -0
  340. package/dist/cjs-types/services/klipy.d.ts +36 -0
  341. package/dist/cjs-types/services/localization.d.ts +3 -0
  342. package/dist/esm/common/carousel/carousel.mjs +1 -1
  343. package/dist/esm/common/carousel/carousel.mjs.map +1 -1
  344. package/dist/esm/common/carousel/carousel.module.mjs.map +1 -1
  345. package/dist/esm/common/confirmModal/confirmModal.mjs +1 -1
  346. package/dist/esm/common/confirmModal/confirmModal.mjs.map +1 -1
  347. package/dist/esm/common/datePicker/datePicker.mjs +1 -1
  348. package/dist/esm/common/datePicker/datePicker.mjs.map +1 -1
  349. package/dist/esm/common/drawer/drawer.module.mjs.map +1 -1
  350. package/dist/esm/common/dropdown/dropdown.mjs +1 -1
  351. package/dist/esm/common/dropdown/dropdown.mjs.map +1 -1
  352. package/dist/esm/common/dropdown/dropdown.module.mjs +1 -1
  353. package/dist/esm/common/dropdown/dropdown.module.mjs.map +1 -1
  354. package/dist/esm/common/hooks/useHotkeys.mjs +2 -0
  355. package/dist/esm/common/hooks/useHotkeys.mjs.map +1 -0
  356. package/dist/esm/common/hooks/useScrollEdges.mjs +2 -0
  357. package/dist/esm/common/hooks/useScrollEdges.mjs.map +1 -0
  358. package/dist/esm/common/hooks/useSwipeDismiss.mjs +1 -1
  359. package/dist/esm/common/hooks/useSwipeDismiss.mjs.map +1 -1
  360. package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs +2 -0
  361. package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs.map +1 -0
  362. package/dist/esm/common/input/input.mjs +1 -1
  363. package/dist/esm/common/input/input.mjs.map +1 -1
  364. package/dist/esm/common/input/input.module.mjs +1 -1
  365. package/dist/esm/common/input/input.module.mjs.map +1 -1
  366. package/dist/esm/common/inputDropdown/inputDropdown.mjs +1 -1
  367. package/dist/esm/common/inputDropdown/inputDropdown.mjs.map +1 -1
  368. package/dist/esm/common/interactableDiv/interactableDiv.mjs +1 -1
  369. package/dist/esm/common/interactableDiv/interactableDiv.mjs.map +1 -1
  370. package/dist/esm/common/klipyPicker/components/gifPreview/gifPreview.module.mjs.map +1 -1
  371. package/dist/esm/common/klipyPicker/components/gifView/gifView.module.mjs.map +1 -1
  372. package/dist/esm/common/maskedInput/mask.mjs +2 -0
  373. package/dist/esm/common/maskedInput/mask.mjs.map +1 -0
  374. package/dist/esm/common/maskedInput/maskedInput.mjs +2 -0
  375. package/dist/esm/common/maskedInput/maskedInput.mjs.map +1 -0
  376. package/dist/esm/common/menu/menu.mjs +1 -1
  377. package/dist/esm/common/menu/menu.mjs.map +1 -1
  378. package/dist/esm/common/menu/menu.types.mjs.map +1 -1
  379. package/dist/esm/common/menu/menuHotkeys.mjs +2 -0
  380. package/dist/esm/common/menu/menuHotkeys.mjs.map +1 -0
  381. package/dist/esm/common/modal/modal.mjs +1 -1
  382. package/dist/esm/common/modal/modal.mjs.map +1 -1
  383. package/dist/esm/common/modal/modal.module.mjs +1 -1
  384. package/dist/esm/common/modal/modal.module.mjs.map +1 -1
  385. package/dist/esm/common/multiSelect/multiSelect.mjs +1 -1
  386. package/dist/esm/common/multiSelect/multiSelect.mjs.map +1 -1
  387. package/dist/esm/common/multiSelect/multiSelect.module.mjs +1 -1
  388. package/dist/esm/common/multiSelect/multiSelect.module.mjs.map +1 -1
  389. package/dist/esm/common/otpInput/otpInput.module.mjs.map +1 -1
  390. package/dist/esm/common/popover/usePopoverPosition.mjs +1 -1
  391. package/dist/esm/common/popover/usePopoverPosition.mjs.map +1 -1
  392. package/dist/esm/common/radioGroup/radioGroup.types.mjs.map +1 -1
  393. package/dist/esm/common/rating/rating.module.mjs.map +1 -1
  394. package/dist/esm/common/ripple/ripple.mjs +1 -1
  395. package/dist/esm/common/ripple/ripple.mjs.map +1 -1
  396. package/dist/esm/common/scrollFade/scrollFade.mjs +2 -0
  397. package/dist/esm/common/scrollFade/scrollFade.mjs.map +1 -0
  398. package/dist/esm/common/scrollFade/scrollFade.module.mjs +2 -0
  399. package/dist/esm/common/scrollFade/scrollFade.module.mjs.map +1 -0
  400. package/dist/esm/common/scrollFade/scrollFade.types.mjs +2 -0
  401. package/dist/esm/common/scrollFade/scrollFade.types.mjs.map +1 -0
  402. package/dist/esm/common/sticky/sticky.mjs +1 -1
  403. package/dist/esm/common/sticky/sticky.mjs.map +1 -1
  404. package/dist/esm/common/sticky/stickyStack.mjs +1 -1
  405. package/dist/esm/common/sticky/stickyStack.mjs.map +1 -1
  406. package/dist/esm/common/styles/scrollFade.module.mjs +2 -0
  407. package/dist/esm/common/styles/scrollFade.module.mjs.map +1 -0
  408. package/dist/esm/common/styles/sheet.module.mjs.map +1 -1
  409. package/dist/esm/common/timeInput/timeInput.mjs +1 -1
  410. package/dist/esm/common/timeInput/timeInput.mjs.map +1 -1
  411. package/dist/esm/common/utils/interactiveTarget.mjs +2 -0
  412. package/dist/esm/common/utils/interactiveTarget.mjs.map +1 -0
  413. package/dist/esm/common/utils/listNavigation.mjs +2 -0
  414. package/dist/esm/common/utils/listNavigation.mjs.map +1 -0
  415. package/dist/esm/common/utils/scrollAncestors.mjs +1 -1
  416. package/dist/esm/common/utils/scrollAncestors.mjs.map +1 -1
  417. package/dist/esm/common/virtualList/scroller.mjs +2 -0
  418. package/dist/esm/common/virtualList/scroller.mjs.map +1 -0
  419. package/dist/esm/common/virtualList/useRowDrag.mjs +1 -1
  420. package/dist/esm/common/virtualList/useRowDrag.mjs.map +1 -1
  421. package/dist/esm/common/virtualList/useRowNavigation.mjs +1 -1
  422. package/dist/esm/common/virtualList/useRowNavigation.mjs.map +1 -1
  423. package/dist/esm/common/virtualList/useVirtualWindow.mjs +1 -1
  424. package/dist/esm/common/virtualList/useVirtualWindow.mjs.map +1 -1
  425. package/dist/esm/common/virtualList/virtualList.mjs +1 -1
  426. package/dist/esm/common/virtualList/virtualList.mjs.map +1 -1
  427. package/dist/esm/common/virtualList/virtualList.module.mjs +1 -1
  428. package/dist/esm/common/virtualList/virtualList.module.mjs.map +1 -1
  429. package/dist/esm/common/wizard/wizard.module.mjs.map +1 -1
  430. package/dist/esm/index.mjs +1 -1
  431. package/dist/esm/og.png +0 -0
  432. package/dist/index.cjs +3 -3
  433. package/dist/index.cjs.map +1 -1
  434. package/dist/mcp.js +341 -56
  435. package/dist/og.png +0 -0
  436. package/dist/style.css +1 -1
  437. package/dist/types/common/accordion/accordion.d.ts +1 -1
  438. package/dist/types/common/accordion/accordion.types.d.ts +1 -1
  439. package/dist/types/common/accordion/index.d.ts +2 -2
  440. package/dist/types/common/actionButtons/actionButtons.d.ts +1 -1
  441. package/dist/types/common/actionButtons/actionButtons.types.d.ts +3 -3
  442. package/dist/types/common/actionButtons/index.d.ts +2 -2
  443. package/dist/types/common/actionIcon/actionIcon.d.ts +1 -1
  444. package/dist/types/common/actionIcon/actionIcon.types.d.ts +2 -2
  445. package/dist/types/common/actionIcon/index.d.ts +2 -2
  446. package/dist/types/common/alert/alert.d.ts +1 -1
  447. package/dist/types/common/alert/alert.types.d.ts +2 -2
  448. package/dist/types/common/alert/index.d.ts +2 -2
  449. package/dist/types/common/animatedIcon/animatedIcon.d.ts +1 -1
  450. package/dist/types/common/animatedIcon/animatedIcon.types.d.ts +1 -1
  451. package/dist/types/common/animatedIcon/index.d.ts +2 -2
  452. package/dist/types/common/animatedLogo/animatedLogo.d.ts +1 -1
  453. package/dist/types/common/animatedLogo/animatedLogo.types.d.ts +1 -1
  454. package/dist/types/common/animatedLogo/index.d.ts +2 -2
  455. package/dist/types/common/animatedText/animatedText.d.ts +1 -1
  456. package/dist/types/common/animatedText/animatedText.types.d.ts +1 -1
  457. package/dist/types/common/animatedText/index.d.ts +2 -2
  458. package/dist/types/common/avatar/avatar.d.ts +1 -1
  459. package/dist/types/common/avatar/avatar.types.d.ts +2 -2
  460. package/dist/types/common/avatar/avatarGroup.d.ts +1 -1
  461. package/dist/types/common/avatar/index.d.ts +3 -3
  462. package/dist/types/common/badge/badge.d.ts +1 -1
  463. package/dist/types/common/badge/badge.types.d.ts +1 -1
  464. package/dist/types/common/badge/index.d.ts +2 -2
  465. package/dist/types/common/bodyEnd/bodyEnd.d.ts +1 -1
  466. package/dist/types/common/bodyEnd/index.d.ts +2 -2
  467. package/dist/types/common/breadcrumb/breadcrumb.d.ts +1 -1
  468. package/dist/types/common/breadcrumb/breadcrumb.types.d.ts +2 -2
  469. package/dist/types/common/breadcrumb/index.d.ts +2 -2
  470. package/dist/types/common/button/button.d.ts +1 -1
  471. package/dist/types/common/button/button.types.d.ts +2 -2
  472. package/dist/types/common/button/index.d.ts +2 -2
  473. package/dist/types/common/buttonGroup/buttonGroup.d.ts +1 -1
  474. package/dist/types/common/buttonGroup/buttonGroup.types.d.ts +1 -1
  475. package/dist/types/common/buttonGroup/index.d.ts +2 -2
  476. package/dist/types/common/card/Card.d.ts +1 -1
  477. package/dist/types/common/card/CardActions.d.ts +1 -1
  478. package/dist/types/common/card/CardContent.d.ts +1 -1
  479. package/dist/types/common/card/CardHeader.d.ts +1 -1
  480. package/dist/types/common/card/CardMedia.d.ts +1 -1
  481. package/dist/types/common/card/card.types.d.ts +3 -3
  482. package/dist/types/common/card/index.d.ts +6 -6
  483. package/dist/types/common/carousel/carousel.d.ts +1 -1
  484. package/dist/types/common/carousel/carousel.types.d.ts +1 -1
  485. package/dist/types/common/carousel/index.d.ts +2 -2
  486. package/dist/types/common/checkbox/checkbox.d.ts +1 -1
  487. package/dist/types/common/checkbox/checkbox.types.d.ts +2 -2
  488. package/dist/types/common/checkbox/index.d.ts +2 -2
  489. package/dist/types/common/chip/chip.d.ts +1 -1
  490. package/dist/types/common/chip/chip.types.d.ts +1 -1
  491. package/dist/types/common/chip/chipContainer.d.ts +1 -1
  492. package/dist/types/common/chip/index.d.ts +3 -3
  493. package/dist/types/common/colorPicker/colorPicker.d.ts +1 -1
  494. package/dist/types/common/colorPicker/colorPicker.types.d.ts +1 -1
  495. package/dist/types/common/colorPicker/index.d.ts +2 -2
  496. package/dist/types/common/configProvider/configProvider.d.ts +2 -2
  497. package/dist/types/common/configProvider/configProvider.types.d.ts +44 -44
  498. package/dist/types/common/configProvider/index.d.ts +6 -6
  499. package/dist/types/common/configProvider/useComponentDefaults.d.ts +1 -1
  500. package/dist/types/common/configProvider/useLabels.d.ts +1 -1
  501. package/dist/types/common/configProvider/usePresentationDefault.d.ts +1 -1
  502. package/dist/types/common/confirmModal/confirmModal.d.ts +1 -1
  503. package/dist/types/common/confirmModal/confirmModal.types.d.ts +2 -2
  504. package/dist/types/common/confirmModal/index.d.ts +2 -2
  505. package/dist/types/common/datePicker/components/datePickerMonth/datePickerMonth.d.ts +1 -1
  506. package/dist/types/common/datePicker/components/datePickerMonth/index.d.ts +1 -1
  507. package/dist/types/common/datePicker/datePicker.d.ts +1 -1
  508. package/dist/types/common/datePicker/datePicker.types.d.ts +2 -2
  509. package/dist/types/common/datePicker/index.d.ts +2 -2
  510. package/dist/types/common/divider/divider.d.ts +1 -1
  511. package/dist/types/common/divider/divider.types.d.ts +1 -1
  512. package/dist/types/common/divider/index.d.ts +2 -2
  513. package/dist/types/common/drawer/drawer.d.ts +1 -1
  514. package/dist/types/common/drawer/drawer.types.d.ts +1 -1
  515. package/dist/types/common/drawer/index.d.ts +2 -2
  516. package/dist/types/common/dropZone/dropZone.d.ts +1 -1
  517. package/dist/types/common/dropZone/dropZone.types.d.ts +1 -1
  518. package/dist/types/common/dropZone/index.d.ts +2 -2
  519. package/dist/types/common/dropdown/dropdown.d.ts +1 -1
  520. package/dist/types/common/dropdown/dropdown.types.d.ts +3 -3
  521. package/dist/types/common/dropdown/index.d.ts +2 -2
  522. package/dist/types/common/emptyState/emptyState.d.ts +1 -1
  523. package/dist/types/common/emptyState/emptyState.types.d.ts +2 -2
  524. package/dist/types/common/emptyState/index.d.ts +2 -2
  525. package/dist/types/common/errorBoundary/errorBoundary.d.ts +1 -1
  526. package/dist/types/common/errorBoundary/errorBoundary.types.d.ts +1 -1
  527. package/dist/types/common/errorBoundary/index.d.ts +2 -2
  528. package/dist/types/common/fab/components/fabBase/fabBase.d.ts +1 -1
  529. package/dist/types/common/fab/components/fabBase/fabBase.types.d.ts +1 -1
  530. package/dist/types/common/fab/components/fabBase/index.d.ts +1 -1
  531. package/dist/types/common/fab/fab.d.ts +1 -1
  532. package/dist/types/common/fab/fab.types.d.ts +2 -2
  533. package/dist/types/common/fab/index.d.ts +2 -2
  534. package/dist/types/common/flip/flip.d.ts +1 -1
  535. package/dist/types/common/flip/flip.types.d.ts +1 -1
  536. package/dist/types/common/flip/index.d.ts +2 -2
  537. package/dist/types/common/floorPlan/floorPlan.faces.d.ts +2 -2
  538. package/dist/types/common/floorPlan/floorPlan.fixtures.d.ts +1 -1
  539. package/dist/types/common/floorPlan/floorPlan.geometry.d.ts +1 -1
  540. package/dist/types/common/floorPlan/floorPlan.graph.d.ts +1 -1
  541. package/dist/types/common/floorPlan/floorPlan.hit.d.ts +1 -1
  542. package/dist/types/common/floorPlan/floorPlan.json.d.ts +1 -1
  543. package/dist/types/common/floorPlan/floorPlan.mesh.d.ts +1 -1
  544. package/dist/types/common/floorPlan/floorPlan.path.d.ts +1 -1
  545. package/dist/types/common/floorPlan/floorPlan.plan.d.ts +1 -1
  546. package/dist/types/common/floorPlan/floorPlan.rooms.d.ts +1 -1
  547. package/dist/types/common/floorPlan/floorPlan.snap.d.ts +1 -1
  548. package/dist/types/common/floorPlan/floorPlan.triangulate.d.ts +1 -1
  549. package/dist/types/common/floorPlan/index.d.ts +22 -22
  550. package/dist/types/common/floorPlan/legacySvg.d.ts +2 -2
  551. package/dist/types/common/hooks/index.d.ts +13 -0
  552. package/dist/types/common/hooks/useHotkeys.d.ts +45 -0
  553. package/dist/types/common/hooks/useScrollEdges.d.ts +18 -0
  554. package/dist/types/common/hooks/useSheet.d.ts +1 -1
  555. package/dist/types/common/hooks/useSwipeDismiss.d.ts +6 -2
  556. package/dist/types/common/iconPicker/iconPicker.d.ts +1 -1
  557. package/dist/types/common/iconPicker/iconPicker.types.d.ts +2 -2
  558. package/dist/types/common/iconPicker/index.d.ts +2 -1
  559. package/dist/types/common/idleManager/idleManager.d.ts +1 -1
  560. package/dist/types/common/idleManager/index.d.ts +2 -1
  561. package/dist/types/common/infiniteBlock/useInfiniteScroll.d.ts +5 -0
  562. package/dist/types/common/input/index.d.ts +2 -2
  563. package/dist/types/common/input/input.d.ts +1 -1
  564. package/dist/types/common/input/input.types.d.ts +2 -2
  565. package/dist/types/common/inputDropdown/index.d.ts +2 -1
  566. package/dist/types/common/inputDropdown/inputDropdown.d.ts +1 -1
  567. package/dist/types/common/inputDropdown/inputDropdown.types.d.ts +2 -2
  568. package/dist/types/common/interactableDiv/index.d.ts +1 -1
  569. package/dist/types/common/interactableDiv/interactableDiv.d.ts +1 -1
  570. package/dist/types/common/kanbanBoard/KanbanBoard.d.ts +1 -1
  571. package/dist/types/common/kanbanBoard/KanbanColumn.d.ts +1 -1
  572. package/dist/types/common/kanbanBoard/KanbanItem.d.ts +1 -1
  573. package/dist/types/common/kanbanBoard/index.d.ts +3 -3
  574. package/dist/types/common/kanbanBoard/kanbanBoard.types.d.ts +1 -1
  575. package/dist/types/common/kanbanBoard/kanbanBoard.utils.d.ts +1 -1
  576. package/dist/types/common/klipyPicker/components/gifPreview/gifPreview.d.ts +1 -1
  577. package/dist/types/common/klipyPicker/components/gifPreview/gifPreview.types.d.ts +1 -1
  578. package/dist/types/common/klipyPicker/components/gifPreview/index.d.ts +1 -1
  579. package/dist/types/common/klipyPicker/components/gifView/gifView.d.ts +1 -1
  580. package/dist/types/common/klipyPicker/components/gifView/index.d.ts +1 -1
  581. package/dist/types/common/klipyPicker/index.d.ts +2 -2
  582. package/dist/types/common/klipyPicker/klipyPicker.d.ts +1 -1
  583. package/dist/types/common/klipyPicker/klipyPicker.types.d.ts +1 -1
  584. package/dist/types/common/loading/index.d.ts +1 -2
  585. package/dist/types/common/loading/spinnerLoading/index.d.ts +1 -1
  586. package/dist/types/common/maskedInput/index.d.ts +2 -0
  587. package/dist/types/common/maskedInput/mask.d.ts +48 -0
  588. package/dist/types/common/maskedInput/maskedInput.d.ts +13 -0
  589. package/dist/types/common/maskedInput/maskedInput.types.d.ts +38 -0
  590. package/dist/types/common/menu/index.d.ts +3 -2
  591. package/dist/types/common/menu/menu.d.ts +1 -1
  592. package/dist/types/common/menu/menu.types.d.ts +13 -7
  593. package/dist/types/common/menu/menuHotkeys.d.ts +20 -0
  594. package/dist/types/common/modal/index.d.ts +2 -2
  595. package/dist/types/common/modal/modal.d.ts +1 -1
  596. package/dist/types/common/modal/modal.types.d.ts +6 -3
  597. package/dist/types/common/multiSelect/index.d.ts +2 -2
  598. package/dist/types/common/multiSelect/multiSelect.d.ts +1 -1
  599. package/dist/types/common/multiSelect/multiSelect.types.d.ts +3 -3
  600. package/dist/types/common/numberInput/index.d.ts +2 -2
  601. package/dist/types/common/numberInput/numberInput.d.ts +2 -2
  602. package/dist/types/common/numberInput/numberInput.types.d.ts +2 -2
  603. package/dist/types/common/optionPicker/index.d.ts +2 -2
  604. package/dist/types/common/optionPicker/optionPicker.d.ts +1 -1
  605. package/dist/types/common/optionPicker/optionPicker.types.d.ts +1 -1
  606. package/dist/types/common/otpInput/index.d.ts +2 -2
  607. package/dist/types/common/otpInput/otpInput.d.ts +1 -1
  608. package/dist/types/common/otpInput/otpInput.types.d.ts +2 -2
  609. package/dist/types/common/overscroll/index.d.ts +2 -2
  610. package/dist/types/common/overscroll/overscroll.d.ts +1 -1
  611. package/dist/types/common/pagination/index.d.ts +2 -2
  612. package/dist/types/common/pagination/pagination.d.ts +1 -1
  613. package/dist/types/common/pagination/pagination.types.d.ts +2 -2
  614. package/dist/types/common/planCanvas/index.d.ts +2 -2
  615. package/dist/types/common/planCanvas/planCanvas.d.ts +1 -1
  616. package/dist/types/common/planCanvas/planCanvas.types.d.ts +2 -2
  617. package/dist/types/common/popover/index.d.ts +2 -2
  618. package/dist/types/common/popover/popover.d.ts +1 -1
  619. package/dist/types/common/popover/popover.types.d.ts +2 -2
  620. package/dist/types/common/popover/usePopoverPosition.d.ts +2 -1
  621. package/dist/types/common/progressBar/index.d.ts +2 -2
  622. package/dist/types/common/progressBar/progressBar.d.ts +1 -1
  623. package/dist/types/common/progressBar/progressBar.types.d.ts +1 -1
  624. package/dist/types/common/radioGroup/index.d.ts +2 -2
  625. package/dist/types/common/radioGroup/radioGroup.d.ts +1 -1
  626. package/dist/types/common/radioGroup/radioGroup.types.d.ts +3 -3
  627. package/dist/types/common/rating/index.d.ts +2 -2
  628. package/dist/types/common/rating/rating.d.ts +1 -1
  629. package/dist/types/common/rating/rating.types.d.ts +2 -2
  630. package/dist/types/common/revealLens/index.d.ts +2 -2
  631. package/dist/types/common/revealLens/revealLens.d.ts +1 -1
  632. package/dist/types/common/revealLens/revealLens.types.d.ts +1 -1
  633. package/dist/types/common/ripple/index.d.ts +2 -2
  634. package/dist/types/common/ripple/ripple.d.ts +1 -1
  635. package/dist/types/common/ripple/ripple.types.d.ts +1 -1
  636. package/dist/types/common/roomDrawer/index.d.ts +2 -2
  637. package/dist/types/common/roomDrawer/roomDrawer.d.ts +1 -1
  638. package/dist/types/common/roomDrawer/roomDrawer.types.d.ts +3 -3
  639. package/dist/types/common/roomDrawer/usePlanHistory.d.ts +2 -2
  640. package/dist/types/common/roomViewer/index.d.ts +2 -2
  641. package/dist/types/common/roomViewer/roomViewer.d.ts +1 -1
  642. package/dist/types/common/roomViewer/roomViewer.types.d.ts +3 -3
  643. package/dist/types/common/scrollFade/index.d.ts +2 -0
  644. package/dist/types/common/scrollFade/scrollFade.d.ts +4 -0
  645. package/dist/types/common/scrollFade/scrollFade.types.d.ts +20 -0
  646. package/dist/types/common/scrollbarProvider/index.d.ts +1 -1
  647. package/dist/types/common/searchInput/index.d.ts +2 -2
  648. package/dist/types/common/searchInput/searchInput.d.ts +1 -1
  649. package/dist/types/common/searchInput/searchInput.types.d.ts +1 -1
  650. package/dist/types/common/sectionHeader/index.d.ts +2 -2
  651. package/dist/types/common/sectionHeader/sectionHeader.d.ts +1 -1
  652. package/dist/types/common/sectionHeader/sectionHeader.types.d.ts +3 -3
  653. package/dist/types/common/sheetBackdrop/index.d.ts +2 -2
  654. package/dist/types/common/sheetBackdrop/sheetBackdrop.d.ts +1 -1
  655. package/dist/types/common/skeleton/index.d.ts +2 -2
  656. package/dist/types/common/skeleton/skeleton.d.ts +1 -1
  657. package/dist/types/common/skeleton/skeleton.types.d.ts +1 -1
  658. package/dist/types/common/slider/index.d.ts +2 -2
  659. package/dist/types/common/slider/slider.d.ts +1 -1
  660. package/dist/types/common/slider/slider.types.d.ts +2 -2
  661. package/dist/types/common/splitButton/index.d.ts +2 -2
  662. package/dist/types/common/splitButton/splitButton.d.ts +1 -1
  663. package/dist/types/common/splitButton/splitButton.types.d.ts +4 -4
  664. package/dist/types/common/stepper/index.d.ts +2 -2
  665. package/dist/types/common/stepper/stepper.d.ts +1 -1
  666. package/dist/types/common/stepper/stepper.types.d.ts +2 -2
  667. package/dist/types/common/sticky/index.d.ts +1 -1
  668. package/dist/types/common/sticky/sticky.d.ts +2 -2
  669. package/dist/types/common/sticky/sticky.types.d.ts +16 -1
  670. package/dist/types/common/sticky/stickyStack.d.ts +5 -0
  671. package/dist/types/common/switch/index.d.ts +2 -2
  672. package/dist/types/common/switch/switch.d.ts +1 -1
  673. package/dist/types/common/switch/switch.types.d.ts +2 -2
  674. package/dist/types/common/tabHeader/index.d.ts +2 -2
  675. package/dist/types/common/tabHeader/tabHeader.d.ts +1 -1
  676. package/dist/types/common/tabHeader/tabHeader.types.d.ts +2 -2
  677. package/dist/types/common/textarea/index.d.ts +2 -2
  678. package/dist/types/common/textarea/textarea.d.ts +1 -1
  679. package/dist/types/common/textarea/textarea.types.d.ts +1 -1
  680. package/dist/types/common/themeProvider/defaultTheme.d.ts +1 -1
  681. package/dist/types/common/themeProvider/index.d.ts +4 -4
  682. package/dist/types/common/themeProvider/lightTheme.d.ts +1 -1
  683. package/dist/types/common/themeProvider/theme.types.d.ts +28 -0
  684. package/dist/types/common/themeProvider/themeProvider.d.ts +1 -1
  685. package/dist/types/common/tilt/index.d.ts +4 -4
  686. package/dist/types/common/tilt/tilt.d.ts +1 -1
  687. package/dist/types/common/tilt/tilt.types.d.ts +2 -2
  688. package/dist/types/common/tiltGroup/index.d.ts +3 -3
  689. package/dist/types/common/tiltGroup/tiltGroup.d.ts +1 -1
  690. package/dist/types/common/tiltGroup/tiltGroup.types.d.ts +1 -1
  691. package/dist/types/common/timeInput/components/clockDial/clockDial.d.ts +1 -1
  692. package/dist/types/common/timeInput/components/clockDial/clockDial.types.d.ts +3 -3
  693. package/dist/types/common/timeInput/components/clockDial/index.d.ts +1 -1
  694. package/dist/types/common/timeInput/index.d.ts +1 -1
  695. package/dist/types/common/timeInput/timeInput.d.ts +1 -1
  696. package/dist/types/common/timeInput/timeInput.types.d.ts +2 -2
  697. package/dist/types/common/timeline/index.d.ts +2 -2
  698. package/dist/types/common/timeline/timeline.d.ts +1 -1
  699. package/dist/types/common/timeline/timeline.types.d.ts +2 -2
  700. package/dist/types/common/timer/index.d.ts +2 -2
  701. package/dist/types/common/timer/timer.d.ts +1 -1
  702. package/dist/types/common/timer/timer.types.d.ts +2 -2
  703. package/dist/types/common/toast/index.d.ts +3 -3
  704. package/dist/types/common/toast/toast.d.ts +1 -1
  705. package/dist/types/common/toast/toast.types.d.ts +1 -1
  706. package/dist/types/common/toast/toastProvider.d.ts +1 -1
  707. package/dist/types/common/toast/toastService.d.ts +1 -1
  708. package/dist/types/common/tooltip/index.d.ts +2 -2
  709. package/dist/types/common/tooltip/tooltip.d.ts +1 -1
  710. package/dist/types/common/tree/flattenTree.d.ts +1 -1
  711. package/dist/types/common/tree/index.d.ts +3 -3
  712. package/dist/types/common/tree/tree.d.ts +1 -1
  713. package/dist/types/common/tree/tree.types.d.ts +2 -2
  714. package/dist/types/common/types/actions.types.d.ts +1 -1
  715. package/dist/types/common/types/slots.types.d.ts +1 -1
  716. package/dist/types/common/utils/interactiveTarget.d.ts +7 -0
  717. package/dist/types/common/utils/listNavigation.d.ts +49 -0
  718. package/dist/types/common/utils/renderIcon.d.ts +1 -1
  719. package/dist/types/common/utils/scrollAncestors.d.ts +10 -0
  720. package/dist/types/common/virtualList/index.d.ts +2 -2
  721. package/dist/types/common/virtualList/scroller.d.ts +33 -0
  722. package/dist/types/common/virtualList/useColumnResize.d.ts +1 -1
  723. package/dist/types/common/virtualList/useColumns.d.ts +1 -1
  724. package/dist/types/common/virtualList/useRowDrag.d.ts +7 -2
  725. package/dist/types/common/virtualList/useRowNavigation.d.ts +12 -2
  726. package/dist/types/common/virtualList/useSorting.d.ts +1 -1
  727. package/dist/types/common/virtualList/useVirtualWindow.d.ts +22 -3
  728. package/dist/types/common/virtualList/virtualList.d.ts +3 -3
  729. package/dist/types/common/virtualList/virtualList.types.d.ts +44 -4
  730. package/dist/types/common/virtualList/virtualList.utils.d.ts +1 -1
  731. package/dist/types/common/virtualList/virtualListHeader.d.ts +4 -4
  732. package/dist/types/common/virtualList/virtualRow.d.ts +1 -1
  733. package/dist/types/common/wizard/index.d.ts +1 -1
  734. package/dist/types/common/wizard/wizard.d.ts +1 -1
  735. package/dist/types/common/wizard/wizard.types.d.ts +1 -1
  736. package/dist/types/index.d.ts +154 -153
  737. package/dist/types/services/formValidation/index.d.ts +3 -3
  738. package/dist/types/services/formValidation/useFormValidatorGroup.d.ts +1 -1
  739. package/docs/ActionIcon.md +2 -0
  740. package/docs/CLAUDE.md +124 -230
  741. package/docs/Card.md +1 -1
  742. package/docs/Divider.md +2 -0
  743. package/docs/Dropdown.md +20 -0
  744. package/docs/Hooks.md +232 -0
  745. package/docs/IdleManager.md +38 -8
  746. package/docs/InputDropdown.md +11 -0
  747. package/docs/InteractableDiv.md +7 -1
  748. package/docs/KlipyPicker.md +1 -1
  749. package/docs/Loading.md +57 -14
  750. package/docs/Menu.md +27 -3
  751. package/docs/Modal.md +34 -10
  752. package/docs/MultiSelect.md +2 -2
  753. package/docs/Pagination.md +1 -1
  754. package/docs/Popover.md +4 -0
  755. package/docs/RadioGroup.md +1 -1
  756. package/docs/Rating.md +2 -0
  757. package/docs/Ripple.md +3 -0
  758. package/docs/RoomViewer.md +3 -5
  759. package/docs/ScrollFade.md +77 -0
  760. package/docs/ScrollbarProvider.md +2 -0
  761. package/docs/Slider.md +1 -1
  762. package/docs/Sticky.md +22 -1
  763. package/docs/Timer.md +1 -1
  764. package/docs/VirtualList.md +44 -4
  765. package/docs/Wizard.md +1 -1
  766. package/package.json +33 -11
  767. package/dist/esm/common/infiniteBlock/infiniteBlock.mjs +0 -2
  768. package/dist/esm/common/infiniteBlock/infiniteBlock.mjs.map +0 -1
  769. package/dist/esm/common/infiniteBlock/infiniteBlock.module.mjs +0 -2
  770. package/dist/esm/common/infiniteBlock/infiniteBlock.module.mjs.map +0 -1
  771. package/dist/esm/common/loading/iconLoading/iconLoading.mjs +0 -2
  772. package/dist/esm/common/loading/iconLoading/iconLoading.mjs.map +0 -1
  773. package/dist/esm/common/loading/iconLoading/iconLoading.module.mjs +0 -2
  774. package/dist/esm/common/loading/iconLoading/iconLoading.module.mjs.map +0 -1
  775. package/dist/esm/common/loading/iconLoading/index.mjs +0 -2
  776. package/dist/esm/common/loading/iconLoading/index.mjs.map +0 -1
  777. package/dist/types/common/infiniteBlock/index.d.ts +0 -1
  778. package/dist/types/common/infiniteBlock/infiniteBlock.d.ts +0 -4
  779. package/dist/types/common/infiniteBlock/infiniteBlock.types.d.ts +0 -13
  780. package/dist/types/common/loading/iconLoading/iconLoading.d.ts +0 -5
  781. package/dist/types/common/loading/iconLoading/index.d.ts +0 -2
  782. package/docs/Icon.md +0 -27
  783. package/docs/InfiniteBlock.md +0 -23
@@ -0,0 +1,357 @@
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
+ import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
3
+ export type ColumnWidthFixed = {
4
+ type: 'fixed';
5
+ px: number;
6
+ };
7
+ export type ColumnWidthFlex = {
8
+ type: 'flex';
9
+ weight?: number;
10
+ };
11
+ export type ColumnWidthFit = {
12
+ type: 'fit';
13
+ };
14
+ export type ColumnWidthSpec = ColumnWidthFixed | ColumnWidthFlex | ColumnWidthFit;
15
+ /** A value the built-in comparator can order. */
16
+ export type SortValue = string | number | boolean | Date | null | undefined;
17
+ export type SortDirection = 'asc' | 'desc';
18
+ /** The column being sorted and the direction. `null` anywhere this appears means unsorted. */
19
+ export interface VirtualListSort {
20
+ /** `key` of the sorted column. */
21
+ key: string;
22
+ direction: SortDirection;
23
+ }
24
+ export interface VirtualListColumn<T> {
25
+ key: string;
26
+ label: ReactNode;
27
+ width: ColumnWidthSpec;
28
+ renderCell: (item: T, rowIndex: number) => ReactNode;
29
+ defaultHidden?: boolean;
30
+ /**
31
+ * Text shown for this column in the gear toggle menu. Falls back to `label`.
32
+ * Useful for columns with an empty header (e.g. an actions column) so their
33
+ * menu entry reads as something meaningful instead of being blank.
34
+ */
35
+ toggleLabel?: ReactNode;
36
+ /**
37
+ * Prevent this column from being hidden via the toggle menu. It always stays
38
+ * visible (overriding `defaultHidden` and any controlled/persisted state), and
39
+ * its menu entry is rendered checked and disabled. Overrides `defaultHidden`.
40
+ */
41
+ lockVisible?: boolean;
42
+ /**
43
+ * Omit this column from the gear toggle menu entirely — no entry is shown for
44
+ * it. Unlike `lockVisible` (which shows a checked, disabled entry), the column
45
+ * simply isn't listed. Its visibility then follows `defaultHidden` /
46
+ * controlled / persisted state as usual; combine with `lockVisible` to keep it
47
+ * always visible and out of the menu. The gear button hides automatically if
48
+ * no column remains toggleable.
49
+ */
50
+ hideFromToggle?: boolean;
51
+ /**
52
+ * Value this column is ordered by. Its presence makes the column sortable and
53
+ * lets the list sort `items` itself. `null`/`undefined`/`NaN` sort last, in
54
+ * both directions.
55
+ */
56
+ sortValue?: (item: T) => SortValue;
57
+ /**
58
+ * Ascending comparator, for an order `sortValue` can't express. Wins over
59
+ * `sortValue`, and also makes the column sortable. Descending negates its
60
+ * result, so it has no equivalent of the empty-values-last rule.
61
+ */
62
+ compare?: (a: T, b: T) => number;
63
+ /**
64
+ * Floor this column can be dragged to, in px. Default 48.
65
+ */
66
+ minWidth?: number;
67
+ /** Opt this column out of resizing while the list has `resizableColumns`. */
68
+ resizable?: boolean;
69
+ /**
70
+ * Makes the header clickable without the list reordering anything: the sort is
71
+ * only reported through `onSortChange`. For server-side or paginated sorting,
72
+ * where sorting the loaded rows would silently sort part of the data. Ignored
73
+ * when `sortValue` or `compare` is given.
74
+ */
75
+ sortable?: boolean;
76
+ }
77
+ /**
78
+ * What scrolls, when the list is not to scroll itself. `'nearest'` is the first
79
+ * ancestor set to scroll, the same one `Sticky` pins to; `'window'` is the page;
80
+ * an element (or a getter for one, for a ref that fills after the first render)
81
+ * names it outright.
82
+ */
83
+ export type VirtualListScrollParent = 'nearest' | 'window' | HTMLElement | (() => HTMLElement | null);
84
+ export interface VirtualListScrollOptions {
85
+ /** Where the target row lands in the viewport. Default: 'start'. */
86
+ align?: 'start' | 'center' | 'end';
87
+ /** Native scroll behaviour. Default: 'auto'. */
88
+ behavior?: ScrollBehavior;
89
+ }
90
+ /** Imperative handle exposed via `ref`. */
91
+ export interface VirtualListHandle {
92
+ /** Scroll so the row at `index` is visible. */
93
+ scrollToIndex: (index: number, options?: VirtualListScrollOptions) => void;
94
+ /** Scroll to the row whose `getItemKey` matches `key` (no-op if not found). */
95
+ scrollToKey: (key: string | number, options?: VirtualListScrollOptions) => void;
96
+ /** Scroll back to the top. */
97
+ scrollToTop: (options?: Pick<VirtualListScrollOptions, 'behavior'>) => void;
98
+ /**
99
+ * The element that scrolls: the list itself, or the `scrollParent` it was
100
+ * given. `null` for `scrollParent='window'`, where the page scrolls.
101
+ */
102
+ getScrollElement: () => HTMLElement | null;
103
+ /**
104
+ * Re-read where the list sits in its `scrollParent`. Only needed in that mode,
105
+ * and only when something *above* the list changed height without the list
106
+ * re-rendering: an element moving fires no event of its own, and the list
107
+ * would keep rendering the window it had before.
108
+ */
109
+ remeasure: () => void;
110
+ /**
111
+ * Re-measure `fit` columns on the next layout. Call this after an out-of-band
112
+ * content change that doesn't flow through a new `items` array or `columns`
113
+ * set (those reset automatically) — e.g. a cell's content grew in place.
114
+ */
115
+ recalculateColumns: () => void;
116
+ /**
117
+ * Drops every user-set column width and returns the table to the widths its
118
+ * columns declare. Also clears them from `persistColumnsKey` storage.
119
+ */
120
+ resetColumnWidths: () => void;
121
+ }
122
+ export type VirtualListSlots = 'root' | 'header' | 'headerCell' | 'headerToggle' | 'headerSort' | 'sortIcon' | 'resizeHandle' | 'activeRow' | 'togglePopover' | 'toggleItem' | 'toggleReset' | 'body' | 'row' | 'cell' | 'selectCell' | 'loadingIndicator' | 'dropIndicator' | 'columnChip';
123
+ /** Where a tree-reorder drop lands relative to the row it is over. */
124
+ export type TreeDropPosition = 'before' | 'inside' | 'after';
125
+ /** The resolved drop target reported to `onTreeDrop`. */
126
+ export interface TreeDropTarget {
127
+ /** `getItemKey` of the row the drop lands on. */
128
+ key: string | number;
129
+ /**
130
+ * `before`/`after` place the dragged node as a sibling of the target (at the
131
+ * target's depth); `inside` makes it a child of the target (only offered when
132
+ * `isGroup` returns true for that row).
133
+ */
134
+ position: TreeDropPosition;
135
+ }
136
+ /** Text VirtualList renders of its own, for translating it. */
137
+ export interface VirtualListLabels {
138
+ /** A row's select checkbox, read out by screen readers. */
139
+ selectRow?: string;
140
+ /** The header's select-all checkbox, read out by screen readers. */
141
+ selectAllRows?: string;
142
+ /** The gear that opens the column menu, read out by screen readers. */
143
+ toggleColumns?: string;
144
+ /** The badge on the gear, given how many columns the user has hidden. */
145
+ columnsHidden?: (count: number) => string;
146
+ /** The entry in the column menu that undoes the user's column widths. */
147
+ resetColumnWidths?: ReactNode;
148
+ }
149
+ export interface VirtualListProps<T> extends HtmlProps {
150
+ items: T[];
151
+ /** Render function for list mode (no columns). Ignored when `columns` is provided. */
152
+ renderRow?: (item: T, index: number) => ReactNode;
153
+ /** Column definitions — presence enables table/header mode. */
154
+ columns?: VirtualListColumn<T>[];
155
+ /**
156
+ * Replaces the roles put on the container and rows (default `list`/`listitem`, or `grid`/`row`
157
+ * with columns). Pass `'none'` for both when the rows carry their own semantics, as `Tree` does.
158
+ */
159
+ ariaRoles?: {
160
+ container: string;
161
+ row: string;
162
+ };
163
+ /** Height of the scroll viewport. Defaults to '100%' to fill the parent container. Ignored with `scrollParent`. */
164
+ height?: number | string;
165
+ /**
166
+ * Drops the list's own scrollbar: it renders at its full height in the page
167
+ * flow and virtualizes against whatever is given here, so a long list at the
168
+ * end of a scrolling page doesn't put a second scrollbar inside the first.
169
+ * `height` no longer applies. `'nearest'` covers most cases: it walks up to
170
+ * the first ancestor whose `overflow-y` is set to scroll, whether or not it
171
+ * currently does, and falls back to the page.
172
+ *
173
+ * The header still sticks, now to the top of that scrollport; give the list
174
+ * `--vl-header-top` to clear a fixed app bar. Rows of uneven height move the
175
+ * page's own scrollbar as they are measured, so set `estimatedRowHeight` to
176
+ * the real height where the rows have one.
177
+ */
178
+ scrollParent?: VirtualListScrollParent;
179
+ /** Estimated row height before measurement. Default: 40. */
180
+ estimatedRowHeight?: number;
181
+ /** Extra rows to render above/below the visible window. Default: 3. */
182
+ overscan?: number;
183
+ /**
184
+ * Gap between rows. A number is treated as px; a string may be any CSS length
185
+ * (`'1em'`, `'0.5rem'`, `'1px'`, or a custom property like `'var(--spacing-s)'`).
186
+ * Non-px units / custom properties are resolved against the list element.
187
+ * Default: 0.
188
+ */
189
+ rowGap?: number | string;
190
+ /**
191
+ * Padding applied to every row. A number is treated as px; a string may be any
192
+ * CSS padding value (`'8px 12px'`, `'1em'`, `'var(--spacing-s)'`). Because each
193
+ * row's height is measured after layout, the padding is reflected in the
194
+ * virtualization automatically — no layout math is affected.
195
+ */
196
+ rowPadding?: number | string;
197
+ /** Show a divider line between rows. Default: true. */
198
+ showDivider?: boolean;
199
+ /**
200
+ * Highlight rows on hover. Default: true. Set false when the row content
201
+ * handles its own hover affordance (e.g. a Card per row), so the list's
202
+ * background doesn't fight it.
203
+ */
204
+ rowHover?: boolean;
205
+ /** Controlled selected row key. Matched against `getItemKey`. */
206
+ selectedKey?: string | number | null;
207
+ /** Returns a stable key per item. Defaults to row index. */
208
+ getItemKey?: (item: T, index: number) => string | number;
209
+ /** Called when a row is clicked. */
210
+ onRowClick?: (item: T, index: number) => void;
211
+ /**
212
+ * Arrow-key navigation over the rows, on by default. The list takes one tab
213
+ * stop, the arrows move an active row, Enter fires `onRowClick` and Space
214
+ * toggles the selection in `multiSelect`. Keys are ignored while the focus is
215
+ * inside a cell, so a control in a row keeps its own.
216
+ *
217
+ * Turn it off for a list whose rows already handle their own keys, the way
218
+ * `Tree` does.
219
+ */
220
+ keyboardNavigation?: boolean;
221
+ /**
222
+ * Lets Tab carry on into the next row instead of leaving the list at the end
223
+ * of the current one, for a grid of inputs a user fills in field by field.
224
+ * Shift+Tab walks back the same way, and Tab out of the last row (or back out
225
+ * of the first) leaves the list as it always did. Default: false, because for
226
+ * a list that is read rather than filled in, one tab stop and the arrow keys
227
+ * are the expected behaviour, and 5000 rows of tab stops are a trap.
228
+ */
229
+ tabAcrossRows?: boolean;
230
+ /** Controlled visible column keys. When provided, internal state is ignored. */
231
+ visibleColumnKeys?: string[];
232
+ /** Called when the user toggles a column in the popover. */
233
+ onVisibleColumnsChange?: (keys: string[]) => void;
234
+ /**
235
+ * When set, column visibility is saved to `localStorage` under this key and
236
+ * restored on the next mount of a list with the same key. Only applies in
237
+ * uncontrolled mode (ignored when `visibleColumnKeys` is provided). Newly
238
+ * added columns that weren't present when the settings were saved fall back
239
+ * to their `defaultHidden` value rather than the saved set.
240
+ */
241
+ persistColumnsKey?: string;
242
+ /**
243
+ * Controlled sort state. `null` is unsorted (source order). When provided,
244
+ * internal state is ignored.
245
+ */
246
+ sort?: VirtualListSort | null;
247
+ /** Initial sort in uncontrolled mode. Default: `null`. */
248
+ defaultSort?: VirtualListSort | null;
249
+ /**
250
+ * Called on each header click with the next step of the asc → desc → unsorted
251
+ * cycle. The list reorders `items` itself for columns that define `sortValue`
252
+ * or `compare`; for a `sortable` column it only reports, and sorting the data
253
+ * is yours to do.
254
+ */
255
+ onSortChange?: (sort: VirtualListSort | null) => void;
256
+ /**
257
+ * Lets the user drag a column's right edge to resize it, double-click it to fit
258
+ * the column to its content, or resize it from the keyboard once the handle has
259
+ * focus. The first resize pins every visible column to its current pixel width
260
+ * (nothing moves at that moment), after which the table is an exact pixel
261
+ * layout that scrolls horizontally rather than redistributing space.
262
+ */
263
+ resizableColumns?: boolean;
264
+ /** Controlled column widths in px, keyed by column key. */
265
+ columnWidths?: Record<string, number>;
266
+ /** Overrides the text VirtualList renders of its own. Merged per key. */
267
+ labels?: VirtualListLabels;
268
+ /** Called with the full width map whenever the user resizes or auto-fits a column. */
269
+ onColumnWidthsChange?: (widths: Record<string, number>) => void;
270
+ /** Show the gear column-toggle button in the header. Default: true when columns present. */
271
+ showColumnToggle?: boolean;
272
+ /**
273
+ * Called when the user scrolls within `loadMoreThreshold` px of the bottom, and
274
+ * repeatedly while the rows don't fill the viewport — a list too short to scroll
275
+ * would otherwise never ask for a second batch. Each row count is asked at most
276
+ * once, so the loop ends as soon as a call appends nothing; pass `undefined`
277
+ * once the source is exhausted to skip even that final probe.
278
+ * Must return a Promise that resolves once new items have been appended to `items`.
279
+ * A spinner is shown at the bottom while the Promise is pending.
280
+ */
281
+ onLoadMore?: () => Promise<void>;
282
+ /** Distance in px from the bottom that triggers `onLoadMore`. Default: 100. */
283
+ loadMoreThreshold?: number;
284
+ /** Replaces the list body with a full-height spinner (for initial/filter loads). */
285
+ isLoading?: boolean;
286
+ /** Enables multi-row selection with a checkbox column on the far left. */
287
+ multiSelect?: boolean;
288
+ /** Controlled set of selected item keys. When provided, internal state is ignored. */
289
+ selectedKeys?: Set<string | number>;
290
+ /** Called when the selection changes. */
291
+ onSelectionChange?: (keys: Set<string | number>) => void;
292
+ /**
293
+ * Enables drag-and-drop row reordering (native HTML5 drag — desktop/mouse).
294
+ * The whole row becomes draggable; pair with `onReorder` to apply the move.
295
+ * Provide `getItemKey` so reordered rows keep their measured heights.
296
+ */
297
+ reorderable?: boolean;
298
+ /**
299
+ * Called while the user drags a row over a new position. Fires live (on each
300
+ * change), so apply it immediately — e.g. `setItems(prev => move(prev, from, to))`.
301
+ */
302
+ onReorder?: (fromIndex: number, toIndex: number) => void;
303
+ /**
304
+ * Touch only: how long (ms) the user must press-and-hold a row before drag
305
+ * mode activates, so a normal swipe still scrolls the list. Default: 400.
306
+ */
307
+ longPressDelay?: number;
308
+ /**
309
+ * Enables tree drag-and-drop: instead of a flat reorder, a dragged row can be
310
+ * dropped `before`, `after`, or `inside` another row. Mutually exclusive with
311
+ * `reorderable` (if both are set, `treeReorder` wins). Unlike `reorderable`,
312
+ * rows are NOT moved live — a drop indicator is shown during the drag and
313
+ * `onTreeDrop` fires once on release. The list is still a flat array: hold the
314
+ * real tree in your own state, flatten the expanded nodes into `items` (each
315
+ * tagged with its depth), and re-flatten after applying the drop.
316
+ * Provide `getItemKey` so rows keep their measured heights across re-flattens.
317
+ */
318
+ treeReorder?: boolean;
319
+ /**
320
+ * Depth of each row in the tree (0 = root). Used to align the drop indicator
321
+ * and to forbid dropping a node onto itself or its own descendants. Defaults
322
+ * to 0 for every row.
323
+ */
324
+ getItemDepth?: (item: T, index: number) => number;
325
+ /**
326
+ * Whether a row can receive children — i.e. whether an `inside` drop is
327
+ * offered when hovering its middle third. Defaults to false (leaf) for every
328
+ * row, so only `before`/`after` are offered.
329
+ */
330
+ isGroup?: (item: T, index: number) => boolean;
331
+ /**
332
+ * Called once when a tree-reorder drag is released on a valid target. Apply
333
+ * the move to your tree state and re-flatten. Not called when the drop target
334
+ * is the dragged node itself or one of its descendants.
335
+ */
336
+ onTreeDrop?: (dragKey: string | number, target: TreeDropTarget) => void;
337
+ /**
338
+ * Indent (px per depth level) used to position the `before`/`after` drop
339
+ * indicator line so it aligns with where the dropped content will start.
340
+ * Match this to the per-level padding you apply to row content. Default: 24.
341
+ */
342
+ treeIndentPx?: number;
343
+ /**
344
+ * Restrict drag initiation to elements marked `data-drag-handle` within a row
345
+ * (rather than the whole row). Essential for rows containing editable inputs
346
+ * or other interactive controls, so clicking/typing/selecting text in them
347
+ * doesn't start a drag. Applies to both `reorderable` and `treeReorder`, mouse
348
+ * and touch. Render a handle in your row, e.g. `<span data-drag-handle>⠿</span>`.
349
+ */
350
+ dragHandle?: boolean;
351
+ /** Imperative handle for scrolling and for recalculating column layout. */
352
+ ref?: Ref<VirtualListHandle>;
353
+ className?: string;
354
+ style?: CSSProperties;
355
+ classNames?: SlotClassNames<VirtualListSlots>;
356
+ styles?: SlotStyles<VirtualListSlots>;
357
+ }
@@ -0,0 +1,126 @@
1
+ import { ColumnWidthSpec, SortValue, VirtualListColumn, VirtualListSort } from './virtualList.types.js';
2
+ export declare function buildOffsets(keys: (string | number)[], heightsMap: Map<string | number, number>, estimatedRowHeight: number, rowGap?: number): {
3
+ offsets: number[];
4
+ totalHeight: number;
5
+ };
6
+ /** Index of the row that sits at `scrollTop` — i.e. the first row whose bottom edge is below it. */
7
+ export declare function findStartIndex(offsets: number[], scrollTop: number, itemCount: number): number;
8
+ export declare function getVisibleRange(offsets: number[], scrollTop: number, containerHeight: number, overscan: number, itemCount: number): {
9
+ startIndex: number;
10
+ endIndex: number;
11
+ };
12
+ /**
13
+ * Decides where a dragged row should move to, applying midpoint hysteresis: a
14
+ * move only happens once the pointer has crossed the centre of the row it is
15
+ * over (downwards when moving down, upwards when moving up). Returns the target
16
+ * index, or null if no move should occur. Pure for easy unit testing.
17
+ */
18
+ export declare function resolveReorderTarget(fromIndex: number, overIndex: number, pointerY: number, rowTop: number, rowHeight: number): number | null;
19
+ /**
20
+ * Decides where a tree-reorder drop should land relative to the row under the
21
+ * pointer. Group rows expose three zones (top third → `before`, middle →
22
+ * `inside`, bottom third → `after`); leaf rows split in half (`before`/`after`)
23
+ * since they can't receive children. Pure for easy unit testing.
24
+ */
25
+ export declare function resolveTreeDropTarget(pointerY: number, rowTop: number, rowHeight: number, isGroup: boolean): 'before' | 'inside' | 'after';
26
+ /**
27
+ * Index of the last descendant of the node at `index` in a depth-tagged flat
28
+ * list (a contiguous run of following rows with a greater depth). Returns
29
+ * `index` itself when the node has no children. A drop is forbidden anywhere in
30
+ * `[index, lastDescendantIndex]` — that's the node and its own subtree.
31
+ */
32
+ export declare function lastDescendantIndex(index: number, depths: number[]): number;
33
+ export declare function buildColumnTemplate(columns: {
34
+ key: string;
35
+ width: ColumnWidthSpec;
36
+ }[], fitWidths?: Record<string, number>): string;
37
+ /**
38
+ * What counts as a control inside a row, and so what gets held out of the tab
39
+ * order while its row is not the one being used.
40
+ *
41
+ * `[tabindex="-1"]` is deliberately excluded. The row's own select checkbox sits
42
+ * there and is reached with Space, and an element the consumer has already taken
43
+ * out of the tab order stays out.
44
+ */
45
+ export declare const ROW_FOCUSABLE_SELECTOR = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
46
+ /** Marks an element parked at `tabindex="-1"` by the list rather than by the consumer. */
47
+ export declare const ROW_PARKED_ATTRIBUTE = "data-vl-parked";
48
+ /**
49
+ * What `F2` steps into: the controls of a row, including the ones parked out of
50
+ * the tab order. Without the second half it would find nothing at all in a row
51
+ * whose controls are custom elements carrying a `tabindex`, because parking them
52
+ * is exactly what takes them out of the selector above.
53
+ */
54
+ export declare const ROW_ENTER_SELECTOR = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [data-vl-parked]";
55
+ /**
56
+ * The content width of one cell, in px. `scrollWidth` reports the true content
57
+ * width even when the cell is pinned narrower than its content, which is what
58
+ * lets a column recover from having been measured while it was still empty.
59
+ *
60
+ * Two corrections on top of it, both only resolved when they can apply, so the
61
+ * hot scroll path stays cheap for a plain in-flow cell:
62
+ *
63
+ * - `scrollWidth` includes the left padding but drops the right one once the
64
+ * content overflows, so add it back.
65
+ * - A cell whose only children are FontAwesome icons reports just its padding:
66
+ * their boxes overflow via `overflow: visible`, carry no intrinsic width, and
67
+ * so never count towards `scrollWidth` (right-aligned, they even overflow
68
+ * into negative offsets). Only then walk the descendants for their true span.
69
+ * Once a real width pins, the cell is no longer collapsed and this stops.
70
+ */
71
+ export declare function measureCellWidth(el: HTMLElement): number;
72
+ /** Attribute selector for one column's cells. Column keys are arbitrary strings. */
73
+ export declare function columnCellSelector(key: string): string;
74
+ /** Floor for a user-resized column, unless the column raises it with `minWidth`. */
75
+ export declare const MIN_COLUMN_WIDTH = 48;
76
+ /**
77
+ * Width given to a column that gains one while the layout is already frozen,
78
+ * i.e. one revealed from the gear menu after the first resize. Every visible
79
+ * column has to be an exact px track for the total width (and so the horizontal
80
+ * scroll range) to be exact, and there is nothing measured to go on yet.
81
+ */
82
+ export declare const DEFAULT_FROZEN_WIDTH = 160;
83
+ /**
84
+ * Custom property carrying one column's width. Column keys are arbitrary
85
+ * strings, so anything a custom property can't contain is folded to `_`; two
86
+ * keys that differ only in those characters would share a track.
87
+ */
88
+ export declare function columnWidthVar(key: string): string;
89
+ /** Px width for a column the user hasn't sized, at the moment the layout freezes. */
90
+ export declare function resolveFrozenWidth<T>(col: VirtualListColumn<T>): number;
91
+ /**
92
+ * Grid template for a frozen layout: every column reads its own custom property,
93
+ * so a drag can rewrite one width with a single DOM write and have the header
94
+ * and every row follow in the same layout pass, without React rendering.
95
+ */
96
+ export declare function buildFrozenTemplate<T>(columns: VirtualListColumn<T>[]): string;
97
+ export declare const COLUMN_STORAGE_PREFIX = "ahroweui:virtuallist:columns:";
98
+ export interface PersistedColumns {
99
+ visible: string[];
100
+ known: string[];
101
+ /** User-resized column widths in px. Absent in entries saved before resizing existed. */
102
+ widths?: Record<string, number>;
103
+ }
104
+ export declare function loadPersistedColumns(persistKey: string | undefined): PersistedColumns | null;
105
+ /** Whether a column should start visible, honouring saved settings then `defaultHidden`. */
106
+ export declare function isColumnInitiallyVisible<T>(col: VirtualListColumn<T>, persisted: PersistedColumns | null): boolean;
107
+ /** Values with no order of their own, parked at the end of the list either way. */
108
+ export declare function isEmptySortValue(value: SortValue): boolean;
109
+ /**
110
+ * Ascending comparison of two non-empty `sortValue` results. Dates and booleans
111
+ * are normalised to numbers; anything with a string on either side goes through
112
+ * the collator, which is also what makes a mixed-type column produce a stable
113
+ * (if arbitrary) order rather than a random one.
114
+ */
115
+ export declare function compareSortValues(a: SortValue, b: SortValue): number;
116
+ /** Whether a header click on this column should do anything at all. */
117
+ export declare function isColumnSortable<T>(col: VirtualListColumn<T>): boolean;
118
+ /** The asc → desc → unsorted cycle a header click steps through. */
119
+ export declare function nextSort(current: VirtualListSort | null, key: string): VirtualListSort | null;
120
+ /**
121
+ * Returns `items` reordered by `sort`, or the same array reference when nothing
122
+ * applies: no sort, no such column, or a `sortable` column that only reports
123
+ * (its data is sorted by the consumer). Callers rely on that identity to tell
124
+ * "the list sorted this" from "the list left it alone".
125
+ */
126
+ export declare function sortItems<T>(items: T[], sort: VirtualListSort | null | undefined, columns: VirtualListColumn<T>[] | undefined): T[];
@@ -0,0 +1,35 @@
1
+ import { default as React } from 'react';
2
+ import { UseColumnsResult } from './useColumns.js';
3
+ import { UseColumnResizeResult } from './useColumnResize.js';
4
+ import { SlotClassNames, SlotStyles } from '../types/slots.types.js';
5
+ import { VirtualListColumn, VirtualListLabels, VirtualListSlots, VirtualListSort } from './virtualList.types.js';
6
+ interface VirtualListHeaderProps<T> {
7
+ headerRef: React.RefObject<HTMLDivElement | null>;
8
+ /** Every column, including hidden ones: the toggle menu lists them all. */
9
+ columns: VirtualListColumn<T>[];
10
+ cols: UseColumnsResult<T>;
11
+ resize: UseColumnResizeResult<T>;
12
+ sort: VirtualListSort | null;
13
+ onSort: (key: string) => void;
14
+ multiSelect: boolean;
15
+ allSelected: boolean;
16
+ someSelected: boolean;
17
+ onSelectAll: () => void;
18
+ labels: Required<VirtualListLabels>;
19
+ classNames?: SlotClassNames<VirtualListSlots>;
20
+ styles?: SlotStyles<VirtualListSlots>;
21
+ }
22
+ /**
23
+ * The table-mode header row: one cell per visible column, each optionally a sort
24
+ * button and a resize handle, plus the column-visibility menu pinned to the
25
+ * right. It is a grid with the same template as every row, which is what keeps
26
+ * the columns aligned across the separate grids.
27
+ *
28
+ * The whole header is a single tab stop (see `useHeaderNavigation`). Focus lands
29
+ * on a header cell rather than on the button inside it, so every key a column
30
+ * understands is handled in one place: Enter or Space sorts, Alt plus the arrow
31
+ * keys resizes, Alt+Home and Alt+End take the column to its minimum or to its
32
+ * content width.
33
+ */
34
+ declare function VirtualListHeader<T>({ headerRef, columns, cols, resize, sort, onSort, multiSelect, allSelected, someSelected, onSelectAll, labels, classNames, styles: slotStyles, }: VirtualListHeaderProps<T>): React.JSX.Element;
35
+ export default VirtualListHeader;
@@ -0,0 +1,62 @@
1
+ import { default as React } from 'react';
2
+ import { TreeDropPosition } from './virtualList.types.js';
3
+ export interface VirtualRowProps {
4
+ index: number;
5
+ /** Referenced by the list's `aria-activedescendant` while this row is active. */
6
+ id?: string;
7
+ top: number;
8
+ /** Padding applied to the row (already normalised to a CSS string). */
9
+ padding?: string;
10
+ columnTemplate: string | undefined;
11
+ isSelected: boolean;
12
+ /** The row the arrow keys are on. Distinct from selection. */
13
+ isActive?: boolean;
14
+ /**
15
+ * Hold this row's own controls out of the tab order unless it is the row being
16
+ * used. Off when the list leaves the keyboard to its rows.
17
+ */
18
+ manageTabStops?: boolean;
19
+ /** This is the row being used, so its controls are reachable with Tab. */
20
+ isEntered?: boolean;
21
+ activeClassName?: string;
22
+ activeStyle?: React.CSSProperties;
23
+ showDivider: boolean;
24
+ hover: boolean;
25
+ onClick: () => void;
26
+ observer: ResizeObserver | null;
27
+ ariaRowIndex?: number;
28
+ ariaPosInSet?: number;
29
+ ariaSetSize?: number;
30
+ rowRole: string;
31
+ reorderable?: boolean;
32
+ /**
33
+ * Native mouse DnD is active for the list. Distinct from `draggable`, which in
34
+ * `dragHandle` mode is only set on the row the pointer has armed.
35
+ */
36
+ mouseDragEnabled?: boolean;
37
+ draggable?: boolean;
38
+ isDragging?: boolean;
39
+ reserveToggleGutter?: boolean;
40
+ onMouseDown?: (e: React.MouseEvent<HTMLDivElement>) => void;
41
+ onMouseOver?: (e: React.MouseEvent<HTMLDivElement>) => void;
42
+ onMouseLeave?: (e: React.MouseEvent<HTMLDivElement>) => void;
43
+ onDragStart?: (e: React.DragEvent<HTMLDivElement>) => void;
44
+ onDragOver?: (e: React.DragEvent<HTMLDivElement>) => void;
45
+ onDragEnd?: () => void;
46
+ onDrop?: (e: React.DragEvent<HTMLDivElement>) => void;
47
+ onTouchStart?: (e: React.TouchEvent<HTMLDivElement>) => void;
48
+ dropPosition?: TreeDropPosition;
49
+ dropIndentPx?: number;
50
+ dropIndicatorClassName?: string;
51
+ dropIndicatorStyle?: React.CSSProperties;
52
+ rowClassName?: string;
53
+ rowStyle?: React.CSSProperties;
54
+ children: React.ReactNode;
55
+ }
56
+ /**
57
+ * A single virtualized row: absolutely positioned at its `top`, optionally a
58
+ * grid (table mode), registering itself with the shared ResizeObserver and
59
+ * carrying all the drag / drop-indicator wiring the parent assigns it.
60
+ */
61
+ declare function VirtualRow({ index, id, top, padding, columnTemplate, isSelected, isActive, manageTabStops, isEntered, activeClassName, activeStyle, showDivider, hover, onClick, observer, ariaRowIndex, ariaPosInSet, ariaSetSize, rowRole, reorderable, mouseDragEnabled, draggable, isDragging, reserveToggleGutter, onMouseDown, onMouseOver, onMouseLeave, onDragStart, onDragOver, onDragEnd, onDrop, onTouchStart, dropPosition, dropIndentPx, dropIndicatorClassName, dropIndicatorStyle, rowClassName, rowStyle, children, }: VirtualRowProps): React.JSX.Element;
62
+ export default VirtualRow;
@@ -0,0 +1 @@
1
+ export { default } from './wizard.js';
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { WizardProps } from './wizard.types.js';
3
+ export default function Wizard({ currentStep, stepCount, renderStep, className, style, classNames, styles: slotStyles, ...rest }: WizardProps): React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
3
+ export type WizardSlots = 'root' | 'container' | 'step' | 'stepContent';
4
+ export interface WizardProps extends HtmlProps {
5
+ currentStep?: number;
6
+ stepCount?: number;
7
+ renderStep?: (index: number) => React.ReactNode;
8
+ className?: string;
9
+ style?: React.CSSProperties;
10
+ classNames?: SlotClassNames<WizardSlots>;
11
+ styles?: SlotStyles<WizardSlots>;
12
+ }
@@ -0,0 +1,6 @@
1
+ export interface WindowSize {
2
+ width: number;
3
+ height: number;
4
+ isMobileSize: boolean;
5
+ }
6
+ export default function useWindowSize(): WindowSize;