@ahrowe/ui 0.35.0 → 0.36.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 (727) hide show
  1. package/README.md +100 -71
  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/useAnchorTracking.d.ts +40 -0
  123. package/dist/cjs-types/common/hooks/useCoarsePointer.d.ts +3 -0
  124. package/dist/cjs-types/common/hooks/useFocusBoundary.d.ts +20 -0
  125. package/dist/cjs-types/common/hooks/useMediaQuery.d.ts +9 -0
  126. package/dist/cjs-types/common/hooks/useOverlay.d.ts +26 -0
  127. package/dist/cjs-types/common/hooks/useScrollEdges.d.ts +18 -0
  128. package/dist/cjs-types/common/hooks/useSheet.d.ts +19 -0
  129. package/dist/cjs-types/common/hooks/useSwipeDismiss.d.ts +33 -0
  130. package/dist/cjs-types/common/hooks/useVisualViewportSize.d.ts +13 -0
  131. package/dist/cjs-types/common/iconPicker/iconPicker.d.ts +3 -0
  132. package/dist/cjs-types/common/iconPicker/iconPicker.types.d.ts +23 -0
  133. package/dist/cjs-types/common/iconPicker/index.d.ts +2 -0
  134. package/dist/cjs-types/common/idleManager/idleManager.d.ts +3 -0
  135. package/dist/cjs-types/common/idleManager/idleManager.types.d.ts +8 -0
  136. package/dist/cjs-types/common/idleManager/index.d.ts +2 -0
  137. package/dist/cjs-types/common/infiniteBlock/useInfiniteScroll.d.ts +5 -0
  138. package/dist/cjs-types/common/input/index.d.ts +2 -0
  139. package/dist/cjs-types/common/input/input.d.ts +4 -0
  140. package/dist/cjs-types/common/input/input.types.d.ts +84 -0
  141. package/dist/cjs-types/common/inputDropdown/index.d.ts +2 -0
  142. package/dist/cjs-types/common/inputDropdown/inputDropdown.d.ts +3 -0
  143. package/dist/cjs-types/common/inputDropdown/inputDropdown.types.d.ts +36 -0
  144. package/dist/cjs-types/common/interactableDiv/index.d.ts +2 -0
  145. package/dist/cjs-types/common/interactableDiv/interactableDiv.d.ts +8 -0
  146. package/dist/cjs-types/common/kanbanBoard/KanbanBoard.d.ts +3 -0
  147. package/dist/cjs-types/common/kanbanBoard/KanbanColumn.d.ts +45 -0
  148. package/dist/cjs-types/common/kanbanBoard/KanbanItem.d.ts +3 -0
  149. package/dist/cjs-types/common/kanbanBoard/index.d.ts +3 -0
  150. package/dist/cjs-types/common/kanbanBoard/kanbanBoard.types.d.ts +129 -0
  151. package/dist/cjs-types/common/kanbanBoard/kanbanBoard.utils.d.ts +60 -0
  152. package/dist/cjs-types/common/klipyPicker/components/gifPreview/gifPreview.d.ts +3 -0
  153. package/dist/cjs-types/common/klipyPicker/components/gifPreview/gifPreview.types.d.ts +7 -0
  154. package/dist/cjs-types/common/klipyPicker/components/gifPreview/index.d.ts +1 -0
  155. package/dist/cjs-types/common/klipyPicker/components/gifView/gifView.d.ts +3 -0
  156. package/dist/cjs-types/common/klipyPicker/components/gifView/gifView.types.d.ts +4 -0
  157. package/dist/cjs-types/common/klipyPicker/components/gifView/index.d.ts +1 -0
  158. package/dist/cjs-types/common/klipyPicker/index.d.ts +2 -0
  159. package/dist/cjs-types/common/klipyPicker/klipyPicker.d.ts +3 -0
  160. package/dist/cjs-types/common/klipyPicker/klipyPicker.types.d.ts +15 -0
  161. package/dist/cjs-types/common/loading/iconLoading/iconLoading.d.ts +5 -0
  162. package/dist/cjs-types/common/loading/iconLoading/index.d.ts +2 -0
  163. package/dist/cjs-types/common/loading/index.d.ts +2 -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 +2 -0
  171. package/dist/cjs-types/common/menu/menu.d.ts +14 -0
  172. package/dist/cjs-types/common/menu/menu.types.d.ts +55 -0
  173. package/dist/cjs-types/common/modal/index.d.ts +2 -0
  174. package/dist/cjs-types/common/modal/modal.d.ts +3 -0
  175. package/dist/cjs-types/common/modal/modal.types.d.ts +31 -0
  176. package/dist/cjs-types/common/multiSelect/index.d.ts +2 -0
  177. package/dist/cjs-types/common/multiSelect/multiSelect.d.ts +4 -0
  178. package/dist/cjs-types/common/multiSelect/multiSelect.types.d.ts +69 -0
  179. package/dist/cjs-types/common/numberInput/index.d.ts +3 -0
  180. package/dist/cjs-types/common/numberInput/numberInput.d.ts +5 -0
  181. package/dist/cjs-types/common/numberInput/numberInput.types.d.ts +76 -0
  182. package/dist/cjs-types/common/numberInput/useStepRepeat.d.ts +17 -0
  183. package/dist/cjs-types/common/optionPicker/index.d.ts +2 -0
  184. package/dist/cjs-types/common/optionPicker/optionPicker.d.ts +4 -0
  185. package/dist/cjs-types/common/optionPicker/optionPicker.types.d.ts +16 -0
  186. package/dist/cjs-types/common/otpInput/index.d.ts +2 -0
  187. package/dist/cjs-types/common/otpInput/otpInput.d.ts +4 -0
  188. package/dist/cjs-types/common/otpInput/otpInput.types.d.ts +60 -0
  189. package/dist/cjs-types/common/overscroll/index.d.ts +2 -0
  190. package/dist/cjs-types/common/overscroll/overscroll.d.ts +2 -0
  191. package/dist/cjs-types/common/overscroll/overscroll.types.d.ts +14 -0
  192. package/dist/cjs-types/common/pagination/index.d.ts +2 -0
  193. package/dist/cjs-types/common/pagination/pagination.d.ts +4 -0
  194. package/dist/cjs-types/common/pagination/pagination.types.d.ts +45 -0
  195. package/dist/cjs-types/common/planCanvas/index.d.ts +2 -0
  196. package/dist/cjs-types/common/planCanvas/planCanvas.d.ts +7 -0
  197. package/dist/cjs-types/common/planCanvas/planCanvas.types.d.ts +64 -0
  198. package/dist/cjs-types/common/popover/index.d.ts +2 -0
  199. package/dist/cjs-types/common/popover/popover.d.ts +3 -0
  200. package/dist/cjs-types/common/popover/popover.types.d.ts +94 -0
  201. package/dist/cjs-types/common/popover/usePopoverPosition.d.ts +44 -0
  202. package/dist/cjs-types/common/progressBar/index.d.ts +2 -0
  203. package/dist/cjs-types/common/progressBar/progressBar.d.ts +5 -0
  204. package/dist/cjs-types/common/progressBar/progressBar.types.d.ts +18 -0
  205. package/dist/cjs-types/common/radioGroup/index.d.ts +2 -0
  206. package/dist/cjs-types/common/radioGroup/radioGroup.d.ts +4 -0
  207. package/dist/cjs-types/common/radioGroup/radioGroup.types.d.ts +45 -0
  208. package/dist/cjs-types/common/rating/index.d.ts +2 -0
  209. package/dist/cjs-types/common/rating/rating.d.ts +4 -0
  210. package/dist/cjs-types/common/rating/rating.types.d.ts +19 -0
  211. package/dist/cjs-types/common/revealLens/index.d.ts +2 -0
  212. package/dist/cjs-types/common/revealLens/revealLens.d.ts +4 -0
  213. package/dist/cjs-types/common/revealLens/revealLens.types.d.ts +24 -0
  214. package/dist/cjs-types/common/ripple/index.d.ts +2 -0
  215. package/dist/cjs-types/common/ripple/ripple.d.ts +5 -0
  216. package/dist/cjs-types/common/ripple/ripple.types.d.ts +16 -0
  217. package/dist/cjs-types/common/roomDrawer/index.d.ts +2 -0
  218. package/dist/cjs-types/common/roomDrawer/roomDrawer.d.ts +3 -0
  219. package/dist/cjs-types/common/roomDrawer/roomDrawer.types.d.ts +308 -0
  220. package/dist/cjs-types/common/roomDrawer/usePlanHistory.d.ts +24 -0
  221. package/dist/cjs-types/common/roomViewer/index.d.ts +2 -0
  222. package/dist/cjs-types/common/roomViewer/roomViewer.d.ts +10 -0
  223. package/dist/cjs-types/common/roomViewer/roomViewer.types.d.ts +91 -0
  224. package/dist/cjs-types/common/scrollFade/index.d.ts +2 -0
  225. package/dist/cjs-types/common/scrollFade/scrollFade.d.ts +4 -0
  226. package/dist/cjs-types/common/scrollFade/scrollFade.types.d.ts +20 -0
  227. package/dist/cjs-types/common/scrollbarProvider/index.d.ts +2 -0
  228. package/dist/cjs-types/common/scrollbarProvider/scrollbarProvider.d.ts +7 -0
  229. package/dist/cjs-types/common/searchInput/index.d.ts +2 -0
  230. package/dist/cjs-types/common/searchInput/searchInput.d.ts +3 -0
  231. package/dist/cjs-types/common/searchInput/searchInput.types.d.ts +28 -0
  232. package/dist/cjs-types/common/sectionHeader/index.d.ts +2 -0
  233. package/dist/cjs-types/common/sectionHeader/sectionHeader.d.ts +4 -0
  234. package/dist/cjs-types/common/sectionHeader/sectionHeader.types.d.ts +27 -0
  235. package/dist/cjs-types/common/sheetBackdrop/index.d.ts +2 -0
  236. package/dist/cjs-types/common/sheetBackdrop/sheetBackdrop.d.ts +16 -0
  237. package/dist/cjs-types/common/sheetBackdrop/sheetBackdrop.types.d.ts +7 -0
  238. package/dist/cjs-types/common/skeleton/index.d.ts +2 -0
  239. package/dist/cjs-types/common/skeleton/skeleton.d.ts +4 -0
  240. package/dist/cjs-types/common/skeleton/skeleton.types.d.ts +22 -0
  241. package/dist/cjs-types/common/slider/index.d.ts +2 -0
  242. package/dist/cjs-types/common/slider/slider.d.ts +3 -0
  243. package/dist/cjs-types/common/slider/slider.types.d.ts +68 -0
  244. package/dist/cjs-types/common/splitButton/index.d.ts +2 -0
  245. package/dist/cjs-types/common/splitButton/splitButton.d.ts +3 -0
  246. package/dist/cjs-types/common/splitButton/splitButton.types.d.ts +35 -0
  247. package/dist/cjs-types/common/stepper/index.d.ts +2 -0
  248. package/dist/cjs-types/common/stepper/stepper.d.ts +3 -0
  249. package/dist/cjs-types/common/stepper/stepper.types.d.ts +77 -0
  250. package/dist/cjs-types/common/sticky/index.d.ts +1 -0
  251. package/dist/cjs-types/common/sticky/sticky.d.ts +3 -0
  252. package/dist/cjs-types/common/sticky/sticky.types.d.ts +22 -0
  253. package/dist/cjs-types/common/sticky/stickyStack.d.ts +46 -0
  254. package/dist/cjs-types/common/switch/index.d.ts +2 -0
  255. package/dist/cjs-types/common/switch/switch.d.ts +4 -0
  256. package/dist/cjs-types/common/switch/switch.types.d.ts +21 -0
  257. package/dist/cjs-types/common/tabHeader/index.d.ts +2 -0
  258. package/dist/cjs-types/common/tabHeader/tabHeader.d.ts +4 -0
  259. package/dist/cjs-types/common/tabHeader/tabHeader.types.d.ts +20 -0
  260. package/dist/cjs-types/common/textarea/index.d.ts +2 -0
  261. package/dist/cjs-types/common/textarea/textarea.d.ts +3 -0
  262. package/dist/cjs-types/common/textarea/textarea.types.d.ts +2 -0
  263. package/dist/cjs-types/common/themeProvider/defaultTheme.d.ts +7 -0
  264. package/dist/cjs-types/common/themeProvider/index.d.ts +4 -0
  265. package/dist/cjs-types/common/themeProvider/lightTheme.d.ts +13 -0
  266. package/dist/cjs-types/common/themeProvider/theme.types.d.ts +272 -0
  267. package/dist/cjs-types/common/themeProvider/themeProvider.d.ts +38 -0
  268. package/dist/cjs-types/common/themeProvider/themeVariablesContext.d.ts +11 -0
  269. package/dist/cjs-types/common/themeProvider/useTheme.d.ts +4 -0
  270. package/dist/cjs-types/common/tilt/index.d.ts +4 -0
  271. package/dist/cjs-types/common/tilt/tilt.d.ts +3 -0
  272. package/dist/cjs-types/common/tilt/tilt.types.d.ts +40 -0
  273. package/dist/cjs-types/common/tilt/tiltMath.d.ts +24 -0
  274. package/dist/cjs-types/common/tiltGroup/index.d.ts +3 -0
  275. package/dist/cjs-types/common/tiltGroup/tiltGroup.d.ts +6 -0
  276. package/dist/cjs-types/common/tiltGroup/tiltGroup.types.d.ts +16 -0
  277. package/dist/cjs-types/common/timeInput/components/clockDial/clockDial.d.ts +3 -0
  278. package/dist/cjs-types/common/timeInput/components/clockDial/clockDial.types.d.ts +24 -0
  279. package/dist/cjs-types/common/timeInput/components/clockDial/index.d.ts +1 -0
  280. package/dist/cjs-types/common/timeInput/index.d.ts +1 -0
  281. package/dist/cjs-types/common/timeInput/timeFunctions.d.ts +36 -0
  282. package/dist/cjs-types/common/timeInput/timeInput.d.ts +3 -0
  283. package/dist/cjs-types/common/timeInput/timeInput.types.d.ts +44 -0
  284. package/dist/cjs-types/common/timeline/index.d.ts +2 -0
  285. package/dist/cjs-types/common/timeline/timeline.d.ts +3 -0
  286. package/dist/cjs-types/common/timeline/timeline.types.d.ts +51 -0
  287. package/dist/cjs-types/common/timer/index.d.ts +2 -0
  288. package/dist/cjs-types/common/timer/timer.chime.d.ts +1 -0
  289. package/dist/cjs-types/common/timer/timer.d.ts +3 -0
  290. package/dist/cjs-types/common/timer/timer.types.d.ts +110 -0
  291. package/dist/cjs-types/common/toast/index.d.ts +3 -0
  292. package/dist/cjs-types/common/toast/toast.d.ts +11 -0
  293. package/dist/cjs-types/common/toast/toast.types.d.ts +50 -0
  294. package/dist/cjs-types/common/toast/toastProvider.d.ts +8 -0
  295. package/dist/cjs-types/common/toast/toastService.d.ts +7 -0
  296. package/dist/cjs-types/common/tooltip/index.d.ts +2 -0
  297. package/dist/cjs-types/common/tooltip/tooltip.d.ts +3 -0
  298. package/dist/cjs-types/common/tooltip/tooltip.types.d.ts +17 -0
  299. package/dist/cjs-types/common/tree/flattenTree.d.ts +3 -0
  300. package/dist/cjs-types/common/tree/index.d.ts +3 -0
  301. package/dist/cjs-types/common/tree/tree.d.ts +4 -0
  302. package/dist/cjs-types/common/tree/tree.types.d.ts +67 -0
  303. package/dist/cjs-types/common/types/actions.types.d.ts +7 -0
  304. package/dist/cjs-types/common/types/baseProps.types.d.ts +29 -0
  305. package/dist/cjs-types/common/types/icon.types.d.ts +17 -0
  306. package/dist/cjs-types/common/types/slots.types.d.ts +4 -0
  307. package/dist/cjs-types/common/utils/activationKey.d.ts +9 -0
  308. package/dist/cjs-types/common/utils/interactiveTarget.d.ts +7 -0
  309. package/dist/cjs-types/common/utils/listNavigation.d.ts +49 -0
  310. package/dist/cjs-types/common/utils/mergeRefs.d.ts +12 -0
  311. package/dist/cjs-types/common/utils/renderIcon.d.ts +29 -0
  312. package/dist/cjs-types/common/utils/scrollAncestors.d.ts +2 -0
  313. package/dist/cjs-types/common/utils/visualViewport.d.ts +7 -0
  314. package/dist/cjs-types/common/virtualList/index.d.ts +2 -0
  315. package/dist/cjs-types/common/virtualList/useColumnResize.d.ts +59 -0
  316. package/dist/cjs-types/common/virtualList/useColumns.d.ts +52 -0
  317. package/dist/cjs-types/common/virtualList/useHeaderNavigation.d.ts +22 -0
  318. package/dist/cjs-types/common/virtualList/useRowDrag.d.ts +58 -0
  319. package/dist/cjs-types/common/virtualList/useRowNavigation.d.ts +50 -0
  320. package/dist/cjs-types/common/virtualList/useSelection.d.ts +24 -0
  321. package/dist/cjs-types/common/virtualList/useSorting.d.ts +26 -0
  322. package/dist/cjs-types/common/virtualList/useVirtualWindow.d.ts +36 -0
  323. package/dist/cjs-types/common/virtualList/virtualList.d.ts +5 -0
  324. package/dist/cjs-types/common/virtualList/virtualList.types.d.ts +317 -0
  325. package/dist/cjs-types/common/virtualList/virtualList.utils.d.ts +126 -0
  326. package/dist/cjs-types/common/virtualList/virtualListHeader.d.ts +35 -0
  327. package/dist/cjs-types/common/virtualList/virtualRow.d.ts +62 -0
  328. package/dist/cjs-types/common/wizard/index.d.ts +1 -0
  329. package/dist/cjs-types/common/wizard/wizard.d.ts +3 -0
  330. package/dist/cjs-types/common/wizard/wizard.types.d.ts +12 -0
  331. package/dist/cjs-types/hooks/useWindowSize.d.ts +6 -0
  332. package/dist/cjs-types/index.d.ts +154 -0
  333. package/dist/cjs-types/package.json +3 -0
  334. package/dist/cjs-types/services/formValidation/FormValidatorGroupWithForm.d.ts +18 -0
  335. package/dist/cjs-types/services/formValidation/index.d.ts +5 -0
  336. package/dist/cjs-types/services/formValidation/useFormValidatorGroup.d.ts +10 -0
  337. package/dist/cjs-types/services/formValidation/validatableComponent.d.ts +36 -0
  338. package/dist/cjs-types/services/klipy.d.ts +36 -0
  339. package/dist/cjs-types/services/localization.d.ts +3 -0
  340. package/dist/esm/common/carousel/carousel.mjs +1 -1
  341. package/dist/esm/common/carousel/carousel.mjs.map +1 -1
  342. package/dist/esm/common/carousel/carousel.module.mjs.map +1 -1
  343. package/dist/esm/common/confirmModal/confirmModal.mjs +1 -1
  344. package/dist/esm/common/confirmModal/confirmModal.mjs.map +1 -1
  345. package/dist/esm/common/datePicker/datePicker.mjs +1 -1
  346. package/dist/esm/common/datePicker/datePicker.mjs.map +1 -1
  347. package/dist/esm/common/drawer/drawer.module.mjs.map +1 -1
  348. package/dist/esm/common/dropdown/dropdown.mjs +1 -1
  349. package/dist/esm/common/dropdown/dropdown.mjs.map +1 -1
  350. package/dist/esm/common/dropdown/dropdown.module.mjs +1 -1
  351. package/dist/esm/common/dropdown/dropdown.module.mjs.map +1 -1
  352. package/dist/esm/common/hooks/useScrollEdges.mjs +2 -0
  353. package/dist/esm/common/hooks/useScrollEdges.mjs.map +1 -0
  354. package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs +2 -0
  355. package/dist/esm/common/infiniteBlock/useInfiniteScroll.mjs.map +1 -0
  356. package/dist/esm/common/inputDropdown/inputDropdown.mjs +1 -1
  357. package/dist/esm/common/inputDropdown/inputDropdown.mjs.map +1 -1
  358. package/dist/esm/common/interactableDiv/interactableDiv.mjs +1 -1
  359. package/dist/esm/common/interactableDiv/interactableDiv.mjs.map +1 -1
  360. package/dist/esm/common/klipyPicker/components/gifPreview/gifPreview.module.mjs.map +1 -1
  361. package/dist/esm/common/klipyPicker/components/gifView/gifView.module.mjs.map +1 -1
  362. package/dist/esm/common/maskedInput/mask.mjs +2 -0
  363. package/dist/esm/common/maskedInput/mask.mjs.map +1 -0
  364. package/dist/esm/common/maskedInput/maskedInput.mjs +2 -0
  365. package/dist/esm/common/maskedInput/maskedInput.mjs.map +1 -0
  366. package/dist/esm/common/modal/modal.mjs +1 -1
  367. package/dist/esm/common/modal/modal.mjs.map +1 -1
  368. package/dist/esm/common/modal/modal.module.mjs +1 -1
  369. package/dist/esm/common/modal/modal.module.mjs.map +1 -1
  370. package/dist/esm/common/multiSelect/multiSelect.mjs +1 -1
  371. package/dist/esm/common/multiSelect/multiSelect.mjs.map +1 -1
  372. package/dist/esm/common/radioGroup/radioGroup.types.mjs.map +1 -1
  373. package/dist/esm/common/rating/rating.module.mjs.map +1 -1
  374. package/dist/esm/common/ripple/ripple.mjs +1 -1
  375. package/dist/esm/common/ripple/ripple.mjs.map +1 -1
  376. package/dist/esm/common/scrollFade/scrollFade.mjs +2 -0
  377. package/dist/esm/common/scrollFade/scrollFade.mjs.map +1 -0
  378. package/dist/esm/common/scrollFade/scrollFade.module.mjs +2 -0
  379. package/dist/esm/common/scrollFade/scrollFade.module.mjs.map +1 -0
  380. package/dist/esm/common/scrollFade/scrollFade.types.mjs +2 -0
  381. package/dist/esm/common/scrollFade/scrollFade.types.mjs.map +1 -0
  382. package/dist/esm/common/styles/scrollFade.module.mjs +2 -0
  383. package/dist/esm/common/styles/scrollFade.module.mjs.map +1 -0
  384. package/dist/esm/common/styles/sheet.module.mjs.map +1 -1
  385. package/dist/esm/common/timeInput/timeInput.mjs +1 -1
  386. package/dist/esm/common/timeInput/timeInput.mjs.map +1 -1
  387. package/dist/esm/common/utils/interactiveTarget.mjs +2 -0
  388. package/dist/esm/common/utils/interactiveTarget.mjs.map +1 -0
  389. package/dist/esm/common/utils/listNavigation.mjs +2 -0
  390. package/dist/esm/common/utils/listNavigation.mjs.map +1 -0
  391. package/dist/esm/common/wizard/wizard.module.mjs.map +1 -1
  392. package/dist/esm/index.mjs +1 -1
  393. package/dist/esm/og.png +0 -0
  394. package/dist/index.cjs +3 -3
  395. package/dist/index.cjs.map +1 -1
  396. package/dist/mcp.js +341 -56
  397. package/dist/og.png +0 -0
  398. package/dist/style.css +1 -1
  399. package/dist/types/common/accordion/accordion.d.ts +1 -1
  400. package/dist/types/common/accordion/accordion.types.d.ts +1 -1
  401. package/dist/types/common/accordion/index.d.ts +2 -2
  402. package/dist/types/common/actionButtons/actionButtons.d.ts +1 -1
  403. package/dist/types/common/actionButtons/actionButtons.types.d.ts +3 -3
  404. package/dist/types/common/actionButtons/index.d.ts +2 -2
  405. package/dist/types/common/actionIcon/actionIcon.d.ts +1 -1
  406. package/dist/types/common/actionIcon/actionIcon.types.d.ts +2 -2
  407. package/dist/types/common/actionIcon/index.d.ts +2 -2
  408. package/dist/types/common/alert/alert.d.ts +1 -1
  409. package/dist/types/common/alert/alert.types.d.ts +2 -2
  410. package/dist/types/common/alert/index.d.ts +2 -2
  411. package/dist/types/common/animatedIcon/animatedIcon.d.ts +1 -1
  412. package/dist/types/common/animatedIcon/animatedIcon.types.d.ts +1 -1
  413. package/dist/types/common/animatedIcon/index.d.ts +2 -2
  414. package/dist/types/common/animatedLogo/animatedLogo.d.ts +1 -1
  415. package/dist/types/common/animatedLogo/animatedLogo.types.d.ts +1 -1
  416. package/dist/types/common/animatedLogo/index.d.ts +2 -2
  417. package/dist/types/common/animatedText/animatedText.d.ts +1 -1
  418. package/dist/types/common/animatedText/animatedText.types.d.ts +1 -1
  419. package/dist/types/common/animatedText/index.d.ts +2 -2
  420. package/dist/types/common/avatar/avatar.d.ts +1 -1
  421. package/dist/types/common/avatar/avatar.types.d.ts +2 -2
  422. package/dist/types/common/avatar/avatarGroup.d.ts +1 -1
  423. package/dist/types/common/avatar/index.d.ts +3 -3
  424. package/dist/types/common/badge/badge.d.ts +1 -1
  425. package/dist/types/common/badge/badge.types.d.ts +1 -1
  426. package/dist/types/common/badge/index.d.ts +2 -2
  427. package/dist/types/common/bodyEnd/bodyEnd.d.ts +1 -1
  428. package/dist/types/common/bodyEnd/index.d.ts +2 -2
  429. package/dist/types/common/breadcrumb/breadcrumb.d.ts +1 -1
  430. package/dist/types/common/breadcrumb/breadcrumb.types.d.ts +2 -2
  431. package/dist/types/common/breadcrumb/index.d.ts +2 -2
  432. package/dist/types/common/button/button.d.ts +1 -1
  433. package/dist/types/common/button/button.types.d.ts +2 -2
  434. package/dist/types/common/button/index.d.ts +2 -2
  435. package/dist/types/common/buttonGroup/buttonGroup.d.ts +1 -1
  436. package/dist/types/common/buttonGroup/buttonGroup.types.d.ts +1 -1
  437. package/dist/types/common/buttonGroup/index.d.ts +2 -2
  438. package/dist/types/common/card/Card.d.ts +1 -1
  439. package/dist/types/common/card/CardActions.d.ts +1 -1
  440. package/dist/types/common/card/CardContent.d.ts +1 -1
  441. package/dist/types/common/card/CardHeader.d.ts +1 -1
  442. package/dist/types/common/card/CardMedia.d.ts +1 -1
  443. package/dist/types/common/card/card.types.d.ts +3 -3
  444. package/dist/types/common/card/index.d.ts +6 -6
  445. package/dist/types/common/carousel/carousel.d.ts +1 -1
  446. package/dist/types/common/carousel/carousel.types.d.ts +1 -1
  447. package/dist/types/common/carousel/index.d.ts +2 -2
  448. package/dist/types/common/checkbox/checkbox.d.ts +1 -1
  449. package/dist/types/common/checkbox/checkbox.types.d.ts +2 -2
  450. package/dist/types/common/checkbox/index.d.ts +2 -2
  451. package/dist/types/common/chip/chip.d.ts +1 -1
  452. package/dist/types/common/chip/chip.types.d.ts +1 -1
  453. package/dist/types/common/chip/chipContainer.d.ts +1 -1
  454. package/dist/types/common/chip/index.d.ts +3 -3
  455. package/dist/types/common/colorPicker/colorPicker.d.ts +1 -1
  456. package/dist/types/common/colorPicker/colorPicker.types.d.ts +1 -1
  457. package/dist/types/common/colorPicker/index.d.ts +2 -2
  458. package/dist/types/common/configProvider/configProvider.d.ts +2 -2
  459. package/dist/types/common/configProvider/configProvider.types.d.ts +44 -44
  460. package/dist/types/common/configProvider/index.d.ts +6 -6
  461. package/dist/types/common/configProvider/useComponentDefaults.d.ts +1 -1
  462. package/dist/types/common/configProvider/useLabels.d.ts +1 -1
  463. package/dist/types/common/configProvider/usePresentationDefault.d.ts +1 -1
  464. package/dist/types/common/confirmModal/confirmModal.d.ts +1 -1
  465. package/dist/types/common/confirmModal/confirmModal.types.d.ts +2 -2
  466. package/dist/types/common/confirmModal/index.d.ts +2 -2
  467. package/dist/types/common/datePicker/components/datePickerMonth/datePickerMonth.d.ts +1 -1
  468. package/dist/types/common/datePicker/components/datePickerMonth/index.d.ts +1 -1
  469. package/dist/types/common/datePicker/datePicker.d.ts +1 -1
  470. package/dist/types/common/datePicker/datePicker.types.d.ts +2 -2
  471. package/dist/types/common/datePicker/index.d.ts +2 -2
  472. package/dist/types/common/divider/divider.d.ts +1 -1
  473. package/dist/types/common/divider/divider.types.d.ts +1 -1
  474. package/dist/types/common/divider/index.d.ts +2 -2
  475. package/dist/types/common/drawer/drawer.d.ts +1 -1
  476. package/dist/types/common/drawer/drawer.types.d.ts +1 -1
  477. package/dist/types/common/drawer/index.d.ts +2 -2
  478. package/dist/types/common/dropZone/dropZone.d.ts +1 -1
  479. package/dist/types/common/dropZone/dropZone.types.d.ts +1 -1
  480. package/dist/types/common/dropZone/index.d.ts +2 -2
  481. package/dist/types/common/dropdown/dropdown.d.ts +1 -1
  482. package/dist/types/common/dropdown/dropdown.types.d.ts +3 -3
  483. package/dist/types/common/dropdown/index.d.ts +2 -2
  484. package/dist/types/common/emptyState/emptyState.d.ts +1 -1
  485. package/dist/types/common/emptyState/emptyState.types.d.ts +2 -2
  486. package/dist/types/common/emptyState/index.d.ts +2 -2
  487. package/dist/types/common/errorBoundary/errorBoundary.d.ts +1 -1
  488. package/dist/types/common/errorBoundary/errorBoundary.types.d.ts +1 -1
  489. package/dist/types/common/errorBoundary/index.d.ts +2 -2
  490. package/dist/types/common/fab/components/fabBase/fabBase.d.ts +1 -1
  491. package/dist/types/common/fab/components/fabBase/fabBase.types.d.ts +1 -1
  492. package/dist/types/common/fab/components/fabBase/index.d.ts +1 -1
  493. package/dist/types/common/fab/fab.d.ts +1 -1
  494. package/dist/types/common/fab/fab.types.d.ts +2 -2
  495. package/dist/types/common/fab/index.d.ts +2 -2
  496. package/dist/types/common/flip/flip.d.ts +1 -1
  497. package/dist/types/common/flip/flip.types.d.ts +1 -1
  498. package/dist/types/common/flip/index.d.ts +2 -2
  499. package/dist/types/common/floorPlan/floorPlan.faces.d.ts +2 -2
  500. package/dist/types/common/floorPlan/floorPlan.fixtures.d.ts +1 -1
  501. package/dist/types/common/floorPlan/floorPlan.geometry.d.ts +1 -1
  502. package/dist/types/common/floorPlan/floorPlan.graph.d.ts +1 -1
  503. package/dist/types/common/floorPlan/floorPlan.hit.d.ts +1 -1
  504. package/dist/types/common/floorPlan/floorPlan.json.d.ts +1 -1
  505. package/dist/types/common/floorPlan/floorPlan.mesh.d.ts +1 -1
  506. package/dist/types/common/floorPlan/floorPlan.path.d.ts +1 -1
  507. package/dist/types/common/floorPlan/floorPlan.plan.d.ts +1 -1
  508. package/dist/types/common/floorPlan/floorPlan.rooms.d.ts +1 -1
  509. package/dist/types/common/floorPlan/floorPlan.snap.d.ts +1 -1
  510. package/dist/types/common/floorPlan/floorPlan.triangulate.d.ts +1 -1
  511. package/dist/types/common/floorPlan/index.d.ts +22 -22
  512. package/dist/types/common/floorPlan/legacySvg.d.ts +2 -2
  513. package/dist/types/common/hooks/useScrollEdges.d.ts +18 -0
  514. package/dist/types/common/hooks/useSheet.d.ts +1 -1
  515. package/dist/types/common/iconPicker/iconPicker.d.ts +1 -1
  516. package/dist/types/common/iconPicker/iconPicker.types.d.ts +2 -2
  517. package/dist/types/common/iconPicker/index.d.ts +2 -1
  518. package/dist/types/common/idleManager/idleManager.d.ts +1 -1
  519. package/dist/types/common/idleManager/index.d.ts +2 -1
  520. package/dist/types/common/infiniteBlock/useInfiniteScroll.d.ts +5 -0
  521. package/dist/types/common/input/index.d.ts +2 -2
  522. package/dist/types/common/input/input.d.ts +1 -1
  523. package/dist/types/common/input/input.types.d.ts +2 -2
  524. package/dist/types/common/inputDropdown/index.d.ts +2 -1
  525. package/dist/types/common/inputDropdown/inputDropdown.d.ts +1 -1
  526. package/dist/types/common/inputDropdown/inputDropdown.types.d.ts +2 -2
  527. package/dist/types/common/interactableDiv/index.d.ts +1 -1
  528. package/dist/types/common/interactableDiv/interactableDiv.d.ts +1 -1
  529. package/dist/types/common/kanbanBoard/KanbanBoard.d.ts +1 -1
  530. package/dist/types/common/kanbanBoard/KanbanColumn.d.ts +1 -1
  531. package/dist/types/common/kanbanBoard/KanbanItem.d.ts +1 -1
  532. package/dist/types/common/kanbanBoard/index.d.ts +3 -3
  533. package/dist/types/common/kanbanBoard/kanbanBoard.types.d.ts +1 -1
  534. package/dist/types/common/kanbanBoard/kanbanBoard.utils.d.ts +1 -1
  535. package/dist/types/common/klipyPicker/components/gifPreview/gifPreview.d.ts +1 -1
  536. package/dist/types/common/klipyPicker/components/gifPreview/gifPreview.types.d.ts +1 -1
  537. package/dist/types/common/klipyPicker/components/gifPreview/index.d.ts +1 -1
  538. package/dist/types/common/klipyPicker/components/gifView/gifView.d.ts +1 -1
  539. package/dist/types/common/klipyPicker/components/gifView/index.d.ts +1 -1
  540. package/dist/types/common/klipyPicker/index.d.ts +2 -2
  541. package/dist/types/common/klipyPicker/klipyPicker.d.ts +1 -1
  542. package/dist/types/common/klipyPicker/klipyPicker.types.d.ts +1 -1
  543. package/dist/types/common/loading/index.d.ts +2 -2
  544. package/dist/types/common/loading/spinnerLoading/index.d.ts +1 -1
  545. package/dist/types/common/maskedInput/index.d.ts +2 -0
  546. package/dist/types/common/maskedInput/mask.d.ts +48 -0
  547. package/dist/types/common/maskedInput/maskedInput.d.ts +13 -0
  548. package/dist/types/common/maskedInput/maskedInput.types.d.ts +38 -0
  549. package/dist/types/common/menu/index.d.ts +2 -2
  550. package/dist/types/common/menu/menu.d.ts +1 -1
  551. package/dist/types/common/menu/menu.types.d.ts +4 -4
  552. package/dist/types/common/modal/index.d.ts +2 -2
  553. package/dist/types/common/modal/modal.d.ts +1 -1
  554. package/dist/types/common/modal/modal.types.d.ts +6 -3
  555. package/dist/types/common/multiSelect/index.d.ts +2 -2
  556. package/dist/types/common/multiSelect/multiSelect.d.ts +1 -1
  557. package/dist/types/common/multiSelect/multiSelect.types.d.ts +3 -3
  558. package/dist/types/common/numberInput/index.d.ts +2 -2
  559. package/dist/types/common/numberInput/numberInput.d.ts +2 -2
  560. package/dist/types/common/numberInput/numberInput.types.d.ts +2 -2
  561. package/dist/types/common/optionPicker/index.d.ts +2 -2
  562. package/dist/types/common/optionPicker/optionPicker.d.ts +1 -1
  563. package/dist/types/common/optionPicker/optionPicker.types.d.ts +1 -1
  564. package/dist/types/common/otpInput/index.d.ts +2 -2
  565. package/dist/types/common/otpInput/otpInput.d.ts +1 -1
  566. package/dist/types/common/otpInput/otpInput.types.d.ts +2 -2
  567. package/dist/types/common/overscroll/index.d.ts +2 -2
  568. package/dist/types/common/overscroll/overscroll.d.ts +1 -1
  569. package/dist/types/common/pagination/index.d.ts +2 -2
  570. package/dist/types/common/pagination/pagination.d.ts +1 -1
  571. package/dist/types/common/pagination/pagination.types.d.ts +2 -2
  572. package/dist/types/common/planCanvas/index.d.ts +2 -2
  573. package/dist/types/common/planCanvas/planCanvas.d.ts +1 -1
  574. package/dist/types/common/planCanvas/planCanvas.types.d.ts +2 -2
  575. package/dist/types/common/popover/index.d.ts +2 -2
  576. package/dist/types/common/popover/popover.d.ts +1 -1
  577. package/dist/types/common/popover/popover.types.d.ts +2 -2
  578. package/dist/types/common/popover/usePopoverPosition.d.ts +1 -1
  579. package/dist/types/common/progressBar/index.d.ts +2 -2
  580. package/dist/types/common/progressBar/progressBar.d.ts +1 -1
  581. package/dist/types/common/progressBar/progressBar.types.d.ts +1 -1
  582. package/dist/types/common/radioGroup/index.d.ts +2 -2
  583. package/dist/types/common/radioGroup/radioGroup.d.ts +1 -1
  584. package/dist/types/common/radioGroup/radioGroup.types.d.ts +3 -3
  585. package/dist/types/common/rating/index.d.ts +2 -2
  586. package/dist/types/common/rating/rating.d.ts +1 -1
  587. package/dist/types/common/rating/rating.types.d.ts +2 -2
  588. package/dist/types/common/revealLens/index.d.ts +2 -2
  589. package/dist/types/common/revealLens/revealLens.d.ts +1 -1
  590. package/dist/types/common/revealLens/revealLens.types.d.ts +1 -1
  591. package/dist/types/common/ripple/index.d.ts +2 -2
  592. package/dist/types/common/ripple/ripple.d.ts +1 -1
  593. package/dist/types/common/ripple/ripple.types.d.ts +1 -1
  594. package/dist/types/common/roomDrawer/index.d.ts +2 -2
  595. package/dist/types/common/roomDrawer/roomDrawer.d.ts +1 -1
  596. package/dist/types/common/roomDrawer/roomDrawer.types.d.ts +3 -3
  597. package/dist/types/common/roomDrawer/usePlanHistory.d.ts +2 -2
  598. package/dist/types/common/roomViewer/index.d.ts +2 -2
  599. package/dist/types/common/roomViewer/roomViewer.d.ts +1 -1
  600. package/dist/types/common/roomViewer/roomViewer.types.d.ts +3 -3
  601. package/dist/types/common/scrollFade/index.d.ts +2 -0
  602. package/dist/types/common/scrollFade/scrollFade.d.ts +4 -0
  603. package/dist/types/common/scrollFade/scrollFade.types.d.ts +20 -0
  604. package/dist/types/common/scrollbarProvider/index.d.ts +1 -1
  605. package/dist/types/common/searchInput/index.d.ts +2 -2
  606. package/dist/types/common/searchInput/searchInput.d.ts +1 -1
  607. package/dist/types/common/searchInput/searchInput.types.d.ts +1 -1
  608. package/dist/types/common/sectionHeader/index.d.ts +2 -2
  609. package/dist/types/common/sectionHeader/sectionHeader.d.ts +1 -1
  610. package/dist/types/common/sectionHeader/sectionHeader.types.d.ts +3 -3
  611. package/dist/types/common/sheetBackdrop/index.d.ts +2 -2
  612. package/dist/types/common/sheetBackdrop/sheetBackdrop.d.ts +1 -1
  613. package/dist/types/common/skeleton/index.d.ts +2 -2
  614. package/dist/types/common/skeleton/skeleton.d.ts +1 -1
  615. package/dist/types/common/skeleton/skeleton.types.d.ts +1 -1
  616. package/dist/types/common/slider/index.d.ts +2 -2
  617. package/dist/types/common/slider/slider.d.ts +1 -1
  618. package/dist/types/common/slider/slider.types.d.ts +2 -2
  619. package/dist/types/common/splitButton/index.d.ts +2 -2
  620. package/dist/types/common/splitButton/splitButton.d.ts +1 -1
  621. package/dist/types/common/splitButton/splitButton.types.d.ts +4 -4
  622. package/dist/types/common/stepper/index.d.ts +2 -2
  623. package/dist/types/common/stepper/stepper.d.ts +1 -1
  624. package/dist/types/common/stepper/stepper.types.d.ts +2 -2
  625. package/dist/types/common/sticky/index.d.ts +1 -1
  626. package/dist/types/common/sticky/sticky.d.ts +1 -1
  627. package/dist/types/common/sticky/sticky.types.d.ts +1 -1
  628. package/dist/types/common/switch/index.d.ts +2 -2
  629. package/dist/types/common/switch/switch.d.ts +1 -1
  630. package/dist/types/common/switch/switch.types.d.ts +2 -2
  631. package/dist/types/common/tabHeader/index.d.ts +2 -2
  632. package/dist/types/common/tabHeader/tabHeader.d.ts +1 -1
  633. package/dist/types/common/tabHeader/tabHeader.types.d.ts +2 -2
  634. package/dist/types/common/textarea/index.d.ts +2 -2
  635. package/dist/types/common/textarea/textarea.d.ts +1 -1
  636. package/dist/types/common/textarea/textarea.types.d.ts +1 -1
  637. package/dist/types/common/themeProvider/defaultTheme.d.ts +1 -1
  638. package/dist/types/common/themeProvider/index.d.ts +4 -4
  639. package/dist/types/common/themeProvider/lightTheme.d.ts +1 -1
  640. package/dist/types/common/themeProvider/theme.types.d.ts +28 -0
  641. package/dist/types/common/themeProvider/themeProvider.d.ts +1 -1
  642. package/dist/types/common/tilt/index.d.ts +4 -4
  643. package/dist/types/common/tilt/tilt.d.ts +1 -1
  644. package/dist/types/common/tilt/tilt.types.d.ts +2 -2
  645. package/dist/types/common/tiltGroup/index.d.ts +3 -3
  646. package/dist/types/common/tiltGroup/tiltGroup.d.ts +1 -1
  647. package/dist/types/common/tiltGroup/tiltGroup.types.d.ts +1 -1
  648. package/dist/types/common/timeInput/components/clockDial/clockDial.d.ts +1 -1
  649. package/dist/types/common/timeInput/components/clockDial/clockDial.types.d.ts +3 -3
  650. package/dist/types/common/timeInput/components/clockDial/index.d.ts +1 -1
  651. package/dist/types/common/timeInput/index.d.ts +1 -1
  652. package/dist/types/common/timeInput/timeInput.d.ts +1 -1
  653. package/dist/types/common/timeInput/timeInput.types.d.ts +2 -2
  654. package/dist/types/common/timeline/index.d.ts +2 -2
  655. package/dist/types/common/timeline/timeline.d.ts +1 -1
  656. package/dist/types/common/timeline/timeline.types.d.ts +2 -2
  657. package/dist/types/common/timer/index.d.ts +2 -2
  658. package/dist/types/common/timer/timer.d.ts +1 -1
  659. package/dist/types/common/timer/timer.types.d.ts +2 -2
  660. package/dist/types/common/toast/index.d.ts +3 -3
  661. package/dist/types/common/toast/toast.d.ts +1 -1
  662. package/dist/types/common/toast/toast.types.d.ts +1 -1
  663. package/dist/types/common/toast/toastProvider.d.ts +1 -1
  664. package/dist/types/common/toast/toastService.d.ts +1 -1
  665. package/dist/types/common/tooltip/index.d.ts +2 -2
  666. package/dist/types/common/tooltip/tooltip.d.ts +1 -1
  667. package/dist/types/common/tree/flattenTree.d.ts +1 -1
  668. package/dist/types/common/tree/index.d.ts +3 -3
  669. package/dist/types/common/tree/tree.d.ts +1 -1
  670. package/dist/types/common/tree/tree.types.d.ts +2 -2
  671. package/dist/types/common/types/actions.types.d.ts +1 -1
  672. package/dist/types/common/types/slots.types.d.ts +1 -1
  673. package/dist/types/common/utils/interactiveTarget.d.ts +7 -0
  674. package/dist/types/common/utils/listNavigation.d.ts +49 -0
  675. package/dist/types/common/utils/renderIcon.d.ts +1 -1
  676. package/dist/types/common/virtualList/index.d.ts +2 -2
  677. package/dist/types/common/virtualList/useColumnResize.d.ts +1 -1
  678. package/dist/types/common/virtualList/useColumns.d.ts +1 -1
  679. package/dist/types/common/virtualList/useRowDrag.d.ts +1 -1
  680. package/dist/types/common/virtualList/useRowNavigation.d.ts +1 -1
  681. package/dist/types/common/virtualList/useSorting.d.ts +1 -1
  682. package/dist/types/common/virtualList/useVirtualWindow.d.ts +1 -1
  683. package/dist/types/common/virtualList/virtualList.d.ts +2 -2
  684. package/dist/types/common/virtualList/virtualList.types.d.ts +1 -1
  685. package/dist/types/common/virtualList/virtualList.utils.d.ts +1 -1
  686. package/dist/types/common/virtualList/virtualListHeader.d.ts +4 -4
  687. package/dist/types/common/virtualList/virtualRow.d.ts +1 -1
  688. package/dist/types/common/wizard/index.d.ts +1 -1
  689. package/dist/types/common/wizard/wizard.d.ts +1 -1
  690. package/dist/types/common/wizard/wizard.types.d.ts +1 -1
  691. package/dist/types/index.d.ts +153 -153
  692. package/dist/types/services/formValidation/index.d.ts +3 -3
  693. package/dist/types/services/formValidation/useFormValidatorGroup.d.ts +1 -1
  694. package/docs/ActionIcon.md +2 -0
  695. package/docs/CLAUDE.md +123 -230
  696. package/docs/Card.md +1 -1
  697. package/docs/Divider.md +2 -0
  698. package/docs/Dropdown.md +20 -0
  699. package/docs/IdleManager.md +38 -8
  700. package/docs/InputDropdown.md +11 -0
  701. package/docs/InteractableDiv.md +7 -1
  702. package/docs/KlipyPicker.md +1 -1
  703. package/docs/Loading.md +3 -1
  704. package/docs/Menu.md +2 -0
  705. package/docs/Modal.md +34 -10
  706. package/docs/MultiSelect.md +2 -2
  707. package/docs/Pagination.md +1 -1
  708. package/docs/Popover.md +2 -0
  709. package/docs/RadioGroup.md +1 -1
  710. package/docs/Rating.md +2 -0
  711. package/docs/Ripple.md +3 -0
  712. package/docs/RoomViewer.md +3 -5
  713. package/docs/ScrollFade.md +77 -0
  714. package/docs/ScrollbarProvider.md +2 -0
  715. package/docs/Slider.md +1 -1
  716. package/docs/Timer.md +1 -1
  717. package/docs/Wizard.md +1 -1
  718. package/package.json +33 -11
  719. package/dist/esm/common/infiniteBlock/infiniteBlock.mjs +0 -2
  720. package/dist/esm/common/infiniteBlock/infiniteBlock.mjs.map +0 -1
  721. package/dist/esm/common/infiniteBlock/infiniteBlock.module.mjs +0 -2
  722. package/dist/esm/common/infiniteBlock/infiniteBlock.module.mjs.map +0 -1
  723. package/dist/types/common/infiniteBlock/index.d.ts +0 -1
  724. package/dist/types/common/infiniteBlock/infiniteBlock.d.ts +0 -4
  725. package/dist/types/common/infiniteBlock/infiniteBlock.types.d.ts +0 -13
  726. package/docs/Icon.md +0 -27
  727. package/docs/InfiniteBlock.md +0 -23
@@ -0,0 +1,308 @@
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
+ import { FloorPlan, OpeningKind, PlanParseResult, PlanPoint, PlanRoom, PlanSelection, PlanView } from '../floorPlan/index.js';
3
+ import { IconContent } from '../types/icon.types.js';
4
+ import { HtmlProps, SlotClassNames, SlotStyles } from '../types/slots.types.js';
5
+ /**
6
+ * The drawing tools.
7
+ *
8
+ * Each opening kind is its own tool rather than one opening tool with a kind sub-mode:
9
+ * that is one less piece of state, one less prop to wire up, and one less way to be in
10
+ * a mode you did not realise you were in.
11
+ *
12
+ * There is deliberately no "room" tool. Rooms are the enclosed faces the walls form, so
13
+ * drawing a closed shape with `Rect` or `Wall` already produces one. A mode that
14
+ * declared which walls belonged to which room would reintroduce exactly the ownership
15
+ * relation that made a door unable to cut a shared wall in the first place.
16
+ */
17
+ export type RoomDrawerTool = 'select' | 'wall' | 'rect' | 'door' | 'window' | 'archway' | 'measure';
18
+ export type RoomDrawerChangeReason = 'draw-wall' | 'draw-rect' | 'move-node' | 'move-wall' | 'move-room' | 'nudge' | 'add-opening' | 'move-opening' | 'edit-opening' | 'edit-room' | 'edit-wall' | 'delete' | 'add-floor' | 'duplicate-floor' | 'remove-floor' | 'rename-floor' | 'move-floor' | 'edit-floor' | 'clear' | 'import' | 'undo' | 'redo' | 'external';
19
+ export interface RoomDrawerChangeMeta {
20
+ reason: RoomDrawerChangeReason;
21
+ /**
22
+ * `false` for the intermediate values emitted while a pointer gesture is still in
23
+ * flight, `true` for the one that is also pushed onto the undo stack. `onChangeEnd`
24
+ * only ever fires with `true`.
25
+ */
26
+ committed: boolean;
27
+ /** Ids of whatever the change touched, for syncing an external selection. */
28
+ targetIds: string[];
29
+ }
30
+ /** Every string the drawer's own chrome renders, for localisation. */
31
+ export interface RoomDrawerLabels {
32
+ /** The toolbar, read out by screen readers. */
33
+ tools?: string;
34
+ /** Tooltip on the storey height field. */
35
+ storeyHeightHint?: string;
36
+ /** Tooltip on an opening's sill height field. */
37
+ sillHeightHint?: string;
38
+ select?: string;
39
+ wall?: string;
40
+ rect?: string;
41
+ measure?: string;
42
+ door?: string;
43
+ window?: string;
44
+ archway?: string;
45
+ undo?: string;
46
+ redo?: string;
47
+ download?: string;
48
+ upload?: string;
49
+ underlay?: string;
50
+ addFloor?: string;
51
+ floorName?: string;
52
+ duplicateFloor?: string;
53
+ deleteFloor?: string;
54
+ floorHeight?: string;
55
+ moveFloorUp?: string;
56
+ moveFloorDown?: string;
57
+ /** The inspector's noun for a floor, shown when nothing is selected. */
58
+ selectedFloor?: string;
59
+ /** Shown in the hint line when an opened file could not be read at all. */
60
+ importFailed?: string;
61
+ snap?: string;
62
+ angleLock?: string;
63
+ grid?: string;
64
+ zoomIn?: string;
65
+ zoomOut?: string;
66
+ fit?: string;
67
+ roomName?: string;
68
+ addCorner?: string;
69
+ thickness?: string;
70
+ width?: string;
71
+ sill?: string;
72
+ head?: string;
73
+ deleteSelection?: string;
74
+ /** Shown when several things are selected. `{count}` is replaced with the number. */
75
+ selectedCount?: string;
76
+ /** What the inspector calls the current selection. */
77
+ selectedNothing?: string;
78
+ selectedRoom?: string;
79
+ selectedWall?: string;
80
+ selectedCorner?: string;
81
+ /** Overrides the opening's own kind, which is used by default. */
82
+ selectedOpening?: string;
83
+ hintSelect?: string;
84
+ hintWall?: string;
85
+ hintRect?: string;
86
+ hintMeasure?: string;
87
+ hintOpening?: string;
88
+ }
89
+ /** Every icon in the chrome is overridable. */
90
+ export interface RoomDrawerIcons {
91
+ select?: IconContent;
92
+ wall?: IconContent;
93
+ rect?: IconContent;
94
+ measure?: IconContent;
95
+ door?: IconContent;
96
+ window?: IconContent;
97
+ archway?: IconContent;
98
+ undo?: IconContent;
99
+ redo?: IconContent;
100
+ download?: IconContent;
101
+ upload?: IconContent;
102
+ underlay?: IconContent;
103
+ addFloor?: IconContent;
104
+ duplicateFloor?: IconContent;
105
+ moveFloorUp?: IconContent;
106
+ moveFloorDown?: IconContent;
107
+ snap?: IconContent;
108
+ angleLock?: IconContent;
109
+ grid?: IconContent;
110
+ zoomIn?: IconContent;
111
+ zoomOut?: IconContent;
112
+ fit?: IconContent;
113
+ delete?: IconContent;
114
+ }
115
+ export type RoomDrawerSlots = 'root' | 'toolbar' | 'toolButton' | 'toolIcon' | 'viewControls' | 'viewButton' | 'zoomLabel' | 'canvasWrapper' | 'canvas' | 'grid' | 'rooms' | 'roomFill' | 'roomLabel' | 'walls' | 'wallBody' | 'openings' | 'opening' | 'overlay' | 'measureLine' | 'floorBar' | 'floorTab' | 'inspector' | 'inspectorLabel' | 'inspectorField' | 'hint';
116
+ export interface RoomDrawerHandle {
117
+ /** The current plan, read synchronously. Useful in uncontrolled mode. */
118
+ getPlan: () => FloorPlan;
119
+ /** Replaces the plan. Pushes one history entry unless `resetHistory` is set. */
120
+ setPlan: (plan: FloorPlan, options?: {
121
+ resetHistory?: boolean;
122
+ }) => void;
123
+ /** Empties the plan, as one history entry. */
124
+ clear: () => void;
125
+ undo: () => void;
126
+ redo: () => void;
127
+ canUndo: () => boolean;
128
+ canRedo: () => boolean;
129
+ /** Drops past and future without touching the plan. */
130
+ clearHistory: () => void;
131
+ /** The floor being edited, and switching to another. */
132
+ getFloorId: () => string;
133
+ setFloorId: (floorId: string) => void;
134
+ /** Adds an empty storey above the current one and switches to it. Returns its id. */
135
+ addFloor: (options?: {
136
+ label?: string;
137
+ }) => string;
138
+ /** Copies the current storey, geometry and all, and switches to the copy. */
139
+ duplicateFloor: () => string | null;
140
+ /** Removes a storey. Refuses to remove the last one. */
141
+ removeFloor: (floorId?: string) => void;
142
+ renameFloor: (floorId: string, label: string) => void;
143
+ /** Moves a storey up or down the stack, re-stacking the elevations behind it. */
144
+ moveFloor: (floorId: string, toIndex: number) => void;
145
+ /** Storey height in millimetres. Everything above moves to suit. */
146
+ setFloorHeight: (floorId: string, heightMm: number) => void;
147
+ /**
148
+ * Removes every ruler measurement. They are view state, not plan data, so they never
149
+ * reach `onChange`, a file, or the undo stack.
150
+ */
151
+ clearMeasurements: () => void;
152
+ /** Writes the current plan to a JSON file, as the download button does. */
153
+ download: (fileName?: string) => void;
154
+ /**
155
+ * Reads JSON text as a plan and loads it, as one undoable entry. Returns what it made
156
+ * of the text: a `null` plan means nothing was loaded. Use it to accept a file from
157
+ * your own UI, a drop target, or a server.
158
+ */
159
+ loadJson: (text: string) => PlanParseResult;
160
+ /** Everything currently selected, in selection order. Empty when nothing is. */
161
+ getSelection: () => PlanSelection[];
162
+ /** Replaces the selection. A single entry or `null` is accepted for convenience. */
163
+ select: (selection: readonly PlanSelection[] | PlanSelection | null) => void;
164
+ /** Adds to, removes from, or toggles entries without replacing the rest. */
165
+ addToSelection: (selection: readonly PlanSelection[] | PlanSelection) => void;
166
+ toggleSelection: (entry: PlanSelection) => void;
167
+ selectAll: () => void;
168
+ /** Deletes everything selected, with the same rules as the Delete key. */
169
+ deleteSelection: () => void;
170
+ getView: () => PlanView;
171
+ setView: (view: PlanView) => void;
172
+ zoomBy: (factor: number) => void;
173
+ /** Fits the whole plan into the viewport. */
174
+ fitToContent: (options?: {
175
+ padding?: number;
176
+ }) => void;
177
+ /** Screen (client) coordinates to world, and back. */
178
+ toWorld: (clientX: number, clientY: number) => PlanPoint;
179
+ toScreen: (point: PlanPoint) => {
180
+ x: number;
181
+ y: number;
182
+ };
183
+ getSvgElement: () => SVGSVGElement | null;
184
+ }
185
+ export interface RoomDrawerProps extends Omit<HtmlProps<HTMLDivElement>, 'onChange' | 'onSelect' | 'defaultValue'> {
186
+ /** Controlled plan. Omit for uncontrolled. */
187
+ value?: FloorPlan;
188
+ /** Initial plan when uncontrolled. Defaults to an empty single-floor plan. */
189
+ defaultValue?: FloorPlan;
190
+ /**
191
+ * Fires for every mutation, including the intermediate values emitted during a drag
192
+ * (`meta.committed === false`), so a controlled parent renders live feedback. Mirrors
193
+ * `Slider`'s `onChange` / `onChangeEnd` pair.
194
+ */
195
+ onChange?: (plan: FloorPlan, meta: RoomDrawerChangeMeta) => void;
196
+ /** Fires once per completed gesture or discrete edit, always with `committed: true`. */
197
+ onChangeEnd?: (plan: FloorPlan, meta: RoomDrawerChangeMeta) => void;
198
+ /** Id of the floor being edited. Controlled; pair it with `onFloorChange`. */
199
+ floorId?: string;
200
+ /** Id of the floor to start on. Uncontrolled. Defaults to the lowest. */
201
+ defaultFloorId?: string;
202
+ onFloorChange?: (floorId: string) => void;
203
+ /** The floor tabs and their add button. Default `true`. */
204
+ showFloorBar?: boolean;
205
+ /**
206
+ * Trace the storey below behind the one being edited, so walls can be lined up between
207
+ * floors. Default `true`; the toolbar toggle can still turn it off.
208
+ */
209
+ showUnderlay?: boolean;
210
+ tool?: RoomDrawerTool;
211
+ defaultTool?: RoomDrawerTool;
212
+ onToolChange?: (tool: RoomDrawerTool) => void;
213
+ /** Restricts and orders the toolbar. Defaults to all six tools. */
214
+ tools?: RoomDrawerTool[];
215
+ /**
216
+ * Controlled selection. An array, because the drawer supports selecting several things
217
+ * at once; a single selection is a one-element array.
218
+ */
219
+ selection?: readonly PlanSelection[];
220
+ defaultSelection?: readonly PlanSelection[];
221
+ onSelectionChange?: (selection: PlanSelection[]) => void;
222
+ /**
223
+ * Allow selecting more than one thing, by Ctrl/Cmd-clicking or by dragging a marquee
224
+ * across empty canvas with the select tool. Default `true`.
225
+ */
226
+ multiSelect?: boolean;
227
+ onHoverChange?: (target: PlanSelection | null) => void;
228
+ view?: PlanView;
229
+ defaultView?: PlanView;
230
+ onViewChange?: (view: PlanView) => void;
231
+ /** Screen pixels per millimetre. */
232
+ minZoom?: number;
233
+ maxZoom?: number;
234
+ /** Fit the plan into the viewport on mount, and when it first becomes non-empty. */
235
+ fitOnMount?: boolean;
236
+ /** Grid spacing in millimetres (default 100, i.e. 10cm). */
237
+ gridSize?: number;
238
+ showGrid?: boolean;
239
+ /** Snap to the grid and to existing geometry. Alt inverts it for one gesture. */
240
+ snap?: boolean;
241
+ /**
242
+ * Latch angle lock on, so drawing is constrained to multiples of `constrainAngle`
243
+ * without holding Shift. Shift then momentarily RELEASES the lock. Default `false`.
244
+ */
245
+ angleLock?: boolean;
246
+ /** The angle step in degrees that angle lock snaps to (default 45). */
247
+ constrainAngle?: number;
248
+ /** Draw the construction lines explaining what the pointer snapped to (default `true`). */
249
+ showSnapGuides?: boolean;
250
+ /** Millimetres. Applied to newly drawn walls. */
251
+ wallThickness?: number;
252
+ wallHeight?: number;
253
+ /** Defaults for newly placed openings, per kind. */
254
+ openingDefaults?: Partial<Record<OpeningKind, {
255
+ width?: number;
256
+ sill?: number;
257
+ head?: number;
258
+ }>>;
259
+ showMeasurements?: boolean;
260
+ formatLength?: (lengthMm: number) => string;
261
+ formatArea?: (areaMm2: number) => string;
262
+ showToolbar?: boolean;
263
+ showInspector?: boolean;
264
+ showHint?: boolean;
265
+ showHistoryControls?: boolean;
266
+ /** Download and open buttons in the toolbar. Default `true`. */
267
+ showFileControls?: boolean;
268
+ /**
269
+ * Name for the downloaded file, with `.json` appended if it is missing. Defaults to the
270
+ * plan's own `name`, or `floor-plan.json`.
271
+ */
272
+ fileName?: string;
273
+ /**
274
+ * Fires after every file the user opens, whether it worked or not. `issues` is empty
275
+ * only for a file that needed no repair; see `planFromJson`. Without this the drawer
276
+ * still reports a bad file in its hint line.
277
+ */
278
+ onImport?: (result: PlanParseResult) => void;
279
+ /**
280
+ * `'internal'` keeps an undo stack inside the component. `'none'` disables it and
281
+ * hides the buttons, for a consumer that owns its own history.
282
+ */
283
+ historyMode?: 'internal' | 'none';
284
+ historyLimit?: number;
285
+ onHistoryChange?: (state: {
286
+ canUndo: boolean;
287
+ canRedo: boolean;
288
+ }) => void;
289
+ /** View and select, but no edits. */
290
+ readOnly?: boolean;
291
+ disabled?: boolean;
292
+ /** Height of the canvas, any CSS length. */
293
+ canvasHeight?: string;
294
+ getRoomColor?: (room: PlanRoom, area: number) => string | undefined;
295
+ renderRoomLabel?: (room: PlanRoom | null, context: {
296
+ area: number;
297
+ faceId: string;
298
+ }) => ReactNode;
299
+ labels?: RoomDrawerLabels;
300
+ icons?: RoomDrawerIcons;
301
+ 'aria-label'?: string;
302
+ /** Imperative handle for driving the editor. */
303
+ ref?: Ref<RoomDrawerHandle>;
304
+ className?: string;
305
+ style?: CSSProperties;
306
+ classNames?: SlotClassNames<RoomDrawerSlots>;
307
+ styles?: SlotStyles<RoomDrawerSlots>;
308
+ }
@@ -0,0 +1,24 @@
1
+ import { FloorPlan } from '../floorPlan/index.js';
2
+ import { RoomDrawerChangeReason } from './roomDrawer.types.js';
3
+ export interface PlanHistory {
4
+ present: FloorPlan;
5
+ canUndo: boolean;
6
+ canRedo: boolean;
7
+ /** Stashes the current plan as the snapshot a later `endGesture` would restore to. */
8
+ beginGesture: () => void;
9
+ /** Replaces the present mid-gesture. Pushes nothing. */
10
+ updateGesture: (plan: FloorPlan) => void;
11
+ /** Pushes the stashed snapshot, if the gesture actually changed anything. */
12
+ endGesture: () => boolean;
13
+ /** Discards the gesture and restores the stashed snapshot. */
14
+ cancelGesture: () => FloorPlan | null;
15
+ /** A discrete edit: pushes and replaces atomically. */
16
+ commit: (plan: FloorPlan, reason: RoomDrawerChangeReason, targetIds?: string[]) => void;
17
+ /** Replaces the present without touching history, for an externally driven value. */
18
+ replace: (plan: FloorPlan) => void;
19
+ undo: () => FloorPlan | null;
20
+ redo: () => FloorPlan | null;
21
+ clearHistory: () => void;
22
+ isGestureActive: () => boolean;
23
+ }
24
+ export declare function usePlanHistory(initial: FloorPlan, limit?: number): PlanHistory;
@@ -0,0 +1,2 @@
1
+ export { default } from './roomViewer.js';
2
+ export * from './roomViewer.types.js';
@@ -0,0 +1,10 @@
1
+ import { RoomViewerProps } from './roomViewer.types.js';
2
+ /**
3
+ * Read-only view of a floor plan.
4
+ *
5
+ * It renders the same `planCanvas` the drawer does, from the same `FloorPlan`, so the
6
+ * two cannot drift apart. Selection and hover are React state rather than classes pushed
7
+ * onto DOM nodes, which is what lets them be controlled from outside.
8
+ */
9
+ declare function RoomViewer(props: RoomViewerProps): import("react").JSX.Element;
10
+ export default RoomViewer;
@@ -0,0 +1,91 @@
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
+ import { DerivedRoom, FloorPlan, PlanRoom, PlanView } from '../floorPlan/index.js';
3
+ import { IconContent } from '../types/icon.types.js';
4
+ import { HtmlProps, SlotClassNames, SlotStyles } from '../types/slots.types.js';
5
+ export type RoomViewerSlots = 'root' | 'floorBar' | 'floorTab' | 'canvasWrapper' | 'canvas' | 'grid' | 'rooms' | 'roomFill' | 'roomLabel' | 'walls' | 'wallBody' | 'openings' | 'opening' | 'viewControls' | 'viewButton' | 'empty';
6
+ export interface RoomViewerLabels {
7
+ /** Accessible name for the floor strip. */
8
+ floors?: string;
9
+ zoomIn?: string;
10
+ zoomOut?: string;
11
+ fit?: string;
12
+ empty?: string;
13
+ /** Announced when a room is selected. `{name}` and `{area}` are replaced. */
14
+ selectedRoom?: string;
15
+ /** Announced when the selection is cleared. */
16
+ noRoomSelected?: string;
17
+ }
18
+ export interface RoomViewerIcons {
19
+ zoomIn?: IconContent;
20
+ zoomOut?: IconContent;
21
+ fit?: IconContent;
22
+ }
23
+ export interface RoomViewerHandle {
24
+ /** Fits the active floor into the viewport. */
25
+ fitToContent: (options?: {
26
+ padding?: number;
27
+ }) => void;
28
+ getView: () => PlanView;
29
+ setView: (view: PlanView) => void;
30
+ zoomBy: (factor: number) => void;
31
+ /** Selects a room, or clears the selection with `null`. */
32
+ select: (roomId: string | null) => void;
33
+ getFloorId: () => string | null;
34
+ setFloorId: (floorId: string) => void;
35
+ /** The live `<svg>`, for measuring or screenshotting. */
36
+ getSvgElement: () => SVGSVGElement | null;
37
+ }
38
+ export interface RoomViewerProps extends Omit<HtmlProps<HTMLDivElement>, 'onSelect'> {
39
+ /**
40
+ * The plan to display, floors and all. This replaces the old `data` prop, which took
41
+ * pre-rendered SVG: that could not be selected, measured or re-themed, and nothing
42
+ * could be shared with the drawer.
43
+ */
44
+ plan?: FloorPlan;
45
+ /** Which storey is showing. Controlled; pair with `onFloorChange`. */
46
+ activeFloorId?: string;
47
+ defaultActiveFloorId?: string;
48
+ onFloorChange?: (floorId: string) => void;
49
+ /** Controlled selection. `null` is a real value here: nothing selected. */
50
+ selectedRoomId?: string | null;
51
+ defaultSelectedRoomId?: string | null;
52
+ onSelect?: (roomId: string | null, room: DerivedRoom | null, floorId: string) => void;
53
+ hoveredRoomId?: string | null;
54
+ onHoverChange?: (roomId: string | null) => void;
55
+ view?: PlanView;
56
+ defaultView?: PlanView;
57
+ onViewChange?: (view: PlanView) => void;
58
+ /** Rooms respond to pointer and keyboard. Default `true`. */
59
+ interactive?: boolean;
60
+ /** Drag to pan, wheel and pinch to zoom. Default `true`. */
61
+ pannable?: boolean;
62
+ /** Fit the plan into view once it is measured. Default `true`. */
63
+ fitOnMount?: boolean;
64
+ showFloorBar?: boolean;
65
+ showViewControls?: boolean;
66
+ showGrid?: boolean;
67
+ showRoomLabels?: boolean;
68
+ /** Door leaves, swing arcs and window symbols. Default `true`. */
69
+ showOpeningSymbols?: boolean;
70
+ getRoomColor?: (room: PlanRoom, area: number) => string | undefined;
71
+ renderRoomLabel?: (room: PlanRoom | null, context: {
72
+ area: number;
73
+ faceId: string;
74
+ }) => ReactNode;
75
+ getRoomLabel?: (room: PlanRoom | null, context: {
76
+ area: number;
77
+ }) => string;
78
+ formatArea?: (areaMm2: number) => string;
79
+ /** Canvas height. A number is pixels. Default 360. */
80
+ height?: number | string;
81
+ /** Shown when there is no plan, or the plan has nothing in it. */
82
+ emptyState?: ReactNode;
83
+ labels?: RoomViewerLabels;
84
+ icons?: RoomViewerIcons;
85
+ /** Imperative handle for driving the viewport. */
86
+ ref?: Ref<RoomViewerHandle>;
87
+ className?: string;
88
+ style?: CSSProperties;
89
+ classNames?: SlotClassNames<RoomViewerSlots>;
90
+ styles?: SlotStyles<RoomViewerSlots>;
91
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './scrollFade.js';
2
+ export * from './scrollFade.types.js';
@@ -0,0 +1,4 @@
1
+ import { ReactElement } from 'react';
2
+ import { ScrollFadeProps } from './scrollFade.types.js';
3
+ declare function ScrollFade({ children, axis, fadeLength, isAlwaysFaded, className, style, ref, ...rest }: ScrollFadeProps): ReactElement;
4
+ export default ScrollFade;
@@ -0,0 +1,20 @@
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
+ import { HtmlProps } from '../types/slots.types.js';
3
+ export declare enum ScrollFadeAxis {
4
+ Vertical = "vertical",
5
+ Horizontal = "horizontal"
6
+ }
7
+ export interface ScrollFadeProps extends HtmlProps<HTMLDivElement> {
8
+ /** The scrolling content. */
9
+ children?: ReactNode;
10
+ /** Which way it scrolls. Default `ScrollFadeAxis.Vertical`. */
11
+ axis?: ScrollFadeAxis;
12
+ /** How far the fade runs from each edge, any CSS length. Default `24px`. */
13
+ fadeLength?: string;
14
+ /** Fade both ends whether or not content is hidden there. Default `false`. */
15
+ isAlwaysFaded?: boolean;
16
+ className?: string;
17
+ style?: CSSProperties;
18
+ /** The scrolling element itself. */
19
+ ref?: Ref<HTMLDivElement>;
20
+ }
@@ -0,0 +1,2 @@
1
+ import { default as ScrollbarProvider } from './scrollbarProvider.js';
2
+ export default ScrollbarProvider;
@@ -0,0 +1,7 @@
1
+ import { ReactElement } from 'react';
2
+ interface Properties {
3
+ className?: string | undefined;
4
+ children?: React.ReactNode | undefined;
5
+ }
6
+ declare function ScrollbarProvider({ className, children }: Properties): ReactElement;
7
+ export default ScrollbarProvider;
@@ -0,0 +1,2 @@
1
+ export { default } from './searchInput.js';
2
+ export * from './searchInput.types.js';
@@ -0,0 +1,3 @@
1
+ import { ReactElement } from 'react';
2
+ import { SearchInputProps } from './searchInput.types.js';
3
+ export default function SearchInput({ value, onChange, onDebounce, placeholder, label, debounceMs, totalAmount, showAmount, className, width, style, classNames, styles: slotStyles, labels, ref, ...rest }: SearchInputProps): ReactElement;
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
3
+ export type SearchInputSlots = 'root' | 'input' | 'resultCount';
4
+ /** Text SearchInput renders of its own, for translating it. */
5
+ export interface SearchInputLabels {
6
+ /** The result count, given the number (default `12 results`). */
7
+ results?: (count: number) => string;
8
+ }
9
+ export interface SearchInputProps extends Omit<HtmlProps, 'onChange'> {
10
+ value: string;
11
+ onChange: (value: string) => void;
12
+ onDebounce?: (value: string) => void;
13
+ placeholder?: string;
14
+ label?: string;
15
+ debounceMs?: number;
16
+ totalAmount?: number;
17
+ showAmount?: boolean;
18
+ className?: string;
19
+ width?: number | string;
20
+ /** Classes for the inner elements. See `SearchInputSlots`. */
21
+ classNames?: SlotClassNames<SearchInputSlots>;
22
+ /** Inline styles for the inner elements. See `SearchInputSlots`. */
23
+ styles?: SlotStyles<SearchInputSlots>;
24
+ /** Overrides the text SearchInput renders of its own. Merged per key. */
25
+ labels?: SearchInputLabels;
26
+ /** Ref to the inner `<input>`, for focusing the field. */
27
+ ref?: React.Ref<HTMLInputElement>;
28
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './sectionHeader.js';
2
+ export * from './sectionHeader.types.js';
@@ -0,0 +1,4 @@
1
+ import { ReactElement } from 'react';
2
+ import { SectionHeaderProps } from './sectionHeader.types.js';
3
+ declare function SectionHeader(props: SectionHeaderProps): ReactElement;
4
+ export default SectionHeader;
@@ -0,0 +1,27 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { IconContent } from '../types/icon.types.js';
3
+ import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
4
+ import { IconAction } from '../types/actions.types.js';
5
+ export declare enum SectionHeaderSize {
6
+ Small = "small",
7
+ Medium = "medium",
8
+ Large = "large"
9
+ }
10
+ export type SectionHeaderAction = IconAction;
11
+ export type SectionHeaderSlots = 'root' | 'identity' | 'leading' | 'titles' | 'title' | 'subtitle' | 'trailing' | 'left' | 'center' | 'actions';
12
+ export interface SectionHeaderProps extends Omit<HtmlProps, 'title'> {
13
+ title?: ReactNode;
14
+ subtitle?: ReactNode;
15
+ icon?: IconContent;
16
+ thumbnail?: string | ReactNode;
17
+ left?: ReactNode;
18
+ center?: ReactNode;
19
+ actions?: SectionHeaderAction[] | ReactNode;
20
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
21
+ size?: SectionHeaderSize;
22
+ divider?: boolean;
23
+ className?: string;
24
+ style?: CSSProperties;
25
+ classNames?: SlotClassNames<SectionHeaderSlots>;
26
+ styles?: SlotStyles<SectionHeaderSlots>;
27
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './sheetBackdrop.js';
2
+ export * from './sheetBackdrop.types.js';
@@ -0,0 +1,16 @@
1
+ import { SheetBackdropProps } from './sheetBackdrop.types.js';
2
+ /**
3
+ * The dimmed layer behind a bottom sheet, and the thing that closes it when tapped.
4
+ *
5
+ * It closes on its own `click` rather than letting the sheet's usual outside-click handling see
6
+ * the press, because that handling fires on mousedown/mouseup — and the sheet, backdrop included,
7
+ * unmounts the moment it closes. The browser then dispatches the `click` that completes the tap
8
+ * at whatever is under the cursor by then, which is the page behind the sheet: tapping to dismiss
9
+ * would also press a button underneath it.
10
+ *
11
+ * The press is stopped with native listeners rather than React's `stopPropagation`, which would
12
+ * not be enough: React listens at its own root container, so a native handler on `document` or
13
+ * `window` still runs afterwards.
14
+ */
15
+ declare function SheetBackdrop({ onClose, className, style }: SheetBackdropProps): import("react").JSX.Element;
16
+ export default SheetBackdrop;
@@ -0,0 +1,7 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface SheetBackdropProps {
3
+ /** Called when the backdrop itself is clicked or tapped. */
4
+ onClose: () => void;
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './skeleton.js';
2
+ export * from './skeleton.types.js';
@@ -0,0 +1,4 @@
1
+ import { ReactElement } from 'react';
2
+ import { SkeletonProps } from './skeleton.types.js';
3
+ declare function Skeleton(props: SkeletonProps): ReactElement;
4
+ export default Skeleton;
@@ -0,0 +1,22 @@
1
+ import { CSSProperties } from 'react';
2
+ import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types.js';
3
+ export declare enum SkeletonVariant {
4
+ Text = "text",
5
+ Circle = "circle",
6
+ Rectangular = "rectangular"
7
+ }
8
+ export declare enum SkeletonAnimation {
9
+ Shimmer = "shimmer",
10
+ Pulse = "pulse",
11
+ None = "none"
12
+ }
13
+ export type SkeletonSlots = 'line';
14
+ export interface SkeletonProps extends HtmlProps {
15
+ variant?: SkeletonVariant;
16
+ animation?: SkeletonAnimation;
17
+ lines?: number;
18
+ className?: string;
19
+ style?: CSSProperties;
20
+ classNames?: SlotClassNames<SkeletonSlots>;
21
+ styles?: SlotStyles<SkeletonSlots>;
22
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './slider.js';
2
+ export * from './slider.types.js';
@@ -0,0 +1,3 @@
1
+ import { ReactElement } from 'react';
2
+ import { SliderProps } from './slider.types.js';
3
+ export default function Slider(props: SliderProps): ReactElement;